@agentconnect.md/daemon 1.0.0-rc.239 → 1.0.0-rc.240

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.
@@ -1230,22 +1230,15 @@ const ErrorFrame = object({
1230
1230
  retryable: boolean(),
1231
1231
  details: record(string(), unknown()).optional()
1232
1232
  });
1233
- //#endregion
1234
- //#region ../protocol/dist/frames/webchat.js
1235
- const WebchatMessage = object({
1236
- conversationId: string().uuid(),
1237
- agentId: string().uuid(),
1238
- text: string(),
1239
- user: string().optional()
1240
- });
1241
- const WebchatAck = object({
1233
+ object({
1242
1234
  accepted: boolean(),
1243
1235
  turnId: string().uuid(),
1244
1236
  reason: _enum([
1245
1237
  "queued",
1246
1238
  "no_agent",
1247
1239
  "busy",
1248
- "paused"
1240
+ "paused",
1241
+ "draining"
1249
1242
  ]).optional()
1250
1243
  });
1251
1244
  const WebchatEvent = discriminatedUnion("kind", [
@@ -1333,32 +1326,6 @@ const FRAME_SCHEMAS = {
1333
1326
  "agent/remove": AgentRemove,
1334
1327
  "agent/activity": AgentActivity,
1335
1328
  "agent/scope-denied": AgentScopeDenied,
1336
- "webchat/message": WebchatMessage,
1337
- "webchat/ack": WebchatAck,
1338
- "webchat/output": WebchatOutput,
1339
- "webchat/done": WebchatDone,
1340
- "webchat/close": object({ conversationId: string().uuid() }),
1341
- "webchat/set-model": object({
1342
- conversationId: string().uuid(),
1343
- agentId: string().uuid(),
1344
- model: string()
1345
- }),
1346
- "webchat/set-effort": object({
1347
- conversationId: string().uuid(),
1348
- agentId: string().uuid(),
1349
- effort: string()
1350
- }),
1351
- "webchat/set-permission-mode": object({
1352
- conversationId: string().uuid(),
1353
- agentId: string().uuid(),
1354
- permissionMode: string()
1355
- }),
1356
- "webchat/set-fast": object({
1357
- conversationId: string().uuid(),
1358
- agentId: string().uuid(),
1359
- fastMode: boolean()
1360
- }),
1361
- "webchat/cancel": object({ conversationId: string().uuid() }),
1362
1329
  "route/assign": RouteAssign,
1363
1330
  "route/assign/ack": RouteAssignAck,
1364
1331
  "route/update": RouteUpdate,
@@ -1450,16 +1417,6 @@ discriminatedUnion("type", [
1450
1417
  frame("agent/remove", FRAME_SCHEMAS["agent/remove"]),
1451
1418
  frame("agent/activity", FRAME_SCHEMAS["agent/activity"]),
1452
1419
  frame("agent/scope-denied", FRAME_SCHEMAS["agent/scope-denied"]),
1453
- frame("webchat/message", FRAME_SCHEMAS["webchat/message"]),
1454
- frame("webchat/ack", FRAME_SCHEMAS["webchat/ack"]),
1455
- frame("webchat/output", FRAME_SCHEMAS["webchat/output"]),
1456
- frame("webchat/done", FRAME_SCHEMAS["webchat/done"]),
1457
- frame("webchat/close", FRAME_SCHEMAS["webchat/close"]),
1458
- frame("webchat/set-model", FRAME_SCHEMAS["webchat/set-model"]),
1459
- frame("webchat/set-effort", FRAME_SCHEMAS["webchat/set-effort"]),
1460
- frame("webchat/set-permission-mode", FRAME_SCHEMAS["webchat/set-permission-mode"]),
1461
- frame("webchat/set-fast", FRAME_SCHEMAS["webchat/set-fast"]),
1462
- frame("webchat/cancel", FRAME_SCHEMAS["webchat/cancel"]),
1463
1420
  frame("route/assign", FRAME_SCHEMAS["route/assign"]),
1464
1421
  frame("route/assign/ack", FRAME_SCHEMAS["route/assign/ack"]),
1465
1422
  frame("route/update", FRAME_SCHEMAS["route/update"]),
@@ -10849,4 +10806,4 @@ var AcpHost = class {
10849
10806
  //#endregion
10850
10807
  export { resolveRuntimes as C, cachedRuntimeVersions as S, encode as _, initGitInjection as a, RESERVED_MCP_SERVER_NAME as b, simpleGit as c, RELAY_DAEMON_SUBPROTOCOL as d, RELAY_DAEMON_WS_PATH as f, decodeEnvelope as g, buildEnvelope as h, prepareWorkspace as i, isFrame as l, decodeRelayDaemonFrame as m, installedRuntimes as n, probeGitVersion as o, buildRelayDaemonFrame as p, prefetchWorkspace as r, sessionGitEnv as s, AcpHost as t, normalizeGitUrl as u, MAX_FRAME_BYTES as v, cachedRuntimeNames as x, MEMORY_INDEX as y };
10851
10808
 
10852
- //# sourceMappingURL=acp-host-BADva9E0.js.map
10809
+ //# sourceMappingURL=acp-host-M9PGQrVJ.js.map