@integrity-labs/agt-cli 0.28.1245 → 0.28.1247
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 +6 -6
- package/dist/{chunk-RVZDFWIX.js → chunk-5RS4R43T.js} +5 -5
- package/dist/{chunk-EGMQVUAO.js → chunk-DXP7JXKR.js} +3 -3
- package/dist/{chunk-OSXVD3YF.js → chunk-ETLHVYWG.js} +10 -1
- package/dist/{chunk-OSXVD3YF.js.map → chunk-ETLHVYWG.js.map} +1 -1
- package/dist/{chunk-22GBHBJZ.js → chunk-JEIS2UOM.js} +2 -2
- package/dist/{chunk-JEC3BUC6.js → chunk-MM3OF6UT.js} +1 -1
- package/dist/chunk-MM3OF6UT.js.map +1 -0
- package/dist/{chunk-V47ZQJ3Y.js → chunk-W4HCSKZD.js} +2 -2
- package/dist/{claude-code-updater-6QVV5JHB.js → claude-code-updater-HCB6O4EB.js} +3 -3
- package/dist/{claude-pair-runtime-EBDJ7JJV.js → claude-pair-runtime-QRSPPPER.js} +4 -4
- package/dist/lib/manager-worker.js +290 -119
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +9 -0
- package/dist/mcp/index.js +9 -0
- package/dist/mcp/origami.js +9 -0
- package/dist/mcp/slack-channel.js +9 -0
- package/dist/mcp/telegram-channel.js +9 -0
- package/dist/{persistent-session-4HI235XH.js → persistent-session-W7AXIJPR.js} +4 -4
- package/dist/{responsiveness-probe-AD6WIPDA.js → responsiveness-probe-F6AUG6K2.js} +4 -4
- package/dist/{session-auth-dead-6FSKTBLA.js → session-auth-dead-IW36EKQV.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-JEC3BUC6.js.map +0 -1
- /package/dist/{chunk-RVZDFWIX.js.map → chunk-5RS4R43T.js.map} +0 -0
- /package/dist/{chunk-EGMQVUAO.js.map → chunk-DXP7JXKR.js.map} +0 -0
- /package/dist/{chunk-22GBHBJZ.js.map → chunk-JEIS2UOM.js.map} +0 -0
- /package/dist/{chunk-V47ZQJ3Y.js.map → chunk-W4HCSKZD.js.map} +0 -0
- /package/dist/{claude-code-updater-6QVV5JHB.js.map → claude-code-updater-HCB6O4EB.js.map} +0 -0
- /package/dist/{claude-pair-runtime-EBDJ7JJV.js.map → claude-pair-runtime-QRSPPPER.js.map} +0 -0
- /package/dist/{persistent-session-4HI235XH.js.map → persistent-session-W7AXIJPR.js.map} +0 -0
- /package/dist/{responsiveness-probe-AD6WIPDA.js.map → responsiveness-probe-F6AUG6K2.js.map} +0 -0
- /package/dist/{session-auth-dead-6FSKTBLA.js.map → session-auth-dead-IW36EKQV.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-XWVM4KPK.js";
|
|
5
5
|
import {
|
|
6
6
|
FORCED_UPDATE_HARD_DEADLINE_MS
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ETLHVYWG.js";
|
|
8
8
|
import {
|
|
9
9
|
effectiveClaudeJsonPath
|
|
10
10
|
} from "./chunk-AIUIMEUS.js";
|
|
@@ -722,4 +722,4 @@ export {
|
|
|
722
722
|
probeClaudeInstalls,
|
|
723
723
|
maybeUpdateClaudeCode
|
|
724
724
|
};
|
|
725
|
-
//# sourceMappingURL=chunk-
|
|
725
|
+
//# sourceMappingURL=chunk-JEIS2UOM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/lib/claude-host-args.ts"],"sourcesContent":["/**\n * ENG-11277 — the arguments every manager-run, host-side `claude -p` one-shot\n * shares (conversation eval, the runtime auth probe, the host usage poll).\n *\n * These run on the HOST against the shared `~/.claude`. On Pedders v8\n * (2026-10-02) Claude Code's retention sweep removed live transcript bind\n * sources (`.last-cleanup` 04:24:12Z, mask dir gone, the container's projects\n * dir at nlink 0) and three agents failed every transcript write and\n * compaction; see transcript-mount-health.ts.\n *\n * `-p` one-shots DO run that sweep: measured 5 Oct on 2.1.285 (Koda, ENG-11279),\n * a print-mode run removed old and empty project trees from its config dir. The\n * `--settings` flag below loads flag-level settings, which outrank user settings\n * (user < project < local < flag < policy), and a 3650-day `cleanupPeriodDays`\n * (Claude Code's own suggestion for long retention; 0 is rejected by its schema)\n * means the sweep ages nothing out. It does NOT stop the empty-dir rmdirs, which\n * have no age check, so it is defence in depth, not the guard.\n *\n * The guard is the sentinel kept in every bind source\n * (ensureTranscriptBindSources in persistent-session.ts) plus the manager's mount\n * probe. ENG-11279 additionally runs two of the three one-shots in a PRIVATE\n * config dir on api_key hosts (applyClaudeAuthToEnv's `isolateApiKeyConfigDir`),\n * so they are not sweepers of the shared tree at all:\n * - conversation eval and the host usage poll: isolated on api_key hosts.\n * Subscription hosts stay on the shared dir, BY DECISION (ENG-11279, Sherlock,\n * 11 Nov): the sentinel is the guard there, not a second credential.\n * Why: a second copy of the OAuth credential could refresh and rotate the\n * refresh token out from under every other session on the host; the only safe\n * alternative (a per-host `claude setup-token` passed as an env token) adds a\n * human pairing step and a new stored secret per host. And it would buy little:\n * host-mode (non-docker) agent sessions use the shared dir as their real config\n * and sweep it whatever we do here, so isolating these one-shots removes one\n * sweeper, not the class. The sentinel protects bind sources from every sweeper\n * that behaves like Claude Code's retention sweep today, whichever process\n * runs it: that sweep only rmdir's EMPTY directories and never unlinks a file\n * name it does not recognise (ensureClaudeStateLayout in persistent-session.ts;\n * measured 5 Oct, Koda's run 2: the sentinel-protected dir survived a sweep\n * that removed its siblings). A test pins it into every bind source the\n * container mounts (eng-11279-sentinel-every-bind-source).\n * REVISIT this decision if a Claude Code release changes that sweep: a\n * recursive or age-based removal, or one that unlinks unrecognised files,\n * gets past the sentinel (Obi Wan 5a52c58ad474).\n * - the runtime auth probe: DELIBERATELY on the shared dir in every mode. It\n * exists to prove the host's real credential round-trips (ENG-8623); in a\n * private dir it would report a host with a dead shared credential as healthy.\n */\nexport const HOST_CLAUDE_RETENTION_SETTINGS = JSON.stringify({ cleanupPeriodDays: 3650 });\n\n/** The isolation + retention tail shared by every manager host-side `claude -p`. */\nexport function hostClaudeOneShotArgs(emptyMcpConfigPath: string): string[] {\n return [\n // No project config, no MCP, no tools: these exercise the model or auth only.\n '--mcp-config', emptyMcpConfigPath,\n '--strict-mcp-config',\n '--permission-mode', 'auto',\n '--allowedTools', '',\n // ENG-11277: never age anything out of the shared ~/.claude from here.\n '--settings', HOST_CLAUDE_RETENTION_SETTINGS,\n ];\n}\n\n/** POSIX single-quote one argument: `'` -> `'\\''`. */\nfunction posixSingleQuote(value: string): string {\n return `'${value.replace(/'/g, `'\\\\''`)}'`;\n}\n\n/**\n * ENG-11279 (4): the pair/login runtime's `claude` command, with the same\n * retention flag as the one-shots, for parity.\n *\n * NOT load-bearing: the pair runtime must write the SHARED config dir (it is the\n * login), so it cannot be isolated, and the flag does not stop the empty-dir\n * rmdirs. It only stops this process ageing transcripts out at the 30-day default.\n *\n * A single shell-command STRING, quoted here, because that is what tmux\n * `new-session` is given (it runs one argument through `sh -c`; splitting it into\n * several argv entries changes that to a direct exec on some tmux versions, which\n * is a behaviour change this ticket has no business making).\n */\nexport function hostClaudePairCommand(claudeBin: string): string {\n return `${posixSingleQuote(claudeBin)} --settings ${posixSingleQuote(HOST_CLAUDE_RETENTION_SETTINGS)}`;\n}\n"],"mappings":";AA8CO,IAAM,iCAAiC,KAAK,UAAU,EAAE,mBAAmB,KAAK,CAAC;AAGjF,SAAS,sBAAsB,oBAAsC;AAC1E,SAAO;AAAA;AAAA,IAEL;AAAA,IAAgB;AAAA,IAChB;AAAA,IACA;AAAA,IAAqB;AAAA,IACrB;AAAA,IAAkB;AAAA;AAAA,IAElB;AAAA,IAAc;AAAA,EAChB;AACF;AAGA,SAAS,iBAAiB,OAAuB;AAC/C,SAAO,IAAI,MAAM,QAAQ,MAAM,OAAO,CAAC;AACzC;AAeO,SAAS,sBAAsB,WAA2B;AAC/D,SAAO,GAAG,iBAAiB,SAAS,CAAC,eAAe,iBAAiB,8BAA8B,CAAC;AACtG;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
encodeClaudeProjectPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ETLHVYWG.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/daily-session.ts
|
|
6
6
|
import { randomUUID } from "crypto";
|
|
@@ -244,4 +244,4 @@ export {
|
|
|
244
244
|
peekPreviousSession,
|
|
245
245
|
readDailySessionPin
|
|
246
246
|
};
|
|
247
|
-
//# sourceMappingURL=chunk-
|
|
247
|
+
//# sourceMappingURL=chunk-W4HCSKZD.js.map
|
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
probeClaudeInstalls,
|
|
14
14
|
readsAsNativeInstall,
|
|
15
15
|
shouldRunClaudeCodeUpdater
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JEIS2UOM.js";
|
|
17
17
|
import "./chunk-XWVM4KPK.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-ETLHVYWG.js";
|
|
19
19
|
import "./chunk-AIUIMEUS.js";
|
|
20
20
|
import "./chunk-DGUM43GV.js";
|
|
21
21
|
export {
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
readsAsNativeInstall,
|
|
35
35
|
shouldRunClaudeCodeUpdater
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=claude-code-updater-
|
|
37
|
+
//# sourceMappingURL=claude-code-updater-HCB6O4EB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hostClaudePairCommand
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MM3OF6UT.js";
|
|
4
4
|
import {
|
|
5
5
|
consumerTermsOffKeys,
|
|
6
6
|
selectRowKeys
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
redactPaneFrame,
|
|
10
10
|
sanitizeTerminalFrame
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ETLHVYWG.js";
|
|
12
12
|
import {
|
|
13
13
|
CLAUDE_CONFIG_DIR_ENV,
|
|
14
14
|
claudeConfigDirFor,
|
|
@@ -321,7 +321,7 @@ async function spawnPairSession(session) {
|
|
|
321
321
|
return { ok: true };
|
|
322
322
|
} catch {
|
|
323
323
|
}
|
|
324
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
324
|
+
const { resolveClaudeBinary } = await import("./persistent-session-W7AXIJPR.js");
|
|
325
325
|
const claudeBin = resolveClaudeBinary();
|
|
326
326
|
const pairEnv = {
|
|
327
327
|
...process.env,
|
|
@@ -836,4 +836,4 @@ export {
|
|
|
836
836
|
startClaudePair,
|
|
837
837
|
submitClaudePairCode
|
|
838
838
|
};
|
|
839
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
839
|
+
//# sourceMappingURL=claude-pair-runtime-QRSPPPER.js.map
|