@integrity-labs/agt-cli 0.28.829 → 0.28.830
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-GJY3KZG6.js → chunk-4ZPOP7EW.js} +36 -11
- package/dist/{chunk-GJY3KZG6.js.map → chunk-4ZPOP7EW.js.map} +1 -1
- package/dist/{chunk-6HTCP6D5.js → chunk-N4QVPPYS.js} +2 -2
- package/dist/{chunk-E75YCJTE.js → chunk-NGIFEWP4.js} +4 -4
- package/dist/{claude-pair-runtime-UTDZXJKO.js → claude-pair-runtime-PUWAIK73.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/mcp/augmented-admin.js +1 -1
- package/dist/mcp/direct-chat-channel.js +35 -10
- package/dist/mcp/index.js +35 -10
- package/dist/mcp/origami.js +35 -10
- package/dist/mcp/slack-channel.js +35 -10
- package/dist/mcp/telegram-channel.js +35 -10
- package/dist/{persistent-session-6YTEDS3H.js → persistent-session-W23U7GQU.js} +3 -3
- package/dist/{responsiveness-probe-5B2WA5G3.js → responsiveness-probe-IRQKIEBW.js} +3 -3
- package/dist/{session-auth-dead-LFNU6AUU.js → session-auth-dead-VDDXVJTX.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-6HTCP6D5.js.map → chunk-N4QVPPYS.js.map} +0 -0
- /package/dist/{chunk-E75YCJTE.js.map → chunk-NGIFEWP4.js.map} +0 -0
- /package/dist/{claude-pair-runtime-UTDZXJKO.js.map → claude-pair-runtime-PUWAIK73.js.map} +0 -0
- /package/dist/{persistent-session-6YTEDS3H.js.map → persistent-session-W23U7GQU.js.map} +0 -0
- /package/dist/{responsiveness-probe-5B2WA5G3.js.map → responsiveness-probe-IRQKIEBW.js.map} +0 -0
- /package/dist/{session-auth-dead-LFNU6AUU.js.map → session-auth-dead-VDDXVJTX.js.map} +0 -0
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
rotateDailySession,
|
|
19
19
|
sessionFileExists,
|
|
20
20
|
todayLocalIso
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4ZPOP7EW.js";
|
|
22
22
|
import {
|
|
23
23
|
reapOrphanChannelMcps
|
|
24
24
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -5326,4 +5326,4 @@ export {
|
|
|
5326
5326
|
stopAllSessionsAndWait,
|
|
5327
5327
|
getProjectDir
|
|
5328
5328
|
};
|
|
5329
|
-
//# sourceMappingURL=chunk-
|
|
5329
|
+
//# sourceMappingURL=chunk-N4QVPPYS.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
parseEnvIntegrations,
|
|
17
17
|
shellQuote,
|
|
18
18
|
summarizeUnanswerablePane
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-N4QVPPYS.js";
|
|
20
20
|
import {
|
|
21
21
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
22
22
|
INTEGRATIONS_SECTION_END,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
sessionTranscriptDir,
|
|
75
75
|
worseConnectivityOutcome,
|
|
76
76
|
wrapScheduledTaskPrompt
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-4ZPOP7EW.js";
|
|
78
78
|
import {
|
|
79
79
|
parsePsRows
|
|
80
80
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -6535,7 +6535,7 @@ function exchangeFailureKind(err) {
|
|
|
6535
6535
|
}
|
|
6536
6536
|
|
|
6537
6537
|
// src/lib/api-client.ts
|
|
6538
|
-
var agtCliVersion = true ? "0.28.
|
|
6538
|
+
var agtCliVersion = true ? "0.28.830" : "dev";
|
|
6539
6539
|
var lastConfigHash = null;
|
|
6540
6540
|
function setConfigHash(hash) {
|
|
6541
6541
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -10843,4 +10843,4 @@ export {
|
|
|
10843
10843
|
managerInstallSystemUnitCommand,
|
|
10844
10844
|
managerUninstallSystemUnitCommand
|
|
10845
10845
|
};
|
|
10846
|
-
//# sourceMappingURL=chunk-
|
|
10846
|
+
//# sourceMappingURL=chunk-NGIFEWP4.js.map
|
|
@@ -100,7 +100,7 @@ async function spawnPairSession(session) {
|
|
|
100
100
|
return { ok: true };
|
|
101
101
|
} catch {
|
|
102
102
|
}
|
|
103
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
103
|
+
const { resolveClaudeBinary } = await import("./persistent-session-W23U7GQU.js");
|
|
104
104
|
const claudeBin = resolveClaudeBinary();
|
|
105
105
|
const pairEnv = {
|
|
106
106
|
...process.env,
|
|
@@ -373,4 +373,4 @@ export {
|
|
|
373
373
|
startClaudePair,
|
|
374
374
|
submitClaudePairCode
|
|
375
375
|
};
|
|
376
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
376
|
+
//# sourceMappingURL=claude-pair-runtime-PUWAIK73.js.map
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
safeWriteJsonAtomic,
|
|
61
61
|
setConfigHash,
|
|
62
62
|
tripClass
|
|
63
|
-
} from "../chunk-
|
|
63
|
+
} from "../chunk-NGIFEWP4.js";
|
|
64
64
|
import {
|
|
65
65
|
getProjectDir as getProjectDir2,
|
|
66
66
|
getReadyTasks,
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
takeZombieDetection,
|
|
127
127
|
toOpencodeModel,
|
|
128
128
|
writeEgressAllowlist
|
|
129
|
-
} from "../chunk-
|
|
129
|
+
} from "../chunk-N4QVPPYS.js";
|
|
130
130
|
import {
|
|
131
131
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
132
132
|
AnchorSessionClient,
|
|
@@ -221,7 +221,7 @@ import {
|
|
|
221
221
|
subagentActivityAgeSeconds,
|
|
222
222
|
sumTranscriptUsageInWindow,
|
|
223
223
|
transcriptActivityAgeSeconds
|
|
224
|
-
} from "../chunk-
|
|
224
|
+
} from "../chunk-4ZPOP7EW.js";
|
|
225
225
|
import {
|
|
226
226
|
reapOrphanChannelMcps
|
|
227
227
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -12928,7 +12928,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
12928
12928
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
12929
12929
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
12930
12930
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
12931
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
12931
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-IRQKIEBW.js");
|
|
12932
12932
|
const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
|
|
12933
12933
|
if (newest === null) return null;
|
|
12934
12934
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -13596,7 +13596,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13596
13596
|
var lastVersionCheckAt = 0;
|
|
13597
13597
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13598
13598
|
var lastResponsivenessProbeAt = 0;
|
|
13599
|
-
var agtCliVersion = true ? "0.28.
|
|
13599
|
+
var agtCliVersion = true ? "0.28.830" : "dev";
|
|
13600
13600
|
function resolveBrewPath(execFileSync2) {
|
|
13601
13601
|
try {
|
|
13602
13602
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -15186,7 +15186,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
15186
15186
|
if (codeNames.length === 0) return;
|
|
15187
15187
|
void (async () => {
|
|
15188
15188
|
try {
|
|
15189
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15189
|
+
const { collectDiagnostics } = await import("../persistent-session-W23U7GQU.js");
|
|
15190
15190
|
await api.post("/host/heartbeat", {
|
|
15191
15191
|
host_id: hostId,
|
|
15192
15192
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -15328,7 +15328,7 @@ async function pollCycleInner() {
|
|
|
15328
15328
|
}
|
|
15329
15329
|
try {
|
|
15330
15330
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
15331
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15331
|
+
const { collectDiagnostics } = await import("../persistent-session-W23U7GQU.js");
|
|
15332
15332
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
15333
15333
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
|
|
15334
15334
|
let tailscaleHostname;
|
|
@@ -15497,7 +15497,7 @@ async function pollCycleInner() {
|
|
|
15497
15497
|
collectPanelessActivityProbes,
|
|
15498
15498
|
getResponsivenessIntervalMs,
|
|
15499
15499
|
occupancyQualificationClassifications
|
|
15500
|
-
} = await import("../responsiveness-probe-
|
|
15500
|
+
} = await import("../responsiveness-probe-IRQKIEBW.js");
|
|
15501
15501
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
15502
15502
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
15503
15503
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -15614,7 +15614,7 @@ async function pollCycleInner() {
|
|
|
15614
15614
|
collectResponsivenessProbes,
|
|
15615
15615
|
livePendingInboundOldestAgeSeconds,
|
|
15616
15616
|
parkPendingInbound
|
|
15617
|
-
} = await import("../responsiveness-probe-
|
|
15617
|
+
} = await import("../responsiveness-probe-IRQKIEBW.js");
|
|
15618
15618
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
15619
15619
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
15620
15620
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -15770,7 +15770,7 @@ async function pollCycleInner() {
|
|
|
15770
15770
|
}
|
|
15771
15771
|
try {
|
|
15772
15772
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
|
|
15773
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
15773
|
+
const { probeSessionAuth } = await import("../session-auth-dead-VDDXVJTX.js");
|
|
15774
15774
|
const observations = [];
|
|
15775
15775
|
const pendingCacheCommits = [];
|
|
15776
15776
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -20003,7 +20003,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
20003
20003
|
void api.post("/host/restart-ack", { host_id: hostId, agent_id: agentId, restart_requested_at: requestedAt }).catch((err) => log(`[restart-lane] ack failed for '${codeName}': ${err.message}`));
|
|
20004
20004
|
void (async () => {
|
|
20005
20005
|
try {
|
|
20006
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20006
|
+
const { collectDiagnostics } = await import("../persistent-session-W23U7GQU.js");
|
|
20007
20007
|
await api.post("/host/heartbeat", {
|
|
20008
20008
|
host_id: hostId,
|
|
20009
20009
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -20049,7 +20049,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
20049
20049
|
}
|
|
20050
20050
|
try {
|
|
20051
20051
|
const hostId = await getHostId();
|
|
20052
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20052
|
+
const { collectDiagnostics } = await import("../persistent-session-W23U7GQU.js");
|
|
20053
20053
|
await api.post("/host/heartbeat", {
|
|
20054
20054
|
host_id: hostId,
|
|
20055
20055
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -20685,7 +20685,7 @@ async function processClaudePairSessions(agents) {
|
|
|
20685
20685
|
killPairSession,
|
|
20686
20686
|
pairTmuxSession,
|
|
20687
20687
|
finalizeClaudePairOnboarding
|
|
20688
|
-
} = await import("../claude-pair-runtime-
|
|
20688
|
+
} = await import("../claude-pair-runtime-PUWAIK73.js");
|
|
20689
20689
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
20690
20690
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
20691
20691
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -21812,7 +21812,7 @@ server.registerTool(
|
|
|
21812
21812
|
);
|
|
21813
21813
|
server.registerTool(
|
|
21814
21814
|
"debug_inspect_dead_letters",
|
|
21815
|
-
{ description:
|
|
21815
|
+
{ description: 'List an agent\'s DEAD-LETTERED / quarantined inbound \u2014 customer messages that were parked on the host instead of delivered (so the agent never saw them), rather than silently lost. Use when a user says "the agent never replied" but nothing shows in the normal flow, or to audit what fell into the dead-letter path. Resolves the agent\'s current host and reads two on-disk stores over SSM: `stale` (markers moved aside on a wedge-respawn because the agent couldn\'t receive) and `cleared:<stamp>` (markers the clear_pending_inbound remedial action moved aside). Returns { agent_id, code_name, host, markers[], total, ssm_status } where each marker is { index, store, channel (slack|telegram), marker_name, received_at, undeliverable, discretionary, replay_count, has_payload, conversation, message_ref } \u2014 routing metadata only, NEVER the message body. `has_payload` is a TRI-STATE (true | false | null) saying whether a replay payload exists, never the payload itself - `null` means this host did not report it (an agt-cli predating the field, or an unparseable marker) and must NOT be read as \\"no payload\\": it is what separates a marker that was eligible for replay and never re-pushed from one that was structurally unreplayable, and those need opposite fixes. `replay_count` is replays already PUSHED \u2014 0 means none was ever attempted (the marker write omits the field; the replay path increments it), so 0 is a fact rather than missing data and says nothing about the payload. To re-inject one, pass its exact { channel, store, marker_name } to debug_replay_dead_letter. Fails closed for an unauthorized org; every call is audited as a cross-org host access. Pass { agent_id }.', inputSchema: inspectDeadLettersSchema },
|
|
21816
21816
|
async (args) => {
|
|
21817
21817
|
try {
|
|
21818
21818
|
const result = await client.inspectDeadLetters(args);
|
|
@@ -36674,7 +36674,7 @@ var FLAG_REGISTRY = [
|
|
|
36674
36674
|
},
|
|
36675
36675
|
{
|
|
36676
36676
|
key: "auto-resume-enabled",
|
|
36677
|
-
description: "
|
|
36677
|
+
description: "Bounded BLIND auto-resume for circuit-breaker pauses (ENG-6088): at most one unattended resume per trip cycle, fired once the trip driver has been quiet for the configured window and only for provisioning-reload trips (the ENG-7577 class gate \u2014 a crash-class trip still needs an operator). Superseded wherever `resume-reconciler` is on: that path proves the dependency recovered instead of assuming it, and the blind timer is its flag-off fallback. Boolean gate; ships dark. ENG-8395 promoted this from a raw host env var because AGT_AUTO_RESUME_ENABLED lives in the host env file, so its grain is per-HOST \u2014 one flip arms every agent that host runs (agt-aws-1 carries 14), which made the canary-then-fleet rollout its own documentation prescribes impossible. As a registry flag it resolves per org/team/host/AGENT, so one agent can genuinely be cut over first. Read host-side by the manager (agt-cli), not centrally.",
|
|
36678
36678
|
flagType: "boolean",
|
|
36679
36679
|
// Declared safe value is `false` — identical to today's behaviour on a host
|
|
36680
36680
|
// that has never set the env var. Fail-safe direction on a flag-DB read
|
|
@@ -36691,16 +36691,41 @@ var FLAG_REGISTRY = [
|
|
|
36691
36691
|
// An unattended resume is a real availability change — the agent starts
|
|
36692
36692
|
// spawning sessions again with no human in the loop — so arming it is a
|
|
36693
36693
|
// deliberate, confirmed write (ADR-0022 sensitive-flag confirm).
|
|
36694
|
-
sensitive: true
|
|
36695
|
-
// ENG-
|
|
36696
|
-
//
|
|
36697
|
-
//
|
|
36698
|
-
//
|
|
36699
|
-
//
|
|
36700
|
-
//
|
|
36701
|
-
//
|
|
36702
|
-
//
|
|
36694
|
+
sensitive: true,
|
|
36695
|
+
// ENG-10034: bisected from the PUBLISHED agt-cli dists, not from git history —
|
|
36696
|
+
// auto-resume.ts is host-side, so what matters is the first ARTIFACT a host
|
|
36697
|
+
// could be running that contains a consumer for this flag.
|
|
36698
|
+
//
|
|
36699
|
+
// METHOD, so it can be re-run rather than trusted: download each candidate
|
|
36700
|
+
// tarball from the npm registry and grep its contents for the flag-specific
|
|
36701
|
+
// wiring. Binary search over the 22 versions published either side of
|
|
36702
|
+
// ENG-8395's merge gave a clean one-release boundary, eight minutes wide:
|
|
36703
|
+
//
|
|
36704
|
+
// 0.28.506 2026-08-03T22:29:22Z readAutoResumeEnvOverride ✗ AUTO_RESUME_FLAG_KEY ✗ 'auto-resume-enabled' ✗
|
|
36705
|
+
// 0.28.507 2026-08-03T22:37:00Z readAutoResumeEnvOverride ✓ AUTO_RESUME_FLAG_KEY ✓ 'auto-resume-enabled' ✓
|
|
36706
|
+
//
|
|
36707
|
+
// All three symbols are checked rather than one. `getBooleanForAgent` alone
|
|
36708
|
+
// would have been the wrong probe — it is present in BOTH builds, because the
|
|
36709
|
+
// generic resolver long predates this flag. A `since` bisected on a symbol the
|
|
36710
|
+
// flag does not depend on is a number that looks rigorous and is not.
|
|
36711
|
+
//
|
|
36712
|
+
// ENG-8395 AC5 left this unset on purpose and said why: an unset `since` makes
|
|
36713
|
+
// the flip-reach estimate report FULL reach for a host-side reader, promising
|
|
36714
|
+
// reach it does not have (the defect caught on ENG-8344 / PR #4014). The
|
|
36715
|
+
// follow-up it was waiting on was never filed, so the flag sat un-armable for
|
|
36716
|
+
// a month and ENG-6088's bounded auto-resume stayed dark fleet-wide — a
|
|
36717
|
+
// customer agent sat breaker-paused 2h08m on 2026-09-05 with the recovery path
|
|
36718
|
+
// silently disabled. That is what an administrative blocker recorded only in a
|
|
36719
|
+
// code comment costs.
|
|
36720
|
+
//
|
|
36721
|
+
// Same method as its precedents: slack-hot-thread-guard = 0.28.339,
|
|
36722
|
+
// slack-scheduled-channel-guard = 0.28.421 (ENG-8149). Setting it now is safe:
|
|
36723
|
+
// `since` is excluded from projectDefinition, so it does not roll
|
|
36703
36724
|
// FLAGS_SCHEMA_VERSION.
|
|
36725
|
+
//
|
|
36726
|
+
// This does NOT arm the flag. defaultValue stays false and `sensitive` stays
|
|
36727
|
+
// true; arming is a separate, deliberate decision that belongs to ENG-6066.
|
|
36728
|
+
since: "0.28.507"
|
|
36704
36729
|
},
|
|
36705
36730
|
{
|
|
36706
36731
|
key: "host-poll-rate-alarm",
|
package/dist/mcp/index.js
CHANGED
|
@@ -28403,7 +28403,7 @@ var FLAG_REGISTRY = [
|
|
|
28403
28403
|
},
|
|
28404
28404
|
{
|
|
28405
28405
|
key: "auto-resume-enabled",
|
|
28406
|
-
description: "
|
|
28406
|
+
description: "Bounded BLIND auto-resume for circuit-breaker pauses (ENG-6088): at most one unattended resume per trip cycle, fired once the trip driver has been quiet for the configured window and only for provisioning-reload trips (the ENG-7577 class gate \u2014 a crash-class trip still needs an operator). Superseded wherever `resume-reconciler` is on: that path proves the dependency recovered instead of assuming it, and the blind timer is its flag-off fallback. Boolean gate; ships dark. ENG-8395 promoted this from a raw host env var because AGT_AUTO_RESUME_ENABLED lives in the host env file, so its grain is per-HOST \u2014 one flip arms every agent that host runs (agt-aws-1 carries 14), which made the canary-then-fleet rollout its own documentation prescribes impossible. As a registry flag it resolves per org/team/host/AGENT, so one agent can genuinely be cut over first. Read host-side by the manager (agt-cli), not centrally.",
|
|
28407
28407
|
flagType: "boolean",
|
|
28408
28408
|
// Declared safe value is `false` — identical to today's behaviour on a host
|
|
28409
28409
|
// that has never set the env var. Fail-safe direction on a flag-DB read
|
|
@@ -28420,16 +28420,41 @@ var FLAG_REGISTRY = [
|
|
|
28420
28420
|
// An unattended resume is a real availability change — the agent starts
|
|
28421
28421
|
// spawning sessions again with no human in the loop — so arming it is a
|
|
28422
28422
|
// deliberate, confirmed write (ADR-0022 sensitive-flag confirm).
|
|
28423
|
-
sensitive: true
|
|
28424
|
-
// ENG-
|
|
28425
|
-
//
|
|
28426
|
-
//
|
|
28427
|
-
//
|
|
28428
|
-
//
|
|
28429
|
-
//
|
|
28430
|
-
//
|
|
28431
|
-
//
|
|
28423
|
+
sensitive: true,
|
|
28424
|
+
// ENG-10034: bisected from the PUBLISHED agt-cli dists, not from git history —
|
|
28425
|
+
// auto-resume.ts is host-side, so what matters is the first ARTIFACT a host
|
|
28426
|
+
// could be running that contains a consumer for this flag.
|
|
28427
|
+
//
|
|
28428
|
+
// METHOD, so it can be re-run rather than trusted: download each candidate
|
|
28429
|
+
// tarball from the npm registry and grep its contents for the flag-specific
|
|
28430
|
+
// wiring. Binary search over the 22 versions published either side of
|
|
28431
|
+
// ENG-8395's merge gave a clean one-release boundary, eight minutes wide:
|
|
28432
|
+
//
|
|
28433
|
+
// 0.28.506 2026-08-03T22:29:22Z readAutoResumeEnvOverride ✗ AUTO_RESUME_FLAG_KEY ✗ 'auto-resume-enabled' ✗
|
|
28434
|
+
// 0.28.507 2026-08-03T22:37:00Z readAutoResumeEnvOverride ✓ AUTO_RESUME_FLAG_KEY ✓ 'auto-resume-enabled' ✓
|
|
28435
|
+
//
|
|
28436
|
+
// All three symbols are checked rather than one. `getBooleanForAgent` alone
|
|
28437
|
+
// would have been the wrong probe — it is present in BOTH builds, because the
|
|
28438
|
+
// generic resolver long predates this flag. A `since` bisected on a symbol the
|
|
28439
|
+
// flag does not depend on is a number that looks rigorous and is not.
|
|
28440
|
+
//
|
|
28441
|
+
// ENG-8395 AC5 left this unset on purpose and said why: an unset `since` makes
|
|
28442
|
+
// the flip-reach estimate report FULL reach for a host-side reader, promising
|
|
28443
|
+
// reach it does not have (the defect caught on ENG-8344 / PR #4014). The
|
|
28444
|
+
// follow-up it was waiting on was never filed, so the flag sat un-armable for
|
|
28445
|
+
// a month and ENG-6088's bounded auto-resume stayed dark fleet-wide — a
|
|
28446
|
+
// customer agent sat breaker-paused 2h08m on 2026-09-05 with the recovery path
|
|
28447
|
+
// silently disabled. That is what an administrative blocker recorded only in a
|
|
28448
|
+
// code comment costs.
|
|
28449
|
+
//
|
|
28450
|
+
// Same method as its precedents: slack-hot-thread-guard = 0.28.339,
|
|
28451
|
+
// slack-scheduled-channel-guard = 0.28.421 (ENG-8149). Setting it now is safe:
|
|
28452
|
+
// `since` is excluded from projectDefinition, so it does not roll
|
|
28432
28453
|
// FLAGS_SCHEMA_VERSION.
|
|
28454
|
+
//
|
|
28455
|
+
// This does NOT arm the flag. defaultValue stays false and `sensitive` stays
|
|
28456
|
+
// true; arming is a separate, deliberate decision that belongs to ENG-6066.
|
|
28457
|
+
since: "0.28.507"
|
|
28433
28458
|
},
|
|
28434
28459
|
{
|
|
28435
28460
|
key: "host-poll-rate-alarm",
|
package/dist/mcp/origami.js
CHANGED
|
@@ -42356,7 +42356,7 @@ var FLAG_REGISTRY = [
|
|
|
42356
42356
|
},
|
|
42357
42357
|
{
|
|
42358
42358
|
key: "auto-resume-enabled",
|
|
42359
|
-
description: "
|
|
42359
|
+
description: "Bounded BLIND auto-resume for circuit-breaker pauses (ENG-6088): at most one unattended resume per trip cycle, fired once the trip driver has been quiet for the configured window and only for provisioning-reload trips (the ENG-7577 class gate \u2014 a crash-class trip still needs an operator). Superseded wherever `resume-reconciler` is on: that path proves the dependency recovered instead of assuming it, and the blind timer is its flag-off fallback. Boolean gate; ships dark. ENG-8395 promoted this from a raw host env var because AGT_AUTO_RESUME_ENABLED lives in the host env file, so its grain is per-HOST \u2014 one flip arms every agent that host runs (agt-aws-1 carries 14), which made the canary-then-fleet rollout its own documentation prescribes impossible. As a registry flag it resolves per org/team/host/AGENT, so one agent can genuinely be cut over first. Read host-side by the manager (agt-cli), not centrally.",
|
|
42360
42360
|
flagType: "boolean",
|
|
42361
42361
|
// Declared safe value is `false` — identical to today's behaviour on a host
|
|
42362
42362
|
// that has never set the env var. Fail-safe direction on a flag-DB read
|
|
@@ -42373,16 +42373,41 @@ var FLAG_REGISTRY = [
|
|
|
42373
42373
|
// An unattended resume is a real availability change — the agent starts
|
|
42374
42374
|
// spawning sessions again with no human in the loop — so arming it is a
|
|
42375
42375
|
// deliberate, confirmed write (ADR-0022 sensitive-flag confirm).
|
|
42376
|
-
sensitive: true
|
|
42377
|
-
// ENG-
|
|
42378
|
-
//
|
|
42379
|
-
//
|
|
42380
|
-
//
|
|
42381
|
-
//
|
|
42382
|
-
//
|
|
42383
|
-
//
|
|
42384
|
-
//
|
|
42376
|
+
sensitive: true,
|
|
42377
|
+
// ENG-10034: bisected from the PUBLISHED agt-cli dists, not from git history —
|
|
42378
|
+
// auto-resume.ts is host-side, so what matters is the first ARTIFACT a host
|
|
42379
|
+
// could be running that contains a consumer for this flag.
|
|
42380
|
+
//
|
|
42381
|
+
// METHOD, so it can be re-run rather than trusted: download each candidate
|
|
42382
|
+
// tarball from the npm registry and grep its contents for the flag-specific
|
|
42383
|
+
// wiring. Binary search over the 22 versions published either side of
|
|
42384
|
+
// ENG-8395's merge gave a clean one-release boundary, eight minutes wide:
|
|
42385
|
+
//
|
|
42386
|
+
// 0.28.506 2026-08-03T22:29:22Z readAutoResumeEnvOverride ✗ AUTO_RESUME_FLAG_KEY ✗ 'auto-resume-enabled' ✗
|
|
42387
|
+
// 0.28.507 2026-08-03T22:37:00Z readAutoResumeEnvOverride ✓ AUTO_RESUME_FLAG_KEY ✓ 'auto-resume-enabled' ✓
|
|
42388
|
+
//
|
|
42389
|
+
// All three symbols are checked rather than one. `getBooleanForAgent` alone
|
|
42390
|
+
// would have been the wrong probe — it is present in BOTH builds, because the
|
|
42391
|
+
// generic resolver long predates this flag. A `since` bisected on a symbol the
|
|
42392
|
+
// flag does not depend on is a number that looks rigorous and is not.
|
|
42393
|
+
//
|
|
42394
|
+
// ENG-8395 AC5 left this unset on purpose and said why: an unset `since` makes
|
|
42395
|
+
// the flip-reach estimate report FULL reach for a host-side reader, promising
|
|
42396
|
+
// reach it does not have (the defect caught on ENG-8344 / PR #4014). The
|
|
42397
|
+
// follow-up it was waiting on was never filed, so the flag sat un-armable for
|
|
42398
|
+
// a month and ENG-6088's bounded auto-resume stayed dark fleet-wide — a
|
|
42399
|
+
// customer agent sat breaker-paused 2h08m on 2026-09-05 with the recovery path
|
|
42400
|
+
// silently disabled. That is what an administrative blocker recorded only in a
|
|
42401
|
+
// code comment costs.
|
|
42402
|
+
//
|
|
42403
|
+
// Same method as its precedents: slack-hot-thread-guard = 0.28.339,
|
|
42404
|
+
// slack-scheduled-channel-guard = 0.28.421 (ENG-8149). Setting it now is safe:
|
|
42405
|
+
// `since` is excluded from projectDefinition, so it does not roll
|
|
42385
42406
|
// FLAGS_SCHEMA_VERSION.
|
|
42407
|
+
//
|
|
42408
|
+
// This does NOT arm the flag. defaultValue stays false and `sensitive` stays
|
|
42409
|
+
// true; arming is a separate, deliberate decision that belongs to ENG-6066.
|
|
42410
|
+
since: "0.28.507"
|
|
42386
42411
|
},
|
|
42387
42412
|
{
|
|
42388
42413
|
key: "host-poll-rate-alarm",
|
|
@@ -36911,7 +36911,7 @@ var FLAG_REGISTRY = [
|
|
|
36911
36911
|
},
|
|
36912
36912
|
{
|
|
36913
36913
|
key: "auto-resume-enabled",
|
|
36914
|
-
description: "
|
|
36914
|
+
description: "Bounded BLIND auto-resume for circuit-breaker pauses (ENG-6088): at most one unattended resume per trip cycle, fired once the trip driver has been quiet for the configured window and only for provisioning-reload trips (the ENG-7577 class gate \u2014 a crash-class trip still needs an operator). Superseded wherever `resume-reconciler` is on: that path proves the dependency recovered instead of assuming it, and the blind timer is its flag-off fallback. Boolean gate; ships dark. ENG-8395 promoted this from a raw host env var because AGT_AUTO_RESUME_ENABLED lives in the host env file, so its grain is per-HOST \u2014 one flip arms every agent that host runs (agt-aws-1 carries 14), which made the canary-then-fleet rollout its own documentation prescribes impossible. As a registry flag it resolves per org/team/host/AGENT, so one agent can genuinely be cut over first. Read host-side by the manager (agt-cli), not centrally.",
|
|
36915
36915
|
flagType: "boolean",
|
|
36916
36916
|
// Declared safe value is `false` — identical to today's behaviour on a host
|
|
36917
36917
|
// that has never set the env var. Fail-safe direction on a flag-DB read
|
|
@@ -36928,16 +36928,41 @@ var FLAG_REGISTRY = [
|
|
|
36928
36928
|
// An unattended resume is a real availability change — the agent starts
|
|
36929
36929
|
// spawning sessions again with no human in the loop — so arming it is a
|
|
36930
36930
|
// deliberate, confirmed write (ADR-0022 sensitive-flag confirm).
|
|
36931
|
-
sensitive: true
|
|
36932
|
-
// ENG-
|
|
36933
|
-
//
|
|
36934
|
-
//
|
|
36935
|
-
//
|
|
36936
|
-
//
|
|
36937
|
-
//
|
|
36938
|
-
//
|
|
36939
|
-
//
|
|
36931
|
+
sensitive: true,
|
|
36932
|
+
// ENG-10034: bisected from the PUBLISHED agt-cli dists, not from git history —
|
|
36933
|
+
// auto-resume.ts is host-side, so what matters is the first ARTIFACT a host
|
|
36934
|
+
// could be running that contains a consumer for this flag.
|
|
36935
|
+
//
|
|
36936
|
+
// METHOD, so it can be re-run rather than trusted: download each candidate
|
|
36937
|
+
// tarball from the npm registry and grep its contents for the flag-specific
|
|
36938
|
+
// wiring. Binary search over the 22 versions published either side of
|
|
36939
|
+
// ENG-8395's merge gave a clean one-release boundary, eight minutes wide:
|
|
36940
|
+
//
|
|
36941
|
+
// 0.28.506 2026-08-03T22:29:22Z readAutoResumeEnvOverride ✗ AUTO_RESUME_FLAG_KEY ✗ 'auto-resume-enabled' ✗
|
|
36942
|
+
// 0.28.507 2026-08-03T22:37:00Z readAutoResumeEnvOverride ✓ AUTO_RESUME_FLAG_KEY ✓ 'auto-resume-enabled' ✓
|
|
36943
|
+
//
|
|
36944
|
+
// All three symbols are checked rather than one. `getBooleanForAgent` alone
|
|
36945
|
+
// would have been the wrong probe — it is present in BOTH builds, because the
|
|
36946
|
+
// generic resolver long predates this flag. A `since` bisected on a symbol the
|
|
36947
|
+
// flag does not depend on is a number that looks rigorous and is not.
|
|
36948
|
+
//
|
|
36949
|
+
// ENG-8395 AC5 left this unset on purpose and said why: an unset `since` makes
|
|
36950
|
+
// the flip-reach estimate report FULL reach for a host-side reader, promising
|
|
36951
|
+
// reach it does not have (the defect caught on ENG-8344 / PR #4014). The
|
|
36952
|
+
// follow-up it was waiting on was never filed, so the flag sat un-armable for
|
|
36953
|
+
// a month and ENG-6088's bounded auto-resume stayed dark fleet-wide — a
|
|
36954
|
+
// customer agent sat breaker-paused 2h08m on 2026-09-05 with the recovery path
|
|
36955
|
+
// silently disabled. That is what an administrative blocker recorded only in a
|
|
36956
|
+
// code comment costs.
|
|
36957
|
+
//
|
|
36958
|
+
// Same method as its precedents: slack-hot-thread-guard = 0.28.339,
|
|
36959
|
+
// slack-scheduled-channel-guard = 0.28.421 (ENG-8149). Setting it now is safe:
|
|
36960
|
+
// `since` is excluded from projectDefinition, so it does not roll
|
|
36940
36961
|
// FLAGS_SCHEMA_VERSION.
|
|
36962
|
+
//
|
|
36963
|
+
// This does NOT arm the flag. defaultValue stays false and `sensitive` stays
|
|
36964
|
+
// true; arming is a separate, deliberate decision that belongs to ENG-6066.
|
|
36965
|
+
since: "0.28.507"
|
|
36941
36966
|
},
|
|
36942
36967
|
{
|
|
36943
36968
|
key: "host-poll-rate-alarm",
|
|
@@ -37043,7 +37043,7 @@ var FLAG_REGISTRY = [
|
|
|
37043
37043
|
},
|
|
37044
37044
|
{
|
|
37045
37045
|
key: "auto-resume-enabled",
|
|
37046
|
-
description: "
|
|
37046
|
+
description: "Bounded BLIND auto-resume for circuit-breaker pauses (ENG-6088): at most one unattended resume per trip cycle, fired once the trip driver has been quiet for the configured window and only for provisioning-reload trips (the ENG-7577 class gate \u2014 a crash-class trip still needs an operator). Superseded wherever `resume-reconciler` is on: that path proves the dependency recovered instead of assuming it, and the blind timer is its flag-off fallback. Boolean gate; ships dark. ENG-8395 promoted this from a raw host env var because AGT_AUTO_RESUME_ENABLED lives in the host env file, so its grain is per-HOST \u2014 one flip arms every agent that host runs (agt-aws-1 carries 14), which made the canary-then-fleet rollout its own documentation prescribes impossible. As a registry flag it resolves per org/team/host/AGENT, so one agent can genuinely be cut over first. Read host-side by the manager (agt-cli), not centrally.",
|
|
37047
37047
|
flagType: "boolean",
|
|
37048
37048
|
// Declared safe value is `false` — identical to today's behaviour on a host
|
|
37049
37049
|
// that has never set the env var. Fail-safe direction on a flag-DB read
|
|
@@ -37060,16 +37060,41 @@ var FLAG_REGISTRY = [
|
|
|
37060
37060
|
// An unattended resume is a real availability change — the agent starts
|
|
37061
37061
|
// spawning sessions again with no human in the loop — so arming it is a
|
|
37062
37062
|
// deliberate, confirmed write (ADR-0022 sensitive-flag confirm).
|
|
37063
|
-
sensitive: true
|
|
37064
|
-
// ENG-
|
|
37065
|
-
//
|
|
37066
|
-
//
|
|
37067
|
-
//
|
|
37068
|
-
//
|
|
37069
|
-
//
|
|
37070
|
-
//
|
|
37071
|
-
//
|
|
37063
|
+
sensitive: true,
|
|
37064
|
+
// ENG-10034: bisected from the PUBLISHED agt-cli dists, not from git history —
|
|
37065
|
+
// auto-resume.ts is host-side, so what matters is the first ARTIFACT a host
|
|
37066
|
+
// could be running that contains a consumer for this flag.
|
|
37067
|
+
//
|
|
37068
|
+
// METHOD, so it can be re-run rather than trusted: download each candidate
|
|
37069
|
+
// tarball from the npm registry and grep its contents for the flag-specific
|
|
37070
|
+
// wiring. Binary search over the 22 versions published either side of
|
|
37071
|
+
// ENG-8395's merge gave a clean one-release boundary, eight minutes wide:
|
|
37072
|
+
//
|
|
37073
|
+
// 0.28.506 2026-08-03T22:29:22Z readAutoResumeEnvOverride ✗ AUTO_RESUME_FLAG_KEY ✗ 'auto-resume-enabled' ✗
|
|
37074
|
+
// 0.28.507 2026-08-03T22:37:00Z readAutoResumeEnvOverride ✓ AUTO_RESUME_FLAG_KEY ✓ 'auto-resume-enabled' ✓
|
|
37075
|
+
//
|
|
37076
|
+
// All three symbols are checked rather than one. `getBooleanForAgent` alone
|
|
37077
|
+
// would have been the wrong probe — it is present in BOTH builds, because the
|
|
37078
|
+
// generic resolver long predates this flag. A `since` bisected on a symbol the
|
|
37079
|
+
// flag does not depend on is a number that looks rigorous and is not.
|
|
37080
|
+
//
|
|
37081
|
+
// ENG-8395 AC5 left this unset on purpose and said why: an unset `since` makes
|
|
37082
|
+
// the flip-reach estimate report FULL reach for a host-side reader, promising
|
|
37083
|
+
// reach it does not have (the defect caught on ENG-8344 / PR #4014). The
|
|
37084
|
+
// follow-up it was waiting on was never filed, so the flag sat un-armable for
|
|
37085
|
+
// a month and ENG-6088's bounded auto-resume stayed dark fleet-wide — a
|
|
37086
|
+
// customer agent sat breaker-paused 2h08m on 2026-09-05 with the recovery path
|
|
37087
|
+
// silently disabled. That is what an administrative blocker recorded only in a
|
|
37088
|
+
// code comment costs.
|
|
37089
|
+
//
|
|
37090
|
+
// Same method as its precedents: slack-hot-thread-guard = 0.28.339,
|
|
37091
|
+
// slack-scheduled-channel-guard = 0.28.421 (ENG-8149). Setting it now is safe:
|
|
37092
|
+
// `since` is excluded from projectDefinition, so it does not roll
|
|
37072
37093
|
// FLAGS_SCHEMA_VERSION.
|
|
37094
|
+
//
|
|
37095
|
+
// This does NOT arm the flag. defaultValue stays false and `sensitive` stays
|
|
37096
|
+
// true; arming is a separate, deliberate decision that belongs to ENG-6066.
|
|
37097
|
+
since: "0.28.507"
|
|
37073
37098
|
},
|
|
37074
37099
|
{
|
|
37075
37100
|
key: "host-poll-rate-alarm",
|
|
@@ -49,8 +49,8 @@ import {
|
|
|
49
49
|
writeDirectChatSessionState,
|
|
50
50
|
writeEgressAllowlist,
|
|
51
51
|
writePersistentClaudeWrapper
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-N4QVPPYS.js";
|
|
53
|
+
import "./chunk-4ZPOP7EW.js";
|
|
54
54
|
import "./chunk-XWVM4KPK.js";
|
|
55
55
|
export {
|
|
56
56
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -104,4 +104,4 @@ export {
|
|
|
104
104
|
writeEgressAllowlist,
|
|
105
105
|
writePersistentClaudeWrapper
|
|
106
106
|
};
|
|
107
|
-
//# sourceMappingURL=persistent-session-
|
|
107
|
+
//# sourceMappingURL=persistent-session-W23U7GQU.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-N4QVPPYS.js";
|
|
4
|
+
import "./chunk-4ZPOP7EW.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -739,4 +739,4 @@ export {
|
|
|
739
739
|
readAndResetSlackReplyBindingClassifications,
|
|
740
740
|
readAndResetSlackReplyTargetClassifications
|
|
741
741
|
};
|
|
742
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
742
|
+
//# sourceMappingURL=responsiveness-probe-IRQKIEBW.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4ZPOP7EW.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-VDDXVJTX.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|