@blade-hq/agent-kit 0.4.7 → 0.4.10
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-DQyipdzn.d.ts → SkillStatusBar-BnDtYUf9.d.ts} +2 -2
- package/dist/{blade-client-nOsdVlb1.d.ts → blade-client-n7fiBaFk.d.ts} +60 -2
- package/dist/{chunk-I3FFV63W.js → chunk-5ZFK62RQ.js} +2 -2
- package/dist/{chunk-OKQWPNE3.js → chunk-C3KSHIRA.js} +86 -5
- package/dist/chunk-C3KSHIRA.js.map +1 -0
- package/dist/{chunk-X6MEYCU7.js → chunk-CK7JMN5S.js} +228 -82
- package/dist/chunk-CK7JMN5S.js.map +1 -0
- package/dist/{chunk-4VWLTG5L.js → chunk-EDMS2G5P.js} +88 -17
- package/dist/chunk-EDMS2G5P.js.map +1 -0
- package/dist/{chunk-TC5BBLWO.js → chunk-EFNGK46B.js} +2 -2
- package/dist/{chunk-VD4CKRMT.js → chunk-FYPS4SFF.js} +2 -2
- package/dist/{chunk-CGOQI7ZL.js → chunk-TYCA6WYX.js} +98 -81
- package/dist/chunk-TYCA6WYX.js.map +1 -0
- package/dist/client/index.d.ts +395 -29
- package/dist/client/index.js +1 -1
- package/dist/{licenses-Cxl1xGVy.d.ts → licenses-BZpFl0qG.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 +64 -12
- package/dist/react/index.js +100 -63
- package/dist/react/index.js.map +1 -1
- package/dist/{session-CDeiO81j.d.ts → session-BKOc2lsz.d.ts} +9 -1
- package/dist/style.css +1 -1
- package/package.json +2 -1
- package/dist/chunk-4VWLTG5L.js.map +0 -1
- package/dist/chunk-CGOQI7ZL.js.map +0 -1
- package/dist/chunk-OKQWPNE3.js.map +0 -1
- package/dist/chunk-X6MEYCU7.js.map +0 -1
- /package/dist/{chunk-I3FFV63W.js.map → chunk-5ZFK62RQ.js.map} +0 -0
- /package/dist/{chunk-TC5BBLWO.js.map → chunk-EFNGK46B.js.map} +0 -0
- /package/dist/{chunk-VD4CKRMT.js.map → chunk-FYPS4SFF.js.map} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useSession
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-5ZFK62RQ.js";
|
|
4
4
|
import {
|
|
5
5
|
checkoutSession,
|
|
6
6
|
getSessionCheckpoints,
|
|
7
7
|
useChatStore,
|
|
8
8
|
useSessionStore
|
|
9
|
-
} from "../../../chunk-
|
|
9
|
+
} from "../../../chunk-EDMS2G5P.js";
|
|
10
10
|
import "../../../chunk-J3XVFPOV.js";
|
|
11
|
-
import "../../../chunk-
|
|
11
|
+
import "../../../chunk-C3KSHIRA.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-FYPS4SFF.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-EDMS2G5P.js";
|
|
21
21
|
import "../../../chunk-J3XVFPOV.js";
|
|
22
|
-
import "../../../chunk-
|
|
22
|
+
import "../../../chunk-C3KSHIRA.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, av as UserInfo, a1 as ProvidersResponse, az as EnvBucketsResource, aA as EnvBucket, aB as PlatformEnvBucket, R as MemoriesResource, S as Memory, X as MemoryListResponse, T as MemoryCreateBody, W as MemoryListParams, H as GisResource, aC as GisState, aD as RuntimeConfig, _ as ModelsResource, Y as ModelOption, Z as ModelsConfig, ag as SkillsResource, I as GlobalSkillStats, aE as SkillDetail, aF as SkillStats, Q as InstalledRegistrySkill, aG as SkillSummary, aH as SkillSearchResult, aI as PartnerSkillInstallPayload, aJ as PartnerSkillInstallResult, aK as SessionSkillUploadPayload, aL as SessionSkillUploadResult, ab as SessionsResource, ac as ShareLinkResult, aM as BackgroundTask, s as CheckpointNode, a8 as SessionContextStats, a9 as SessionHistory, G as FileEntry, $ as PaginatedSessionsResult, ad as SkillDevSession, M as ImportPreview, aq as TokenizeResult, w as ContentPart, y as CreateSessionRequest, J as HistoryNode, N as ImportPreviewScenario, O as ImportPreviewSkill, au as UploadFileEntry, aw as UserPreferencesResource, an as SolutionsResource, a6 as ScenariosResource, a2 as QuickScenario, p as BladeHubScenarioResource, x as CreateQuickScenarioPayload, a0 as PreviewUrlItem, at as UpdateQuickScenarioPayload, ai as SoftwareFactoryResource, ak as SoftwareFactorySoftware, am as SoftwareFactoryTopicModule, aj as SoftwareFactorySharedFile, v as CodingTaskTopic, al as SoftwareFactoryTopic, u as CodingTask, E as CreateSoftwareFactorySharedFilePayload, F as CreateSoftwareFactorySoftwarePayload, ah as SoftwareFactoryModuleBlueprint, a5 as ResourceApi, a4 as RegistryResource, ae as SkillOrgListResponse, aN as GisGoal, aO as GisResource$1, aP as GisTarget, aQ as GisMapCommand, aR as Task } from '../blade-client-n7fiBaFk.js';
|
|
2
|
+
export { aS as AgentDriver, aT as AgentResource, aU as DatabaseDriver, aV as DatabaseResource, aW as DifyKnowledgeConfig, aX as GisGoalStatus, aY as HttpToolConfig, aZ as KnowledgeDriver, a_ as KnowledgeResource, a$ as McpToolConfig, b0 as MysqlConfig, b1 as ParallelMode, b2 as PartnerSkillFile, b2 as PartnerSkillFileData, b3 as PartnerSkillName, b3 as PartnerSkillNameData, b4 as PostgresqlConfig, a3 as REGISTRY_PREFIX, b5 as SessionSkillFile, b5 as SessionSkillFileData, b6 as SessionSkillName, b6 as SessionSkillNameData, af as SkillOrgOption, b7 as StageSpec, b8 as StepSpec, b9 as TaskStatus, ba as ToolDriver, bb as ToolResource, ay as normalizeResource, bc as skillDisplayName } from '../blade-client-n7fiBaFk.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-BZpFl0qG.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-BKOc2lsz.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-BKOc2lsz.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-BnDtYUf9.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-BnDtYUf9.js';
|
|
19
19
|
import * as zustand from 'zustand';
|
|
20
20
|
import { Streamdown, ExtraProps } from 'streamdown';
|
|
21
21
|
import * as _tiptap_core from '@tiptap/core';
|
|
@@ -70,6 +70,30 @@ declare namespace auth {
|
|
|
70
70
|
export { auth_AuthResource as AuthResource, auth_ProvidersResponse as ProvidersResponse, auth_UserInfo as UserInfo, auth_getMe as getMe, auth_getProviders as getProviders, auth_logout as logout };
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
declare const listEnvBuckets: (...args: Parameters<EnvBucketsResource["listEnvBuckets"]>) => Promise<EnvBucket[]>;
|
|
74
|
+
declare const getEnvBucket: (...args: Parameters<EnvBucketsResource["getEnvBucket"]>) => Promise<EnvBucket>;
|
|
75
|
+
declare const setEnvBucket: (...args: Parameters<EnvBucketsResource["setEnvBucket"]>) => Promise<EnvBucket>;
|
|
76
|
+
declare const deleteEnvBucket: (...args: Parameters<EnvBucketsResource["deleteEnvBucket"]>) => Promise<void>;
|
|
77
|
+
declare const getPlatformEnv: (...args: Parameters<EnvBucketsResource["getPlatformEnv"]>) => Promise<PlatformEnvBucket>;
|
|
78
|
+
declare const getPlatformEnvReadonly: (...args: Parameters<EnvBucketsResource["getPlatformEnvReadonly"]>) => Promise<PlatformEnvBucket>;
|
|
79
|
+
declare const setPlatformEnv: (...args: Parameters<EnvBucketsResource["setPlatformEnv"]>) => Promise<PlatformEnvBucket>;
|
|
80
|
+
declare const deletePlatformEnv: (...args: Parameters<EnvBucketsResource["deletePlatformEnv"]>) => Promise<void>;
|
|
81
|
+
|
|
82
|
+
declare const envBuckets_EnvBucket: typeof EnvBucket;
|
|
83
|
+
declare const envBuckets_EnvBucketsResource: typeof EnvBucketsResource;
|
|
84
|
+
declare const envBuckets_PlatformEnvBucket: typeof PlatformEnvBucket;
|
|
85
|
+
declare const envBuckets_deleteEnvBucket: typeof deleteEnvBucket;
|
|
86
|
+
declare const envBuckets_deletePlatformEnv: typeof deletePlatformEnv;
|
|
87
|
+
declare const envBuckets_getEnvBucket: typeof getEnvBucket;
|
|
88
|
+
declare const envBuckets_getPlatformEnv: typeof getPlatformEnv;
|
|
89
|
+
declare const envBuckets_getPlatformEnvReadonly: typeof getPlatformEnvReadonly;
|
|
90
|
+
declare const envBuckets_listEnvBuckets: typeof listEnvBuckets;
|
|
91
|
+
declare const envBuckets_setEnvBucket: typeof setEnvBucket;
|
|
92
|
+
declare const envBuckets_setPlatformEnv: typeof setPlatformEnv;
|
|
93
|
+
declare namespace envBuckets {
|
|
94
|
+
export { envBuckets_EnvBucket as EnvBucket, envBuckets_EnvBucketsResource as EnvBucketsResource, envBuckets_PlatformEnvBucket as PlatformEnvBucket, envBuckets_deleteEnvBucket as deleteEnvBucket, envBuckets_deletePlatformEnv as deletePlatformEnv, envBuckets_getEnvBucket as getEnvBucket, envBuckets_getPlatformEnv as getPlatformEnv, envBuckets_getPlatformEnvReadonly as getPlatformEnvReadonly, envBuckets_listEnvBuckets as listEnvBuckets, envBuckets_setEnvBucket as setEnvBucket, envBuckets_setPlatformEnv as setPlatformEnv };
|
|
95
|
+
}
|
|
96
|
+
|
|
73
97
|
declare function getBaseUrl(): string;
|
|
74
98
|
declare function getAuthedUrl(path: string): string;
|
|
75
99
|
declare function apiFetch<T>(path: string, init?: RequestInit): Promise<T>;
|
|
@@ -133,6 +157,7 @@ declare namespace models {
|
|
|
133
157
|
}
|
|
134
158
|
|
|
135
159
|
declare const listSkills: (...args: Parameters<SkillsResource["listSkills"]>) => Promise<SkillSummary[]>;
|
|
160
|
+
declare const listInstalledRegistrySkills: (...args: Parameters<SkillsResource["listInstalledRegistrySkills"]>) => Promise<InstalledRegistrySkill[]>;
|
|
136
161
|
declare const listSessionSkills: (...args: Parameters<SkillsResource["listSessionSkills"]>) => Promise<SkillSummary[]>;
|
|
137
162
|
declare const resyncSkills: (...args: Parameters<SkillsResource["resyncSkills"]>) => Promise<{
|
|
138
163
|
detail?: string;
|
|
@@ -144,6 +169,12 @@ declare const searchSkills: (...args: Parameters<SkillsResource["searchSkills"]>
|
|
|
144
169
|
declare const getSkillStats: (...args: Parameters<SkillsResource["getSkillStats"]>) => Promise<SkillStats>;
|
|
145
170
|
declare const getGlobalSkillStats: (...args: Parameters<SkillsResource["getGlobalSkillStats"]>) => Promise<GlobalSkillStats>;
|
|
146
171
|
declare const getSkill: (...args: Parameters<SkillsResource["getSkill"]>) => Promise<SkillDetail>;
|
|
172
|
+
declare const uploadSessionSkill: (...args: Parameters<SkillsResource["uploadSessionSkill"]>) => Promise<{
|
|
173
|
+
name: `${string}/${string}`;
|
|
174
|
+
skill_dir: string;
|
|
175
|
+
file_count: number;
|
|
176
|
+
overwritten: boolean;
|
|
177
|
+
}>;
|
|
147
178
|
declare const installPartnerSkill: (...args: Parameters<SkillsResource["installPartnerSkill"]>) => Promise<{
|
|
148
179
|
name: `${string}/${string}`;
|
|
149
180
|
skill_dir: string;
|
|
@@ -152,24 +183,30 @@ declare const installPartnerSkill: (...args: Parameters<SkillsResource["installP
|
|
|
152
183
|
}>;
|
|
153
184
|
|
|
154
185
|
declare const skills_GlobalSkillStats: typeof GlobalSkillStats;
|
|
186
|
+
declare const skills_InstalledRegistrySkill: typeof InstalledRegistrySkill;
|
|
155
187
|
declare const skills_SkillsResource: typeof SkillsResource;
|
|
156
188
|
declare const skills_getGlobalSkillStats: typeof getGlobalSkillStats;
|
|
157
189
|
declare const skills_getSkill: typeof getSkill;
|
|
158
190
|
declare const skills_getSkillStats: typeof getSkillStats;
|
|
159
191
|
declare const skills_installPartnerSkill: typeof installPartnerSkill;
|
|
192
|
+
declare const skills_listInstalledRegistrySkills: typeof listInstalledRegistrySkills;
|
|
160
193
|
declare const skills_listSessionSkills: typeof listSessionSkills;
|
|
161
194
|
declare const skills_listSkills: typeof listSkills;
|
|
162
195
|
declare const skills_resyncSkills: typeof resyncSkills;
|
|
163
196
|
declare const skills_searchSkills: typeof searchSkills;
|
|
197
|
+
declare const skills_uploadSessionSkill: typeof uploadSessionSkill;
|
|
164
198
|
declare namespace skills {
|
|
165
|
-
export { skills_GlobalSkillStats as GlobalSkillStats, skills_SkillsResource as SkillsResource, skills_getGlobalSkillStats as getGlobalSkillStats, skills_getSkill as getSkill, skills_getSkillStats as getSkillStats, skills_installPartnerSkill as installPartnerSkill, skills_listSessionSkills as listSessionSkills, skills_listSkills as listSkills, skills_resyncSkills as resyncSkills, skills_searchSkills as searchSkills };
|
|
199
|
+
export { skills_GlobalSkillStats as GlobalSkillStats, skills_InstalledRegistrySkill as InstalledRegistrySkill, skills_SkillsResource as SkillsResource, skills_getGlobalSkillStats as getGlobalSkillStats, skills_getSkill as getSkill, skills_getSkillStats as getSkillStats, skills_installPartnerSkill as installPartnerSkill, skills_listInstalledRegistrySkills as listInstalledRegistrySkills, skills_listSessionSkills as listSessionSkills, skills_listSkills as listSkills, skills_resyncSkills as resyncSkills, skills_searchSkills as searchSkills, skills_uploadSessionSkill as uploadSessionSkill };
|
|
166
200
|
}
|
|
167
201
|
|
|
168
202
|
declare const partnerSkill_PartnerSkillInstallPayload: typeof PartnerSkillInstallPayload;
|
|
169
203
|
declare const partnerSkill_PartnerSkillInstallResult: typeof PartnerSkillInstallResult;
|
|
204
|
+
declare const partnerSkill_SessionSkillUploadPayload: typeof SessionSkillUploadPayload;
|
|
205
|
+
declare const partnerSkill_SessionSkillUploadResult: typeof SessionSkillUploadResult;
|
|
170
206
|
declare const partnerSkill_installPartnerSkill: typeof installPartnerSkill;
|
|
207
|
+
declare const partnerSkill_uploadSessionSkill: typeof uploadSessionSkill;
|
|
171
208
|
declare namespace partnerSkill {
|
|
172
|
-
export { partnerSkill_PartnerSkillInstallPayload as PartnerSkillInstallPayload, partnerSkill_PartnerSkillInstallResult as PartnerSkillInstallResult, partnerSkill_installPartnerSkill as installPartnerSkill };
|
|
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 };
|
|
173
210
|
}
|
|
174
211
|
|
|
175
212
|
declare const listSessions: (...args: Parameters<SessionsResource["listSessions"]>) => Promise<SessionInfo[]>;
|
|
@@ -329,11 +366,17 @@ declare namespace sessions {
|
|
|
329
366
|
|
|
330
367
|
declare const getUserPreference: (...args: Parameters<UserPreferencesResource["getUserPreference"]>) => Promise<string | null>;
|
|
331
368
|
declare const setUserPreference: (...args: Parameters<UserPreferencesResource["setUserPreference"]>) => Promise<void>;
|
|
369
|
+
declare const getPersistentDefault: (...args: Parameters<UserPreferencesResource["getPersistentDefault"]>) => Promise<boolean>;
|
|
370
|
+
declare const setPersistentDefault: (...args: Parameters<UserPreferencesResource["setPersistentDefault"]>) => Promise<void>;
|
|
371
|
+
declare const resetComputer: (...args: Parameters<UserPreferencesResource["resetComputer"]>) => Promise<void>;
|
|
332
372
|
|
|
373
|
+
declare const userPreferences_getPersistentDefault: typeof getPersistentDefault;
|
|
333
374
|
declare const userPreferences_getUserPreference: typeof getUserPreference;
|
|
375
|
+
declare const userPreferences_resetComputer: typeof resetComputer;
|
|
376
|
+
declare const userPreferences_setPersistentDefault: typeof setPersistentDefault;
|
|
334
377
|
declare const userPreferences_setUserPreference: typeof setUserPreference;
|
|
335
378
|
declare namespace userPreferences {
|
|
336
|
-
export { userPreferences_getUserPreference as getUserPreference, userPreferences_setUserPreference as setUserPreference };
|
|
379
|
+
export { userPreferences_getPersistentDefault as getPersistentDefault, userPreferences_getUserPreference as getUserPreference, userPreferences_resetComputer as resetComputer, userPreferences_setPersistentDefault as setPersistentDefault, userPreferences_setUserPreference as setUserPreference };
|
|
337
380
|
}
|
|
338
381
|
|
|
339
382
|
declare const fetchSolutions: (...args: Parameters<SolutionsResource["fetchSolutions"]>) => Promise<Solution[]>;
|
|
@@ -577,12 +620,14 @@ declare class AgentSocket {
|
|
|
577
620
|
private readonly previewArtifactsByToolCall;
|
|
578
621
|
private readonly pendingReplayMessages;
|
|
579
622
|
private readonly pendingReplayModes;
|
|
623
|
+
private readonly oomNotifiedKeys;
|
|
580
624
|
constructor(client: BladeClient);
|
|
581
625
|
private _ensureConnected;
|
|
582
626
|
private _resolveSessionId;
|
|
583
627
|
private _bindStoreHandlers;
|
|
584
628
|
private _bindConnectionHandlers;
|
|
585
629
|
private _applyProjectionSideEffects;
|
|
630
|
+
private _notifySandboxOom;
|
|
586
631
|
private _applySystemNotification;
|
|
587
632
|
subscribe(sessionId: string): void;
|
|
588
633
|
unsubscribe(): void;
|
|
@@ -681,6 +726,12 @@ declare function usePreferredModel(): {
|
|
|
681
726
|
setPreferredModel: (modelId: string) => void;
|
|
682
727
|
};
|
|
683
728
|
|
|
729
|
+
declare function useResolvedModel(activeSessionModel?: string | null): {
|
|
730
|
+
resolvedModel: string;
|
|
731
|
+
hasAvailableModel: boolean;
|
|
732
|
+
isLoading: boolean;
|
|
733
|
+
};
|
|
734
|
+
|
|
684
735
|
declare function useSession(): {
|
|
685
736
|
sessions: SessionInfo[];
|
|
686
737
|
activeSessionId: string | null;
|
|
@@ -881,7 +932,7 @@ interface PreviewTarget {
|
|
|
881
932
|
/** Changes when an artifact with the same key is updated in place. */
|
|
882
933
|
revision?: number;
|
|
883
934
|
}
|
|
884
|
-
type ActiveRightTab = "situation" | "preview" | "skill-test" | "vibe-service" | "vibe-preview";
|
|
935
|
+
type ActiveRightTab = "situation" | "preview" | "skill-test" | "vibe-service" | "vibe-preview" | "vibe-access";
|
|
885
936
|
interface UpsertArtifactOptions {
|
|
886
937
|
reveal?: boolean;
|
|
887
938
|
activate?: boolean;
|
|
@@ -950,6 +1001,7 @@ declare function groupMessagesByLoop(messages: ChatMessage[]): MessageGroup[];
|
|
|
950
1001
|
declare const SUPPORTED_LANGUAGES: readonly ["python", "javascript", "typescript", "tsx", "jsx", "yaml", "markdown", "bash", "json", "go", "rust", "css", "html"];
|
|
951
1002
|
type SupportedCodeLanguage = (typeof SUPPORTED_LANGUAGES)[number];
|
|
952
1003
|
declare function normalizeCodeLanguage(language?: string | null): SupportedCodeLanguage | null;
|
|
1004
|
+
declare function getCodeLanguageFromFilename(filePath?: string | null): SupportedCodeLanguage | null;
|
|
953
1005
|
declare function useHighlightedCodeHtml(code: string, language?: string | null): {
|
|
954
1006
|
highlightedHtml: string | null;
|
|
955
1007
|
language: "json" | "html" | "markdown" | "python" | "javascript" | "typescript" | "tsx" | "jsx" | "yaml" | "bash" | "go" | "rust" | "css" | null;
|
|
@@ -1352,4 +1404,4 @@ interface UiBridgeState extends ClientAwareState {
|
|
|
1352
1404
|
}
|
|
1353
1405
|
declare const useUiBridgeStore: zustand.UseBoundStore<zustand.StoreApi<UiBridgeState>>;
|
|
1354
1406
|
|
|
1355
|
-
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, EnvVariable, GisGoal, GisMapCommand, GisResource$1 as GisResource, GisState, GisTarget, type LlmResponseDone, MarkdownContent, Memory, MemoryCreateBody, MemoryListParams, MemoryListResponse, MessageContent, ModelSelector, PartnerSkillInstallPayload, PartnerSkillInstallPayload as PartnerSkillInstallPayloadData, PartnerSkillInstallResult, PartnerSkillInstallResult as PartnerSkillInstallResultData, PatchEnvelope, 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, 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, getAuthedUrl, getBaseUrl, getBootstrappedClient, getClient, 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, useRuntimeConfig, useRuntimeFeaturesStore, useRuntimeStore, useSession, useSkills, useTaskStore, useTiptapVoiceInput, useToolProviders, useUiBridgeStore, useUiStore, useVoiceInput, userPreferences as userPreferencesApi };
|
|
1407
|
+
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 };
|
package/dist/react/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
licenses_exports
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-EFNGK46B.js";
|
|
4
4
|
import {
|
|
5
5
|
useCardState
|
|
6
6
|
} from "../chunk-DQCXSPHP.js";
|
|
@@ -29,34 +29,40 @@ import {
|
|
|
29
29
|
useInputHistory,
|
|
30
30
|
useModelConfig,
|
|
31
31
|
usePreferredModel,
|
|
32
|
+
useResolvedModel,
|
|
32
33
|
useTiptapVoiceInput,
|
|
33
34
|
useVoiceInput,
|
|
34
35
|
user_preferences_exports
|
|
35
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-TYCA6WYX.js";
|
|
36
37
|
import {
|
|
37
38
|
buildSessionBinaryPreviewTarget,
|
|
38
39
|
resolveSessionFilePreviewTarget
|
|
39
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-FYPS4SFF.js";
|
|
40
41
|
import {
|
|
41
42
|
CardCodeBlock,
|
|
42
43
|
CardContext,
|
|
43
44
|
MarkdownContent,
|
|
45
|
+
getCodeLanguageFromFilename,
|
|
44
46
|
normalizeCodeLanguage,
|
|
45
47
|
useCardContext,
|
|
46
48
|
useHighlightedCodeHtml
|
|
47
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-CK7JMN5S.js";
|
|
48
50
|
import {
|
|
49
51
|
CardJSON,
|
|
50
52
|
cardRegistry
|
|
51
53
|
} from "../chunk-2UP7MG3J.js";
|
|
52
54
|
import {
|
|
53
55
|
useSession
|
|
54
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-5ZFK62RQ.js";
|
|
55
57
|
import {
|
|
56
58
|
PartnerSkillFile,
|
|
57
59
|
PartnerSkillInstallPayload,
|
|
58
60
|
PartnerSkillInstallResult,
|
|
59
61
|
PartnerSkillName,
|
|
62
|
+
SessionSkillFile,
|
|
63
|
+
SessionSkillName,
|
|
64
|
+
SessionSkillUploadPayload,
|
|
65
|
+
SessionSkillUploadResult,
|
|
60
66
|
agentSocket,
|
|
61
67
|
apiFetch,
|
|
62
68
|
apiFetchResponse,
|
|
@@ -99,12 +105,12 @@ import {
|
|
|
99
105
|
useTaskStore,
|
|
100
106
|
useUiBridgeStore,
|
|
101
107
|
useUiStore
|
|
102
|
-
} from "../chunk-
|
|
108
|
+
} from "../chunk-EDMS2G5P.js";
|
|
103
109
|
import "../chunk-J3XVFPOV.js";
|
|
104
110
|
import {
|
|
105
111
|
REGISTRY_PREFIX,
|
|
106
112
|
normalizeResource
|
|
107
|
-
} from "../chunk-
|
|
113
|
+
} from "../chunk-C3KSHIRA.js";
|
|
108
114
|
import {
|
|
109
115
|
cn,
|
|
110
116
|
copyToClipboard
|
|
@@ -145,6 +151,28 @@ var createApiKey = (...args) => r().createApiKey(...args);
|
|
|
145
151
|
var renameApiKey = (...args) => r().renameApiKey(...args);
|
|
146
152
|
var deleteApiKey = (...args) => r().deleteApiKey(...args);
|
|
147
153
|
|
|
154
|
+
// src/react/api/env-buckets.ts
|
|
155
|
+
var env_buckets_exports = {};
|
|
156
|
+
__export(env_buckets_exports, {
|
|
157
|
+
deleteEnvBucket: () => deleteEnvBucket,
|
|
158
|
+
deletePlatformEnv: () => deletePlatformEnv,
|
|
159
|
+
getEnvBucket: () => getEnvBucket,
|
|
160
|
+
getPlatformEnv: () => getPlatformEnv,
|
|
161
|
+
getPlatformEnvReadonly: () => getPlatformEnvReadonly,
|
|
162
|
+
listEnvBuckets: () => listEnvBuckets,
|
|
163
|
+
setEnvBucket: () => setEnvBucket,
|
|
164
|
+
setPlatformEnv: () => setPlatformEnv
|
|
165
|
+
});
|
|
166
|
+
var r2 = () => getClient().envBuckets;
|
|
167
|
+
var listEnvBuckets = (...args) => r2().listEnvBuckets(...args);
|
|
168
|
+
var getEnvBucket = (...args) => r2().getEnvBucket(...args);
|
|
169
|
+
var setEnvBucket = (...args) => r2().setEnvBucket(...args);
|
|
170
|
+
var deleteEnvBucket = (...args) => r2().deleteEnvBucket(...args);
|
|
171
|
+
var getPlatformEnv = (...args) => r2().getPlatformEnv(...args);
|
|
172
|
+
var getPlatformEnvReadonly = (...args) => r2().getPlatformEnvReadonly(...args);
|
|
173
|
+
var setPlatformEnv = (...args) => r2().setPlatformEnv(...args);
|
|
174
|
+
var deletePlatformEnv = (...args) => r2().deletePlatformEnv(...args);
|
|
175
|
+
|
|
148
176
|
// src/react/api/memories.ts
|
|
149
177
|
var memories_exports = {};
|
|
150
178
|
__export(memories_exports, {
|
|
@@ -156,14 +184,14 @@ __export(memories_exports, {
|
|
|
156
184
|
patchMemory: () => patchMemory,
|
|
157
185
|
updateMemory: () => updateMemory
|
|
158
186
|
});
|
|
159
|
-
var
|
|
160
|
-
var createMemory = (...args) =>
|
|
161
|
-
var listMemories = (...args) =>
|
|
162
|
-
var getMemory = (...args) =>
|
|
163
|
-
var updateMemory = (...args) =>
|
|
164
|
-
var patchMemory = (...args) =>
|
|
165
|
-
var deleteMemory = (...args) =>
|
|
166
|
-
var batchMemories = (...args) =>
|
|
187
|
+
var r3 = () => getClient().memories;
|
|
188
|
+
var createMemory = (...args) => r3().createMemory(...args);
|
|
189
|
+
var listMemories = (...args) => r3().listMemories(...args);
|
|
190
|
+
var getMemory = (...args) => r3().getMemory(...args);
|
|
191
|
+
var updateMemory = (...args) => r3().updateMemory(...args);
|
|
192
|
+
var patchMemory = (...args) => r3().patchMemory(...args);
|
|
193
|
+
var deleteMemory = (...args) => r3().deleteMemory(...args);
|
|
194
|
+
var batchMemories = (...args) => r3().batchMemories(...args);
|
|
167
195
|
|
|
168
196
|
// src/react/api/gis-api.ts
|
|
169
197
|
var gis_api_exports = {};
|
|
@@ -171,9 +199,9 @@ __export(gis_api_exports, {
|
|
|
171
199
|
fetchGisState: () => fetchGisState,
|
|
172
200
|
fetchRuntimeConfig: () => fetchRuntimeConfig
|
|
173
201
|
});
|
|
174
|
-
var
|
|
175
|
-
var fetchGisState = (...args) =>
|
|
176
|
-
var fetchRuntimeConfig = (...args) =>
|
|
202
|
+
var r4 = () => getClient().gis;
|
|
203
|
+
var fetchGisState = (...args) => r4().fetchGisState(...args);
|
|
204
|
+
var fetchRuntimeConfig = (...args) => r4().fetchRuntimeConfig(...args);
|
|
177
205
|
|
|
178
206
|
// src/react/api/solutions.ts
|
|
179
207
|
var solutions_exports = {};
|
|
@@ -182,10 +210,10 @@ __export(solutions_exports, {
|
|
|
182
210
|
fetchSolutionFile: () => fetchSolutionFile,
|
|
183
211
|
fetchSolutions: () => fetchSolutions
|
|
184
212
|
});
|
|
185
|
-
var
|
|
186
|
-
var fetchSolutions = (...args) =>
|
|
187
|
-
var fetchSolutionFile = (...args) =>
|
|
188
|
-
var fetchSolutionBizRoles = (...args) =>
|
|
213
|
+
var r5 = () => getClient().solutions;
|
|
214
|
+
var fetchSolutions = (...args) => r5().fetchSolutions(...args);
|
|
215
|
+
var fetchSolutionFile = (...args) => r5().fetchSolutionFile(...args);
|
|
216
|
+
var fetchSolutionBizRoles = (...args) => r5().fetchSolutionBizRoles(...args);
|
|
189
217
|
|
|
190
218
|
// src/react/api/scenarios.ts
|
|
191
219
|
var scenarios_exports = {};
|
|
@@ -196,12 +224,12 @@ __export(scenarios_exports, {
|
|
|
196
224
|
listQuickScenarios: () => listQuickScenarios,
|
|
197
225
|
updateQuickScenario: () => updateQuickScenario
|
|
198
226
|
});
|
|
199
|
-
var
|
|
200
|
-
var listQuickScenarios = (...args) =>
|
|
201
|
-
var createQuickScenario = (...args) =>
|
|
202
|
-
var deleteQuickScenario = (...args) =>
|
|
203
|
-
var updateQuickScenario = (...args) =>
|
|
204
|
-
var listBladeHubScenarioResources = (...args) =>
|
|
227
|
+
var r6 = () => getClient().scenarios;
|
|
228
|
+
var listQuickScenarios = (...args) => r6().listQuickScenarios(...args);
|
|
229
|
+
var createQuickScenario = (...args) => r6().createQuickScenario(...args);
|
|
230
|
+
var deleteQuickScenario = (...args) => r6().deleteQuickScenario(...args);
|
|
231
|
+
var updateQuickScenario = (...args) => r6().updateQuickScenario(...args);
|
|
232
|
+
var listBladeHubScenarioResources = (...args) => r6().listBladeHubScenarioResources(...args);
|
|
205
233
|
|
|
206
234
|
// src/react/api/scheduled-tasks.ts
|
|
207
235
|
var scheduled_tasks_exports = {};
|
|
@@ -281,45 +309,45 @@ __export(software_factory_exports, {
|
|
|
281
309
|
updateSoftware: () => updateSoftware,
|
|
282
310
|
uploadSoftwareDocuments: () => uploadSoftwareDocuments
|
|
283
311
|
});
|
|
284
|
-
var
|
|
285
|
-
var listSoftware = (...args) =>
|
|
286
|
-
var getSoftware = (...args) =>
|
|
287
|
-
var deleteSoftware = (...args) =>
|
|
288
|
-
var createSoftware = (...args) =>
|
|
289
|
-
var updateSoftware = (...args) =>
|
|
290
|
-
var bindTopicModuleSession = (...args) =>
|
|
291
|
-
var submitModuleForReview = (...args) =>
|
|
292
|
-
var completeModule = (...args) =>
|
|
293
|
-
var reopenModule = (...args) =>
|
|
294
|
-
var listSharedFiles = (...args) =>
|
|
295
|
-
var createSharedFile = (...args) =>
|
|
296
|
-
var uploadSoftwareDocuments = (...args) =>
|
|
297
|
-
var ensureIssueSession = (...args) =>
|
|
298
|
-
var listCodingTasks = (...args) =>
|
|
299
|
-
var startCoding = (...args) =>
|
|
300
|
-
var readShareFileContent = (...args) =>
|
|
301
|
-
var syncShare = (...args) =>
|
|
302
|
-
var listTopics = (...args) =>
|
|
303
|
-
var replaceTopics = (...args) =>
|
|
304
|
-
var getFactoryExportUrl = (...args) =>
|
|
305
|
-
var importFactory = (...args) =>
|
|
312
|
+
var r7 = () => getClient().softwareFactory;
|
|
313
|
+
var listSoftware = (...args) => r7().listSoftware(...args);
|
|
314
|
+
var getSoftware = (...args) => r7().getSoftware(...args);
|
|
315
|
+
var deleteSoftware = (...args) => r7().deleteSoftware(...args);
|
|
316
|
+
var createSoftware = (...args) => r7().createSoftware(...args);
|
|
317
|
+
var updateSoftware = (...args) => r7().updateSoftware(...args);
|
|
318
|
+
var bindTopicModuleSession = (...args) => r7().bindTopicModuleSession(...args);
|
|
319
|
+
var submitModuleForReview = (...args) => r7().submitModuleForReview(...args);
|
|
320
|
+
var completeModule = (...args) => r7().completeModule(...args);
|
|
321
|
+
var reopenModule = (...args) => r7().reopenModule(...args);
|
|
322
|
+
var listSharedFiles = (...args) => r7().listSharedFiles(...args);
|
|
323
|
+
var createSharedFile = (...args) => r7().createSharedFile(...args);
|
|
324
|
+
var uploadSoftwareDocuments = (...args) => r7().uploadSoftwareDocuments(...args);
|
|
325
|
+
var ensureIssueSession = (...args) => r7().ensureIssueSession(...args);
|
|
326
|
+
var listCodingTasks = (...args) => r7().listCodingTasks(...args);
|
|
327
|
+
var startCoding = (...args) => r7().startCoding(...args);
|
|
328
|
+
var readShareFileContent = (...args) => r7().readShareFileContent(...args);
|
|
329
|
+
var syncShare = (...args) => r7().syncShare(...args);
|
|
330
|
+
var listTopics = (...args) => r7().listTopics(...args);
|
|
331
|
+
var replaceTopics = (...args) => r7().replaceTopics(...args);
|
|
332
|
+
var getFactoryExportUrl = (...args) => r7().getFactoryExportUrl(...args);
|
|
333
|
+
var importFactory = (...args) => r7().importFactory(...args);
|
|
306
334
|
|
|
307
335
|
// src/react/api/registry.ts
|
|
308
|
-
var
|
|
309
|
-
var createResourceApi = (apiType) =>
|
|
310
|
-
var listSkillOrgs = (...args) =>
|
|
311
|
-
var publishSkill = (...args) =>
|
|
336
|
+
var r8 = () => getClient().registry;
|
|
337
|
+
var createResourceApi = (apiType) => r8().createResourceApi(apiType);
|
|
338
|
+
var listSkillOrgs = (...args) => r8().listSkillOrgs(...args);
|
|
339
|
+
var publishSkill = (...args) => r8().publishSkill(...args);
|
|
312
340
|
var databaseApi = new Proxy({}, {
|
|
313
|
-
get: (_target, prop) => Reflect.get(
|
|
341
|
+
get: (_target, prop) => Reflect.get(r8().databaseApi, prop)
|
|
314
342
|
});
|
|
315
343
|
var toolApi = new Proxy({}, {
|
|
316
|
-
get: (_target, prop) => Reflect.get(
|
|
344
|
+
get: (_target, prop) => Reflect.get(r8().toolApi, prop)
|
|
317
345
|
});
|
|
318
346
|
var knowledgeApi = new Proxy({}, {
|
|
319
|
-
get: (_target, prop) => Reflect.get(
|
|
347
|
+
get: (_target, prop) => Reflect.get(r8().knowledgeApi, prop)
|
|
320
348
|
});
|
|
321
349
|
var agentApi = new Proxy({}, {
|
|
322
|
-
get: (_target, prop) => Reflect.get(
|
|
350
|
+
get: (_target, prop) => Reflect.get(r8().agentApi, prop)
|
|
323
351
|
});
|
|
324
352
|
|
|
325
353
|
// src/react/hooks/use-gis.ts
|
|
@@ -625,16 +653,16 @@ function buildStepRanges(messages, steps) {
|
|
|
625
653
|
ranges.sort((a, b) => a.startIndex - b.startIndex);
|
|
626
654
|
const result = [];
|
|
627
655
|
for (let i = 0; i < ranges.length; i++) {
|
|
628
|
-
const
|
|
656
|
+
const r9 = ranges[i];
|
|
629
657
|
const upper = i + 1 < ranges.length ? ranges[i + 1].startIndex : messages.length;
|
|
630
|
-
let lastTagged =
|
|
631
|
-
for (let j = upper - 1; j >=
|
|
632
|
-
if (perMessageStep[j] ===
|
|
658
|
+
let lastTagged = r9.startIndex;
|
|
659
|
+
for (let j = upper - 1; j >= r9.startIndex; j--) {
|
|
660
|
+
if (perMessageStep[j] === r9.stepNumber) {
|
|
633
661
|
lastTagged = j;
|
|
634
662
|
break;
|
|
635
663
|
}
|
|
636
664
|
}
|
|
637
|
-
result.push({ stepNumber:
|
|
665
|
+
result.push({ stepNumber: r9.stepNumber, startIndex: r9.startIndex, endIndex: lastTagged + 1 });
|
|
638
666
|
}
|
|
639
667
|
return result;
|
|
640
668
|
}
|
|
@@ -669,6 +697,7 @@ var SessionInfo = type({
|
|
|
669
697
|
updated_at: "string",
|
|
670
698
|
"shared?": "boolean",
|
|
671
699
|
"memory_enabled?": "boolean",
|
|
700
|
+
"is_persistent?": "boolean",
|
|
672
701
|
"viewer_role?": "'owner' | 'viewer'",
|
|
673
702
|
"template_id?": "string | null",
|
|
674
703
|
"model?": "string | null",
|
|
@@ -684,6 +713,7 @@ var SessionInfo = type({
|
|
|
684
713
|
"is_pinned?": "boolean",
|
|
685
714
|
"pinned_at?": "string | null",
|
|
686
715
|
"is_example?": "boolean",
|
|
716
|
+
"ports?": "unknown",
|
|
687
717
|
"match?": "unknown"
|
|
688
718
|
});
|
|
689
719
|
|
|
@@ -890,6 +920,10 @@ export {
|
|
|
890
920
|
ScheduledTaskCalendarItem,
|
|
891
921
|
ScheduledTaskRun,
|
|
892
922
|
SessionInfo,
|
|
923
|
+
SessionSkillFile,
|
|
924
|
+
SessionSkillName,
|
|
925
|
+
SessionSkillUploadPayload,
|
|
926
|
+
SessionSkillUploadResult,
|
|
893
927
|
SessionStatus,
|
|
894
928
|
SkillCompletionMenu,
|
|
895
929
|
SkillMention,
|
|
@@ -920,10 +954,12 @@ export {
|
|
|
920
954
|
createResourceApi,
|
|
921
955
|
databaseApi,
|
|
922
956
|
deriveDeprecateEntryIds,
|
|
957
|
+
env_buckets_exports as envBucketsApi,
|
|
923
958
|
formatFileSize,
|
|
924
959
|
getAuthedUrl,
|
|
925
960
|
getBaseUrl,
|
|
926
961
|
getBootstrappedClient,
|
|
962
|
+
getCodeLanguageFromFilename,
|
|
927
963
|
getSocket,
|
|
928
964
|
getTextContent,
|
|
929
965
|
gis_api_exports as gisApi,
|
|
@@ -980,6 +1016,7 @@ export {
|
|
|
980
1016
|
useKnowledgeBases,
|
|
981
1017
|
useModelConfig,
|
|
982
1018
|
usePreferredModel,
|
|
1019
|
+
useResolvedModel,
|
|
983
1020
|
useRuntimeConfig,
|
|
984
1021
|
useRuntimeFeaturesStore,
|
|
985
1022
|
useRuntimeStore,
|