@blade-hq/agent-kit 0.5.23 → 0.5.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-Dn5im-__.d.ts → SkillStatusBar-BUisTEAL.d.ts} +5 -2
- package/dist/{blade-client-Bhp0hHiZ.d.ts → blade-client-KmBClau6.d.ts} +35 -2
- package/dist/{chunk-B4RZNR3L.js → chunk-FZXLII7S.js} +30 -2
- package/dist/chunk-FZXLII7S.js.map +1 -0
- package/dist/{chunk-SLTENCW7.js → chunk-HAFDWDFG.js} +2 -2
- package/dist/{chunk-LI3WURWU.js → chunk-PKQKLRFQ.js} +15 -5
- package/dist/chunk-PKQKLRFQ.js.map +1 -0
- package/dist/{chunk-PRWPDK6Z.js → chunk-SENUKC7C.js} +368 -315
- package/dist/chunk-SENUKC7C.js.map +1 -0
- package/dist/{chunk-NWKF2VEC.js → chunk-UQWHEHG3.js} +2 -2
- package/dist/client/index.d.ts +4619 -2838
- package/dist/react/api/vibe-coding.d.ts +3 -3
- package/dist/react/api/vibe-coding.js +1 -1
- package/dist/react/components/chat/index.d.ts +4 -4
- package/dist/react/components/chat/index.js +4 -4
- 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 +2 -2
- package/dist/react/components/workspace/index.d.ts +22 -2
- package/dist/react/components/workspace/index.js +30 -14
- package/dist/react/components/workspace/index.js.map +1 -1
- package/dist/react/index.d.ts +17 -179
- package/dist/react/index.js +6 -5
- package/dist/react/index.js.map +1 -1
- package/dist/{session-BuaeCsMC.d.ts → session-B5v5KkVd.d.ts} +5 -3
- package/dist/sessions-DfRYZZnH.d.ts +174 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-B4RZNR3L.js.map +0 -1
- package/dist/chunk-LI3WURWU.js.map +0 -1
- package/dist/chunk-PRWPDK6Z.js.map +0 -1
- /package/dist/{chunk-SLTENCW7.js.map → chunk-HAFDWDFG.js.map} +0 -0
- /package/dist/{chunk-NWKF2VEC.js.map → chunk-UQWHEHG3.js.map} +0 -0
|
@@ -93,7 +93,7 @@ interface BizRole {
|
|
|
93
93
|
} | null;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
declare const SessionStatus: arktype_internal_variants_string_ts.StringType<"completed" | "failed" | "interrupted" | "
|
|
96
|
+
declare const SessionStatus: arktype_internal_variants_string_ts.StringType<"completed" | "failed" | "interrupted" | "created" | "running" | "waiting_for_input", {}>;
|
|
97
97
|
type SessionStatus = typeof SessionStatus.infer;
|
|
98
98
|
type TemplateId = "default" | "skill_editor" | "vibe_coding" | "ship_attack";
|
|
99
99
|
type SkillEditorTemplateId = "skill_editor";
|
|
@@ -125,12 +125,13 @@ interface SessionSearchMatch {
|
|
|
125
125
|
declare const SessionInfo: arktype_internal_variants_object_ts.ObjectType<{
|
|
126
126
|
id: string;
|
|
127
127
|
intent: string;
|
|
128
|
-
status: "completed" | "failed" | "interrupted" | "
|
|
128
|
+
status: "completed" | "failed" | "interrupted" | "created" | "running" | "waiting_for_input";
|
|
129
129
|
created_at: string;
|
|
130
130
|
updated_at: string;
|
|
131
131
|
shared?: boolean | undefined;
|
|
132
132
|
memory_enabled?: boolean | undefined;
|
|
133
133
|
is_persistent?: boolean | undefined;
|
|
134
|
+
is_headless?: boolean | undefined;
|
|
134
135
|
viewer_role?: "owner" | "viewer" | undefined;
|
|
135
136
|
template_id?: string | null | undefined;
|
|
136
137
|
model?: string | null | undefined;
|
|
@@ -152,6 +153,7 @@ type SessionInfo = Omit<typeof SessionInfo.infer, "template_id" | "solution" | "
|
|
|
152
153
|
shared?: boolean;
|
|
153
154
|
memory_enabled?: boolean;
|
|
154
155
|
is_persistent?: boolean;
|
|
156
|
+
is_headless?: boolean;
|
|
155
157
|
viewer_role?: "owner" | "viewer";
|
|
156
158
|
template_id?: TemplateId | null;
|
|
157
159
|
model?: string | null;
|
|
@@ -210,4 +212,4 @@ interface SessionDetail extends SessionInfo {
|
|
|
210
212
|
env?: Record<string, string>;
|
|
211
213
|
}
|
|
212
214
|
|
|
213
|
-
export { type BizRole as B, LayoutType as L, type ModeId as M, type PrimarySkillParallelMode as P,
|
|
215
|
+
export { type BizRole as B, LayoutType as L, type ModeId as M, type PrimarySkillParallelMode as P, type SessionDetail as S, type TemplateId as T, SessionInfo as a, SessionStatus as b, type Solution as c, type PrimarySkillSnapshot as d, type PrimarySkillStageSpec as e, type PrimarySkillStepSpec as f, type SessionPortMapping as g, type SkillEditorTemplateId as h, type SolutionAppField as i, type SolutionAppState as j, type SolutionAppUiConfig as k };
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { S as SessionsResource, g as ShareLinkResult, B as BackgroundTask, h as CheckpointNode, i as SessionContextStats, j as SessionHistory, F as FileEntry, k as PaginatedSessionsResult, l as SkillDevSession, I as ImportPreview, T as TokenizeResult, m as ContentPart, n as CreateSessionRequest, H as HistoryNode, o as ImportPreviewScenario, p as ImportPreviewSkill, U as UploadFileEntry, q as UploadFilesOptions } from './blade-client-KmBClau6.js';
|
|
2
|
+
import { T as TurnProjection } from './projection-BWYEFYNn.js';
|
|
3
|
+
import { S as SessionDetail, a as SessionInfo } from './session-B5v5KkVd.js';
|
|
4
|
+
|
|
5
|
+
interface SessionExtraInfo {
|
|
6
|
+
session_id?: string | null;
|
|
7
|
+
extra?: Record<string, unknown> | null;
|
|
8
|
+
created_at?: string;
|
|
9
|
+
updated_at?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const listSessions: (...args: Parameters<SessionsResource["listSessions"]>) => Promise<SessionInfo[]>;
|
|
12
|
+
declare const listSessionsPaginated: (...args: Parameters<SessionsResource["listSessionsPaginated"]>) => Promise<PaginatedSessionsResult>;
|
|
13
|
+
declare const listSessionsWithSkillData: (...args: Parameters<SessionsResource["listSessionsWithSkillData"]>) => Promise<SkillDevSession[]>;
|
|
14
|
+
declare const createSession: (...args: Parameters<SessionsResource["createSession"]>) => Promise<{
|
|
15
|
+
session_id: string;
|
|
16
|
+
}>;
|
|
17
|
+
declare const createSessionWithRequest: (...args: Parameters<SessionsResource["createSessionWithRequest"]>) => Promise<{
|
|
18
|
+
session_id: string;
|
|
19
|
+
}>;
|
|
20
|
+
declare const getSession: (...args: Parameters<SessionsResource["getSession"]>) => Promise<SessionDetail>;
|
|
21
|
+
declare const updateSession: (...args: Parameters<SessionsResource["updateSession"]>) => Promise<SessionDetail>;
|
|
22
|
+
declare const pinSession: (...args: Parameters<SessionsResource["pinSession"]>) => Promise<SessionInfo>;
|
|
23
|
+
declare const startReplaySession: (...args: Parameters<SessionsResource["startReplaySession"]>) => Promise<{
|
|
24
|
+
session_id: string;
|
|
25
|
+
}>;
|
|
26
|
+
declare const updateReplaySession: (...args: Parameters<SessionsResource["updateReplaySession"]>) => Promise<{
|
|
27
|
+
replay_state: SessionInfo["replay_state"];
|
|
28
|
+
}>;
|
|
29
|
+
declare const updateSharing: (...args: Parameters<SessionsResource["updateSharing"]>) => Promise<{
|
|
30
|
+
shared: boolean;
|
|
31
|
+
}>;
|
|
32
|
+
declare const updateSessionMemory: (...args: Parameters<SessionsResource["updateSessionMemory"]>) => Promise<{
|
|
33
|
+
memory_enabled: boolean;
|
|
34
|
+
}>;
|
|
35
|
+
declare const createShare: (...args: Parameters<SessionsResource["createShare"]>) => Promise<ShareLinkResult>;
|
|
36
|
+
declare const revokeShare: (...args: Parameters<SessionsResource["revokeShare"]>) => Promise<{
|
|
37
|
+
revoked: boolean;
|
|
38
|
+
}>;
|
|
39
|
+
declare const getSharedSession: (...args: Parameters<SessionsResource["getSharedSession"]>) => Promise<TurnProjection[]>;
|
|
40
|
+
declare const getSessionTasks: (...args: Parameters<SessionsResource["getSessionTasks"]>) => Promise<{
|
|
41
|
+
id: string;
|
|
42
|
+
goal: string;
|
|
43
|
+
skills: string[];
|
|
44
|
+
depends_on: string[];
|
|
45
|
+
status: "pending" | "done" | "failed" | "in_progress" | "skipped";
|
|
46
|
+
result_summary: string;
|
|
47
|
+
number: string;
|
|
48
|
+
}[]>;
|
|
49
|
+
declare const getSessionTurns: (...args: Parameters<SessionsResource["getSessionTurns"]>) => Promise<TurnProjection[]>;
|
|
50
|
+
declare const getSessionContextStats: (...args: Parameters<SessionsResource["getSessionContextStats"]>) => Promise<SessionContextStats>;
|
|
51
|
+
declare const getSessionHistory: (...args: Parameters<SessionsResource["getSessionHistory"]>) => Promise<SessionHistory>;
|
|
52
|
+
declare const tokenizePrompt: (...args: Parameters<SessionsResource["tokenizePrompt"]>) => Promise<TokenizeResult>;
|
|
53
|
+
declare const tokenizeMessages: (...args: Parameters<SessionsResource["tokenizeMessages"]>) => Promise<TokenizeResult>;
|
|
54
|
+
declare const getSessionCheckpoints: (...args: Parameters<SessionsResource["getSessionCheckpoints"]>) => Promise<{
|
|
55
|
+
nodes: CheckpointNode[];
|
|
56
|
+
leaf_id: string | null;
|
|
57
|
+
}>;
|
|
58
|
+
declare const checkoutSession: (...args: Parameters<SessionsResource["checkoutSession"]>) => Promise<{
|
|
59
|
+
id: string;
|
|
60
|
+
content: string;
|
|
61
|
+
position: string;
|
|
62
|
+
}>;
|
|
63
|
+
declare const rewindSession: (...args: Parameters<SessionsResource["rewindSession"]>) => Promise<{
|
|
64
|
+
id: string;
|
|
65
|
+
content: string;
|
|
66
|
+
}>;
|
|
67
|
+
declare const switchBranch: (...args: Parameters<SessionsResource["switchBranch"]>) => Promise<{
|
|
68
|
+
id: string;
|
|
69
|
+
leaf_id: string;
|
|
70
|
+
}>;
|
|
71
|
+
declare const deleteSession: (...args: Parameters<SessionsResource["deleteSession"]>) => Promise<{
|
|
72
|
+
deleted: boolean;
|
|
73
|
+
}>;
|
|
74
|
+
declare const listBackgroundTasks: (...args: Parameters<SessionsResource["listBackgroundTasks"]>) => Promise<BackgroundTask[]>;
|
|
75
|
+
declare const getBackgroundTask: (...args: Parameters<SessionsResource["getBackgroundTask"]>) => Promise<BackgroundTask>;
|
|
76
|
+
declare const stopBackgroundTask: (...args: Parameters<SessionsResource["stopBackgroundTask"]>) => Promise<{
|
|
77
|
+
message: string;
|
|
78
|
+
task?: BackgroundTask | null;
|
|
79
|
+
}>;
|
|
80
|
+
declare const probeSessionUrl: (...args: Parameters<SessionsResource["probeSessionUrl"]>) => Promise<{
|
|
81
|
+
reachable: boolean;
|
|
82
|
+
}>;
|
|
83
|
+
declare const listDir: (...args: Parameters<SessionsResource["listDir"]>) => Promise<FileEntry[]>;
|
|
84
|
+
declare const uploadFiles: (...args: Parameters<SessionsResource["uploadFiles"]>) => Promise<{
|
|
85
|
+
uploaded: string[];
|
|
86
|
+
failed: string[];
|
|
87
|
+
}>;
|
|
88
|
+
declare const deleteFile: (...args: Parameters<SessionsResource["deleteFile"]>) => Promise<void>;
|
|
89
|
+
declare const writeFile: (...args: Parameters<SessionsResource["writeFile"]>) => Promise<{
|
|
90
|
+
success: boolean;
|
|
91
|
+
}>;
|
|
92
|
+
declare const renameFile: (...args: Parameters<SessionsResource["renameFile"]>) => Promise<{
|
|
93
|
+
path: string;
|
|
94
|
+
}>;
|
|
95
|
+
declare const copyFile: (...args: Parameters<SessionsResource["copyFile"]>) => Promise<{
|
|
96
|
+
path: string;
|
|
97
|
+
}>;
|
|
98
|
+
declare const shareFile: (...args: Parameters<SessionsResource["shareFile"]>) => Promise<{
|
|
99
|
+
path: string;
|
|
100
|
+
target: string;
|
|
101
|
+
}>;
|
|
102
|
+
declare const getDownloadDirUrl: (...args: Parameters<SessionsResource["getDownloadDirUrl"]>) => string;
|
|
103
|
+
declare const exportSession: (...args: Parameters<SessionsResource["exportSession"]>) => Promise<void>;
|
|
104
|
+
declare const previewImport: (...args: Parameters<SessionsResource["previewImport"]>) => Promise<ImportPreview>;
|
|
105
|
+
declare const importSession: (...args: Parameters<SessionsResource["importSession"]>) => Promise<{
|
|
106
|
+
session_id: string;
|
|
107
|
+
}>;
|
|
108
|
+
declare function getSessionExtraInfoByTask(taskId: string): Promise<SessionExtraInfo>;
|
|
109
|
+
|
|
110
|
+
declare const sessions_CheckpointNode: typeof CheckpointNode;
|
|
111
|
+
declare const sessions_ContentPart: typeof ContentPart;
|
|
112
|
+
declare const sessions_CreateSessionRequest: typeof CreateSessionRequest;
|
|
113
|
+
declare const sessions_FileEntry: typeof FileEntry;
|
|
114
|
+
declare const sessions_HistoryNode: typeof HistoryNode;
|
|
115
|
+
declare const sessions_ImportPreview: typeof ImportPreview;
|
|
116
|
+
declare const sessions_ImportPreviewScenario: typeof ImportPreviewScenario;
|
|
117
|
+
declare const sessions_ImportPreviewSkill: typeof ImportPreviewSkill;
|
|
118
|
+
declare const sessions_PaginatedSessionsResult: typeof PaginatedSessionsResult;
|
|
119
|
+
declare const sessions_SessionContextStats: typeof SessionContextStats;
|
|
120
|
+
type sessions_SessionExtraInfo = SessionExtraInfo;
|
|
121
|
+
declare const sessions_SessionHistory: typeof SessionHistory;
|
|
122
|
+
declare const sessions_SessionsResource: typeof SessionsResource;
|
|
123
|
+
declare const sessions_ShareLinkResult: typeof ShareLinkResult;
|
|
124
|
+
declare const sessions_SkillDevSession: typeof SkillDevSession;
|
|
125
|
+
declare const sessions_TokenizeResult: typeof TokenizeResult;
|
|
126
|
+
declare const sessions_UploadFileEntry: typeof UploadFileEntry;
|
|
127
|
+
declare const sessions_UploadFilesOptions: typeof UploadFilesOptions;
|
|
128
|
+
declare const sessions_checkoutSession: typeof checkoutSession;
|
|
129
|
+
declare const sessions_copyFile: typeof copyFile;
|
|
130
|
+
declare const sessions_createSession: typeof createSession;
|
|
131
|
+
declare const sessions_createSessionWithRequest: typeof createSessionWithRequest;
|
|
132
|
+
declare const sessions_createShare: typeof createShare;
|
|
133
|
+
declare const sessions_deleteFile: typeof deleteFile;
|
|
134
|
+
declare const sessions_deleteSession: typeof deleteSession;
|
|
135
|
+
declare const sessions_exportSession: typeof exportSession;
|
|
136
|
+
declare const sessions_getBackgroundTask: typeof getBackgroundTask;
|
|
137
|
+
declare const sessions_getDownloadDirUrl: typeof getDownloadDirUrl;
|
|
138
|
+
declare const sessions_getSession: typeof getSession;
|
|
139
|
+
declare const sessions_getSessionCheckpoints: typeof getSessionCheckpoints;
|
|
140
|
+
declare const sessions_getSessionContextStats: typeof getSessionContextStats;
|
|
141
|
+
declare const sessions_getSessionExtraInfoByTask: typeof getSessionExtraInfoByTask;
|
|
142
|
+
declare const sessions_getSessionHistory: typeof getSessionHistory;
|
|
143
|
+
declare const sessions_getSessionTasks: typeof getSessionTasks;
|
|
144
|
+
declare const sessions_getSessionTurns: typeof getSessionTurns;
|
|
145
|
+
declare const sessions_getSharedSession: typeof getSharedSession;
|
|
146
|
+
declare const sessions_importSession: typeof importSession;
|
|
147
|
+
declare const sessions_listBackgroundTasks: typeof listBackgroundTasks;
|
|
148
|
+
declare const sessions_listDir: typeof listDir;
|
|
149
|
+
declare const sessions_listSessions: typeof listSessions;
|
|
150
|
+
declare const sessions_listSessionsPaginated: typeof listSessionsPaginated;
|
|
151
|
+
declare const sessions_listSessionsWithSkillData: typeof listSessionsWithSkillData;
|
|
152
|
+
declare const sessions_pinSession: typeof pinSession;
|
|
153
|
+
declare const sessions_previewImport: typeof previewImport;
|
|
154
|
+
declare const sessions_probeSessionUrl: typeof probeSessionUrl;
|
|
155
|
+
declare const sessions_renameFile: typeof renameFile;
|
|
156
|
+
declare const sessions_revokeShare: typeof revokeShare;
|
|
157
|
+
declare const sessions_rewindSession: typeof rewindSession;
|
|
158
|
+
declare const sessions_shareFile: typeof shareFile;
|
|
159
|
+
declare const sessions_startReplaySession: typeof startReplaySession;
|
|
160
|
+
declare const sessions_stopBackgroundTask: typeof stopBackgroundTask;
|
|
161
|
+
declare const sessions_switchBranch: typeof switchBranch;
|
|
162
|
+
declare const sessions_tokenizeMessages: typeof tokenizeMessages;
|
|
163
|
+
declare const sessions_tokenizePrompt: typeof tokenizePrompt;
|
|
164
|
+
declare const sessions_updateReplaySession: typeof updateReplaySession;
|
|
165
|
+
declare const sessions_updateSession: typeof updateSession;
|
|
166
|
+
declare const sessions_updateSessionMemory: typeof updateSessionMemory;
|
|
167
|
+
declare const sessions_updateSharing: typeof updateSharing;
|
|
168
|
+
declare const sessions_uploadFiles: typeof uploadFiles;
|
|
169
|
+
declare const sessions_writeFile: typeof writeFile;
|
|
170
|
+
declare namespace sessions {
|
|
171
|
+
export { sessions_CheckpointNode as CheckpointNode, sessions_ContentPart as ContentPart, sessions_CreateSessionRequest as CreateSessionRequest, sessions_FileEntry as FileEntry, sessions_HistoryNode as HistoryNode, sessions_ImportPreview as ImportPreview, sessions_ImportPreviewScenario as ImportPreviewScenario, sessions_ImportPreviewSkill as ImportPreviewSkill, sessions_PaginatedSessionsResult as PaginatedSessionsResult, sessions_SessionContextStats as SessionContextStats, type sessions_SessionExtraInfo as SessionExtraInfo, sessions_SessionHistory as SessionHistory, sessions_SessionsResource as SessionsResource, sessions_ShareLinkResult as ShareLinkResult, sessions_SkillDevSession as SkillDevSession, sessions_TokenizeResult as TokenizeResult, sessions_UploadFileEntry as UploadFileEntry, sessions_UploadFilesOptions as UploadFilesOptions, sessions_checkoutSession as checkoutSession, sessions_copyFile as copyFile, sessions_createSession as createSession, sessions_createSessionWithRequest as createSessionWithRequest, sessions_createShare as createShare, sessions_deleteFile as deleteFile, sessions_deleteSession as deleteSession, sessions_exportSession as exportSession, sessions_getBackgroundTask as getBackgroundTask, sessions_getDownloadDirUrl as getDownloadDirUrl, sessions_getSession as getSession, sessions_getSessionCheckpoints as getSessionCheckpoints, sessions_getSessionContextStats as getSessionContextStats, sessions_getSessionExtraInfoByTask as getSessionExtraInfoByTask, sessions_getSessionHistory as getSessionHistory, sessions_getSessionTasks as getSessionTasks, sessions_getSessionTurns as getSessionTurns, sessions_getSharedSession as getSharedSession, sessions_importSession as importSession, sessions_listBackgroundTasks as listBackgroundTasks, sessions_listDir as listDir, sessions_listSessions as listSessions, sessions_listSessionsPaginated as listSessionsPaginated, sessions_listSessionsWithSkillData as listSessionsWithSkillData, sessions_pinSession as pinSession, sessions_previewImport as previewImport, sessions_probeSessionUrl as probeSessionUrl, sessions_renameFile as renameFile, sessions_revokeShare as revokeShare, sessions_rewindSession as rewindSession, sessions_shareFile as shareFile, sessions_startReplaySession as startReplaySession, sessions_stopBackgroundTask as stopBackgroundTask, sessions_switchBranch as switchBranch, sessions_tokenizeMessages as tokenizeMessages, sessions_tokenizePrompt as tokenizePrompt, sessions_updateReplaySession as updateReplaySession, sessions_updateSession as updateSession, sessions_updateSessionMemory as updateSessionMemory, sessions_updateSharing as updateSharing, sessions_uploadFiles as uploadFiles, sessions_writeFile as writeFile };
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export { type SessionExtraInfo as S, listDir as l, sessions as s, uploadFiles as u };
|