@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.
Files changed (308) hide show
  1. package/README.md +4 -17
  2. package/dist/builder/config.d.ts +1 -0
  3. package/dist/builder/config.js +9 -0
  4. package/dist/builder/config.js.map +1 -1
  5. package/dist/builder/constants/routes.d.ts +1 -0
  6. package/dist/builder/constants/routes.js +1 -0
  7. package/dist/builder/constants/routes.js.map +1 -1
  8. package/dist/builder/index.js +2 -0
  9. package/dist/builder/index.js.map +1 -1
  10. package/dist/builder/reload.d.ts +2 -0
  11. package/dist/builder/reload.js +24 -0
  12. package/dist/builder/reload.js.map +1 -0
  13. package/dist/builder/routes/database.d.ts +3 -0
  14. package/dist/builder/routes/database.js +11 -0
  15. package/dist/builder/routes/database.js.map +1 -1
  16. package/dist/constants/i18n.d.ts +1 -1
  17. package/dist/constants/i18n.js +1 -1
  18. package/dist/constants/i18n.js.map +1 -1
  19. package/dist/constants/project-mcp.d.ts +0 -2
  20. package/dist/constants/project-mcp.js +1 -3
  21. package/dist/constants/project-mcp.js.map +1 -1
  22. package/dist/constants/sidecar.d.ts +6 -6
  23. package/dist/constants/sidecar.js +6 -6
  24. package/dist/constants/sidecar.js.map +1 -1
  25. package/dist/index.js +0 -2
  26. package/dist/index.js.map +1 -1
  27. package/dist/lifecycle/project-mcp-json.js +6 -37
  28. package/dist/lifecycle/project-mcp-json.js.map +1 -1
  29. package/dist/lifecycle/sidecar-unavailable-error.js +1 -1
  30. package/dist/lifecycle/sidecar-unavailable-error.js.map +1 -1
  31. package/dist/pages/activity/page.js +1 -1
  32. package/dist/pages/activity/page.js.map +1 -1
  33. package/dist/pages/changes/page.js +1 -1
  34. package/dist/pages/changes/page.js.map +1 -1
  35. package/dist/routes/activity.js +1 -1
  36. package/dist/routes/activity.js.map +1 -1
  37. package/dist/vocabulary/enumerations.js +0 -1
  38. package/dist/vocabulary/enumerations.js.map +1 -1
  39. package/dist/vocabulary/tools.js +1 -1
  40. package/dist/vocabulary/tools.js.map +1 -1
  41. package/frontend-vue/app/chat/components/AnswerRecord.vue +3 -3
  42. package/frontend-vue/app/chat/components/ApprovalDock.vue +15 -11
  43. package/frontend-vue/app/chat/components/BlockOutline.vue +10 -10
  44. package/frontend-vue/app/chat/components/BlockPreviewCard.vue +9 -7
  45. package/frontend-vue/app/chat/components/BlockPreviewModal.vue +15 -14
  46. package/frontend-vue/app/chat/components/BlockPreviewThumb.vue +1 -1
  47. package/frontend-vue/app/chat/components/BuildDialog.vue +16 -13
  48. package/frontend-vue/app/chat/components/ChangeSetCard.vue +15 -13
  49. package/frontend-vue/app/chat/components/ChatEmpty.vue +4 -4
  50. package/frontend-vue/app/chat/components/ChatView.vue +45 -101
  51. package/frontend-vue/app/chat/components/Composer.vue +42 -34
  52. package/frontend-vue/app/chat/components/ConnectionBanner.vue +6 -5
  53. package/frontend-vue/app/chat/components/ConversationDrawer.vue +33 -27
  54. package/frontend-vue/app/chat/components/DiffView.vue +1 -1
  55. package/frontend-vue/app/chat/components/FoldBar.vue +34 -28
  56. package/frontend-vue/app/chat/components/MessageList.vue +10 -10
  57. package/frontend-vue/app/chat/components/NoticeCard.vue +17 -17
  58. package/frontend-vue/app/chat/components/PanelHeader.vue +16 -15
  59. package/frontend-vue/app/chat/components/PermissionCard.vue +11 -11
  60. package/frontend-vue/app/chat/components/PlanCard.vue +5 -5
  61. package/frontend-vue/app/chat/components/ProviderNotice.vue +6 -4
  62. package/frontend-vue/app/chat/components/QuestionDock.vue +13 -10
  63. package/frontend-vue/app/chat/components/QueueDock.vue +17 -15
  64. package/frontend-vue/app/chat/components/RulesList.vue +9 -5
  65. package/frontend-vue/app/chat/components/StepsDock.vue +2 -2
  66. package/frontend-vue/app/chat/components/ToolCluster.vue +3 -3
  67. package/frontend-vue/app/chat/components/ToolRow.vue +4 -4
  68. package/frontend-vue/app/chat/components/TurnErrorCard.vue +5 -5
  69. package/frontend-vue/app/chat/components/UndoConflictModal.vue +4 -4
  70. package/frontend-vue/app/chat/components/chat-tokens.css +83 -0
  71. package/frontend-vue/app/chat/composables/useChatI18n.ts +2 -1
  72. package/frontend-vue/app/chat/composables/useComposerAttachments.ts +3 -3
  73. package/frontend-vue/app/chat/constants/conversation.ts +4 -4
  74. package/frontend-vue/app/chat/constants/protocol.ts +2 -1
  75. package/frontend-vue/app/chat/constants/run-status.ts +6 -6
  76. package/frontend-vue/app/chat/types/protocol.ts +0 -7
  77. package/frontend-vue/app/chat/utils/permission-view.ts +44 -36
  78. package/frontend-vue/app/chat/utils/status-label.ts +7 -5
  79. package/frontend-vue/app/chat/utils/suggestions.ts +9 -9
  80. package/frontend-vue/app/chat/utils/tool-lexicon.ts +4 -4
  81. package/frontend-vue/app/components/ActivityDetail.vue +15 -13
  82. package/frontend-vue/app/components/ChangesView.vue +20 -20
  83. package/frontend-vue/app/components/ChatPanel.vue +31 -31
  84. package/frontend-vue/app/components/LauncherIcon.vue +44 -38
  85. package/frontend-vue/app/components/Onboarding.vue +3 -3
  86. package/frontend-vue/app/components/OnboardingWidget.vue +8 -4
  87. package/frontend-vue/app/components/PaletteAnswer.vue +27 -23
  88. package/frontend-vue/app/onboarding/analysis-lead.ts +66 -0
  89. package/frontend-vue/app/onboarding/connect-database.ts +92 -21
  90. package/frontend-vue/app/onboarding/connect-memory.ts +204 -0
  91. package/frontend-vue/app/onboarding/controller.ts +44 -6
  92. package/frontend-vue/app/onboarding/install.ts +7 -2
  93. package/frontend-vue/app/onboarding/runtime.ts +4 -4
  94. package/frontend-vue/app/plugins/ai.client.ts +8 -8
  95. package/frontend-vue/app/plugins/side-panel.ts +1 -1
  96. package/frontend-vue/app/runtime/assistant-actions.ts +6 -4
  97. package/frontend-vue/app/runtime/assistant-commands.ts +31 -16
  98. package/frontend-vue/app/runtime/assistant-notifications.ts +17 -9
  99. package/frontend-vue/app/runtime/assistant-session.ts +1 -1
  100. package/frontend-vue/app/runtime/channel-client.ts +1 -1
  101. package/frontend-vue/app/runtime/constants.ts +11 -11
  102. package/frontend-vue/app/runtime/sidecar-status.ts +1 -1
  103. package/frontend-vue/app/views/ChangeSetPanel.vue +20 -20
  104. package/frontend-vue/app/views/DecisionLabel.vue +1 -1
  105. package/frontend-vue/app/views/DiffView.vue +6 -6
  106. package/frontend-vue/app/views/ResultPill.vue +4 -2
  107. package/frontend-vue/app/views/RowStepper.vue +3 -3
  108. package/frontend-vue/app/views/UnavailableState.vue +5 -5
  109. package/frontend-vue/app/views/composables/useAiData.ts +1 -1
  110. package/frontend-vue/app/views/composables/useChangeSetActions.ts +13 -5
  111. package/frontend-vue/app/views/composables/useViewFormat.ts +1 -1
  112. package/frontend-vue/app/views/constants.ts +0 -1
  113. package/frontend-vue/app/views/onboarding/OnboardingAi.vue +15 -15
  114. package/frontend-vue/app/views/onboarding/OnboardingAnalysis.vue +13 -13
  115. package/frontend-vue/app/views/onboarding/OnboardingClaude.vue +14 -14
  116. package/frontend-vue/app/views/onboarding/OnboardingCodex.vue +11 -11
  117. package/frontend-vue/app/views/onboarding/OnboardingConnected.vue +4 -4
  118. package/frontend-vue/app/views/onboarding/OnboardingContinue.vue +18 -18
  119. package/frontend-vue/app/views/onboarding/OnboardingDatabase.vue +37 -33
  120. package/frontend-vue/app/views/onboarding/OnboardingDontShow.vue +1 -1
  121. package/frontend-vue/app/views/onboarding/OnboardingPaths.vue +7 -7
  122. package/frontend-vue/app/views/onboarding/OnboardingReady.vue +5 -5
  123. package/frontend-vue/app/views/onboarding/OnboardingScratch.vue +9 -9
  124. package/frontend-vue/app/views/onboarding/OnboardingWelcome.vue +11 -11
  125. package/frontend-vue/app/views/onboarding/login-text.ts +6 -6
  126. package/frontend-vue/app/views/types.ts +0 -1
  127. package/frontend-vue/app/views/utils/moment.ts +2 -2
  128. package/frontend-vue/builder/app/runtime/api.ts +2 -0
  129. package/frontend-vue/builder/app/runtime/database-build.ts +23 -1
  130. package/frontend-vue/builder/app/runtime/database-connect.ts +5 -0
  131. package/frontend-vue/builder/tests/database-connect.test.ts +1 -1
  132. package/frontend-vue/dms.frontend.ts +2 -2
  133. package/frontend-vue/i18n/locales/builder-en-GB.json +1 -1
  134. package/frontend-vue/i18n/locales/builder-fr-FR.json +1 -1
  135. package/frontend-vue/i18n/locales/{dms-ai-pages-en-GB.json → dms-assistant-pages-en-GB.json} +2 -3
  136. package/frontend-vue/i18n/locales/{dms-ai-pages-fr-FR.json → dms-assistant-pages-fr-FR.json} +2 -3
  137. package/frontend-vue/i18n/locales/{dms-ai-panel-en-GB.json → dms-assistant-panel-en-GB.json} +1 -2
  138. package/frontend-vue/i18n/locales/{dms-ai-panel-fr-FR.json → dms-assistant-panel-fr-FR.json} +1 -2
  139. package/frontend-vue/i18n/locales/{dms-ai-views-en-GB.json → dms-assistant-views-en-GB.json} +2 -3
  140. package/frontend-vue/i18n/locales/{dms-ai-views-fr-FR.json → dms-assistant-views-fr-FR.json} +2 -3
  141. package/frontend-vue/package.json +2 -2
  142. package/frontend-vue/pnpm-lock.yaml +71 -21
  143. package/frontend-vue/tests/chat/block-target.test.ts +1 -1
  144. package/frontend-vue/tests/chat/build-view.test.ts +9 -5
  145. package/frontend-vue/tests/chat/chat-scroll.test.ts +1 -1
  146. package/frontend-vue/tests/chat/held-card.test.ts +2 -2
  147. package/frontend-vue/tests/chat/provider-notice.test.ts +1 -1
  148. package/frontend-vue/tests/chat/tool-lexicon.test.ts +16 -10
  149. package/frontend-vue/tests/chat-panel.test.ts +10 -10
  150. package/frontend-vue/tests/chat-transport.test.ts +1 -1
  151. package/frontend-vue/tests/launcher-icon.test.ts +1 -1
  152. package/frontend-vue/tests/launcher-label.test.ts +40 -0
  153. package/frontend-vue/tests/onboarding-connect-memory.test.ts +126 -0
  154. package/frontend-vue/tests/onboarding-controller-restart.test.ts +134 -0
  155. package/frontend-vue/tests/onboarding-controller.test.ts +58 -0
  156. package/frontend-vue/tests/onboarding-database-engines.test.ts +2 -2
  157. package/frontend-vue/tests/onboarding-database-new-url.test.ts +174 -0
  158. package/frontend-vue/tests/onboarding-database-reload.test.ts +229 -0
  159. package/frontend-vue/tests/onboarding-database-tabs.test.ts +184 -0
  160. package/frontend-vue/tests/onboarding-database.test.ts +13 -118
  161. package/frontend-vue/tests/palette-assistant.test.ts +8 -8
  162. package/frontend-vue/tests/panel-approvals.test.ts +1 -1
  163. package/frontend-vue/tests/panel-closed-conversation.test.ts +53 -0
  164. package/frontend-vue/tests/panel-mockup-prompt.test.ts +2 -2
  165. package/frontend-vue/tests/panel-modes.test.ts +1 -16
  166. package/frontend-vue/tests/panel-questions.test.ts +1 -1
  167. package/frontend-vue/tests/panel-states.test.ts +1 -1
  168. package/frontend-vue/tests/panel-tools.test.ts +2 -2
  169. package/frontend-vue/tests/sidecar-guest.test.ts +1 -1
  170. package/frontend-vue/tests/support/api-error-presenter.ts +4 -2
  171. package/frontend-vue/tests/support/database-connect.ts +129 -0
  172. package/frontend-vue/tests/support/i18n.ts +1 -1
  173. package/frontend-vue/tests/support/onboarding-host.ts +1 -0
  174. package/frontend-vue/tests/support/onboarding.ts +29 -1
  175. package/frontend-vue/tests/views/api-data-reads.test.ts +7 -3
  176. package/frontend-vue/tests/views/diff-view.test.ts +4 -2
  177. package/package.json +5 -8
  178. package/sidecar/dist/agent/permission-bus.d.ts +1 -0
  179. package/sidecar/dist/agent/permission-bus.js +1 -0
  180. package/sidecar/dist/agent/permission-bus.js.map +1 -1
  181. package/sidecar/dist/agent/question-bus.d.ts +1 -0
  182. package/sidecar/dist/agent/question-bus.js +3 -0
  183. package/sidecar/dist/agent/question-bus.js.map +1 -1
  184. package/sidecar/dist/audit/activity-query.js +0 -1
  185. package/sidecar/dist/audit/activity-query.js.map +1 -1
  186. package/sidecar/dist/audit/activity.js +11 -3
  187. package/sidecar/dist/audit/activity.js.map +1 -1
  188. package/sidecar/dist/constants/audit.d.ts +1 -1
  189. package/sidecar/dist/constants/audit.js +0 -1
  190. package/sidecar/dist/constants/audit.js.map +1 -1
  191. package/sidecar/dist/constants/chatgpt.d.ts +7 -7
  192. package/sidecar/dist/constants/chatgpt.js +6 -6
  193. package/sidecar/dist/constants/chatgpt.js.map +1 -1
  194. package/sidecar/dist/constants/checkpoints.d.ts +2 -2
  195. package/sidecar/dist/constants/checkpoints.js +2 -2
  196. package/sidecar/dist/constants/checkpoints.js.map +1 -1
  197. package/sidecar/dist/constants/codex.d.ts +9 -9
  198. package/sidecar/dist/constants/codex.js +8 -8
  199. package/sidecar/dist/constants/codex.js.map +1 -1
  200. package/sidecar/dist/constants/daemon.d.ts +2 -2
  201. package/sidecar/dist/constants/daemon.js +2 -2
  202. package/sidecar/dist/constants/daemon.js.map +1 -1
  203. package/sidecar/dist/constants/env.d.ts +1 -1
  204. package/sidecar/dist/constants/env.js +1 -1
  205. package/sidecar/dist/constants/env.js.map +1 -1
  206. package/sidecar/dist/constants/mcp.d.ts +4 -4
  207. package/sidecar/dist/constants/mcp.js +2 -2
  208. package/sidecar/dist/constants/mcp.js.map +1 -1
  209. package/sidecar/dist/constants/paths.d.ts +1 -1
  210. package/sidecar/dist/constants/paths.js +5 -1
  211. package/sidecar/dist/constants/paths.js.map +1 -1
  212. package/sidecar/dist/constants/preview.d.ts +2 -2
  213. package/sidecar/dist/constants/preview.js +2 -17
  214. package/sidecar/dist/constants/preview.js.map +1 -1
  215. package/sidecar/dist/constants/providers.d.ts +2 -2
  216. package/sidecar/dist/constants/providers.js +2 -2
  217. package/sidecar/dist/constants/providers.js.map +1 -1
  218. package/sidecar/dist/constants/settings.d.ts +1 -1
  219. package/sidecar/dist/constants/settings.js +1 -1
  220. package/sidecar/dist/constants/settings.js.map +1 -1
  221. package/sidecar/dist/constants/skills.d.ts +1 -1
  222. package/sidecar/dist/constants/skills.js +1 -1
  223. package/sidecar/dist/constants/skills.js.map +1 -1
  224. package/sidecar/dist/constants/state.d.ts +2 -1
  225. package/sidecar/dist/constants/state.js +2 -1
  226. package/sidecar/dist/constants/state.js.map +1 -1
  227. package/sidecar/dist/constants/tool-titles.d.ts +0 -40
  228. package/sidecar/dist/constants/tool-titles.js +0 -42
  229. package/sidecar/dist/constants/tool-titles.js.map +1 -1
  230. package/sidecar/dist/index.js +5 -6
  231. package/sidecar/dist/index.js.map +1 -1
  232. package/sidecar/dist/mcp/tools/preview-blocks.js +24 -19
  233. package/sidecar/dist/mcp/tools/preview-blocks.js.map +1 -1
  234. package/sidecar/dist/mcp/types.d.ts +1 -1
  235. package/sidecar/dist/prompts/agent.js +1 -1
  236. package/sidecar/dist/prompts/agent.js.map +1 -1
  237. package/sidecar/dist/protocol/events.d.ts +10 -28
  238. package/sidecar/dist/protocol/events.js +7 -5
  239. package/sidecar/dist/protocol/events.js.map +1 -1
  240. package/sidecar/dist/protocol/preview.js +1 -1
  241. package/sidecar/dist/protocol/preview.js.map +1 -1
  242. package/sidecar/dist/providers/codex/permission-profiles.d.ts +1 -1
  243. package/sidecar/dist/providers/codex/permission-profiles.js +1 -1
  244. package/sidecar/dist/providers/codex/permission-profiles.js.map +1 -1
  245. package/sidecar/dist/server/chat-socket-registry.d.ts +1 -0
  246. package/sidecar/dist/server/chat-socket-registry.js +14 -0
  247. package/sidecar/dist/server/chat-socket-registry.js.map +1 -1
  248. package/sidecar/dist/server/host-command-router.d.ts +9 -2
  249. package/sidecar/dist/server/host-command-router.js +5 -2
  250. package/sidecar/dist/server/host-command-router.js.map +1 -1
  251. package/sidecar/dist/server/host-page.d.ts +3 -0
  252. package/sidecar/dist/server/host-page.js +5 -0
  253. package/sidecar/dist/server/host-page.js.map +1 -0
  254. package/sidecar/dist/server/host-socket-registry.d.ts +1 -1
  255. package/sidecar/dist/server/host-socket-registry.js +6 -6
  256. package/sidecar/dist/server/host-socket-registry.js.map +1 -1
  257. package/sidecar/dist/server/routing.js +62 -20
  258. package/sidecar/dist/server/routing.js.map +1 -1
  259. package/sidecar/dist/server/turns.js +11 -3
  260. package/sidecar/dist/server/turns.js.map +1 -1
  261. package/sidecar/dist/server/ws.js +10 -2
  262. package/sidecar/dist/server/ws.js.map +1 -1
  263. package/sidecar/dist/skills/plugin-wrapper.js +1 -1
  264. package/sidecar/dist/skills/plugin-wrapper.js.map +1 -1
  265. package/sidecar/dist/state/conversations.d.ts +3 -1
  266. package/sidecar/dist/state/conversations.js +54 -3
  267. package/sidecar/dist/state/conversations.js.map +1 -1
  268. package/sidecar/dist/state/host-state.d.ts +2 -2
  269. package/sidecar/dist/state/host-state.js +6 -6
  270. package/sidecar/dist/state/host-state.js.map +1 -1
  271. package/sidecar/dist/state/settings-store.js +1 -14
  272. package/sidecar/dist/state/settings-store.js.map +1 -1
  273. package/sidecar/dist/state/store.d.ts +1 -0
  274. package/sidecar/dist/state/store.js +16 -9
  275. package/sidecar/dist/state/store.js.map +1 -1
  276. package/sidecar/dist/state/stored-schemas.js +0 -4
  277. package/sidecar/dist/state/stored-schemas.js.map +1 -1
  278. package/sidecar/dist/state/types.d.ts +2 -5
  279. package/sidecar/dist/state/types.js.map +1 -1
  280. package/sidecar/package.json +3 -2
  281. package/skills/{dms-ai → dms-assistant}/SKILL.md +6 -6
  282. package/skills/{dms-ai → dms-assistant}/cases.json +13 -13
  283. package/skills/{dms-ai-code-mode → dms-assistant-code-mode}/SKILL.md +7 -7
  284. package/skills/{dms-ai-code-mode → dms-assistant-code-mode}/cases.json +11 -11
  285. package/dist/lifecycle/builder-settings-move.d.ts +0 -1
  286. package/dist/lifecycle/builder-settings-move.js +0 -182
  287. package/dist/lifecycle/builder-settings-move.js.map +0 -1
  288. package/dist/lifecycle/builder-settings-plan.d.ts +0 -59
  289. package/dist/lifecycle/builder-settings-plan.js +0 -176
  290. package/dist/lifecycle/builder-settings-plan.js.map +0 -1
  291. package/dist/lifecycle/builder-settings-text.d.ts +0 -19
  292. package/dist/lifecycle/builder-settings-text.js +0 -82
  293. package/dist/lifecycle/builder-settings-text.js.map +0 -1
  294. package/dist/lifecycle/entry-verdict.d.ts +0 -15
  295. package/dist/lifecycle/entry-verdict.js +0 -30
  296. package/dist/lifecycle/entry-verdict.js.map +0 -1
  297. package/dist/lifecycle/environment-bindings.d.ts +0 -8
  298. package/dist/lifecycle/environment-bindings.js +0 -154
  299. package/dist/lifecycle/environment-bindings.js.map +0 -1
  300. package/dist/lifecycle/legacy-entries.d.ts +0 -8
  301. package/dist/lifecycle/legacy-entries.js +0 -126
  302. package/dist/lifecycle/legacy-entries.js.map +0 -1
  303. package/sidecar/dist/mcp/sketch-refusals.d.ts +0 -2
  304. package/sidecar/dist/mcp/sketch-refusals.js +0 -6
  305. package/sidecar/dist/mcp/sketch-refusals.js.map +0 -1
  306. package/sidecar/dist/state/legacy-tool-names.d.ts +0 -3
  307. package/sidecar/dist/state/legacy-tool-names.js +0 -34
  308. package/sidecar/dist/state/legacy-tool-names.js.map +0 -1
@@ -96,6 +96,8 @@ export function useBuilderApi() {
96
96
  /** Writes the connection's new URL into `.env`; one with no password keeps the current one. */
97
97
  setConnectionUrl: (connection: string, url: string) =>
98
98
  post<{ variable: string }>('/database/connection/url', { connection, url }),
99
+ /** Whether the project's `.env` changed since the running project loaded it: a restart is due to load it. */
100
+ reloadDue: () => get<{ due: boolean }>('/database/reload'),
99
101
  /** A few rows for the integrator to look at, held in the panel and nowhere else. */
100
102
  sampleRows: (connection: string, relation: string, limit: number) =>
101
103
  $authFetch<RowSample>(`${API_PREFIX}/database/sample`, {
@@ -68,6 +68,8 @@ export interface BuildView {
68
68
  gaveUp: boolean
69
69
  /** The project answered for {@link RESTART_AFTER_MS} without loading the connection. */
70
70
  restartNeeded: boolean
71
+ /** The project answered that it does not declare the connection. */
72
+ undeclared: boolean
71
73
  /** The connection is listed with an error: step 3 failed with it. */
72
74
  connectionError?: string
73
75
  /** The analysis asks which schemas to read before anything else. */
@@ -127,8 +129,27 @@ async function readAnalysis(
127
129
  }
128
130
  }
129
131
 
130
- /** Reads the three answers the screen derives from. A request that failed counts as reloading. */
132
+ async function readReloadDue(api: ReturnType<typeof useBuilderApi>): Promise<boolean | Unreachable> {
133
+ try {
134
+ return (await api.reloadDue()).due
135
+ } catch {
136
+ return UNREACHABLE
137
+ }
138
+ }
139
+
140
+ /**
141
+ * Reads the three answers the screen derives from. A request that failed counts as reloading. While
142
+ * the project's `.env` changed since the running project loaded it, the connection it serves is the
143
+ * old `.env`'s: it counts as not loaded yet, and its analysis as none.
144
+ */
131
145
  export async function readBuild(api: ReturnType<typeof useBuilderApi>, connection: string): Promise<BuildAnswers> {
146
+ const due = await readReloadDue(api)
147
+ if (due === UNREACHABLE) {
148
+ return { declared: UNREACHABLE, listed: UNREACHABLE, analysis: UNREACHABLE }
149
+ }
150
+ if (due) {
151
+ return { ...(await readDeclared(api, connection)), listed: null, analysis: null }
152
+ }
132
153
  const [wiring, listed, analysis] = await Promise.all([
133
154
  readDeclared(api, connection),
134
155
  readListed(api, connection),
@@ -256,6 +277,7 @@ export function buildState(answers: BuildAnswers, reloadingFor = 0): BuildView {
256
277
  reload,
257
278
  gaveUp,
258
279
  restartNeeded,
280
+ undeclared: answers.declared === false,
259
281
  connectionError: !reloading ? entry?.error : undefined,
260
282
  schemas,
261
283
  needsAnalysis: connected && !analysis,
@@ -93,6 +93,11 @@ function defaultNames(name: string): ManagedNames {
93
93
  }
94
94
  }
95
95
 
96
+ /** The tables module the builder names after a connection id when no name is overridden. */
97
+ export function tablesModuleOf(connection: string): string {
98
+ return defaultNames(connection).tablesModule
99
+ }
100
+
96
101
  export function managedNames(form: ConnectForm): ManagedNames {
97
102
  return { ...defaultNames(form.name), ...form.overrides }
98
103
  }
@@ -177,7 +177,7 @@ describe('the wiring of a database', () => {
177
177
  })
178
178
 
179
179
  it('never carries the connection details into the configuration', () => {
180
- expect(JSON.stringify(connectSteps(form(), project({ modules: ['dms-ai'] }), POSTGRES_DRIVER))).not.toMatch(
180
+ expect(JSON.stringify(connectSteps(form(), project({ modules: ['dms-assistant'] }), POSTGRES_DRIVER))).not.toMatch(
181
181
  /s3cret|db\.example|postgres:\/\//,
182
182
  )
183
183
  })
@@ -20,8 +20,8 @@ function componentName(path: string): string {
20
20
 
21
21
  const frontendModule: DmsFrontendModule = {
22
22
  // Put in front of every name registered below: StatusCard.vue registers as
23
- // DmsAiStatusCard, the name the backend's CustomComponent() sends.
24
- componentPrefix: "DmsAi",
23
+ // DmsAssistantStatusCard, the name the backend's CustomComponent() sends.
24
+ componentPrefix: "DmsAssistant",
25
25
  setup(sdk) {
26
26
  Object.entries(components)
27
27
  .sort(([left], [right]) => left.localeCompare(right))
@@ -13,7 +13,7 @@
13
13
  "title": "Reloading the project",
14
14
  "gave_up": "The project did not come back within 3 minutes. Restart it by hand: stop the process running the project, then start it again.",
15
15
  "running": "The project reloads to load the connection. This takes about 15 seconds.",
16
- "restart": "The project runs but has not loaded the connection: it reloads by itself only under ajs project dev -w. Stop the process running the project, then start it again with ajs project dev -w and connect again."
16
+ "restart": "The project runs but has not loaded the connection: it reloads by itself only under ajs project dev -w. Stop the process running the project, then start it again with ajs project dev -w."
17
17
  },
18
18
  "connect": {
19
19
  "title": "Connecting"
@@ -13,7 +13,7 @@
13
13
  "title": "Rechargement du projet",
14
14
  "gave_up": "Le projet n’est pas revenu en 3 minutes. Redémarrez-le à la main : arrêtez le processus qui exécute le projet, puis relancez-le.",
15
15
  "running": "Le projet se recharge pour charger la connexion. Cela prend environ 15 secondes.",
16
- "restart": "Le projet tourne mais n’a pas chargé la connexion : il ne se recharge seul que sous ajs project dev -w. Arrêtez le processus qui exécute le projet, puis relancez-le avec ajs project dev -w et reconnectez la base."
16
+ "restart": "Le projet tourne mais n’a pas chargé la connexion : il ne se recharge seul que sous ajs project dev -w. Arrêtez le processus qui exécute le projet, puis relancez-le avec ajs project dev -w."
17
17
  },
18
18
  "connect": {
19
19
  "title": "Connexion"
@@ -1,5 +1,5 @@
1
1
  {
2
- "dms_ai": {
2
+ "dms_assistant": {
3
3
  "module": {
4
4
  "title": "Assistant",
5
5
  "description": "The AI assistant: its settings, what you can undo and what it did"
@@ -139,7 +139,6 @@
139
139
  "builder_auto": "Builder, automatic",
140
140
  "approved": "Approved by you",
141
141
  "rule": "Allowed by a rule",
142
- "full_auto": "Full auto",
143
142
  "auto_approved": "Allowed by Auto review",
144
143
  "auto_denied": "Blocked by Auto review",
145
144
  "blocked": "Blocked · safe mode",
@@ -267,7 +266,7 @@
267
266
  },
268
267
  "sign_out_confirm": {
269
268
  "title": "Sign out of ChatGPT?",
270
- "description": "Codex stops working on every DMS project of this machine until you sign in again. To remove dms-ai from your ChatGPT account entirely, disconnect it in ChatGPT's settings."
269
+ "description": "Codex stops working on every DMS project of this machine until you sign in again. To remove dms-assistant from your ChatGPT account entirely, disconnect it in ChatGPT's settings."
271
270
  },
272
271
  "signed_out_toast": "Signed out of ChatGPT",
273
272
  "paste": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "dms_ai": {
2
+ "dms_assistant": {
3
3
  "module": {
4
4
  "title": "Assistant",
5
5
  "description": "L'assistant IA : ses réglages, ce que vous pouvez annuler et ce qu'il a fait"
@@ -139,7 +139,6 @@
139
139
  "builder_auto": "Builder, automatique",
140
140
  "approved": "Autorisée par vous",
141
141
  "rule": "Autorisée par une règle",
142
- "full_auto": "Automatique complet",
143
142
  "auto_approved": "Autorisé par la revue automatique",
144
143
  "auto_denied": "Bloqué par la revue automatique",
145
144
  "blocked": "Bloquée · mode sûr",
@@ -267,7 +266,7 @@
267
266
  },
268
267
  "sign_out_confirm": {
269
268
  "title": "Se déconnecter de ChatGPT ?",
270
- "description": "Codex ne fonctionnera plus sur aucun projet DMS de cette machine tant que vous ne vous reconnecterez pas. Pour retirer complètement dms-ai de votre compte ChatGPT, déconnectez-le dans les réglages de ChatGPT."
269
+ "description": "Codex ne fonctionnera plus sur aucun projet DMS de cette machine tant que vous ne vous reconnecterez pas. Pour retirer complètement dms-assistant de votre compte ChatGPT, déconnectez-le dans les réglages de ChatGPT."
271
270
  },
272
271
  "signed_out_toast": "Déconnecté de ChatGPT",
273
272
  "paste": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "dms_ai": {
2
+ "dms_assistant": {
3
3
  "common": {
4
4
  "agent": {
5
5
  "claude": "Claude Code",
@@ -149,7 +149,6 @@
149
149
  "expired_title": "{tool} request expired.",
150
150
  "expired_text": "“{summary}” was not answered in time, so it was denied at {time} and the assistant was told why.",
151
151
  "question_skipped": "You let the assistant decide “{header}”.",
152
- "full_auto_ended": "Full auto ended at {time}. The assistant asks first again.",
153
152
  "auto_unavailable_title": "Auto review isn't available here.",
154
153
  "auto_unavailable_text": "{model}, this plan or a setting doesn't allow it. This chat asks first instead.",
155
154
  "model_fallback_title": "Switched to {model}.",
@@ -1,5 +1,5 @@
1
1
  {
2
- "dms_ai": {
2
+ "dms_assistant": {
3
3
  "common": {
4
4
  "agent": {
5
5
  "claude": "Claude Code",
@@ -149,7 +149,6 @@
149
149
  "expired_title": "Demande « {tool} » expirée.",
150
150
  "expired_text": "« {summary} » est restée sans réponse : elle a été refusée à {time} et l'assistant en a été informé.",
151
151
  "question_skipped": "Vous avez laissé l'assistant décider pour « {header} ».",
152
- "full_auto_ended": "Le mode automatique complet a pris fin à {time}. L'assistant redemande avant d'agir.",
153
152
  "auto_unavailable_title": "La revue automatique n'est pas disponible ici.",
154
153
  "auto_unavailable_text": "{model}, votre offre ou un réglage ne la permet pas. Dans cette conversation, l'assistant demande avant d'agir.",
155
154
  "model_fallback_title": "Passage à {model}.",
@@ -1,5 +1,5 @@
1
1
  {
2
- "dms_ai": {
2
+ "dms_assistant": {
3
3
  "views": {
4
4
  "common": {
5
5
  "load_more": "Load more",
@@ -48,7 +48,6 @@
48
48
  "builder_auto": "Builder, automatic",
49
49
  "approved": "Approved by you",
50
50
  "rule": "Allowed by a rule",
51
- "full_auto": "Full auto",
52
51
  "auto_approved": "Allowed by Auto review",
53
52
  "auto_denied": "Blocked by Auto review",
54
53
  "blocked": "Blocked · safe mode",
@@ -281,7 +280,7 @@
281
280
  "schema_failed": "The schema could not be read: {error}",
282
281
  "empty": "No table this user can read.",
283
282
  "gave_up": "The project did not come back. Restart it, then reopen this window.",
284
- "restart": "Restart the project to load the connection: without -w, ajs project dev does not reload it. Stop the project, run ajs project dev -w, then connect again."
283
+ "restart": "Restart the project to load the connection: without -w, ajs project dev does not reload it. Stop the project, then run ajs project dev -w."
285
284
  },
286
285
  "analysis": {
287
286
  "title": "Here’s what’s in",
@@ -1,5 +1,5 @@
1
1
  {
2
- "dms_ai": {
2
+ "dms_assistant": {
3
3
  "views": {
4
4
  "common": {
5
5
  "load_more": "Charger plus",
@@ -48,7 +48,6 @@
48
48
  "builder_auto": "Builder, automatique",
49
49
  "approved": "Autorisé par vous",
50
50
  "rule": "Autorisé par une règle",
51
- "full_auto": "Automatique complet",
52
51
  "auto_approved": "Autorisé par la revue automatique",
53
52
  "auto_denied": "Bloqué par la revue automatique",
54
53
  "blocked": "Bloqué · mode sûr",
@@ -281,7 +280,7 @@
281
280
  "schema_failed": "Le schéma n’a pas pu être lu : {error}",
282
281
  "empty": "Aucune table lisible par cet utilisateur.",
283
282
  "gave_up": "Le projet n’a pas redémarré. Relancez-le, puis rouvrez cette fenêtre.",
284
- "restart": "Redémarrez le projet pour charger la connexion : sans -w, ajs project dev ne le recharge pas. Arrêtez le projet, lancez ajs project dev -w, puis reconnectez la base."
283
+ "restart": "Redémarrez le projet pour charger la connexion : sans -w, ajs project dev ne le recharge pas. Arrêtez le projet, puis lancez ajs project dev -w."
285
284
  },
286
285
  "analysis": {
287
286
  "title": "Voici le contenu de",
@@ -14,7 +14,7 @@
14
14
  "typecheck:chat": "vue-tsc --noEmit -p tsconfig.chat.json",
15
15
  "verify-source": "ajs dms verify-source --layer \"$PWD/node_modules/@antelopejs/dms/frontend-vue\" --module \"$PWD\"",
16
16
  "format": "prettier --write .",
17
- "lint": "eslint . && prettier --check .",
17
+ "lint": "eslint . && prettier --check . && node --input-type=module -e \"import { assertDmsComponents } from '@antelopejs/dms/checks/dms-components'; await assertDmsComponents({ layer: '.', sources: ['../src'] });\"",
18
18
  "lint:fix": "eslint . --fix && prettier --write .",
19
19
  "test": "vitest run --passWithNoTests && vitest run --config builder/vitest.config.ts"
20
20
  },
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@antelopejs/core": "~1.23.2",
32
- "@antelopejs/dms": ">=0.20.0 <0.21.0",
32
+ "@antelopejs/dms": ">=0.20.1 <0.21.0",
33
33
  "@antelopejs/dms-frontend": ">=0.11.1 <0.12.0",
34
34
  "@antelopejs/interface-api": ">=0.3.3 <0.4.0",
35
35
  "@antelopejs/interface-api-util": ">=0.3.2 <0.4.0",
@@ -34,8 +34,8 @@ importers:
34
34
  specifier: ~1.23.2
35
35
  version: 1.23.2
36
36
  '@antelopejs/dms':
37
- specifier: '>=0.20.0 <0.21.0'
38
- version: 0.20.0(@antelopejs/core@1.23.2)(bare-buffer@3.7.1)(typescript@5.9.3)
37
+ specifier: '>=0.20.1 <0.21.0'
38
+ version: 0.20.1(@antelopejs/core@1.23.2)(bare-buffer@3.7.1)(typescript@5.9.3)
39
39
  '@antelopejs/dms-frontend':
40
40
  specifier: '>=0.11.1 <0.12.0'
41
41
  version: 0.11.1(@antelopejs/core@1.23.2)
@@ -114,11 +114,12 @@ packages:
114
114
  peerDependencies:
115
115
  '@antelopejs/core': ~1.23.0
116
116
 
117
- '@antelopejs/dms@0.20.0':
118
- resolution: {integrity: sha512-I1ZuIqZ4gkg43CAsGWsfXV4otKle1f3lOQvfaO4hL5kK2O5/BUtnbuZzGtL6hv9amWYK6VVAnffArp/S9MVbPQ==}
117
+ '@antelopejs/dms@0.20.1':
118
+ resolution: {integrity: sha512-syyuXLfNu3JRVSA4H/JQ1728yQoZRkcHl7EdLxBB0XnNH/Kl/fSyyQ59u7RzBP1b8Ntn3xD8ASkcLp8rEwO9AQ==}
119
+ engines: {node: ^20.19.0 || >=22.12.0}
119
120
  hasBin: true
120
121
  peerDependencies:
121
- '@antelopejs/core': '>=1.23.0 <2'
122
+ '@antelopejs/core': ~1.23.0
122
123
  mongodb: ^6.21.0 || ^7.0.0
123
124
  mysql2: ^3.24.6
124
125
  pg: ^8.22.0
@@ -178,10 +179,10 @@ packages:
178
179
  peerDependencies:
179
180
  '@antelopejs/interface-core': '>=0.2.4 <1.0.0'
180
181
 
181
- '@antelopejs/interface-dms-automation@0.6.2':
182
- resolution: {integrity: sha512-MdF7aTCMq7NQbrrjWTc3OStxtMp8SKqZvIsvVdnBTo3q06T9C5SOHcEicMPCDT6xYuVRXggLL0dLWuheWLr0IQ==}
182
+ '@antelopejs/interface-dms-automation@0.7.0':
183
+ resolution: {integrity: sha512-huGVCIDoJVkpT939wo4yWNYtyuy887QvcuXI9XjwuvYiWXdwNWiDLgs1lIulvkNGc+cf0ZUHYEpERuhhWPcHcQ==}
183
184
  peerDependencies:
184
- '@antelopejs/interface-core': '>=0.2.4 <1.0.0'
185
+ '@antelopejs/interface-core': '>=0.5.1 <0.6.0'
185
186
 
186
187
  '@antelopejs/interface-dms-builder@0.5.1':
187
188
  resolution: {integrity: sha512-qNgJeAaCymkMUG2z0wNKGHAHsQXEnp1hU7zuEg+HPjtxHaHtMr6086nji82OEpQyt79VYSGata1tszm3L0/M9A==}
@@ -199,10 +200,10 @@ packages:
199
200
  '@antelopejs/interface-database-decorators': '>=0.5.2 <0.6.0'
200
201
  '@antelopejs/interface-file-storage': '>=0.1.4 <1.0.0'
201
202
 
202
- '@antelopejs/interface-email@0.2.0':
203
- resolution: {integrity: sha512-+MF/JZADoa0UPZQM7FICM+rjg9Sg9tzb+SjpXkIu0Df2lPv8QVEI021lCCAHecb8rXjUP+9unWCwKRsBytKVVg==}
203
+ '@antelopejs/interface-email@0.2.1':
204
+ resolution: {integrity: sha512-qVCJE7dBX90HYSvXXnD4VIEgUn7ZL3FMt8q/BDuNscUcl5pczMb6o480Hyecdsd8c3T1/28n9+1JhM026d8XEQ==}
204
205
  peerDependencies:
205
- '@antelopejs/interface-core': '>=0.2.4 <1.0.0'
206
+ '@antelopejs/interface-core': '>=0.5.1 <0.6.0'
206
207
 
207
208
  '@antelopejs/interface-file-storage@0.1.7':
208
209
  resolution: {integrity: sha512-3oM35OjziFFm+VFERcbt5/J/LDODBBK5UoNIxuMnW/t8lff6GdERCsNOl4Gkq5vKhG/83qAk4Cyy6qedxecviQ==}
@@ -670,12 +671,14 @@ packages:
670
671
  engines: {node: ^20.19.0 || >=22.12.0}
671
672
  cpu: [arm64]
672
673
  os: [linux]
674
+ libc: [glibc]
673
675
 
674
676
  '@oxc-parser/binding-linux-x64-gnu@0.95.0':
675
677
  resolution: {integrity: sha512-8huzHlK/N98wrnYKxIcYsK8ZGBWomQchu/Mzi6m+CtbhjWOv9DmK0jQ2fUWImtluQVpTwS0uZT06d3g7XIkJrA==}
676
678
  engines: {node: ^20.19.0 || >=22.12.0}
677
679
  cpu: [x64]
678
680
  os: [linux]
681
+ libc: [glibc]
679
682
 
680
683
  '@oxc-parser/binding-win32-x64-msvc@0.95.0':
681
684
  resolution: {integrity: sha512-BQpgl7rDjFvCIHudmUR0dCwc4ylBYZl4CPVinlD3NhkMif4WD5dADckoo5ES/KOpFyvwcbKZX+grP63cjHi26g==}
@@ -728,66 +731,79 @@ packages:
728
731
  resolution: {integrity: sha512-DV6fJoxEYWJOvaZIsok7KrYl0tPvga5OZ2yvKHNNYyk/2roMLqQAbGhr78EQ5YhHpnhLKJD3S1WFusAkmUuV5g==}
729
732
  cpu: [arm]
730
733
  os: [linux]
734
+ libc: [glibc]
731
735
 
732
736
  '@rollup/rollup-linux-arm-musleabihf@4.60.3':
733
737
  resolution: {integrity: sha512-mQKoJAzvuOs6F+TZybQO4GOTSMUu7v0WdxEk24krQ/uUxXoPTtHjuaUuPmFhtBcM4K0ons8nrE3JyhTuCFtT/w==}
734
738
  cpu: [arm]
735
739
  os: [linux]
740
+ libc: [musl]
736
741
 
737
742
  '@rollup/rollup-linux-arm64-gnu@4.60.3':
738
743
  resolution: {integrity: sha512-Whjj2qoiJ6+OOJMGptTYazaJvjOJm+iKHpXQM1P3LzGjt7Ff++Tp7nH4N8J/BUA7R9IHfDyx4DJIflifwnbmIA==}
739
744
  cpu: [arm64]
740
745
  os: [linux]
746
+ libc: [glibc]
741
747
 
742
748
  '@rollup/rollup-linux-arm64-musl@4.60.3':
743
749
  resolution: {integrity: sha512-4YTNHKqGng5+yiZt3mg77nmyuCfmNfX4fPmyUapBcIk+BdwSwmCWGXOUxhXbBEkFHtoN5boLj/5NON+u5QC9tg==}
744
750
  cpu: [arm64]
745
751
  os: [linux]
752
+ libc: [musl]
746
753
 
747
754
  '@rollup/rollup-linux-loong64-gnu@4.60.3':
748
755
  resolution: {integrity: sha512-SU3kNlhkpI4UqlUc2VXPGK9o886ZsSeGfMAX2ba2b8DKmMXq4AL7KUrkSWVbb7koVqx41Yczx6dx5PNargIrEA==}
749
756
  cpu: [loong64]
750
757
  os: [linux]
758
+ libc: [glibc]
751
759
 
752
760
  '@rollup/rollup-linux-loong64-musl@4.60.3':
753
761
  resolution: {integrity: sha512-6lDLl5h4TXpB1mTf2rQWnAk/LcXrx9vBfu/DT5TIPhvMhRWaZ5MxkIc8u4lJAmBo6klTe1ywXIUHFjylW505sg==}
754
762
  cpu: [loong64]
755
763
  os: [linux]
764
+ libc: [musl]
756
765
 
757
766
  '@rollup/rollup-linux-ppc64-gnu@4.60.3':
758
767
  resolution: {integrity: sha512-BMo8bOw8evlup/8G+cj5xWtPyp93xPdyoSN16Zy90Q2QZ0ZYRhCt6ZJSwbrRzG9HApFabjwj2p25TUPDWrhzqQ==}
759
768
  cpu: [ppc64]
760
769
  os: [linux]
770
+ libc: [glibc]
761
771
 
762
772
  '@rollup/rollup-linux-ppc64-musl@4.60.3':
763
773
  resolution: {integrity: sha512-E0L8X1dZN1/Rph+5VPF6Xj2G7JJvMACVXtamTJIDrVI44Y3K+G8gQaMEAavbqCGTa16InptiVrX6eM6pmJ+7qA==}
764
774
  cpu: [ppc64]
765
775
  os: [linux]
776
+ libc: [musl]
766
777
 
767
778
  '@rollup/rollup-linux-riscv64-gnu@4.60.3':
768
779
  resolution: {integrity: sha512-oZJ/WHaVfHUiRAtmTAeo3DcevNsVvH8mbvodjZy7D5QKvCefO371SiKRpxoDcCxB3PTRTLayWBkvmDQKTcX/sw==}
769
780
  cpu: [riscv64]
770
781
  os: [linux]
782
+ libc: [glibc]
771
783
 
772
784
  '@rollup/rollup-linux-riscv64-musl@4.60.3':
773
785
  resolution: {integrity: sha512-Dhbyh7j9FybM3YaTgaHmVALwA8AkUwTPccyCQ79TG9AJUsMQqgN1DDEZNr4+QUfwiWvLDumW5vdwzoeUF+TNxQ==}
774
786
  cpu: [riscv64]
775
787
  os: [linux]
788
+ libc: [musl]
776
789
 
777
790
  '@rollup/rollup-linux-s390x-gnu@4.60.3':
778
791
  resolution: {integrity: sha512-cJd1X5XhHHlltkaypz1UcWLA8AcoIi1aWhsvaWDskD1oz2eKCypnqvTQ8ykMNI0RSmm7NkTdSqSSD7zM0xa6Ig==}
779
792
  cpu: [s390x]
780
793
  os: [linux]
794
+ libc: [glibc]
781
795
 
782
796
  '@rollup/rollup-linux-x64-gnu@4.60.3':
783
797
  resolution: {integrity: sha512-DAZDBHQfG2oQuhY7mc6I3/qB4LU2fQCjRvxbDwd/Jdvb9fypP4IJ4qmtu6lNjes6B531AI8cg1aKC2di97bUxA==}
784
798
  cpu: [x64]
785
799
  os: [linux]
800
+ libc: [glibc]
786
801
 
787
802
  '@rollup/rollup-linux-x64-musl@4.60.3':
788
803
  resolution: {integrity: sha512-cRxsE8c13mZOh3vP+wLDxpQBRrOHDIGOWyDL93Sy0Ga8y515fBcC2pjUfFwUe5T7tqvTvWbCpg1URM/AXdWIXA==}
789
804
  cpu: [x64]
790
805
  os: [linux]
806
+ libc: [musl]
791
807
 
792
808
  '@rollup/rollup-openbsd-x64@4.60.3':
793
809
  resolution: {integrity: sha512-QaWcIgRxqEdQdhJqW4DJctsH6HCmo5vHxY0krHSX4jMtOqfzC+dqDGuHM87bu4H8JBeibWx7jFz+h6/4C8wA5Q==}
@@ -979,51 +995,61 @@ packages:
979
995
  resolution: {integrity: sha512-Z/Rax87moZHsuvJ8awdfP+zrMlsCt3d7mggUPIiPe32KpeagimyzJWnZSMQoV67an9uVQghyh92Pc0VprITnYA==}
980
996
  cpu: [arm64]
981
997
  os: [linux]
998
+ libc: [glibc]
982
999
 
983
1000
  '@unrs/resolver-binding-linux-arm64-musl@1.13.0':
984
1001
  resolution: {integrity: sha512-oUzXz8hNvFLNEAag8lBKJe1euiV2dmGHAR+eQ5fNpsZO0F1K7IMRb4J6pqYsd7uLMRQNPiu5A1WKUJHbFLWbbw==}
985
1002
  cpu: [arm64]
986
1003
  os: [linux]
1004
+ libc: [musl]
987
1005
 
988
1006
  '@unrs/resolver-binding-linux-loong64-gnu@1.13.0':
989
1007
  resolution: {integrity: sha512-BxhGYvZBg0YrvNOeSEGR3eNklwXYy0mUJk7oeGJvZoQMKM68zYvbbf52+fQI3Le4X0fW276FTKIoTwjpMob80A==}
990
1008
  cpu: [loong64]
991
1009
  os: [linux]
1010
+ libc: [glibc]
992
1011
 
993
1012
  '@unrs/resolver-binding-linux-loong64-musl@1.13.0':
994
1013
  resolution: {integrity: sha512-nZcIuup9Ar3gAlqoZfX/KW6x83TMI11tLpCjldZG5M1KeY8qNUPNJJ71+sPvG8HMBpoh+ix1pAm5gkMFvcSAcQ==}
995
1014
  cpu: [loong64]
996
1015
  os: [linux]
1016
+ libc: [musl]
997
1017
 
998
1018
  '@unrs/resolver-binding-linux-ppc64-gnu@1.13.0':
999
1019
  resolution: {integrity: sha512-AG6AgdDrkRNjAPwD/cftFJGgZUWCiJX+E8vpYCDEnwFHLTHZ7ppBiU6/vyPPwrfjcPUPQCDbbxE/eZUXsx49jQ==}
1000
1020
  cpu: [ppc64]
1001
1021
  os: [linux]
1022
+ libc: [glibc]
1002
1023
 
1003
1024
  '@unrs/resolver-binding-linux-riscv64-gnu@1.13.0':
1004
1025
  resolution: {integrity: sha512-6vOqYGcAmzpRWpUURWutzvpf1qJ6eOu5cfYObdtPJnzZ0+Kw4cw+ZkZJqIYEh8fPuTBwSYDL/FwlUhma1G/JVQ==}
1005
1026
  cpu: [riscv64]
1006
1027
  os: [linux]
1028
+ libc: [glibc]
1007
1029
 
1008
1030
  '@unrs/resolver-binding-linux-riscv64-musl@1.13.0':
1009
1031
  resolution: {integrity: sha512-4HeIn0S2KVUowK0A+EweXrDvZ8CKHEfTtif0kx9vt3ORNsqcXNFFIFnHE0tizma3/Gt5OGrU2ovYNuj+D/bN4g==}
1010
1032
  cpu: [riscv64]
1011
1033
  os: [linux]
1034
+ libc: [musl]
1012
1035
 
1013
1036
  '@unrs/resolver-binding-linux-s390x-gnu@1.13.0':
1014
1037
  resolution: {integrity: sha512-JfkvqY7NZbxyhexLE+g6Z8Hsx4utHOGaVazAVghPiBn8Upw2iERZPpKYnW1FBVU4WStv/BiIsoK/Muke0E7asA==}
1015
1038
  cpu: [s390x]
1016
1039
  os: [linux]
1040
+ libc: [glibc]
1017
1041
 
1018
1042
  '@unrs/resolver-binding-linux-x64-gnu@1.13.0':
1019
1043
  resolution: {integrity: sha512-iwjLeVdZo/8v5OKAeRIC+4VQV045t1EPZr5B/AVLgUQ04IdtNthWzg6not2cNjZgH2gHpSf4fOXMmN83aLO1FA==}
1020
1044
  cpu: [x64]
1021
1045
  os: [linux]
1046
+ libc: [glibc]
1022
1047
 
1023
1048
  '@unrs/resolver-binding-linux-x64-musl@1.13.0':
1024
1049
  resolution: {integrity: sha512-TOh1fqOjyq1OPoht3BDLd7Y+HeMJRwd5g2VNmCQclknEbjp4py5GFRmT4L/rOybF5Af8q0LT9zHs2WGkwlqtrw==}
1025
1050
  cpu: [x64]
1026
1051
  os: [linux]
1052
+ libc: [musl]
1027
1053
 
1028
1054
  '@unrs/resolver-binding-openharmony-arm64@1.13.0':
1029
1055
  resolution: {integrity: sha512-3T2MNtF2dd1yjaXCVqrsi+/3VZeksEzU1hygPzqqkBLVVjn+2iJzXEkxxCKIVFrWnpmEbazeHJp/ruYD0RUVWA==}
@@ -1540,6 +1566,10 @@ packages:
1540
1566
  resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==}
1541
1567
  engines: {node: '>=0.12'}
1542
1568
 
1569
+ entities@6.0.1:
1570
+ resolution: {integrity: sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==}
1571
+ engines: {node: '>=0.12'}
1572
+
1543
1573
  entities@7.0.1:
1544
1574
  resolution: {integrity: sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==}
1545
1575
  engines: {node: '>=0.12'}
@@ -2232,6 +2262,9 @@ packages:
2232
2262
  parse-statements@1.0.11:
2233
2263
  resolution: {integrity: sha512-HlsyYdMBnbPQ9Jr/VgJ1YF4scnldvJpJxCVx6KgqPL4dxppsWrJHCIIxQXMJrqGnsRkNPATbeMJ8Yxu7JMsYcA==}
2234
2264
 
2265
+ parse5@7.3.0:
2266
+ resolution: {integrity: sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==}
2267
+
2235
2268
  parse5@8.0.1:
2236
2269
  resolution: {integrity: sha512-z1e/HMG90obSGeidlli3hj7cbocou0/wa5HacvI3ASx34PecNjNQeaHNo5WIZpWofN9kgkqV1q5YvXe3F0FoPw==}
2237
2270
 
@@ -2986,6 +3019,9 @@ packages:
2986
3019
  zod@3.24.4:
2987
3020
  resolution: {integrity: sha512-OdqJE9UDRPwWsrHjLN2F8bPxvwJBK22EHLWtanu0LSYr5YqzsaaW3RMgmjwr8Rypg5k+meEJdSPXJZXE/yqOMg==}
2988
3021
 
3022
+ zod@3.25.76:
3023
+ resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==}
3024
+
2989
3025
  zod@4.6.7:
2990
3026
  resolution: {integrity: sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==}
2991
3027
 
@@ -3027,7 +3063,7 @@ snapshots:
3027
3063
  '@oxc-parser/binding-linux-x64-gnu': 0.95.0
3028
3064
  '@oxc-parser/binding-win32-x64-msvc': 0.95.0
3029
3065
 
3030
- '@antelopejs/dms@0.20.0(@antelopejs/core@1.23.2)(bare-buffer@3.7.1)(typescript@5.9.3)':
3066
+ '@antelopejs/dms@0.20.1(@antelopejs/core@1.23.2)(bare-buffer@3.7.1)(typescript@5.9.3)':
3031
3067
  dependencies:
3032
3068
  2fa: 0.1.2
3033
3069
  '@antelopejs/interface-api': 0.3.3(@antelopejs/interface-core@0.5.1)
@@ -3038,8 +3074,9 @@ snapshots:
3038
3074
  '@antelopejs/interface-database-decorators': 0.5.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1)(@antelopejs/interface-database@0.4.0(@antelopejs/interface-core@0.5.1))
3039
3075
  '@antelopejs/interface-dms': 0.14.0(f5da06a0c98a7b29fb38c747917eadf0)
3040
3076
  '@antelopejs/interface-dms-builder': 0.5.1(@antelopejs/interface-core@0.5.1)
3041
- '@antelopejs/interface-email': 0.2.0(@antelopejs/interface-core@0.5.1)
3077
+ '@antelopejs/interface-email': 0.2.1(@antelopejs/interface-core@0.5.1)
3042
3078
  '@antelopejs/interface-file-storage': 0.1.7(@antelopejs/interface-core@0.5.1)
3079
+ '@csstools/css-tokenizer': 4.0.0
3043
3080
  '@types/jsonwebtoken': 9.0.10
3044
3081
  archiver: 7.0.1(bare-buffer@3.7.1)
3045
3082
  csv-stringify: 6.9.0
@@ -3050,18 +3087,19 @@ snapshots:
3050
3087
  jsonwebtoken: 9.0.3
3051
3088
  mmdb-lib: 3.0.5
3052
3089
  node-cron: 4.6.0
3090
+ parse5: 7.3.0
3053
3091
  randomstring: 1.3.2
3054
- semver: 7.7.4
3092
+ semver: 7.8.6
3055
3093
  smol-toml: 1.9.1
3056
3094
  striptags: 3.2.0
3057
3095
  ts-morph: 28.0.0
3058
3096
  ua-parser-js: 2.0.10
3059
- zod: 3.24.4
3060
- zod-to-json-schema: 3.24.6(zod@3.24.4)
3097
+ zod: 3.25.76
3098
+ zod-to-json-schema: 3.24.6(zod@3.25.76)
3061
3099
  optionalDependencies:
3062
3100
  '@antelopejs/core': 1.23.2
3063
3101
  '@antelopejs/interface-database-catalog': 0.0.4(@antelopejs/interface-core@0.5.1)
3064
- '@antelopejs/interface-dms-automation': 0.6.2(@antelopejs/interface-core@0.5.1)
3102
+ '@antelopejs/interface-dms-automation': 0.7.0(@antelopejs/interface-core@0.5.1)
3065
3103
  '@antelopejs/interface-redis': 0.0.9(@antelopejs/interface-core@0.5.1)
3066
3104
  playwright-core: 1.65.0
3067
3105
  typescript: 5.9.3
@@ -3111,7 +3149,7 @@ snapshots:
3111
3149
  dependencies:
3112
3150
  '@antelopejs/interface-core': 0.5.1
3113
3151
 
3114
- '@antelopejs/interface-dms-automation@0.6.2(@antelopejs/interface-core@0.5.1)':
3152
+ '@antelopejs/interface-dms-automation@0.7.0(@antelopejs/interface-core@0.5.1)':
3115
3153
  dependencies:
3116
3154
  '@antelopejs/interface-core': 0.5.1
3117
3155
  optional: true
@@ -3133,7 +3171,7 @@ snapshots:
3133
3171
  zod: 3.24.4
3134
3172
  zod-to-json-schema: 3.24.6(zod@3.24.4)
3135
3173
 
3136
- '@antelopejs/interface-email@0.2.0(@antelopejs/interface-core@0.5.1)':
3174
+ '@antelopejs/interface-email@0.2.1(@antelopejs/interface-core@0.5.1)':
3137
3175
  dependencies:
3138
3176
  '@antelopejs/interface-core': 0.5.1
3139
3177
 
@@ -3625,7 +3663,7 @@ snapshots:
3625
3663
 
3626
3664
  '@ts-morph/common@0.29.0':
3627
3665
  dependencies:
3628
- minimatch: 10.2.5
3666
+ minimatch: 10.2.6
3629
3667
  path-browserify: 1.0.1
3630
3668
  tinyglobby: 0.2.16
3631
3669
 
@@ -4346,6 +4384,8 @@ snapshots:
4346
4384
 
4347
4385
  entities@4.5.0: {}
4348
4386
 
4387
+ entities@6.0.1: {}
4388
+
4349
4389
  entities@7.0.1: {}
4350
4390
 
4351
4391
  entities@8.0.0: {}
@@ -4896,7 +4936,7 @@ snapshots:
4896
4936
  lodash.isstring: 4.0.1
4897
4937
  lodash.once: 4.1.1
4898
4938
  ms: 2.1.3
4899
- semver: 7.7.4
4939
+ semver: 7.8.6
4900
4940
 
4901
4941
  jwa@2.0.1:
4902
4942
  dependencies:
@@ -5123,6 +5163,10 @@ snapshots:
5123
5163
 
5124
5164
  parse-statements@1.0.11: {}
5125
5165
 
5166
+ parse5@7.3.0:
5167
+ dependencies:
5168
+ entities: 6.0.1
5169
+
5126
5170
  parse5@8.0.1:
5127
5171
  dependencies:
5128
5172
  entities: 8.0.0
@@ -5806,6 +5850,12 @@ snapshots:
5806
5850
  dependencies:
5807
5851
  zod: 3.24.4
5808
5852
 
5853
+ zod-to-json-schema@3.24.6(zod@3.25.76):
5854
+ dependencies:
5855
+ zod: 3.25.76
5856
+
5809
5857
  zod@3.24.4: {}
5810
5858
 
5859
+ zod@3.25.76: {}
5860
+
5811
5861
  zod@4.6.7: {}
@@ -16,7 +16,7 @@ function tool(toolName: string, args: unknown): ToolCallMessage {
16
16
  id: `${toolName}-${JSON.stringify(args)}`,
17
17
  role: "tool",
18
18
  callId: "call",
19
- toolName: `mcp__dms-ai__${toolName}`,
19
+ toolName: `mcp__dms-assistant__${toolName}`,
20
20
  args,
21
21
  status: "pending",
22
22
  timestampMs: 0,