@blade-hq/agent-kit 0.5.30 → 0.5.32
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.
- package/dist/{chunk-S66X23O7.js → chunk-CFW62YND.js} +3 -3
- package/dist/{chunk-XTEHNSFN.js → chunk-EAZ7AGFY.js} +19 -3
- package/dist/chunk-EAZ7AGFY.js.map +1 -0
- package/dist/{chunk-UW55FYRL.js → chunk-FXEELOLI.js} +16 -11
- package/dist/{chunk-UW55FYRL.js.map → chunk-FXEELOLI.js.map} +1 -1
- package/dist/{chunk-JWHBUVSM.js → chunk-QMOW3TDA.js} +26 -33
- package/dist/chunk-QMOW3TDA.js.map +1 -0
- package/dist/{chunk-EP5LVNO3.js → chunk-YPFIWC45.js} +2 -2
- package/dist/client/index.d.ts +117 -0
- package/dist/react/api/vibe-coding.js +1 -1
- package/dist/react/components/chat/index.js +4 -4
- package/dist/react/components/plan/index.js +3 -3
- package/dist/react/components/session/index.js +2 -2
- package/dist/react/components/workspace/index.d.ts +6 -2
- package/dist/react/components/workspace/index.js +69 -31
- package/dist/react/components/workspace/index.js.map +1 -1
- package/dist/react/index.d.ts +4 -1
- package/dist/react/index.js +7 -5
- package/dist/react/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-JWHBUVSM.js.map +0 -1
- package/dist/chunk-XTEHNSFN.js.map +0 -1
- /package/dist/{chunk-S66X23O7.js.map → chunk-CFW62YND.js.map} +0 -0
- /package/dist/{chunk-EP5LVNO3.js.map → chunk-YPFIWC45.js.map} +0 -0
package/dist/react/index.d.ts
CHANGED
|
@@ -1416,6 +1416,7 @@ interface UiState extends ClientAwareState {
|
|
|
1416
1416
|
leftPanelCollapsed: boolean;
|
|
1417
1417
|
rightPanelCollapsed: boolean;
|
|
1418
1418
|
activeRightTab: ActiveRightTab;
|
|
1419
|
+
rightTabActivationId: number;
|
|
1419
1420
|
/** All open artifact tabs */
|
|
1420
1421
|
artifacts: PreviewTarget[];
|
|
1421
1422
|
/** Index of the active tab (-1 if none) */
|
|
@@ -1448,6 +1449,8 @@ declare const useUiStore: zustand.UseBoundStore<zustand.StoreApi<UiState>>;
|
|
|
1448
1449
|
|
|
1449
1450
|
declare function buildBinaryPreviewTarget(fileUrl: string, downloadUrl: string, filePath: string, fileName?: string): PreviewTarget | null;
|
|
1450
1451
|
declare function buildSessionBinaryPreviewTarget(sessionId: string, filePath: string, fileName?: string): PreviewTarget | null;
|
|
1452
|
+
/** 判断文件是否需要后端 soffice 转 PDF 才能预览 */
|
|
1453
|
+
declare function isOfficePdfPreviewable(fileName: string): boolean;
|
|
1451
1454
|
declare function resolveTextPreviewType(fileName: string): PreviewTarget["type"];
|
|
1452
1455
|
declare function resolveSessionFilePreviewTarget(sessionId: string, filePath: string, fileName?: string): Promise<PreviewTarget>;
|
|
1453
1456
|
|
|
@@ -2044,4 +2047,4 @@ interface UiBridgeState extends ClientAwareState {
|
|
|
2044
2047
|
}
|
|
2045
2048
|
declare const useUiBridgeStore: zustand.UseBoundStore<zustand.StoreApi<UiBridgeState>>;
|
|
2046
2049
|
|
|
2047
|
-
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, buildBinaryPreviewTarget, 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 };
|
|
2050
|
+
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, buildBinaryPreviewTarget, 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, isOfficePdfPreviewable, 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 };
|
package/dist/react/index.js
CHANGED
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
useTiptapVoiceInput,
|
|
31
31
|
useVoiceInput,
|
|
32
32
|
user_preferences_exports
|
|
33
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-FXEELOLI.js";
|
|
34
34
|
import {
|
|
35
35
|
CardCodeBlock,
|
|
36
36
|
CardContext,
|
|
@@ -39,21 +39,22 @@ import {
|
|
|
39
39
|
normalizeCodeLanguage,
|
|
40
40
|
useCardContext,
|
|
41
41
|
useHighlightedCodeHtml
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-CFW62YND.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-
|
|
49
|
+
} from "../chunk-YPFIWC45.js";
|
|
50
50
|
import "../chunk-H62LH2AG.js";
|
|
51
51
|
import {
|
|
52
52
|
buildBinaryPreviewTarget,
|
|
53
53
|
buildSessionBinaryPreviewTarget,
|
|
54
|
+
isOfficePdfPreviewable,
|
|
54
55
|
resolveSessionFilePreviewTarget,
|
|
55
56
|
resolveTextPreviewType
|
|
56
|
-
} from "../chunk-
|
|
57
|
+
} from "../chunk-EAZ7AGFY.js";
|
|
57
58
|
import {
|
|
58
59
|
PartnerSkillFile,
|
|
59
60
|
PartnerSkillInstallPayload,
|
|
@@ -108,7 +109,7 @@ import {
|
|
|
108
109
|
useTaskStore,
|
|
109
110
|
useUiBridgeStore,
|
|
110
111
|
useUiStore
|
|
111
|
-
} from "../chunk-
|
|
112
|
+
} from "../chunk-QMOW3TDA.js";
|
|
112
113
|
import "../chunk-J3XVFPOV.js";
|
|
113
114
|
import {
|
|
114
115
|
REGISTRY_PREFIX,
|
|
@@ -1888,6 +1889,7 @@ export {
|
|
|
1888
1889
|
groupMessagesByLoop,
|
|
1889
1890
|
invalidateHomeSidebarSessions,
|
|
1890
1891
|
isInsideIframe,
|
|
1892
|
+
isOfficePdfPreviewable,
|
|
1891
1893
|
isUiMeta,
|
|
1892
1894
|
knowledgeApi,
|
|
1893
1895
|
listSkillOrgs,
|