@integrity-labs/agt-cli 0.28.86 → 0.28.88
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-E5TGFEDQ.js → chunk-3G2D4VXI.js} +17 -2
- package/dist/chunk-3G2D4VXI.js.map +1 -0
- package/dist/{chunk-OZWBVM7M.js → chunk-5Z43ORR6.js} +2 -2
- package/dist/{chunk-3EZHAJGB.js → chunk-ULHJX4A2.js} +6 -4
- package/dist/{chunk-3EZHAJGB.js.map → chunk-ULHJX4A2.js.map} +1 -1
- package/dist/{claude-pair-runtime-O5PHMHMF.js → claude-pair-runtime-RIVCQTC3.js} +2 -2
- package/dist/lib/manager-worker.js +28 -14
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/slack-channel.js +4 -2
- package/dist/mcp/telegram-channel.js +54 -28
- package/dist/{persistent-session-ZAKXWRX7.js → persistent-session-OMLGMEGO.js} +3 -3
- package/dist/{responsiveness-probe-NKH4VYGR.js → responsiveness-probe-ANX4EOCH.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-E5TGFEDQ.js.map +0 -1
- /package/dist/{chunk-OZWBVM7M.js.map → chunk-5Z43ORR6.js.map} +0 -0
- /package/dist/{claude-pair-runtime-O5PHMHMF.js.map → claude-pair-runtime-RIVCQTC3.js.map} +0 -0
- /package/dist/{persistent-session-ZAKXWRX7.js.map → persistent-session-OMLGMEGO.js.map} +0 -0
- /package/dist/{responsiveness-probe-NKH4VYGR.js.map → responsiveness-probe-ANX4EOCH.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
success,
|
|
38
38
|
table,
|
|
39
39
|
warn
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-ULHJX4A2.js";
|
|
41
41
|
import {
|
|
42
42
|
CHANNEL_REGISTRY,
|
|
43
43
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
renderTemplate,
|
|
65
65
|
resolveChannels,
|
|
66
66
|
serializeManifestForSlackCli
|
|
67
|
-
} from "../chunk-
|
|
67
|
+
} from "../chunk-3G2D4VXI.js";
|
|
68
68
|
|
|
69
69
|
// src/bin/agt.ts
|
|
70
70
|
import { join as join22 } from "path";
|
|
@@ -4777,7 +4777,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4777
4777
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4778
4778
|
import chalk18 from "chalk";
|
|
4779
4779
|
import ora16 from "ora";
|
|
4780
|
-
var cliVersion = true ? "0.28.
|
|
4780
|
+
var cliVersion = true ? "0.28.88" : "dev";
|
|
4781
4781
|
async function fetchLatestVersion() {
|
|
4782
4782
|
const host2 = getHost();
|
|
4783
4783
|
if (!host2) return null;
|
|
@@ -5791,7 +5791,7 @@ function handleError(err) {
|
|
|
5791
5791
|
}
|
|
5792
5792
|
|
|
5793
5793
|
// src/bin/agt.ts
|
|
5794
|
-
var cliVersion2 = true ? "0.28.
|
|
5794
|
+
var cliVersion2 = true ? "0.28.88" : "dev";
|
|
5795
5795
|
var program = new Command();
|
|
5796
5796
|
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");
|
|
5797
5797
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -968,6 +968,9 @@ function isOnboardingArea(step) {
|
|
|
968
968
|
return AREA_SET.has(step);
|
|
969
969
|
}
|
|
970
970
|
var INITIAL_ONBOARDING_STATE = { step: "pending", completed: [] };
|
|
971
|
+
function withChannel(base, channel) {
|
|
972
|
+
return channel ? { ...base, channel } : base;
|
|
973
|
+
}
|
|
971
974
|
var VALID_STEPS = /* @__PURE__ */ new Set(["pending", ...AREA_ORDER, "ready"]);
|
|
972
975
|
var LEGACY_STEP_REMAP = {
|
|
973
976
|
interviewing: "framing",
|
|
@@ -986,11 +989,23 @@ function coerceOnboardingState(raw) {
|
|
|
986
989
|
if (step === null)
|
|
987
990
|
return INITIAL_ONBOARDING_STATE;
|
|
988
991
|
const completed = s.completed.filter((c) => typeof c === "string").map(remapStep).filter((c) => c !== null);
|
|
989
|
-
return { step, completed };
|
|
992
|
+
return withChannel({ step, completed }, coerceOnboardingChannel(s.channel));
|
|
990
993
|
}
|
|
991
994
|
}
|
|
992
995
|
return INITIAL_ONBOARDING_STATE;
|
|
993
996
|
}
|
|
997
|
+
function coerceOnboardingChannel(raw) {
|
|
998
|
+
if (raw && typeof raw === "object") {
|
|
999
|
+
const ch = raw;
|
|
1000
|
+
if ((ch.kind === "slack" || ch.kind === "telegram") && typeof ch.id === "string" && ch.id) {
|
|
1001
|
+
const channel = { kind: ch.kind, id: ch.id };
|
|
1002
|
+
if (typeof ch.thread === "string" && ch.thread)
|
|
1003
|
+
channel.thread = ch.thread;
|
|
1004
|
+
return channel;
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
return void 0;
|
|
1008
|
+
}
|
|
994
1009
|
|
|
995
1010
|
// ../../packages/core/dist/claude-code-usage/run-marker.js
|
|
996
1011
|
function formatRunMarker(runId) {
|
|
@@ -5622,4 +5637,4 @@ export {
|
|
|
5622
5637
|
parseEnvIntegrations,
|
|
5623
5638
|
probeMcpEnvSubstitution
|
|
5624
5639
|
};
|
|
5625
|
-
//# sourceMappingURL=chunk-
|
|
5640
|
+
//# sourceMappingURL=chunk-3G2D4VXI.js.map
|