@integrity-labs/agt-cli 0.28.90 → 0.28.92
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-BNQ5JQGO.js → chunk-BXPISVR7.js} +3 -3
- package/dist/{chunk-II75Z6KB.js → chunk-CSTDOXOK.js} +2 -2
- package/dist/{chunk-UB2LZXAL.js → chunk-GLBWCCZD.js} +17 -2
- package/dist/chunk-GLBWCCZD.js.map +1 -0
- package/dist/{claude-pair-runtime-UYTK55XK.js → claude-pair-runtime-FA7DXRHH.js} +2 -2
- package/dist/lib/manager-worker.js +19 -9
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +31 -8
- package/dist/{persistent-session-IODNIQ2L.js → persistent-session-4HWN54DY.js} +3 -3
- package/dist/{responsiveness-probe-SBJXVSQH.js → responsiveness-probe-C2N4UJSE.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-UB2LZXAL.js.map +0 -1
- /package/dist/{chunk-BNQ5JQGO.js.map → chunk-BXPISVR7.js.map} +0 -0
- /package/dist/{chunk-II75Z6KB.js.map → chunk-CSTDOXOK.js.map} +0 -0
- /package/dist/{claude-pair-runtime-UYTK55XK.js.map → claude-pair-runtime-FA7DXRHH.js.map} +0 -0
- /package/dist/{persistent-session-IODNIQ2L.js.map → persistent-session-4HWN54DY.js.map} +0 -0
- /package/dist/{responsiveness-probe-SBJXVSQH.js.map → responsiveness-probe-C2N4UJSE.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-4HWN54DY.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-FA7DXRHH.js.map
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
requireHost,
|
|
29
29
|
safeWriteJsonAtomic,
|
|
30
30
|
setConfigHash
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-BXPISVR7.js";
|
|
32
32
|
import {
|
|
33
33
|
getProjectDir as getProjectDir2,
|
|
34
34
|
getReadyTasks,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
takeWatchdogGiveUpCount,
|
|
67
67
|
takeZombieDetection,
|
|
68
68
|
transcriptActivityAgeSeconds
|
|
69
|
-
} from "../chunk-
|
|
69
|
+
} from "../chunk-CSTDOXOK.js";
|
|
70
70
|
import {
|
|
71
71
|
FLAGS_SCHEMA_VERSION,
|
|
72
72
|
FLAG_REGISTRY,
|
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
resolveDmTarget,
|
|
102
102
|
sumTranscriptUsageInWindow,
|
|
103
103
|
wrapScheduledTaskPrompt
|
|
104
|
-
} from "../chunk-
|
|
104
|
+
} from "../chunk-GLBWCCZD.js";
|
|
105
105
|
import {
|
|
106
106
|
parsePsRows,
|
|
107
107
|
reapOrphanChannelMcps
|
|
@@ -6910,7 +6910,7 @@ var cachedMaintenanceWindow = null;
|
|
|
6910
6910
|
var lastVersionCheckAt = 0;
|
|
6911
6911
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
6912
6912
|
var lastResponsivenessProbeAt = 0;
|
|
6913
|
-
var agtCliVersion = true ? "0.28.
|
|
6913
|
+
var agtCliVersion = true ? "0.28.92" : "dev";
|
|
6914
6914
|
function resolveBrewPath(execFileSync4) {
|
|
6915
6915
|
try {
|
|
6916
6916
|
const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -8021,7 +8021,7 @@ async function pollCycle() {
|
|
|
8021
8021
|
}
|
|
8022
8022
|
try {
|
|
8023
8023
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
8024
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
8024
|
+
const { collectDiagnostics } = await import("../persistent-session-4HWN54DY.js");
|
|
8025
8025
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
8026
8026
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
8027
8027
|
let tailscaleHostname;
|
|
@@ -8122,7 +8122,7 @@ async function pollCycle() {
|
|
|
8122
8122
|
const {
|
|
8123
8123
|
collectResponsivenessProbes,
|
|
8124
8124
|
getResponsivenessIntervalMs
|
|
8125
|
-
} = await import("../responsiveness-probe-
|
|
8125
|
+
} = await import("../responsiveness-probe-C2N4UJSE.js");
|
|
8126
8126
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
8127
8127
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
8128
8128
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -8154,7 +8154,7 @@ async function pollCycle() {
|
|
|
8154
8154
|
collectResponsivenessProbes,
|
|
8155
8155
|
livePendingInboundOldestAgeSeconds,
|
|
8156
8156
|
parkPendingInbound
|
|
8157
|
-
} = await import("../responsiveness-probe-
|
|
8157
|
+
} = await import("../responsiveness-probe-C2N4UJSE.js");
|
|
8158
8158
|
const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
|
|
8159
8159
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
8160
8160
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -9431,7 +9431,17 @@ async function processAgent(agent, agentStates) {
|
|
|
9431
9431
|
// AGT_API_KEY to every spawn env (getApiKey()); Claude Code
|
|
9432
9432
|
// substitutes at MCP-launch. No literal in .mcp.json.
|
|
9433
9433
|
AGT_API_KEY: "${AGT_API_KEY}",
|
|
9434
|
-
AGT_AGENT_ID: agent.agent_id
|
|
9434
|
+
AGT_AGENT_ID: agent.agent_id,
|
|
9435
|
+
// ENG-6587 (D16): per-turn initiator marker path. The direct-chat MCP
|
|
9436
|
+
// (writer) and the broker MCPs (readers) share no other state-dir env,
|
|
9437
|
+
// so we inject the SAME absolute path buildMcpJson gives the brokers:
|
|
9438
|
+
// ~/.augmented/<codeName>/.current-turn-initiator.json. Note getAgentDir
|
|
9439
|
+
// returns the agent root (NOT the /provision subdir `agentDir` points at),
|
|
9440
|
+
// so it byte-matches the broker readers' path.
|
|
9441
|
+
AGT_TURN_INITIATOR_FILE: join16(
|
|
9442
|
+
frameworkAdapter.getAgentDir(agent.code_name),
|
|
9443
|
+
".current-turn-initiator.json"
|
|
9444
|
+
)
|
|
9435
9445
|
};
|
|
9436
9446
|
if (directChatTz) directChatEnv["TZ"] = directChatTz;
|
|
9437
9447
|
if (!frameworkAdapter.writeMcpServer) {
|
|
@@ -11625,7 +11635,7 @@ async function processClaudePairSessions(agents) {
|
|
|
11625
11635
|
killPairSession,
|
|
11626
11636
|
pairTmuxSession,
|
|
11627
11637
|
finalizeClaudePairOnboarding
|
|
11628
|
-
} = await import("../claude-pair-runtime-
|
|
11638
|
+
} = await import("../claude-pair-runtime-FA7DXRHH.js");
|
|
11629
11639
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
11630
11640
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
11631
11641
|
const killed = await killPairSession(pairTmuxSession(pairId));
|