@integrity-labs/agt-cli 0.28.561 → 0.28.563

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
@@ -40,7 +40,7 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-HBZ6OURT.js";
43
+ } from "../chunk-UKV7Z7ZC.js";
44
44
  import {
45
45
  AnchorSessionClient,
46
46
  CHANNEL_REGISTRY,
@@ -71,7 +71,7 @@ import {
71
71
  requiredMcpWildcard,
72
72
  resolveChannels,
73
73
  serializeManifestForSlackCli
74
- } from "../chunk-MWGJOFRI.js";
74
+ } from "../chunk-37XH72RK.js";
75
75
  import "../chunk-XWVM4KPK.js";
76
76
 
77
77
  // src/bin/agt.ts
@@ -4834,7 +4834,7 @@ import { execFileSync, execSync } from "child_process";
4834
4834
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4835
4835
  import chalk18 from "chalk";
4836
4836
  import ora16 from "ora";
4837
- var cliVersion = true ? "0.28.561" : "dev";
4837
+ var cliVersion = true ? "0.28.563" : "dev";
4838
4838
  async function fetchLatestVersion() {
4839
4839
  const host2 = getHost();
4840
4840
  if (!host2) return null;
@@ -6009,7 +6009,7 @@ function handleError(err) {
6009
6009
  }
6010
6010
 
6011
6011
  // src/bin/agt.ts
6012
- var cliVersion2 = true ? "0.28.561" : "dev";
6012
+ var cliVersion2 = true ? "0.28.563" : "dev";
6013
6013
  var program = new Command();
6014
6014
  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");
6015
6015
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -4092,6 +4092,28 @@ function requiredMcpWildcard(serverKey) {
4092
4092
  return `mcp__${serverKey}__*`;
4093
4093
  }
4094
4094
 
4095
+ // ../../packages/core/dist/provisioning/control-plane-config-keys.js
4096
+ var CONTROL_PLANE_ONLY_CONFIG_KEYS = /* @__PURE__ */ new Set([
4097
+ "managed_state_token",
4098
+ "managed_state_expires",
4099
+ "managed_state_tokens"
4100
+ ]);
4101
+ var CONTROL_PLANE_CONFIG_KEY_SUFFIXES = ["_server_id"];
4102
+ function isControlPlaneOnlyConfigKey(key) {
4103
+ const normalized = key.toLowerCase();
4104
+ if (CONTROL_PLANE_ONLY_CONFIG_KEYS.has(normalized))
4105
+ return true;
4106
+ return CONTROL_PLANE_CONFIG_KEY_SUFFIXES.some((suffix) => normalized.endsWith(suffix));
4107
+ }
4108
+ function isControlPlaneOnlyEnvVar(name) {
4109
+ const normalized = name.toLowerCase();
4110
+ for (const key of CONTROL_PLANE_ONLY_CONFIG_KEYS) {
4111
+ if (normalized === key || normalized.endsWith(`_${key}`))
4112
+ return true;
4113
+ }
4114
+ return CONTROL_PLANE_CONFIG_KEY_SUFFIXES.some((suffix) => normalized.endsWith(suffix));
4115
+ }
4116
+
4095
4117
  // ../../packages/core/dist/integrations/context-validator.js
4096
4118
  import Ajv20202 from "ajv/dist/2020.js";
4097
4119
  import addFormats2 from "ajv-formats";
@@ -15570,6 +15592,8 @@ export {
15570
15592
  buildLiveHeaderRemoteMcpProxyEntry,
15571
15593
  buildOAuthRemoteMcpProxyEntry,
15572
15594
  buildNativeMcpEntry,
15595
+ isControlPlaneOnlyConfigKey,
15596
+ isControlPlaneOnlyEnvVar,
15573
15597
  toOpencodeModel,
15574
15598
  mergeOpencodeConfigArtifact,
15575
15599
  readChannelServerEnv,
@@ -15739,4 +15763,4 @@ export {
15739
15763
  stopAllSessionsAndWait,
15740
15764
  getProjectDir
15741
15765
  };
15742
- //# sourceMappingURL=chunk-MWGJOFRI.js.map
15766
+ //# sourceMappingURL=chunk-37XH72RK.js.map