@integrity-labs/agt-cli 0.28.515 → 0.28.516
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-4IWIH6MV.js → chunk-IBI6VSGP.js} +3 -3
- package/dist/{chunk-S5RR4UHQ.js → chunk-UQ3TQ7M4.js} +20 -1
- package/dist/chunk-UQ3TQ7M4.js.map +1 -0
- package/dist/{claude-pair-runtime-YGKYLV4M.js → claude-pair-runtime-FWD7QWAR.js} +2 -2
- package/dist/lib/manager-worker.js +58 -22
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +4 -0
- package/dist/mcp/origami.js +4 -0
- package/dist/mcp/slack-channel.js +4 -0
- package/dist/mcp/telegram-channel.js +4 -0
- package/dist/{persistent-session-RM5ZY2SB.js → persistent-session-3SY36KIU.js} +2 -2
- package/dist/{responsiveness-probe-C4KMTKWR.js → responsiveness-probe-DSWGHXGG.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-S5RR4UHQ.js.map +0 -1
- /package/dist/{chunk-4IWIH6MV.js.map → chunk-IBI6VSGP.js.map} +0 -0
- /package/dist/{claude-pair-runtime-YGKYLV4M.js.map → claude-pair-runtime-FWD7QWAR.js.map} +0 -0
- /package/dist/{persistent-session-RM5ZY2SB.js.map → persistent-session-3SY36KIU.js.map} +0 -0
- /package/dist/{responsiveness-probe-C4KMTKWR.js.map → responsiveness-probe-DSWGHXGG.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-IBI6VSGP.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
requiredMcpWildcard,
|
|
72
72
|
resolveChannels,
|
|
73
73
|
serializeManifestForSlackCli
|
|
74
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-UQ3TQ7M4.js";
|
|
75
75
|
import "../chunk-XWVM4KPK.js";
|
|
76
76
|
|
|
77
77
|
// src/bin/agt.ts
|
|
@@ -4834,7 +4834,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4834
4834
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4835
4835
|
import chalk18 from "chalk";
|
|
4836
4836
|
import ora16 from "ora";
|
|
4837
|
-
var cliVersion = true ? "0.28.
|
|
4837
|
+
var cliVersion = true ? "0.28.516" : "dev";
|
|
4838
4838
|
async function fetchLatestVersion() {
|
|
4839
4839
|
const host2 = getHost();
|
|
4840
4840
|
if (!host2) return null;
|
|
@@ -6006,7 +6006,7 @@ function handleError(err) {
|
|
|
6006
6006
|
}
|
|
6007
6007
|
|
|
6008
6008
|
// src/bin/agt.ts
|
|
6009
|
-
var cliVersion2 = true ? "0.28.
|
|
6009
|
+
var cliVersion2 = true ? "0.28.516" : "dev";
|
|
6010
6010
|
var program = new Command();
|
|
6011
6011
|
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");
|
|
6012
6012
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
resolveConnectivityProbe,
|
|
43
43
|
worseConnectivityOutcome,
|
|
44
44
|
wrapScheduledTaskPrompt
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-UQ3TQ7M4.js";
|
|
46
46
|
import {
|
|
47
47
|
parsePsRows
|
|
48
48
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -5317,7 +5317,7 @@ function exchangeFailureKind(err) {
|
|
|
5317
5317
|
}
|
|
5318
5318
|
|
|
5319
5319
|
// src/lib/api-client.ts
|
|
5320
|
-
var agtCliVersion = true ? "0.28.
|
|
5320
|
+
var agtCliVersion = true ? "0.28.516" : "dev";
|
|
5321
5321
|
var lastConfigHash = null;
|
|
5322
5322
|
function setConfigHash(hash) {
|
|
5323
5323
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8629,4 +8629,4 @@ export {
|
|
|
8629
8629
|
managerInstallSystemUnitCommand,
|
|
8630
8630
|
managerUninstallSystemUnitCommand
|
|
8631
8631
|
};
|
|
8632
|
-
//# sourceMappingURL=chunk-
|
|
8632
|
+
//# sourceMappingURL=chunk-IBI6VSGP.js.map
|
|
@@ -10604,6 +10604,21 @@ function deriveBindFailureQuarantineThreshold(provisioningMax) {
|
|
|
10604
10604
|
}
|
|
10605
10605
|
var MIN_PROVISIONING_MAX_FOR_QUARANTINE_ORDERING = BIND_FAILURE_QUARANTINE_THRESHOLD + 1;
|
|
10606
10606
|
|
|
10607
|
+
// ../../packages/core/dist/restart/forced-update-deadline.js
|
|
10608
|
+
var FORCED_UPDATE_RELAX_AFTER_MS = 7 * 6e4;
|
|
10609
|
+
var FORCED_UPDATE_HARD_DEADLINE_MS = 15 * 6e4;
|
|
10610
|
+
function forcedUpdatePendingForMs(opts) {
|
|
10611
|
+
if (!opts.requestedAt)
|
|
10612
|
+
return null;
|
|
10613
|
+
const requestedMs = Date.parse(opts.requestedAt);
|
|
10614
|
+
if (Number.isNaN(requestedMs))
|
|
10615
|
+
return null;
|
|
10616
|
+
return Math.max(0, opts.nowMs - requestedMs);
|
|
10617
|
+
}
|
|
10618
|
+
function isForcedUpdatePastDeadline(pendingForMs, deadlineMs = FORCED_UPDATE_HARD_DEADLINE_MS) {
|
|
10619
|
+
return pendingForMs !== null && pendingForMs >= deadlineMs;
|
|
10620
|
+
}
|
|
10621
|
+
|
|
10607
10622
|
// src/lib/claude-tools.ts
|
|
10608
10623
|
var BASE_TOOLS = ["Bash", "Read", "Write", "Edit", "Grep", "Glob", "Agent", "Skill", "ToolSearch"];
|
|
10609
10624
|
function buildAllowedTools(mcpServerNames) {
|
|
@@ -14953,6 +14968,10 @@ export {
|
|
|
14953
14968
|
RESTART_BREAKER_OPERATOR_MAX,
|
|
14954
14969
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
14955
14970
|
MIN_PROVISIONING_MAX_FOR_QUARANTINE_ORDERING,
|
|
14971
|
+
FORCED_UPDATE_RELAX_AFTER_MS,
|
|
14972
|
+
FORCED_UPDATE_HARD_DEADLINE_MS,
|
|
14973
|
+
forcedUpdatePendingForMs,
|
|
14974
|
+
isForcedUpdatePastDeadline,
|
|
14956
14975
|
LATE_BOUND_VARS,
|
|
14957
14976
|
expandTemplateVars,
|
|
14958
14977
|
parseEnvIntegrations,
|
|
@@ -15020,4 +15039,4 @@ export {
|
|
|
15020
15039
|
stopAllSessionsAndWait,
|
|
15021
15040
|
getProjectDir
|
|
15022
15041
|
};
|
|
15023
|
-
//# sourceMappingURL=chunk-
|
|
15042
|
+
//# sourceMappingURL=chunk-UQ3TQ7M4.js.map
|