@integrity-labs/agt-cli 0.27.13 → 0.27.14

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.
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  claudeModelAlias,
3
3
  isClaudeFastMode
4
- } from "./chunk-YSBGIXJG.js";
4
+ } from "./chunk-HT6EETEL.js";
5
5
  import {
6
6
  reapOrphanChannelMcps
7
7
  } from "./chunk-XWVM4KPK.js";
@@ -1116,4 +1116,4 @@ export {
1116
1116
  stopAllSessionsAndWait,
1117
1117
  getProjectDir
1118
1118
  };
1119
- //# sourceMappingURL=chunk-GN4XPQWJ.js.map
1119
+ //# sourceMappingURL=chunk-5ZUNHYKV.js.map
@@ -9,7 +9,7 @@ import {
9
9
  parseDeliveryTarget,
10
10
  registerFramework,
11
11
  wrapScheduledTaskPrompt
12
- } from "./chunk-YSBGIXJG.js";
12
+ } from "./chunk-HT6EETEL.js";
13
13
 
14
14
  // ../../packages/core/dist/integrations/registry.js
15
15
  var INTEGRATION_REGISTRY = [
@@ -6065,12 +6065,15 @@ function setActiveTeam(slug) {
6065
6065
  config.active_team = slug;
6066
6066
  saveConfig(config);
6067
6067
  }
6068
- var DEFAULT_AGT_HOST = "https://api.augmented.team";
6068
+ var PROD_AGT_HOST = "https://api.augmented.team";
6069
+ var AGT_HOST_UNSET_MESSAGE = "AGT_HOST is not set. Set it to the API URL for your stage before running this command:\n Production: export AGT_HOST=https://api.augmented.team\n Non-prod stage: export AGT_HOST=https://<stage>.api.staging.augmented.team\n Local development: export AGT_HOST=http://api.agt.localhost:1355\n\nFor first-time host setup, pass --api-host <url> to `agt setup` instead \u2014 the setup command does NOT silently default to prod (ENG-5831).";
6069
6070
  function getHost() {
6070
6071
  const envHost = process.env["AGT_HOST"]?.trim();
6071
- return envHost ? envHost : DEFAULT_AGT_HOST;
6072
+ if (!envHost) {
6073
+ throw new Error(AGT_HOST_UNSET_MESSAGE);
6074
+ }
6075
+ return envHost;
6072
6076
  }
6073
- var AGT_HOST = getHost();
6074
6077
  function requireHost() {
6075
6078
  return getHost();
6076
6079
  }
@@ -6893,7 +6896,7 @@ export {
6893
6896
  getApiKey,
6894
6897
  getActiveTeam,
6895
6898
  setActiveTeam,
6896
- DEFAULT_AGT_HOST,
6899
+ PROD_AGT_HOST,
6897
6900
  getHost,
6898
6901
  requireHost,
6899
6902
  exchangeApiKey,
@@ -6917,4 +6920,4 @@ export {
6917
6920
  managerInstallSystemUnitCommand,
6918
6921
  managerUninstallSystemUnitCommand
6919
6922
  };
6920
- //# sourceMappingURL=chunk-Q4MWFZ5Y.js.map
6923
+ //# sourceMappingURL=chunk-HKZFMGYE.js.map