@integrity-labs/agt-cli 0.28.958 → 0.28.960

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,12 +40,12 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-I6WRHEZ4.js";
43
+ } from "../chunk-3ICRKL3Y.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-F47LQPDM.js";
48
+ } from "../chunk-SQGW4VAW.js";
49
49
  import {
50
50
  AnchorSessionClient,
51
51
  CHANNEL_REGISTRY,
@@ -79,7 +79,7 @@ import {
79
79
  serializeManifestForSlackCli,
80
80
  sessionFileExists,
81
81
  sessionTranscriptDir
82
- } from "../chunk-CCQ3WAVH.js";
82
+ } from "../chunk-GSRUWWT6.js";
83
83
  import "../chunk-DHWNVVX4.js";
84
84
  import "../chunk-XWVM4KPK.js";
85
85
 
@@ -5471,7 +5471,7 @@ import { execFileSync, execSync } from "child_process";
5471
5471
  import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
5472
5472
  import chalk18 from "chalk";
5473
5473
  import ora16 from "ora";
5474
- var cliVersion = true ? "0.28.958" : "dev";
5474
+ var cliVersion = true ? "0.28.960" : "dev";
5475
5475
  async function fetchLatestVersion() {
5476
5476
  const host2 = getHost();
5477
5477
  if (!host2) return null;
@@ -6731,7 +6731,7 @@ function handleError(err) {
6731
6731
  }
6732
6732
 
6733
6733
  // src/bin/agt.ts
6734
- var cliVersion2 = true ? "0.28.958" : "dev";
6734
+ var cliVersion2 = true ? "0.28.960" : "dev";
6735
6735
  var program = new Command();
6736
6736
  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");
6737
6737
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -14,7 +14,7 @@ import {
14
14
  parseEnvFileEntries,
15
15
  parseEnvIntegrations,
16
16
  shellQuote
17
- } from "./chunk-F47LQPDM.js";
17
+ } from "./chunk-SQGW4VAW.js";
18
18
  import {
19
19
  BIND_FAILURE_QUARANTINE_THRESHOLD,
20
20
  INTEGRATIONS_SECTION_END,
@@ -74,7 +74,7 @@ import {
74
74
  sessionTranscriptDir,
75
75
  worseConnectivityOutcome,
76
76
  wrapScheduledTaskPrompt
77
- } from "./chunk-CCQ3WAVH.js";
77
+ } from "./chunk-GSRUWWT6.js";
78
78
  import {
79
79
  classifyUnanswerablePane,
80
80
  summarizeUnanswerablePane
@@ -6967,7 +6967,7 @@ function exchangeFailureKind(err) {
6967
6967
  }
6968
6968
 
6969
6969
  // src/lib/api-client.ts
6970
- var agtCliVersion = true ? "0.28.958" : "dev";
6970
+ var agtCliVersion = true ? "0.28.960" : "dev";
6971
6971
  var lastConfigHash = null;
6972
6972
  function setConfigHash(hash) {
6973
6973
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -11666,4 +11666,4 @@ export {
11666
11666
  managerInstallSystemUnitCommand,
11667
11667
  managerUninstallSystemUnitCommand
11668
11668
  };
11669
- //# sourceMappingURL=chunk-I6WRHEZ4.js.map
11669
+ //# sourceMappingURL=chunk-3ICRKL3Y.js.map
@@ -15,6 +15,18 @@ var KNOWN_MODEL_SLOTS = new Set(Object.values(FRAMEWORK_MODEL_SLOTS).flat());
15
15
  function modelSlotsForFramework(framework) {
16
16
  return FRAMEWORK_MODEL_SLOTS[framework] ?? [];
17
17
  }
18
+ var AGENT_CLASSES = ["standard", "advanced"];
19
+ var DEFAULT_AGENT_CLASS = "standard";
20
+ function normalizeAgentClass(value) {
21
+ return AGENT_CLASSES.includes(value) ? value : DEFAULT_AGENT_CLASS;
22
+ }
23
+ var AGENT_CLASS_CONTAINER_MEMORY = {
24
+ standard: "2g",
25
+ advanced: "6g"
26
+ };
27
+ function containerMemoryForAgentClass(value) {
28
+ return AGENT_CLASS_CONTAINER_MEMORY[normalizeAgentClass(value)];
29
+ }
18
30
 
19
31
  // ../../packages/core/dist/scheduled-tasks/timezone.js
20
32
  function isUnsetTimezone(tz) {
@@ -14741,6 +14753,7 @@ export {
14741
14753
  DEFAULT_FRAMEWORK,
14742
14754
  isDeprecatedFramework,
14743
14755
  modelSlotsForFramework,
14756
+ containerMemoryForAgentClass,
14744
14757
  isUnsetTimezone,
14745
14758
  resolveAgentTimezone,
14746
14759
  isAgentTimezoneOverrideExpired,
@@ -14911,4 +14924,4 @@ export {
14911
14924
  peekCurrentSession,
14912
14925
  readDailySessionPin
14913
14926
  };
14914
- //# sourceMappingURL=chunk-CCQ3WAVH.js.map
14927
+ //# sourceMappingURL=chunk-GSRUWWT6.js.map