@blade-hq/agent-kit 1.0.14 → 1.0.16
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/{SkillStatusBar-cYkuNAmR.d.ts → SkillStatusBar-DskumalP.d.ts} +19 -7
- package/dist/{blade-client-CGhtHnQN.d.ts → blade-client-KZiBuBHI.d.ts} +4 -1
- package/dist/{chunk-4K25SSZ4.js → chunk-J3PQU7BQ.js} +3 -3
- package/dist/{chunk-DXDLZXDP.js → chunk-JHUSL3JZ.js} +720 -626
- package/dist/chunk-JHUSL3JZ.js.map +1 -0
- package/dist/{chunk-CVCQSRVP.js → chunk-OMIVYL5D.js} +4 -4
- package/dist/chunk-OMIVYL5D.js.map +1 -0
- package/dist/{chunk-3UY7SD3P.js → chunk-QEYZZDLM.js} +1091 -11
- package/dist/chunk-QEYZZDLM.js.map +1 -0
- package/dist/{chunk-CM3H6ZNV.js → chunk-U4KVB5OB.js} +2 -2
- package/dist/{chunk-DN4CKDDQ.js → chunk-V74REX3Q.js} +2 -1
- package/dist/chunk-V74REX3Q.js.map +1 -0
- package/dist/client/index.d.ts +445 -2
- package/dist/client/index.js +1 -1
- package/dist/react/api/vibe-coding.d.ts +3 -3
- package/dist/react/api/vibe-coding.js +2 -2
- package/dist/react/components/chat/index.d.ts +4 -4
- package/dist/react/components/chat/index.js +7 -5
- package/dist/react/components/plan/index.js +4 -4
- package/dist/react/components/session/index.d.ts +1 -1
- package/dist/react/components/session/index.js +3 -3
- package/dist/react/components/workspace/index.d.ts +3 -3
- package/dist/react/components/workspace/index.js +3 -3
- package/dist/react/index.d.ts +22 -11
- package/dist/react/index.js +11 -6
- package/dist/react/index.js.map +1 -1
- package/dist/{session-o8bAQoXK.d.ts → session-CT8Y2KHr.d.ts} +2 -0
- package/dist/{sessions-BDau9Lk7.d.ts → sessions-BX8qHBN3.d.ts} +2 -2
- package/package.json +1 -1
- package/dist/chunk-3UY7SD3P.js.map +0 -1
- package/dist/chunk-CVCQSRVP.js.map +0 -1
- package/dist/chunk-DN4CKDDQ.js.map +0 -1
- package/dist/chunk-DXDLZXDP.js.map +0 -1
- /package/dist/{chunk-4K25SSZ4.js.map → chunk-J3PQU7BQ.js.map} +0 -0
- /package/dist/{chunk-CM3H6ZNV.js.map → chunk-U4KVB5OB.js.map} +0 -0
package/dist/react/index.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { v as BladeClient, w as BladeClientOptions, s as ApiKeysResource, A as ApiKeyCreateResponse, r as ApiKeyPublic, t as AuthResource, aC as UserInfo, ad as ProvidersResponse, aG as EnvBucketsResource, aH as EnvBucket, aI as PlatformEnvBucket, a4 as MemoriesResource, a5 as Memory, a8 as MemoryListResponse, a6 as MemoryCreateBody, a7 as MemoryListParams, X as GisResource, aJ as GisState, aK as RuntimeConfig, ab as ModelsResource, a9 as ModelOption, aa as ModelsConfig, ao as SkillsResource, Y as GlobalSkillStats, aL as SkillDetail, aM as SkillStats, a2 as InstalledRegistrySkill, aN as SkillSummary, aO as SkillSearchResult, aP as PartnerSkillInstallPayload, aQ as PartnerSkillInstallResult, aR as SessionSkillUploadPayload, aS as SessionSkillUploadResult, ae as PublishedAppsResource, aT as PublishedApp, aU as PublishedAppListResponse, aV as PublishedAppStatus, aW as UnpublishAppResponse, aD as UserPreferencesResource, M as ComputerUpgradeStatusResponse, aB as UpgradeComputerResponse, av as SolutionsResource, W as ExportedSolutionFile, aj as ScenariosResource, af as QuickScenario, y as BladeHubScenarioResource, N as CreateQuickScenarioPayload, ac as PreviewUrlItem, aA as UpdateQuickScenarioPayload, aq as SoftwareFactoryResource, as as SoftwareFactorySoftware, au as SoftwareFactoryTopicModule, ar as SoftwareFactorySharedFile, K as CodingTaskTopic, at as SoftwareFactoryTopic, J as CodingTask, Q as CreateSoftwareFactorySharedFilePayload, R as CreateSoftwareFactorySoftwarePayload, ap as SoftwareFactoryModuleBlueprint, ai as ResourceApi, ah as RegistryResource, am as SkillOrgListResponse, B as BackgroundTask, aX as GisGoal, aY as GisResource$1, aZ as GisTarget, a_ as GisMapCommand, a$ as Task } from '../blade-client-
|
|
2
|
-
export { b0 as AgentDriver, b1 as AgentResource, b2 as DatabaseDriver, b3 as DatabaseResource, b4 as DifyKnowledgeConfig, b5 as GisGoalStatus, b6 as HttpToolConfig, b7 as KnowledgeDriver, b8 as KnowledgeResource, b9 as McpToolConfig, ba as MysqlConfig, bb as ParallelMode, bc as PartnerSkillFile, bc as PartnerSkillFileData, bd as PartnerSkillName, bd as PartnerSkillNameData, be as PostgresqlConfig, ag as REGISTRY_PREFIX, bf as SessionSkillFile, bf as SessionSkillFileData, bg as SessionSkillName, bg as SessionSkillNameData, an as SkillOrgOption, bh as StageSpec, bi as StepSpec, bj as TaskStatus, bk as ToolDriver, bl as ToolResource, aF as normalizeResource, bm as skillDisplayName } from '../blade-client-
|
|
1
|
+
import { v as BladeClient, w as BladeClientOptions, s as ApiKeysResource, A as ApiKeyCreateResponse, r as ApiKeyPublic, t as AuthResource, aC as UserInfo, ad as ProvidersResponse, aG as EnvBucketsResource, aH as EnvBucket, aI as PlatformEnvBucket, a4 as MemoriesResource, a5 as Memory, a8 as MemoryListResponse, a6 as MemoryCreateBody, a7 as MemoryListParams, X as GisResource, aJ as GisState, aK as RuntimeConfig, ab as ModelsResource, a9 as ModelOption, aa as ModelsConfig, ao as SkillsResource, Y as GlobalSkillStats, aL as SkillDetail, aM as SkillStats, a2 as InstalledRegistrySkill, aN as SkillSummary, aO as SkillSearchResult, aP as PartnerSkillInstallPayload, aQ as PartnerSkillInstallResult, aR as SessionSkillUploadPayload, aS as SessionSkillUploadResult, ae as PublishedAppsResource, aT as PublishedApp, aU as PublishedAppListResponse, aV as PublishedAppStatus, aW as UnpublishAppResponse, aD as UserPreferencesResource, M as ComputerUpgradeStatusResponse, aB as UpgradeComputerResponse, av as SolutionsResource, W as ExportedSolutionFile, aj as ScenariosResource, af as QuickScenario, y as BladeHubScenarioResource, N as CreateQuickScenarioPayload, ac as PreviewUrlItem, aA as UpdateQuickScenarioPayload, aq as SoftwareFactoryResource, as as SoftwareFactorySoftware, au as SoftwareFactoryTopicModule, ar as SoftwareFactorySharedFile, K as CodingTaskTopic, at as SoftwareFactoryTopic, J as CodingTask, Q as CreateSoftwareFactorySharedFilePayload, R as CreateSoftwareFactorySoftwarePayload, ap as SoftwareFactoryModuleBlueprint, ai as ResourceApi, ah as RegistryResource, am as SkillOrgListResponse, B as BackgroundTask, aX as GisGoal, aY as GisResource$1, aZ as GisTarget, a_ as GisMapCommand, a$ as Task } from '../blade-client-KZiBuBHI.js';
|
|
2
|
+
export { b0 as AgentDriver, b1 as AgentResource, b2 as DatabaseDriver, b3 as DatabaseResource, b4 as DifyKnowledgeConfig, b5 as GisGoalStatus, b6 as HttpToolConfig, b7 as KnowledgeDriver, b8 as KnowledgeResource, b9 as McpToolConfig, ba as MysqlConfig, bb as ParallelMode, bc as PartnerSkillFile, bc as PartnerSkillFileData, bd as PartnerSkillName, bd as PartnerSkillNameData, be as PostgresqlConfig, ag as REGISTRY_PREFIX, bf as SessionSkillFile, bf as SessionSkillFileData, bg as SessionSkillName, bg as SessionSkillNameData, an as SkillOrgOption, bh as StageSpec, bi as StepSpec, bj as TaskStatus, bk as ToolDriver, bl as ToolResource, aF as normalizeResource, bm as skillDisplayName } from '../blade-client-KZiBuBHI.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-
|
|
7
|
-
import { B as BizRole, c as Solution, a as SessionInfo } from '../session-
|
|
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-
|
|
6
|
+
export { S as SessionExtraInfo, s as sessionsApi, u as uploadFiles } from '../sessions-BX8qHBN3.js';
|
|
7
|
+
import { B as BizRole, c as Solution, a as SessionInfo } from '../session-CT8Y2KHr.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-CT8Y2KHr.js';
|
|
9
9
|
import * as arktype_internal_variants_object_ts from 'arktype/internal/variants/object.ts';
|
|
10
10
|
import { M as MessageContent, C as ChatMessage, A as AskUserAnswerData, a as CompactionInfo } from '../AskUserQuestionBlock---kOTouk.js';
|
|
11
11
|
export { F as FileContentPart, I as ImageUrlContentPart, c as MessageContentPart, d as TextContentPart, T as ToolCallInfo } from '../AskUserQuestionBlock---kOTouk.js';
|
|
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 {
|
|
16
|
-
export {
|
|
15
|
+
import { n as ClientAwareState } from '../SkillStatusBar-DskumalP.js';
|
|
16
|
+
export { o as ATTACHMENT_SIZE_LIMIT_BYTES, B as BuildWhatIfPromptInput, a as ChatInput, b as ChatSendOptions, c as ChatView, h as FileSizeLimitDialog, M as MessageList, O as OversizedFileInfo, P as ParsedWhatIfPrompt, S as SkillStatusBar, T as ThinkingToggle, W as WhatIfQuote, p as buildWhatIfPrompt, q as formatFileSize, r as invalidateHomeSidebarSessions, s as parseWhatIfPrompt, t as splitFilesBySize, u as useSessionStore } from '../SkillStatusBar-DskumalP.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';
|
|
@@ -1087,6 +1087,7 @@ declare class AgentSocket {
|
|
|
1087
1087
|
private readonly boardProjectRefCounts;
|
|
1088
1088
|
private patchFlushHandle;
|
|
1089
1089
|
private patchFlushCancel;
|
|
1090
|
+
private readonly projectionBuilder;
|
|
1090
1091
|
constructor(client: BladeClient);
|
|
1091
1092
|
private _ensureConnected;
|
|
1092
1093
|
private _resolveSessionId;
|
|
@@ -1105,13 +1106,14 @@ declare class AgentSocket {
|
|
|
1105
1106
|
onAgentBoardTaskChanged(handler: (data: AgentBoardBoardTaskChangedEvent) => void): () => void;
|
|
1106
1107
|
onAgentBoardFileOp(handler: (data: AgentBoardFileOpEvent) => void): () => void;
|
|
1107
1108
|
/**
|
|
1108
|
-
* 订阅 session:updated
|
|
1109
|
+
* 订阅 session:updated(智能体意图、状态等会话属性变更)。全局 handler 只会
|
|
1109
1110
|
* patch 已在 useSessionStore 列表里的会话;看板任务这类不在列表里的
|
|
1110
|
-
*
|
|
1111
|
+
* 会话,由调用方通过本方法自行消费属性更新。
|
|
1111
1112
|
*/
|
|
1112
1113
|
onSessionUpdated(handler: (data: {
|
|
1113
1114
|
session_id?: string;
|
|
1114
1115
|
intent?: string;
|
|
1116
|
+
status?: string;
|
|
1115
1117
|
}) => void): () => void;
|
|
1116
1118
|
unsubscribe(): void;
|
|
1117
1119
|
/**
|
|
@@ -1131,6 +1133,7 @@ declare class AgentSocket {
|
|
|
1131
1133
|
private _shouldWaitForJoinBeforeSend;
|
|
1132
1134
|
send(sessionId: string, message: MessageContent, mode?: string, askuserAnswer?: Record<string, unknown>, extras?: {
|
|
1133
1135
|
model?: string;
|
|
1136
|
+
thinkingOverride?: boolean;
|
|
1134
1137
|
whatif?: {
|
|
1135
1138
|
from_step: number;
|
|
1136
1139
|
quotes: Array<Record<string, unknown>>;
|
|
@@ -1163,6 +1166,7 @@ declare function useChat(sessionId: string): {
|
|
|
1163
1166
|
isStopping: boolean;
|
|
1164
1167
|
send: (msg: MessageContent, mode?: string, askuserAnswer?: Record<string, unknown>, options?: {
|
|
1165
1168
|
model?: string;
|
|
1169
|
+
thinkingOverride?: boolean;
|
|
1166
1170
|
}) => void;
|
|
1167
1171
|
append: (msg: string) => void;
|
|
1168
1172
|
stop: () => Promise<void>;
|
|
@@ -1225,6 +1229,13 @@ declare function usePreferredModel(): {
|
|
|
1225
1229
|
preferredModel: string | null;
|
|
1226
1230
|
setPreferredModel: (modelId: string) => void;
|
|
1227
1231
|
};
|
|
1232
|
+
declare function useThinkingPreference(): {
|
|
1233
|
+
thinkingEnabled: boolean;
|
|
1234
|
+
thinkingPreference: boolean | null;
|
|
1235
|
+
preferenceLoaded: boolean;
|
|
1236
|
+
setThinkingEnabled: (enabled: boolean) => void;
|
|
1237
|
+
isLoading: boolean;
|
|
1238
|
+
};
|
|
1228
1239
|
|
|
1229
1240
|
declare function useResolvedModel(activeSessionModel?: string | null): {
|
|
1230
1241
|
resolvedModel: string;
|
|
@@ -1237,7 +1248,7 @@ declare function useSession(): {
|
|
|
1237
1248
|
activeSessionId: string | null;
|
|
1238
1249
|
activeSession: SessionInfo | null;
|
|
1239
1250
|
loading: boolean;
|
|
1240
|
-
|
|
1251
|
+
fetchAllSessions: () => Promise<void>;
|
|
1241
1252
|
createSession: (intent?: string) => Promise<string>;
|
|
1242
1253
|
setActiveSession: (id: string) => void;
|
|
1243
1254
|
deleteSession: (id: string) => Promise<void>;
|
|
@@ -2087,4 +2098,4 @@ interface UiBridgeState extends ClientAwareState {
|
|
|
2087
2098
|
}
|
|
2088
2099
|
declare const useUiBridgeStore: zustand.UseBoundStore<zustand.StoreApi<UiBridgeState>>;
|
|
2089
2100
|
|
|
2090
|
-
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, useCheckSolutionFile, 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 };
|
|
2101
|
+
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, useCheckSolutionFile, useConnectionStore, useDataSources, useGisState, useGisStore, useGlobalSkillStats, useHighlightedCodeHtml, useInputHistory, useKnowledgeBases, useModelConfig, usePreferredModel, useResolvedModel, useRuntimeConfig, useRuntimeFeaturesStore, useRuntimeStore, useSession, useSkills, useTaskStore, useThinkingPreference, useTiptapVoiceInput, useToolProviders, useUiBridgeStore, useUiStore, useVoiceInput, userPreferences as userPreferencesApi };
|
package/dist/react/index.js
CHANGED
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
SkillCompletionMenu,
|
|
13
13
|
SkillMention,
|
|
14
14
|
SkillStatusBar,
|
|
15
|
+
ThinkingToggle,
|
|
15
16
|
VoiceWaveform,
|
|
16
17
|
buildVoiceInputUnavailableError,
|
|
17
18
|
buildWhatIfPrompt,
|
|
@@ -27,10 +28,11 @@ import {
|
|
|
27
28
|
useModelConfig,
|
|
28
29
|
usePreferredModel,
|
|
29
30
|
useResolvedModel,
|
|
31
|
+
useThinkingPreference,
|
|
30
32
|
useTiptapVoiceInput,
|
|
31
33
|
useVoiceInput,
|
|
32
34
|
user_preferences_exports
|
|
33
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-JHUSL3JZ.js";
|
|
34
36
|
import {
|
|
35
37
|
CardCodeBlock,
|
|
36
38
|
CardContext,
|
|
@@ -39,14 +41,14 @@ import {
|
|
|
39
41
|
normalizeCodeLanguage,
|
|
40
42
|
useCardContext,
|
|
41
43
|
useHighlightedCodeHtml
|
|
42
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-J3PQU7BQ.js";
|
|
43
45
|
import {
|
|
44
46
|
CardJSON,
|
|
45
47
|
cardRegistry
|
|
46
48
|
} from "../chunk-2UP7MG3J.js";
|
|
47
49
|
import {
|
|
48
50
|
useSession
|
|
49
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-OMIVYL5D.js";
|
|
50
52
|
import "../chunk-H62LH2AG.js";
|
|
51
53
|
import {
|
|
52
54
|
buildBinaryPreviewTarget,
|
|
@@ -54,7 +56,7 @@ import {
|
|
|
54
56
|
isOfficePdfPreviewable,
|
|
55
57
|
resolveSessionFilePreviewTarget,
|
|
56
58
|
resolveTextPreviewType
|
|
57
|
-
} from "../chunk-
|
|
59
|
+
} from "../chunk-U4KVB5OB.js";
|
|
58
60
|
import {
|
|
59
61
|
PartnerSkillFile,
|
|
60
62
|
PartnerSkillInstallPayload,
|
|
@@ -109,12 +111,12 @@ import {
|
|
|
109
111
|
useTaskStore,
|
|
110
112
|
useUiBridgeStore,
|
|
111
113
|
useUiStore
|
|
112
|
-
} from "../chunk-
|
|
114
|
+
} from "../chunk-QEYZZDLM.js";
|
|
113
115
|
import "../chunk-J3XVFPOV.js";
|
|
114
116
|
import {
|
|
115
117
|
REGISTRY_PREFIX,
|
|
116
118
|
normalizeResource
|
|
117
|
-
} from "../chunk-
|
|
119
|
+
} from "../chunk-V74REX3Q.js";
|
|
118
120
|
import {
|
|
119
121
|
cn,
|
|
120
122
|
copyToClipboard
|
|
@@ -1646,6 +1648,7 @@ var SessionInfo = type({
|
|
|
1646
1648
|
"viewer_role?": "'owner' | 'viewer'",
|
|
1647
1649
|
"template_id?": "string | null",
|
|
1648
1650
|
"model?": "string | null",
|
|
1651
|
+
"enable_thinking?": "boolean | null",
|
|
1649
1652
|
"solution_id?": "string | null",
|
|
1650
1653
|
"biz_role_id?": "string | null",
|
|
1651
1654
|
"solution?": "unknown",
|
|
@@ -1882,6 +1885,7 @@ export {
|
|
|
1882
1885
|
SkillStatusBar,
|
|
1883
1886
|
Task,
|
|
1884
1887
|
TaskStatus,
|
|
1888
|
+
ThinkingToggle,
|
|
1885
1889
|
ToolDriver,
|
|
1886
1890
|
ToolResource,
|
|
1887
1891
|
VoiceWaveform,
|
|
@@ -1986,6 +1990,7 @@ export {
|
|
|
1986
1990
|
useSessionStore,
|
|
1987
1991
|
useSkills,
|
|
1988
1992
|
useTaskStore,
|
|
1993
|
+
useThinkingPreference,
|
|
1989
1994
|
useTiptapVoiceInput,
|
|
1990
1995
|
useToolProviders,
|
|
1991
1996
|
useUiBridgeStore,
|