@belonguniverseai/react-sdk 0.6.20 → 0.6.22

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 (177) hide show
  1. package/README.md +69 -0
  2. package/dist/api/client.d.ts +784 -43
  3. package/dist/api/goals.d.ts +179 -0
  4. package/dist/api/issue-reports.d.ts +13 -0
  5. package/dist/api/query-keys.d.ts +18 -0
  6. package/dist/api/questions.d.ts +2 -6
  7. package/dist/api/report-client-error.d.ts +3 -0
  8. package/dist/api/retry-fetch.d.ts +19 -0
  9. package/dist/api/skill-library.d.ts +100 -0
  10. package/dist/api/skills.d.ts +3 -1
  11. package/dist/app/dock-outlet.d.ts +15 -5
  12. package/dist/browser/allowed-ops.d.ts +18 -0
  13. package/dist/browser/host-mcp.d.ts +31 -0
  14. package/dist/component/{abnfDiagram-N423BO3Z-BhpvofGI.js → abnfDiagram-N423BO3Z-D4mVRMw9.js} +4 -4
  15. package/dist/component/{arc-BDj2q5CZ.js → arc-GBp6w3tF.js} +2 -2
  16. package/dist/component/{architectureDiagram-T3A2C74G-CWQqfm2n.js → architectureDiagram-T3A2C74G-Cxm-USYQ.js} +3 -3
  17. package/dist/component/{blockDiagram-VBNYF7ZC-DegT976u.js → blockDiagram-VBNYF7ZC-BAiLpxJf.js} +4 -4
  18. package/dist/component/{c4Diagram-5PPSVZJV-CSnfnID_.js → c4Diagram-5PPSVZJV-Sy6sLJOj.js} +3 -3
  19. package/dist/component/{channel-CUQQeqtV.js → channel-DPbaAkCI.js} +2 -2
  20. package/dist/component/{chunk-2GRJ4B5K-BmCkMXuE.js → chunk-2GRJ4B5K-8r8YJzCc.js} +2 -2
  21. package/dist/component/{chunk-2Q5K7J3B-ACFPsFU_.js → chunk-2Q5K7J3B-RZqny7-R.js} +2 -2
  22. package/dist/component/{chunk-5RXB4S5H-Bu-wqNe4.js → chunk-5RXB4S5H-QFCY9Dtl.js} +5 -5
  23. package/dist/component/{chunk-5VM5RSS4-DDzdObQ5.js → chunk-5VM5RSS4-BG8q5ODa.js} +2 -2
  24. package/dist/component/{chunk-6Q2QTUOP-35aGDtbe.js → chunk-6Q2QTUOP-D6ec2nI7.js} +2 -2
  25. package/dist/component/{chunk-GF5L2VYU-CBooNwOJ.js → chunk-GF5L2VYU-D7yROYf0.js} +6 -6
  26. package/dist/component/{chunk-JWPE2WC7-CZN_bZMl.js → chunk-JWPE2WC7-CmGlHqne.js} +2 -2
  27. package/dist/component/{chunk-KBJHAD2P-Cj08hUgE.js → chunk-KBJHAD2P-W03s7swc.js} +2 -2
  28. package/dist/component/{chunk-RYQCIY6F-CC4FyEwj.js → chunk-RYQCIY6F-D0oyMUJ7.js} +2 -2
  29. package/dist/component/{chunk-XXDRQBXY-CJW3AYPF.js → chunk-XXDRQBXY-D4s0eyp4.js} +2 -2
  30. package/dist/component/{classDiagram-JCYQIIEL-LpH5TtI1.js → classDiagram-JCYQIIEL-DwNAC2XG.js} +3 -3
  31. package/dist/component/{classDiagram-v2-OCEON4UE-LpH5TtI1.js → classDiagram-v2-OCEON4UE-DwNAC2XG.js} +3 -3
  32. package/dist/component/{cose-bilkent-JH36ORCC-h8wo2OH9.js → cose-bilkent-JH36ORCC-DhGvXDdi.js} +2 -2
  33. package/dist/component/{cynefinDiagram-MW4NZA55-DuieCsNY.js → cynefinDiagram-MW4NZA55-BCUeX7pB.js} +3 -3
  34. package/dist/component/{dagre-VZM6K2ZE-DqMvwkom.js → dagre-VZM6K2ZE-DWofHoga.js} +3 -3
  35. package/dist/component/{diagram-7IWD3JNH-BThr9-R3.js → diagram-7IWD3JNH-DjCFF_Dr.js} +4 -4
  36. package/dist/component/{diagram-B4RE2ZJO-rjoRYPDB.js → diagram-B4RE2ZJO-CSovrpFW.js} +3 -3
  37. package/dist/component/{diagram-LBJQPF4R-C41ccwxG.js → diagram-LBJQPF4R-Cgpae-sR.js} +3 -3
  38. package/dist/component/{diagram-Q27KOJAE-DPN9msRq.js → diagram-Q27KOJAE-DikMPfLU.js} +4 -4
  39. package/dist/component/{diagram-UB23O5K3-DSjf5_Nk.js → diagram-UB23O5K3-sQU6rZbO.js} +3 -3
  40. package/dist/component/{ebnfDiagram-BXEA7PRR-vPL9oktk.js → ebnfDiagram-BXEA7PRR-B9t8-G8R.js} +4 -4
  41. package/dist/component/{erDiagram-JOGREHBK-Kc3mZe4M.js → erDiagram-JOGREHBK-DKg1HhSl.js} +5 -5
  42. package/dist/component/{flowDiagram-UKHOOZJN-2aUAXRZU.js → flowDiagram-UKHOOZJN-BO8jpT1D.js} +7 -7
  43. package/dist/component/{ganttDiagram-PKOTCBZU-DMZtqJSP.js → ganttDiagram-PKOTCBZU-BPXYyB9Q.js} +3 -3
  44. package/dist/component/{gitGraphDiagram-DS77QQ5N-E77l0Z1u.js → gitGraphDiagram-DS77QQ5N-BjVLFBUS.js} +4 -4
  45. package/dist/component/{highlighted-body-OFNGDK62-C1DkgW7U.js → highlighted-body-OFNGDK62-BKot66c3.js} +2 -2
  46. package/dist/component/{index-Dips44uG.js → index-i49DPVb4.js} +960 -464
  47. package/dist/component/index.js +2 -2
  48. package/dist/component/{infoDiagram-6WML65LV-CpvnNYd0.js → infoDiagram-6WML65LV-BkAC5Bwv.js} +2 -2
  49. package/dist/component/{ishikawaDiagram-WSZJBQD7-B1q_lFLX.js → ishikawaDiagram-WSZJBQD7-oplkIs_t.js} +2 -2
  50. package/dist/component/{journeyDiagram-NVQOT4AX-6uEmqBOC.js → journeyDiagram-NVQOT4AX-CuliMCSv.js} +5 -5
  51. package/dist/component/{kanban-definition-27J2QSJJ-C2QioWX9.js → kanban-definition-27J2QSJJ-DdzOdEiL.js} +3 -3
  52. package/dist/component/{linear-BT5VqKju.js → linear-zZDwdGmK.js} +2 -2
  53. package/dist/component/{mermaid-GHXKKRXX-C8vyJd7j.js → mermaid-GHXKKRXX-aX5umm-y.js} +49795 -42603
  54. package/dist/component/{mindmap-definition-FAOFIHXS-D9m5nI-X.js → mindmap-definition-FAOFIHXS-DD2HF9oE.js} +4 -4
  55. package/dist/component/{pegDiagram-VL7TDLO6-C6Voiy3J.js → pegDiagram-VL7TDLO6-DyiDl9bF.js} +4 -4
  56. package/dist/component/{pieDiagram-7S7Q4E2Y-sqStHf6X.js → pieDiagram-7S7Q4E2Y-DflxKS_B.js} +4 -4
  57. package/dist/component/{quadrantDiagram-CIZ2JOQS-J4smKtsQ.js → quadrantDiagram-CIZ2JOQS-nwwayVOP.js} +3 -3
  58. package/dist/component/{railroadDiagram-AXF67PYL-DWSgdnlw.js → railroadDiagram-AXF67PYL-BTtD2eN9.js} +4 -4
  59. package/dist/component/{requirementDiagram-LRYGKXZP-CD2psvke.js → requirementDiagram-LRYGKXZP-B37q1LKL.js} +4 -4
  60. package/dist/component/{sankeyDiagram-W5VNT64P-BTctWXxs.js → sankeyDiagram-W5VNT64P-zY0W9eje.js} +2 -2
  61. package/dist/component/{sequenceDiagram-SI44F4Z6-BSr4jTRw.js → sequenceDiagram-SI44F4Z6-CmQiqB8F.js} +4 -4
  62. package/dist/component/{sizeCapture-X5ZJPWSS-DDKZl6MR.js → sizeCapture-X5ZJPWSS-dF3FvIT8.js} +2 -2
  63. package/dist/component/snapdom-DkzCA8S0.js +7061 -0
  64. package/dist/component/{stateDiagram-OKZ733FA-DpICd9vK.js → stateDiagram-OKZ733FA-CX61F3L0.js} +3 -3
  65. package/dist/component/{stateDiagram-v2-UEYNNEHI-CDWkukZc.js → stateDiagram-v2-UEYNNEHI-DnFZhhu3.js} +3 -3
  66. package/dist/component/{swimlanes-SLNWSIFB-C2qUEfbN.js → swimlanes-SLNWSIFB-CX9XGBvw.js} +4 -4
  67. package/dist/component/{swimlanesDiagram-ULZ7WXOC-BATYiMa7.js → swimlanesDiagram-ULZ7WXOC-Bqkgx7qk.js} +3 -3
  68. package/dist/component/{timeline-definition-Z64GVDOM-BANf8HvQ.js → timeline-definition-Z64GVDOM-BUX4OSm1.js} +3 -3
  69. package/dist/component/{vennDiagram-T6HMQDX7-ByIwO7x1.js → vennDiagram-T6HMQDX7-BpVOq4Rh.js} +2 -2
  70. package/dist/component/{wardleyDiagram-T6FBY63Y-5_6KGTWP.js → wardleyDiagram-T6FBY63Y-BUDGa8Mv.js} +3 -3
  71. package/dist/component/{xychartDiagram-ELKLHX3M-KS7oMXi0.js → xychartDiagram-ELKLHX3M-FIA_LnIu.js} +3 -3
  72. package/dist/components/embed/EmbedComposer.d.ts +11 -1
  73. package/dist/components/embed/EmbedHeader.d.ts +7 -1
  74. package/dist/components/embed/EmbedRail.d.ts +18 -2
  75. package/dist/components/embed/GoalActions.d.ts +15 -0
  76. package/dist/components/embed/GoalBadge.d.ts +17 -0
  77. package/dist/components/embed/GoalClearDialog.d.ts +6 -0
  78. package/dist/components/embed/GoalClearedLine.d.ts +3 -0
  79. package/dist/components/embed/GoalCompletionCard.d.ts +12 -0
  80. package/dist/components/embed/GoalComposeSheet.d.ts +19 -0
  81. package/dist/components/embed/GoalProposalCard.d.ts +29 -0
  82. package/dist/components/embed/GoalRailView.d.ts +15 -0
  83. package/dist/components/embed/GoalRefusalCard.d.ts +22 -0
  84. package/dist/components/embed/GoalSetCard.d.ts +5 -0
  85. package/dist/components/embed/GoalSnoozeMenu.d.ts +14 -0
  86. package/dist/components/embed/GoalStatusRow.d.ts +6 -0
  87. package/dist/components/embed/GoalTimeline.d.ts +6 -0
  88. package/dist/components/embed/MobileNavBar.d.ts +5 -1
  89. package/dist/components/embed/QuestionCard.d.ts +12 -1
  90. package/dist/components/embed/ScheduleNotices.d.ts +23 -0
  91. package/dist/components/embed/SentAsGoalTag.d.ts +1 -0
  92. package/dist/components/embed/SubagentsPaneBody.d.ts +3 -0
  93. package/dist/components/embed/rail-flags.d.ts +13 -0
  94. package/dist/components/feedback/IssueReportController.d.ts +1 -0
  95. package/dist/components/feedback/IssueReportDialog.d.ts +6 -0
  96. package/dist/components/skills/ConfirmDeleteSkillDialog.d.ts +9 -0
  97. package/dist/components/skills/SkillLibraryToolSync.d.ts +4 -0
  98. package/dist/components/skills/SkillsListSurface.d.ts +26 -0
  99. package/dist/components/skills/UploadSkillDialog.d.ts +32 -0
  100. package/dist/components/skills/skill-archive-file.d.ts +15 -0
  101. package/dist/components/ui/badge.d.ts +1 -1
  102. package/dist/embed/client-error-log.d.ts +72 -0
  103. package/dist/embed/copy.d.ts +1 -0
  104. package/dist/embed/dev-mode.d.ts +5 -7
  105. package/dist/embed/dock-open-request.d.ts +32 -0
  106. package/dist/embed/dock-state.d.ts +1 -1
  107. package/dist/embed/goal-actions-model.d.ts +9 -0
  108. package/dist/embed/goal-cap-notice.d.ts +36 -0
  109. package/dist/embed/goal-deep-link.d.ts +24 -0
  110. package/dist/embed/goal-edit-command.d.ts +25 -0
  111. package/dist/embed/goal-journal.d.ts +53 -0
  112. package/dist/embed/goal-live-status.d.ts +2 -0
  113. package/dist/embed/goal-plain-units.d.ts +35 -0
  114. package/dist/embed/goal-progress.d.ts +15 -0
  115. package/dist/embed/goal-proposal-dismissal.d.ts +11 -0
  116. package/dist/embed/goal-resume-time.d.ts +22 -0
  117. package/dist/embed/goal-row-model.d.ts +27 -0
  118. package/dist/embed/goal-runway.d.ts +5 -0
  119. package/dist/embed/goal-schedule-handoff.d.ts +12 -0
  120. package/dist/embed/goal-status-label.d.ts +3 -0
  121. package/dist/embed/goal-time-usage.d.ts +19 -0
  122. package/dist/embed/issue-report-bus.d.ts +14 -0
  123. package/dist/embed/issue-report-open.d.ts +8 -0
  124. package/dist/embed/issue-report.d.ts +41 -0
  125. package/dist/embed/locale.d.ts +1 -1
  126. package/dist/embed/screen-capture.d.ts +74 -0
  127. package/dist/embed/slash-commands.d.ts +24 -0
  128. package/dist/embed/task-schedule-command.d.ts +7 -0
  129. package/dist/embed/voice/line-run-reader.d.ts +8 -0
  130. package/dist/embed/voice-call.d.ts +4 -0
  131. package/dist/i18n/messages/en.d.ts +385 -13
  132. package/dist/i18n/messages/it.d.ts +3 -0
  133. package/dist/i18n/messages/surfaces/aiElements.d.ts +52 -0
  134. package/dist/i18n/messages/surfaces/app.d.ts +18 -0
  135. package/dist/i18n/messages/surfaces/connectors.d.ts +235 -0
  136. package/dist/i18n/messages/surfaces/embedMisc.d.ts +45 -0
  137. package/dist/i18n/messages/surfaces/feedback.d.ts +93 -0
  138. package/dist/i18n/messages/surfaces/files.d.ts +37 -0
  139. package/dist/i18n/messages/surfaces/header.d.ts +44 -0
  140. package/dist/i18n/messages/surfaces/login.d.ts +8 -0
  141. package/dist/i18n/messages/surfaces/plan.d.ts +17 -0
  142. package/dist/i18n/messages/surfaces/prompts.d.ts +43 -0
  143. package/dist/i18n/messages/surfaces/scheduled.d.ts +108 -0
  144. package/dist/i18n/messages/surfaces/sessions.d.ts +23 -0
  145. package/dist/i18n/messages/surfaces/skills.d.ts +216 -0
  146. package/dist/i18n/messages/surfaces/stats.d.ts +18 -0
  147. package/dist/i18n/messages/surfaces/stream.d.ts +290 -27
  148. package/dist/i18n/messages/surfaces/usage.d.ts +26 -0
  149. package/dist/i18n/messages/surfaces/workspace.d.ts +30 -0
  150. package/dist/public-api.d.ts +1 -1
  151. package/dist/routes/chat/part-renderer-extra-props.d.ts +43 -0
  152. package/dist/routes/chat/use-goal-receipt.d.ts +37 -0
  153. package/dist/routes/chat/use-host-draft-request.d.ts +2 -0
  154. package/dist/routes/chat/use-session-goal.d.ts +226 -0
  155. package/dist/routes/chat.d.ts +10 -1
  156. package/dist/routes/goal.d.ts +1 -0
  157. package/dist/routes/skills.d.ts +2 -0
  158. package/dist/stream/activity-items.d.ts +25 -0
  159. package/dist/stream/ai-sdk-part-renderers.d.ts +70 -25
  160. package/dist/stream/belong-chat-transport.d.ts +147 -2
  161. package/dist/stream/belong-data-parts.d.ts +55 -7
  162. package/dist/stream/goal-store.d.ts +43 -0
  163. package/dist/stream/message-continuation.d.ts +29 -0
  164. package/dist/stream/message-metadata.d.ts +1 -0
  165. package/dist/stream/message-parts.d.ts +42 -0
  166. package/dist/stream/run-line-progress.d.ts +1 -0
  167. package/dist/stream/select-goal-set-part-id.d.ts +2 -0
  168. package/dist/stream/select-latest-goal.d.ts +13 -0
  169. package/dist/stream/subagent-controls-store.d.ts +20 -0
  170. package/dist/stream/subagent-lanes-model.d.ts +175 -0
  171. package/dist/stream/subagent-lanes.d.ts +89 -0
  172. package/dist/stream/use-publish-subagent-controls.d.ts +11 -0
  173. package/dist/stream/workspace-focus-store.d.ts +7 -1
  174. package/dist/test/render.d.ts +18 -1
  175. package/dist/test/subagent-fixtures.d.ts +24 -0
  176. package/dist/types/public.d.ts +55 -2
  177. package/package.json +1 -1
@@ -888,6 +888,7 @@ export declare const createApiClient: (baseUrl: string) => {
888
888
  };
889
889
  output: {
890
890
  messages: {
891
+ clientMessageId?: string | null | undefined;
891
892
  metadata?: {
892
893
  taskId: import('node_modules/@belong/cloud/src/platform/ids').TaskId;
893
894
  feedback: {
@@ -938,9 +939,14 @@ export declare const createApiClient: (baseUrl: string) => {
938
939
  json: {
939
940
  text: string;
940
941
  timezone?: string | undefined;
941
- locale?: "en" | "es" | "pt" | undefined;
942
+ locale?: "en" | "es" | "pt" | "it" | undefined;
942
943
  questionPresentation?: "text" | "card" | undefined;
943
944
  workspaceExternalId?: string | undefined;
945
+ goal?: {
946
+ objective: string;
947
+ criteria?: string[] | undefined;
948
+ runway?: "quick" | "normal" | "long" | undefined;
949
+ } | undefined;
944
950
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
945
951
  llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
946
952
  llmModel?: string | undefined;
@@ -967,9 +973,14 @@ export declare const createApiClient: (baseUrl: string) => {
967
973
  json: {
968
974
  text: string;
969
975
  timezone?: string | undefined;
970
- locale?: "en" | "es" | "pt" | undefined;
976
+ locale?: "en" | "es" | "pt" | "it" | undefined;
971
977
  questionPresentation?: "text" | "card" | undefined;
972
978
  workspaceExternalId?: string | undefined;
979
+ goal?: {
980
+ objective: string;
981
+ criteria?: string[] | undefined;
982
+ runway?: "quick" | "normal" | "long" | undefined;
983
+ } | undefined;
973
984
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
974
985
  llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
975
986
  llmModel?: string | undefined;
@@ -995,9 +1006,14 @@ export declare const createApiClient: (baseUrl: string) => {
995
1006
  json: {
996
1007
  text: string;
997
1008
  timezone?: string | undefined;
998
- locale?: "en" | "es" | "pt" | undefined;
1009
+ locale?: "en" | "es" | "pt" | "it" | undefined;
999
1010
  questionPresentation?: "text" | "card" | undefined;
1000
1011
  workspaceExternalId?: string | undefined;
1012
+ goal?: {
1013
+ objective: string;
1014
+ criteria?: string[] | undefined;
1015
+ runway?: "quick" | "normal" | "long" | undefined;
1016
+ } | undefined;
1001
1017
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1002
1018
  llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
1003
1019
  llmModel?: string | undefined;
@@ -1023,9 +1039,14 @@ export declare const createApiClient: (baseUrl: string) => {
1023
1039
  json: {
1024
1040
  text: string;
1025
1041
  timezone?: string | undefined;
1026
- locale?: "en" | "es" | "pt" | undefined;
1042
+ locale?: "en" | "es" | "pt" | "it" | undefined;
1027
1043
  questionPresentation?: "text" | "card" | undefined;
1028
1044
  workspaceExternalId?: string | undefined;
1045
+ goal?: {
1046
+ objective: string;
1047
+ criteria?: string[] | undefined;
1048
+ runway?: "quick" | "normal" | "long" | undefined;
1049
+ } | undefined;
1029
1050
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1030
1051
  llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
1031
1052
  llmModel?: string | undefined;
@@ -1046,6 +1067,106 @@ export declare const createApiClient: (baseUrl: string) => {
1046
1067
  };
1047
1068
  outputFormat: "json";
1048
1069
  status: 403;
1070
+ } | {
1071
+ input: {
1072
+ json: {
1073
+ text: string;
1074
+ timezone?: string | undefined;
1075
+ locale?: "en" | "es" | "pt" | "it" | undefined;
1076
+ questionPresentation?: "text" | "card" | undefined;
1077
+ workspaceExternalId?: string | undefined;
1078
+ goal?: {
1079
+ objective: string;
1080
+ criteria?: string[] | undefined;
1081
+ runway?: "quick" | "normal" | "long" | undefined;
1082
+ } | undefined;
1083
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1084
+ llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
1085
+ llmModel?: string | undefined;
1086
+ fileIds?: string[] | undefined;
1087
+ clientMessageId?: string | undefined;
1088
+ skill?: string | undefined;
1089
+ mode?: "plan" | "execute" | "approve" | "balanced" | "bypass" | undefined;
1090
+ };
1091
+ } & {
1092
+ param: {
1093
+ sessionId: string;
1094
+ };
1095
+ };
1096
+ output: {
1097
+ error: {
1098
+ type: string;
1099
+ };
1100
+ };
1101
+ outputFormat: "json";
1102
+ status: 503;
1103
+ } | {
1104
+ input: {
1105
+ json: {
1106
+ text: string;
1107
+ timezone?: string | undefined;
1108
+ locale?: "en" | "es" | "pt" | "it" | undefined;
1109
+ questionPresentation?: "text" | "card" | undefined;
1110
+ workspaceExternalId?: string | undefined;
1111
+ goal?: {
1112
+ objective: string;
1113
+ criteria?: string[] | undefined;
1114
+ runway?: "quick" | "normal" | "long" | undefined;
1115
+ } | undefined;
1116
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1117
+ llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
1118
+ llmModel?: string | undefined;
1119
+ fileIds?: string[] | undefined;
1120
+ clientMessageId?: string | undefined;
1121
+ skill?: string | undefined;
1122
+ mode?: "plan" | "execute" | "approve" | "balanced" | "bypass" | undefined;
1123
+ };
1124
+ } & {
1125
+ param: {
1126
+ sessionId: string;
1127
+ };
1128
+ };
1129
+ output: {
1130
+ error: {
1131
+ type: string;
1132
+ };
1133
+ };
1134
+ outputFormat: "json";
1135
+ status: 422;
1136
+ } | {
1137
+ input: {
1138
+ json: {
1139
+ text: string;
1140
+ timezone?: string | undefined;
1141
+ locale?: "en" | "es" | "pt" | "it" | undefined;
1142
+ questionPresentation?: "text" | "card" | undefined;
1143
+ workspaceExternalId?: string | undefined;
1144
+ goal?: {
1145
+ objective: string;
1146
+ criteria?: string[] | undefined;
1147
+ runway?: "quick" | "normal" | "long" | undefined;
1148
+ } | undefined;
1149
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1150
+ llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
1151
+ llmModel?: string | undefined;
1152
+ fileIds?: string[] | undefined;
1153
+ clientMessageId?: string | undefined;
1154
+ skill?: string | undefined;
1155
+ mode?: "plan" | "execute" | "approve" | "balanced" | "bypass" | undefined;
1156
+ };
1157
+ } & {
1158
+ param: {
1159
+ sessionId: string;
1160
+ };
1161
+ };
1162
+ output: {
1163
+ error: {
1164
+ type: string;
1165
+ limit: number;
1166
+ };
1167
+ };
1168
+ outputFormat: "json";
1169
+ status: 429;
1049
1170
  };
1050
1171
  }>;
1051
1172
  };
@@ -1193,6 +1314,140 @@ export declare const createApiClient: (baseUrl: string) => {
1193
1314
  };
1194
1315
  };
1195
1316
  };
1317
+ } & {
1318
+ v1: {
1319
+ sessions: {
1320
+ ":sessionId": {
1321
+ goal: import('hono/client').ClientRequest<string, "/v1/sessions/:sessionId/goal", {
1322
+ $get: {
1323
+ input: {
1324
+ param: {
1325
+ sessionId: string;
1326
+ };
1327
+ };
1328
+ output: {};
1329
+ outputFormat: string;
1330
+ status: import('hono/utils/http-status').StatusCode;
1331
+ };
1332
+ }>;
1333
+ };
1334
+ };
1335
+ };
1336
+ } & {
1337
+ v1: {
1338
+ sessions: {
1339
+ ":sessionId": {
1340
+ goal: {
1341
+ pause: import('hono/client').ClientRequest<string, "/v1/sessions/:sessionId/goal/pause", {
1342
+ $post: {
1343
+ input: {
1344
+ param: {
1345
+ sessionId: string;
1346
+ };
1347
+ };
1348
+ output: {};
1349
+ outputFormat: string;
1350
+ status: import('hono/utils/http-status').StatusCode;
1351
+ };
1352
+ }>;
1353
+ };
1354
+ };
1355
+ };
1356
+ };
1357
+ } & {
1358
+ v1: {
1359
+ sessions: {
1360
+ ":sessionId": {
1361
+ goal: {
1362
+ resume: import('hono/client').ClientRequest<string, "/v1/sessions/:sessionId/goal/resume", {
1363
+ $post: {
1364
+ input: {
1365
+ param: {
1366
+ sessionId: string;
1367
+ };
1368
+ };
1369
+ output: {};
1370
+ outputFormat: string;
1371
+ status: import('hono/utils/http-status').StatusCode;
1372
+ };
1373
+ }>;
1374
+ };
1375
+ };
1376
+ };
1377
+ };
1378
+ } & {
1379
+ v1: {
1380
+ sessions: {
1381
+ ":sessionId": {
1382
+ goal: {
1383
+ clear: import('hono/client').ClientRequest<string, "/v1/sessions/:sessionId/goal/clear", {
1384
+ $post: {
1385
+ input: {
1386
+ param: {
1387
+ sessionId: string;
1388
+ };
1389
+ };
1390
+ output: {};
1391
+ outputFormat: string;
1392
+ status: import('hono/utils/http-status').StatusCode;
1393
+ };
1394
+ }>;
1395
+ };
1396
+ };
1397
+ };
1398
+ };
1399
+ } & {
1400
+ v1: {
1401
+ sessions: {
1402
+ ":sessionId": {
1403
+ goal: {
1404
+ edit: import('hono/client').ClientRequest<string, "/v1/sessions/:sessionId/goal/edit", {
1405
+ $post: {
1406
+ input: {
1407
+ json: {
1408
+ objective?: string | undefined;
1409
+ tokenBudget?: number | undefined;
1410
+ maxTurns?: number | undefined;
1411
+ };
1412
+ } & {
1413
+ param: {
1414
+ sessionId: string;
1415
+ };
1416
+ };
1417
+ output: {};
1418
+ outputFormat: string;
1419
+ status: import('hono/utils/http-status').StatusCode;
1420
+ };
1421
+ }>;
1422
+ };
1423
+ };
1424
+ };
1425
+ };
1426
+ } & {
1427
+ v1: {
1428
+ sessions: {
1429
+ ":sessionId": {
1430
+ goal: {
1431
+ snooze: import('hono/client').ClientRequest<string, "/v1/sessions/:sessionId/goal/snooze", {
1432
+ $post: {
1433
+ input: {
1434
+ json: {
1435
+ wakeAt: string;
1436
+ };
1437
+ } & {
1438
+ param: {
1439
+ sessionId: string;
1440
+ };
1441
+ };
1442
+ output: {};
1443
+ outputFormat: string;
1444
+ status: import('hono/utils/http-status').StatusCode;
1445
+ };
1446
+ }>;
1447
+ };
1448
+ };
1449
+ };
1450
+ };
1196
1451
  } & {
1197
1452
  v1: {
1198
1453
  sessions: {
@@ -1526,6 +1781,56 @@ export declare const createApiClient: (baseUrl: string) => {
1526
1781
  };
1527
1782
  };
1528
1783
  };
1784
+ } & {
1785
+ v1: {
1786
+ "issue-reports": import('hono/client').ClientRequest<string, "/v1/issue-reports", {
1787
+ $post: {
1788
+ input: {};
1789
+ output: {
1790
+ readonly error: {
1791
+ readonly type: "screenshot_too_large";
1792
+ readonly maxBytes: 2000000;
1793
+ };
1794
+ };
1795
+ outputFormat: "json";
1796
+ status: 413;
1797
+ } | {
1798
+ input: {};
1799
+ output: {
1800
+ error: {
1801
+ type: string;
1802
+ };
1803
+ };
1804
+ outputFormat: "json";
1805
+ status: 400;
1806
+ } | {
1807
+ input: {};
1808
+ output: {
1809
+ error: {
1810
+ type: string;
1811
+ };
1812
+ };
1813
+ outputFormat: "json";
1814
+ status: 415;
1815
+ } | {
1816
+ input: {};
1817
+ output: {
1818
+ reportId: import('node_modules/@belong/cloud/src/platform/ids').IssueReportId;
1819
+ };
1820
+ outputFormat: "json";
1821
+ status: 202;
1822
+ } | {
1823
+ input: {};
1824
+ output: {
1825
+ error: {
1826
+ type: string;
1827
+ };
1828
+ };
1829
+ outputFormat: "json";
1830
+ status: 404;
1831
+ };
1832
+ }>;
1833
+ };
1529
1834
  } & {
1530
1835
  v1: {
1531
1836
  legal: {
@@ -1546,7 +1851,7 @@ export declare const createApiClient: (baseUrl: string) => {
1546
1851
  input: {
1547
1852
  json: {
1548
1853
  version: string;
1549
- locale: "en" | "es" | "pt";
1854
+ locale: "en" | "es" | "pt" | "it";
1550
1855
  };
1551
1856
  };
1552
1857
  output: {
@@ -1616,6 +1921,63 @@ export declare const createApiClient: (baseUrl: string) => {
1616
1921
  };
1617
1922
  };
1618
1923
  };
1924
+ } & {
1925
+ v1: {
1926
+ runs: {
1927
+ ":runId": {
1928
+ subagents: {
1929
+ ":subagentId": {
1930
+ stop: import('hono/client').ClientRequest<string, "/v1/runs/:runId/subagents/:subagentId/stop", {
1931
+ $post: {
1932
+ input: {
1933
+ param: {
1934
+ runId: string;
1935
+ } & {
1936
+ subagentId: string;
1937
+ };
1938
+ };
1939
+ output: {
1940
+ error: {
1941
+ type: string;
1942
+ };
1943
+ };
1944
+ outputFormat: "json";
1945
+ status: 404;
1946
+ } | {
1947
+ input: {
1948
+ param: {
1949
+ runId: string;
1950
+ } & {
1951
+ subagentId: string;
1952
+ };
1953
+ };
1954
+ output: {
1955
+ status: string;
1956
+ };
1957
+ outputFormat: "json";
1958
+ status: 202;
1959
+ } | {
1960
+ input: {
1961
+ param: {
1962
+ runId: string;
1963
+ } & {
1964
+ subagentId: string;
1965
+ };
1966
+ };
1967
+ output: {
1968
+ error: {
1969
+ type: string;
1970
+ };
1971
+ };
1972
+ outputFormat: "json";
1973
+ status: 409;
1974
+ };
1975
+ }>;
1976
+ };
1977
+ };
1978
+ };
1979
+ };
1980
+ };
1619
1981
  } & {
1620
1982
  v1: {
1621
1983
  approvals: {
@@ -1634,6 +1996,12 @@ export declare const createApiClient: (baseUrl: string) => {
1634
1996
  };
1635
1997
  };
1636
1998
  output: {
1999
+ continuation?: {
2000
+ readonly messageId: import('node_modules/@belong/cloud/src/platform/ids').MessageId;
2001
+ readonly taskId: import('node_modules/@belong/cloud/src/platform/ids').TaskId;
2002
+ readonly runId: import('node_modules/@belong/cloud/src/platform/ids').RunId;
2003
+ readonly text: string;
2004
+ } | undefined;
1637
2005
  status: "accepted";
1638
2006
  approvalStatus: "pending" | "approved" | "rejected" | "amend_requested" | "expired";
1639
2007
  };
@@ -2994,11 +3362,17 @@ export declare const createApiClient: (baseUrl: string) => {
2994
3362
  snapshot?: string | undefined;
2995
3363
  text?: string | undefined;
2996
3364
  url?: string | undefined;
3365
+ http?: {
3366
+ status: number;
3367
+ body: string;
3368
+ truncated: boolean;
3369
+ redirected: boolean;
3370
+ } | undefined;
2997
3371
  };
2998
3372
  } | {
2999
3373
  ok: false;
3000
3374
  error: {
3001
- code: "timeout" | "stale_ref" | "not_typable" | "navigation_blocked" | "dom_error" | "eval_error" | "unsupported_op";
3375
+ code: "timeout" | "stale_ref" | "not_typable" | "navigation_blocked" | "dom_error" | "eval_error" | "unsupported_op" | "mcp_not_allowed" | "mcp_fetch_failed" | "op_not_allowed";
3002
3376
  message: string;
3003
3377
  };
3004
3378
  };
@@ -3019,32 +3393,131 @@ export declare const createApiClient: (baseUrl: string) => {
3019
3393
  snapshot?: string | undefined;
3020
3394
  text?: string | undefined;
3021
3395
  url?: string | undefined;
3396
+ http?: {
3397
+ status: number;
3398
+ body: string;
3399
+ truncated: boolean;
3400
+ redirected: boolean;
3401
+ } | undefined;
3022
3402
  };
3023
3403
  } | {
3024
3404
  ok: false;
3025
3405
  error: {
3026
- code: "timeout" | "stale_ref" | "not_typable" | "navigation_blocked" | "dom_error" | "eval_error" | "unsupported_op";
3406
+ code: "timeout" | "stale_ref" | "not_typable" | "navigation_blocked" | "dom_error" | "eval_error" | "unsupported_op" | "mcp_not_allowed" | "mcp_fetch_failed" | "op_not_allowed";
3027
3407
  message: string;
3028
3408
  };
3029
3409
  };
3030
- };
3031
- };
3032
- output: {
3033
- error: {
3034
- type: "unknown_command";
3410
+ };
3411
+ };
3412
+ output: {
3413
+ error: {
3414
+ type: "unknown_command";
3415
+ };
3416
+ };
3417
+ outputFormat: "json";
3418
+ status: 404;
3419
+ };
3420
+ }>;
3421
+ };
3422
+ };
3423
+ } & {
3424
+ v1: {
3425
+ browser: {
3426
+ command: import('hono/client').ClientRequest<string, "/v1/browser/command", {
3427
+ $post: {
3428
+ input: {
3429
+ json: {
3430
+ op: "snapshot";
3431
+ } | {
3432
+ op: "click";
3433
+ ref: string;
3434
+ } | {
3435
+ op: "type";
3436
+ ref: string;
3437
+ text: string;
3438
+ submit?: boolean | undefined;
3439
+ } | {
3440
+ op: "select";
3441
+ ref: string;
3442
+ value: string;
3443
+ } | {
3444
+ op: "press";
3445
+ key: string;
3446
+ } | {
3447
+ op: "navigate";
3448
+ url: string;
3449
+ } | {
3450
+ op: "read";
3451
+ ref?: string | undefined;
3452
+ } | {
3453
+ op: "eval";
3454
+ code: string;
3455
+ } | {
3456
+ op: "mcp_call";
3457
+ path: string;
3458
+ tool: string;
3459
+ arguments: Record<string, unknown>;
3460
+ } | {
3461
+ command: {
3462
+ op: "snapshot";
3463
+ } | {
3464
+ op: "click";
3465
+ ref: string;
3466
+ } | {
3467
+ op: "type";
3468
+ ref: string;
3469
+ text: string;
3470
+ submit?: boolean | undefined;
3471
+ } | {
3472
+ op: "select";
3473
+ ref: string;
3474
+ value: string;
3475
+ } | {
3476
+ op: "press";
3477
+ key: string;
3478
+ } | {
3479
+ op: "navigate";
3480
+ url: string;
3481
+ } | {
3482
+ op: "read";
3483
+ ref?: string | undefined;
3484
+ } | {
3485
+ op: "eval";
3486
+ code: string;
3487
+ } | {
3488
+ op: "mcp_call";
3489
+ path: string;
3490
+ tool: string;
3491
+ arguments: Record<string, unknown>;
3492
+ };
3493
+ sessionId?: string | null | undefined;
3494
+ };
3495
+ };
3496
+ output: {
3497
+ result: {
3498
+ ok: true;
3499
+ value: {
3500
+ snapshot?: string | undefined;
3501
+ text?: string | undefined;
3502
+ url?: string | undefined;
3503
+ http?: {
3504
+ status: number;
3505
+ body: string;
3506
+ truncated: boolean;
3507
+ redirected: boolean;
3508
+ } | undefined;
3509
+ };
3510
+ } | {
3511
+ ok: false;
3512
+ error: {
3513
+ code: "timeout" | "stale_ref" | "not_typable" | "navigation_blocked" | "dom_error" | "eval_error" | "unsupported_op" | "mcp_not_allowed" | "mcp_fetch_failed" | "op_not_allowed";
3514
+ message: string;
3515
+ };
3035
3516
  };
3036
3517
  };
3037
3518
  outputFormat: "json";
3038
- status: 404;
3039
- };
3040
- }>;
3041
- };
3042
- };
3043
- } & {
3044
- v1: {
3045
- browser: {
3046
- command: import('hono/client').ClientRequest<string, "/v1/browser/command", {
3047
- $post: {
3519
+ status: 200;
3520
+ } | {
3048
3521
  input: {
3049
3522
  json: {
3050
3523
  op: "snapshot";
@@ -3072,6 +3545,11 @@ export declare const createApiClient: (baseUrl: string) => {
3072
3545
  } | {
3073
3546
  op: "eval";
3074
3547
  code: string;
3548
+ } | {
3549
+ op: "mcp_call";
3550
+ path: string;
3551
+ tool: string;
3552
+ arguments: Record<string, unknown>;
3075
3553
  } | {
3076
3554
  command: {
3077
3555
  op: "snapshot";
@@ -3099,28 +3577,22 @@ export declare const createApiClient: (baseUrl: string) => {
3099
3577
  } | {
3100
3578
  op: "eval";
3101
3579
  code: string;
3580
+ } | {
3581
+ op: "mcp_call";
3582
+ path: string;
3583
+ tool: string;
3584
+ arguments: Record<string, unknown>;
3102
3585
  };
3103
3586
  sessionId?: string | null | undefined;
3104
3587
  };
3105
3588
  };
3106
3589
  output: {
3107
- result: {
3108
- ok: true;
3109
- value: {
3110
- snapshot?: string | undefined;
3111
- text?: string | undefined;
3112
- url?: string | undefined;
3113
- };
3114
- } | {
3115
- ok: false;
3116
- error: {
3117
- code: "timeout" | "stale_ref" | "not_typable" | "navigation_blocked" | "dom_error" | "eval_error" | "unsupported_op";
3118
- message: string;
3119
- };
3590
+ error: {
3591
+ type: "browser_not_connected";
3120
3592
  };
3121
3593
  };
3122
3594
  outputFormat: "json";
3123
- status: 200;
3595
+ status: 409;
3124
3596
  } | {
3125
3597
  input: {
3126
3598
  json: {
@@ -3149,6 +3621,11 @@ export declare const createApiClient: (baseUrl: string) => {
3149
3621
  } | {
3150
3622
  op: "eval";
3151
3623
  code: string;
3624
+ } | {
3625
+ op: "mcp_call";
3626
+ path: string;
3627
+ tool: string;
3628
+ arguments: Record<string, unknown>;
3152
3629
  } | {
3153
3630
  command: {
3154
3631
  op: "snapshot";
@@ -3176,13 +3653,18 @@ export declare const createApiClient: (baseUrl: string) => {
3176
3653
  } | {
3177
3654
  op: "eval";
3178
3655
  code: string;
3656
+ } | {
3657
+ op: "mcp_call";
3658
+ path: string;
3659
+ tool: string;
3660
+ arguments: Record<string, unknown>;
3179
3661
  };
3180
3662
  sessionId?: string | null | undefined;
3181
3663
  };
3182
3664
  };
3183
3665
  output: {
3184
3666
  error: {
3185
- type: "browser_not_connected";
3667
+ type: "browser_wrong_session";
3186
3668
  };
3187
3669
  };
3188
3670
  outputFormat: "json";
@@ -3215,6 +3697,11 @@ export declare const createApiClient: (baseUrl: string) => {
3215
3697
  } | {
3216
3698
  op: "eval";
3217
3699
  code: string;
3700
+ } | {
3701
+ op: "mcp_call";
3702
+ path: string;
3703
+ tool: string;
3704
+ arguments: Record<string, unknown>;
3218
3705
  } | {
3219
3706
  command: {
3220
3707
  op: "snapshot";
@@ -3242,13 +3729,18 @@ export declare const createApiClient: (baseUrl: string) => {
3242
3729
  } | {
3243
3730
  op: "eval";
3244
3731
  code: string;
3732
+ } | {
3733
+ op: "mcp_call";
3734
+ path: string;
3735
+ tool: string;
3736
+ arguments: Record<string, unknown>;
3245
3737
  };
3246
3738
  sessionId?: string | null | undefined;
3247
3739
  };
3248
3740
  };
3249
3741
  output: {
3250
3742
  error: {
3251
- type: "browser_wrong_session";
3743
+ type: "browser_busy";
3252
3744
  };
3253
3745
  };
3254
3746
  outputFormat: "json";
@@ -3281,6 +3773,11 @@ export declare const createApiClient: (baseUrl: string) => {
3281
3773
  } | {
3282
3774
  op: "eval";
3283
3775
  code: string;
3776
+ } | {
3777
+ op: "mcp_call";
3778
+ path: string;
3779
+ tool: string;
3780
+ arguments: Record<string, unknown>;
3284
3781
  } | {
3285
3782
  command: {
3286
3783
  op: "snapshot";
@@ -3308,17 +3805,22 @@ export declare const createApiClient: (baseUrl: string) => {
3308
3805
  } | {
3309
3806
  op: "eval";
3310
3807
  code: string;
3808
+ } | {
3809
+ op: "mcp_call";
3810
+ path: string;
3811
+ tool: string;
3812
+ arguments: Record<string, unknown>;
3311
3813
  };
3312
3814
  sessionId?: string | null | undefined;
3313
3815
  };
3314
3816
  };
3315
3817
  output: {
3316
3818
  error: {
3317
- type: "browser_busy";
3819
+ type: "command_timeout";
3318
3820
  };
3319
3821
  };
3320
3822
  outputFormat: "json";
3321
- status: 409;
3823
+ status: 504;
3322
3824
  } | {
3323
3825
  input: {
3324
3826
  json: {
@@ -3347,6 +3849,11 @@ export declare const createApiClient: (baseUrl: string) => {
3347
3849
  } | {
3348
3850
  op: "eval";
3349
3851
  code: string;
3852
+ } | {
3853
+ op: "mcp_call";
3854
+ path: string;
3855
+ tool: string;
3856
+ arguments: Record<string, unknown>;
3350
3857
  } | {
3351
3858
  command: {
3352
3859
  op: "snapshot";
@@ -3374,17 +3881,22 @@ export declare const createApiClient: (baseUrl: string) => {
3374
3881
  } | {
3375
3882
  op: "eval";
3376
3883
  code: string;
3884
+ } | {
3885
+ op: "mcp_call";
3886
+ path: string;
3887
+ tool: string;
3888
+ arguments: Record<string, unknown>;
3377
3889
  };
3378
3890
  sessionId?: string | null | undefined;
3379
3891
  };
3380
3892
  };
3381
3893
  output: {
3382
3894
  error: {
3383
- type: "command_timeout";
3895
+ type: "browser_disconnected";
3384
3896
  };
3385
3897
  };
3386
3898
  outputFormat: "json";
3387
- status: 504;
3899
+ status: 502;
3388
3900
  };
3389
3901
  }>;
3390
3902
  };
@@ -3472,6 +3984,12 @@ export declare const createApiClient: (baseUrl: string) => {
3472
3984
  introBody?: string | undefined;
3473
3985
  suggestions?: string[] | undefined;
3474
3986
  } | undefined;
3987
+ it?: {
3988
+ subtitle?: string | undefined;
3989
+ capabilities?: string[] | undefined;
3990
+ introBody?: string | undefined;
3991
+ suggestions?: string[] | undefined;
3992
+ } | undefined;
3475
3993
  } | undefined;
3476
3994
  };
3477
3995
  };
@@ -3873,7 +4391,11 @@ export declare const createApiClient: (baseUrl: string) => {
3873
4391
  v1: {
3874
4392
  skills: import('hono/client').ClientRequest<string, "/v1/skills", {
3875
4393
  $get: {
3876
- input: {};
4394
+ input: {
4395
+ query: {
4396
+ workspaceExternalId?: string | string[];
4397
+ };
4398
+ };
3877
4399
  output: {
3878
4400
  skills: readonly {
3879
4401
  readonly name: string;
@@ -5357,6 +5879,225 @@ export declare const createApiClient: (baseUrl: string) => {
5357
5879
  }>;
5358
5880
  };
5359
5881
  };
5882
+ } & {
5883
+ v1: {
5884
+ "skill-library": import('hono/client').ClientRequest<string, "/v1/skill-library", {
5885
+ $get: {
5886
+ input: {
5887
+ query: {
5888
+ workspaceExternalId?: string | string[];
5889
+ };
5890
+ };
5891
+ output: {
5892
+ skills: {
5893
+ userSkillId: import('node_modules/@belong/cloud/src/platform/ids').UserSkillId;
5894
+ name: string;
5895
+ description: string;
5896
+ enabled: boolean;
5897
+ revision: number;
5898
+ hasScripts: boolean;
5899
+ filesCount: number;
5900
+ archiveSizeBytes: number;
5901
+ updatedAt: string;
5902
+ }[];
5903
+ };
5904
+ outputFormat: "json";
5905
+ status: 200;
5906
+ };
5907
+ }>;
5908
+ };
5909
+ } & {
5910
+ v1: {
5911
+ "skill-library": {
5912
+ import: import('hono/client').ClientRequest<string, "/v1/skill-library/import", {
5913
+ $post: {
5914
+ input: {};
5915
+ output: {
5916
+ readonly error: {
5917
+ readonly type: "missing_scope";
5918
+ readonly requiredScope: "session:write";
5919
+ };
5920
+ };
5921
+ outputFormat: "json";
5922
+ status: 403;
5923
+ } | {
5924
+ input: {};
5925
+ output: {
5926
+ readonly error: {
5927
+ readonly type: "invalid_workspace_external_id";
5928
+ };
5929
+ };
5930
+ outputFormat: "json";
5931
+ status: 400;
5932
+ } | {
5933
+ input: {};
5934
+ output: {
5935
+ readonly error: {
5936
+ readonly type: "archive_too_large";
5937
+ readonly maxArchiveBytes: 10485760;
5938
+ };
5939
+ };
5940
+ outputFormat: "json";
5941
+ status: 413;
5942
+ } | {
5943
+ input: {};
5944
+ output: {
5945
+ error: {
5946
+ type: string;
5947
+ };
5948
+ };
5949
+ outputFormat: "json";
5950
+ status: 400;
5951
+ } | {
5952
+ input: {};
5953
+ output: {
5954
+ userSkillId: import('node_modules/@belong/cloud/src/platform/ids').UserSkillId;
5955
+ name: string;
5956
+ revision: number;
5957
+ outcome: import('node_modules/@belong/cloud/src/features/skill-library/skill-library.service').SkillSaveOutcome;
5958
+ hasScripts: boolean;
5959
+ };
5960
+ outputFormat: "json";
5961
+ status: 200 | 201;
5962
+ } | {
5963
+ input: {};
5964
+ output: {
5965
+ error: {
5966
+ type: string;
5967
+ };
5968
+ };
5969
+ outputFormat: "json";
5970
+ status: 422;
5971
+ } | {
5972
+ input: {};
5973
+ output: {
5974
+ error: {
5975
+ type: string;
5976
+ name: string;
5977
+ userSkillId: import('node_modules/@belong/cloud/src/platform/ids').UserSkillId;
5978
+ };
5979
+ };
5980
+ outputFormat: "json";
5981
+ status: 409;
5982
+ };
5983
+ }>;
5984
+ };
5985
+ };
5986
+ } & {
5987
+ v1: {
5988
+ "skill-library": {
5989
+ ":userSkillId": import('hono/client').ClientRequest<string, "/v1/skill-library/:userSkillId", {
5990
+ $patch: {
5991
+ input: {
5992
+ param: {
5993
+ userSkillId: string;
5994
+ };
5995
+ } & {
5996
+ json: {
5997
+ enabled: boolean;
5998
+ };
5999
+ };
6000
+ output: {
6001
+ readonly error: {
6002
+ readonly type: "missing_scope";
6003
+ readonly requiredScope: "session:write";
6004
+ };
6005
+ };
6006
+ outputFormat: "json";
6007
+ status: 403;
6008
+ } | {
6009
+ input: {
6010
+ param: {
6011
+ userSkillId: string;
6012
+ };
6013
+ } & {
6014
+ json: {
6015
+ enabled: boolean;
6016
+ };
6017
+ };
6018
+ output: {
6019
+ readonly error: {
6020
+ readonly type: "not_found";
6021
+ };
6022
+ };
6023
+ outputFormat: "json";
6024
+ status: 404;
6025
+ } | {
6026
+ input: {
6027
+ param: {
6028
+ userSkillId: string;
6029
+ };
6030
+ } & {
6031
+ json: {
6032
+ enabled: boolean;
6033
+ };
6034
+ };
6035
+ output: {
6036
+ userSkillId: import('node_modules/@belong/cloud/src/platform/ids').UserSkillId;
6037
+ enabled: boolean;
6038
+ };
6039
+ outputFormat: "json";
6040
+ status: 200;
6041
+ };
6042
+ $delete: {
6043
+ input: {
6044
+ param: {
6045
+ userSkillId: string;
6046
+ };
6047
+ };
6048
+ output: null;
6049
+ outputFormat: "body";
6050
+ status: 204;
6051
+ } | {
6052
+ input: {
6053
+ param: {
6054
+ userSkillId: string;
6055
+ };
6056
+ };
6057
+ output: {
6058
+ readonly error: {
6059
+ readonly type: "missing_scope";
6060
+ readonly requiredScope: "session:write";
6061
+ };
6062
+ };
6063
+ outputFormat: "json";
6064
+ status: 403;
6065
+ } | {
6066
+ input: {
6067
+ param: {
6068
+ userSkillId: string;
6069
+ };
6070
+ };
6071
+ output: {
6072
+ readonly error: {
6073
+ readonly type: "not_found";
6074
+ };
6075
+ };
6076
+ outputFormat: "json";
6077
+ status: 404;
6078
+ };
6079
+ }>;
6080
+ };
6081
+ };
6082
+ } & {
6083
+ v1: {
6084
+ "skill-library": {
6085
+ ":userSkillId": {
6086
+ download: import('hono/client').ClientRequest<string, "/v1/skill-library/:userSkillId/download", {
6087
+ $get: {
6088
+ input: {
6089
+ param: {
6090
+ userSkillId: string;
6091
+ };
6092
+ };
6093
+ output: {};
6094
+ outputFormat: string;
6095
+ status: import('hono/utils/http-status').StatusCode;
6096
+ };
6097
+ }>;
6098
+ };
6099
+ };
6100
+ };
5360
6101
  } & {
5361
6102
  v1: {
5362
6103
  connectors: import('hono/client').ClientRequest<string, "/v1/connectors", {