@integrity-labs/agt-cli 0.28.378 → 0.28.379
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-JB5PEPQU.js → chunk-KODU4EUV.js} +3 -3
- package/dist/{chunk-Q64467SG.js → chunk-REVQSDNX.js} +12 -1
- package/dist/{chunk-Q64467SG.js.map → chunk-REVQSDNX.js.map} +1 -1
- package/dist/{claude-pair-runtime-FYILNSJ5.js → claude-pair-runtime-SJW25IRD.js} +2 -2
- package/dist/lib/manager-worker.js +12 -10
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +11 -0
- package/dist/mcp/origami.js +11 -0
- package/dist/mcp/slack-channel.js +11 -0
- package/dist/mcp/telegram-channel.js +11 -0
- package/dist/{persistent-session-UR2QF76O.js → persistent-session-PGKQK5VU.js} +2 -2
- package/dist/{responsiveness-probe-QXVQKH7F.js → responsiveness-probe-T2VF5SVF.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-JB5PEPQU.js.map → chunk-KODU4EUV.js.map} +0 -0
- /package/dist/{claude-pair-runtime-FYILNSJ5.js.map → claude-pair-runtime-SJW25IRD.js.map} +0 -0
- /package/dist/{persistent-session-UR2QF76O.js.map → persistent-session-PGKQK5VU.js.map} +0 -0
- /package/dist/{responsiveness-probe-QXVQKH7F.js.map → responsiveness-probe-T2VF5SVF.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-PGKQK5VU.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-SJW25IRD.js.map
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
resolveEffectivePinRaw,
|
|
44
44
|
safeWriteJsonAtomic,
|
|
45
45
|
setConfigHash
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-KODU4EUV.js";
|
|
47
47
|
import {
|
|
48
48
|
getProjectDir as getProjectDir2,
|
|
49
49
|
getReadyTasks,
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
toOpencodeModel,
|
|
146
146
|
transcriptActivityAgeSeconds,
|
|
147
147
|
writeEgressAllowlist
|
|
148
|
-
} from "../chunk-
|
|
148
|
+
} from "../chunk-REVQSDNX.js";
|
|
149
149
|
import {
|
|
150
150
|
reapOrphanChannelMcps
|
|
151
151
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -9100,7 +9100,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
9100
9100
|
var lastVersionCheckAt = 0;
|
|
9101
9101
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
9102
9102
|
var lastResponsivenessProbeAt = 0;
|
|
9103
|
-
var agtCliVersion = true ? "0.28.
|
|
9103
|
+
var agtCliVersion = true ? "0.28.379" : "dev";
|
|
9104
9104
|
function resolveBrewPath(execFileSync2) {
|
|
9105
9105
|
try {
|
|
9106
9106
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -10229,7 +10229,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
10229
10229
|
if (codeNames.length === 0) return;
|
|
10230
10230
|
void (async () => {
|
|
10231
10231
|
try {
|
|
10232
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10232
|
+
const { collectDiagnostics } = await import("../persistent-session-PGKQK5VU.js");
|
|
10233
10233
|
await api.post("/host/heartbeat", {
|
|
10234
10234
|
host_id: hostId,
|
|
10235
10235
|
agent_diagnostics: collectDiagnostics(codeNames)
|
|
@@ -10328,7 +10328,7 @@ async function pollCycle() {
|
|
|
10328
10328
|
}
|
|
10329
10329
|
try {
|
|
10330
10330
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
10331
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10331
|
+
const { collectDiagnostics } = await import("../persistent-session-PGKQK5VU.js");
|
|
10332
10332
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
10333
10333
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
10334
10334
|
let tailscaleHostname;
|
|
@@ -10483,7 +10483,7 @@ async function pollCycle() {
|
|
|
10483
10483
|
const {
|
|
10484
10484
|
collectResponsivenessProbes,
|
|
10485
10485
|
getResponsivenessIntervalMs
|
|
10486
|
-
} = await import("../responsiveness-probe-
|
|
10486
|
+
} = await import("../responsiveness-probe-T2VF5SVF.js");
|
|
10487
10487
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
10488
10488
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
10489
10489
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -10515,7 +10515,7 @@ async function pollCycle() {
|
|
|
10515
10515
|
collectResponsivenessProbes,
|
|
10516
10516
|
livePendingInboundOldestAgeSeconds,
|
|
10517
10517
|
parkPendingInbound
|
|
10518
|
-
} = await import("../responsiveness-probe-
|
|
10518
|
+
} = await import("../responsiveness-probe-T2VF5SVF.js");
|
|
10519
10519
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-HYOOQV4A.js");
|
|
10520
10520
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
10521
10521
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -13122,12 +13122,14 @@ async function ensureOpencodeRuntime(agent, refreshData, agentTimezone) {
|
|
|
13122
13122
|
stopOpencodeTelegramIngest(codeName, log);
|
|
13123
13123
|
const opencodeProjectDir = join21(getFramework("opencode").getAgentDir(codeName), "provision");
|
|
13124
13124
|
const openRouterRaw = refreshData.openrouter ?? null;
|
|
13125
|
+
const anthropicRaw = refreshData.anthropic ?? null;
|
|
13125
13126
|
const serveEnv = {
|
|
13126
13127
|
AGT_HOST: requireHost(),
|
|
13127
13128
|
AGT_API_KEY: getApiKey() ?? void 0,
|
|
13128
13129
|
AGT_APP_URL: process.env["AGT_APP_URL"]
|
|
13129
13130
|
};
|
|
13130
13131
|
if (openRouterRaw?.auth_token) serveEnv["OPENROUTER_API_KEY"] = openRouterRaw.auth_token;
|
|
13132
|
+
if (anthropicRaw?.api_key) serveEnv["ANTHROPIC_API_KEY"] = anthropicRaw.api_key;
|
|
13131
13133
|
const session = await startOpencodeSession({
|
|
13132
13134
|
codeName,
|
|
13133
13135
|
agentId: agent.agent_id,
|
|
@@ -13699,7 +13701,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
13699
13701
|
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}`));
|
|
13700
13702
|
void (async () => {
|
|
13701
13703
|
try {
|
|
13702
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13704
|
+
const { collectDiagnostics } = await import("../persistent-session-PGKQK5VU.js");
|
|
13703
13705
|
await api.post("/host/heartbeat", {
|
|
13704
13706
|
host_id: hostId,
|
|
13705
13707
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -13749,7 +13751,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
13749
13751
|
}
|
|
13750
13752
|
try {
|
|
13751
13753
|
const hostId = await getHostId();
|
|
13752
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13754
|
+
const { collectDiagnostics } = await import("../persistent-session-PGKQK5VU.js");
|
|
13753
13755
|
await api.post("/host/heartbeat", {
|
|
13754
13756
|
host_id: hostId,
|
|
13755
13757
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -14202,7 +14204,7 @@ async function processClaudePairSessions(agents) {
|
|
|
14202
14204
|
killPairSession,
|
|
14203
14205
|
pairTmuxSession,
|
|
14204
14206
|
finalizeClaudePairOnboarding
|
|
14205
|
-
} = await import("../claude-pair-runtime-
|
|
14207
|
+
} = await import("../claude-pair-runtime-SJW25IRD.js");
|
|
14206
14208
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
14207
14209
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
14208
14210
|
const killed = await killPairSession(pairTmuxSession(pairId));
|