@copilotkit/runtime 2.0.0-rc.16 → 2.0.0-rc.18
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,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/runtime/core/package-info.ts
|
|
3
3
|
const RUNTIME_PACKAGE_NAME = "@copilotkit/runtime";
|
|
4
|
-
const RUNTIME_PACKAGE_VERSION = "2.0.0-rc.
|
|
4
|
+
const RUNTIME_PACKAGE_VERSION = "2.0.0-rc.18";
|
|
5
5
|
|
|
6
6
|
//#endregion
|
|
7
7
|
exports.RUNTIME_PACKAGE_NAME = RUNTIME_PACKAGE_NAME;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/runtime/core/package-info.ts
|
|
2
2
|
const RUNTIME_PACKAGE_NAME = "@copilotkit/runtime";
|
|
3
|
-
const RUNTIME_PACKAGE_VERSION = "2.0.0-rc.
|
|
3
|
+
const RUNTIME_PACKAGE_VERSION = "2.0.0-rc.18";
|
|
4
4
|
|
|
5
5
|
//#endregion
|
|
6
6
|
export { RUNTIME_PACKAGE_NAME, RUNTIME_PACKAGE_VERSION };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disclosure.cjs","names":[],"sources":["../../../src/runtime/telemetry/disclosure.ts"],"sourcesContent":["// Runtime-side telemetry disclosure log.\n//\n// The runtime has shipped telemetry for some time (see `./telemetry-client.ts`).\n// Sends are anonymous by default but can carry a configured standalone or\n// legacy identity. This file surfaces a neutral one-line pointer to the opt-out\n// docs on first instantiation so the disclosure stays true for every identity\n// mode. It pairs with the inspector's first-run console disclosure.\n//\n// Fires at most once per process — runtime instances may be constructed\n// multiple times (tests, hot-reload), but the disclosure is informational\n// and a single line is enough.\n\nimport { processEnv } from \"@copilotkit/shared\";\n\n// Canonical telemetry docs page on main.\n// Mirror constant: packages/web-inspector/src/
|
|
1
|
+
{"version":3,"file":"disclosure.cjs","names":[],"sources":["../../../src/runtime/telemetry/disclosure.ts"],"sourcesContent":["// Runtime-side telemetry disclosure log.\n//\n// The runtime has shipped telemetry for some time (see `./telemetry-client.ts`).\n// Sends are anonymous by default but can carry a configured standalone or\n// legacy identity. This file surfaces a neutral one-line pointer to the opt-out\n// docs on first instantiation so the disclosure stays true for every identity\n// mode. It pairs with the inspector's first-run console disclosure.\n//\n// Fires at most once per process — runtime instances may be constructed\n// multiple times (tests, hot-reload), but the disclosure is informational\n// and a single line is enough.\n\nimport { processEnv } from \"@copilotkit/shared\";\n\n// Canonical telemetry docs page on main.\n// Mirror constant: packages/web-inspector/src/shared/telemetry/privacy.ts\nconst TELEMETRY_DOCS_URL = \"https://docs.copilotkit.ai/telemetry\";\n\nfunction isTelemetryDisabled(): boolean {\n const env = processEnv();\n return (\n env.COPILOTKIT_TELEMETRY_DISABLED === \"true\" ||\n env.COPILOTKIT_TELEMETRY_DISABLED === \"1\" ||\n env.DO_NOT_TRACK === \"true\" ||\n env.DO_NOT_TRACK === \"1\"\n );\n}\n\nlet disclosureLogged = false;\n\n/**\n * Logs a one-line telemetry notice on Runtime startup. No-op when telemetry is\n * disabled via `COPILOTKIT_TELEMETRY_DISABLED` or `DO_NOT_TRACK`, or when\n * already logged once in this process.\n *\n * Idempotent — safe to call from multiple constructor paths.\n */\nexport function logRuntimeTelemetryDisclosure(): void {\n if (disclosureLogged) return;\n if (isTelemetryDisabled()) return;\n disclosureLogged = true;\n // eslint-disable-next-line no-console\n console.info(\n `[CopilotKit Runtime] telemetry enabled — see ${TELEMETRY_DOCS_URL} to opt out (set COPILOTKIT_TELEMETRY_DISABLED=true).`,\n );\n}\n\n// Test-only reset hook so the once-per-process guard doesn't leak between\n// test cases. Not part of the public package surface — used by the runtime\n// disclosure tests.\nexport function _resetRuntimeTelemetryDisclosureForTesting(): void {\n disclosureLogged = false;\n}\n"],"mappings":";;;AAgBA,MAAM,qBAAqB;AAE3B,SAAS,sBAA+B;CACtC,MAAM,0CAAkB;AACxB,QACE,IAAI,kCAAkC,UACtC,IAAI,kCAAkC,OACtC,IAAI,iBAAiB,UACrB,IAAI,iBAAiB;;AAIzB,IAAI,mBAAmB;;;;;;;;AASvB,SAAgB,gCAAsC;AACpD,KAAI,iBAAkB;AACtB,KAAI,qBAAqB,CAAE;AAC3B,oBAAmB;AAEnB,SAAQ,KACN,gDAAgD,mBAAmB,uDACpE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disclosure.mjs","names":[],"sources":["../../../src/runtime/telemetry/disclosure.ts"],"sourcesContent":["// Runtime-side telemetry disclosure log.\n//\n// The runtime has shipped telemetry for some time (see `./telemetry-client.ts`).\n// Sends are anonymous by default but can carry a configured standalone or\n// legacy identity. This file surfaces a neutral one-line pointer to the opt-out\n// docs on first instantiation so the disclosure stays true for every identity\n// mode. It pairs with the inspector's first-run console disclosure.\n//\n// Fires at most once per process — runtime instances may be constructed\n// multiple times (tests, hot-reload), but the disclosure is informational\n// and a single line is enough.\n\nimport { processEnv } from \"@copilotkit/shared\";\n\n// Canonical telemetry docs page on main.\n// Mirror constant: packages/web-inspector/src/
|
|
1
|
+
{"version":3,"file":"disclosure.mjs","names":[],"sources":["../../../src/runtime/telemetry/disclosure.ts"],"sourcesContent":["// Runtime-side telemetry disclosure log.\n//\n// The runtime has shipped telemetry for some time (see `./telemetry-client.ts`).\n// Sends are anonymous by default but can carry a configured standalone or\n// legacy identity. This file surfaces a neutral one-line pointer to the opt-out\n// docs on first instantiation so the disclosure stays true for every identity\n// mode. It pairs with the inspector's first-run console disclosure.\n//\n// Fires at most once per process — runtime instances may be constructed\n// multiple times (tests, hot-reload), but the disclosure is informational\n// and a single line is enough.\n\nimport { processEnv } from \"@copilotkit/shared\";\n\n// Canonical telemetry docs page on main.\n// Mirror constant: packages/web-inspector/src/shared/telemetry/privacy.ts\nconst TELEMETRY_DOCS_URL = \"https://docs.copilotkit.ai/telemetry\";\n\nfunction isTelemetryDisabled(): boolean {\n const env = processEnv();\n return (\n env.COPILOTKIT_TELEMETRY_DISABLED === \"true\" ||\n env.COPILOTKIT_TELEMETRY_DISABLED === \"1\" ||\n env.DO_NOT_TRACK === \"true\" ||\n env.DO_NOT_TRACK === \"1\"\n );\n}\n\nlet disclosureLogged = false;\n\n/**\n * Logs a one-line telemetry notice on Runtime startup. No-op when telemetry is\n * disabled via `COPILOTKIT_TELEMETRY_DISABLED` or `DO_NOT_TRACK`, or when\n * already logged once in this process.\n *\n * Idempotent — safe to call from multiple constructor paths.\n */\nexport function logRuntimeTelemetryDisclosure(): void {\n if (disclosureLogged) return;\n if (isTelemetryDisabled()) return;\n disclosureLogged = true;\n // eslint-disable-next-line no-console\n console.info(\n `[CopilotKit Runtime] telemetry enabled — see ${TELEMETRY_DOCS_URL} to opt out (set COPILOTKIT_TELEMETRY_DISABLED=true).`,\n );\n}\n\n// Test-only reset hook so the once-per-process guard doesn't leak between\n// test cases. Not part of the public package surface — used by the runtime\n// disclosure tests.\nexport function _resetRuntimeTelemetryDisclosureForTesting(): void {\n disclosureLogged = false;\n}\n"],"mappings":";;;AAgBA,MAAM,qBAAqB;AAE3B,SAAS,sBAA+B;CACtC,MAAM,MAAM,YAAY;AACxB,QACE,IAAI,kCAAkC,UACtC,IAAI,kCAAkC,OACtC,IAAI,iBAAiB,UACrB,IAAI,iBAAiB;;AAIzB,IAAI,mBAAmB;;;;;;;;AASvB,SAAgB,gCAAsC;AACpD,KAAI,iBAAkB;AACtB,KAAI,qBAAqB,CAAE;AAC3B,oBAAmB;AAEnB,SAAQ,KACN,gDAAgD,mBAAmB,uDACpE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@copilotkit/runtime",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.18",
|
|
4
4
|
"private": false,
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@ai-sdk/openai": "^3.0.36",
|
|
66
66
|
"@cfworker/json-schema": "^4.1.1",
|
|
67
67
|
"@copilotkit/license-verifier": "~0.5.0",
|
|
68
|
-
"@copilotkit/shared": "2.0.0-rc.
|
|
68
|
+
"@copilotkit/shared": "2.0.0-rc.18",
|
|
69
69
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
70
70
|
"@remix-run/node-fetch-server": "^0.13.0",
|
|
71
71
|
"ai": "^6.0.104",
|
|
@@ -101,8 +101,8 @@
|
|
|
101
101
|
"hono": "^4.11.4",
|
|
102
102
|
"@hono/node-server": "^1.13.5",
|
|
103
103
|
"ws": "^8.18.0",
|
|
104
|
-
"@copilotkit/
|
|
105
|
-
"@copilotkit/
|
|
104
|
+
"@copilotkit/channels": "0.12.0",
|
|
105
|
+
"@copilotkit/typescript-config": "1.55.0-next.8"
|
|
106
106
|
},
|
|
107
107
|
"nx": {
|
|
108
108
|
"targets": {
|