@integrity-labs/agt-cli 0.28.1177 → 0.28.1179
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 +104 -417
- package/dist/bin/agt.js.map +1 -1
- package/dist/{chunk-DJNCIWVG.js → chunk-2FHYCFZM.js} +2 -2
- package/dist/{chunk-H37WRW2E.js → chunk-GJD536LU.js} +9 -6
- package/dist/chunk-GJD536LU.js.map +1 -0
- package/dist/{manager-supervisor-KIFBGETA.js → chunk-H3JMPEH7.js} +176 -8
- package/dist/chunk-H3JMPEH7.js.map +1 -0
- package/dist/{chunk-NHUXO5H2.js → chunk-KDYZNWZW.js} +2 -2
- package/dist/{chunk-45UH24I2.js → chunk-O5P2OS36.js} +435 -56
- package/dist/chunk-O5P2OS36.js.map +1 -0
- package/dist/{chunk-47P33SZF.js → chunk-PINFVWGX.js} +120 -3
- package/dist/chunk-PINFVWGX.js.map +1 -0
- package/dist/{claude-code-updater-H7RNX6M7.js → claude-code-updater-LL7KVAU3.js} +3 -3
- package/dist/{claude-pair-runtime-53JY6TQX.js → claude-pair-runtime-R5MNSUM7.js} +3 -3
- package/dist/lib/manager-worker.js +636 -262
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/manager-supervisor-TD7E6FPC.js +26 -0
- package/dist/mcp/direct-chat-channel.js +18 -1
- package/dist/mcp/index.js +151 -63
- package/dist/mcp/origami.js +18 -1
- package/dist/mcp/slack-channel.js +18 -1
- package/dist/mcp/telegram-channel.js +18 -1
- package/dist/{persistent-session-HVYGIS5C.js → persistent-session-34QXCPJK.js} +4 -4
- package/dist/persistent-session-34QXCPJK.js.map +1 -0
- package/dist/{responsiveness-probe-OGZ6ADVR.js → responsiveness-probe-ZT6ITMYI.js} +4 -4
- package/dist/{session-auth-dead-2JJLKURE.js → session-auth-dead-KAHV2ES2.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-45UH24I2.js.map +0 -1
- package/dist/chunk-47P33SZF.js.map +0 -1
- package/dist/chunk-H37WRW2E.js.map +0 -1
- package/dist/manager-supervisor-KIFBGETA.js.map +0 -1
- /package/dist/{chunk-DJNCIWVG.js.map → chunk-2FHYCFZM.js.map} +0 -0
- /package/dist/{chunk-NHUXO5H2.js.map → chunk-KDYZNWZW.js.map} +0 -0
- /package/dist/{claude-code-updater-H7RNX6M7.js.map → claude-code-updater-LL7KVAU3.js.map} +0 -0
- /package/dist/{claude-pair-runtime-53JY6TQX.js.map → claude-pair-runtime-R5MNSUM7.js.map} +0 -0
- /package/dist/{persistent-session-HVYGIS5C.js.map → manager-supervisor-TD7E6FPC.js.map} +0 -0
- /package/dist/{responsiveness-probe-OGZ6ADVR.js.map → responsiveness-probe-ZT6ITMYI.js.map} +0 -0
- /package/dist/{session-auth-dead-2JJLKURE.js.map → session-auth-dead-KAHV2ES2.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
encodeClaudeProjectPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PINFVWGX.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/daily-session.ts
|
|
6
6
|
import { randomUUID } from "crypto";
|
|
@@ -235,4 +235,4 @@ export {
|
|
|
235
235
|
peekCurrentSession,
|
|
236
236
|
readDailySessionPin
|
|
237
237
|
};
|
|
238
|
-
//# sourceMappingURL=chunk-
|
|
238
|
+
//# sourceMappingURL=chunk-2FHYCFZM.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
rotateDailySession,
|
|
5
5
|
sessionFileExists,
|
|
6
6
|
todayLocalIso
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2FHYCFZM.js";
|
|
8
8
|
import {
|
|
9
9
|
classifyUnanswerablePane,
|
|
10
10
|
customApiKeyDialogKeys,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
remoteMcpConnectionEnvInfix,
|
|
52
52
|
remoteMcpConnectionLabel,
|
|
53
53
|
remoteMcpConnectionScopedEnvVar
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-PINFVWGX.js";
|
|
55
55
|
import {
|
|
56
56
|
CLAUDE_CONFIG_DIR_ENV,
|
|
57
57
|
approveApiKeyInClaudeConfig,
|
|
@@ -5090,8 +5090,9 @@ function spawnSession(config, session) {
|
|
|
5090
5090
|
`${CLAUDE_CODE_TMPDIR_ENV}=${agentTmpDirFor(dirname5(config.projectDir))}`
|
|
5091
5091
|
);
|
|
5092
5092
|
tmuxSessionEnvArgs.push("-e", `TZ=${resolveSessionTz(config.agentTimezone)}`);
|
|
5093
|
-
|
|
5094
|
-
|
|
5093
|
+
const sessionApiKey = config.perAgentApiKey || process.env["AGT_API_KEY"]?.trim() || null;
|
|
5094
|
+
if (sessionApiKey) {
|
|
5095
|
+
tmuxSessionEnvArgs.push("-e", `AGT_API_KEY=${sessionApiKey}`);
|
|
5095
5096
|
}
|
|
5096
5097
|
if (openRouterMode) {
|
|
5097
5098
|
const or = config.openRouter;
|
|
@@ -5871,7 +5872,7 @@ function resetRestartCount(codeName) {
|
|
|
5871
5872
|
const session = sessions2.get(codeName);
|
|
5872
5873
|
if (session) session.restartCount = 0;
|
|
5873
5874
|
}
|
|
5874
|
-
function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeFor, pidPressureFor, forwardedToolsFor, runtimeVersionFor) {
|
|
5875
|
+
function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeFor, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor) {
|
|
5875
5876
|
return codeNames.map((codeName) => {
|
|
5876
5877
|
const quarantinedChannels = quarantineEntriesFor?.(codeName) ?? [];
|
|
5877
5878
|
const spawnOutcome = spawnOutcomeFor?.(codeName);
|
|
@@ -6001,6 +6002,7 @@ function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, sp
|
|
|
6001
6002
|
// ENG-9477: both return paths carry it. A field on only one of them is the
|
|
6002
6003
|
// divergence class this file already learned from twice (ENG-7188, ENG-8876).
|
|
6003
6004
|
forwardedTools,
|
|
6005
|
+
sessionActivity: sessionActivityFor?.(codeName, { tmuxAlive, screenCapture }) ?? null,
|
|
6004
6006
|
// ENG-10857: carried on BOTH return paths, for the reason stated just above.
|
|
6005
6007
|
// An opencode agent in a container runs a baked binary too.
|
|
6006
6008
|
...runtimeVersion ? { runtimeVersion } : {}
|
|
@@ -6089,6 +6091,7 @@ export {
|
|
|
6089
6091
|
shouldLogBlockedPrompt,
|
|
6090
6092
|
applyBlockedPromptVerdict,
|
|
6091
6093
|
isConfirmedRespawn,
|
|
6094
|
+
isActivelyProcessing,
|
|
6092
6095
|
checkChannelInputs,
|
|
6093
6096
|
takeWatchdogGiveUpCount,
|
|
6094
6097
|
creditWatchdogGiveUpCount,
|
|
@@ -6169,4 +6172,4 @@ export {
|
|
|
6169
6172
|
stopAllSessionsAndWait,
|
|
6170
6173
|
getProjectDir
|
|
6171
6174
|
};
|
|
6172
|
-
//# sourceMappingURL=chunk-
|
|
6175
|
+
//# sourceMappingURL=chunk-GJD536LU.js.map
|