@blade-hq/agent-kit 0.4.11 → 0.4.13
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-CHnXqybx.d.ts → SkillStatusBar-DhEw_C2P.d.ts} +2 -2
- package/dist/{blade-client-BfYaHLco.d.ts → blade-client-Brjw8njI.d.ts} +80 -2
- package/dist/{chunk-3LCNDPP6.js → chunk-6RVI56IR.js} +2 -2
- package/dist/{chunk-CDSCC4OQ.js → chunk-6UVM6PBD.js} +2 -2
- package/dist/{chunk-PJJ3Y3DZ.js → chunk-ACHKHQEO.js} +2 -2
- package/dist/{chunk-4XID5JVK.js → chunk-AGRVE5NY.js} +2 -2
- package/dist/{chunk-O2BVC7QE.js → chunk-C34J6GD3.js} +5 -5
- package/dist/{chunk-Z4FPELIQ.js → chunk-JMNQIZOC.js} +2 -2
- package/dist/{chunk-VCCMO7G5.js → chunk-UWUDHCVV.js} +206 -2
- package/dist/chunk-UWUDHCVV.js.map +1 -0
- package/dist/client/index.d.ts +223 -2
- package/dist/client/index.js +7 -1
- package/dist/{licenses-BGw5jiC4.d.ts → licenses-DZzDCfd0.d.ts} +1 -1
- package/dist/react/api/licenses.d.ts +3 -3
- package/dist/react/api/licenses.js +3 -3
- 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 +5 -5
- package/dist/react/components/plan/index.js +3 -3
- 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.js +3 -3
- package/dist/react/index.d.ts +38 -8
- package/dist/react/index.js +63 -52
- package/dist/react/index.js.map +1 -1
- package/dist/{session-BKOc2lsz.d.ts → session-C7m4f0Gl.d.ts} +7 -2
- package/package.json +2 -1
- package/dist/chunk-VCCMO7G5.js.map +0 -1
- /package/dist/{chunk-3LCNDPP6.js.map → chunk-6RVI56IR.js.map} +0 -0
- /package/dist/{chunk-CDSCC4OQ.js.map → chunk-6UVM6PBD.js.map} +0 -0
- /package/dist/{chunk-PJJ3Y3DZ.js.map → chunk-ACHKHQEO.js.map} +0 -0
- /package/dist/{chunk-4XID5JVK.js.map → chunk-AGRVE5NY.js.map} +0 -0
- /package/dist/{chunk-O2BVC7QE.js.map → chunk-C34J6GD3.js.map} +0 -0
- /package/dist/{chunk-Z4FPELIQ.js.map → chunk-JMNQIZOC.js.map} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getClient
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-6UVM6PBD.js";
|
|
4
4
|
import "../../chunk-J3XVFPOV.js";
|
|
5
|
-
import "../../chunk-
|
|
5
|
+
import "../../chunk-UWUDHCVV.js";
|
|
6
6
|
import "../../chunk-JCJFFJ42.js";
|
|
7
7
|
import "../../chunk-PZ5AY32C.js";
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ChatViewCustomization, P as ParsedWhatIfPrompt } from '../../../SkillStatusBar-
|
|
2
|
-
export { A as AssistantTurnComponentProps, a as ChatInput, b as ChatView, c as ChatViewClassNames, d as ChatViewComponents, e as ChatViewProps, f as ChatViewRenderers, E as ErrorMessageBlock, F as FileComposerAttachment, g as FileSizeLimitDialog, M as MessageList, S as SkillStatusBar, h as SkillStatusBarComponentProps, T as ToolCallComponentProps, i as ToolRendererProps, U as UserMessageBubble, j as isErrorMessage, k as isUserMessage } from '../../../SkillStatusBar-
|
|
1
|
+
import { C as ChatViewCustomization, P as ParsedWhatIfPrompt } from '../../../SkillStatusBar-DhEw_C2P.js';
|
|
2
|
+
export { A as AssistantTurnComponentProps, a as ChatInput, b as ChatView, c as ChatViewClassNames, d as ChatViewComponents, e as ChatViewProps, f as ChatViewRenderers, E as ErrorMessageBlock, F as FileComposerAttachment, g as FileSizeLimitDialog, M as MessageList, S as SkillStatusBar, h as SkillStatusBarComponentProps, T as ToolCallComponentProps, i as ToolRendererProps, U as UserMessageBubble, j as isErrorMessage, k as isUserMessage } from '../../../SkillStatusBar-DhEw_C2P.js';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -7,10 +7,10 @@ import { a as CompactionInfo, C as ChatMessage, A as AskUserAnswerData, T as Too
|
|
|
7
7
|
export { b as AskUserQuestionBlock } from '../../../AskUserQuestionBlock-CjvG_pUY.js';
|
|
8
8
|
import { C as ContentBlock } from '../../../projection-DIfyh6RK.js';
|
|
9
9
|
import 'zustand';
|
|
10
|
-
import '../../../session-
|
|
10
|
+
import '../../../session-C7m4f0Gl.js';
|
|
11
11
|
import 'arktype/internal/variants/object.ts';
|
|
12
12
|
import 'arktype/internal/variants/string.ts';
|
|
13
|
-
import '../../../blade-client-
|
|
13
|
+
import '../../../blade-client-Brjw8njI.js';
|
|
14
14
|
import 'socket.io-client';
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
isErrorMessage,
|
|
17
17
|
isUserMessage,
|
|
18
18
|
useWhatIfQuoteContext
|
|
19
|
-
} from "../../../chunk-
|
|
20
|
-
import "../../../chunk-
|
|
19
|
+
} from "../../../chunk-C34J6GD3.js";
|
|
20
|
+
import "../../../chunk-6RVI56IR.js";
|
|
21
21
|
import {
|
|
22
22
|
AskUserQuestionBlock
|
|
23
|
-
} from "../../../chunk-
|
|
23
|
+
} from "../../../chunk-JMNQIZOC.js";
|
|
24
24
|
import "../../../chunk-2UP7MG3J.js";
|
|
25
|
-
import "../../../chunk-
|
|
25
|
+
import "../../../chunk-6UVM6PBD.js";
|
|
26
26
|
import "../../../chunk-J3XVFPOV.js";
|
|
27
|
-
import "../../../chunk-
|
|
27
|
+
import "../../../chunk-UWUDHCVV.js";
|
|
28
28
|
import "../../../chunk-7LEKQI47.js";
|
|
29
29
|
import "../../../chunk-JCJFFJ42.js";
|
|
30
30
|
import "../../../chunk-PZ5AY32C.js";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
PlanSummaryCard,
|
|
4
4
|
extractLatestPlanMessages,
|
|
5
5
|
parsePlanMessages
|
|
6
|
-
} from "../../../chunk-
|
|
6
|
+
} from "../../../chunk-JMNQIZOC.js";
|
|
7
7
|
import "../../../chunk-2UP7MG3J.js";
|
|
8
|
-
import "../../../chunk-
|
|
8
|
+
import "../../../chunk-6UVM6PBD.js";
|
|
9
9
|
import "../../../chunk-J3XVFPOV.js";
|
|
10
|
-
import "../../../chunk-
|
|
10
|
+
import "../../../chunk-UWUDHCVV.js";
|
|
11
11
|
import {
|
|
12
12
|
cn
|
|
13
13
|
} from "../../../chunk-7LEKQI47.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { S as SessionInfo } from '../../../session-
|
|
2
|
+
import { S as SessionInfo } from '../../../session-C7m4f0Gl.js';
|
|
3
3
|
import 'arktype/internal/variants/object.ts';
|
|
4
4
|
import 'arktype/internal/variants/string.ts';
|
|
5
5
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useSession
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-AGRVE5NY.js";
|
|
4
4
|
import {
|
|
5
5
|
checkoutSession,
|
|
6
6
|
getSessionCheckpoints,
|
|
7
7
|
useChatStore,
|
|
8
8
|
useSessionStore
|
|
9
|
-
} from "../../../chunk-
|
|
9
|
+
} from "../../../chunk-6UVM6PBD.js";
|
|
10
10
|
import "../../../chunk-J3XVFPOV.js";
|
|
11
|
-
import "../../../chunk-
|
|
11
|
+
import "../../../chunk-UWUDHCVV.js";
|
|
12
12
|
import {
|
|
13
13
|
cn
|
|
14
14
|
} from "../../../chunk-7LEKQI47.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
CollapsibleContent,
|
|
4
4
|
CollapsibleTrigger,
|
|
5
5
|
resolveSessionFilePreviewTarget
|
|
6
|
-
} from "../../../chunk-
|
|
6
|
+
} from "../../../chunk-6RVI56IR.js";
|
|
7
7
|
import {
|
|
8
8
|
apiFetchText,
|
|
9
9
|
copyFile,
|
|
@@ -17,9 +17,9 @@ import {
|
|
|
17
17
|
useChatStore,
|
|
18
18
|
useSessionStore,
|
|
19
19
|
useUiStore
|
|
20
|
-
} from "../../../chunk-
|
|
20
|
+
} from "../../../chunk-6UVM6PBD.js";
|
|
21
21
|
import "../../../chunk-J3XVFPOV.js";
|
|
22
|
-
import "../../../chunk-
|
|
22
|
+
import "../../../chunk-UWUDHCVV.js";
|
|
23
23
|
import {
|
|
24
24
|
cn
|
|
25
25
|
} from "../../../chunk-7LEKQI47.js";
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { m as BladeClient, n as BladeClientOptions, k as ApiKeysResource, A as ApiKeyCreateResponse, j as ApiKeyPublic, l as AuthResource,
|
|
2
|
-
export {
|
|
1
|
+
import { m as BladeClient, n as BladeClientOptions, k as ApiKeysResource, A as ApiKeyCreateResponse, j as ApiKeyPublic, l as AuthResource, aD as UserInfo, a7 as ProvidersResponse, aH as EnvBucketsResource, aI as EnvBucket, aJ as PlatformEnvBucket, Z as MemoriesResource, _ as Memory, a1 as MemoryListResponse, $ as MemoryCreateBody, a0 as MemoryListParams, J as GisResource, aK as GisState, aL as RuntimeConfig, a4 as ModelsResource, a2 as ModelOption, a3 as ModelsConfig, an as SkillsResource, K as GlobalSkillStats, aM as SkillDetail, aN as SkillStats, X as InstalledRegistrySkill, aO as SkillSummary, aP as SkillSearchResult, aQ as PartnerSkillInstallPayload, aR as PartnerSkillInstallResult, aS as SessionSkillUploadPayload, aT as SessionSkillUploadResult, a8 as PublishedAppsResource, aU as PublishedApp, aV as PublishedAppListResponse, aW as PublishedAppStatus, aX as UnpublishAppResponse, ai as SessionsResource, aj as ShareLinkResult, aY as BackgroundTask, s as CheckpointNode, af as SessionContextStats, ag as SessionHistory, I as FileEntry, a5 as PaginatedSessionsResult, ak as SkillDevSession, S as ImportPreview, ax as TokenizeResult, y as ContentPart, E as CreateSessionRequest, Q as HistoryNode, T as ImportPreviewScenario, W as ImportPreviewSkill, aC as UploadFileEntry, aE as UserPreferencesResource, x as ComputerUpgradeStatusResponse, aB as UpgradeComputerResponse, au as SolutionsResource, ad as ScenariosResource, a9 as QuickScenario, p as BladeHubScenarioResource, z as CreateQuickScenarioPayload, a6 as PreviewUrlItem, aA as UpdateQuickScenarioPayload, ap as SoftwareFactoryResource, ar as SoftwareFactorySoftware, at as SoftwareFactoryTopicModule, aq as SoftwareFactorySharedFile, v as CodingTaskTopic, as as SoftwareFactoryTopic, u as CodingTask, G as CreateSoftwareFactorySharedFilePayload, H as CreateSoftwareFactorySoftwarePayload, ao as SoftwareFactoryModuleBlueprint, ac as ResourceApi, ab as RegistryResource, al as SkillOrgListResponse, aZ as GisGoal, a_ as GisResource$1, a$ as GisTarget, b0 as GisMapCommand, b1 as Task } from '../blade-client-Brjw8njI.js';
|
|
2
|
+
export { b2 as AgentDriver, b3 as AgentResource, b4 as DatabaseDriver, b5 as DatabaseResource, b6 as DifyKnowledgeConfig, b7 as GisGoalStatus, b8 as HttpToolConfig, b9 as KnowledgeDriver, ba as KnowledgeResource, bb as McpToolConfig, bc as MysqlConfig, bd as ParallelMode, be as PartnerSkillFile, be as PartnerSkillFileData, bf as PartnerSkillName, bf as PartnerSkillNameData, bg as PostgresqlConfig, aa as REGISTRY_PREFIX, bh as SessionSkillFile, bh as SessionSkillFileData, bi as SessionSkillName, bi as SessionSkillNameData, am as SkillOrgOption, bj as StageSpec, bk as StepSpec, bl as TaskStatus, bm as ToolDriver, bn as ToolResource, aG as normalizeResource, bo as skillDisplayName } from '../blade-client-Brjw8njI.js';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { ReactNode, ComponentProps, JSX, ComponentType } from 'react';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
-
export { l as licensesApi } from '../licenses-
|
|
6
|
+
export { l as licensesApi } from '../licenses-DZzDCfd0.js';
|
|
7
7
|
import { T as TurnProjection, a as PatchEnvelope } from '../projection-DIfyh6RK.js';
|
|
8
8
|
export { C as ContentBlock, b as ToolCallProjection } from '../projection-DIfyh6RK.js';
|
|
9
|
-
import { b as SessionDetail, S as SessionInfo, B as BizRole, c as Solution } from '../session-
|
|
10
|
-
export { L as LayoutType, M as ModeId, P as PrimarySkillParallelMode, d as PrimarySkillSnapshot, e as PrimarySkillStageSpec, f as PrimarySkillStepSpec, a as SessionStatus, g as SkillEditorTemplateId, T as TemplateId } from '../session-
|
|
9
|
+
import { b as SessionDetail, S as SessionInfo, B as BizRole, c as Solution } from '../session-C7m4f0Gl.js';
|
|
10
|
+
export { L as LayoutType, M as ModeId, P as PrimarySkillParallelMode, d as PrimarySkillSnapshot, e as PrimarySkillStageSpec, f as PrimarySkillStepSpec, a as SessionStatus, g as SkillEditorTemplateId, T as TemplateId } from '../session-C7m4f0Gl.js';
|
|
11
11
|
import * as arktype_internal_variants_object_ts from 'arktype/internal/variants/object.ts';
|
|
12
12
|
import { M as MessageContent, C as ChatMessage, A as AskUserAnswerData, a as CompactionInfo } from '../AskUserQuestionBlock-CjvG_pUY.js';
|
|
13
13
|
export { F as FileContentPart, I as ImageUrlContentPart, c as MessageContentPart, d as TextContentPart, T as ToolCallInfo } from '../AskUserQuestionBlock-CjvG_pUY.js';
|
|
14
14
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
15
15
|
import { Editor } from '@tiptap/react';
|
|
16
16
|
import { ClassValue } from 'clsx';
|
|
17
|
-
import { l as ClientAwareState } from '../SkillStatusBar-
|
|
18
|
-
export { m as ATTACHMENT_SIZE_LIMIT_BYTES, B as BuildWhatIfPromptInput, a as ChatInput, b as ChatView, g as FileSizeLimitDialog, M as MessageList, O as OversizedFileInfo, P as ParsedWhatIfPrompt, S as SkillStatusBar, W as WhatIfQuote, n as buildWhatIfPrompt, o as formatFileSize, p as invalidateHomeSidebarSessions, q as parseWhatIfPrompt, s as splitFilesBySize, u as useSessionStore } from '../SkillStatusBar-
|
|
17
|
+
import { l as ClientAwareState } from '../SkillStatusBar-DhEw_C2P.js';
|
|
18
|
+
export { m as ATTACHMENT_SIZE_LIMIT_BYTES, B as BuildWhatIfPromptInput, a as ChatInput, b as ChatView, g as FileSizeLimitDialog, M as MessageList, O as OversizedFileInfo, P as ParsedWhatIfPrompt, S as SkillStatusBar, W as WhatIfQuote, n as buildWhatIfPrompt, o as formatFileSize, p as invalidateHomeSidebarSessions, q as parseWhatIfPrompt, s as splitFilesBySize, u as useSessionStore } from '../SkillStatusBar-DhEw_C2P.js';
|
|
19
19
|
import * as zustand from 'zustand';
|
|
20
20
|
import { Streamdown, ExtraProps } from 'streamdown';
|
|
21
21
|
import * as _tiptap_core from '@tiptap/core';
|
|
@@ -209,6 +209,36 @@ declare namespace partnerSkill {
|
|
|
209
209
|
export { partnerSkill_PartnerSkillInstallPayload as PartnerSkillInstallPayload, partnerSkill_PartnerSkillInstallResult as PartnerSkillInstallResult, partnerSkill_SessionSkillUploadPayload as SessionSkillUploadPayload, partnerSkill_SessionSkillUploadResult as SessionSkillUploadResult, partnerSkill_installPartnerSkill as installPartnerSkill, partnerSkill_uploadSessionSkill as uploadSessionSkill };
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
+
declare const listPublishedApps: (...args: Parameters<PublishedAppsResource["listPublishedApps"]>) => Promise<{
|
|
213
|
+
session_id: string;
|
|
214
|
+
name: string;
|
|
215
|
+
url: string;
|
|
216
|
+
host_port: number;
|
|
217
|
+
app_port: number;
|
|
218
|
+
icon: string;
|
|
219
|
+
open_in: string;
|
|
220
|
+
created_at: number;
|
|
221
|
+
status: "running" | "restarting" | "exited";
|
|
222
|
+
os_app_id: string;
|
|
223
|
+
os_registered: boolean;
|
|
224
|
+
}[]>;
|
|
225
|
+
declare const unpublishApp: (...args: Parameters<PublishedAppsResource["unpublishApp"]>) => Promise<{
|
|
226
|
+
ok: boolean;
|
|
227
|
+
os_app_id?: string | undefined;
|
|
228
|
+
os_registered?: boolean | undefined;
|
|
229
|
+
}>;
|
|
230
|
+
|
|
231
|
+
declare const publishedApps_PublishedApp: typeof PublishedApp;
|
|
232
|
+
declare const publishedApps_PublishedAppListResponse: typeof PublishedAppListResponse;
|
|
233
|
+
declare const publishedApps_PublishedAppStatus: typeof PublishedAppStatus;
|
|
234
|
+
declare const publishedApps_PublishedAppsResource: typeof PublishedAppsResource;
|
|
235
|
+
declare const publishedApps_UnpublishAppResponse: typeof UnpublishAppResponse;
|
|
236
|
+
declare const publishedApps_listPublishedApps: typeof listPublishedApps;
|
|
237
|
+
declare const publishedApps_unpublishApp: typeof unpublishApp;
|
|
238
|
+
declare namespace publishedApps {
|
|
239
|
+
export { publishedApps_PublishedApp as PublishedApp, publishedApps_PublishedAppListResponse as PublishedAppListResponse, publishedApps_PublishedAppStatus as PublishedAppStatus, publishedApps_PublishedAppsResource as PublishedAppsResource, publishedApps_UnpublishAppResponse as UnpublishAppResponse, publishedApps_listPublishedApps as listPublishedApps, publishedApps_unpublishApp as unpublishApp };
|
|
240
|
+
}
|
|
241
|
+
|
|
212
242
|
declare const listSessions: (...args: Parameters<SessionsResource["listSessions"]>) => Promise<SessionInfo[]>;
|
|
213
243
|
declare const listSessionsPaginated: (...args: Parameters<SessionsResource["listSessionsPaginated"]>) => Promise<PaginatedSessionsResult>;
|
|
214
244
|
declare const listSessionsWithSkillData: (...args: Parameters<SessionsResource["listSessionsWithSkillData"]>) => Promise<SkillDevSession[]>;
|
|
@@ -1408,4 +1438,4 @@ interface UiBridgeState extends ClientAwareState {
|
|
|
1408
1438
|
}
|
|
1409
1439
|
declare const useUiBridgeStore: zustand.UseBoundStore<zustand.StoreApi<UiBridgeState>>;
|
|
1410
1440
|
|
|
1411
|
-
export { type ActiveRightTab, type AnalyticsEventName, ApiKeyCreateResponse, ApiKeyPublic, BackgroundTask, BizRole, type BladeBridgeEnvelope, BladeClientOptions, BladeClientProvider, type BladeClientProviderProps, BladeContext, BladeHubScenarioResource, type Card, CardCodeBlock, type CardComponent, type CardComponentProps, CardContext, CardJSON, type ChatEnd, ChatMessage, type ConnectionStatus, type ContentDelta, CreateQuickScenarioPayload, CreateSoftwareFactorySharedFilePayload, CreateSoftwareFactorySoftwarePayload, EnvBucket, EnvVariable, GisGoal, GisMapCommand, GisResource$1 as GisResource, GisState, GisTarget, GlobalSkillStats, InstalledRegistrySkill, type LlmResponseDone, MarkdownContent, Memory, MemoryCreateBody, MemoryListParams, MemoryListResponse, MessageContent, ModelSelector, PartnerSkillInstallPayload, PartnerSkillInstallPayload as PartnerSkillInstallPayloadData, PartnerSkillInstallResult, PartnerSkillInstallResult as PartnerSkillInstallResultData, PatchEnvelope, PlatformEnvBucket, type PreviewTarget, PreviewUrlItem, QuickScenario, RegistryResource, ResourceApi, ResourceBase, ResourceIframe, RuntimeConfig, type RuntimeEvent, Scene, SceneStatus, ScheduledTask, ScheduledTaskCalendarItem, ScheduledTaskCalendarItem as ScheduledTaskCalendarItemData, type ScheduledTaskCreatePayload, ScheduledTask as ScheduledTaskData, ScheduledTaskRun, ScheduledTaskRun as ScheduledTaskRunData, type ScheduledTaskUpdatePayload, SessionDetail, SessionInfo, SessionSkillUploadPayload, SessionSkillUploadPayload as SessionSkillUploadPayloadData, SessionSkillUploadResult, SessionSkillUploadResult as SessionSkillUploadResultData, type SessionStatusEvent, SkillCompletionMenu, type SkillCompletionMenuRef, SkillDetail, SkillMention, SkillOrgListResponse, SkillSearchResult, type SkillSuggestionItem, SkillSummary, SoftwareFactorySharedFile, SoftwareFactorySoftware, Solution, type StepMessageRange, type SystemError, Task, type ToolCallCreated, type ToolResultDone, TurnProjection, type UiMeta, UpdateQuickScenarioPayload, type UseTiptapVoiceInputOptions, type UseTiptapVoiceInputResult, type UseVoiceInputOptions, type UseVoiceInputResult, type VoiceInputError, type VoiceInputStatus, VoiceWaveform, agentApi, agentSocket, apiFetch, apiFetchResponse, apiFetchText, apiKeys as apiKeysApi, attachClientToStores, attachHostBridgeListener, auth as authApi, bootstrapBladeClient, buildMessageContent, buildSessionBinaryPreviewTarget, buildStepRanges, buildVoiceInputUnavailableError, cardRegistry, cn, copyToClipboard, createResourceApi, databaseApi, deriveDeprecateEntryIds, envBuckets as envBucketsApi, getAuthedUrl, getBaseUrl, getBootstrappedClient, getClient, getCodeLanguageFromFilename, getSocket, getTextContent, gisApi, groupMessagesByLoop, isInsideIframe, isUiMeta, knowledgeApi, listSkillOrgs, memories as memoriesApi, models as modelsApi, normalizeCodeLanguage, partnerSkill as partnerSkillApi, publishSkill, resolveEffectiveTheme, resolveSessionFilePreviewTarget, resourceBridgeDispatch, scenarios as scenariosApi, scheduledTasks as scheduledTasksApi, sessions as sessionsApi, setAnalyticsClient, setOnWorkspaceFilesChanged, skillMentionSuggestionKey, skills as skillsApi, softwareFactory as softwareFactoryApi, solutions as solutionsApi, toolApi, trackEvent, transformSlashCommand, uploadFiles, useAgents, useAuthStore, useBackgroundStore, useBackgroundTasks, useBladeClient, useCardContext, useCardState, useCardStateStore, useChat, useChatStore, useCheckSkillFile, useConnectionStore, useDataSources, useGisState, useGisStore, useGlobalSkillStats, useHighlightedCodeHtml, useInputHistory, useKnowledgeBases, useModelConfig, usePreferredModel, useResolvedModel, useRuntimeConfig, useRuntimeFeaturesStore, useRuntimeStore, useSession, useSkills, useTaskStore, useTiptapVoiceInput, useToolProviders, useUiBridgeStore, useUiStore, useVoiceInput, userPreferences as userPreferencesApi };
|
|
1441
|
+
export { type ActiveRightTab, type AnalyticsEventName, ApiKeyCreateResponse, ApiKeyPublic, BackgroundTask, BizRole, type BladeBridgeEnvelope, BladeClientOptions, BladeClientProvider, type BladeClientProviderProps, BladeContext, BladeHubScenarioResource, type Card, CardCodeBlock, type CardComponent, type CardComponentProps, CardContext, CardJSON, type ChatEnd, ChatMessage, type ConnectionStatus, type ContentDelta, CreateQuickScenarioPayload, CreateSoftwareFactorySharedFilePayload, CreateSoftwareFactorySoftwarePayload, EnvBucket, EnvVariable, GisGoal, GisMapCommand, GisResource$1 as GisResource, GisState, GisTarget, GlobalSkillStats, InstalledRegistrySkill, type LlmResponseDone, MarkdownContent, Memory, MemoryCreateBody, MemoryListParams, MemoryListResponse, MessageContent, ModelSelector, PartnerSkillInstallPayload, PartnerSkillInstallPayload as PartnerSkillInstallPayloadData, PartnerSkillInstallResult, PartnerSkillInstallResult as PartnerSkillInstallResultData, PatchEnvelope, PlatformEnvBucket, type PreviewTarget, PreviewUrlItem, PublishedApp, PublishedAppListResponse, PublishedAppStatus, QuickScenario, RegistryResource, ResourceApi, ResourceBase, ResourceIframe, RuntimeConfig, type RuntimeEvent, Scene, SceneStatus, ScheduledTask, ScheduledTaskCalendarItem, ScheduledTaskCalendarItem as ScheduledTaskCalendarItemData, type ScheduledTaskCreatePayload, ScheduledTask as ScheduledTaskData, ScheduledTaskRun, ScheduledTaskRun as ScheduledTaskRunData, type ScheduledTaskUpdatePayload, SessionDetail, 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 VoiceInputError, type VoiceInputStatus, VoiceWaveform, agentApi, agentSocket, apiFetch, apiFetchResponse, apiFetchText, apiKeys as apiKeysApi, attachClientToStores, attachHostBridgeListener, auth as authApi, bootstrapBladeClient, buildMessageContent, buildSessionBinaryPreviewTarget, buildStepRanges, buildVoiceInputUnavailableError, cardRegistry, cn, copyToClipboard, createResourceApi, databaseApi, deriveDeprecateEntryIds, envBuckets as envBucketsApi, getAuthedUrl, getBaseUrl, getBootstrappedClient, getClient, getCodeLanguageFromFilename, getSocket, getTextContent, gisApi, groupMessagesByLoop, isInsideIframe, isUiMeta, knowledgeApi, listSkillOrgs, memories as memoriesApi, models as modelsApi, normalizeCodeLanguage, partnerSkill as partnerSkillApi, publishSkill, publishedApps as publishedAppsApi, resolveEffectiveTheme, resolveSessionFilePreviewTarget, resourceBridgeDispatch, scenarios as scenariosApi, scheduledTasks as scheduledTasksApi, sessions as sessionsApi, setAnalyticsClient, setOnWorkspaceFilesChanged, skillMentionSuggestionKey, skills as skillsApi, softwareFactory as softwareFactoryApi, solutions as solutionsApi, toolApi, trackEvent, transformSlashCommand, uploadFiles, useAgents, useAuthStore, useBackgroundStore, useBackgroundTasks, useBladeClient, useCardContext, useCardState, useCardStateStore, useChat, useChatStore, useCheckSkillFile, useConnectionStore, useDataSources, useGisState, useGisStore, useGlobalSkillStats, useHighlightedCodeHtml, useInputHistory, useKnowledgeBases, useModelConfig, usePreferredModel, useResolvedModel, useRuntimeConfig, useRuntimeFeaturesStore, useRuntimeStore, useSession, useSkills, useTaskStore, useTiptapVoiceInput, useToolProviders, useUiBridgeStore, useUiStore, useVoiceInput, userPreferences as userPreferencesApi };
|
package/dist/react/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
licenses_exports
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-ACHKHQEO.js";
|
|
4
4
|
import {
|
|
5
5
|
useCardState
|
|
6
6
|
} from "../chunk-DQCXSPHP.js";
|
|
@@ -33,11 +33,11 @@ import {
|
|
|
33
33
|
useTiptapVoiceInput,
|
|
34
34
|
useVoiceInput,
|
|
35
35
|
user_preferences_exports
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-C34J6GD3.js";
|
|
37
37
|
import {
|
|
38
38
|
buildSessionBinaryPreviewTarget,
|
|
39
39
|
resolveSessionFilePreviewTarget
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-6RVI56IR.js";
|
|
41
41
|
import {
|
|
42
42
|
CardCodeBlock,
|
|
43
43
|
CardContext,
|
|
@@ -46,14 +46,14 @@ import {
|
|
|
46
46
|
normalizeCodeLanguage,
|
|
47
47
|
useCardContext,
|
|
48
48
|
useHighlightedCodeHtml
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-JMNQIZOC.js";
|
|
50
50
|
import {
|
|
51
51
|
CardJSON,
|
|
52
52
|
cardRegistry
|
|
53
53
|
} from "../chunk-2UP7MG3J.js";
|
|
54
54
|
import {
|
|
55
55
|
useSession
|
|
56
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-AGRVE5NY.js";
|
|
57
57
|
import {
|
|
58
58
|
PartnerSkillFile,
|
|
59
59
|
PartnerSkillInstallPayload,
|
|
@@ -105,12 +105,12 @@ import {
|
|
|
105
105
|
useTaskStore,
|
|
106
106
|
useUiBridgeStore,
|
|
107
107
|
useUiStore
|
|
108
|
-
} from "../chunk-
|
|
108
|
+
} from "../chunk-6UVM6PBD.js";
|
|
109
109
|
import "../chunk-J3XVFPOV.js";
|
|
110
110
|
import {
|
|
111
111
|
REGISTRY_PREFIX,
|
|
112
112
|
normalizeResource
|
|
113
|
-
} from "../chunk-
|
|
113
|
+
} from "../chunk-UWUDHCVV.js";
|
|
114
114
|
import {
|
|
115
115
|
cn,
|
|
116
116
|
copyToClipboard
|
|
@@ -203,6 +203,16 @@ var r4 = () => getClient().gis;
|
|
|
203
203
|
var fetchGisState = (...args) => r4().fetchGisState(...args);
|
|
204
204
|
var fetchRuntimeConfig = (...args) => r4().fetchRuntimeConfig(...args);
|
|
205
205
|
|
|
206
|
+
// src/react/api/published-apps.ts
|
|
207
|
+
var published_apps_exports = {};
|
|
208
|
+
__export(published_apps_exports, {
|
|
209
|
+
listPublishedApps: () => listPublishedApps,
|
|
210
|
+
unpublishApp: () => unpublishApp
|
|
211
|
+
});
|
|
212
|
+
var r5 = () => getClient().publishedApps;
|
|
213
|
+
var listPublishedApps = (...args) => r5().listPublishedApps(...args);
|
|
214
|
+
var unpublishApp = (...args) => r5().unpublishApp(...args);
|
|
215
|
+
|
|
206
216
|
// src/react/api/solutions.ts
|
|
207
217
|
var solutions_exports = {};
|
|
208
218
|
__export(solutions_exports, {
|
|
@@ -210,10 +220,10 @@ __export(solutions_exports, {
|
|
|
210
220
|
fetchSolutionFile: () => fetchSolutionFile,
|
|
211
221
|
fetchSolutions: () => fetchSolutions
|
|
212
222
|
});
|
|
213
|
-
var
|
|
214
|
-
var fetchSolutions = (...args) =>
|
|
215
|
-
var fetchSolutionFile = (...args) =>
|
|
216
|
-
var fetchSolutionBizRoles = (...args) =>
|
|
223
|
+
var r6 = () => getClient().solutions;
|
|
224
|
+
var fetchSolutions = (...args) => r6().fetchSolutions(...args);
|
|
225
|
+
var fetchSolutionFile = (...args) => r6().fetchSolutionFile(...args);
|
|
226
|
+
var fetchSolutionBizRoles = (...args) => r6().fetchSolutionBizRoles(...args);
|
|
217
227
|
|
|
218
228
|
// src/react/api/scenarios.ts
|
|
219
229
|
var scenarios_exports = {};
|
|
@@ -224,12 +234,12 @@ __export(scenarios_exports, {
|
|
|
224
234
|
listQuickScenarios: () => listQuickScenarios,
|
|
225
235
|
updateQuickScenario: () => updateQuickScenario
|
|
226
236
|
});
|
|
227
|
-
var
|
|
228
|
-
var listQuickScenarios = (...args) =>
|
|
229
|
-
var createQuickScenario = (...args) =>
|
|
230
|
-
var deleteQuickScenario = (...args) =>
|
|
231
|
-
var updateQuickScenario = (...args) =>
|
|
232
|
-
var listBladeHubScenarioResources = (...args) =>
|
|
237
|
+
var r7 = () => getClient().scenarios;
|
|
238
|
+
var listQuickScenarios = (...args) => r7().listQuickScenarios(...args);
|
|
239
|
+
var createQuickScenario = (...args) => r7().createQuickScenario(...args);
|
|
240
|
+
var deleteQuickScenario = (...args) => r7().deleteQuickScenario(...args);
|
|
241
|
+
var updateQuickScenario = (...args) => r7().updateQuickScenario(...args);
|
|
242
|
+
var listBladeHubScenarioResources = (...args) => r7().listBladeHubScenarioResources(...args);
|
|
233
243
|
|
|
234
244
|
// src/react/api/scheduled-tasks.ts
|
|
235
245
|
var scheduled_tasks_exports = {};
|
|
@@ -309,45 +319,45 @@ __export(software_factory_exports, {
|
|
|
309
319
|
updateSoftware: () => updateSoftware,
|
|
310
320
|
uploadSoftwareDocuments: () => uploadSoftwareDocuments
|
|
311
321
|
});
|
|
312
|
-
var
|
|
313
|
-
var listSoftware = (...args) =>
|
|
314
|
-
var getSoftware = (...args) =>
|
|
315
|
-
var deleteSoftware = (...args) =>
|
|
316
|
-
var createSoftware = (...args) =>
|
|
317
|
-
var updateSoftware = (...args) =>
|
|
318
|
-
var bindTopicModuleSession = (...args) =>
|
|
319
|
-
var submitModuleForReview = (...args) =>
|
|
320
|
-
var completeModule = (...args) =>
|
|
321
|
-
var reopenModule = (...args) =>
|
|
322
|
-
var listSharedFiles = (...args) =>
|
|
323
|
-
var createSharedFile = (...args) =>
|
|
324
|
-
var uploadSoftwareDocuments = (...args) =>
|
|
325
|
-
var ensureIssueSession = (...args) =>
|
|
326
|
-
var listCodingTasks = (...args) =>
|
|
327
|
-
var startCoding = (...args) =>
|
|
328
|
-
var readShareFileContent = (...args) =>
|
|
329
|
-
var syncShare = (...args) =>
|
|
330
|
-
var listTopics = (...args) =>
|
|
331
|
-
var replaceTopics = (...args) =>
|
|
332
|
-
var getFactoryExportUrl = (...args) =>
|
|
333
|
-
var importFactory = (...args) =>
|
|
322
|
+
var r8 = () => getClient().softwareFactory;
|
|
323
|
+
var listSoftware = (...args) => r8().listSoftware(...args);
|
|
324
|
+
var getSoftware = (...args) => r8().getSoftware(...args);
|
|
325
|
+
var deleteSoftware = (...args) => r8().deleteSoftware(...args);
|
|
326
|
+
var createSoftware = (...args) => r8().createSoftware(...args);
|
|
327
|
+
var updateSoftware = (...args) => r8().updateSoftware(...args);
|
|
328
|
+
var bindTopicModuleSession = (...args) => r8().bindTopicModuleSession(...args);
|
|
329
|
+
var submitModuleForReview = (...args) => r8().submitModuleForReview(...args);
|
|
330
|
+
var completeModule = (...args) => r8().completeModule(...args);
|
|
331
|
+
var reopenModule = (...args) => r8().reopenModule(...args);
|
|
332
|
+
var listSharedFiles = (...args) => r8().listSharedFiles(...args);
|
|
333
|
+
var createSharedFile = (...args) => r8().createSharedFile(...args);
|
|
334
|
+
var uploadSoftwareDocuments = (...args) => r8().uploadSoftwareDocuments(...args);
|
|
335
|
+
var ensureIssueSession = (...args) => r8().ensureIssueSession(...args);
|
|
336
|
+
var listCodingTasks = (...args) => r8().listCodingTasks(...args);
|
|
337
|
+
var startCoding = (...args) => r8().startCoding(...args);
|
|
338
|
+
var readShareFileContent = (...args) => r8().readShareFileContent(...args);
|
|
339
|
+
var syncShare = (...args) => r8().syncShare(...args);
|
|
340
|
+
var listTopics = (...args) => r8().listTopics(...args);
|
|
341
|
+
var replaceTopics = (...args) => r8().replaceTopics(...args);
|
|
342
|
+
var getFactoryExportUrl = (...args) => r8().getFactoryExportUrl(...args);
|
|
343
|
+
var importFactory = (...args) => r8().importFactory(...args);
|
|
334
344
|
|
|
335
345
|
// src/react/api/registry.ts
|
|
336
|
-
var
|
|
337
|
-
var createResourceApi = (apiType) =>
|
|
338
|
-
var listSkillOrgs = (...args) =>
|
|
339
|
-
var publishSkill = (...args) =>
|
|
346
|
+
var r9 = () => getClient().registry;
|
|
347
|
+
var createResourceApi = (apiType) => r9().createResourceApi(apiType);
|
|
348
|
+
var listSkillOrgs = (...args) => r9().listSkillOrgs(...args);
|
|
349
|
+
var publishSkill = (...args) => r9().publishSkill(...args);
|
|
340
350
|
var databaseApi = new Proxy({}, {
|
|
341
|
-
get: (_target, prop) => Reflect.get(
|
|
351
|
+
get: (_target, prop) => Reflect.get(r9().databaseApi, prop)
|
|
342
352
|
});
|
|
343
353
|
var toolApi = new Proxy({}, {
|
|
344
|
-
get: (_target, prop) => Reflect.get(
|
|
354
|
+
get: (_target, prop) => Reflect.get(r9().toolApi, prop)
|
|
345
355
|
});
|
|
346
356
|
var knowledgeApi = new Proxy({}, {
|
|
347
|
-
get: (_target, prop) => Reflect.get(
|
|
357
|
+
get: (_target, prop) => Reflect.get(r9().knowledgeApi, prop)
|
|
348
358
|
});
|
|
349
359
|
var agentApi = new Proxy({}, {
|
|
350
|
-
get: (_target, prop) => Reflect.get(
|
|
360
|
+
get: (_target, prop) => Reflect.get(r9().agentApi, prop)
|
|
351
361
|
});
|
|
352
362
|
|
|
353
363
|
// src/react/hooks/use-gis.ts
|
|
@@ -653,16 +663,16 @@ function buildStepRanges(messages, steps) {
|
|
|
653
663
|
ranges.sort((a, b) => a.startIndex - b.startIndex);
|
|
654
664
|
const result = [];
|
|
655
665
|
for (let i = 0; i < ranges.length; i++) {
|
|
656
|
-
const
|
|
666
|
+
const r10 = ranges[i];
|
|
657
667
|
const upper = i + 1 < ranges.length ? ranges[i + 1].startIndex : messages.length;
|
|
658
|
-
let lastTagged =
|
|
659
|
-
for (let j = upper - 1; j >=
|
|
660
|
-
if (perMessageStep[j] ===
|
|
668
|
+
let lastTagged = r10.startIndex;
|
|
669
|
+
for (let j = upper - 1; j >= r10.startIndex; j--) {
|
|
670
|
+
if (perMessageStep[j] === r10.stepNumber) {
|
|
661
671
|
lastTagged = j;
|
|
662
672
|
break;
|
|
663
673
|
}
|
|
664
674
|
}
|
|
665
|
-
result.push({ stepNumber:
|
|
675
|
+
result.push({ stepNumber: r10.stepNumber, startIndex: r10.startIndex, endIndex: lastTagged + 1 });
|
|
666
676
|
}
|
|
667
677
|
return result;
|
|
668
678
|
}
|
|
@@ -977,6 +987,7 @@ export {
|
|
|
977
987
|
parseWhatIfPrompt,
|
|
978
988
|
partner_skill_exports as partnerSkillApi,
|
|
979
989
|
publishSkill,
|
|
990
|
+
published_apps_exports as publishedAppsApi,
|
|
980
991
|
resolveEffectiveTheme,
|
|
981
992
|
resolveSessionFilePreviewTarget,
|
|
982
993
|
resourceBridgeDispatch,
|