@integrity-labs/agt-cli 0.28.374 → 0.28.375
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-TRBANZZ4.js → chunk-EZ5DJZ6Q.js} +1 -1
- package/dist/{chunk-NSRSWHXX.js → chunk-HXEGK3AW.js} +3 -3
- package/dist/{claude-pair-runtime-DPFC3EF3.js → claude-pair-runtime-2BAVARZU.js} +2 -2
- package/dist/lib/manager-worker.js +10 -10
- package/dist/{persistent-session-G4GDPZ54.js → persistent-session-YEGKJ6D2.js} +2 -2
- package/dist/{responsiveness-probe-2JNQBULO.js → responsiveness-probe-N2JSVMRN.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-TRBANZZ4.js.map → chunk-EZ5DJZ6Q.js.map} +0 -0
- /package/dist/{chunk-NSRSWHXX.js.map → chunk-HXEGK3AW.js.map} +0 -0
- /package/dist/{claude-pair-runtime-DPFC3EF3.js.map → claude-pair-runtime-2BAVARZU.js.map} +0 -0
- /package/dist/{persistent-session-G4GDPZ54.js.map → persistent-session-YEGKJ6D2.js.map} +0 -0
- /package/dist/{responsiveness-probe-2JNQBULO.js.map → responsiveness-probe-N2JSVMRN.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-HXEGK3AW.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
renderTemplate,
|
|
71
71
|
resolveChannels,
|
|
72
72
|
serializeManifestForSlackCli
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-EZ5DJZ6Q.js";
|
|
74
74
|
import "../chunk-XWVM4KPK.js";
|
|
75
75
|
|
|
76
76
|
// src/bin/agt.ts
|
|
@@ -4829,7 +4829,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4829
4829
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4830
4830
|
import chalk18 from "chalk";
|
|
4831
4831
|
import ora16 from "ora";
|
|
4832
|
-
var cliVersion = true ? "0.28.
|
|
4832
|
+
var cliVersion = true ? "0.28.375" : "dev";
|
|
4833
4833
|
async function fetchLatestVersion() {
|
|
4834
4834
|
const host2 = getHost();
|
|
4835
4835
|
if (!host2) return null;
|
|
@@ -6001,7 +6001,7 @@ function handleError(err) {
|
|
|
6001
6001
|
}
|
|
6002
6002
|
|
|
6003
6003
|
// src/bin/agt.ts
|
|
6004
|
-
var cliVersion2 = true ? "0.28.
|
|
6004
|
+
var cliVersion2 = true ? "0.28.375" : "dev";
|
|
6005
6005
|
var program = new Command();
|
|
6006
6006
|
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");
|
|
6007
6007
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -12130,4 +12130,4 @@ export {
|
|
|
12130
12130
|
stopAllSessionsAndWait,
|
|
12131
12131
|
getProjectDir
|
|
12132
12132
|
};
|
|
12133
|
-
//# sourceMappingURL=chunk-
|
|
12133
|
+
//# sourceMappingURL=chunk-EZ5DJZ6Q.js.map
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
resolveConnectivityProbe,
|
|
26
26
|
worseConnectivityOutcome,
|
|
27
27
|
wrapScheduledTaskPrompt
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-EZ5DJZ6Q.js";
|
|
29
29
|
import {
|
|
30
30
|
parsePsRows
|
|
31
31
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -6166,7 +6166,7 @@ function requireHost() {
|
|
|
6166
6166
|
}
|
|
6167
6167
|
|
|
6168
6168
|
// src/lib/api-client.ts
|
|
6169
|
-
var agtCliVersion = true ? "0.28.
|
|
6169
|
+
var agtCliVersion = true ? "0.28.375" : "dev";
|
|
6170
6170
|
var lastConfigHash = null;
|
|
6171
6171
|
function setConfigHash(hash) {
|
|
6172
6172
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8612,4 +8612,4 @@ export {
|
|
|
8612
8612
|
managerInstallSystemUnitCommand,
|
|
8613
8613
|
managerUninstallSystemUnitCommand
|
|
8614
8614
|
};
|
|
8615
|
-
//# sourceMappingURL=chunk-
|
|
8615
|
+
//# sourceMappingURL=chunk-HXEGK3AW.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-YEGKJ6D2.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-2BAVARZU.js.map
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
resolveEffectivePinRaw,
|
|
44
44
|
safeWriteJsonAtomic,
|
|
45
45
|
setConfigHash
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-HXEGK3AW.js";
|
|
47
47
|
import {
|
|
48
48
|
getProjectDir as getProjectDir2,
|
|
49
49
|
getReadyTasks,
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
toOpencodeModel,
|
|
146
146
|
transcriptActivityAgeSeconds,
|
|
147
147
|
writeEgressAllowlist
|
|
148
|
-
} from "../chunk-
|
|
148
|
+
} from "../chunk-EZ5DJZ6Q.js";
|
|
149
149
|
import {
|
|
150
150
|
reapOrphanChannelMcps
|
|
151
151
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -9100,7 +9100,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
9100
9100
|
var lastVersionCheckAt = 0;
|
|
9101
9101
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
9102
9102
|
var lastResponsivenessProbeAt = 0;
|
|
9103
|
-
var agtCliVersion = true ? "0.28.
|
|
9103
|
+
var agtCliVersion = true ? "0.28.375" : "dev";
|
|
9104
9104
|
function resolveBrewPath(execFileSync2) {
|
|
9105
9105
|
try {
|
|
9106
9106
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -10119,7 +10119,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
10119
10119
|
if (codeNames.length === 0) return;
|
|
10120
10120
|
void (async () => {
|
|
10121
10121
|
try {
|
|
10122
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10122
|
+
const { collectDiagnostics } = await import("../persistent-session-YEGKJ6D2.js");
|
|
10123
10123
|
await api.post("/host/heartbeat", {
|
|
10124
10124
|
host_id: hostId,
|
|
10125
10125
|
agent_diagnostics: collectDiagnostics(codeNames)
|
|
@@ -10218,7 +10218,7 @@ async function pollCycle() {
|
|
|
10218
10218
|
}
|
|
10219
10219
|
try {
|
|
10220
10220
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
10221
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10221
|
+
const { collectDiagnostics } = await import("../persistent-session-YEGKJ6D2.js");
|
|
10222
10222
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
10223
10223
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
10224
10224
|
let tailscaleHostname;
|
|
@@ -10373,7 +10373,7 @@ async function pollCycle() {
|
|
|
10373
10373
|
const {
|
|
10374
10374
|
collectResponsivenessProbes,
|
|
10375
10375
|
getResponsivenessIntervalMs
|
|
10376
|
-
} = await import("../responsiveness-probe-
|
|
10376
|
+
} = await import("../responsiveness-probe-N2JSVMRN.js");
|
|
10377
10377
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
10378
10378
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
10379
10379
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -10405,7 +10405,7 @@ async function pollCycle() {
|
|
|
10405
10405
|
collectResponsivenessProbes,
|
|
10406
10406
|
livePendingInboundOldestAgeSeconds,
|
|
10407
10407
|
parkPendingInbound
|
|
10408
|
-
} = await import("../responsiveness-probe-
|
|
10408
|
+
} = await import("../responsiveness-probe-N2JSVMRN.js");
|
|
10409
10409
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-HYOOQV4A.js");
|
|
10410
10410
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
10411
10411
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -13583,7 +13583,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
13583
13583
|
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}`));
|
|
13584
13584
|
void (async () => {
|
|
13585
13585
|
try {
|
|
13586
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13586
|
+
const { collectDiagnostics } = await import("../persistent-session-YEGKJ6D2.js");
|
|
13587
13587
|
await api.post("/host/heartbeat", {
|
|
13588
13588
|
host_id: hostId,
|
|
13589
13589
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -13633,7 +13633,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
13633
13633
|
}
|
|
13634
13634
|
try {
|
|
13635
13635
|
const hostId = await getHostId();
|
|
13636
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13636
|
+
const { collectDiagnostics } = await import("../persistent-session-YEGKJ6D2.js");
|
|
13637
13637
|
await api.post("/host/heartbeat", {
|
|
13638
13638
|
host_id: hostId,
|
|
13639
13639
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -14086,7 +14086,7 @@ async function processClaudePairSessions(agents) {
|
|
|
14086
14086
|
killPairSession,
|
|
14087
14087
|
pairTmuxSession,
|
|
14088
14088
|
finalizeClaudePairOnboarding
|
|
14089
|
-
} = await import("../claude-pair-runtime-
|
|
14089
|
+
} = await import("../claude-pair-runtime-2BAVARZU.js");
|
|
14090
14090
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
14091
14091
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
14092
14092
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
writeDirectChatSessionState,
|
|
37
37
|
writeEgressAllowlist,
|
|
38
38
|
writePersistentClaudeWrapper
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-EZ5DJZ6Q.js";
|
|
40
40
|
import "./chunk-XWVM4KPK.js";
|
|
41
41
|
export {
|
|
42
42
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -77,4 +77,4 @@ export {
|
|
|
77
77
|
writeEgressAllowlist,
|
|
78
78
|
writePersistentClaudeWrapper
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=persistent-session-
|
|
80
|
+
//# sourceMappingURL=persistent-session-YEGKJ6D2.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EZ5DJZ6Q.js";
|
|
4
4
|
import "./chunk-XWVM4KPK.js";
|
|
5
5
|
|
|
6
6
|
// src/lib/responsiveness-probe.ts
|
|
@@ -437,4 +437,4 @@ export {
|
|
|
437
437
|
readAndResetSlackReplyBindingClassifications,
|
|
438
438
|
readAndResetSlackReplyTargetClassifications
|
|
439
439
|
};
|
|
440
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
440
|
+
//# sourceMappingURL=responsiveness-probe-N2JSVMRN.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|