@integrity-labs/agt-cli 0.28.530 → 0.28.532
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-Q4XGKOHZ.js → chunk-3FCJXTHW.js} +30 -12
- package/dist/chunk-3FCJXTHW.js.map +1 -0
- package/dist/{chunk-7DNN4TH6.js → chunk-DVLIHMM7.js} +3 -3
- package/dist/chunk-DVLIHMM7.js.map +1 -0
- package/dist/{claude-pair-runtime-TC2TTMIJ.js → claude-pair-runtime-KMLPAKYF.js} +2 -2
- package/dist/lib/manager-worker.js +16 -11
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +85 -1
- package/dist/mcp/index.js +1 -1
- package/dist/{persistent-session-T4IY7AJU.js → persistent-session-KO2FPI6V.js} +8 -2
- package/dist/{responsiveness-probe-WYGR4B2F.js → responsiveness-probe-DQCG2MB6.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-7DNN4TH6.js.map +0 -1
- package/dist/chunk-Q4XGKOHZ.js.map +0 -1
- /package/dist/{claude-pair-runtime-TC2TTMIJ.js.map → claude-pair-runtime-KMLPAKYF.js.map} +0 -0
- /package/dist/{persistent-session-T4IY7AJU.js.map → persistent-session-KO2FPI6V.js.map} +0 -0
- /package/dist/{responsiveness-probe-WYGR4B2F.js.map → responsiveness-probe-DQCG2MB6.js.map} +0 -0
|
@@ -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-KO2FPI6V.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-KMLPAKYF.js.map
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
safeWriteJsonAtomic,
|
|
54
54
|
setConfigHash,
|
|
55
55
|
tripClass
|
|
56
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-DVLIHMM7.js";
|
|
57
57
|
import {
|
|
58
58
|
getProjectDir as getProjectDir2,
|
|
59
59
|
getReadyTasks,
|
|
@@ -180,7 +180,7 @@ import {
|
|
|
180
180
|
toOpencodeModel,
|
|
181
181
|
transcriptActivityAgeSeconds,
|
|
182
182
|
writeEgressAllowlist
|
|
183
|
-
} from "../chunk-
|
|
183
|
+
} from "../chunk-3FCJXTHW.js";
|
|
184
184
|
import {
|
|
185
185
|
reapOrphanChannelMcps
|
|
186
186
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -10334,7 +10334,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
10334
10334
|
var lastVersionCheckAt = 0;
|
|
10335
10335
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
10336
10336
|
var lastResponsivenessProbeAt = 0;
|
|
10337
|
-
var agtCliVersion = true ? "0.28.
|
|
10337
|
+
var agtCliVersion = true ? "0.28.532" : "dev";
|
|
10338
10338
|
function resolveBrewPath(execFileSync2) {
|
|
10339
10339
|
try {
|
|
10340
10340
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -11545,7 +11545,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
11545
11545
|
if (codeNames.length === 0) return;
|
|
11546
11546
|
void (async () => {
|
|
11547
11547
|
try {
|
|
11548
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11548
|
+
const { collectDiagnostics } = await import("../persistent-session-KO2FPI6V.js");
|
|
11549
11549
|
await api.post("/host/heartbeat", {
|
|
11550
11550
|
host_id: hostId,
|
|
11551
11551
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -11652,7 +11652,7 @@ async function pollCycle() {
|
|
|
11652
11652
|
}
|
|
11653
11653
|
try {
|
|
11654
11654
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
11655
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11655
|
+
const { collectDiagnostics } = await import("../persistent-session-KO2FPI6V.js");
|
|
11656
11656
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
11657
11657
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor) : void 0;
|
|
11658
11658
|
let tailscaleHostname;
|
|
@@ -11768,7 +11768,7 @@ async function pollCycle() {
|
|
|
11768
11768
|
collectPanelessActivityProbes,
|
|
11769
11769
|
getResponsivenessIntervalMs,
|
|
11770
11770
|
occupancyQualificationClassifications
|
|
11771
|
-
} = await import("../responsiveness-probe-
|
|
11771
|
+
} = await import("../responsiveness-probe-DQCG2MB6.js");
|
|
11772
11772
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
11773
11773
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
11774
11774
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -11853,7 +11853,7 @@ async function pollCycle() {
|
|
|
11853
11853
|
collectResponsivenessProbes,
|
|
11854
11854
|
livePendingInboundOldestAgeSeconds,
|
|
11855
11855
|
parkPendingInbound
|
|
11856
|
-
} = await import("../responsiveness-probe-
|
|
11856
|
+
} = await import("../responsiveness-probe-DQCG2MB6.js");
|
|
11857
11857
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
11858
11858
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
11859
11859
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -14700,7 +14700,12 @@ async function ensureOpencodeRuntime(agent, refreshData, agentTimezone) {
|
|
|
14700
14700
|
const serveEnv = {
|
|
14701
14701
|
AGT_HOST: requireHost(),
|
|
14702
14702
|
AGT_API_KEY: getApiKey() ?? void 0,
|
|
14703
|
-
AGT_APP_URL: process.env["AGT_APP_URL"]
|
|
14703
|
+
AGT_APP_URL: process.env["AGT_APP_URL"],
|
|
14704
|
+
// ENG-8344 follow-up: framework parity with the claude-code spawn env.
|
|
14705
|
+
// AGT_HOST/AGT_API_KEY are host-wide, so without the agent's own id any
|
|
14706
|
+
// program reading `process.env.AGT_AGENT_ID` under opencode sees empty —
|
|
14707
|
+
// same failure the GitHub credential shim hit on the bare claude-code path.
|
|
14708
|
+
AGT_AGENT_ID: agent.agent_id
|
|
14704
14709
|
};
|
|
14705
14710
|
if (openRouterRaw?.auth_token) serveEnv["OPENROUTER_API_KEY"] = openRouterRaw.auth_token;
|
|
14706
14711
|
if (anthropicRaw?.api_key) serveEnv["ANTHROPIC_API_KEY"] = anthropicRaw.api_key;
|
|
@@ -15378,7 +15383,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
15378
15383
|
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}`));
|
|
15379
15384
|
void (async () => {
|
|
15380
15385
|
try {
|
|
15381
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15386
|
+
const { collectDiagnostics } = await import("../persistent-session-KO2FPI6V.js");
|
|
15382
15387
|
await api.post("/host/heartbeat", {
|
|
15383
15388
|
host_id: hostId,
|
|
15384
15389
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -15428,7 +15433,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
15428
15433
|
}
|
|
15429
15434
|
try {
|
|
15430
15435
|
const hostId = await getHostId();
|
|
15431
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15436
|
+
const { collectDiagnostics } = await import("../persistent-session-KO2FPI6V.js");
|
|
15432
15437
|
await api.post("/host/heartbeat", {
|
|
15433
15438
|
host_id: hostId,
|
|
15434
15439
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -15952,7 +15957,7 @@ async function processClaudePairSessions(agents) {
|
|
|
15952
15957
|
killPairSession,
|
|
15953
15958
|
pairTmuxSession,
|
|
15954
15959
|
finalizeClaudePairOnboarding
|
|
15955
|
-
} = await import("../claude-pair-runtime-
|
|
15960
|
+
} = await import("../claude-pair-runtime-KMLPAKYF.js");
|
|
15956
15961
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
15957
15962
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
15958
15963
|
const killed = await killPairSession(pairTmuxSession(pairId));
|