@blade-hq/agent-kit 0.4.12 → 0.4.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/dist/{SkillStatusBar-CHnXqybx.d.ts → SkillStatusBar-DCOlTYcT.d.ts} +2 -2
  2. package/dist/{blade-client-BfYaHLco.d.ts → blade-client-BEjbedNc.d.ts} +76 -26
  3. package/dist/{chunk-3LCNDPP6.js → chunk-47YVQZQ7.js} +2 -2
  4. package/dist/{chunk-CDSCC4OQ.js → chunk-LKNU4NUC.js} +8 -2
  5. package/dist/chunk-LKNU4NUC.js.map +1 -0
  6. package/dist/{chunk-O2BVC7QE.js → chunk-MOEPOLPQ.js} +10 -10
  7. package/dist/{chunk-VCCMO7G5.js → chunk-ROGNJYST.js} +199 -19
  8. package/dist/chunk-ROGNJYST.js.map +1 -0
  9. package/dist/{chunk-4XID5JVK.js → chunk-WQYDTSSV.js} +2 -2
  10. package/dist/{chunk-Z4FPELIQ.js → chunk-WZT2DOBJ.js} +2 -2
  11. package/dist/client/index.d.ts +4825 -1972
  12. package/dist/client/index.js +7 -3
  13. package/dist/react/api/vibe-coding.d.ts +3 -3
  14. package/dist/react/api/vibe-coding.js +2 -2
  15. package/dist/react/assets/file-icons/archive/7z.png +0 -0
  16. package/dist/react/assets/file-icons/archive/bz2.png +0 -0
  17. package/dist/react/assets/file-icons/archive/dmg.png +0 -0
  18. package/dist/react/assets/file-icons/archive/gz.png +0 -0
  19. package/dist/react/assets/file-icons/archive/iso.png +0 -0
  20. package/dist/react/assets/file-icons/archive/pkg.png +0 -0
  21. package/dist/react/assets/file-icons/archive/rar.png +0 -0
  22. package/dist/react/assets/file-icons/archive/tar.png +0 -0
  23. package/dist/react/assets/file-icons/archive/tgz.png +0 -0
  24. package/dist/react/assets/file-icons/archive/xz.png +0 -0
  25. package/dist/react/assets/file-icons/archive/zip.png +0 -0
  26. package/dist/react/assets/file-icons/audio/aac.png +0 -0
  27. package/dist/react/assets/file-icons/audio/aiff.png +0 -0
  28. package/dist/react/assets/file-icons/audio/flac.png +0 -0
  29. package/dist/react/assets/file-icons/audio/m4a.png +0 -0
  30. package/dist/react/assets/file-icons/audio/mid.png +0 -0
  31. package/dist/react/assets/file-icons/audio/mp3.png +0 -0
  32. package/dist/react/assets/file-icons/audio/ogg.png +0 -0
  33. package/dist/react/assets/file-icons/audio/wav.png +0 -0
  34. package/dist/react/assets/file-icons/code/c.png +0 -0
  35. package/dist/react/assets/file-icons/code/cpp.png +0 -0
  36. package/dist/react/assets/file-icons/code/cs.png +0 -0
  37. package/dist/react/assets/file-icons/code/css.png +0 -0
  38. package/dist/react/assets/file-icons/code/go.png +0 -0
  39. package/dist/react/assets/file-icons/code/h.png +0 -0
  40. package/dist/react/assets/file-icons/code/hpp.png +0 -0
  41. package/dist/react/assets/file-icons/code/html.png +0 -0
  42. package/dist/react/assets/file-icons/code/java.png +0 -0
  43. package/dist/react/assets/file-icons/code/js.png +0 -0
  44. package/dist/react/assets/file-icons/code/json.png +0 -0
  45. package/dist/react/assets/file-icons/code/jsx.png +0 -0
  46. package/dist/react/assets/file-icons/code/kt.png +0 -0
  47. package/dist/react/assets/file-icons/code/lock.png +0 -0
  48. package/dist/react/assets/file-icons/code/php.png +0 -0
  49. package/dist/react/assets/file-icons/code/py.png +0 -0
  50. package/dist/react/assets/file-icons/code/rb.png +0 -0
  51. package/dist/react/assets/file-icons/code/rs.png +0 -0
  52. package/dist/react/assets/file-icons/code/scss.png +0 -0
  53. package/dist/react/assets/file-icons/code/sh.png +0 -0
  54. package/dist/react/assets/file-icons/code/sql.png +0 -0
  55. package/dist/react/assets/file-icons/code/svelte.png +0 -0
  56. package/dist/react/assets/file-icons/code/swift.png +0 -0
  57. package/dist/react/assets/file-icons/code/toml.png +0 -0
  58. package/dist/react/assets/file-icons/code/ts.png +0 -0
  59. package/dist/react/assets/file-icons/code/tsx.png +0 -0
  60. package/dist/react/assets/file-icons/code/vue.png +0 -0
  61. package/dist/react/assets/file-icons/code/xml.png +0 -0
  62. package/dist/react/assets/file-icons/code/yaml.png +0 -0
  63. package/dist/react/assets/file-icons/code/yml.png +0 -0
  64. package/dist/react/assets/file-icons/code/zsh.png +0 -0
  65. package/dist/react/assets/file-icons/config/conf.png +0 -0
  66. package/dist/react/assets/file-icons/config/env.png +0 -0
  67. package/dist/react/assets/file-icons/config/ini.png +0 -0
  68. package/dist/react/assets/file-icons/data/db.png +0 -0
  69. package/dist/react/assets/file-icons/data/jsonl.png +0 -0
  70. package/dist/react/assets/file-icons/data/ndjson.png +0 -0
  71. package/dist/react/assets/file-icons/data/parquet.png +0 -0
  72. package/dist/react/assets/file-icons/data/plist.png +0 -0
  73. package/dist/react/assets/file-icons/data/sqlite.png +0 -0
  74. package/dist/react/assets/file-icons/design/blend.png +0 -0
  75. package/dist/react/assets/file-icons/design/fig.png +0 -0
  76. package/dist/react/assets/file-icons/design/sketch.png +0 -0
  77. package/dist/react/assets/file-icons/design/xd.png +0 -0
  78. package/dist/react/assets/file-icons/document/epub.png +0 -0
  79. package/dist/react/assets/file-icons/document/key.png +0 -0
  80. package/dist/react/assets/file-icons/document/log.png +0 -0
  81. package/dist/react/assets/file-icons/document/markdown.png +0 -0
  82. package/dist/react/assets/file-icons/document/md.png +0 -0
  83. package/dist/react/assets/file-icons/document/numbers.png +0 -0
  84. package/dist/react/assets/file-icons/document/pages.png +0 -0
  85. package/dist/react/assets/file-icons/document/pdf.png +0 -0
  86. package/dist/react/assets/file-icons/document/tex.png +0 -0
  87. package/dist/react/assets/file-icons/document/txt.png +0 -0
  88. package/dist/react/assets/file-icons/folder.png +0 -0
  89. package/dist/react/assets/file-icons/font/otf.png +0 -0
  90. package/dist/react/assets/file-icons/font/ttf.png +0 -0
  91. package/dist/react/assets/file-icons/font/woff.png +0 -0
  92. package/dist/react/assets/file-icons/font/woff2.png +0 -0
  93. package/dist/react/assets/file-icons/generic-file.png +0 -0
  94. package/dist/react/assets/file-icons/image/ai.png +0 -0
  95. package/dist/react/assets/file-icons/image/avif.png +0 -0
  96. package/dist/react/assets/file-icons/image/bmp.png +0 -0
  97. package/dist/react/assets/file-icons/image/gif.png +0 -0
  98. package/dist/react/assets/file-icons/image/heic.png +0 -0
  99. package/dist/react/assets/file-icons/image/heif.png +0 -0
  100. package/dist/react/assets/file-icons/image/ico.png +0 -0
  101. package/dist/react/assets/file-icons/image/jpeg.png +0 -0
  102. package/dist/react/assets/file-icons/image/jpg.png +0 -0
  103. package/dist/react/assets/file-icons/image/png.png +0 -0
  104. package/dist/react/assets/file-icons/image/psd.png +0 -0
  105. package/dist/react/assets/file-icons/image/svg.png +0 -0
  106. package/dist/react/assets/file-icons/image/tif.png +0 -0
  107. package/dist/react/assets/file-icons/image/tiff.png +0 -0
  108. package/dist/react/assets/file-icons/image/webp.png +0 -0
  109. package/dist/react/assets/file-icons/office/csv.png +0 -0
  110. package/dist/react/assets/file-icons/office/doc.png +0 -0
  111. package/dist/react/assets/file-icons/office/docx.png +0 -0
  112. package/dist/react/assets/file-icons/office/ppt.png +0 -0
  113. package/dist/react/assets/file-icons/office/pptx.png +0 -0
  114. package/dist/react/assets/file-icons/office/rtf.png +0 -0
  115. package/dist/react/assets/file-icons/office/tsv.png +0 -0
  116. package/dist/react/assets/file-icons/office/xls.png +0 -0
  117. package/dist/react/assets/file-icons/office/xlsx.png +0 -0
  118. package/dist/react/assets/file-icons/open-document/odg.png +0 -0
  119. package/dist/react/assets/file-icons/open-document/odp.png +0 -0
  120. package/dist/react/assets/file-icons/open-document/ods.png +0 -0
  121. package/dist/react/assets/file-icons/open-document/odt.png +0 -0
  122. package/dist/react/assets/file-icons/video/avi.png +0 -0
  123. package/dist/react/assets/file-icons/video/flv.png +0 -0
  124. package/dist/react/assets/file-icons/video/m4v.png +0 -0
  125. package/dist/react/assets/file-icons/video/mkv.png +0 -0
  126. package/dist/react/assets/file-icons/video/mov.png +0 -0
  127. package/dist/react/assets/file-icons/video/mp4.png +0 -0
  128. package/dist/react/assets/file-icons/video/webm.png +0 -0
  129. package/dist/react/assets/file-icons/video/wmv.png +0 -0
  130. package/dist/react/components/chat/index.d.ts +4 -4
  131. package/dist/react/components/chat/index.js +5 -5
  132. package/dist/react/components/plan/index.js +3 -3
  133. package/dist/react/components/session/index.d.ts +1 -1
  134. package/dist/react/components/session/index.js +3 -3
  135. package/dist/react/components/workspace/index.js +124 -121
  136. package/dist/react/components/workspace/index.js.map +1 -1
  137. package/dist/react/index.d.ts +562 -9
  138. package/dist/react/index.js +446 -58
  139. package/dist/react/index.js.map +1 -1
  140. package/dist/{session-BKOc2lsz.d.ts → session-nZdIuWrS.d.ts} +9 -2
  141. package/package.json +2 -2
  142. package/dist/chunk-CDSCC4OQ.js.map +0 -1
  143. package/dist/chunk-PJJ3Y3DZ.js +0 -29
  144. package/dist/chunk-PJJ3Y3DZ.js.map +0 -1
  145. package/dist/chunk-VCCMO7G5.js.map +0 -1
  146. package/dist/licenses-BGw5jiC4.d.ts +0 -16
  147. package/dist/react/api/licenses.d.ts +0 -7
  148. package/dist/react/api/licenses.js +0 -18
  149. package/dist/react/api/licenses.js.map +0 -1
  150. /package/dist/{chunk-3LCNDPP6.js.map → chunk-47YVQZQ7.js.map} +0 -0
  151. /package/dist/{chunk-O2BVC7QE.js.map → chunk-MOEPOLPQ.js.map} +0 -0
  152. /package/dist/{chunk-4XID5JVK.js.map → chunk-WQYDTSSV.js.map} +0 -0
  153. /package/dist/{chunk-Z4FPELIQ.js.map → chunk-WZT2DOBJ.js.map} +0 -0
@@ -1,21 +1,20 @@
1
- import { m as BladeClient, n as BladeClientOptions, k as ApiKeysResource, A as ApiKeyCreateResponse, j as ApiKeyPublic, l as AuthResource, ay as UserInfo, a3 as ProvidersResponse, aC as EnvBucketsResource, aD as EnvBucket, aE as PlatformEnvBucket, T as MemoriesResource, W as Memory, Z as MemoryListResponse, X as MemoryCreateBody, Y as MemoryListParams, J as GisResource, aF as GisState, aG as RuntimeConfig, a0 as ModelsResource, _ as ModelOption, $ as ModelsConfig, ai as SkillsResource, K as GlobalSkillStats, aH as SkillDetail, aI as SkillStats, S as InstalledRegistrySkill, aJ as SkillSummary, aK as SkillSearchResult, aL as PartnerSkillInstallPayload, aM as PartnerSkillInstallResult, aN as SessionSkillUploadPayload, aO as SessionSkillUploadResult, ad as SessionsResource, ae as ShareLinkResult, aP as BackgroundTask, s as CheckpointNode, aa as SessionContextStats, ab as SessionHistory, I as FileEntry, a1 as PaginatedSessionsResult, af as SkillDevSession, O as ImportPreview, as as TokenizeResult, y as ContentPart, E as CreateSessionRequest, M as HistoryNode, Q as ImportPreviewScenario, R as ImportPreviewSkill, ax as UploadFileEntry, az as UserPreferencesResource, x as ComputerUpgradeStatusResponse, aw as UpgradeComputerResponse, ap as SolutionsResource, a8 as ScenariosResource, a4 as QuickScenario, p as BladeHubScenarioResource, z as CreateQuickScenarioPayload, a2 as PreviewUrlItem, av as UpdateQuickScenarioPayload, ak as SoftwareFactoryResource, am as SoftwareFactorySoftware, ao as SoftwareFactoryTopicModule, al as SoftwareFactorySharedFile, v as CodingTaskTopic, an as SoftwareFactoryTopic, u as CodingTask, G as CreateSoftwareFactorySharedFilePayload, H as CreateSoftwareFactorySoftwarePayload, aj as SoftwareFactoryModuleBlueprint, a7 as ResourceApi, a6 as RegistryResource, ag as SkillOrgListResponse, aQ as GisGoal, aR as GisResource$1, aS as GisTarget, aT as GisMapCommand, aU as Task } from '../blade-client-BfYaHLco.js';
2
- export { aV as AgentDriver, aW as AgentResource, aX as DatabaseDriver, aY as DatabaseResource, aZ as DifyKnowledgeConfig, a_ as GisGoalStatus, a$ as HttpToolConfig, b0 as KnowledgeDriver, b1 as KnowledgeResource, b2 as McpToolConfig, b3 as MysqlConfig, b4 as ParallelMode, b5 as PartnerSkillFile, b5 as PartnerSkillFileData, b6 as PartnerSkillName, b6 as PartnerSkillNameData, b7 as PostgresqlConfig, a5 as REGISTRY_PREFIX, b8 as SessionSkillFile, b8 as SessionSkillFileData, b9 as SessionSkillName, b9 as SessionSkillNameData, ah as SkillOrgOption, ba as StageSpec, bb as StepSpec, bc as TaskStatus, bd as ToolDriver, be as ToolResource, aB as normalizeResource, bf as skillDisplayName } from '../blade-client-BfYaHLco.js';
1
+ import { j as BladeClient, k as BladeClientOptions, h as ApiKeysResource, A as ApiKeyCreateResponse, g as ApiKeyPublic, i as AuthResource, ay as UserInfo, a2 as ProvidersResponse, aC as EnvBucketsResource, aD as EnvBucket, aE as PlatformEnvBucket, T as MemoriesResource, U as Memory, Y as MemoryListResponse, W as MemoryCreateBody, X as MemoryListParams, G as GisResource, aF as GisState, aG as RuntimeConfig, $ as ModelsResource, Z as ModelOption, _ as ModelsConfig, ai as SkillsResource, H as GlobalSkillStats, aH as SkillDetail, aI as SkillStats, R as InstalledRegistrySkill, aJ as SkillSummary, aK as SkillSearchResult, aL as PartnerSkillInstallPayload, aM as PartnerSkillInstallResult, aN as SessionSkillUploadPayload, aO as SessionSkillUploadResult, a3 as PublishedAppsResource, aP as PublishedApp, aQ as PublishedAppListResponse, aR as PublishedAppStatus, aS as UnpublishAppResponse, ad as SessionsResource, ae as ShareLinkResult, aT as BackgroundTask, p as CheckpointNode, aa as SessionContextStats, ab as SessionHistory, F as FileEntry, a0 as PaginatedSessionsResult, af as SkillDevSession, N as ImportPreview, as as TokenizeResult, v as ContentPart, x as CreateSessionRequest, L as HistoryNode, O as ImportPreviewScenario, Q as ImportPreviewSkill, ax as UploadFileEntry, az as UserPreferencesResource, u as ComputerUpgradeStatusResponse, aw as UpgradeComputerResponse, ap as SolutionsResource, a8 as ScenariosResource, a4 as QuickScenario, m as BladeHubScenarioResource, w as CreateQuickScenarioPayload, a1 as PreviewUrlItem, av as UpdateQuickScenarioPayload, ak as SoftwareFactoryResource, am as SoftwareFactorySoftware, ao as SoftwareFactoryTopicModule, al as SoftwareFactorySharedFile, s as CodingTaskTopic, an as SoftwareFactoryTopic, r as CodingTask, z as CreateSoftwareFactorySharedFilePayload, E as CreateSoftwareFactorySoftwarePayload, aj as SoftwareFactoryModuleBlueprint, a7 as ResourceApi, a6 as RegistryResource, ag as SkillOrgListResponse, aU as GisGoal, aV as GisResource$1, aW as GisTarget, aX as GisMapCommand, aY as Task } from '../blade-client-BEjbedNc.js';
2
+ export { aZ as AgentDriver, a_ as AgentResource, a$ as DatabaseDriver, b0 as DatabaseResource, b1 as DifyKnowledgeConfig, b2 as GisGoalStatus, b3 as HttpToolConfig, b4 as KnowledgeDriver, b5 as KnowledgeResource, b6 as McpToolConfig, b7 as MysqlConfig, b8 as ParallelMode, b9 as PartnerSkillFile, b9 as PartnerSkillFileData, ba as PartnerSkillName, ba as PartnerSkillNameData, bb as PostgresqlConfig, a5 as REGISTRY_PREFIX, bc as SessionSkillFile, bc as SessionSkillFileData, bd as SessionSkillName, bd as SessionSkillNameData, ah as SkillOrgOption, be as StageSpec, bf as StepSpec, bg as TaskStatus, bh as ToolDriver, bi as ToolResource, aB as normalizeResource, bj as skillDisplayName } from '../blade-client-BEjbedNc.js';
3
3
  import * as react from 'react';
4
4
  import { ReactNode, ComponentProps, JSX, ComponentType } from 'react';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
- export { l as licensesApi } from '../licenses-BGw5jiC4.js';
7
6
  import { T as TurnProjection, a as PatchEnvelope } from '../projection-DIfyh6RK.js';
8
7
  export { C as ContentBlock, b as ToolCallProjection } from '../projection-DIfyh6RK.js';
9
- import { b as SessionDetail, S as SessionInfo, B as BizRole, c as Solution } from '../session-BKOc2lsz.js';
10
- export { L as LayoutType, M as ModeId, P as PrimarySkillParallelMode, d as PrimarySkillSnapshot, e as PrimarySkillStageSpec, f as PrimarySkillStepSpec, a as SessionStatus, g as SkillEditorTemplateId, T as TemplateId } from '../session-BKOc2lsz.js';
8
+ import { b as SessionDetail, S as SessionInfo, B as BizRole, c as Solution } from '../session-nZdIuWrS.js';
9
+ export { L as LayoutType, M as ModeId, P as PrimarySkillParallelMode, d as PrimarySkillSnapshot, e as PrimarySkillStageSpec, f as PrimarySkillStepSpec, a as SessionStatus, g as SkillEditorTemplateId, T as TemplateId } from '../session-nZdIuWrS.js';
11
10
  import * as arktype_internal_variants_object_ts from 'arktype/internal/variants/object.ts';
12
11
  import { M as MessageContent, C as ChatMessage, A as AskUserAnswerData, a as CompactionInfo } from '../AskUserQuestionBlock-CjvG_pUY.js';
13
12
  export { F as FileContentPart, I as ImageUrlContentPart, c as MessageContentPart, d as TextContentPart, T as ToolCallInfo } from '../AskUserQuestionBlock-CjvG_pUY.js';
14
13
  import * as _tanstack_react_query from '@tanstack/react-query';
15
14
  import { Editor } from '@tiptap/react';
16
15
  import { ClassValue } from 'clsx';
17
- import { l as ClientAwareState } from '../SkillStatusBar-CHnXqybx.js';
18
- export { m as ATTACHMENT_SIZE_LIMIT_BYTES, B as BuildWhatIfPromptInput, a as ChatInput, b as ChatView, g as FileSizeLimitDialog, M as MessageList, O as OversizedFileInfo, P as ParsedWhatIfPrompt, S as SkillStatusBar, W as WhatIfQuote, n as buildWhatIfPrompt, o as formatFileSize, p as invalidateHomeSidebarSessions, q as parseWhatIfPrompt, s as splitFilesBySize, u as useSessionStore } from '../SkillStatusBar-CHnXqybx.js';
16
+ import { l as ClientAwareState } from '../SkillStatusBar-DCOlTYcT.js';
17
+ export { m as ATTACHMENT_SIZE_LIMIT_BYTES, B as BuildWhatIfPromptInput, a as ChatInput, b as ChatView, g as FileSizeLimitDialog, M as MessageList, O as OversizedFileInfo, P as ParsedWhatIfPrompt, S as SkillStatusBar, W as WhatIfQuote, n as buildWhatIfPrompt, o as formatFileSize, p as invalidateHomeSidebarSessions, q as parseWhatIfPrompt, s as splitFilesBySize, u as useSessionStore } from '../SkillStatusBar-DCOlTYcT.js';
19
18
  import * as zustand from 'zustand';
20
19
  import { Streamdown, ExtraProps } from 'streamdown';
21
20
  import * as _tiptap_core from '@tiptap/core';
@@ -209,6 +208,557 @@ declare namespace partnerSkill {
209
208
  export { partnerSkill_PartnerSkillInstallPayload as PartnerSkillInstallPayload, partnerSkill_PartnerSkillInstallResult as PartnerSkillInstallResult, partnerSkill_SessionSkillUploadPayload as SessionSkillUploadPayload, partnerSkill_SessionSkillUploadResult as SessionSkillUploadResult, partnerSkill_installPartnerSkill as installPartnerSkill, partnerSkill_uploadSessionSkill as uploadSessionSkill };
210
209
  }
211
210
 
211
+ declare const listPublishedApps: (...args: Parameters<PublishedAppsResource["listPublishedApps"]>) => Promise<{
212
+ session_id: string;
213
+ name: string;
214
+ url: string;
215
+ host_port: number;
216
+ app_port: number;
217
+ icon: string;
218
+ open_in: string;
219
+ created_at: number;
220
+ status: "running" | "restarting" | "exited";
221
+ os_app_id: string;
222
+ os_registered: boolean;
223
+ }[]>;
224
+ declare const unpublishApp: (...args: Parameters<PublishedAppsResource["unpublishApp"]>) => Promise<{
225
+ ok: boolean;
226
+ os_app_id?: string | undefined;
227
+ os_registered?: boolean | undefined;
228
+ }>;
229
+
230
+ declare const publishedApps_PublishedApp: typeof PublishedApp;
231
+ declare const publishedApps_PublishedAppListResponse: typeof PublishedAppListResponse;
232
+ declare const publishedApps_PublishedAppStatus: typeof PublishedAppStatus;
233
+ declare const publishedApps_PublishedAppsResource: typeof PublishedAppsResource;
234
+ declare const publishedApps_UnpublishAppResponse: typeof UnpublishAppResponse;
235
+ declare const publishedApps_listPublishedApps: typeof listPublishedApps;
236
+ declare const publishedApps_unpublishApp: typeof unpublishApp;
237
+ declare namespace publishedApps {
238
+ export { publishedApps_PublishedApp as PublishedApp, publishedApps_PublishedAppListResponse as PublishedAppListResponse, publishedApps_PublishedAppStatus as PublishedAppStatus, publishedApps_PublishedAppsResource as PublishedAppsResource, publishedApps_UnpublishAppResponse as UnpublishAppResponse, publishedApps_listPublishedApps as listPublishedApps, publishedApps_unpublishApp as unpublishApp };
239
+ }
240
+
241
+ interface ProdSolution {
242
+ id: string;
243
+ name: string;
244
+ description?: string | null;
245
+ status: string;
246
+ current_dag_version: number;
247
+ current_architecture_version?: number;
248
+ created_by: string;
249
+ created_at: string;
250
+ updated_at: string;
251
+ session_id?: string | null;
252
+ ai_assist?: boolean;
253
+ flow_session_id?: string | null;
254
+ flow_ai_assist?: boolean;
255
+ architecture_session_id?: string | null;
256
+ architecture_ai_assist?: boolean;
257
+ }
258
+ interface DslStep {
259
+ id: string;
260
+ type: string;
261
+ name: string;
262
+ next?: string[];
263
+ branches?: string[];
264
+ condition?: string;
265
+ true?: string[];
266
+ false?: string[];
267
+ body?: string[];
268
+ }
269
+ interface DagPayload {
270
+ steps: DslStep[];
271
+ viewport?: Record<string, unknown> | null;
272
+ }
273
+ interface DagVersion {
274
+ solution_id: string;
275
+ version: number;
276
+ steps: DslStep[];
277
+ viewport?: Record<string, unknown> | null;
278
+ created_at: string;
279
+ created_by: string;
280
+ message?: string | null;
281
+ change_type: string;
282
+ rollback_from_version?: number | null;
283
+ is_published: boolean;
284
+ }
285
+ interface DagVersionListItem {
286
+ version: number;
287
+ created_at: string;
288
+ created_by: string;
289
+ message?: string | null;
290
+ change_type: string;
291
+ rollback_from_version?: number | null;
292
+ is_published: boolean;
293
+ }
294
+ interface ArchitectureNode {
295
+ id: string;
296
+ name: string;
297
+ parent_id?: string | null;
298
+ dashed_parent_ids?: string[];
299
+ title?: string;
300
+ description?: string;
301
+ }
302
+ interface ArchitecturePayload {
303
+ nodes: ArchitectureNode[];
304
+ viewport?: Record<string, unknown> | null;
305
+ }
306
+ interface ArchitectureVersion extends ArchitecturePayload {
307
+ solution_id: string;
308
+ version: number;
309
+ created_at: string;
310
+ created_by: string;
311
+ message?: string | null;
312
+ change_type: string;
313
+ rollback_from_version?: number | null;
314
+ is_published: boolean;
315
+ }
316
+ type ArchitectureVersionListItem = DagVersionListItem;
317
+ interface MulticaRuntime {
318
+ id: string;
319
+ name?: string;
320
+ [key: string]: unknown;
321
+ }
322
+ interface MulticaAgent {
323
+ id: string;
324
+ name?: string;
325
+ runtime_id?: string;
326
+ visibility?: string;
327
+ instructions?: string;
328
+ [key: string]: unknown;
329
+ }
330
+ interface ProdAgentPreviewUrl {
331
+ name: string;
332
+ url: string;
333
+ }
334
+ interface ProdAgentCatalogRole {
335
+ id: string;
336
+ name: string;
337
+ description?: string;
338
+ }
339
+ interface ProdAgentCatalogSolution {
340
+ id: string;
341
+ name: string;
342
+ layout_type: string;
343
+ initial_mode?: string | null;
344
+ roles: ProdAgentCatalogRole[];
345
+ }
346
+ interface ProdAgentRecord {
347
+ id: string;
348
+ user_id: string;
349
+ name: string;
350
+ icon: string;
351
+ agent_id: string;
352
+ solution_id: string;
353
+ biz_role_id: string;
354
+ agent_template: string;
355
+ initial_mode?: string | null;
356
+ skills: string[];
357
+ skills_data: Record<string, unknown>;
358
+ skills_data_raw: Record<string, string>;
359
+ init_script: string;
360
+ layout_type: string;
361
+ preview_urls: ProdAgentPreviewUrl[];
362
+ runtime_provider: string;
363
+ visibility: string;
364
+ instructions: string;
365
+ instantiated: boolean;
366
+ instantiated_agent_id?: string | null;
367
+ instantiated_at?: string | null;
368
+ instantiate_error?: string | null;
369
+ instantiated_agent?: Record<string, unknown>;
370
+ create_warning?: string;
371
+ created_at: string;
372
+ updated_at: string;
373
+ }
374
+ interface ProdUser {
375
+ sub: string;
376
+ email?: string;
377
+ name?: string;
378
+ preferred_username?: string;
379
+ picture?: string | null;
380
+ }
381
+ interface ProdUserTokenStatus {
382
+ sub: string;
383
+ email: string;
384
+ ok: boolean;
385
+ changed: boolean;
386
+ message: string;
387
+ }
388
+ interface UserWorkspace {
389
+ id: string;
390
+ name?: string;
391
+ slug?: string;
392
+ role?: string;
393
+ [key: string]: unknown;
394
+ }
395
+ interface CreateUserWorkspaceRequest {
396
+ name: string;
397
+ description?: string;
398
+ }
399
+ interface WorkspaceIssueCreateRequest {
400
+ title: string;
401
+ description?: string;
402
+ priority?: "urgent" | "high" | "medium" | "low" | "none";
403
+ status?: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled";
404
+ assignee?: string;
405
+ assignee_type?: IssueAssigneeType;
406
+ assignee_id?: string;
407
+ project?: string;
408
+ }
409
+ interface WorkspaceIssue {
410
+ id?: string;
411
+ workspace_id?: string;
412
+ number?: number;
413
+ identifier?: string;
414
+ title?: string;
415
+ issue_url?: string;
416
+ description?: string | null;
417
+ status?: IssueStatus;
418
+ priority?: IssuePriority;
419
+ assignee?: string;
420
+ assignee_type?: IssueAssigneeType | null;
421
+ assignee_id?: string | null;
422
+ creator_type?: IssueAssigneeType;
423
+ creator_id?: string;
424
+ parent_issue_id?: string | null;
425
+ project_id?: string | null;
426
+ start_date?: string | null;
427
+ due_date?: string | null;
428
+ metadata?: Record<string, unknown>;
429
+ labels?: Array<{
430
+ id: string;
431
+ name: string;
432
+ color?: string | null;
433
+ }>;
434
+ created_at?: string;
435
+ updated_at?: string;
436
+ [key: string]: unknown;
437
+ }
438
+ type IssueStatus = "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled";
439
+ type IssuePriority = "urgent" | "high" | "medium" | "low" | "none";
440
+ type IssueAssigneeType = "member" | "agent" | "squad";
441
+ interface WorkspaceIssueListResponse {
442
+ issues: WorkspaceIssue[];
443
+ total: number;
444
+ }
445
+ interface WorkspaceIssueGroup {
446
+ id: string;
447
+ assignee_type: IssueAssigneeType | null;
448
+ assignee_id: string | null;
449
+ issues: WorkspaceIssue[];
450
+ total: number;
451
+ }
452
+ interface WorkspaceIssueGroupedResponse {
453
+ groups: WorkspaceIssueGroup[];
454
+ }
455
+ interface WorkspaceIssueTimelineEntry {
456
+ type: "activity" | "comment";
457
+ id: string;
458
+ actor_type: string;
459
+ actor_id: string;
460
+ created_at: string;
461
+ action?: string;
462
+ details?: Record<string, unknown>;
463
+ content?: string;
464
+ parent_id?: string | null;
465
+ updated_at?: string;
466
+ comment_type?: string;
467
+ }
468
+ interface WorkspaceIssueTaskRun {
469
+ id: string;
470
+ status?: string;
471
+ title?: string;
472
+ name?: string;
473
+ goal?: string;
474
+ created_at?: string;
475
+ updated_at?: string;
476
+ started_at?: string | null;
477
+ completed_at?: string | null;
478
+ [key: string]: unknown;
479
+ }
480
+ interface WorkspaceIssueUsageSummary {
481
+ total_tokens?: number;
482
+ total_cost_usd?: number;
483
+ input_tokens?: number;
484
+ output_tokens?: number;
485
+ [key: string]: unknown;
486
+ }
487
+ interface WorkspaceMember {
488
+ id?: string;
489
+ workspace_id?: string;
490
+ user_id?: string;
491
+ role?: string;
492
+ name?: string;
493
+ email?: string;
494
+ avatar_url?: string | null;
495
+ created_at?: string;
496
+ [key: string]: unknown;
497
+ }
498
+ interface WorkspaceAssistantSession {
499
+ user_id?: string;
500
+ workspace_id: string;
501
+ biz_role_id: string;
502
+ session_id?: string | null;
503
+ created_at?: string | null;
504
+ updated_at?: string | null;
505
+ }
506
+ declare function listProdSolutions(): Promise<ProdSolution[]>;
507
+ declare function listProdUsers(): Promise<ProdUser[]>;
508
+ declare function checkProdUserTokenStatus(users: ProdUser[]): Promise<ProdUserTokenStatus[]>;
509
+ declare function listUserWorkspaces(): Promise<UserWorkspace[]>;
510
+ declare function createUserWorkspace(request: CreateUserWorkspaceRequest): Promise<UserWorkspace>;
511
+ declare function getUserWorkspace(workspaceId: string): Promise<Record<string, unknown>>;
512
+ declare function listWorkspaceAgents(workspaceId: string): Promise<Array<Record<string, unknown>>>;
513
+ declare function listWorkspaceMembers(workspaceId: string): Promise<WorkspaceMember[]>;
514
+ declare function getWorkspaceAssistantSession(workspaceId: string, bizRoleId: string): Promise<WorkspaceAssistantSession>;
515
+ declare function upsertWorkspaceAssistantSession(workspaceId: string, request: {
516
+ biz_role_id: string;
517
+ session_id: string;
518
+ }): Promise<WorkspaceAssistantSession>;
519
+ declare function createWorkspaceIssue(workspaceId: string, request: WorkspaceIssueCreateRequest): Promise<Record<string, unknown>>;
520
+ declare function listWorkspaceIssues(workspaceId: string): Promise<WorkspaceIssue[]>;
521
+ declare function queryWorkspaceIssues(workspaceId: string, params?: {
522
+ status?: IssueStatus;
523
+ priority?: IssuePriority;
524
+ limit?: number;
525
+ offset?: number;
526
+ open_only?: boolean;
527
+ }): Promise<WorkspaceIssueListResponse>;
528
+ declare function queryWorkspaceGroupedIssues(workspaceId: string, params: {
529
+ group_by: "assignee";
530
+ statuses?: string;
531
+ limit?: number;
532
+ offset?: number;
533
+ }): Promise<WorkspaceIssueGroupedResponse>;
534
+ declare function getWorkspaceIssue(workspaceId: string, issueId: string): Promise<WorkspaceIssue>;
535
+ declare function updateWorkspaceIssue(workspaceId: string, issueId: string, updates: Partial<WorkspaceIssue>): Promise<WorkspaceIssue>;
536
+ declare function getWorkspaceIssueTimeline(workspaceId: string, issueId: string): Promise<WorkspaceIssueTimelineEntry[]>;
537
+ declare function getWorkspaceIssueTaskRuns(workspaceId: string, issueId: string): Promise<WorkspaceIssueTaskRun[]>;
538
+ declare function getWorkspaceIssueUsage(workspaceId: string, issueId: string): Promise<WorkspaceIssueUsageSummary>;
539
+ declare function createProdSolution(request: {
540
+ name: string;
541
+ description?: string | null;
542
+ session_id?: string | null;
543
+ ai_assist?: boolean;
544
+ flow_session_id?: string | null;
545
+ flow_ai_assist?: boolean;
546
+ architecture_session_id?: string | null;
547
+ architecture_ai_assist?: boolean;
548
+ }): Promise<ProdSolution>;
549
+ declare function updateProdSolution(solutionId: string, request: {
550
+ name?: string;
551
+ description?: string | null;
552
+ status?: string;
553
+ }): Promise<ProdSolution>;
554
+ declare function deleteProdSolution(solutionId: string): Promise<{
555
+ ok: boolean;
556
+ }>;
557
+ declare function updateSessionId(solutionId: string, sessionId: string): Promise<{
558
+ ok: boolean;
559
+ }>;
560
+ declare function getCurrentDag(solutionId: string): Promise<DagVersion>;
561
+ declare function saveDag(solutionId: string, request: {
562
+ base_version: number;
563
+ dag: DagPayload;
564
+ message?: string | null;
565
+ }): Promise<DagVersion>;
566
+ declare function validateDag(solutionId: string, dag: DagPayload): Promise<{
567
+ ok: boolean;
568
+ errors: Array<{
569
+ code: string;
570
+ message: string;
571
+ }>;
572
+ }>;
573
+ declare function publishDag(solutionId: string, request?: {
574
+ dag?: DagPayload;
575
+ version?: number;
576
+ message?: string | null;
577
+ }): Promise<DagVersion>;
578
+ declare function listDagVersions(solutionId: string): Promise<DagVersionListItem[]>;
579
+ declare function getDagVersion(solutionId: string, version: number): Promise<DagVersion>;
580
+ declare function rollbackDag(solutionId: string, request: {
581
+ from_version: number;
582
+ message?: string | null;
583
+ }): Promise<DagVersion>;
584
+ declare function deleteVersion(solutionId: string, version: number): Promise<{
585
+ ok: boolean;
586
+ }>;
587
+ declare function getCurrentArchitecture(solutionId: string): Promise<ArchitectureVersion>;
588
+ declare function saveArchitecture(solutionId: string, request: {
589
+ base_version: number;
590
+ architecture: ArchitecturePayload;
591
+ message?: string | null;
592
+ }): Promise<ArchitectureVersion>;
593
+ declare function validateArchitecture(solutionId: string, architecture: ArchitecturePayload): Promise<{
594
+ ok: boolean;
595
+ errors: Array<{
596
+ code: string;
597
+ message: string;
598
+ }>;
599
+ }>;
600
+ declare function publishArchitecture(solutionId: string, request?: {
601
+ architecture?: ArchitecturePayload;
602
+ version?: number;
603
+ message?: string | null;
604
+ }): Promise<ArchitectureVersion>;
605
+ declare function listArchitectureVersions(solutionId: string): Promise<ArchitectureVersionListItem[]>;
606
+ declare function getArchitectureVersion(solutionId: string, version: number): Promise<ArchitectureVersion>;
607
+ declare function rollbackArchitecture(solutionId: string, request: {
608
+ from_version: number;
609
+ message?: string | null;
610
+ }): Promise<ArchitectureVersion>;
611
+ declare function deleteArchitectureVersion(solutionId: string, version: number): Promise<{
612
+ ok: boolean;
613
+ }>;
614
+ declare function listAgentRuntimes(): Promise<MulticaRuntime[]>;
615
+ declare function listAgents(includeArchived?: boolean): Promise<MulticaAgent[]>;
616
+ declare function getAgent(agentId: string): Promise<MulticaAgent>;
617
+ declare function createAgent(request: {
618
+ name: string;
619
+ runtime_id: string;
620
+ instructions?: string;
621
+ visibility?: string;
622
+ }): Promise<MulticaAgent>;
623
+ declare function listProdAgents(): Promise<ProdAgentRecord[]>;
624
+ declare function getProdAgent(providerKey: string): Promise<ProdAgentRecord>;
625
+ declare function listProdAgentCatalogSolutions(): Promise<ProdAgentCatalogSolution[]>;
626
+ declare function createProdAgent(request: {
627
+ name: string;
628
+ icon?: string;
629
+ agent_id?: string | null;
630
+ solution_id: string;
631
+ biz_role_id: string;
632
+ agent_template: string;
633
+ initial_mode?: string | null;
634
+ skills: string[];
635
+ skills_data: Record<string, string>;
636
+ init_script: string;
637
+ layout_type: string;
638
+ preview_urls: ProdAgentPreviewUrl[];
639
+ runtime_provider: string;
640
+ visibility: string;
641
+ instructions: string;
642
+ }): Promise<ProdAgentRecord>;
643
+ declare function instantiateProdAgent(recordId: string): Promise<ProdAgentRecord & {
644
+ ok?: boolean;
645
+ message?: string;
646
+ }>;
647
+ declare function deleteProdAgent(recordId: string): Promise<{
648
+ ok: boolean;
649
+ }>;
650
+ declare function startProdAgentSession(recordId: string): Promise<{
651
+ session_id: string;
652
+ route_solution_id: string;
653
+ }>;
654
+ declare function updateProdAgent(recordId: string, request: {
655
+ name: string;
656
+ icon?: string;
657
+ solution_id: string;
658
+ biz_role_id: string;
659
+ agent_template: string;
660
+ initial_mode?: string | null;
661
+ skills: string[];
662
+ skills_data: Record<string, string>;
663
+ init_script: string;
664
+ layout_type: string;
665
+ preview_urls: ProdAgentPreviewUrl[];
666
+ runtime_provider: string;
667
+ }): Promise<ProdAgentRecord>;
668
+
669
+ type prodSolution_ArchitectureNode = ArchitectureNode;
670
+ type prodSolution_ArchitecturePayload = ArchitecturePayload;
671
+ type prodSolution_ArchitectureVersion = ArchitectureVersion;
672
+ type prodSolution_ArchitectureVersionListItem = ArchitectureVersionListItem;
673
+ type prodSolution_CreateUserWorkspaceRequest = CreateUserWorkspaceRequest;
674
+ type prodSolution_DagPayload = DagPayload;
675
+ type prodSolution_DagVersion = DagVersion;
676
+ type prodSolution_DagVersionListItem = DagVersionListItem;
677
+ type prodSolution_DslStep = DslStep;
678
+ type prodSolution_IssueAssigneeType = IssueAssigneeType;
679
+ type prodSolution_IssuePriority = IssuePriority;
680
+ type prodSolution_IssueStatus = IssueStatus;
681
+ type prodSolution_MulticaAgent = MulticaAgent;
682
+ type prodSolution_MulticaRuntime = MulticaRuntime;
683
+ type prodSolution_ProdAgentCatalogRole = ProdAgentCatalogRole;
684
+ type prodSolution_ProdAgentCatalogSolution = ProdAgentCatalogSolution;
685
+ type prodSolution_ProdAgentPreviewUrl = ProdAgentPreviewUrl;
686
+ type prodSolution_ProdAgentRecord = ProdAgentRecord;
687
+ type prodSolution_ProdSolution = ProdSolution;
688
+ type prodSolution_ProdUser = ProdUser;
689
+ type prodSolution_ProdUserTokenStatus = ProdUserTokenStatus;
690
+ type prodSolution_UserWorkspace = UserWorkspace;
691
+ type prodSolution_WorkspaceAssistantSession = WorkspaceAssistantSession;
692
+ type prodSolution_WorkspaceIssue = WorkspaceIssue;
693
+ type prodSolution_WorkspaceIssueCreateRequest = WorkspaceIssueCreateRequest;
694
+ type prodSolution_WorkspaceIssueGroup = WorkspaceIssueGroup;
695
+ type prodSolution_WorkspaceIssueGroupedResponse = WorkspaceIssueGroupedResponse;
696
+ type prodSolution_WorkspaceIssueListResponse = WorkspaceIssueListResponse;
697
+ type prodSolution_WorkspaceIssueTaskRun = WorkspaceIssueTaskRun;
698
+ type prodSolution_WorkspaceIssueTimelineEntry = WorkspaceIssueTimelineEntry;
699
+ type prodSolution_WorkspaceIssueUsageSummary = WorkspaceIssueUsageSummary;
700
+ type prodSolution_WorkspaceMember = WorkspaceMember;
701
+ declare const prodSolution_checkProdUserTokenStatus: typeof checkProdUserTokenStatus;
702
+ declare const prodSolution_createAgent: typeof createAgent;
703
+ declare const prodSolution_createProdAgent: typeof createProdAgent;
704
+ declare const prodSolution_createProdSolution: typeof createProdSolution;
705
+ declare const prodSolution_createUserWorkspace: typeof createUserWorkspace;
706
+ declare const prodSolution_createWorkspaceIssue: typeof createWorkspaceIssue;
707
+ declare const prodSolution_deleteArchitectureVersion: typeof deleteArchitectureVersion;
708
+ declare const prodSolution_deleteProdAgent: typeof deleteProdAgent;
709
+ declare const prodSolution_deleteProdSolution: typeof deleteProdSolution;
710
+ declare const prodSolution_deleteVersion: typeof deleteVersion;
711
+ declare const prodSolution_getAgent: typeof getAgent;
712
+ declare const prodSolution_getArchitectureVersion: typeof getArchitectureVersion;
713
+ declare const prodSolution_getCurrentArchitecture: typeof getCurrentArchitecture;
714
+ declare const prodSolution_getCurrentDag: typeof getCurrentDag;
715
+ declare const prodSolution_getDagVersion: typeof getDagVersion;
716
+ declare const prodSolution_getProdAgent: typeof getProdAgent;
717
+ declare const prodSolution_getUserWorkspace: typeof getUserWorkspace;
718
+ declare const prodSolution_getWorkspaceAssistantSession: typeof getWorkspaceAssistantSession;
719
+ declare const prodSolution_getWorkspaceIssue: typeof getWorkspaceIssue;
720
+ declare const prodSolution_getWorkspaceIssueTaskRuns: typeof getWorkspaceIssueTaskRuns;
721
+ declare const prodSolution_getWorkspaceIssueTimeline: typeof getWorkspaceIssueTimeline;
722
+ declare const prodSolution_getWorkspaceIssueUsage: typeof getWorkspaceIssueUsage;
723
+ declare const prodSolution_instantiateProdAgent: typeof instantiateProdAgent;
724
+ declare const prodSolution_listAgentRuntimes: typeof listAgentRuntimes;
725
+ declare const prodSolution_listAgents: typeof listAgents;
726
+ declare const prodSolution_listArchitectureVersions: typeof listArchitectureVersions;
727
+ declare const prodSolution_listDagVersions: typeof listDagVersions;
728
+ declare const prodSolution_listProdAgentCatalogSolutions: typeof listProdAgentCatalogSolutions;
729
+ declare const prodSolution_listProdAgents: typeof listProdAgents;
730
+ declare const prodSolution_listProdSolutions: typeof listProdSolutions;
731
+ declare const prodSolution_listProdUsers: typeof listProdUsers;
732
+ declare const prodSolution_listUserWorkspaces: typeof listUserWorkspaces;
733
+ declare const prodSolution_listWorkspaceAgents: typeof listWorkspaceAgents;
734
+ declare const prodSolution_listWorkspaceIssues: typeof listWorkspaceIssues;
735
+ declare const prodSolution_listWorkspaceMembers: typeof listWorkspaceMembers;
736
+ declare const prodSolution_publishArchitecture: typeof publishArchitecture;
737
+ declare const prodSolution_publishDag: typeof publishDag;
738
+ declare const prodSolution_queryWorkspaceGroupedIssues: typeof queryWorkspaceGroupedIssues;
739
+ declare const prodSolution_queryWorkspaceIssues: typeof queryWorkspaceIssues;
740
+ declare const prodSolution_rollbackArchitecture: typeof rollbackArchitecture;
741
+ declare const prodSolution_rollbackDag: typeof rollbackDag;
742
+ declare const prodSolution_saveArchitecture: typeof saveArchitecture;
743
+ declare const prodSolution_saveDag: typeof saveDag;
744
+ declare const prodSolution_startProdAgentSession: typeof startProdAgentSession;
745
+ declare const prodSolution_updateProdAgent: typeof updateProdAgent;
746
+ declare const prodSolution_updateProdSolution: typeof updateProdSolution;
747
+ declare const prodSolution_updateSessionId: typeof updateSessionId;
748
+ declare const prodSolution_updateWorkspaceIssue: typeof updateWorkspaceIssue;
749
+ declare const prodSolution_upsertWorkspaceAssistantSession: typeof upsertWorkspaceAssistantSession;
750
+ declare const prodSolution_validateArchitecture: typeof validateArchitecture;
751
+ declare const prodSolution_validateDag: typeof validateDag;
752
+ declare namespace prodSolution {
753
+ export { type prodSolution_ArchitectureNode as ArchitectureNode, type prodSolution_ArchitecturePayload as ArchitecturePayload, type prodSolution_ArchitectureVersion as ArchitectureVersion, type prodSolution_ArchitectureVersionListItem as ArchitectureVersionListItem, type prodSolution_CreateUserWorkspaceRequest as CreateUserWorkspaceRequest, type prodSolution_DagPayload as DagPayload, type prodSolution_DagVersion as DagVersion, type prodSolution_DagVersionListItem as DagVersionListItem, type prodSolution_DslStep as DslStep, type prodSolution_IssueAssigneeType as IssueAssigneeType, type prodSolution_IssuePriority as IssuePriority, type prodSolution_IssueStatus as IssueStatus, type prodSolution_MulticaAgent as MulticaAgent, type prodSolution_MulticaRuntime as MulticaRuntime, type prodSolution_ProdAgentCatalogRole as ProdAgentCatalogRole, type prodSolution_ProdAgentCatalogSolution as ProdAgentCatalogSolution, type prodSolution_ProdAgentPreviewUrl as ProdAgentPreviewUrl, type prodSolution_ProdAgentRecord as ProdAgentRecord, type prodSolution_ProdSolution as ProdSolution, type prodSolution_ProdUser as ProdUser, type prodSolution_ProdUserTokenStatus as ProdUserTokenStatus, type prodSolution_UserWorkspace as UserWorkspace, type prodSolution_WorkspaceAssistantSession as WorkspaceAssistantSession, type prodSolution_WorkspaceIssue as WorkspaceIssue, type prodSolution_WorkspaceIssueCreateRequest as WorkspaceIssueCreateRequest, type prodSolution_WorkspaceIssueGroup as WorkspaceIssueGroup, type prodSolution_WorkspaceIssueGroupedResponse as WorkspaceIssueGroupedResponse, type prodSolution_WorkspaceIssueListResponse as WorkspaceIssueListResponse, type prodSolution_WorkspaceIssueTaskRun as WorkspaceIssueTaskRun, type prodSolution_WorkspaceIssueTimelineEntry as WorkspaceIssueTimelineEntry, type prodSolution_WorkspaceIssueUsageSummary as WorkspaceIssueUsageSummary, type prodSolution_WorkspaceMember as WorkspaceMember, prodSolution_checkProdUserTokenStatus as checkProdUserTokenStatus, prodSolution_createAgent as createAgent, prodSolution_createProdAgent as createProdAgent, prodSolution_createProdSolution as createProdSolution, prodSolution_createUserWorkspace as createUserWorkspace, prodSolution_createWorkspaceIssue as createWorkspaceIssue, prodSolution_deleteArchitectureVersion as deleteArchitectureVersion, prodSolution_deleteProdAgent as deleteProdAgent, prodSolution_deleteProdSolution as deleteProdSolution, prodSolution_deleteVersion as deleteVersion, prodSolution_getAgent as getAgent, prodSolution_getArchitectureVersion as getArchitectureVersion, prodSolution_getCurrentArchitecture as getCurrentArchitecture, prodSolution_getCurrentDag as getCurrentDag, prodSolution_getDagVersion as getDagVersion, prodSolution_getProdAgent as getProdAgent, prodSolution_getUserWorkspace as getUserWorkspace, prodSolution_getWorkspaceAssistantSession as getWorkspaceAssistantSession, prodSolution_getWorkspaceIssue as getWorkspaceIssue, prodSolution_getWorkspaceIssueTaskRuns as getWorkspaceIssueTaskRuns, prodSolution_getWorkspaceIssueTimeline as getWorkspaceIssueTimeline, prodSolution_getWorkspaceIssueUsage as getWorkspaceIssueUsage, prodSolution_instantiateProdAgent as instantiateProdAgent, prodSolution_listAgentRuntimes as listAgentRuntimes, prodSolution_listAgents as listAgents, prodSolution_listArchitectureVersions as listArchitectureVersions, prodSolution_listDagVersions as listDagVersions, prodSolution_listProdAgentCatalogSolutions as listProdAgentCatalogSolutions, prodSolution_listProdAgents as listProdAgents, prodSolution_listProdSolutions as listProdSolutions, prodSolution_listProdUsers as listProdUsers, prodSolution_listUserWorkspaces as listUserWorkspaces, prodSolution_listWorkspaceAgents as listWorkspaceAgents, prodSolution_listWorkspaceIssues as listWorkspaceIssues, prodSolution_listWorkspaceMembers as listWorkspaceMembers, prodSolution_publishArchitecture as publishArchitecture, prodSolution_publishDag as publishDag, prodSolution_queryWorkspaceGroupedIssues as queryWorkspaceGroupedIssues, prodSolution_queryWorkspaceIssues as queryWorkspaceIssues, prodSolution_rollbackArchitecture as rollbackArchitecture, prodSolution_rollbackDag as rollbackDag, prodSolution_saveArchitecture as saveArchitecture, prodSolution_saveDag as saveDag, prodSolution_startProdAgentSession as startProdAgentSession, prodSolution_updateProdAgent as updateProdAgent, prodSolution_updateProdSolution as updateProdSolution, prodSolution_updateSessionId as updateSessionId, prodSolution_updateWorkspaceIssue as updateWorkspaceIssue, prodSolution_upsertWorkspaceAssistantSession as upsertWorkspaceAssistantSession, prodSolution_validateArchitecture as validateArchitecture, prodSolution_validateDag as validateDag };
754
+ }
755
+
756
+ interface SessionExtraInfo {
757
+ session_id?: string | null;
758
+ extra?: Record<string, unknown> | null;
759
+ created_at?: string;
760
+ updated_at?: string;
761
+ }
212
762
  declare const listSessions: (...args: Parameters<SessionsResource["listSessions"]>) => Promise<SessionInfo[]>;
213
763
  declare const listSessionsPaginated: (...args: Parameters<SessionsResource["listSessionsPaginated"]>) => Promise<PaginatedSessionsResult>;
214
764
  declare const listSessionsWithSkillData: (...args: Parameters<SessionsResource["listSessionsWithSkillData"]>) => Promise<SkillDevSession[]>;
@@ -303,6 +853,7 @@ declare const previewImport: (...args: Parameters<SessionsResource["previewImpor
303
853
  declare const importSession: (...args: Parameters<SessionsResource["importSession"]>) => Promise<{
304
854
  session_id: string;
305
855
  }>;
856
+ declare function getSessionExtraInfoByTask(taskId: string): Promise<SessionExtraInfo>;
306
857
 
307
858
  declare const sessions_CheckpointNode: typeof CheckpointNode;
308
859
  declare const sessions_ContentPart: typeof ContentPart;
@@ -314,6 +865,7 @@ declare const sessions_ImportPreviewScenario: typeof ImportPreviewScenario;
314
865
  declare const sessions_ImportPreviewSkill: typeof ImportPreviewSkill;
315
866
  declare const sessions_PaginatedSessionsResult: typeof PaginatedSessionsResult;
316
867
  declare const sessions_SessionContextStats: typeof SessionContextStats;
868
+ type sessions_SessionExtraInfo = SessionExtraInfo;
317
869
  declare const sessions_SessionHistory: typeof SessionHistory;
318
870
  declare const sessions_SessionsResource: typeof SessionsResource;
319
871
  declare const sessions_ShareLinkResult: typeof ShareLinkResult;
@@ -333,6 +885,7 @@ declare const sessions_getDownloadDirUrl: typeof getDownloadDirUrl;
333
885
  declare const sessions_getSession: typeof getSession;
334
886
  declare const sessions_getSessionCheckpoints: typeof getSessionCheckpoints;
335
887
  declare const sessions_getSessionContextStats: typeof getSessionContextStats;
888
+ declare const sessions_getSessionExtraInfoByTask: typeof getSessionExtraInfoByTask;
336
889
  declare const sessions_getSessionHistory: typeof getSessionHistory;
337
890
  declare const sessions_getSessionTasks: typeof getSessionTasks;
338
891
  declare const sessions_getSessionTurns: typeof getSessionTurns;
@@ -361,7 +914,7 @@ declare const sessions_updateSharing: typeof updateSharing;
361
914
  declare const sessions_uploadFiles: typeof uploadFiles;
362
915
  declare const sessions_writeFile: typeof writeFile;
363
916
  declare namespace sessions {
364
- export { sessions_CheckpointNode as CheckpointNode, sessions_ContentPart as ContentPart, sessions_CreateSessionRequest as CreateSessionRequest, sessions_FileEntry as FileEntry, sessions_HistoryNode as HistoryNode, sessions_ImportPreview as ImportPreview, sessions_ImportPreviewScenario as ImportPreviewScenario, sessions_ImportPreviewSkill as ImportPreviewSkill, sessions_PaginatedSessionsResult as PaginatedSessionsResult, sessions_SessionContextStats as SessionContextStats, sessions_SessionHistory as SessionHistory, sessions_SessionsResource as SessionsResource, sessions_ShareLinkResult as ShareLinkResult, sessions_SkillDevSession as SkillDevSession, sessions_TokenizeResult as TokenizeResult, sessions_UploadFileEntry as UploadFileEntry, sessions_checkoutSession as checkoutSession, sessions_copyFile as copyFile, sessions_createSession as createSession, sessions_createSessionWithRequest as createSessionWithRequest, sessions_createShare as createShare, sessions_deleteFile as deleteFile, sessions_deleteSession as deleteSession, sessions_exportSession as exportSession, sessions_getBackgroundTask as getBackgroundTask, sessions_getDownloadDirUrl as getDownloadDirUrl, sessions_getSession as getSession, sessions_getSessionCheckpoints as getSessionCheckpoints, sessions_getSessionContextStats as getSessionContextStats, sessions_getSessionHistory as getSessionHistory, sessions_getSessionTasks as getSessionTasks, sessions_getSessionTurns as getSessionTurns, sessions_getSharedSession as getSharedSession, sessions_importSession as importSession, sessions_listBackgroundTasks as listBackgroundTasks, sessions_listDir as listDir, sessions_listSessions as listSessions, sessions_listSessionsPaginated as listSessionsPaginated, sessions_listSessionsWithSkillData as listSessionsWithSkillData, sessions_pinSession as pinSession, sessions_previewImport as previewImport, sessions_renameFile as renameFile, sessions_revokeShare as revokeShare, sessions_rewindSession as rewindSession, sessions_shareFile as shareFile, sessions_startReplaySession as startReplaySession, sessions_stopBackgroundTask as stopBackgroundTask, sessions_switchBranch as switchBranch, sessions_tokenizeMessages as tokenizeMessages, sessions_tokenizePrompt as tokenizePrompt, sessions_updateReplaySession as updateReplaySession, sessions_updateSession as updateSession, sessions_updateSessionMemory as updateSessionMemory, sessions_updateSharing as updateSharing, sessions_uploadFiles as uploadFiles, sessions_writeFile as writeFile };
917
+ export { sessions_CheckpointNode as CheckpointNode, sessions_ContentPart as ContentPart, sessions_CreateSessionRequest as CreateSessionRequest, sessions_FileEntry as FileEntry, sessions_HistoryNode as HistoryNode, sessions_ImportPreview as ImportPreview, sessions_ImportPreviewScenario as ImportPreviewScenario, sessions_ImportPreviewSkill as ImportPreviewSkill, sessions_PaginatedSessionsResult as PaginatedSessionsResult, sessions_SessionContextStats as SessionContextStats, type sessions_SessionExtraInfo as SessionExtraInfo, sessions_SessionHistory as SessionHistory, sessions_SessionsResource as SessionsResource, sessions_ShareLinkResult as ShareLinkResult, sessions_SkillDevSession as SkillDevSession, sessions_TokenizeResult as TokenizeResult, sessions_UploadFileEntry as UploadFileEntry, sessions_checkoutSession as checkoutSession, sessions_copyFile as copyFile, sessions_createSession as createSession, sessions_createSessionWithRequest as createSessionWithRequest, sessions_createShare as createShare, sessions_deleteFile as deleteFile, sessions_deleteSession as deleteSession, sessions_exportSession as exportSession, sessions_getBackgroundTask as getBackgroundTask, sessions_getDownloadDirUrl as getDownloadDirUrl, sessions_getSession as getSession, sessions_getSessionCheckpoints as getSessionCheckpoints, sessions_getSessionContextStats as getSessionContextStats, sessions_getSessionExtraInfoByTask as getSessionExtraInfoByTask, sessions_getSessionHistory as getSessionHistory, sessions_getSessionTasks as getSessionTasks, sessions_getSessionTurns as getSessionTurns, sessions_getSharedSession as getSharedSession, sessions_importSession as importSession, sessions_listBackgroundTasks as listBackgroundTasks, sessions_listDir as listDir, sessions_listSessions as listSessions, sessions_listSessionsPaginated as listSessionsPaginated, sessions_listSessionsWithSkillData as listSessionsWithSkillData, sessions_pinSession as pinSession, sessions_previewImport as previewImport, sessions_renameFile as renameFile, sessions_revokeShare as revokeShare, sessions_rewindSession as rewindSession, sessions_shareFile as shareFile, sessions_startReplaySession as startReplaySession, sessions_stopBackgroundTask as stopBackgroundTask, sessions_switchBranch as switchBranch, sessions_tokenizeMessages as tokenizeMessages, sessions_tokenizePrompt as tokenizePrompt, sessions_updateReplaySession as updateReplaySession, sessions_updateSession as updateSession, sessions_updateSessionMemory as updateSessionMemory, sessions_updateSharing as updateSharing, sessions_uploadFiles as uploadFiles, sessions_writeFile as writeFile };
365
918
  }
366
919
 
367
920
  declare const getUserPreference: (...args: Parameters<UserPreferencesResource["getUserPreference"]>) => Promise<string | null>;
@@ -1408,4 +1961,4 @@ interface UiBridgeState extends ClientAwareState {
1408
1961
  }
1409
1962
  declare const useUiBridgeStore: zustand.UseBoundStore<zustand.StoreApi<UiBridgeState>>;
1410
1963
 
1411
- export { type ActiveRightTab, type AnalyticsEventName, ApiKeyCreateResponse, ApiKeyPublic, BackgroundTask, BizRole, type BladeBridgeEnvelope, BladeClientOptions, BladeClientProvider, type BladeClientProviderProps, BladeContext, BladeHubScenarioResource, type Card, CardCodeBlock, type CardComponent, type CardComponentProps, CardContext, CardJSON, type ChatEnd, ChatMessage, type ConnectionStatus, type ContentDelta, CreateQuickScenarioPayload, CreateSoftwareFactorySharedFilePayload, CreateSoftwareFactorySoftwarePayload, EnvBucket, EnvVariable, GisGoal, GisMapCommand, GisResource$1 as GisResource, GisState, GisTarget, GlobalSkillStats, InstalledRegistrySkill, type LlmResponseDone, MarkdownContent, Memory, MemoryCreateBody, MemoryListParams, MemoryListResponse, MessageContent, ModelSelector, PartnerSkillInstallPayload, PartnerSkillInstallPayload as PartnerSkillInstallPayloadData, PartnerSkillInstallResult, PartnerSkillInstallResult as PartnerSkillInstallResultData, PatchEnvelope, PlatformEnvBucket, type PreviewTarget, PreviewUrlItem, QuickScenario, RegistryResource, ResourceApi, ResourceBase, ResourceIframe, RuntimeConfig, type RuntimeEvent, Scene, SceneStatus, ScheduledTask, ScheduledTaskCalendarItem, ScheduledTaskCalendarItem as ScheduledTaskCalendarItemData, type ScheduledTaskCreatePayload, ScheduledTask as ScheduledTaskData, ScheduledTaskRun, ScheduledTaskRun as ScheduledTaskRunData, type ScheduledTaskUpdatePayload, SessionDetail, SessionInfo, SessionSkillUploadPayload, SessionSkillUploadPayload as SessionSkillUploadPayloadData, SessionSkillUploadResult, SessionSkillUploadResult as SessionSkillUploadResultData, type SessionStatusEvent, SkillCompletionMenu, type SkillCompletionMenuRef, SkillDetail, SkillMention, SkillOrgListResponse, SkillSearchResult, type SkillSuggestionItem, SkillSummary, SoftwareFactorySharedFile, SoftwareFactorySoftware, Solution, type StepMessageRange, type SystemError, Task, type ToolCallCreated, type ToolResultDone, TurnProjection, type UiMeta, UpdateQuickScenarioPayload, type UseTiptapVoiceInputOptions, type UseTiptapVoiceInputResult, type UseVoiceInputOptions, type UseVoiceInputResult, type VoiceInputError, type VoiceInputStatus, VoiceWaveform, agentApi, agentSocket, apiFetch, apiFetchResponse, apiFetchText, apiKeys as apiKeysApi, attachClientToStores, attachHostBridgeListener, auth as authApi, bootstrapBladeClient, buildMessageContent, buildSessionBinaryPreviewTarget, buildStepRanges, buildVoiceInputUnavailableError, cardRegistry, cn, copyToClipboard, createResourceApi, databaseApi, deriveDeprecateEntryIds, envBuckets as envBucketsApi, getAuthedUrl, getBaseUrl, getBootstrappedClient, getClient, getCodeLanguageFromFilename, getSocket, getTextContent, gisApi, groupMessagesByLoop, isInsideIframe, isUiMeta, knowledgeApi, listSkillOrgs, memories as memoriesApi, models as modelsApi, normalizeCodeLanguage, partnerSkill as partnerSkillApi, publishSkill, resolveEffectiveTheme, resolveSessionFilePreviewTarget, resourceBridgeDispatch, scenarios as scenariosApi, scheduledTasks as scheduledTasksApi, sessions as sessionsApi, setAnalyticsClient, setOnWorkspaceFilesChanged, skillMentionSuggestionKey, skills as skillsApi, softwareFactory as softwareFactoryApi, solutions as solutionsApi, toolApi, trackEvent, transformSlashCommand, uploadFiles, useAgents, useAuthStore, useBackgroundStore, useBackgroundTasks, useBladeClient, useCardContext, useCardState, useCardStateStore, useChat, useChatStore, useCheckSkillFile, useConnectionStore, useDataSources, useGisState, useGisStore, useGlobalSkillStats, useHighlightedCodeHtml, useInputHistory, useKnowledgeBases, useModelConfig, usePreferredModel, useResolvedModel, useRuntimeConfig, useRuntimeFeaturesStore, useRuntimeStore, useSession, useSkills, useTaskStore, useTiptapVoiceInput, useToolProviders, useUiBridgeStore, useUiStore, useVoiceInput, userPreferences as userPreferencesApi };
1964
+ export { type ActiveRightTab, type AnalyticsEventName, ApiKeyCreateResponse, ApiKeyPublic, type ArchitectureNode, type ArchitecturePayload, type ArchitectureVersion, type ArchitectureVersionListItem, BackgroundTask, BizRole, type BladeBridgeEnvelope, BladeClientOptions, BladeClientProvider, type BladeClientProviderProps, BladeContext, BladeHubScenarioResource, type Card, CardCodeBlock, type CardComponent, type CardComponentProps, CardContext, CardJSON, type ChatEnd, ChatMessage, type ConnectionStatus, type ContentDelta, CreateQuickScenarioPayload, CreateSoftwareFactorySharedFilePayload, CreateSoftwareFactorySoftwarePayload, type DagPayload, type DagVersion, type DagVersionListItem, type DslStep, EnvBucket, EnvVariable, GisGoal, GisMapCommand, GisResource$1 as GisResource, GisState, GisTarget, GlobalSkillStats, InstalledRegistrySkill, type IssueAssigneeType, type IssuePriority, type IssueStatus, type LlmResponseDone, MarkdownContent, Memory, MemoryCreateBody, MemoryListParams, MemoryListResponse, MessageContent, ModelSelector, type MulticaAgent, type MulticaRuntime, PartnerSkillInstallPayload, PartnerSkillInstallPayload as PartnerSkillInstallPayloadData, PartnerSkillInstallResult, PartnerSkillInstallResult as PartnerSkillInstallResultData, PatchEnvelope, PlatformEnvBucket, type PreviewTarget, PreviewUrlItem, type ProdAgentCatalogSolution, type ProdAgentPreviewUrl, type ProdAgentRecord, type ProdSolution, type ProdUser, type ProdUserTokenStatus, PublishedApp, PublishedAppListResponse, PublishedAppStatus, QuickScenario, RegistryResource, ResourceApi, ResourceBase, ResourceIframe, RuntimeConfig, type RuntimeEvent, Scene, SceneStatus, ScheduledTask, ScheduledTaskCalendarItem, ScheduledTaskCalendarItem as ScheduledTaskCalendarItemData, type ScheduledTaskCreatePayload, ScheduledTask as ScheduledTaskData, ScheduledTaskRun, ScheduledTaskRun as ScheduledTaskRunData, type ScheduledTaskUpdatePayload, SessionDetail, type SessionExtraInfo, SessionInfo, SessionSkillUploadPayload, SessionSkillUploadPayload as SessionSkillUploadPayloadData, SessionSkillUploadResult, SessionSkillUploadResult as SessionSkillUploadResultData, type SessionStatusEvent, SkillCompletionMenu, type SkillCompletionMenuRef, SkillDetail, SkillMention, SkillOrgListResponse, SkillSearchResult, type SkillSuggestionItem, SkillSummary, SoftwareFactorySharedFile, SoftwareFactorySoftware, Solution, type StepMessageRange, type SystemError, Task, type ToolCallCreated, type ToolResultDone, TurnProjection, type UiMeta, UnpublishAppResponse, UpdateQuickScenarioPayload, type UseTiptapVoiceInputOptions, type UseTiptapVoiceInputResult, type UseVoiceInputOptions, type UseVoiceInputResult, type UserWorkspace, type VoiceInputError, type VoiceInputStatus, VoiceWaveform, type WorkspaceIssue, type WorkspaceIssueTaskRun, type WorkspaceIssueTimelineEntry, type WorkspaceIssueUsageSummary, type WorkspaceMember, agentApi, agentSocket, apiFetch, apiFetchResponse, apiFetchText, apiKeys as apiKeysApi, attachClientToStores, attachHostBridgeListener, auth as authApi, bootstrapBladeClient, buildMessageContent, buildSessionBinaryPreviewTarget, buildStepRanges, buildVoiceInputUnavailableError, cardRegistry, cn, copyToClipboard, createResourceApi, databaseApi, deriveDeprecateEntryIds, envBuckets as envBucketsApi, getAuthedUrl, getBaseUrl, getBootstrappedClient, getClient, getCodeLanguageFromFilename, getSocket, getTextContent, gisApi, groupMessagesByLoop, isInsideIframe, isUiMeta, knowledgeApi, listSkillOrgs, memories as memoriesApi, models as modelsApi, normalizeCodeLanguage, partnerSkill as partnerSkillApi, prodSolution as prodSolutionApi, publishSkill, publishedApps as publishedAppsApi, resolveEffectiveTheme, resolveSessionFilePreviewTarget, resourceBridgeDispatch, scenarios as scenariosApi, scheduledTasks as scheduledTasksApi, sessions as sessionsApi, setAnalyticsClient, setOnWorkspaceFilesChanged, skillMentionSuggestionKey, skills as skillsApi, softwareFactory as softwareFactoryApi, solutions as solutionsApi, toolApi, trackEvent, transformSlashCommand, uploadFiles, useAgents, useAuthStore, useBackgroundStore, useBackgroundTasks, useBladeClient, useCardContext, useCardState, useCardStateStore, useChat, useChatStore, useCheckSkillFile, useConnectionStore, useDataSources, useGisState, useGisStore, useGlobalSkillStats, useHighlightedCodeHtml, useInputHistory, useKnowledgeBases, useModelConfig, usePreferredModel, useResolvedModel, useRuntimeConfig, useRuntimeFeaturesStore, useRuntimeStore, useSession, useSkills, useTaskStore, useTiptapVoiceInput, useToolProviders, useUiBridgeStore, useUiStore, useVoiceInput, userPreferences as userPreferencesApi };