@ximatai/muyun-web-app 0.26.14 → 0.26.15

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 (164) hide show
  1. package/dist/{BusinessActivityLogView-BUg5WTm-.js → BusinessActivityLogView-DVzrZW1X.js} +1 -1
  2. package/dist/{BusinessLogListDrawer-BOTE_7aT.js → BusinessLogListDrawer-D-R3wnWr.js} +159 -159
  3. package/dist/{LoginAuditLogView-DBNtvmIy.js → LoginAuditLogView-BP1eaEPw.js} +1 -1
  4. package/dist/{ModuleActionManagementView-Bq1VO51Y.js → ModuleActionManagementView-D17iKVQv.js} +186 -168
  5. package/dist/{ModuleGovernanceView-B8u4_erd.js → ModuleGovernanceView-LkWCtops.js} +13353 -9009
  6. package/dist/{RequestErrorLogView-BrtH3ptj.js → RequestErrorLogView-LzN94-Tk.js} +1 -1
  7. package/dist/{RoleDetailWorkspaceView-6LW3tLA1.js → RoleDetailWorkspaceView-BXA-bzFu.js} +257 -248
  8. package/dist/{RuntimeLogView-s3X5CdHB.js → RuntimeLogView-DUpu2q2w.js} +39 -39
  9. package/dist/index.css +1 -1
  10. package/dist/index.js +558 -493
  11. package/dist/moduleGovernanceWorkspaceView-COjWtJMr.js +639 -0
  12. package/dist/{platform-components-Dt859Hbr.js → platform-components-Hs3DrTqE.js} +4332 -3189
  13. package/dist/platform-workbench-C-kE-Yqq.js +19755 -0
  14. package/dist/{sse-mGbuCAax.js → sse-Q1wa3p_k.js} +11 -11
  15. package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +1 -1
  16. package/dist/types/app/useWorkbenchMenuRefresh.d.ts +4 -0
  17. package/dist/types/app/workbenchMenuRefresh.d.ts +14 -0
  18. package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +4 -2
  19. package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +3 -3
  20. package/dist/types/dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts +17 -0
  21. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +506 -26
  22. package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +3 -2
  23. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +562 -52
  24. package/dist/types/dynamic-page-runtime/ModulePageListExpansionSurface.vue.d.ts +1 -0
  25. package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +1 -0
  26. package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansions.vue.d.ts +1 -0
  27. package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +5 -2
  28. package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +6 -0
  29. package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +7 -5
  30. package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +2 -0
  31. package/dist/types/dynamic-page-runtime/assistantBusinessScope.d.ts +3 -0
  32. package/dist/types/dynamic-page-runtime/assistantQueryCapabilities.d.ts +34 -0
  33. package/dist/types/dynamic-page-runtime/assistantRecordEditorPolicy.d.ts +2 -2
  34. package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +2 -0
  35. package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +94 -4
  36. package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +2 -0
  37. package/dist/types/dynamic-page-runtime/modulePageAssistantScope.d.ts +13 -1
  38. package/dist/types/dynamic-page-runtime/recordCreationReadiness.d.ts +17 -0
  39. package/dist/types/dynamic-page-runtime/recordDisplayProjection.d.ts +59 -0
  40. package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +59 -0
  41. package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +33 -0
  42. package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +2 -2
  43. package/dist/types/dynamic-page-runtime/recordReferenceDisplay.d.ts +8 -0
  44. package/dist/types/dynamic-page-runtime/recordSaveRecovery.d.ts +12 -0
  45. package/dist/types/dynamic-page-runtime/relationDraftAssistantCapabilities.d.ts +9 -0
  46. package/dist/types/dynamic-page-runtime/relationDraftController.d.ts +23 -0
  47. package/dist/types/dynamic-page-runtime/relationFormComputeCoordinator.d.ts +1 -0
  48. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +300 -13
  49. package/dist/types/formula/FormulaRuntime.d.ts +3 -1
  50. package/dist/types/platform-admin-runtime/backendHttp.d.ts +5 -1
  51. package/dist/types/platform-admin-runtime/module-menu/ModuleMenuEditor.vue.d.ts +17 -0
  52. package/dist/types/platform-admin-runtime/module-menu/ModuleMenuGovernanceSurface.vue.d.ts +6 -0
  53. package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +6 -2
  54. package/dist/types/platform-admin-runtime/module-menu/moduleMenuReceiptStore.d.ts +5 -0
  55. package/dist/types/platform-admin-runtime/module-menu/moduleMenuSession.d.ts +61 -0
  56. package/dist/types/platform-admin-runtime/module-menu/moduleMenuWorkspace.d.ts +180 -0
  57. package/dist/types/platform-admin-runtime/workspaceViewSessions.d.ts +1 -1
  58. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +3 -7
  59. package/dist/types/platform-components/DictionaryPicker.vue.d.ts +2 -0
  60. package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
  61. package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +6 -4
  62. package/dist/types/platform-components/ManagementTabs.vue.d.ts +20 -0
  63. package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +2 -0
  64. package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +15 -9
  65. package/dist/types/platform-components/RecordExplorerTools.vue.d.ts +27 -0
  66. package/dist/types/platform-components/RecordFormFields.vue.d.ts +4 -0
  67. package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +2 -2
  68. package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +2 -0
  69. package/dist/types/platform-components/RecordPicker.vue.d.ts +2 -0
  70. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +1 -1
  71. package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +1 -1
  72. package/dist/types/platform-components/RecordRelationTabs.vue.d.ts +1 -0
  73. package/dist/types/platform-components/ReferencePicker.vue.d.ts +2 -0
  74. package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +2 -0
  75. package/dist/types/platform-components/index.d.ts +7 -2
  76. package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
  77. package/dist/types/platform-components/queryNumericValue.d.ts +3 -0
  78. package/dist/types/platform-components/recordDetailFieldModel.d.ts +2 -0
  79. package/dist/types/platform-components/recordFormFieldModel.d.ts +22 -0
  80. package/dist/types/platform-components/recordQueryListColumnModel.d.ts +1 -0
  81. package/dist/types/platform-components/recordQueryListQueryController.d.ts +19 -2
  82. package/dist/types/platform-components/recordQueryListStandardQuery.d.ts +3 -0
  83. package/dist/types/platform-components/recycleBinState.d.ts +17 -0
  84. package/dist/types/platform-components/referencePickerModel.d.ts +1 -0
  85. package/dist/types/platform-workbench/ConstructionPlanCard.vue.d.ts +8 -0
  86. package/dist/types/platform-workbench/Workbench.vue.d.ts +8 -3
  87. package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +7 -1
  88. package/dist/types/platform-workbench/configurationCollaboration.d.ts +23 -0
  89. package/dist/types/platform-workbench/constructionDelivery.d.ts +3 -0
  90. package/dist/types/platform-workbench/constructionFields.d.ts +5 -0
  91. package/dist/types/platform-workbench/constructionInitialization.d.ts +4 -0
  92. package/dist/types/platform-workbench/constructionPlanGuard.d.ts +21 -0
  93. package/dist/types/platform-workbench/constructionPlanSession.d.ts +95 -0
  94. package/dist/types/platform-workbench/constructionReferenceDiscovery.d.ts +3 -0
  95. package/dist/types/platform-workbench/useAssistantConversation.d.ts +360 -0
  96. package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +47 -0
  97. package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +19 -0
  98. package/dist/types/views/MetadataSourceTree.vue.d.ts +7 -3
  99. package/dist/types/views/ModuleRuntimeActivationStatus.vue.d.ts +11 -0
  100. package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +8 -8
  101. package/dist/types/views/PageCompositionEditor.vue.d.ts +10 -0
  102. package/dist/types/views/PageCompositionTree.vue.d.ts +19 -13
  103. package/dist/types/views/businessRuleAssistantSurface.d.ts +7 -0
  104. package/dist/types/views/businessRuleEditor.d.ts +22 -0
  105. package/dist/types/views/businessRuleGovernance.d.ts +7 -1
  106. package/dist/types/views/businessRuleSession.d.ts +63 -0
  107. package/dist/types/views/businessRuleWorkspace.d.ts +144 -0
  108. package/dist/types/views/configurationEditorNavigation.d.ts +2 -0
  109. package/dist/types/views/metadataChangeSetSubmission.d.ts +10 -0
  110. package/dist/types/views/metadataEditorSession.d.ts +652 -0
  111. package/dist/types/views/metadataGovernanceAssistantSurface.d.ts +2 -120
  112. package/dist/types/views/metadataGovernanceEditor.d.ts +220 -0
  113. package/dist/types/views/metadataModelEditSession.d.ts +26 -1
  114. package/dist/types/views/metadataNaming.d.ts +7 -1
  115. package/dist/types/views/metadataOrchestrationState.d.ts +22 -0
  116. package/dist/types/views/metadataWorkspace.d.ts +1316 -0
  117. package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +1 -1
  118. package/dist/types/views/moduleRuntimeActivation.d.ts +11 -0
  119. package/dist/types/views/pageCompositionAssistantSurface.d.ts +27 -0
  120. package/dist/types/views/pageCompositionCandidate.d.ts +47 -0
  121. package/dist/types/views/pageCompositionComponents.d.ts +42 -0
  122. package/dist/types/views/pageCompositionDraftState.d.ts +277 -8
  123. package/dist/types/views/pageCompositionDragPayload.d.ts +7 -1
  124. package/dist/types/views/pageCompositionMode.d.ts +1 -1
  125. package/dist/types/views/pageCompositionPlacement.d.ts +6 -1
  126. package/dist/types/views/pageCompositionPublication.d.ts +37 -0
  127. package/dist/types/views/pageCompositionSession.d.ts +1341 -0
  128. package/dist/types/views/pageCompositionWorkspace.d.ts +2555 -0
  129. package/dist/types/views/roleAuthorizationWorkspaceSession.d.ts +1 -1
  130. package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -1
  131. package/dist/types/views/usePageCompositionComponents.d.ts +68 -0
  132. package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +1 -0
  133. package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +2 -0
  134. package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +2 -0
  135. package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +2 -0
  136. package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +2 -0
  137. package/dist/types/vue-ui-antdv/types.d.ts +4 -0
  138. package/dist/types/web-contracts/assistant.d.ts +29 -1
  139. package/dist/types/web-contracts/constructionPlan.d.ts +212 -0
  140. package/dist/types/web-contracts/index.d.ts +32 -0
  141. package/dist/types/web-contracts/operation.d.ts +33 -0
  142. package/dist/types/web-contracts/referenceTarget.d.ts +13 -0
  143. package/dist/types/web-core/assistantCapabilityCatalog.d.ts +22 -0
  144. package/dist/types/web-core/assistantCatalogPage.d.ts +12 -0
  145. package/dist/types/web-core/assistantConfirmation.d.ts +23 -0
  146. package/dist/types/web-core/assistantConversationClient.d.ts +42 -0
  147. package/dist/types/web-core/assistantRuntime.d.ts +53 -7
  148. package/dist/types/web-core/assistantSurface.d.ts +79 -9
  149. package/dist/types/web-core/assistantTurnClient.d.ts +9 -1
  150. package/dist/types/web-core/constructionPlanClient.d.ts +55 -0
  151. package/dist/types/web-core/errors.d.ts +2 -0
  152. package/dist/types/web-core/http.d.ts +1 -0
  153. package/dist/types/web-core/index.d.ts +8 -0
  154. package/dist/types/web-core/module/dataExchangeClient.d.ts +53 -0
  155. package/dist/types/web-core/module/index.d.ts +1 -0
  156. package/dist/types/web-core/module/staticModuleClient.d.ts +12 -2
  157. package/dist/types/web-core/operationConfirmation.d.ts +28 -0
  158. package/dist/types/web-core/operationErrors.d.ts +9 -0
  159. package/dist/types/web-core/operationReceipt.d.ts +10 -0
  160. package/dist/types/web-core/uuid.d.ts +2 -0
  161. package/dist/{workspaceViews-DijY4n32.js → workspaceViews-CHsgLFwY.js} +769 -1175
  162. package/package.json +1 -1
  163. package/dist/moduleGovernanceWorkspaceView-BRgJbUjJ.js +0 -40
  164. package/dist/platform-workbench-DfqFnlm-.js +0 -14701
@@ -12,6 +12,6 @@ export interface RoleAuthorizationWorkspaceSession {
12
12
  snapshot: string;
13
13
  }>;
14
14
  }
15
- export declare function handOffRoleAuthorizationWorkspaceSession(input: RoleAuthorizationWorkspaceViewInput, session: RoleAuthorizationWorkspaceSession): Promise<"accepted" | "rejected">;
15
+ export declare function handOffRoleAuthorizationWorkspaceSession(input: RoleAuthorizationWorkspaceViewInput, session: RoleAuthorizationWorkspaceSession): Promise<"rejected" | "accepted">;
16
16
  export declare function registerRoleAuthorizationWorkspaceHandoffRecipient(input: RoleAuthorizationWorkspaceViewInput, recipient: (session: RoleAuthorizationWorkspaceSession) => boolean): () => void;
17
17
  export declare function takeRoleAuthorizationWorkspaceSession(input: RoleAuthorizationWorkspaceViewInput): RoleAuthorizationWorkspaceSession | undefined;
@@ -15,6 +15,6 @@ export interface RoleDetailWorkspaceSession {
15
15
  scope: RoleDetailWorkspaceScope;
16
16
  mode: 'view' | 'edit';
17
17
  }
18
- export declare function handOffRoleDetailWorkspaceSession(input: RoleDetailWorkspaceViewInput, session: RoleDetailWorkspaceSession): Promise<"accepted" | "rejected">;
18
+ export declare function handOffRoleDetailWorkspaceSession(input: RoleDetailWorkspaceViewInput, session: RoleDetailWorkspaceSession): Promise<"rejected" | "accepted">;
19
19
  export declare function registerRoleDetailWorkspaceHandoffRecipient(input: RoleDetailWorkspaceViewInput, recipient: (session: RoleDetailWorkspaceSession) => boolean): () => void;
20
20
  export declare function takeRoleDetailWorkspaceSession(input: RoleDetailWorkspaceViewInput): RoleDetailWorkspaceSession | undefined;
@@ -0,0 +1,68 @@
1
+ import type { createPageCompositionDraftState } from './pageCompositionDraftState';
2
+ import { type PendingComponentField } from './pageCompositionComponents';
3
+ /** Session definitions survive removal so undo can restore identity; only referenced items are saved. */
4
+ export declare function usePageCompositionComponents(state: ReturnType<typeof createPageCompositionDraftState>, treeJson: () => string): {
5
+ fieldUsageIndex: import("vue").ComputedRef<Map<string, string[]>>;
6
+ pendingComponents: import("vue").Ref<{
7
+ key: string;
8
+ component: import("./pageCompositionDragPayload").ComponentDragPayload["component"];
9
+ title: string;
10
+ required?: boolean | undefined;
11
+ fieldSpecAlias: string;
12
+ }[], PendingComponentField[] | {
13
+ key: string;
14
+ component: import("./pageCompositionDragPayload").ComponentDragPayload["component"];
15
+ title: string;
16
+ required?: boolean | undefined;
17
+ fieldSpecAlias: string;
18
+ }[]>;
19
+ pendingChildren: import("vue").Ref<{
20
+ key: string;
21
+ title: string;
22
+ fields: {
23
+ key: string;
24
+ component: import("./pageCompositionDragPayload").ComponentDragPayload["component"];
25
+ title: string;
26
+ required?: boolean | undefined;
27
+ fieldSpecAlias: string;
28
+ }[];
29
+ }[], {
30
+ key: string;
31
+ title: string;
32
+ fields: PendingComponentField[];
33
+ }[] | {
34
+ key: string;
35
+ title: string;
36
+ fields: {
37
+ key: string;
38
+ component: import("./pageCompositionDragPayload").ComponentDragPayload["component"];
39
+ title: string;
40
+ required?: boolean | undefined;
41
+ fieldSpecAlias: string;
42
+ }[];
43
+ }[]>;
44
+ pendingFieldSources: import("vue").ComputedRef<import("./pageCompositionDraftState").PageComposerField[]>;
45
+ activeComponents: import("vue").ComputedRef<{
46
+ key: string;
47
+ component: import("./pageCompositionDragPayload").ComponentDragPayload["component"];
48
+ title: string;
49
+ required?: boolean | undefined;
50
+ fieldSpecAlias: string;
51
+ }[]>;
52
+ activeChildren: import("vue").ComputedRef<{
53
+ title: string;
54
+ fields: {
55
+ key: string;
56
+ component: import("./pageCompositionDragPayload").ComponentDragPayload["component"];
57
+ title: string;
58
+ required?: boolean | undefined;
59
+ fieldSpecAlias: string;
60
+ }[];
61
+ key: string;
62
+ }[]>;
63
+ componentNameInvalid: import("vue").ComputedRef<boolean>;
64
+ childInvalid: import("vue").ComputedRef<boolean>;
65
+ pendingSearchableFields: import("vue").ComputedRef<string[]>;
66
+ updateField: (key: string, changes: Partial<Pick<PendingComponentField, "title" | "required">>) => void;
67
+ reset: () => void;
68
+ };
@@ -4,6 +4,7 @@ type __VLS_Props = {
4
4
  type?: 'text' | 'password' | 'email' | 'search' | 'number' | 'url' | 'date' | 'datetime-local';
5
5
  placeholder?: string;
6
6
  disabled?: boolean;
7
+ invalid?: boolean;
7
8
  autofocus?: boolean;
8
9
  allowClear?: boolean;
9
10
  autocomplete?: string;
@@ -8,6 +8,7 @@ type __VLS_Props = {
8
8
  searchIconOnly?: boolean;
9
9
  /** The displayed text represents an associated record rather than a search draft. */
10
10
  linked?: boolean;
11
+ invalid?: boolean;
11
12
  unmatched?: boolean;
12
13
  };
13
14
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -27,6 +28,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
27
28
  loading: boolean;
28
29
  value: string;
29
30
  placeholder: string;
31
+ invalid: boolean;
30
32
  unmatched: boolean;
31
33
  searchText: string;
32
34
  searchIconOnly: boolean;
@@ -12,6 +12,7 @@ type __VLS_Props = {
12
12
  filterOption?: boolean;
13
13
  loading?: boolean;
14
14
  /** Marks an unresolved free-text draft without changing the selected option value. */
15
+ invalid?: boolean;
15
16
  unmatched?: boolean;
16
17
  id?: string;
17
18
  ariaLabel?: string;
@@ -44,6 +45,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
44
45
  showSearch: boolean;
45
46
  searchValue: string;
46
47
  filterOption: boolean;
48
+ invalid: boolean;
47
49
  unmatched: boolean;
48
50
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
49
51
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -3,6 +3,7 @@ type __VLS_Props = {
3
3
  value?: string;
4
4
  placeholder?: string;
5
5
  disabled?: boolean;
6
+ invalid?: boolean;
6
7
  rows?: number;
7
8
  maxlength?: number;
8
9
  /** Enables adapter-owned, selection-aware drops without exposing the underlying textarea DOM. */
@@ -52,6 +53,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
52
53
  value: string;
53
54
  placeholder: string;
54
55
  maxlength: number;
56
+ invalid: boolean;
55
57
  rows: number;
56
58
  acceptDrop: (source: UiDragSource) => boolean;
57
59
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -18,6 +18,7 @@ type __VLS_Props = {
18
18
  filterTreeNode?: boolean;
19
19
  loading?: boolean;
20
20
  /** Marks an unresolved free-text draft without changing the selected option value. */
21
+ invalid?: boolean;
21
22
  unmatched?: boolean;
22
23
  };
23
24
  declare var __VLS_11: {};
@@ -45,6 +46,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
45
46
  allowClear: boolean;
46
47
  showSearch: boolean;
47
48
  searchValue: string;
49
+ invalid: boolean;
48
50
  unmatched: boolean;
49
51
  filterTreeNode: boolean;
50
52
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -123,6 +123,10 @@ export type UiTreeChangeReason = 'interaction' | 'filter' | 'reset';
123
123
  export interface UiConfirmOptions {
124
124
  title: string;
125
125
  content?: string;
126
+ details?: {
127
+ title: string;
128
+ lines: readonly string[];
129
+ };
126
130
  okText?: string;
127
131
  cancelText?: string;
128
132
  danger?: boolean;
@@ -16,6 +16,10 @@ export interface AssistantCapabilityCall {
16
16
  export interface AssistantCapabilityResult {
17
17
  callId: string;
18
18
  capabilityCode: string;
19
+ input: Record<string, unknown>;
20
+ /** Execution facts, independent of model completion. */
21
+ execution: 'read' | 'effect-applied' | 'not-applied' | 'unknown';
22
+ presentation?: AssistantResultPresentation;
19
23
  output?: unknown;
20
24
  error?: {
21
25
  code: string;
@@ -23,7 +27,8 @@ export interface AssistantCapabilityResult {
23
27
  };
24
28
  }
25
29
  export interface AssistantConversationMessage {
26
- role: 'user' | 'assistant';
30
+ /** Historical display observations remain data, never assistant claims or authorization. */
31
+ role: 'user' | 'assistant' | 'status';
27
32
  text: string;
28
33
  }
29
34
  export interface AssistantSelectionOption {
@@ -42,7 +47,19 @@ export interface AssistantSelectionResponse {
42
47
  optionId: string;
43
48
  label: string;
44
49
  }
50
+ /** Execution budget is informational; it never grants permission to invoke a capability. */
51
+ export interface AssistantExecutionBudget {
52
+ phase: 'work' | 'summary';
53
+ step: number;
54
+ normalLimit: number;
55
+ hardLimit: number;
56
+ }
45
57
  export interface AssistantTurnInput {
58
+ executionBudget?: AssistantExecutionBudget;
59
+ /** Runtime-only batch remainder, projected as facts; not tool receipts or authorization. */
60
+ unexecutedCapabilities?: string[];
61
+ /** Rejected planning output; never an execution receipt or authorization. */
62
+ decisionFeedback?: 'undeclared-tool';
46
63
  message: string;
47
64
  history?: AssistantConversationMessage[];
48
65
  context: AssistantSurfaceContext;
@@ -50,10 +67,21 @@ export interface AssistantTurnInput {
50
67
  results?: AssistantCapabilityResult[];
51
68
  selectionResponse?: AssistantSelectionResponse;
52
69
  }
70
+ /** Provider-reported counts only. Missing counts are unknown, never estimated as zero. */
71
+ export interface AssistantTokenUsage {
72
+ inputTokens?: number;
73
+ outputTokens?: number;
74
+ totalTokens?: number;
75
+ }
53
76
  export interface AssistantTurnOutput {
77
+ /** Native model tool requests before interaction adaptation; includes unexecuted mixed calls. */
78
+ modelToolCallCount?: number;
79
+ usage?: AssistantTokenUsage;
54
80
  text?: string;
55
81
  toolCalls: AssistantCapabilityCall[];
56
82
  selection?: AssistantSelectionInteraction;
57
83
  finishReason?: string;
58
84
  requestId?: string;
59
85
  }
86
+ export type { OperationPresentation as AssistantResultPresentation } from './operation';
87
+ import type { OperationPresentation as AssistantResultPresentation } from './operation';
@@ -0,0 +1,212 @@
1
+ /** Bounded business clauses; grouping must not force the loss of explicit requirements. */
2
+ export declare const constructionPlanLimits: {
3
+ readonly textItems: 64;
4
+ readonly structuredItems: 16;
5
+ readonly contentBytes: number;
6
+ };
7
+ /** Requirements consensus; never an executable schema or publication approval. */
8
+ export interface ConstructionPlanContent {
9
+ title: string;
10
+ goal: string;
11
+ inScope: string[];
12
+ outOfScope: string[];
13
+ objects: {
14
+ key: string;
15
+ name: string;
16
+ purpose: string;
17
+ moduleAlias?: string | null;
18
+ }[];
19
+ relationships: string[];
20
+ rules: string[];
21
+ questions: string[];
22
+ assumptions: string[];
23
+ decisions: {
24
+ statement: string;
25
+ source: 'USER_REQUIREMENT' | 'RECOMMENDATION';
26
+ }[];
27
+ acceptanceExamples: string[];
28
+ requirements?: ConstructionRequirement[];
29
+ }
30
+ export interface ConstructionPlanSnapshot {
31
+ planId: string;
32
+ revision: number;
33
+ content: ConstructionPlanContent;
34
+ confirmedAt: string;
35
+ constructionStatus: 'NOT_STARTED' | 'LINKED' | 'INITIALIZED' | 'PARTIALLY_DELIVERED' | 'DELIVERED';
36
+ deliveredObjectKeys: string[];
37
+ /** Current explicit associations; old snapshots may only carry historical initialization receipts. */
38
+ moduleBindings?: {
39
+ objectKey: string;
40
+ moduleAlias: string;
41
+ }[];
42
+ initializations: ConstructionInitialization[];
43
+ fieldChanges: ConstructionFieldReceipt[];
44
+ deliveries: ConstructionDeliveryReceipt[];
45
+ }
46
+ export interface ConstructionPlanSummary {
47
+ planId: string;
48
+ title: string;
49
+ revision: number;
50
+ updatedAt: string;
51
+ }
52
+ export interface ConstructionInitialization {
53
+ objectKey: string;
54
+ planRevision: number;
55
+ moduleAlias: string;
56
+ metadataId: string;
57
+ relationId: string;
58
+ requestId: string;
59
+ }
60
+ export interface ConstructionInitializationResult {
61
+ receipt: ConstructionInitialization;
62
+ runtime: import('./index').DynamicRuntimeActivationStatus | null;
63
+ }
64
+ export interface ConstructionField {
65
+ name: string;
66
+ title: string;
67
+ specAlias: string;
68
+ required: boolean;
69
+ unique: boolean;
70
+ indexed: boolean;
71
+ titleField?: boolean;
72
+ reference?: {
73
+ targetModuleAlias: string;
74
+ targetMetadataId: string | null;
75
+ targetKeyField: string;
76
+ targetLabelField: string;
77
+ cardinality: 'ONE';
78
+ targetUnavailablePolicy: 'PRESERVE_HISTORY';
79
+ requireEnabled: boolean;
80
+ projectionMappings: string[];
81
+ } | null;
82
+ }
83
+ export interface ConstructionFieldDescription {
84
+ children?: Record<string, {
85
+ relation: import('./index').ModuleMetadataRelation;
86
+ metadataVersion: number;
87
+ fields: import('./index').MetadataField[];
88
+ references: Record<string, NonNullable<ConstructionField['reference']>>;
89
+ }>;
90
+ calculationRules?: {
91
+ alias: string;
92
+ targetField?: string | null;
93
+ expression: string;
94
+ version?: number;
95
+ }[];
96
+ moduleAlias: string;
97
+ planRevision: number;
98
+ metadataVersion: number;
99
+ references?: Record<string, NonNullable<ConstructionField['reference']>>;
100
+ fields: import('./index').MetadataField[];
101
+ specs: {
102
+ alias: string;
103
+ title: string;
104
+ type: string;
105
+ length: number | null;
106
+ precision: number | null;
107
+ scale: number | null;
108
+ }[];
109
+ }
110
+ export interface ConstructionFieldReceipt {
111
+ requestId: string;
112
+ objectKey: string;
113
+ planRevision: number;
114
+ moduleAlias: string;
115
+ fields: ConstructionField[];
116
+ }
117
+ export interface ConstructionFieldResult {
118
+ receipt: ConstructionFieldReceipt;
119
+ runtime: import('./index').DynamicRuntimeActivationStatus | null;
120
+ }
121
+ export interface ConstructionDeliveryProposal {
122
+ childFields?: Record<string, string[]>;
123
+ planRevision: number;
124
+ objectKey: string;
125
+ kind: 'PAGE' | 'ENTRY';
126
+ title: string;
127
+ listFields: string[];
128
+ formFields: string[];
129
+ searchFields: string[];
130
+ }
131
+ export interface ConstructionDeliveryPreview {
132
+ proposal: ConstructionDeliveryProposal;
133
+ moduleAlias: string;
134
+ lines: string[];
135
+ fingerprint: string;
136
+ }
137
+ export interface ConstructionDeliveryReceipt {
138
+ requestId: string;
139
+ objectKey: string;
140
+ planRevision: number;
141
+ kind: 'PAGE' | 'ENTRY';
142
+ moduleAlias: string;
143
+ pageId: string;
144
+ variantId: string;
145
+ revisionId: string;
146
+ menuId: string | null;
147
+ metadataVersion: number;
148
+ }
149
+ export interface ConstructionProgress {
150
+ objectKey: string;
151
+ moduleAlias: string;
152
+ runtimeStatus: string;
153
+ pagePublished: boolean;
154
+ entryVisible: boolean;
155
+ menuId: string | null;
156
+ needsReview: boolean;
157
+ acceptanceConfirmed: boolean;
158
+ /** Configuration progress is not an observation of tenant business records. */
159
+ businessDataStatus: 'NOT_QUERIED';
160
+ remainingWork: string[];
161
+ receipts: ConstructionDeliveryReceipt[];
162
+ requirements?: ConstructionRequirementEvidence[];
163
+ }
164
+ export interface ConstructionAcceptancePreview {
165
+ objectKey: string;
166
+ planRevision: number;
167
+ checks: string[];
168
+ fingerprint: string;
169
+ }
170
+ export interface ConstructionAcceptanceReceipt {
171
+ requestId: string;
172
+ objectKey: string;
173
+ planRevision: number;
174
+ baseline: string;
175
+ }
176
+ export interface ConstructionRequirement {
177
+ section: 'SCOPE' | 'RULE' | 'RELATION';
178
+ index: number;
179
+ objectKey: string;
180
+ mode: 'FIELD' | 'REQUIRED' | 'UNIQUE' | 'REFERENCE' | 'CHILD' | 'CALCULATION' | 'MANUAL' | 'UNSUPPORTED';
181
+ fieldName: string;
182
+ explanation: string;
183
+ reference?: {
184
+ objectKey: string;
185
+ moduleAlias: string;
186
+ } | null;
187
+ }
188
+ export interface ConstructionRequirementEvidence {
189
+ section: ConstructionRequirement['section'];
190
+ index: number;
191
+ statement: string;
192
+ objectKey: string;
193
+ fieldName: string;
194
+ status: 'UNMAPPED' | 'UNSUPPORTED' | 'CONFIGURATION_MISSING' | 'CONFIGURATION_MATCHED' | 'MANUAL_RESPONSIBILITY';
195
+ explanation: string;
196
+ }
197
+ export interface ConstructionTask {
198
+ planRevision: number;
199
+ /** Requirements whose object ownership has not been confirmed, reported once for the plan. */
200
+ unmappedRequirements: ConstructionRequirementEvidence[];
201
+ objects: {
202
+ objectKey: string;
203
+ title: string;
204
+ complete: boolean;
205
+ options: {
206
+ action: 'REVIEW_CURRENT_CONFIGURATION' | 'REVIEW_REQUIREMENTS' | 'INITIALIZE' | 'VERIFY_RUNTIME' | 'CONFIGURE_FIELDS' | 'REVIEW_CONFIGURATION' | 'PUBLISH_PAGE' | 'CREATE_ENTRY' | 'VERIFY_BUSINESS';
207
+ explanation: string;
208
+ }[];
209
+ requirements: ConstructionRequirementEvidence[];
210
+ progress?: Pick<ConstructionProgress, 'moduleAlias' | 'runtimeStatus' | 'pagePublished' | 'entryVisible' | 'menuId' | 'needsReview' | 'acceptanceConfirmed' | 'businessDataStatus' | 'remainingWork'> | null;
211
+ }[];
212
+ }
@@ -410,6 +410,8 @@ export declare function hasExecutableDetailRelationMutationContract(relation: Re
410
410
  };
411
411
  export type MenuEntryType = 'module' | 'route' | 'link';
412
412
  export interface MenuRecord extends StandardEnabledTreeEntity {
413
+ /** Read-only hint from the target module; never maintained on menus. */
414
+ moduleDescription?: string;
413
415
  id: string;
414
416
  title: string;
415
417
  schemeId: string;
@@ -633,6 +635,8 @@ export interface WebReferenceResolveRequest {
633
635
  export interface WebReferenceResolveItem {
634
636
  id: string;
635
637
  title?: string;
638
+ /** Public, source-declared candidate context; never an arbitrary projection dump. */
639
+ subtitle?: string;
636
640
  matchedBy?: WebReferenceMatchMode;
637
641
  projections?: Record<string, unknown>;
638
642
  affectPatch?: Record<string, unknown>;
@@ -743,7 +747,9 @@ export interface ViewFieldRef {
743
747
  fieldName: string;
744
748
  fieldId?: string;
745
749
  }
750
+ export type AssistantFieldPolicy = 'HIDDEN' | 'DESCRIBE' | 'READ' | 'READ_WRITE';
746
751
  export interface ViewFieldDefinition {
752
+ assistantPolicy?: AssistantFieldPolicy;
747
753
  fieldRef: ViewFieldRef;
748
754
  label?: string;
749
755
  visible?: UiRule<boolean>;
@@ -795,6 +801,18 @@ export interface ResolvedFieldControlBindingDescriptor {
795
801
  valueType: string;
796
802
  }
797
803
  export interface ResolvedViewFieldDescriptor {
804
+ /** Computed values are previews or are unavailable until the next successful save. */
805
+ calculationTiming?: 'IMMEDIATE' | 'ON_SAVE' | null;
806
+ inputRequirements?: {
807
+ requiredOnInsert: boolean;
808
+ requiredOnUpdate: boolean;
809
+ maxLength?: number | null;
810
+ validationRegex?: string | null;
811
+ textNormalization?: 'NONE' | 'TRIM' | 'TRIM_TO_NULL' | null;
812
+ precision?: number | null;
813
+ scale?: number | null;
814
+ };
815
+ assistantPolicy?: AssistantFieldPolicy;
798
816
  fieldRef: ViewFieldRef;
799
817
  label?: string;
800
818
  visible?: UiRule<boolean>;
@@ -1610,3 +1628,17 @@ export interface PurgeReport {
1610
1628
  purgeOperationId: string;
1611
1629
  entries: PurgeEntryResult[];
1612
1630
  }
1631
+ /** Committed configuration and the projections installed in the node serving this response. */
1632
+ export interface DynamicRuntimeActivationStatus {
1633
+ moduleAlias: string;
1634
+ desiredRevision: number | null;
1635
+ lastSuccessfulRevision: number | null;
1636
+ installedRevision: number | null;
1637
+ status: 'UNTRACKED' | 'PENDING' | 'ACTIVE' | 'INACTIVE' | 'FAILED';
1638
+ failureMessage: string | null;
1639
+ attemptedAt: string | null;
1640
+ }
1641
+ export * from './constructionPlan';
1642
+ export type { ConstructionRequirement, ConstructionRequirementEvidence, ConstructionTask, } from './constructionPlan';
1643
+ export type { ReferenceTargetFieldCatalog, ReferenceTargetFieldCandidate } from './referenceTarget';
1644
+ export * from './operation';
@@ -0,0 +1,33 @@
1
+ /** Platform operation presentation; never interpreted from model prose. */
2
+ export interface OperationPresentation {
3
+ title: string;
4
+ lines: string[];
5
+ /** Secondary, fully reviewable details; never used as an execution payload. */
6
+ details?: {
7
+ title: string;
8
+ lines: string[];
9
+ };
10
+ }
11
+ /** A bounded read-only pointer, never an executable command or authority. */
12
+ export type OperationReceiptReference = {
13
+ kind: 'record-save';
14
+ moduleAlias: string;
15
+ requestId: string;
16
+ tenantId?: string;
17
+ menuId?: string;
18
+ pageContext?: Record<string, string>;
19
+ pageSelection?: {
20
+ kind: string;
21
+ key: string;
22
+ };
23
+ } | {
24
+ kind: 'child-metadata';
25
+ moduleAlias: string;
26
+ relationId: string;
27
+ requestId: string;
28
+ } | {
29
+ kind: 'page-publication';
30
+ variantId: string;
31
+ revisionId: string;
32
+ contentDigest: string;
33
+ };
@@ -0,0 +1,13 @@
1
+ /** Configuration directory shared by standard editors and application construction. */
2
+ export interface ReferenceTargetFieldCandidate {
3
+ fieldName: string;
4
+ title: string;
5
+ defaultField: boolean;
6
+ selectable: boolean;
7
+ }
8
+ export interface ReferenceTargetFieldCatalog {
9
+ targetModuleAlias: string;
10
+ targetMetadataId: string | null;
11
+ keyFields: ReferenceTargetFieldCandidate[];
12
+ labelFields: ReferenceTargetFieldCandidate[];
13
+ }
@@ -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,23 @@
1
+ import type { OperationReceiptReference, OperationPresentation } from '../web-contracts/index';
2
+ import { type OperationProposal, type OperationConfirmation } from './operationConfirmation';
3
+ export { OperationRejectedError as AssistantOperationRejectedError } from './operationConfirmation';
4
+ export type { OperationConfirmationState as AssistantConfirmationState } from './operationConfirmation';
5
+ /** Assistant-only explanation and continuation decorate a platform command. */
6
+ export interface AssistantOperationProposal extends OperationProposal {
7
+ modelSummary?: string;
8
+ continuation?: {
9
+ message: string;
10
+ readOnly?: boolean;
11
+ isCurrent(): boolean;
12
+ };
13
+ }
14
+ export interface AssistantOperationConfirmation extends OperationConfirmation {
15
+ readonly modelSummary: string;
16
+ readonly receiptReference?: OperationReceiptReference;
17
+ readonly continuationReadOnly?: boolean;
18
+ readonly continuationIsCurrent?: () => boolean;
19
+ takeContinuation(): string | undefined;
20
+ }
21
+ export declare function createAssistantOperationConfirmation(proposal: AssistantOperationProposal, scopeIsCurrent: () => boolean, now?: () => number): AssistantOperationConfirmation;
22
+ /** Recovered results have no execute path, expiry renewal, or automatic continuation. */
23
+ export declare function restoreAssistantOperationReceipt(reference: OperationReceiptReference, lookup: () => Promise<OperationPresentation | undefined>, scopeIsCurrent: () => boolean): AssistantOperationConfirmation;
@@ -0,0 +1,42 @@
1
+ import type { OperationReceiptReference, OperationPresentation } from '../web-contracts/index';
2
+ import type { HttpClient } from './http';
3
+ import type { AssistantConversationMessage } from '../web-contracts/index';
4
+ export interface AssistantConfigurationTask {
5
+ goal: string;
6
+ mode: 'conversation' | 'visual';
7
+ }
8
+ export interface AssistantConversationContent {
9
+ configurationTask?: AssistantConfigurationTask;
10
+ /** Scope of model history, not conversation ownership or permission. */
11
+ executionScopeKey?: string;
12
+ title: string;
13
+ messages: Array<{
14
+ role: 'user' | 'assistant' | 'status';
15
+ text: string;
16
+ operationReceipt?: {
17
+ reference: OperationReceiptReference;
18
+ executionScopeKey: string;
19
+ };
20
+ }>;
21
+ history: AssistantConversationMessage[];
22
+ planId?: string;
23
+ pendingRequest?: string;
24
+ }
25
+ export interface AssistantConversationSnapshot {
26
+ id: string;
27
+ revision: number;
28
+ updatedAt: string;
29
+ content: AssistantConversationContent;
30
+ }
31
+ export interface AssistantConversationSummary {
32
+ id: string;
33
+ title: string;
34
+ updatedAt: string;
35
+ }
36
+ export interface AssistantConversationClient {
37
+ lookupOperation?(reference: OperationReceiptReference): Promise<OperationPresentation | undefined>;
38
+ list(scopeKey: string, page: number): Promise<AssistantConversationSummary[]>;
39
+ read(id: string, scopeKey: string): Promise<AssistantConversationSnapshot>;
40
+ save(id: string, scopeKey: string, expectedRevision: number, content: AssistantConversationContent): Promise<AssistantConversationSnapshot>;
41
+ }
42
+ export declare function createAssistantConversationClient(http: HttpClient): AssistantConversationClient;