mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-12 02:37:45 +08:00
feat: Implement slash command functionality in the orchestrator
- Refactored NodePalette to remove unused templates and streamline the UI. - Enhanced PropertyPanel to support slash commands with input fields for command name and arguments. - Introduced TagEditor for inline variable editing and custom template creation. - Updated PromptTemplateNode to display slash command badges and instructions. - Modified flow types to include slashCommand and slashArgs for structured execution. - Adjusted flow executor to construct instructions based on slash command fields.
This commit is contained in:
@@ -163,7 +163,10 @@
|
||||
"placeholders": {
|
||||
"nodeLabel": "节点标签",
|
||||
"instruction": "例如: 执行 /workflow:plan 用于登录功能\n或: 分析代码架构\n或: 将 {{analysis}} 保存到 ./output/result.json",
|
||||
"outputName": "例如: analysis, plan, result"
|
||||
"outputName": "例如: analysis, plan, result",
|
||||
"slashCommand": "选择命令...",
|
||||
"slashArgs": "输入参数...",
|
||||
"additionalInstruction": "命令的附加说明或上下文..."
|
||||
},
|
||||
"labels": {
|
||||
"label": "标签",
|
||||
@@ -171,7 +174,10 @@
|
||||
"outputName": "输出名称",
|
||||
"tool": "CLI 工具",
|
||||
"mode": "执行模式",
|
||||
"contextRefs": "上下文引用"
|
||||
"contextRefs": "上下文引用",
|
||||
"slashCommand": "斜杠命令",
|
||||
"slashArgs": "参数",
|
||||
"additionalInstruction": "附加说明 (可选)"
|
||||
},
|
||||
"options": {
|
||||
"toolNone": "无 (自动选择)",
|
||||
|
||||
Reference in New Issue
Block a user