@copilotkit/core 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.
@@ -1,4 +1,4 @@
1
- import { r as OpenThreadRegistration } from "./learning-bridge-wVcSJ_Kp.cjs";
1
+ import { r as OpenThreadRegistration } from "./learning-bridge-DEVwyO7F.cjs";
2
2
 
3
3
  //#region src/chat/chat-configuration.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { r as OpenThreadRegistration } from "./learning-bridge-CvCMCZoR.mjs";
1
+ import { r as OpenThreadRegistration } from "./learning-bridge-DZOhtLs1.mjs";
2
2
 
3
3
  //#region src/chat/chat-configuration.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Su as ɵGenerativeUIDebugSource, Vo as A2UIMarkdownOperation, a as CopilotKitCore, bu as ɵGenerativeUIDebugRun, es as MarkdownSegment } from "../learning-bridge-wVcSJ_Kp.cjs";
1
+ import { Su as ɵGenerativeUIDebugSource, Vo as A2UIMarkdownOperation, a as CopilotKitCore, bu as ɵGenerativeUIDebugRun, es as MarkdownSegment } from "../learning-bridge-DEVwyO7F.cjs";
2
2
  import "../index.cjs";
3
3
  import { AbstractAgent, Message } from "@ag-ui/client";
4
4
  import { A2UIActionMessage, A2UIFunctionPermissions, A2UIFunctionReturnType, A2UIOperation, CopilotKitUIEnvelope, GenerativeUIActionBinding, GenerativeUIFunctionManifest, GenerativeUIManifest, GenerativeUIRejectedOperation, GenerativeUISurfaceContent, GenerativeUISurfaceStatus, GenerativeUISurfaceSummary, GenerativeUITarget, GenerativeUIUserEvent, StandardSchemaV1, ValidateOperationOptions } from "@copilotkit/shared";
@@ -1,4 +1,4 @@
1
- import { Su as ɵGenerativeUIDebugSource, Vo as A2UIMarkdownOperation, a as CopilotKitCore, bu as ɵGenerativeUIDebugRun, es as MarkdownSegment } from "../learning-bridge-CvCMCZoR.mjs";
1
+ import { Su as ɵGenerativeUIDebugSource, Vo as A2UIMarkdownOperation, a as CopilotKitCore, bu as ɵGenerativeUIDebugRun, es as MarkdownSegment } from "../learning-bridge-DZOhtLs1.mjs";
2
2
  import "../index.mjs";
3
3
  import { AbstractAgent, Message } from "@ag-ui/client";
4
4
  import { A2UIActionMessage, A2UIFunctionPermissions, A2UIFunctionReturnType, A2UIOperation, CopilotKitUIEnvelope, GenerativeUIActionBinding, GenerativeUIFunctionManifest, GenerativeUIManifest, GenerativeUIRejectedOperation, GenerativeUISurfaceContent, GenerativeUISurfaceStatus, GenerativeUISurfaceSummary, GenerativeUITarget, GenerativeUIUserEvent, StandardSchemaV1, ValidateOperationOptions } from "@copilotkit/shared";
package/dist/index.cjs CHANGED
@@ -5864,9 +5864,9 @@ const byteLength = (value) => new TextEncoder().encode(JSON.stringify(value)).by
5864
5864
  const reconnectDelay = (0, _copilotkit_shared.phoenixExponentialBackoff)(1e3, 1e4);
5865
5865
  const SETUP_HINTS = {
5866
5866
  RUNTIME_REQUIRED: "Set runtimeUrl: capture connects through the CopilotKit runtime.",
5867
- INTELLIGENCE_RUNTIME_REQUIRED: "Configure the CopilotRuntime with `intelligence` to accept capture.",
5868
- CONNECTION_FAILED: "Check that the CopilotRuntime is configured with `intelligence` and valid Intelligence credentials, and check the runtime logs.",
5869
- IDENTITY_REQUIRED: "The runtime could not identify the user. Configure `identifyUser` on the CopilotRuntime and send the app's session with runtime requests.",
5867
+ INTELLIGENCE_RUNTIME_REQUIRED: "Configure the CopilotKitRuntime with `intelligence` to accept capture.",
5868
+ CONNECTION_FAILED: "Check that the CopilotKitRuntime is configured with `intelligence` and valid Intelligence credentials, and check the runtime logs.",
5869
+ IDENTITY_REQUIRED: "The runtime could not identify the user. Configure `identifyUser` on the CopilotKitRuntime and send the app's session with runtime requests.",
5870
5870
  TRAJECTORIES_NOT_ENABLED: "Trajectories are not enabled for this Intelligence project.",
5871
5871
  TRAJECTORIES_UNAVAILABLE: "This Intelligence deployment does not serve Trajectory capture.",
5872
5872
  TRAJECTORIES_ENTITLEMENT_UNAVAILABLE: "Intelligence could not confirm that Trajectories are enabled for this project; try again later.",
@@ -18248,7 +18248,7 @@ function ɵprojectThread({ id, agentId, name, archived, createdAt, updatedAt, la
18248
18248
  }
18249
18249
  const RUNTIME_URL_MISSING = "Runtime URL is not configured";
18250
18250
  const THREAD_ENDPOINTS_UNAVAILABLE = "Thread endpoints are not available on this CopilotKit runtime";
18251
- const THREAD_LIST_NEEDS_IDENTITY = "Listing threads needs a caller identity. Set identifyUser on CopilotRuntime.";
18251
+ const THREAD_LIST_NEEDS_IDENTITY = "Listing threads needs a caller identity. Set identifyUser on CopilotKitRuntime.";
18252
18252
  const THREAD_MUTATIONS_UNAVAILABLE = "Thread mutations are not available on this CopilotKit runtime";
18253
18253
  function isSameThreadsSnapshot(a, b) {
18254
18254
  return a.threads === b.threads && a.isLoading === b.isLoading && a.error === b.error && a.listError === b.listError && a.fetchMoreError === b.fetchMoreError && a.hasMoreThreads === b.hasMoreThreads && a.isFetchingMoreThreads === b.isFetchingMoreThreads && a.isMutating === b.isMutating;