@integrity-labs/agt-cli 0.28.791 → 0.28.792

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-EPMGQHEU.js";
43
+ } from "../chunk-GQLJGQVM.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-5YVKL47B.js";
48
+ } from "../chunk-RBRA7WOL.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-LZOCRUOY.js";
82
+ } from "../chunk-6DWVW3Y3.js";
83
83
  import "../chunk-XWVM4KPK.js";
84
84
 
85
85
  // src/bin/agt.ts
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
5467
5467
  import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
5468
5468
  import chalk18 from "chalk";
5469
5469
  import ora16 from "ora";
5470
- var cliVersion = true ? "0.28.791" : "dev";
5470
+ var cliVersion = true ? "0.28.792" : "dev";
5471
5471
  async function fetchLatestVersion() {
5472
5472
  const host2 = getHost();
5473
5473
  if (!host2) return null;
@@ -6658,7 +6658,7 @@ function handleError(err) {
6658
6658
  }
6659
6659
 
6660
6660
  // src/bin/agt.ts
6661
- var cliVersion2 = true ? "0.28.791" : "dev";
6661
+ var cliVersion2 = true ? "0.28.792" : "dev";
6662
6662
  var program = new Command();
6663
6663
  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");
6664
6664
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -1924,7 +1924,29 @@ var INTEGRATION_REGISTRY = [
1924
1924
  premium: {
1925
1925
  pricing: "usage",
1926
1926
  note: "Billed per minute of real-time voice conversation.",
1927
- meters: [{ event_type: "voice_session", unit: "minute" }]
1927
+ meters: [
1928
+ { event_type: "voice_session", unit: "minute" },
1929
+ // ENG-9870. Ninja Notes cloud transcription, on the SAME definition id
1930
+ // and therefore the SAME $50/org pool as voice conversation — Brad's
1931
+ // call on 2026-09-03, against a recommendation to separate it. Sharing
1932
+ // is by construction rather than by wiring: `evaluateUsageBudget`
1933
+ // iterates every event type under the definition.
1934
+ //
1935
+ // `audio_hour`, not `minute`. The vendor prices per hour and the sell
1936
+ // price is per hour, so hours store exactly (50 minor) where minutes
1937
+ // would be 0.8333 repeating; `integration_usage_events.units` is
1938
+ // `numeric`, so a 30-minute meeting records 0.5 units precisely. This
1939
+ // is the answer to ENG-9773 §10.1's open question about whether hours
1940
+ // convert to minutes or the vocabulary gains hours.
1941
+ //
1942
+ // NOTHING RECORDS THIS EVENT YET. Metering belongs at the chokepoint
1943
+ // where audio is actually sent, and ENG-9868 left the transport
1944
+ // injected with no implementation. The rate card exists first
1945
+ // deliberately: a billable event with no USD rate makes
1946
+ // `evaluateUsageBudget` throw, and on a SHARED pool that would break
1947
+ // Voice Chat's budget check, not just this one.
1948
+ { event_type: "transcription", unit: "audio_hour" }
1949
+ ]
1928
1950
  }
1929
1951
  },
1930
1952
  {
@@ -13571,4 +13593,4 @@ export {
13571
13593
  peekCurrentSession,
13572
13594
  readDailySessionPin
13573
13595
  };
13574
- //# sourceMappingURL=chunk-LZOCRUOY.js.map
13596
+ //# sourceMappingURL=chunk-6DWVW3Y3.js.map