Skip to content

Commit 433e3fc

Browse files
authored
Improve Inspector (#17)
1 parent 67ccd94 commit 433e3fc

File tree

9 files changed

+1590
-119
lines changed

9 files changed

+1590
-119
lines changed

apps/node/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"check-types": "tsc --noEmit"
1010
},
1111
"devDependencies": {
12+
"@copilotkitnext/typescript-config": "workspace:^",
1213
"@types/node": "^22.10.7",
1314
"tsx": "^4.19.2",
1415
"typescript": "^5.8.2"

apps/react/demo/src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default function Home() {
3838
});
3939

4040
return (
41-
<CopilotKitProvider runtimeUrl="/api/copilotkit" renderToolCalls={[wildcardRenderer]}>
41+
<CopilotKitProvider runtimeUrl="/api/copilotkit" renderToolCalls={[wildcardRenderer]} showDevConsole="auto">
4242
<div style={{ height: "100vh", margin: 0, padding: 0, overflow: "hidden" }}>
4343
<Chat />
4444
</div>

apps/react/demo/src/app/sidebar/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default function SidebarDemoPage() {
2626
});
2727

2828
return (
29-
<CopilotKitProvider runtimeUrl="/api/copilotkit" renderToolCalls={[wildcardRenderer]}>
29+
<CopilotKitProvider runtimeUrl="/api/copilotkit" renderToolCalls={[wildcardRenderer]} showDevConsole="auto">
3030
<AppLayout />
3131
</CopilotKitProvider>
3232
);

packages/web-inspector/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
"access": "public"
1616
},
1717
"scripts": {
18-
"build": "pnpm run build:css && tsup",
18+
"build": "tsup",
1919
"build:css": "npx @tailwindcss/cli -i ./src/styles/tailwind.css -o ./src/styles/generated.css -m",
2020
"dev": "pnpm run build:css && concurrently \"pnpm run dev:css\" \"tsup --watch\"",
2121
"dev:css": "npx @tailwindcss/cli -i ./src/styles/tailwind.css -o ./src/styles/generated.css --watch --minify",
22-
"prepublishOnly": "pnpm run build",
22+
"prepublishOnly": "pnpm run build:css && pnpm run build",
2323
"lint": "eslint . --max-warnings 0",
2424
"check-types": "pnpm run build:css && tsc --noEmit",
2525
"clean": "rm -rf dist src/styles/generated.css"

0 commit comments

Comments
 (0)