@integrity-labs/agt-cli 0.28.142 → 0.28.143
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-HKKV7NJD.js → chunk-AEU5FDZW.js} +38 -1
- package/dist/chunk-AEU5FDZW.js.map +1 -0
- package/dist/{chunk-UVCPJVEF.js → chunk-DOZH7UNT.js} +2 -2
- package/dist/{chunk-OXKVXJRT.js → chunk-FY33N3N7.js} +3 -3
- package/dist/{claude-pair-runtime-SBATMO4Y.js → claude-pair-runtime-JUQZBHID.js} +2 -2
- package/dist/lib/manager-worker.js +8 -8
- package/dist/mcp/slack-channel.js +2 -6
- package/dist/{persistent-session-N4KR5IFC.js → persistent-session-KSVMYKBU.js} +3 -3
- package/dist/{responsiveness-probe-MYFNFOB7.js → responsiveness-probe-ZFKT6C3Z.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-HKKV7NJD.js.map +0 -1
- /package/dist/{chunk-UVCPJVEF.js.map → chunk-DOZH7UNT.js.map} +0 -0
- /package/dist/{chunk-OXKVXJRT.js.map → chunk-FY33N3N7.js.map} +0 -0
- /package/dist/{claude-pair-runtime-SBATMO4Y.js.map → claude-pair-runtime-JUQZBHID.js.map} +0 -0
- /package/dist/{persistent-session-N4KR5IFC.js.map → persistent-session-KSVMYKBU.js.map} +0 -0
- /package/dist/{responsiveness-probe-MYFNFOB7.js.map → responsiveness-probe-ZFKT6C3Z.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
formatMissingVar,
|
|
4
4
|
isClaudeFastMode,
|
|
5
5
|
probeMcpEnvSubstitution
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AEU5FDZW.js";
|
|
7
7
|
import {
|
|
8
8
|
reapOrphanChannelMcps
|
|
9
9
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -1589,4 +1589,4 @@ export {
|
|
|
1589
1589
|
stopAllSessionsAndWait,
|
|
1590
1590
|
getProjectDir
|
|
1591
1591
|
};
|
|
1592
|
-
//# sourceMappingURL=chunk-
|
|
1592
|
+
//# sourceMappingURL=chunk-DOZH7UNT.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveConnectivityProbe,
|
|
23
23
|
worseConnectivityOutcome,
|
|
24
24
|
wrapScheduledTaskPrompt
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-AEU5FDZW.js";
|
|
26
26
|
|
|
27
27
|
// ../../packages/core/dist/integrations/registry.js
|
|
28
28
|
var INTEGRATION_REGISTRY = [
|
|
@@ -7746,7 +7746,7 @@ function requireHost() {
|
|
|
7746
7746
|
}
|
|
7747
7747
|
|
|
7748
7748
|
// src/lib/api-client.ts
|
|
7749
|
-
var agtCliVersion = true ? "0.28.
|
|
7749
|
+
var agtCliVersion = true ? "0.28.143" : "dev";
|
|
7750
7750
|
var lastConfigHash = null;
|
|
7751
7751
|
function setConfigHash(hash) {
|
|
7752
7752
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -9043,4 +9043,4 @@ export {
|
|
|
9043
9043
|
managerInstallSystemUnitCommand,
|
|
9044
9044
|
managerUninstallSystemUnitCommand
|
|
9045
9045
|
};
|
|
9046
|
-
//# sourceMappingURL=chunk-
|
|
9046
|
+
//# sourceMappingURL=chunk-FY33N3N7.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-KSVMYKBU.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-JUQZBHID.js.map
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
requireHost,
|
|
29
29
|
safeWriteJsonAtomic,
|
|
30
30
|
setConfigHash
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-FY33N3N7.js";
|
|
32
32
|
import {
|
|
33
33
|
getProjectDir as getProjectDir2,
|
|
34
34
|
getReadyTasks,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
takeZombieDetection,
|
|
73
73
|
transcriptActivityAgeSeconds,
|
|
74
74
|
writeEgressAllowlist
|
|
75
|
-
} from "../chunk-
|
|
75
|
+
} from "../chunk-DOZH7UNT.js";
|
|
76
76
|
import {
|
|
77
77
|
FLAGS_SCHEMA_VERSION,
|
|
78
78
|
FLAG_REGISTRY,
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
resolveDmTarget,
|
|
111
111
|
sumTranscriptUsageInWindow,
|
|
112
112
|
wrapScheduledTaskPrompt
|
|
113
|
-
} from "../chunk-
|
|
113
|
+
} from "../chunk-AEU5FDZW.js";
|
|
114
114
|
import {
|
|
115
115
|
parsePsRows,
|
|
116
116
|
reapOrphanChannelMcps
|
|
@@ -7092,7 +7092,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
7092
7092
|
var lastVersionCheckAt = 0;
|
|
7093
7093
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
7094
7094
|
var lastResponsivenessProbeAt = 0;
|
|
7095
|
-
var agtCliVersion = true ? "0.28.
|
|
7095
|
+
var agtCliVersion = true ? "0.28.143" : "dev";
|
|
7096
7096
|
function resolveBrewPath(execFileSync4) {
|
|
7097
7097
|
try {
|
|
7098
7098
|
const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -8225,7 +8225,7 @@ async function pollCycle() {
|
|
|
8225
8225
|
}
|
|
8226
8226
|
try {
|
|
8227
8227
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
8228
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
8228
|
+
const { collectDiagnostics } = await import("../persistent-session-KSVMYKBU.js");
|
|
8229
8229
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
8230
8230
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
8231
8231
|
let tailscaleHostname;
|
|
@@ -8373,7 +8373,7 @@ async function pollCycle() {
|
|
|
8373
8373
|
const {
|
|
8374
8374
|
collectResponsivenessProbes,
|
|
8375
8375
|
getResponsivenessIntervalMs
|
|
8376
|
-
} = await import("../responsiveness-probe-
|
|
8376
|
+
} = await import("../responsiveness-probe-ZFKT6C3Z.js");
|
|
8377
8377
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
8378
8378
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
8379
8379
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -8405,7 +8405,7 @@ async function pollCycle() {
|
|
|
8405
8405
|
collectResponsivenessProbes,
|
|
8406
8406
|
livePendingInboundOldestAgeSeconds,
|
|
8407
8407
|
parkPendingInbound
|
|
8408
|
-
} = await import("../responsiveness-probe-
|
|
8408
|
+
} = await import("../responsiveness-probe-ZFKT6C3Z.js");
|
|
8409
8409
|
const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
|
|
8410
8410
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
8411
8411
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -11993,7 +11993,7 @@ async function processClaudePairSessions(agents) {
|
|
|
11993
11993
|
killPairSession,
|
|
11994
11994
|
pairTmuxSession,
|
|
11995
11995
|
finalizeClaudePairOnboarding
|
|
11996
|
-
} = await import("../claude-pair-runtime-
|
|
11996
|
+
} = await import("../claude-pair-runtime-JUQZBHID.js");
|
|
11997
11997
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
11998
11998
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
11999
11999
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -15531,12 +15531,8 @@ function createKanbanCardActiveClient(args) {
|
|
|
15531
15531
|
}
|
|
15532
15532
|
|
|
15533
15533
|
// src/slack-reply-threading.ts
|
|
15534
|
-
function isSlackDmChannel(channel) {
|
|
15535
|
-
return typeof channel === "string" && channel.startsWith("D");
|
|
15536
|
-
}
|
|
15537
15534
|
function resolveReplyThreadTs(input) {
|
|
15538
15535
|
if (input.threadTs) return input.threadTs;
|
|
15539
|
-
if (isSlackDmChannel(input.channel)) return void 0;
|
|
15540
15536
|
return input.messageTs || void 0;
|
|
15541
15537
|
}
|
|
15542
15538
|
|
|
@@ -18976,7 +18972,7 @@ var mcp = new Server(
|
|
|
18976
18972
|
`Inbound: <channel ... thread_ts="..." message_ts="..." [thread_context="..."]>. Pass channel + message_ts to slack.reply (and thread_ts on threads). thread_context = thread pre-loaded; ground replies ONLY in it, never another channel's.`,
|
|
18977
18973
|
"Inbound attachments: <channel> `files` is a JSON-serialised array \u2014 JSON.parse it. If an entry has `path`, the image is already downloaded \u2014 Read it directly, do NOT call slack.download_attachment. Use that tool only for entries with `file_id` but NO `path` (PDF, docx, csv): pass file_id + channel verbatim, then Read the returned path. Single-image messages also get a top-level `image_path`. Don't surface internal file-handling errors that don't affect the answer.",
|
|
18978
18974
|
"Address users by user_name, never by raw user ID. In multi-participant threads the CURRENT speaker is the one on the latest <channel> tag.",
|
|
18979
|
-
|
|
18975
|
+
`Always reply in a thread \u2014 pass message_ts and the server threads your reply off it, for channels AND DMs (it creates the thread if one doesn't exist yet). auto_followed="true" \u2192 only reply if useful, OR if your own bot user is @-mentioned (counts even in auto_followed).`,
|
|
18980
18976
|
`Reaction taxonomy (use slack.react sparingly \u2014 prefer a reply): :${SLACK_ACK_REACTION}: = ack (already auto-added on inbound, do not duplicate); \u2705 = success.` + (SKIP_REACTION_ON ? ` "${SLACK_SKIP_REACTION}" = seen but not replying (see below).` : "") + " NEVER react to signal failure of YOUR work \u2014 users can't tell why something failed from an emoji. On failure, slack.reply with one sentence explaining what went wrong (no stack traces, no secrets). (The \u23F3 you may see on an inbound is applied by the system, not you \u2014 it marks a message that arrived while the agent couldn't reply; never add \u23F3 or \u274C yourself.)",
|
|
18981
18977
|
SKIP_REACTION_ON ? `When you read a DM or thread message and decide NOT to reply (different @-mention, side conversation, auto_followed catch-up, or simply nothing useful to add): call slack.react with emoji "${SLACK_SKIP_REACTION}" so the sender knows you saw it \u2014 never post a "this wasn't for me" message. Top-level channel messages (not a DM, not a thread reply) you may still skip silently.` : `When a thread message is NOT addressed to you (different @-mention, side conversation, auto_followed catch-up): SILENTLY SKIP \u2014 no reaction, no reply, no "this wasn't for me" message.`,
|
|
18982
18978
|
"To deliver a file: save under your project dir, call slack.upload_file with path + channel + thread_ts."
|
|
@@ -18998,7 +18994,7 @@ mcp.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
|
18998
18994
|
text: { type: "string", description: "The message to send" },
|
|
18999
18995
|
thread_ts: {
|
|
19000
18996
|
type: "string",
|
|
19001
|
-
description: "Thread timestamp for an existing thread reply (from the thread_ts attribute). Safe to omit:
|
|
18997
|
+
description: "Thread timestamp for an existing thread reply (from the thread_ts attribute). Safe to omit: the server automatically threads your reply off the message you are answering (via message_ts), for channels and DMs alike \u2014 it starts a thread when none exists."
|
|
19002
18998
|
},
|
|
19003
18999
|
// ENG-5861: explicit message_ts so the cleanup gate can match the
|
|
19004
19000
|
// exact pending-inbound marker — necessary because top-level DM
|
|
@@ -34,8 +34,8 @@ import {
|
|
|
34
34
|
writeDirectChatSessionState,
|
|
35
35
|
writeEgressAllowlist,
|
|
36
36
|
writePersistentClaudeWrapper
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-DOZH7UNT.js";
|
|
38
|
+
import "./chunk-AEU5FDZW.js";
|
|
39
39
|
import "./chunk-XWVM4KPK.js";
|
|
40
40
|
export {
|
|
41
41
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -74,4 +74,4 @@ export {
|
|
|
74
74
|
writeEgressAllowlist,
|
|
75
75
|
writePersistentClaudeWrapper
|
|
76
76
|
};
|
|
77
|
-
//# sourceMappingURL=persistent-session-
|
|
77
|
+
//# sourceMappingURL=persistent-session-KSVMYKBU.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-DOZH7UNT.js";
|
|
4
|
+
import "./chunk-AEU5FDZW.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -304,4 +304,4 @@ export {
|
|
|
304
304
|
readAndResetChannelDeflections,
|
|
305
305
|
readAndResetChannelLaneClassifications
|
|
306
306
|
};
|
|
307
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
307
|
+
//# sourceMappingURL=responsiveness-probe-ZFKT6C3Z.js.map
|