Files
arcadia-admin/tsconfig.json
jules 1b2e85cdad Wire @crema/agent-ui: ToolCallCard + AgentAvatar with activity
The /ai surface now renders agent-ui primitives instead of homegrown
tool/typing widgets:

- AgentAvatar with activity (thinking / working / waiting / speaking /
  idle) replaces TypingIndicator. Pulses while the model is generating,
  shows "waiting" while a write is held for confirmation, "working" while
  a confirmed write is executing, "speaking" once tokens are streaming.
- ToolCallCard renders each native tool_call with typed status (pending
  / running / success / error). Built from the assistant message's
  toolCalls plus the matching tool result message. Tool messages no
  longer render standalone — absorbed into their parent assistant turn.
- Empty assistant bubbles (no prose, only tool_calls) collapse so the
  ToolCallCards carry the visual weight.

Wiring: add @crema/agent-ui path entry to tsconfig and @source line to
app.css. Sibling lib-agent-ui must be cloned next to arcadia-admin.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 20:25:36 +10:00

64 lines
2.6 KiB
JSON

{
"include": [
"**/*",
"**/.server/**/*",
"**/.client/**/*",
".react-router/types/**/*"
],
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"types": ["node", "vite/client"],
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "bundler",
"jsx": "react-jsx",
"rootDirs": [".", "./.react-router/types"],
"baseUrl": ".",
"paths": {
"~/*": ["./app/*"],
"@crema/notification-ui": ["../lib-notification-ui/src/index.tsx"],
"@crema/notification-ui/*": ["../lib-notification-ui/src/*"],
"@crema/chat-ui": ["../lib-chat-ui/src/index.tsx"],
"@crema/chat-ui/*": ["../lib-chat-ui/src/*"],
"@crema/aifirst-ui": ["../lib-aifirst-ui/src/index.tsx"],
"@crema/aifirst-ui/*": ["../lib-aifirst-ui/src/*"],
"@crema/llm-ui": ["../lib-llm-ui/src/index.tsx"],
"@crema/llm-ui/*": ["../lib-llm-ui/src/*"],
"@crema/action-bus": ["../lib-action-bus/src/index.tsx"],
"@crema/action-bus/*": ["../lib-action-bus/src/*"],
"@crema/arcadia-client": ["../lib-arcadia-client/src/index.tsx"],
"@crema/arcadia-client/*": ["../lib-arcadia-client/src/*"],
"@crema/arcadia-auth-ui": ["../lib-arcadia-auth-ui/src/index.tsx"],
"@crema/arcadia-auth-ui/*": ["../lib-arcadia-auth-ui/src/*"],
"@crema/table-ui": ["../lib-table-ui/src/index.tsx"],
"@crema/table-ui/*": ["../lib-table-ui/src/*"],
"@crema/search-ui": ["../lib-search-ui/src/index.tsx"],
"@crema/search-ui/*": ["../lib-search-ui/src/*"],
"@crema/feedback-ui": ["../lib-feedback-ui/src/index.tsx"],
"@crema/feedback-ui/*": ["../lib-feedback-ui/src/*"],
"@crema/auth-ui": ["../lib-auth-ui/src/index.tsx"],
"@crema/auth-ui/*": ["../lib-auth-ui/src/*"],
"@crema/agent-ui": ["../lib-agent-ui/src/index.tsx"],
"@crema/agent-ui/*": ["../lib-agent-ui/src/*"],
"// CREMA:PATHS": [""],
"react": ["./node_modules/@types/react"],
"react/*": ["./node_modules/@types/react/*"],
"react-dom": ["./node_modules/@types/react-dom"],
"react-dom/*": ["./node_modules/@types/react-dom/*"],
"clsx": ["./node_modules/clsx"],
"tailwind-merge": ["./node_modules/tailwind-merge"],
"lucide-react": ["./node_modules/lucide-react"],
"openapi-fetch": ["./node_modules/openapi-fetch"],
"openapi-fetch/*": ["./node_modules/openapi-fetch/*"],
"phoenix": ["./node_modules/@types/phoenix"],
"phoenix/*": ["./node_modules/@types/phoenix/*"]
},
"esModuleInterop": true,
"verbatimModuleSyntax": true,
"noEmit": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true
}
}