@integrity-labs/agt-cli 0.28.1132 → 0.28.1133

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-K2V6JUIQ.js";
43
+ } from "../chunk-I7W7LI5F.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-LIWZ3QER.js";
48
+ } from "../chunk-NIKSQHNB.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-CA4OFLW4.js";
82
+ } from "../chunk-TPUS37QC.js";
83
83
  import "../chunk-B6UYVEMD.js";
84
84
  import "../chunk-XWVM4KPK.js";
85
85
  import "../chunk-EL5MWGGH.js";
@@ -5474,7 +5474,7 @@ import { execFileSync, execSync } from "child_process";
5474
5474
  import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
5475
5475
  import chalk18 from "chalk";
5476
5476
  import ora16 from "ora";
5477
- var cliVersion = true ? "0.28.1132" : "dev";
5477
+ var cliVersion = true ? "0.28.1133" : "dev";
5478
5478
  async function fetchLatestVersion() {
5479
5479
  const host2 = getHost();
5480
5480
  if (!host2) return null;
@@ -6734,7 +6734,7 @@ function handleError(err) {
6734
6734
  }
6735
6735
 
6736
6736
  // src/bin/agt.ts
6737
- var cliVersion2 = true ? "0.28.1132" : "dev";
6737
+ var cliVersion2 = true ? "0.28.1133" : "dev";
6738
6738
  var program = new Command();
6739
6739
  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");
6740
6740
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -16,7 +16,7 @@ import {
16
16
  parseEnvFileEntries,
17
17
  parseEnvIntegrations,
18
18
  shellQuote
19
- } from "./chunk-LIWZ3QER.js";
19
+ } from "./chunk-NIKSQHNB.js";
20
20
  import {
21
21
  BIND_FAILURE_QUARANTINE_THRESHOLD,
22
22
  INTEGRATIONS_SECTION_END,
@@ -79,7 +79,7 @@ import {
79
79
  sessionTranscriptDir,
80
80
  worseConnectivityOutcome,
81
81
  wrapScheduledTaskPrompt
82
- } from "./chunk-CA4OFLW4.js";
82
+ } from "./chunk-TPUS37QC.js";
83
83
  import {
84
84
  classifyUnanswerablePane,
85
85
  isConsumerTermsDialogVisible,
@@ -8076,7 +8076,7 @@ function exchangeFailureKind(err) {
8076
8076
  }
8077
8077
 
8078
8078
  // src/lib/api-client.ts
8079
- var agtCliVersion = true ? "0.28.1132" : "dev";
8079
+ var agtCliVersion = true ? "0.28.1133" : "dev";
8080
8080
  var lastConfigHash = null;
8081
8081
  function setConfigHash(hash) {
8082
8082
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -13227,4 +13227,4 @@ export {
13227
13227
  managerInstallSystemUnitCommand,
13228
13228
  managerUninstallSystemUnitCommand
13229
13229
  };
13230
- //# sourceMappingURL=chunk-K2V6JUIQ.js.map
13230
+ //# sourceMappingURL=chunk-I7W7LI5F.js.map
@@ -24,7 +24,7 @@ import {
24
24
  rotateDailySession,
25
25
  sessionFileExists,
26
26
  todayLocalIso
27
- } from "./chunk-CA4OFLW4.js";
27
+ } from "./chunk-TPUS37QC.js";
28
28
  import {
29
29
  classifyUnanswerablePane,
30
30
  findUsageLimitResetHint,
@@ -6114,4 +6114,4 @@ export {
6114
6114
  stopAllSessionsAndWait,
6115
6115
  getProjectDir
6116
6116
  };
6117
- //# sourceMappingURL=chunk-LIWZ3QER.js.map
6117
+ //# sourceMappingURL=chunk-NIKSQHNB.js.map
@@ -1113,7 +1113,17 @@ function formatEmailDomainConfigLines(config) {
1113
1113
  const blocked = stringList(config.blocked_domains);
1114
1114
  lines.push(` - blocked_domains: ${blocked.length ? blocked.join(", ") : "(none)"}`);
1115
1115
  } else if (mode === "internal_only") {
1116
- lines.push(` - only your organization's own email domain is permitted`);
1116
+ const allowed = stringList(config.allowed_domains);
1117
+ const blocked = stringList(config.blocked_domains);
1118
+ if (allowed.length) {
1119
+ lines.push(` - permitted: your organization's own email domain, plus allowed_domains: ${allowed.join(", ")}`);
1120
+ } else {
1121
+ lines.push(` - only your organization's own email domain is permitted`);
1122
+ }
1123
+ if (blocked.length) {
1124
+ const list = blocked.join(", ");
1125
+ lines.push(config.enforce_live === true ? ` - blocked_domains (refused): ${list}` : config.approval_live === true ? ` - blocked_domains: ${list} (a send to these is held for a person to approve, not refused \u2014 never assume it went)` : config.not_live_reason === "no_verified_domain" ? ` - blocked_domains: ${list} (not enforced yet: your organization has no verified email domain, so never email these)` : ` - blocked_domains: ${list} (nothing is enforced at this setting, so a send would go straight out \u2014 never email these)`);
1126
+ }
1117
1127
  }
1118
1128
  const stage = typeof config.stage === "string" ? config.stage : void 0;
1119
1129
  const enforceLive = config.enforce_live === true;
@@ -17095,4 +17105,4 @@ export {
17095
17105
  peekCurrentSession,
17096
17106
  readDailySessionPin
17097
17107
  };
17098
- //# sourceMappingURL=chunk-CA4OFLW4.js.map
17108
+ //# sourceMappingURL=chunk-TPUS37QC.js.map