@integrity-labs/agt-cli 0.28.382 → 0.28.383
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-EP6TURK5.js → chunk-Q433LFRY.js} +12 -1
- package/dist/chunk-Q433LFRY.js.map +1 -0
- package/dist/{chunk-DXFM62EZ.js → chunk-RBXCFAWL.js} +3 -3
- package/dist/{claude-pair-runtime-YF3ZEFKV.js → claude-pair-runtime-PERAQ2PL.js} +2 -2
- package/dist/lib/manager-worker.js +10 -10
- 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-FZF7EPUW.js → persistent-session-4LAOXUQD.js} +2 -2
- package/dist/{responsiveness-probe-JYF7XPI2.js → responsiveness-probe-XLANB346.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-EP6TURK5.js.map +0 -1
- /package/dist/{chunk-DXFM62EZ.js.map → chunk-RBXCFAWL.js.map} +0 -0
- /package/dist/{claude-pair-runtime-YF3ZEFKV.js.map → claude-pair-runtime-PERAQ2PL.js.map} +0 -0
- /package/dist/{persistent-session-FZF7EPUW.js.map → persistent-session-4LAOXUQD.js.map} +0 -0
- /package/dist/{responsiveness-probe-JYF7XPI2.js.map → responsiveness-probe-XLANB346.js.map} +0 -0
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
resolveConnectivityProbe,
|
|
26
26
|
worseConnectivityOutcome,
|
|
27
27
|
wrapScheduledTaskPrompt
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-Q433LFRY.js";
|
|
29
29
|
import {
|
|
30
30
|
parsePsRows
|
|
31
31
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -6184,7 +6184,7 @@ function requireHost() {
|
|
|
6184
6184
|
}
|
|
6185
6185
|
|
|
6186
6186
|
// src/lib/api-client.ts
|
|
6187
|
-
var agtCliVersion = true ? "0.28.
|
|
6187
|
+
var agtCliVersion = true ? "0.28.383" : "dev";
|
|
6188
6188
|
var lastConfigHash = null;
|
|
6189
6189
|
function setConfigHash(hash) {
|
|
6190
6190
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8630,4 +8630,4 @@ export {
|
|
|
8630
8630
|
managerInstallSystemUnitCommand,
|
|
8631
8631
|
managerUninstallSystemUnitCommand
|
|
8632
8632
|
};
|
|
8633
|
-
//# sourceMappingURL=chunk-
|
|
8633
|
+
//# sourceMappingURL=chunk-RBXCFAWL.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-4LAOXUQD.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-PERAQ2PL.js.map
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
resolveEffectivePinRaw,
|
|
44
44
|
safeWriteJsonAtomic,
|
|
45
45
|
setConfigHash
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-RBXCFAWL.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-Q433LFRY.js";
|
|
149
149
|
import {
|
|
150
150
|
reapOrphanChannelMcps
|
|
151
151
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -9120,7 +9120,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
9120
9120
|
var lastVersionCheckAt = 0;
|
|
9121
9121
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
9122
9122
|
var lastResponsivenessProbeAt = 0;
|
|
9123
|
-
var agtCliVersion = true ? "0.28.
|
|
9123
|
+
var agtCliVersion = true ? "0.28.383" : "dev";
|
|
9124
9124
|
function resolveBrewPath(execFileSync2) {
|
|
9125
9125
|
try {
|
|
9126
9126
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -10249,7 +10249,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
10249
10249
|
if (codeNames.length === 0) return;
|
|
10250
10250
|
void (async () => {
|
|
10251
10251
|
try {
|
|
10252
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10252
|
+
const { collectDiagnostics } = await import("../persistent-session-4LAOXUQD.js");
|
|
10253
10253
|
await api.post("/host/heartbeat", {
|
|
10254
10254
|
host_id: hostId,
|
|
10255
10255
|
agent_diagnostics: collectDiagnostics(codeNames)
|
|
@@ -10348,7 +10348,7 @@ async function pollCycle() {
|
|
|
10348
10348
|
}
|
|
10349
10349
|
try {
|
|
10350
10350
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
10351
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10351
|
+
const { collectDiagnostics } = await import("../persistent-session-4LAOXUQD.js");
|
|
10352
10352
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
10353
10353
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
10354
10354
|
let tailscaleHostname;
|
|
@@ -10503,7 +10503,7 @@ async function pollCycle() {
|
|
|
10503
10503
|
const {
|
|
10504
10504
|
collectResponsivenessProbes,
|
|
10505
10505
|
getResponsivenessIntervalMs
|
|
10506
|
-
} = await import("../responsiveness-probe-
|
|
10506
|
+
} = await import("../responsiveness-probe-XLANB346.js");
|
|
10507
10507
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
10508
10508
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
10509
10509
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -10535,7 +10535,7 @@ async function pollCycle() {
|
|
|
10535
10535
|
collectResponsivenessProbes,
|
|
10536
10536
|
livePendingInboundOldestAgeSeconds,
|
|
10537
10537
|
parkPendingInbound
|
|
10538
|
-
} = await import("../responsiveness-probe-
|
|
10538
|
+
} = await import("../responsiveness-probe-XLANB346.js");
|
|
10539
10539
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-HYOOQV4A.js");
|
|
10540
10540
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
10541
10541
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -13730,7 +13730,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
13730
13730
|
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}`));
|
|
13731
13731
|
void (async () => {
|
|
13732
13732
|
try {
|
|
13733
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13733
|
+
const { collectDiagnostics } = await import("../persistent-session-4LAOXUQD.js");
|
|
13734
13734
|
await api.post("/host/heartbeat", {
|
|
13735
13735
|
host_id: hostId,
|
|
13736
13736
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -13780,7 +13780,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
13780
13780
|
}
|
|
13781
13781
|
try {
|
|
13782
13782
|
const hostId = await getHostId();
|
|
13783
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13783
|
+
const { collectDiagnostics } = await import("../persistent-session-4LAOXUQD.js");
|
|
13784
13784
|
await api.post("/host/heartbeat", {
|
|
13785
13785
|
host_id: hostId,
|
|
13786
13786
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -14233,7 +14233,7 @@ async function processClaudePairSessions(agents) {
|
|
|
14233
14233
|
killPairSession,
|
|
14234
14234
|
pairTmuxSession,
|
|
14235
14235
|
finalizeClaudePairOnboarding
|
|
14236
|
-
} = await import("../claude-pair-runtime-
|
|
14236
|
+
} = await import("../claude-pair-runtime-PERAQ2PL.js");
|
|
14237
14237
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
14238
14238
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
14239
14239
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -32566,6 +32566,17 @@ var TIER_PATTERNS = [
|
|
|
32566
32566
|
// `write` (_CREATE), `list_credentials` hits `admin` (_CREDENTIAL).
|
|
32567
32567
|
// ENG-7684.
|
|
32568
32568
|
p(new RegExp(`^(${READ_VERBS})[_-]`, "i")),
|
|
32569
|
+
// Reach-estimate GENERATION is a read-analytics operation, not a content
|
|
32570
|
+
// mutation: it starts an async unique-listener estimate (nothing is
|
|
32571
|
+
// created or changed) and the result is polled via a separate `get_*`.
|
|
32572
|
+
// The bare `generate` verb isn't in the read set, so without this these
|
|
32573
|
+
// fall through to the `write` fallback and read as mutations (ENG-8009).
|
|
32574
|
+
// Anchored to the `generate_<entity>_reach_estimate` shape so it only ever
|
|
32575
|
+
// matches analytics estimate triggers (Omny: generate_{org,program,clip}_
|
|
32576
|
+
// reach_estimate), never a genuine generator like `generate_video`. Read
|
|
32577
|
+
// is lowest-precedence, so a name that also matches a stricter pattern
|
|
32578
|
+
// (e.g. a hypothetical `delete_..._reach_estimate`) still wins there.
|
|
32579
|
+
p(/^generate_[a-z]+_reach_estimate$/i),
|
|
32569
32580
|
// `report-*` (xero's `report-profit-and-loss`) — not a read verb but a
|
|
32570
32581
|
// read-shaped native prefix. Anchored so it can't match report-* writers.
|
|
32571
32582
|
p(/^report-/i),
|
package/dist/mcp/origami.js
CHANGED
|
@@ -38266,6 +38266,17 @@ var TIER_PATTERNS = [
|
|
|
38266
38266
|
// `write` (_CREATE), `list_credentials` hits `admin` (_CREDENTIAL).
|
|
38267
38267
|
// ENG-7684.
|
|
38268
38268
|
p(new RegExp(`^(${READ_VERBS})[_-]`, "i")),
|
|
38269
|
+
// Reach-estimate GENERATION is a read-analytics operation, not a content
|
|
38270
|
+
// mutation: it starts an async unique-listener estimate (nothing is
|
|
38271
|
+
// created or changed) and the result is polled via a separate `get_*`.
|
|
38272
|
+
// The bare `generate` verb isn't in the read set, so without this these
|
|
38273
|
+
// fall through to the `write` fallback and read as mutations (ENG-8009).
|
|
38274
|
+
// Anchored to the `generate_<entity>_reach_estimate` shape so it only ever
|
|
38275
|
+
// matches analytics estimate triggers (Omny: generate_{org,program,clip}_
|
|
38276
|
+
// reach_estimate), never a genuine generator like `generate_video`. Read
|
|
38277
|
+
// is lowest-precedence, so a name that also matches a stricter pattern
|
|
38278
|
+
// (e.g. a hypothetical `delete_..._reach_estimate`) still wins there.
|
|
38279
|
+
p(/^generate_[a-z]+_reach_estimate$/i),
|
|
38269
38280
|
// `report-*` (xero's `report-profit-and-loss`) — not a read verb but a
|
|
38270
38281
|
// read-shaped native prefix. Anchored so it can't match report-* writers.
|
|
38271
38282
|
p(/^report-/i),
|
|
@@ -32149,6 +32149,17 @@ var TIER_PATTERNS = [
|
|
|
32149
32149
|
// `write` (_CREATE), `list_credentials` hits `admin` (_CREDENTIAL).
|
|
32150
32150
|
// ENG-7684.
|
|
32151
32151
|
p(new RegExp(`^(${READ_VERBS})[_-]`, "i")),
|
|
32152
|
+
// Reach-estimate GENERATION is a read-analytics operation, not a content
|
|
32153
|
+
// mutation: it starts an async unique-listener estimate (nothing is
|
|
32154
|
+
// created or changed) and the result is polled via a separate `get_*`.
|
|
32155
|
+
// The bare `generate` verb isn't in the read set, so without this these
|
|
32156
|
+
// fall through to the `write` fallback and read as mutations (ENG-8009).
|
|
32157
|
+
// Anchored to the `generate_<entity>_reach_estimate` shape so it only ever
|
|
32158
|
+
// matches analytics estimate triggers (Omny: generate_{org,program,clip}_
|
|
32159
|
+
// reach_estimate), never a genuine generator like `generate_video`. Read
|
|
32160
|
+
// is lowest-precedence, so a name that also matches a stricter pattern
|
|
32161
|
+
// (e.g. a hypothetical `delete_..._reach_estimate`) still wins there.
|
|
32162
|
+
p(/^generate_[a-z]+_reach_estimate$/i),
|
|
32152
32163
|
// `report-*` (xero's `report-profit-and-loss`) — not a read verb but a
|
|
32153
32164
|
// read-shaped native prefix. Anchored so it can't match report-* writers.
|
|
32154
32165
|
p(/^report-/i),
|
|
@@ -32499,6 +32499,17 @@ var TIER_PATTERNS = [
|
|
|
32499
32499
|
// `write` (_CREATE), `list_credentials` hits `admin` (_CREDENTIAL).
|
|
32500
32500
|
// ENG-7684.
|
|
32501
32501
|
p(new RegExp(`^(${READ_VERBS})[_-]`, "i")),
|
|
32502
|
+
// Reach-estimate GENERATION is a read-analytics operation, not a content
|
|
32503
|
+
// mutation: it starts an async unique-listener estimate (nothing is
|
|
32504
|
+
// created or changed) and the result is polled via a separate `get_*`.
|
|
32505
|
+
// The bare `generate` verb isn't in the read set, so without this these
|
|
32506
|
+
// fall through to the `write` fallback and read as mutations (ENG-8009).
|
|
32507
|
+
// Anchored to the `generate_<entity>_reach_estimate` shape so it only ever
|
|
32508
|
+
// matches analytics estimate triggers (Omny: generate_{org,program,clip}_
|
|
32509
|
+
// reach_estimate), never a genuine generator like `generate_video`. Read
|
|
32510
|
+
// is lowest-precedence, so a name that also matches a stricter pattern
|
|
32511
|
+
// (e.g. a hypothetical `delete_..._reach_estimate`) still wins there.
|
|
32512
|
+
p(/^generate_[a-z]+_reach_estimate$/i),
|
|
32502
32513
|
// `report-*` (xero's `report-profit-and-loss`) — not a read verb but a
|
|
32503
32514
|
// read-shaped native prefix. Anchored so it can't match report-* writers.
|
|
32504
32515
|
p(/^report-/i),
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
writeDirectChatSessionState,
|
|
37
37
|
writeEgressAllowlist,
|
|
38
38
|
writePersistentClaudeWrapper
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-Q433LFRY.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-4LAOXUQD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q433LFRY.js";
|
|
4
4
|
import "./chunk-XWVM4KPK.js";
|
|
5
5
|
|
|
6
6
|
// src/lib/responsiveness-probe.ts
|
|
@@ -437,4 +437,4 @@ export {
|
|
|
437
437
|
readAndResetSlackReplyBindingClassifications,
|
|
438
438
|
readAndResetSlackReplyTargetClassifications
|
|
439
439
|
};
|
|
440
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
440
|
+
//# sourceMappingURL=responsiveness-probe-XLANB346.js.map
|