@integrity-labs/agt-cli 0.28.502 → 0.28.503
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-HMBECQIY.js → chunk-GBSMIV4P.js} +24 -5
- package/dist/{chunk-HMBECQIY.js.map → chunk-GBSMIV4P.js.map} +1 -1
- package/dist/{chunk-KS762LYV.js → chunk-GR375XXG.js} +3 -3
- package/dist/{claude-pair-runtime-5GY4G7MD.js → claude-pair-runtime-JEMJAZPB.js} +2 -2
- package/dist/lib/manager-worker.js +31 -18
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +27 -10
- package/dist/mcp/origami.js +10 -2
- package/dist/mcp/slack-channel.js +10 -2
- package/dist/mcp/telegram-channel.js +10 -2
- package/dist/{persistent-session-ZW5HH2SC.js → persistent-session-4PVEGHA5.js} +2 -2
- package/dist/{responsiveness-probe-RAHKBJEE.js → responsiveness-probe-PNKFXRVF.js} +6 -3
- package/dist/responsiveness-probe-PNKFXRVF.js.map +1 -0
- package/package.json +1 -1
- package/dist/responsiveness-probe-RAHKBJEE.js.map +0 -1
- /package/dist/{chunk-KS762LYV.js.map → chunk-GR375XXG.js.map} +0 -0
- /package/dist/{claude-pair-runtime-5GY4G7MD.js.map → claude-pair-runtime-JEMJAZPB.js.map} +0 -0
- /package/dist/{persistent-session-ZW5HH2SC.js.map → persistent-session-4PVEGHA5.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-GR375XXG.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-GBSMIV4P.js";
|
|
75
75
|
import "../chunk-XWVM4KPK.js";
|
|
76
76
|
|
|
77
77
|
// src/bin/agt.ts
|
|
@@ -4830,7 +4830,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4830
4830
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4831
4831
|
import chalk18 from "chalk";
|
|
4832
4832
|
import ora16 from "ora";
|
|
4833
|
-
var cliVersion = true ? "0.28.
|
|
4833
|
+
var cliVersion = true ? "0.28.503" : "dev";
|
|
4834
4834
|
async function fetchLatestVersion() {
|
|
4835
4835
|
const host2 = getHost();
|
|
4836
4836
|
if (!host2) return null;
|
|
@@ -6002,7 +6002,7 @@ function handleError(err) {
|
|
|
6002
6002
|
}
|
|
6003
6003
|
|
|
6004
6004
|
// src/bin/agt.ts
|
|
6005
|
-
var cliVersion2 = true ? "0.28.
|
|
6005
|
+
var cliVersion2 = true ? "0.28.503" : "dev";
|
|
6006
6006
|
var program = new Command();
|
|
6007
6007
|
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");
|
|
6008
6008
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -7248,6 +7248,7 @@ var AGENT_DIRECTED_NOTICE_KINDS = ["scheduled_task_nudge", "kanban_check"];
|
|
|
7248
7248
|
var AGENT_DIRECTED_KIND_SET = new Set(AGENT_DIRECTED_NOTICE_KINDS);
|
|
7249
7249
|
|
|
7250
7250
|
// ../../packages/core/dist/direct-chat/cursor-advance.js
|
|
7251
|
+
var CURSOR_ADVANCE_NON_SHORTFALL_KEYS = ["advanced", "advanced_unreported", "failed"];
|
|
7251
7252
|
var CURSOR_SHORTFALL_REASONS = [
|
|
7252
7253
|
"not_found",
|
|
7253
7254
|
// ENG-8348: `/consume` only. The row belongs to this agent+session but was
|
|
@@ -7262,9 +7263,16 @@ var CURSOR_SHORTFALL_REASONS = [
|
|
|
7262
7263
|
"unknown",
|
|
7263
7264
|
"unreported",
|
|
7264
7265
|
"malformed_count",
|
|
7265
|
-
"other"
|
|
7266
|
+
"other",
|
|
7267
|
+
// ENG-8393: the non-shortfall outcomes — two benign, plus `failed`. Written
|
|
7268
|
+
// on the paths that previously wrote nothing, so a zero on the shortfall
|
|
7269
|
+
// reasons above becomes readable — see CURSOR_ADVANCE_NON_SHORTFALL_KEYS.
|
|
7270
|
+
"advanced",
|
|
7271
|
+
"advanced_unreported",
|
|
7272
|
+
"failed"
|
|
7266
7273
|
];
|
|
7267
|
-
var
|
|
7274
|
+
var NON_SHORTFALL_KEYS = new Set(CURSOR_ADVANCE_NON_SHORTFALL_KEYS);
|
|
7275
|
+
var KNOWN_REASONS = new Set(CURSOR_SHORTFALL_REASONS.filter((k) => !NON_SHORTFALL_KEYS.has(k)));
|
|
7268
7276
|
function normalizeCursorShortfallReason(raw) {
|
|
7269
7277
|
if (raw == null || raw === "")
|
|
7270
7278
|
return "unreported";
|
|
@@ -7274,7 +7282,7 @@ function classifyCursorAdvance(input) {
|
|
|
7274
7282
|
const body = input.body ?? void 0;
|
|
7275
7283
|
if (!input.httpOk || body?.error != null) {
|
|
7276
7284
|
const error = body?.error ?? input.statusText ?? (input.httpStatus !== void 0 ? `HTTP ${input.httpStatus}` : "request failed");
|
|
7277
|
-
return { outcome: "failed", error };
|
|
7285
|
+
return { outcome: "failed", error, expected: new Set(input.messageIds).size };
|
|
7278
7286
|
}
|
|
7279
7287
|
const expected = new Set(input.messageIds).size;
|
|
7280
7288
|
const raw = body?.consumed;
|
|
@@ -7306,6 +7314,17 @@ function classifyCursorAdvance(input) {
|
|
|
7306
7314
|
function cursorShortfallKey(route, reason, partial) {
|
|
7307
7315
|
return `${route}|${reason}|${partial ? "true" : "false"}`;
|
|
7308
7316
|
}
|
|
7317
|
+
function cursorAdvanceCounterKey(route, verdict) {
|
|
7318
|
+
if (verdict.expected === 0)
|
|
7319
|
+
return null;
|
|
7320
|
+
if (verdict.outcome === "shortfall") {
|
|
7321
|
+
return cursorShortfallKey(route, verdict.reason, verdict.partial);
|
|
7322
|
+
}
|
|
7323
|
+
if (verdict.outcome === "failed") {
|
|
7324
|
+
return cursorShortfallKey(route, "failed", false);
|
|
7325
|
+
}
|
|
7326
|
+
return cursorShortfallKey(route, verdict.reported ? "advanced" : "advanced_unreported", false);
|
|
7327
|
+
}
|
|
7309
7328
|
function formatCursorAdvanceShortfall(verdict, ctx) {
|
|
7310
7329
|
const cleared = ctx.cleared.length > 0 ? ctx.cleared.join(",") : "none";
|
|
7311
7330
|
return `[direct-chat] cursor advance shortfall route=/${ctx.route} site=${ctx.site} session=${ctx.sessionId} expected=${verdict.expected} consumed=${verdict.consumed} reason=${verdict.reason} partial=${verdict.partial} cleared_anyway=${cleared}`;
|
|
@@ -14645,7 +14664,7 @@ export {
|
|
|
14645
14664
|
readRemoteMcpAuthConfig,
|
|
14646
14665
|
buildForwardHeaders,
|
|
14647
14666
|
classifyCursorAdvance,
|
|
14648
|
-
|
|
14667
|
+
cursorAdvanceCounterKey,
|
|
14649
14668
|
formatCursorAdvanceShortfall,
|
|
14650
14669
|
AnchorSessionClient,
|
|
14651
14670
|
isOnboardingArea,
|
|
@@ -14759,4 +14778,4 @@ export {
|
|
|
14759
14778
|
stopAllSessionsAndWait,
|
|
14760
14779
|
getProjectDir
|
|
14761
14780
|
};
|
|
14762
|
-
//# sourceMappingURL=chunk-
|
|
14781
|
+
//# sourceMappingURL=chunk-GBSMIV4P.js.map
|