@integrity-labs/agt-cli 0.28.1026 → 0.28.1027
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 +5 -5
- package/dist/{chunk-67YMAX6E.js → chunk-34GFI2WX.js} +8 -6
- package/dist/chunk-34GFI2WX.js.map +1 -0
- package/dist/{chunk-TXV6NUM7.js → chunk-LDC3CQEA.js} +13 -8
- package/dist/{chunk-TXV6NUM7.js.map → chunk-LDC3CQEA.js.map} +1 -1
- package/dist/{chunk-EELLOXWU.js → chunk-TQDIIS3X.js} +18 -1
- package/dist/chunk-TQDIIS3X.js.map +1 -0
- package/dist/{claude-pair-runtime-HF44M2RP.js → claude-pair-runtime-2RYLRYI6.js} +3 -3
- package/dist/lib/manager-worker.js +16 -15
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-2DQO42VM.js → persistent-session-2ZBF77YE.js} +3 -3
- package/dist/{responsiveness-probe-W5GBWBN7.js → responsiveness-probe-M4BIZZ4G.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-67YMAX6E.js.map +0 -1
- package/dist/chunk-EELLOXWU.js.map +0 -1
- /package/dist/{claude-pair-runtime-HF44M2RP.js.map → claude-pair-runtime-2RYLRYI6.js.map} +0 -0
- /package/dist/{persistent-session-2DQO42VM.js.map → persistent-session-2ZBF77YE.js.map} +0 -0
- /package/dist/{responsiveness-probe-W5GBWBN7.js.map → responsiveness-probe-M4BIZZ4G.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,12 +40,12 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-LDC3CQEA.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-34GFI2WX.js";
|
|
49
49
|
import {
|
|
50
50
|
AnchorSessionClient,
|
|
51
51
|
CHANNEL_REGISTRY,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
sessionFileExists,
|
|
81
81
|
sessionTranscriptDir
|
|
82
82
|
} from "../chunk-BHKFVSIX.js";
|
|
83
|
-
import "../chunk-
|
|
83
|
+
import "../chunk-TQDIIS3X.js";
|
|
84
84
|
import "../chunk-XWVM4KPK.js";
|
|
85
85
|
import "../chunk-EL5MWGGH.js";
|
|
86
86
|
import "../chunk-DGUM43GV.js";
|
|
@@ -5474,7 +5474,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5474
5474
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5475
5475
|
import chalk18 from "chalk";
|
|
5476
5476
|
import ora16 from "ora";
|
|
5477
|
-
var cliVersion = true ? "0.28.
|
|
5477
|
+
var cliVersion = true ? "0.28.1027" : "dev";
|
|
5478
5478
|
async function fetchLatestVersion() {
|
|
5479
5479
|
const host2 = getHost();
|
|
5480
5480
|
if (!host2) return null;
|
|
@@ -6734,7 +6734,7 @@ function handleError(err) {
|
|
|
6734
6734
|
}
|
|
6735
6735
|
|
|
6736
6736
|
// src/bin/agt.ts
|
|
6737
|
-
var cliVersion2 = true ? "0.28.
|
|
6737
|
+
var cliVersion2 = true ? "0.28.1027" : "dev";
|
|
6738
6738
|
var program = new Command();
|
|
6739
6739
|
program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
|
|
6740
6740
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -28,15 +28,17 @@ import {
|
|
|
28
28
|
classifyUnanswerablePane,
|
|
29
29
|
findUsageLimitResetHint,
|
|
30
30
|
focusedConfirmDialogBlock,
|
|
31
|
+
isConsumerTermsDialogVisible,
|
|
31
32
|
isLoginPickerVisible,
|
|
32
33
|
isResumeModeDialogVisible,
|
|
33
34
|
isUnanswerableUsageLimitDialog,
|
|
34
35
|
isUnclaimedConfirmDialog,
|
|
36
|
+
paneRemedy,
|
|
35
37
|
parkedModalKind,
|
|
36
38
|
sendDialogKeys,
|
|
37
39
|
simpleTextHash,
|
|
38
40
|
sweepDialogs
|
|
39
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-TQDIIS3X.js";
|
|
40
42
|
import {
|
|
41
43
|
reapOrphanChannelMcps
|
|
42
44
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -3323,7 +3325,7 @@ function checkOne(codeName, io, config, states) {
|
|
|
3323
3325
|
maybeSignalUsageLimit(codeName, pane, io);
|
|
3324
3326
|
}
|
|
3325
3327
|
io.log(
|
|
3326
|
-
`[channel-input-watchdog] '${codeName}': BLOCKED DIALOG (${blockedDialog}) \u2014 refusing to send any key; needs a human
|
|
3328
|
+
`[channel-input-watchdog] '${codeName}': BLOCKED DIALOG (${blockedDialog}) \u2014 refusing to send any key; needs a human at the pane: ${paneRemedy(codeName, isConsumerTermsDialogVisible(pane))}`
|
|
3327
3329
|
);
|
|
3328
3330
|
return;
|
|
3329
3331
|
}
|
|
@@ -3412,7 +3414,7 @@ function trackUnclaimedDialog(codeName, hash, io, config) {
|
|
|
3412
3414
|
io.log(
|
|
3413
3415
|
`[channel-input-watchdog] '${codeName}': UNCLAIMED DIALOG on pane for ${Math.round(
|
|
3414
3416
|
ageMs / 1e3
|
|
3415
|
-
)}s \u2014 a modal is focused and no handler in claude-dialogs.ts recognises it (dialog_hash=${hash}); sending nothing. Claude Code has likely reworded a dialog: attach to the pane, then add the new option labels.`
|
|
3417
|
+
)}s \u2014 a modal is focused and no handler in claude-dialogs.ts recognises it (dialog_hash=${hash}); sending nothing. Claude Code has likely reworded a dialog: attach to the pane with ${paneRemedy(codeName, null)}, then add the new option labels.`
|
|
3416
3418
|
);
|
|
3417
3419
|
}
|
|
3418
3420
|
var unclaimedDialogCounts = /* @__PURE__ */ new Map();
|
|
@@ -5261,7 +5263,7 @@ async function acceptDialogs(tmuxSession, codeName, log2, primaryModel = null, s
|
|
|
5261
5263
|
}
|
|
5262
5264
|
if (isUnanswerableUsageLimitDialog(screen)) {
|
|
5263
5265
|
log2(
|
|
5264
|
-
`[persistent-session] BLOCKED DIALOG (usage-limit-choice-unrecognised-options) for '${codeName}' \u2014 refusing to send any key; needs a human
|
|
5266
|
+
`[persistent-session] BLOCKED DIALOG (usage-limit-choice-unrecognised-options) for '${codeName}' \u2014 refusing to send any key; needs a human at the pane: ${paneRemedy(codeName, isConsumerTermsDialogVisible(screen))}`
|
|
5265
5267
|
);
|
|
5266
5268
|
noteSessionBlockedOnPrompt(codeName, "usage-limit-unanswerable", "spawn-dialogs");
|
|
5267
5269
|
return;
|
|
@@ -5397,7 +5399,7 @@ async function preSendPaneHygiene(tmuxSession, codeName, log2) {
|
|
|
5397
5399
|
}
|
|
5398
5400
|
if (isUnanswerableUsageLimitDialog(screen)) {
|
|
5399
5401
|
log2(
|
|
5400
|
-
`[inject] BLOCKED DIALOG (usage-limit-choice-unrecognised-options) for '${codeName}' \u2014 skipping pane hygiene; needs a human
|
|
5402
|
+
`[inject] BLOCKED DIALOG (usage-limit-choice-unrecognised-options) for '${codeName}' \u2014 skipping pane hygiene; needs a human at the pane: ${paneRemedy(codeName, isConsumerTermsDialogVisible(screen))}`
|
|
5401
5403
|
);
|
|
5402
5404
|
return;
|
|
5403
5405
|
}
|
|
@@ -5922,4 +5924,4 @@ export {
|
|
|
5922
5924
|
stopAllSessionsAndWait,
|
|
5923
5925
|
getProjectDir
|
|
5924
5926
|
};
|
|
5925
|
-
//# sourceMappingURL=chunk-
|
|
5927
|
+
//# sourceMappingURL=chunk-34GFI2WX.js.map
|