@integrity-labs/agt-cli 0.28.68 → 0.28.70

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-I2UIKFQ7.js";
40
+ } from "../chunk-ZNJJPZMN.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-BBD64HBH.js";
67
+ } from "../chunk-OM27L4X2.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.68" : "dev";
4780
+ var cliVersion = true ? "0.28.70" : "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.68" : "dev";
5794
+ var cliVersion2 = true ? "0.28.70" : "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) => {
@@ -3,7 +3,7 @@ import {
3
3
  formatMissingVar,
4
4
  isClaudeFastMode,
5
5
  probeMcpEnvSubstitution
6
- } from "./chunk-BBD64HBH.js";
6
+ } from "./chunk-OM27L4X2.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-SS56LU6L.js.map
1398
+ //# sourceMappingURL=chunk-CVKQDF5V.js.map
@@ -955,6 +955,27 @@ var HOURLY_BY_REGION = {
955
955
  };
956
956
  var KNOWN_PRICING_REGIONS = Object.keys(HOURLY_BY_REGION);
957
957
 
958
+ // ../../packages/core/dist/onboarding/state-machine.js
959
+ var TRANSITIONS = {
960
+ // RESUME is omitted from `pending` on purpose: there is nothing to resume
961
+ // before onboarding has begun. The host endpoint maps that case to START.
962
+ pending: { START: "interviewing" },
963
+ interviewing: { INTERVIEW_DONE: "configuring", RESET: "interviewing", RESUME: "interviewing" },
964
+ configuring: { CONFIGURE_DONE: "ready", RESET: "interviewing", RESUME: "configuring" },
965
+ ready: { RESET: "interviewing", RESUME: "ready" }
966
+ };
967
+ var INITIAL_ONBOARDING_STATE = { step: "pending", completed: [] };
968
+ var VALID_STEPS = new Set(Object.keys(TRANSITIONS));
969
+ function coerceOnboardingState(raw) {
970
+ if (raw && typeof raw === "object") {
971
+ const s = raw;
972
+ if (typeof s.step === "string" && VALID_STEPS.has(s.step) && Array.isArray(s.completed)) {
973
+ return s;
974
+ }
975
+ }
976
+ return INITIAL_ONBOARDING_STATE;
977
+ }
978
+
958
979
  // ../../packages/core/dist/claude-code-usage/run-marker.js
959
980
  function formatRunMarker(runId) {
960
981
  return `<!-- agt-run:${runId} -->`;
@@ -4205,16 +4226,13 @@ async function probeHttpProvider(definitionId, credentials, fetchImpl = fetch) {
4205
4226
  }
4206
4227
  }
4207
4228
 
4208
- // ../../packages/core/dist/onboarding/state-machine.js
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.
4212
- pending: { START: "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" }
4216
- };
4217
- var VALID_STEPS = new Set(Object.keys(TRANSITIONS));
4229
+ // ../../packages/core/dist/scheduled-tasks/timezone.js
4230
+ function isUnsetTimezone(tz) {
4231
+ if (!tz)
4232
+ return true;
4233
+ const trimmed = tz.trim();
4234
+ return trimmed.length === 0 || trimmed.toLowerCase() === "auto" || trimmed.toUpperCase() === "UTC";
4235
+ }
4218
4236
 
4219
4237
  // ../../packages/core/dist/admin-debug/index.js
4220
4238
  var STUCK_RESTART_THRESHOLD_SECONDS = 15 * 60;
@@ -4390,14 +4408,6 @@ function detectDrift(snapshot, liveState, agentId, codeName, riskTier) {
4390
4408
  };
4391
4409
  }
4392
4410
 
4393
- // ../../packages/core/dist/scheduled-tasks/timezone.js
4394
- function isUnsetTimezone(tz) {
4395
- if (!tz)
4396
- return true;
4397
- const trimmed = tz.trim();
4398
- return trimmed.length === 0 || trimmed.toLowerCase() === "auto" || trimmed.toUpperCase() === "UTC";
4399
- }
4400
-
4401
4411
  // ../../packages/core/dist/scheduled-tasks/prompt-wrapper.js
4402
4412
  var PREAMBLE_HEAD = [
4403
4413
  "[SCHEDULED TASK \u2014 EXECUTION MODE]",
@@ -5523,6 +5533,7 @@ export {
5523
5533
  probeComposioAccount,
5524
5534
  probeComposioMcpToolCall,
5525
5535
  probeHttpProvider,
5536
+ coerceOnboardingState,
5526
5537
  detectDrift,
5527
5538
  SUPPRESS_SENTINEL,
5528
5539
  classifyOutput,
@@ -5544,4 +5555,4 @@ export {
5544
5555
  parseEnvIntegrations,
5545
5556
  probeMcpEnvSubstitution
5546
5557
  };
5547
- //# sourceMappingURL=chunk-BBD64HBH.js.map
5558
+ //# sourceMappingURL=chunk-OM27L4X2.js.map