feat(session-ui): rewrite v2 prompt input (#37102)
This commit is contained in:
@@ -22,5 +22,8 @@ export function useCommand() {
|
||||
keybind(id: string) {
|
||||
return keybinds[id]
|
||||
},
|
||||
keybindParts(id: string) {
|
||||
return keybinds[id]?.split("+") ?? []
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ const dict: Record<string, string> = {
|
||||
"prompt.loading": "Loading prompt...",
|
||||
"prompt.placeholder.normal": "Ask anything...",
|
||||
"prompt.placeholder.simple": "Ask anything...",
|
||||
"prompt.placeholder.shell": "Run a shell command... {{example}}",
|
||||
"prompt.placeholder.shell": "Enter shell command... {{example}}",
|
||||
"prompt.placeholder.summarizeComment": "Summarize this comment",
|
||||
"prompt.placeholder.summarizeComments": "Summarize these comments",
|
||||
"prompt.action.attachFile": "Attach files",
|
||||
|
||||
@@ -12,6 +12,8 @@ const [data, setData] = createStore({
|
||||
session_working: () => false,
|
||||
agent: [{ name: "build", mode: "task", hidden: false }],
|
||||
command: [{ name: "fix", description: "Run fix command", source: "project" }],
|
||||
reference: [],
|
||||
mcp_resource: {},
|
||||
})
|
||||
|
||||
const sync = {
|
||||
|
||||
Reference in New Issue
Block a user