mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
a3618c1178
Add `showDevConsole?: boolean | "auto"` to `CopilotKitConfig`, mirroring the React v2 `CopilotKitProvider` prop. When enabled, the `CopilotKit` service mounts the framework-agnostic Lit element exported by `@copilotkit/web-inspector` and tears it down on service destroy. - `true`: always mount. - `"auto"`: mount only on `localhost` / `127.0.0.1`. - `false` / undefined: never mount (default). The dynamic import is hidden behind an injectable `InspectorLoader` token so tests can stub the module without pulling in the real Lit element. Closes parity gap tracked in https://github.com/CopilotKit/CopilotKit/issues/3172.
23 lines
425 B
JSON
23 lines
425 B
JSON
{
|
|
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
|
|
"dest": "dist",
|
|
"lib": {
|
|
"entryFile": "src/index.ts"
|
|
},
|
|
"allowedNonPeerDependencies": [
|
|
"@ag-ui/client",
|
|
"@ag-ui/core",
|
|
"@copilotkit/shared",
|
|
"@copilotkit/core",
|
|
"@copilotkit/web-inspector",
|
|
"rxjs",
|
|
"zod",
|
|
"lucide-angular",
|
|
"highlight.js",
|
|
"katex",
|
|
"marked",
|
|
"clsx",
|
|
"tailwind-merge"
|
|
]
|
|
}
|