@integrity-labs/agt-cli 0.28.705 → 0.28.706
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-ERBFMEWB.js → chunk-326G325O.js} +13 -4
- package/dist/chunk-326G325O.js.map +1 -0
- package/dist/{chunk-VDHPDNC4.js → chunk-QRGNDW6C.js} +1 -1
- package/dist/{chunk-VDHPDNC4.js.map → chunk-QRGNDW6C.js.map} +1 -1
- package/dist/{chunk-CPR6JCAB.js → chunk-XS5RWL77.js} +4 -4
- package/dist/{claude-pair-runtime-GKB2QQCX.js → claude-pair-runtime-HPYSFXPP.js} +2 -2
- package/dist/lib/manager-worker.js +328 -282
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/index.js +45 -10
- package/dist/{persistent-session-UQBJRLLZ.js → persistent-session-TPP35O6H.js} +3 -3
- package/dist/{responsiveness-probe-Y7HORWZE.js → responsiveness-probe-3HITHSYU.js} +3 -3
- package/dist/{session-auth-dead-DE4KM7PS.js → session-auth-dead-LY5264IN.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-ERBFMEWB.js.map +0 -1
- /package/dist/{chunk-CPR6JCAB.js.map → chunk-XS5RWL77.js.map} +0 -0
- /package/dist/{claude-pair-runtime-GKB2QQCX.js.map → claude-pair-runtime-HPYSFXPP.js.map} +0 -0
- /package/dist/{persistent-session-UQBJRLLZ.js.map → persistent-session-TPP35O6H.js.map} +0 -0
- /package/dist/{responsiveness-probe-Y7HORWZE.js.map → responsiveness-probe-3HITHSYU.js.map} +0 -0
- /package/dist/{session-auth-dead-DE4KM7PS.js.map → session-auth-dead-LY5264IN.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,10 +40,10 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-XS5RWL77.js";
|
|
44
44
|
import {
|
|
45
45
|
readDirectChatSessionState
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-326G325O.js";
|
|
47
47
|
import {
|
|
48
48
|
AnchorSessionClient,
|
|
49
49
|
CHANNEL_REGISTRY,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
requiredMcpWildcard,
|
|
74
74
|
resolveChannels,
|
|
75
75
|
serializeManifestForSlackCli
|
|
76
|
-
} from "../chunk-
|
|
76
|
+
} from "../chunk-QRGNDW6C.js";
|
|
77
77
|
import "../chunk-XWVM4KPK.js";
|
|
78
78
|
|
|
79
79
|
// src/bin/agt.ts
|
|
@@ -4909,7 +4909,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4909
4909
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4910
4910
|
import chalk18 from "chalk";
|
|
4911
4911
|
import ora16 from "ora";
|
|
4912
|
-
var cliVersion = true ? "0.28.
|
|
4912
|
+
var cliVersion = true ? "0.28.706" : "dev";
|
|
4913
4913
|
async function fetchLatestVersion() {
|
|
4914
4914
|
const host2 = getHost();
|
|
4915
4915
|
if (!host2) return null;
|
|
@@ -6089,7 +6089,7 @@ function handleError(err) {
|
|
|
6089
6089
|
}
|
|
6090
6090
|
|
|
6091
6091
|
// src/bin/agt.ts
|
|
6092
|
-
var cliVersion2 = true ? "0.28.
|
|
6092
|
+
var cliVersion2 = true ? "0.28.706" : "dev";
|
|
6093
6093
|
var program = new Command();
|
|
6094
6094
|
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");
|
|
6095
6095
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
rotateDailySession,
|
|
18
18
|
sessionFileExists,
|
|
19
19
|
todayLocalIso
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QRGNDW6C.js";
|
|
21
21
|
import {
|
|
22
22
|
reapOrphanChannelMcps
|
|
23
23
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -4304,11 +4304,12 @@ function resetRestartCount(codeName) {
|
|
|
4304
4304
|
const session = sessions2.get(codeName);
|
|
4305
4305
|
if (session) session.restartCount = 0;
|
|
4306
4306
|
}
|
|
4307
|
-
function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeFor, pidPressureFor) {
|
|
4307
|
+
function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeFor, pidPressureFor, forwardedToolsFor) {
|
|
4308
4308
|
return codeNames.map((codeName) => {
|
|
4309
4309
|
const quarantinedChannels = quarantineEntriesFor?.(codeName) ?? [];
|
|
4310
4310
|
const spawnOutcome = spawnOutcomeFor?.(codeName);
|
|
4311
4311
|
const pidPressure = pidPressureFor?.(codeName) ?? null;
|
|
4312
|
+
const forwardedTools = forwardedToolsFor?.(codeName) ?? null;
|
|
4312
4313
|
const oc = getOpencodeSessionState(codeName);
|
|
4313
4314
|
if (oc) {
|
|
4314
4315
|
const serveAlive = isOpencodeSessionHealthy(codeName);
|
|
@@ -4344,6 +4345,11 @@ function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, sp
|
|
|
4344
4345
|
// opencode" would bake in an answer that goes stale the day the
|
|
4345
4346
|
// opencode path gets its own container.
|
|
4346
4347
|
pidPressure,
|
|
4348
|
+
// ENG-9477: carried here too. An opencode agent runs the same
|
|
4349
|
+
// `augmented` MCP server and forwards the same API tools, so hardcoding
|
|
4350
|
+
// null would blind exactly the agents nobody is watching. If the file is
|
|
4351
|
+
// absent the accessor already returns null.
|
|
4352
|
+
forwardedTools,
|
|
4347
4353
|
...turn ? {
|
|
4348
4354
|
turnHealth: {
|
|
4349
4355
|
lastOutcome: turn.lastOutcome,
|
|
@@ -4420,7 +4426,10 @@ function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, sp
|
|
|
4420
4426
|
// this card is about.
|
|
4421
4427
|
spawnOutcome,
|
|
4422
4428
|
claudeMd,
|
|
4423
|
-
pidPressure
|
|
4429
|
+
pidPressure,
|
|
4430
|
+
// ENG-9477: both return paths carry it. A field on only one of them is the
|
|
4431
|
+
// divergence class this file already learned from twice (ENG-7188, ENG-8876).
|
|
4432
|
+
forwardedTools
|
|
4424
4433
|
};
|
|
4425
4434
|
});
|
|
4426
4435
|
}
|
|
@@ -4531,4 +4540,4 @@ export {
|
|
|
4531
4540
|
stopAllSessionsAndWait,
|
|
4532
4541
|
getProjectDir
|
|
4533
4542
|
};
|
|
4534
|
-
//# sourceMappingURL=chunk-
|
|
4543
|
+
//# sourceMappingURL=chunk-326G325O.js.map
|