@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;" />
47 lines (46 loc) • 2.01 kB
text/typescript
import "reflect-metadata";
import { index_d_exports } from "../../../channels/dist/index.mjs";
//#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;
/**
* Optional per-Channel override for visible managed tool-call progress.
* Unset Slack routes default to hidden; other providers retain their existing
* default.
*/
showToolStatus?: boolean;
/**
* Optional per-Channel tuning for splitting a long reply across continuation
* messages. Unset leaves the provider renderer's defaults in place.
*/
replyContinuation?: index_d_exports.ReplyContinuationOptions;
/** Identifier for the runtime instance activating this Channel. */
runtimeInstanceId: string;
}
//#endregion
export { ChannelActivationConfig };
//# sourceMappingURL=channel-activation-config.d.mts.map