@integrity-labs/agt-cli 0.28.854 → 0.28.855
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-2E2NKILK.js → chunk-7YVKIYVW.js} +2 -2
- package/dist/{chunk-4Z4GFQAD.js → chunk-IHBWFKOW.js} +30 -1
- package/dist/chunk-IHBWFKOW.js.map +1 -0
- package/dist/{chunk-FHOLG6VL.js → chunk-RKCG63PT.js} +4 -4
- package/dist/{claude-pair-runtime-63TA3LT5.js → claude-pair-runtime-FFUPKRVC.js} +2 -2
- package/dist/lib/manager-worker.js +37 -21
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +29 -0
- package/dist/mcp/index.js +29 -0
- package/dist/mcp/origami.js +29 -0
- package/dist/mcp/slack-channel.js +29 -0
- package/dist/mcp/telegram-channel.js +29 -0
- package/dist/{persistent-session-N4DJ4VXZ.js → persistent-session-CNVU25IF.js} +3 -3
- package/dist/{responsiveness-probe-GYE5MIVB.js → responsiveness-probe-TZOKOH6C.js} +3 -3
- package/dist/{session-auth-dead-K6B6D3WR.js → session-auth-dead-GRYXFDYD.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-4Z4GFQAD.js.map +0 -1
- /package/dist/{chunk-2E2NKILK.js.map → chunk-7YVKIYVW.js.map} +0 -0
- /package/dist/{chunk-FHOLG6VL.js.map → chunk-RKCG63PT.js.map} +0 -0
- /package/dist/{claude-pair-runtime-63TA3LT5.js.map → claude-pair-runtime-FFUPKRVC.js.map} +0 -0
- /package/dist/{persistent-session-N4DJ4VXZ.js.map → persistent-session-CNVU25IF.js.map} +0 -0
- /package/dist/{responsiveness-probe-GYE5MIVB.js.map → responsiveness-probe-TZOKOH6C.js.map} +0 -0
- /package/dist/{session-auth-dead-K6B6D3WR.js.map → session-auth-dead-GRYXFDYD.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-RKCG63PT.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-7YVKIYVW.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-IHBWFKOW.js";
|
|
83
83
|
import "../chunk-XWVM4KPK.js";
|
|
84
84
|
|
|
85
85
|
// src/bin/agt.ts
|
|
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5467
5467
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5468
5468
|
import chalk18 from "chalk";
|
|
5469
5469
|
import ora16 from "ora";
|
|
5470
|
-
var cliVersion = true ? "0.28.
|
|
5470
|
+
var cliVersion = true ? "0.28.855" : "dev";
|
|
5471
5471
|
async function fetchLatestVersion() {
|
|
5472
5472
|
const host2 = getHost();
|
|
5473
5473
|
if (!host2) return null;
|
|
@@ -6658,7 +6658,7 @@ function handleError(err) {
|
|
|
6658
6658
|
}
|
|
6659
6659
|
|
|
6660
6660
|
// src/bin/agt.ts
|
|
6661
|
-
var cliVersion2 = true ? "0.28.
|
|
6661
|
+
var cliVersion2 = true ? "0.28.855" : "dev";
|
|
6662
6662
|
var program = new Command();
|
|
6663
6663
|
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");
|
|
6664
6664
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
rotateDailySession,
|
|
19
19
|
sessionFileExists,
|
|
20
20
|
todayLocalIso
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-IHBWFKOW.js";
|
|
22
22
|
import {
|
|
23
23
|
reapOrphanChannelMcps
|
|
24
24
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -5431,4 +5431,4 @@ export {
|
|
|
5431
5431
|
stopAllSessionsAndWait,
|
|
5432
5432
|
getProjectDir
|
|
5433
5433
|
};
|
|
5434
|
-
//# sourceMappingURL=chunk-
|
|
5434
|
+
//# sourceMappingURL=chunk-7YVKIYVW.js.map
|
|
@@ -5578,6 +5578,35 @@ var FLAG_REGISTRY = [
|
|
|
5578
5578
|
defaultValue: false,
|
|
5579
5579
|
envVar: "AGT_MODEL_API_ERROR_REPORTING_ENABLED"
|
|
5580
5580
|
},
|
|
5581
|
+
{
|
|
5582
|
+
key: "model-policy-failover-trigger",
|
|
5583
|
+
description: "Automatic model-policy failover (ENG-10156, ADR-0074). off = the trigger does not run. shadow = it evaluates every ingested model-API error against the policy's failover_trigger config and LOGS the decision with its inputs, acting on nothing. Enum gate; ships OFF.",
|
|
5584
|
+
flagType: "enum",
|
|
5585
|
+
// `armed` is DELIBERATELY not an allowed value yet.
|
|
5586
|
+
//
|
|
5587
|
+
// Nothing writes model_policy_failover_state with source='auto' — that is
|
|
5588
|
+
// the actuation half, and it is gated behind a recorded shadow soak
|
|
5589
|
+
// (ENG-10156 AC8). Offering `armed` now would be a setting an operator can
|
|
5590
|
+
// select, that reports success, and that does nothing: the failure mode is
|
|
5591
|
+
// worse than the missing feature, because it looks like a fleet running
|
|
5592
|
+
// with automatic failover enabled. Add it in the same change that makes it
|
|
5593
|
+
// act, not before.
|
|
5594
|
+
allowedValues: ["off", "shadow"],
|
|
5595
|
+
// OFF, not `shadow`, and the contrast with `channel-quarantine-mode` is the
|
|
5596
|
+
// reason: that flag defaults to `shadow` because shadow WAS the live
|
|
5597
|
+
// manager's compiled behaviour, so anything else would have changed the
|
|
5598
|
+
// fleet. Here there is no incumbent behaviour to preserve — nothing has ever
|
|
5599
|
+
// evaluated this — so `off` is the honest default and turning shadow on is a
|
|
5600
|
+
// deliberate act with a soak attached to it.
|
|
5601
|
+
defaultValue: "off",
|
|
5602
|
+
envVar: "AGT_MODEL_POLICY_FAILOVER_TRIGGER_MODE",
|
|
5603
|
+
// Marked sensitive ahead of `armed` existing: the value this flag will
|
|
5604
|
+
// eventually carry moves a host onto a secondary binding whose credential
|
|
5605
|
+
// may be ours (credential_owner: 'platform'), i.e. it spends money with no
|
|
5606
|
+
// human in the loop. Declaring that now costs nothing and means the audited
|
|
5607
|
+
// -flip behaviour is already in place on the day the value is added.
|
|
5608
|
+
sensitive: true
|
|
5609
|
+
},
|
|
5581
5610
|
{
|
|
5582
5611
|
key: "claude-md-skills-index",
|
|
5583
5612
|
description: `Manager injects the "## Available Skills" bullet list (one line per installed skill, name + frontmatter description) into the agent's project CLAUDE.md. Claude Code already surfaces installed skills to the model natively from .claude/skills/*/SKILL.md, so on current models the list is duplicated context - and an expensive one: it measured 12,045 chars across 29 skills on a prod agent, pushing project/CLAUDE.md to 51k against Claude Code's 40,000-char ceiling, past which the tail of the agent's own system prompt is silently truncated. OFF suppresses ONLY the skill bullets; the "Updating Integrations" guidance in the same managed block is real instruction and is always kept. Defaults ON (today's behaviour) - flip OFF per org to reclaim the headroom.`,
|
|
@@ -14112,4 +14141,4 @@ export {
|
|
|
14112
14141
|
peekCurrentSession,
|
|
14113
14142
|
readDailySessionPin
|
|
14114
14143
|
};
|
|
14115
|
-
//# sourceMappingURL=chunk-
|
|
14144
|
+
//# sourceMappingURL=chunk-IHBWFKOW.js.map
|