@blade-hq/agent-kit 0.5.25 → 0.5.27

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 (35) hide show
  1. package/dist/{SkillStatusBar-BUisTEAL.d.ts → SkillStatusBar-CvgcEiSi.d.ts} +6 -3
  2. package/dist/{blade-client-KmBClau6.d.ts → blade-client-DoodJJDz.d.ts} +42 -1
  3. package/dist/{chunk-PKQKLRFQ.js → chunk-3HFYDOHY.js} +20 -4
  4. package/dist/chunk-3HFYDOHY.js.map +1 -0
  5. package/dist/{chunk-HAFDWDFG.js → chunk-CDL6Y4W7.js} +2 -2
  6. package/dist/{chunk-SENUKC7C.js → chunk-CTNH3GZY.js} +44 -13
  7. package/dist/chunk-CTNH3GZY.js.map +1 -0
  8. package/dist/{chunk-UQWHEHG3.js → chunk-JIPDSO26.js} +11 -5
  9. package/dist/chunk-JIPDSO26.js.map +1 -0
  10. package/dist/{chunk-FZXLII7S.js → chunk-OF7ZBBTH.js} +20 -2
  11. package/dist/chunk-OF7ZBBTH.js.map +1 -0
  12. package/dist/{chunk-7EVVRQ7G.js → chunk-ZWO6YBLA.js} +4 -3
  13. package/dist/chunk-ZWO6YBLA.js.map +1 -0
  14. package/dist/client/index.d.ts +426 -6
  15. package/dist/client/index.js +1 -1
  16. package/dist/react/api/vibe-coding.d.ts +2 -2
  17. package/dist/react/api/vibe-coding.js +2 -2
  18. package/dist/react/components/chat/index.d.ts +3 -3
  19. package/dist/react/components/chat/index.js +5 -5
  20. package/dist/react/components/plan/index.js +4 -4
  21. package/dist/react/components/session/index.js +3 -3
  22. package/dist/react/components/workspace/index.d.ts +2 -2
  23. package/dist/react/components/workspace/index.js +3 -3
  24. package/dist/react/index.d.ts +27 -6
  25. package/dist/react/index.js +9 -7
  26. package/dist/react/index.js.map +1 -1
  27. package/dist/{sessions-DfRYZZnH.d.ts → sessions-DFGsAOPa.d.ts} +1 -1
  28. package/dist/style.css +1 -1
  29. package/package.json +1 -1
  30. package/dist/chunk-7EVVRQ7G.js.map +0 -1
  31. package/dist/chunk-FZXLII7S.js.map +0 -1
  32. package/dist/chunk-PKQKLRFQ.js.map +0 -1
  33. package/dist/chunk-SENUKC7C.js.map +0 -1
  34. package/dist/chunk-UQWHEHG3.js.map +0 -1
  35. /package/dist/{chunk-HAFDWDFG.js.map → chunk-CDL6Y4W7.js.map} +0 -0
@@ -1,9 +1,9 @@
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';
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-DoodJJDz.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-DoodJJDz.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 { S as SessionExtraInfo, s as sessionsApi, u as uploadFiles } from '../sessions-DfRYZZnH.js';
6
+ export { S as SessionExtraInfo, s as sessionsApi, u as uploadFiles } from '../sessions-DFGsAOPa.js';
7
7
  import { B as BizRole, c as Solution, a as SessionInfo } from '../session-B5v5KkVd.js';
8
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';
9
9
  import * as arktype_internal_variants_object_ts from 'arktype/internal/variants/object.ts';
@@ -12,8 +12,8 @@ export { F as FileContentPart, I as ImageUrlContentPart, c as MessageContentPart
12
12
  import * as _tanstack_react_query from '@tanstack/react-query';
13
13
  import { Editor } from '@tiptap/react';
14
14
  import { ClassValue } from 'clsx';
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';
15
+ import { l as ClientAwareState } from '../SkillStatusBar-CvgcEiSi.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-CvgcEiSi.js';
17
17
  import * as zustand from 'zustand';
18
18
  import { Streamdown, ExtraProps } from 'streamdown';
19
19
  import { T as TurnProjection, a as PatchEnvelope } from '../projection-BWYEFYNn.js';
@@ -1047,6 +1047,19 @@ type WorkspaceFilesChangedEvent = {
1047
1047
  type AgentBoardBoardTaskChangedEvent = {
1048
1048
  [key: string]: any;
1049
1049
  };
1050
+ type AgentBoardFileOpEvent = {
1051
+ project_id: number;
1052
+ session_id: string;
1053
+ tool_call_id?: string | null;
1054
+ action: string;
1055
+ file_path: string;
1056
+ description?: string | null;
1057
+ content_preview?: string | null;
1058
+ final_content?: string | null;
1059
+ content_delta?: boolean | null;
1060
+ is_final?: boolean | null;
1061
+ created_at: string;
1062
+ };
1050
1063
  declare function setOnWorkspaceFilesChanged(fn: ((event: WorkspaceFilesChangedEvent) => void) | null): void;
1051
1064
  declare class AgentSocket {
1052
1065
  private client;
@@ -1079,6 +1092,7 @@ declare class AgentSocket {
1079
1092
  subscribeAgentBoardProject(projectId: string | number): void;
1080
1093
  unsubscribeAgentBoardProject(projectId: string | number): void;
1081
1094
  onAgentBoardTaskChanged(handler: (data: AgentBoardBoardTaskChangedEvent) => void): () => void;
1095
+ onAgentBoardFileOp(handler: (data: AgentBoardFileOpEvent) => void): () => void;
1082
1096
  unsubscribe(): void;
1083
1097
  /**
1084
1098
  * 附加订阅:仅把当前 sid 加进 sessionId 的 room,不切 subscribedSession,
@@ -1101,6 +1115,11 @@ declare class AgentSocket {
1101
1115
  };
1102
1116
  replay_decision?: "keep_replay" | "continue_replay";
1103
1117
  }): void;
1118
+ /**
1119
+ * 在 agent loop 运行期间追加补充消息。
1120
+ * 消息会在下一轮 LLM 调用前以 user-supplement 形式注入。
1121
+ */
1122
+ append(sessionId: string, message: string): void;
1104
1123
  stop(sessionId: string): Promise<Record<string, unknown>>;
1105
1124
  compact(sessionId: string): Promise<Record<string, unknown>>;
1106
1125
  reconnect(): void;
@@ -1122,6 +1141,7 @@ declare function useChat(sessionId: string): {
1122
1141
  send: (msg: MessageContent, mode?: string, askuserAnswer?: Record<string, unknown>, options?: {
1123
1142
  model?: string;
1124
1143
  }) => void;
1144
+ append: (msg: string) => void;
1125
1145
  stop: () => Promise<void>;
1126
1146
  };
1127
1147
 
@@ -1426,6 +1446,7 @@ interface UiState extends ClientAwareState {
1426
1446
  declare const useUiStore: zustand.UseBoundStore<zustand.StoreApi<UiState>>;
1427
1447
 
1428
1448
  declare function buildSessionBinaryPreviewTarget(sessionId: string, filePath: string, fileName?: string): PreviewTarget | null;
1449
+ declare function resolveTextPreviewType(fileName: string): PreviewTarget["type"];
1429
1450
  declare function resolveSessionFilePreviewTarget(sessionId: string, filePath: string, fileName?: string): Promise<PreviewTarget>;
1430
1451
 
1431
1452
  interface HtmlSourceLocatorElement {
@@ -2021,4 +2042,4 @@ interface UiBridgeState extends ClientAwareState {
2021
2042
  }
2022
2043
  declare const useUiBridgeStore: zustand.UseBoundStore<zustand.StoreApi<UiBridgeState>>;
2023
2044
 
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 };
2045
+ 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, resolveTextPreviewType, 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-SENUKC7C.js";
33
+ } from "../chunk-CTNH3GZY.js";
34
34
  import {
35
35
  CardCodeBlock,
36
36
  CardContext,
@@ -39,19 +39,20 @@ import {
39
39
  normalizeCodeLanguage,
40
40
  useCardContext,
41
41
  useHighlightedCodeHtml
42
- } from "../chunk-PKQKLRFQ.js";
42
+ } from "../chunk-3HFYDOHY.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-HAFDWDFG.js";
49
+ } from "../chunk-CDL6Y4W7.js";
50
50
  import "../chunk-H62LH2AG.js";
51
51
  import {
52
52
  buildSessionBinaryPreviewTarget,
53
- resolveSessionFilePreviewTarget
54
- } from "../chunk-UQWHEHG3.js";
53
+ resolveSessionFilePreviewTarget,
54
+ resolveTextPreviewType
55
+ } from "../chunk-JIPDSO26.js";
55
56
  import {
56
57
  PartnerSkillFile,
57
58
  PartnerSkillInstallPayload,
@@ -106,12 +107,12 @@ import {
106
107
  useTaskStore,
107
108
  useUiBridgeStore,
108
109
  useUiStore
109
- } from "../chunk-FZXLII7S.js";
110
+ } from "../chunk-OF7ZBBTH.js";
110
111
  import "../chunk-J3XVFPOV.js";
111
112
  import {
112
113
  REGISTRY_PREFIX,
113
114
  normalizeResource
114
- } from "../chunk-7EVVRQ7G.js";
115
+ } from "../chunk-ZWO6YBLA.js";
115
116
  import {
116
117
  cn,
117
118
  copyToClipboard
@@ -1901,6 +1902,7 @@ export {
1901
1902
  published_apps_exports as publishedAppsApi,
1902
1903
  resolveEffectiveTheme,
1903
1904
  resolveSessionFilePreviewTarget,
1905
+ resolveTextPreviewType,
1904
1906
  resourceBridgeDispatch,
1905
1907
  scenarios_exports as scenariosApi,
1906
1908
  scheduled_tasks_exports as scheduledTasksApi,