@copilotkit/runtime
Version:
<img src="https://github.com/user-attachments/assets/0a6b64d9-e193-4940-a3f6-60334ac34084" alt="banner" style="border-radius: 12px; border: 2px solid #d6d4fa;" />
34 lines • 1.51 kB
text/typescript
require("reflect-metadata");
//#region src/v2/runtime/core/channel-activation-config.d.ts
/**
* Resolved configuration needed to activate a single Channel against a
* running Intelligence runtime instance.
*/
interface ChannelActivationConfig {
/** Intelligence runner websocket URL the Channel connects to. */
wsUrl: string;
/** Intelligence API key used to authenticate the runner connection. */
apiKey: string;
/** Intelligence app-api HTTP base URL (`intelligence.ɵgetApiUrl()`), forwarded
* to the transport so the managed realtime path enables file/history parity
* (those are HTTP-only). Without it, Channels started by the normal runtime
* handler run with no history and no file support (OSS-476). */
apiUrl: string;
/** Project id parsed from {@link apiKey}. */
projectId: number;
/** The Channel's declared name (`createChannel({ name })`). */
channelName: string;
/**
* The managed provider this Channel declares to the Intelligence gateway on
* join, resolved from the Channel's per-Channel `provider` (e.g. `"slack"` or
* `"teams"`), defaulting to `"slack"`. Named `adapter` because that is the
* field the gateway's join payload expects; the gateway resolves the actual
* connection for the declared provider.
*/
adapter: string;
/** Identifier for the runtime instance activating this Channel. */
runtimeInstanceId: string;
}
//#endregion
export { ChannelActivationConfig };
//# sourceMappingURL=channel-activation-config.d.cts.map