Files
Martha Schumann 68e247a78d refactor(inspector): port thread UI from Angular to Lit + add per-thread events/state endpoints
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>
2026-04-22 18:54:10 -07:00

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"]
}