@integrity-labs/agt-cli 0.28.1132 → 0.28.1134

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-DQGY7XBU.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-LIWZ3QER.js";
48
+ } from "../chunk-HHLP37ZS.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-4V3XZBB4.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.1134" : "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.1134" : "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) => {
@@ -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;
@@ -2466,7 +2476,27 @@ var INTEGRATION_REGISTRY = [
2466
2476
  // price. Flare holds gpt-image-2's rate (it is the lower-latency
2467
2477
  // successor at the same cost to us); Sunburst is seeded at 4x.
2468
2478
  { event_type: "gpt_image_2_5_flare", unit: "image" },
2469
- { event_type: "gpt_image_2_5_sunburst", unit: "image" }
2479
+ { event_type: "gpt_image_2_5_sunburst", unit: "image" },
2480
+ // CS-1940: an edit also records one of these with units = the number of
2481
+ // reference images. Declared here (obi-wan 3a515eaf41b0) because the admin
2482
+ // pricing route only accepts a price for a declared meter, and the org
2483
+ // settings list and opt-in modal only show declared meters. Undeclared,
2484
+ // the edit price gate could not be opened from the console and a priced
2485
+ // edit would bill on a meter no customer surface showed. The edit gate
2486
+ // stays shut until each of these has a rate card row in BOTH USD and AUD
2487
+ // (settlement prices in the org's billing currency).
2488
+ {
2489
+ event_type: "gpt_image_2_5_flare_edit_input",
2490
+ unit: "reference_image",
2491
+ label: "Flare edit input",
2492
+ unit_label: "reference image"
2493
+ },
2494
+ {
2495
+ event_type: "gpt_image_2_5_sunburst_edit_input",
2496
+ unit: "reference_image",
2497
+ label: "Sunburst edit input",
2498
+ unit_label: "reference image"
2499
+ }
2470
2500
  ]
2471
2501
  }
2472
2502
  },
@@ -17095,4 +17125,4 @@ export {
17095
17125
  peekCurrentSession,
17096
17126
  readDailySessionPin
17097
17127
  };
17098
- //# sourceMappingURL=chunk-CA4OFLW4.js.map
17128
+ //# sourceMappingURL=chunk-4V3XZBB4.js.map