@integrity-labs/agt-cli 0.28.741 → 0.28.742
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-JDNULCLF.js → chunk-4JHG7DJW.js} +2 -2
- package/dist/{chunk-2HGXCU4Y.js → chunk-KRP35BSK.js} +4 -4
- package/dist/{chunk-MAXKAS4Q.js → chunk-PD3Y3C46.js} +1 -1
- package/dist/{claude-pair-runtime-JUGH4TOW.js → claude-pair-runtime-LEWSA5RI.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/{persistent-session-E7TUUVAI.js → persistent-session-5FNVPGNL.js} +3 -3
- package/dist/{responsiveness-probe-PXXWLOML.js → responsiveness-probe-NQIXADTX.js} +3 -3
- package/dist/{session-auth-dead-HZZJK37X.js → session-auth-dead-3UZTQDWC.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-JDNULCLF.js.map → chunk-4JHG7DJW.js.map} +0 -0
- /package/dist/{chunk-2HGXCU4Y.js.map → chunk-KRP35BSK.js.map} +0 -0
- /package/dist/{chunk-MAXKAS4Q.js.map → chunk-PD3Y3C46.js.map} +0 -0
- /package/dist/{claude-pair-runtime-JUGH4TOW.js.map → claude-pair-runtime-LEWSA5RI.js.map} +0 -0
- /package/dist/{persistent-session-E7TUUVAI.js.map → persistent-session-5FNVPGNL.js.map} +0 -0
- /package/dist/{responsiveness-probe-PXXWLOML.js.map → responsiveness-probe-NQIXADTX.js.map} +0 -0
- /package/dist/{session-auth-dead-HZZJK37X.js.map → session-auth-dead-3UZTQDWC.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -41,12 +41,12 @@ import {
|
|
|
41
41
|
success,
|
|
42
42
|
table,
|
|
43
43
|
warn
|
|
44
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-KRP35BSK.js";
|
|
45
45
|
import {
|
|
46
46
|
getProjectDir,
|
|
47
47
|
isSessionResumeDisabled,
|
|
48
48
|
readDirectChatSessionState
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-4JHG7DJW.js";
|
|
50
50
|
import {
|
|
51
51
|
AnchorSessionClient,
|
|
52
52
|
CHANNEL_REGISTRY,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
serializeManifestForSlackCli,
|
|
80
80
|
sessionFileExists,
|
|
81
81
|
sessionTranscriptDir
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-PD3Y3C46.js";
|
|
83
83
|
import "../chunk-XWVM4KPK.js";
|
|
84
84
|
|
|
85
85
|
// src/bin/agt.ts
|
|
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5467
5467
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5468
5468
|
import chalk18 from "chalk";
|
|
5469
5469
|
import ora16 from "ora";
|
|
5470
|
-
var cliVersion = true ? "0.28.
|
|
5470
|
+
var cliVersion = true ? "0.28.742" : "dev";
|
|
5471
5471
|
async function fetchLatestVersion() {
|
|
5472
5472
|
const host2 = getHost();
|
|
5473
5473
|
if (!host2) return null;
|
|
@@ -6654,7 +6654,7 @@ function handleError(err) {
|
|
|
6654
6654
|
}
|
|
6655
6655
|
|
|
6656
6656
|
// src/bin/agt.ts
|
|
6657
|
-
var cliVersion2 = true ? "0.28.
|
|
6657
|
+
var cliVersion2 = true ? "0.28.742" : "dev";
|
|
6658
6658
|
var program = new Command();
|
|
6659
6659
|
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");
|
|
6660
6660
|
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-PD3Y3C46.js";
|
|
21
21
|
import {
|
|
22
22
|
reapOrphanChannelMcps
|
|
23
23
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -4929,4 +4929,4 @@ export {
|
|
|
4929
4929
|
stopAllSessionsAndWait,
|
|
4930
4930
|
getProjectDir
|
|
4931
4931
|
};
|
|
4932
|
-
//# sourceMappingURL=chunk-
|
|
4932
|
+
//# sourceMappingURL=chunk-4JHG7DJW.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
parseEnvFileEntries,
|
|
14
14
|
parseEnvIntegrations,
|
|
15
15
|
shellQuote
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4JHG7DJW.js";
|
|
17
17
|
import {
|
|
18
18
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
19
19
|
INTEGRATIONS_SECTION_END,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
sessionTranscriptDir,
|
|
63
63
|
worseConnectivityOutcome,
|
|
64
64
|
wrapScheduledTaskPrompt
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-PD3Y3C46.js";
|
|
66
66
|
import {
|
|
67
67
|
parsePsRows
|
|
68
68
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -6430,7 +6430,7 @@ function exchangeFailureKind(err) {
|
|
|
6430
6430
|
}
|
|
6431
6431
|
|
|
6432
6432
|
// src/lib/api-client.ts
|
|
6433
|
-
var agtCliVersion = true ? "0.28.
|
|
6433
|
+
var agtCliVersion = true ? "0.28.742" : "dev";
|
|
6434
6434
|
var lastConfigHash = null;
|
|
6435
6435
|
function setConfigHash(hash) {
|
|
6436
6436
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -10476,4 +10476,4 @@ export {
|
|
|
10476
10476
|
managerInstallSystemUnitCommand,
|
|
10477
10477
|
managerUninstallSystemUnitCommand
|
|
10478
10478
|
};
|
|
10479
|
-
//# sourceMappingURL=chunk-
|
|
10479
|
+
//# sourceMappingURL=chunk-KRP35BSK.js.map
|
|
@@ -13037,4 +13037,4 @@ export {
|
|
|
13037
13037
|
peekCurrentSession,
|
|
13038
13038
|
readDailySessionPin
|
|
13039
13039
|
};
|
|
13040
|
-
//# sourceMappingURL=chunk-
|
|
13040
|
+
//# sourceMappingURL=chunk-PD3Y3C46.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-5FNVPGNL.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-LEWSA5RI.js.map
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
safeWriteJsonAtomic,
|
|
58
58
|
setConfigHash,
|
|
59
59
|
tripClass
|
|
60
|
-
} from "../chunk-
|
|
60
|
+
} from "../chunk-KRP35BSK.js";
|
|
61
61
|
import {
|
|
62
62
|
getProjectDir as getProjectDir2,
|
|
63
63
|
getReadyTasks,
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
takeZombieDetection,
|
|
119
119
|
toOpencodeModel,
|
|
120
120
|
writeEgressAllowlist
|
|
121
|
-
} from "../chunk-
|
|
121
|
+
} from "../chunk-4JHG7DJW.js";
|
|
122
122
|
import {
|
|
123
123
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
124
124
|
AnchorSessionClient,
|
|
@@ -203,7 +203,7 @@ import {
|
|
|
203
203
|
subagentActivityAgeSeconds,
|
|
204
204
|
sumTranscriptUsageInWindow,
|
|
205
205
|
transcriptActivityAgeSeconds
|
|
206
|
-
} from "../chunk-
|
|
206
|
+
} from "../chunk-PD3Y3C46.js";
|
|
207
207
|
import {
|
|
208
208
|
reapOrphanChannelMcps
|
|
209
209
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -12501,7 +12501,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
12501
12501
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
12502
12502
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
12503
12503
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
12504
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
12504
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-NQIXADTX.js");
|
|
12505
12505
|
const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
|
|
12506
12506
|
if (newest === null) return null;
|
|
12507
12507
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -13154,7 +13154,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13154
13154
|
var lastVersionCheckAt = 0;
|
|
13155
13155
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13156
13156
|
var lastResponsivenessProbeAt = 0;
|
|
13157
|
-
var agtCliVersion = true ? "0.28.
|
|
13157
|
+
var agtCliVersion = true ? "0.28.742" : "dev";
|
|
13158
13158
|
function resolveBrewPath(execFileSync3) {
|
|
13159
13159
|
try {
|
|
13160
13160
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -14695,7 +14695,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
14695
14695
|
if (codeNames.length === 0) return;
|
|
14696
14696
|
void (async () => {
|
|
14697
14697
|
try {
|
|
14698
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
14698
|
+
const { collectDiagnostics } = await import("../persistent-session-5FNVPGNL.js");
|
|
14699
14699
|
await api.post("/host/heartbeat", {
|
|
14700
14700
|
host_id: hostId,
|
|
14701
14701
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -14836,7 +14836,7 @@ async function pollCycleInner() {
|
|
|
14836
14836
|
}
|
|
14837
14837
|
try {
|
|
14838
14838
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
14839
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
14839
|
+
const { collectDiagnostics } = await import("../persistent-session-5FNVPGNL.js");
|
|
14840
14840
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
14841
14841
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
|
|
14842
14842
|
let tailscaleHostname;
|
|
@@ -15005,7 +15005,7 @@ async function pollCycleInner() {
|
|
|
15005
15005
|
collectPanelessActivityProbes,
|
|
15006
15006
|
getResponsivenessIntervalMs,
|
|
15007
15007
|
occupancyQualificationClassifications
|
|
15008
|
-
} = await import("../responsiveness-probe-
|
|
15008
|
+
} = await import("../responsiveness-probe-NQIXADTX.js");
|
|
15009
15009
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
15010
15010
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
15011
15011
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -15115,7 +15115,7 @@ async function pollCycleInner() {
|
|
|
15115
15115
|
collectResponsivenessProbes,
|
|
15116
15116
|
livePendingInboundOldestAgeSeconds,
|
|
15117
15117
|
parkPendingInbound
|
|
15118
|
-
} = await import("../responsiveness-probe-
|
|
15118
|
+
} = await import("../responsiveness-probe-NQIXADTX.js");
|
|
15119
15119
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
15120
15120
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
15121
15121
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -15271,7 +15271,7 @@ async function pollCycleInner() {
|
|
|
15271
15271
|
}
|
|
15272
15272
|
try {
|
|
15273
15273
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
|
|
15274
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
15274
|
+
const { probeSessionAuth } = await import("../session-auth-dead-3UZTQDWC.js");
|
|
15275
15275
|
const observations = [];
|
|
15276
15276
|
const pendingCacheCommits = [];
|
|
15277
15277
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -19233,7 +19233,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
19233
19233
|
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}`));
|
|
19234
19234
|
void (async () => {
|
|
19235
19235
|
try {
|
|
19236
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19236
|
+
const { collectDiagnostics } = await import("../persistent-session-5FNVPGNL.js");
|
|
19237
19237
|
await api.post("/host/heartbeat", {
|
|
19238
19238
|
host_id: hostId,
|
|
19239
19239
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -19279,7 +19279,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
19279
19279
|
}
|
|
19280
19280
|
try {
|
|
19281
19281
|
const hostId = await getHostId();
|
|
19282
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19282
|
+
const { collectDiagnostics } = await import("../persistent-session-5FNVPGNL.js");
|
|
19283
19283
|
await api.post("/host/heartbeat", {
|
|
19284
19284
|
host_id: hostId,
|
|
19285
19285
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -19915,7 +19915,7 @@ async function processClaudePairSessions(agents) {
|
|
|
19915
19915
|
killPairSession,
|
|
19916
19916
|
pairTmuxSession,
|
|
19917
19917
|
finalizeClaudePairOnboarding
|
|
19918
|
-
} = await import("../claude-pair-runtime-
|
|
19918
|
+
} = await import("../claude-pair-runtime-LEWSA5RI.js");
|
|
19919
19919
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
19920
19920
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
19921
19921
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -49,8 +49,8 @@ import {
|
|
|
49
49
|
writeDirectChatSessionState,
|
|
50
50
|
writeEgressAllowlist,
|
|
51
51
|
writePersistentClaudeWrapper
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-4JHG7DJW.js";
|
|
53
|
+
import "./chunk-PD3Y3C46.js";
|
|
54
54
|
import "./chunk-XWVM4KPK.js";
|
|
55
55
|
export {
|
|
56
56
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -104,4 +104,4 @@ export {
|
|
|
104
104
|
writeEgressAllowlist,
|
|
105
105
|
writePersistentClaudeWrapper
|
|
106
106
|
};
|
|
107
|
-
//# sourceMappingURL=persistent-session-
|
|
107
|
+
//# sourceMappingURL=persistent-session-5FNVPGNL.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-4JHG7DJW.js";
|
|
4
|
+
import "./chunk-PD3Y3C46.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -745,4 +745,4 @@ export {
|
|
|
745
745
|
readAndResetSlackReplyBindingClassifications,
|
|
746
746
|
readAndResetSlackReplyTargetClassifications
|
|
747
747
|
};
|
|
748
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
748
|
+
//# sourceMappingURL=responsiveness-probe-NQIXADTX.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PD3Y3C46.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-3UZTQDWC.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
|