@integrity-labs/agt-cli 0.28.454 → 0.28.455
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-23E2T5UT.js → chunk-4X4JXF4D.js} +3 -3
- package/dist/{chunk-3NJHNIO3.js → chunk-UIUYOGPK.js} +17 -2
- package/dist/{chunk-3NJHNIO3.js.map → chunk-UIUYOGPK.js.map} +1 -1
- package/dist/{claude-pair-runtime-NRKOKQYR.js → claude-pair-runtime-PHAR4IF4.js} +2 -2
- package/dist/lib/manager-worker.js +10 -10
- package/dist/mcp/direct-chat-channel.js +16 -1
- package/dist/mcp/origami.js +18 -2
- package/dist/mcp/slack-channel.js +16 -1
- package/dist/mcp/telegram-channel.js +16 -1
- package/dist/{persistent-session-X5N7UFEF.js → persistent-session-Z2UQ4VVF.js} +2 -2
- package/dist/{responsiveness-probe-OAZ55KPC.js → responsiveness-probe-WCF2QEVT.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-23E2T5UT.js.map → chunk-4X4JXF4D.js.map} +0 -0
- /package/dist/{claude-pair-runtime-NRKOKQYR.js.map → claude-pair-runtime-PHAR4IF4.js.map} +0 -0
- /package/dist/{persistent-session-X5N7UFEF.js.map → persistent-session-Z2UQ4VVF.js.map} +0 -0
- /package/dist/{responsiveness-probe-OAZ55KPC.js.map → responsiveness-probe-WCF2QEVT.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-Z2UQ4VVF.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-PHAR4IF4.js.map
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
resolveEffectivePinRaw,
|
|
43
43
|
safeWriteJsonAtomic,
|
|
44
44
|
setConfigHash
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-4X4JXF4D.js";
|
|
46
46
|
import {
|
|
47
47
|
getProjectDir as getProjectDir2,
|
|
48
48
|
getReadyTasks,
|
|
@@ -164,7 +164,7 @@ import {
|
|
|
164
164
|
toOpencodeModel,
|
|
165
165
|
transcriptActivityAgeSeconds,
|
|
166
166
|
writeEgressAllowlist
|
|
167
|
-
} from "../chunk-
|
|
167
|
+
} from "../chunk-UIUYOGPK.js";
|
|
168
168
|
import {
|
|
169
169
|
reapOrphanChannelMcps
|
|
170
170
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -9949,7 +9949,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
9949
9949
|
var lastVersionCheckAt = 0;
|
|
9950
9950
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
9951
9951
|
var lastResponsivenessProbeAt = 0;
|
|
9952
|
-
var agtCliVersion = true ? "0.28.
|
|
9952
|
+
var agtCliVersion = true ? "0.28.455" : "dev";
|
|
9953
9953
|
function resolveBrewPath(execFileSync2) {
|
|
9954
9954
|
try {
|
|
9955
9955
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -11110,7 +11110,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
11110
11110
|
if (codeNames.length === 0) return;
|
|
11111
11111
|
void (async () => {
|
|
11112
11112
|
try {
|
|
11113
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11113
|
+
const { collectDiagnostics } = await import("../persistent-session-Z2UQ4VVF.js");
|
|
11114
11114
|
await api.post("/host/heartbeat", {
|
|
11115
11115
|
host_id: hostId,
|
|
11116
11116
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -11217,7 +11217,7 @@ async function pollCycle() {
|
|
|
11217
11217
|
}
|
|
11218
11218
|
try {
|
|
11219
11219
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
11220
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11220
|
+
const { collectDiagnostics } = await import("../persistent-session-Z2UQ4VVF.js");
|
|
11221
11221
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
11222
11222
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor) : void 0;
|
|
11223
11223
|
let tailscaleHostname;
|
|
@@ -11331,7 +11331,7 @@ async function pollCycle() {
|
|
|
11331
11331
|
collectResponsivenessProbes,
|
|
11332
11332
|
collectPanelessActivityProbes,
|
|
11333
11333
|
getResponsivenessIntervalMs
|
|
11334
|
-
} = await import("../responsiveness-probe-
|
|
11334
|
+
} = await import("../responsiveness-probe-WCF2QEVT.js");
|
|
11335
11335
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
11336
11336
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
11337
11337
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -11395,7 +11395,7 @@ async function pollCycle() {
|
|
|
11395
11395
|
collectResponsivenessProbes,
|
|
11396
11396
|
livePendingInboundOldestAgeSeconds,
|
|
11397
11397
|
parkPendingInbound
|
|
11398
|
-
} = await import("../responsiveness-probe-
|
|
11398
|
+
} = await import("../responsiveness-probe-WCF2QEVT.js");
|
|
11399
11399
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
11400
11400
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
11401
11401
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -14767,7 +14767,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
14767
14767
|
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}`));
|
|
14768
14768
|
void (async () => {
|
|
14769
14769
|
try {
|
|
14770
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
14770
|
+
const { collectDiagnostics } = await import("../persistent-session-Z2UQ4VVF.js");
|
|
14771
14771
|
await api.post("/host/heartbeat", {
|
|
14772
14772
|
host_id: hostId,
|
|
14773
14773
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -14817,7 +14817,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
14817
14817
|
}
|
|
14818
14818
|
try {
|
|
14819
14819
|
const hostId = await getHostId();
|
|
14820
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
14820
|
+
const { collectDiagnostics } = await import("../persistent-session-Z2UQ4VVF.js");
|
|
14821
14821
|
await api.post("/host/heartbeat", {
|
|
14822
14822
|
host_id: hostId,
|
|
14823
14823
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -15270,7 +15270,7 @@ async function processClaudePairSessions(agents) {
|
|
|
15270
15270
|
killPairSession,
|
|
15271
15271
|
pairTmuxSession,
|
|
15272
15272
|
finalizeClaudePairOnboarding
|
|
15273
|
-
} = await import("../claude-pair-runtime-
|
|
15273
|
+
} = await import("../claude-pair-runtime-PHAR4IF4.js");
|
|
15274
15274
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
15275
15275
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
15276
15276
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -35154,7 +35154,22 @@ var FLAG_REGISTRY = [
|
|
|
35154
35154
|
// enforce reroutes a message the agent asked to send to channel root into a
|
|
35155
35155
|
// thread - a visible destination change, so flipping toward it is deliberate
|
|
35156
35156
|
// (ADR-0022 sensitive-flag confirm).
|
|
35157
|
-
sensitive: true
|
|
35157
|
+
sensitive: true,
|
|
35158
|
+
// ENG-8235: the agt-cli whose bundle first carries resolveSlackHotThreadMode.
|
|
35159
|
+
// Without this the flip-reach modal reports FULL reach (an undefined `since`
|
|
35160
|
+
// means "every host can honour it"), which is wrong for a host-read flag that
|
|
35161
|
+
// older hosts have no reader for - and this flag's pending action IS a flip,
|
|
35162
|
+
// once the ENG-7855 soak has data.
|
|
35163
|
+
//
|
|
35164
|
+
// BISECTED from the published npm artifacts rather than inferred from the
|
|
35165
|
+
// merge commit: 0.28.338 lacks the reader; 0.28.339 (2026-07-18T02:48Z) carries
|
|
35166
|
+
// both AGT_SLACK_HOT_THREAD_GUARD_MODE and to_channel_root in
|
|
35167
|
+
// dist/mcp/slack-channel.js. ENG-7462 is usually cited as 0.28.340, but two
|
|
35168
|
+
// publishes fired 8 minutes apart and .339 is the one that shipped the reader;
|
|
35169
|
+
// `since` is a reach THRESHOLD, so .340 would wrongly mark hosts on exactly
|
|
35170
|
+
// .339 as un-reached. Excluded from projectDefinition, so setting it does not
|
|
35171
|
+
// roll FLAGS_SCHEMA_VERSION.
|
|
35172
|
+
since: "0.28.339"
|
|
35158
35173
|
},
|
|
35159
35174
|
{
|
|
35160
35175
|
key: "compaction-notice",
|
package/dist/mcp/origami.js
CHANGED
|
@@ -40499,7 +40499,22 @@ var FLAG_REGISTRY = [
|
|
|
40499
40499
|
// enforce reroutes a message the agent asked to send to channel root into a
|
|
40500
40500
|
// thread - a visible destination change, so flipping toward it is deliberate
|
|
40501
40501
|
// (ADR-0022 sensitive-flag confirm).
|
|
40502
|
-
sensitive: true
|
|
40502
|
+
sensitive: true,
|
|
40503
|
+
// ENG-8235: the agt-cli whose bundle first carries resolveSlackHotThreadMode.
|
|
40504
|
+
// Without this the flip-reach modal reports FULL reach (an undefined `since`
|
|
40505
|
+
// means "every host can honour it"), which is wrong for a host-read flag that
|
|
40506
|
+
// older hosts have no reader for - and this flag's pending action IS a flip,
|
|
40507
|
+
// once the ENG-7855 soak has data.
|
|
40508
|
+
//
|
|
40509
|
+
// BISECTED from the published npm artifacts rather than inferred from the
|
|
40510
|
+
// merge commit: 0.28.338 lacks the reader; 0.28.339 (2026-07-18T02:48Z) carries
|
|
40511
|
+
// both AGT_SLACK_HOT_THREAD_GUARD_MODE and to_channel_root in
|
|
40512
|
+
// dist/mcp/slack-channel.js. ENG-7462 is usually cited as 0.28.340, but two
|
|
40513
|
+
// publishes fired 8 minutes apart and .339 is the one that shipped the reader;
|
|
40514
|
+
// `since` is a reach THRESHOLD, so .340 would wrongly mark hosts on exactly
|
|
40515
|
+
// .339 as un-reached. Excluded from projectDefinition, so setting it does not
|
|
40516
|
+
// roll FLAGS_SCHEMA_VERSION.
|
|
40517
|
+
since: "0.28.339"
|
|
40503
40518
|
},
|
|
40504
40519
|
{
|
|
40505
40520
|
key: "compaction-notice",
|
|
@@ -41231,7 +41246,8 @@ var IdentityResolver = class {
|
|
|
41231
41246
|
);
|
|
41232
41247
|
}
|
|
41233
41248
|
if (res.status >= 400) {
|
|
41234
|
-
|
|
41249
|
+
const explanation = data.detail?.trim() || data.error?.trim() || "";
|
|
41250
|
+
throw new IdentityError(res.status, `Credential fetch failed: ${res.status} ${explanation}`.trim());
|
|
41235
41251
|
}
|
|
41236
41252
|
if (!data.access_token) {
|
|
41237
41253
|
throw new IdentityError(502, "Broker returned 200 but no access_token - API contract mismatch");
|
|
@@ -34762,7 +34762,22 @@ var FLAG_REGISTRY = [
|
|
|
34762
34762
|
// enforce reroutes a message the agent asked to send to channel root into a
|
|
34763
34763
|
// thread - a visible destination change, so flipping toward it is deliberate
|
|
34764
34764
|
// (ADR-0022 sensitive-flag confirm).
|
|
34765
|
-
sensitive: true
|
|
34765
|
+
sensitive: true,
|
|
34766
|
+
// ENG-8235: the agt-cli whose bundle first carries resolveSlackHotThreadMode.
|
|
34767
|
+
// Without this the flip-reach modal reports FULL reach (an undefined `since`
|
|
34768
|
+
// means "every host can honour it"), which is wrong for a host-read flag that
|
|
34769
|
+
// older hosts have no reader for - and this flag's pending action IS a flip,
|
|
34770
|
+
// once the ENG-7855 soak has data.
|
|
34771
|
+
//
|
|
34772
|
+
// BISECTED from the published npm artifacts rather than inferred from the
|
|
34773
|
+
// merge commit: 0.28.338 lacks the reader; 0.28.339 (2026-07-18T02:48Z) carries
|
|
34774
|
+
// both AGT_SLACK_HOT_THREAD_GUARD_MODE and to_channel_root in
|
|
34775
|
+
// dist/mcp/slack-channel.js. ENG-7462 is usually cited as 0.28.340, but two
|
|
34776
|
+
// publishes fired 8 minutes apart and .339 is the one that shipped the reader;
|
|
34777
|
+
// `since` is a reach THRESHOLD, so .340 would wrongly mark hosts on exactly
|
|
34778
|
+
// .339 as un-reached. Excluded from projectDefinition, so setting it does not
|
|
34779
|
+
// roll FLAGS_SCHEMA_VERSION.
|
|
34780
|
+
since: "0.28.339"
|
|
34766
34781
|
},
|
|
34767
34782
|
{
|
|
34768
34783
|
key: "compaction-notice",
|
|
@@ -35064,7 +35064,22 @@ var FLAG_REGISTRY = [
|
|
|
35064
35064
|
// enforce reroutes a message the agent asked to send to channel root into a
|
|
35065
35065
|
// thread - a visible destination change, so flipping toward it is deliberate
|
|
35066
35066
|
// (ADR-0022 sensitive-flag confirm).
|
|
35067
|
-
sensitive: true
|
|
35067
|
+
sensitive: true,
|
|
35068
|
+
// ENG-8235: the agt-cli whose bundle first carries resolveSlackHotThreadMode.
|
|
35069
|
+
// Without this the flip-reach modal reports FULL reach (an undefined `since`
|
|
35070
|
+
// means "every host can honour it"), which is wrong for a host-read flag that
|
|
35071
|
+
// older hosts have no reader for - and this flag's pending action IS a flip,
|
|
35072
|
+
// once the ENG-7855 soak has data.
|
|
35073
|
+
//
|
|
35074
|
+
// BISECTED from the published npm artifacts rather than inferred from the
|
|
35075
|
+
// merge commit: 0.28.338 lacks the reader; 0.28.339 (2026-07-18T02:48Z) carries
|
|
35076
|
+
// both AGT_SLACK_HOT_THREAD_GUARD_MODE and to_channel_root in
|
|
35077
|
+
// dist/mcp/slack-channel.js. ENG-7462 is usually cited as 0.28.340, but two
|
|
35078
|
+
// publishes fired 8 minutes apart and .339 is the one that shipped the reader;
|
|
35079
|
+
// `since` is a reach THRESHOLD, so .340 would wrongly mark hosts on exactly
|
|
35080
|
+
// .339 as un-reached. Excluded from projectDefinition, so setting it does not
|
|
35081
|
+
// roll FLAGS_SCHEMA_VERSION.
|
|
35082
|
+
since: "0.28.339"
|
|
35068
35083
|
},
|
|
35069
35084
|
{
|
|
35070
35085
|
key: "compaction-notice",
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
writeDirectChatSessionState,
|
|
37
37
|
writeEgressAllowlist,
|
|
38
38
|
writePersistentClaudeWrapper
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-UIUYOGPK.js";
|
|
40
40
|
import "./chunk-XWVM4KPK.js";
|
|
41
41
|
export {
|
|
42
42
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -77,4 +77,4 @@ export {
|
|
|
77
77
|
writeEgressAllowlist,
|
|
78
78
|
writePersistentClaudeWrapper
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=persistent-session-
|
|
80
|
+
//# sourceMappingURL=persistent-session-Z2UQ4VVF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UIUYOGPK.js";
|
|
4
4
|
import "./chunk-XWVM4KPK.js";
|
|
5
5
|
|
|
6
6
|
// src/lib/responsiveness-probe.ts
|
|
@@ -528,4 +528,4 @@ export {
|
|
|
528
528
|
readAndResetSlackReplyBindingClassifications,
|
|
529
529
|
readAndResetSlackReplyTargetClassifications
|
|
530
530
|
};
|
|
531
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
531
|
+
//# sourceMappingURL=responsiveness-probe-WCF2QEVT.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|