@integrity-labs/agt-cli 0.28.958 → 0.28.960
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 +5 -5
- package/dist/{chunk-I6WRHEZ4.js → chunk-3ICRKL3Y.js} +4 -4
- package/dist/{chunk-CCQ3WAVH.js → chunk-GSRUWWT6.js} +14 -1
- package/dist/chunk-GSRUWWT6.js.map +1 -0
- package/dist/{chunk-F47LQPDM.js → chunk-SQGW4VAW.js} +126 -5
- package/dist/chunk-SQGW4VAW.js.map +1 -0
- package/dist/{claude-pair-runtime-AZXRCFUM.js → claude-pair-runtime-5Q2WNQVB.js} +2 -2
- package/dist/lib/manager-worker.js +30 -14
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/augmented-admin.js +1 -1
- package/dist/{persistent-session-XQFDFRFU.js → persistent-session-OD7M7K5C.js} +3 -3
- package/dist/{responsiveness-probe-MR7OQHCT.js → responsiveness-probe-73TIJ6ZV.js} +3 -3
- package/dist/{session-auth-dead-NMOCOHGG.js → session-auth-dead-FGWPJVFS.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-CCQ3WAVH.js.map +0 -1
- package/dist/chunk-F47LQPDM.js.map +0 -1
- /package/dist/{chunk-I6WRHEZ4.js.map → chunk-3ICRKL3Y.js.map} +0 -0
- /package/dist/{claude-pair-runtime-AZXRCFUM.js.map → claude-pair-runtime-5Q2WNQVB.js.map} +0 -0
- /package/dist/{persistent-session-XQFDFRFU.js.map → persistent-session-OD7M7K5C.js.map} +0 -0
- /package/dist/{responsiveness-probe-MR7OQHCT.js.map → responsiveness-probe-73TIJ6ZV.js.map} +0 -0
- /package/dist/{session-auth-dead-NMOCOHGG.js.map → session-auth-dead-FGWPJVFS.js.map} +0 -0
|
@@ -21831,7 +21831,7 @@ server.registerTool(
|
|
|
21831
21831
|
);
|
|
21832
21832
|
server.registerTool(
|
|
21833
21833
|
"debug_probe_integration",
|
|
21834
|
-
{ description: "Force a FRESH host-side connectivity probe for ONE of an agent's integrations and return the LIVE verdict \u2014 use when a user reports an integration \"isn't working\" but the console shows it connected, or to confirm a fix landed. Unlike the cached status the dashboard shows, this SSH-less SSM-invokes the agent's host to run the probe against its actual wired `.mcp.json` + credentials, so it can't disagree with reality. Returns { agent_id, code_name, slug, host, verdict, message, probed_at, ssm_status }. `verdict` is the live result: `ok` | `degraded` | `transient_error` (retryable) | `down` | `not_probeable` (no probe wired for this kind) \u2014 or a central degrade: `unreachable` (agent has no host), `not_installed` (integration not on this agent), `host_cli_too_old` (the host predates the probe \u2014 update its agt-cli), `probe_error`. Pass { agent_id, slug } where slug is the integration's definition code_name (e.g. `gmail`, `slack`, `here-now`). Fails closed for an unauthorized org; every call is audited as a cross-org host access.", inputSchema: probeIntegrationSchema },
|
|
21834
|
+
{ description: "Force a FRESH host-side connectivity probe for ONE of an agent's integrations and return the LIVE verdict \u2014 use when a user reports an integration \"isn't working\" but the console shows it connected, or to confirm a fix landed. Unlike the cached status the dashboard shows, this SSH-less SSM-invokes the agent's host to run the probe against its actual wired `.mcp.json` + credentials, so it can't disagree with reality. Returns { agent_id, code_name, slug, host, verdict, message, probed_at, connection_key, sibling_connection_keys, scope_note, ssm_status }. **READ scope_note BEFORE ACTING ON AN `ok` (ENG-10646).** A toolkit can hold SEVERAL connections under one slug (ENG-7543) and this probes the FIRST one it resolves, so a verdict is about ONE CONNECTION, never the integration as a whole: `connection_key` names which. Worse, the host only searches rows in status active/configured, so a sibling in `error` or `unhealthy` - the one most likely to be the broken row an alert is about - is invisible to it and CANNOT appear in `sibling_connection_keys`; an empty list is not evidence there is only one connection. Measured: agent `ea` holds `composio/outlook` twice and this tool returned `ok` for the healthy row while the `integration_down` alert was about the other one, dead for six weeks. So when an alert and an `ok` disagree, do NOT conclude monitoring artefact - match the alert dedupe_key (it carries the ROW id) against debug_get_agent_integrations, whose `excluded[]` shows the rows the probe cannot see. All three fields are ABSENT when the host agt-cli predates ENG-10488, which means \u201Cthis host did not say\u201D, never \u201Cthere is one connection\u201D - and if the host DID send them in a shape this version cannot read, `scope_unreadable` names those fields, so a parse failure is never mistaken for an old host. `verdict` is the live result: `ok` | `degraded` | `transient_error` (retryable) | `down` | `not_probeable` (no probe wired for this kind) \u2014 or a central degrade: `unreachable` (agent has no host), `not_installed` (integration not on this agent), `host_cli_too_old` (the host predates the probe \u2014 update its agt-cli), `probe_error`. Pass { agent_id, slug } where slug is the integration's definition code_name (e.g. `gmail`, `slack`, `here-now`). Fails closed for an unauthorized org; every call is audited as a cross-org host access.", inputSchema: probeIntegrationSchema },
|
|
21835
21835
|
async (args) => {
|
|
21836
21836
|
try {
|
|
21837
21837
|
const result = await client.probeIntegration(args);
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
writeDirectChatSessionState,
|
|
63
63
|
writeEgressAllowlist,
|
|
64
64
|
writePersistentClaudeWrapper
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import "./chunk-
|
|
65
|
+
} from "./chunk-SQGW4VAW.js";
|
|
66
|
+
import "./chunk-GSRUWWT6.js";
|
|
67
67
|
import "./chunk-DHWNVVX4.js";
|
|
68
68
|
import "./chunk-XWVM4KPK.js";
|
|
69
69
|
export {
|
|
@@ -131,4 +131,4 @@ export {
|
|
|
131
131
|
writeEgressAllowlist,
|
|
132
132
|
writePersistentClaudeWrapper
|
|
133
133
|
};
|
|
134
|
-
//# sourceMappingURL=persistent-session-
|
|
134
|
+
//# sourceMappingURL=persistent-session-OD7M7K5C.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-SQGW4VAW.js";
|
|
4
|
+
import "./chunk-GSRUWWT6.js";
|
|
5
5
|
import "./chunk-DHWNVVX4.js";
|
|
6
6
|
import "./chunk-XWVM4KPK.js";
|
|
7
7
|
|
|
@@ -800,4 +800,4 @@ export {
|
|
|
800
800
|
readAndResetSlackReplyBindingClassifications,
|
|
801
801
|
readAndResetSlackReplyTargetClassifications
|
|
802
802
|
};
|
|
803
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
803
|
+
//# sourceMappingURL=responsiveness-probe-73TIJ6ZV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GSRUWWT6.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/session-auth-dead.ts
|
|
6
6
|
import { closeSync, openSync, readSync, readdirSync, statSync } from "fs";
|
|
@@ -203,4 +203,4 @@ export {
|
|
|
203
203
|
decideSessionAuthState,
|
|
204
204
|
probeSessionAuth
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=session-auth-dead-
|
|
206
|
+
//# sourceMappingURL=session-auth-dead-FGWPJVFS.js.map
|