@integrity-labs/agt-cli 0.28.282 → 0.28.283
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-C4QMCOAN.js → chunk-CUQUOIPW.js} +28 -4
- package/dist/chunk-CUQUOIPW.js.map +1 -0
- package/dist/{chunk-6SRVCYKR.js → chunk-DDQKILX6.js} +3 -3
- package/dist/{claude-pair-runtime-JOYTDNXZ.js → claude-pair-runtime-ERIXG5MQ.js} +2 -2
- package/dist/lib/manager-worker.js +14 -10
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/index.js +21 -5
- package/dist/mcp/origami.js +17 -1
- package/dist/{persistent-session-7H3IYXXP.js → persistent-session-WRL7JV3G.js} +2 -2
- package/dist/{responsiveness-probe-PFJM4QMQ.js → responsiveness-probe-LSRBQ5OJ.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-C4QMCOAN.js.map +0 -1
- /package/dist/{chunk-6SRVCYKR.js.map → chunk-DDQKILX6.js.map} +0 -0
- /package/dist/{claude-pair-runtime-JOYTDNXZ.js.map → claude-pair-runtime-ERIXG5MQ.js.map} +0 -0
- /package/dist/{persistent-session-7H3IYXXP.js.map → persistent-session-WRL7JV3G.js.map} +0 -0
- /package/dist/{responsiveness-probe-PFJM4QMQ.js.map → responsiveness-probe-LSRBQ5OJ.js.map} +0 -0
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
resolveConnectivityProbe,
|
|
19
19
|
worseConnectivityOutcome,
|
|
20
20
|
wrapScheduledTaskPrompt
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CUQUOIPW.js";
|
|
22
22
|
import {
|
|
23
23
|
parsePsRows
|
|
24
24
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -5882,7 +5882,7 @@ function requireHost() {
|
|
|
5882
5882
|
}
|
|
5883
5883
|
|
|
5884
5884
|
// src/lib/api-client.ts
|
|
5885
|
-
var agtCliVersion = true ? "0.28.
|
|
5885
|
+
var agtCliVersion = true ? "0.28.283" : "dev";
|
|
5886
5886
|
var lastConfigHash = null;
|
|
5887
5887
|
function setConfigHash(hash) {
|
|
5888
5888
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8162,4 +8162,4 @@ export {
|
|
|
8162
8162
|
managerInstallSystemUnitCommand,
|
|
8163
8163
|
managerUninstallSystemUnitCommand
|
|
8164
8164
|
};
|
|
8165
|
-
//# sourceMappingURL=chunk-
|
|
8165
|
+
//# sourceMappingURL=chunk-DDQKILX6.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-WRL7JV3G.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-ERIXG5MQ.js.map
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
requireHost,
|
|
39
39
|
safeWriteJsonAtomic,
|
|
40
40
|
setConfigHash
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-DDQKILX6.js";
|
|
42
42
|
import {
|
|
43
43
|
getProjectDir as getProjectDir2,
|
|
44
44
|
getReadyTasks,
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
takeZombieDetection,
|
|
126
126
|
transcriptActivityAgeSeconds,
|
|
127
127
|
writeEgressAllowlist
|
|
128
|
-
} from "../chunk-
|
|
128
|
+
} from "../chunk-CUQUOIPW.js";
|
|
129
129
|
import {
|
|
130
130
|
reapOrphanChannelMcps
|
|
131
131
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -6886,7 +6886,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
6886
6886
|
var lastVersionCheckAt = 0;
|
|
6887
6887
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
6888
6888
|
var lastResponsivenessProbeAt = 0;
|
|
6889
|
-
var agtCliVersion = true ? "0.28.
|
|
6889
|
+
var agtCliVersion = true ? "0.28.283" : "dev";
|
|
6890
6890
|
function resolveBrewPath(execFileSync2) {
|
|
6891
6891
|
try {
|
|
6892
6892
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -7736,7 +7736,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
7736
7736
|
if (codeNames.length === 0) return;
|
|
7737
7737
|
void (async () => {
|
|
7738
7738
|
try {
|
|
7739
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
7739
|
+
const { collectDiagnostics } = await import("../persistent-session-WRL7JV3G.js");
|
|
7740
7740
|
await api.post("/host/heartbeat", {
|
|
7741
7741
|
host_id: hostId,
|
|
7742
7742
|
agent_diagnostics: collectDiagnostics(codeNames)
|
|
@@ -7834,7 +7834,7 @@ async function pollCycle() {
|
|
|
7834
7834
|
}
|
|
7835
7835
|
try {
|
|
7836
7836
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
7837
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
7837
|
+
const { collectDiagnostics } = await import("../persistent-session-WRL7JV3G.js");
|
|
7838
7838
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
7839
7839
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
7840
7840
|
let tailscaleHostname;
|
|
@@ -7982,7 +7982,7 @@ async function pollCycle() {
|
|
|
7982
7982
|
const {
|
|
7983
7983
|
collectResponsivenessProbes,
|
|
7984
7984
|
getResponsivenessIntervalMs
|
|
7985
|
-
} = await import("../responsiveness-probe-
|
|
7985
|
+
} = await import("../responsiveness-probe-LSRBQ5OJ.js");
|
|
7986
7986
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
7987
7987
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
7988
7988
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -8014,7 +8014,7 @@ async function pollCycle() {
|
|
|
8014
8014
|
collectResponsivenessProbes,
|
|
8015
8015
|
livePendingInboundOldestAgeSeconds,
|
|
8016
8016
|
parkPendingInbound
|
|
8017
|
-
} = await import("../responsiveness-probe-
|
|
8017
|
+
} = await import("../responsiveness-probe-LSRBQ5OJ.js");
|
|
8018
8018
|
const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
|
|
8019
8019
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
8020
8020
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -10669,6 +10669,10 @@ ${truncateForLog(ctx.tail)}` : `; pane_tail_hash=sha256:${createHash11("sha256")
|
|
|
10669
10669
|
// unless an operator env override is already present (which keeps precedence).
|
|
10670
10670
|
slackReplyBindingMode: hostFlagStore().getString("slack-reply-binding"),
|
|
10671
10671
|
blockTurnEndAllMarkers: hostFlagStore().getBoolean("block-turn-end-all-markers"),
|
|
10672
|
+
// ENG-7493 (ADR-0044): materialize kanban-waiting-status into the spawn env
|
|
10673
|
+
// (AGT_KANBAN_WAITING_ENABLED) so the stdio kanban MCP exposes the `waiting`
|
|
10674
|
+
// option. Host-grained (HostFlagStore); the per-org API gate is authoritative.
|
|
10675
|
+
kanbanWaitingEnabled: hostFlagStore().getBoolean("kanban-waiting-status"),
|
|
10672
10676
|
egressAllowlist,
|
|
10673
10677
|
log
|
|
10674
10678
|
});
|
|
@@ -10930,7 +10934,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
10930
10934
|
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}`));
|
|
10931
10935
|
void (async () => {
|
|
10932
10936
|
try {
|
|
10933
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10937
|
+
const { collectDiagnostics } = await import("../persistent-session-WRL7JV3G.js");
|
|
10934
10938
|
await api.post("/host/heartbeat", {
|
|
10935
10939
|
host_id: hostId,
|
|
10936
10940
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -10980,7 +10984,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
10980
10984
|
}
|
|
10981
10985
|
try {
|
|
10982
10986
|
const hostId = await getHostId();
|
|
10983
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10987
|
+
const { collectDiagnostics } = await import("../persistent-session-WRL7JV3G.js");
|
|
10984
10988
|
await api.post("/host/heartbeat", {
|
|
10985
10989
|
host_id: hostId,
|
|
10986
10990
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -11384,7 +11388,7 @@ async function processClaudePairSessions(agents) {
|
|
|
11384
11388
|
killPairSession,
|
|
11385
11389
|
pairTmuxSession,
|
|
11386
11390
|
finalizeClaudePairOnboarding
|
|
11387
|
-
} = await import("../claude-pair-runtime-
|
|
11391
|
+
} = await import("../claude-pair-runtime-ERIXG5MQ.js");
|
|
11388
11392
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
11389
11393
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
11390
11394
|
const killed = await killPairSession(pairTmuxSession(pairId));
|