@integrity-labs/agt-cli 0.28.492 → 0.28.494
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-KB5KVAWJ.js → chunk-DJNJWFKI.js} +131 -11
- package/dist/chunk-DJNJWFKI.js.map +1 -0
- package/dist/{chunk-34E3FHOS.js → chunk-JHEJP3KC.js} +35 -6
- package/dist/chunk-JHEJP3KC.js.map +1 -0
- package/dist/{claude-pair-runtime-GJF64TMZ.js → claude-pair-runtime-2RMAJGZH.js} +2 -2
- package/dist/lib/manager-worker.js +332 -214
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +12 -0
- package/dist/mcp/origami.js +12 -0
- package/dist/mcp/remote-oauth-proxy.js +37 -5
- package/dist/mcp/slack-channel.js +12 -0
- package/dist/mcp/telegram-channel.js +12 -0
- package/dist/{persistent-session-Y3WIXJPW.js → persistent-session-JEN37LZS.js} +2 -2
- package/dist/{responsiveness-probe-AEFEFKOQ.js → responsiveness-probe-MSXL7NVR.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-34E3FHOS.js.map +0 -1
- package/dist/chunk-KB5KVAWJ.js.map +0 -1
- /package/dist/{claude-pair-runtime-GJF64TMZ.js.map → claude-pair-runtime-2RMAJGZH.js.map} +0 -0
- /package/dist/{persistent-session-Y3WIXJPW.js.map → persistent-session-JEN37LZS.js.map} +0 -0
- /package/dist/{responsiveness-probe-AEFEFKOQ.js.map → responsiveness-probe-MSXL7NVR.js.map} +0 -0
|
@@ -5133,6 +5133,26 @@ function getOAuthProvider(definitionId) {
|
|
|
5133
5133
|
}
|
|
5134
5134
|
|
|
5135
5135
|
// ../../packages/core/dist/integrations/connectivity-probe.js
|
|
5136
|
+
function handshakeToolsListOutcome(toolCount) {
|
|
5137
|
+
if (toolCount === void 0) {
|
|
5138
|
+
return {
|
|
5139
|
+
status: "unverified",
|
|
5140
|
+
message: "MCP tools/list returned no readable tool list - handshake succeeded but no capability was proven"
|
|
5141
|
+
};
|
|
5142
|
+
}
|
|
5143
|
+
if (toolCount === 0) {
|
|
5144
|
+
return {
|
|
5145
|
+
status: "unverified",
|
|
5146
|
+
message: "MCP server advertised 0 tools - handshake succeeded but no capability was proven",
|
|
5147
|
+
details: { toolCount: 0 }
|
|
5148
|
+
};
|
|
5149
|
+
}
|
|
5150
|
+
return {
|
|
5151
|
+
status: "ok",
|
|
5152
|
+
message: `${toolCount} tools`,
|
|
5153
|
+
details: { toolCount }
|
|
5154
|
+
};
|
|
5155
|
+
}
|
|
5136
5156
|
var CONNECTIVITY_SEVERITY = {
|
|
5137
5157
|
ok: 0,
|
|
5138
5158
|
unverified: 1,
|
|
@@ -5440,11 +5460,7 @@ async function probeMcpHttp(config, fetchImpl = fetch) {
|
|
|
5440
5460
|
details: { ...toolCount !== void 0 ? { toolCount } : {}, testTool }
|
|
5441
5461
|
};
|
|
5442
5462
|
}
|
|
5443
|
-
return
|
|
5444
|
-
status: "ok",
|
|
5445
|
-
message: toolCount !== void 0 ? `${toolCount} tools` : "reachable",
|
|
5446
|
-
...toolCount !== void 0 ? { details: { toolCount } } : {}
|
|
5447
|
-
};
|
|
5463
|
+
return handshakeToolsListOutcome(toolCount);
|
|
5448
5464
|
} catch (err) {
|
|
5449
5465
|
const isAbort = err?.name === "TimeoutError" || err?.name === "AbortError";
|
|
5450
5466
|
return {
|
|
@@ -9117,6 +9133,18 @@ var FLAG_REGISTRY = [
|
|
|
9117
9133
|
flagType: "boolean",
|
|
9118
9134
|
defaultValue: false
|
|
9119
9135
|
},
|
|
9136
|
+
{
|
|
9137
|
+
key: "id-keyed-layout-migration",
|
|
9138
|
+
description: "Dark migration engine (ENG-7891 / ADR-0049 slice 3): convert an EXISTING legacy codename-keyed agent host dir to the agent_id-keyed layout (real ~/.augmented/{agent_id} dir + codename compatibility symlink) at the next pre-spawn tick, moving the Claude transcript store so the agent keeps its history. Resolved PER-AGENT (getBooleanForAgent) so a one-way-door migration can be armed one agent at a time. Ships dark; NOT armed until a test-host rehearsal passes (the last ENG-7891 acceptance gate). Crash recovery + the per-agent preconditions (session-down, WhatsApp-writer quiesce, id-aware hook regen by the spawn funnel) are always-on and flag-independent; this flag only gates INITIATING a fresh conversion. Deliberately no host-wide env override - arming is per-agent to avoid flipping every legacy agent on a host at once.",
|
|
9139
|
+
flagType: "boolean",
|
|
9140
|
+
// Declared safe value is `false` = no migration. A flag-DB read error must
|
|
9141
|
+
// never move a customer agent's on-disk state on its own (fail-safe = leave
|
|
9142
|
+
// the legacy layout untouched).
|
|
9143
|
+
defaultValue: false,
|
|
9144
|
+
// One-way-door filesystem migration of a live agent's durable state: arming
|
|
9145
|
+
// it MOVES data, so mutations require explicit confirmation (ADR-0022 §4).
|
|
9146
|
+
sensitive: true
|
|
9147
|
+
},
|
|
9120
9148
|
{
|
|
9121
9149
|
key: "agent-hours-billing-enabled",
|
|
9122
9150
|
description: "Agent-hours (utilisation) billing (ENG-7910). Per-org gate; ships dark. When on for an org, its closed billing periods are settled into org_agent_hours_settlements from the plan/override agent-hours terms, and the customer billing surface shows used-vs-included hours + projected overage. Off = no settlement written, no charge, surface hidden. Launch prices are seeded in plan_billing_terms; flip on per-org for a controlled rollout.",
|
|
@@ -14383,6 +14411,7 @@ export {
|
|
|
14383
14411
|
DEPLOYMENT_TEMPLATES,
|
|
14384
14412
|
getTemplate,
|
|
14385
14413
|
StreamEncoder,
|
|
14414
|
+
handshakeToolsListOutcome,
|
|
14386
14415
|
bestConnectivityEvidence,
|
|
14387
14416
|
worseConnectivityOutcome,
|
|
14388
14417
|
resolveConnectivityProbe,
|
|
@@ -14500,4 +14529,4 @@ export {
|
|
|
14500
14529
|
stopAllSessionsAndWait,
|
|
14501
14530
|
getProjectDir
|
|
14502
14531
|
};
|
|
14503
|
-
//# sourceMappingURL=chunk-
|
|
14532
|
+
//# sourceMappingURL=chunk-JHEJP3KC.js.map
|