@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
package/dist/bin/agt.js
CHANGED
|
@@ -40,12 +40,12 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-Z5UDL4AB.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-O6R6HS2Z.js";
|
|
49
49
|
import {
|
|
50
50
|
AnchorSessionClient,
|
|
51
51
|
CHANNEL_REGISTRY,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
serializeManifestForSlackCli,
|
|
80
80
|
sessionFileExists,
|
|
81
81
|
sessionTranscriptDir
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-XWMUQR65.js";
|
|
83
83
|
import "../chunk-DHWNVVX4.js";
|
|
84
84
|
import "../chunk-XWVM4KPK.js";
|
|
85
85
|
import "../chunk-DGUM43GV.js";
|
|
@@ -5473,7 +5473,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5473
5473
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5474
5474
|
import chalk18 from "chalk";
|
|
5475
5475
|
import ora16 from "ora";
|
|
5476
|
-
var cliVersion = true ? "0.28.
|
|
5476
|
+
var cliVersion = true ? "0.28.1006" : "dev";
|
|
5477
5477
|
async function fetchLatestVersion() {
|
|
5478
5478
|
const host2 = getHost();
|
|
5479
5479
|
if (!host2) return null;
|
|
@@ -6733,7 +6733,7 @@ function handleError(err) {
|
|
|
6733
6733
|
}
|
|
6734
6734
|
|
|
6735
6735
|
// src/bin/agt.ts
|
|
6736
|
-
var cliVersion2 = true ? "0.28.
|
|
6736
|
+
var cliVersion2 = true ? "0.28.1006" : "dev";
|
|
6737
6737
|
var program = new Command();
|
|
6738
6738
|
program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
|
|
6739
6739
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
rotateDailySession,
|
|
24
24
|
sessionFileExists,
|
|
25
25
|
todayLocalIso
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-XWMUQR65.js";
|
|
27
27
|
import {
|
|
28
28
|
classifyUnanswerablePane,
|
|
29
29
|
findUsageLimitResetHint,
|
|
@@ -5776,4 +5776,4 @@ export {
|
|
|
5776
5776
|
stopAllSessionsAndWait,
|
|
5777
5777
|
getProjectDir
|
|
5778
5778
|
};
|
|
5779
|
-
//# sourceMappingURL=chunk-
|
|
5779
|
+
//# sourceMappingURL=chunk-O6R6HS2Z.js.map
|
|
@@ -6529,6 +6529,57 @@ var FLAG_REGISTRY = [
|
|
|
6529
6529
|
sensitive: true
|
|
6530
6530
|
// No envVar - net-new API-side control with no pre-flags env gate to migrate (ADR-0022).
|
|
6531
6531
|
},
|
|
6532
|
+
{
|
|
6533
|
+
key: "channel-quarantine-auto-resume",
|
|
6534
|
+
description: "Time-based auto-resume of an ENG-5932 channel quarantine (ENG-10510): off = disabled, shadow = log the would-resume without acting, enforce = clear the local quarantine marker and re-add the channel for a TRIAL run, letting the reaper re-quarantine it if it is still dead. Backoff 2h doubling to a 24h cap, giving up after 5 attempts and leaving it for an operator; the manual Re-enable is unaffected and clears the strike count. DELIBERATELY NOT health-based: a quarantined channel is dropped from .mcp.json and the launch flags, so its process never spawns and its liveness is unobservable - unlike an ENG-7916 integration, which stays probeable via a reconstructed inline_server_entry, which is why mcp-auto-resume-mode can wait for healthy cycles and this cannot. A SEPARATE FLAG FROM channel-quarantine-mode ON PURPOSE: that one defaults to shadow, so giving it a resume meaning would arm auto-resume fleet-wide on the existing default. Declared safe value is off (fully dark): a flag-DB read error must never re-add a channel on its own, because a trial costs restarts against the breaker budget.",
|
|
6535
|
+
flagType: "enum",
|
|
6536
|
+
allowedValues: ["off", "shadow", "enforce"],
|
|
6537
|
+
// off = fully dark. See the description's fail-safe reasoning.
|
|
6538
|
+
defaultValue: "off",
|
|
6539
|
+
// Enforcement-mode control like its siblings channel-quarantine-mode and
|
|
6540
|
+
// mcp-auto-resume-mode: masked on public surfaces, mutations confirmed.
|
|
6541
|
+
sensitive: true,
|
|
6542
|
+
// ENG-10036: the reader lives in apps/cli (manager-worker), so an older
|
|
6543
|
+
// host has no code to honour a flip. Without `since`, classifyHostReach
|
|
6544
|
+
// reports 'honors' - full reach - which is the most confident thing the
|
|
6545
|
+
// field can say and would be a lie here.
|
|
6546
|
+
//
|
|
6547
|
+
// DELIBERATE UNREACHABLE PLACEHOLDER - NOT A REAL THRESHOLD YET.
|
|
6548
|
+
// Obi-Wan on #6313: the previous value here was '0.28.990', written before
|
|
6549
|
+
// merge and stated as though it were the reader's shipping version. It is
|
|
6550
|
+
// not knowable pre-merge. `since` is documented (types.ts) as "the agt-cli
|
|
6551
|
+
// version its reader lands in", and the bisected siblings in this registry
|
|
6552
|
+
// were all read off published dists AFTER their merge. The published line
|
|
6553
|
+
// is around 0.28.916-0.28.918, so that guess sat ~70 patch releases above
|
|
6554
|
+
// the build that will actually carry this reader - every host running the
|
|
6555
|
+
// release that DOES honour the flag would have classified `stale` until the
|
|
6556
|
+
// fleet passed a version that does not exist yet.
|
|
6557
|
+
//
|
|
6558
|
+
// So this follows the convention this registry already established for
|
|
6559
|
+
// exactly this situation - see `github-broker-credentials` below, whose
|
|
6560
|
+
// identical DELIBERATE UNREACHABLE PLACEHOLDER block and `since: '0.29.0'`
|
|
6561
|
+
// are the precedent: pinned ABOVE every published release ON PURPOSE,
|
|
6562
|
+
// labelled as a placeholder, and gated on a post-publish bisect.
|
|
6563
|
+
//
|
|
6564
|
+
// (This cited `claudecode-agt-bin-credential-helpers` until obi-wan
|
|
6565
|
+
// `8f9d3c43076c` pointed out no such key exists anywhere in the repo - the
|
|
6566
|
+
// only occurrence in the tree was this citation. The precedent was real and
|
|
6567
|
+
// the reasoning held, but the pointer could not be followed, so a reader
|
|
6568
|
+
// looking it up found nothing and had no way to tell whether the convention
|
|
6569
|
+
// was inherited or invented here. That is the one question a citation
|
|
6570
|
+
// exists to answer, and it is asked at exactly the moment someone is about
|
|
6571
|
+
// to do the post-publish bisect.) It classifies every host
|
|
6572
|
+
// as `stale`, which reports no reach rather than reach there is no basis
|
|
6573
|
+
// for - and unlike a plausible-looking number, it says out loud that it
|
|
6574
|
+
// must be re-bisected.
|
|
6575
|
+
//
|
|
6576
|
+
// BEFORE THIS FLAG IS FLIPPED ANYWHERE: bisect the published dist for the
|
|
6577
|
+
// first agt-cli whose manager-worker carries the auto-resume poll block,
|
|
6578
|
+
// and replace this with that exact version. Leaving the placeholder is safe
|
|
6579
|
+
// (defaultValue 'off', sensitive: true, nothing flips); shipping a guessed
|
|
6580
|
+
// number is not.
|
|
6581
|
+
since: "0.29.0"
|
|
6582
|
+
},
|
|
6532
6583
|
{
|
|
6533
6584
|
key: "mcp-auto-resume-mode",
|
|
6534
6585
|
description: "MCP auto-resume of a bind-failure quarantine (ENG-8036, follow-up to ENG-7916): off = disabled, shadow = log only (would-resume without acting), enforce = flip an ENG-7916-quarantined integration (status=unhealthy) back to status=active after DEFAULT_AUTO_RESUME_OK_CYCLES consecutive healthy connectivity-probe cycles. Recovery is observed via the connectivity-probe path, not the session-tool-bind probe (a quarantined row is excluded from the bind probe by the ENG-5292 writer). Only rows this quarantine system marked are auto-resumed - the reaper/oauth-refresh error/unhealthy states are never stomped. Declared safe value is off (fully dark): a flag-DB read error must never auto-un-quarantine on its own. Flip to shadow to observe, then enforce once the cycle threshold is tuned.",
|
|
@@ -15371,4 +15422,4 @@ export {
|
|
|
15371
15422
|
peekCurrentSession,
|
|
15372
15423
|
readDailySessionPin
|
|
15373
15424
|
};
|
|
15374
|
-
//# sourceMappingURL=chunk-
|
|
15425
|
+
//# sourceMappingURL=chunk-XWMUQR65.js.map
|