@integrity-labs/agt-cli 0.28.477 → 0.28.478
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-INPROLVI.js → chunk-RBMN5KPX.js} +3 -3
- package/dist/{chunk-6GMNDBOU.js → chunk-WANZSIX6.js} +5 -1
- package/dist/chunk-WANZSIX6.js.map +1 -0
- package/dist/{claude-pair-runtime-S7CBJ5ML.js → claude-pair-runtime-UA3ZZQ2V.js} +2 -2
- package/dist/lib/manager-worker.js +19 -12
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +4 -0
- package/dist/mcp/origami.js +4 -0
- package/dist/mcp/slack-channel.js +4 -0
- package/dist/mcp/telegram-channel.js +4 -0
- package/dist/{persistent-session-3DFUJUF2.js → persistent-session-FQKD2RA6.js} +2 -2
- package/dist/{responsiveness-probe-QBKBBHYD.js → responsiveness-probe-JQUE3XQG.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-6GMNDBOU.js.map +0 -1
- /package/dist/{chunk-INPROLVI.js.map → chunk-RBMN5KPX.js.map} +0 -0
- /package/dist/{claude-pair-runtime-S7CBJ5ML.js.map → claude-pair-runtime-UA3ZZQ2V.js.map} +0 -0
- /package/dist/{persistent-session-3DFUJUF2.js.map → persistent-session-FQKD2RA6.js.map} +0 -0
- /package/dist/{responsiveness-probe-QBKBBHYD.js.map → responsiveness-probe-JQUE3XQG.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-FQKD2RA6.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-UA3ZZQ2V.js.map
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
resolveEffectivePinRaw,
|
|
45
45
|
safeWriteJsonAtomic,
|
|
46
46
|
setConfigHash
|
|
47
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-RBMN5KPX.js";
|
|
48
48
|
import {
|
|
49
49
|
getProjectDir as getProjectDir2,
|
|
50
50
|
getReadyTasks,
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
toOpencodeModel,
|
|
163
163
|
transcriptActivityAgeSeconds,
|
|
164
164
|
writeEgressAllowlist
|
|
165
|
-
} from "../chunk-
|
|
165
|
+
} from "../chunk-WANZSIX6.js";
|
|
166
166
|
import {
|
|
167
167
|
reapOrphanChannelMcps
|
|
168
168
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -5451,7 +5451,8 @@ async function enqueueScheduledTaskNotice(opts) {
|
|
|
5451
5451
|
task_id: opts.taskId,
|
|
5452
5452
|
card_id: opts.cardId,
|
|
5453
5453
|
content: opts.content,
|
|
5454
|
-
run_id: opts.runId ?? void 0
|
|
5454
|
+
run_id: opts.runId ?? void 0,
|
|
5455
|
+
task_name: opts.taskName ?? void 0
|
|
5455
5456
|
}
|
|
5456
5457
|
);
|
|
5457
5458
|
return res.ok === true;
|
|
@@ -5836,7 +5837,13 @@ async function routeScheduledTaskViaKanban(codeName, agentId, task, prompt, dura
|
|
|
5836
5837
|
taskId: task.taskId,
|
|
5837
5838
|
cardId: kanban_item_id,
|
|
5838
5839
|
content: nudge,
|
|
5839
|
-
runId: run_id
|
|
5840
|
+
runId: run_id,
|
|
5841
|
+
// ENG-8295: `content` above is written TO THE AGENT - imperatives, the raw
|
|
5842
|
+
// card id, a literal kanban_move(...) call - and the user was reading it
|
|
5843
|
+
// verbatim in Direct Chat. The API substitutes a one-line summary on the
|
|
5844
|
+
// READ side (the notice row is the agent's wake rail, so it cannot simply
|
|
5845
|
+
// not be written); the name lets that summary say WHICH task fired.
|
|
5846
|
+
taskName: task.name
|
|
5840
5847
|
});
|
|
5841
5848
|
if (!enqueued) {
|
|
5842
5849
|
log(`[scheduled-kanban] durable nudge enqueue failed for task '${task.name}' on '${codeName}' \u2014 closing card + run`);
|
|
@@ -10057,7 +10064,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
10057
10064
|
var lastVersionCheckAt = 0;
|
|
10058
10065
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
10059
10066
|
var lastResponsivenessProbeAt = 0;
|
|
10060
|
-
var agtCliVersion = true ? "0.28.
|
|
10067
|
+
var agtCliVersion = true ? "0.28.478" : "dev";
|
|
10061
10068
|
function resolveBrewPath(execFileSync2) {
|
|
10062
10069
|
try {
|
|
10063
10070
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -11220,7 +11227,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
11220
11227
|
if (codeNames.length === 0) return;
|
|
11221
11228
|
void (async () => {
|
|
11222
11229
|
try {
|
|
11223
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11230
|
+
const { collectDiagnostics } = await import("../persistent-session-FQKD2RA6.js");
|
|
11224
11231
|
await api.post("/host/heartbeat", {
|
|
11225
11232
|
host_id: hostId,
|
|
11226
11233
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -11327,7 +11334,7 @@ async function pollCycle() {
|
|
|
11327
11334
|
}
|
|
11328
11335
|
try {
|
|
11329
11336
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
11330
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11337
|
+
const { collectDiagnostics } = await import("../persistent-session-FQKD2RA6.js");
|
|
11331
11338
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
11332
11339
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor) : void 0;
|
|
11333
11340
|
let tailscaleHostname;
|
|
@@ -11441,7 +11448,7 @@ async function pollCycle() {
|
|
|
11441
11448
|
collectResponsivenessProbes,
|
|
11442
11449
|
collectPanelessActivityProbes,
|
|
11443
11450
|
getResponsivenessIntervalMs
|
|
11444
|
-
} = await import("../responsiveness-probe-
|
|
11451
|
+
} = await import("../responsiveness-probe-JQUE3XQG.js");
|
|
11445
11452
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
11446
11453
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
11447
11454
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -11505,7 +11512,7 @@ async function pollCycle() {
|
|
|
11505
11512
|
collectResponsivenessProbes,
|
|
11506
11513
|
livePendingInboundOldestAgeSeconds,
|
|
11507
11514
|
parkPendingInbound
|
|
11508
|
-
} = await import("../responsiveness-probe-
|
|
11515
|
+
} = await import("../responsiveness-probe-JQUE3XQG.js");
|
|
11509
11516
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
11510
11517
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
11511
11518
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -14981,7 +14988,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
14981
14988
|
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}`));
|
|
14982
14989
|
void (async () => {
|
|
14983
14990
|
try {
|
|
14984
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
14991
|
+
const { collectDiagnostics } = await import("../persistent-session-FQKD2RA6.js");
|
|
14985
14992
|
await api.post("/host/heartbeat", {
|
|
14986
14993
|
host_id: hostId,
|
|
14987
14994
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -15031,7 +15038,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
15031
15038
|
}
|
|
15032
15039
|
try {
|
|
15033
15040
|
const hostId = await getHostId();
|
|
15034
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15041
|
+
const { collectDiagnostics } = await import("../persistent-session-FQKD2RA6.js");
|
|
15035
15042
|
await api.post("/host/heartbeat", {
|
|
15036
15043
|
host_id: hostId,
|
|
15037
15044
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -15489,7 +15496,7 @@ async function processClaudePairSessions(agents) {
|
|
|
15489
15496
|
killPairSession,
|
|
15490
15497
|
pairTmuxSession,
|
|
15491
15498
|
finalizeClaudePairOnboarding
|
|
15492
|
-
} = await import("../claude-pair-runtime-
|
|
15499
|
+
} = await import("../claude-pair-runtime-UA3ZZQ2V.js");
|
|
15493
15500
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
15494
15501
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
15495
15502
|
const killed = await killPairSession(pairTmuxSession(pairId));
|