@integrity-labs/agt-cli 0.28.493 → 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-3XLUSG32.js → chunk-DJNJWFKI.js} +5 -8
- package/dist/{chunk-3XLUSG32.js.map → chunk-DJNJWFKI.js.map} +1 -1
- package/dist/{chunk-SRO2IQ4R.js → chunk-JHEJP3KC.js} +23 -6
- package/dist/chunk-JHEJP3KC.js.map +1 -0
- package/dist/{claude-pair-runtime-7TSEIWGA.js → claude-pair-runtime-2RMAJGZH.js} +2 -2
- package/dist/lib/manager-worker.js +10 -10
- package/dist/mcp/remote-oauth-proxy.js +37 -5
- package/dist/{persistent-session-MVAEGE6J.js → persistent-session-JEN37LZS.js} +2 -2
- package/dist/{responsiveness-probe-6YXN4G6V.js → responsiveness-probe-MSXL7NVR.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-SRO2IQ4R.js.map +0 -1
- /package/dist/{claude-pair-runtime-7TSEIWGA.js.map → claude-pair-runtime-2RMAJGZH.js.map} +0 -0
- /package/dist/{persistent-session-MVAEGE6J.js.map → persistent-session-JEN37LZS.js.map} +0 -0
- /package/dist/{responsiveness-probe-6YXN4G6V.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 {
|
|
@@ -14395,6 +14411,7 @@ export {
|
|
|
14395
14411
|
DEPLOYMENT_TEMPLATES,
|
|
14396
14412
|
getTemplate,
|
|
14397
14413
|
StreamEncoder,
|
|
14414
|
+
handshakeToolsListOutcome,
|
|
14398
14415
|
bestConnectivityEvidence,
|
|
14399
14416
|
worseConnectivityOutcome,
|
|
14400
14417
|
resolveConnectivityProbe,
|
|
@@ -14512,4 +14529,4 @@ export {
|
|
|
14512
14529
|
stopAllSessionsAndWait,
|
|
14513
14530
|
getProjectDir
|
|
14514
14531
|
};
|
|
14515
|
-
//# sourceMappingURL=chunk-
|
|
14532
|
+
//# sourceMappingURL=chunk-JHEJP3KC.js.map
|