@integrity-labs/agt-cli 0.28.175 → 0.28.177
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/bin/agt.js +4 -4
- package/dist/{chunk-NZLZICAD.js → chunk-4LMNQ2V7.js} +2 -2
- package/dist/{chunk-JOSQUNJP.js → chunk-HTDMNULF.js} +172 -22
- package/dist/chunk-HTDMNULF.js.map +1 -0
- package/dist/{chunk-ULPUDU4J.js → chunk-ODMNVKDO.js} +21 -2
- package/dist/chunk-ODMNVKDO.js.map +1 -0
- package/dist/{claude-pair-runtime-LN4ZVG3A.js → claude-pair-runtime-SPP3GKYK.js} +2 -2
- package/dist/lib/manager-worker.js +14 -8
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/augmented-admin.js +20 -0
- package/dist/mcp/augmented-support.js +21361 -0
- package/dist/mcp/index.js +91 -1
- package/dist/{persistent-session-DHBEAJ6T.js → persistent-session-OBWYOJP7.js} +3 -3
- package/dist/{responsiveness-probe-6XQIUFB7.js → responsiveness-probe-6AKUEVIG.js} +3 -3
- package/package.json +3 -2
- package/dist/chunk-JOSQUNJP.js.map +0 -1
- package/dist/chunk-ULPUDU4J.js.map +0 -1
- /package/dist/{chunk-NZLZICAD.js.map → chunk-4LMNQ2V7.js.map} +0 -0
- /package/dist/{claude-pair-runtime-LN4ZVG3A.js.map → claude-pair-runtime-SPP3GKYK.js.map} +0 -0
- /package/dist/{persistent-session-DHBEAJ6T.js.map → persistent-session-OBWYOJP7.js.map} +0 -0
- /package/dist/{responsiveness-probe-6XQIUFB7.js.map → responsiveness-probe-6AKUEVIG.js.map} +0 -0
|
@@ -21409,6 +21409,10 @@ var requestActionSchema = external_exports.object({
|
|
|
21409
21409
|
target_agent_id: external_exports.string().min(1).max(64).describe("UUID of the customer agent to act on."),
|
|
21410
21410
|
reason: external_exports.string().min(1).max(2e3).describe("Why this action is needed \u2014 shown verbatim to the human approver. Be specific.")
|
|
21411
21411
|
});
|
|
21412
|
+
var restartAgentSchema = external_exports.object({
|
|
21413
|
+
target_agent_id: external_exports.string().min(1).max(64).describe("UUID of the customer agent to restart."),
|
|
21414
|
+
reason: external_exports.string().min(1).max(2e3).describe("Why the restart is needed \u2014 shown verbatim to the human approver. Be specific.")
|
|
21415
|
+
});
|
|
21412
21416
|
var requestConfigUpdateSchema = external_exports.object({
|
|
21413
21417
|
target_agent_id: external_exports.string().min(1).max(64).describe("UUID of the customer agent whose config to change."),
|
|
21414
21418
|
field: external_exports.enum(["primary_model", "secondary_model", "tertiary_model"]).describe("The agent-config field to change. Only the model tiers are settable."),
|
|
@@ -21800,6 +21804,22 @@ server.tool(
|
|
|
21800
21804
|
}
|
|
21801
21805
|
}
|
|
21802
21806
|
);
|
|
21807
|
+
server.tool(
|
|
21808
|
+
"debug_restart_agent",
|
|
21809
|
+
`Request a HITL-gated RESTART of a customer agent \u2014 bounce its session so the manager respawns it on the next poll (reversible; the inbound backlog replays). Use this to recover a wedged agent or to make it pick up a newly-bound integration/config change. A HUMAN must approve in Slack before anything happens, and only if writes are armed for this stage; in shadow mode the approval runs but nothing executes. Org-agnostic: keyed on the agent's host assignment, so it works cross-org without an active-org dependency. This is the same path as request_action({ action: "restart" }), exposed as a dedicated tool for discoverability. Returns { request_id, status, write_mode, notification_status }. Surface a brief, jargon-free note to the user (e.g. "I've asked an admin to approve restarting that agent"). Pass { target_agent_id, reason }.`,
|
|
21810
|
+
restartAgentSchema.shape,
|
|
21811
|
+
async (args) => {
|
|
21812
|
+
try {
|
|
21813
|
+
const result = await client.requestAction("restart", {
|
|
21814
|
+
target_agent_id: args.target_agent_id,
|
|
21815
|
+
reason: args.reason
|
|
21816
|
+
});
|
|
21817
|
+
return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] };
|
|
21818
|
+
} catch (err) {
|
|
21819
|
+
return { content: [{ type: "text", text: formatError2(err) }], isError: true };
|
|
21820
|
+
}
|
|
21821
|
+
}
|
|
21822
|
+
);
|
|
21803
21823
|
server.tool(
|
|
21804
21824
|
"request_config_update",
|
|
21805
21825
|
"Request a HITL-gated change to a customer agent's model config (primary/secondary/tertiary_model). A HUMAN must approve in Slack before anything happens, and only if writes are armed for this stage (shadow mode runs the approval but executes nothing). The change is reversible and applies at the agent's NEXT session launch after /host/refresh \u2014 it does not restart the agent. The new value is validated against the agent before approval is requested: Claude Code (subscription) agents take a family alias (fable/opus/opus[fast]/sonnet/haiku); routed agents take a full stored model id (e.g. openrouter/anthropic/claude-opus-4-6). Use this to fix a misconfigured model (e.g. an agent wedged on a model its auth can't access). Returns { request_id, status, write_mode, notification_status }. Pass { target_agent_id, field, new_value, reason }.",
|