@wzrhine/agent 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/LICENSE +21 -0
- package/README.md +29 -3
- package/dist/agent.css +15 -0
- package/dist/components/artifact/ArtifactCard.d.ts +56 -0
- package/dist/components/artifact/ArtifactCard.d.ts.map +1 -0
- package/dist/components/artifact/ArtifactCard.js +78 -0
- package/dist/components/artifact/ArtifactCard.js.map +1 -0
- package/dist/components/artifact/FilePreview.d.ts +117 -0
- package/dist/components/artifact/FilePreview.d.ts.map +1 -0
- package/dist/components/artifact/FilePreview.js +207 -0
- package/dist/components/artifact/FilePreview.js.map +1 -0
- package/dist/components/artifact/FilePreviewTabs.d.ts +51 -0
- package/dist/components/artifact/FilePreviewTabs.d.ts.map +1 -0
- package/dist/components/artifact/FilePreviewTabs.js +150 -0
- package/dist/components/artifact/FilePreviewTabs.js.map +1 -0
- package/dist/components/composer/AttachmentList.d.ts +33 -0
- package/dist/components/composer/AttachmentList.d.ts.map +1 -0
- package/dist/components/composer/AttachmentList.js +56 -0
- package/dist/components/composer/AttachmentList.js.map +1 -0
- package/dist/components/composer/Composer.d.ts +113 -0
- package/dist/components/composer/Composer.d.ts.map +1 -0
- package/dist/components/composer/Composer.js +327 -0
- package/dist/components/composer/Composer.js.map +1 -0
- package/dist/components/composer/ComposerInput.d.ts +101 -0
- package/dist/components/composer/ComposerInput.d.ts.map +1 -0
- package/dist/components/composer/ComposerInput.js +301 -0
- package/dist/components/composer/ComposerInput.js.map +1 -0
- package/dist/components/composer/ComposerNotice.d.ts +38 -0
- package/dist/components/composer/ComposerNotice.d.ts.map +1 -0
- package/dist/components/composer/ComposerNotice.js +16 -0
- package/dist/components/composer/ComposerNotice.js.map +1 -0
- package/dist/components/composer/MentionMenu.d.ts +37 -0
- package/dist/components/composer/MentionMenu.d.ts.map +1 -0
- package/dist/components/composer/MentionMenu.js +55 -0
- package/dist/components/composer/MentionMenu.js.map +1 -0
- package/dist/components/composer/MenuPanel.d.ts +49 -0
- package/dist/components/composer/MenuPanel.d.ts.map +1 -0
- package/dist/components/composer/MenuPanel.js +50 -0
- package/dist/components/composer/MenuPanel.js.map +1 -0
- package/dist/components/composer/ModelPicker.d.ts +40 -0
- package/dist/components/composer/ModelPicker.d.ts.map +1 -0
- package/dist/components/composer/ModelPicker.js +115 -0
- package/dist/components/composer/ModelPicker.js.map +1 -0
- package/dist/components/composer/PermissionPicker.d.ts +31 -0
- package/dist/components/composer/PermissionPicker.d.ts.map +1 -0
- package/dist/components/composer/PermissionPicker.js +43 -0
- package/dist/components/composer/PermissionPicker.js.map +1 -0
- package/dist/components/composer/SendStopButton.d.ts +71 -0
- package/dist/components/composer/SendStopButton.d.ts.map +1 -0
- package/dist/components/composer/SendStopButton.js +87 -0
- package/dist/components/composer/SendStopButton.js.map +1 -0
- package/dist/components/composer/SlashCommandMenu.d.ts +33 -0
- package/dist/components/composer/SlashCommandMenu.d.ts.map +1 -0
- package/dist/components/composer/SlashCommandMenu.js +43 -0
- package/dist/components/composer/SlashCommandMenu.js.map +1 -0
- package/dist/components/composer/composer-text.d.ts +10 -0
- package/dist/components/composer/composer-text.d.ts.map +1 -0
- package/dist/components/composer/composer-text.js +26 -0
- package/dist/components/composer/composer-text.js.map +1 -0
- package/dist/components/composer/composer-utils.d.ts +74 -0
- package/dist/components/composer/composer-utils.d.ts.map +1 -0
- package/dist/components/composer/composer-utils.js +133 -0
- package/dist/components/composer/composer-utils.js.map +1 -0
- package/dist/components/conversation/ConversationList.d.ts +88 -0
- package/dist/components/conversation/ConversationList.d.ts.map +1 -0
- package/dist/components/conversation/ConversationList.js +81 -0
- package/dist/components/conversation/ConversationList.js.map +1 -0
- package/dist/components/conversation/ConversationRow.d.ts +66 -0
- package/dist/components/conversation/ConversationRow.d.ts.map +1 -0
- package/dist/components/conversation/ConversationRow.js +65 -0
- package/dist/components/conversation/ConversationRow.js.map +1 -0
- package/dist/components/conversation/conversation-status.d.ts +21 -0
- package/dist/components/conversation/conversation-status.d.ts.map +1 -0
- package/dist/components/conversation/conversation-status.js +33 -0
- package/dist/components/conversation/conversation-status.js.map +1 -0
- package/dist/components/intervention/ApprovalDiff.d.ts +14 -0
- package/dist/components/intervention/ApprovalDiff.d.ts.map +1 -0
- package/dist/components/intervention/ApprovalDiff.js +25 -0
- package/dist/components/intervention/ApprovalDiff.js.map +1 -0
- package/dist/components/intervention/ApprovalPanel.d.ts +57 -0
- package/dist/components/intervention/ApprovalPanel.d.ts.map +1 -0
- package/dist/components/intervention/ApprovalPanel.js +111 -0
- package/dist/components/intervention/ApprovalPanel.js.map +1 -0
- package/dist/components/intervention/ErrorRecoveryNotice.d.ts +28 -0
- package/dist/components/intervention/ErrorRecoveryNotice.d.ts.map +1 -0
- package/dist/components/intervention/ErrorRecoveryNotice.js +30 -0
- package/dist/components/intervention/ErrorRecoveryNotice.js.map +1 -0
- package/dist/components/intervention/GrantList.d.ts +49 -0
- package/dist/components/intervention/GrantList.d.ts.map +1 -0
- package/dist/components/intervention/GrantList.js +58 -0
- package/dist/components/intervention/GrantList.js.map +1 -0
- package/dist/components/intervention/InterventionDock.d.ts +24 -0
- package/dist/components/intervention/InterventionDock.d.ts.map +1 -0
- package/dist/components/intervention/InterventionDock.js +18 -0
- package/dist/components/intervention/InterventionDock.js.map +1 -0
- package/dist/components/intervention/QuestionnaireCard.d.ts +60 -0
- package/dist/components/intervention/QuestionnaireCard.d.ts.map +1 -0
- package/dist/components/intervention/QuestionnaireCard.js +322 -0
- package/dist/components/intervention/QuestionnaireCard.js.map +1 -0
- package/dist/components/intervention/action-lock.d.ts +20 -0
- package/dist/components/intervention/action-lock.d.ts.map +1 -0
- package/dist/components/intervention/action-lock.js +65 -0
- package/dist/components/intervention/action-lock.js.map +1 -0
- package/dist/components/intervention/icons.d.ts +8 -0
- package/dist/components/intervention/icons.d.ts.map +1 -0
- package/dist/components/intervention/icons.js +11 -0
- package/dist/components/intervention/icons.js.map +1 -0
- package/dist/components/intervention/questionnaire-answers.d.ts +29 -0
- package/dist/components/intervention/questionnaire-answers.d.ts.map +1 -0
- package/dist/components/intervention/questionnaire-answers.js +81 -0
- package/dist/components/intervention/questionnaire-answers.js.map +1 -0
- package/dist/components/message/AgentMessage.d.ts +98 -0
- package/dist/components/message/AgentMessage.d.ts.map +1 -0
- package/dist/components/message/AgentMessage.js +94 -0
- package/dist/components/message/AgentMessage.js.map +1 -0
- package/dist/components/message/CitationChip.d.ts +34 -0
- package/dist/components/message/CitationChip.d.ts.map +1 -0
- package/dist/components/message/CitationChip.js +30 -0
- package/dist/components/message/CitationChip.js.map +1 -0
- package/dist/components/message/CodeBlock.d.ts +45 -0
- package/dist/components/message/CodeBlock.d.ts.map +1 -0
- package/dist/components/message/CodeBlock.js +21 -0
- package/dist/components/message/CodeBlock.js.map +1 -0
- package/dist/components/message/JumpToLatest.d.ts +27 -0
- package/dist/components/message/JumpToLatest.d.ts.map +1 -0
- package/dist/components/message/JumpToLatest.js +17 -0
- package/dist/components/message/JumpToLatest.js.map +1 -0
- package/dist/components/message/Markdown.d.ts +21 -0
- package/dist/components/message/Markdown.d.ts.map +1 -0
- package/dist/components/message/Markdown.js +21 -0
- package/dist/components/message/Markdown.js.map +1 -0
- package/dist/components/message/MessageActions.d.ts +63 -0
- package/dist/components/message/MessageActions.d.ts.map +1 -0
- package/dist/components/message/MessageActions.js +83 -0
- package/dist/components/message/MessageActions.js.map +1 -0
- package/dist/components/message/MessageList.d.ts +100 -0
- package/dist/components/message/MessageList.d.ts.map +1 -0
- package/dist/components/message/MessageList.js +266 -0
- package/dist/components/message/MessageList.js.map +1 -0
- package/dist/components/message/MessagePart.d.ts +44 -0
- package/dist/components/message/MessagePart.d.ts.map +1 -0
- package/dist/components/message/MessagePart.js +146 -0
- package/dist/components/message/MessagePart.js.map +1 -0
- package/dist/components/message/RunDetails.d.ts +26 -0
- package/dist/components/message/RunDetails.d.ts.map +1 -0
- package/dist/components/message/RunDetails.js +113 -0
- package/dist/components/message/RunDetails.js.map +1 -0
- package/dist/components/message/SkillUseList.d.ts +22 -0
- package/dist/components/message/SkillUseList.d.ts.map +1 -0
- package/dist/components/message/SkillUseList.js +20 -0
- package/dist/components/message/SkillUseList.js.map +1 -0
- package/dist/components/message/ThinkingBlock.d.ts +44 -0
- package/dist/components/message/ThinkingBlock.d.ts.map +1 -0
- package/dist/components/message/ThinkingBlock.js +34 -0
- package/dist/components/message/ThinkingBlock.js.map +1 -0
- package/dist/components/message/icons.d.ts +14 -0
- package/dist/components/message/icons.d.ts.map +1 -0
- package/dist/components/message/icons.js +16 -0
- package/dist/components/message/icons.js.map +1 -0
- package/dist/components/message/plain-text.d.ts +11 -0
- package/dist/components/message/plain-text.d.ts.map +1 -0
- package/dist/components/message/plain-text.js +58 -0
- package/dist/components/message/plain-text.js.map +1 -0
- package/dist/components/message/renderers.d.ts +30 -0
- package/dist/components/message/renderers.d.ts.map +1 -0
- package/dist/components/message/renderers.js +2 -0
- package/dist/components/message/renderers.js.map +1 -0
- package/dist/components/message/use-copy.d.ts +18 -0
- package/dist/components/message/use-copy.d.ts.map +1 -0
- package/dist/components/message/use-copy.js +65 -0
- package/dist/components/message/use-copy.js.map +1 -0
- package/dist/components/process/AgentProcess.d.ts +47 -0
- package/dist/components/process/AgentProcess.d.ts.map +1 -0
- package/dist/components/process/AgentProcess.js +78 -0
- package/dist/components/process/AgentProcess.js.map +1 -0
- package/dist/components/process/RunStatus.d.ts +60 -0
- package/dist/components/process/RunStatus.d.ts.map +1 -0
- package/dist/components/process/RunStatus.js +34 -0
- package/dist/components/process/RunStatus.js.map +1 -0
- package/dist/components/shell/AgentEmptyState.d.ts +35 -0
- package/dist/components/shell/AgentEmptyState.d.ts.map +1 -0
- package/dist/components/shell/AgentEmptyState.js +20 -0
- package/dist/components/shell/AgentEmptyState.js.map +1 -0
- package/dist/components/shell/AgentHeader.d.ts +84 -0
- package/dist/components/shell/AgentHeader.d.ts.map +1 -0
- package/dist/components/shell/AgentHeader.js +38 -0
- package/dist/components/shell/AgentHeader.js.map +1 -0
- package/dist/components/shell/AgentShell.d.ts +138 -0
- package/dist/components/shell/AgentShell.d.ts.map +1 -0
- package/dist/components/shell/AgentShell.js +206 -0
- package/dist/components/shell/AgentShell.js.map +1 -0
- package/dist/components/shell/AgentSidePane.d.ts +54 -0
- package/dist/components/shell/AgentSidePane.d.ts.map +1 -0
- package/dist/components/shell/AgentSidePane.js +26 -0
- package/dist/components/shell/AgentSidePane.js.map +1 -0
- package/dist/components/shell/ResizeHandle.d.ts +50 -0
- package/dist/components/shell/ResizeHandle.d.ts.map +1 -0
- package/dist/components/shell/ResizeHandle.js +84 -0
- package/dist/components/shell/ResizeHandle.js.map +1 -0
- package/dist/components/shell/use-controllable.d.ts +9 -0
- package/dist/components/shell/use-controllable.d.ts.map +1 -0
- package/dist/components/shell/use-controllable.js +26 -0
- package/dist/components/shell/use-controllable.js.map +1 -0
- package/dist/components/tools/ChunkPager.d.ts +48 -0
- package/dist/components/tools/ChunkPager.d.ts.map +1 -0
- package/dist/components/tools/ChunkPager.js +68 -0
- package/dist/components/tools/ChunkPager.js.map +1 -0
- package/dist/components/tools/CodeModeToolTree.d.ts +64 -0
- package/dist/components/tools/CodeModeToolTree.d.ts.map +1 -0
- package/dist/components/tools/CodeModeToolTree.js +97 -0
- package/dist/components/tools/CodeModeToolTree.js.map +1 -0
- package/dist/components/tools/DiffPreview.d.ts +83 -0
- package/dist/components/tools/DiffPreview.d.ts.map +1 -0
- package/dist/components/tools/DiffPreview.js +95 -0
- package/dist/components/tools/DiffPreview.js.map +1 -0
- package/dist/components/tools/ToolActivity.d.ts +63 -0
- package/dist/components/tools/ToolActivity.d.ts.map +1 -0
- package/dist/components/tools/ToolActivity.js +45 -0
- package/dist/components/tools/ToolActivity.js.map +1 -0
- package/dist/components/tools/ToolDetails.d.ts +106 -0
- package/dist/components/tools/ToolDetails.d.ts.map +1 -0
- package/dist/components/tools/ToolDetails.js +247 -0
- package/dist/components/tools/ToolDetails.js.map +1 -0
- package/dist/components/tools/ToolHistory.d.ts +48 -0
- package/dist/components/tools/ToolHistory.d.ts.map +1 -0
- package/dist/components/tools/ToolHistory.js +37 -0
- package/dist/components/tools/ToolHistory.js.map +1 -0
- package/dist/components/tools/ToolOutput.d.ts +61 -0
- package/dist/components/tools/ToolOutput.d.ts.map +1 -0
- package/dist/components/tools/ToolOutput.js +45 -0
- package/dist/components/tools/ToolOutput.js.map +1 -0
- package/dist/components/tools/ToolRecord.d.ts +54 -0
- package/dist/components/tools/ToolRecord.d.ts.map +1 -0
- package/dist/components/tools/ToolRecord.js +78 -0
- package/dist/components/tools/ToolRecord.js.map +1 -0
- package/dist/components/tools/shared.d.ts +93 -0
- package/dist/components/tools/shared.d.ts.map +1 -0
- package/dist/components/tools/shared.js +160 -0
- package/dist/components/tools/shared.js.map +1 -0
- package/dist/components/workspace/ActivityLedger.d.ts +44 -0
- package/dist/components/workspace/ActivityLedger.d.ts.map +1 -0
- package/dist/components/workspace/ActivityLedger.js +63 -0
- package/dist/components/workspace/ActivityLedger.js.map +1 -0
- package/dist/components/workspace/CompactionNotice.d.ts +63 -0
- package/dist/components/workspace/CompactionNotice.d.ts.map +1 -0
- package/dist/components/workspace/CompactionNotice.js +36 -0
- package/dist/components/workspace/CompactionNotice.js.map +1 -0
- package/dist/components/workspace/ContextUsage.d.ts +44 -0
- package/dist/components/workspace/ContextUsage.d.ts.map +1 -0
- package/dist/components/workspace/ContextUsage.js +106 -0
- package/dist/components/workspace/ContextUsage.js.map +1 -0
- package/dist/components/workspace/PersistentTerminal.d.ts +86 -0
- package/dist/components/workspace/PersistentTerminal.d.ts.map +1 -0
- package/dist/components/workspace/PersistentTerminal.js +155 -0
- package/dist/components/workspace/PersistentTerminal.js.map +1 -0
- package/dist/components/workspace/PinnedSummary.d.ts +43 -0
- package/dist/components/workspace/PinnedSummary.d.ts.map +1 -0
- package/dist/components/workspace/PinnedSummary.js +33 -0
- package/dist/components/workspace/PinnedSummary.js.map +1 -0
- package/dist/components/workspace/RunSummary.d.ts +35 -0
- package/dist/components/workspace/RunSummary.d.ts.map +1 -0
- package/dist/components/workspace/RunSummary.js +46 -0
- package/dist/components/workspace/RunSummary.js.map +1 -0
- package/dist/components/workspace/SubAgentCard.d.ts +60 -0
- package/dist/components/workspace/SubAgentCard.d.ts.map +1 -0
- package/dist/components/workspace/SubAgentCard.js +73 -0
- package/dist/components/workspace/SubAgentCard.js.map +1 -0
- package/dist/components/workspace/TerminalRow.d.ts +51 -0
- package/dist/components/workspace/TerminalRow.d.ts.map +1 -0
- package/dist/components/workspace/TerminalRow.js +62 -0
- package/dist/components/workspace/TerminalRow.js.map +1 -0
- package/dist/components/workspace/shared.d.ts +22 -0
- package/dist/components/workspace/shared.d.ts.map +1 -0
- package/dist/components/workspace/shared.js +36 -0
- package/dist/components/workspace/shared.js.map +1 -0
- package/dist/index.d.ts +130 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +76 -0
- package/dist/index.js.map +1 -0
- package/dist/motion/agent-motion.d.ts +62 -0
- package/dist/motion/agent-motion.d.ts.map +1 -0
- package/dist/motion/agent-motion.js +61 -0
- package/dist/motion/agent-motion.js.map +1 -0
- package/dist/primitives/AgentSpark.d.ts +17 -0
- package/dist/primitives/AgentSpark.d.ts.map +1 -0
- package/dist/primitives/AgentSpark.js +11 -0
- package/dist/primitives/AgentSpark.js.map +1 -0
- package/dist/primitives/AgentStatus.d.ts +32 -0
- package/dist/primitives/AgentStatus.d.ts.map +1 -0
- package/dist/primitives/AgentStatus.js +13 -0
- package/dist/primitives/AgentStatus.js.map +1 -0
- package/dist/primitives/StatusGlyph.d.ts +10 -0
- package/dist/primitives/StatusGlyph.d.ts.map +1 -0
- package/dist/primitives/StatusGlyph.js +31 -0
- package/dist/primitives/StatusGlyph.js.map +1 -0
- package/dist/primitives/icons.d.ts +7 -0
- package/dist/primitives/icons.d.ts.map +1 -0
- package/dist/primitives/icons.js +55 -0
- package/dist/primitives/icons.js.map +1 -0
- package/dist/provider/AgentMessages.d.ts +51 -0
- package/dist/provider/AgentMessages.d.ts.map +1 -0
- package/dist/provider/AgentMessages.js +77 -0
- package/dist/provider/AgentMessages.js.map +1 -0
- package/dist/provider/messages/composer.d.ts +90 -0
- package/dist/provider/messages/composer.d.ts.map +1 -0
- package/dist/provider/messages/composer.js +155 -0
- package/dist/provider/messages/composer.js.map +1 -0
- package/dist/provider/messages/intervention.d.ts +135 -0
- package/dist/provider/messages/intervention.d.ts.map +1 -0
- package/dist/provider/messages/intervention.js +321 -0
- package/dist/provider/messages/intervention.js.map +1 -0
- package/dist/provider/messages/message.d.ts +118 -0
- package/dist/provider/messages/message.d.ts.map +1 -0
- package/dist/provider/messages/message.js +224 -0
- package/dist/provider/messages/message.js.map +1 -0
- package/dist/provider/messages/shell.d.ts +70 -0
- package/dist/provider/messages/shell.d.ts.map +1 -0
- package/dist/provider/messages/shell.js +109 -0
- package/dist/provider/messages/shell.js.map +1 -0
- package/dist/provider/messages/status.d.ts +20 -0
- package/dist/provider/messages/status.d.ts.map +1 -0
- package/dist/provider/messages/status.js +195 -0
- package/dist/provider/messages/status.js.map +1 -0
- package/dist/provider/messages/tools.d.ts +210 -0
- package/dist/provider/messages/tools.d.ts.map +1 -0
- package/dist/provider/messages/tools.js +482 -0
- package/dist/provider/messages/tools.js.map +1 -0
- package/dist/provider/messages/workspace.d.ts +176 -0
- package/dist/provider/messages/workspace.d.ts.map +1 -0
- package/dist/provider/messages/workspace.js +325 -0
- package/dist/provider/messages/workspace.js.map +1 -0
- package/dist/styles/artifact.css +564 -0
- package/dist/styles/base.css +220 -0
- package/dist/styles/composer.css +1001 -0
- package/dist/styles/conversation.css +275 -0
- package/dist/styles/intervention.css +929 -0
- package/dist/styles/message.css +917 -0
- package/dist/styles/process.css +207 -0
- package/dist/styles/shell.css +441 -0
- package/dist/styles/tools.css +929 -0
- package/dist/styles/workspace.css +1294 -0
- package/dist/utils/cx.d.ts +3 -0
- package/dist/utils/cx.d.ts.map +1 -0
- package/dist/utils/cx.js +5 -0
- package/dist/utils/cx.js.map +1 -0
- package/package.json +64 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"composer.js","sourceRoot":"","sources":["../../../src/provider/messages/composer.ts"],"names":[],"mappings":"AAiGA,MAAM,CAAC,MAAM,UAAU,GAA0B;IAC/C,UAAU,EAAE,MAAM;IAClB,WAAW,EAAE,qBAAqB;IAClC,SAAS,EAAE,gDAAgD;IAC3D,iBAAiB,EAAE,+CAA+C;IAClE,kBAAkB,EAAE,WAAW;IAC/B,YAAY,EAAE,UAAU;IACxB,WAAW,EAAE,uCAAuC;IACpD,cAAc,EAAE,SAAS;IACzB,YAAY,EAAE,SAAS;IACvB,YAAY,EAAE,QAAQ;IACtB,YAAY,EAAE,MAAM;IACpB,YAAY,EAAE,oBAAoB;IAClC,YAAY,EAAE,OAAO;IACrB,WAAW,EAAE,2BAA2B;IACxC,cAAc,EAAE,SAAS;IACzB,YAAY,EAAE,YAAY;IAC1B,YAAY,EAAE,IAAI;IAClB,UAAU,EAAE,IAAI;IAChB,aAAa,EAAE,KAAK;IACpB,iBAAiB,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;IACjE,gBAAgB,EAAE,WAAW;IAC7B,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,IAAI,EAAE;IAC9B,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,QAAQ,IAAI,EAAE;IACrC,SAAS,EAAE,MAAM;IACjB,aAAa,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,QAAQ,IAAI,EAAE;IACvC,YAAY,EAAE,MAAM;IACpB,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,KAAK;IAClB,gBAAgB,EAAE,QAAQ;IAC1B,eAAe,EAAE,QAAQ;IACzB,QAAQ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EAAE;IACjF,UAAU,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE;IACvH,sBAAsB,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,oBAAoB,KAAK,EAAE;IAC9D,cAAc,EAAE,iBAAiB;IACjC,kBAAkB,EAAE,oBAAoB;IACxC,sBAAsB,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,KAAK,IAAI;IACxD,4BAA4B,EAAE,mIAAmI;IACjK,iBAAiB,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,WAAW,KAAK,EAAE;IAChD,UAAU,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE;CACvF,CAAC"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import type { ApprovalRisk, ApprovalStatus, DraftStatus, FileDiffView, QuestionnaireStatus, RecoveryView } from '@wzrhine/agent-core';
|
|
2
|
+
/**
|
|
3
|
+
* Copy for the intervention family (ADR-0011 §6, §10): ApprovalPanel, QuestionnaireCard,
|
|
4
|
+
* ErrorRecoveryNotice, InterventionDock, GrantList. Keys are flat (prefix = component) so a partial
|
|
5
|
+
* override through `AgentMessagesProvider` replaces single strings, not whole groups.
|
|
6
|
+
*/
|
|
7
|
+
export interface AgentInterventionMessages {
|
|
8
|
+
/** Eyebrow above the title: operation id in mono. */
|
|
9
|
+
approvalOperation: (operationId: string) => string;
|
|
10
|
+
approvalStatus: Record<ApprovalStatus, string>;
|
|
11
|
+
approvalRisk: Record<ApprovalRisk, string>;
|
|
12
|
+
approvalSubject: string;
|
|
13
|
+
approvalScope: string;
|
|
14
|
+
approvalExpires: string;
|
|
15
|
+
approvalIrreversibleTitle: string;
|
|
16
|
+
approvalUnsandboxedTitle: string;
|
|
17
|
+
approvalUnsandboxed: string;
|
|
18
|
+
approvalEvidence: string;
|
|
19
|
+
approvalEvidenceToggle: (count: number) => string;
|
|
20
|
+
approvalMaterialLoading: string;
|
|
21
|
+
approvalUnavailable: string;
|
|
22
|
+
approvalUnavailableHint: string;
|
|
23
|
+
approvalRetryMaterial: string;
|
|
24
|
+
approvalRejectNote: string;
|
|
25
|
+
approvalReject: string;
|
|
26
|
+
approvalAllowOnce: string;
|
|
27
|
+
approvalAllowSession: string;
|
|
28
|
+
/** Default reason when `availability.allowed` is false without a reason. */
|
|
29
|
+
approvalNotAllowed: string;
|
|
30
|
+
/** Why "allow" is off in states other than waiting. */
|
|
31
|
+
approvalAllowBlocked: Partial<Record<ApprovalStatus, string>>;
|
|
32
|
+
approvalSubmitting: string;
|
|
33
|
+
approvalUnknownTitle: string;
|
|
34
|
+
approvalUnknownBody: string;
|
|
35
|
+
approvalUnknownNotRetryable: string;
|
|
36
|
+
approvalRetrySubmit: string;
|
|
37
|
+
approvalApproved: string;
|
|
38
|
+
approvalApprovedSession: string;
|
|
39
|
+
approvalRejected: string;
|
|
40
|
+
approvalExpiredTitle: string;
|
|
41
|
+
approvalExpiredBody: string;
|
|
42
|
+
approvalRefresh: string;
|
|
43
|
+
approvalReceiptAt: (time: string) => string;
|
|
44
|
+
diffLabel: (path: string) => string;
|
|
45
|
+
diffChange: Record<FileDiffView['change'], string>;
|
|
46
|
+
diffStats: (additions: number, deletions: number) => string;
|
|
47
|
+
diffAdded: string;
|
|
48
|
+
diffRemoved: string;
|
|
49
|
+
diffTruncated: string;
|
|
50
|
+
diffBinary: string;
|
|
51
|
+
diffEmpty: string;
|
|
52
|
+
questionTitle: string;
|
|
53
|
+
questionFormLabel: string;
|
|
54
|
+
questionProgress: (answered: number, total: number) => string;
|
|
55
|
+
questionPager: string;
|
|
56
|
+
questionNext: string;
|
|
57
|
+
questionPagePrev: string;
|
|
58
|
+
questionPageNext: string;
|
|
59
|
+
questionDot: (index: number, state: 'answered' | 'skipped' | 'unanswered') => string;
|
|
60
|
+
questionPageNo: (page: number, total: number) => string;
|
|
61
|
+
questionOther: string;
|
|
62
|
+
questionOtherDescription: string;
|
|
63
|
+
questionOtherInput: (title: string) => string;
|
|
64
|
+
questionPlaceholder: string;
|
|
65
|
+
questionRequired: string;
|
|
66
|
+
questionCount: (current: number, max: number) => string;
|
|
67
|
+
questionOverLimit: (title: string) => string;
|
|
68
|
+
questionSkip: string;
|
|
69
|
+
questionUndoSkip: string;
|
|
70
|
+
questionSkipped: string;
|
|
71
|
+
questionSubmit: string;
|
|
72
|
+
questionRetrySubmit: string;
|
|
73
|
+
questionConfirm: (unanswered: number) => string;
|
|
74
|
+
questionRequiredMissing: (count: number) => string;
|
|
75
|
+
questionBack: string;
|
|
76
|
+
questionSkipAndSubmit: string;
|
|
77
|
+
questionHintChoice: (last: boolean) => string;
|
|
78
|
+
questionHintText: string;
|
|
79
|
+
questionDraft: Record<DraftStatus, string>;
|
|
80
|
+
questionRetrySave: string;
|
|
81
|
+
questionSubmitting: string;
|
|
82
|
+
questionUnknownTitle: string;
|
|
83
|
+
questionUnknownBody: string;
|
|
84
|
+
questionRejected: string;
|
|
85
|
+
questionStatus: Record<QuestionnaireStatus, string>;
|
|
86
|
+
questionSummaryTitle: Record<'completed' | 'expired' | 'interrupted', string>;
|
|
87
|
+
questionSummarySkipped: string;
|
|
88
|
+
questionSummaryUnanswered: string;
|
|
89
|
+
questionSummaryUnansweredInterrupted: string;
|
|
90
|
+
questionCopy: string;
|
|
91
|
+
/** Separator between chosen option labels in the summary. */
|
|
92
|
+
questionJoin: string;
|
|
93
|
+
questionNeverGrants: string;
|
|
94
|
+
/** Ended questionnaire with a draft that never reached the host. */
|
|
95
|
+
questionEndedDraft: string;
|
|
96
|
+
questionDiscardDraft: string;
|
|
97
|
+
questionDiscardTitle: string;
|
|
98
|
+
questionDiscardDescription: string;
|
|
99
|
+
questionDiscardConfirm: string;
|
|
100
|
+
questionDiscardError: string;
|
|
101
|
+
grantTitle: string;
|
|
102
|
+
grantCount: (count: number) => string;
|
|
103
|
+
/** Spoken prefix before the scope label. */
|
|
104
|
+
grantScope: string;
|
|
105
|
+
grantUnavailable: string;
|
|
106
|
+
grantUnavailableReason: string;
|
|
107
|
+
grantReselect: string;
|
|
108
|
+
grantReselectLabel: (target: string) => string;
|
|
109
|
+
grantRevoke: string;
|
|
110
|
+
grantRevokeLabel: (target: string) => string;
|
|
111
|
+
grantRetryRevoke: string;
|
|
112
|
+
grantRetryRevokeLabel: (target: string) => string;
|
|
113
|
+
grantUnknownTitle: string;
|
|
114
|
+
grantUnknownBody: string;
|
|
115
|
+
grantUnknownNotRetryable: string;
|
|
116
|
+
grantRejected: string;
|
|
117
|
+
grantRevoked: string;
|
|
118
|
+
grantRevokingSr: (target: string) => string;
|
|
119
|
+
grantUnknownSr: (target: string) => string;
|
|
120
|
+
grantLoading: string;
|
|
121
|
+
grantError: string;
|
|
122
|
+
grantRetry: string;
|
|
123
|
+
grantEmpty: string;
|
|
124
|
+
recoveryKind: Record<RecoveryView['kind'], string>;
|
|
125
|
+
/** Fixed consequence sentence per kind; empty string = none. */
|
|
126
|
+
recoveryNote: Record<RecoveryView['kind'], string>;
|
|
127
|
+
recoveryPreserved: string;
|
|
128
|
+
recoveryCode: string;
|
|
129
|
+
recoveryDismiss: string;
|
|
130
|
+
dockLabel: string;
|
|
131
|
+
dockMore: (count: number) => string;
|
|
132
|
+
}
|
|
133
|
+
export declare const zhIntervention: AgentInterventionMessages;
|
|
134
|
+
export declare const enIntervention: AgentInterventionMessages;
|
|
135
|
+
//# sourceMappingURL=intervention.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intervention.d.ts","sourceRoot":"","sources":["../../../src/provider/messages/intervention.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,YAAY,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AA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,MAAM,CAAC;IAGxB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CACrC;AAED,eAAO,MAAM,cAAc,EAAE,yBAoK5B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,yBAoK5B,CAAC"}
|
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
export const zhIntervention = {
|
|
2
|
+
approvalOperation: (id) => `OPERATION / #${id}`,
|
|
3
|
+
approvalStatus: {
|
|
4
|
+
waiting: '等待批准',
|
|
5
|
+
'material-loading': '正在读取材料',
|
|
6
|
+
unavailable: '材料不可用',
|
|
7
|
+
submitting: '提交中',
|
|
8
|
+
unknown: '结果待确认',
|
|
9
|
+
approved: '已允许',
|
|
10
|
+
rejected: '已拒绝',
|
|
11
|
+
expired: '已过期',
|
|
12
|
+
},
|
|
13
|
+
approvalRisk: { low: '低风险', medium: '中风险', high: '高风险' },
|
|
14
|
+
approvalSubject: '操作对象',
|
|
15
|
+
approvalScope: '影响范围',
|
|
16
|
+
approvalExpires: '有效期至',
|
|
17
|
+
approvalIrreversibleTitle: '不可撤销',
|
|
18
|
+
approvalUnsandboxedTitle: '不在沙箱中运行',
|
|
19
|
+
approvalUnsandboxed: '此操作可能访问工作区外的文件、网络和系统资源,权限等同于当前系统用户。',
|
|
20
|
+
approvalEvidence: '审批依据',
|
|
21
|
+
approvalEvidenceToggle: (n) => `查看审批依据(${n} 项)`,
|
|
22
|
+
approvalMaterialLoading: '正在读取完整审批内容…',
|
|
23
|
+
approvalUnavailable: '完整审批内容暂不可用',
|
|
24
|
+
approvalUnavailableHint: '仍可拒绝;允许需要完整、已核验的材料。',
|
|
25
|
+
approvalRetryMaterial: '重新读取审批内容',
|
|
26
|
+
approvalRejectNote: '拒绝会作为真实工具错误交回模型。',
|
|
27
|
+
approvalReject: '拒绝',
|
|
28
|
+
approvalAllowOnce: '允许一次',
|
|
29
|
+
approvalAllowSession: '本次会话信任此任务',
|
|
30
|
+
approvalNotAllowed: '审批材料尚未核验,暂不能允许。',
|
|
31
|
+
approvalAllowBlocked: {
|
|
32
|
+
'material-loading': '完整审批内容读取完成后才能允许。',
|
|
33
|
+
unavailable: '完整审批内容不可用,不能允许。',
|
|
34
|
+
submitting: '正在提交决定。',
|
|
35
|
+
unknown: '上一次决定的结果待确认,不能发起新的允许。',
|
|
36
|
+
},
|
|
37
|
+
approvalSubmitting: '正在提交决定…',
|
|
38
|
+
approvalUnknownTitle: '结果待确认',
|
|
39
|
+
approvalUnknownBody: '决定可能已送达,也可能没有。重试会使用同一动作编号,不会重复执行。',
|
|
40
|
+
approvalUnknownNotRetryable: '决定可能已送达。重试不安全,请等待状态同步。',
|
|
41
|
+
approvalRetrySubmit: '重试提交',
|
|
42
|
+
approvalApproved: '已允许此操作',
|
|
43
|
+
approvalApprovedSession: '已允许,本次会话信任此任务',
|
|
44
|
+
approvalRejected: '已拒绝,结果已作为工具错误交回模型',
|
|
45
|
+
approvalExpiredTitle: '授权已过期',
|
|
46
|
+
approvalExpiredBody: '此请求已失效,不能再批准。如仍需执行,需要 Agent 重新发起。',
|
|
47
|
+
approvalRefresh: '刷新审批状态',
|
|
48
|
+
approvalReceiptAt: (time) => `记录于 ${time}`,
|
|
49
|
+
diffLabel: (path) => `${path} 的变更`,
|
|
50
|
+
diffChange: { add: '新建', delete: '删除', update: '修改', move: '移动' },
|
|
51
|
+
diffStats: (a, d) => `+${a} −${d}`,
|
|
52
|
+
diffAdded: '新增',
|
|
53
|
+
diffRemoved: '删除',
|
|
54
|
+
diffTruncated: '部分行未显示',
|
|
55
|
+
diffBinary: '二进制文件,无法预览内容',
|
|
56
|
+
diffEmpty: '没有可显示的行',
|
|
57
|
+
questionTitle: '需要你的回答',
|
|
58
|
+
questionFormLabel: '回答问题',
|
|
59
|
+
questionProgress: (a, n) => `已答 ${a} / ${n}`,
|
|
60
|
+
questionPager: '问题分页',
|
|
61
|
+
questionNext: '下一题',
|
|
62
|
+
questionPagePrev: '上一页',
|
|
63
|
+
questionPageNext: '下一页',
|
|
64
|
+
questionDot: (i, s) => `第 ${i} 题,${s === 'answered' ? '已回答' : s === 'skipped' ? '已跳过' : '未回答'}`,
|
|
65
|
+
questionPageNo: (p, n) => `${p} / ${n}`,
|
|
66
|
+
questionOther: '其他',
|
|
67
|
+
questionOtherDescription: '自己填写回答',
|
|
68
|
+
questionOtherInput: (title) => `${title}:其他回答`,
|
|
69
|
+
questionPlaceholder: '输入你的回答',
|
|
70
|
+
questionRequired: '必答',
|
|
71
|
+
questionCount: (c, m) => `已输入 ${c} / ${m}`,
|
|
72
|
+
questionOverLimit: (title) => `「${title}」超出字数上限`,
|
|
73
|
+
questionSkip: '跳过本题',
|
|
74
|
+
questionUndoSkip: '撤销跳过',
|
|
75
|
+
questionSkipped: '已跳过此题',
|
|
76
|
+
questionSubmit: '提交回答',
|
|
77
|
+
questionRetrySubmit: '重试提交相同答案',
|
|
78
|
+
questionConfirm: (n) => `还有 ${n} 题未回答,将按跳过提交。`,
|
|
79
|
+
questionRequiredMissing: (n) => `还有 ${n} 道必答题未回答。`,
|
|
80
|
+
questionBack: '返回填写',
|
|
81
|
+
questionSkipAndSubmit: '跳过并提交',
|
|
82
|
+
questionHintChoice: (last) => `数字键选择 · Enter ${last ? '提交' : '下一题'}`,
|
|
83
|
+
questionHintText: 'Ctrl + Enter 提交',
|
|
84
|
+
questionDraft: { clean: '', dirty: '有未保存的修改', saving: '正在保存草稿…', saved: '草稿已保存', error: '草稿保存失败' },
|
|
85
|
+
questionRetrySave: '重试保存草稿',
|
|
86
|
+
questionSubmitting: '正在提交回答…',
|
|
87
|
+
questionUnknownTitle: '提交结果待确认',
|
|
88
|
+
questionUnknownBody: '回答可能已送达。重试会提交相同的答案与版本,不会重复记录。',
|
|
89
|
+
questionRejected: '回答未被接受',
|
|
90
|
+
questionStatus: {
|
|
91
|
+
waiting: '等待回答',
|
|
92
|
+
drafting: '填写中',
|
|
93
|
+
saving: '保存中',
|
|
94
|
+
'submit-pending': '提交中',
|
|
95
|
+
unknown: '结果待确认',
|
|
96
|
+
completed: '已提交',
|
|
97
|
+
expired: '已过期',
|
|
98
|
+
interrupted: '已中断',
|
|
99
|
+
},
|
|
100
|
+
questionSummaryTitle: { completed: '已提交回答', expired: '问卷已过期', interrupted: '运行已中断,问卷未提交' },
|
|
101
|
+
questionSummarySkipped: '已跳过',
|
|
102
|
+
questionSummaryUnanswered: '未回答',
|
|
103
|
+
questionSummaryUnansweredInterrupted: '未回答(已中断)',
|
|
104
|
+
questionCopy: '复制回答',
|
|
105
|
+
questionJoin: '、',
|
|
106
|
+
questionNeverGrants: '问卷只收集信息,不授予任何工具权限。',
|
|
107
|
+
questionEndedDraft: '问卷已结束,仍有未保存的填写。',
|
|
108
|
+
questionDiscardDraft: '放弃未保存填写',
|
|
109
|
+
questionDiscardTitle: '放弃未保存的填写?',
|
|
110
|
+
questionDiscardDescription: '问卷已结束,这些填写不会再提交。放弃后无法恢复。',
|
|
111
|
+
questionDiscardConfirm: '放弃填写',
|
|
112
|
+
questionDiscardError: '未能放弃填写,请重试。',
|
|
113
|
+
grantTitle: '会话授权',
|
|
114
|
+
grantCount: (n) => `${n} 项`,
|
|
115
|
+
grantScope: '范围:',
|
|
116
|
+
grantUnavailable: '不可用:',
|
|
117
|
+
grantUnavailableReason: '目标已不可访问',
|
|
118
|
+
grantReselect: '重新选择',
|
|
119
|
+
grantReselectLabel: (t) => `重新选择 ${t}`,
|
|
120
|
+
grantRevoke: '撤销',
|
|
121
|
+
grantRevokeLabel: (t) => `撤销 ${t}`,
|
|
122
|
+
grantRetryRevoke: '重试撤销',
|
|
123
|
+
grantRetryRevokeLabel: (t) => `重试撤销 ${t}`,
|
|
124
|
+
grantUnknownTitle: '结果待确认',
|
|
125
|
+
grantUnknownBody: '撤销可能已生效,也可能没有。重试会使用同一动作编号。',
|
|
126
|
+
grantUnknownNotRetryable: '撤销可能已生效。重试不安全,请等待状态同步。',
|
|
127
|
+
grantRejected: '撤销未被接受',
|
|
128
|
+
grantRevoked: '已撤销',
|
|
129
|
+
grantRevokingSr: (t) => `正在撤销 ${t}…`,
|
|
130
|
+
grantUnknownSr: (t) => `撤销 ${t} 的结果待确认`,
|
|
131
|
+
grantLoading: '正在读取授权…',
|
|
132
|
+
grantError: '授权列表读取失败',
|
|
133
|
+
grantRetry: '重新读取',
|
|
134
|
+
grantEmpty: '尚无授权。批准任务时可以选择在本次会话中信任。',
|
|
135
|
+
recoveryKind: {
|
|
136
|
+
retryable: '可重试',
|
|
137
|
+
'save-pending': '保存未完成',
|
|
138
|
+
'cancel-unconfirmed': '停止未确认',
|
|
139
|
+
'tool-side-effects': '可能已有副作用',
|
|
140
|
+
timeout: '已超时',
|
|
141
|
+
offline: '已离线',
|
|
142
|
+
unknown: '状态未知',
|
|
143
|
+
resolved: '已恢复',
|
|
144
|
+
},
|
|
145
|
+
recoveryNote: {
|
|
146
|
+
retryable: '',
|
|
147
|
+
'save-pending': '重试保存不会再次调用模型。',
|
|
148
|
+
'cancel-unconfirmed': '停止尚未确认,工具可能仍在运行。',
|
|
149
|
+
'tool-side-effects': '工具可能已产生外部影响,不会自动重放。',
|
|
150
|
+
timeout: '',
|
|
151
|
+
offline: '',
|
|
152
|
+
unknown: '结果尚未确认,请先核对状态。',
|
|
153
|
+
resolved: '',
|
|
154
|
+
},
|
|
155
|
+
recoveryPreserved: '已保留:',
|
|
156
|
+
recoveryCode: '错误代码',
|
|
157
|
+
recoveryDismiss: '关闭提示',
|
|
158
|
+
dockLabel: '待处理的干预',
|
|
159
|
+
dockMore: (n) => `还有 ${n} 个待处理`,
|
|
160
|
+
};
|
|
161
|
+
export const enIntervention = {
|
|
162
|
+
approvalOperation: (id) => `OPERATION / #${id}`,
|
|
163
|
+
approvalStatus: {
|
|
164
|
+
waiting: 'Awaiting approval',
|
|
165
|
+
'material-loading': 'Loading material',
|
|
166
|
+
unavailable: 'Material unavailable',
|
|
167
|
+
submitting: 'Submitting',
|
|
168
|
+
unknown: 'Result unconfirmed',
|
|
169
|
+
approved: 'Allowed',
|
|
170
|
+
rejected: 'Rejected',
|
|
171
|
+
expired: 'Expired',
|
|
172
|
+
},
|
|
173
|
+
approvalRisk: { low: 'Low risk', medium: 'Medium risk', high: 'High risk' },
|
|
174
|
+
approvalSubject: 'Target',
|
|
175
|
+
approvalScope: 'Scope',
|
|
176
|
+
approvalExpires: 'Valid until',
|
|
177
|
+
approvalIrreversibleTitle: 'Irreversible',
|
|
178
|
+
approvalUnsandboxedTitle: 'Not sandboxed',
|
|
179
|
+
approvalUnsandboxed: 'This operation may reach files outside the workspace, the network and system resources with your user permissions.',
|
|
180
|
+
approvalEvidence: 'Evidence',
|
|
181
|
+
approvalEvidenceToggle: (n) => `Show evidence (${n})`,
|
|
182
|
+
approvalMaterialLoading: 'Loading the full approval material…',
|
|
183
|
+
approvalUnavailable: 'The full approval material is unavailable',
|
|
184
|
+
approvalUnavailableHint: 'You can still reject; allowing needs complete, verified material.',
|
|
185
|
+
approvalRetryMaterial: 'Reload approval material',
|
|
186
|
+
approvalRejectNote: 'Rejecting returns a real tool error to the model.',
|
|
187
|
+
approvalReject: 'Reject',
|
|
188
|
+
approvalAllowOnce: 'Allow once',
|
|
189
|
+
approvalAllowSession: 'Trust this task for the session',
|
|
190
|
+
approvalNotAllowed: 'The material has not been verified yet.',
|
|
191
|
+
approvalAllowBlocked: {
|
|
192
|
+
'material-loading': 'You can allow once the full material has loaded.',
|
|
193
|
+
unavailable: 'The full material is unavailable, so it cannot be allowed.',
|
|
194
|
+
submitting: 'Submitting your decision.',
|
|
195
|
+
unknown: 'The previous decision is unconfirmed; no new approval can be sent.',
|
|
196
|
+
},
|
|
197
|
+
approvalSubmitting: 'Submitting decision…',
|
|
198
|
+
approvalUnknownTitle: 'Result unconfirmed',
|
|
199
|
+
approvalUnknownBody: 'The decision may or may not have arrived. Retrying reuses the same action id and will not run twice.',
|
|
200
|
+
approvalUnknownNotRetryable: 'The decision may have arrived. Retrying is not safe; wait for the state to sync.',
|
|
201
|
+
approvalRetrySubmit: 'Retry submit',
|
|
202
|
+
approvalApproved: 'Operation allowed',
|
|
203
|
+
approvalApprovedSession: 'Allowed and trusted for this session',
|
|
204
|
+
approvalRejected: 'Rejected; returned to the model as a tool error',
|
|
205
|
+
approvalExpiredTitle: 'Approval expired',
|
|
206
|
+
approvalExpiredBody: 'This request is no longer valid. The agent has to ask again.',
|
|
207
|
+
approvalRefresh: 'Refresh approval state',
|
|
208
|
+
approvalReceiptAt: (time) => `Recorded ${time}`,
|
|
209
|
+
diffLabel: (path) => `Changes to ${path}`,
|
|
210
|
+
diffChange: { add: 'New', delete: 'Delete', update: 'Edit', move: 'Move' },
|
|
211
|
+
diffStats: (a, d) => `+${a} −${d}`,
|
|
212
|
+
diffAdded: 'Added',
|
|
213
|
+
diffRemoved: 'Removed',
|
|
214
|
+
diffTruncated: 'Some lines are not shown',
|
|
215
|
+
diffBinary: 'Binary file; no preview',
|
|
216
|
+
diffEmpty: 'No lines to show',
|
|
217
|
+
questionTitle: 'Your answer is needed',
|
|
218
|
+
questionFormLabel: 'Answer questions',
|
|
219
|
+
questionProgress: (a, n) => `${a} / ${n} answered`,
|
|
220
|
+
questionPager: 'Question pages',
|
|
221
|
+
questionNext: 'Next question',
|
|
222
|
+
questionPagePrev: 'Previous page',
|
|
223
|
+
questionPageNext: 'Next page',
|
|
224
|
+
questionDot: (i, s) => `Question ${i}, ${s}`,
|
|
225
|
+
questionPageNo: (p, n) => `${p} / ${n}`,
|
|
226
|
+
questionOther: 'Other',
|
|
227
|
+
questionOtherDescription: 'Write your own answer',
|
|
228
|
+
questionOtherInput: (title) => `${title}: other answer`,
|
|
229
|
+
questionPlaceholder: 'Type your answer',
|
|
230
|
+
questionRequired: 'Required',
|
|
231
|
+
questionCount: (c, m) => `${c} / ${m} characters`,
|
|
232
|
+
questionOverLimit: (title) => `"${title}" is over the length limit`,
|
|
233
|
+
questionSkip: 'Skip question',
|
|
234
|
+
questionUndoSkip: 'Undo skip',
|
|
235
|
+
questionSkipped: 'Question skipped',
|
|
236
|
+
questionSubmit: 'Submit answers',
|
|
237
|
+
questionRetrySubmit: 'Retry with the same answers',
|
|
238
|
+
questionConfirm: (n) => `${n} question${n === 1 ? '' : 's'} unanswered; they will be submitted as skipped.`,
|
|
239
|
+
questionRequiredMissing: (n) => `${n} required question${n === 1 ? ' is' : 's are'} unanswered.`,
|
|
240
|
+
questionBack: 'Back to answers',
|
|
241
|
+
questionSkipAndSubmit: 'Skip and submit',
|
|
242
|
+
questionHintChoice: (last) => `Number keys choose · Enter ${last ? 'submits' : 'goes next'}`,
|
|
243
|
+
questionHintText: 'Ctrl + Enter submits',
|
|
244
|
+
questionDraft: { clean: '', dirty: 'Unsaved changes', saving: 'Saving draft…', saved: 'Draft saved', error: 'Draft not saved' },
|
|
245
|
+
questionRetrySave: 'Retry saving draft',
|
|
246
|
+
questionSubmitting: 'Submitting answers…',
|
|
247
|
+
questionUnknownTitle: 'Submission unconfirmed',
|
|
248
|
+
questionUnknownBody: 'Your answers may have arrived. Retrying sends the same answers and revision.',
|
|
249
|
+
questionRejected: 'Answers not accepted',
|
|
250
|
+
questionStatus: {
|
|
251
|
+
waiting: 'Awaiting answer',
|
|
252
|
+
drafting: 'Drafting',
|
|
253
|
+
saving: 'Saving',
|
|
254
|
+
'submit-pending': 'Submitting',
|
|
255
|
+
unknown: 'Result unconfirmed',
|
|
256
|
+
completed: 'Submitted',
|
|
257
|
+
expired: 'Expired',
|
|
258
|
+
interrupted: 'Interrupted',
|
|
259
|
+
},
|
|
260
|
+
questionSummaryTitle: { completed: 'Answers submitted', expired: 'Questionnaire expired', interrupted: 'Run interrupted; not submitted' },
|
|
261
|
+
questionSummarySkipped: 'Skipped',
|
|
262
|
+
questionSummaryUnanswered: 'Not answered',
|
|
263
|
+
questionSummaryUnansweredInterrupted: 'Not answered (interrupted)',
|
|
264
|
+
questionCopy: 'Copy answers',
|
|
265
|
+
questionJoin: ', ',
|
|
266
|
+
questionNeverGrants: 'Questionnaires collect information only; they never grant tool permissions.',
|
|
267
|
+
questionEndedDraft: 'This questionnaire has ended, but some answers were never saved.',
|
|
268
|
+
questionDiscardDraft: 'Discard unsaved answers',
|
|
269
|
+
questionDiscardTitle: 'Discard unsaved answers?',
|
|
270
|
+
questionDiscardDescription: 'The questionnaire has ended, so these answers will not be submitted. This cannot be undone.',
|
|
271
|
+
questionDiscardConfirm: 'Discard answers',
|
|
272
|
+
questionDiscardError: 'Could not discard the answers. Please try again.',
|
|
273
|
+
grantTitle: 'Session grants',
|
|
274
|
+
grantCount: (n) => `${n} item${n === 1 ? '' : 's'}`,
|
|
275
|
+
grantScope: 'Scope:',
|
|
276
|
+
grantUnavailable: 'Unavailable:',
|
|
277
|
+
grantUnavailableReason: 'The target can no longer be reached',
|
|
278
|
+
grantReselect: 'Choose again',
|
|
279
|
+
grantReselectLabel: (t) => `Choose ${t} again`,
|
|
280
|
+
grantRevoke: 'Revoke',
|
|
281
|
+
grantRevokeLabel: (t) => `Revoke ${t}`,
|
|
282
|
+
grantRetryRevoke: 'Retry revoke',
|
|
283
|
+
grantRetryRevokeLabel: (t) => `Retry revoking ${t}`,
|
|
284
|
+
grantUnknownTitle: 'Result unconfirmed',
|
|
285
|
+
grantUnknownBody: 'The revoke may or may not have taken effect. Retrying reuses the same action id.',
|
|
286
|
+
grantUnknownNotRetryable: 'The revoke may have taken effect. Retrying is not safe; wait for the state to sync.',
|
|
287
|
+
grantRejected: 'Revoke not accepted',
|
|
288
|
+
grantRevoked: 'Revoked',
|
|
289
|
+
grantRevokingSr: (t) => `Revoking ${t}…`,
|
|
290
|
+
grantUnknownSr: (t) => `Revoking ${t} is unconfirmed`,
|
|
291
|
+
grantLoading: 'Loading grants…',
|
|
292
|
+
grantError: 'Could not load grants',
|
|
293
|
+
grantRetry: 'Reload',
|
|
294
|
+
grantEmpty: 'No grants yet. When approving a task you can trust it for this session.',
|
|
295
|
+
recoveryKind: {
|
|
296
|
+
retryable: 'Retryable',
|
|
297
|
+
'save-pending': 'Save pending',
|
|
298
|
+
'cancel-unconfirmed': 'Stop unconfirmed',
|
|
299
|
+
'tool-side-effects': 'Possible side effects',
|
|
300
|
+
timeout: 'Timed out',
|
|
301
|
+
offline: 'Offline',
|
|
302
|
+
unknown: 'Unknown state',
|
|
303
|
+
resolved: 'Resolved',
|
|
304
|
+
},
|
|
305
|
+
recoveryNote: {
|
|
306
|
+
retryable: '',
|
|
307
|
+
'save-pending': 'Retrying the save does not call the model again.',
|
|
308
|
+
'cancel-unconfirmed': 'Stop is not confirmed; the tool may still be running.',
|
|
309
|
+
'tool-side-effects': 'The tool may have had external effects; it will not be replayed automatically.',
|
|
310
|
+
timeout: '',
|
|
311
|
+
offline: '',
|
|
312
|
+
unknown: 'The result is unconfirmed; check the state first.',
|
|
313
|
+
resolved: '',
|
|
314
|
+
},
|
|
315
|
+
recoveryPreserved: 'Kept:',
|
|
316
|
+
recoveryCode: 'Error code',
|
|
317
|
+
recoveryDismiss: 'Dismiss',
|
|
318
|
+
dockLabel: 'Pending interventions',
|
|
319
|
+
dockMore: (n) => `${n} more pending`,
|
|
320
|
+
};
|
|
321
|
+
//# sourceMappingURL=intervention.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intervention.js","sourceRoot":"","sources":["../../../src/provider/messages/intervention.ts"],"names":[],"mappings":"AAiJA,MAAM,CAAC,MAAM,cAAc,GAA8B;IACvD,iBAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,gBAAgB,EAAE,EAAE;IAC/C,cAAc,EAAE;QACd,OAAO,EAAE,MAAM;QACf,kBAAkB,EAAE,QAAQ;QAC5B,WAAW,EAAE,OAAO;QACpB,UAAU,EAAE,KAAK;QACjB,OAAO,EAAE,OAAO;QAChB,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,KAAK;KACf;IACD,YAAY,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,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B,EAAE,cAAc;IAChC,qBAAqB,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,EAAE;IACnD,iBAAiB,EAAE,oBAAoB;IACvC,gBAAgB,EAAE,kFAAkF;IACpG,wBAAwB,EAAE,qFAAqF;IAC/G,aAAa,EAAE,qBAAqB;IACpC,YAAY,EAAE,SAAS;IACvB,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG;IACxC,cAAc,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,iBAAiB;IACrD,YAAY,EAAE,iBAAiB;IAC/B,UAAU,EAAE,uBAAuB;IACnC,UAAU,EAAE,QAAQ;IACpB,UAAU,EAAE,yEAAyE;IAErF,YAAY,EAAE;QACZ,SAAS,EAAE,WAAW;QACtB,cAAc,EAAE,cAAc;QAC9B,oBAAoB,EAAE,kBAAkB;QACxC,mBAAmB,EAAE,uBAAuB;QAC5C,OAAO,EAAE,WAAW;QACpB,OAAO,EAAE,SAAS;QAClB,OAAO,EAAE,eAAe;QACxB,QAAQ,EAAE,UAAU;KACrB;IACD,YAAY,EAAE;QACZ,SAAS,EAAE,EAAE;QACb,cAAc,EAAE,kDAAkD;QAClE,oBAAoB,EAAE,uDAAuD;QAC7E,mBAAmB,EAAE,gFAAgF;QACrG,OAAO,EAAE,EAAE;QACX,OAAO,EAAE,EAAE;QACX,OAAO,EAAE,mDAAmD;QAC5D,QAAQ,EAAE,EAAE;KACb;IACD,iBAAiB,EAAE,OAAO;IAC1B,YAAY,EAAE,YAAY;IAC1B,eAAe,EAAE,SAAS;IAE1B,SAAS,EAAE,uBAAuB;IAClC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,eAAe;CACrC,CAAC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import type { ArtifactView, AttachmentView, CitationView, Completeness, MessageRole, MessageStatus, ProcessCallView, RecoveryView, ReferenceView, SkillUseView, ThinkingView } from '@wzrhine/agent-core';
|
|
2
|
+
/**
|
|
3
|
+
* Copy for the message family (ADR-0011 §10): MessageList, JumpToLatest, AgentMessage,
|
|
4
|
+
* MessagePart, CodeBlock, ThinkingBlock, AgentProcess, RunStatus, CitationChip, MessageActions.
|
|
5
|
+
* Run / phase / tool status labels come from the shared `status` table.
|
|
6
|
+
*/
|
|
7
|
+
export interface AgentMessageMessages {
|
|
8
|
+
listLabel: string;
|
|
9
|
+
loadEarlier: string;
|
|
10
|
+
loadingEarlier: string;
|
|
11
|
+
earlierFailed: string;
|
|
12
|
+
retryEarlier: string;
|
|
13
|
+
loading: string;
|
|
14
|
+
empty: string;
|
|
15
|
+
emptyDescription: string;
|
|
16
|
+
jumpToLatest: string;
|
|
17
|
+
/** Unread counter next to the jump label. */
|
|
18
|
+
newMessages: (count: number) => string;
|
|
19
|
+
/** Accessible name joining the label and the counter. */
|
|
20
|
+
jumpWithCount: (label: string, count: string) => string;
|
|
21
|
+
/** Default author per role when the view-model has none. */
|
|
22
|
+
author: Record<MessageRole, string>;
|
|
23
|
+
/** Visible message state; empty string = nothing shown. Failed user messages use `sendFailed`. */
|
|
24
|
+
messageStatus: Record<MessageStatus, string>;
|
|
25
|
+
sendFailed: string;
|
|
26
|
+
edited: string;
|
|
27
|
+
inherited: string;
|
|
28
|
+
retry: string;
|
|
29
|
+
/** Screen-reader announcement once a streamed answer settles. */
|
|
30
|
+
completedAnnouncement: string;
|
|
31
|
+
usageLabel: string;
|
|
32
|
+
usageInput: string;
|
|
33
|
+
usageOutput: string;
|
|
34
|
+
usageTotal: string;
|
|
35
|
+
usageCacheRead: string;
|
|
36
|
+
usageCacheWrite: string;
|
|
37
|
+
/** Completeness marker after the numbers; empty for `exact`. */
|
|
38
|
+
usageCompleteness: Record<Completeness, string>;
|
|
39
|
+
actionsLabel: string;
|
|
40
|
+
copy: string;
|
|
41
|
+
copied: string;
|
|
42
|
+
copyFailed: string;
|
|
43
|
+
regenerate: string;
|
|
44
|
+
edit: string;
|
|
45
|
+
fork: string;
|
|
46
|
+
feedbackUp: string;
|
|
47
|
+
feedbackDown: string;
|
|
48
|
+
/** Restores this turn's input into the composer (distinct from `edit`). */
|
|
49
|
+
restoreInput: string;
|
|
50
|
+
/** Tooltip of a disabled action: its name plus the reason. */
|
|
51
|
+
actionUnavailable: (label: string, reason: string) => string;
|
|
52
|
+
/** Disclosure trigger and the list's accessible name. */
|
|
53
|
+
runDetails: string;
|
|
54
|
+
detailsPermission: string;
|
|
55
|
+
detailsProvider: string;
|
|
56
|
+
detailsModel: string;
|
|
57
|
+
detailsModelId: string;
|
|
58
|
+
detailsEffort: string;
|
|
59
|
+
detailsStartedAt: string;
|
|
60
|
+
detailsElapsed: string;
|
|
61
|
+
/** Elapsed time of a cut run: the real value is at least `duration`. */
|
|
62
|
+
detailsElapsedAtLeast: (duration: string) => string;
|
|
63
|
+
/** Elapsed time explicitly not recorded (`elapsedKind: 'unknown'`). */
|
|
64
|
+
detailsNotRecorded: string;
|
|
65
|
+
detailsLastActivity: string;
|
|
66
|
+
detailsChatUsage: string;
|
|
67
|
+
detailsCache: string;
|
|
68
|
+
detailsCacheRead: string;
|
|
69
|
+
detailsCacheWrite: string;
|
|
70
|
+
detailsToolModelUsage: string;
|
|
71
|
+
/** Tool-model calls whose provider returned no usage. */
|
|
72
|
+
detailsUnreportedCalls: (count: number) => string;
|
|
73
|
+
detailsCompaction: string;
|
|
74
|
+
detailsTokens: (value: string) => string;
|
|
75
|
+
detailsErrorCode: string;
|
|
76
|
+
detailsNotes: string;
|
|
77
|
+
/** Completeness tag in the details list (shown for every value, including `exact`). */
|
|
78
|
+
detailsCompleteness: Record<Completeness, string>;
|
|
79
|
+
skillsLabel: string;
|
|
80
|
+
skillMethod: Record<SkillUseView['method'], string>;
|
|
81
|
+
/** Screen-reader prefix of the shortened digest. */
|
|
82
|
+
skillDigest: string;
|
|
83
|
+
copyCode: string;
|
|
84
|
+
codeLabel: string;
|
|
85
|
+
/** Attachment status; `ready` is not shown. */
|
|
86
|
+
attachmentStatus: Record<AttachmentView['status'], string>;
|
|
87
|
+
attachmentUploading: (percent: number) => string;
|
|
88
|
+
referenceKind: Record<ReferenceView['kind'], string>;
|
|
89
|
+
referenceStatus: Record<NonNullable<ReferenceView['status']>, string>;
|
|
90
|
+
external: string;
|
|
91
|
+
unsupportedTitle: string;
|
|
92
|
+
unsupportedType: (type: string) => string;
|
|
93
|
+
artifactStatus: Record<ArtifactView['status'], string>;
|
|
94
|
+
recoveryPreserved: (items: string) => string;
|
|
95
|
+
recoveryCode: (code: string) => string;
|
|
96
|
+
recoveryKind: Record<RecoveryView['kind'], string>;
|
|
97
|
+
citationName: (index: number, title: string) => string;
|
|
98
|
+
citationUnavailable: string;
|
|
99
|
+
sourceType: Record<CitationView['sourceType'], string>;
|
|
100
|
+
thinking: string;
|
|
101
|
+
thinkingStatus: Record<ThinkingView['status'], string>;
|
|
102
|
+
thinkingEmpty: string;
|
|
103
|
+
thinkingTruncated: string;
|
|
104
|
+
openFull: string;
|
|
105
|
+
processLabel: string;
|
|
106
|
+
processSummary: (calls: number, operations: number) => string;
|
|
107
|
+
processTruncatedSummary: (calls: number, operations: number) => string;
|
|
108
|
+
processCall: (ordinal: number) => string;
|
|
109
|
+
callStatus: Record<ProcessCallView['status'], string>;
|
|
110
|
+
stageTruncated: string;
|
|
111
|
+
pendingRecord: string;
|
|
112
|
+
loadRecord: string;
|
|
113
|
+
processTruncated: string;
|
|
114
|
+
toolChildren: (count: number) => string;
|
|
115
|
+
}
|
|
116
|
+
export declare const zhMessage: AgentMessageMessages;
|
|
117
|
+
export declare const enMessage: AgentMessageMessages;
|
|
118
|
+
//# sourceMappingURL=message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/provider/messages/message.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,WAAW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