@integrity-labs/agt-cli 0.28.56 → 0.28.57

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 CHANGED
@@ -37,7 +37,7 @@ import {
37
37
  success,
38
38
  table,
39
39
  warn
40
- } from "../chunk-OLP3LORD.js";
40
+ } from "../chunk-F45T5XPH.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-TMTSBVPP.js";
67
+ } from "../chunk-SJRG5VUF.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.56" : "dev";
4780
+ var cliVersion = true ? "0.28.57" : "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.56" : "dev";
5794
+ var cliVersion2 = true ? "0.28.57" : "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) => {
@@ -22,7 +22,7 @@ import {
22
22
  resolveConnectivityProbe,
23
23
  worseConnectivityOutcome,
24
24
  wrapScheduledTaskPrompt
25
- } from "./chunk-TMTSBVPP.js";
25
+ } from "./chunk-SJRG5VUF.js";
26
26
 
27
27
  // ../../packages/core/dist/integrations/registry.js
28
28
  var INTEGRATION_REGISTRY = [
@@ -7355,7 +7355,7 @@ function requireHost() {
7355
7355
  }
7356
7356
 
7357
7357
  // src/lib/api-client.ts
7358
- var agtCliVersion = true ? "0.28.56" : "dev";
7358
+ var agtCliVersion = true ? "0.28.57" : "dev";
7359
7359
  var lastConfigHash = null;
7360
7360
  function setConfigHash(hash) {
7361
7361
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8651,4 +8651,4 @@ export {
8651
8651
  managerInstallSystemUnitCommand,
8652
8652
  managerUninstallSystemUnitCommand
8653
8653
  };
8654
- //# sourceMappingURL=chunk-OLP3LORD.js.map
8654
+ //# sourceMappingURL=chunk-F45T5XPH.js.map
@@ -3,7 +3,7 @@ import {
3
3
  formatMissingVar,
4
4
  isClaudeFastMode,
5
5
  probeMcpEnvSubstitution
6
- } from "./chunk-TMTSBVPP.js";
6
+ } from "./chunk-SJRG5VUF.js";
7
7
  import {
8
8
  reapOrphanChannelMcps
9
9
  } from "./chunk-XWVM4KPK.js";
@@ -1395,4 +1395,4 @@ export {
1395
1395
  stopAllSessionsAndWait,
1396
1396
  getProjectDir
1397
1397
  };
1398
- //# sourceMappingURL=chunk-ATK3HBK6.js.map
1398
+ //# sourceMappingURL=chunk-MKKTPM6J.js.map
@@ -552,6 +552,15 @@ function generateSlackAppManifest(input) {
552
552
  description: "Restart this agent (allowlisted users only).",
553
553
  should_escape: false
554
554
  },
555
+ // ENG-6490: re-run self-onboarding. Routed by the slash_commands
556
+ // envelope handler in packages/mcp/src/slack-channel.ts, which
557
+ // forwards to POST /host/onboarding/reset.
558
+ {
559
+ command: agentSlashCommand("/resume-onboarding", agent_code_name),
560
+ url: slash_command_url,
561
+ description: "Re-run this agent\u2019s onboarding interview (allowlisted users only).",
562
+ should_escape: false
563
+ },
555
564
  // ENG-6030: live pane tail. Routed by the slash_commands
556
565
  // envelope handler in packages/mcp/src/slack-channel.ts;
557
566
  // fail-closed (DM + non-empty SLACK_ALLOWED_USERS required).
@@ -4145,6 +4154,15 @@ async function probeHttpProvider(definitionId, credentials, fetchImpl = fetch) {
4145
4154
  }
4146
4155
  }
4147
4156
 
4157
+ // ../../packages/core/dist/onboarding/state-machine.js
4158
+ var TRANSITIONS = {
4159
+ pending: { START: "interviewing" },
4160
+ interviewing: { INTERVIEW_DONE: "configuring", RESET: "interviewing" },
4161
+ configuring: { CONFIGURE_DONE: "ready", RESET: "interviewing" },
4162
+ ready: { RESET: "interviewing" }
4163
+ };
4164
+ var VALID_STEPS = new Set(Object.keys(TRANSITIONS));
4165
+
4148
4166
  // ../../packages/core/dist/admin-debug/index.js
4149
4167
  var STUCK_RESTART_THRESHOLD_SECONDS = 15 * 60;
4150
4168
 
@@ -5473,4 +5491,4 @@ export {
5473
5491
  parseEnvIntegrations,
5474
5492
  probeMcpEnvSubstitution
5475
5493
  };
5476
- //# sourceMappingURL=chunk-TMTSBVPP.js.map
5494
+ //# sourceMappingURL=chunk-SJRG5VUF.js.map