@integrity-labs/agt-cli 0.28.1025 → 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-5XPZF6FT.js → chunk-34GFI2WX.js} +10 -7
- package/dist/chunk-34GFI2WX.js.map +1 -0
- package/dist/{chunk-I4WMLK7C.js → chunk-LDC3CQEA.js} +13 -8
- package/dist/{chunk-I4WMLK7C.js.map → chunk-LDC3CQEA.js.map} +1 -1
- package/dist/{chunk-DHWNVVX4.js → chunk-TQDIIS3X.js} +37 -1
- package/dist/chunk-TQDIIS3X.js.map +1 -0
- package/dist/{claude-pair-runtime-IAO6B35F.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/mcp/direct-chat-channel.js +14 -7
- package/dist/mcp/slack-channel.js +14 -7
- package/dist/mcp/telegram-channel.js +14 -7
- package/dist/{persistent-session-GZV4EXKD.js → persistent-session-2ZBF77YE.js} +3 -3
- package/dist/{responsiveness-probe-WRHLHQCE.js → responsiveness-probe-M4BIZZ4G.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-5XPZF6FT.js.map +0 -1
- package/dist/chunk-DHWNVVX4.js.map +0 -1
- /package/dist/{claude-pair-runtime-IAO6B35F.js.map → claude-pair-runtime-2RYLRYI6.js.map} +0 -0
- /package/dist/{persistent-session-GZV4EXKD.js.map → persistent-session-2ZBF77YE.js.map} +0 -0
- /package/dist/{responsiveness-probe-WRHLHQCE.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,14 +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,
|
|
37
|
+
parkedModalKind,
|
|
35
38
|
sendDialogKeys,
|
|
36
39
|
simpleTextHash,
|
|
37
40
|
sweepDialogs
|
|
38
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-TQDIIS3X.js";
|
|
39
42
|
import {
|
|
40
43
|
reapOrphanChannelMcps
|
|
41
44
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -3274,7 +3277,7 @@ function checkOne(codeName, io, config, states) {
|
|
|
3274
3277
|
return;
|
|
3275
3278
|
}
|
|
3276
3279
|
try {
|
|
3277
|
-
const blockedKind =
|
|
3280
|
+
const blockedKind = parkedModalKind(pane);
|
|
3278
3281
|
if (blockedKind) io.refreshBlockedPromptLiveness?.(codeName, blockedKind);
|
|
3279
3282
|
else io.clearBlockedPromptLiveness?.(codeName);
|
|
3280
3283
|
} catch (err) {
|
|
@@ -3322,7 +3325,7 @@ function checkOne(codeName, io, config, states) {
|
|
|
3322
3325
|
maybeSignalUsageLimit(codeName, pane, io);
|
|
3323
3326
|
}
|
|
3324
3327
|
io.log(
|
|
3325
|
-
`[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))}`
|
|
3326
3329
|
);
|
|
3327
3330
|
return;
|
|
3328
3331
|
}
|
|
@@ -3411,7 +3414,7 @@ function trackUnclaimedDialog(codeName, hash, io, config) {
|
|
|
3411
3414
|
io.log(
|
|
3412
3415
|
`[channel-input-watchdog] '${codeName}': UNCLAIMED DIALOG on pane for ${Math.round(
|
|
3413
3416
|
ageMs / 1e3
|
|
3414
|
-
)}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.`
|
|
3415
3418
|
);
|
|
3416
3419
|
}
|
|
3417
3420
|
var unclaimedDialogCounts = /* @__PURE__ */ new Map();
|
|
@@ -5260,7 +5263,7 @@ async function acceptDialogs(tmuxSession, codeName, log2, primaryModel = null, s
|
|
|
5260
5263
|
}
|
|
5261
5264
|
if (isUnanswerableUsageLimitDialog(screen)) {
|
|
5262
5265
|
log2(
|
|
5263
|
-
`[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))}`
|
|
5264
5267
|
);
|
|
5265
5268
|
noteSessionBlockedOnPrompt(codeName, "usage-limit-unanswerable", "spawn-dialogs");
|
|
5266
5269
|
return;
|
|
@@ -5396,7 +5399,7 @@ async function preSendPaneHygiene(tmuxSession, codeName, log2) {
|
|
|
5396
5399
|
}
|
|
5397
5400
|
if (isUnanswerableUsageLimitDialog(screen)) {
|
|
5398
5401
|
log2(
|
|
5399
|
-
`[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))}`
|
|
5400
5403
|
);
|
|
5401
5404
|
return;
|
|
5402
5405
|
}
|
|
@@ -5921,4 +5924,4 @@ export {
|
|
|
5921
5924
|
stopAllSessionsAndWait,
|
|
5922
5925
|
getProjectDir
|
|
5923
5926
|
};
|
|
5924
|
-
//# sourceMappingURL=chunk-
|
|
5927
|
+
//# sourceMappingURL=chunk-34GFI2WX.js.map
|