@antelopejs/dms-assistant 0.1.0 → 0.2.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/README.md +4 -17
- package/dist/builder/config.d.ts +1 -0
- package/dist/builder/config.js +9 -0
- package/dist/builder/config.js.map +1 -1
- package/dist/builder/constants/routes.d.ts +1 -0
- package/dist/builder/constants/routes.js +1 -0
- package/dist/builder/constants/routes.js.map +1 -1
- package/dist/builder/index.js +2 -0
- package/dist/builder/index.js.map +1 -1
- package/dist/builder/reload.d.ts +2 -0
- package/dist/builder/reload.js +24 -0
- package/dist/builder/reload.js.map +1 -0
- package/dist/builder/routes/database.d.ts +3 -0
- package/dist/builder/routes/database.js +11 -0
- package/dist/builder/routes/database.js.map +1 -1
- package/dist/constants/i18n.d.ts +1 -1
- package/dist/constants/i18n.js +1 -1
- package/dist/constants/i18n.js.map +1 -1
- package/dist/constants/project-mcp.d.ts +0 -2
- package/dist/constants/project-mcp.js +1 -3
- package/dist/constants/project-mcp.js.map +1 -1
- package/dist/constants/sidecar.d.ts +6 -6
- package/dist/constants/sidecar.js +6 -6
- package/dist/constants/sidecar.js.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/lifecycle/project-mcp-json.js +6 -37
- package/dist/lifecycle/project-mcp-json.js.map +1 -1
- package/dist/lifecycle/sidecar-unavailable-error.js +1 -1
- package/dist/lifecycle/sidecar-unavailable-error.js.map +1 -1
- package/dist/pages/activity/page.js +1 -1
- package/dist/pages/activity/page.js.map +1 -1
- package/dist/pages/changes/page.js +1 -1
- package/dist/pages/changes/page.js.map +1 -1
- package/dist/routes/activity.js +1 -1
- package/dist/routes/activity.js.map +1 -1
- package/dist/vocabulary/enumerations.js +0 -1
- package/dist/vocabulary/enumerations.js.map +1 -1
- package/dist/vocabulary/tools.js +1 -1
- package/dist/vocabulary/tools.js.map +1 -1
- package/frontend-vue/app/chat/components/AnswerRecord.vue +3 -3
- package/frontend-vue/app/chat/components/ApprovalDock.vue +15 -11
- package/frontend-vue/app/chat/components/BlockOutline.vue +10 -10
- package/frontend-vue/app/chat/components/BlockPreviewCard.vue +9 -7
- package/frontend-vue/app/chat/components/BlockPreviewModal.vue +15 -14
- package/frontend-vue/app/chat/components/BlockPreviewThumb.vue +1 -1
- package/frontend-vue/app/chat/components/BuildDialog.vue +16 -13
- package/frontend-vue/app/chat/components/ChangeSetCard.vue +15 -13
- package/frontend-vue/app/chat/components/ChatEmpty.vue +4 -4
- package/frontend-vue/app/chat/components/ChatView.vue +45 -101
- package/frontend-vue/app/chat/components/Composer.vue +42 -34
- package/frontend-vue/app/chat/components/ConnectionBanner.vue +6 -5
- package/frontend-vue/app/chat/components/ConversationDrawer.vue +33 -27
- package/frontend-vue/app/chat/components/DiffView.vue +1 -1
- package/frontend-vue/app/chat/components/FoldBar.vue +34 -28
- package/frontend-vue/app/chat/components/MessageList.vue +10 -10
- package/frontend-vue/app/chat/components/NoticeCard.vue +17 -17
- package/frontend-vue/app/chat/components/PanelHeader.vue +16 -15
- package/frontend-vue/app/chat/components/PermissionCard.vue +11 -11
- package/frontend-vue/app/chat/components/PlanCard.vue +5 -5
- package/frontend-vue/app/chat/components/ProviderNotice.vue +6 -4
- package/frontend-vue/app/chat/components/QuestionDock.vue +13 -10
- package/frontend-vue/app/chat/components/QueueDock.vue +17 -15
- package/frontend-vue/app/chat/components/RulesList.vue +9 -5
- package/frontend-vue/app/chat/components/StepsDock.vue +2 -2
- package/frontend-vue/app/chat/components/ToolCluster.vue +3 -3
- package/frontend-vue/app/chat/components/ToolRow.vue +4 -4
- package/frontend-vue/app/chat/components/TurnErrorCard.vue +5 -5
- package/frontend-vue/app/chat/components/UndoConflictModal.vue +4 -4
- package/frontend-vue/app/chat/components/chat-tokens.css +83 -0
- package/frontend-vue/app/chat/composables/useChatI18n.ts +2 -1
- package/frontend-vue/app/chat/composables/useComposerAttachments.ts +3 -3
- package/frontend-vue/app/chat/constants/conversation.ts +4 -4
- package/frontend-vue/app/chat/constants/protocol.ts +2 -1
- package/frontend-vue/app/chat/constants/run-status.ts +6 -6
- package/frontend-vue/app/chat/types/protocol.ts +0 -7
- package/frontend-vue/app/chat/utils/permission-view.ts +44 -36
- package/frontend-vue/app/chat/utils/status-label.ts +7 -5
- package/frontend-vue/app/chat/utils/suggestions.ts +9 -9
- package/frontend-vue/app/chat/utils/tool-lexicon.ts +4 -4
- package/frontend-vue/app/components/ActivityDetail.vue +15 -13
- package/frontend-vue/app/components/ChangesView.vue +20 -20
- package/frontend-vue/app/components/ChatPanel.vue +31 -31
- package/frontend-vue/app/components/LauncherIcon.vue +44 -38
- package/frontend-vue/app/components/Onboarding.vue +3 -3
- package/frontend-vue/app/components/OnboardingWidget.vue +8 -4
- package/frontend-vue/app/components/PaletteAnswer.vue +27 -23
- package/frontend-vue/app/onboarding/analysis-lead.ts +66 -0
- package/frontend-vue/app/onboarding/connect-database.ts +92 -21
- package/frontend-vue/app/onboarding/connect-memory.ts +204 -0
- package/frontend-vue/app/onboarding/controller.ts +44 -6
- package/frontend-vue/app/onboarding/install.ts +7 -2
- package/frontend-vue/app/onboarding/runtime.ts +4 -4
- package/frontend-vue/app/plugins/ai.client.ts +8 -8
- package/frontend-vue/app/plugins/side-panel.ts +1 -1
- package/frontend-vue/app/runtime/assistant-actions.ts +6 -4
- package/frontend-vue/app/runtime/assistant-commands.ts +31 -16
- package/frontend-vue/app/runtime/assistant-notifications.ts +17 -9
- package/frontend-vue/app/runtime/assistant-session.ts +1 -1
- package/frontend-vue/app/runtime/channel-client.ts +1 -1
- package/frontend-vue/app/runtime/constants.ts +11 -11
- package/frontend-vue/app/runtime/sidecar-status.ts +1 -1
- package/frontend-vue/app/views/ChangeSetPanel.vue +20 -20
- package/frontend-vue/app/views/DecisionLabel.vue +1 -1
- package/frontend-vue/app/views/DiffView.vue +6 -6
- package/frontend-vue/app/views/ResultPill.vue +4 -2
- package/frontend-vue/app/views/RowStepper.vue +3 -3
- package/frontend-vue/app/views/UnavailableState.vue +5 -5
- package/frontend-vue/app/views/composables/useAiData.ts +1 -1
- package/frontend-vue/app/views/composables/useChangeSetActions.ts +13 -5
- package/frontend-vue/app/views/composables/useViewFormat.ts +1 -1
- package/frontend-vue/app/views/constants.ts +0 -1
- package/frontend-vue/app/views/onboarding/OnboardingAi.vue +15 -15
- package/frontend-vue/app/views/onboarding/OnboardingAnalysis.vue +13 -13
- package/frontend-vue/app/views/onboarding/OnboardingClaude.vue +14 -14
- package/frontend-vue/app/views/onboarding/OnboardingCodex.vue +11 -11
- package/frontend-vue/app/views/onboarding/OnboardingConnected.vue +4 -4
- package/frontend-vue/app/views/onboarding/OnboardingContinue.vue +18 -18
- package/frontend-vue/app/views/onboarding/OnboardingDatabase.vue +37 -33
- package/frontend-vue/app/views/onboarding/OnboardingDontShow.vue +1 -1
- package/frontend-vue/app/views/onboarding/OnboardingPaths.vue +7 -7
- package/frontend-vue/app/views/onboarding/OnboardingReady.vue +5 -5
- package/frontend-vue/app/views/onboarding/OnboardingScratch.vue +9 -9
- package/frontend-vue/app/views/onboarding/OnboardingWelcome.vue +11 -11
- package/frontend-vue/app/views/onboarding/login-text.ts +6 -6
- package/frontend-vue/app/views/types.ts +0 -1
- package/frontend-vue/app/views/utils/moment.ts +2 -2
- package/frontend-vue/builder/app/runtime/api.ts +2 -0
- package/frontend-vue/builder/app/runtime/database-build.ts +23 -1
- package/frontend-vue/builder/app/runtime/database-connect.ts +5 -0
- package/frontend-vue/builder/tests/database-connect.test.ts +1 -1
- package/frontend-vue/dms.frontend.ts +2 -2
- package/frontend-vue/i18n/locales/builder-en-GB.json +1 -1
- package/frontend-vue/i18n/locales/builder-fr-FR.json +1 -1
- package/frontend-vue/i18n/locales/{dms-ai-pages-en-GB.json → dms-assistant-pages-en-GB.json} +2 -3
- package/frontend-vue/i18n/locales/{dms-ai-pages-fr-FR.json → dms-assistant-pages-fr-FR.json} +2 -3
- package/frontend-vue/i18n/locales/{dms-ai-panel-en-GB.json → dms-assistant-panel-en-GB.json} +1 -2
- package/frontend-vue/i18n/locales/{dms-ai-panel-fr-FR.json → dms-assistant-panel-fr-FR.json} +1 -2
- package/frontend-vue/i18n/locales/{dms-ai-views-en-GB.json → dms-assistant-views-en-GB.json} +2 -3
- package/frontend-vue/i18n/locales/{dms-ai-views-fr-FR.json → dms-assistant-views-fr-FR.json} +2 -3
- package/frontend-vue/package.json +2 -2
- package/frontend-vue/pnpm-lock.yaml +71 -21
- package/frontend-vue/tests/chat/block-target.test.ts +1 -1
- package/frontend-vue/tests/chat/build-view.test.ts +9 -5
- package/frontend-vue/tests/chat/chat-scroll.test.ts +1 -1
- package/frontend-vue/tests/chat/held-card.test.ts +2 -2
- package/frontend-vue/tests/chat/provider-notice.test.ts +1 -1
- package/frontend-vue/tests/chat/tool-lexicon.test.ts +16 -10
- package/frontend-vue/tests/chat-panel.test.ts +10 -10
- package/frontend-vue/tests/chat-transport.test.ts +1 -1
- package/frontend-vue/tests/launcher-icon.test.ts +1 -1
- package/frontend-vue/tests/launcher-label.test.ts +40 -0
- package/frontend-vue/tests/onboarding-connect-memory.test.ts +126 -0
- package/frontend-vue/tests/onboarding-controller-restart.test.ts +134 -0
- package/frontend-vue/tests/onboarding-controller.test.ts +58 -0
- package/frontend-vue/tests/onboarding-database-engines.test.ts +2 -2
- package/frontend-vue/tests/onboarding-database-new-url.test.ts +174 -0
- package/frontend-vue/tests/onboarding-database-reload.test.ts +229 -0
- package/frontend-vue/tests/onboarding-database-tabs.test.ts +184 -0
- package/frontend-vue/tests/onboarding-database.test.ts +13 -118
- package/frontend-vue/tests/palette-assistant.test.ts +8 -8
- package/frontend-vue/tests/panel-approvals.test.ts +1 -1
- package/frontend-vue/tests/panel-closed-conversation.test.ts +53 -0
- package/frontend-vue/tests/panel-mockup-prompt.test.ts +2 -2
- package/frontend-vue/tests/panel-modes.test.ts +1 -16
- package/frontend-vue/tests/panel-questions.test.ts +1 -1
- package/frontend-vue/tests/panel-states.test.ts +1 -1
- package/frontend-vue/tests/panel-tools.test.ts +2 -2
- package/frontend-vue/tests/sidecar-guest.test.ts +1 -1
- package/frontend-vue/tests/support/api-error-presenter.ts +4 -2
- package/frontend-vue/tests/support/database-connect.ts +129 -0
- package/frontend-vue/tests/support/i18n.ts +1 -1
- package/frontend-vue/tests/support/onboarding-host.ts +1 -0
- package/frontend-vue/tests/support/onboarding.ts +29 -1
- package/frontend-vue/tests/views/api-data-reads.test.ts +7 -3
- package/frontend-vue/tests/views/diff-view.test.ts +4 -2
- package/package.json +5 -8
- package/sidecar/dist/agent/permission-bus.d.ts +1 -0
- package/sidecar/dist/agent/permission-bus.js +1 -0
- package/sidecar/dist/agent/permission-bus.js.map +1 -1
- package/sidecar/dist/agent/question-bus.d.ts +1 -0
- package/sidecar/dist/agent/question-bus.js +3 -0
- package/sidecar/dist/agent/question-bus.js.map +1 -1
- package/sidecar/dist/audit/activity-query.js +0 -1
- package/sidecar/dist/audit/activity-query.js.map +1 -1
- package/sidecar/dist/audit/activity.js +11 -3
- package/sidecar/dist/audit/activity.js.map +1 -1
- package/sidecar/dist/constants/audit.d.ts +1 -1
- package/sidecar/dist/constants/audit.js +0 -1
- package/sidecar/dist/constants/audit.js.map +1 -1
- package/sidecar/dist/constants/chatgpt.d.ts +7 -7
- package/sidecar/dist/constants/chatgpt.js +6 -6
- package/sidecar/dist/constants/chatgpt.js.map +1 -1
- package/sidecar/dist/constants/checkpoints.d.ts +2 -2
- package/sidecar/dist/constants/checkpoints.js +2 -2
- package/sidecar/dist/constants/checkpoints.js.map +1 -1
- package/sidecar/dist/constants/codex.d.ts +9 -9
- package/sidecar/dist/constants/codex.js +8 -8
- package/sidecar/dist/constants/codex.js.map +1 -1
- package/sidecar/dist/constants/daemon.d.ts +2 -2
- package/sidecar/dist/constants/daemon.js +2 -2
- package/sidecar/dist/constants/daemon.js.map +1 -1
- package/sidecar/dist/constants/env.d.ts +1 -1
- package/sidecar/dist/constants/env.js +1 -1
- package/sidecar/dist/constants/env.js.map +1 -1
- package/sidecar/dist/constants/mcp.d.ts +4 -4
- package/sidecar/dist/constants/mcp.js +2 -2
- package/sidecar/dist/constants/mcp.js.map +1 -1
- package/sidecar/dist/constants/paths.d.ts +1 -1
- package/sidecar/dist/constants/paths.js +5 -1
- package/sidecar/dist/constants/paths.js.map +1 -1
- package/sidecar/dist/constants/preview.d.ts +2 -2
- package/sidecar/dist/constants/preview.js +2 -17
- package/sidecar/dist/constants/preview.js.map +1 -1
- package/sidecar/dist/constants/providers.d.ts +2 -2
- package/sidecar/dist/constants/providers.js +2 -2
- package/sidecar/dist/constants/providers.js.map +1 -1
- package/sidecar/dist/constants/settings.d.ts +1 -1
- package/sidecar/dist/constants/settings.js +1 -1
- package/sidecar/dist/constants/settings.js.map +1 -1
- package/sidecar/dist/constants/skills.d.ts +1 -1
- package/sidecar/dist/constants/skills.js +1 -1
- package/sidecar/dist/constants/skills.js.map +1 -1
- package/sidecar/dist/constants/state.d.ts +2 -1
- package/sidecar/dist/constants/state.js +2 -1
- package/sidecar/dist/constants/state.js.map +1 -1
- package/sidecar/dist/constants/tool-titles.d.ts +0 -40
- package/sidecar/dist/constants/tool-titles.js +0 -42
- package/sidecar/dist/constants/tool-titles.js.map +1 -1
- package/sidecar/dist/index.js +5 -6
- package/sidecar/dist/index.js.map +1 -1
- package/sidecar/dist/mcp/tools/preview-blocks.js +24 -19
- package/sidecar/dist/mcp/tools/preview-blocks.js.map +1 -1
- package/sidecar/dist/mcp/types.d.ts +1 -1
- package/sidecar/dist/prompts/agent.js +1 -1
- package/sidecar/dist/prompts/agent.js.map +1 -1
- package/sidecar/dist/protocol/events.d.ts +10 -28
- package/sidecar/dist/protocol/events.js +7 -5
- package/sidecar/dist/protocol/events.js.map +1 -1
- package/sidecar/dist/protocol/preview.js +1 -1
- package/sidecar/dist/protocol/preview.js.map +1 -1
- package/sidecar/dist/providers/codex/permission-profiles.d.ts +1 -1
- package/sidecar/dist/providers/codex/permission-profiles.js +1 -1
- package/sidecar/dist/providers/codex/permission-profiles.js.map +1 -1
- package/sidecar/dist/server/chat-socket-registry.d.ts +1 -0
- package/sidecar/dist/server/chat-socket-registry.js +14 -0
- package/sidecar/dist/server/chat-socket-registry.js.map +1 -1
- package/sidecar/dist/server/host-command-router.d.ts +9 -2
- package/sidecar/dist/server/host-command-router.js +5 -2
- package/sidecar/dist/server/host-command-router.js.map +1 -1
- package/sidecar/dist/server/host-page.d.ts +3 -0
- package/sidecar/dist/server/host-page.js +5 -0
- package/sidecar/dist/server/host-page.js.map +1 -0
- package/sidecar/dist/server/host-socket-registry.d.ts +1 -1
- package/sidecar/dist/server/host-socket-registry.js +6 -6
- package/sidecar/dist/server/host-socket-registry.js.map +1 -1
- package/sidecar/dist/server/routing.js +62 -20
- package/sidecar/dist/server/routing.js.map +1 -1
- package/sidecar/dist/server/turns.js +11 -3
- package/sidecar/dist/server/turns.js.map +1 -1
- package/sidecar/dist/server/ws.js +10 -2
- package/sidecar/dist/server/ws.js.map +1 -1
- package/sidecar/dist/skills/plugin-wrapper.js +1 -1
- package/sidecar/dist/skills/plugin-wrapper.js.map +1 -1
- package/sidecar/dist/state/conversations.d.ts +3 -1
- package/sidecar/dist/state/conversations.js +54 -3
- package/sidecar/dist/state/conversations.js.map +1 -1
- package/sidecar/dist/state/host-state.d.ts +2 -2
- package/sidecar/dist/state/host-state.js +6 -6
- package/sidecar/dist/state/host-state.js.map +1 -1
- package/sidecar/dist/state/settings-store.js +1 -14
- package/sidecar/dist/state/settings-store.js.map +1 -1
- package/sidecar/dist/state/store.d.ts +1 -0
- package/sidecar/dist/state/store.js +16 -9
- package/sidecar/dist/state/store.js.map +1 -1
- package/sidecar/dist/state/stored-schemas.js +0 -4
- package/sidecar/dist/state/stored-schemas.js.map +1 -1
- package/sidecar/dist/state/types.d.ts +2 -5
- package/sidecar/dist/state/types.js.map +1 -1
- package/sidecar/package.json +3 -2
- package/skills/{dms-ai → dms-assistant}/SKILL.md +6 -6
- package/skills/{dms-ai → dms-assistant}/cases.json +13 -13
- package/skills/{dms-ai-code-mode → dms-assistant-code-mode}/SKILL.md +7 -7
- package/skills/{dms-ai-code-mode → dms-assistant-code-mode}/cases.json +11 -11
- package/dist/lifecycle/builder-settings-move.d.ts +0 -1
- package/dist/lifecycle/builder-settings-move.js +0 -182
- package/dist/lifecycle/builder-settings-move.js.map +0 -1
- package/dist/lifecycle/builder-settings-plan.d.ts +0 -59
- package/dist/lifecycle/builder-settings-plan.js +0 -176
- package/dist/lifecycle/builder-settings-plan.js.map +0 -1
- package/dist/lifecycle/builder-settings-text.d.ts +0 -19
- package/dist/lifecycle/builder-settings-text.js +0 -82
- package/dist/lifecycle/builder-settings-text.js.map +0 -1
- package/dist/lifecycle/entry-verdict.d.ts +0 -15
- package/dist/lifecycle/entry-verdict.js +0 -30
- package/dist/lifecycle/entry-verdict.js.map +0 -1
- package/dist/lifecycle/environment-bindings.d.ts +0 -8
- package/dist/lifecycle/environment-bindings.js +0 -154
- package/dist/lifecycle/environment-bindings.js.map +0 -1
- package/dist/lifecycle/legacy-entries.d.ts +0 -8
- package/dist/lifecycle/legacy-entries.js +0 -126
- package/dist/lifecycle/legacy-entries.js.map +0 -1
- package/sidecar/dist/mcp/sketch-refusals.d.ts +0 -2
- package/sidecar/dist/mcp/sketch-refusals.js +0 -6
- package/sidecar/dist/mcp/sketch-refusals.js.map +0 -1
- package/sidecar/dist/state/legacy-tool-names.d.ts +0 -3
- package/sidecar/dist/state/legacy-tool-names.js +0 -34
- package/sidecar/dist/state/legacy-tool-names.js.map +0 -1
|
@@ -134,14 +134,14 @@ function onKeydown(event: KeyboardEvent): void {
|
|
|
134
134
|
class="cb-ask"
|
|
135
135
|
role="dialog"
|
|
136
136
|
tabindex="-1"
|
|
137
|
-
:aria-label="t('
|
|
137
|
+
:aria-label="t('dms_assistant.panel.questions.aria')"
|
|
138
138
|
@keydown="onKeydown"
|
|
139
139
|
>
|
|
140
140
|
<div class="cb-ask__top">
|
|
141
141
|
<span class="cb-ask__eyebrow">
|
|
142
142
|
✦
|
|
143
143
|
{{
|
|
144
|
-
t("
|
|
144
|
+
t("dms_assistant.panel.questions.heading", {
|
|
145
145
|
index: page + 1,
|
|
146
146
|
total,
|
|
147
147
|
header: current.header,
|
|
@@ -186,7 +186,7 @@ function onKeydown(event: KeyboardEvent): void {
|
|
|
186
186
|
size="sm"
|
|
187
187
|
color="secondary"
|
|
188
188
|
variant="subtle"
|
|
189
|
-
:label="t('
|
|
189
|
+
:label="t('dms_assistant.panel.questions.suggested')"
|
|
190
190
|
/>
|
|
191
191
|
<span v-if="option.description" class="opt-card__d">
|
|
192
192
|
{{ option.description }}
|
|
@@ -201,9 +201,9 @@ function onKeydown(event: KeyboardEvent): void {
|
|
|
201
201
|
@click="pick(OTHER)"
|
|
202
202
|
>
|
|
203
203
|
<span class="opt-card__k">{{ current.options.length + 1 }}</span>
|
|
204
|
-
<b>{{ t("
|
|
204
|
+
<b>{{ t("dms_assistant.panel.questions.other") }}</b>
|
|
205
205
|
<span class="opt-card__d">
|
|
206
|
-
{{ t("
|
|
206
|
+
{{ t("dms_assistant.panel.questions.other_hint") }}
|
|
207
207
|
</span>
|
|
208
208
|
</button>
|
|
209
209
|
<textarea
|
|
@@ -212,7 +212,7 @@ function onKeydown(event: KeyboardEvent): void {
|
|
|
212
212
|
v-model="customTexts[page]"
|
|
213
213
|
class="cb-ask__custom"
|
|
214
214
|
rows="2"
|
|
215
|
-
:placeholder="t('
|
|
215
|
+
:placeholder="t('dms_assistant.panel.questions.other_placeholder')"
|
|
216
216
|
/>
|
|
217
217
|
</div>
|
|
218
218
|
<div class="cb-ask__foot">
|
|
@@ -220,13 +220,16 @@ function onKeydown(event: KeyboardEvent): void {
|
|
|
220
220
|
size="sm"
|
|
221
221
|
color="neutral"
|
|
222
222
|
variant="ghost"
|
|
223
|
-
:label="t('
|
|
223
|
+
:label="t('dms_assistant.panel.questions.skip')"
|
|
224
224
|
@click="skip"
|
|
225
225
|
/>
|
|
226
226
|
<span class="cb-ask__spacer" />
|
|
227
227
|
<span class="cb-ask__count">
|
|
228
228
|
{{
|
|
229
|
-
t("
|
|
229
|
+
t("dms_assistant.panel.questions.answer_count", {
|
|
230
|
+
index: page + 1,
|
|
231
|
+
total,
|
|
232
|
+
})
|
|
230
233
|
}}
|
|
231
234
|
</span>
|
|
232
235
|
<UButton
|
|
@@ -238,8 +241,8 @@ function onKeydown(event: KeyboardEvent): void {
|
|
|
238
241
|
{{
|
|
239
242
|
t(
|
|
240
243
|
isLast
|
|
241
|
-
? "
|
|
242
|
-
: "
|
|
244
|
+
? "dms_assistant.panel.questions.send"
|
|
245
|
+
: "dms_assistant.panel.questions.next",
|
|
243
246
|
)
|
|
244
247
|
}}
|
|
245
248
|
<UKbd value="↵" size="sm" />
|
|
@@ -72,15 +72,17 @@ function onDrop(index: number): void {
|
|
|
72
72
|
</script>
|
|
73
73
|
|
|
74
74
|
<template>
|
|
75
|
-
<section class="cb-queue" :aria-label="t('
|
|
75
|
+
<section class="cb-queue" :aria-label="t('dms_assistant.panel.queue.aria')">
|
|
76
76
|
<div class="cb-queue__head">
|
|
77
|
-
<span class="cb-queue__title">
|
|
77
|
+
<span class="cb-queue__title">
|
|
78
|
+
{{ t("dms_assistant.panel.queue.title") }}
|
|
79
|
+
</span>
|
|
78
80
|
<UButton
|
|
79
81
|
v-if="queue.length > 1"
|
|
80
82
|
size="xs"
|
|
81
83
|
color="neutral"
|
|
82
84
|
variant="ghost"
|
|
83
|
-
:label="t('
|
|
85
|
+
:label="t('dms_assistant.panel.queue.clear')"
|
|
84
86
|
@click="emit('clear')"
|
|
85
87
|
/>
|
|
86
88
|
</div>
|
|
@@ -99,14 +101,14 @@ function onDrop(index: number): void {
|
|
|
99
101
|
<template v-if="editingId === item.id">
|
|
100
102
|
<span class="cb-queued__n">{{ index + 1 }}</span>
|
|
101
103
|
<span class="cb-queued__editing">
|
|
102
|
-
{{ t("
|
|
104
|
+
{{ t("dms_assistant.panel.queue.editing") }}
|
|
103
105
|
</span>
|
|
104
106
|
<textarea
|
|
105
107
|
ref="editorEl"
|
|
106
108
|
v-model="draft"
|
|
107
109
|
class="cb-queued__editor"
|
|
108
110
|
rows="2"
|
|
109
|
-
:aria-label="t('
|
|
111
|
+
:aria-label="t('dms_assistant.panel.queue.edit')"
|
|
110
112
|
@keydown="onEditorKeydown"
|
|
111
113
|
/>
|
|
112
114
|
<div class="cb-queued__actions">
|
|
@@ -114,14 +116,14 @@ function onDrop(index: number): void {
|
|
|
114
116
|
size="xs"
|
|
115
117
|
color="neutral"
|
|
116
118
|
variant="ghost"
|
|
117
|
-
:label="t('
|
|
119
|
+
:label="t('dms_assistant.common.cancel')"
|
|
118
120
|
@click="editingId = null"
|
|
119
121
|
/>
|
|
120
122
|
<UButton
|
|
121
123
|
size="xs"
|
|
122
124
|
color="neutral"
|
|
123
125
|
variant="outline"
|
|
124
|
-
:label="t('
|
|
126
|
+
:label="t('dms_assistant.common.save')"
|
|
125
127
|
@click="saveEdit"
|
|
126
128
|
/>
|
|
127
129
|
</div>
|
|
@@ -131,8 +133,8 @@ function onDrop(index: number): void {
|
|
|
131
133
|
type="button"
|
|
132
134
|
class="cb-queued__handle"
|
|
133
135
|
draggable="true"
|
|
134
|
-
:aria-label="t('
|
|
135
|
-
:title="t('
|
|
136
|
+
:aria-label="t('dms_assistant.panel.queue.reorder')"
|
|
137
|
+
:title="t('dms_assistant.panel.queue.reorder')"
|
|
136
138
|
@dragstart="draggedId = item.id"
|
|
137
139
|
@dragend="draggedId = null"
|
|
138
140
|
@keydown="onHandleKeydown($event, index, item.id)"
|
|
@@ -140,14 +142,14 @@ function onDrop(index: number): void {
|
|
|
140
142
|
<UIcon name="i-ph-dots-six-vertical" />
|
|
141
143
|
</button>
|
|
142
144
|
<span class="cb-queued__n">
|
|
143
|
-
{{ index === 0 ? t("
|
|
145
|
+
{{ index === 0 ? t("dms_assistant.panel.queue.next") : index + 1 }}
|
|
144
146
|
</span>
|
|
145
147
|
<span class="cb-queued__txt">{{ item.content }}</span>
|
|
146
148
|
<span v-if="item.attachments.length > 0" class="cb-queued__files">
|
|
147
149
|
<UIcon name="i-ph-paperclip" />
|
|
148
150
|
{{
|
|
149
151
|
t(
|
|
150
|
-
"
|
|
152
|
+
"dms_assistant.panel.queue.files",
|
|
151
153
|
{ count: item.attachments.length },
|
|
152
154
|
item.attachments.length,
|
|
153
155
|
)
|
|
@@ -159,8 +161,8 @@ function onDrop(index: number): void {
|
|
|
159
161
|
variant="ghost"
|
|
160
162
|
square
|
|
161
163
|
icon="i-ph-pencil-simple"
|
|
162
|
-
:aria-label="t('
|
|
163
|
-
:title="t('
|
|
164
|
+
:aria-label="t('dms_assistant.panel.queue.edit')"
|
|
165
|
+
:title="t('dms_assistant.panel.queue.edit')"
|
|
164
166
|
@click="startEdit(item)"
|
|
165
167
|
/>
|
|
166
168
|
<UButton
|
|
@@ -169,8 +171,8 @@ function onDrop(index: number): void {
|
|
|
169
171
|
variant="ghost"
|
|
170
172
|
square
|
|
171
173
|
icon="i-ph-x"
|
|
172
|
-
:aria-label="t('
|
|
173
|
-
:title="t('
|
|
174
|
+
:aria-label="t('dms_assistant.panel.queue.cancel')"
|
|
175
|
+
:title="t('dms_assistant.panel.queue.cancel')"
|
|
174
176
|
@click="emit('cancel', item.id)"
|
|
175
177
|
/>
|
|
176
178
|
</template>
|
|
@@ -18,9 +18,11 @@ const { t } = useChatI18n();
|
|
|
18
18
|
|
|
19
19
|
<template>
|
|
20
20
|
<div class="cb-rules">
|
|
21
|
-
<span class="cb-rules__title">
|
|
21
|
+
<span class="cb-rules__title">
|
|
22
|
+
{{ t("dms_assistant.panel.rules.title") }}
|
|
23
|
+
</span>
|
|
22
24
|
<p v-if="rules.length === 0" class="cb-rules__empty">
|
|
23
|
-
{{ t("
|
|
25
|
+
{{ t("dms_assistant.panel.rules.empty") }}
|
|
24
26
|
</p>
|
|
25
27
|
<ul v-else class="cb-rules__list">
|
|
26
28
|
<li v-for="rule in rules" :key="rule.id" class="cb-rules__item">
|
|
@@ -28,19 +30,21 @@ const { t } = useChatI18n();
|
|
|
28
30
|
<span class="cb-rules__label">
|
|
29
31
|
{{
|
|
30
32
|
rule.label ||
|
|
31
|
-
t(`
|
|
33
|
+
t(`dms_assistant.panel.rules.kind_${rule.kind}`, {
|
|
34
|
+
value: rule.value,
|
|
35
|
+
})
|
|
32
36
|
}}
|
|
33
37
|
</span>
|
|
34
38
|
<UButton
|
|
35
39
|
size="xs"
|
|
36
40
|
color="neutral"
|
|
37
41
|
variant="ghost"
|
|
38
|
-
:label="t('
|
|
42
|
+
:label="t('dms_assistant.panel.rules.revoke')"
|
|
39
43
|
@click="emit('revoke', rule.id)"
|
|
40
44
|
/>
|
|
41
45
|
</li>
|
|
42
46
|
</ul>
|
|
43
|
-
<p class="cb-rules__note">{{ t("
|
|
47
|
+
<p class="cb-rules__note">{{ t("dms_assistant.panel.rules.note") }}</p>
|
|
44
48
|
</div>
|
|
45
49
|
</template>
|
|
46
50
|
|
|
@@ -32,7 +32,7 @@ const currentLabel = computed(() => active.value?.activeForm ?? "");
|
|
|
32
32
|
</script>
|
|
33
33
|
|
|
34
34
|
<template>
|
|
35
|
-
<section class="cb-steps" :aria-label="t('
|
|
35
|
+
<section class="cb-steps" :aria-label="t('dms_assistant.panel.steps.title')">
|
|
36
36
|
<button
|
|
37
37
|
type="button"
|
|
38
38
|
class="cb-steps__head"
|
|
@@ -40,7 +40,7 @@ const currentLabel = computed(() => active.value?.activeForm ?? "");
|
|
|
40
40
|
@click="isOpen = !isOpen"
|
|
41
41
|
>
|
|
42
42
|
<UIcon name="i-ph-list-checks" class="cb-steps__icon" />
|
|
43
|
-
<b>{{ t("
|
|
43
|
+
<b>{{ t("dms_assistant.panel.steps.title") }}</b>
|
|
44
44
|
<span class="cb-steps__current">{{ currentLabel }}</span>
|
|
45
45
|
<span class="cb-steps__num">{{ doneCount }}/{{ todos.length }}</span>
|
|
46
46
|
<UIcon
|
|
@@ -122,9 +122,9 @@ function phrase(tool: ToolCallMessage): string {
|
|
|
122
122
|
|
|
123
123
|
const title = computed(() =>
|
|
124
124
|
tone.value === "run"
|
|
125
|
-
? t("
|
|
125
|
+
? t("dms_assistant.panel.tool.using")
|
|
126
126
|
: t(
|
|
127
|
-
"
|
|
127
|
+
"dms_assistant.panel.tool.used",
|
|
128
128
|
{ count: props.tools.length },
|
|
129
129
|
props.tools.length,
|
|
130
130
|
),
|
|
@@ -175,7 +175,7 @@ function toggle(): void {
|
|
|
175
175
|
class="cb-tools__more"
|
|
176
176
|
@click="showAll = true"
|
|
177
177
|
>
|
|
178
|
-
{{ t("
|
|
178
|
+
{{ t("dms_assistant.panel.tool.earlier", { count: hiddenCount }) }}
|
|
179
179
|
</button>
|
|
180
180
|
<ToolRow
|
|
181
181
|
v-for="view in visible"
|
|
@@ -48,11 +48,11 @@ const stateLabel = computed<string>(() => {
|
|
|
48
48
|
return duration === null ? "" : formatDuration(duration);
|
|
49
49
|
}
|
|
50
50
|
if (props.state === "waiting" && props.waiting !== null)
|
|
51
|
-
return t("
|
|
51
|
+
return t("dms_assistant.panel.tool.waiting_position", {
|
|
52
52
|
index: props.waiting.index + 1,
|
|
53
53
|
total: props.waiting.total,
|
|
54
54
|
});
|
|
55
|
-
return t(`
|
|
55
|
+
return t(`dms_assistant.panel.tool.state.${props.state}`);
|
|
56
56
|
});
|
|
57
57
|
|
|
58
58
|
function onRowClick(): void {
|
|
@@ -99,8 +99,8 @@ function onRowClick(): void {
|
|
|
99
99
|
icon="i-ph-brackets-curly"
|
|
100
100
|
:label="
|
|
101
101
|
isRaw
|
|
102
|
-
? t('
|
|
103
|
-
: t('
|
|
102
|
+
? t('dms_assistant.panel.tool.named_args')
|
|
103
|
+
: t('dms_assistant.panel.tool.raw_json')
|
|
104
104
|
"
|
|
105
105
|
@click="isRaw = !isRaw"
|
|
106
106
|
/>
|
|
@@ -31,8 +31,8 @@ const text = computed(() =>
|
|
|
31
31
|
const title = computed(() =>
|
|
32
32
|
t(
|
|
33
33
|
props.error.isLocal === true
|
|
34
|
-
? "
|
|
35
|
-
: "
|
|
34
|
+
? "dms_assistant.panel.errors.local_title"
|
|
35
|
+
: "dms_assistant.panel.errors.turn_title",
|
|
36
36
|
),
|
|
37
37
|
);
|
|
38
38
|
|
|
@@ -66,7 +66,7 @@ onBeforeUnmount(() => {
|
|
|
66
66
|
color="neutral"
|
|
67
67
|
variant="outline"
|
|
68
68
|
icon="i-ph-arrows-clockwise"
|
|
69
|
-
:label="t('
|
|
69
|
+
:label="t('dms_assistant.panel.errors.retry_turn')"
|
|
70
70
|
@click="emit('retry')"
|
|
71
71
|
/>
|
|
72
72
|
<UButton
|
|
@@ -78,8 +78,8 @@ onBeforeUnmount(() => {
|
|
|
78
78
|
:label="
|
|
79
79
|
t(
|
|
80
80
|
isCopied
|
|
81
|
-
? '
|
|
82
|
-
: '
|
|
81
|
+
? 'dms_assistant.common.copied'
|
|
82
|
+
: 'dms_assistant.panel.errors.copy_details',
|
|
83
83
|
)
|
|
84
84
|
"
|
|
85
85
|
@click="copyDetails"
|
|
@@ -24,13 +24,13 @@ function onOpenChange(isOpen: boolean): void {
|
|
|
24
24
|
<template>
|
|
25
25
|
<UModal
|
|
26
26
|
:open="pending !== null"
|
|
27
|
-
:title="t('
|
|
27
|
+
:title="t('dms_assistant.panel.change.conflict_title')"
|
|
28
28
|
@update:open="onOpenChange"
|
|
29
29
|
>
|
|
30
30
|
<template #body>
|
|
31
31
|
<p class="chat-view-conflict">
|
|
32
32
|
{{
|
|
33
|
-
t("
|
|
33
|
+
t("dms_assistant.panel.change.conflict_text", {
|
|
34
34
|
number: pending?.number ?? 0,
|
|
35
35
|
})
|
|
36
36
|
}}
|
|
@@ -51,12 +51,12 @@ function onOpenChange(isOpen: boolean): void {
|
|
|
51
51
|
<UButton
|
|
52
52
|
color="neutral"
|
|
53
53
|
variant="ghost"
|
|
54
|
-
:label="t('
|
|
54
|
+
:label="t('dms_assistant.panel.change.undo_only')"
|
|
55
55
|
@click="emit('confirm', false)"
|
|
56
56
|
/>
|
|
57
57
|
<UButton
|
|
58
58
|
color="secondary"
|
|
59
|
-
:label="t('
|
|
59
|
+
:label="t('dms_assistant.panel.change.undo_together')"
|
|
60
60
|
@click="emit('confirm', true)"
|
|
61
61
|
/>
|
|
62
62
|
</div>
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The panel's tokens, aliases of the dashboard's: violet (Nuxt UI
|
|
3
|
+
* `secondary`, tinted by the DMS's assistant tokens) is the AI colour,
|
|
4
|
+
* everything else follows the DMS surfaces in light and dark alike. Shared
|
|
5
|
+
* bits the panel's pieces draw are here too.
|
|
6
|
+
*/
|
|
7
|
+
.chat-view,
|
|
8
|
+
.dms-assistant-chat-tokens {
|
|
9
|
+
--ai: var(--ui-secondary);
|
|
10
|
+
--ai-tint: var(--dms-assistant-tint);
|
|
11
|
+
--ai-line: var(--dms-assistant-line);
|
|
12
|
+
--ai-bg-hover: var(--ui-bg-elevated);
|
|
13
|
+
--ai-radius-sm: 8px;
|
|
14
|
+
--ai-radius-md: 10px;
|
|
15
|
+
--ai-font-mono: var(
|
|
16
|
+
--font-mono,
|
|
17
|
+
ui-monospace,
|
|
18
|
+
SFMono-Regular,
|
|
19
|
+
Menlo,
|
|
20
|
+
Monaco,
|
|
21
|
+
Consolas,
|
|
22
|
+
"Liberation Mono",
|
|
23
|
+
monospace
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.chat-view {
|
|
28
|
+
position: relative;
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
height: 100%;
|
|
32
|
+
background: var(--dms-bg-sidebar, var(--ui-bg));
|
|
33
|
+
color: var(--ui-text);
|
|
34
|
+
font-size: 13px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.chat-view .plus,
|
|
38
|
+
.dms-assistant-chat-tokens .plus {
|
|
39
|
+
color: var(--ui-success);
|
|
40
|
+
font: 600 11.5px var(--ai-font-mono);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.chat-view .minus,
|
|
44
|
+
.dms-assistant-chat-tokens .minus {
|
|
45
|
+
color: var(--ui-error);
|
|
46
|
+
font: 600 11.5px var(--ai-font-mono);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.chat-view .inline-code,
|
|
50
|
+
.dms-assistant-chat-tokens .inline-code,
|
|
51
|
+
.chat-view .cb-md code,
|
|
52
|
+
.dms-assistant-chat-tokens .cb-md code {
|
|
53
|
+
padding: 1px 5px;
|
|
54
|
+
border-radius: 4px;
|
|
55
|
+
background: var(--ui-bg-accented);
|
|
56
|
+
color: var(--ui-text-highlighted);
|
|
57
|
+
font: 500 12px var(--ai-font-mono);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.chat-view .spin-ai,
|
|
61
|
+
.dms-assistant-chat-tokens .spin-ai {
|
|
62
|
+
display: inline-block;
|
|
63
|
+
width: 12px;
|
|
64
|
+
height: 12px;
|
|
65
|
+
flex: none;
|
|
66
|
+
border: 1.5px solid var(--ai);
|
|
67
|
+
border-right-color: transparent;
|
|
68
|
+
border-radius: 50%;
|
|
69
|
+
animation: dms-assistant-spin 0.8s linear infinite;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@keyframes dms-assistant-spin {
|
|
73
|
+
to {
|
|
74
|
+
transform: rotate(360deg);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@media (prefers-reduced-motion: reduce) {
|
|
79
|
+
.chat-view .spin-ai,
|
|
80
|
+
.dms-assistant-chat-tokens .spin-ai {
|
|
81
|
+
animation-duration: 2.4s;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -20,7 +20,8 @@ export interface ChatI18n {
|
|
|
20
20
|
locale: Readonly<Ref<string>>;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
export const CHAT_I18N_KEY: InjectionKey<ChatI18n> =
|
|
23
|
+
export const CHAT_I18N_KEY: InjectionKey<ChatI18n> =
|
|
24
|
+
Symbol("dms-assistant:i18n");
|
|
24
25
|
|
|
25
26
|
const FALLBACK_LOCALE = "en-GB";
|
|
26
27
|
|
|
@@ -42,7 +42,7 @@ export function useComposerAttachments(
|
|
|
42
42
|
|
|
43
43
|
async function readOne(file: File): Promise<void> {
|
|
44
44
|
if (exceedsSizeLimit(file)) {
|
|
45
|
-
error.value = t("
|
|
45
|
+
error.value = t("dms_assistant.panel.composer.file_too_large", {
|
|
46
46
|
name: file.name,
|
|
47
47
|
max: MAX_ATTACHMENT_MEGABYTES,
|
|
48
48
|
});
|
|
@@ -54,7 +54,7 @@ export function useComposerAttachments(
|
|
|
54
54
|
await readFileAsAttachment(file),
|
|
55
55
|
];
|
|
56
56
|
} catch {
|
|
57
|
-
error.value = t("
|
|
57
|
+
error.value = t("dms_assistant.panel.composer.file_unreadable", {
|
|
58
58
|
name: file.name,
|
|
59
59
|
});
|
|
60
60
|
}
|
|
@@ -65,7 +65,7 @@ export function useComposerAttachments(
|
|
|
65
65
|
const incoming = Array.from(files);
|
|
66
66
|
const room = MAX_ATTACHMENTS - attachments.value.length;
|
|
67
67
|
if (incoming.length > room)
|
|
68
|
-
error.value = t("
|
|
68
|
+
error.value = t("dms_assistant.panel.composer.too_many_files", {
|
|
69
69
|
max: MAX_ATTACHMENTS,
|
|
70
70
|
});
|
|
71
71
|
for (const file of incoming.slice(0, Math.max(room, 0)))
|
|
@@ -34,16 +34,16 @@ export const TODO_STATUS = {
|
|
|
34
34
|
COMPLETED: "completed",
|
|
35
35
|
} as const;
|
|
36
36
|
|
|
37
|
-
export const STORAGE_CONVERSATION_ID_KEY = "dms-
|
|
37
|
+
export const STORAGE_CONVERSATION_ID_KEY = "dms-assistant-conversation-id";
|
|
38
38
|
|
|
39
39
|
export const SEND_HOTKEY = "Enter";
|
|
40
40
|
export const NEWLINE_HOTKEY_MODIFIER = "shiftKey";
|
|
41
41
|
|
|
42
42
|
/** Translation keys of the errors the chat itself raises. */
|
|
43
43
|
export const LOCAL_ERROR_KEYS = {
|
|
44
|
-
NOT_SENT: "
|
|
45
|
-
RETRY_NEEDS_FILES: "
|
|
46
|
-
STOP_NOT_DELIVERED: "
|
|
44
|
+
NOT_SENT: "dms_assistant.panel.errors.not_sent",
|
|
45
|
+
RETRY_NEEDS_FILES: "dms_assistant.panel.errors.retry_needs_files",
|
|
46
|
+
STOP_NOT_DELIVERED: "dms_assistant.panel.errors.stop_not_delivered",
|
|
47
47
|
} as const;
|
|
48
48
|
|
|
49
49
|
/**
|
|
@@ -20,7 +20,7 @@ export const CLIENT_MESSAGE_TYPES = {
|
|
|
20
20
|
} as const;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* Pages of the dms-
|
|
23
|
+
* Pages of the dms-assistant module the chat links to. Module pages live under
|
|
24
24
|
* `/modules/<moduleId>/<slug>`.
|
|
25
25
|
*/
|
|
26
26
|
export const SETTINGS_PAGE_PATH = "/modules/ai/settings";
|
|
@@ -35,6 +35,7 @@ export const SERVER_EVENT_TYPES = {
|
|
|
35
35
|
RUN_DONE: "run_done",
|
|
36
36
|
RUN_ERROR: "run_error",
|
|
37
37
|
RUN_RESUMED: "run_resumed",
|
|
38
|
+
CONVERSATION_CLOSED: "conversation_closed",
|
|
38
39
|
CONVERSATION_SNAPSHOT: "conversation_snapshot",
|
|
39
40
|
CONVERSATION_LIST: "conversation_list",
|
|
40
41
|
SETTINGS_UPDATE: "settings_update",
|
|
@@ -12,12 +12,12 @@ export const ACTIVITY_KINDS = {
|
|
|
12
12
|
|
|
13
13
|
/** Translation key of what a running turn shows, by reported activity. */
|
|
14
14
|
export const ACTIVITY_LABEL_KEYS: Record<ActivityKind, string> = {
|
|
15
|
-
[ACTIVITY_KINDS.THINKING]: "
|
|
16
|
-
[ACTIVITY_KINDS.RESPONDING]: "
|
|
17
|
-
[ACTIVITY_KINDS.WRITING]: "
|
|
18
|
-
[ACTIVITY_KINDS.TOOL]: "
|
|
19
|
-
[ACTIVITY_KINDS.COMPACTING]: "
|
|
20
|
-
[ACTIVITY_KINDS.RETRYING]: "
|
|
15
|
+
[ACTIVITY_KINDS.THINKING]: "dms_assistant.panel.activity.thinking",
|
|
16
|
+
[ACTIVITY_KINDS.RESPONDING]: "dms_assistant.panel.activity.responding",
|
|
17
|
+
[ACTIVITY_KINDS.WRITING]: "dms_assistant.panel.activity.writing",
|
|
18
|
+
[ACTIVITY_KINDS.TOOL]: "dms_assistant.panel.activity.tool",
|
|
19
|
+
[ACTIVITY_KINDS.COMPACTING]: "dms_assistant.panel.activity.compacting",
|
|
20
|
+
[ACTIVITY_KINDS.RETRYING]: "dms_assistant.panel.activity.retrying",
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
/** Activities whose detail names a tool, shown with the tool's own label. */
|
|
@@ -21,7 +21,6 @@ export type AllowedBy =
|
|
|
21
21
|
| "builder_auto"
|
|
22
22
|
| "approved"
|
|
23
23
|
| "rule"
|
|
24
|
-
| "full_auto"
|
|
25
24
|
| "auto_approved"
|
|
26
25
|
| "auto_denied"
|
|
27
26
|
| "blocked"
|
|
@@ -188,11 +187,6 @@ export interface QuestionSkippedNotice {
|
|
|
188
187
|
timestampMs: number;
|
|
189
188
|
}
|
|
190
189
|
|
|
191
|
-
export interface FullAutoEndedNotice {
|
|
192
|
-
kind: "full_auto_ended";
|
|
193
|
-
timestampMs: number;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
190
|
export interface ModelFallbackNotice {
|
|
197
191
|
kind: "model_fallback";
|
|
198
192
|
requestedModel: string;
|
|
@@ -210,7 +204,6 @@ export type Notice =
|
|
|
210
204
|
| AutoFixNotice
|
|
211
205
|
| PermissionExpiredNotice
|
|
212
206
|
| QuestionSkippedNotice
|
|
213
|
-
| FullAutoEndedNotice
|
|
214
207
|
| ModelFallbackNotice
|
|
215
208
|
| AutoUnavailableNotice;
|
|
216
209
|
|