@agentconnect.md/cli 1.15.0-rc.15 → 1.15.0-rc.24
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 +44 -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(),
|
|
@@ -8243,6 +8245,8 @@ const AgentSpec = object({
|
|
|
8243
8245
|
mcpServers: array(string()).default([]),
|
|
8244
8246
|
callPolicy: _enum(["all", "selected"]).optional(),
|
|
8245
8247
|
allowedCallerAgentIds: array(string()).default([]),
|
|
8248
|
+
outboundPolicy: _enum(["all", "selected"]).optional(),
|
|
8249
|
+
allowedTargetAgentIds: array(string()).optional(),
|
|
8246
8250
|
introduceOnJoin: boolean().optional(),
|
|
8247
8251
|
restrictFileAccess: boolean().optional()
|
|
8248
8252
|
});
|
|
@@ -8325,6 +8329,36 @@ const AgentScopeDenied = object({
|
|
|
8325
8329
|
launchId: string().uuid(),
|
|
8326
8330
|
capability: string()
|
|
8327
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
|
+
});
|
|
8328
8362
|
//#endregion
|
|
8329
8363
|
//#region ../protocol/dist/frames/mcpserver.js
|
|
8330
8364
|
/**
|
|
@@ -8422,6 +8456,10 @@ const CollabAgentPlacement = object({
|
|
|
8422
8456
|
botAppId: string().optional(),
|
|
8423
8457
|
callPolicy: _enum(["all", "selected"]).default("all"),
|
|
8424
8458
|
allowedCallerAgentIds: array(string()).default([]),
|
|
8459
|
+
/** Caller-side authorization. Effective A→B access requires A's outbound
|
|
8460
|
+
* policy to admit B and B's inbound call policy to admit A. */
|
|
8461
|
+
outboundPolicy: _enum(["all", "selected"]).default("all"),
|
|
8462
|
+
allowedTargetAgentIds: array(string()).default([]),
|
|
8425
8463
|
name: string().optional(),
|
|
8426
8464
|
displayName: string().optional()
|
|
8427
8465
|
});
|
|
@@ -9432,6 +9470,9 @@ const FRAME_SCHEMAS = {
|
|
|
9432
9470
|
"agent/activate": AgentActivate,
|
|
9433
9471
|
"agent/activity": AgentActivity,
|
|
9434
9472
|
"agent/scope-denied": AgentScopeDenied,
|
|
9473
|
+
"agent/permission-requests": AgentPermissionRequestList,
|
|
9474
|
+
"agent/permission-requests/page": AgentPermissionRequestPage,
|
|
9475
|
+
"agent/permission-decision": AgentPermissionDecision,
|
|
9435
9476
|
"route/assign": RouteAssign,
|
|
9436
9477
|
"route/assign/ack": RouteAssignAck,
|
|
9437
9478
|
"route/update": RouteUpdate,
|
|
@@ -9592,6 +9633,9 @@ discriminatedUnion("type", [
|
|
|
9592
9633
|
frame("agent/activate", FRAME_SCHEMAS["agent/activate"]),
|
|
9593
9634
|
frame("agent/activity", FRAME_SCHEMAS["agent/activity"]),
|
|
9594
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"]),
|
|
9595
9639
|
frame("route/assign", FRAME_SCHEMAS["route/assign"]),
|
|
9596
9640
|
frame("route/assign/ack", FRAME_SCHEMAS["route/assign/ack"]),
|
|
9597
9641
|
frame("route/update", FRAME_SCHEMAS["route/update"]),
|