@integrity-labs/agt-cli 0.28.349 → 0.28.350
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-ZGY4ADGS.js → chunk-EUDBJHMA.js} +5 -3
- package/dist/chunk-EUDBJHMA.js.map +1 -0
- package/dist/{chunk-ZQLWQDUG.js → chunk-LM2RJRAT.js} +3 -3
- package/dist/{claude-pair-runtime-LGKYHBI2.js → claude-pair-runtime-FCW6HWAR.js} +2 -2
- package/dist/lib/manager-worker.js +10 -10
- package/dist/mcp/direct-chat-channel.js +4 -2
- package/dist/mcp/origami.js +4 -2
- package/dist/mcp/slack-channel.js +4 -2
- package/dist/mcp/telegram-channel.js +4 -2
- package/dist/{persistent-session-G22EFMQM.js → persistent-session-CBWLRSM5.js} +2 -2
- package/dist/{responsiveness-probe-HXZFFAGD.js → responsiveness-probe-56WUFX3U.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-ZGY4ADGS.js.map +0 -1
- /package/dist/{chunk-ZQLWQDUG.js.map → chunk-LM2RJRAT.js.map} +0 -0
- /package/dist/{claude-pair-runtime-LGKYHBI2.js.map → claude-pair-runtime-FCW6HWAR.js.map} +0 -0
- /package/dist/{persistent-session-G22EFMQM.js.map → persistent-session-CBWLRSM5.js.map} +0 -0
- /package/dist/{responsiveness-probe-HXZFFAGD.js.map → responsiveness-probe-56WUFX3U.js.map} +0 -0
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
resolveConnectivityProbe,
|
|
21
21
|
worseConnectivityOutcome,
|
|
22
22
|
wrapScheduledTaskPrompt
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-EUDBJHMA.js";
|
|
24
24
|
import {
|
|
25
25
|
parsePsRows
|
|
26
26
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -7111,7 +7111,7 @@ function requireHost() {
|
|
|
7111
7111
|
}
|
|
7112
7112
|
|
|
7113
7113
|
// src/lib/api-client.ts
|
|
7114
|
-
var agtCliVersion = true ? "0.28.
|
|
7114
|
+
var agtCliVersion = true ? "0.28.350" : "dev";
|
|
7115
7115
|
var lastConfigHash = null;
|
|
7116
7116
|
function setConfigHash(hash) {
|
|
7117
7117
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -9560,4 +9560,4 @@ export {
|
|
|
9560
9560
|
managerInstallSystemUnitCommand,
|
|
9561
9561
|
managerUninstallSystemUnitCommand
|
|
9562
9562
|
};
|
|
9563
|
-
//# sourceMappingURL=chunk-
|
|
9563
|
+
//# sourceMappingURL=chunk-LM2RJRAT.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-CBWLRSM5.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-FCW6HWAR.js.map
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
resolveEffectivePinRaw,
|
|
47
47
|
safeWriteJsonAtomic,
|
|
48
48
|
setConfigHash
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-LM2RJRAT.js";
|
|
50
50
|
import {
|
|
51
51
|
getProjectDir as getProjectDir2,
|
|
52
52
|
getReadyTasks,
|
|
@@ -137,7 +137,7 @@ import {
|
|
|
137
137
|
takeZombieDetection,
|
|
138
138
|
transcriptActivityAgeSeconds,
|
|
139
139
|
writeEgressAllowlist
|
|
140
|
-
} from "../chunk-
|
|
140
|
+
} from "../chunk-EUDBJHMA.js";
|
|
141
141
|
import {
|
|
142
142
|
reapOrphanChannelMcps
|
|
143
143
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -9303,7 +9303,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
9303
9303
|
var lastVersionCheckAt = 0;
|
|
9304
9304
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
9305
9305
|
var lastResponsivenessProbeAt = 0;
|
|
9306
|
-
var agtCliVersion = true ? "0.28.
|
|
9306
|
+
var agtCliVersion = true ? "0.28.350" : "dev";
|
|
9307
9307
|
function resolveBrewPath(execFileSync2) {
|
|
9308
9308
|
try {
|
|
9309
9309
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -10268,7 +10268,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
10268
10268
|
if (codeNames.length === 0) return;
|
|
10269
10269
|
void (async () => {
|
|
10270
10270
|
try {
|
|
10271
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10271
|
+
const { collectDiagnostics } = await import("../persistent-session-CBWLRSM5.js");
|
|
10272
10272
|
await api.post("/host/heartbeat", {
|
|
10273
10273
|
host_id: hostId,
|
|
10274
10274
|
agent_diagnostics: collectDiagnostics(codeNames)
|
|
@@ -10367,7 +10367,7 @@ async function pollCycle() {
|
|
|
10367
10367
|
}
|
|
10368
10368
|
try {
|
|
10369
10369
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
10370
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10370
|
+
const { collectDiagnostics } = await import("../persistent-session-CBWLRSM5.js");
|
|
10371
10371
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
10372
10372
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
10373
10373
|
let tailscaleHostname;
|
|
@@ -10522,7 +10522,7 @@ async function pollCycle() {
|
|
|
10522
10522
|
const {
|
|
10523
10523
|
collectResponsivenessProbes,
|
|
10524
10524
|
getResponsivenessIntervalMs
|
|
10525
|
-
} = await import("../responsiveness-probe-
|
|
10525
|
+
} = await import("../responsiveness-probe-56WUFX3U.js");
|
|
10526
10526
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
10527
10527
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
10528
10528
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -10554,7 +10554,7 @@ async function pollCycle() {
|
|
|
10554
10554
|
collectResponsivenessProbes,
|
|
10555
10555
|
livePendingInboundOldestAgeSeconds,
|
|
10556
10556
|
parkPendingInbound
|
|
10557
|
-
} = await import("../responsiveness-probe-
|
|
10557
|
+
} = await import("../responsiveness-probe-56WUFX3U.js");
|
|
10558
10558
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-HYOOQV4A.js");
|
|
10559
10559
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
10560
10560
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -13668,7 +13668,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
13668
13668
|
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}`));
|
|
13669
13669
|
void (async () => {
|
|
13670
13670
|
try {
|
|
13671
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13671
|
+
const { collectDiagnostics } = await import("../persistent-session-CBWLRSM5.js");
|
|
13672
13672
|
await api.post("/host/heartbeat", {
|
|
13673
13673
|
host_id: hostId,
|
|
13674
13674
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -13718,7 +13718,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
13718
13718
|
}
|
|
13719
13719
|
try {
|
|
13720
13720
|
const hostId = await getHostId();
|
|
13721
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13721
|
+
const { collectDiagnostics } = await import("../persistent-session-CBWLRSM5.js");
|
|
13722
13722
|
await api.post("/host/heartbeat", {
|
|
13723
13723
|
host_id: hostId,
|
|
13724
13724
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -14216,7 +14216,7 @@ async function processClaudePairSessions(agents) {
|
|
|
14216
14216
|
killPairSession,
|
|
14217
14217
|
pairTmuxSession,
|
|
14218
14218
|
finalizeClaudePairOnboarding
|
|
14219
|
-
} = await import("../claude-pair-runtime-
|
|
14219
|
+
} = await import("../claude-pair-runtime-FCW6HWAR.js");
|
|
14220
14220
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
14221
14221
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
14222
14222
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -32062,7 +32062,8 @@ var ROLE_PERMISSIONS = {
|
|
|
32062
32062
|
"project.create",
|
|
32063
32063
|
"project.edit",
|
|
32064
32064
|
"workflow.author",
|
|
32065
|
-
"workflow.promote"
|
|
32065
|
+
"workflow.promote",
|
|
32066
|
+
"guardrail.author"
|
|
32066
32067
|
],
|
|
32067
32068
|
admin: [
|
|
32068
32069
|
"team.manage_members",
|
|
@@ -32088,7 +32089,8 @@ var ROLE_PERMISSIONS = {
|
|
|
32088
32089
|
"project.create",
|
|
32089
32090
|
"project.edit",
|
|
32090
32091
|
"workflow.author",
|
|
32091
|
-
"workflow.promote"
|
|
32092
|
+
"workflow.promote",
|
|
32093
|
+
"guardrail.author"
|
|
32092
32094
|
],
|
|
32093
32095
|
member: [
|
|
32094
32096
|
"agent.create",
|
package/dist/mcp/origami.js
CHANGED
|
@@ -37861,7 +37861,8 @@ var ROLE_PERMISSIONS = {
|
|
|
37861
37861
|
"project.create",
|
|
37862
37862
|
"project.edit",
|
|
37863
37863
|
"workflow.author",
|
|
37864
|
-
"workflow.promote"
|
|
37864
|
+
"workflow.promote",
|
|
37865
|
+
"guardrail.author"
|
|
37865
37866
|
],
|
|
37866
37867
|
admin: [
|
|
37867
37868
|
"team.manage_members",
|
|
@@ -37887,7 +37888,8 @@ var ROLE_PERMISSIONS = {
|
|
|
37887
37888
|
"project.create",
|
|
37888
37889
|
"project.edit",
|
|
37889
37890
|
"workflow.author",
|
|
37890
|
-
"workflow.promote"
|
|
37891
|
+
"workflow.promote",
|
|
37892
|
+
"guardrail.author"
|
|
37891
37893
|
],
|
|
37892
37894
|
member: [
|
|
37893
37895
|
"agent.create",
|
|
@@ -31744,7 +31744,8 @@ var ROLE_PERMISSIONS = {
|
|
|
31744
31744
|
"project.create",
|
|
31745
31745
|
"project.edit",
|
|
31746
31746
|
"workflow.author",
|
|
31747
|
-
"workflow.promote"
|
|
31747
|
+
"workflow.promote",
|
|
31748
|
+
"guardrail.author"
|
|
31748
31749
|
],
|
|
31749
31750
|
admin: [
|
|
31750
31751
|
"team.manage_members",
|
|
@@ -31770,7 +31771,8 @@ var ROLE_PERMISSIONS = {
|
|
|
31770
31771
|
"project.create",
|
|
31771
31772
|
"project.edit",
|
|
31772
31773
|
"workflow.author",
|
|
31773
|
-
"workflow.promote"
|
|
31774
|
+
"workflow.promote",
|
|
31775
|
+
"guardrail.author"
|
|
31774
31776
|
],
|
|
31775
31777
|
member: [
|
|
31776
31778
|
"agent.create",
|
|
@@ -32094,7 +32094,8 @@ var ROLE_PERMISSIONS = {
|
|
|
32094
32094
|
"project.create",
|
|
32095
32095
|
"project.edit",
|
|
32096
32096
|
"workflow.author",
|
|
32097
|
-
"workflow.promote"
|
|
32097
|
+
"workflow.promote",
|
|
32098
|
+
"guardrail.author"
|
|
32098
32099
|
],
|
|
32099
32100
|
admin: [
|
|
32100
32101
|
"team.manage_members",
|
|
@@ -32120,7 +32121,8 @@ var ROLE_PERMISSIONS = {
|
|
|
32120
32121
|
"project.create",
|
|
32121
32122
|
"project.edit",
|
|
32122
32123
|
"workflow.author",
|
|
32123
|
-
"workflow.promote"
|
|
32124
|
+
"workflow.promote",
|
|
32125
|
+
"guardrail.author"
|
|
32124
32126
|
],
|
|
32125
32127
|
member: [
|
|
32126
32128
|
"agent.create",
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
writeDirectChatSessionState,
|
|
37
37
|
writeEgressAllowlist,
|
|
38
38
|
writePersistentClaudeWrapper
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-EUDBJHMA.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-CBWLRSM5.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EUDBJHMA.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-56WUFX3U.js.map
|