@blade-hq/agent-kit 0.5.24 → 0.5.25

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 (32) hide show
  1. package/dist/{SkillStatusBar-DO-ltefK.d.ts → SkillStatusBar-BUisTEAL.d.ts} +2 -2
  2. package/dist/{blade-client-Bhp0hHiZ.d.ts → blade-client-KmBClau6.d.ts} +35 -2
  3. package/dist/{chunk-DTDZFQRY.js → chunk-FZXLII7S.js} +14 -1
  4. package/dist/chunk-FZXLII7S.js.map +1 -0
  5. package/dist/{chunk-63IWZ3AO.js → chunk-HAFDWDFG.js} +2 -2
  6. package/dist/{chunk-KW66QITV.js → chunk-PKQKLRFQ.js} +3 -3
  7. package/dist/{chunk-7FGJNW56.js → chunk-SENUKC7C.js} +366 -319
  8. package/dist/chunk-SENUKC7C.js.map +1 -0
  9. package/dist/{chunk-QKSZPJQX.js → chunk-UQWHEHG3.js} +2 -2
  10. package/dist/client/index.d.ts +4574 -2850
  11. package/dist/react/api/vibe-coding.d.ts +3 -3
  12. package/dist/react/api/vibe-coding.js +1 -1
  13. package/dist/react/components/chat/index.d.ts +4 -4
  14. package/dist/react/components/chat/index.js +4 -4
  15. package/dist/react/components/plan/index.js +3 -3
  16. package/dist/react/components/session/index.d.ts +1 -1
  17. package/dist/react/components/session/index.js +2 -2
  18. package/dist/react/components/workspace/index.d.ts +22 -2
  19. package/dist/react/components/workspace/index.js +30 -14
  20. package/dist/react/components/workspace/index.js.map +1 -1
  21. package/dist/react/index.d.ts +17 -179
  22. package/dist/react/index.js +6 -5
  23. package/dist/react/index.js.map +1 -1
  24. package/dist/{session-BuaeCsMC.d.ts → session-B5v5KkVd.d.ts} +5 -3
  25. package/dist/sessions-DfRYZZnH.d.ts +174 -0
  26. package/dist/style.css +1 -1
  27. package/package.json +1 -1
  28. package/dist/chunk-7FGJNW56.js.map +0 -1
  29. package/dist/chunk-DTDZFQRY.js.map +0 -1
  30. /package/dist/{chunk-63IWZ3AO.js.map → chunk-HAFDWDFG.js.map} +0 -0
  31. /package/dist/{chunk-KW66QITV.js.map → chunk-PKQKLRFQ.js.map} +0 -0
  32. /package/dist/{chunk-QKSZPJQX.js.map → chunk-UQWHEHG3.js.map} +0 -0
@@ -1,22 +1,23 @@
1
- import { j as BladeClient, k as BladeClientOptions, h as ApiKeysResource, A as ApiKeyCreateResponse, g as ApiKeyPublic, i as AuthResource, aA as UserInfo, a3 as ProvidersResponse, aE as EnvBucketsResource, aF as EnvBucket, aG as PlatformEnvBucket, U as MemoriesResource, W as Memory, Z as MemoryListResponse, X as MemoryCreateBody, Y as MemoryListParams, G as GisResource, aH as GisState, aI as RuntimeConfig, a0 as ModelsResource, _ as ModelOption, $ as ModelsConfig, aj as SkillsResource, H as GlobalSkillStats, aJ as SkillDetail, aK as SkillStats, S as InstalledRegistrySkill, aL as SkillSummary, aM as SkillSearchResult, aN as PartnerSkillInstallPayload, aO as PartnerSkillInstallResult, aP as SessionSkillUploadPayload, aQ as SessionSkillUploadResult, a4 as PublishedAppsResource, aR as PublishedApp, aS as PublishedAppListResponse, aT as PublishedAppStatus, aU as UnpublishAppResponse, ae as SessionsResource, af as ShareLinkResult, aV as BackgroundTask, p as CheckpointNode, ab as SessionContextStats, ac as SessionHistory, F as FileEntry, a1 as PaginatedSessionsResult, ag as SkillDevSession, O as ImportPreview, at as TokenizeResult, v as ContentPart, x as CreateSessionRequest, M as HistoryNode, Q as ImportPreviewScenario, R as ImportPreviewSkill, ay as UploadFileEntry, az as UploadFilesOptions, aB as UserPreferencesResource, u as ComputerUpgradeStatusResponse, ax as UpgradeComputerResponse, aq as SolutionsResource, a9 as ScenariosResource, a5 as QuickScenario, m as BladeHubScenarioResource, w as CreateQuickScenarioPayload, a2 as PreviewUrlItem, aw as UpdateQuickScenarioPayload, al as SoftwareFactoryResource, an as SoftwareFactorySoftware, ap as SoftwareFactoryTopicModule, am as SoftwareFactorySharedFile, s as CodingTaskTopic, ao as SoftwareFactoryTopic, r as CodingTask, z as CreateSoftwareFactorySharedFilePayload, E as CreateSoftwareFactorySoftwarePayload, ak as SoftwareFactoryModuleBlueprint, a8 as ResourceApi, a7 as RegistryResource, ah as SkillOrgListResponse, aW as GisGoal, aX as GisResource$1, aY as GisTarget, aZ as GisMapCommand, a_ as Task } from '../blade-client-Bhp0hHiZ.js';
2
- export { a$ as AgentDriver, b0 as AgentResource, b1 as DatabaseDriver, b2 as DatabaseResource, b3 as DifyKnowledgeConfig, b4 as GisGoalStatus, b5 as HttpToolConfig, b6 as KnowledgeDriver, b7 as KnowledgeResource, b8 as McpToolConfig, b9 as MysqlConfig, ba as ParallelMode, bb as PartnerSkillFile, bb as PartnerSkillFileData, bc as PartnerSkillName, bc as PartnerSkillNameData, bd as PostgresqlConfig, a6 as REGISTRY_PREFIX, be as SessionSkillFile, be as SessionSkillFileData, bf as SessionSkillName, bf as SessionSkillNameData, ai as SkillOrgOption, bg as StageSpec, bh as StepSpec, bi as TaskStatus, bj as ToolDriver, bk as ToolResource, aD as normalizeResource, bl as skillDisplayName } from '../blade-client-Bhp0hHiZ.js';
1
+ import { v as BladeClient, w as BladeClientOptions, s as ApiKeysResource, A as ApiKeyCreateResponse, r as ApiKeyPublic, t as AuthResource, aB as UserInfo, ac as ProvidersResponse, aF as EnvBucketsResource, aG as EnvBucket, aH as PlatformEnvBucket, a3 as MemoriesResource, a4 as Memory, a7 as MemoryListResponse, a5 as MemoryCreateBody, a6 as MemoryListParams, W as GisResource, aI as GisState, aJ as RuntimeConfig, aa as ModelsResource, a8 as ModelOption, a9 as ModelsConfig, an as SkillsResource, X as GlobalSkillStats, aK as SkillDetail, aL as SkillStats, a1 as InstalledRegistrySkill, aM as SkillSummary, aN as SkillSearchResult, aO as PartnerSkillInstallPayload, aP as PartnerSkillInstallResult, aQ as SessionSkillUploadPayload, aR as SessionSkillUploadResult, ad as PublishedAppsResource, aS as PublishedApp, aT as PublishedAppListResponse, aU as PublishedAppStatus, aV as UnpublishAppResponse, aC as UserPreferencesResource, M as ComputerUpgradeStatusResponse, aA as UpgradeComputerResponse, au as SolutionsResource, ai as ScenariosResource, ae as QuickScenario, y as BladeHubScenarioResource, N as CreateQuickScenarioPayload, ab as PreviewUrlItem, az as UpdateQuickScenarioPayload, ap as SoftwareFactoryResource, ar as SoftwareFactorySoftware, at as SoftwareFactoryTopicModule, aq as SoftwareFactorySharedFile, K as CodingTaskTopic, as as SoftwareFactoryTopic, J as CodingTask, Q as CreateSoftwareFactorySharedFilePayload, R as CreateSoftwareFactorySoftwarePayload, ao as SoftwareFactoryModuleBlueprint, ah as ResourceApi, ag as RegistryResource, al as SkillOrgListResponse, B as BackgroundTask, aW as GisGoal, aX as GisResource$1, aY as GisTarget, aZ as GisMapCommand, a_ as Task } from '../blade-client-KmBClau6.js';
2
+ export { a$ as AgentDriver, b0 as AgentResource, b1 as DatabaseDriver, b2 as DatabaseResource, b3 as DifyKnowledgeConfig, b4 as GisGoalStatus, b5 as HttpToolConfig, b6 as KnowledgeDriver, b7 as KnowledgeResource, b8 as McpToolConfig, b9 as MysqlConfig, ba as ParallelMode, bb as PartnerSkillFile, bb as PartnerSkillFileData, bc as PartnerSkillName, bc as PartnerSkillNameData, bd as PostgresqlConfig, af as REGISTRY_PREFIX, be as SessionSkillFile, be as SessionSkillFileData, bf as SessionSkillName, bf as SessionSkillNameData, am as SkillOrgOption, bg as StageSpec, bh as StepSpec, bi as TaskStatus, bj as ToolDriver, bk as ToolResource, aE as normalizeResource, bl as skillDisplayName } from '../blade-client-KmBClau6.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
- import { T as TurnProjection, a as PatchEnvelope } from '../projection-BWYEFYNn.js';
7
- export { C as ContentBlock, b as ToolCallProjection } from '../projection-BWYEFYNn.js';
8
- import { b as SessionDetail, S as SessionInfo, B as BizRole, c as Solution } from '../session-BuaeCsMC.js';
9
- export { L as LayoutType, M as ModeId, P as PrimarySkillParallelMode, d as PrimarySkillSnapshot, e as PrimarySkillStageSpec, f as PrimarySkillStepSpec, g as SessionPortMapping, a as SessionStatus, h as SkillEditorTemplateId, i as SolutionAppField, j as SolutionAppState, k as SolutionAppUiConfig, T as TemplateId } from '../session-BuaeCsMC.js';
6
+ export { S as SessionExtraInfo, s as sessionsApi, u as uploadFiles } from '../sessions-DfRYZZnH.js';
7
+ import { B as BizRole, c as Solution, a as SessionInfo } from '../session-B5v5KkVd.js';
8
+ export { L as LayoutType, M as ModeId, P as PrimarySkillParallelMode, d as PrimarySkillSnapshot, e as PrimarySkillStageSpec, f as PrimarySkillStepSpec, S as SessionDetail, g as SessionPortMapping, b as SessionStatus, h as SkillEditorTemplateId, i as SolutionAppField, j as SolutionAppState, k as SolutionAppUiConfig, T as TemplateId } from '../session-B5v5KkVd.js';
10
9
  import * as arktype_internal_variants_object_ts from 'arktype/internal/variants/object.ts';
11
10
  import { M as MessageContent, C as ChatMessage, A as AskUserAnswerData, a as CompactionInfo } from '../AskUserQuestionBlock---kOTouk.js';
12
11
  export { F as FileContentPart, I as ImageUrlContentPart, c as MessageContentPart, d as TextContentPart, T as ToolCallInfo } from '../AskUserQuestionBlock---kOTouk.js';
13
12
  import * as _tanstack_react_query from '@tanstack/react-query';
14
13
  import { Editor } from '@tiptap/react';
15
14
  import { ClassValue } from 'clsx';
16
- import { l as ClientAwareState } from '../SkillStatusBar-DO-ltefK.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-DO-ltefK.js';
15
+ import { l as ClientAwareState } from '../SkillStatusBar-BUisTEAL.js';
16
+ 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-BUisTEAL.js';
18
17
  import * as zustand from 'zustand';
19
18
  import { Streamdown, ExtraProps } from 'streamdown';
19
+ import { T as TurnProjection, a as PatchEnvelope } from '../projection-BWYEFYNn.js';
20
+ export { C as ContentBlock, b as ToolCallProjection } from '../projection-BWYEFYNn.js';
20
21
  import * as _tiptap_core from '@tiptap/core';
21
22
  import * as _tiptap_extension_mention from '@tiptap/extension-mention';
22
23
  import { PluginKey } from '@tiptap/pm/state';
@@ -792,175 +793,6 @@ declare namespace prodSolution {
792
793
  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_ProdAgentWorkspaceReference as ProdAgentWorkspaceReference, 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_addWorkspaceMember as addWorkspaceMember, prodSolution_checkProdUserTokenStatus as checkProdUserTokenStatus, prodSolution_connectWorkspaceAgent as connectWorkspaceAgent, 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_getProdAgentWorkspaceReferences as getProdAgentWorkspaceReferences, 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_refreshProdUserToken as refreshProdUserToken, prodSolution_removeWorkspaceAgent as removeWorkspaceAgent, prodSolution_removeWorkspaceMember as removeWorkspaceMember, 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_updateUserWorkspace as updateUserWorkspace, prodSolution_updateWorkspaceIssue as updateWorkspaceIssue, prodSolution_upsertWorkspaceAssistantSession as upsertWorkspaceAssistantSession, prodSolution_validateArchitecture as validateArchitecture, prodSolution_validateDag as validateDag };
793
794
  }
794
795
 
795
- interface SessionExtraInfo {
796
- session_id?: string | null;
797
- extra?: Record<string, unknown> | null;
798
- created_at?: string;
799
- updated_at?: string;
800
- }
801
- declare const listSessions: (...args: Parameters<SessionsResource["listSessions"]>) => Promise<SessionInfo[]>;
802
- declare const listSessionsPaginated: (...args: Parameters<SessionsResource["listSessionsPaginated"]>) => Promise<PaginatedSessionsResult>;
803
- declare const listSessionsWithSkillData: (...args: Parameters<SessionsResource["listSessionsWithSkillData"]>) => Promise<SkillDevSession[]>;
804
- declare const createSession: (...args: Parameters<SessionsResource["createSession"]>) => Promise<{
805
- session_id: string;
806
- }>;
807
- declare const createSessionWithRequest: (...args: Parameters<SessionsResource["createSessionWithRequest"]>) => Promise<{
808
- session_id: string;
809
- }>;
810
- declare const getSession: (...args: Parameters<SessionsResource["getSession"]>) => Promise<SessionDetail>;
811
- declare const updateSession: (...args: Parameters<SessionsResource["updateSession"]>) => Promise<SessionDetail>;
812
- declare const pinSession: (...args: Parameters<SessionsResource["pinSession"]>) => Promise<SessionInfo>;
813
- declare const startReplaySession: (...args: Parameters<SessionsResource["startReplaySession"]>) => Promise<{
814
- session_id: string;
815
- }>;
816
- declare const updateReplaySession: (...args: Parameters<SessionsResource["updateReplaySession"]>) => Promise<{
817
- replay_state: SessionInfo["replay_state"];
818
- }>;
819
- declare const updateSharing: (...args: Parameters<SessionsResource["updateSharing"]>) => Promise<{
820
- shared: boolean;
821
- }>;
822
- declare const updateSessionMemory: (...args: Parameters<SessionsResource["updateSessionMemory"]>) => Promise<{
823
- memory_enabled: boolean;
824
- }>;
825
- declare const createShare: (...args: Parameters<SessionsResource["createShare"]>) => Promise<ShareLinkResult>;
826
- declare const revokeShare: (...args: Parameters<SessionsResource["revokeShare"]>) => Promise<{
827
- revoked: boolean;
828
- }>;
829
- declare const getSharedSession: (...args: Parameters<SessionsResource["getSharedSession"]>) => Promise<TurnProjection[]>;
830
- declare const getSessionTasks: (...args: Parameters<SessionsResource["getSessionTasks"]>) => Promise<{
831
- id: string;
832
- goal: string;
833
- skills: string[];
834
- depends_on: string[];
835
- status: "pending" | "done" | "failed" | "in_progress" | "skipped";
836
- result_summary: string;
837
- number: string;
838
- }[]>;
839
- declare const getSessionTurns: (...args: Parameters<SessionsResource["getSessionTurns"]>) => Promise<TurnProjection[]>;
840
- declare const getSessionContextStats: (...args: Parameters<SessionsResource["getSessionContextStats"]>) => Promise<SessionContextStats>;
841
- declare const getSessionHistory: (...args: Parameters<SessionsResource["getSessionHistory"]>) => Promise<SessionHistory>;
842
- declare const tokenizePrompt: (...args: Parameters<SessionsResource["tokenizePrompt"]>) => Promise<TokenizeResult>;
843
- declare const tokenizeMessages: (...args: Parameters<SessionsResource["tokenizeMessages"]>) => Promise<TokenizeResult>;
844
- declare const getSessionCheckpoints: (...args: Parameters<SessionsResource["getSessionCheckpoints"]>) => Promise<{
845
- nodes: CheckpointNode[];
846
- leaf_id: string | null;
847
- }>;
848
- declare const checkoutSession: (...args: Parameters<SessionsResource["checkoutSession"]>) => Promise<{
849
- id: string;
850
- content: string;
851
- position: string;
852
- }>;
853
- declare const rewindSession: (...args: Parameters<SessionsResource["rewindSession"]>) => Promise<{
854
- id: string;
855
- content: string;
856
- }>;
857
- declare const switchBranch: (...args: Parameters<SessionsResource["switchBranch"]>) => Promise<{
858
- id: string;
859
- leaf_id: string;
860
- }>;
861
- declare const deleteSession: (...args: Parameters<SessionsResource["deleteSession"]>) => Promise<{
862
- deleted: boolean;
863
- }>;
864
- declare const listBackgroundTasks: (...args: Parameters<SessionsResource["listBackgroundTasks"]>) => Promise<BackgroundTask[]>;
865
- declare const getBackgroundTask: (...args: Parameters<SessionsResource["getBackgroundTask"]>) => Promise<BackgroundTask>;
866
- declare const stopBackgroundTask: (...args: Parameters<SessionsResource["stopBackgroundTask"]>) => Promise<{
867
- message: string;
868
- task?: BackgroundTask | null;
869
- }>;
870
- declare const probeSessionUrl: (...args: Parameters<SessionsResource["probeSessionUrl"]>) => Promise<{
871
- reachable: boolean;
872
- }>;
873
- declare const listDir: (...args: Parameters<SessionsResource["listDir"]>) => Promise<FileEntry[]>;
874
- declare const uploadFiles: (...args: Parameters<SessionsResource["uploadFiles"]>) => Promise<{
875
- uploaded: string[];
876
- failed: string[];
877
- }>;
878
- declare const deleteFile: (...args: Parameters<SessionsResource["deleteFile"]>) => Promise<void>;
879
- declare const writeFile: (...args: Parameters<SessionsResource["writeFile"]>) => Promise<{
880
- success: boolean;
881
- }>;
882
- declare const renameFile: (...args: Parameters<SessionsResource["renameFile"]>) => Promise<{
883
- path: string;
884
- }>;
885
- declare const copyFile: (...args: Parameters<SessionsResource["copyFile"]>) => Promise<{
886
- path: string;
887
- }>;
888
- declare const shareFile: (...args: Parameters<SessionsResource["shareFile"]>) => Promise<{
889
- path: string;
890
- target: string;
891
- }>;
892
- declare const getDownloadDirUrl: (...args: Parameters<SessionsResource["getDownloadDirUrl"]>) => string;
893
- declare const exportSession: (...args: Parameters<SessionsResource["exportSession"]>) => Promise<void>;
894
- declare const previewImport: (...args: Parameters<SessionsResource["previewImport"]>) => Promise<ImportPreview>;
895
- declare const importSession: (...args: Parameters<SessionsResource["importSession"]>) => Promise<{
896
- session_id: string;
897
- }>;
898
- declare function getSessionExtraInfoByTask(taskId: string): Promise<SessionExtraInfo>;
899
-
900
- declare const sessions_CheckpointNode: typeof CheckpointNode;
901
- declare const sessions_ContentPart: typeof ContentPart;
902
- declare const sessions_CreateSessionRequest: typeof CreateSessionRequest;
903
- declare const sessions_FileEntry: typeof FileEntry;
904
- declare const sessions_HistoryNode: typeof HistoryNode;
905
- declare const sessions_ImportPreview: typeof ImportPreview;
906
- declare const sessions_ImportPreviewScenario: typeof ImportPreviewScenario;
907
- declare const sessions_ImportPreviewSkill: typeof ImportPreviewSkill;
908
- declare const sessions_PaginatedSessionsResult: typeof PaginatedSessionsResult;
909
- declare const sessions_SessionContextStats: typeof SessionContextStats;
910
- type sessions_SessionExtraInfo = SessionExtraInfo;
911
- declare const sessions_SessionHistory: typeof SessionHistory;
912
- declare const sessions_SessionsResource: typeof SessionsResource;
913
- declare const sessions_ShareLinkResult: typeof ShareLinkResult;
914
- declare const sessions_SkillDevSession: typeof SkillDevSession;
915
- declare const sessions_TokenizeResult: typeof TokenizeResult;
916
- declare const sessions_UploadFileEntry: typeof UploadFileEntry;
917
- declare const sessions_UploadFilesOptions: typeof UploadFilesOptions;
918
- declare const sessions_checkoutSession: typeof checkoutSession;
919
- declare const sessions_copyFile: typeof copyFile;
920
- declare const sessions_createSession: typeof createSession;
921
- declare const sessions_createSessionWithRequest: typeof createSessionWithRequest;
922
- declare const sessions_createShare: typeof createShare;
923
- declare const sessions_deleteFile: typeof deleteFile;
924
- declare const sessions_deleteSession: typeof deleteSession;
925
- declare const sessions_exportSession: typeof exportSession;
926
- declare const sessions_getBackgroundTask: typeof getBackgroundTask;
927
- declare const sessions_getDownloadDirUrl: typeof getDownloadDirUrl;
928
- declare const sessions_getSession: typeof getSession;
929
- declare const sessions_getSessionCheckpoints: typeof getSessionCheckpoints;
930
- declare const sessions_getSessionContextStats: typeof getSessionContextStats;
931
- declare const sessions_getSessionExtraInfoByTask: typeof getSessionExtraInfoByTask;
932
- declare const sessions_getSessionHistory: typeof getSessionHistory;
933
- declare const sessions_getSessionTasks: typeof getSessionTasks;
934
- declare const sessions_getSessionTurns: typeof getSessionTurns;
935
- declare const sessions_getSharedSession: typeof getSharedSession;
936
- declare const sessions_importSession: typeof importSession;
937
- declare const sessions_listBackgroundTasks: typeof listBackgroundTasks;
938
- declare const sessions_listDir: typeof listDir;
939
- declare const sessions_listSessions: typeof listSessions;
940
- declare const sessions_listSessionsPaginated: typeof listSessionsPaginated;
941
- declare const sessions_listSessionsWithSkillData: typeof listSessionsWithSkillData;
942
- declare const sessions_pinSession: typeof pinSession;
943
- declare const sessions_previewImport: typeof previewImport;
944
- declare const sessions_probeSessionUrl: typeof probeSessionUrl;
945
- declare const sessions_renameFile: typeof renameFile;
946
- declare const sessions_revokeShare: typeof revokeShare;
947
- declare const sessions_rewindSession: typeof rewindSession;
948
- declare const sessions_shareFile: typeof shareFile;
949
- declare const sessions_startReplaySession: typeof startReplaySession;
950
- declare const sessions_stopBackgroundTask: typeof stopBackgroundTask;
951
- declare const sessions_switchBranch: typeof switchBranch;
952
- declare const sessions_tokenizeMessages: typeof tokenizeMessages;
953
- declare const sessions_tokenizePrompt: typeof tokenizePrompt;
954
- declare const sessions_updateReplaySession: typeof updateReplaySession;
955
- declare const sessions_updateSession: typeof updateSession;
956
- declare const sessions_updateSessionMemory: typeof updateSessionMemory;
957
- declare const sessions_updateSharing: typeof updateSharing;
958
- declare const sessions_uploadFiles: typeof uploadFiles;
959
- declare const sessions_writeFile: typeof writeFile;
960
- declare namespace sessions {
961
- 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_UploadFilesOptions as UploadFilesOptions, 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_probeSessionUrl as probeSessionUrl, 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 };
962
- }
963
-
964
796
  declare const getUserPreference: (...args: Parameters<UserPreferencesResource["getUserPreference"]>) => Promise<string | null>;
965
797
  declare const setUserPreference: (...args: Parameters<UserPreferencesResource["setUserPreference"]>) => Promise<void>;
966
798
  declare const getPersistentDefault: (...args: Parameters<UserPreferencesResource["getPersistentDefault"]>) => Promise<boolean>;
@@ -1212,6 +1044,9 @@ type WorkspaceFilesChangedEvent = {
1212
1044
  sessionId: string;
1213
1045
  filePath?: string;
1214
1046
  };
1047
+ type AgentBoardBoardTaskChangedEvent = {
1048
+ [key: string]: any;
1049
+ };
1215
1050
  declare function setOnWorkspaceFilesChanged(fn: ((event: WorkspaceFilesChangedEvent) => void) | null): void;
1216
1051
  declare class AgentSocket {
1217
1052
  private client;
@@ -1241,6 +1076,9 @@ declare class AgentSocket {
1241
1076
  private _syncSessionTurnsFromHistory;
1242
1077
  private _applySystemNotification;
1243
1078
  subscribe(sessionId: string): void;
1079
+ subscribeAgentBoardProject(projectId: string | number): void;
1080
+ unsubscribeAgentBoardProject(projectId: string | number): void;
1081
+ onAgentBoardTaskChanged(handler: (data: AgentBoardBoardTaskChangedEvent) => void): () => void;
1244
1082
  unsubscribe(): void;
1245
1083
  /**
1246
1084
  * 附加订阅:仅把当前 sid 加进 sessionId 的 room,不切 subscribedSession,
@@ -1546,7 +1384,7 @@ interface PreviewTarget {
1546
1384
  /** Changes when an artifact with the same key is updated in place. */
1547
1385
  revision?: number;
1548
1386
  }
1549
- type ActiveRightTab = "situation" | "preview" | "skill-test" | "vibe-service" | "vibe-preview" | "vibe-access";
1387
+ type ActiveRightTab = "situation" | "preview" | "skill-test" | "vibe-service" | "vibe-preview" | "vibe-access" | "vibe-board";
1550
1388
  interface UpsertArtifactOptions {
1551
1389
  reveal?: boolean;
1552
1390
  activate?: boolean;
@@ -2183,4 +2021,4 @@ interface UiBridgeState extends ClientAwareState {
2183
2021
  }
2184
2022
  declare const useUiBridgeStore: zustand.UseBoundStore<zustand.StoreApi<UiBridgeState>>;
2185
2023
 
2186
- export { type ActiveRightTab, type AnalyticsEventName, ApiKeyCreateResponse, ApiKeyPublic, type ArchitectureNode, type ArchitecturePayload, type ArchitectureVersion, type ArchitectureVersionListItem, BackgroundTask, BizRole, type BladeBridgeEnvelope, type BladeBridgeHandler, BladeClientOptions, BladeClientProvider, type BladeClientProviderProps, BladeContext, BladeHubScenarioResource, type BuildHtmlElementSelectionInput, 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, type HtmlElementSelectionContext, type HtmlElementSelectionRaw, type HtmlSourceLocation, type HtmlSourceLocatorElement, 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, type PendingHtmlElementContext, PlatformEnvBucket, type PreviewTarget, PreviewUrlItem, type ProdAgentCatalogSolution, type ProdAgentPreviewUrl, type ProdAgentRecord, type ProdSolution, type ProdUser, type ProdUserTokenStatus, PublishedApp, PublishedAppListResponse, PublishedAppStatus, QuickScenario, RegistryResource, ResourceApi, ResourceBase, type ResourceBridgeAction, type ResourceBridgeDispatchParams, 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, buildHtmlElementSelectionContext, buildMessageContent, buildSessionBinaryPreviewTarget, buildStepRanges, buildVoiceInputUnavailableError, cardRegistry, cn, copyToClipboard, createResourceApi, databaseApi, deriveDeprecateEntryIds, dispatchBladeBridge, envBuckets as envBucketsApi, getAuthedUrl, getBaseUrl, getBootstrappedClient, getClient, getCodeLanguageFromFilename, getSocket, getTextContent, gisApi, groupMessagesByLoop, isInsideIframe, isUiMeta, knowledgeApi, listSkillOrgs, locateHtmlElementSource, memories as memoriesApi, models as modelsApi, normalizeCodeLanguage, partnerSkill as partnerSkillApi, postToParent, 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, subscribeBladeBridge, 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 };
2024
+ export { type ActiveRightTab, type AnalyticsEventName, ApiKeyCreateResponse, ApiKeyPublic, type ArchitectureNode, type ArchitecturePayload, type ArchitectureVersion, type ArchitectureVersionListItem, BackgroundTask, BizRole, type BladeBridgeEnvelope, type BladeBridgeHandler, BladeClientOptions, BladeClientProvider, type BladeClientProviderProps, BladeContext, BladeHubScenarioResource, type BuildHtmlElementSelectionInput, 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, type HtmlElementSelectionContext, type HtmlElementSelectionRaw, type HtmlSourceLocation, type HtmlSourceLocatorElement, 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, type PendingHtmlElementContext, PlatformEnvBucket, type PreviewTarget, PreviewUrlItem, type ProdAgentCatalogSolution, type ProdAgentPreviewUrl, type ProdAgentRecord, type ProdSolution, type ProdUser, type ProdUserTokenStatus, PublishedApp, PublishedAppListResponse, PublishedAppStatus, QuickScenario, RegistryResource, ResourceApi, ResourceBase, type ResourceBridgeAction, type ResourceBridgeDispatchParams, ResourceIframe, RuntimeConfig, type RuntimeEvent, Scene, SceneStatus, ScheduledTask, ScheduledTaskCalendarItem, ScheduledTaskCalendarItem as ScheduledTaskCalendarItemData, type ScheduledTaskCreatePayload, ScheduledTask as ScheduledTaskData, ScheduledTaskRun, ScheduledTaskRun as ScheduledTaskRunData, type ScheduledTaskUpdatePayload, 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, buildHtmlElementSelectionContext, buildMessageContent, buildSessionBinaryPreviewTarget, buildStepRanges, buildVoiceInputUnavailableError, cardRegistry, cn, copyToClipboard, createResourceApi, databaseApi, deriveDeprecateEntryIds, dispatchBladeBridge, envBuckets as envBucketsApi, getAuthedUrl, getBaseUrl, getBootstrappedClient, getClient, getCodeLanguageFromFilename, getSocket, getTextContent, gisApi, groupMessagesByLoop, isInsideIframe, isUiMeta, knowledgeApi, listSkillOrgs, locateHtmlElementSource, memories as memoriesApi, models as modelsApi, normalizeCodeLanguage, partnerSkill as partnerSkillApi, postToParent, prodSolution as prodSolutionApi, publishSkill, publishedApps as publishedAppsApi, resolveEffectiveTheme, resolveSessionFilePreviewTarget, resourceBridgeDispatch, scenarios as scenariosApi, scheduledTasks as scheduledTasksApi, setAnalyticsClient, setOnWorkspaceFilesChanged, skillMentionSuggestionKey, skills as skillsApi, softwareFactory as softwareFactoryApi, solutions as solutionsApi, subscribeBladeBridge, toolApi, trackEvent, transformSlashCommand, 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 };
@@ -30,7 +30,7 @@ import {
30
30
  useTiptapVoiceInput,
31
31
  useVoiceInput,
32
32
  user_preferences_exports
33
- } from "../chunk-7FGJNW56.js";
33
+ } from "../chunk-SENUKC7C.js";
34
34
  import {
35
35
  CardCodeBlock,
36
36
  CardContext,
@@ -39,19 +39,19 @@ import {
39
39
  normalizeCodeLanguage,
40
40
  useCardContext,
41
41
  useHighlightedCodeHtml
42
- } from "../chunk-KW66QITV.js";
42
+ } from "../chunk-PKQKLRFQ.js";
43
43
  import {
44
44
  CardJSON,
45
45
  cardRegistry
46
46
  } from "../chunk-2UP7MG3J.js";
47
47
  import {
48
48
  useSession
49
- } from "../chunk-63IWZ3AO.js";
49
+ } from "../chunk-HAFDWDFG.js";
50
50
  import "../chunk-H62LH2AG.js";
51
51
  import {
52
52
  buildSessionBinaryPreviewTarget,
53
53
  resolveSessionFilePreviewTarget
54
- } from "../chunk-QKSZPJQX.js";
54
+ } from "../chunk-UQWHEHG3.js";
55
55
  import {
56
56
  PartnerSkillFile,
57
57
  PartnerSkillInstallPayload,
@@ -106,7 +106,7 @@ import {
106
106
  useTaskStore,
107
107
  useUiBridgeStore,
108
108
  useUiStore
109
- } from "../chunk-DTDZFQRY.js";
109
+ } from "../chunk-FZXLII7S.js";
110
110
  import "../chunk-J3XVFPOV.js";
111
111
  import {
112
112
  REGISTRY_PREFIX,
@@ -1610,6 +1610,7 @@ var SessionInfo = type({
1610
1610
  "shared?": "boolean",
1611
1611
  "memory_enabled?": "boolean",
1612
1612
  "is_persistent?": "boolean",
1613
+ "is_headless?": "boolean",
1613
1614
  "viewer_role?": "'owner' | 'viewer'",
1614
1615
  "template_id?": "string | null",
1615
1616
  "model?": "string | null",