@integrity-labs/agt-cli 0.28.693 → 0.28.694
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-HAOMTMPE.js → chunk-7F4RC4PU.js} +4 -4
- package/dist/{chunk-BV2ZQRFB.js → chunk-NYWCE5JH.js} +1 -1
- package/dist/{chunk-4ARKV2GJ.js → chunk-YLADZNC5.js} +2 -2
- package/dist/{claude-pair-runtime-Q5OIAZWC.js → claude-pair-runtime-WRVD63Q7.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/{persistent-session-PPBLGH2J.js → persistent-session-WC27KXJE.js} +3 -3
- package/dist/{responsiveness-probe-H3UBUTW7.js → responsiveness-probe-V5M5OXNB.js} +3 -3
- package/dist/{session-auth-dead-K3XQNN5A.js → session-auth-dead-TVTRCTJR.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-HAOMTMPE.js.map → chunk-7F4RC4PU.js.map} +0 -0
- /package/dist/{chunk-BV2ZQRFB.js.map → chunk-NYWCE5JH.js.map} +0 -0
- /package/dist/{chunk-4ARKV2GJ.js.map → chunk-YLADZNC5.js.map} +0 -0
- /package/dist/{claude-pair-runtime-Q5OIAZWC.js.map → claude-pair-runtime-WRVD63Q7.js.map} +0 -0
- /package/dist/{persistent-session-PPBLGH2J.js.map → persistent-session-WC27KXJE.js.map} +0 -0
- /package/dist/{responsiveness-probe-H3UBUTW7.js.map → responsiveness-probe-V5M5OXNB.js.map} +0 -0
- /package/dist/{session-auth-dead-K3XQNN5A.js.map → session-auth-dead-TVTRCTJR.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-7F4RC4PU.js";
|
|
44
44
|
import {
|
|
45
45
|
readDirectChatSessionState
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-YLADZNC5.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-NYWCE5JH.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.694" : "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.694" : "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) => {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
parseEnvFileEntries,
|
|
13
13
|
parseEnvIntegrations,
|
|
14
14
|
shellQuote
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YLADZNC5.js";
|
|
16
16
|
import {
|
|
17
17
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
18
18
|
INTEGRATIONS_SECTION_END,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
resolveConnectivityProbe,
|
|
60
60
|
worseConnectivityOutcome,
|
|
61
61
|
wrapScheduledTaskPrompt
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-NYWCE5JH.js";
|
|
63
63
|
import {
|
|
64
64
|
parsePsRows
|
|
65
65
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -6329,7 +6329,7 @@ function exchangeFailureKind(err) {
|
|
|
6329
6329
|
}
|
|
6330
6330
|
|
|
6331
6331
|
// src/lib/api-client.ts
|
|
6332
|
-
var agtCliVersion = true ? "0.28.
|
|
6332
|
+
var agtCliVersion = true ? "0.28.694" : "dev";
|
|
6333
6333
|
var lastConfigHash = null;
|
|
6334
6334
|
function setConfigHash(hash) {
|
|
6335
6335
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -10070,4 +10070,4 @@ export {
|
|
|
10070
10070
|
managerInstallSystemUnitCommand,
|
|
10071
10071
|
managerUninstallSystemUnitCommand
|
|
10072
10072
|
};
|
|
10073
|
-
//# sourceMappingURL=chunk-
|
|
10073
|
+
//# sourceMappingURL=chunk-7F4RC4PU.js.map
|
|
@@ -12622,4 +12622,4 @@ export {
|
|
|
12622
12622
|
minutesSinceLocalMidnight,
|
|
12623
12623
|
peekCurrentSession
|
|
12624
12624
|
};
|
|
12625
|
-
//# sourceMappingURL=chunk-
|
|
12625
|
+
//# sourceMappingURL=chunk-NYWCE5JH.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
rotateDailySession,
|
|
18
18
|
sessionFileExists,
|
|
19
19
|
todayLocalIso
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NYWCE5JH.js";
|
|
21
21
|
import {
|
|
22
22
|
reapOrphanChannelMcps
|
|
23
23
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -4531,4 +4531,4 @@ export {
|
|
|
4531
4531
|
stopAllSessionsAndWait,
|
|
4532
4532
|
getProjectDir
|
|
4533
4533
|
};
|
|
4534
|
-
//# sourceMappingURL=chunk-
|
|
4534
|
+
//# sourceMappingURL=chunk-YLADZNC5.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-WC27KXJE.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-WRVD63Q7.js.map
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
safeWriteJsonAtomic,
|
|
55
55
|
setConfigHash,
|
|
56
56
|
tripClass
|
|
57
|
-
} from "../chunk-
|
|
57
|
+
} from "../chunk-7F4RC4PU.js";
|
|
58
58
|
import {
|
|
59
59
|
getProjectDir as getProjectDir2,
|
|
60
60
|
getReadyTasks,
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
takeZombieDetection,
|
|
113
113
|
toOpencodeModel,
|
|
114
114
|
writeEgressAllowlist
|
|
115
|
-
} from "../chunk-
|
|
115
|
+
} from "../chunk-YLADZNC5.js";
|
|
116
116
|
import {
|
|
117
117
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
118
118
|
AnchorSessionClient,
|
|
@@ -193,7 +193,7 @@ import {
|
|
|
193
193
|
subagentActivityAgeSeconds,
|
|
194
194
|
sumTranscriptUsageInWindow,
|
|
195
195
|
transcriptActivityAgeSeconds
|
|
196
|
-
} from "../chunk-
|
|
196
|
+
} from "../chunk-NYWCE5JH.js";
|
|
197
197
|
import {
|
|
198
198
|
reapOrphanChannelMcps
|
|
199
199
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -11754,7 +11754,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
11754
11754
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
11755
11755
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
11756
11756
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
11757
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
11757
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-V5M5OXNB.js");
|
|
11758
11758
|
const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
|
|
11759
11759
|
if (newest === null) return null;
|
|
11760
11760
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -12402,7 +12402,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
12402
12402
|
var lastVersionCheckAt = 0;
|
|
12403
12403
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
12404
12404
|
var lastResponsivenessProbeAt = 0;
|
|
12405
|
-
var agtCliVersion = true ? "0.28.
|
|
12405
|
+
var agtCliVersion = true ? "0.28.694" : "dev";
|
|
12406
12406
|
function resolveBrewPath(execFileSync3) {
|
|
12407
12407
|
try {
|
|
12408
12408
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -13863,7 +13863,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
13863
13863
|
if (codeNames.length === 0) return;
|
|
13864
13864
|
void (async () => {
|
|
13865
13865
|
try {
|
|
13866
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13866
|
+
const { collectDiagnostics } = await import("../persistent-session-WC27KXJE.js");
|
|
13867
13867
|
await api.post("/host/heartbeat", {
|
|
13868
13868
|
host_id: hostId,
|
|
13869
13869
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
|
|
@@ -13980,7 +13980,7 @@ async function pollCycleInner() {
|
|
|
13980
13980
|
}
|
|
13981
13981
|
try {
|
|
13982
13982
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
13983
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13983
|
+
const { collectDiagnostics } = await import("../persistent-session-WC27KXJE.js");
|
|
13984
13984
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
13985
13985
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor) : void 0;
|
|
13986
13986
|
let tailscaleHostname;
|
|
@@ -14132,7 +14132,7 @@ async function pollCycleInner() {
|
|
|
14132
14132
|
collectPanelessActivityProbes,
|
|
14133
14133
|
getResponsivenessIntervalMs,
|
|
14134
14134
|
occupancyQualificationClassifications
|
|
14135
|
-
} = await import("../responsiveness-probe-
|
|
14135
|
+
} = await import("../responsiveness-probe-V5M5OXNB.js");
|
|
14136
14136
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
14137
14137
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
14138
14138
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -14242,7 +14242,7 @@ async function pollCycleInner() {
|
|
|
14242
14242
|
collectResponsivenessProbes,
|
|
14243
14243
|
livePendingInboundOldestAgeSeconds,
|
|
14244
14244
|
parkPendingInbound
|
|
14245
|
-
} = await import("../responsiveness-probe-
|
|
14245
|
+
} = await import("../responsiveness-probe-V5M5OXNB.js");
|
|
14246
14246
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
14247
14247
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
14248
14248
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -14398,7 +14398,7 @@ async function pollCycleInner() {
|
|
|
14398
14398
|
}
|
|
14399
14399
|
try {
|
|
14400
14400
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
|
|
14401
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
14401
|
+
const { probeSessionAuth } = await import("../session-auth-dead-TVTRCTJR.js");
|
|
14402
14402
|
const observations = [];
|
|
14403
14403
|
const pendingCacheCommits = [];
|
|
14404
14404
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -18158,7 +18158,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
18158
18158
|
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}`));
|
|
18159
18159
|
void (async () => {
|
|
18160
18160
|
try {
|
|
18161
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
18161
|
+
const { collectDiagnostics } = await import("../persistent-session-WC27KXJE.js");
|
|
18162
18162
|
await api.post("/host/heartbeat", {
|
|
18163
18163
|
host_id: hostId,
|
|
18164
18164
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
|
|
@@ -18209,7 +18209,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
18209
18209
|
}
|
|
18210
18210
|
try {
|
|
18211
18211
|
const hostId = await getHostId();
|
|
18212
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
18212
|
+
const { collectDiagnostics } = await import("../persistent-session-WC27KXJE.js");
|
|
18213
18213
|
await api.post("/host/heartbeat", {
|
|
18214
18214
|
host_id: hostId,
|
|
18215
18215
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
|
|
@@ -18841,7 +18841,7 @@ async function processClaudePairSessions(agents) {
|
|
|
18841
18841
|
killPairSession,
|
|
18842
18842
|
pairTmuxSession,
|
|
18843
18843
|
finalizeClaudePairOnboarding
|
|
18844
|
-
} = await import("../claude-pair-runtime-
|
|
18844
|
+
} = await import("../claude-pair-runtime-WRVD63Q7.js");
|
|
18845
18845
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
18846
18846
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
18847
18847
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -43,8 +43,8 @@ import {
|
|
|
43
43
|
writeDirectChatSessionState,
|
|
44
44
|
writeEgressAllowlist,
|
|
45
45
|
writePersistentClaudeWrapper
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
46
|
+
} from "./chunk-YLADZNC5.js";
|
|
47
|
+
import "./chunk-NYWCE5JH.js";
|
|
48
48
|
import "./chunk-XWVM4KPK.js";
|
|
49
49
|
export {
|
|
50
50
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -92,4 +92,4 @@ export {
|
|
|
92
92
|
writeEgressAllowlist,
|
|
93
93
|
writePersistentClaudeWrapper
|
|
94
94
|
};
|
|
95
|
-
//# sourceMappingURL=persistent-session-
|
|
95
|
+
//# sourceMappingURL=persistent-session-WC27KXJE.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-YLADZNC5.js";
|
|
4
|
+
import "./chunk-NYWCE5JH.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-V5M5OXNB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NYWCE5JH.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-TVTRCTJR.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
|