@integrity-labs/agt-cli 0.28.954 → 0.28.956
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-6N7C5GAI.js → chunk-FWLDKWP5.js} +4 -4
- package/dist/{chunk-5DCSO24A.js → chunk-K42A4EG3.js} +1 -1
- package/dist/{chunk-FM55GCBK.js → chunk-ZV4R5NVN.js} +2 -2
- package/dist/{claude-pair-runtime-CUE7K2YZ.js → claude-pair-runtime-UXMP6TBO.js} +2 -2
- package/dist/lib/manager-worker.js +14 -14
- package/dist/{persistent-session-X7YJPZ2D.js → persistent-session-NURJS4CF.js} +3 -3
- package/dist/{responsiveness-probe-SJLJCHQ6.js → responsiveness-probe-TFYKREIL.js} +3 -3
- package/dist/{session-auth-dead-MKJ5YGYC.js → session-auth-dead-T72P26K3.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-6N7C5GAI.js.map → chunk-FWLDKWP5.js.map} +0 -0
- /package/dist/{chunk-5DCSO24A.js.map → chunk-K42A4EG3.js.map} +0 -0
- /package/dist/{chunk-FM55GCBK.js.map → chunk-ZV4R5NVN.js.map} +0 -0
- /package/dist/{claude-pair-runtime-CUE7K2YZ.js.map → claude-pair-runtime-UXMP6TBO.js.map} +0 -0
- /package/dist/{persistent-session-X7YJPZ2D.js.map → persistent-session-NURJS4CF.js.map} +0 -0
- /package/dist/{responsiveness-probe-SJLJCHQ6.js.map → responsiveness-probe-TFYKREIL.js.map} +0 -0
- /package/dist/{session-auth-dead-MKJ5YGYC.js.map → session-auth-dead-T72P26K3.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-FWLDKWP5.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-ZV4R5NVN.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-K42A4EG3.js";
|
|
83
83
|
import "../chunk-DHWNVVX4.js";
|
|
84
84
|
import "../chunk-XWVM4KPK.js";
|
|
85
85
|
|
|
@@ -5471,7 +5471,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5471
5471
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5472
5472
|
import chalk18 from "chalk";
|
|
5473
5473
|
import ora16 from "ora";
|
|
5474
|
-
var cliVersion = true ? "0.28.
|
|
5474
|
+
var cliVersion = true ? "0.28.956" : "dev";
|
|
5475
5475
|
async function fetchLatestVersion() {
|
|
5476
5476
|
const host2 = getHost();
|
|
5477
5477
|
if (!host2) return null;
|
|
@@ -6731,7 +6731,7 @@ function handleError(err) {
|
|
|
6731
6731
|
}
|
|
6732
6732
|
|
|
6733
6733
|
// src/bin/agt.ts
|
|
6734
|
-
var cliVersion2 = true ? "0.28.
|
|
6734
|
+
var cliVersion2 = true ? "0.28.956" : "dev";
|
|
6735
6735
|
var program = new Command();
|
|
6736
6736
|
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");
|
|
6737
6737
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
parseEnvFileEntries,
|
|
15
15
|
parseEnvIntegrations,
|
|
16
16
|
shellQuote
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZV4R5NVN.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-K42A4EG3.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.956" : "dev";
|
|
6971
6971
|
var lastConfigHash = null;
|
|
6972
6972
|
function setConfigHash(hash) {
|
|
6973
6973
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -11666,4 +11666,4 @@ export {
|
|
|
11666
11666
|
managerInstallSystemUnitCommand,
|
|
11667
11667
|
managerUninstallSystemUnitCommand
|
|
11668
11668
|
};
|
|
11669
|
-
//# sourceMappingURL=chunk-
|
|
11669
|
+
//# sourceMappingURL=chunk-FWLDKWP5.js.map
|
|
@@ -14879,4 +14879,4 @@ export {
|
|
|
14879
14879
|
peekCurrentSession,
|
|
14880
14880
|
readDailySessionPin
|
|
14881
14881
|
};
|
|
14882
|
-
//# sourceMappingURL=chunk-
|
|
14882
|
+
//# sourceMappingURL=chunk-K42A4EG3.js.map
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
rotateDailySession,
|
|
20
20
|
sessionFileExists,
|
|
21
21
|
todayLocalIso
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-K42A4EG3.js";
|
|
23
23
|
import {
|
|
24
24
|
classifyUnanswerablePane,
|
|
25
25
|
findUsageLimitResetHint,
|
|
@@ -5454,4 +5454,4 @@ export {
|
|
|
5454
5454
|
stopAllSessionsAndWait,
|
|
5455
5455
|
getProjectDir
|
|
5456
5456
|
};
|
|
5457
|
-
//# sourceMappingURL=chunk-
|
|
5457
|
+
//# sourceMappingURL=chunk-ZV4R5NVN.js.map
|
|
@@ -164,7 +164,7 @@ async function spawnPairSession(session) {
|
|
|
164
164
|
return { ok: true };
|
|
165
165
|
} catch {
|
|
166
166
|
}
|
|
167
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
167
|
+
const { resolveClaudeBinary } = await import("./persistent-session-NURJS4CF.js");
|
|
168
168
|
const claudeBin = resolveClaudeBinary();
|
|
169
169
|
const pairEnv = {
|
|
170
170
|
...process.env,
|
|
@@ -475,4 +475,4 @@ export {
|
|
|
475
475
|
startClaudePair,
|
|
476
476
|
submitClaudePairCode
|
|
477
477
|
};
|
|
478
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
478
|
+
//# sourceMappingURL=claude-pair-runtime-UXMP6TBO.js.map
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
safeWriteJsonAtomic,
|
|
64
64
|
setConfigHash,
|
|
65
65
|
tripClass
|
|
66
|
-
} from "../chunk-
|
|
66
|
+
} from "../chunk-FWLDKWP5.js";
|
|
67
67
|
import {
|
|
68
68
|
getProjectDir as getProjectDir2,
|
|
69
69
|
getReadyTasks,
|
|
@@ -136,7 +136,7 @@ import {
|
|
|
136
136
|
takeZombieDetection,
|
|
137
137
|
toOpencodeModel,
|
|
138
138
|
writeEgressAllowlist
|
|
139
|
-
} from "../chunk-
|
|
139
|
+
} from "../chunk-ZV4R5NVN.js";
|
|
140
140
|
import {
|
|
141
141
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
142
142
|
AnchorSessionClient,
|
|
@@ -232,7 +232,7 @@ import {
|
|
|
232
232
|
subagentActivityAgeSeconds,
|
|
233
233
|
sumTranscriptUsageInWindow,
|
|
234
234
|
transcriptActivityAgeSeconds
|
|
235
|
-
} from "../chunk-
|
|
235
|
+
} from "../chunk-K42A4EG3.js";
|
|
236
236
|
import "../chunk-DHWNVVX4.js";
|
|
237
237
|
import {
|
|
238
238
|
reapOrphanChannelMcps
|
|
@@ -13258,7 +13258,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
13258
13258
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
13259
13259
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
13260
13260
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
13261
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
13261
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-TFYKREIL.js");
|
|
13262
13262
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
13263
13263
|
if (newest === null) return null;
|
|
13264
13264
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -13943,7 +13943,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13943
13943
|
var lastVersionCheckAt = 0;
|
|
13944
13944
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13945
13945
|
var lastResponsivenessProbeAt = 0;
|
|
13946
|
-
var agtCliVersion = true ? "0.28.
|
|
13946
|
+
var agtCliVersion = true ? "0.28.956" : "dev";
|
|
13947
13947
|
function resolveBrewPath(execFileSync2) {
|
|
13948
13948
|
try {
|
|
13949
13949
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -15545,7 +15545,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
15545
15545
|
if (codeNames.length === 0) return;
|
|
15546
15546
|
void (async () => {
|
|
15547
15547
|
try {
|
|
15548
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15548
|
+
const { collectDiagnostics } = await import("../persistent-session-NURJS4CF.js");
|
|
15549
15549
|
await api.post("/host/heartbeat", {
|
|
15550
15550
|
host_id: hostId,
|
|
15551
15551
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -15687,7 +15687,7 @@ async function pollCycleInner() {
|
|
|
15687
15687
|
}
|
|
15688
15688
|
try {
|
|
15689
15689
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
15690
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15690
|
+
const { collectDiagnostics } = await import("../persistent-session-NURJS4CF.js");
|
|
15691
15691
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
15692
15692
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
|
|
15693
15693
|
let tailscaleHostname;
|
|
@@ -15863,7 +15863,7 @@ async function pollCycleInner() {
|
|
|
15863
15863
|
collectPanelessActivityProbes,
|
|
15864
15864
|
getResponsivenessIntervalMs,
|
|
15865
15865
|
occupancyQualificationClassifications
|
|
15866
|
-
} = await import("../responsiveness-probe-
|
|
15866
|
+
} = await import("../responsiveness-probe-TFYKREIL.js");
|
|
15867
15867
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
15868
15868
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
15869
15869
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -15980,7 +15980,7 @@ async function pollCycleInner() {
|
|
|
15980
15980
|
collectResponsivenessProbes,
|
|
15981
15981
|
livePendingInboundOldestAgeSeconds,
|
|
15982
15982
|
parkPendingInbound
|
|
15983
|
-
} = await import("../responsiveness-probe-
|
|
15983
|
+
} = await import("../responsiveness-probe-TFYKREIL.js");
|
|
15984
15984
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
15985
15985
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
15986
15986
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -16136,7 +16136,7 @@ async function pollCycleInner() {
|
|
|
16136
16136
|
}
|
|
16137
16137
|
try {
|
|
16138
16138
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
|
|
16139
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
16139
|
+
const { probeSessionAuth } = await import("../session-auth-dead-T72P26K3.js");
|
|
16140
16140
|
const observations = [];
|
|
16141
16141
|
const pendingCacheCommits = [];
|
|
16142
16142
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -20400,7 +20400,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
20400
20400
|
try {
|
|
20401
20401
|
const freshId = rotateSessionForWedge(codeName);
|
|
20402
20402
|
consecutiveWedgeCycles.delete(codeName);
|
|
20403
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
20403
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-TFYKREIL.js");
|
|
20404
20404
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
20405
20405
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
20406
20406
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -20443,7 +20443,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
20443
20443
|
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}`));
|
|
20444
20444
|
void (async () => {
|
|
20445
20445
|
try {
|
|
20446
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20446
|
+
const { collectDiagnostics } = await import("../persistent-session-NURJS4CF.js");
|
|
20447
20447
|
await api.post("/host/heartbeat", {
|
|
20448
20448
|
host_id: hostId,
|
|
20449
20449
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -20494,7 +20494,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
20494
20494
|
}
|
|
20495
20495
|
try {
|
|
20496
20496
|
const hostId = await getHostId();
|
|
20497
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20497
|
+
const { collectDiagnostics } = await import("../persistent-session-NURJS4CF.js");
|
|
20498
20498
|
await api.post("/host/heartbeat", {
|
|
20499
20499
|
host_id: hostId,
|
|
20500
20500
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -21136,7 +21136,7 @@ async function processClaudePairSessions(agents) {
|
|
|
21136
21136
|
killPairSession,
|
|
21137
21137
|
pairTmuxSession,
|
|
21138
21138
|
finalizeClaudePairOnboarding
|
|
21139
|
-
} = await import("../claude-pair-runtime-
|
|
21139
|
+
} = await import("../claude-pair-runtime-UXMP6TBO.js");
|
|
21140
21140
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
21141
21141
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
21142
21142
|
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-ZV4R5NVN.js";
|
|
66
|
+
import "./chunk-K42A4EG3.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-NURJS4CF.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-ZV4R5NVN.js";
|
|
4
|
+
import "./chunk-K42A4EG3.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-TFYKREIL.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K42A4EG3.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-T72P26K3.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
|