@ximatai/muyun-web-app 0.26.14 → 0.26.16

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 (312) hide show
  1. package/dist/BusinessActivityLogView-DVM_GB5y.js +18 -0
  2. package/dist/BusinessLogListDrawer-BciMLY9z.js +864 -0
  3. package/dist/ConfigurationTranslationView-B0FosDyz.js +197 -0
  4. package/dist/LoginAuditLogView-3tAozKlC.js +18 -0
  5. package/dist/ModuleActionManagementView-CJRNShGg.js +755 -0
  6. package/dist/ModuleGovernanceView-DsqR_Sj7.js +34098 -0
  7. package/dist/RequestErrorLogView-C4yH-TSX.js +18 -0
  8. package/dist/RoleDetailWorkspaceView-BpOoGUwS.js +1435 -0
  9. package/dist/RuntimeLogView-CoKKpJ39.js +316 -0
  10. package/dist/WorkflowAdministrationView-DmUV6vWS.js +650 -0
  11. package/dist/WorkflowConfigurationView-pghDbWEh.js +975 -0
  12. package/dist/WorkflowWorkbenchView-BwWxyDen.js +747 -0
  13. package/dist/es-BST-ixpj.js +22621 -0
  14. package/dist/index.css +1 -1
  15. package/dist/index.js +920 -738
  16. package/dist/moduleGovernanceWorkspaceView-DGEV3ZyT.js +667 -0
  17. package/dist/platform-components-Cl5ZZiuU.js +27139 -0
  18. package/dist/platform-workbench-CAHoriIf.js +20245 -0
  19. package/dist/rolldown-runtime-BAC7EHh5.js +20 -0
  20. package/dist/types/app/ChangeOwnPasswordDialog.vue.d.ts +1 -1
  21. package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +2 -2
  22. package/dist/types/app/ThemeSkinPreferencesDialog.vue.d.ts +3 -0
  23. package/dist/types/app/businessNotificationNavigation.d.ts +4 -0
  24. package/dist/types/app/menuRouteCompiler.d.ts +3 -0
  25. package/dist/types/app/platformMessage.d.ts +3 -6
  26. package/dist/types/app/themeSkinPreference.d.ts +3 -2
  27. package/dist/types/app/useWorkbenchMenuRefresh.d.ts +4 -0
  28. package/dist/types/app/workbenchMenuRefresh.d.ts +14 -0
  29. package/dist/types/app/workbenchStartup.d.ts +8 -4
  30. package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +5 -3
  31. package/dist/types/consumer/index.d.ts +3 -1
  32. package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +4 -4
  33. package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +1 -1
  34. package/dist/types/dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts +17 -0
  35. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +464 -1240
  36. package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +4 -3
  37. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +859 -1566
  38. package/dist/types/dynamic-page-runtime/ModulePageListExpansionSurface.vue.d.ts +1 -0
  39. package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +2 -1
  40. package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansions.vue.d.ts +1 -0
  41. package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +20 -3
  42. package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +7 -1
  43. package/dist/types/dynamic-page-runtime/NavigatorManagementEditor.vue.d.ts +1 -1
  44. package/dist/types/dynamic-page-runtime/NavigatorPanelActions.vue.d.ts +1 -1
  45. package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +7 -5
  46. package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +2 -0
  47. package/dist/types/dynamic-page-runtime/TenantScopeExplorer.vue.d.ts +1 -1
  48. package/dist/types/dynamic-page-runtime/assistantBusinessScope.d.ts +3 -0
  49. package/dist/types/dynamic-page-runtime/assistantQueryCapabilities.d.ts +34 -0
  50. package/dist/types/dynamic-page-runtime/assistantRecordEditorPolicy.d.ts +2 -2
  51. package/dist/types/dynamic-page-runtime/composables/useModulePageBootstrap.d.ts +4 -3
  52. package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +2 -0
  53. package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +15 -1217
  54. package/dist/types/dynamic-page-runtime/formActionResult.d.ts +2 -1
  55. package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +2 -0
  56. package/dist/types/dynamic-page-runtime/formValidationCoordinator.d.ts +1 -1
  57. package/dist/types/dynamic-page-runtime/modulePageAssistantScope.d.ts +13 -1
  58. package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +13 -4
  59. package/dist/types/dynamic-page-runtime/modulePageUnsavedState.d.ts +3 -10
  60. package/dist/types/dynamic-page-runtime/pageActionInvocation.d.ts +2 -1
  61. package/dist/types/dynamic-page-runtime/pageActionPlacement.d.ts +2 -1
  62. package/dist/types/dynamic-page-runtime/pageNavigatorItemModel.d.ts +2 -1
  63. package/dist/types/dynamic-page-runtime/recordCreationReadiness.d.ts +18 -0
  64. package/dist/types/dynamic-page-runtime/recordDisplayProjection.d.ts +63 -0
  65. package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +60 -0
  66. package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +36 -0
  67. package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +2 -2
  68. package/dist/types/dynamic-page-runtime/recordReferenceDisplay.d.ts +8 -0
  69. package/dist/types/dynamic-page-runtime/recordSaveRecovery.d.ts +13 -0
  70. package/dist/types/dynamic-page-runtime/relationDraftAssistantCapabilities.d.ts +9 -0
  71. package/dist/types/dynamic-page-runtime/relationDraftController.d.ts +23 -0
  72. package/dist/types/dynamic-page-runtime/relationFormComputeCoordinator.d.ts +1 -0
  73. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +246 -1227
  74. package/dist/types/dynamic-page-runtime/useModuleRecordDataChanges.d.ts +13 -0
  75. package/dist/types/formula/FormulaRuntime.d.ts +3 -1
  76. package/dist/types/platform-admin-runtime/backendHttp.d.ts +6 -1
  77. package/dist/types/platform-admin-runtime/index.d.ts +3 -1
  78. package/dist/types/platform-admin-runtime/module-menu/ModuleMenuEditor.vue.d.ts +17 -0
  79. package/dist/types/platform-admin-runtime/module-menu/ModuleMenuGovernanceSurface.vue.d.ts +6 -0
  80. package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +8 -4
  81. package/dist/types/platform-admin-runtime/module-menu/moduleMenuReceiptStore.d.ts +6 -0
  82. package/dist/types/platform-admin-runtime/module-menu/moduleMenuSession.d.ts +65 -0
  83. package/dist/types/platform-admin-runtime/module-menu/moduleMenuWorkspace.d.ts +189 -0
  84. package/dist/types/platform-admin-runtime/moduleOpenApi.d.ts +4 -3
  85. package/dist/types/platform-admin-runtime/pageRealtime.d.ts +0 -1
  86. package/dist/types/platform-admin-runtime/realtime.d.ts +0 -3
  87. package/dist/types/platform-admin-runtime/role/roleScopeSelectionClient.d.ts +4 -1
  88. package/dist/types/platform-admin-runtime/sessionRecovery.d.ts +3 -1
  89. package/dist/types/platform-admin-runtime/user/useUserSessionRows.d.ts +2 -0
  90. package/dist/types/platform-admin-runtime/user/userOnlineStatusStore.d.ts +1 -5
  91. package/dist/types/platform-admin-runtime/workspaceViewSessions.d.ts +1 -1
  92. package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +34 -1
  93. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +7 -11
  94. package/dist/types/platform-components/DateTimeText.vue.d.ts +1 -1
  95. package/dist/types/platform-components/DetailRelationListPanel.vue.d.ts +1 -1
  96. package/dist/types/platform-components/DictionaryPicker.vue.d.ts +4 -2
  97. package/dist/types/platform-components/FileSizeText.vue.d.ts +1 -1
  98. package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
  99. package/dist/types/platform-components/FormulaExpressionEditor.vue.d.ts +7 -7
  100. package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +6 -4
  101. package/dist/types/platform-components/ManagementTabs.vue.d.ts +20 -0
  102. package/dist/types/platform-components/ModuleActionButton.vue.d.ts +2 -2
  103. package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +2 -0
  104. package/dist/types/platform-components/QueryCriteriaComposer.vue.d.ts +1 -1
  105. package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +1 -1
  106. package/dist/types/platform-components/QueryValueEditor.vue.d.ts +1 -1
  107. package/dist/types/platform-components/RecordActionBar.vue.d.ts +1 -1
  108. package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +2 -2
  109. package/dist/types/platform-components/RecordDetailFields.vue.d.ts +1 -1
  110. package/dist/types/platform-components/RecordExpandedSubtable.vue.d.ts +2 -2
  111. package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +15 -9
  112. package/dist/types/platform-components/RecordExplorerTools.vue.d.ts +27 -0
  113. package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +1 -1
  114. package/dist/types/platform-components/RecordFormFields.vue.d.ts +6 -2
  115. package/dist/types/platform-components/RecordImageFileReferencePreview.vue.d.ts +1 -1
  116. package/dist/types/platform-components/RecordListExplorer.vue.d.ts +1 -1
  117. package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +6 -6
  118. package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +3 -1
  119. package/dist/types/platform-components/RecordPanelButton.vue.d.ts +1 -1
  120. package/dist/types/platform-components/RecordPermissionDialog.vue.d.ts +1 -1
  121. package/dist/types/platform-components/RecordPicker.vue.d.ts +3 -1
  122. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +7 -7
  123. package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +3 -3
  124. package/dist/types/platform-components/RecordRelationTabs.vue.d.ts +1 -0
  125. package/dist/types/platform-components/ReferencePicker.vue.d.ts +5 -3
  126. package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +1 -1
  127. package/dist/types/platform-components/ScopedTreePicker.vue.d.ts +1 -1
  128. package/dist/types/platform-components/SingleImageFileReferenceField.vue.d.ts +1 -1
  129. package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +2 -0
  130. package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -5
  131. package/dist/types/platform-components/UserPicker.vue.d.ts +2 -2
  132. package/dist/types/platform-components/UserSessionExpandedSubtable.vue.d.ts +1 -1
  133. package/dist/types/platform-components/WorkflowBusinessTaskEditor.vue.d.ts +36 -0
  134. package/dist/types/platform-components/WorkflowDesignProperties.vue.d.ts +40 -0
  135. package/dist/types/platform-components/WorkflowDiagram.vue.d.ts +24 -0
  136. package/dist/types/platform-components/WorkflowParticipantEditor.vue.d.ts +18 -0
  137. package/dist/types/platform-components/WorkflowRecordPanel.vue.d.ts +30 -0
  138. package/dist/types/platform-components/WorkflowTimeline.vue.d.ts +19 -0
  139. package/dist/types/platform-components/crudRecordListModel.d.ts +2 -1
  140. package/dist/types/platform-components/fileTransferUpload.d.ts +10 -0
  141. package/dist/types/platform-components/index.d.ts +15 -4
  142. package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
  143. package/dist/types/platform-components/optionFieldOptions.d.ts +7 -2
  144. package/dist/types/platform-components/platformDateTime.d.ts +2 -0
  145. package/dist/types/platform-components/platformErrorFeedback.d.ts +2 -1
  146. package/dist/types/platform-components/queryNumericValue.d.ts +3 -0
  147. package/dist/types/platform-components/readonlyReferenceDisplay.d.ts +10 -2
  148. package/dist/types/platform-components/recordActionBarModel.d.ts +4 -1
  149. package/dist/types/platform-components/recordDetailFieldModel.d.ts +4 -0
  150. package/dist/types/platform-components/recordFormFieldModel.d.ts +23 -1
  151. package/dist/types/platform-components/recordPickerConstraints.d.ts +4 -1
  152. package/dist/types/platform-components/recordQueryListColumnModel.d.ts +6 -1
  153. package/dist/types/platform-components/recordQueryListQueryController.d.ts +19 -2
  154. package/dist/types/platform-components/recordQueryListStandardQuery.d.ts +3 -0
  155. package/dist/types/platform-components/recycleBinState.d.ts +20 -2
  156. package/dist/types/platform-components/referencePickerModel.d.ts +9 -0
  157. package/dist/types/platform-components/referencePickerReadError.d.ts +11 -3
  158. package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +2 -2
  159. package/dist/types/platform-components/softDeletedConflictHandler.d.ts +3 -1
  160. package/dist/types/platform-components/staticCrudManagementState.d.ts +9 -8
  161. package/dist/types/platform-components/treeRecordModel.d.ts +2 -1
  162. package/dist/types/platform-components/userSessionPresentation.d.ts +4 -3
  163. package/dist/types/platform-components/workflowAccountOptions.d.ts +4 -0
  164. package/dist/types/platform-components/workflowDesignEditing.d.ts +11 -0
  165. package/dist/types/platform-components/workflowDiagramModel.d.ts +41 -0
  166. package/dist/types/platform-components/workflowParticipantPolicy.d.ts +11 -0
  167. package/dist/types/platform-components/workflowPresentation.d.ts +11 -0
  168. package/dist/types/platform-workbench/ConstructionPlanCard.vue.d.ts +8 -0
  169. package/dist/types/platform-workbench/LanguageSelector.vue.d.ts +6 -0
  170. package/dist/types/platform-workbench/Workbench.vue.d.ts +9 -4
  171. package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +7 -1
  172. package/dist/types/platform-workbench/WorkbenchMenu.vue.d.ts +1 -1
  173. package/dist/types/platform-workbench/assistantControlText.d.ts +19 -0
  174. package/dist/types/platform-workbench/configurationCollaboration.d.ts +23 -0
  175. package/dist/types/platform-workbench/constructionDelivery.d.ts +3 -0
  176. package/dist/types/platform-workbench/constructionFields.d.ts +5 -0
  177. package/dist/types/platform-workbench/constructionInitialization.d.ts +4 -0
  178. package/dist/types/platform-workbench/constructionPlanGuard.d.ts +22 -0
  179. package/dist/types/platform-workbench/constructionPlanSession.d.ts +103 -0
  180. package/dist/types/platform-workbench/constructionPresentation.d.ts +6 -0
  181. package/dist/types/platform-workbench/constructionReferenceDiscovery.d.ts +3 -0
  182. package/dist/types/platform-workbench/index.d.ts +2 -1
  183. package/dist/types/platform-workbench/menuNavigation.d.ts +7 -3
  184. package/dist/types/platform-workbench/menuTreeModel.d.ts +2 -1
  185. package/dist/types/platform-workbench/realtimeStatus.d.ts +2 -1
  186. package/dist/types/platform-workbench/useAssistantConversation.d.ts +452 -0
  187. package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +40 -0
  188. package/dist/types/platform-workbench/useWorkspaceViewUnsavedState.d.ts +1 -5
  189. package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +21 -1
  190. package/dist/types/platform-workbench/workbenchNavigation.d.ts +1 -0
  191. package/dist/types/platform-workbench/workspaceViewContract.d.ts +4 -0
  192. package/dist/types/platform-workbench/workspaceViewDiscardGuard.d.ts +5 -0
  193. package/dist/types/platform-workbench/workspaceViewHost.d.ts +1 -1
  194. package/dist/types/platform-workbench/workspaceViewUnsavedState.d.ts +1 -1
  195. package/dist/types/platform-workbench/workspaceViews.d.ts +3 -2
  196. package/dist/types/views/ConfigurationTranslationView.vue.d.ts +3 -0
  197. package/dist/types/views/MetadataSourceTree.vue.d.ts +7 -5
  198. package/dist/types/views/ModuleRuntimeActivationStatus.vue.d.ts +11 -0
  199. package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +8 -8
  200. package/dist/types/views/PageCompositionEditor.vue.d.ts +10 -0
  201. package/dist/types/views/PageCompositionTree.vue.d.ts +19 -13
  202. package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +2 -2
  203. package/dist/types/views/RoleAuthorizationView.vue.d.ts +1 -1
  204. package/dist/types/views/WorkflowAdministrationView.vue.d.ts +3 -0
  205. package/dist/types/views/WorkflowConfigurationView.vue.d.ts +7 -0
  206. package/dist/types/views/WorkflowWorkbenchView.vue.d.ts +3 -0
  207. package/dist/types/views/businessLogClient.d.ts +5 -2
  208. package/dist/types/views/businessRuleAssistantSurface.d.ts +7 -0
  209. package/dist/types/views/businessRuleEditor.d.ts +23 -0
  210. package/dist/types/views/businessRuleGovernance.d.ts +20 -4
  211. package/dist/types/views/businessRuleSession.d.ts +64 -0
  212. package/dist/types/views/businessRuleWorkspace.d.ts +148 -0
  213. package/dist/types/views/configurationEditorNavigation.d.ts +3 -0
  214. package/dist/types/views/configurationTranslationWorkspace.d.ts +69 -0
  215. package/dist/types/views/dictionaryRadioEligibility.d.ts +2 -1
  216. package/dist/types/views/metadataChangeSetSubmission.d.ts +11 -0
  217. package/dist/types/views/metadataEditorSession.d.ts +658 -0
  218. package/dist/types/views/metadataGovernanceAssistantSurface.d.ts +2 -120
  219. package/dist/types/views/metadataGovernanceEditor.d.ts +224 -0
  220. package/dist/types/views/metadataModelEditSession.d.ts +29 -3
  221. package/dist/types/views/metadataModelTree.d.ts +2 -1
  222. package/dist/types/views/metadataNaming.d.ts +10 -1
  223. package/dist/types/views/metadataOrchestrationState.d.ts +32 -9
  224. package/dist/types/views/metadataSourceTree.d.ts +3 -2
  225. package/dist/types/views/metadataWorkspace.d.ts +1323 -0
  226. package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +1 -1
  227. package/dist/types/views/moduleRuntimeActivation.d.ts +11 -0
  228. package/dist/types/views/pageCompositionAssistantSurface.d.ts +29 -0
  229. package/dist/types/views/pageCompositionCandidate.d.ts +48 -0
  230. package/dist/types/views/pageCompositionComponents.d.ts +43 -0
  231. package/dist/types/views/pageCompositionDraftState.d.ts +297 -14
  232. package/dist/types/views/pageCompositionDragPayload.d.ts +7 -1
  233. package/dist/types/views/pageCompositionMode.d.ts +27 -3
  234. package/dist/types/views/pageCompositionPlacement.d.ts +6 -1
  235. package/dist/types/views/pageCompositionPublication.d.ts +39 -0
  236. package/dist/types/views/pageCompositionSession.d.ts +1374 -0
  237. package/dist/types/views/pageCompositionWorkspace.d.ts +2616 -0
  238. package/dist/types/views/roleAuthorizationWorkspaceSession.d.ts +1 -1
  239. package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -1
  240. package/dist/types/views/runtimeLogClient.d.ts +2 -2
  241. package/dist/types/views/usePageCompositionComponents.d.ts +69 -0
  242. package/dist/types/views/workflowConfigurationWorkspaceView.d.ts +5 -0
  243. package/dist/types/vue-ui-antdv/blockingOverlays.d.ts +9 -0
  244. package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +1 -1
  245. package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +2 -2
  246. package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +1 -0
  247. package/dist/types/vue-ui-antdv/components/UiLanguageProvider.vue.d.ts +18 -0
  248. package/dist/types/vue-ui-antdv/components/UiModal.vue.d.ts +3 -3
  249. package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +2 -2
  250. package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +3 -1
  251. package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +3 -1
  252. package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +3 -0
  253. package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +9 -7
  254. package/dist/types/vue-ui-antdv/components/UiTokenInput.vue.d.ts +7 -7
  255. package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +1 -1
  256. package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +3 -1
  257. package/dist/types/vue-ui-antdv/confirm.d.ts +3 -2
  258. package/dist/types/vue-ui-antdv/index.d.ts +3 -0
  259. package/dist/types/vue-ui-antdv/languageGlobalScope.d.ts +3 -0
  260. package/dist/types/vue-ui-antdv/languageLocales.d.ts +4 -0
  261. package/dist/types/vue-ui-antdv/theme.d.ts +2 -0
  262. package/dist/types/vue-ui-antdv/types.d.ts +6 -0
  263. package/dist/types/web-contracts/assistant.d.ts +29 -1
  264. package/dist/types/web-contracts/constructionPlan.d.ts +213 -0
  265. package/dist/types/web-contracts/index.d.ts +78 -0
  266. package/dist/types/web-contracts/operation.d.ts +33 -0
  267. package/dist/types/web-contracts/referenceTarget.d.ts +13 -0
  268. package/dist/types/web-contracts/workflow.d.ts +346 -0
  269. package/dist/types/web-core/actionResult.d.ts +3 -0
  270. package/dist/types/web-core/assistantCapabilityCatalog.d.ts +22 -0
  271. package/dist/types/web-core/assistantCatalogPage.d.ts +12 -0
  272. package/dist/types/web-core/assistantConfirmation.d.ts +24 -0
  273. package/dist/types/web-core/assistantConversationClient.d.ts +50 -0
  274. package/dist/types/web-core/assistantRuntime.d.ts +53 -7
  275. package/dist/types/web-core/assistantSurface.d.ts +80 -9
  276. package/dist/types/web-core/assistantTurnClient.d.ts +9 -1
  277. package/dist/types/web-core/constructionPlanClient.d.ts +55 -0
  278. package/dist/types/web-core/errors.d.ts +9 -3
  279. package/dist/types/web-core/http.d.ts +1 -0
  280. package/dist/types/web-core/index.d.ts +14 -0
  281. package/dist/types/web-core/language.d.ts +54 -0
  282. package/dist/types/web-core/languagePreference.d.ts +8 -0
  283. package/dist/types/web-core/module/dataExchangeClient.d.ts +54 -0
  284. package/dist/types/web-core/module/index.d.ts +2 -0
  285. package/dist/types/web-core/module/moduleContext.d.ts +4 -0
  286. package/dist/types/web-core/module/pageActionEntries.d.ts +3 -2
  287. package/dist/types/web-core/module/runtimeContext.d.ts +15 -2
  288. package/dist/types/web-core/module/staticModuleClient.d.ts +12 -2
  289. package/dist/types/web-core/operationConfirmation.d.ts +32 -0
  290. package/dist/types/web-core/operationErrors.d.ts +23 -0
  291. package/dist/types/web-core/operationReceipt.d.ts +10 -0
  292. package/dist/types/web-core/presentationTexts.d.ts +16 -0
  293. package/dist/types/web-core/sha256.d.ts +2 -0
  294. package/dist/types/web-core/uuid.d.ts +2 -0
  295. package/dist/types/web-core/workflow.d.ts +70 -0
  296. package/dist/types/web-core/workspaceUnsavedState.d.ts +6 -0
  297. package/dist/workspaceViews-BIYGPUAO.js +3437 -0
  298. package/package.json +2 -4
  299. package/dist/BusinessActivityLogView-BUg5WTm-.js +0 -16
  300. package/dist/BusinessLogListDrawer-BOTE_7aT.js +0 -825
  301. package/dist/LoginAuditLogView-DBNtvmIy.js +0 -16
  302. package/dist/ModuleActionManagementView-Bq1VO51Y.js +0 -673
  303. package/dist/ModuleGovernanceView-B8u4_erd.js +0 -29344
  304. package/dist/RequestErrorLogView-BrtH3ptj.js +0 -16
  305. package/dist/RoleDetailWorkspaceView-6LW3tLA1.js +0 -1397
  306. package/dist/RuntimeLogView-s3X5CdHB.js +0 -297
  307. package/dist/moduleGovernanceWorkspaceView-BRgJbUjJ.js +0 -40
  308. package/dist/platform-components-Dt859Hbr.js +0 -18627
  309. package/dist/platform-workbench-DfqFnlm-.js +0 -14701
  310. package/dist/rolldown-runtime-DPVXH0ON.js +0 -17
  311. package/dist/sse-mGbuCAax.js +0 -187
  312. package/dist/workspaceViews-DijY4n32.js +0 -3623
@@ -0,0 +1,346 @@
1
+ import type { TextPresentation } from './index';
2
+ /** Published workflow facts shared by static and metadata driven modules. */
3
+ export interface WorkflowDefinition {
4
+ id: string;
5
+ version: number;
6
+ alias: string;
7
+ title?: string;
8
+ definitionStatus: string;
9
+ currentVersionNo?: number;
10
+ approvalEnabled: boolean;
11
+ organizationId?: string;
12
+ matchExpression?: string;
13
+ matchPriority?: number;
14
+ defaultDefinition?: boolean;
15
+ }
16
+ export interface WorkflowVersion {
17
+ id: string;
18
+ version: number;
19
+ versionNo: number;
20
+ publishStatus: string;
21
+ }
22
+ export interface WorkflowNode {
23
+ nodeTitleText?: TextPresentation;
24
+ id?: string;
25
+ version?: number;
26
+ nodeKey: string;
27
+ title?: string;
28
+ nodeTitle?: string;
29
+ nodeType: string;
30
+ nodeStatus?: string;
31
+ approvalMode?: string;
32
+ approvalRatio?: number;
33
+ participantPolicyText?: string;
34
+ milestoneType?: string;
35
+ routeMode?: string;
36
+ selectorNodeKey?: string;
37
+ convergeNodeKey?: string;
38
+ convergeMode?: string;
39
+ convergeRatio?: number;
40
+ requireManualSelectionReason?: boolean;
41
+ allowReject?: boolean;
42
+ autoApproveSameUser?: boolean;
43
+ requireRejectReason?: boolean;
44
+ allowRejectReturnToMe?: boolean;
45
+ allowRollback?: boolean;
46
+ requireRollbackReason?: boolean;
47
+ allowAddSign?: boolean;
48
+ warningDurationMinutes?: number;
49
+ overtimeDurationMinutes?: number;
50
+ taskDefinitionId?: string;
51
+ nodeConfigText?: string;
52
+ }
53
+ export interface WorkflowRoute {
54
+ id?: string;
55
+ routeKey: string;
56
+ sourceNodeKey: string;
57
+ targetNodeKey: string;
58
+ title?: string;
59
+ conditionExpression?: string;
60
+ defaultRoute?: boolean;
61
+ routeStatus?: string;
62
+ routeReason?: string;
63
+ selectedReason?: string;
64
+ }
65
+ export interface WorkflowAddSignExplanation {
66
+ dimension: 'NODE' | 'ROUTE';
67
+ nodeKey?: string;
68
+ nodeStatus?: string;
69
+ routeKey?: string;
70
+ routeSourceNodeKey?: string;
71
+ routeTargetNodeKey?: string;
72
+ addSignSourceNodeKey: string;
73
+ }
74
+ export interface WorkflowDesign {
75
+ nodes: WorkflowNode[];
76
+ links: WorkflowRoute[];
77
+ layoutJson?: string;
78
+ }
79
+ export interface WorkflowInstance {
80
+ id: string;
81
+ moduleAlias: string;
82
+ recordId: string;
83
+ definitionTitle?: string;
84
+ versionNo?: number;
85
+ instanceStatus: string;
86
+ approvalStatus?: string;
87
+ currentNodeKeys?: string;
88
+ startedAt?: string;
89
+ startedBy?: string;
90
+ completedAt?: string;
91
+ semanticJson?: string;
92
+ layoutJson?: string;
93
+ }
94
+ export interface WorkflowTask {
95
+ id: string;
96
+ nodeInstanceId?: string;
97
+ nodeKey?: string;
98
+ taskKind: string;
99
+ taskStatus: string;
100
+ assigneeId?: string;
101
+ assigneeTitle?: string;
102
+ originalAssigneeTitle?: string;
103
+ actualProcessUserTitle?: string;
104
+ processedByDelegation?: boolean;
105
+ originalAssigneeId?: string;
106
+ actualProcessorId?: string;
107
+ assignmentKind?: string;
108
+ decision?: string;
109
+ completedAt?: string;
110
+ }
111
+ export interface WorkflowEvent {
112
+ messageText?: TextPresentation;
113
+ id: string;
114
+ taskId?: string;
115
+ eventType: string;
116
+ actionCode?: string;
117
+ nodeKey?: string;
118
+ operatorId?: string;
119
+ operatorTitle?: string;
120
+ reason?: string;
121
+ message?: string;
122
+ nodeInstanceId?: string;
123
+ occurredAt?: string;
124
+ eventText?: string;
125
+ payloadText?: string;
126
+ }
127
+ export interface WorkflowAction {
128
+ actionCode: string;
129
+ title: string;
130
+ taskId?: string;
131
+ nodeKey?: string;
132
+ nodeTitle?: string;
133
+ reasonRequired: boolean;
134
+ targetAssigneeRequired?: boolean;
135
+ rejectReturnToMeSupported?: boolean;
136
+ rejectResubmitModes?: string[];
137
+ defaultRejectResubmitMode?: string;
138
+ }
139
+ export interface WorkflowStatus {
140
+ canSubmit?: boolean;
141
+ displayStatus: string;
142
+ instanceId?: string;
143
+ errorMessage?: string;
144
+ errorMessageText?: TextPresentation;
145
+ definition?: {
146
+ definitionTitle?: string;
147
+ definitionAlias?: string;
148
+ };
149
+ }
150
+ export interface WorkflowRenderBundle {
151
+ instance: WorkflowInstance;
152
+ nodes: WorkflowNode[];
153
+ routes: WorkflowRoute[];
154
+ semanticJson?: string;
155
+ layoutJson?: string;
156
+ }
157
+ export interface WorkflowSubmitPreview extends WorkflowRenderBundle {
158
+ definition?: WorkflowStatus['definition'];
159
+ tasks: WorkflowTask[];
160
+ taskViews?: WorkflowTask[];
161
+ }
162
+ export interface WorkflowBranch {
163
+ branchNodeKey: string;
164
+ branchTitle?: string;
165
+ selectionPending?: boolean;
166
+ selectorNodeKey?: string;
167
+ requireManualSelectionReason?: boolean;
168
+ candidates: Array<{
169
+ routeKey: string;
170
+ targetNodeKey: string;
171
+ routeStatus: string;
172
+ title?: string;
173
+ targetNodeTitle?: string;
174
+ defaultRoute?: boolean;
175
+ conditionMatched?: boolean;
176
+ recommended?: boolean;
177
+ }>;
178
+ }
179
+ export interface WorkflowWorkbenchCard {
180
+ nodeTitleText?: TextPresentation;
181
+ business?: {
182
+ title?: string;
183
+ moduleTitle?: string;
184
+ readable: boolean;
185
+ moduleTitleSource?: import('./index').TextReference;
186
+ moduleTitleText?: import('./index').TextPresentation;
187
+ };
188
+ instanceId: string;
189
+ moduleAlias: string;
190
+ recordId: string;
191
+ taskId?: string;
192
+ nodeTitle?: string;
193
+ taskStatus?: string;
194
+ approvalStatus?: string;
195
+ instanceStatus: string;
196
+ currentAssigneeTitles: string[];
197
+ submitterUserTitle?: string;
198
+ originalAssigneeTitle?: string;
199
+ assignmentKind?: string;
200
+ delegatedToUserTitle?: string;
201
+ overtimeStatus?: string;
202
+ startedAt?: string;
203
+ receivedAt?: string;
204
+ completedAt?: string;
205
+ }
206
+ export interface WorkflowHistoryInstance {
207
+ moduleAlias: string;
208
+ recordId: string;
209
+ startedByTitle?: string;
210
+ id: string;
211
+ versionNo: number;
212
+ instanceStatus: string;
213
+ approvalStatus: string;
214
+ startedAt?: string;
215
+ archivedAt?: string;
216
+ lastActionReason?: string;
217
+ }
218
+ export interface WorkflowWorkbenchFilters {
219
+ moduleAlias?: string;
220
+ submitterUserId?: string;
221
+ overtimeStatus?: string;
222
+ instanceStatus?: string;
223
+ taskStatus?: string;
224
+ receivedFrom?: string;
225
+ receivedTo?: string;
226
+ completedFrom?: string;
227
+ completedTo?: string;
228
+ }
229
+ export interface WorkflowTaskPreparation {
230
+ evaluation: {
231
+ passed: boolean;
232
+ failureMessage?: string;
233
+ failureCheckKey?: string;
234
+ failureMessageText?: TextPresentation;
235
+ /** Frozen configuration declarations remain available even when a check currently passes. */
236
+ checkTexts?: Array<{
237
+ checkKey: string;
238
+ title?: string;
239
+ titleText?: TextPresentation;
240
+ failureMessage?: string;
241
+ failureMessageText?: TextPresentation;
242
+ }>;
243
+ checkResults: Array<{
244
+ checkKey: string;
245
+ checkTitle?: string;
246
+ checkTitleText?: TextPresentation;
247
+ passed: boolean;
248
+ failureMessage?: string;
249
+ failureMessageText?: TextPresentation;
250
+ }>;
251
+ guides: Array<{
252
+ guideKey: string;
253
+ title?: string;
254
+ titleText?: TextPresentation;
255
+ instructionText?: TextPresentation;
256
+ guideKind: string;
257
+ guideConfigText?: string;
258
+ targetModuleAlias?: string;
259
+ targetActionCode?: string;
260
+ }>;
261
+ };
262
+ }
263
+ export interface WorkflowConfigurationCatalog {
264
+ tasks: {
265
+ id: string;
266
+ title: string;
267
+ }[];
268
+ queries: {
269
+ id: string;
270
+ title: string;
271
+ }[];
272
+ generations: {
273
+ id: string;
274
+ title: string;
275
+ targetModuleAlias: string;
276
+ }[];
277
+ associations: {
278
+ id: string;
279
+ title: string;
280
+ }[];
281
+ }
282
+ export interface WorkflowDefinitionSelection {
283
+ version: number;
284
+ title: string;
285
+ organizationId: string | null;
286
+ matchExpression: string | null;
287
+ matchPriority: number;
288
+ defaultDefinition: boolean;
289
+ }
290
+ export interface WorkflowDefinitionCreate extends Omit<WorkflowDefinitionSelection, 'version'> {
291
+ alias: string;
292
+ approvalEnabled: boolean;
293
+ enabled: boolean;
294
+ }
295
+ export interface WorkflowAdminInstance {
296
+ instanceId: string;
297
+ moduleAlias: string;
298
+ recordId: string;
299
+ versionNo: number;
300
+ instanceStatus: string;
301
+ approvalStatus: string;
302
+ startedByTitle?: string;
303
+ activeNodeTitles: string[];
304
+ workflowVersionId?: string;
305
+ activeNodeLabels?: {
306
+ nodeKey: string;
307
+ title: string;
308
+ addedByAddSign: boolean;
309
+ titleText?: TextPresentation;
310
+ }[];
311
+ currentAssigneeTitles: string[];
312
+ overtimeStatus?: string;
313
+ }
314
+ export interface WorkflowAdminTask {
315
+ taskId: string;
316
+ nodeKey?: string;
317
+ nodeInstanceId?: string;
318
+ workflowVersionId?: string;
319
+ nodeTitleText?: TextPresentation;
320
+ nodeTitle: string;
321
+ assigneeTitle?: string;
322
+ taskKind: string;
323
+ canForceApprove: boolean;
324
+ }
325
+ export interface WorkflowAdminInstanceQuery {
326
+ moduleAlias?: string;
327
+ recordId?: string;
328
+ starterId?: string;
329
+ instanceStatus?: string;
330
+ approvalStatus?: string;
331
+ currentAssigneeId?: string;
332
+ overtimeStatus?: string;
333
+ page: {
334
+ pageNum: number;
335
+ pageSize: number;
336
+ };
337
+ }
338
+ export interface WorkflowAdminHistoryQuery {
339
+ moduleAlias?: string;
340
+ recordId?: string;
341
+ startedBy?: string;
342
+ page: {
343
+ pageNum: number;
344
+ pageSize: number;
345
+ };
346
+ }
@@ -1,7 +1,10 @@
1
+ import type { TextReference } from '../web-contracts/index';
1
2
  import { webDataChangeTypes, type WebActionResultEnvelope, type WebDataChange } from '../web-contracts/index';
2
3
  export interface ResolvedWebActionResult {
3
4
  message: string;
4
5
  messageCode?: string;
6
+ messageArgs?: Record<string, unknown>;
7
+ messageSource?: TextReference;
5
8
  messageType?: string;
6
9
  resultType?: string;
7
10
  changeSetId?: string;
@@ -0,0 +1,22 @@
1
+ import type { AssistantCapabilityResult } from '../web-contracts/index';
2
+ import type { AssistantCapability } from './assistantSurface';
3
+ export declare const ASSISTANT_CAPABILITY_LOAD_CODE = "assistant.load-capabilities";
4
+ export declare const ASSISTANT_CAPABILITY_SELECTION_LIMIT = 8;
5
+ /** Discovery changes request context only. The live registry still owns execution and permission. */
6
+ export declare function assistantCapabilityCatalog(capabilities: AssistantCapability[]): {
7
+ discovery: AssistantCapability<string[], unknown>;
8
+ project(results?: AssistantCapabilityResult[], selectedCodes?: string[], recoveryCodes?: string[]): {
9
+ descriptors: import("../web-contracts/index").AssistantCapabilityDescriptor[];
10
+ index: undefined;
11
+ selectedCodes: never[];
12
+ endDecisionAfter: string[];
13
+ } | {
14
+ endDecisionAfter: string[];
15
+ selectedCodes: string[];
16
+ descriptors: import("../web-contracts/index").AssistantCapabilityDescriptor[];
17
+ index: {
18
+ code: string;
19
+ description: string;
20
+ }[];
21
+ };
22
+ };
@@ -0,0 +1,12 @@
1
+ /** Model observation only; preparation still validates against the full authoritative catalog. */
2
+ export declare function pageAssistantCatalog<T>(records: readonly T[], offset?: number, budget?: number): {
3
+ items: T[];
4
+ page: {
5
+ note?: string | undefined;
6
+ offset: number;
7
+ total: number;
8
+ nextOffset: number | null;
9
+ coverage: string;
10
+ oversizedIndexes: number[];
11
+ };
12
+ };
@@ -0,0 +1,24 @@
1
+ import { type LanguageContext } from './language';
2
+ import type { OperationReceiptReference, OperationPresentation } from '../web-contracts/index';
3
+ import { type OperationProposal, type OperationConfirmation } from './operationConfirmation';
4
+ export { OperationRejectedError as AssistantOperationRejectedError } from './operationConfirmation';
5
+ export type { OperationConfirmationState as AssistantConfirmationState } from './operationConfirmation';
6
+ /** Assistant-only explanation and continuation decorate a platform command. */
7
+ export interface AssistantOperationProposal extends OperationProposal {
8
+ modelSummary?: string;
9
+ continuation?: {
10
+ message: string;
11
+ readOnly?: boolean;
12
+ isCurrent(): boolean;
13
+ };
14
+ }
15
+ export interface AssistantOperationConfirmation extends OperationConfirmation {
16
+ readonly modelSummary: string;
17
+ readonly receiptReference?: OperationReceiptReference;
18
+ readonly continuationReadOnly?: boolean;
19
+ readonly continuationIsCurrent?: () => boolean;
20
+ takeContinuation(): string | undefined;
21
+ }
22
+ export declare function createAssistantOperationConfirmation(proposal: AssistantOperationProposal, scopeIsCurrent: () => boolean, now?: () => number, language?: LanguageContext): AssistantOperationConfirmation;
23
+ /** Recovered results have no execute path, expiry renewal, or automatic continuation. */
24
+ export declare function restoreAssistantOperationReceipt(reference: OperationReceiptReference, lookup: () => Promise<OperationPresentation | undefined>, scopeIsCurrent: () => boolean, language?: LanguageContext): AssistantOperationConfirmation;
@@ -0,0 +1,50 @@
1
+ import type { OperationReceiptReference, OperationPresentation } from '../web-contracts/index';
2
+ import type { HttpClient } from './http';
3
+ import type { AssistantConversationMessage } from '../web-contracts/index';
4
+ /** Display-only CODE text; never model history, command inputs or proof of execution. */
5
+ export type AssistantControlText = {
6
+ source: import('../web-contracts/index').TextReference;
7
+ args?: Record<string, string | number | boolean | null | AssistantControlText>;
8
+ } | {
9
+ parts: Array<string | AssistantControlText>;
10
+ };
11
+ export interface AssistantConfigurationTask {
12
+ goal: string;
13
+ mode: 'conversation' | 'visual';
14
+ }
15
+ export interface AssistantConversationContent {
16
+ configurationTask?: AssistantConfigurationTask;
17
+ /** Scope of model history, not conversation ownership or permission. */
18
+ executionScopeKey?: string;
19
+ title: string;
20
+ messages: Array<{
21
+ role: 'user' | 'assistant' | 'status';
22
+ text: string;
23
+ controlText?: AssistantControlText;
24
+ operationReceipt?: {
25
+ reference: OperationReceiptReference;
26
+ executionScopeKey: string;
27
+ };
28
+ }>;
29
+ history: AssistantConversationMessage[];
30
+ planId?: string;
31
+ pendingRequest?: string;
32
+ }
33
+ export interface AssistantConversationSnapshot {
34
+ id: string;
35
+ revision: number;
36
+ updatedAt: string;
37
+ content: AssistantConversationContent;
38
+ }
39
+ export interface AssistantConversationSummary {
40
+ id: string;
41
+ title: string;
42
+ updatedAt: string;
43
+ }
44
+ export interface AssistantConversationClient {
45
+ lookupOperation?(reference: OperationReceiptReference): Promise<OperationPresentation | undefined>;
46
+ list(scopeKey: string, page: number): Promise<AssistantConversationSummary[]>;
47
+ read(id: string, scopeKey: string): Promise<AssistantConversationSnapshot>;
48
+ save(id: string, scopeKey: string, expectedRevision: number, content: AssistantConversationContent): Promise<AssistantConversationSnapshot>;
49
+ }
50
+ export declare function createAssistantConversationClient(http: HttpClient): AssistantConversationClient;
@@ -1,13 +1,35 @@
1
+ import type { AssistantModelRequestObservation } from './assistantTurnClient';
2
+ import type { AssistantOperationConfirmation } from './assistantConfirmation';
1
3
  import type { AssistantCapabilityResult, AssistantConversationMessage, AssistantSelectionResponse, AssistantTurnOutput } from '../web-contracts/index';
2
- import { type AssistantSurfaceRegistry } from './assistantSurface';
4
+ import { type AssistantInvocationToken, type AssistantCapabilitySelection, type AssistantExecutionPolicy, type AssistantSurfaceRegistry } from './assistantSurface';
5
+ /** Shared transport limits: newest dialogue and display observations fit the existing history contract. */
6
+ export declare function boundedAssistantConversationHistory(history: AssistantConversationMessage[]): AssistantConversationMessage[];
7
+ /** Ephemeral, display-only evidence within the existing conversation budget. Never archived or executable. */
8
+ export declare function createAssistantDisplayObservations(): {
9
+ clear: () => void;
10
+ forScope: (token: AssistantInvocationToken | undefined) => {
11
+ role: "status";
12
+ text: string;
13
+ }[];
14
+ record(token: AssistantInvocationToken, observation: {
15
+ pageInstanceKey: string;
16
+ text: string;
17
+ }): void;
18
+ };
19
+ export type AssistantDisplayObservations = ReturnType<typeof createAssistantDisplayObservations>;
3
20
  export interface AssistantRuntimeStepResult {
4
21
  output: AssistantTurnOutput;
22
+ confirmations?: AssistantOperationConfirmation[];
5
23
  results: AssistantCapabilityResult[];
6
24
  contextChanged: boolean;
7
25
  /** Successful capability invocations that committed an effect through applyEffect in this step. */
8
26
  appliedEffectCount: number;
9
27
  }
10
28
  export interface AssistantConversationOptions {
29
+ /** Bounded schema names owned by the current conversation, never persisted or replayed. */
30
+ capabilitySelection?: AssistantCapabilitySelection;
31
+ displayObservations?: AssistantDisplayObservations;
32
+ executionPolicy?: AssistantExecutionPolicy;
11
33
  signal?: AbortSignal;
12
34
  maxSteps?: number;
13
35
  /** Completed dialogue before the current user message. */
@@ -15,6 +37,8 @@ export interface AssistantConversationOptions {
15
37
  /** Structured answer to a selection shown by the immediately preceding assistant message. */
16
38
  selectionResponse?: AssistantSelectionResponse;
17
39
  onStep?(step: AssistantRuntimeStepResult): void | Promise<void>;
40
+ /** A validated navigation crossed execution scopes; previous model observations were discarded. */
41
+ onExecutionScopeChange?(): void;
18
42
  onTextDelta?(text: string, stepIndex: number): void;
19
43
  onTextDiscard?(stepIndex: number): void;
20
44
  onActivity?(phase: AssistantActivityPhase, stepIndex: number): void;
@@ -24,13 +48,23 @@ export interface AssistantConversationOptions {
24
48
  export type AssistantActivityPhase = 'understanding' | 'executing' | 'responding';
25
49
  type AssistantDiagnosticSurface = 'workbench' | 'module-page' | 'metadata-governance' | 'other';
26
50
  type AssistantDiagnosticFinishReason = 'stop' | 'tool_calls' | 'length' | 'content_filter' | 'other';
27
- export type AssistantRuntimeDiagnosticEvent = {
51
+ export type AssistantRuntimeDiagnosticEvent = ({
52
+ type: 'model.request.completed';
53
+ phase: 'work' | 'summary';
54
+ stepIndex: number;
55
+ } & AssistantModelRequestObservation) | {
56
+ type: 'capability.elapsed';
57
+ stepIndex: number;
58
+ capabilityCode: string;
59
+ durationMs: number;
60
+ } | {
28
61
  type: 'decision.started';
29
62
  stepIndex: number;
30
63
  surface: AssistantDiagnosticSurface;
31
64
  backgroundContextRefreshed: boolean;
32
65
  } | {
33
66
  type: 'decision.completed';
67
+ usage?: AssistantTurnOutput['usage'];
34
68
  stepIndex: number;
35
69
  finishReason?: AssistantDiagnosticFinishReason;
36
70
  toolCallCount: number;
@@ -39,17 +73,28 @@ export type AssistantRuntimeDiagnosticEvent = {
39
73
  type: 'decision.restarted';
40
74
  stepIndex: number;
41
75
  attempt: number;
42
- reason: 'background-context-refresh' | 'formal-surface-ready';
76
+ reason: 'background-context-refresh' | 'formal-surface-ready' | 'undeclared-tool';
43
77
  } | {
44
78
  type: 'decision.failed';
45
79
  stepIndex: number;
46
- reason: 'context-changed' | 'cancelled' | 'surface-settlement-failed' | 'model-request-failed';
80
+ reason: 'context-changed' | 'cancelled' | 'surface-unavailable' | 'surface-settlement-failed' | 'model-request-failed';
47
81
  } | {
48
82
  type: 'capability.completed';
49
83
  stepIndex: number;
50
84
  capabilityCode: string;
51
85
  outcome: 'succeeded' | 'failed' | 'replayed';
52
86
  pageEffectApplied: boolean;
87
+ } | {
88
+ type: 'budget.progress';
89
+ stepIndex: number;
90
+ newObservations: number;
91
+ appliedEffects: number;
92
+ extended: boolean;
93
+ } | {
94
+ type: 'summary.completed';
95
+ usage?: AssistantTurnOutput['usage'];
96
+ succeeded: boolean;
97
+ reason?: 'truncated' | 'undeclared-tool' | 'provider-rejected' | 'invalid-summary' | 'request-failed';
53
98
  } | {
54
99
  type: 'conversation.completed';
55
100
  stepCount: number;
@@ -57,11 +102,12 @@ export type AssistantRuntimeDiagnosticEvent = {
57
102
  };
58
103
  export interface AssistantConversationResult {
59
104
  steps: AssistantRuntimeStepResult[];
60
- completed: boolean;
105
+ termination: 'stopped' | 'waiting-for-user' | 'repeated-call' | 'step-limit';
61
106
  }
62
- export declare class AssistantConversationFollowUpError extends Error {
107
+ export declare class AssistantConversationInterruptedError extends Error {
63
108
  readonly steps: readonly AssistantRuntimeStepResult[];
64
- constructor(steps: readonly AssistantRuntimeStepResult[], cause: unknown);
109
+ readonly termination: 'cancelled' | 'context-changed' | 'execution-interrupted' | 'model-failed';
110
+ constructor(steps: readonly AssistantRuntimeStepResult[], cause: unknown, termination?: 'cancelled' | 'context-changed' | 'execution-interrupted' | 'model-failed');
65
111
  }
66
112
  /**
67
113
  * Runs the bounded tool loop for one user message. Every step takes a fresh