@integrity-labs/agt-cli 0.28.1005 → 0.28.1006
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-TGTUE7Y2.js → chunk-O6R6HS2Z.js} +2 -2
- package/dist/{chunk-DVSYT4MU.js → chunk-XWMUQR65.js} +52 -1
- package/dist/{chunk-DVSYT4MU.js.map → chunk-XWMUQR65.js.map} +1 -1
- package/dist/{chunk-6U4NB3LJ.js → chunk-Z5UDL4AB.js} +35 -5
- package/dist/{chunk-6U4NB3LJ.js.map → chunk-Z5UDL4AB.js.map} +1 -1
- package/dist/{claude-pair-runtime-DDSYAHQW.js → claude-pair-runtime-AW4N6NEE.js} +157 -18
- package/dist/claude-pair-runtime-AW4N6NEE.js.map +1 -0
- package/dist/lib/manager-worker.js +609 -304
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +57 -2
- package/dist/mcp/index.js +51 -0
- package/dist/mcp/origami.js +51 -0
- package/dist/mcp/slack-channel.js +57 -2
- package/dist/mcp/telegram-channel.js +57 -2
- package/dist/{persistent-session-4PP3ON7H.js → persistent-session-K4DLZ7KF.js} +3 -3
- package/dist/{responsiveness-probe-6NWZAXIZ.js → responsiveness-probe-DXPEIUH6.js} +3 -3
- package/dist/{session-auth-dead-2V2BOXAG.js → session-auth-dead-4SE5Q7MU.js} +2 -2
- package/package.json +1 -1
- package/dist/claude-pair-runtime-DDSYAHQW.js.map +0 -1
- /package/dist/{chunk-TGTUE7Y2.js.map → chunk-O6R6HS2Z.js.map} +0 -0
- /package/dist/{persistent-session-4PP3ON7H.js.map → persistent-session-K4DLZ7KF.js.map} +0 -0
- /package/dist/{responsiveness-probe-6NWZAXIZ.js.map → responsiveness-probe-DXPEIUH6.js.map} +0 -0
- /package/dist/{session-auth-dead-2V2BOXAG.js.map → session-auth-dead-4SE5Q7MU.js.map} +0 -0
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
parseEnvFileEntries,
|
|
16
16
|
parseEnvIntegrations,
|
|
17
17
|
shellQuote
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-O6R6HS2Z.js";
|
|
19
19
|
import {
|
|
20
20
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
21
21
|
INTEGRATIONS_SECTION_END,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
sessionTranscriptDir,
|
|
76
76
|
worseConnectivityOutcome,
|
|
77
77
|
wrapScheduledTaskPrompt
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-XWMUQR65.js";
|
|
79
79
|
import {
|
|
80
80
|
classifyUnanswerablePane,
|
|
81
81
|
summarizeUnanswerablePane
|
|
@@ -6974,7 +6974,7 @@ function exchangeFailureKind(err) {
|
|
|
6974
6974
|
}
|
|
6975
6975
|
|
|
6976
6976
|
// src/lib/api-client.ts
|
|
6977
|
-
var agtCliVersion = true ? "0.28.
|
|
6977
|
+
var agtCliVersion = true ? "0.28.1006" : "dev";
|
|
6978
6978
|
var lastConfigHash = null;
|
|
6979
6979
|
function setConfigHash(hash) {
|
|
6980
6980
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8533,7 +8533,32 @@ var PROVISIONING_RELOAD_REASONS = /* @__PURE__ */ new Set([
|
|
|
8533
8533
|
// ENG-9861: and again for standing rules. The fail-closed first-poll restart
|
|
8534
8534
|
// has exactly the same shape, so it needs the same protection from a host
|
|
8535
8535
|
// whose sidecar write keeps failing.
|
|
8536
|
-
"agent-rules-change"
|
|
8536
|
+
"agent-rules-change",
|
|
8537
|
+
// ENG-10510 (Obi-Wan on #6313): a channel-set ADD is a config reload, not a
|
|
8538
|
+
// crash, and it was landing on the crash tally purely by falling through.
|
|
8539
|
+
// It is 'integration-change's exact sibling - both are "a channel or server
|
|
8540
|
+
// was added, re-render .mcp.json and respawn" - and it was never argued for
|
|
8541
|
+
// the crash class, it simply was not in this set.
|
|
8542
|
+
//
|
|
8543
|
+
// This is the ENG-9138 / ENG-10066 species verbatim: a PLATFORM-MANUFACTURED
|
|
8544
|
+
// restart counted as though the agent had crashed. ENG-9138 cost katie 8h16m
|
|
8545
|
+
// when day-rollover fell through the same way; ENG-10066 cost an operator an
|
|
8546
|
+
// auto-pause when a channel /restart did. Both were fixed by naming the
|
|
8547
|
+
// reason rather than leaving it to the catch-all, and this is the third.
|
|
8548
|
+
//
|
|
8549
|
+
// WHY NOW. Until ENG-10510 this restart only ever followed a human adding a
|
|
8550
|
+
// channel, so the crash tally was wrong but rarely reached: a person adding
|
|
8551
|
+
// two channels inside ten minutes is uncommon and self-limiting. Channel
|
|
8552
|
+
// auto-resume is the first thing that fires it UNATTENDED, on a timer, on
|
|
8553
|
+
// any agent with a quarantined channel. An agent with a second crash-class
|
|
8554
|
+
// restart in the same ten minutes (the presence reaper's
|
|
8555
|
+
// 'mcp-presence-reaper', for one) would cross DEFAULT_MAX and auto-pause
|
|
8556
|
+
// with no human anywhere in the loop - which is precisely the ENG-8215 harm
|
|
8557
|
+
// that feature's 2h floor exists to prevent.
|
|
8558
|
+
//
|
|
8559
|
+
// Counted, not exempt: provisioning is a LOOSER tally, not an absent one, so
|
|
8560
|
+
// sustained channel-set thrash still trips and still pages.
|
|
8561
|
+
"channel-set-change"
|
|
8537
8562
|
]);
|
|
8538
8563
|
function isProvisioningReloadReason(reason) {
|
|
8539
8564
|
return PROVISIONING_RELOAD_REASONS.has(reason);
|
|
@@ -8568,7 +8593,11 @@ var OPERATOR_CONFIG_REASONS = /* @__PURE__ */ new Set([
|
|
|
8568
8593
|
function isOperatorConfigReason(reason) {
|
|
8569
8594
|
return OPERATOR_CONFIG_REASONS.has(reason);
|
|
8570
8595
|
}
|
|
8596
|
+
var NEVER_INTEGRATION_BUCKETED = /* @__PURE__ */ new Set([
|
|
8597
|
+
"channel-set-change"
|
|
8598
|
+
]);
|
|
8571
8599
|
function isIntegrationBucketedReason(reason) {
|
|
8600
|
+
if (NEVER_INTEGRATION_BUCKETED.has(reason)) return false;
|
|
8572
8601
|
return isProvisioningReloadReason(reason) || isOperatorConfigReason(reason);
|
|
8573
8602
|
}
|
|
8574
8603
|
function restartReasonClass(reason) {
|
|
@@ -11683,6 +11712,7 @@ export {
|
|
|
11683
11712
|
liveProxyExtraHeaderVars,
|
|
11684
11713
|
liveProxyTokenVars,
|
|
11685
11714
|
reapStaleMcpChildren,
|
|
11715
|
+
DEAD_CHANNEL_MS,
|
|
11686
11716
|
clearPresenceReaperState,
|
|
11687
11717
|
clearPresenceReaperStateForKeys,
|
|
11688
11718
|
givenUpMcpServerKeys,
|
|
@@ -11725,4 +11755,4 @@ export {
|
|
|
11725
11755
|
managerInstallSystemUnitCommand,
|
|
11726
11756
|
managerUninstallSystemUnitCommand
|
|
11727
11757
|
};
|
|
11728
|
-
//# sourceMappingURL=chunk-
|
|
11758
|
+
//# sourceMappingURL=chunk-Z5UDL4AB.js.map
|