@copilotkit/runtime 2.0.0-rc.49 → 2.0.0-rc.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.cjs +8 -3
- package/dist/index.d.cts +9 -9
- package/dist/index.d.mts +9 -9
- package/dist/index.mjs +4 -3
- package/dist/node.cjs +2 -0
- package/dist/node.d.cts +3 -3
- package/dist/node.d.mts +3 -3
- package/dist/node.mjs +3 -3
- package/dist/runtime/core/channel-manager.cjs.map +1 -1
- package/dist/runtime/core/channel-manager.mjs.map +1 -1
- package/dist/runtime/core/debug-event-bus.cjs.map +1 -1
- package/dist/runtime/core/debug-event-bus.d.cts +2 -2
- package/dist/runtime/core/debug-event-bus.d.cts.map +1 -1
- package/dist/runtime/core/debug-event-bus.d.mts +2 -2
- package/dist/runtime/core/debug-event-bus.d.mts.map +1 -1
- package/dist/runtime/core/debug-event-bus.mjs.map +1 -1
- package/dist/runtime/core/fetch-cors.cjs.map +1 -1
- package/dist/runtime/core/fetch-cors.d.cts +2 -2
- package/dist/runtime/core/fetch-cors.d.cts.map +1 -1
- package/dist/runtime/core/fetch-cors.d.mts +2 -2
- package/dist/runtime/core/fetch-cors.d.mts.map +1 -1
- package/dist/runtime/core/fetch-cors.mjs.map +1 -1
- package/dist/runtime/core/fetch-handler.cjs +9 -1
- package/dist/runtime/core/fetch-handler.cjs.map +1 -1
- package/dist/runtime/core/fetch-handler.d.cts +27 -14
- package/dist/runtime/core/fetch-handler.d.cts.map +1 -1
- package/dist/runtime/core/fetch-handler.d.mts +27 -14
- package/dist/runtime/core/fetch-handler.d.mts.map +1 -1
- package/dist/runtime/core/fetch-handler.mjs +9 -2
- package/dist/runtime/core/fetch-handler.mjs.map +1 -1
- package/dist/runtime/core/hooks.cjs.map +1 -1
- package/dist/runtime/core/hooks.d.cts +5 -5
- package/dist/runtime/core/hooks.d.cts.map +1 -1
- package/dist/runtime/core/hooks.d.mts +5 -5
- package/dist/runtime/core/hooks.d.mts.map +1 -1
- package/dist/runtime/core/hooks.mjs.map +1 -1
- package/dist/runtime/core/learning.cjs.map +1 -1
- package/dist/runtime/core/learning.d.cts +8 -8
- package/dist/runtime/core/learning.d.cts.map +1 -1
- package/dist/runtime/core/learning.d.mts +8 -8
- package/dist/runtime/core/learning.d.mts.map +1 -1
- package/dist/runtime/core/learning.mjs.map +1 -1
- package/dist/runtime/core/logger.cjs.map +1 -1
- package/dist/runtime/core/logger.d.cts +3 -3
- package/dist/runtime/core/logger.d.cts.map +1 -1
- package/dist/runtime/core/logger.d.mts +3 -3
- package/dist/runtime/core/logger.d.mts.map +1 -1
- package/dist/runtime/core/logger.mjs.map +1 -1
- package/dist/runtime/core/middleware-sse-parser.cjs.map +1 -1
- package/dist/runtime/core/middleware-sse-parser.mjs.map +1 -1
- package/dist/runtime/core/middleware.cjs.map +1 -1
- package/dist/runtime/core/middleware.d.cts +3 -3
- package/dist/runtime/core/middleware.d.cts.map +1 -1
- package/dist/runtime/core/middleware.d.mts +3 -3
- package/dist/runtime/core/middleware.d.mts.map +1 -1
- package/dist/runtime/core/middleware.mjs.map +1 -1
- package/dist/runtime/core/package-info.cjs +1 -1
- package/dist/runtime/core/package-info.mjs +1 -1
- package/dist/runtime/core/runtime-error-reporter.cjs.map +1 -1
- package/dist/runtime/core/runtime-error-reporter.mjs.map +1 -1
- package/dist/runtime/core/runtime.cjs +17 -17
- package/dist/runtime/core/runtime.cjs.map +1 -1
- package/dist/runtime/core/runtime.d.cts +65 -65
- package/dist/runtime/core/runtime.d.cts.map +1 -1
- package/dist/runtime/core/runtime.d.mts +65 -65
- package/dist/runtime/core/runtime.d.mts.map +1 -1
- package/dist/runtime/core/runtime.mjs +15 -15
- package/dist/runtime/core/runtime.mjs.map +1 -1
- package/dist/runtime/endpoints/auto-start-channels.cjs.map +1 -1
- package/dist/runtime/endpoints/auto-start-channels.mjs.map +1 -1
- package/dist/runtime/endpoints/node-fetch-handler.cjs +9 -1
- package/dist/runtime/endpoints/node-fetch-handler.cjs.map +1 -1
- package/dist/runtime/endpoints/node-fetch-handler.d.cts +9 -4
- package/dist/runtime/endpoints/node-fetch-handler.d.cts.map +1 -1
- package/dist/runtime/endpoints/node-fetch-handler.d.mts +9 -4
- package/dist/runtime/endpoints/node-fetch-handler.d.mts.map +1 -1
- package/dist/runtime/endpoints/node-fetch-handler.mjs +9 -2
- package/dist/runtime/endpoints/node-fetch-handler.mjs.map +1 -1
- package/dist/runtime/endpoints/node.cjs +11 -3
- package/dist/runtime/endpoints/node.cjs.map +1 -1
- package/dist/runtime/endpoints/node.d.cts +39 -16
- package/dist/runtime/endpoints/node.d.cts.map +1 -1
- package/dist/runtime/endpoints/node.d.mts +39 -16
- package/dist/runtime/endpoints/node.d.mts.map +1 -1
- package/dist/runtime/endpoints/node.mjs +13 -6
- package/dist/runtime/endpoints/node.mjs.map +1 -1
- package/dist/runtime/generative-ui/a2ui-v09-middleware.cjs.map +1 -1
- package/dist/runtime/generative-ui/a2ui-v09-middleware.mjs.map +1 -1
- package/dist/runtime/handlers/get-runtime-info.cjs.map +1 -1
- package/dist/runtime/handlers/get-runtime-info.mjs.map +1 -1
- package/dist/runtime/handlers/handle-debug-events.cjs.map +1 -1
- package/dist/runtime/handlers/handle-debug-events.mjs.map +1 -1
- package/dist/runtime/handlers/handle-inspector-learning.cjs.map +1 -1
- package/dist/runtime/handlers/handle-inspector-learning.mjs.map +1 -1
- package/dist/runtime/handlers/handle-inspector-metadata.cjs.map +1 -1
- package/dist/runtime/handlers/handle-inspector-metadata.mjs.map +1 -1
- package/dist/runtime/handlers/handle-stop.cjs.map +1 -1
- package/dist/runtime/handlers/handle-stop.mjs.map +1 -1
- package/dist/runtime/handlers/handle-suggest.cjs.map +1 -1
- package/dist/runtime/handlers/handle-suggest.mjs.map +1 -1
- package/dist/runtime/handlers/handle-trajectory-connect.cjs.map +1 -1
- package/dist/runtime/handlers/handle-trajectory-connect.mjs.map +1 -1
- package/dist/runtime/handlers/handle-transcribe.cjs.map +1 -1
- package/dist/runtime/handlers/handle-transcribe.mjs.map +1 -1
- package/dist/runtime/handlers/intelligence/annotate.cjs +1 -1
- package/dist/runtime/handlers/intelligence/annotate.cjs.map +1 -1
- package/dist/runtime/handlers/intelligence/annotate.mjs +1 -1
- package/dist/runtime/handlers/intelligence/annotate.mjs.map +1 -1
- package/dist/runtime/handlers/intelligence/connect.cjs.map +1 -1
- package/dist/runtime/handlers/intelligence/connect.mjs.map +1 -1
- package/dist/runtime/handlers/intelligence/memories.cjs +1 -1
- package/dist/runtime/handlers/intelligence/memories.cjs.map +1 -1
- package/dist/runtime/handlers/intelligence/memories.mjs +1 -1
- package/dist/runtime/handlers/intelligence/memories.mjs.map +1 -1
- package/dist/runtime/handlers/intelligence/run.cjs.map +1 -1
- package/dist/runtime/handlers/intelligence/run.mjs.map +1 -1
- package/dist/runtime/handlers/intelligence/thread-names.cjs.map +1 -1
- package/dist/runtime/handlers/intelligence/thread-names.mjs.map +1 -1
- package/dist/runtime/handlers/intelligence/threads.cjs +5 -5
- package/dist/runtime/handlers/intelligence/threads.cjs.map +1 -1
- package/dist/runtime/handlers/intelligence/threads.mjs +5 -5
- package/dist/runtime/handlers/intelligence/threads.mjs.map +1 -1
- package/dist/runtime/handlers/shared/agent-utils.cjs.map +1 -1
- package/dist/runtime/handlers/shared/agent-utils.mjs.map +1 -1
- package/dist/runtime/handlers/shared/memory-policy.cjs.map +1 -1
- package/dist/runtime/handlers/shared/memory-policy.mjs.map +1 -1
- package/dist/runtime/handlers/shared/resolve-intelligence-user.cjs.map +1 -1
- package/dist/runtime/handlers/shared/resolve-intelligence-user.mjs.map +1 -1
- package/dist/runtime/handlers/shared/sse-response.cjs.map +1 -1
- package/dist/runtime/handlers/shared/sse-response.mjs.map +1 -1
- package/dist/runtime/handlers/shared/thread-access.cjs +1 -1
- package/dist/runtime/handlers/shared/thread-access.cjs.map +1 -1
- package/dist/runtime/handlers/shared/thread-access.mjs +1 -1
- package/dist/runtime/handlers/shared/thread-access.mjs.map +1 -1
- package/dist/runtime/handlers/sse/connect.cjs.map +1 -1
- package/dist/runtime/handlers/sse/connect.mjs.map +1 -1
- package/dist/runtime/handlers/sse/run.cjs.map +1 -1
- package/dist/runtime/handlers/sse/run.mjs.map +1 -1
- package/dist/runtime/index.cjs +29 -0
- package/dist/runtime/index.cjs.map +1 -0
- package/dist/runtime/index.d.cts +58 -7
- package/dist/runtime/index.d.cts.map +1 -0
- package/dist/runtime/index.d.mts +58 -7
- package/dist/runtime/index.d.mts.map +1 -0
- package/dist/runtime/index.mjs +27 -0
- package/dist/runtime/index.mjs.map +1 -0
- package/dist/runtime/intelligence-platform/analytics-context.cjs.map +1 -1
- package/dist/runtime/intelligence-platform/analytics-context.mjs.map +1 -1
- package/dist/runtime/intelligence-platform/client.cjs +3 -3
- package/dist/runtime/intelligence-platform/client.cjs.map +1 -1
- package/dist/runtime/intelligence-platform/client.d.cts +1 -1
- package/dist/runtime/intelligence-platform/client.d.mts +1 -1
- package/dist/runtime/intelligence-platform/client.mjs +3 -3
- package/dist/runtime/intelligence-platform/client.mjs.map +1 -1
- package/dist/runtime/intelligence-platform/thread-lock-heartbeat.cjs.map +1 -1
- package/dist/runtime/intelligence-platform/thread-lock-heartbeat.mjs.map +1 -1
- package/dist/runtime/node.d.cts +2 -2
- package/dist/runtime/node.d.mts +2 -2
- package/dist/runtime/runner/intelligence.cjs.map +1 -1
- package/dist/runtime/runner/intelligence.d.cts +2 -2
- package/dist/runtime/runner/intelligence.d.cts.map +1 -1
- package/dist/runtime/runner/intelligence.d.mts +2 -2
- package/dist/runtime/runner/intelligence.d.mts.map +1 -1
- package/dist/runtime/runner/intelligence.mjs.map +1 -1
- package/dist/runtime/telemetry/disclosure.cjs.map +1 -1
- package/dist/runtime/telemetry/disclosure.mjs.map +1 -1
- package/dist/runtime/telemetry/instance-created.cjs.map +1 -1
- package/dist/runtime/telemetry/instance-created.mjs.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -98,7 +98,7 @@ need `identifyUser(request)`. Each Channel has its own `identifyUser` policy in
|
|
|
98
98
|
functional web routes.
|
|
99
99
|
|
|
100
100
|
```ts
|
|
101
|
-
const runtime = new
|
|
101
|
+
const runtime = new CopilotKitRuntime({
|
|
102
102
|
agents,
|
|
103
103
|
intelligence,
|
|
104
104
|
identifyUser: authenticateApplicationUser,
|
package/dist/index.cjs
CHANGED
|
@@ -12,6 +12,7 @@ const require_open_generative_ui_middleware = require('./runtime/event-transform
|
|
|
12
12
|
const require_recorded_events = require('./runtime/event-transforms/recorded-events.cjs');
|
|
13
13
|
const require_transcription_service = require('./runtime/transcription-service/transcription-service.cjs');
|
|
14
14
|
const require_fetch_handler = require('./runtime/core/fetch-handler.cjs');
|
|
15
|
+
const require_index = require('./runtime/index.cjs');
|
|
15
16
|
let _ag_ui_a2ui_middleware = require("@ag-ui/a2ui-middleware");
|
|
16
17
|
let _copilotkit_shared = require("@copilotkit/shared");
|
|
17
18
|
|
|
@@ -24,10 +25,13 @@ Object.defineProperty(exports, 'A2UIMiddleware', {
|
|
|
24
25
|
exports.A2UIV09BridgeMiddleware = require_a2ui_v09_middleware.A2UIV09BridgeMiddleware;
|
|
25
26
|
exports.AgentRunner = require_agent_runner.AgentRunner;
|
|
26
27
|
exports.ArgsParser = require_open_generative_ui_middleware.ArgsParser;
|
|
27
|
-
exports.CopilotIntelligenceRuntime =
|
|
28
|
+
exports.CopilotIntelligenceRuntime = require_index.CopilotIntelligenceRuntime;
|
|
28
29
|
exports.CopilotKitIntelligence = require_client.CopilotKitIntelligence;
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
30
|
+
exports.CopilotKitIntelligenceRuntime = require_runtime.CopilotKitIntelligenceRuntime;
|
|
31
|
+
exports.CopilotKitRuntime = require_runtime.CopilotKitRuntime;
|
|
32
|
+
exports.CopilotKitSseRuntime = require_runtime.CopilotKitSseRuntime;
|
|
33
|
+
exports.CopilotRuntime = require_index.CopilotRuntime;
|
|
34
|
+
exports.CopilotSseRuntime = require_index.CopilotSseRuntime;
|
|
31
35
|
exports.GenerativeUIMiddleware = require_generative_ui_middleware.GenerativeUIMiddleware;
|
|
32
36
|
exports.InMemoryAgentRunner = require_in_memory.InMemoryAgentRunner;
|
|
33
37
|
exports.IntelligenceAgentRunner = require_intelligence.IntelligenceAgentRunner;
|
|
@@ -40,6 +44,7 @@ exports.ThreadAccessDeniedError = require_agent_runner.ThreadAccessDeniedError;
|
|
|
40
44
|
exports.ThreadAlreadyRunningError = require_agent_runner.ThreadAlreadyRunningError;
|
|
41
45
|
exports.TranscriptionService = require_transcription_service.TranscriptionService;
|
|
42
46
|
exports.VERSION = require_runtime.VERSION;
|
|
47
|
+
exports.createCopilotKitRuntimeHandler = require_fetch_handler.createCopilotKitRuntimeHandler;
|
|
43
48
|
exports.createCopilotRuntimeHandler = require_fetch_handler.createCopilotRuntimeHandler;
|
|
44
49
|
Object.defineProperty(exports, 'createRunEventFinalizer', {
|
|
45
50
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { experimental_d_exports } from "./runtime/intelligence-platform/experimental.cjs";
|
|
2
2
|
import { AgentRunner, AgentRunnerConnectRequest, AgentRunnerIsRunningRequest, AgentRunnerRunRequest, AgentRunnerStopRequest, LocalThreadEndpointRecord, LocalThreadEndpointRunner, LocalThreadEndpointScope, THREAD_ACCESS_DENIED_ERROR_CODE, ThreadAccessDeniedError, ThreadAlreadyRunningError, ThreadOwnershipRunner, enforcesThreadOwnership, isThreadAccessDeniedError, supportsLocalThreadEndpoints, ɵSERVER_THREAD_OWNER, ɵresolveThreadOwner } from "./runtime/runner/agent-runner.cjs";
|
|
3
3
|
import { ThreadAccessMode, ThreadsConfig } from "./runtime/handlers/shared/thread-access.cjs";
|
|
4
|
-
import {
|
|
4
|
+
import { CopilotKitRuntimeLogger } from "./runtime/core/logger.cjs";
|
|
5
5
|
import { TranscribeFileOptions, TranscriptionService } from "./runtime/transcription-service/transcription-service.cjs";
|
|
6
6
|
import { GetLearnedSkillsSnapshotRequest, GetLearnedSkillsSnapshotsRequest, LearnedSkillsBatchResult, LearnedSkillsError, LearnedSkillsErrorCode, LearnedSkillsSnapshotResult } from "./runtime/intelligence-platform/learned-skills.cjs";
|
|
7
|
-
import { A2UIVersion, AgentFactoryContext, AgentsConfig, AgentsFactory,
|
|
8
|
-
import {
|
|
7
|
+
import { A2UIVersion, AgentFactoryContext, AgentsConfig, AgentsFactory, CopilotKitIntelligenceRuntime, CopilotKitIntelligenceRuntimeLike, CopilotKitIntelligenceRuntimeOptions, CopilotKitRuntime, CopilotKitRuntimeConstructor, CopilotKitRuntimeLike, CopilotKitRuntimeMemoryConfig, CopilotKitRuntimeOptions, CopilotKitSseRuntime, CopilotKitSseRuntimeLike, CopilotKitSseRuntimeOptions, GenerativeUIOptions, IdentifyUserCallback, McpAppsConfig, McpAppsServerConfig, MemoryAccess, MemoryConsumer, MemoryGrant, OpenGenerativeUIConfig, OpenGenerativeUIOptions, RuntimeWithDeclaredChannels, VERSION, isIntelligenceRuntime, resolveAgents } from "./runtime/core/runtime.cjs";
|
|
8
|
+
import { CopilotKitRuntimeLearningConfig, CopilotKitRuntimeLearningContext, CopilotKitRuntimeUser, GetLearningContainerId, GetTrajectoryLearningContainerIds, LearningContainerSelectorInput, TrajectoryLearningContainerSelectorInput } from "./runtime/core/learning.cjs";
|
|
9
9
|
import { CopilotKitIntelligence, CopilotKitIntelligenceConfig, CreateThreadRequest, ListThreadsResponse, PlatformRequestError, SubscribeToThreadsRequest, SubscribeToThreadsResponse, ThreadSummary, UpdateThreadRequest } from "./runtime/intelligence-platform/client.cjs";
|
|
10
|
+
import { ChannelStatus, ChannelsControl } from "./runtime/core/channel-manager.cjs";
|
|
11
|
+
import { CopilotKitRuntimeHooks, ErrorHookContext, HandlerHookContext, HookContext, ResponseHookContext, RouteInfo } from "./runtime/core/hooks.cjs";
|
|
12
|
+
import { CopilotKitCorsConfig } from "./runtime/core/fetch-cors.cjs";
|
|
13
|
+
import { CopilotKitRuntimeFetchHandler, CopilotKitRuntimeFetchHandlerWithChannels, CopilotKitRuntimeHandlerOptions, createCopilotKitRuntimeHandler, createCopilotRuntimeHandler } from "./runtime/core/fetch-handler.cjs";
|
|
10
14
|
import { GenerativeUIMiddleware } from "./runtime/generative-ui/generative-ui-middleware.cjs";
|
|
11
15
|
import { A2UIV09BridgeMiddleware } from "./runtime/generative-ui/a2ui-v09-middleware.cjs";
|
|
12
16
|
import { GenerativeUISurfaceWriter, createSurfaceWriter } from "./runtime/generative-ui/surface-writer.cjs";
|
|
@@ -16,9 +20,5 @@ import { A2UIMiddleware, A2UIMiddlewareConfig } from "./runtime/event-transforms
|
|
|
16
20
|
import { InMemoryAgentRunner, InMemoryAgentRunnerOptions, InMemoryLimits, InMemoryThread, ɵBoundedThreadStore, ɵGLOBAL_STORE, ɵINMEMORY_DEFAULTS, ɵOWNER_RETENTION_DEFAULTS, ɵOwnerRetention, ɵestimateBytes, ɵnormalizeLimits } from "./runtime/runner/in-memory.cjs";
|
|
17
21
|
import { IntelligenceAgentRunner, IntelligenceAgentRunnerOptions, RunnerStartupBoundary, STOP_RECORD_DEADLINE_MS } from "./runtime/runner/intelligence.cjs";
|
|
18
22
|
import { FinalizeRunOptions, RunEventFinalizer, createRunEventFinalizer, finalizeRunEvents } from "./runtime/runner/index.cjs";
|
|
19
|
-
import {
|
|
20
|
-
|
|
21
|
-
import { CopilotCorsConfig } from "./runtime/core/fetch-cors.cjs";
|
|
22
|
-
import { CopilotRuntimeFetchHandler, CopilotRuntimeFetchHandlerWithChannels, CopilotRuntimeHandlerOptions, createCopilotRuntimeHandler } from "./runtime/core/fetch-handler.cjs";
|
|
23
|
-
import "./runtime/index.cjs";
|
|
24
|
-
export { A2UIMiddleware, A2UIMiddlewareConfig, A2UIV09BridgeMiddleware, A2UIVersion, AgentFactoryContext, AgentRunner, AgentRunnerConnectRequest, AgentRunnerIsRunningRequest, AgentRunnerRunRequest, AgentRunnerStopRequest, AgentsConfig, AgentsFactory, ArgsParser, ChannelStatus, ChannelsControl, CopilotCorsConfig, CopilotIntelligenceRuntime, CopilotIntelligenceRuntimeLike, CopilotIntelligenceRuntimeOptions, CopilotKitIntelligence, CopilotKitIntelligenceConfig, CopilotRuntime, CopilotRuntimeConstructor, CopilotRuntimeFetchHandler, CopilotRuntimeFetchHandlerWithChannels, CopilotRuntimeHandlerOptions, CopilotRuntimeHooks, CopilotRuntimeLearningConfig, CopilotRuntimeLearningContext, CopilotRuntimeLike, CopilotRuntimeLogger, CopilotRuntimeMemoryConfig, CopilotRuntimeOptions, CopilotRuntimeUser, CopilotSseRuntime, CopilotSseRuntimeLike, CopilotSseRuntimeOptions, CreateThreadRequest, ErrorHookContext, FinalizeRunOptions, GenerateSandboxedUIParams, GenerativeUIMiddleware, GenerativeUIOptions, GenerativeUISurfaceWriter, GetLearnedSkillsSnapshotRequest, GetLearnedSkillsSnapshotsRequest, GetLearningContainerId, GetTrajectoryLearningContainerIds, HandlerHookContext, HookContext, IdentifyUserCallback, InMemoryAgentRunner, InMemoryAgentRunnerOptions, InMemoryLimits, InMemoryThread, IntelligenceAgentRunner, IntelligenceAgentRunnerOptions, LearnedSkillsBatchResult, LearnedSkillsError, LearnedSkillsErrorCode, LearnedSkillsSnapshotResult, LearningContainerSelectorInput, ListThreadsResponse, LocalThreadEndpointRecord, LocalThreadEndpointRunner, LocalThreadEndpointScope, McpAppsConfig, McpAppsServerConfig, MemoryAccess, MemoryConsumer, MemoryGrant, OnParamEvent, OpenGenerativeUIConfig, OpenGenerativeUIMiddleware, OpenGenerativeUIOptions, PlatformRequestError, RecordedEventTransformOptions, ResponseHookContext, RouteInfo, RunEventFinalizer, RunnerStartupBoundary, RuntimeWithDeclaredChannels, STOP_RECORD_DEADLINE_MS, SubscribeToThreadsRequest, SubscribeToThreadsResponse, THREAD_ACCESS_DENIED_ERROR_CODE, ThreadAccessDeniedError, ThreadAccessMode, ThreadAlreadyRunningError, ThreadOwnershipRunner, ThreadSummary, ThreadsConfig, TrajectoryLearningContainerSelectorInput, TranscribeFileOptions, TranscriptionService, UpdateThreadRequest, VERSION, createCopilotRuntimeHandler, createRunEventFinalizer, createSurfaceWriter, enforcesThreadOwnership, experimental_d_exports as experimental, finalizeRunEvents, isIntelligenceRuntime, isThreadAccessDeniedError, resolveAgents, supportsLocalThreadEndpoints, transformRecordedEvents, ɵBoundedThreadStore, ɵGLOBAL_STORE, ɵINMEMORY_DEFAULTS, ɵOWNER_RETENTION_DEFAULTS, ɵOwnerRetention, ɵSERVER_THREAD_OWNER, ɵestimateBytes, ɵnormalizeLimits, ɵresolveThreadOwner };
|
|
23
|
+
import { CopilotCorsConfig, CopilotIntelligenceRuntime, CopilotIntelligenceRuntimeLike, CopilotIntelligenceRuntimeOptions, CopilotRuntime, CopilotRuntimeConstructor, CopilotRuntimeFetchHandler, CopilotRuntimeFetchHandlerWithChannels, CopilotRuntimeHandlerOptions, CopilotRuntimeHooks, CopilotRuntimeLearningConfig, CopilotRuntimeLearningContext, CopilotRuntimeLike, CopilotRuntimeLogger, CopilotRuntimeMemoryConfig, CopilotRuntimeOptions, CopilotRuntimeUser, CopilotSseRuntime, CopilotSseRuntimeLike, CopilotSseRuntimeOptions } from "./runtime/index.cjs";
|
|
24
|
+
export { A2UIMiddleware, A2UIMiddlewareConfig, A2UIV09BridgeMiddleware, A2UIVersion, AgentFactoryContext, AgentRunner, AgentRunnerConnectRequest, AgentRunnerIsRunningRequest, AgentRunnerRunRequest, AgentRunnerStopRequest, AgentsConfig, AgentsFactory, ArgsParser, ChannelStatus, ChannelsControl, CopilotCorsConfig, CopilotIntelligenceRuntime, CopilotIntelligenceRuntimeLike, CopilotIntelligenceRuntimeOptions, CopilotKitCorsConfig, CopilotKitIntelligence, CopilotKitIntelligenceConfig, CopilotKitIntelligenceRuntime, CopilotKitIntelligenceRuntimeLike, CopilotKitIntelligenceRuntimeOptions, CopilotKitRuntime, CopilotKitRuntimeConstructor, CopilotKitRuntimeFetchHandler, CopilotKitRuntimeFetchHandlerWithChannels, CopilotKitRuntimeHandlerOptions, CopilotKitRuntimeHooks, CopilotKitRuntimeLearningConfig, CopilotKitRuntimeLearningContext, CopilotKitRuntimeLike, CopilotKitRuntimeLogger, CopilotKitRuntimeMemoryConfig, CopilotKitRuntimeOptions, CopilotKitRuntimeUser, CopilotKitSseRuntime, CopilotKitSseRuntimeLike, CopilotKitSseRuntimeOptions, CopilotRuntime, CopilotRuntimeConstructor, CopilotRuntimeFetchHandler, CopilotRuntimeFetchHandlerWithChannels, CopilotRuntimeHandlerOptions, CopilotRuntimeHooks, CopilotRuntimeLearningConfig, CopilotRuntimeLearningContext, CopilotRuntimeLike, CopilotRuntimeLogger, CopilotRuntimeMemoryConfig, CopilotRuntimeOptions, CopilotRuntimeUser, CopilotSseRuntime, CopilotSseRuntimeLike, CopilotSseRuntimeOptions, CreateThreadRequest, ErrorHookContext, FinalizeRunOptions, GenerateSandboxedUIParams, GenerativeUIMiddleware, GenerativeUIOptions, GenerativeUISurfaceWriter, GetLearnedSkillsSnapshotRequest, GetLearnedSkillsSnapshotsRequest, GetLearningContainerId, GetTrajectoryLearningContainerIds, HandlerHookContext, HookContext, IdentifyUserCallback, InMemoryAgentRunner, InMemoryAgentRunnerOptions, InMemoryLimits, InMemoryThread, IntelligenceAgentRunner, IntelligenceAgentRunnerOptions, LearnedSkillsBatchResult, LearnedSkillsError, LearnedSkillsErrorCode, LearnedSkillsSnapshotResult, LearningContainerSelectorInput, ListThreadsResponse, LocalThreadEndpointRecord, LocalThreadEndpointRunner, LocalThreadEndpointScope, McpAppsConfig, McpAppsServerConfig, MemoryAccess, MemoryConsumer, MemoryGrant, OnParamEvent, OpenGenerativeUIConfig, OpenGenerativeUIMiddleware, OpenGenerativeUIOptions, PlatformRequestError, RecordedEventTransformOptions, ResponseHookContext, RouteInfo, RunEventFinalizer, RunnerStartupBoundary, RuntimeWithDeclaredChannels, STOP_RECORD_DEADLINE_MS, SubscribeToThreadsRequest, SubscribeToThreadsResponse, THREAD_ACCESS_DENIED_ERROR_CODE, ThreadAccessDeniedError, ThreadAccessMode, ThreadAlreadyRunningError, ThreadOwnershipRunner, ThreadSummary, ThreadsConfig, TrajectoryLearningContainerSelectorInput, TranscribeFileOptions, TranscriptionService, UpdateThreadRequest, VERSION, createCopilotKitRuntimeHandler, createCopilotRuntimeHandler, createRunEventFinalizer, createSurfaceWriter, enforcesThreadOwnership, experimental_d_exports as experimental, finalizeRunEvents, isIntelligenceRuntime, isThreadAccessDeniedError, resolveAgents, supportsLocalThreadEndpoints, transformRecordedEvents, ɵBoundedThreadStore, ɵGLOBAL_STORE, ɵINMEMORY_DEFAULTS, ɵOWNER_RETENTION_DEFAULTS, ɵOwnerRetention, ɵSERVER_THREAD_OWNER, ɵestimateBytes, ɵnormalizeLimits, ɵresolveThreadOwner };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { experimental_d_exports } from "./runtime/intelligence-platform/experimental.mjs";
|
|
2
2
|
import { AgentRunner, AgentRunnerConnectRequest, AgentRunnerIsRunningRequest, AgentRunnerRunRequest, AgentRunnerStopRequest, LocalThreadEndpointRecord, LocalThreadEndpointRunner, LocalThreadEndpointScope, THREAD_ACCESS_DENIED_ERROR_CODE, ThreadAccessDeniedError, ThreadAlreadyRunningError, ThreadOwnershipRunner, enforcesThreadOwnership, isThreadAccessDeniedError, supportsLocalThreadEndpoints, ɵSERVER_THREAD_OWNER, ɵresolveThreadOwner } from "./runtime/runner/agent-runner.mjs";
|
|
3
3
|
import { ThreadAccessMode, ThreadsConfig } from "./runtime/handlers/shared/thread-access.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { CopilotKitRuntimeLogger } from "./runtime/core/logger.mjs";
|
|
5
5
|
import { TranscribeFileOptions, TranscriptionService } from "./runtime/transcription-service/transcription-service.mjs";
|
|
6
6
|
import { GetLearnedSkillsSnapshotRequest, GetLearnedSkillsSnapshotsRequest, LearnedSkillsBatchResult, LearnedSkillsError, LearnedSkillsErrorCode, LearnedSkillsSnapshotResult } from "./runtime/intelligence-platform/learned-skills.mjs";
|
|
7
|
-
import { A2UIVersion, AgentFactoryContext, AgentsConfig, AgentsFactory,
|
|
8
|
-
import {
|
|
7
|
+
import { A2UIVersion, AgentFactoryContext, AgentsConfig, AgentsFactory, CopilotKitIntelligenceRuntime, CopilotKitIntelligenceRuntimeLike, CopilotKitIntelligenceRuntimeOptions, CopilotKitRuntime, CopilotKitRuntimeConstructor, CopilotKitRuntimeLike, CopilotKitRuntimeMemoryConfig, CopilotKitRuntimeOptions, CopilotKitSseRuntime, CopilotKitSseRuntimeLike, CopilotKitSseRuntimeOptions, GenerativeUIOptions, IdentifyUserCallback, McpAppsConfig, McpAppsServerConfig, MemoryAccess, MemoryConsumer, MemoryGrant, OpenGenerativeUIConfig, OpenGenerativeUIOptions, RuntimeWithDeclaredChannels, VERSION, isIntelligenceRuntime, resolveAgents } from "./runtime/core/runtime.mjs";
|
|
8
|
+
import { CopilotKitRuntimeLearningConfig, CopilotKitRuntimeLearningContext, CopilotKitRuntimeUser, GetLearningContainerId, GetTrajectoryLearningContainerIds, LearningContainerSelectorInput, TrajectoryLearningContainerSelectorInput } from "./runtime/core/learning.mjs";
|
|
9
9
|
import { CopilotKitIntelligence, CopilotKitIntelligenceConfig, CreateThreadRequest, ListThreadsResponse, PlatformRequestError, SubscribeToThreadsRequest, SubscribeToThreadsResponse, ThreadSummary, UpdateThreadRequest } from "./runtime/intelligence-platform/client.mjs";
|
|
10
|
+
import { ChannelStatus, ChannelsControl } from "./runtime/core/channel-manager.mjs";
|
|
11
|
+
import { CopilotKitRuntimeHooks, ErrorHookContext, HandlerHookContext, HookContext, ResponseHookContext, RouteInfo } from "./runtime/core/hooks.mjs";
|
|
12
|
+
import { CopilotKitCorsConfig } from "./runtime/core/fetch-cors.mjs";
|
|
13
|
+
import { CopilotKitRuntimeFetchHandler, CopilotKitRuntimeFetchHandlerWithChannels, CopilotKitRuntimeHandlerOptions, createCopilotKitRuntimeHandler, createCopilotRuntimeHandler } from "./runtime/core/fetch-handler.mjs";
|
|
10
14
|
import { GenerativeUIMiddleware } from "./runtime/generative-ui/generative-ui-middleware.mjs";
|
|
11
15
|
import { A2UIV09BridgeMiddleware } from "./runtime/generative-ui/a2ui-v09-middleware.mjs";
|
|
12
16
|
import { GenerativeUISurfaceWriter, createSurfaceWriter } from "./runtime/generative-ui/surface-writer.mjs";
|
|
@@ -16,9 +20,5 @@ import { A2UIMiddleware, A2UIMiddlewareConfig } from "./runtime/event-transforms
|
|
|
16
20
|
import { InMemoryAgentRunner, InMemoryAgentRunnerOptions, InMemoryLimits, InMemoryThread, ɵBoundedThreadStore, ɵGLOBAL_STORE, ɵINMEMORY_DEFAULTS, ɵOWNER_RETENTION_DEFAULTS, ɵOwnerRetention, ɵestimateBytes, ɵnormalizeLimits } from "./runtime/runner/in-memory.mjs";
|
|
17
21
|
import { IntelligenceAgentRunner, IntelligenceAgentRunnerOptions, RunnerStartupBoundary, STOP_RECORD_DEADLINE_MS } from "./runtime/runner/intelligence.mjs";
|
|
18
22
|
import { FinalizeRunOptions, RunEventFinalizer, createRunEventFinalizer, finalizeRunEvents } from "./runtime/runner/index.mjs";
|
|
19
|
-
import {
|
|
20
|
-
|
|
21
|
-
import { CopilotCorsConfig } from "./runtime/core/fetch-cors.mjs";
|
|
22
|
-
import { CopilotRuntimeFetchHandler, CopilotRuntimeFetchHandlerWithChannels, CopilotRuntimeHandlerOptions, createCopilotRuntimeHandler } from "./runtime/core/fetch-handler.mjs";
|
|
23
|
-
import "./runtime/index.mjs";
|
|
24
|
-
export { A2UIMiddleware, A2UIMiddlewareConfig, A2UIV09BridgeMiddleware, A2UIVersion, AgentFactoryContext, AgentRunner, AgentRunnerConnectRequest, AgentRunnerIsRunningRequest, AgentRunnerRunRequest, AgentRunnerStopRequest, AgentsConfig, AgentsFactory, ArgsParser, ChannelStatus, ChannelsControl, CopilotCorsConfig, CopilotIntelligenceRuntime, CopilotIntelligenceRuntimeLike, CopilotIntelligenceRuntimeOptions, CopilotKitIntelligence, CopilotKitIntelligenceConfig, CopilotRuntime, CopilotRuntimeConstructor, CopilotRuntimeFetchHandler, CopilotRuntimeFetchHandlerWithChannels, CopilotRuntimeHandlerOptions, CopilotRuntimeHooks, CopilotRuntimeLearningConfig, CopilotRuntimeLearningContext, CopilotRuntimeLike, CopilotRuntimeLogger, CopilotRuntimeMemoryConfig, CopilotRuntimeOptions, CopilotRuntimeUser, CopilotSseRuntime, CopilotSseRuntimeLike, CopilotSseRuntimeOptions, CreateThreadRequest, ErrorHookContext, FinalizeRunOptions, GenerateSandboxedUIParams, GenerativeUIMiddleware, GenerativeUIOptions, GenerativeUISurfaceWriter, GetLearnedSkillsSnapshotRequest, GetLearnedSkillsSnapshotsRequest, GetLearningContainerId, GetTrajectoryLearningContainerIds, HandlerHookContext, HookContext, IdentifyUserCallback, InMemoryAgentRunner, InMemoryAgentRunnerOptions, InMemoryLimits, InMemoryThread, IntelligenceAgentRunner, IntelligenceAgentRunnerOptions, LearnedSkillsBatchResult, LearnedSkillsError, LearnedSkillsErrorCode, LearnedSkillsSnapshotResult, LearningContainerSelectorInput, ListThreadsResponse, LocalThreadEndpointRecord, LocalThreadEndpointRunner, LocalThreadEndpointScope, McpAppsConfig, McpAppsServerConfig, MemoryAccess, MemoryConsumer, MemoryGrant, OnParamEvent, OpenGenerativeUIConfig, OpenGenerativeUIMiddleware, OpenGenerativeUIOptions, PlatformRequestError, RecordedEventTransformOptions, ResponseHookContext, RouteInfo, RunEventFinalizer, RunnerStartupBoundary, RuntimeWithDeclaredChannels, STOP_RECORD_DEADLINE_MS, SubscribeToThreadsRequest, SubscribeToThreadsResponse, THREAD_ACCESS_DENIED_ERROR_CODE, ThreadAccessDeniedError, ThreadAccessMode, ThreadAlreadyRunningError, ThreadOwnershipRunner, ThreadSummary, ThreadsConfig, TrajectoryLearningContainerSelectorInput, TranscribeFileOptions, TranscriptionService, UpdateThreadRequest, VERSION, createCopilotRuntimeHandler, createRunEventFinalizer, createSurfaceWriter, enforcesThreadOwnership, experimental_d_exports as experimental, finalizeRunEvents, isIntelligenceRuntime, isThreadAccessDeniedError, resolveAgents, supportsLocalThreadEndpoints, transformRecordedEvents, ɵBoundedThreadStore, ɵGLOBAL_STORE, ɵINMEMORY_DEFAULTS, ɵOWNER_RETENTION_DEFAULTS, ɵOwnerRetention, ɵSERVER_THREAD_OWNER, ɵestimateBytes, ɵnormalizeLimits, ɵresolveThreadOwner };
|
|
23
|
+
import { CopilotCorsConfig, CopilotIntelligenceRuntime, CopilotIntelligenceRuntimeLike, CopilotIntelligenceRuntimeOptions, CopilotRuntime, CopilotRuntimeConstructor, CopilotRuntimeFetchHandler, CopilotRuntimeFetchHandlerWithChannels, CopilotRuntimeHandlerOptions, CopilotRuntimeHooks, CopilotRuntimeLearningConfig, CopilotRuntimeLearningContext, CopilotRuntimeLike, CopilotRuntimeLogger, CopilotRuntimeMemoryConfig, CopilotRuntimeOptions, CopilotRuntimeUser, CopilotSseRuntime, CopilotSseRuntimeLike, CopilotSseRuntimeOptions } from "./runtime/index.mjs";
|
|
24
|
+
export { A2UIMiddleware, A2UIMiddlewareConfig, A2UIV09BridgeMiddleware, A2UIVersion, AgentFactoryContext, AgentRunner, AgentRunnerConnectRequest, AgentRunnerIsRunningRequest, AgentRunnerRunRequest, AgentRunnerStopRequest, AgentsConfig, AgentsFactory, ArgsParser, ChannelStatus, ChannelsControl, CopilotCorsConfig, CopilotIntelligenceRuntime, CopilotIntelligenceRuntimeLike, CopilotIntelligenceRuntimeOptions, CopilotKitCorsConfig, CopilotKitIntelligence, CopilotKitIntelligenceConfig, CopilotKitIntelligenceRuntime, CopilotKitIntelligenceRuntimeLike, CopilotKitIntelligenceRuntimeOptions, CopilotKitRuntime, CopilotKitRuntimeConstructor, CopilotKitRuntimeFetchHandler, CopilotKitRuntimeFetchHandlerWithChannels, CopilotKitRuntimeHandlerOptions, CopilotKitRuntimeHooks, CopilotKitRuntimeLearningConfig, CopilotKitRuntimeLearningContext, CopilotKitRuntimeLike, CopilotKitRuntimeLogger, CopilotKitRuntimeMemoryConfig, CopilotKitRuntimeOptions, CopilotKitRuntimeUser, CopilotKitSseRuntime, CopilotKitSseRuntimeLike, CopilotKitSseRuntimeOptions, CopilotRuntime, CopilotRuntimeConstructor, CopilotRuntimeFetchHandler, CopilotRuntimeFetchHandlerWithChannels, CopilotRuntimeHandlerOptions, CopilotRuntimeHooks, CopilotRuntimeLearningConfig, CopilotRuntimeLearningContext, CopilotRuntimeLike, CopilotRuntimeLogger, CopilotRuntimeMemoryConfig, CopilotRuntimeOptions, CopilotRuntimeUser, CopilotSseRuntime, CopilotSseRuntimeLike, CopilotSseRuntimeOptions, CreateThreadRequest, ErrorHookContext, FinalizeRunOptions, GenerateSandboxedUIParams, GenerativeUIMiddleware, GenerativeUIOptions, GenerativeUISurfaceWriter, GetLearnedSkillsSnapshotRequest, GetLearnedSkillsSnapshotsRequest, GetLearningContainerId, GetTrajectoryLearningContainerIds, HandlerHookContext, HookContext, IdentifyUserCallback, InMemoryAgentRunner, InMemoryAgentRunnerOptions, InMemoryLimits, InMemoryThread, IntelligenceAgentRunner, IntelligenceAgentRunnerOptions, LearnedSkillsBatchResult, LearnedSkillsError, LearnedSkillsErrorCode, LearnedSkillsSnapshotResult, LearningContainerSelectorInput, ListThreadsResponse, LocalThreadEndpointRecord, LocalThreadEndpointRunner, LocalThreadEndpointScope, McpAppsConfig, McpAppsServerConfig, MemoryAccess, MemoryConsumer, MemoryGrant, OnParamEvent, OpenGenerativeUIConfig, OpenGenerativeUIMiddleware, OpenGenerativeUIOptions, PlatformRequestError, RecordedEventTransformOptions, ResponseHookContext, RouteInfo, RunEventFinalizer, RunnerStartupBoundary, RuntimeWithDeclaredChannels, STOP_RECORD_DEADLINE_MS, SubscribeToThreadsRequest, SubscribeToThreadsResponse, THREAD_ACCESS_DENIED_ERROR_CODE, ThreadAccessDeniedError, ThreadAccessMode, ThreadAlreadyRunningError, ThreadOwnershipRunner, ThreadSummary, ThreadsConfig, TrajectoryLearningContainerSelectorInput, TranscribeFileOptions, TranscriptionService, UpdateThreadRequest, VERSION, createCopilotKitRuntimeHandler, createCopilotRuntimeHandler, createRunEventFinalizer, createSurfaceWriter, enforcesThreadOwnership, experimental_d_exports as experimental, finalizeRunEvents, isIntelligenceRuntime, isThreadAccessDeniedError, resolveAgents, supportsLocalThreadEndpoints, transformRecordedEvents, ɵBoundedThreadStore, ɵGLOBAL_STORE, ɵINMEMORY_DEFAULTS, ɵOWNER_RETENTION_DEFAULTS, ɵOwnerRetention, ɵSERVER_THREAD_OWNER, ɵestimateBytes, ɵnormalizeLimits, ɵresolveThreadOwner };
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { LearnedSkillsError } from "./runtime/intelligence-platform/learned-skil
|
|
|
3
3
|
import { CopilotKitIntelligence, PlatformRequestError } from "./runtime/intelligence-platform/client.mjs";
|
|
4
4
|
import { InMemoryAgentRunner, ɵBoundedThreadStore, ɵGLOBAL_STORE, ɵINMEMORY_DEFAULTS, ɵOWNER_RETENTION_DEFAULTS, ɵestimateBytes, ɵnormalizeLimits } from "./runtime/runner/in-memory.mjs";
|
|
5
5
|
import { IntelligenceAgentRunner, STOP_RECORD_DEADLINE_MS } from "./runtime/runner/intelligence.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { CopilotKitIntelligenceRuntime, CopilotKitRuntime, CopilotKitSseRuntime, VERSION, isIntelligenceRuntime, resolveAgents } from "./runtime/core/runtime.mjs";
|
|
7
7
|
import { GenerativeUIMiddleware } from "./runtime/generative-ui/generative-ui-middleware.mjs";
|
|
8
8
|
import { A2UIV09BridgeMiddleware } from "./runtime/generative-ui/a2ui-v09-middleware.mjs";
|
|
9
9
|
import { createSurfaceWriter } from "./runtime/generative-ui/surface-writer.mjs";
|
|
@@ -12,6 +12,7 @@ import { transformRecordedEvents } from "./runtime/event-transforms/recorded-eve
|
|
|
12
12
|
import { A2UIMiddleware } from "./runtime/event-transforms/index.mjs";
|
|
13
13
|
import { createRunEventFinalizer, finalizeRunEvents } from "./runtime/runner/index.mjs";
|
|
14
14
|
import { TranscriptionService } from "./runtime/transcription-service/transcription-service.mjs";
|
|
15
|
-
import { createCopilotRuntimeHandler } from "./runtime/core/fetch-handler.mjs";
|
|
15
|
+
import { createCopilotKitRuntimeHandler, createCopilotRuntimeHandler } from "./runtime/core/fetch-handler.mjs";
|
|
16
|
+
import { CopilotIntelligenceRuntime, CopilotRuntime, CopilotSseRuntime } from "./runtime/index.mjs";
|
|
16
17
|
|
|
17
|
-
export { A2UIMiddleware, A2UIV09BridgeMiddleware, AgentRunner, ArgsParser, CopilotIntelligenceRuntime, CopilotKitIntelligence, CopilotRuntime, CopilotSseRuntime, GenerativeUIMiddleware, InMemoryAgentRunner, IntelligenceAgentRunner, LearnedSkillsError, OpenGenerativeUIMiddleware, PlatformRequestError, STOP_RECORD_DEADLINE_MS, THREAD_ACCESS_DENIED_ERROR_CODE, ThreadAccessDeniedError, ThreadAlreadyRunningError, TranscriptionService, VERSION, createCopilotRuntimeHandler, createRunEventFinalizer, createSurfaceWriter, enforcesThreadOwnership, finalizeRunEvents, isIntelligenceRuntime, isThreadAccessDeniedError, resolveAgents, supportsLocalThreadEndpoints, transformRecordedEvents, ɵBoundedThreadStore, ɵGLOBAL_STORE, ɵINMEMORY_DEFAULTS, ɵOWNER_RETENTION_DEFAULTS, ɵSERVER_THREAD_OWNER, ɵestimateBytes, ɵnormalizeLimits, ɵresolveThreadOwner };
|
|
18
|
+
export { A2UIMiddleware, A2UIV09BridgeMiddleware, AgentRunner, ArgsParser, CopilotIntelligenceRuntime, CopilotKitIntelligence, CopilotKitIntelligenceRuntime, CopilotKitRuntime, CopilotKitSseRuntime, CopilotRuntime, CopilotSseRuntime, GenerativeUIMiddleware, InMemoryAgentRunner, IntelligenceAgentRunner, LearnedSkillsError, OpenGenerativeUIMiddleware, PlatformRequestError, STOP_RECORD_DEADLINE_MS, THREAD_ACCESS_DENIED_ERROR_CODE, ThreadAccessDeniedError, ThreadAlreadyRunningError, TranscriptionService, VERSION, createCopilotKitRuntimeHandler, createCopilotRuntimeHandler, createRunEventFinalizer, createSurfaceWriter, enforcesThreadOwnership, finalizeRunEvents, isIntelligenceRuntime, isThreadAccessDeniedError, resolveAgents, supportsLocalThreadEndpoints, transformRecordedEvents, ɵBoundedThreadStore, ɵGLOBAL_STORE, ɵINMEMORY_DEFAULTS, ɵOWNER_RETENTION_DEFAULTS, ɵSERVER_THREAD_OWNER, ɵestimateBytes, ɵnormalizeLimits, ɵresolveThreadOwner };
|
package/dist/node.cjs
CHANGED
|
@@ -2,5 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
2
2
|
const require_node_fetch_handler = require('./runtime/endpoints/node-fetch-handler.cjs');
|
|
3
3
|
const require_node = require('./runtime/endpoints/node.cjs');
|
|
4
4
|
|
|
5
|
+
exports.createCopilotKitNodeHandler = require_node_fetch_handler.createCopilotKitNodeHandler;
|
|
6
|
+
exports.createCopilotKitNodeListener = require_node.createCopilotKitNodeListener;
|
|
5
7
|
exports.createCopilotNodeHandler = require_node_fetch_handler.createCopilotNodeHandler;
|
|
6
8
|
exports.createCopilotNodeListener = require_node.createCopilotNodeListener;
|
package/dist/node.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NodeFetchHandler, createCopilotNodeHandler } from "./runtime/endpoints/node-fetch-handler.cjs";
|
|
2
|
-
import { NodeCopilotListener, NodeCopilotListenerWithChannels, createCopilotNodeListener } from "./runtime/endpoints/node.cjs";
|
|
1
|
+
import { NodeFetchHandler, createCopilotKitNodeHandler, createCopilotNodeHandler } from "./runtime/endpoints/node-fetch-handler.cjs";
|
|
2
|
+
import { NodeCopilotKitListener, NodeCopilotKitListenerWithChannels, NodeCopilotListener, NodeCopilotListenerWithChannels, createCopilotKitNodeListener, createCopilotNodeListener } from "./runtime/endpoints/node.cjs";
|
|
3
3
|
import "./runtime/node.cjs";
|
|
4
|
-
export { NodeCopilotListener, NodeCopilotListenerWithChannels, NodeFetchHandler, createCopilotNodeHandler, createCopilotNodeListener };
|
|
4
|
+
export { NodeCopilotKitListener, NodeCopilotKitListenerWithChannels, NodeCopilotListener, NodeCopilotListenerWithChannels, NodeFetchHandler, createCopilotKitNodeHandler, createCopilotKitNodeListener, createCopilotNodeHandler, createCopilotNodeListener };
|
package/dist/node.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NodeFetchHandler, createCopilotNodeHandler } from "./runtime/endpoints/node-fetch-handler.mjs";
|
|
2
|
-
import { NodeCopilotListener, NodeCopilotListenerWithChannels, createCopilotNodeListener } from "./runtime/endpoints/node.mjs";
|
|
1
|
+
import { NodeFetchHandler, createCopilotKitNodeHandler, createCopilotNodeHandler } from "./runtime/endpoints/node-fetch-handler.mjs";
|
|
2
|
+
import { NodeCopilotKitListener, NodeCopilotKitListenerWithChannels, NodeCopilotListener, NodeCopilotListenerWithChannels, createCopilotKitNodeListener, createCopilotNodeListener } from "./runtime/endpoints/node.mjs";
|
|
3
3
|
import "./runtime/node.mjs";
|
|
4
|
-
export { NodeCopilotListener, NodeCopilotListenerWithChannels, NodeFetchHandler, createCopilotNodeHandler, createCopilotNodeListener };
|
|
4
|
+
export { NodeCopilotKitListener, NodeCopilotKitListenerWithChannels, NodeCopilotListener, NodeCopilotListenerWithChannels, NodeFetchHandler, createCopilotKitNodeHandler, createCopilotKitNodeListener, createCopilotNodeHandler, createCopilotNodeListener };
|
package/dist/node.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createCopilotNodeHandler } from "./runtime/endpoints/node-fetch-handler.mjs";
|
|
2
|
-
import { createCopilotNodeListener } from "./runtime/endpoints/node.mjs";
|
|
1
|
+
import { createCopilotKitNodeHandler, createCopilotNodeHandler } from "./runtime/endpoints/node-fetch-handler.mjs";
|
|
2
|
+
import { createCopilotKitNodeListener, createCopilotNodeListener } from "./runtime/endpoints/node.mjs";
|
|
3
3
|
|
|
4
|
-
export { createCopilotNodeHandler, createCopilotNodeListener };
|
|
4
|
+
export { createCopilotKitNodeHandler, createCopilotKitNodeListener, createCopilotNodeHandler, createCopilotNodeListener };
|