@belonguniverseai/react-sdk 0.6.26 → 0.6.28

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 (129) hide show
  1. package/README.md +36 -0
  2. package/dist/api/account-connectors.d.ts +2 -2
  3. package/dist/api/account-scope.d.ts +75 -0
  4. package/dist/api/artifact-actions.d.ts +29 -0
  5. package/dist/api/client-identity.d.ts +3 -1
  6. package/dist/api/client.d.ts +1972 -226
  7. package/dist/api/goals.d.ts +4 -4
  8. package/dist/api/live-artifacts.d.ts +197 -0
  9. package/dist/api/my-usage.d.ts +28 -0
  10. package/dist/api/queries.d.ts +6 -4
  11. package/dist/api/query-keys.d.ts +44 -3
  12. package/dist/api/task-schedule-sharing.d.ts +7 -4
  13. package/dist/api/task-schedules.d.ts +20 -17
  14. package/dist/app/dock-story-data.d.ts +10 -6
  15. package/dist/component/BelongWidget.d.ts +4 -1
  16. package/dist/component/{abnfDiagram-N423BO3Z-DpQ_UaNq.js → abnfDiagram-N423BO3Z-BGC_KU0K.js} +4 -4
  17. package/dist/component/{arc-BoxI9KQB.js → arc-BpIEtZvJ.js} +2 -2
  18. package/dist/component/{architectureDiagram-T3A2C74G-C0Pxx-k7.js → architectureDiagram-T3A2C74G-DYlEVfnh.js} +3 -3
  19. package/dist/component/{blockDiagram-VBNYF7ZC-CPX5VZHq.js → blockDiagram-VBNYF7ZC-BWDnhAW1.js} +4 -4
  20. package/dist/component/{c4Diagram-5PPSVZJV-6GrzIAcz.js → c4Diagram-5PPSVZJV-VKL0Shn2.js} +3 -3
  21. package/dist/component/{channel-Dp0k-SEg.js → channel-gGd0pNDR.js} +2 -2
  22. package/dist/component/{chunk-2GRJ4B5K-CTz4CZNM.js → chunk-2GRJ4B5K-CEt4y1jX.js} +2 -2
  23. package/dist/component/{chunk-2Q5K7J3B-Bg9gj6WB.js → chunk-2Q5K7J3B-Dj2wrNzr.js} +2 -2
  24. package/dist/component/{chunk-5RXB4S5H-SJVXjTS4.js → chunk-5RXB4S5H-oJQEn1bH.js} +5 -5
  25. package/dist/component/{chunk-5VM5RSS4-CCi9rnUJ.js → chunk-5VM5RSS4-DddP8MPP.js} +2 -2
  26. package/dist/component/{chunk-6Q2QTUOP-DxQKGpDM.js → chunk-6Q2QTUOP-CppUJwrF.js} +2 -2
  27. package/dist/component/{chunk-GF5L2VYU-C1soxsXo.js → chunk-GF5L2VYU--hyUlO9v.js} +6 -6
  28. package/dist/component/{chunk-JWPE2WC7-3wshSHI2.js → chunk-JWPE2WC7-CN0Ieqel.js} +2 -2
  29. package/dist/component/{chunk-KBJHAD2P-DQdZO07y.js → chunk-KBJHAD2P-BWhCQoHz.js} +2 -2
  30. package/dist/component/{chunk-RYQCIY6F-DUaZ-HUS.js → chunk-RYQCIY6F-BgNewpQe.js} +2 -2
  31. package/dist/component/{chunk-XXDRQBXY-D3NSjj_n.js → chunk-XXDRQBXY-mNH171OF.js} +2 -2
  32. package/dist/component/{classDiagram-JCYQIIEL-BVRygNRR.js → classDiagram-JCYQIIEL-UjZbWotD.js} +3 -3
  33. package/dist/component/{classDiagram-v2-OCEON4UE-BVRygNRR.js → classDiagram-v2-OCEON4UE-UjZbWotD.js} +3 -3
  34. package/dist/component/{cose-bilkent-JH36ORCC-DLTvBiOo.js → cose-bilkent-JH36ORCC-lsVWGlMj.js} +2 -2
  35. package/dist/component/{cynefinDiagram-MW4NZA55-xK50k2_4.js → cynefinDiagram-MW4NZA55-B5Ss0zoy.js} +3 -3
  36. package/dist/component/{dagre-VZM6K2ZE-DMUwiPX1.js → dagre-VZM6K2ZE-DisWRVfU.js} +3 -3
  37. package/dist/component/{diagram-7IWD3JNH-Cn6oaVgE.js → diagram-7IWD3JNH-B2QrdsOh.js} +4 -4
  38. package/dist/component/{diagram-B4RE2ZJO-Dc_LVByi.js → diagram-B4RE2ZJO-Bs8l4THz.js} +3 -3
  39. package/dist/component/{diagram-LBJQPF4R-y80jmIxC.js → diagram-LBJQPF4R-JTadtYMW.js} +3 -3
  40. package/dist/component/{diagram-Q27KOJAE-Bp6njNLR.js → diagram-Q27KOJAE-BQC33flc.js} +4 -4
  41. package/dist/component/{diagram-UB23O5K3-D3X1PDYF.js → diagram-UB23O5K3-ujC22dQx.js} +3 -3
  42. package/dist/component/{ebnfDiagram-BXEA7PRR-9Lw8nzKe.js → ebnfDiagram-BXEA7PRR-0WnF2wzt.js} +4 -4
  43. package/dist/component/{erDiagram-JOGREHBK-CcG_SaTj.js → erDiagram-JOGREHBK-CqgMsd5R.js} +5 -5
  44. package/dist/component/{flowDiagram-UKHOOZJN-BiabESAj.js → flowDiagram-UKHOOZJN-BOM0P8Mk.js} +7 -7
  45. package/dist/component/{ganttDiagram-PKOTCBZU-BAfZiFRN.js → ganttDiagram-PKOTCBZU-WeRFC1th.js} +3 -3
  46. package/dist/component/{gitGraphDiagram-DS77QQ5N-2_hBA0gy.js → gitGraphDiagram-DS77QQ5N-CS8L-BA8.js} +4 -4
  47. package/dist/component/{highlighted-body-OFNGDK62-BWKA8a2L.js → highlighted-body-OFNGDK62-CGejnMyq.js} +2 -2
  48. package/dist/component/index.js +2 -2
  49. package/dist/component/{infoDiagram-6WML65LV-C-P8lJtc.js → infoDiagram-6WML65LV-CQQhytkd.js} +2 -2
  50. package/dist/component/{ishikawaDiagram-WSZJBQD7-CkTFVaSp.js → ishikawaDiagram-WSZJBQD7-CjDo3-zt.js} +2 -2
  51. package/dist/component/{journeyDiagram-NVQOT4AX-CVW--vNB.js → journeyDiagram-NVQOT4AX-BCCoblta.js} +5 -5
  52. package/dist/component/{kanban-definition-27J2QSJJ-5EmiKkud.js → kanban-definition-27J2QSJJ-DgTIrgvB.js} +3 -3
  53. package/dist/component/{linear-CSKvOjpb.js → linear-BOaza_dp.js} +2 -2
  54. package/dist/component/{mermaid-GHXKKRXX-DJmRTUDm.js → mermaid-GHXKKRXX-BAq5-Vj8.js} +54487 -50019
  55. package/dist/component/{mindmap-definition-FAOFIHXS-D8kuCYBh.js → mindmap-definition-FAOFIHXS-D1oolR3A.js} +4 -4
  56. package/dist/component/{pegDiagram-VL7TDLO6-BTfnYOZL.js → pegDiagram-VL7TDLO6-C9UxqvBP.js} +4 -4
  57. package/dist/component/{pieDiagram-7S7Q4E2Y-CzbOJQ6u.js → pieDiagram-7S7Q4E2Y-I5IXzOZM.js} +4 -4
  58. package/dist/component/{quadrantDiagram-CIZ2JOQS-BCLm-h12.js → quadrantDiagram-CIZ2JOQS-DPDFBhEd.js} +3 -3
  59. package/dist/component/{railroadDiagram-AXF67PYL-DxjbsMsY.js → railroadDiagram-AXF67PYL-DIAkhVTf.js} +4 -4
  60. package/dist/component/{requirementDiagram-LRYGKXZP-7CT3WVcX.js → requirementDiagram-LRYGKXZP-DBEmV-Qy.js} +4 -4
  61. package/dist/component/{sankeyDiagram-W5VNT64P-P0xeL0DB.js → sankeyDiagram-W5VNT64P-BEeDyDj7.js} +2 -2
  62. package/dist/component/{sequenceDiagram-SI44F4Z6-BZwzqGo7.js → sequenceDiagram-SI44F4Z6-WYcXWUHF.js} +4 -4
  63. package/dist/component/{sizeCapture-X5ZJPWSS-BmFHn5uM.js → sizeCapture-X5ZJPWSS-BqDBRpiS.js} +2 -2
  64. package/dist/component/{stateDiagram-OKZ733FA-CVuv1e4U.js → stateDiagram-OKZ733FA-CfYfR0OH.js} +3 -3
  65. package/dist/component/{stateDiagram-v2-UEYNNEHI-D9ToaXGa.js → stateDiagram-v2-UEYNNEHI-BSa2VwcQ.js} +3 -3
  66. package/dist/component/{swimlanes-SLNWSIFB-D4imP0Ms.js → swimlanes-SLNWSIFB-C-7mrC4X.js} +4 -4
  67. package/dist/component/{swimlanesDiagram-ULZ7WXOC-BTQ985v3.js → swimlanesDiagram-ULZ7WXOC-DXcMd7U4.js} +3 -3
  68. package/dist/component/{timeline-definition-Z64GVDOM-DAHxnCB-.js → timeline-definition-Z64GVDOM-Dp65E80E.js} +3 -3
  69. package/dist/component/{vennDiagram-T6HMQDX7-K5TNKkRE.js → vennDiagram-T6HMQDX7-CRpZ12TH.js} +2 -2
  70. package/dist/component/{wardleyDiagram-T6FBY63Y-CYU76C7a.js → wardleyDiagram-T6FBY63Y-BupsM8K3.js} +3 -3
  71. package/dist/component/{xychartDiagram-ELKLHX3M-CRncQBO_.js → xychartDiagram-ELKLHX3M-CUnr8Qbu.js} +3 -3
  72. package/dist/components/artifacts/ArtifactDetailSurface.d.ts +37 -0
  73. package/dist/components/artifacts/ArtifactMeta.d.ts +10 -0
  74. package/dist/components/artifacts/ArtifactsListSurface.d.ts +11 -0
  75. package/dist/components/artifacts/BindScheduleDialog.d.ts +39 -0
  76. package/dist/components/artifacts/ConfirmDeleteArtifactDialog.d.ts +9 -0
  77. package/dist/components/artifacts/ConfirmReshareDialog.d.ts +24 -0
  78. package/dist/components/artifacts/artifact-format.d.ts +38 -0
  79. package/dist/components/artifacts/open-artifact-version.d.ts +16 -0
  80. package/dist/components/artifacts/use-artifact-actions.d.ts +32 -0
  81. package/dist/components/embed/ArtifactApprovalDialog.d.ts +8 -0
  82. package/dist/components/embed/ArtifactOperationNoticeLine.d.ts +5 -0
  83. package/dist/components/embed/EmbedComposer.d.ts +5 -1
  84. package/dist/components/embed/EmbedConversation.d.ts +4 -1
  85. package/dist/components/embed/EmbedRail.d.ts +9 -2
  86. package/dist/components/embed/MobileNavBar.d.ts +2 -1
  87. package/dist/components/embed/ResponseModeDial.d.ts +11 -0
  88. package/dist/components/embed/SessionStatsPanel.d.ts +3 -0
  89. package/dist/components/embed/UsageSettings.d.ts +11 -0
  90. package/dist/components/embed/WorkspacePolicySetting.d.ts +1 -0
  91. package/dist/components/embed/format-compact-number.d.ts +8 -0
  92. package/dist/components/embed/use-artifact-operation-notices.d.ts +20 -0
  93. package/dist/components/embed/use-inline-preview-url.d.ts +3 -1
  94. package/dist/components/scheduled/ScheduledDetailSurface.d.ts +9 -0
  95. package/dist/embed/artifact-action-bridge.d.ts +70 -0
  96. package/dist/embed/artifact-operation-notices.d.ts +45 -0
  97. package/dist/embed/artifact-remint-budget.d.ts +19 -0
  98. package/dist/embed/artifact-sandbox-hold.d.ts +10 -0
  99. package/dist/embed/dock-state.d.ts +1 -1
  100. package/dist/embed/global.d.ts +2 -0
  101. package/dist/embed/goal-row-model.d.ts +1 -1
  102. package/dist/embed/presets.d.ts +1 -0
  103. package/dist/embed/response-mode.d.ts +48 -0
  104. package/dist/embed/theme.d.ts +5 -0
  105. package/dist/embed/workspace-policy.d.ts +7 -0
  106. package/dist/i18n/messages/en.d.ts +161 -8
  107. package/dist/i18n/messages/surfaces/aiElements.d.ts +4 -0
  108. package/dist/i18n/messages/surfaces/artifacts.d.ts +304 -0
  109. package/dist/i18n/messages/surfaces/embedMisc.d.ts +84 -0
  110. package/dist/i18n/messages/surfaces/header.d.ts +4 -0
  111. package/dist/i18n/messages/surfaces/myUsage.d.ts +75 -0
  112. package/dist/i18n/messages/surfaces/scheduled.d.ts +22 -2
  113. package/dist/i18n/messages/surfaces/settings.d.ts +28 -0
  114. package/dist/i18n/messages/surfaces/stats.d.ts +4 -12
  115. package/dist/i18n/messages/surfaces/stream.d.ts +120 -0
  116. package/dist/i18n/messages/surfaces/usage.d.ts +0 -8
  117. package/dist/infrastructure/telemetry/first-response-timing.d.ts +51 -0
  118. package/dist/lib/use-now.d.ts +32 -0
  119. package/dist/routes/artifact-detail.d.ts +2 -0
  120. package/dist/routes/artifacts.d.ts +2 -0
  121. package/dist/routes/chat/transcript-row.d.ts +1 -0
  122. package/dist/stream/belong-chat-transport.d.ts +39 -7
  123. package/dist/stream/belong-data-parts.d.ts +10 -0
  124. package/dist/stream/message-parts.d.ts +3 -1
  125. package/dist/stream/queued-message-outbox.d.ts +5 -0
  126. package/dist/stream/select-session-usage.d.ts +9 -0
  127. package/dist/stream/session-stats-csv.d.ts +7 -9
  128. package/dist/types/public.d.ts +4 -4
  129. package/package.json +1 -1
@@ -23,7 +23,17 @@ export declare const setBelongTokenGetter: (getter: (() => Promise<string>) | nu
23
23
  export declare const observeResolvedGetterToken: (observer: ResolvedGetterTokenObserver) => (() => void);
24
24
  /** Register the host agent id sent as `X-Belong-Agent-Id` on every request. */
25
25
  export declare const setBelongAgentId: (agentId: string | null) => void;
26
- /** Register the tenant slug sent as `X-Belong-Tenant` on every request. */
26
+ /**
27
+ * Register the tenant slug sent as `X-Belong-Tenant` on every request.
28
+ *
29
+ * Deliberately does NOT publish an effective token: a public slug from
30
+ * `init({ tenant })` is not a credential and cannot change who is speaking.
31
+ * `embed/global.ts` calls this on every boot, including with null, so
32
+ * announcing it re-keyed the account cache partition before it was useful for
33
+ * any host whose token claims cannot be read. The slug is read through
34
+ * `peekBelongTenant()` on the next key read, so a later change is picked up
35
+ * without a notification.
36
+ */
27
37
  export declare const setBelongTenant: (tenant: string | null) => void;
28
38
  /** Read the public tenant slug without exposing mutable client state. */
29
39
  export declare const peekBelongTenant: () => string | null;
@@ -38,6 +48,14 @@ export declare const clearBelongToken: () => void;
38
48
  export declare const peekBelongToken: () => string | null;
39
49
  /** Synchronous identity for private browser storage; async auth overrides stale sync tokens. */
40
50
  export declare const peekStorageIdentityToken: () => string | null;
51
+ /**
52
+ * Is the ASYNC getter the registered auth source? Cache partitions need to tell
53
+ * "this host authenticates asynchronously and has not resolved a token yet"
54
+ * (a transient, self-correcting state) from "this token's claims are
55
+ * unreadable" (a permanent property of the token) — the two deserve different
56
+ * partitions. No token is read here.
57
+ */
58
+ export declare const hasBelongTokenGetter: () => boolean;
41
59
  /**
42
60
  * Whether ANY auth source is registered — async getter, sync provider, or a
43
61
  * non-empty static token. The dock login gate (`app/BelongDock.tsx`) reads this
@@ -742,7 +760,7 @@ export declare const createApiClient: (baseUrl: string) => {
742
760
  };
743
761
  };
744
762
  output: {
745
- sessionId: import('node_modules/@belong/cloud/src/platform/ids').SessionId;
763
+ sessionId: import('../../../../apps/belong-cloud/src/platform/ids').SessionId;
746
764
  };
747
765
  outputFormat: "json";
748
766
  status: 201;
@@ -772,9 +790,9 @@ export declare const createApiClient: (baseUrl: string) => {
772
790
  };
773
791
  output: {
774
792
  sessions: readonly {
775
- readonly sessionId: import('node_modules/@belong/cloud/src/platform/ids').SessionId;
793
+ readonly sessionId: import('../../../../apps/belong-cloud/src/platform/ids').SessionId;
776
794
  readonly title: string | null;
777
- readonly status: import('node_modules/@belong/cloud/src/features/sessions/session.repo').SessionRow["status"];
795
+ readonly status: import('../../../../apps/belong-cloud/src/features/sessions/session.repo').SessionRow["status"];
778
796
  readonly updatedAt: string;
779
797
  }[];
780
798
  };
@@ -794,10 +812,10 @@ export declare const createApiClient: (baseUrl: string) => {
794
812
  };
795
813
  };
796
814
  output: {
797
- readonly sessionId: import('node_modules/@belong/cloud/src/platform/ids').SessionId;
815
+ readonly sessionId: import('../../../../apps/belong-cloud/src/platform/ids').SessionId;
798
816
  readonly workspaceExternalId: string | null;
799
817
  readonly title: string | null;
800
- readonly status: import('node_modules/@belong/cloud/src/features/sessions/session.repo').SessionRow["status"];
818
+ readonly status: import('../../../../apps/belong-cloud/src/features/sessions/session.repo').SessionRow["status"];
801
819
  readonly createdAt: string;
802
820
  readonly updatedAt: string;
803
821
  };
@@ -828,10 +846,10 @@ export declare const createApiClient: (baseUrl: string) => {
828
846
  };
829
847
  };
830
848
  output: {
831
- readonly sessionId: import('node_modules/@belong/cloud/src/platform/ids').SessionId;
849
+ readonly sessionId: import('../../../../apps/belong-cloud/src/platform/ids').SessionId;
832
850
  readonly workspaceExternalId: string | null;
833
851
  readonly title: string | null;
834
- readonly status: import('node_modules/@belong/cloud/src/features/sessions/session.repo').SessionRow["status"];
852
+ readonly status: import('../../../../apps/belong-cloud/src/features/sessions/session.repo').SessionRow["status"];
835
853
  readonly createdAt: string;
836
854
  readonly updatedAt: string;
837
855
  };
@@ -902,7 +920,7 @@ export declare const createApiClient: (baseUrl: string) => {
902
920
  messages: {
903
921
  clientMessageId?: string | null | undefined;
904
922
  metadata?: {
905
- taskId: import('node_modules/@belong/cloud/src/platform/ids').TaskId;
923
+ taskId: import('../../../../apps/belong-cloud/src/platform/ids').TaskId;
906
924
  feedback: {
907
925
  readonly sentiment: "up" | "down";
908
926
  readonly reason: string | null;
@@ -977,6 +995,7 @@ export declare const createApiClient: (baseUrl: string) => {
977
995
  text: string;
978
996
  timezone?: string | undefined;
979
997
  locale?: "en" | "es" | "pt" | "it" | undefined;
998
+ workspaceScope?: "open" | "strict" | undefined;
980
999
  questionPresentation?: "text" | "card" | undefined;
981
1000
  workspaceExternalId?: string | undefined;
982
1001
  goal?: {
@@ -987,6 +1006,7 @@ export declare const createApiClient: (baseUrl: string) => {
987
1006
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
988
1007
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
989
1008
  llmModel?: string | undefined;
1009
+ responseMode?: "balanced" | "fast" | "smart" | undefined;
990
1010
  fileIds?: string[] | undefined;
991
1011
  clientMessageId?: string | undefined;
992
1012
  skill?: string | undefined;
@@ -998,9 +1018,9 @@ export declare const createApiClient: (baseUrl: string) => {
998
1018
  };
999
1019
  };
1000
1020
  output: {
1001
- messageId: import('node_modules/@belong/cloud/src/platform/ids').MessageId;
1002
- taskId: import('node_modules/@belong/cloud/src/platform/ids').TaskId;
1003
- runId: import('node_modules/@belong/cloud/src/platform/ids').RunId;
1021
+ messageId: import('../../../../apps/belong-cloud/src/platform/ids').MessageId;
1022
+ taskId: import('../../../../apps/belong-cloud/src/platform/ids').TaskId;
1023
+ runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId;
1004
1024
  idempotent: boolean;
1005
1025
  };
1006
1026
  outputFormat: "json";
@@ -1011,6 +1031,7 @@ export declare const createApiClient: (baseUrl: string) => {
1011
1031
  text: string;
1012
1032
  timezone?: string | undefined;
1013
1033
  locale?: "en" | "es" | "pt" | "it" | undefined;
1034
+ workspaceScope?: "open" | "strict" | undefined;
1014
1035
  questionPresentation?: "text" | "card" | undefined;
1015
1036
  workspaceExternalId?: string | undefined;
1016
1037
  goal?: {
@@ -1021,6 +1042,7 @@ export declare const createApiClient: (baseUrl: string) => {
1021
1042
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1022
1043
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
1023
1044
  llmModel?: string | undefined;
1045
+ responseMode?: "balanced" | "fast" | "smart" | undefined;
1024
1046
  fileIds?: string[] | undefined;
1025
1047
  clientMessageId?: string | undefined;
1026
1048
  skill?: string | undefined;
@@ -1044,6 +1066,7 @@ export declare const createApiClient: (baseUrl: string) => {
1044
1066
  text: string;
1045
1067
  timezone?: string | undefined;
1046
1068
  locale?: "en" | "es" | "pt" | "it" | undefined;
1069
+ workspaceScope?: "open" | "strict" | undefined;
1047
1070
  questionPresentation?: "text" | "card" | undefined;
1048
1071
  workspaceExternalId?: string | undefined;
1049
1072
  goal?: {
@@ -1054,6 +1077,7 @@ export declare const createApiClient: (baseUrl: string) => {
1054
1077
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1055
1078
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
1056
1079
  llmModel?: string | undefined;
1080
+ responseMode?: "balanced" | "fast" | "smart" | undefined;
1057
1081
  fileIds?: string[] | undefined;
1058
1082
  clientMessageId?: string | undefined;
1059
1083
  skill?: string | undefined;
@@ -1077,6 +1101,7 @@ export declare const createApiClient: (baseUrl: string) => {
1077
1101
  text: string;
1078
1102
  timezone?: string | undefined;
1079
1103
  locale?: "en" | "es" | "pt" | "it" | undefined;
1104
+ workspaceScope?: "open" | "strict" | undefined;
1080
1105
  questionPresentation?: "text" | "card" | undefined;
1081
1106
  workspaceExternalId?: string | undefined;
1082
1107
  goal?: {
@@ -1087,6 +1112,7 @@ export declare const createApiClient: (baseUrl: string) => {
1087
1112
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1088
1113
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
1089
1114
  llmModel?: string | undefined;
1115
+ responseMode?: "balanced" | "fast" | "smart" | undefined;
1090
1116
  fileIds?: string[] | undefined;
1091
1117
  clientMessageId?: string | undefined;
1092
1118
  skill?: string | undefined;
@@ -1110,6 +1136,7 @@ export declare const createApiClient: (baseUrl: string) => {
1110
1136
  text: string;
1111
1137
  timezone?: string | undefined;
1112
1138
  locale?: "en" | "es" | "pt" | "it" | undefined;
1139
+ workspaceScope?: "open" | "strict" | undefined;
1113
1140
  questionPresentation?: "text" | "card" | undefined;
1114
1141
  workspaceExternalId?: string | undefined;
1115
1142
  goal?: {
@@ -1120,6 +1147,7 @@ export declare const createApiClient: (baseUrl: string) => {
1120
1147
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1121
1148
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
1122
1149
  llmModel?: string | undefined;
1150
+ responseMode?: "balanced" | "fast" | "smart" | undefined;
1123
1151
  fileIds?: string[] | undefined;
1124
1152
  clientMessageId?: string | undefined;
1125
1153
  skill?: string | undefined;
@@ -1143,6 +1171,7 @@ export declare const createApiClient: (baseUrl: string) => {
1143
1171
  text: string;
1144
1172
  timezone?: string | undefined;
1145
1173
  locale?: "en" | "es" | "pt" | "it" | undefined;
1174
+ workspaceScope?: "open" | "strict" | undefined;
1146
1175
  questionPresentation?: "text" | "card" | undefined;
1147
1176
  workspaceExternalId?: string | undefined;
1148
1177
  goal?: {
@@ -1153,6 +1182,7 @@ export declare const createApiClient: (baseUrl: string) => {
1153
1182
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1154
1183
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
1155
1184
  llmModel?: string | undefined;
1185
+ responseMode?: "balanced" | "fast" | "smart" | undefined;
1156
1186
  fileIds?: string[] | undefined;
1157
1187
  clientMessageId?: string | undefined;
1158
1188
  skill?: string | undefined;
@@ -1176,6 +1206,7 @@ export declare const createApiClient: (baseUrl: string) => {
1176
1206
  text: string;
1177
1207
  timezone?: string | undefined;
1178
1208
  locale?: "en" | "es" | "pt" | "it" | undefined;
1209
+ workspaceScope?: "open" | "strict" | undefined;
1179
1210
  questionPresentation?: "text" | "card" | undefined;
1180
1211
  workspaceExternalId?: string | undefined;
1181
1212
  goal?: {
@@ -1186,6 +1217,7 @@ export declare const createApiClient: (baseUrl: string) => {
1186
1217
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1187
1218
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
1188
1219
  llmModel?: string | undefined;
1220
+ responseMode?: "balanced" | "fast" | "smart" | undefined;
1189
1221
  fileIds?: string[] | undefined;
1190
1222
  clientMessageId?: string | undefined;
1191
1223
  skill?: string | undefined;
@@ -1275,8 +1307,8 @@ export declare const createApiClient: (baseUrl: string) => {
1275
1307
  };
1276
1308
  };
1277
1309
  output: {
1278
- readonly runId: import('node_modules/@belong/cloud/src/platform/ids').RunId;
1279
- readonly status: import('node_modules/@belong/cloud/src/features/tasks/task.repo').ActiveTaskStatus;
1310
+ readonly runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId;
1311
+ readonly status: import('../../../../apps/belong-cloud/src/features/tasks/task.repo').ActiveTaskStatus;
1280
1312
  } | null;
1281
1313
  outputFormat: "json";
1282
1314
  status: import('hono/utils/http-status').ContentfulStatusCode;
@@ -1312,7 +1344,7 @@ export declare const createApiClient: (baseUrl: string) => {
1312
1344
  output: {
1313
1345
  status: "compacted";
1314
1346
  messagesCompacted: number;
1315
- summaryMessageId: import('node_modules/@belong/cloud/src/platform/ids').MessageId;
1347
+ summaryMessageId: import('../../../../apps/belong-cloud/src/platform/ids').MessageId;
1316
1348
  };
1317
1349
  outputFormat: "json";
1318
1350
  status: 200;
@@ -1602,6 +1634,7 @@ export declare const createApiClient: (baseUrl: string) => {
1602
1634
  totalCacheReadInputTokens: number;
1603
1635
  totalCacheWriteInputTokens: number;
1604
1636
  turns: number;
1637
+ weightedTokens: number;
1605
1638
  historyChars: number;
1606
1639
  autoCompactThresholdChars: number;
1607
1640
  };
@@ -1637,7 +1670,7 @@ export declare const createApiClient: (baseUrl: string) => {
1637
1670
  };
1638
1671
  };
1639
1672
  output: {
1640
- exportId: import('node_modules/@belong/cloud/src/platform/ids').SessionExportId;
1673
+ exportId: import('../../../../apps/belong-cloud/src/platform/ids').SessionExportId;
1641
1674
  };
1642
1675
  outputFormat: "json";
1643
1676
  status: 202;
@@ -1676,8 +1709,8 @@ export declare const createApiClient: (baseUrl: string) => {
1676
1709
  };
1677
1710
  };
1678
1711
  output: {
1679
- exportId: import('node_modules/@belong/cloud/src/platform/ids').SessionExportId;
1680
- status: "queued" | "failed" | "running" | "ready";
1712
+ exportId: import('../../../../apps/belong-cloud/src/platform/ids').SessionExportId;
1713
+ status: "failed" | "queued" | "running" | "ready";
1681
1714
  error: string | null;
1682
1715
  };
1683
1716
  outputFormat: "json";
@@ -1721,7 +1754,7 @@ export declare const createApiClient: (baseUrl: string) => {
1721
1754
  output: {
1722
1755
  error: {
1723
1756
  type: string;
1724
- status: "queued" | "failed" | "running";
1757
+ status: "failed" | "queued" | "running";
1725
1758
  };
1726
1759
  };
1727
1760
  outputFormat: "json";
@@ -1754,6 +1787,7 @@ export declare const createApiClient: (baseUrl: string) => {
1754
1787
  readonly totalInputTokens: number;
1755
1788
  readonly totalOutputTokens: number;
1756
1789
  readonly totalTokens: number;
1790
+ readonly totalWeightedTokens: number;
1757
1791
  readonly totalCacheReadInputTokens: number;
1758
1792
  readonly totalCacheWriteInputTokens: number;
1759
1793
  readonly turns: number;
@@ -1798,6 +1832,7 @@ export declare const createApiClient: (baseUrl: string) => {
1798
1832
  readonly totalInputTokens: number;
1799
1833
  readonly totalOutputTokens: number;
1800
1834
  readonly totalTokens: number;
1835
+ readonly totalWeightedTokens: number;
1801
1836
  readonly totalCacheReadInputTokens: number;
1802
1837
  readonly totalCacheWriteInputTokens: number;
1803
1838
  readonly turns: number;
@@ -1810,6 +1845,7 @@ export declare const createApiClient: (baseUrl: string) => {
1810
1845
  readonly inputTokens: number;
1811
1846
  readonly outputTokens: number;
1812
1847
  readonly totalTokens: number;
1848
+ readonly weightedTokens: number;
1813
1849
  }[];
1814
1850
  };
1815
1851
  outputFormat: "json";
@@ -1818,6 +1854,32 @@ export declare const createApiClient: (baseUrl: string) => {
1818
1854
  }>;
1819
1855
  };
1820
1856
  };
1857
+ } & {
1858
+ v1: {
1859
+ usage: import('hono/client').ClientRequest<string, "/v1/usage", {
1860
+ $get: {
1861
+ input: {};
1862
+ output: {
1863
+ timeZone: "UTC";
1864
+ asOf: string;
1865
+ days: {
1866
+ date: string;
1867
+ weightedTokens: number;
1868
+ }[];
1869
+ today: {
1870
+ date: string;
1871
+ weightedTokens: number;
1872
+ };
1873
+ monthToDate: {
1874
+ from: string;
1875
+ weightedTokens: number;
1876
+ };
1877
+ };
1878
+ outputFormat: "json";
1879
+ status: 200;
1880
+ };
1881
+ }>;
1882
+ };
1821
1883
  } & {
1822
1884
  v1: {
1823
1885
  sessions: {
@@ -1938,7 +2000,7 @@ export declare const createApiClient: (baseUrl: string) => {
1938
2000
  } | {
1939
2001
  input: {};
1940
2002
  output: {
1941
- reportId: import('node_modules/@belong/cloud/src/platform/ids').IssueReportId;
2003
+ reportId: import('../../../../apps/belong-cloud/src/platform/ids').IssueReportId;
1942
2004
  };
1943
2005
  outputFormat: "json";
1944
2006
  status: 202;
@@ -2032,7 +2094,7 @@ export declare const createApiClient: (baseUrl: string) => {
2032
2094
  output: {
2033
2095
  status: string;
2034
2096
  recalledMessages: readonly {
2035
- readonly messageId: import('node_modules/@belong/cloud/src/platform/ids').MessageId;
2097
+ readonly messageId: import('../../../../apps/belong-cloud/src/platform/ids').MessageId;
2036
2098
  readonly clientMessageId: string | null;
2037
2099
  readonly text: string;
2038
2100
  }[];
@@ -2120,9 +2182,9 @@ export declare const createApiClient: (baseUrl: string) => {
2120
2182
  };
2121
2183
  output: {
2122
2184
  continuation?: {
2123
- readonly messageId: import('node_modules/@belong/cloud/src/platform/ids').MessageId;
2124
- readonly taskId: import('node_modules/@belong/cloud/src/platform/ids').TaskId;
2125
- readonly runId: import('node_modules/@belong/cloud/src/platform/ids').RunId;
2185
+ readonly messageId: import('../../../../apps/belong-cloud/src/platform/ids').MessageId;
2186
+ readonly taskId: import('../../../../apps/belong-cloud/src/platform/ids').TaskId;
2187
+ readonly runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId;
2126
2188
  readonly text: string;
2127
2189
  } | undefined;
2128
2190
  status: "accepted";
@@ -2222,13 +2284,13 @@ export declare const createApiClient: (baseUrl: string) => {
2222
2284
  };
2223
2285
  output: {
2224
2286
  continuation?: {
2225
- readonly messageId: import('node_modules/@belong/cloud/src/platform/ids').MessageId;
2226
- readonly taskId: import('node_modules/@belong/cloud/src/platform/ids').TaskId;
2227
- readonly runId: import('node_modules/@belong/cloud/src/platform/ids').RunId;
2287
+ readonly messageId: import('../../../../apps/belong-cloud/src/platform/ids').MessageId;
2288
+ readonly taskId: import('../../../../apps/belong-cloud/src/platform/ids').TaskId;
2289
+ readonly runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId;
2228
2290
  readonly text: string;
2229
2291
  } | undefined;
2230
2292
  status: "accepted";
2231
- questionStatus: import('node_modules/@belong/cloud/src/features/runs/run-event.types').QuestionState;
2293
+ questionStatus: import('../../../../apps/belong-cloud/src/features/runs/run-event.types').QuestionState;
2232
2294
  };
2233
2295
  outputFormat: "json";
2234
2296
  status: 200;
@@ -2301,7 +2363,7 @@ export declare const createApiClient: (baseUrl: string) => {
2301
2363
  };
2302
2364
  } | undefined;
2303
2365
  type: string;
2304
- questionStatus: import('node_modules/@belong/cloud/src/features/runs/run-event.types').QuestionState;
2366
+ questionStatus: import('../../../../apps/belong-cloud/src/features/runs/run-event.types').QuestionState;
2305
2367
  };
2306
2368
  };
2307
2369
  outputFormat: "json";
@@ -2400,7 +2462,7 @@ export declare const createApiClient: (baseUrl: string) => {
2400
2462
  } | {
2401
2463
  input: {};
2402
2464
  output: {
2403
- fileId: import('node_modules/@belong/cloud/src/platform/ids').FileId;
2465
+ fileId: import('../../../../apps/belong-cloud/src/platform/ids').FileId;
2404
2466
  };
2405
2467
  outputFormat: "json";
2406
2468
  status: 201;
@@ -2427,7 +2489,7 @@ export declare const createApiClient: (baseUrl: string) => {
2427
2489
  input: {};
2428
2490
  output: {
2429
2491
  files: {
2430
- fileId: import('node_modules/@belong/cloud/src/platform/ids').FileId;
2492
+ fileId: import('../../../../apps/belong-cloud/src/platform/ids').FileId;
2431
2493
  filename: string;
2432
2494
  mimeType: string;
2433
2495
  sizeBytes: number;
@@ -2450,7 +2512,7 @@ export declare const createApiClient: (baseUrl: string) => {
2450
2512
  };
2451
2513
  };
2452
2514
  output: {
2453
- fileId: import('node_modules/@belong/cloud/src/platform/ids').FileId;
2515
+ fileId: import('../../../../apps/belong-cloud/src/platform/ids').FileId;
2454
2516
  originalFilename: string;
2455
2517
  mimeType: string;
2456
2518
  sizeBytes: number;
@@ -2509,7 +2571,7 @@ export declare const createApiClient: (baseUrl: string) => {
2509
2571
  readonly status: "pending";
2510
2572
  } | {
2511
2573
  readonly status: "ready";
2512
- readonly kind: import('node_modules/@belong/cloud/src/features/files/preview.types').PreviewKind;
2574
+ readonly kind: import('../../../../apps/belong-cloud/src/features/files/preview.types').PreviewKind;
2513
2575
  readonly pageCount?: number | undefined;
2514
2576
  } | {
2515
2577
  readonly status: "too_large";
@@ -2581,57 +2643,1717 @@ export declare const createApiClient: (baseUrl: string) => {
2581
2643
  }>;
2582
2644
  };
2583
2645
  };
2584
- };
2585
- };
2586
- };
2587
- } & {
2588
- v1: {
2589
- artifacts: {
2590
- ":artifactId": import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId", {
2591
- $get: {
2646
+ };
2647
+ };
2648
+ };
2649
+ } & {
2650
+ v1: {
2651
+ artifacts: {
2652
+ ":artifactId": {
2653
+ actions: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/actions", {
2654
+ $get: {
2655
+ input: {
2656
+ param: {
2657
+ artifactId: string;
2658
+ };
2659
+ } & {
2660
+ query: {
2661
+ workspaceExternalId: string;
2662
+ };
2663
+ };
2664
+ output: {
2665
+ error: {
2666
+ type: string;
2667
+ };
2668
+ };
2669
+ outputFormat: "json";
2670
+ status: 503;
2671
+ } | {
2672
+ input: {
2673
+ param: {
2674
+ artifactId: string;
2675
+ };
2676
+ } & {
2677
+ query: {
2678
+ workspaceExternalId: string;
2679
+ };
2680
+ };
2681
+ output: {
2682
+ version: 1;
2683
+ actions: {
2684
+ actionId: string;
2685
+ title: string;
2686
+ scriptVersion: string;
2687
+ }[];
2688
+ };
2689
+ outputFormat: "json";
2690
+ status: 200 | 202;
2691
+ } | {
2692
+ input: {
2693
+ param: {
2694
+ artifactId: string;
2695
+ };
2696
+ } & {
2697
+ query: {
2698
+ workspaceExternalId: string;
2699
+ };
2700
+ };
2701
+ output: {
2702
+ error: {
2703
+ type: "invalid_binding" | "request_conflict" | "cli_reconnect_required" | "not_settleable";
2704
+ };
2705
+ };
2706
+ outputFormat: "json";
2707
+ status: 409;
2708
+ } | {
2709
+ input: {
2710
+ param: {
2711
+ artifactId: string;
2712
+ };
2713
+ } & {
2714
+ query: {
2715
+ workspaceExternalId: string;
2716
+ };
2717
+ };
2718
+ output: {
2719
+ error: {
2720
+ type: "too_many_operations";
2721
+ };
2722
+ };
2723
+ outputFormat: "json";
2724
+ status: 429;
2725
+ } | {
2726
+ input: {
2727
+ param: {
2728
+ artifactId: string;
2729
+ };
2730
+ } & {
2731
+ query: {
2732
+ workspaceExternalId: string;
2733
+ };
2734
+ };
2735
+ output: {
2736
+ error: {
2737
+ type: "access_unavailable";
2738
+ };
2739
+ };
2740
+ outputFormat: "json";
2741
+ status: 403;
2742
+ } | {
2743
+ input: {
2744
+ param: {
2745
+ artifactId: string;
2746
+ };
2747
+ } & {
2748
+ query: {
2749
+ workspaceExternalId: string;
2750
+ };
2751
+ };
2752
+ output: {
2753
+ error: {
2754
+ type: "artifact_not_found" | "action_not_found" | "operation_not_found" | "approval_unavailable";
2755
+ };
2756
+ };
2757
+ outputFormat: "json";
2758
+ status: 404;
2759
+ };
2760
+ }>;
2761
+ };
2762
+ };
2763
+ };
2764
+ } & {
2765
+ v1: {
2766
+ artifacts: {
2767
+ ":artifactId": {
2768
+ actions: {
2769
+ ":actionId": {
2770
+ operations: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/actions/:actionId/operations", {
2771
+ $post: {
2772
+ input: {
2773
+ param: {
2774
+ artifactId: string;
2775
+ actionId: string;
2776
+ };
2777
+ } & {
2778
+ query: {
2779
+ workspaceExternalId: string;
2780
+ };
2781
+ } & {
2782
+ json: {
2783
+ requestId: string;
2784
+ scriptVersion: string;
2785
+ params: {
2786
+ transactionIds: string[];
2787
+ parameters?: Record<string, string | number | boolean | null> | undefined;
2788
+ };
2789
+ };
2790
+ };
2791
+ output: {
2792
+ error: {
2793
+ type: string;
2794
+ };
2795
+ };
2796
+ outputFormat: "json";
2797
+ status: 503;
2798
+ } | {
2799
+ input: {
2800
+ param: {
2801
+ artifactId: string;
2802
+ actionId: string;
2803
+ };
2804
+ } & {
2805
+ query: {
2806
+ workspaceExternalId: string;
2807
+ };
2808
+ } & {
2809
+ json: {
2810
+ requestId: string;
2811
+ scriptVersion: string;
2812
+ params: {
2813
+ transactionIds: string[];
2814
+ parameters?: Record<string, string | number | boolean | null> | undefined;
2815
+ };
2816
+ };
2817
+ };
2818
+ output: {
2819
+ operationId: string;
2820
+ requestId: string;
2821
+ artifactId: string;
2822
+ actionId: string;
2823
+ scriptVersion: string;
2824
+ status: "unknown" | "failed" | "queued" | "waiting_for_approval" | "running" | "completed" | "cancelled";
2825
+ settled: boolean;
2826
+ stopEvidence: "confirmed" | "not_launched" | "pending" | "assumed";
2827
+ createdAt: string;
2828
+ updatedAt: string;
2829
+ selection?: {
2830
+ transactionIds: string[];
2831
+ parameters?: {
2832
+ [x: string]: string | number | boolean | null;
2833
+ } | undefined;
2834
+ } | undefined;
2835
+ result?: {
2836
+ outcome: "unknown" | "confirmed" | "partial" | "failed";
2837
+ summary: string;
2838
+ affectedIds: string[];
2839
+ failedIds: string[];
2840
+ } | undefined;
2841
+ exitCode?: number | null | undefined;
2842
+ approvalId?: string | undefined;
2843
+ error?: {
2844
+ code: string;
2845
+ message: string;
2846
+ } | undefined;
2847
+ };
2848
+ outputFormat: "json";
2849
+ status: 200 | 202;
2850
+ } | {
2851
+ input: {
2852
+ param: {
2853
+ artifactId: string;
2854
+ actionId: string;
2855
+ };
2856
+ } & {
2857
+ query: {
2858
+ workspaceExternalId: string;
2859
+ };
2860
+ } & {
2861
+ json: {
2862
+ requestId: string;
2863
+ scriptVersion: string;
2864
+ params: {
2865
+ transactionIds: string[];
2866
+ parameters?: Record<string, string | number | boolean | null> | undefined;
2867
+ };
2868
+ };
2869
+ };
2870
+ output: {
2871
+ error: {
2872
+ type: "invalid_binding" | "request_conflict" | "cli_reconnect_required" | "not_settleable";
2873
+ };
2874
+ };
2875
+ outputFormat: "json";
2876
+ status: 409;
2877
+ } | {
2878
+ input: {
2879
+ param: {
2880
+ artifactId: string;
2881
+ actionId: string;
2882
+ };
2883
+ } & {
2884
+ query: {
2885
+ workspaceExternalId: string;
2886
+ };
2887
+ } & {
2888
+ json: {
2889
+ requestId: string;
2890
+ scriptVersion: string;
2891
+ params: {
2892
+ transactionIds: string[];
2893
+ parameters?: Record<string, string | number | boolean | null> | undefined;
2894
+ };
2895
+ };
2896
+ };
2897
+ output: {
2898
+ error: {
2899
+ type: "too_many_operations";
2900
+ };
2901
+ };
2902
+ outputFormat: "json";
2903
+ status: 429;
2904
+ } | {
2905
+ input: {
2906
+ param: {
2907
+ artifactId: string;
2908
+ actionId: string;
2909
+ };
2910
+ } & {
2911
+ query: {
2912
+ workspaceExternalId: string;
2913
+ };
2914
+ } & {
2915
+ json: {
2916
+ requestId: string;
2917
+ scriptVersion: string;
2918
+ params: {
2919
+ transactionIds: string[];
2920
+ parameters?: Record<string, string | number | boolean | null> | undefined;
2921
+ };
2922
+ };
2923
+ };
2924
+ output: {
2925
+ error: {
2926
+ type: "access_unavailable";
2927
+ };
2928
+ };
2929
+ outputFormat: "json";
2930
+ status: 403;
2931
+ } | {
2932
+ input: {
2933
+ param: {
2934
+ artifactId: string;
2935
+ actionId: string;
2936
+ };
2937
+ } & {
2938
+ query: {
2939
+ workspaceExternalId: string;
2940
+ };
2941
+ } & {
2942
+ json: {
2943
+ requestId: string;
2944
+ scriptVersion: string;
2945
+ params: {
2946
+ transactionIds: string[];
2947
+ parameters?: Record<string, string | number | boolean | null> | undefined;
2948
+ };
2949
+ };
2950
+ };
2951
+ output: {
2952
+ error: {
2953
+ type: "artifact_not_found" | "action_not_found" | "operation_not_found" | "approval_unavailable";
2954
+ };
2955
+ };
2956
+ outputFormat: "json";
2957
+ status: 404;
2958
+ };
2959
+ }>;
2960
+ };
2961
+ };
2962
+ };
2963
+ };
2964
+ };
2965
+ } & {
2966
+ v1: {
2967
+ artifacts: {
2968
+ ":artifactId": {
2969
+ operations: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/operations", {
2970
+ $get: {
2971
+ input: {
2972
+ param: {
2973
+ artifactId: string;
2974
+ };
2975
+ } & {
2976
+ query: {
2977
+ workspaceExternalId: string;
2978
+ };
2979
+ };
2980
+ output: {
2981
+ error: {
2982
+ type: string;
2983
+ };
2984
+ };
2985
+ outputFormat: "json";
2986
+ status: 503;
2987
+ } | {
2988
+ input: {
2989
+ param: {
2990
+ artifactId: string;
2991
+ };
2992
+ } & {
2993
+ query: {
2994
+ workspaceExternalId: string;
2995
+ };
2996
+ };
2997
+ output: {
2998
+ operations: {
2999
+ operationId: string;
3000
+ requestId: string;
3001
+ artifactId: string;
3002
+ actionId: string;
3003
+ scriptVersion: string;
3004
+ status: "unknown" | "failed" | "queued" | "waiting_for_approval" | "running" | "completed" | "cancelled";
3005
+ settled: boolean;
3006
+ stopEvidence: "confirmed" | "not_launched" | "pending" | "assumed";
3007
+ createdAt: string;
3008
+ updatedAt: string;
3009
+ selection?: {
3010
+ transactionIds: string[];
3011
+ parameters?: {
3012
+ [x: string]: string | number | boolean | null;
3013
+ } | undefined;
3014
+ } | undefined;
3015
+ result?: {
3016
+ outcome: "unknown" | "confirmed" | "partial" | "failed";
3017
+ summary: string;
3018
+ affectedIds: string[];
3019
+ failedIds: string[];
3020
+ } | undefined;
3021
+ exitCode?: number | null | undefined;
3022
+ approvalId?: string | undefined;
3023
+ error?: {
3024
+ code: string;
3025
+ message: string;
3026
+ } | undefined;
3027
+ }[];
3028
+ };
3029
+ outputFormat: "json";
3030
+ status: 200 | 202;
3031
+ } | {
3032
+ input: {
3033
+ param: {
3034
+ artifactId: string;
3035
+ };
3036
+ } & {
3037
+ query: {
3038
+ workspaceExternalId: string;
3039
+ };
3040
+ };
3041
+ output: {
3042
+ error: {
3043
+ type: "invalid_binding" | "request_conflict" | "cli_reconnect_required" | "not_settleable";
3044
+ };
3045
+ };
3046
+ outputFormat: "json";
3047
+ status: 409;
3048
+ } | {
3049
+ input: {
3050
+ param: {
3051
+ artifactId: string;
3052
+ };
3053
+ } & {
3054
+ query: {
3055
+ workspaceExternalId: string;
3056
+ };
3057
+ };
3058
+ output: {
3059
+ error: {
3060
+ type: "too_many_operations";
3061
+ };
3062
+ };
3063
+ outputFormat: "json";
3064
+ status: 429;
3065
+ } | {
3066
+ input: {
3067
+ param: {
3068
+ artifactId: string;
3069
+ };
3070
+ } & {
3071
+ query: {
3072
+ workspaceExternalId: string;
3073
+ };
3074
+ };
3075
+ output: {
3076
+ error: {
3077
+ type: "access_unavailable";
3078
+ };
3079
+ };
3080
+ outputFormat: "json";
3081
+ status: 403;
3082
+ } | {
3083
+ input: {
3084
+ param: {
3085
+ artifactId: string;
3086
+ };
3087
+ } & {
3088
+ query: {
3089
+ workspaceExternalId: string;
3090
+ };
3091
+ };
3092
+ output: {
3093
+ error: {
3094
+ type: "artifact_not_found" | "action_not_found" | "operation_not_found" | "approval_unavailable";
3095
+ };
3096
+ };
3097
+ outputFormat: "json";
3098
+ status: 404;
3099
+ };
3100
+ }>;
3101
+ };
3102
+ };
3103
+ };
3104
+ } & {
3105
+ v1: {
3106
+ artifacts: {
3107
+ ":artifactId": {
3108
+ operations: {
3109
+ ":operationId": import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/operations/:operationId", {
3110
+ $get: {
3111
+ input: {
3112
+ param: {
3113
+ artifactId: string;
3114
+ operationId: string;
3115
+ };
3116
+ } & {
3117
+ query: {
3118
+ workspaceExternalId: string;
3119
+ };
3120
+ };
3121
+ output: {
3122
+ operationId: string;
3123
+ requestId: string;
3124
+ artifactId: string;
3125
+ actionId: string;
3126
+ scriptVersion: string;
3127
+ status: "unknown" | "failed" | "queued" | "waiting_for_approval" | "running" | "completed" | "cancelled";
3128
+ settled: boolean;
3129
+ stopEvidence: "confirmed" | "not_launched" | "pending" | "assumed";
3130
+ createdAt: string;
3131
+ updatedAt: string;
3132
+ selection?: {
3133
+ transactionIds: string[];
3134
+ parameters?: {
3135
+ [x: string]: string | number | boolean | null;
3136
+ } | undefined;
3137
+ } | undefined;
3138
+ result?: {
3139
+ outcome: "unknown" | "confirmed" | "partial" | "failed";
3140
+ summary: string;
3141
+ affectedIds: string[];
3142
+ failedIds: string[];
3143
+ } | undefined;
3144
+ exitCode?: number | null | undefined;
3145
+ approvalId?: string | undefined;
3146
+ error?: {
3147
+ code: string;
3148
+ message: string;
3149
+ } | undefined;
3150
+ };
3151
+ outputFormat: "json";
3152
+ status: 200 | 202;
3153
+ } | {
3154
+ input: {
3155
+ param: {
3156
+ artifactId: string;
3157
+ operationId: string;
3158
+ };
3159
+ } & {
3160
+ query: {
3161
+ workspaceExternalId: string;
3162
+ };
3163
+ };
3164
+ output: {
3165
+ error: {
3166
+ type: "invalid_binding" | "request_conflict" | "cli_reconnect_required" | "not_settleable";
3167
+ };
3168
+ };
3169
+ outputFormat: "json";
3170
+ status: 409;
3171
+ } | {
3172
+ input: {
3173
+ param: {
3174
+ artifactId: string;
3175
+ operationId: string;
3176
+ };
3177
+ } & {
3178
+ query: {
3179
+ workspaceExternalId: string;
3180
+ };
3181
+ };
3182
+ output: {
3183
+ error: {
3184
+ type: "too_many_operations";
3185
+ };
3186
+ };
3187
+ outputFormat: "json";
3188
+ status: 429;
3189
+ } | {
3190
+ input: {
3191
+ param: {
3192
+ artifactId: string;
3193
+ operationId: string;
3194
+ };
3195
+ } & {
3196
+ query: {
3197
+ workspaceExternalId: string;
3198
+ };
3199
+ };
3200
+ output: {
3201
+ error: {
3202
+ type: "access_unavailable";
3203
+ };
3204
+ };
3205
+ outputFormat: "json";
3206
+ status: 403;
3207
+ } | {
3208
+ input: {
3209
+ param: {
3210
+ artifactId: string;
3211
+ operationId: string;
3212
+ };
3213
+ } & {
3214
+ query: {
3215
+ workspaceExternalId: string;
3216
+ };
3217
+ };
3218
+ output: {
3219
+ error: {
3220
+ type: "artifact_not_found" | "action_not_found" | "operation_not_found" | "approval_unavailable";
3221
+ };
3222
+ };
3223
+ outputFormat: "json";
3224
+ status: 404;
3225
+ } | {
3226
+ input: {
3227
+ param: {
3228
+ artifactId: string;
3229
+ operationId: string;
3230
+ };
3231
+ } & {
3232
+ query: {
3233
+ workspaceExternalId: string;
3234
+ };
3235
+ };
3236
+ output: {
3237
+ error: {
3238
+ type: string;
3239
+ };
3240
+ };
3241
+ outputFormat: "json";
3242
+ status: 503;
3243
+ };
3244
+ }>;
3245
+ };
3246
+ };
3247
+ };
3248
+ };
3249
+ } & {
3250
+ v1: {
3251
+ artifacts: {
3252
+ ":artifactId": {
3253
+ operations: {
3254
+ ":operationId": {
3255
+ review: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/operations/:operationId/review", {
3256
+ $get: {
3257
+ input: {
3258
+ param: {
3259
+ artifactId: string;
3260
+ operationId: string;
3261
+ };
3262
+ } & {
3263
+ query: {
3264
+ workspaceExternalId: string;
3265
+ };
3266
+ };
3267
+ output: {
3268
+ error: {
3269
+ type: string;
3270
+ };
3271
+ };
3272
+ outputFormat: "json";
3273
+ status: 503;
3274
+ } | {
3275
+ input: {
3276
+ param: {
3277
+ artifactId: string;
3278
+ operationId: string;
3279
+ };
3280
+ } & {
3281
+ query: {
3282
+ workspaceExternalId: string;
3283
+ };
3284
+ };
3285
+ output: {
3286
+ title: string;
3287
+ workspaceExternalId: string | null;
3288
+ scriptVersion: string;
3289
+ script: string;
3290
+ params: {
3291
+ transactionIds: string[];
3292
+ parameters?: {
3293
+ [x: string]: string | number | boolean | null;
3294
+ } | undefined;
3295
+ };
3296
+ };
3297
+ outputFormat: "json";
3298
+ status: 200 | 202;
3299
+ } | {
3300
+ input: {
3301
+ param: {
3302
+ artifactId: string;
3303
+ operationId: string;
3304
+ };
3305
+ } & {
3306
+ query: {
3307
+ workspaceExternalId: string;
3308
+ };
3309
+ };
3310
+ output: {
3311
+ error: {
3312
+ type: "invalid_binding" | "request_conflict" | "cli_reconnect_required" | "not_settleable";
3313
+ };
3314
+ };
3315
+ outputFormat: "json";
3316
+ status: 409;
3317
+ } | {
3318
+ input: {
3319
+ param: {
3320
+ artifactId: string;
3321
+ operationId: string;
3322
+ };
3323
+ } & {
3324
+ query: {
3325
+ workspaceExternalId: string;
3326
+ };
3327
+ };
3328
+ output: {
3329
+ error: {
3330
+ type: "too_many_operations";
3331
+ };
3332
+ };
3333
+ outputFormat: "json";
3334
+ status: 429;
3335
+ } | {
3336
+ input: {
3337
+ param: {
3338
+ artifactId: string;
3339
+ operationId: string;
3340
+ };
3341
+ } & {
3342
+ query: {
3343
+ workspaceExternalId: string;
3344
+ };
3345
+ };
3346
+ output: {
3347
+ error: {
3348
+ type: "access_unavailable";
3349
+ };
3350
+ };
3351
+ outputFormat: "json";
3352
+ status: 403;
3353
+ } | {
3354
+ input: {
3355
+ param: {
3356
+ artifactId: string;
3357
+ operationId: string;
3358
+ };
3359
+ } & {
3360
+ query: {
3361
+ workspaceExternalId: string;
3362
+ };
3363
+ };
3364
+ output: {
3365
+ error: {
3366
+ type: "artifact_not_found" | "action_not_found" | "operation_not_found" | "approval_unavailable";
3367
+ };
3368
+ };
3369
+ outputFormat: "json";
3370
+ status: 404;
3371
+ };
3372
+ }>;
3373
+ };
3374
+ };
3375
+ };
3376
+ };
3377
+ };
3378
+ } & {
3379
+ v1: {
3380
+ artifacts: {
3381
+ ":artifactId": {
3382
+ operations: {
3383
+ ":operationId": {
3384
+ cancel: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/operations/:operationId/cancel", {
3385
+ $post: {
3386
+ input: {
3387
+ param: {
3388
+ artifactId: string;
3389
+ operationId: string;
3390
+ };
3391
+ } & {
3392
+ query: {
3393
+ workspaceExternalId: string;
3394
+ };
3395
+ } & {
3396
+ json: Record<string, never>;
3397
+ };
3398
+ output: {
3399
+ operationId: string;
3400
+ requestId: string;
3401
+ artifactId: string;
3402
+ actionId: string;
3403
+ scriptVersion: string;
3404
+ status: "unknown" | "failed" | "queued" | "waiting_for_approval" | "running" | "completed" | "cancelled";
3405
+ settled: boolean;
3406
+ stopEvidence: "confirmed" | "not_launched" | "pending" | "assumed";
3407
+ createdAt: string;
3408
+ updatedAt: string;
3409
+ selection?: {
3410
+ transactionIds: string[];
3411
+ parameters?: {
3412
+ [x: string]: string | number | boolean | null;
3413
+ } | undefined;
3414
+ } | undefined;
3415
+ result?: {
3416
+ outcome: "unknown" | "confirmed" | "partial" | "failed";
3417
+ summary: string;
3418
+ affectedIds: string[];
3419
+ failedIds: string[];
3420
+ } | undefined;
3421
+ exitCode?: number | null | undefined;
3422
+ approvalId?: string | undefined;
3423
+ error?: {
3424
+ code: string;
3425
+ message: string;
3426
+ } | undefined;
3427
+ };
3428
+ outputFormat: "json";
3429
+ status: 200 | 202;
3430
+ } | {
3431
+ input: {
3432
+ param: {
3433
+ artifactId: string;
3434
+ operationId: string;
3435
+ };
3436
+ } & {
3437
+ query: {
3438
+ workspaceExternalId: string;
3439
+ };
3440
+ } & {
3441
+ json: Record<string, never>;
3442
+ };
3443
+ output: {
3444
+ error: {
3445
+ type: "invalid_binding" | "request_conflict" | "cli_reconnect_required" | "not_settleable";
3446
+ };
3447
+ };
3448
+ outputFormat: "json";
3449
+ status: 409;
3450
+ } | {
3451
+ input: {
3452
+ param: {
3453
+ artifactId: string;
3454
+ operationId: string;
3455
+ };
3456
+ } & {
3457
+ query: {
3458
+ workspaceExternalId: string;
3459
+ };
3460
+ } & {
3461
+ json: Record<string, never>;
3462
+ };
3463
+ output: {
3464
+ error: {
3465
+ type: "too_many_operations";
3466
+ };
3467
+ };
3468
+ outputFormat: "json";
3469
+ status: 429;
3470
+ } | {
3471
+ input: {
3472
+ param: {
3473
+ artifactId: string;
3474
+ operationId: string;
3475
+ };
3476
+ } & {
3477
+ query: {
3478
+ workspaceExternalId: string;
3479
+ };
3480
+ } & {
3481
+ json: Record<string, never>;
3482
+ };
3483
+ output: {
3484
+ error: {
3485
+ type: "access_unavailable";
3486
+ };
3487
+ };
3488
+ outputFormat: "json";
3489
+ status: 403;
3490
+ } | {
3491
+ input: {
3492
+ param: {
3493
+ artifactId: string;
3494
+ operationId: string;
3495
+ };
3496
+ } & {
3497
+ query: {
3498
+ workspaceExternalId: string;
3499
+ };
3500
+ } & {
3501
+ json: Record<string, never>;
3502
+ };
3503
+ output: {
3504
+ error: {
3505
+ type: "artifact_not_found" | "action_not_found" | "operation_not_found" | "approval_unavailable";
3506
+ };
3507
+ };
3508
+ outputFormat: "json";
3509
+ status: 404;
3510
+ } | {
3511
+ input: {
3512
+ param: {
3513
+ artifactId: string;
3514
+ operationId: string;
3515
+ };
3516
+ } & {
3517
+ query: {
3518
+ workspaceExternalId: string;
3519
+ };
3520
+ } & {
3521
+ json: Record<string, never>;
3522
+ };
3523
+ output: {
3524
+ error: {
3525
+ type: string;
3526
+ };
3527
+ };
3528
+ outputFormat: "json";
3529
+ status: 503;
3530
+ };
3531
+ }>;
3532
+ };
3533
+ };
3534
+ };
3535
+ };
3536
+ };
3537
+ } & {
3538
+ v1: {
3539
+ artifacts: {
3540
+ ":artifactId": {
3541
+ operations: {
3542
+ ":operationId": {
3543
+ settle: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/operations/:operationId/settle", {
3544
+ $post: {
3545
+ input: {
3546
+ param: {
3547
+ artifactId: string;
3548
+ operationId: string;
3549
+ };
3550
+ } & {
3551
+ query: {
3552
+ workspaceExternalId: string;
3553
+ };
3554
+ } & {
3555
+ json: Record<string, never>;
3556
+ };
3557
+ output: {
3558
+ operationId: string;
3559
+ requestId: string;
3560
+ artifactId: string;
3561
+ actionId: string;
3562
+ scriptVersion: string;
3563
+ status: "unknown" | "failed" | "queued" | "waiting_for_approval" | "running" | "completed" | "cancelled";
3564
+ settled: boolean;
3565
+ stopEvidence: "confirmed" | "not_launched" | "pending" | "assumed";
3566
+ createdAt: string;
3567
+ updatedAt: string;
3568
+ selection?: {
3569
+ transactionIds: string[];
3570
+ parameters?: {
3571
+ [x: string]: string | number | boolean | null;
3572
+ } | undefined;
3573
+ } | undefined;
3574
+ result?: {
3575
+ outcome: "unknown" | "confirmed" | "partial" | "failed";
3576
+ summary: string;
3577
+ affectedIds: string[];
3578
+ failedIds: string[];
3579
+ } | undefined;
3580
+ exitCode?: number | null | undefined;
3581
+ approvalId?: string | undefined;
3582
+ error?: {
3583
+ code: string;
3584
+ message: string;
3585
+ } | undefined;
3586
+ };
3587
+ outputFormat: "json";
3588
+ status: 200 | 202;
3589
+ } | {
3590
+ input: {
3591
+ param: {
3592
+ artifactId: string;
3593
+ operationId: string;
3594
+ };
3595
+ } & {
3596
+ query: {
3597
+ workspaceExternalId: string;
3598
+ };
3599
+ } & {
3600
+ json: Record<string, never>;
3601
+ };
3602
+ output: {
3603
+ error: {
3604
+ type: "invalid_binding" | "request_conflict" | "cli_reconnect_required" | "not_settleable";
3605
+ };
3606
+ };
3607
+ outputFormat: "json";
3608
+ status: 409;
3609
+ } | {
3610
+ input: {
3611
+ param: {
3612
+ artifactId: string;
3613
+ operationId: string;
3614
+ };
3615
+ } & {
3616
+ query: {
3617
+ workspaceExternalId: string;
3618
+ };
3619
+ } & {
3620
+ json: Record<string, never>;
3621
+ };
3622
+ output: {
3623
+ error: {
3624
+ type: "too_many_operations";
3625
+ };
3626
+ };
3627
+ outputFormat: "json";
3628
+ status: 429;
3629
+ } | {
3630
+ input: {
3631
+ param: {
3632
+ artifactId: string;
3633
+ operationId: string;
3634
+ };
3635
+ } & {
3636
+ query: {
3637
+ workspaceExternalId: string;
3638
+ };
3639
+ } & {
3640
+ json: Record<string, never>;
3641
+ };
3642
+ output: {
3643
+ error: {
3644
+ type: "access_unavailable";
3645
+ };
3646
+ };
3647
+ outputFormat: "json";
3648
+ status: 403;
3649
+ } | {
3650
+ input: {
3651
+ param: {
3652
+ artifactId: string;
3653
+ operationId: string;
3654
+ };
3655
+ } & {
3656
+ query: {
3657
+ workspaceExternalId: string;
3658
+ };
3659
+ } & {
3660
+ json: Record<string, never>;
3661
+ };
3662
+ output: {
3663
+ error: {
3664
+ type: "artifact_not_found" | "action_not_found" | "operation_not_found" | "approval_unavailable";
3665
+ };
3666
+ };
3667
+ outputFormat: "json";
3668
+ status: 404;
3669
+ } | {
3670
+ input: {
3671
+ param: {
3672
+ artifactId: string;
3673
+ operationId: string;
3674
+ };
3675
+ } & {
3676
+ query: {
3677
+ workspaceExternalId: string;
3678
+ };
3679
+ } & {
3680
+ json: Record<string, never>;
3681
+ };
3682
+ output: {
3683
+ error: {
3684
+ type: string;
3685
+ };
3686
+ };
3687
+ outputFormat: "json";
3688
+ status: 503;
3689
+ };
3690
+ }>;
3691
+ };
3692
+ };
3693
+ };
3694
+ };
3695
+ };
3696
+ } & {
3697
+ v1: {
3698
+ artifacts: {
3699
+ ":artifactId": {
3700
+ operations: {
3701
+ ":operationId": {
3702
+ approval: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/operations/:operationId/approval", {
3703
+ $post: {
3704
+ input: {
3705
+ param: {
3706
+ artifactId: string;
3707
+ operationId: string;
3708
+ };
3709
+ } & {
3710
+ query: {
3711
+ workspaceExternalId: string;
3712
+ };
3713
+ } & {
3714
+ json: {
3715
+ decision: "approved" | "rejected";
3716
+ };
3717
+ };
3718
+ output: {
3719
+ operationId: string;
3720
+ requestId: string;
3721
+ artifactId: string;
3722
+ actionId: string;
3723
+ scriptVersion: string;
3724
+ status: "unknown" | "failed" | "queued" | "waiting_for_approval" | "running" | "completed" | "cancelled";
3725
+ settled: boolean;
3726
+ stopEvidence: "confirmed" | "not_launched" | "pending" | "assumed";
3727
+ createdAt: string;
3728
+ updatedAt: string;
3729
+ selection?: {
3730
+ transactionIds: string[];
3731
+ parameters?: {
3732
+ [x: string]: string | number | boolean | null;
3733
+ } | undefined;
3734
+ } | undefined;
3735
+ result?: {
3736
+ outcome: "unknown" | "confirmed" | "partial" | "failed";
3737
+ summary: string;
3738
+ affectedIds: string[];
3739
+ failedIds: string[];
3740
+ } | undefined;
3741
+ exitCode?: number | null | undefined;
3742
+ approvalId?: string | undefined;
3743
+ error?: {
3744
+ code: string;
3745
+ message: string;
3746
+ } | undefined;
3747
+ };
3748
+ outputFormat: "json";
3749
+ status: 200 | 202;
3750
+ } | {
3751
+ input: {
3752
+ param: {
3753
+ artifactId: string;
3754
+ operationId: string;
3755
+ };
3756
+ } & {
3757
+ query: {
3758
+ workspaceExternalId: string;
3759
+ };
3760
+ } & {
3761
+ json: {
3762
+ decision: "approved" | "rejected";
3763
+ };
3764
+ };
3765
+ output: {
3766
+ error: {
3767
+ type: "invalid_binding" | "request_conflict" | "cli_reconnect_required" | "not_settleable";
3768
+ };
3769
+ };
3770
+ outputFormat: "json";
3771
+ status: 409;
3772
+ } | {
3773
+ input: {
3774
+ param: {
3775
+ artifactId: string;
3776
+ operationId: string;
3777
+ };
3778
+ } & {
3779
+ query: {
3780
+ workspaceExternalId: string;
3781
+ };
3782
+ } & {
3783
+ json: {
3784
+ decision: "approved" | "rejected";
3785
+ };
3786
+ };
3787
+ output: {
3788
+ error: {
3789
+ type: "too_many_operations";
3790
+ };
3791
+ };
3792
+ outputFormat: "json";
3793
+ status: 429;
3794
+ } | {
3795
+ input: {
3796
+ param: {
3797
+ artifactId: string;
3798
+ operationId: string;
3799
+ };
3800
+ } & {
3801
+ query: {
3802
+ workspaceExternalId: string;
3803
+ };
3804
+ } & {
3805
+ json: {
3806
+ decision: "approved" | "rejected";
3807
+ };
3808
+ };
3809
+ output: {
3810
+ error: {
3811
+ type: "access_unavailable";
3812
+ };
3813
+ };
3814
+ outputFormat: "json";
3815
+ status: 403;
3816
+ } | {
3817
+ input: {
3818
+ param: {
3819
+ artifactId: string;
3820
+ operationId: string;
3821
+ };
3822
+ } & {
3823
+ query: {
3824
+ workspaceExternalId: string;
3825
+ };
3826
+ } & {
3827
+ json: {
3828
+ decision: "approved" | "rejected";
3829
+ };
3830
+ };
3831
+ output: {
3832
+ error: {
3833
+ type: "artifact_not_found" | "action_not_found" | "operation_not_found" | "approval_unavailable";
3834
+ };
3835
+ };
3836
+ outputFormat: "json";
3837
+ status: 404;
3838
+ } | {
3839
+ input: {
3840
+ param: {
3841
+ artifactId: string;
3842
+ operationId: string;
3843
+ };
3844
+ } & {
3845
+ query: {
3846
+ workspaceExternalId: string;
3847
+ };
3848
+ } & {
3849
+ json: {
3850
+ decision: "approved" | "rejected";
3851
+ };
3852
+ };
3853
+ output: {
3854
+ error: {
3855
+ type: string;
3856
+ };
3857
+ };
3858
+ outputFormat: "json";
3859
+ status: 503;
3860
+ };
3861
+ }>;
3862
+ };
3863
+ };
3864
+ };
3865
+ };
3866
+ };
3867
+ } & {
3868
+ v1: {
3869
+ artifacts: {
3870
+ ":artifactId": import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId", {
3871
+ $get: {
3872
+ input: {
3873
+ param: {
3874
+ artifactId: string;
3875
+ };
3876
+ };
3877
+ output: {};
3878
+ outputFormat: string;
3879
+ status: import('hono/utils/http-status').StatusCode;
3880
+ };
3881
+ }>;
3882
+ };
3883
+ };
3884
+ } & {
3885
+ v1: {
3886
+ artifacts: {
3887
+ ":artifactId": {
3888
+ preview: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/preview", {
3889
+ $get: {
3890
+ input: {
3891
+ param: {
3892
+ artifactId: string;
3893
+ };
3894
+ };
3895
+ output: {
3896
+ readonly status: "pending";
3897
+ } | {
3898
+ readonly status: "ready";
3899
+ readonly kind: import('../../../../apps/belong-cloud/src/features/files/preview.types').PreviewKind;
3900
+ readonly pageCount?: number | undefined;
3901
+ readonly totalPages?: number | undefined;
3902
+ } | {
3903
+ readonly status: "too_large";
3904
+ } | {
3905
+ readonly status: "unsupported";
3906
+ } | {
3907
+ readonly status: "failed";
3908
+ };
3909
+ outputFormat: "json";
3910
+ status: import('hono/utils/http-status').ContentfulStatusCode;
3911
+ } | {
3912
+ input: {
3913
+ param: {
3914
+ artifactId: string;
3915
+ };
3916
+ };
3917
+ output: {
3918
+ error: {
3919
+ type: string;
3920
+ };
3921
+ };
3922
+ outputFormat: "json";
3923
+ status: 404;
3924
+ };
3925
+ }>;
3926
+ };
3927
+ };
3928
+ };
3929
+ } & {
3930
+ v1: {
3931
+ artifacts: {
3932
+ ":artifactId": {
3933
+ preview: {
3934
+ html: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/preview/html", {
3935
+ $get: {
3936
+ input: {
3937
+ param: {
3938
+ artifactId: string;
3939
+ };
3940
+ };
3941
+ output: {};
3942
+ outputFormat: string;
3943
+ status: import('hono/utils/http-status').StatusCode;
3944
+ };
3945
+ }>;
3946
+ };
3947
+ };
3948
+ };
3949
+ };
3950
+ } & {
3951
+ v1: {
3952
+ artifacts: {
3953
+ ":artifactId": {
3954
+ preview: {
3955
+ page: {
3956
+ ":n": import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/preview/page/:n", {
3957
+ $get: {
3958
+ input: {
3959
+ param: {
3960
+ artifactId: string;
3961
+ };
3962
+ };
3963
+ output: {};
3964
+ outputFormat: string;
3965
+ status: import('hono/utils/http-status').StatusCode;
3966
+ };
3967
+ }>;
3968
+ };
3969
+ };
3970
+ };
3971
+ };
3972
+ };
3973
+ } & {
3974
+ v1: {
3975
+ artifacts: {
3976
+ ":artifactId": {
3977
+ share: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/share", {
3978
+ $post: {
3979
+ input: {
3980
+ param: {
3981
+ artifactId: string;
3982
+ };
3983
+ } & {
3984
+ query: {
3985
+ ttlSeconds?: string | string[];
3986
+ };
3987
+ };
3988
+ output: {
3989
+ url: string;
3990
+ expiresAt: string;
3991
+ };
3992
+ outputFormat: "json";
3993
+ status: 201;
3994
+ } | {
3995
+ input: {
3996
+ param: {
3997
+ artifactId: string;
3998
+ };
3999
+ } & {
4000
+ query: {
4001
+ ttlSeconds?: string | string[];
4002
+ };
4003
+ };
4004
+ output: {
4005
+ error: {
4006
+ type: string;
4007
+ };
4008
+ };
4009
+ outputFormat: "json";
4010
+ status: 404;
4011
+ };
4012
+ }>;
4013
+ };
4014
+ };
4015
+ };
4016
+ } & {
4017
+ v1: {
4018
+ "live-artifacts": import('hono/client').ClientRequest<string, "/v1/live-artifacts", {
4019
+ $get: {
4020
+ input: {};
4021
+ output: {
4022
+ readonly artifacts: readonly {
4023
+ readonly liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
4024
+ readonly workspaceId: import('../../../../apps/belong-cloud/src/platform/ids').WorkspaceId | null;
4025
+ readonly name: string;
4026
+ readonly description: string | null;
4027
+ readonly currentVersion: number;
4028
+ readonly shareSlug: string;
4029
+ readonly shareExpiresAt: string | null;
4030
+ readonly shareRevokedAt: string | null;
4031
+ readonly seriesId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId | null;
4032
+ readonly lastRefreshedAt: string | null;
4033
+ readonly createdAt: string;
4034
+ readonly updatedAt: string;
4035
+ readonly cadence: {
4036
+ readonly timezone: string;
4037
+ readonly recurrenceKind: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.schemas').RecurrenceKind;
4038
+ readonly intervalMinutes: number | null;
4039
+ readonly anchorAt: string;
4040
+ } | null;
4041
+ }[];
4042
+ readonly slotsUsed: number;
4043
+ readonly slotLimit: number;
4044
+ };
4045
+ outputFormat: "json";
4046
+ status: import('hono/utils/http-status').ContentfulStatusCode;
4047
+ };
4048
+ $post: {
4049
+ input: {
4050
+ json: {
4051
+ name: string;
4052
+ artifactId: string;
4053
+ description?: string | undefined;
4054
+ };
4055
+ };
4056
+ output: {
4057
+ error: {
4058
+ type: string;
4059
+ requiredScope: string;
4060
+ };
4061
+ };
4062
+ outputFormat: "json";
4063
+ status: 403;
4064
+ } | {
4065
+ input: {
4066
+ json: {
4067
+ name: string;
4068
+ artifactId: string;
4069
+ description?: string | undefined;
4070
+ };
4071
+ };
4072
+ output: {
4073
+ readonly liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
4074
+ readonly version: 1;
4075
+ };
4076
+ outputFormat: "json";
4077
+ status: 201;
4078
+ } | {
4079
+ input: {
4080
+ json: {
4081
+ name: string;
4082
+ artifactId: string;
4083
+ description?: string | undefined;
4084
+ };
4085
+ };
4086
+ output: {
4087
+ error: {
4088
+ type: "quota_exceeded";
4089
+ existing: readonly {
4090
+ readonly liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
4091
+ readonly workspaceId: import('../../../../apps/belong-cloud/src/platform/ids').WorkspaceId | null;
4092
+ readonly name: string;
4093
+ readonly description: string | null;
4094
+ readonly currentVersion: number;
4095
+ readonly shareSlug: string;
4096
+ readonly shareExpiresAt: string | null;
4097
+ readonly shareRevokedAt: string | null;
4098
+ readonly seriesId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId | null;
4099
+ readonly lastRefreshedAt: string | null;
4100
+ readonly createdAt: string;
4101
+ readonly updatedAt: string;
4102
+ }[];
4103
+ };
4104
+ };
4105
+ outputFormat: "json";
4106
+ status: 409;
4107
+ } | {
4108
+ input: {
4109
+ json: {
4110
+ name: string;
4111
+ artifactId: string;
4112
+ description?: string | undefined;
4113
+ };
4114
+ };
4115
+ output: {
4116
+ error: {
4117
+ type: "name_taken";
4118
+ liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
4119
+ };
4120
+ };
4121
+ outputFormat: "json";
4122
+ status: 409;
4123
+ } | {
4124
+ input: {
4125
+ json: {
4126
+ name: string;
4127
+ artifactId: string;
4128
+ description?: string | undefined;
4129
+ };
4130
+ };
4131
+ output: {
4132
+ error: {
4133
+ type: string;
4134
+ };
4135
+ };
4136
+ outputFormat: "json";
4137
+ status: 404;
4138
+ };
4139
+ }>;
4140
+ };
4141
+ } & {
4142
+ v1: {
4143
+ "live-artifacts": {
4144
+ ":id": import('hono/client').ClientRequest<string, "/v1/live-artifacts/:id", {
4145
+ $get: {
4146
+ input: {
4147
+ param: {
4148
+ id: string;
4149
+ };
4150
+ };
4151
+ output: {
4152
+ readonly liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
4153
+ readonly workspaceId: import('../../../../apps/belong-cloud/src/platform/ids').WorkspaceId | null;
4154
+ readonly name: string;
4155
+ readonly description: string | null;
4156
+ readonly currentVersion: number;
4157
+ readonly shareSlug: string;
4158
+ readonly shareExpiresAt: string | null;
4159
+ readonly shareRevokedAt: string | null;
4160
+ readonly seriesId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId | null;
4161
+ readonly lastRefreshedAt: string | null;
4162
+ readonly createdAt: string;
4163
+ readonly updatedAt: string;
4164
+ readonly versions: readonly {
4165
+ readonly version: number;
4166
+ readonly artifactId: import('../../../../apps/belong-cloud/src/platform/ids').ArtifactId;
4167
+ readonly mimeType: string;
4168
+ readonly runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId | null;
4169
+ readonly summary: string | null;
4170
+ readonly publishedAt: string;
4171
+ }[];
4172
+ readonly cadence: {
4173
+ readonly timezone: string;
4174
+ readonly recurrenceKind: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.schemas').RecurrenceKind;
4175
+ readonly intervalMinutes: number | null;
4176
+ readonly anchorAt: string;
4177
+ } | null;
4178
+ };
4179
+ outputFormat: "json";
4180
+ status: import('hono/utils/http-status').ContentfulStatusCode;
4181
+ } | {
4182
+ input: {
4183
+ param: {
4184
+ id: string;
4185
+ };
4186
+ };
4187
+ output: {
4188
+ error: {
4189
+ type: string;
4190
+ };
4191
+ };
4192
+ outputFormat: "json";
4193
+ status: 404;
4194
+ };
4195
+ $patch: {
4196
+ input: {
4197
+ param: {
4198
+ id: string;
4199
+ };
4200
+ } & {
4201
+ json: {
4202
+ name?: string | undefined;
4203
+ description?: string | undefined;
4204
+ seriesId?: string | null | undefined;
4205
+ };
4206
+ };
4207
+ output: null;
4208
+ outputFormat: "body";
4209
+ status: 204;
4210
+ } | {
4211
+ input: {
4212
+ param: {
4213
+ id: string;
4214
+ };
4215
+ } & {
4216
+ json: {
4217
+ name?: string | undefined;
4218
+ description?: string | undefined;
4219
+ seriesId?: string | null | undefined;
4220
+ };
4221
+ };
4222
+ output: {
4223
+ error: {
4224
+ type: string;
4225
+ requiredScope: string;
4226
+ };
4227
+ };
4228
+ outputFormat: "json";
4229
+ status: 403;
4230
+ } | {
4231
+ input: {
4232
+ param: {
4233
+ id: string;
4234
+ };
4235
+ } & {
4236
+ json: {
4237
+ name?: string | undefined;
4238
+ description?: string | undefined;
4239
+ seriesId?: string | null | undefined;
4240
+ };
4241
+ };
4242
+ output: {
4243
+ error: {
4244
+ type: string;
4245
+ };
4246
+ };
4247
+ outputFormat: "json";
4248
+ status: 404;
4249
+ } | {
4250
+ input: {
4251
+ param: {
4252
+ id: string;
4253
+ };
4254
+ } & {
4255
+ json: {
4256
+ name?: string | undefined;
4257
+ description?: string | undefined;
4258
+ seriesId?: string | null | undefined;
4259
+ };
4260
+ };
4261
+ output: {
4262
+ error: {
4263
+ type: string;
4264
+ };
4265
+ };
4266
+ outputFormat: "json";
4267
+ status: 409;
4268
+ };
4269
+ $delete: {
2592
4270
  input: {
2593
4271
  param: {
2594
- artifactId: string;
4272
+ id: string;
2595
4273
  };
2596
4274
  };
2597
- output: {};
2598
- outputFormat: string;
2599
- status: import('hono/utils/http-status').StatusCode;
4275
+ output: null;
4276
+ outputFormat: "body";
4277
+ status: 204;
4278
+ } | {
4279
+ input: {
4280
+ param: {
4281
+ id: string;
4282
+ };
4283
+ };
4284
+ output: {
4285
+ error: {
4286
+ type: string;
4287
+ requiredScope: string;
4288
+ };
4289
+ };
4290
+ outputFormat: "json";
4291
+ status: 403;
4292
+ } | {
4293
+ input: {
4294
+ param: {
4295
+ id: string;
4296
+ };
4297
+ };
4298
+ output: {
4299
+ error: {
4300
+ type: string;
4301
+ };
4302
+ };
4303
+ outputFormat: "json";
4304
+ status: 404;
2600
4305
  };
2601
4306
  }>;
2602
4307
  };
2603
4308
  };
2604
4309
  } & {
2605
4310
  v1: {
2606
- artifacts: {
2607
- ":artifactId": {
2608
- preview: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/preview", {
2609
- $get: {
4311
+ "live-artifacts": {
4312
+ ":id": {
4313
+ share: import('hono/client').ClientRequest<string, "/v1/live-artifacts/:id/share", {
4314
+ $post: {
2610
4315
  input: {
2611
4316
  param: {
2612
- artifactId: string;
4317
+ id: string;
4318
+ };
4319
+ } & {
4320
+ json: {
4321
+ ttlSeconds?: unknown;
2613
4322
  };
2614
4323
  };
2615
4324
  output: {
2616
- readonly status: "pending";
2617
- } | {
2618
- readonly status: "ready";
2619
- readonly kind: import('node_modules/@belong/cloud/src/features/files/preview.types').PreviewKind;
2620
- readonly pageCount?: number | undefined;
2621
- readonly totalPages?: number | undefined;
2622
- } | {
2623
- readonly status: "too_large";
2624
- } | {
2625
- readonly status: "unsupported";
2626
- } | {
2627
- readonly status: "failed";
4325
+ error: {
4326
+ type: string;
4327
+ requiredScope: string;
4328
+ };
2628
4329
  };
2629
4330
  outputFormat: "json";
2630
- status: import('hono/utils/http-status').ContentfulStatusCode;
4331
+ status: 403;
2631
4332
  } | {
2632
4333
  input: {
2633
4334
  param: {
2634
- artifactId: string;
4335
+ id: string;
4336
+ };
4337
+ } & {
4338
+ json: {
4339
+ ttlSeconds?: unknown;
4340
+ };
4341
+ };
4342
+ output: {
4343
+ shareUrl: string;
4344
+ expiresAt: string;
4345
+ rotated: boolean;
4346
+ };
4347
+ outputFormat: "json";
4348
+ status: 201;
4349
+ } | {
4350
+ input: {
4351
+ param: {
4352
+ id: string;
4353
+ };
4354
+ } & {
4355
+ json: {
4356
+ ttlSeconds?: unknown;
2635
4357
  };
2636
4358
  };
2637
4359
  output: {
@@ -2642,83 +4364,33 @@ export declare const createApiClient: (baseUrl: string) => {
2642
4364
  outputFormat: "json";
2643
4365
  status: 404;
2644
4366
  };
2645
- }>;
2646
- };
2647
- };
2648
- };
2649
- } & {
2650
- v1: {
2651
- artifacts: {
2652
- ":artifactId": {
2653
- preview: {
2654
- html: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/preview/html", {
2655
- $get: {
2656
- input: {
2657
- param: {
2658
- artifactId: string;
2659
- };
4367
+ $delete: {
4368
+ input: {
4369
+ param: {
4370
+ id: string;
2660
4371
  };
2661
- output: {};
2662
- outputFormat: string;
2663
- status: import('hono/utils/http-status').StatusCode;
2664
4372
  };
2665
- }>;
2666
- };
2667
- };
2668
- };
2669
- };
2670
- } & {
2671
- v1: {
2672
- artifacts: {
2673
- ":artifactId": {
2674
- preview: {
2675
- page: {
2676
- ":n": import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/preview/page/:n", {
2677
- $get: {
2678
- input: {
2679
- param: {
2680
- artifactId: string;
2681
- };
2682
- };
2683
- output: {};
2684
- outputFormat: string;
2685
- status: import('hono/utils/http-status').StatusCode;
2686
- };
2687
- }>;
2688
- };
2689
- };
2690
- };
2691
- };
2692
- };
2693
- } & {
2694
- v1: {
2695
- artifacts: {
2696
- ":artifactId": {
2697
- share: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/share", {
2698
- $post: {
4373
+ output: null;
4374
+ outputFormat: "body";
4375
+ status: 204;
4376
+ } | {
2699
4377
  input: {
2700
4378
  param: {
2701
- artifactId: string;
2702
- };
2703
- } & {
2704
- query: {
2705
- ttlSeconds?: string | string[];
4379
+ id: string;
2706
4380
  };
2707
4381
  };
2708
4382
  output: {
2709
- url: string;
2710
- expiresAt: string;
4383
+ error: {
4384
+ type: string;
4385
+ requiredScope: string;
4386
+ };
2711
4387
  };
2712
4388
  outputFormat: "json";
2713
- status: 201;
4389
+ status: 403;
2714
4390
  } | {
2715
4391
  input: {
2716
4392
  param: {
2717
- artifactId: string;
2718
- };
2719
- } & {
2720
- query: {
2721
- ttlSeconds?: string | string[];
4393
+ id: string;
2722
4394
  };
2723
4395
  };
2724
4396
  output: {
@@ -2733,6 +4405,23 @@ export declare const createApiClient: (baseUrl: string) => {
2733
4405
  };
2734
4406
  };
2735
4407
  };
4408
+ } & {
4409
+ share: {
4410
+ a: {
4411
+ ":slug": import('hono/client').ClientRequest<string, "/share/a/:slug", {
4412
+ $get: {
4413
+ input: {
4414
+ param: {
4415
+ slug: string;
4416
+ };
4417
+ };
4418
+ output: {};
4419
+ outputFormat: string;
4420
+ status: import('hono/utils/http-status').StatusCode;
4421
+ };
4422
+ }>;
4423
+ };
4424
+ };
2736
4425
  } & {
2737
4426
  share: {
2738
4427
  ":token": import('hono/client').ClientRequest<string, "/share/:token", {
@@ -2792,6 +4481,8 @@ export declare const createApiClient: (baseUrl: string) => {
2792
4481
  };
2793
4482
  };
2794
4483
  output: {
4484
+ actionEnabled?: true | undefined;
4485
+ actionBridgeKey?: string | undefined;
2795
4486
  url: string;
2796
4487
  expiresAt: string;
2797
4488
  expiresInSeconds: number;
@@ -3212,11 +4903,12 @@ export declare const createApiClient: (baseUrl: string) => {
3212
4903
  };
3213
4904
  };
3214
4905
  output: {
3215
- url: string;
3216
- expiresAt: string;
4906
+ error: {
4907
+ type: string;
4908
+ };
3217
4909
  };
3218
4910
  outputFormat: "json";
3219
- status: 201;
4911
+ status: 503;
3220
4912
  } | {
3221
4913
  input: {
3222
4914
  json: {
@@ -3224,12 +4916,11 @@ export declare const createApiClient: (baseUrl: string) => {
3224
4916
  };
3225
4917
  };
3226
4918
  output: {
3227
- error: {
3228
- type: string;
3229
- };
4919
+ url: string;
4920
+ expiresAt: string;
3230
4921
  };
3231
4922
  outputFormat: "json";
3232
- status: 503;
4923
+ status: 201;
3233
4924
  } | {
3234
4925
  input: {
3235
4926
  json: {
@@ -3457,7 +5148,7 @@ export declare const createApiClient: (baseUrl: string) => {
3457
5148
  } | {
3458
5149
  input: {};
3459
5150
  output: {
3460
- fileId: import('node_modules/@belong/cloud/src/platform/ids').FileId;
5151
+ fileId: import('../../../../apps/belong-cloud/src/platform/ids').FileId;
3461
5152
  };
3462
5153
  outputFormat: "json";
3463
5154
  status: 201;
@@ -4047,6 +5738,21 @@ export declare const createApiClient: (baseUrl: string) => {
4047
5738
  }>;
4048
5739
  };
4049
5740
  };
5741
+ } & {
5742
+ v1: {
5743
+ config: {
5744
+ "response-modes": import('hono/client').ClientRequest<string, "/v1/config/response-modes", {
5745
+ $get: {
5746
+ input: {};
5747
+ output: {
5748
+ enabled: boolean;
5749
+ };
5750
+ outputFormat: "json";
5751
+ status: 200;
5752
+ };
5753
+ }>;
5754
+ };
5755
+ };
4050
5756
  } & {
4051
5757
  v1: {
4052
5758
  config: {
@@ -4056,6 +5762,13 @@ export declare const createApiClient: (baseUrl: string) => {
4056
5762
  output: null;
4057
5763
  outputFormat: "body";
4058
5764
  status: 204;
5765
+ } | {
5766
+ input: {};
5767
+ output: {
5768
+ error: string;
5769
+ };
5770
+ outputFormat: "json";
5771
+ status: 400;
4059
5772
  } | {
4060
5773
  input: {};
4061
5774
  output: {
@@ -4547,7 +6260,7 @@ export declare const createApiClient: (baseUrl: string) => {
4547
6260
  readonly name: string;
4548
6261
  readonly description: string;
4549
6262
  readonly group: string;
4550
- readonly source: import('node_modules/@belong/cloud/src/features/skills/skill.service').SkillSource;
6263
+ readonly source: import('../../../../apps/belong-cloud/src/features/skills/skill.service').SkillSource;
4551
6264
  }[];
4552
6265
  commands: readonly {
4553
6266
  readonly name: string;
@@ -4675,7 +6388,7 @@ export declare const createApiClient: (baseUrl: string) => {
4675
6388
  };
4676
6389
  output: {
4677
6390
  state: "active";
4678
- grantId: import('node_modules/@belong/cloud/src/platform/ids').AgentGrantId;
6391
+ grantId: import('../../../../apps/belong-cloud/src/platform/ids').AgentGrantId;
4679
6392
  expiresAt: string;
4680
6393
  };
4681
6394
  outputFormat: "json";
@@ -4691,7 +6404,7 @@ export declare const createApiClient: (baseUrl: string) => {
4691
6404
  };
4692
6405
  output: {
4693
6406
  state: "preparing";
4694
- grantId: import('node_modules/@belong/cloud/src/platform/ids').AgentGrantId;
6407
+ grantId: import('../../../../apps/belong-cloud/src/platform/ids').AgentGrantId;
4695
6408
  expiresAt: string;
4696
6409
  };
4697
6410
  outputFormat: "json";
@@ -4892,7 +6605,7 @@ export declare const createApiClient: (baseUrl: string) => {
4892
6605
  };
4893
6606
  output: {
4894
6607
  status: "active" | "expired" | "revoked" | "reauth_required" | "preparing" | "install_degraded";
4895
- grantId: import('node_modules/@belong/cloud/src/platform/ids').AgentGrantId;
6608
+ grantId: import('../../../../apps/belong-cloud/src/platform/ids').AgentGrantId;
4896
6609
  provider: string;
4897
6610
  scopeExternalId: string;
4898
6611
  grantedAt: string | null;
@@ -4920,7 +6633,7 @@ export declare const createApiClient: (baseUrl: string) => {
4920
6633
  };
4921
6634
  output: {
4922
6635
  state: "preparing";
4923
- grantId: import('node_modules/@belong/cloud/src/platform/ids').AgentGrantId;
6636
+ grantId: import('../../../../apps/belong-cloud/src/platform/ids').AgentGrantId;
4924
6637
  expiresAt: string;
4925
6638
  };
4926
6639
  outputFormat: "json";
@@ -4935,7 +6648,7 @@ export declare const createApiClient: (baseUrl: string) => {
4935
6648
  };
4936
6649
  output: {
4937
6650
  state: "reauth_required";
4938
- grantId: import('node_modules/@belong/cloud/src/platform/ids').AgentGrantId | null;
6651
+ grantId: import('../../../../apps/belong-cloud/src/platform/ids').AgentGrantId | null;
4939
6652
  expiresAt: string | null;
4940
6653
  };
4941
6654
  outputFormat: "json";
@@ -5149,10 +6862,10 @@ export declare const createApiClient: (baseUrl: string) => {
5149
6862
  };
5150
6863
  };
5151
6864
  output: {
5152
- taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
5153
- status: "scheduled" | "failed" | "completed" | "running";
6865
+ taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
6866
+ status: "failed" | "running" | "completed" | "scheduled";
5154
6867
  scheduledFor: string;
5155
- seriesStatus: "active" | "completed" | "paused" | "deleted";
6868
+ seriesStatus: "completed" | "active" | "paused" | "deleted";
5156
6869
  recurrence: {
5157
6870
  kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
5158
6871
  };
@@ -5266,10 +6979,10 @@ export declare const createApiClient: (baseUrl: string) => {
5266
6979
  };
5267
6980
  output: {
5268
6981
  taskSchedules: {
5269
- taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
6982
+ taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
5270
6983
  shared: boolean;
5271
6984
  title: string;
5272
- status: "active" | "completed" | "paused" | "deleted";
6985
+ status: "completed" | "active" | "paused" | "deleted";
5273
6986
  recurrence: {
5274
6987
  intervalMinutes?: number | undefined;
5275
6988
  kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
@@ -5277,7 +6990,7 @@ export declare const createApiClient: (baseUrl: string) => {
5277
6990
  timezone: string;
5278
6991
  nextRunAt: string | null;
5279
6992
  lastRun: {
5280
- status: "failed" | "completed" | "running";
6993
+ status: "failed" | "running" | "completed";
5281
6994
  at: string | null;
5282
6995
  } | null;
5283
6996
  messagePreview: string;
@@ -5370,6 +7083,7 @@ export declare const createApiClient: (baseUrl: string) => {
5370
7083
  readonly role: "owner" | "use" | "edit" | "revoked";
5371
7084
  readonly revision: number;
5372
7085
  readonly workspaceCount: number;
7086
+ readonly sharedRecipients: readonly string[];
5373
7087
  } | null;
5374
7088
  explicitTitle: string | null;
5375
7089
  message: string;
@@ -5400,10 +7114,10 @@ export declare const createApiClient: (baseUrl: string) => {
5400
7114
  allowExternalRecipients: boolean;
5401
7115
  maxMessagesPerRun: number;
5402
7116
  } | null;
5403
- taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
7117
+ taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
5404
7118
  shared: boolean;
5405
7119
  title: string;
5406
- status: "active" | "completed" | "paused" | "deleted";
7120
+ status: "completed" | "active" | "paused" | "deleted";
5407
7121
  recurrence: {
5408
7122
  intervalMinutes?: number | undefined;
5409
7123
  kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
@@ -5411,7 +7125,7 @@ export declare const createApiClient: (baseUrl: string) => {
5411
7125
  timezone: string;
5412
7126
  nextRunAt: string | null;
5413
7127
  lastRun: {
5414
- status: "failed" | "completed" | "running";
7128
+ status: "failed" | "running" | "completed";
5415
7129
  at: string | null;
5416
7130
  } | null;
5417
7131
  messagePreview: string;
@@ -5450,6 +7164,7 @@ export declare const createApiClient: (baseUrl: string) => {
5450
7164
  json: {
5451
7165
  expectedRevision?: number | undefined;
5452
7166
  recipients?: string[] | undefined;
7167
+ sharedRecipients?: string[] | undefined;
5453
7168
  title?: string | null | undefined;
5454
7169
  message?: string | undefined;
5455
7170
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -5473,8 +7188,8 @@ export declare const createApiClient: (baseUrl: string) => {
5473
7188
  };
5474
7189
  };
5475
7190
  output: {
5476
- taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
5477
- status: "active" | "completed" | "paused" | "deleted";
7191
+ taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
7192
+ status: "completed" | "active" | "paused" | "deleted";
5478
7193
  nextRunAt: string | null;
5479
7194
  };
5480
7195
  outputFormat: "json";
@@ -5492,6 +7207,7 @@ export declare const createApiClient: (baseUrl: string) => {
5492
7207
  json: {
5493
7208
  expectedRevision?: number | undefined;
5494
7209
  recipients?: string[] | undefined;
7210
+ sharedRecipients?: string[] | undefined;
5495
7211
  title?: string | null | undefined;
5496
7212
  message?: string | undefined;
5497
7213
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -5534,6 +7250,7 @@ export declare const createApiClient: (baseUrl: string) => {
5534
7250
  json: {
5535
7251
  expectedRevision?: number | undefined;
5536
7252
  recipients?: string[] | undefined;
7253
+ sharedRecipients?: string[] | undefined;
5537
7254
  title?: string | null | undefined;
5538
7255
  message?: string | undefined;
5539
7256
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -5576,6 +7293,7 @@ export declare const createApiClient: (baseUrl: string) => {
5576
7293
  json: {
5577
7294
  expectedRevision?: number | undefined;
5578
7295
  recipients?: string[] | undefined;
7296
+ sharedRecipients?: string[] | undefined;
5579
7297
  title?: string | null | undefined;
5580
7298
  message?: string | undefined;
5581
7299
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -5618,6 +7336,7 @@ export declare const createApiClient: (baseUrl: string) => {
5618
7336
  json: {
5619
7337
  expectedRevision?: number | undefined;
5620
7338
  recipients?: string[] | undefined;
7339
+ sharedRecipients?: string[] | undefined;
5621
7340
  title?: string | null | undefined;
5622
7341
  message?: string | undefined;
5623
7342
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -5719,16 +7438,16 @@ export declare const createApiClient: (baseUrl: string) => {
5719
7438
  };
5720
7439
  output: {
5721
7440
  runs: {
5722
- taskScheduleRunId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleId;
7441
+ taskScheduleRunId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleId;
5723
7442
  occurrenceKind: "scheduled" | "manual";
5724
- displayStatus: import('node_modules/@belong/cloud/src/features/task-schedules/task-schedule.service').TaskScheduleRunDisplayStatus;
7443
+ displayStatus: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.service').TaskScheduleRunDisplayStatus;
5725
7444
  scheduledFor: string;
5726
7445
  startedAt: string | null;
5727
7446
  finishedAt: string | null;
5728
7447
  failureReason: string | null;
5729
- sessionId: import('node_modules/@belong/cloud/src/platform/ids').SessionId | null;
5730
- taskId: import('node_modules/@belong/cloud/src/platform/ids').TaskId | null;
5731
- runId: import('node_modules/@belong/cloud/src/platform/ids').RunId | null;
7448
+ sessionId: import('../../../../apps/belong-cloud/src/platform/ids').SessionId | null;
7449
+ taskId: import('../../../../apps/belong-cloud/src/platform/ids').TaskId | null;
7450
+ runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId | null;
5732
7451
  }[];
5733
7452
  nextOffset: number | null;
5734
7453
  };
@@ -5869,7 +7588,7 @@ export declare const createApiClient: (baseUrl: string) => {
5869
7588
  };
5870
7589
  };
5871
7590
  output: {
5872
- status: "active" | "completed" | "needs_attention";
7591
+ status: "completed" | "active" | "needs_attention";
5873
7592
  nextRunAt: string | null;
5874
7593
  };
5875
7594
  outputFormat: "json";
@@ -5930,6 +7649,7 @@ export declare const createApiClient: (baseUrl: string) => {
5930
7649
  } & {
5931
7650
  json: {
5932
7651
  clientRequestId?: string | undefined;
7652
+ instructions?: string | undefined;
5933
7653
  };
5934
7654
  };
5935
7655
  output: {
@@ -5952,6 +7672,7 @@ export declare const createApiClient: (baseUrl: string) => {
5952
7672
  } & {
5953
7673
  json: {
5954
7674
  clientRequestId?: string | undefined;
7675
+ instructions?: string | undefined;
5955
7676
  };
5956
7677
  };
5957
7678
  output: {
@@ -5973,10 +7694,11 @@ export declare const createApiClient: (baseUrl: string) => {
5973
7694
  } & {
5974
7695
  json: {
5975
7696
  clientRequestId?: string | undefined;
7697
+ instructions?: string | undefined;
5976
7698
  };
5977
7699
  };
5978
7700
  output: {
5979
- taskScheduleRunId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleId;
7701
+ taskScheduleRunId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleId;
5980
7702
  };
5981
7703
  outputFormat: "json";
5982
7704
  status: 202;
@@ -5992,6 +7714,7 @@ export declare const createApiClient: (baseUrl: string) => {
5992
7714
  } & {
5993
7715
  json: {
5994
7716
  clientRequestId?: string | undefined;
7717
+ instructions?: string | undefined;
5995
7718
  };
5996
7719
  };
5997
7720
  output: {
@@ -6013,6 +7736,7 @@ export declare const createApiClient: (baseUrl: string) => {
6013
7736
  } & {
6014
7737
  json: {
6015
7738
  clientRequestId?: string | undefined;
7739
+ instructions?: string | undefined;
6016
7740
  };
6017
7741
  };
6018
7742
  output: {
@@ -6117,10 +7841,10 @@ export declare const createApiClient: (baseUrl: string) => {
6117
7841
  };
6118
7842
  };
6119
7843
  output: {
6120
- taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
6121
- status: "scheduled" | "failed" | "completed" | "running";
7844
+ taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
7845
+ status: "failed" | "running" | "completed" | "scheduled";
6122
7846
  scheduledFor: string;
6123
- seriesStatus: "active" | "completed" | "paused" | "deleted";
7847
+ seriesStatus: "completed" | "active" | "paused" | "deleted";
6124
7848
  recurrence: {
6125
7849
  kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
6126
7850
  };
@@ -6234,10 +7958,10 @@ export declare const createApiClient: (baseUrl: string) => {
6234
7958
  };
6235
7959
  output: {
6236
7960
  taskSchedules: {
6237
- taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
7961
+ taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
6238
7962
  shared: boolean;
6239
7963
  title: string;
6240
- status: "active" | "completed" | "paused" | "deleted";
7964
+ status: "completed" | "active" | "paused" | "deleted";
6241
7965
  recurrence: {
6242
7966
  intervalMinutes?: number | undefined;
6243
7967
  kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
@@ -6245,7 +7969,7 @@ export declare const createApiClient: (baseUrl: string) => {
6245
7969
  timezone: string;
6246
7970
  nextRunAt: string | null;
6247
7971
  lastRun: {
6248
- status: "failed" | "completed" | "running";
7972
+ status: "failed" | "running" | "completed";
6249
7973
  at: string | null;
6250
7974
  } | null;
6251
7975
  messagePreview: string;
@@ -6338,6 +8062,7 @@ export declare const createApiClient: (baseUrl: string) => {
6338
8062
  readonly role: "owner" | "use" | "edit" | "revoked";
6339
8063
  readonly revision: number;
6340
8064
  readonly workspaceCount: number;
8065
+ readonly sharedRecipients: readonly string[];
6341
8066
  } | null;
6342
8067
  explicitTitle: string | null;
6343
8068
  message: string;
@@ -6368,10 +8093,10 @@ export declare const createApiClient: (baseUrl: string) => {
6368
8093
  allowExternalRecipients: boolean;
6369
8094
  maxMessagesPerRun: number;
6370
8095
  } | null;
6371
- taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
8096
+ taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
6372
8097
  shared: boolean;
6373
8098
  title: string;
6374
- status: "active" | "completed" | "paused" | "deleted";
8099
+ status: "completed" | "active" | "paused" | "deleted";
6375
8100
  recurrence: {
6376
8101
  intervalMinutes?: number | undefined;
6377
8102
  kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
@@ -6379,7 +8104,7 @@ export declare const createApiClient: (baseUrl: string) => {
6379
8104
  timezone: string;
6380
8105
  nextRunAt: string | null;
6381
8106
  lastRun: {
6382
- status: "failed" | "completed" | "running";
8107
+ status: "failed" | "running" | "completed";
6383
8108
  at: string | null;
6384
8109
  } | null;
6385
8110
  messagePreview: string;
@@ -6418,6 +8143,7 @@ export declare const createApiClient: (baseUrl: string) => {
6418
8143
  json: {
6419
8144
  expectedRevision?: number | undefined;
6420
8145
  recipients?: string[] | undefined;
8146
+ sharedRecipients?: string[] | undefined;
6421
8147
  title?: string | null | undefined;
6422
8148
  message?: string | undefined;
6423
8149
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -6441,8 +8167,8 @@ export declare const createApiClient: (baseUrl: string) => {
6441
8167
  };
6442
8168
  };
6443
8169
  output: {
6444
- taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
6445
- status: "active" | "completed" | "paused" | "deleted";
8170
+ taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
8171
+ status: "completed" | "active" | "paused" | "deleted";
6446
8172
  nextRunAt: string | null;
6447
8173
  };
6448
8174
  outputFormat: "json";
@@ -6460,6 +8186,7 @@ export declare const createApiClient: (baseUrl: string) => {
6460
8186
  json: {
6461
8187
  expectedRevision?: number | undefined;
6462
8188
  recipients?: string[] | undefined;
8189
+ sharedRecipients?: string[] | undefined;
6463
8190
  title?: string | null | undefined;
6464
8191
  message?: string | undefined;
6465
8192
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -6502,6 +8229,7 @@ export declare const createApiClient: (baseUrl: string) => {
6502
8229
  json: {
6503
8230
  expectedRevision?: number | undefined;
6504
8231
  recipients?: string[] | undefined;
8232
+ sharedRecipients?: string[] | undefined;
6505
8233
  title?: string | null | undefined;
6506
8234
  message?: string | undefined;
6507
8235
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -6544,6 +8272,7 @@ export declare const createApiClient: (baseUrl: string) => {
6544
8272
  json: {
6545
8273
  expectedRevision?: number | undefined;
6546
8274
  recipients?: string[] | undefined;
8275
+ sharedRecipients?: string[] | undefined;
6547
8276
  title?: string | null | undefined;
6548
8277
  message?: string | undefined;
6549
8278
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -6586,6 +8315,7 @@ export declare const createApiClient: (baseUrl: string) => {
6586
8315
  json: {
6587
8316
  expectedRevision?: number | undefined;
6588
8317
  recipients?: string[] | undefined;
8318
+ sharedRecipients?: string[] | undefined;
6589
8319
  title?: string | null | undefined;
6590
8320
  message?: string | undefined;
6591
8321
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -6687,16 +8417,16 @@ export declare const createApiClient: (baseUrl: string) => {
6687
8417
  };
6688
8418
  output: {
6689
8419
  runs: {
6690
- taskScheduleRunId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleId;
8420
+ taskScheduleRunId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleId;
6691
8421
  occurrenceKind: "scheduled" | "manual";
6692
- displayStatus: import('node_modules/@belong/cloud/src/features/task-schedules/task-schedule.service').TaskScheduleRunDisplayStatus;
8422
+ displayStatus: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.service').TaskScheduleRunDisplayStatus;
6693
8423
  scheduledFor: string;
6694
8424
  startedAt: string | null;
6695
8425
  finishedAt: string | null;
6696
8426
  failureReason: string | null;
6697
- sessionId: import('node_modules/@belong/cloud/src/platform/ids').SessionId | null;
6698
- taskId: import('node_modules/@belong/cloud/src/platform/ids').TaskId | null;
6699
- runId: import('node_modules/@belong/cloud/src/platform/ids').RunId | null;
8427
+ sessionId: import('../../../../apps/belong-cloud/src/platform/ids').SessionId | null;
8428
+ taskId: import('../../../../apps/belong-cloud/src/platform/ids').TaskId | null;
8429
+ runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId | null;
6700
8430
  }[];
6701
8431
  nextOffset: number | null;
6702
8432
  };
@@ -6837,7 +8567,7 @@ export declare const createApiClient: (baseUrl: string) => {
6837
8567
  };
6838
8568
  };
6839
8569
  output: {
6840
- status: "active" | "completed" | "needs_attention";
8570
+ status: "completed" | "active" | "needs_attention";
6841
8571
  nextRunAt: string | null;
6842
8572
  };
6843
8573
  outputFormat: "json";
@@ -6898,6 +8628,7 @@ export declare const createApiClient: (baseUrl: string) => {
6898
8628
  } & {
6899
8629
  json: {
6900
8630
  clientRequestId?: string | undefined;
8631
+ instructions?: string | undefined;
6901
8632
  };
6902
8633
  };
6903
8634
  output: {
@@ -6920,6 +8651,7 @@ export declare const createApiClient: (baseUrl: string) => {
6920
8651
  } & {
6921
8652
  json: {
6922
8653
  clientRequestId?: string | undefined;
8654
+ instructions?: string | undefined;
6923
8655
  };
6924
8656
  };
6925
8657
  output: {
@@ -6941,10 +8673,11 @@ export declare const createApiClient: (baseUrl: string) => {
6941
8673
  } & {
6942
8674
  json: {
6943
8675
  clientRequestId?: string | undefined;
8676
+ instructions?: string | undefined;
6944
8677
  };
6945
8678
  };
6946
8679
  output: {
6947
- taskScheduleRunId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleId;
8680
+ taskScheduleRunId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleId;
6948
8681
  };
6949
8682
  outputFormat: "json";
6950
8683
  status: 202;
@@ -6960,6 +8693,7 @@ export declare const createApiClient: (baseUrl: string) => {
6960
8693
  } & {
6961
8694
  json: {
6962
8695
  clientRequestId?: string | undefined;
8696
+ instructions?: string | undefined;
6963
8697
  };
6964
8698
  };
6965
8699
  output: {
@@ -6981,6 +8715,7 @@ export declare const createApiClient: (baseUrl: string) => {
6981
8715
  } & {
6982
8716
  json: {
6983
8717
  clientRequestId?: string | undefined;
8718
+ instructions?: string | undefined;
6984
8719
  };
6985
8720
  };
6986
8721
  output: {
@@ -7030,7 +8765,8 @@ export declare const createApiClient: (baseUrl: string) => {
7030
8765
  title: string;
7031
8766
  explicitTitle: string | null;
7032
8767
  message: string;
7033
- role: "edit" | "use" | "owner";
8768
+ sharedRecipients: string[];
8769
+ role: "edit" | "owner" | "use";
7034
8770
  owner: string;
7035
8771
  ownerTenant: string;
7036
8772
  revision: number;
@@ -7115,7 +8851,8 @@ export declare const createApiClient: (baseUrl: string) => {
7115
8851
  title: string;
7116
8852
  explicitTitle: string | null;
7117
8853
  message: string;
7118
- role: "edit" | "use" | "owner";
8854
+ sharedRecipients: string[];
8855
+ role: "edit" | "owner" | "use";
7119
8856
  owner: string;
7120
8857
  ownerTenant: string;
7121
8858
  revision: number;
@@ -7140,6 +8877,7 @@ export declare const createApiClient: (baseUrl: string) => {
7140
8877
  } & {
7141
8878
  json: {
7142
8879
  expectedRevision: number;
8880
+ sharedRecipients?: string[] | undefined;
7143
8881
  title?: string | null | undefined;
7144
8882
  message?: string | undefined;
7145
8883
  scheduledFor?: string | undefined;
@@ -7178,6 +8916,7 @@ export declare const createApiClient: (baseUrl: string) => {
7178
8916
  } & {
7179
8917
  json: {
7180
8918
  expectedRevision: number;
8919
+ sharedRecipients?: string[] | undefined;
7181
8920
  title?: string | null | undefined;
7182
8921
  message?: string | undefined;
7183
8922
  scheduledFor?: string | undefined;
@@ -7215,6 +8954,7 @@ export declare const createApiClient: (baseUrl: string) => {
7215
8954
  } & {
7216
8955
  json: {
7217
8956
  expectedRevision: number;
8957
+ sharedRecipients?: string[] | undefined;
7218
8958
  title?: string | null | undefined;
7219
8959
  message?: string | undefined;
7220
8960
  scheduledFor?: string | undefined;
@@ -7284,7 +9024,7 @@ export declare const createApiClient: (baseUrl: string) => {
7284
9024
  };
7285
9025
  };
7286
9026
  output: {
7287
- taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
9027
+ taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
7288
9028
  };
7289
9029
  outputFormat: "json";
7290
9030
  status: import('hono/utils/http-status').ContentfulStatusCode;
@@ -7512,7 +9252,7 @@ export declare const createApiClient: (baseUrl: string) => {
7512
9252
  };
7513
9253
  output: {
7514
9254
  prePrompts: {
7515
- prePromptId: import('node_modules/@belong/cloud/src/platform/ids').PrePromptId;
9255
+ prePromptId: import('../../../../apps/belong-cloud/src/platform/ids').PrePromptId;
7516
9256
  name: string;
7517
9257
  description: string;
7518
9258
  body: string;
@@ -7551,7 +9291,7 @@ export declare const createApiClient: (baseUrl: string) => {
7551
9291
  };
7552
9292
  };
7553
9293
  output: {
7554
- prePromptId: import('node_modules/@belong/cloud/src/platform/ids').PrePromptId;
9294
+ prePromptId: import('../../../../apps/belong-cloud/src/platform/ids').PrePromptId;
7555
9295
  name: string;
7556
9296
  };
7557
9297
  outputFormat: "json";
@@ -7614,7 +9354,7 @@ export declare const createApiClient: (baseUrl: string) => {
7614
9354
  };
7615
9355
  };
7616
9356
  output: {
7617
- prePromptId: import('node_modules/@belong/cloud/src/platform/ids').PrePromptId;
9357
+ prePromptId: import('../../../../apps/belong-cloud/src/platform/ids').PrePromptId;
7618
9358
  };
7619
9359
  outputFormat: "json";
7620
9360
  status: 200;
@@ -7708,7 +9448,7 @@ export declare const createApiClient: (baseUrl: string) => {
7708
9448
  };
7709
9449
  output: {
7710
9450
  skills: {
7711
- userSkillId: import('node_modules/@belong/cloud/src/platform/ids').UserSkillId;
9451
+ userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
7712
9452
  name: string;
7713
9453
  description: string;
7714
9454
  enabled: boolean;
@@ -7772,7 +9512,7 @@ export declare const createApiClient: (baseUrl: string) => {
7772
9512
  error: {
7773
9513
  type: string;
7774
9514
  name: string;
7775
- userSkillId: import('node_modules/@belong/cloud/src/platform/ids').UserSkillId;
9515
+ userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
7776
9516
  };
7777
9517
  };
7778
9518
  outputFormat: "json";
@@ -7789,10 +9529,10 @@ export declare const createApiClient: (baseUrl: string) => {
7789
9529
  } | {
7790
9530
  input: {};
7791
9531
  output: {
7792
- userSkillId: import('node_modules/@belong/cloud/src/platform/ids').UserSkillId;
9532
+ userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
7793
9533
  name: string;
7794
9534
  revision: number;
7795
- outcome: import('node_modules/@belong/cloud/src/features/skill-library/skill-library.service').SkillSaveOutcome;
9535
+ outcome: import('../../../../apps/belong-cloud/src/features/skill-library/skill-library.service').SkillSaveOutcome;
7796
9536
  hasScripts: boolean;
7797
9537
  };
7798
9538
  outputFormat: "json";
@@ -7851,7 +9591,7 @@ export declare const createApiClient: (baseUrl: string) => {
7851
9591
  };
7852
9592
  };
7853
9593
  output: {
7854
- userSkillId: import('node_modules/@belong/cloud/src/platform/ids').UserSkillId;
9594
+ userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
7855
9595
  enabled: boolean;
7856
9596
  };
7857
9597
  outputFormat: "json";
@@ -7941,7 +9681,7 @@ export declare const createApiClient: (baseUrl: string) => {
7941
9681
  };
7942
9682
  };
7943
9683
  output: {
7944
- userSkillId: import('node_modules/@belong/cloud/src/platform/ids').UserSkillId;
9684
+ userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
7945
9685
  name: string;
7946
9686
  description: string;
7947
9687
  skillMd: string;
@@ -8023,7 +9763,7 @@ export declare const createApiClient: (baseUrl: string) => {
8023
9763
  output: {
8024
9764
  error: {
8025
9765
  type: string;
8026
- reason: import('node_modules/@belong/cloud/src/features/skill-library/skill-archive').SkillArchiveRejectionType;
9766
+ reason: import('../../../../apps/belong-cloud/src/features/skill-library/skill-archive').SkillArchiveRejectionType;
8027
9767
  };
8028
9768
  };
8029
9769
  outputFormat: "json";
@@ -8043,7 +9783,7 @@ export declare const createApiClient: (baseUrl: string) => {
8043
9783
  error: {
8044
9784
  type: string;
8045
9785
  name: string;
8046
- reservedBy: import('node_modules/@belong/cloud/src/features/skill-library/skill-library.service').NameReservedBy;
9786
+ reservedBy: import('../../../../apps/belong-cloud/src/features/skill-library/skill-library.service').NameReservedBy;
8047
9787
  };
8048
9788
  };
8049
9789
  outputFormat: "json";
@@ -8081,7 +9821,7 @@ export declare const createApiClient: (baseUrl: string) => {
8081
9821
  error: {
8082
9822
  type: string;
8083
9823
  name: string;
8084
- userSkillId: import('node_modules/@belong/cloud/src/platform/ids').UserSkillId;
9824
+ userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
8085
9825
  };
8086
9826
  };
8087
9827
  outputFormat: "json";
@@ -8098,10 +9838,10 @@ export declare const createApiClient: (baseUrl: string) => {
8098
9838
  };
8099
9839
  };
8100
9840
  output: {
8101
- userSkillId: import('node_modules/@belong/cloud/src/platform/ids').UserSkillId;
9841
+ userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
8102
9842
  name: string;
8103
9843
  revision: number;
8104
- outcome: import('node_modules/@belong/cloud/src/features/skill-library/skill-library.service').SkillContentOutcome;
9844
+ outcome: import('../../../../apps/belong-cloud/src/features/skill-library/skill-library.service').SkillContentOutcome;
8105
9845
  };
8106
9846
  outputFormat: "json";
8107
9847
  status: 200;
@@ -8136,7 +9876,7 @@ export declare const createApiClient: (baseUrl: string) => {
8136
9876
  input: {};
8137
9877
  output: {
8138
9878
  connectors: {
8139
- connectorId: import('node_modules/@belong/cloud/src/platform/ids').ConnectorId;
9879
+ connectorId: import('../../../../apps/belong-cloud/src/platform/ids').ConnectorId;
8140
9880
  name: string;
8141
9881
  alias: string;
8142
9882
  description: string;
@@ -8144,10 +9884,10 @@ export declare const createApiClient: (baseUrl: string) => {
8144
9884
  imageDataUrl: string | null;
8145
9885
  serverUrl: string;
8146
9886
  transport: "streamable_http" | "sse";
8147
- authMode: import('node_modules/@belong/cloud/src/features/connectors/connector.repo').ConnectorAuthMode;
9887
+ authMode: import('../../../../apps/belong-cloud/src/features/connectors/connector.repo').ConnectorAuthMode;
8148
9888
  hasCredentials: boolean;
8149
9889
  enabled: boolean;
8150
- status: import('node_modules/@belong/cloud/src/features/connectors/connector.repo').ConnectorStatus;
9890
+ status: import('../../../../apps/belong-cloud/src/features/connectors/connector.repo').ConnectorStatus;
8151
9891
  lastError: string | null;
8152
9892
  tools: readonly {
8153
9893
  readonly name: string;
@@ -8292,7 +10032,7 @@ export declare const createApiClient: (baseUrl: string) => {
8292
10032
  };
8293
10033
  };
8294
10034
  output: {
8295
- connectorId: import('node_modules/@belong/cloud/src/platform/ids').ConnectorId;
10035
+ connectorId: import('../../../../apps/belong-cloud/src/platform/ids').ConnectorId;
8296
10036
  };
8297
10037
  outputFormat: "json";
8298
10038
  status: 200 | 201;
@@ -8514,7 +10254,7 @@ export declare const createApiClient: (baseUrl: string) => {
8514
10254
  serverUrl: string;
8515
10255
  serverUrlMode: "fixed" | "user_provided";
8516
10256
  transport: "streamable_http" | "sse";
8517
- authMode: import('node_modules/@belong/cloud/src/features/connectors/connector.repo').ConnectorAuthMode;
10257
+ authMode: import('../../../../apps/belong-cloud/src/features/connectors/connector.repo').ConnectorAuthMode;
8518
10258
  oauthScope: string | null;
8519
10259
  oauthAuthorizationParams: {
8520
10260
  readonly [x: string]: string;
@@ -8721,7 +10461,7 @@ export declare const createApiClient: (baseUrl: string) => {
8721
10461
  };
8722
10462
  };
8723
10463
  output: {
8724
- connectorId: import('node_modules/@belong/cloud/src/platform/ids').ConnectorId;
10464
+ connectorId: import('../../../../apps/belong-cloud/src/platform/ids').ConnectorId;
8725
10465
  };
8726
10466
  outputFormat: "json";
8727
10467
  status: 200;
@@ -8892,7 +10632,7 @@ export declare const createApiClient: (baseUrl: string) => {
8892
10632
  };
8893
10633
  };
8894
10634
  output: {
8895
- connectorId: import('node_modules/@belong/cloud/src/platform/ids').ConnectorId;
10635
+ connectorId: import('../../../../apps/belong-cloud/src/platform/ids').ConnectorId;
8896
10636
  };
8897
10637
  outputFormat: "json";
8898
10638
  status: 200;
@@ -9050,7 +10790,7 @@ export declare const createApiClient: (baseUrl: string) => {
9050
10790
  output: {
9051
10791
  connectors: {
9052
10792
  catalogEntryId: string;
9053
- status: "error" | "needs_auth" | "connected" | "disconnected";
10793
+ status: "error" | "connected" | "disconnected" | "needs_auth";
9054
10794
  account: {
9055
10795
  displayName: string;
9056
10796
  principal: string;
@@ -9058,7 +10798,7 @@ export declare const createApiClient: (baseUrl: string) => {
9058
10798
  capabilities: {
9059
10799
  id: string;
9060
10800
  label: string;
9061
- status: "error" | "needs_auth" | "ready" | "disabled" | "needs_admin_consent";
10801
+ status: "error" | "ready" | "needs_auth" | "disabled" | "needs_admin_consent";
9062
10802
  }[];
9063
10803
  actions: {
9064
10804
  id: string;
@@ -9088,9 +10828,9 @@ export declare const createApiClient: (baseUrl: string) => {
9088
10828
  };
9089
10829
  } & {
9090
10830
  param: {
9091
- catalogEntryId: string;
9092
- } & {
9093
10831
  actionId: string;
10832
+ } & {
10833
+ catalogEntryId: string;
9094
10834
  };
9095
10835
  };
9096
10836
  output: {
@@ -9109,9 +10849,9 @@ export declare const createApiClient: (baseUrl: string) => {
9109
10849
  };
9110
10850
  } & {
9111
10851
  param: {
9112
- catalogEntryId: string;
9113
- } & {
9114
10852
  actionId: string;
10853
+ } & {
10854
+ catalogEntryId: string;
9115
10855
  };
9116
10856
  };
9117
10857
  output: {
@@ -9129,9 +10869,9 @@ export declare const createApiClient: (baseUrl: string) => {
9129
10869
  };
9130
10870
  } & {
9131
10871
  param: {
9132
- catalogEntryId: string;
9133
- } & {
9134
10872
  actionId: string;
10873
+ } & {
10874
+ catalogEntryId: string;
9135
10875
  };
9136
10876
  };
9137
10877
  output: {
@@ -9152,9 +10892,9 @@ export declare const createApiClient: (baseUrl: string) => {
9152
10892
  };
9153
10893
  } & {
9154
10894
  param: {
9155
- catalogEntryId: string;
9156
- } & {
9157
10895
  actionId: string;
10896
+ } & {
10897
+ catalogEntryId: string;
9158
10898
  };
9159
10899
  };
9160
10900
  output: {
@@ -9172,9 +10912,9 @@ export declare const createApiClient: (baseUrl: string) => {
9172
10912
  };
9173
10913
  } & {
9174
10914
  param: {
9175
- catalogEntryId: string;
9176
- } & {
9177
10915
  actionId: string;
10916
+ } & {
10917
+ catalogEntryId: string;
9178
10918
  };
9179
10919
  };
9180
10920
  output: {
@@ -9192,9 +10932,9 @@ export declare const createApiClient: (baseUrl: string) => {
9192
10932
  };
9193
10933
  } & {
9194
10934
  param: {
9195
- catalogEntryId: string;
9196
- } & {
9197
10935
  actionId: string;
10936
+ } & {
10937
+ catalogEntryId: string;
9198
10938
  };
9199
10939
  };
9200
10940
  output: {
@@ -9279,11 +11019,11 @@ export declare const createApiClient: (baseUrl: string) => {
9279
11019
  readonly displayName: string;
9280
11020
  readonly productName: string | null;
9281
11021
  readonly knowledgeDomain: string | null;
9282
- readonly authKind: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["authKind"];
11022
+ readonly authKind: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["authKind"];
9283
11023
  readonly authIssuer: string;
9284
11024
  readonly authAudience: string;
9285
11025
  readonly authJwksUri: string | null;
9286
- readonly agentGrantProvider: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["agentGrantProvider"];
11026
+ readonly agentGrantProvider: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["agentGrantProvider"];
9287
11027
  readonly agentGrant: {
9288
11028
  readonly icsUrl: string | null;
9289
11029
  readonly fake: boolean;
@@ -9301,6 +11041,7 @@ export declare const createApiClient: (baseUrl: string) => {
9301
11041
  integration?: "simetrik" | undefined;
9302
11042
  } | null;
9303
11043
  readonly terminalSnapshot: string | null;
11044
+ readonly terminalSnapshotProvenance: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["terminalSnapshotProvenance"];
9304
11045
  readonly sandbox: {
9305
11046
  taskSnapshot?: string | undefined;
9306
11047
  autoStopMinutes?: number | undefined;
@@ -9317,7 +11058,8 @@ export declare const createApiClient: (baseUrl: string) => {
9317
11058
  readonly bakedPluginBundle: boolean;
9318
11059
  readonly notificationsFromEmail: string | null;
9319
11060
  readonly agentId: string | null;
9320
- readonly status: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
11061
+ readonly status: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
11062
+ readonly workspaceScope: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["workspaceScope"];
9321
11063
  readonly origins: readonly string[];
9322
11064
  readonly createdAt: string;
9323
11065
  readonly updatedAt: string;
@@ -9365,11 +11107,11 @@ export declare const createApiClient: (baseUrl: string) => {
9365
11107
  readonly displayName: string;
9366
11108
  readonly productName: string | null;
9367
11109
  readonly knowledgeDomain: string | null;
9368
- readonly authKind: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["authKind"];
11110
+ readonly authKind: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["authKind"];
9369
11111
  readonly authIssuer: string;
9370
11112
  readonly authAudience: string;
9371
11113
  readonly authJwksUri: string | null;
9372
- readonly agentGrantProvider: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["agentGrantProvider"];
11114
+ readonly agentGrantProvider: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["agentGrantProvider"];
9373
11115
  readonly agentGrant: {
9374
11116
  readonly icsUrl: string | null;
9375
11117
  readonly fake: boolean;
@@ -9387,6 +11129,7 @@ export declare const createApiClient: (baseUrl: string) => {
9387
11129
  integration?: "simetrik" | undefined;
9388
11130
  } | null;
9389
11131
  readonly terminalSnapshot: string | null;
11132
+ readonly terminalSnapshotProvenance: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["terminalSnapshotProvenance"];
9390
11133
  readonly sandbox: {
9391
11134
  taskSnapshot?: string | undefined;
9392
11135
  autoStopMinutes?: number | undefined;
@@ -9403,7 +11146,8 @@ export declare const createApiClient: (baseUrl: string) => {
9403
11146
  readonly bakedPluginBundle: boolean;
9404
11147
  readonly notificationsFromEmail: string | null;
9405
11148
  readonly agentId: string | null;
9406
- readonly status: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
11149
+ readonly status: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
11150
+ readonly workspaceScope: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["workspaceScope"];
9407
11151
  readonly origins: readonly string[];
9408
11152
  readonly createdAt: string;
9409
11153
  readonly updatedAt: string;
@@ -9460,11 +11204,11 @@ export declare const createApiClient: (baseUrl: string) => {
9460
11204
  readonly displayName: string;
9461
11205
  readonly productName: string | null;
9462
11206
  readonly knowledgeDomain: string | null;
9463
- readonly authKind: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["authKind"];
11207
+ readonly authKind: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["authKind"];
9464
11208
  readonly authIssuer: string;
9465
11209
  readonly authAudience: string;
9466
11210
  readonly authJwksUri: string | null;
9467
- readonly agentGrantProvider: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["agentGrantProvider"];
11211
+ readonly agentGrantProvider: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["agentGrantProvider"];
9468
11212
  readonly agentGrant: {
9469
11213
  readonly icsUrl: string | null;
9470
11214
  readonly fake: boolean;
@@ -9482,6 +11226,7 @@ export declare const createApiClient: (baseUrl: string) => {
9482
11226
  integration?: "simetrik" | undefined;
9483
11227
  } | null;
9484
11228
  readonly terminalSnapshot: string | null;
11229
+ readonly terminalSnapshotProvenance: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["terminalSnapshotProvenance"];
9485
11230
  readonly sandbox: {
9486
11231
  taskSnapshot?: string | undefined;
9487
11232
  autoStopMinutes?: number | undefined;
@@ -9498,7 +11243,8 @@ export declare const createApiClient: (baseUrl: string) => {
9498
11243
  readonly bakedPluginBundle: boolean;
9499
11244
  readonly notificationsFromEmail: string | null;
9500
11245
  readonly agentId: string | null;
9501
- readonly status: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
11246
+ readonly status: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
11247
+ readonly workspaceScope: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["workspaceScope"];
9502
11248
  readonly origins: readonly string[];
9503
11249
  readonly createdAt: string;
9504
11250
  readonly updatedAt: string;