mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
68e247a78d
Replaces the Angular-backed cpk-thread-list / cpk-thread-details custom elements with native Lit implementations inside @copilotkit/web-inspector, so React, Vanilla, and any other non-Angular consumer of the inspector gets full functionality without pulling the Angular runtime. The @copilotkit/web-inspector-angular package is deleted entirely, and the Angular demo no longer calls defineInspectorElements. Backend: adds GET /threads/:id/events and GET /threads/:id/state to the runtime (in-memory runner path). The Intelligence path returns 501 with a clear "not yet supported on this runtime" empty state — coordination with the Intelligence team is tracked separately (CPK-7453). Also guards attachToCore's getThreadStores call so consumers on an older @copilotkit/core don't throw when assigning inspector.core, and drops two unrelated showcase-whitelist lines that landed in scripts/hooks/check-binaries.sh during a prior merge. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"useDefineForClassFields": false,
|
|
"module": "ES2020",
|
|
"moduleResolution": "Node",
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noPropertyAccessFromIndexSignature": false,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@copilotkit/angular": [
|
|
"../../packages/angular/dist/index.d.ts",
|
|
"../../packages/angular/dist/fesm2022/copilotkitnext-angular.mjs"
|
|
],
|
|
"@copilotkit/core": [
|
|
"../../packages/core/dist/index.d.ts",
|
|
"../../packages/core/dist/index.mjs",
|
|
"../../packages/core/src/index.ts"
|
|
],
|
|
"@copilotkit/shared": [
|
|
"../../packages/shared/dist/index.d.ts",
|
|
"../../packages/shared/dist/index.mjs",
|
|
"../../packages/shared/src/index.ts"
|
|
],
|
|
"@copilotkit/web-inspector": [
|
|
"../../packages/web-inspector/dist/index.d.ts",
|
|
"../../packages/web-inspector/src/index.ts"
|
|
]
|
|
}
|
|
},
|
|
"angularCompilerOptions": {
|
|
"enableI18nLegacyMessageIdFormat": false,
|
|
"strictInjectionParameters": true,
|
|
"strictInputAccessModifiers": true,
|
|
"strictTemplates": true
|
|
},
|
|
"exclude": ["dist", "node_modules"]
|
|
}
|