@blade-hq/agent-kit 1.0.23 → 1.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{SkillStatusBar-DluiBsVj.d.ts → SkillStatusBar-U6fbQxMu.d.ts} +2 -2
- package/dist/{blade-client-CseN7OW9.d.ts → blade-client-qTOovekU.d.ts} +2 -260
- package/dist/{chunk-ICV7OTGX.js → chunk-3I4ZURKH.js} +10 -10
- package/dist/{chunk-DQCXSPHP.js → chunk-4D4EXLVT.js} +2 -2
- package/dist/{chunk-7F6UP5LP.js → chunk-M45K3554.js} +1 -206
- package/dist/chunk-M45K3554.js.map +1 -0
- package/dist/{chunk-JCJFFJ42.js → chunk-QODAKTG5.js} +31 -2
- package/dist/chunk-QODAKTG5.js.map +1 -0
- package/dist/{chunk-TYM7KL2L.js → chunk-VJY6RLYU.js} +2 -2
- package/dist/{chunk-2QYV43YP.js → chunk-WPLEMYL7.js} +2 -2
- package/dist/{chunk-IMMRWXI7.js → chunk-WVXXQ3KM.js} +6 -6
- package/dist/{chunk-BQKF6HJH.js → chunk-XCIDE3JW.js} +4 -4
- package/dist/client/index.d.ts +3547 -6968
- package/dist/client/index.js +1 -5
- package/dist/react/cards/register.js +2 -3
- package/dist/react/cards/register.js.map +1 -1
- package/dist/react/components/chat/index.d.ts +4 -4
- package/dist/react/components/chat/index.js +6 -7
- package/dist/react/components/plan/index.js +6 -7
- package/dist/react/components/plan/index.js.map +1 -1
- package/dist/react/components/session/index.d.ts +1 -1
- package/dist/react/components/session/index.js +5 -6
- package/dist/react/components/session/index.js.map +1 -1
- package/dist/react/components/workspace/index.d.ts +3 -3
- package/dist/react/components/workspace/index.js +5 -6
- package/dist/react/components/workspace/index.js.map +1 -1
- package/dist/react/index.d.ts +8 -85
- package/dist/react/index.js +23 -74
- package/dist/react/index.js.map +1 -1
- package/dist/{session-CT8Y2KHr.d.ts → session-CNnotR90.d.ts} +1 -1
- package/dist/{sessions-DI9DVun7.d.ts → sessions-BvfLGbjw.d.ts} +2 -2
- package/package.json +1 -2
- package/dist/chunk-7F6UP5LP.js.map +0 -1
- package/dist/chunk-7LEKQI47.js +0 -32
- package/dist/chunk-7LEKQI47.js.map +0 -1
- package/dist/chunk-JCJFFJ42.js.map +0 -1
- package/dist/react/api/vibe-coding.d.ts +0 -55
- package/dist/react/api/vibe-coding.js +0 -47
- package/dist/react/api/vibe-coding.js.map +0 -1
- /package/dist/{chunk-ICV7OTGX.js.map → chunk-3I4ZURKH.js.map} +0 -0
- /package/dist/{chunk-DQCXSPHP.js.map → chunk-4D4EXLVT.js.map} +0 -0
- /package/dist/{chunk-TYM7KL2L.js.map → chunk-VJY6RLYU.js.map} +0 -0
- /package/dist/{chunk-2QYV43YP.js.map → chunk-WPLEMYL7.js.map} +0 -0
- /package/dist/{chunk-IMMRWXI7.js.map → chunk-WVXXQ3KM.js.map} +0 -0
- /package/dist/{chunk-BQKF6HJH.js.map → chunk-XCIDE3JW.js.map} +0 -0
package/dist/react/index.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { n as BladeClient, o as BladeClientOptions, k as ApiKeysResource, A as ApiKeyCreateResponse, j as ApiKeyPublic, l as AuthResource, ar as UserInfo, a2 as ProvidersResponse, av as EnvBucketsResource, aw as EnvBucket, ax as PlatformEnvBucket, Q as MemoriesResource, R as Memory, X as MemoryListResponse, V as MemoryCreateBody, W as MemoryListParams, G as GisResource, ay as GisState, az as RuntimeConfig, _ as ModelsResource, Y as ModelOption, Z as ModelsConfig, ai as SkillsResource, z as GlobalSkillStats, aA as SkillDetail, aB as SkillStats, N as InstalledRegistrySkill, aC as SkillSummary, aD as SkillSearchResult, aE as PartnerSkillInstallPayload, aF as PartnerSkillInstallResult, aG as SessionSkillUploadPayload, aH as SessionSkillUploadResult, a3 as PublishedAppsResource, aI as PublishedApp, aJ as PublishedAppListResponse, aK as PublishedAppStatus, aL as UnpublishAppResponse, as as UserPreferencesResource, v as ComputerUpgradeStatusResponse, aq as UpgradeComputerResponse, ak as SolutionsResource, y as ExportedSolutionFile, ac as ScenariosResource, a4 as QuickScenario, q as BladeHubScenarioResource, w as CreateQuickScenarioPayload, a1 as PreviewUrlItem, ap as UpdateQuickScenarioPayload, a7 as ResourceApi, a6 as RegistryResource, ag as SkillOrgListResponse, B as BackgroundTask, aM as GisGoal, aN as GisResource$1, aO as GisTarget, aP as GisMapCommand, aQ as Task } from '../blade-client-qTOovekU.js';
|
|
2
|
+
export { aR as AgentDriver, aS as AgentResource, aT as DatabaseDriver, aU as DatabaseResource, aV as DifyKnowledgeConfig, aW as GisGoalStatus, aX as HttpToolConfig, aY as KnowledgeDriver, aZ as KnowledgeResource, a_ as McpToolConfig, a$ as MysqlConfig, b0 as ParallelMode, b1 as PartnerSkillFile, b1 as PartnerSkillFileData, b2 as PartnerSkillName, b2 as PartnerSkillNameData, b3 as PostgresqlConfig, a5 as REGISTRY_PREFIX, b4 as SessionSkillFile, b4 as SessionSkillFileData, b5 as SessionSkillName, b5 as SessionSkillNameData, ah as SkillOrgOption, b6 as StageSpec, b7 as StepSpec, b8 as TaskStatus, b9 as ToolDriver, ba as ToolResource, au as normalizeResource, bb as skillDisplayName } from '../blade-client-qTOovekU.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-BvfLGbjw.js';
|
|
7
|
+
import { B as BizRole, c as Solution, a as SessionInfo } from '../session-CNnotR90.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-CNnotR90.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 { n as ClientAwareState } from '../SkillStatusBar-
|
|
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-
|
|
15
|
+
import { n as ClientAwareState } from '../SkillStatusBar-U6fbQxMu.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-U6fbQxMu.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';
|
|
@@ -928,83 +928,6 @@ declare namespace scheduledTasks {
|
|
|
928
928
|
export { type scheduledTasks_ScheduledTaskCreatePayload as ScheduledTaskCreatePayload, type scheduledTasks_ScheduledTaskUpdatePayload as ScheduledTaskUpdatePayload, scheduledTasks_createScheduledTask as createScheduledTask, scheduledTasks_deleteScheduledTask as deleteScheduledTask, scheduledTasks_getScheduledTask as getScheduledTask, scheduledTasks_getScheduledTaskCalendar as getScheduledTaskCalendar, scheduledTasks_listScheduledTaskRuns as listScheduledTaskRuns, scheduledTasks_listScheduledTasks as listScheduledTasks, scheduledTasks_startScheduledTask as startScheduledTask, scheduledTasks_stopScheduledTask as stopScheduledTask, scheduledTasks_updateScheduledTask as updateScheduledTask };
|
|
929
929
|
}
|
|
930
930
|
|
|
931
|
-
declare const listSoftware: (...args: Parameters<SoftwareFactoryResource["listSoftware"]>) => Promise<SoftwareFactorySoftware[]>;
|
|
932
|
-
declare const getSoftware: (...args: Parameters<SoftwareFactoryResource["getSoftware"]>) => Promise<SoftwareFactorySoftware>;
|
|
933
|
-
declare const deleteSoftware: (...args: Parameters<SoftwareFactoryResource["deleteSoftware"]>) => Promise<{
|
|
934
|
-
ok: boolean;
|
|
935
|
-
}>;
|
|
936
|
-
declare const createSoftware: (...args: Parameters<SoftwareFactoryResource["createSoftware"]>) => Promise<SoftwareFactorySoftware>;
|
|
937
|
-
declare const updateSoftware: (...args: Parameters<SoftwareFactoryResource["updateSoftware"]>) => Promise<SoftwareFactorySoftware>;
|
|
938
|
-
declare const bindTopicModuleSession: (...args: Parameters<SoftwareFactoryResource["bindTopicModuleSession"]>) => Promise<SoftwareFactorySoftware>;
|
|
939
|
-
declare const submitModuleForReview: (...args: Parameters<SoftwareFactoryResource["submitModuleForReview"]>) => Promise<SoftwareFactoryTopicModule>;
|
|
940
|
-
declare const completeModule: (...args: Parameters<SoftwareFactoryResource["completeModule"]>) => Promise<SoftwareFactoryTopicModule>;
|
|
941
|
-
declare const reopenModule: (...args: Parameters<SoftwareFactoryResource["reopenModule"]>) => Promise<SoftwareFactoryTopicModule>;
|
|
942
|
-
declare const listSharedFiles: (...args: Parameters<SoftwareFactoryResource["listSharedFiles"]>) => Promise<SoftwareFactorySharedFile[]>;
|
|
943
|
-
declare const createSharedFile: (...args: Parameters<SoftwareFactoryResource["createSharedFile"]>) => Promise<SoftwareFactorySharedFile>;
|
|
944
|
-
declare const uploadSoftwareDocuments: (...args: Parameters<SoftwareFactoryResource["uploadSoftwareDocuments"]>) => Promise<{
|
|
945
|
-
uploaded: string[];
|
|
946
|
-
failed: string[];
|
|
947
|
-
}>;
|
|
948
|
-
declare const ensureIssueSession: (...args: Parameters<SoftwareFactoryResource["ensureIssueSession"]>) => Promise<{
|
|
949
|
-
session_id: string;
|
|
950
|
-
}>;
|
|
951
|
-
declare const listCodingTasks: (...args: Parameters<SoftwareFactoryResource["listCodingTasks"]>) => Promise<{
|
|
952
|
-
topics: CodingTaskTopic[];
|
|
953
|
-
}>;
|
|
954
|
-
declare const startCoding: (...args: Parameters<SoftwareFactoryResource["startCoding"]>) => Promise<{
|
|
955
|
-
session_id: string;
|
|
956
|
-
topic_name: string;
|
|
957
|
-
task_names: string[];
|
|
958
|
-
}>;
|
|
959
|
-
declare const readShareFileContent: (...args: Parameters<SoftwareFactoryResource["readShareFileContent"]>) => Promise<{
|
|
960
|
-
content: string;
|
|
961
|
-
}>;
|
|
962
|
-
declare const syncShare: (...args: Parameters<SoftwareFactoryResource["syncShare"]>) => Promise<{
|
|
963
|
-
synced_sessions: string[];
|
|
964
|
-
}>;
|
|
965
|
-
declare const listTopics: (...args: Parameters<SoftwareFactoryResource["listTopics"]>) => Promise<SoftwareFactoryTopic[]>;
|
|
966
|
-
declare const replaceTopics: (...args: Parameters<SoftwareFactoryResource["replaceTopics"]>) => Promise<SoftwareFactoryTopic[]>;
|
|
967
|
-
declare const getFactoryExportUrl: (...args: Parameters<SoftwareFactoryResource["getFactoryExportUrl"]>) => string;
|
|
968
|
-
declare const importFactory: (...args: Parameters<SoftwareFactoryResource["importFactory"]>) => Promise<{
|
|
969
|
-
software_id: number;
|
|
970
|
-
session_id_map: Record<string, string>;
|
|
971
|
-
}>;
|
|
972
|
-
|
|
973
|
-
declare const softwareFactory_CodingTask: typeof CodingTask;
|
|
974
|
-
declare const softwareFactory_CodingTaskTopic: typeof CodingTaskTopic;
|
|
975
|
-
declare const softwareFactory_CreateSoftwareFactorySharedFilePayload: typeof CreateSoftwareFactorySharedFilePayload;
|
|
976
|
-
declare const softwareFactory_CreateSoftwareFactorySoftwarePayload: typeof CreateSoftwareFactorySoftwarePayload;
|
|
977
|
-
declare const softwareFactory_SoftwareFactoryModuleBlueprint: typeof SoftwareFactoryModuleBlueprint;
|
|
978
|
-
declare const softwareFactory_SoftwareFactoryResource: typeof SoftwareFactoryResource;
|
|
979
|
-
declare const softwareFactory_SoftwareFactorySharedFile: typeof SoftwareFactorySharedFile;
|
|
980
|
-
declare const softwareFactory_SoftwareFactorySoftware: typeof SoftwareFactorySoftware;
|
|
981
|
-
declare const softwareFactory_SoftwareFactoryTopic: typeof SoftwareFactoryTopic;
|
|
982
|
-
declare const softwareFactory_SoftwareFactoryTopicModule: typeof SoftwareFactoryTopicModule;
|
|
983
|
-
declare const softwareFactory_bindTopicModuleSession: typeof bindTopicModuleSession;
|
|
984
|
-
declare const softwareFactory_completeModule: typeof completeModule;
|
|
985
|
-
declare const softwareFactory_createSharedFile: typeof createSharedFile;
|
|
986
|
-
declare const softwareFactory_createSoftware: typeof createSoftware;
|
|
987
|
-
declare const softwareFactory_deleteSoftware: typeof deleteSoftware;
|
|
988
|
-
declare const softwareFactory_ensureIssueSession: typeof ensureIssueSession;
|
|
989
|
-
declare const softwareFactory_getFactoryExportUrl: typeof getFactoryExportUrl;
|
|
990
|
-
declare const softwareFactory_getSoftware: typeof getSoftware;
|
|
991
|
-
declare const softwareFactory_importFactory: typeof importFactory;
|
|
992
|
-
declare const softwareFactory_listCodingTasks: typeof listCodingTasks;
|
|
993
|
-
declare const softwareFactory_listSharedFiles: typeof listSharedFiles;
|
|
994
|
-
declare const softwareFactory_listSoftware: typeof listSoftware;
|
|
995
|
-
declare const softwareFactory_listTopics: typeof listTopics;
|
|
996
|
-
declare const softwareFactory_readShareFileContent: typeof readShareFileContent;
|
|
997
|
-
declare const softwareFactory_reopenModule: typeof reopenModule;
|
|
998
|
-
declare const softwareFactory_replaceTopics: typeof replaceTopics;
|
|
999
|
-
declare const softwareFactory_startCoding: typeof startCoding;
|
|
1000
|
-
declare const softwareFactory_submitModuleForReview: typeof submitModuleForReview;
|
|
1001
|
-
declare const softwareFactory_syncShare: typeof syncShare;
|
|
1002
|
-
declare const softwareFactory_updateSoftware: typeof updateSoftware;
|
|
1003
|
-
declare const softwareFactory_uploadSoftwareDocuments: typeof uploadSoftwareDocuments;
|
|
1004
|
-
declare namespace softwareFactory {
|
|
1005
|
-
export { softwareFactory_CodingTask as CodingTask, softwareFactory_CodingTaskTopic as CodingTaskTopic, softwareFactory_CreateSoftwareFactorySharedFilePayload as CreateSoftwareFactorySharedFilePayload, softwareFactory_CreateSoftwareFactorySoftwarePayload as CreateSoftwareFactorySoftwarePayload, softwareFactory_SoftwareFactoryModuleBlueprint as SoftwareFactoryModuleBlueprint, softwareFactory_SoftwareFactoryResource as SoftwareFactoryResource, softwareFactory_SoftwareFactorySharedFile as SoftwareFactorySharedFile, softwareFactory_SoftwareFactorySoftware as SoftwareFactorySoftware, softwareFactory_SoftwareFactoryTopic as SoftwareFactoryTopic, softwareFactory_SoftwareFactoryTopicModule as SoftwareFactoryTopicModule, softwareFactory_bindTopicModuleSession as bindTopicModuleSession, softwareFactory_completeModule as completeModule, softwareFactory_createSharedFile as createSharedFile, softwareFactory_createSoftware as createSoftware, softwareFactory_deleteSoftware as deleteSoftware, softwareFactory_ensureIssueSession as ensureIssueSession, softwareFactory_getFactoryExportUrl as getFactoryExportUrl, softwareFactory_getSoftware as getSoftware, softwareFactory_importFactory as importFactory, softwareFactory_listCodingTasks as listCodingTasks, softwareFactory_listSharedFiles as listSharedFiles, softwareFactory_listSoftware as listSoftware, softwareFactory_listTopics as listTopics, softwareFactory_readShareFileContent as readShareFileContent, softwareFactory_reopenModule as reopenModule, softwareFactory_replaceTopics as replaceTopics, softwareFactory_startCoding as startCoding, softwareFactory_submitModuleForReview as submitModuleForReview, softwareFactory_syncShare as syncShare, softwareFactory_updateSoftware as updateSoftware, softwareFactory_uploadSoftwareDocuments as uploadSoftwareDocuments };
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
931
|
declare const createResourceApi: <T extends Record<string, unknown>>(apiType: string) => ResourceApi<T>;
|
|
1009
932
|
declare const listSkillOrgs: (...args: Parameters<RegistryResource["listSkillOrgs"]>) => Promise<SkillOrgListResponse>;
|
|
1010
933
|
declare const publishSkill: (...args: Parameters<RegistryResource["publishSkill"]>) => Promise<{
|
|
@@ -2108,4 +2031,4 @@ interface UiBridgeState extends ClientAwareState {
|
|
|
2108
2031
|
}
|
|
2109
2032
|
declare const useUiBridgeStore: zustand.UseBoundStore<zustand.StoreApi<UiBridgeState>>;
|
|
2110
2033
|
|
|
2111
|
-
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,
|
|
2034
|
+
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, 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, Solution, type StepMessageRange, type SystemError, Task, type ToolCallCreated, type ToolResultDelta, 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, 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useCardState
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-4D4EXLVT.js";
|
|
4
4
|
import {
|
|
5
5
|
ATTACHMENT_SIZE_LIMIT_BYTES,
|
|
6
6
|
ChatInput,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
useTiptapVoiceInput,
|
|
33
33
|
useVoiceInput,
|
|
34
34
|
user_preferences_exports
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-3I4ZURKH.js";
|
|
36
36
|
import {
|
|
37
37
|
CardCodeBlock,
|
|
38
38
|
CardContext,
|
|
@@ -41,14 +41,14 @@ import {
|
|
|
41
41
|
normalizeCodeLanguage,
|
|
42
42
|
useCardContext,
|
|
43
43
|
useHighlightedCodeHtml
|
|
44
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-XCIDE3JW.js";
|
|
45
45
|
import {
|
|
46
46
|
CardJSON,
|
|
47
47
|
cardRegistry
|
|
48
48
|
} from "../chunk-2UP7MG3J.js";
|
|
49
49
|
import {
|
|
50
50
|
useSession
|
|
51
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-VJY6RLYU.js";
|
|
52
52
|
import "../chunk-H62LH2AG.js";
|
|
53
53
|
import {
|
|
54
54
|
buildBinaryPreviewTarget,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
isOfficePdfPreviewable,
|
|
57
57
|
resolveSessionFilePreviewTarget,
|
|
58
58
|
resolveTextPreviewType
|
|
59
|
-
} from "../chunk-
|
|
59
|
+
} from "../chunk-WPLEMYL7.js";
|
|
60
60
|
import {
|
|
61
61
|
PartnerSkillFile,
|
|
62
62
|
PartnerSkillInstallPayload,
|
|
@@ -111,19 +111,17 @@ import {
|
|
|
111
111
|
useTaskStore,
|
|
112
112
|
useUiBridgeStore,
|
|
113
113
|
useUiStore
|
|
114
|
-
} from "../chunk-
|
|
115
|
-
import "../chunk-J3XVFPOV.js";
|
|
114
|
+
} from "../chunk-WVXXQ3KM.js";
|
|
116
115
|
import {
|
|
117
116
|
REGISTRY_PREFIX,
|
|
118
117
|
normalizeResource
|
|
119
|
-
} from "../chunk-
|
|
118
|
+
} from "../chunk-M45K3554.js";
|
|
120
119
|
import {
|
|
121
120
|
cn,
|
|
122
|
-
copyToClipboard
|
|
123
|
-
} from "../chunk-7LEKQI47.js";
|
|
124
|
-
import {
|
|
121
|
+
copyToClipboard,
|
|
125
122
|
useCardStateStore
|
|
126
|
-
} from "../chunk-
|
|
123
|
+
} from "../chunk-QODAKTG5.js";
|
|
124
|
+
import "../chunk-J3XVFPOV.js";
|
|
127
125
|
import {
|
|
128
126
|
__export
|
|
129
127
|
} from "../chunk-PZ5AY32C.js";
|
|
@@ -745,70 +743,22 @@ async function getScheduledTaskCalendar(params) {
|
|
|
745
743
|
);
|
|
746
744
|
}
|
|
747
745
|
|
|
748
|
-
// src/react/api/software-factory.ts
|
|
749
|
-
var software_factory_exports = {};
|
|
750
|
-
__export(software_factory_exports, {
|
|
751
|
-
bindTopicModuleSession: () => bindTopicModuleSession,
|
|
752
|
-
completeModule: () => completeModule,
|
|
753
|
-
createSharedFile: () => createSharedFile,
|
|
754
|
-
createSoftware: () => createSoftware,
|
|
755
|
-
deleteSoftware: () => deleteSoftware,
|
|
756
|
-
ensureIssueSession: () => ensureIssueSession,
|
|
757
|
-
getFactoryExportUrl: () => getFactoryExportUrl,
|
|
758
|
-
getSoftware: () => getSoftware,
|
|
759
|
-
importFactory: () => importFactory,
|
|
760
|
-
listCodingTasks: () => listCodingTasks,
|
|
761
|
-
listSharedFiles: () => listSharedFiles,
|
|
762
|
-
listSoftware: () => listSoftware,
|
|
763
|
-
listTopics: () => listTopics,
|
|
764
|
-
readShareFileContent: () => readShareFileContent,
|
|
765
|
-
reopenModule: () => reopenModule,
|
|
766
|
-
replaceTopics: () => replaceTopics,
|
|
767
|
-
startCoding: () => startCoding,
|
|
768
|
-
submitModuleForReview: () => submitModuleForReview,
|
|
769
|
-
syncShare: () => syncShare,
|
|
770
|
-
updateSoftware: () => updateSoftware,
|
|
771
|
-
uploadSoftwareDocuments: () => uploadSoftwareDocuments
|
|
772
|
-
});
|
|
773
|
-
var r8 = () => getClient().softwareFactory;
|
|
774
|
-
var listSoftware = (...args) => r8().listSoftware(...args);
|
|
775
|
-
var getSoftware = (...args) => r8().getSoftware(...args);
|
|
776
|
-
var deleteSoftware = (...args) => r8().deleteSoftware(...args);
|
|
777
|
-
var createSoftware = (...args) => r8().createSoftware(...args);
|
|
778
|
-
var updateSoftware = (...args) => r8().updateSoftware(...args);
|
|
779
|
-
var bindTopicModuleSession = (...args) => r8().bindTopicModuleSession(...args);
|
|
780
|
-
var submitModuleForReview = (...args) => r8().submitModuleForReview(...args);
|
|
781
|
-
var completeModule = (...args) => r8().completeModule(...args);
|
|
782
|
-
var reopenModule = (...args) => r8().reopenModule(...args);
|
|
783
|
-
var listSharedFiles = (...args) => r8().listSharedFiles(...args);
|
|
784
|
-
var createSharedFile = (...args) => r8().createSharedFile(...args);
|
|
785
|
-
var uploadSoftwareDocuments = (...args) => r8().uploadSoftwareDocuments(...args);
|
|
786
|
-
var ensureIssueSession = (...args) => r8().ensureIssueSession(...args);
|
|
787
|
-
var listCodingTasks = (...args) => r8().listCodingTasks(...args);
|
|
788
|
-
var startCoding = (...args) => r8().startCoding(...args);
|
|
789
|
-
var readShareFileContent = (...args) => r8().readShareFileContent(...args);
|
|
790
|
-
var syncShare = (...args) => r8().syncShare(...args);
|
|
791
|
-
var listTopics = (...args) => r8().listTopics(...args);
|
|
792
|
-
var replaceTopics = (...args) => r8().replaceTopics(...args);
|
|
793
|
-
var getFactoryExportUrl = (...args) => r8().getFactoryExportUrl(...args);
|
|
794
|
-
var importFactory = (...args) => r8().importFactory(...args);
|
|
795
|
-
|
|
796
746
|
// src/react/api/registry.ts
|
|
797
|
-
var
|
|
798
|
-
var createResourceApi = (apiType) =>
|
|
799
|
-
var listSkillOrgs = (...args) =>
|
|
800
|
-
var publishSkill = (...args) =>
|
|
747
|
+
var r8 = () => getClient().registry;
|
|
748
|
+
var createResourceApi = (apiType) => r8().createResourceApi(apiType);
|
|
749
|
+
var listSkillOrgs = (...args) => r8().listSkillOrgs(...args);
|
|
750
|
+
var publishSkill = (...args) => r8().publishSkill(...args);
|
|
801
751
|
var databaseApi = new Proxy({}, {
|
|
802
|
-
get: (_target, prop) => Reflect.get(
|
|
752
|
+
get: (_target, prop) => Reflect.get(r8().databaseApi, prop)
|
|
803
753
|
});
|
|
804
754
|
var toolApi = new Proxy({}, {
|
|
805
|
-
get: (_target, prop) => Reflect.get(
|
|
755
|
+
get: (_target, prop) => Reflect.get(r8().toolApi, prop)
|
|
806
756
|
});
|
|
807
757
|
var knowledgeApi = new Proxy({}, {
|
|
808
|
-
get: (_target, prop) => Reflect.get(
|
|
758
|
+
get: (_target, prop) => Reflect.get(r8().knowledgeApi, prop)
|
|
809
759
|
});
|
|
810
760
|
var agentApi = new Proxy({}, {
|
|
811
|
-
get: (_target, prop) => Reflect.get(
|
|
761
|
+
get: (_target, prop) => Reflect.get(r8().agentApi, prop)
|
|
812
762
|
});
|
|
813
763
|
|
|
814
764
|
// src/react/hooks/use-gis.ts
|
|
@@ -1139,16 +1089,16 @@ function buildStepRanges(messages, steps) {
|
|
|
1139
1089
|
ranges.sort((a, b) => a.startIndex - b.startIndex);
|
|
1140
1090
|
const result = [];
|
|
1141
1091
|
for (let i = 0; i < ranges.length; i++) {
|
|
1142
|
-
const
|
|
1092
|
+
const r9 = ranges[i];
|
|
1143
1093
|
const upper = i + 1 < ranges.length ? ranges[i + 1].startIndex : messages.length;
|
|
1144
|
-
let lastTagged =
|
|
1145
|
-
for (let j = upper - 1; j >=
|
|
1146
|
-
if (perMessageStep[j] ===
|
|
1094
|
+
let lastTagged = r9.startIndex;
|
|
1095
|
+
for (let j = upper - 1; j >= r9.startIndex; j--) {
|
|
1096
|
+
if (perMessageStep[j] === r9.stepNumber) {
|
|
1147
1097
|
lastTagged = j;
|
|
1148
1098
|
break;
|
|
1149
1099
|
}
|
|
1150
1100
|
}
|
|
1151
|
-
result.push({ stepNumber:
|
|
1101
|
+
result.push({ stepNumber: r9.stepNumber, startIndex: r9.startIndex, endIndex: lastTagged + 1 });
|
|
1152
1102
|
}
|
|
1153
1103
|
return result;
|
|
1154
1104
|
}
|
|
@@ -1952,7 +1902,6 @@ export {
|
|
|
1952
1902
|
skillDisplayName,
|
|
1953
1903
|
skillMentionSuggestionKey,
|
|
1954
1904
|
skills_exports as skillsApi,
|
|
1955
|
-
software_factory_exports as softwareFactoryApi,
|
|
1956
1905
|
solutions_exports as solutionsApi,
|
|
1957
1906
|
splitFilesBySize,
|
|
1958
1907
|
subscribeBladeBridge,
|