@integrity-labs/agt-cli 0.28.982 → 0.28.983
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-KTFN2AIB.js → chunk-2JWJZSMK.js} +2 -2
- package/dist/{chunk-VF5BT7BP.js → chunk-3GL4ZO25.js} +1 -1
- package/dist/{chunk-CD42ZALM.js → chunk-62VGEG77.js} +4 -4
- package/dist/{claude-pair-runtime-5JPASWRO.js → claude-pair-runtime-Q4MJOZ2J.js} +2 -2
- package/dist/lib/manager-worker.js +14 -14
- package/dist/{persistent-session-26W47NVS.js → persistent-session-YKEY6ACQ.js} +3 -3
- package/dist/{responsiveness-probe-KMHYGGYP.js → responsiveness-probe-2T6AKR7I.js} +3 -3
- package/dist/{session-auth-dead-CRG2ESD2.js → session-auth-dead-S2XOP5EO.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-KTFN2AIB.js.map → chunk-2JWJZSMK.js.map} +0 -0
- /package/dist/{chunk-VF5BT7BP.js.map → chunk-3GL4ZO25.js.map} +0 -0
- /package/dist/{chunk-CD42ZALM.js.map → chunk-62VGEG77.js.map} +0 -0
- /package/dist/{claude-pair-runtime-5JPASWRO.js.map → claude-pair-runtime-Q4MJOZ2J.js.map} +0 -0
- /package/dist/{persistent-session-26W47NVS.js.map → persistent-session-YKEY6ACQ.js.map} +0 -0
- /package/dist/{responsiveness-probe-KMHYGGYP.js.map → responsiveness-probe-2T6AKR7I.js.map} +0 -0
- /package/dist/{session-auth-dead-CRG2ESD2.js.map → session-auth-dead-S2XOP5EO.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-62VGEG77.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-2JWJZSMK.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-3GL4ZO25.js";
|
|
83
83
|
import "../chunk-DHWNVVX4.js";
|
|
84
84
|
import "../chunk-XWVM4KPK.js";
|
|
85
85
|
|
|
@@ -5472,7 +5472,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5472
5472
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5473
5473
|
import chalk18 from "chalk";
|
|
5474
5474
|
import ora16 from "ora";
|
|
5475
|
-
var cliVersion = true ? "0.28.
|
|
5475
|
+
var cliVersion = true ? "0.28.983" : "dev";
|
|
5476
5476
|
async function fetchLatestVersion() {
|
|
5477
5477
|
const host2 = getHost();
|
|
5478
5478
|
if (!host2) return null;
|
|
@@ -6732,7 +6732,7 @@ function handleError(err) {
|
|
|
6732
6732
|
}
|
|
6733
6733
|
|
|
6734
6734
|
// src/bin/agt.ts
|
|
6735
|
-
var cliVersion2 = true ? "0.28.
|
|
6735
|
+
var cliVersion2 = true ? "0.28.983" : "dev";
|
|
6736
6736
|
var program = new Command();
|
|
6737
6737
|
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");
|
|
6738
6738
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
rotateDailySession,
|
|
21
21
|
sessionFileExists,
|
|
22
22
|
todayLocalIso
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3GL4ZO25.js";
|
|
24
24
|
import {
|
|
25
25
|
classifyUnanswerablePane,
|
|
26
26
|
findUsageLimitResetHint,
|
|
@@ -5575,4 +5575,4 @@ export {
|
|
|
5575
5575
|
stopAllSessionsAndWait,
|
|
5576
5576
|
getProjectDir
|
|
5577
5577
|
};
|
|
5578
|
-
//# sourceMappingURL=chunk-
|
|
5578
|
+
//# sourceMappingURL=chunk-2JWJZSMK.js.map
|
|
@@ -15200,4 +15200,4 @@ export {
|
|
|
15200
15200
|
peekCurrentSession,
|
|
15201
15201
|
readDailySessionPin
|
|
15202
15202
|
};
|
|
15203
|
-
//# sourceMappingURL=chunk-
|
|
15203
|
+
//# sourceMappingURL=chunk-3GL4ZO25.js.map
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
parseEnvFileEntries,
|
|
15
15
|
parseEnvIntegrations,
|
|
16
16
|
shellQuote
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2JWJZSMK.js";
|
|
18
18
|
import {
|
|
19
19
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
20
20
|
INTEGRATIONS_SECTION_END,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
sessionTranscriptDir,
|
|
75
75
|
worseConnectivityOutcome,
|
|
76
76
|
wrapScheduledTaskPrompt
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-3GL4ZO25.js";
|
|
78
78
|
import {
|
|
79
79
|
classifyUnanswerablePane,
|
|
80
80
|
summarizeUnanswerablePane
|
|
@@ -6967,7 +6967,7 @@ function exchangeFailureKind(err) {
|
|
|
6967
6967
|
}
|
|
6968
6968
|
|
|
6969
6969
|
// src/lib/api-client.ts
|
|
6970
|
-
var agtCliVersion = true ? "0.28.
|
|
6970
|
+
var agtCliVersion = true ? "0.28.983" : "dev";
|
|
6971
6971
|
var lastConfigHash = null;
|
|
6972
6972
|
function setConfigHash(hash) {
|
|
6973
6973
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -11709,4 +11709,4 @@ export {
|
|
|
11709
11709
|
managerInstallSystemUnitCommand,
|
|
11710
11710
|
managerUninstallSystemUnitCommand
|
|
11711
11711
|
};
|
|
11712
|
-
//# sourceMappingURL=chunk-
|
|
11712
|
+
//# sourceMappingURL=chunk-62VGEG77.js.map
|
|
@@ -258,7 +258,7 @@ async function spawnPairSession(session) {
|
|
|
258
258
|
return { ok: true };
|
|
259
259
|
} catch {
|
|
260
260
|
}
|
|
261
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
261
|
+
const { resolveClaudeBinary } = await import("./persistent-session-YKEY6ACQ.js");
|
|
262
262
|
const claudeBin = resolveClaudeBinary();
|
|
263
263
|
const pairEnv = {
|
|
264
264
|
...process.env,
|
|
@@ -580,4 +580,4 @@ export {
|
|
|
580
580
|
startClaudePair,
|
|
581
581
|
submitClaudePairCode
|
|
582
582
|
};
|
|
583
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
583
|
+
//# sourceMappingURL=claude-pair-runtime-Q4MJOZ2J.js.map
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
safeWriteJsonAtomic,
|
|
64
64
|
setConfigHash,
|
|
65
65
|
tripClass
|
|
66
|
-
} from "../chunk-
|
|
66
|
+
} from "../chunk-62VGEG77.js";
|
|
67
67
|
import {
|
|
68
68
|
getProjectDir as getProjectDir2,
|
|
69
69
|
getReadyTasks,
|
|
@@ -140,7 +140,7 @@ import {
|
|
|
140
140
|
takeZombieDetection,
|
|
141
141
|
toOpencodeModel,
|
|
142
142
|
writeEgressAllowlist
|
|
143
|
-
} from "../chunk-
|
|
143
|
+
} from "../chunk-2JWJZSMK.js";
|
|
144
144
|
import {
|
|
145
145
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
146
146
|
AnchorSessionClient,
|
|
@@ -238,7 +238,7 @@ import {
|
|
|
238
238
|
subagentActivityAgeSeconds,
|
|
239
239
|
sumTranscriptUsageInWindow,
|
|
240
240
|
transcriptActivityAgeSeconds
|
|
241
|
-
} from "../chunk-
|
|
241
|
+
} from "../chunk-3GL4ZO25.js";
|
|
242
242
|
import "../chunk-DHWNVVX4.js";
|
|
243
243
|
import {
|
|
244
244
|
reapOrphanChannelMcps
|
|
@@ -13270,7 +13270,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
13270
13270
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
13271
13271
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
13272
13272
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
13273
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
13273
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-2T6AKR7I.js");
|
|
13274
13274
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
13275
13275
|
if (newest === null) return null;
|
|
13276
13276
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -14013,7 +14013,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
14013
14013
|
var lastVersionCheckAt = 0;
|
|
14014
14014
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
14015
14015
|
var lastResponsivenessProbeAt = 0;
|
|
14016
|
-
var agtCliVersion = true ? "0.28.
|
|
14016
|
+
var agtCliVersion = true ? "0.28.983" : "dev";
|
|
14017
14017
|
function resolveBrewPath(execFileSync2) {
|
|
14018
14018
|
try {
|
|
14019
14019
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -15619,7 +15619,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
15619
15619
|
if (codeNames.length === 0) return;
|
|
15620
15620
|
void (async () => {
|
|
15621
15621
|
try {
|
|
15622
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15622
|
+
const { collectDiagnostics } = await import("../persistent-session-YKEY6ACQ.js");
|
|
15623
15623
|
await api.post("/host/heartbeat", {
|
|
15624
15624
|
host_id: hostId,
|
|
15625
15625
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -15761,7 +15761,7 @@ async function pollCycleInner() {
|
|
|
15761
15761
|
}
|
|
15762
15762
|
try {
|
|
15763
15763
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
15764
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15764
|
+
const { collectDiagnostics } = await import("../persistent-session-YKEY6ACQ.js");
|
|
15765
15765
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
15766
15766
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
|
|
15767
15767
|
let tailscaleHostname;
|
|
@@ -15937,7 +15937,7 @@ async function pollCycleInner() {
|
|
|
15937
15937
|
collectPanelessActivityProbes,
|
|
15938
15938
|
getResponsivenessIntervalMs,
|
|
15939
15939
|
occupancyQualificationClassifications
|
|
15940
|
-
} = await import("../responsiveness-probe-
|
|
15940
|
+
} = await import("../responsiveness-probe-2T6AKR7I.js");
|
|
15941
15941
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
15942
15942
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
15943
15943
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -16054,7 +16054,7 @@ async function pollCycleInner() {
|
|
|
16054
16054
|
collectResponsivenessProbes,
|
|
16055
16055
|
livePendingInboundOldestAgeSeconds,
|
|
16056
16056
|
parkPendingInbound
|
|
16057
|
-
} = await import("../responsiveness-probe-
|
|
16057
|
+
} = await import("../responsiveness-probe-2T6AKR7I.js");
|
|
16058
16058
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
16059
16059
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
16060
16060
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -16210,7 +16210,7 @@ async function pollCycleInner() {
|
|
|
16210
16210
|
}
|
|
16211
16211
|
try {
|
|
16212
16212
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
|
|
16213
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
16213
|
+
const { probeSessionAuth } = await import("../session-auth-dead-S2XOP5EO.js");
|
|
16214
16214
|
const observations = [];
|
|
16215
16215
|
const pendingCacheCommits = [];
|
|
16216
16216
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -20486,7 +20486,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
20486
20486
|
try {
|
|
20487
20487
|
const freshId = rotateSessionForWedge(codeName);
|
|
20488
20488
|
consecutiveWedgeCycles.delete(codeName);
|
|
20489
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
20489
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-2T6AKR7I.js");
|
|
20490
20490
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
20491
20491
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
20492
20492
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -20529,7 +20529,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
20529
20529
|
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}`));
|
|
20530
20530
|
void (async () => {
|
|
20531
20531
|
try {
|
|
20532
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20532
|
+
const { collectDiagnostics } = await import("../persistent-session-YKEY6ACQ.js");
|
|
20533
20533
|
await api.post("/host/heartbeat", {
|
|
20534
20534
|
host_id: hostId,
|
|
20535
20535
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -20580,7 +20580,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
20580
20580
|
}
|
|
20581
20581
|
try {
|
|
20582
20582
|
const hostId = await getHostId();
|
|
20583
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20583
|
+
const { collectDiagnostics } = await import("../persistent-session-YKEY6ACQ.js");
|
|
20584
20584
|
await api.post("/host/heartbeat", {
|
|
20585
20585
|
host_id: hostId,
|
|
20586
20586
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -21222,7 +21222,7 @@ async function processClaudePairSessions(agents) {
|
|
|
21222
21222
|
killPairSession,
|
|
21223
21223
|
pairTmuxSession,
|
|
21224
21224
|
finalizeClaudePairOnboarding
|
|
21225
|
-
} = await import("../claude-pair-runtime-
|
|
21225
|
+
} = await import("../claude-pair-runtime-Q4MJOZ2J.js");
|
|
21226
21226
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
21227
21227
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
21228
21228
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
writeDirectChatSessionState,
|
|
63
63
|
writeEgressAllowlist,
|
|
64
64
|
writePersistentClaudeWrapper
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import "./chunk-
|
|
65
|
+
} from "./chunk-2JWJZSMK.js";
|
|
66
|
+
import "./chunk-3GL4ZO25.js";
|
|
67
67
|
import "./chunk-DHWNVVX4.js";
|
|
68
68
|
import "./chunk-XWVM4KPK.js";
|
|
69
69
|
export {
|
|
@@ -131,4 +131,4 @@ export {
|
|
|
131
131
|
writeEgressAllowlist,
|
|
132
132
|
writePersistentClaudeWrapper
|
|
133
133
|
};
|
|
134
|
-
//# sourceMappingURL=persistent-session-
|
|
134
|
+
//# sourceMappingURL=persistent-session-YKEY6ACQ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-2JWJZSMK.js";
|
|
4
|
+
import "./chunk-3GL4ZO25.js";
|
|
5
5
|
import "./chunk-DHWNVVX4.js";
|
|
6
6
|
import "./chunk-XWVM4KPK.js";
|
|
7
7
|
|
|
@@ -800,4 +800,4 @@ export {
|
|
|
800
800
|
readAndResetSlackReplyBindingClassifications,
|
|
801
801
|
readAndResetSlackReplyTargetClassifications
|
|
802
802
|
};
|
|
803
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
803
|
+
//# sourceMappingURL=responsiveness-probe-2T6AKR7I.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3GL4ZO25.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/session-auth-dead.ts
|
|
6
6
|
import { closeSync, openSync, readSync, readdirSync, statSync } from "fs";
|
|
@@ -203,4 +203,4 @@ export {
|
|
|
203
203
|
decideSessionAuthState,
|
|
204
204
|
probeSessionAuth
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=session-auth-dead-
|
|
206
|
+
//# sourceMappingURL=session-auth-dead-S2XOP5EO.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|