@blade-hq/agent-kit 0.4.21 → 0.5.0

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.
@@ -1,4 +1,4 @@
1
- export { A as ApiKeyCreateResponse, g as ApiKeyPublic, h as ApiKeysResource, i as AuthResource, B as BladeApiError, j as BladeClient, k as BladeClientOptions, l as BladeFetchInit, m as BladeHubScenarioResource, n as ChatEndPayload, o as ChatSendPayload, p as CheckpointNode, q as ClientToServerEvents, r as CodingTask, s as CodingTaskTopic, t as ComputerUpgradeReason, u as ComputerUpgradeStatusResponse, v as ContentPart, w as CreateQuickScenarioPayload, x as CreateSessionRequest, y as CreateSocketOptions, z as CreateSoftwareFactorySharedFilePayload, E as CreateSoftwareFactorySoftwarePayload, f as CreateVibeCodingSessionParams, C as CreateVibeCodingSessionResult, D as DeployBumpMode, F as FileEntry, G as GisResource, H as GlobalSkillStats, I as HeadlessError, J as HeadlessResource, K as HeadlessRunOptions, L as HistoryNode, M as HttpMethod, N as ImportPreview, O as ImportPreviewScenario, Q as ImportPreviewSkill, R as InstalledRegistrySkill, S as JsonSchemaObject, T as MemoriesResource, U as Memory, W as MemoryCreateBody, X as MemoryListParams, Y as MemoryListResponse, Z as ModelOption, _ as ModelsConfig, $ as ModelsResource, a0 as PaginatedSessionsResult, P as PortMapping, a1 as PreviewUrlItem, a2 as ProvidersResponse, a3 as PublishedAppsResource, a4 as QuickScenario, a5 as REGISTRY_PREFIX, a6 as RegistryResource, a7 as ResourceApi, a8 as ScenariosResource, a9 as ServerToClientEvents, aa as SessionContextStats, ab as SessionHistory, ac as SessionUpdatedPayload, ad as SessionsResource, ae as ShareLinkResult, af as SkillDevSession, ag as SkillOrgListResponse, ah as SkillOrgOption, ai as SkillsResource, aj as SoftwareFactoryModuleBlueprint, ak as SoftwareFactoryResource, al as SoftwareFactorySharedFile, am as SoftwareFactorySoftware, an as SoftwareFactoryTopic, ao as SoftwareFactoryTopicModule, ap as SolutionsResource, aq as SystemErrorPayload, ar as SystemNotificationPayload, as as TokenizeResult, at as TurnProjectionPayload, au as TypedSocket, av as UpdateQuickScenarioPayload, aw as UpgradeComputerResponse, ax as UploadFileEntry, ay as UserInfo, az as UserPreferencesResource, b as VibeCodingDebugSessionStatus, d as VibeCodingDeployRecord, a as VibeCodingDeployStatus, V as VibeCodingResource, e as VibeCodingSessionInfo, c as VibeCodingSessionStatus, aA as createSocket, aB as normalizeResource } from '../blade-client-BEjbedNc.js';
1
+ export { A as ApiKeyCreateResponse, g as ApiKeyPublic, h as ApiKeysResource, i as AuthResource, B as BladeApiError, j as BladeClient, k as BladeClientOptions, l as BladeFetchInit, m as BladeHubScenarioResource, n as ChatEndPayload, o as ChatSendPayload, p as CheckpointNode, q as ClientToServerEvents, r as CodingTask, s as CodingTaskTopic, t as ComputerUpgradeReason, u as ComputerUpgradeStatusResponse, v as ContentPart, w as CreateQuickScenarioPayload, x as CreateSessionRequest, y as CreateSocketOptions, z as CreateSoftwareFactorySharedFilePayload, E as CreateSoftwareFactorySoftwarePayload, f as CreateVibeCodingSessionParams, C as CreateVibeCodingSessionResult, D as DeployBumpMode, F as FileEntry, G as GisResource, H as GlobalSkillStats, I as HeadlessError, J as HeadlessResource, K as HeadlessRunOptions, L as HistoryNode, M as HttpMethod, N as ImportPreview, O as ImportPreviewScenario, Q as ImportPreviewSkill, R as InstalledRegistrySkill, S as JsonSchemaObject, T as MemoriesResource, U as Memory, W as MemoryCreateBody, X as MemoryListParams, Y as MemoryListResponse, Z as ModelOption, _ as ModelsConfig, $ as ModelsResource, a0 as PaginatedSessionsResult, P as PortMapping, a1 as PreviewUrlItem, a2 as ProvidersResponse, a3 as PublishedAppsResource, a4 as QuickScenario, a5 as REGISTRY_PREFIX, a6 as RegistryResource, a7 as ResourceApi, a8 as ScenariosResource, a9 as ServerToClientEvents, aa as SessionContextStats, ab as SessionHistory, ac as SessionUpdatedPayload, ad as SessionsResource, ae as ShareLinkResult, af as SkillDevSession, ag as SkillOrgListResponse, ah as SkillOrgOption, ai as SkillsResource, aj as SoftwareFactoryModuleBlueprint, ak as SoftwareFactoryResource, al as SoftwareFactorySharedFile, am as SoftwareFactorySoftware, an as SoftwareFactoryTopic, ao as SoftwareFactoryTopicModule, ap as SolutionsResource, aq as SystemErrorPayload, ar as SystemNotificationPayload, as as TokenizeResult, at as TurnProjectionPayload, au as TypedSocket, av as UpdateQuickScenarioPayload, aw as UpgradeComputerResponse, ax as UploadFileEntry, ay as UserInfo, az as UserPreferencesResource, b as VibeCodingDebugSessionStatus, d as VibeCodingDeployRecord, a as VibeCodingDeployStatus, V as VibeCodingResource, e as VibeCodingSessionInfo, c as VibeCodingSessionStatus, aA as createSocket, aB as normalizeResource } from '../blade-client-BKiP6U73.js';
2
2
  import 'arktype/internal/variants/object.ts';
3
3
  import 'arktype/internal/variants/string.ts';
4
4
  import '../projection-DIfyh6RK.js';
@@ -6093,7 +6093,9 @@ interface operations {
6093
6093
  };
6094
6094
  list_background_tasks_api_sessions__session_id__background_tasks_get: {
6095
6095
  parameters: {
6096
- query?: never;
6096
+ query?: {
6097
+ debug?: boolean;
6098
+ };
6097
6099
  header?: never;
6098
6100
  path: {
6099
6101
  session_id: string;
@@ -6188,6 +6190,7 @@ interface operations {
6188
6190
  parameters: {
6189
6191
  query?: {
6190
6192
  tail?: number;
6193
+ debug?: boolean;
6191
6194
  };
6192
6195
  header?: never;
6193
6196
  path: {
@@ -6220,7 +6223,9 @@ interface operations {
6220
6223
  };
6221
6224
  stop_background_task_api_sessions__session_id__background_tasks__task_id__stop_post: {
6222
6225
  parameters: {
6223
- query?: never;
6226
+ query?: {
6227
+ debug?: boolean;
6228
+ };
6224
6229
  header?: never;
6225
6230
  path: {
6226
6231
  session_id: string;
@@ -10949,6 +10954,10 @@ interface operations {
10949
10954
  query?: {
10950
10955
  type?: string | null;
10951
10956
  subtype?: string | null;
10957
+ /** @description 可选过滤;目前只接受 'me',返回调用者自己拥有的 resource。 */
10958
+ owner?: string | null;
10959
+ /** @description 返回 secret 明文(仅 caller 是 owner 时生效);CLI / 前端要 secret 才透传。 */
10960
+ reveal?: boolean;
10952
10961
  limit?: number;
10953
10962
  offset?: number;
10954
10963
  };
@@ -10983,6 +10992,10 @@ interface operations {
10983
10992
  query?: {
10984
10993
  type?: string | null;
10985
10994
  subtype?: string | null;
10995
+ /** @description 可选过滤;目前只接受 'me',返回调用者自己拥有的 resource。 */
10996
+ owner?: string | null;
10997
+ /** @description 返回 secret 明文(仅 caller 是 owner 时生效);CLI / 前端要 secret 才透传。 */
10998
+ reveal?: boolean;
10986
10999
  limit?: number;
10987
11000
  offset?: number;
10988
11001
  };
@@ -11014,7 +11027,10 @@ interface operations {
11014
11027
  };
11015
11028
  get_resource_api_registry_resources__resource_id__get: {
11016
11029
  parameters: {
11017
- query?: never;
11030
+ query?: {
11031
+ /** @description 返回 secret 明文(仅 caller 是 owner 时生效)。 */
11032
+ reveal?: boolean;
11033
+ };
11018
11034
  header?: never;
11019
11035
  path: {
11020
11036
  resource_id: string;
@@ -11045,7 +11061,10 @@ interface operations {
11045
11061
  };
11046
11062
  get_resource_api_registry_resources__resource_id__get_2: {
11047
11063
  parameters: {
11048
- query?: never;
11064
+ query?: {
11065
+ /** @description 返回 secret 明文(仅 caller 是 owner 时生效)。 */
11066
+ reveal?: boolean;
11067
+ };
11049
11068
  header?: never;
11050
11069
  path: {
11051
11070
  resource_id: string;
@@ -1,5 +1,5 @@
1
- import { V as VibeCodingResource, C as CreateVibeCodingSessionResult, a as VibeCodingDeployStatus, b as VibeCodingDebugSessionStatus, c as VibeCodingSessionStatus, d as VibeCodingDeployRecord, e as VibeCodingSessionInfo } from '../../blade-client-BEjbedNc.js';
2
- export { f as CreateVibeCodingSessionParams, D as DeployBumpMode, P as PortMapping } from '../../blade-client-BEjbedNc.js';
1
+ import { V as VibeCodingResource, C as CreateVibeCodingSessionResult, a as VibeCodingDeployStatus, b as VibeCodingDebugSessionStatus, c as VibeCodingSessionStatus, d as VibeCodingDeployRecord, e as VibeCodingSessionInfo } from '../../blade-client-BKiP6U73.js';
2
+ export { f as CreateVibeCodingSessionParams, D as DeployBumpMode, P as PortMapping } from '../../blade-client-BKiP6U73.js';
3
3
  import 'arktype/internal/variants/object.ts';
4
4
  import 'arktype/internal/variants/string.ts';
5
5
  import '../../projection-DIfyh6RK.js';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "../../chunk-LKNU4NUC.js";
3
+ } from "../../chunk-C7VSMOXN.js";
4
4
  import "../../chunk-J3XVFPOV.js";
5
5
  import "../../chunk-ROGNJYST.js";
6
6
  import "../../chunk-JCJFFJ42.js";
@@ -1,5 +1,5 @@
1
- import { C as ChatViewCustomization, P as ParsedWhatIfPrompt } from '../../../SkillStatusBar-DCOlTYcT.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-DCOlTYcT.js';
1
+ import { C as ChatViewCustomization, P as ParsedWhatIfPrompt } from '../../../SkillStatusBar-B7-EU8A4.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-B7-EU8A4.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';
@@ -10,7 +10,7 @@ import 'zustand';
10
10
  import '../../../session-nZdIuWrS.js';
11
11
  import 'arktype/internal/variants/object.ts';
12
12
  import 'arktype/internal/variants/string.ts';
13
- import '../../../blade-client-BEjbedNc.js';
13
+ import '../../../blade-client-BKiP6U73.js';
14
14
  import 'socket.io-client';
15
15
 
16
16
  /**
@@ -16,13 +16,13 @@ import {
16
16
  isErrorMessage,
17
17
  isUserMessage,
18
18
  useWhatIfQuoteContext
19
- } from "../../../chunk-RMLZ4ZBY.js";
19
+ } from "../../../chunk-ZGM3H24C.js";
20
20
  import {
21
21
  AskUserQuestionBlock
22
- } from "../../../chunk-WZT2DOBJ.js";
22
+ } from "../../../chunk-2FTEBWEM.js";
23
23
  import "../../../chunk-2UP7MG3J.js";
24
- import "../../../chunk-47YVQZQ7.js";
25
- import "../../../chunk-LKNU4NUC.js";
24
+ import "../../../chunk-CFZDKYT3.js";
25
+ import "../../../chunk-C7VSMOXN.js";
26
26
  import "../../../chunk-J3XVFPOV.js";
27
27
  import "../../../chunk-ROGNJYST.js";
28
28
  import "../../../chunk-7LEKQI47.js";
@@ -3,9 +3,9 @@ import {
3
3
  PlanSummaryCard,
4
4
  extractLatestPlanMessages,
5
5
  parsePlanMessages
6
- } from "../../../chunk-WZT2DOBJ.js";
6
+ } from "../../../chunk-2FTEBWEM.js";
7
7
  import "../../../chunk-2UP7MG3J.js";
8
- import "../../../chunk-LKNU4NUC.js";
8
+ import "../../../chunk-C7VSMOXN.js";
9
9
  import "../../../chunk-J3XVFPOV.js";
10
10
  import "../../../chunk-ROGNJYST.js";
11
11
  import {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  useSession
3
- } from "../../../chunk-WQYDTSSV.js";
3
+ } from "../../../chunk-M2ZCTKY7.js";
4
4
  import {
5
5
  checkoutSession,
6
6
  getSessionCheckpoints,
7
7
  useChatStore,
8
8
  useSessionStore
9
- } from "../../../chunk-LKNU4NUC.js";
9
+ } from "../../../chunk-C7VSMOXN.js";
10
10
  import "../../../chunk-J3XVFPOV.js";
11
11
  import "../../../chunk-ROGNJYST.js";
12
12
  import {