@integrity-labs/agt-cli 0.28.61 → 0.28.62
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-BJ26X4HJ.js → chunk-7F2K3RRD.js} +21 -8
- package/dist/chunk-7F2K3RRD.js.map +1 -0
- package/dist/{chunk-YYOFXUCK.js → chunk-AKOF4VV5.js} +2 -2
- package/dist/{chunk-VB5YVGY3.js → chunk-QQGXIZVB.js} +3 -3
- package/dist/{claude-pair-runtime-EJ3IFISR.js → claude-pair-runtime-QSRMTD7I.js} +2 -2
- package/dist/lib/manager-worker.js +8 -8
- package/dist/mcp/slack-channel.js +63 -42
- package/dist/mcp/telegram-channel.js +88 -1
- package/dist/{persistent-session-WSKVRZZD.js → persistent-session-5PEPYSMG.js} +3 -3
- package/dist/{responsiveness-probe-HTPGYQPY.js → responsiveness-probe-HG23JDG2.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-BJ26X4HJ.js.map +0 -1
- /package/dist/{chunk-YYOFXUCK.js.map → chunk-AKOF4VV5.js.map} +0 -0
- /package/dist/{chunk-VB5YVGY3.js.map → chunk-QQGXIZVB.js.map} +0 -0
- /package/dist/{claude-pair-runtime-EJ3IFISR.js.map → claude-pair-runtime-QSRMTD7I.js.map} +0 -0
- /package/dist/{persistent-session-WSKVRZZD.js.map → persistent-session-5PEPYSMG.js.map} +0 -0
- /package/dist/{responsiveness-probe-HTPGYQPY.js.map → responsiveness-probe-HG23JDG2.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-QQGXIZVB.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-7F2K3RRD.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.62" : "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.62" : "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) => {
|
|
@@ -552,13 +552,24 @@ function generateSlackAppManifest(input) {
|
|
|
552
552
|
description: "Restart this agent (allowlisted users only).",
|
|
553
553
|
should_escape: false
|
|
554
554
|
},
|
|
555
|
-
// ENG-
|
|
556
|
-
// envelope handler in
|
|
557
|
-
//
|
|
555
|
+
// ENG-6511: restart self-onboarding from scratch. Routed by the
|
|
556
|
+
// slash_commands envelope handler in
|
|
557
|
+
// packages/mcp/src/slack-channel.ts, which forwards to
|
|
558
|
+
// POST /host/onboarding/reset (RESET — clears progress).
|
|
559
|
+
{
|
|
560
|
+
command: agentSlashCommand("/onboard", agent_code_name),
|
|
561
|
+
url: slash_command_url,
|
|
562
|
+
description: "Restart this agent\u2019s onboarding from scratch (allowlisted users only).",
|
|
563
|
+
should_escape: false
|
|
564
|
+
},
|
|
565
|
+
// ENG-6490 / ENG-6511: resume self-onboarding from where it left
|
|
566
|
+
// off. Routed by the slash_commands envelope handler in
|
|
567
|
+
// packages/mcp/src/slack-channel.ts, which forwards to
|
|
568
|
+
// POST /host/onboarding/resume (RESUME — preserves progress).
|
|
558
569
|
{
|
|
559
570
|
command: agentSlashCommand("/resume-onboarding", agent_code_name),
|
|
560
571
|
url: slash_command_url,
|
|
561
|
-
description: "
|
|
572
|
+
description: "Resume this agent\u2019s onboarding where it left off (allowlisted users only).",
|
|
562
573
|
should_escape: false
|
|
563
574
|
},
|
|
564
575
|
// ENG-6030: live pane tail. Routed by the slash_commands
|
|
@@ -4196,10 +4207,12 @@ async function probeHttpProvider(definitionId, credentials, fetchImpl = fetch) {
|
|
|
4196
4207
|
|
|
4197
4208
|
// ../../packages/core/dist/onboarding/state-machine.js
|
|
4198
4209
|
var TRANSITIONS = {
|
|
4210
|
+
// RESUME is omitted from `pending` on purpose: there is nothing to resume
|
|
4211
|
+
// before onboarding has begun. The host endpoint maps that case to START.
|
|
4199
4212
|
pending: { START: "interviewing" },
|
|
4200
|
-
interviewing: { INTERVIEW_DONE: "configuring", RESET: "interviewing" },
|
|
4201
|
-
configuring: { CONFIGURE_DONE: "ready", RESET: "interviewing" },
|
|
4202
|
-
ready: { RESET: "interviewing" }
|
|
4213
|
+
interviewing: { INTERVIEW_DONE: "configuring", RESET: "interviewing", RESUME: "interviewing" },
|
|
4214
|
+
configuring: { CONFIGURE_DONE: "ready", RESET: "interviewing", RESUME: "configuring" },
|
|
4215
|
+
ready: { RESET: "interviewing", RESUME: "ready" }
|
|
4203
4216
|
};
|
|
4204
4217
|
var VALID_STEPS = new Set(Object.keys(TRANSITIONS));
|
|
4205
4218
|
|
|
@@ -5531,4 +5544,4 @@ export {
|
|
|
5531
5544
|
parseEnvIntegrations,
|
|
5532
5545
|
probeMcpEnvSubstitution
|
|
5533
5546
|
};
|
|
5534
|
-
//# sourceMappingURL=chunk-
|
|
5547
|
+
//# sourceMappingURL=chunk-7F2K3RRD.js.map
|