@integrity-labs/agt-cli 0.28.419 → 0.28.420

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-W63FDJBY.js";
43
+ } from "../chunk-4D4VKZPK.js";
44
44
  import {
45
45
  AnchorSessionClient,
46
46
  CHANNEL_REGISTRY,
@@ -70,7 +70,7 @@ import {
70
70
  renderTemplate,
71
71
  resolveChannels,
72
72
  serializeManifestForSlackCli
73
- } from "../chunk-IKQHNN7I.js";
73
+ } from "../chunk-LLIMZG67.js";
74
74
  import "../chunk-XWVM4KPK.js";
75
75
 
76
76
  // src/bin/agt.ts
@@ -4829,7 +4829,7 @@ import { execFileSync, execSync } from "child_process";
4829
4829
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4830
4830
  import chalk18 from "chalk";
4831
4831
  import ora16 from "ora";
4832
- var cliVersion = true ? "0.28.419" : "dev";
4832
+ var cliVersion = true ? "0.28.420" : "dev";
4833
4833
  async function fetchLatestVersion() {
4834
4834
  const host2 = getHost();
4835
4835
  if (!host2) return null;
@@ -6001,7 +6001,7 @@ function handleError(err) {
6001
6001
  }
6002
6002
 
6003
6003
  // src/bin/agt.ts
6004
- var cliVersion2 = true ? "0.28.419" : "dev";
6004
+ var cliVersion2 = true ? "0.28.420" : "dev";
6005
6005
  var program = new Command();
6006
6006
  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");
6007
6007
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -25,7 +25,7 @@ import {
25
25
  resolveConnectivityProbe,
26
26
  worseConnectivityOutcome,
27
27
  wrapScheduledTaskPrompt
28
- } from "./chunk-IKQHNN7I.js";
28
+ } from "./chunk-LLIMZG67.js";
29
29
  import {
30
30
  parsePsRows
31
31
  } from "./chunk-XWVM4KPK.js";
@@ -6011,7 +6011,7 @@ function requireHost() {
6011
6011
  }
6012
6012
 
6013
6013
  // src/lib/api-client.ts
6014
- var agtCliVersion = true ? "0.28.419" : "dev";
6014
+ var agtCliVersion = true ? "0.28.420" : "dev";
6015
6015
  var lastConfigHash = null;
6016
6016
  function setConfigHash(hash) {
6017
6017
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8515,4 +8515,4 @@ export {
8515
8515
  managerInstallSystemUnitCommand,
8516
8516
  managerUninstallSystemUnitCommand
8517
8517
  };
8518
- //# sourceMappingURL=chunk-W63FDJBY.js.map
8518
+ //# sourceMappingURL=chunk-4D4VKZPK.js.map
@@ -2968,19 +2968,27 @@ function resolveAvatarEnvUrl(raw) {
2968
2968
 
2969
2969
  // ../../packages/core/dist/provisioning/ec2-capacity.js
2970
2970
  var CAPACITY_TABLE = {
2971
- // t3 family — burst-credit instances. Lookup is per-vCPU plus
2972
- // headroom for the manager process itself.
2971
+ // t3 family — burstable (CPU credits). Fine for these mostly-I/O-bound
2972
+ // agents; the monitor + resize path cover the rare sustained-load case.
2973
2973
  "t3.micro": 1,
2974
- // 1 vCPU / 1 GB — barely fits one agent
2975
- "t3.small": 1,
2976
- // 2 vCPU / 2 GB — still tight
2977
- "t3.medium": 2,
2978
- // 2 vCPU / 4 GB — the sweet spot for a 2-agent host
2979
- "t3.large": 4,
2980
- // 2 vCPU / 8 GB — bursts cover the headroom
2981
- "t3.xlarge": 8,
2974
+ // 2 vCPU / 1 GB — floor
2975
+ "t3.small": 2,
2976
+ // 2 vCPU / 2 GB
2977
+ "t3.medium": 4,
2978
+ // 2 vCPU / 4 GB
2979
+ "t3.large": 8,
2980
+ // 2 vCPU / 8 GB
2981
+ "t3.xlarge": 16,
2982
2982
  // 4 vCPU / 16 GB
2983
- "t3.2xlarge": 16
2983
+ "t3.2xlarge": 32,
2984
+ // 8 vCPU / 32 GB
2985
+ // m6i family — fixed performance (no burst-credit cliff), the preferred
2986
+ // family for dense / sustained multi-agent hosts (e.g. Enterprise default).
2987
+ "m6i.large": 8,
2988
+ // 2 vCPU / 8 GB
2989
+ "m6i.xlarge": 16,
2990
+ // 4 vCPU / 16 GB
2991
+ "m6i.2xlarge": 32
2984
2992
  // 8 vCPU / 32 GB
2985
2993
  };
2986
2994
  var KNOWN_INSTANCE_TYPES = Object.keys(CAPACITY_TABLE);
@@ -4126,6 +4134,13 @@ var BROKER_TOOLKIT_PROVIDERS = {
4126
4134
  function isBrokerToolkit(definitionId) {
4127
4135
  return definitionId in BROKER_TOOLKIT_PROVIDERS;
4128
4136
  }
4137
+ var APPROVAL_BROKER_TOOLKITS = /* @__PURE__ */ new Set(["xero-broker"]);
4138
+ function isApprovalBrokerToolkit(definitionId) {
4139
+ return APPROVAL_BROKER_TOOLKITS.has(definitionId);
4140
+ }
4141
+ function isHostUnprobeableBroker(definitionId) {
4142
+ return isBrokerToolkit(definitionId) || isApprovalBrokerToolkit(definitionId);
4143
+ }
4129
4144
  var HTTP_PROBE_PROVIDERS = /* @__PURE__ */ new Set([
4130
4145
  "linear",
4131
4146
  "google-workspace",
@@ -4176,12 +4191,12 @@ function mcpOverrideFrom(ct) {
4176
4191
  }
4177
4192
  function resolveConnectivityProbe(input) {
4178
4193
  const { definitionId, sourceType, authType } = input;
4179
- if (isBrokerToolkit(definitionId) && (authType === "managed" || sourceType === "managed")) {
4194
+ if (isHostUnprobeableBroker(definitionId) && (authType === "managed" || sourceType === "managed")) {
4180
4195
  return {
4181
4196
  kind: "unsupported",
4182
4197
  sourceType: "managed",
4183
4198
  readOnly: true,
4184
- label: `${definitionId}: broker-managed \u2014 credentials minted per task; no host probe (central enrolment check only)`,
4199
+ label: isApprovalBrokerToolkit(definitionId) ? `${definitionId}: approval broker \u2014 no stored credential; writes authenticate server-side (no host probe)` : `${definitionId}: broker-managed \u2014 credentials minted per task; no host probe (central enrolment check only)`,
4185
4200
  centralReachable: false
4186
4201
  };
4187
4202
  }
@@ -12691,4 +12706,4 @@ export {
12691
12706
  stopAllSessionsAndWait,
12692
12707
  getProjectDir
12693
12708
  };
12694
- //# sourceMappingURL=chunk-IKQHNN7I.js.map
12709
+ //# sourceMappingURL=chunk-LLIMZG67.js.map