-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat(chat): display system-injected messages as collapsible cards #463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
468ba98
12b4e27
83b8ca0
e7aaab2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -238,5 +238,14 @@ | |
| }, | ||
| "tasks": { | ||
| "nextTaskPrompt": "Start the next task" | ||
| }, | ||
| "systemInjected": { | ||
| "system-reminder": "System Reminder", | ||
| "task-notification": "Task Notification", | ||
| "background-task-result": "Background Task Result", | ||
| "hook": "Hook Output", | ||
| "command": "Command", | ||
| "continuation": "Session Info", | ||
| "other": "System" | ||
| } | ||
|
Comment on lines
+242
to
250
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Search for any usage of 'skill' as an injectedType value
rg -n "injectedType.*skill|'skill'" --type=ts --type=tsx -g '!*.json'Repository: siteboon/claudecodeui Length of output: 92 🏁 Script executed: # Also search in messageTransforms.ts to understand the context
fd messageTransforms.ts --type fRepository: siteboon/claudecodeui Length of output: 111 🏁 Script executed: # Search more broadly for "skill" in the codebase
rg -n "skill" --type=ts --type=tsx --type=js --type=json -g '!node_modules'Repository: siteboon/claudecodeui Length of output: 92 🏁 Script executed: # Read the messageTransforms.ts file to understand classifyUserMessage
cat -n src/components/chat/utils/messageTransforms.ts | head -100Repository: siteboon/claudecodeui Length of output: 3594 🏁 Script executed: # Search for 'skill' usage in TypeScript/JS files (without tsx type)
rg -n "skill" -t=ts -g '!node_modules' 2>/dev/null || rg -n "skill" -g '!node_modules' -g '!*.json'Repository: siteboon/claudecodeui Length of output: 47 🏁 Script executed: # Search for injectedType assignments to understand all possible values
rg -n "injectedType\s*:" src/components/chat/utils/messageTransforms.ts -A 2 -B 2Repository: siteboon/claudecodeui Length of output: 3683 🏁 Script executed: # Search for any reference to "skill" in the entire codebase
rg -n "skill" --max-count=20Repository: siteboon/claudecodeui Length of output: 283 🏁 Script executed: # Verify the structure of chat.json to see all keys
cat src/i18n/locales/en/chat.json | grep -A 10 "systemInjected"Repository: siteboon/claudecodeui Length of output: 369 Remove the unused "skill" translation key or implement its classification logic. The 🤖 Prompt for AI Agents |
||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.