@integrity-labs/agt-cli 0.28.565 → 0.28.567
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 +4 -4
- package/dist/{chunk-TOGADVFR.js → chunk-FSWAPB5J.js} +40 -2
- package/dist/chunk-FSWAPB5J.js.map +1 -0
- package/dist/{chunk-I6EWKBSV.js → chunk-IALXJ6H3.js} +3 -3
- package/dist/{claude-pair-runtime-63Y4MIMU.js → claude-pair-runtime-4C5NQQHR.js} +2 -2
- package/dist/lib/manager-worker.js +1241 -424
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.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-MLLLDI5U.js → persistent-session-DVTSZAPE.js} +2 -2
- package/dist/{responsiveness-probe-QMAIFW4P.js → responsiveness-probe-KEFPJXQ6.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-TOGADVFR.js.map +0 -1
- /package/dist/{chunk-I6EWKBSV.js.map → chunk-IALXJ6H3.js.map} +0 -0
- /package/dist/{claude-pair-runtime-63Y4MIMU.js.map → claude-pair-runtime-4C5NQQHR.js.map} +0 -0
- /package/dist/{persistent-session-MLLLDI5U.js.map → persistent-session-DVTSZAPE.js.map} +0 -0
- /package/dist/{responsiveness-probe-QMAIFW4P.js.map → responsiveness-probe-KEFPJXQ6.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-IALXJ6H3.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
requiredMcpWildcard,
|
|
72
72
|
resolveChannels,
|
|
73
73
|
serializeManifestForSlackCli
|
|
74
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-FSWAPB5J.js";
|
|
75
75
|
import "../chunk-XWVM4KPK.js";
|
|
76
76
|
|
|
77
77
|
// src/bin/agt.ts
|
|
@@ -4834,7 +4834,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4834
4834
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4835
4835
|
import chalk18 from "chalk";
|
|
4836
4836
|
import ora16 from "ora";
|
|
4837
|
-
var cliVersion = true ? "0.28.
|
|
4837
|
+
var cliVersion = true ? "0.28.567" : "dev";
|
|
4838
4838
|
async function fetchLatestVersion() {
|
|
4839
4839
|
const host2 = getHost();
|
|
4840
4840
|
if (!host2) return null;
|
|
@@ -6009,7 +6009,7 @@ function handleError(err) {
|
|
|
6009
6009
|
}
|
|
6010
6010
|
|
|
6011
6011
|
// src/bin/agt.ts
|
|
6012
|
-
var cliVersion2 = true ? "0.28.
|
|
6012
|
+
var cliVersion2 = true ? "0.28.567" : "dev";
|
|
6013
6013
|
var program = new Command();
|
|
6014
6014
|
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");
|
|
6015
6015
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -10584,6 +10584,35 @@ var FLAG_REGISTRY = [
|
|
|
10584
10584
|
// AGT_MEMORY_EXTRACTION_ENABLED set keeps that value until the env is retired.
|
|
10585
10585
|
envVar: "AGT_MEMORY_EXTRACTION_ENABLED"
|
|
10586
10586
|
},
|
|
10587
|
+
{
|
|
10588
|
+
key: "tool-call-audit",
|
|
10589
|
+
description: "Host-side tool-call audit extraction (ENG-8575, slice 3 of ENG-8427): the manager scans agent transcripts for tool calls, redacts each to identity-without-content, and POSTs them to /host/tool-calls. Boolean gate; ships dark \u2014 when off the manager reads no transcripts and sends nothing, so 0 agent_tool_calls rows fleet-wide is the expected steady state until it is armed. NOT the commercial gate: /host/tool-calls independently re-checks the advanced_governance entitlement and refuses regardless of this flag, because the host is customer-owned infrastructure. This flag is rollout control only.",
|
|
10590
|
+
flagType: "boolean",
|
|
10591
|
+
// Declared safe value is `false` (no extraction). Fail-safe direction: a
|
|
10592
|
+
// flag-DB read error must never start shipping tool-call metadata across the
|
|
10593
|
+
// host→control-plane boundary on its own. Same posture as memory-extraction
|
|
10594
|
+
// above, and for the same reason — both read agent transcripts.
|
|
10595
|
+
defaultValue: false,
|
|
10596
|
+
// ADR-0022 operator override. Read by the host flag store's env layer, not
|
|
10597
|
+
// by a hand-written process.env gate — so check-new-env-gates.sh stays quiet
|
|
10598
|
+
// and the escape hatch still exists for a per-host canary.
|
|
10599
|
+
envVar: "AGT_TOOL_CALL_AUDIT_ENABLED",
|
|
10600
|
+
// PLACEHOLDER, deliberately unreachable — see the identical treatment on
|
|
10601
|
+
// `github-broker-credentials` below for the full reasoning. `since` is
|
|
10602
|
+
// advisory: it is read only by computeFlagReach behind GET /admin/reach, so
|
|
10603
|
+
// it changes what an operator is TOLD and does not itself stop a flip.
|
|
10604
|
+
//
|
|
10605
|
+
// The host-side reader ships in whichever agt-cli patch the auto-publish
|
|
10606
|
+
// cuts after this merges, and that number cannot be known while writing
|
|
10607
|
+
// this line. Omitting `since` is NOT the safe default here: it resolves to
|
|
10608
|
+
// `honors`, reporting every host as honouring the flip — including hosts
|
|
10609
|
+
// whose agt-cli has no reader at all. An unreachable value reports `stale`
|
|
10610
|
+
// instead: conservative, and visibly wrong rather than invisibly wrong.
|
|
10611
|
+
//
|
|
10612
|
+
// BEFORE THIS FLAG IS FLIPPED ANYWHERE: replace this with the first
|
|
10613
|
+
// published agt-cli version containing `maybeScanToolCalls`.
|
|
10614
|
+
since: "0.29.0"
|
|
10615
|
+
},
|
|
10587
10616
|
{
|
|
10588
10617
|
key: "conversation-eval-backend",
|
|
10589
10618
|
description: "Backend for host-side conversation-success scoring AND memory extraction (ENG-6581), which share one scorer: anthropic-api = Haiku via a direct Anthropic Messages API fetch (no subprocess); claude-p = Haiku via the `claude -p` subprocess (reuses the agent auth, effectively free under Max but a heavy spawn); local = an OpenAI-compatible loopback endpoint (transcript never leaves the host). Auth for the anthropic-api path comes from AGT_CONV_EVAL_ANTHROPIC_API_KEY (falls back to ANTHROPIC_API_KEY); with no key that path fails closed (eval disabled) rather than reverting to claude-p. Enum.",
|
|
@@ -15434,9 +15463,10 @@ function resetRestartCount(codeName) {
|
|
|
15434
15463
|
const session = sessions2.get(codeName);
|
|
15435
15464
|
if (session) session.restartCount = 0;
|
|
15436
15465
|
}
|
|
15437
|
-
function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor) {
|
|
15466
|
+
function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeFor) {
|
|
15438
15467
|
return codeNames.map((codeName) => {
|
|
15439
15468
|
const quarantinedChannels = quarantineEntriesFor?.(codeName) ?? [];
|
|
15469
|
+
const spawnOutcome = spawnOutcomeFor?.(codeName);
|
|
15440
15470
|
const oc = getOpencodeSessionState(codeName);
|
|
15441
15471
|
if (oc) {
|
|
15442
15472
|
const serveAlive = isOpencodeSessionHealthy(codeName);
|
|
@@ -15456,6 +15486,10 @@ function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor) {
|
|
|
15456
15486
|
channelStatus: null,
|
|
15457
15487
|
isolated: isolationMode(codeName) === "docker",
|
|
15458
15488
|
quarantinedChannels,
|
|
15489
|
+
// ENG-7188: undefined when the accessor is absent = NO SIGNAL. Both
|
|
15490
|
+
// return paths carry it; a field on only one is the divergence class
|
|
15491
|
+
// this card is about.
|
|
15492
|
+
spawnOutcome,
|
|
15459
15493
|
// opencode does not use CLAUDE.md as its identity file, so there is
|
|
15460
15494
|
// nothing to measure and nothing to alarm on — explicit null (no
|
|
15461
15495
|
// signal) rather than whatever a stale file might happen to contain.
|
|
@@ -15531,6 +15565,10 @@ function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor) {
|
|
|
15531
15565
|
channelStatus,
|
|
15532
15566
|
isolated: isolationMode(codeName) === "docker",
|
|
15533
15567
|
quarantinedChannels,
|
|
15568
|
+
// ENG-7188: undefined when the accessor is absent = NO SIGNAL. Both
|
|
15569
|
+
// return paths carry it; a field on only one is the divergence class
|
|
15570
|
+
// this card is about.
|
|
15571
|
+
spawnOutcome,
|
|
15534
15572
|
claudeMd
|
|
15535
15573
|
};
|
|
15536
15574
|
});
|
|
@@ -15763,4 +15801,4 @@ export {
|
|
|
15763
15801
|
stopAllSessionsAndWait,
|
|
15764
15802
|
getProjectDir
|
|
15765
15803
|
};
|
|
15766
|
-
//# sourceMappingURL=chunk-
|
|
15804
|
+
//# sourceMappingURL=chunk-FSWAPB5J.js.map
|