@integrity-labs/agt-cli 0.21.2 → 0.21.3

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
@@ -50,7 +50,7 @@ import {
50
50
  success,
51
51
  table,
52
52
  warn
53
- } from "../chunk-HPL4HOZ5.js";
53
+ } from "../chunk-O52NTHB2.js";
54
54
 
55
55
  // src/bin/agt.ts
56
56
  import { join as join10 } from "path";
@@ -3734,7 +3734,7 @@ import { execFileSync, execSync } from "child_process";
3734
3734
  import { existsSync as existsSync5, realpathSync } from "fs";
3735
3735
  import chalk17 from "chalk";
3736
3736
  import ora15 from "ora";
3737
- var cliVersion = true ? "0.21.2" : "dev";
3737
+ var cliVersion = true ? "0.21.3" : "dev";
3738
3738
  async function fetchLatestVersion() {
3739
3739
  const host2 = getHost();
3740
3740
  if (!host2) return null;
@@ -4266,7 +4266,7 @@ function handleError(err) {
4266
4266
  }
4267
4267
 
4268
4268
  // src/bin/agt.ts
4269
- var cliVersion2 = true ? "0.21.2" : "dev";
4269
+ var cliVersion2 = true ? "0.21.3" : "dev";
4270
4270
  var program = new Command();
4271
4271
  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");
4272
4272
  program.hook("preAction", (thisCommand) => {
@@ -6715,6 +6715,25 @@ function validateHeadings(body, requiredHeadings = REQUIRED_CHARTER_HEADINGS) {
6715
6715
  return requiredHeadings.filter((h) => !found.has(h));
6716
6716
  }
6717
6717
 
6718
+ // ../../packages/core/dist/provisioning/ec2-capacity.js
6719
+ var CAPACITY_TABLE = {
6720
+ // t3 family — burst-credit instances. Lookup is per-vCPU plus
6721
+ // headroom for the manager process itself.
6722
+ "t3.micro": 1,
6723
+ // 1 vCPU / 1 GB — barely fits one agent
6724
+ "t3.small": 1,
6725
+ // 2 vCPU / 2 GB — still tight
6726
+ "t3.medium": 2,
6727
+ // 2 vCPU / 4 GB — the sweet spot for a 2-agent host
6728
+ "t3.large": 4,
6729
+ // 2 vCPU / 8 GB — bursts cover the headroom
6730
+ "t3.xlarge": 8,
6731
+ // 4 vCPU / 16 GB
6732
+ "t3.2xlarge": 16
6733
+ // 8 vCPU / 32 GB
6734
+ };
6735
+ var KNOWN_INSTANCE_TYPES = Object.keys(CAPACITY_TABLE);
6736
+
6718
6737
  // ../../packages/core/dist/scheduled-tasks/suppress.js
6719
6738
  var SENTINEL_REGEX = /<no-delivery\/>/g;
6720
6739
  function classifyOutput(output) {
@@ -9502,4 +9521,4 @@ export {
9502
9521
  managerInstallSystemUnitCommand,
9503
9522
  managerUninstallSystemUnitCommand
9504
9523
  };
9505
- //# sourceMappingURL=chunk-HPL4HOZ5.js.map
9524
+ //# sourceMappingURL=chunk-O52NTHB2.js.map