@ximatai/muyun-web-app 0.26.13 → 0.26.14

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 (64) hide show
  1. package/dist/{BusinessActivityLogView-UC4rH4Fn.js → BusinessActivityLogView-BUg5WTm-.js} +1 -1
  2. package/dist/BusinessLogListDrawer-BOTE_7aT.js +825 -0
  3. package/dist/{LoginAuditLogView-Cjrp8MKX.js → LoginAuditLogView-DBNtvmIy.js} +1 -1
  4. package/dist/{ModuleActionManagementView-Dkb35QXc.js → ModuleActionManagementView-Bq1VO51Y.js} +165 -165
  5. package/dist/{ModuleGovernanceView-Dx43QvGf.js → ModuleGovernanceView-B8u4_erd.js} +3570 -2877
  6. package/dist/{RequestErrorLogView-WnGvMWiF.js → RequestErrorLogView-BrtH3ptj.js} +1 -1
  7. package/dist/{RoleDetailWorkspaceView-DPDb_QOn.js → RoleDetailWorkspaceView-6LW3tLA1.js} +276 -276
  8. package/dist/{RuntimeLogView-BRl4ZDkU.js → RuntimeLogView-s3X5CdHB.js} +47 -80
  9. package/dist/index.css +1 -1
  10. package/dist/index.js +400 -400
  11. package/dist/{moduleGovernanceWorkspaceView-4V_UW-Bt.js → moduleGovernanceWorkspaceView-BRgJbUjJ.js} +2 -2
  12. package/dist/{platform-components-1cvOeHmo.js → platform-components-Dt859Hbr.js} +3449 -2676
  13. package/dist/platform-workbench-DfqFnlm-.js +14701 -0
  14. package/dist/{http-B0TC0pJB.js → sse-mGbuCAax.js} +41 -11
  15. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +218 -8
  16. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +230 -18
  17. package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +2 -2
  18. package/dist/types/dynamic-page-runtime/assistantRecordEditorPolicy.d.ts +6 -0
  19. package/dist/types/dynamic-page-runtime/composables/useModulePageListSession.d.ts +1 -0
  20. package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +2 -0
  21. package/dist/types/dynamic-page-runtime/index.d.ts +1 -0
  22. package/dist/types/dynamic-page-runtime/modulePageAssistantScope.d.ts +8 -0
  23. package/dist/types/dynamic-page-runtime/modulePageAssistantSurface.d.ts +6 -0
  24. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +110 -5
  25. package/dist/types/dynamic-page-runtime/useTenantScopeController.d.ts +1 -0
  26. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +8 -0
  27. package/dist/types/platform-components/QueryValueEditor.vue.d.ts +1 -1
  28. package/dist/types/platform-components/RecordDetailFields.vue.d.ts +1 -1
  29. package/dist/types/platform-components/RecordFormFields.vue.d.ts +1 -1
  30. package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -1
  31. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +8 -0
  32. package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -2
  33. package/dist/types/platform-components/index.d.ts +4 -1
  34. package/dist/types/platform-components/querySettlementController.d.ts +5 -0
  35. package/dist/types/platform-components/recordQueryListColumnModel.d.ts +7 -0
  36. package/dist/types/platform-components/recordQueryListQueryController.d.ts +36 -0
  37. package/dist/types/platform-components/recordTreeQueryController.d.ts +18 -0
  38. package/dist/types/platform-components/referencePickerModel.d.ts +2 -0
  39. package/dist/types/platform-workbench/AssistantMarkdownContent.vue.d.ts +6 -0
  40. package/dist/types/platform-workbench/AssistantSelectionCard.vue.d.ts +15 -0
  41. package/dist/types/platform-workbench/Workbench.vue.d.ts +7 -2
  42. package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +12 -0
  43. package/dist/types/platform-workbench/assistantMarkdown.d.ts +1 -0
  44. package/dist/types/platform-workbench/index.d.ts +1 -0
  45. package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +3 -0
  46. package/dist/types/views/BusinessLogRetentionControl.vue.d.ts +7 -0
  47. package/dist/types/views/businessLogClient.d.ts +3 -0
  48. package/dist/types/views/businessLogRetentionClient.d.ts +25 -0
  49. package/dist/types/views/metadataGovernanceAssistantSurface.d.ts +122 -0
  50. package/dist/types/views/metadataModelChangeSetClient.d.ts +36 -0
  51. package/dist/types/views/metadataNaming.d.ts +4 -0
  52. package/dist/types/views/runtimeLogSse.d.ts +3 -13
  53. package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +2 -0
  54. package/dist/types/web-contracts/assistant.d.ts +59 -0
  55. package/dist/types/web-contracts/index.d.ts +1 -0
  56. package/dist/types/web-core/assistantRuntime.d.ts +77 -0
  57. package/dist/types/web-core/assistantSurface.d.ts +92 -0
  58. package/dist/types/web-core/assistantTurnClient.d.ts +8 -0
  59. package/dist/types/web-core/index.d.ts +4 -0
  60. package/dist/types/web-core/sse.d.ts +9 -0
  61. package/dist/{workspaceViews-CCg6V0pr.js → workspaceViews-DijY4n32.js} +554 -554
  62. package/package.json +1 -1
  63. package/dist/BusinessLogListDrawer-BtaXVJKz.js +0 -564
  64. package/dist/platform-workbench-Cu14Xd9d.js +0 -10299
@@ -1,4 +1,4 @@
1
- import { hr as e, vr as t } from "./platform-components-1cvOeHmo.js";
1
+ import { Pr as e, jr as t } from "./platform-components-Dt859Hbr.js";
2
2
  //#region src/web-core/http.ts
3
3
  function n(e, t, n) {
4
4
  let i = () => {
@@ -39,7 +39,7 @@ function i(n = {}) {
39
39
  async stream(r) {
40
40
  let i = await a(n, r, { Accept: u(r.headers, "accept") ?? "text/event-stream" });
41
41
  if (!i.ok) return o(n, i);
42
- if (!i.body) throw new e("Response stream is unavailable", { code: t.networkError });
42
+ if (!i.body) throw new t("Response stream is unavailable", { code: e.networkError });
43
43
  return i.body;
44
44
  }
45
45
  };
@@ -57,8 +57,8 @@ async function a(n, r, i) {
57
57
  signal: r.signal
58
58
  });
59
59
  } catch (n) {
60
- throw new e("Network request failed", {
61
- code: t.networkError,
60
+ throw n instanceof DOMException && n.name === "AbortError" ? n : new t("Network request failed", {
61
+ code: e.networkError,
62
62
  details: { cause: n instanceof Error ? n.message : String(n) }
63
63
  });
64
64
  }
@@ -68,8 +68,8 @@ async function o(n, r) {
68
68
  try {
69
69
  i = await f(r);
70
70
  } catch (n) {
71
- i = new e(`Request failed with status ${r.status}`, {
72
- code: t.httpError,
71
+ i = new t(`Request failed with status ${r.status}`, {
72
+ code: e.httpError,
73
73
  status: r.status,
74
74
  traceId: r.headers.get("X-MuYun-Trace-Id") ?? void 0,
75
75
  details: { cause: n instanceof Error ? n.message : String(n) }
@@ -77,8 +77,8 @@ async function o(n, r) {
77
77
  }
78
78
  throw s(n, i), i;
79
79
  }
80
- function s(e, n) {
81
- n.status === 401 && n.code !== t.loginBadCredentials && (n.globallyHandled = e.onAuthenticationRequired?.(n, e.token) === !0);
80
+ function s(t, n) {
81
+ n.status === 401 && n.code !== e.loginBadCredentials && (n.globallyHandled = t.onAuthenticationRequired?.(n, t.token) === !0);
82
82
  }
83
83
  function c(e, t) {
84
84
  let n = e?.replace(/\/$/, "") ?? "", r = t.path.startsWith("/") ? t.path : `/${t.path}`, i = typeof window > "u" ? "http://localhost" : window.location.origin, a = new URL(`${n}${r}`, i);
@@ -101,8 +101,8 @@ function d(e) {
101
101
  if (e !== void 0) return e instanceof FormData ? e : JSON.stringify(e);
102
102
  }
103
103
  async function f(n) {
104
- let r = await p(n), i = _(r), a = i?.text ?? m(r) ?? `Request failed with status ${n.status}`, o = i?.code ?? h(r) ?? t.httpError;
105
- return new e(a, {
104
+ let r = await p(n), i = _(r), a = i?.text ?? m(r) ?? `Request failed with status ${n.status}`, o = i?.code ?? h(r) ?? e.httpError;
105
+ return new t(a, {
106
106
  code: o,
107
107
  status: n.status,
108
108
  traceId: g(r) ?? n.headers.get("X-MuYun-Trace-Id") ?? void 0,
@@ -154,4 +154,34 @@ function x(e) {
154
154
  return !!e && typeof e == "object" && !Array.isArray(e);
155
155
  }
156
156
  //#endregion
157
- export { r as n, n as r, i as t };
157
+ //#region src/web-core/sse.ts
158
+ function S(e) {
159
+ let t = "", n = "message", r = [];
160
+ function i() {
161
+ r.length > 0 && e({
162
+ event: n,
163
+ data: r.join("\n")
164
+ }), n = "message", r = [];
165
+ }
166
+ function a(e) {
167
+ if (e === "") {
168
+ i();
169
+ return;
170
+ }
171
+ if (e.startsWith(":")) return;
172
+ let t = e.indexOf(":"), a = t >= 0 ? e.slice(0, t) : e, o = t >= 0 ? e.slice(t + 1).replace(/^ /, "") : "";
173
+ a === "event" ? n = o || "message" : a === "data" && r.push(o);
174
+ }
175
+ return {
176
+ push(e) {
177
+ t += e;
178
+ let n = t.indexOf("\n");
179
+ for (; n >= 0;) a(t.slice(0, n).replace(/\r$/, "")), t = t.slice(n + 1), n = t.indexOf("\n");
180
+ },
181
+ finish() {
182
+ t &&= (a(t.replace(/\r$/, "")), ""), i();
183
+ }
184
+ };
185
+ }
186
+ //#endregion
187
+ export { n as i, i as n, r, S as t };
@@ -183,7 +183,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
183
183
  }>) => void;
184
184
  selectNavigatorRecord: (levelKey: string, record: {
185
185
  id?: string;
186
- }, source?: "user" | "entry") => void;
186
+ }, source?: "user" | "assistant" | "entry") => void;
187
187
  clearNavigatorRecord: (levelKey: string) => void;
188
188
  handleNavigatorInlineAction: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime, action: import("../web-contracts").RecordInlineAction, record: {
189
189
  id?: string;
@@ -223,7 +223,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
223
223
  navigatorManagementEnabledDisabled: boolean;
224
224
  navigatorManagementEnabledDisabledReason: string | undefined;
225
225
  navigatorManagementTogglingEnabled: boolean;
226
- closeNavigatorManagementEditor: () => void;
226
+ closeNavigatorManagementEditor: (source?: "user" | "background") => void;
227
227
  saveNavigatorRecord: () => Promise<void>;
228
228
  toggleNavigatorManagementEnabled: (enabled: boolean) => Promise<void>;
229
229
  updateNavigatorManagementDraft: (fieldName: string, value: import("../platform-components/index").RecordFormFieldValue) => void;
@@ -250,6 +250,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
250
250
  detailDirty: boolean;
251
251
  sessionDirty: boolean;
252
252
  updateDraftField: (fieldName: string, value: import("../platform-components/index").RecordFormFieldValue) => void;
253
+ updateDraftFields: (changes: Array<{
254
+ fieldName: string;
255
+ value: import("../platform-components/index").RecordFormFieldValue;
256
+ }>, source?: "user" | "assistant") => void;
257
+ updateDraftReference: (fieldName: string, candidate: import("../platform-components/index").ReferencePickerCandidate, source?: "user" | "assistant") => void;
253
258
  showStatusSwitch: boolean;
254
259
  canToggleEnabled: boolean;
255
260
  toggleEnabledDisabledReason: string | undefined;
@@ -866,6 +871,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
866
871
  } | undefined;
867
872
  }> & Omit<Map<string, import("../platform-components/index").RecordFormFieldDescriptor>, keyof Map<any, any>>;
868
873
  formSessionKey: number;
874
+ assistantContextRevision: number;
875
+ assistantInteractionRevision: number;
876
+ listQueryController: import("../platform-components/index").RecordQueryListQueryController | undefined;
877
+ treeQueryController: import("../platform-components/index").RecordTreeQueryController | undefined;
878
+ bindListQueryController: (controller: import("../platform-components/index").RecordQueryListQueryController | undefined) => void;
879
+ bindTreeQueryController: (controller: import("../platform-components/index").RecordTreeQueryController | undefined) => void;
869
880
  formValidationRequestKey: number;
870
881
  referencePickerConfigs: Record<string, import("../platform-components/index").RecordFormFieldPickerConfig>;
871
882
  runtimeUiDescriptor: import("../web-contracts").ResolvedModuleUiDescriptor | undefined;
@@ -887,7 +898,101 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
887
898
  key?: string;
888
899
  actionCode?: string;
889
900
  }) => void;
890
- createRootRecord: () => void;
901
+ createRootRecord: () => Promise<boolean>;
902
+ assistantRecordCreationReady: () => boolean;
903
+ prepareAssistantCreate: () => Promise<() => {
904
+ editorMode: import("./recordDetailController").RecordDetailMode;
905
+ recordId: string | undefined;
906
+ editable: boolean;
907
+ dirty: boolean;
908
+ }>;
909
+ prepareAssistantEdit: (recordId: string) => Promise<() => {
910
+ editorMode: import("./recordDetailController").RecordDetailMode;
911
+ recordId: string | undefined;
912
+ editable: boolean;
913
+ dirty: boolean;
914
+ }>;
915
+ assistantNavigatorScopes: () => {
916
+ descriptor: {
917
+ key: string;
918
+ kind: "TREE" | "MICRO_LIST";
919
+ sourceModuleAlias: string;
920
+ title: string;
921
+ searchPlaceholder: string;
922
+ secondaryField?: string | undefined;
923
+ singleResultPolicy?: "NONE" | "AUTO_SELECT" | "AUTO_SELECT_AND_HIDE" | undefined;
924
+ initialSelectionPolicy?: "NONE" | "FIRST_RECORD" | undefined;
925
+ sourceScope?: "NONE" | "CURRENT_TENANT" | undefined;
926
+ management?: {
927
+ editorSurface?: string | undefined;
928
+ } | null | undefined;
929
+ };
930
+ context: {
931
+ moduleAlias: string;
932
+ http: {
933
+ request: <T>(options: import("../web-core").HttpRequestOptions) => Promise<T>;
934
+ };
935
+ crud: {
936
+ querySchema: (options?: import("../web-core").QuerySchemaRequestOptions) => Promise<import("../web-contracts").QuerySchema>;
937
+ query: (request?: import("../web-contracts").WebQueryRequest) => Promise<import("../web-contracts").WebPageResponse<QueryListRecord>>;
938
+ view: (id: string) => Promise<QueryListRecord>;
939
+ insert: (record: QueryListRecord) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
940
+ update: (id: string, record: QueryListRecord) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
941
+ delete: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
942
+ enable: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
943
+ disable: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
944
+ sort?: ((id: string, request: import("../web-contracts").SortRequest) => Promise<import("../web-core").StaticCountMutationResult>) | undefined;
945
+ };
946
+ runtime: {
947
+ ready: {
948
+ then: <TResult1 = import("../web-core").ModuleRuntimeContext, TResult2 = never>(onfulfilled?: ((value: import("../web-core").ModuleRuntimeContext) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
949
+ catch: <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined) => Promise<import("../web-core").ModuleRuntimeContext | TResult>;
950
+ finally: (onfinally?: (() => void) | null | undefined) => Promise<import("../web-core").ModuleRuntimeContext>;
951
+ readonly [Symbol.toStringTag]: string;
952
+ };
953
+ load: () => Promise<import("../web-core").ModuleRuntimeContext>;
954
+ snapshot: () => import("../web-core").ModuleRuntimeContext | undefined;
955
+ error: () => import("../web-core").AppError | undefined;
956
+ hasAbility: (ability: import("../web-core").ModuleAbilityCode | string) => boolean | undefined;
957
+ action: (actionCode: string, recordId?: string) => import("../web-core").ModuleActionState | undefined;
958
+ runtimeAction: (actionCode: string) => import("../web-core").ModuleRuntimeAction | undefined;
959
+ can: (actionCode: string, recordId?: string) => boolean | undefined;
960
+ recordActions: (recordId: string) => Promise<import("../web-core").ModuleRecordActionAvailability>;
961
+ recordActionsBatch?: ((recordIds: string[]) => Promise<import("../web-core").ModuleRecordActionAvailability[]>) | undefined;
962
+ recordActionsSnapshot: (recordId: string) => import("../web-core").ModuleRecordActionAvailability | undefined;
963
+ invalidateRecordActions?: ((recordIds?: string[]) => void) | undefined;
964
+ };
965
+ abilities: {
966
+ crud: () => import("../web-core").ModuleCrudClient<QueryListRecord>;
967
+ tree: () => import("../web-core").ModuleTreeClient<QueryListRecord>;
968
+ enable: () => import("../web-core").ModuleEnableClient;
969
+ tryCrud: () => import("../web-core").ModuleCrudClient<QueryListRecord> | undefined;
970
+ tryTree: () => import("../web-core").ModuleTreeClient<QueryListRecord> | undefined;
971
+ tryEnable: () => import("../web-core").ModuleEnableClient | undefined;
972
+ has: (ability: import("../web-core").ModuleAbilityCode | string) => boolean | undefined;
973
+ hasCrud: () => boolean | undefined;
974
+ hasTree: () => boolean | undefined;
975
+ hasEnable: () => boolean | undefined;
976
+ };
977
+ action: (actionCode: string, recordId?: string) => import("../web-core").ModuleActionState | undefined;
978
+ runtimeAction: (actionCode: string) => import("../web-core").ModuleRuntimeAction | undefined;
979
+ can: (actionCode: string, recordId?: string) => boolean | undefined;
980
+ recordActions: (recordId: string) => Promise<import("../web-core").ModuleRecordActionAvailability>;
981
+ recordActionsBatch?: ((recordIds: string[]) => Promise<import("../web-core").ModuleRecordActionAvailability[]>) | undefined;
982
+ recordActionsSnapshot: (recordId: string) => import("../web-core").ModuleRecordActionAvailability | undefined;
983
+ invalidateRecordActions?: ((recordIds?: string[]) => void) | undefined;
984
+ };
985
+ tree: boolean;
986
+ sort: {
987
+ visible: boolean;
988
+ enabled: boolean;
989
+ active?: boolean | undefined;
990
+ disabledReason?: string | undefined;
991
+ };
992
+ }[];
993
+ assistantNavigatorScopeRevision: (levelKey: string) => string;
994
+ applyAssistantNavigatorSelection: (levelKey: string, record: QueryListRecord, expectedRevision: string) => boolean;
995
+ settleAssistantPageState: (signal: AbortSignal) => Promise<void>;
891
996
  hasCardAssistantAt: (boundary: "inside" | "outside", position: "top" | "bottom") => boolean;
892
997
  enhancementCardAssistant: import("./modulePageEnhancements").ModulePageCardAssistant | undefined;
893
998
  cardAssistantContext: import("./modulePageEnhancements").ModulePageCardAssistantContext | undefined;
@@ -1064,7 +1169,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1064
1169
  selectedTreeRecord: QueryListRecord | undefined;
1065
1170
  mainTreeTitle: (record: object) => string;
1066
1171
  mainTreeSecondary: (record: object) => string | undefined;
1067
- selectTreeRecord: (record: unknown) => void;
1172
+ selectTreeRecord: (record: unknown, source?: "user" | "assistant" | "background") => void;
1068
1173
  clearTreeRecordSelection: () => void;
1069
1174
  handleTreeLoaded: (records: unknown[]) => void;
1070
1175
  handleTreeSorted: () => void;
@@ -1258,7 +1363,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1258
1363
  }>) => void;
1259
1364
  selectNavigatorRecord: (levelKey: string, record: {
1260
1365
  id?: string;
1261
- }, source?: "user" | "entry") => void;
1366
+ }, source?: "user" | "assistant" | "entry") => void;
1262
1367
  clearNavigatorRecord: (levelKey: string) => void;
1263
1368
  handleNavigatorInlineAction: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime, action: import("../web-contracts").RecordInlineAction, record: {
1264
1369
  id?: string;
@@ -1298,7 +1403,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1298
1403
  navigatorManagementEnabledDisabled: boolean;
1299
1404
  navigatorManagementEnabledDisabledReason: string | undefined;
1300
1405
  navigatorManagementTogglingEnabled: boolean;
1301
- closeNavigatorManagementEditor: () => void;
1406
+ closeNavigatorManagementEditor: (source?: "user" | "background") => void;
1302
1407
  saveNavigatorRecord: () => Promise<void>;
1303
1408
  toggleNavigatorManagementEnabled: (enabled: boolean) => Promise<void>;
1304
1409
  updateNavigatorManagementDraft: (fieldName: string, value: import("../platform-components/index").RecordFormFieldValue) => void;
@@ -1325,6 +1430,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1325
1430
  detailDirty: boolean;
1326
1431
  sessionDirty: boolean;
1327
1432
  updateDraftField: (fieldName: string, value: import("../platform-components/index").RecordFormFieldValue) => void;
1433
+ updateDraftFields: (changes: Array<{
1434
+ fieldName: string;
1435
+ value: import("../platform-components/index").RecordFormFieldValue;
1436
+ }>, source?: "user" | "assistant") => void;
1437
+ updateDraftReference: (fieldName: string, candidate: import("../platform-components/index").ReferencePickerCandidate, source?: "user" | "assistant") => void;
1328
1438
  showStatusSwitch: boolean;
1329
1439
  canToggleEnabled: boolean;
1330
1440
  toggleEnabledDisabledReason: string | undefined;
@@ -1941,6 +2051,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1941
2051
  } | undefined;
1942
2052
  }> & Omit<Map<string, import("../platform-components/index").RecordFormFieldDescriptor>, keyof Map<any, any>>;
1943
2053
  formSessionKey: number;
2054
+ assistantContextRevision: number;
2055
+ assistantInteractionRevision: number;
2056
+ listQueryController: import("../platform-components/index").RecordQueryListQueryController | undefined;
2057
+ treeQueryController: import("../platform-components/index").RecordTreeQueryController | undefined;
2058
+ bindListQueryController: (controller: import("../platform-components/index").RecordQueryListQueryController | undefined) => void;
2059
+ bindTreeQueryController: (controller: import("../platform-components/index").RecordTreeQueryController | undefined) => void;
1944
2060
  formValidationRequestKey: number;
1945
2061
  referencePickerConfigs: Record<string, import("../platform-components/index").RecordFormFieldPickerConfig>;
1946
2062
  runtimeUiDescriptor: import("../web-contracts").ResolvedModuleUiDescriptor | undefined;
@@ -1962,7 +2078,101 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1962
2078
  key?: string;
1963
2079
  actionCode?: string;
1964
2080
  }) => void;
1965
- createRootRecord: () => void;
2081
+ createRootRecord: () => Promise<boolean>;
2082
+ assistantRecordCreationReady: () => boolean;
2083
+ prepareAssistantCreate: () => Promise<() => {
2084
+ editorMode: import("./recordDetailController").RecordDetailMode;
2085
+ recordId: string | undefined;
2086
+ editable: boolean;
2087
+ dirty: boolean;
2088
+ }>;
2089
+ prepareAssistantEdit: (recordId: string) => Promise<() => {
2090
+ editorMode: import("./recordDetailController").RecordDetailMode;
2091
+ recordId: string | undefined;
2092
+ editable: boolean;
2093
+ dirty: boolean;
2094
+ }>;
2095
+ assistantNavigatorScopes: () => {
2096
+ descriptor: {
2097
+ key: string;
2098
+ kind: "TREE" | "MICRO_LIST";
2099
+ sourceModuleAlias: string;
2100
+ title: string;
2101
+ searchPlaceholder: string;
2102
+ secondaryField?: string | undefined;
2103
+ singleResultPolicy?: "NONE" | "AUTO_SELECT" | "AUTO_SELECT_AND_HIDE" | undefined;
2104
+ initialSelectionPolicy?: "NONE" | "FIRST_RECORD" | undefined;
2105
+ sourceScope?: "NONE" | "CURRENT_TENANT" | undefined;
2106
+ management?: {
2107
+ editorSurface?: string | undefined;
2108
+ } | null | undefined;
2109
+ };
2110
+ context: {
2111
+ moduleAlias: string;
2112
+ http: {
2113
+ request: <T>(options: import("../web-core").HttpRequestOptions) => Promise<T>;
2114
+ };
2115
+ crud: {
2116
+ querySchema: (options?: import("../web-core").QuerySchemaRequestOptions) => Promise<import("../web-contracts").QuerySchema>;
2117
+ query: (request?: import("../web-contracts").WebQueryRequest) => Promise<import("../web-contracts").WebPageResponse<QueryListRecord>>;
2118
+ view: (id: string) => Promise<QueryListRecord>;
2119
+ insert: (record: QueryListRecord) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
2120
+ update: (id: string, record: QueryListRecord) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
2121
+ delete: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
2122
+ enable: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
2123
+ disable: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
2124
+ sort?: ((id: string, request: import("../web-contracts").SortRequest) => Promise<import("../web-core").StaticCountMutationResult>) | undefined;
2125
+ };
2126
+ runtime: {
2127
+ ready: {
2128
+ then: <TResult1 = import("../web-core").ModuleRuntimeContext, TResult2 = never>(onfulfilled?: ((value: import("../web-core").ModuleRuntimeContext) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
2129
+ catch: <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined) => Promise<import("../web-core").ModuleRuntimeContext | TResult>;
2130
+ finally: (onfinally?: (() => void) | null | undefined) => Promise<import("../web-core").ModuleRuntimeContext>;
2131
+ readonly [Symbol.toStringTag]: string;
2132
+ };
2133
+ load: () => Promise<import("../web-core").ModuleRuntimeContext>;
2134
+ snapshot: () => import("../web-core").ModuleRuntimeContext | undefined;
2135
+ error: () => import("../web-core").AppError | undefined;
2136
+ hasAbility: (ability: import("../web-core").ModuleAbilityCode | string) => boolean | undefined;
2137
+ action: (actionCode: string, recordId?: string) => import("../web-core").ModuleActionState | undefined;
2138
+ runtimeAction: (actionCode: string) => import("../web-core").ModuleRuntimeAction | undefined;
2139
+ can: (actionCode: string, recordId?: string) => boolean | undefined;
2140
+ recordActions: (recordId: string) => Promise<import("../web-core").ModuleRecordActionAvailability>;
2141
+ recordActionsBatch?: ((recordIds: string[]) => Promise<import("../web-core").ModuleRecordActionAvailability[]>) | undefined;
2142
+ recordActionsSnapshot: (recordId: string) => import("../web-core").ModuleRecordActionAvailability | undefined;
2143
+ invalidateRecordActions?: ((recordIds?: string[]) => void) | undefined;
2144
+ };
2145
+ abilities: {
2146
+ crud: () => import("../web-core").ModuleCrudClient<QueryListRecord>;
2147
+ tree: () => import("../web-core").ModuleTreeClient<QueryListRecord>;
2148
+ enable: () => import("../web-core").ModuleEnableClient;
2149
+ tryCrud: () => import("../web-core").ModuleCrudClient<QueryListRecord> | undefined;
2150
+ tryTree: () => import("../web-core").ModuleTreeClient<QueryListRecord> | undefined;
2151
+ tryEnable: () => import("../web-core").ModuleEnableClient | undefined;
2152
+ has: (ability: import("../web-core").ModuleAbilityCode | string) => boolean | undefined;
2153
+ hasCrud: () => boolean | undefined;
2154
+ hasTree: () => boolean | undefined;
2155
+ hasEnable: () => boolean | undefined;
2156
+ };
2157
+ action: (actionCode: string, recordId?: string) => import("../web-core").ModuleActionState | undefined;
2158
+ runtimeAction: (actionCode: string) => import("../web-core").ModuleRuntimeAction | undefined;
2159
+ can: (actionCode: string, recordId?: string) => boolean | undefined;
2160
+ recordActions: (recordId: string) => Promise<import("../web-core").ModuleRecordActionAvailability>;
2161
+ recordActionsBatch?: ((recordIds: string[]) => Promise<import("../web-core").ModuleRecordActionAvailability[]>) | undefined;
2162
+ recordActionsSnapshot: (recordId: string) => import("../web-core").ModuleRecordActionAvailability | undefined;
2163
+ invalidateRecordActions?: ((recordIds?: string[]) => void) | undefined;
2164
+ };
2165
+ tree: boolean;
2166
+ sort: {
2167
+ visible: boolean;
2168
+ enabled: boolean;
2169
+ active?: boolean | undefined;
2170
+ disabledReason?: string | undefined;
2171
+ };
2172
+ }[];
2173
+ assistantNavigatorScopeRevision: (levelKey: string) => string;
2174
+ applyAssistantNavigatorSelection: (levelKey: string, record: QueryListRecord, expectedRevision: string) => boolean;
2175
+ settleAssistantPageState: (signal: AbortSignal) => Promise<void>;
1966
2176
  hasCardAssistantAt: (boundary: "inside" | "outside", position: "top" | "bottom") => boolean;
1967
2177
  enhancementCardAssistant: import("./modulePageEnhancements").ModulePageCardAssistant | undefined;
1968
2178
  cardAssistantContext: import("./modulePageEnhancements").ModulePageCardAssistantContext | undefined;
@@ -2139,7 +2349,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2139
2349
  selectedTreeRecord: QueryListRecord | undefined;
2140
2350
  mainTreeTitle: (record: object) => string;
2141
2351
  mainTreeSecondary: (record: object) => string | undefined;
2142
- selectTreeRecord: (record: unknown) => void;
2352
+ selectTreeRecord: (record: unknown, source?: "user" | "assistant" | "background") => void;
2143
2353
  clearTreeRecordSelection: () => void;
2144
2354
  handleTreeLoaded: (records: unknown[]) => void;
2145
2355
  handleTreeSorted: () => void;