@gencode/console 0.0.5 → 0.0.7
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/client/assets/main-E92VcACm.js +141 -0
- package/dist/client/assets/main-e-RYVdjw.css +1 -0
- package/dist/client/index.html +2 -2
- package/dist/server/cli-runner.d.ts +29 -0
- package/dist/server/cli-runner.d.ts.map +1 -1
- package/dist/server/cli-runner.js +93 -5
- package/dist/server/cli-runner.js.map +1 -1
- package/dist/server/config.d.ts +3 -0
- package/dist/server/config.d.ts.map +1 -1
- package/dist/server/config.js +3 -0
- package/dist/server/config.js.map +1 -1
- package/dist/server/event-message-mapper.d.ts.map +1 -1
- package/dist/server/event-message-mapper.js +79 -8
- package/dist/server/event-message-mapper.js.map +1 -1
- package/dist/server/server.d.ts +22 -0
- package/dist/server/server.d.ts.map +1 -1
- package/dist/server/server.js +101 -2
- package/dist/server/server.js.map +1 -1
- package/dist/server/ws-handler.d.ts +35 -0
- package/dist/server/ws-handler.d.ts.map +1 -1
- package/dist/server/ws-handler.js +144 -29
- package/dist/server/ws-handler.js.map +1 -1
- package/dist/shared/protocol.d.ts +90 -102
- package/dist/shared/protocol.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/client/assets/main-B_dZQmsE.js +0 -131
- package/dist/client/assets/main-D8ga7RVV.css +0 -1
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This protocol maps directly to AgentProgressEvent types from @gencode/agents,
|
|
5
5
|
* maintaining semantic consistency while enabling real-time streaming to the browser.
|
|
6
6
|
*/
|
|
7
|
+
import type { AgentProgressEvent as SharedAgentProgressEvent, CallbackEventPayload as SharedCallbackEventPayload, Channel as SharedChannel, RunResultPayload as SharedRunResultPayload } from '@gencode/shared';
|
|
7
8
|
export type AgentSendMessage = {
|
|
8
9
|
type: 'agent.send';
|
|
9
10
|
sessionId?: string;
|
|
@@ -15,6 +16,13 @@ export type AgentAbortMessage = {
|
|
|
15
16
|
type: 'agent.abort';
|
|
16
17
|
sessionId: string;
|
|
17
18
|
};
|
|
19
|
+
export type AgentResumeMessage = {
|
|
20
|
+
type: 'agent.resume';
|
|
21
|
+
sessionId: string;
|
|
22
|
+
dataDir: string;
|
|
23
|
+
requestId: string;
|
|
24
|
+
inputJson: string;
|
|
25
|
+
};
|
|
18
26
|
export type SessionsListMessage = {
|
|
19
27
|
type: 'sessions.list';
|
|
20
28
|
dataDir: string;
|
|
@@ -28,7 +36,7 @@ export type CommandsListMessage = {
|
|
|
28
36
|
type: 'commands.list';
|
|
29
37
|
dataDir: string;
|
|
30
38
|
};
|
|
31
|
-
export type C2SMessage = AgentSendMessage | AgentAbortMessage | SessionsListMessage | SessionGetMessage | CommandsListMessage;
|
|
39
|
+
export type C2SMessage = AgentSendMessage | AgentAbortMessage | AgentResumeMessage | SessionsListMessage | SessionGetMessage | CommandsListMessage;
|
|
32
40
|
export type AgentStartMessage = {
|
|
33
41
|
type: 'agent.start';
|
|
34
42
|
sessionId: string;
|
|
@@ -72,6 +80,7 @@ export type AgentToolEndMessage = {
|
|
|
72
80
|
depth?: number;
|
|
73
81
|
toolCallId: string;
|
|
74
82
|
name: string;
|
|
83
|
+
input: unknown;
|
|
75
84
|
output: string;
|
|
76
85
|
isError: boolean;
|
|
77
86
|
};
|
|
@@ -110,6 +119,17 @@ export type AgentSkillUsedMessage = {
|
|
|
110
119
|
agent: string;
|
|
111
120
|
taskId: string;
|
|
112
121
|
};
|
|
122
|
+
export type AgentCustomMessage = {
|
|
123
|
+
type: 'agent.custom';
|
|
124
|
+
sessionId: string;
|
|
125
|
+
messageId?: string;
|
|
126
|
+
parentSessionId?: string;
|
|
127
|
+
depth?: number;
|
|
128
|
+
pluginId: string;
|
|
129
|
+
name: string;
|
|
130
|
+
label?: string;
|
|
131
|
+
data?: Record<string, unknown>;
|
|
132
|
+
};
|
|
113
133
|
export type AgentSubagentSpawnMessage = {
|
|
114
134
|
type: 'agent.subagent_spawn';
|
|
115
135
|
sessionId: string;
|
|
@@ -130,6 +150,70 @@ export type AgentSubagentCompleteMessage = {
|
|
|
130
150
|
task: string;
|
|
131
151
|
status: 'done' | 'error' | 'killed';
|
|
132
152
|
};
|
|
153
|
+
export type AgentHitlRequestedMessage = {
|
|
154
|
+
type: 'agent.hitl_requested';
|
|
155
|
+
sessionId: string;
|
|
156
|
+
messageId?: string;
|
|
157
|
+
parentSessionId?: string;
|
|
158
|
+
depth?: number;
|
|
159
|
+
request: {
|
|
160
|
+
requestId: string;
|
|
161
|
+
kind: 'approval' | 'clarify' | 'review';
|
|
162
|
+
title: string;
|
|
163
|
+
prompt: string;
|
|
164
|
+
details?: Record<string, unknown>;
|
|
165
|
+
preview?: {
|
|
166
|
+
mimeType: 'text/plain' | 'application/json' | 'text/markdown';
|
|
167
|
+
content: string;
|
|
168
|
+
};
|
|
169
|
+
input: {
|
|
170
|
+
mode: 'choice' | 'text' | 'form';
|
|
171
|
+
choices?: Array<{
|
|
172
|
+
id: string;
|
|
173
|
+
label: string;
|
|
174
|
+
description?: string;
|
|
175
|
+
}>;
|
|
176
|
+
multiple?: boolean;
|
|
177
|
+
allowFreeText?: boolean;
|
|
178
|
+
multiline?: boolean;
|
|
179
|
+
placeholder?: string;
|
|
180
|
+
schema?: Record<string, unknown>;
|
|
181
|
+
};
|
|
182
|
+
policy: {
|
|
183
|
+
timeoutMs?: number;
|
|
184
|
+
defaultOnTimeout?: 'deny' | 'cancel' | 'continue' | 'use_best_effort';
|
|
185
|
+
resumable: true;
|
|
186
|
+
};
|
|
187
|
+
createdAt: string;
|
|
188
|
+
expiresAt?: string;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
export type AgentHitlResumedMessage = {
|
|
192
|
+
type: 'agent.hitl_resumed';
|
|
193
|
+
sessionId: string;
|
|
194
|
+
messageId?: string;
|
|
195
|
+
parentSessionId?: string;
|
|
196
|
+
depth?: number;
|
|
197
|
+
requestId: string;
|
|
198
|
+
};
|
|
199
|
+
export type AgentHitlExpiredMessage = {
|
|
200
|
+
type: 'agent.hitl_expired';
|
|
201
|
+
sessionId: string;
|
|
202
|
+
messageId?: string;
|
|
203
|
+
parentSessionId?: string;
|
|
204
|
+
depth?: number;
|
|
205
|
+
requestId: string;
|
|
206
|
+
reason: string;
|
|
207
|
+
};
|
|
208
|
+
export type AgentHitlCancelledMessage = {
|
|
209
|
+
type: 'agent.hitl_cancelled';
|
|
210
|
+
sessionId: string;
|
|
211
|
+
messageId?: string;
|
|
212
|
+
parentSessionId?: string;
|
|
213
|
+
depth?: number;
|
|
214
|
+
requestId: string;
|
|
215
|
+
reason?: string;
|
|
216
|
+
};
|
|
133
217
|
export type AgentTurnEndMessage = {
|
|
134
218
|
type: 'agent.turn_end';
|
|
135
219
|
sessionId: string;
|
|
@@ -195,117 +279,22 @@ export type SessionResetMessage = {
|
|
|
195
279
|
message: string;
|
|
196
280
|
};
|
|
197
281
|
export type MessageTransport = 'callback' | 'websocket';
|
|
198
|
-
export type S2CMessage = (AgentStartMessage | AgentTextMessage | AgentBootstrapMessage | AgentToolStartMessage | AgentToolEndMessage | AgentCompactionMessage | AgentMemoryChangedMessage | AgentSkillUsedMessage | AgentSubagentSpawnMessage | AgentSubagentCompleteMessage | AgentTurnEndMessage | AgentDoneMessage | AgentErrorMessage | SessionResetMessage | SessionsListResponseMessage | SessionGetResponseMessage | CommandsListResponseMessage | ServerInfoMessage | ServerErrorMessage) & {
|
|
282
|
+
export type S2CMessage = (AgentStartMessage | AgentTextMessage | AgentBootstrapMessage | AgentToolStartMessage | AgentToolEndMessage | AgentCompactionMessage | AgentMemoryChangedMessage | AgentSkillUsedMessage | AgentCustomMessage | AgentSubagentSpawnMessage | AgentSubagentCompleteMessage | AgentHitlRequestedMessage | AgentHitlResumedMessage | AgentHitlExpiredMessage | AgentHitlCancelledMessage | AgentTurnEndMessage | AgentDoneMessage | AgentErrorMessage | SessionResetMessage | SessionsListResponseMessage | SessionGetResponseMessage | CommandsListResponseMessage | ServerInfoMessage | ServerErrorMessage) & {
|
|
199
283
|
transport?: MessageTransport;
|
|
200
284
|
};
|
|
201
285
|
/**
|
|
202
286
|
* Payload sent by CLI to the callback URL.
|
|
203
287
|
* Maps to CallbackPayload from @gencode/agents.
|
|
204
288
|
*/
|
|
205
|
-
export type CliCallbackPayload =
|
|
206
|
-
sessionId: string;
|
|
207
|
-
channel: Channel;
|
|
208
|
-
messageId?: string;
|
|
209
|
-
type: 'start';
|
|
210
|
-
message: string;
|
|
211
|
-
} | {
|
|
212
|
-
sessionId: string;
|
|
213
|
-
channel: Channel;
|
|
214
|
-
messageId?: string;
|
|
215
|
-
type: 'progress';
|
|
216
|
-
event: AgentProgressEvent;
|
|
217
|
-
} | {
|
|
218
|
-
sessionId: string;
|
|
219
|
-
channel: Channel;
|
|
220
|
-
messageId?: string;
|
|
221
|
-
type: 'done';
|
|
222
|
-
result: AgentRunResult;
|
|
223
|
-
} | {
|
|
224
|
-
sessionId: string;
|
|
225
|
-
channel: Channel;
|
|
226
|
-
messageId?: string;
|
|
227
|
-
type: 'error';
|
|
228
|
-
message: string;
|
|
229
|
-
} | {
|
|
230
|
-
sessionId: string;
|
|
231
|
-
channel: Channel;
|
|
232
|
-
messageId?: string;
|
|
233
|
-
type: 'session_reset';
|
|
234
|
-
action: 'new' | 'reset';
|
|
235
|
-
previousSessionId?: string;
|
|
236
|
-
message: string;
|
|
237
|
-
};
|
|
289
|
+
export type CliCallbackPayload = SharedCallbackEventPayload;
|
|
238
290
|
/** Supported channel types */
|
|
239
|
-
export type Channel =
|
|
240
|
-
|
|
241
|
-
* Agent progress event types from @gencode/agents.
|
|
242
|
-
* Redefined here to avoid direct dependency.
|
|
243
|
-
*/
|
|
244
|
-
type AgentProgressEventBase = {
|
|
245
|
-
messageId?: string;
|
|
246
|
-
parentSessionId?: string;
|
|
247
|
-
depth?: number;
|
|
248
|
-
};
|
|
249
|
-
export type AgentProgressEvent = (AgentProgressEventBase & {
|
|
250
|
-
type: 'text';
|
|
251
|
-
text: string;
|
|
252
|
-
}) | (AgentProgressEventBase & {
|
|
253
|
-
type: 'bootstrap';
|
|
254
|
-
phase: 'checking' | 'initializing' | 'initialized' | 'ready';
|
|
255
|
-
dataDir: string;
|
|
256
|
-
}) | (AgentProgressEventBase & {
|
|
257
|
-
type: 'tool_start';
|
|
258
|
-
toolCallId: string;
|
|
259
|
-
name: string;
|
|
260
|
-
input: unknown;
|
|
261
|
-
}) | (AgentProgressEventBase & {
|
|
262
|
-
type: 'tool_end';
|
|
263
|
-
toolCallId: string;
|
|
264
|
-
name: string;
|
|
265
|
-
output: string;
|
|
266
|
-
isError: boolean;
|
|
267
|
-
}) | (AgentProgressEventBase & {
|
|
268
|
-
type: 'compaction';
|
|
269
|
-
reason: string;
|
|
270
|
-
}) | (AgentProgressEventBase & {
|
|
271
|
-
type: 'memory_changed';
|
|
272
|
-
reason: string;
|
|
273
|
-
files: string[];
|
|
274
|
-
source: 'memory' | 'sessions';
|
|
275
|
-
providerId?: string;
|
|
276
|
-
timestamp: string;
|
|
277
|
-
}) | (AgentProgressEventBase & {
|
|
278
|
-
type: 'skill_used';
|
|
279
|
-
skillName: string;
|
|
280
|
-
agent: string;
|
|
281
|
-
taskId: string;
|
|
282
|
-
}) | (AgentProgressEventBase & {
|
|
283
|
-
type: 'error';
|
|
284
|
-
message: string;
|
|
285
|
-
}) | (AgentProgressEventBase & {
|
|
286
|
-
type: 'subagent_spawn';
|
|
287
|
-
childSessionId: string;
|
|
288
|
-
task: string;
|
|
289
|
-
label?: string;
|
|
290
|
-
}) | (AgentProgressEventBase & {
|
|
291
|
-
type: 'subagent_complete';
|
|
292
|
-
childSessionId: string;
|
|
293
|
-
task: string;
|
|
294
|
-
status: 'done' | 'error' | 'killed';
|
|
295
|
-
});
|
|
291
|
+
export type Channel = SharedChannel;
|
|
292
|
+
export type AgentProgressEvent = SharedAgentProgressEvent;
|
|
296
293
|
/**
|
|
297
294
|
* Agent run result from @gencode/agents.
|
|
298
295
|
*/
|
|
299
|
-
export type AgentRunResult = {
|
|
296
|
+
export type AgentRunResult = SharedRunResultPayload & {
|
|
300
297
|
sessionId: string;
|
|
301
|
-
text?: string;
|
|
302
|
-
usage?: {
|
|
303
|
-
input: number;
|
|
304
|
-
output: number;
|
|
305
|
-
total: number;
|
|
306
|
-
};
|
|
307
|
-
durationMs?: number;
|
|
308
|
-
error?: string;
|
|
309
298
|
aborted?: boolean;
|
|
310
299
|
};
|
|
311
300
|
/**
|
|
@@ -336,5 +325,4 @@ export type TranscriptEntry = {
|
|
|
336
325
|
toolCallId?: string;
|
|
337
326
|
toolName?: string;
|
|
338
327
|
};
|
|
339
|
-
export {};
|
|
340
328
|
//# sourceMappingURL=protocol.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../src/shared/protocol.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../src/shared/protocol.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACV,kBAAkB,IAAI,wBAAwB,EAC9C,oBAAoB,IAAI,0BAA0B,EAClD,OAAO,IAAI,aAAa,EACxB,gBAAgB,IAAI,sBAAsB,EAC3C,MAAM,iBAAiB,CAAC;AAMzB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,YAAY,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,aAAa,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,cAAc,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAA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S,CAAC,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAMF;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,0BAA0B,CAAC;AAE5D,8BAA8B;AAC9B,MAAM,MAAM,OAAO,GAAG,aAAa,CAAC;AACpC,MAAM,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;AAE1D;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,sBAAsB,GAAG;IACpD,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,aAAa,CAAC;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gencode/console",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"aimax-console": "./dist/server/index.js"
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"ws": "^8.18.0",
|
|
26
26
|
"react": "^18.3.1",
|
|
27
27
|
"react-dom": "^18.3.1",
|
|
28
|
-
"@gencode/cli": "0.0.
|
|
29
|
-
"@gencode/shared": "0.0.
|
|
28
|
+
"@gencode/cli": "0.0.27",
|
|
29
|
+
"@gencode/shared": "0.0.9"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/ws": "^8.5.13",
|