@integrity-labs/agt-cli 0.28.426 → 0.28.427
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-HXP4I5QZ.js → chunk-NSG3PTR6.js} +8 -1
- package/dist/{chunk-HXP4I5QZ.js.map → chunk-NSG3PTR6.js.map} +1 -1
- package/dist/{chunk-XDODHW3I.js → chunk-QXEUCIOC.js} +3 -3
- package/dist/{claude-pair-runtime-OONIISXX.js → claude-pair-runtime-ITWM6RWY.js} +2 -2
- package/dist/lib/manager-worker.js +19 -14
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +7 -0
- package/dist/mcp/origami.js +7 -0
- package/dist/mcp/slack-channel.js +7 -0
- package/dist/mcp/telegram-channel.js +7 -0
- package/dist/{persistent-session-AKMSEWFL.js → persistent-session-2ZXAKOO4.js} +2 -2
- package/dist/{responsiveness-probe-FAIPVVYA.js → responsiveness-probe-ILEPBUI7.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-XDODHW3I.js.map → chunk-QXEUCIOC.js.map} +0 -0
- /package/dist/{claude-pair-runtime-OONIISXX.js.map → claude-pair-runtime-ITWM6RWY.js.map} +0 -0
- /package/dist/{persistent-session-AKMSEWFL.js.map → persistent-session-2ZXAKOO4.js.map} +0 -0
- /package/dist/{responsiveness-probe-FAIPVVYA.js.map → responsiveness-probe-ILEPBUI7.js.map} +0 -0
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
resolveConnectivityProbe,
|
|
26
26
|
worseConnectivityOutcome,
|
|
27
27
|
wrapScheduledTaskPrompt
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-NSG3PTR6.js";
|
|
29
29
|
import {
|
|
30
30
|
parsePsRows
|
|
31
31
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -6027,7 +6027,7 @@ function requireHost() {
|
|
|
6027
6027
|
}
|
|
6028
6028
|
|
|
6029
6029
|
// src/lib/api-client.ts
|
|
6030
|
-
var agtCliVersion = true ? "0.28.
|
|
6030
|
+
var agtCliVersion = true ? "0.28.427" : "dev";
|
|
6031
6031
|
var lastConfigHash = null;
|
|
6032
6032
|
function setConfigHash(hash) {
|
|
6033
6033
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8531,4 +8531,4 @@ export {
|
|
|
8531
8531
|
managerInstallSystemUnitCommand,
|
|
8532
8532
|
managerUninstallSystemUnitCommand
|
|
8533
8533
|
};
|
|
8534
|
-
//# sourceMappingURL=chunk-
|
|
8534
|
+
//# sourceMappingURL=chunk-QXEUCIOC.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-2ZXAKOO4.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-ITWM6RWY.js.map
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
resolveEffectivePinRaw,
|
|
46
46
|
safeWriteJsonAtomic,
|
|
47
47
|
setConfigHash
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-QXEUCIOC.js";
|
|
49
49
|
import {
|
|
50
50
|
getProjectDir as getProjectDir2,
|
|
51
51
|
getReadyTasks,
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
toOpencodeModel,
|
|
152
152
|
transcriptActivityAgeSeconds,
|
|
153
153
|
writeEgressAllowlist
|
|
154
|
-
} from "../chunk-
|
|
154
|
+
} from "../chunk-NSG3PTR6.js";
|
|
155
155
|
import {
|
|
156
156
|
reapOrphanChannelMcps
|
|
157
157
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -9534,7 +9534,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
9534
9534
|
var lastVersionCheckAt = 0;
|
|
9535
9535
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
9536
9536
|
var lastResponsivenessProbeAt = 0;
|
|
9537
|
-
var agtCliVersion = true ? "0.28.
|
|
9537
|
+
var agtCliVersion = true ? "0.28.427" : "dev";
|
|
9538
9538
|
function resolveBrewPath(execFileSync2) {
|
|
9539
9539
|
try {
|
|
9540
9540
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -10632,14 +10632,16 @@ async function refreshSkillsIndexInClaudeMd(configDir, codeName, log2) {
|
|
|
10632
10632
|
}
|
|
10633
10633
|
}
|
|
10634
10634
|
const body = entries.length ? entries.map((e) => `- **${e.name}** \u2014 ${e.description}`).join("\n") : "_(no skills installed)_";
|
|
10635
|
-
const
|
|
10636
|
-
|
|
10635
|
+
const injectSkillList = hostFlagStore().getBoolean("claude-md-skills-index");
|
|
10636
|
+
const skillList = injectSkillList ? `## Available Skills
|
|
10637
10637
|
|
|
10638
10638
|
The following skills are installed in \`.claude/skills/\`. Claude Code auto-activates them when relevant \u2014 you don't need to read them manually, but you should know they exist.
|
|
10639
10639
|
|
|
10640
10640
|
${body}
|
|
10641
10641
|
|
|
10642
|
-
|
|
10642
|
+
` : "";
|
|
10643
|
+
const section = `${SKILLS_INDEX_START}
|
|
10644
|
+
${skillList}## Updating Integrations (ENG-4341)
|
|
10643
10645
|
|
|
10644
10646
|
Integration skills under \`.claude/skills/integration-*/SKILL.md\` are **read-only** and managed by the platform. They are derived from the integration's database row plus any per-agent context overrides, and are re-rendered every time the manager polls or a context change is broadcast over Supabase Realtime.
|
|
10645
10647
|
|
|
@@ -10662,7 +10664,9 @@ ${SKILLS_INDEX_END}`;
|
|
|
10662
10664
|
}
|
|
10663
10665
|
if (next !== current) {
|
|
10664
10666
|
writeFileSync13(claudeMdPath, next, "utf-8");
|
|
10665
|
-
log2(
|
|
10667
|
+
log2(
|
|
10668
|
+
injectSkillList ? `Refreshed skills index in CLAUDE.md for '${codeName}' (${entries.length} skills)` : `Refreshed CLAUDE.md managed block for '${codeName}' (skill list suppressed by claude-md-skills-index=false; ${entries.length} skills on disk)`
|
|
10669
|
+
);
|
|
10666
10670
|
}
|
|
10667
10671
|
}
|
|
10668
10672
|
var consecutivePollFailures = 0;
|
|
@@ -10682,7 +10686,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
10682
10686
|
if (codeNames.length === 0) return;
|
|
10683
10687
|
void (async () => {
|
|
10684
10688
|
try {
|
|
10685
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10689
|
+
const { collectDiagnostics } = await import("../persistent-session-2ZXAKOO4.js");
|
|
10686
10690
|
await api.post("/host/heartbeat", {
|
|
10687
10691
|
host_id: hostId,
|
|
10688
10692
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor)
|
|
@@ -10789,7 +10793,7 @@ async function pollCycle() {
|
|
|
10789
10793
|
}
|
|
10790
10794
|
try {
|
|
10791
10795
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
10792
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10796
|
+
const { collectDiagnostics } = await import("../persistent-session-2ZXAKOO4.js");
|
|
10793
10797
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
10794
10798
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor) : void 0;
|
|
10795
10799
|
let tailscaleHostname;
|
|
@@ -10903,7 +10907,7 @@ async function pollCycle() {
|
|
|
10903
10907
|
collectResponsivenessProbes,
|
|
10904
10908
|
collectPanelessActivityProbes,
|
|
10905
10909
|
getResponsivenessIntervalMs
|
|
10906
|
-
} = await import("../responsiveness-probe-
|
|
10910
|
+
} = await import("../responsiveness-probe-ILEPBUI7.js");
|
|
10907
10911
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
10908
10912
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
10909
10913
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -10967,7 +10971,7 @@ async function pollCycle() {
|
|
|
10967
10971
|
collectResponsivenessProbes,
|
|
10968
10972
|
livePendingInboundOldestAgeSeconds,
|
|
10969
10973
|
parkPendingInbound
|
|
10970
|
-
} = await import("../responsiveness-probe-
|
|
10974
|
+
} = await import("../responsiveness-probe-ILEPBUI7.js");
|
|
10971
10975
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
10972
10976
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
10973
10977
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -14278,7 +14282,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
14278
14282
|
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}`));
|
|
14279
14283
|
void (async () => {
|
|
14280
14284
|
try {
|
|
14281
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
14285
|
+
const { collectDiagnostics } = await import("../persistent-session-2ZXAKOO4.js");
|
|
14282
14286
|
await api.post("/host/heartbeat", {
|
|
14283
14287
|
host_id: hostId,
|
|
14284
14288
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor)
|
|
@@ -14328,7 +14332,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
14328
14332
|
}
|
|
14329
14333
|
try {
|
|
14330
14334
|
const hostId = await getHostId();
|
|
14331
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
14335
|
+
const { collectDiagnostics } = await import("../persistent-session-2ZXAKOO4.js");
|
|
14332
14336
|
await api.post("/host/heartbeat", {
|
|
14333
14337
|
host_id: hostId,
|
|
14334
14338
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor)
|
|
@@ -14781,7 +14785,7 @@ async function processClaudePairSessions(agents) {
|
|
|
14781
14785
|
killPairSession,
|
|
14782
14786
|
pairTmuxSession,
|
|
14783
14787
|
finalizeClaudePairOnboarding
|
|
14784
|
-
} = await import("../claude-pair-runtime-
|
|
14788
|
+
} = await import("../claude-pair-runtime-ITWM6RWY.js");
|
|
14785
14789
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
14786
14790
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
14787
14791
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -15713,6 +15717,7 @@ export {
|
|
|
15713
15717
|
markAgentForFreshMemorySync,
|
|
15714
15718
|
maybeInjectKanbanCheck,
|
|
15715
15719
|
maybeUpgradeClaudeCode,
|
|
15720
|
+
refreshSkillsIndexInClaudeMd,
|
|
15716
15721
|
reorderRestartedFirst,
|
|
15717
15722
|
resolveManagedMcpServerId,
|
|
15718
15723
|
restartReasonBindsNewMcp,
|