@agentconnect.md/cli 1.15.0-rc.16 → 1.15.0-rc.28
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/index.js +38 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8233,8 +8233,10 @@ const AgentSpec = object({
|
|
|
8233
8233
|
"medium",
|
|
8234
8234
|
"high"
|
|
8235
8235
|
]).optional(),
|
|
8236
|
+
showFooter: boolean().optional(),
|
|
8236
8237
|
fastMode: boolean().optional(),
|
|
8237
8238
|
permissionMode: string().nullable().optional(),
|
|
8239
|
+
allowRuntimeChangesInChat: boolean().optional(),
|
|
8238
8240
|
pause: boolean().optional(),
|
|
8239
8241
|
workspace: AgentWorkspace.optional(),
|
|
8240
8242
|
env: record(string(), string()).optional(),
|
|
@@ -8327,6 +8329,36 @@ const AgentScopeDenied = object({
|
|
|
8327
8329
|
launchId: string().uuid(),
|
|
8328
8330
|
capability: string()
|
|
8329
8331
|
});
|
|
8332
|
+
/** Editor approval queue. The daemon owns the live resolver and durable local
|
|
8333
|
+
* history; the Control Plane only proxies this bounded, secret-masked summary. */
|
|
8334
|
+
const AgentPermissionRequestRecord = object({
|
|
8335
|
+
id: string().uuid(),
|
|
8336
|
+
agentId: string().uuid(),
|
|
8337
|
+
createdAt: string().datetime(),
|
|
8338
|
+
requesterId: string().nullable(),
|
|
8339
|
+
requesterName: string().nullable(),
|
|
8340
|
+
command: string().max(240),
|
|
8341
|
+
status: _enum([
|
|
8342
|
+
"pending",
|
|
8343
|
+
"allowed",
|
|
8344
|
+
"denied",
|
|
8345
|
+
"expired"
|
|
8346
|
+
]),
|
|
8347
|
+
resolvedAt: string().datetime().nullable()
|
|
8348
|
+
});
|
|
8349
|
+
const AgentPermissionRequestList = object({
|
|
8350
|
+
agentId: string().uuid(),
|
|
8351
|
+
limit: number().int().min(1).max(100).default(50)
|
|
8352
|
+
});
|
|
8353
|
+
const AgentPermissionRequestPage = object({
|
|
8354
|
+
agentId: string().uuid(),
|
|
8355
|
+
requests: array(AgentPermissionRequestRecord)
|
|
8356
|
+
});
|
|
8357
|
+
const AgentPermissionDecision = object({
|
|
8358
|
+
agentId: string().uuid(),
|
|
8359
|
+
requestId: string().uuid(),
|
|
8360
|
+
decision: _enum(["allow", "deny"])
|
|
8361
|
+
});
|
|
8330
8362
|
//#endregion
|
|
8331
8363
|
//#region ../protocol/dist/frames/mcpserver.js
|
|
8332
8364
|
/**
|
|
@@ -9438,6 +9470,9 @@ const FRAME_SCHEMAS = {
|
|
|
9438
9470
|
"agent/activate": AgentActivate,
|
|
9439
9471
|
"agent/activity": AgentActivity,
|
|
9440
9472
|
"agent/scope-denied": AgentScopeDenied,
|
|
9473
|
+
"agent/permission-requests": AgentPermissionRequestList,
|
|
9474
|
+
"agent/permission-requests/page": AgentPermissionRequestPage,
|
|
9475
|
+
"agent/permission-decision": AgentPermissionDecision,
|
|
9441
9476
|
"route/assign": RouteAssign,
|
|
9442
9477
|
"route/assign/ack": RouteAssignAck,
|
|
9443
9478
|
"route/update": RouteUpdate,
|
|
@@ -9598,6 +9633,9 @@ discriminatedUnion("type", [
|
|
|
9598
9633
|
frame("agent/activate", FRAME_SCHEMAS["agent/activate"]),
|
|
9599
9634
|
frame("agent/activity", FRAME_SCHEMAS["agent/activity"]),
|
|
9600
9635
|
frame("agent/scope-denied", FRAME_SCHEMAS["agent/scope-denied"]),
|
|
9636
|
+
frame("agent/permission-requests", FRAME_SCHEMAS["agent/permission-requests"]),
|
|
9637
|
+
frame("agent/permission-requests/page", FRAME_SCHEMAS["agent/permission-requests/page"]),
|
|
9638
|
+
frame("agent/permission-decision", FRAME_SCHEMAS["agent/permission-decision"]),
|
|
9601
9639
|
frame("route/assign", FRAME_SCHEMAS["route/assign"]),
|
|
9602
9640
|
frame("route/assign/ack", FRAME_SCHEMAS["route/assign/ack"]),
|
|
9603
9641
|
frame("route/update", FRAME_SCHEMAS["route/update"]),
|