@integrity-labs/agt-cli 0.28.514 → 0.28.516
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 +12 -8
- package/dist/bin/agt.js.map +1 -1
- package/dist/{chunk-GJ6U2XU6.js → chunk-IBI6VSGP.js} +13 -7
- package/dist/{chunk-GJ6U2XU6.js.map → chunk-IBI6VSGP.js.map} +1 -1
- package/dist/{chunk-S5RR4UHQ.js → chunk-UQ3TQ7M4.js} +20 -1
- package/dist/chunk-UQ3TQ7M4.js.map +1 -0
- package/dist/{claude-pair-runtime-YGKYLV4M.js → claude-pair-runtime-FWD7QWAR.js} +2 -2
- package/dist/lib/manager-worker.js +61 -25
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +4 -0
- package/dist/mcp/origami.js +4 -0
- package/dist/mcp/slack-channel.js +4 -0
- package/dist/mcp/telegram-channel.js +4 -0
- package/dist/{persistent-session-RM5ZY2SB.js → persistent-session-3SY36KIU.js} +2 -2
- package/dist/{responsiveness-probe-C4KMTKWR.js → responsiveness-probe-DSWGHXGG.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-S5RR4UHQ.js.map +0 -1
- /package/dist/{claude-pair-runtime-YGKYLV4M.js.map → claude-pair-runtime-FWD7QWAR.js.map} +0 -0
- /package/dist/{persistent-session-RM5ZY2SB.js.map → persistent-session-3SY36KIU.js.map} +0 -0
- /package/dist/{responsiveness-probe-C4KMTKWR.js.map → responsiveness-probe-DSWGHXGG.js.map} +0 -0
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
resolveConnectivityProbe,
|
|
43
43
|
worseConnectivityOutcome,
|
|
44
44
|
wrapScheduledTaskPrompt
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-UQ3TQ7M4.js";
|
|
46
46
|
import {
|
|
47
47
|
parsePsRows
|
|
48
48
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -5317,7 +5317,7 @@ function exchangeFailureKind(err) {
|
|
|
5317
5317
|
}
|
|
5318
5318
|
|
|
5319
5319
|
// src/lib/api-client.ts
|
|
5320
|
-
var agtCliVersion = true ? "0.28.
|
|
5320
|
+
var agtCliVersion = true ? "0.28.516" : "dev";
|
|
5321
5321
|
var lastConfigHash = null;
|
|
5322
5322
|
function setConfigHash(hash) {
|
|
5323
5323
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -7307,12 +7307,14 @@ function computeSessionToolBindStatus(input) {
|
|
|
7307
7307
|
proxyServerKeys,
|
|
7308
7308
|
missingStdioKeys,
|
|
7309
7309
|
httpReachable,
|
|
7310
|
-
sessionLoadedServerKeys
|
|
7310
|
+
sessionLoadedServerKeys,
|
|
7311
|
+
coldStartActive = false
|
|
7311
7312
|
} = input;
|
|
7312
7313
|
if (stdioServerKeys.length === 0 && httpServerKeys.length === 0 && proxyServerKeys.length === 0)
|
|
7313
7314
|
return "unknown";
|
|
7314
|
-
if (stdioServerKeys.some((k) => missingStdioKeys.has(k)))
|
|
7315
|
-
|
|
7315
|
+
if (stdioServerKeys.some((k) => missingStdioKeys.has(k)) || proxyServerKeys.some((k) => missingStdioKeys.has(k))) {
|
|
7316
|
+
return coldStartActive ? "unknown" : "missing";
|
|
7317
|
+
}
|
|
7316
7318
|
for (const k of proxyServerKeys) {
|
|
7317
7319
|
if (httpReachable.get(k) === false) return "unreachable";
|
|
7318
7320
|
}
|
|
@@ -7389,13 +7391,16 @@ async function runSessionToolBindProbes(integrations, options) {
|
|
|
7389
7391
|
}
|
|
7390
7392
|
if (reachable !== void 0) httpReachable.set(key, reachable);
|
|
7391
7393
|
}
|
|
7394
|
+
const nowMs = (options.now?.() ?? /* @__PURE__ */ new Date()).getTime();
|
|
7395
|
+
const coldStartActive = options.sessionStartedMs != null && nowMs - options.sessionStartedMs < DEFAULT_COLD_START_GRACE_MS;
|
|
7392
7396
|
const status = computeSessionToolBindStatus({
|
|
7393
7397
|
stdioServerKeys: stdio,
|
|
7394
7398
|
httpServerKeys: http,
|
|
7395
7399
|
proxyServerKeys: proxy,
|
|
7396
7400
|
missingStdioKeys: options.missingStdioKeys,
|
|
7397
7401
|
httpReachable,
|
|
7398
|
-
sessionLoadedServerKeys: options.sessionLoadedServerKeys ?? /* @__PURE__ */ new Set()
|
|
7402
|
+
sessionLoadedServerKeys: options.sessionLoadedServerKeys ?? /* @__PURE__ */ new Set(),
|
|
7403
|
+
coldStartActive
|
|
7399
7404
|
});
|
|
7400
7405
|
if (status === "unknown") {
|
|
7401
7406
|
skipped += 1;
|
|
@@ -7734,6 +7739,7 @@ async function gatherSessionToolBindProbe(agent, integrations, projectDir, opts)
|
|
|
7734
7739
|
missingStdioKeys,
|
|
7735
7740
|
probeHttp,
|
|
7736
7741
|
sessionLoadedServerKeys: opts.sessionLoadedServerKeys,
|
|
7742
|
+
sessionStartedMs: opts.sessionStartedMs,
|
|
7737
7743
|
intervalMs: opts.intervalMs,
|
|
7738
7744
|
...opts.maxPerRun !== void 0 ? { maxPerRun: opts.maxPerRun } : {}
|
|
7739
7745
|
}
|
|
@@ -8623,4 +8629,4 @@ export {
|
|
|
8623
8629
|
managerInstallSystemUnitCommand,
|
|
8624
8630
|
managerUninstallSystemUnitCommand
|
|
8625
8631
|
};
|
|
8626
|
-
//# sourceMappingURL=chunk-
|
|
8632
|
+
//# sourceMappingURL=chunk-IBI6VSGP.js.map
|