@integrity-labs/agt-cli 0.28.699 → 0.28.701

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.
Files changed (24) hide show
  1. package/dist/bin/agt.js +5 -5
  2. package/dist/{chunk-ZLHRSMKL.js → chunk-53XUMCTF.js} +4 -4
  3. package/dist/{chunk-PBOSJQE6.js → chunk-DX3REH6Z.js} +35 -3
  4. package/dist/chunk-DX3REH6Z.js.map +1 -0
  5. package/dist/{chunk-WDHT7D67.js → chunk-JWFVVQ5R.js} +2 -2
  6. package/dist/{claude-pair-runtime-6W4UKH3J.js → claude-pair-runtime-OVV6MBU5.js} +2 -2
  7. package/dist/lib/manager-worker.js +36 -18
  8. package/dist/lib/manager-worker.js.map +1 -1
  9. package/dist/mcp/direct-chat-channel.js +33 -2
  10. package/dist/mcp/index.js +33 -2
  11. package/dist/mcp/origami.js +33 -2
  12. package/dist/mcp/slack-channel.js +33 -2
  13. package/dist/mcp/telegram-channel.js +33 -2
  14. package/dist/{persistent-session-MIMASNZD.js → persistent-session-V72ISHD4.js} +3 -3
  15. package/dist/{responsiveness-probe-UWABMXTD.js → responsiveness-probe-BW5AHMES.js} +3 -3
  16. package/dist/{session-auth-dead-LRVZHGJI.js → session-auth-dead-H5IVXY2C.js} +2 -2
  17. package/package.json +1 -1
  18. package/dist/chunk-PBOSJQE6.js.map +0 -1
  19. /package/dist/{chunk-ZLHRSMKL.js.map → chunk-53XUMCTF.js.map} +0 -0
  20. /package/dist/{chunk-WDHT7D67.js.map → chunk-JWFVVQ5R.js.map} +0 -0
  21. /package/dist/{claude-pair-runtime-6W4UKH3J.js.map → claude-pair-runtime-OVV6MBU5.js.map} +0 -0
  22. /package/dist/{persistent-session-MIMASNZD.js.map → persistent-session-V72ISHD4.js.map} +0 -0
  23. /package/dist/{responsiveness-probe-UWABMXTD.js.map → responsiveness-probe-BW5AHMES.js.map} +0 -0
  24. /package/dist/{session-auth-dead-LRVZHGJI.js.map → session-auth-dead-H5IVXY2C.js.map} +0 -0
package/dist/bin/agt.js CHANGED
@@ -40,10 +40,10 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-ZLHRSMKL.js";
43
+ } from "../chunk-53XUMCTF.js";
44
44
  import {
45
45
  readDirectChatSessionState
46
- } from "../chunk-WDHT7D67.js";
46
+ } from "../chunk-JWFVVQ5R.js";
47
47
  import {
48
48
  AnchorSessionClient,
49
49
  CHANNEL_REGISTRY,
@@ -73,7 +73,7 @@ import {
73
73
  requiredMcpWildcard,
74
74
  resolveChannels,
75
75
  serializeManifestForSlackCli
76
- } from "../chunk-PBOSJQE6.js";
76
+ } from "../chunk-DX3REH6Z.js";
77
77
  import "../chunk-XWVM4KPK.js";
78
78
 
79
79
  // src/bin/agt.ts
@@ -4909,7 +4909,7 @@ import { execFileSync, execSync } from "child_process";
4909
4909
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4910
4910
  import chalk18 from "chalk";
4911
4911
  import ora16 from "ora";
4912
- var cliVersion = true ? "0.28.699" : "dev";
4912
+ var cliVersion = true ? "0.28.701" : "dev";
4913
4913
  async function fetchLatestVersion() {
4914
4914
  const host2 = getHost();
4915
4915
  if (!host2) return null;
@@ -6089,7 +6089,7 @@ function handleError(err) {
6089
6089
  }
6090
6090
 
6091
6091
  // src/bin/agt.ts
6092
- var cliVersion2 = true ? "0.28.699" : "dev";
6092
+ var cliVersion2 = true ? "0.28.701" : "dev";
6093
6093
  var program = new Command();
6094
6094
  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");
6095
6095
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -12,7 +12,7 @@ import {
12
12
  parseEnvFileEntries,
13
13
  parseEnvIntegrations,
14
14
  shellQuote
15
- } from "./chunk-WDHT7D67.js";
15
+ } from "./chunk-JWFVVQ5R.js";
16
16
  import {
17
17
  BIND_FAILURE_QUARANTINE_THRESHOLD,
18
18
  INTEGRATIONS_SECTION_END,
@@ -59,7 +59,7 @@ import {
59
59
  resolveConnectivityProbe,
60
60
  worseConnectivityOutcome,
61
61
  wrapScheduledTaskPrompt
62
- } from "./chunk-PBOSJQE6.js";
62
+ } from "./chunk-DX3REH6Z.js";
63
63
  import {
64
64
  parsePsRows
65
65
  } from "./chunk-XWVM4KPK.js";
@@ -6383,7 +6383,7 @@ function exchangeFailureKind(err) {
6383
6383
  }
6384
6384
 
6385
6385
  // src/lib/api-client.ts
6386
- var agtCliVersion = true ? "0.28.699" : "dev";
6386
+ var agtCliVersion = true ? "0.28.701" : "dev";
6387
6387
  var lastConfigHash = null;
6388
6388
  function setConfigHash(hash) {
6389
6389
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -10124,4 +10124,4 @@ export {
10124
10124
  managerInstallSystemUnitCommand,
10125
10125
  managerUninstallSystemUnitCommand
10126
10126
  };
10127
- //# sourceMappingURL=chunk-ZLHRSMKL.js.map
10127
+ //# sourceMappingURL=chunk-53XUMCTF.js.map
@@ -2465,15 +2465,45 @@ var INTEGRATION_REGISTRY = [
2465
2465
  // `live-meeting-advisor` in FLAG_REGISTRY, which is a staff control.
2466
2466
  id: "ninjafy-notes:live-advise",
2467
2467
  name: "Live Meeting Advice",
2468
- description: "Let an agent advise on a meeting while it is happening. Audio is transcribed on the Mac as usual; short passages are then checked by Augmented Team to decide when the agent should speak up, and the agent sees those moments in real time. Off until you turn it on. Billed per minute the advisor is armed.",
2468
+ // ENG-9278: THE PRICE IS QUOTED PER MEETING, NEVER PER HOUR. Nobody arms
2469
+ // an advisor for "an hour" — they arm it for a meeting — and the hourly
2470
+ // figure reads as a subscription for something billed only while it
2471
+ // runs. Both currencies are stated outright because the sub-dollar line
2472
+ // is USD-only; a spot conversion of either would not be a clean quote in
2473
+ // the other.
2474
+ //
2475
+ // These two figures are the rate card's ($0.03 USD / $0.05 AUD per armed
2476
+ // minute, migration 20260827000001) multiplied by thirty. They are prose
2477
+ // here rather than read from the rate card, which is a real drift
2478
+ // hazard — so it is held by a test that reprices both from the migration
2479
+ // and fails if they disagree, rather than by anyone remembering.
2480
+ description: "Let an agent advise on a meeting while it is happening. Audio is transcribed on the Mac as usual; short passages are then checked by Augmented Team to decide when the agent should speak up, and the agent sees those moments in real time. Off until you turn it on. Billed per minute the advisor is armed \u2014 about $0.90 for a half-hour advised meeting (A$1.50 in Australian dollars); a meeting you record without arming the advisor costs nothing.",
2469
2481
  access: "write",
2470
2482
  requires_org_opt_in: true
2471
2483
  }
2472
2484
  ],
2473
2485
  beta: true,
2486
+ // ENG-9278: STILL `included`, and the meter does not change that.
2487
+ //
2488
+ // Ninja Notes acquired its first metered path — live advising — and the
2489
+ // obvious move was to flip this to `usage`. It is refused. `pricing` drives
2490
+ // the org admin's acknowledgement modal, where `usage` renders as "manages
2491
+ // and bills by usage"; saying that to the many orgs who record notes and
2492
+ // never arm an advisor would be a false statement in a consent dialog, which
2493
+ // is the exact harm the `included` case was added to prevent, inverted.
2494
+ //
2495
+ // Notes really are included. The one metered thing is a capability with its
2496
+ // own org opt-in and its own price in its own description, which is where
2497
+ // the consent for it actually happens.
2498
+ //
2499
+ // The cost of this choice is that the rate card is not rendered on the
2500
+ // premium surface (that reads definition-level meters, and only for
2501
+ // `pricing: 'usage'`), so the price is prose in two places. Pricing the
2502
+ // CAPABILITY instead — meters on the capability descriptor, read by the
2503
+ // premium surface — is the structurally right answer and the follow-up.
2474
2504
  premium: {
2475
2505
  pricing: "included",
2476
- note: "Included in your plan. Transcription runs on your own Mac and no platform summariser runs, so there is nothing metered per note \u2014 the agent turn that reads it is billed as agent-hours like any other."
2506
+ note: "Notes are included in your plan. Transcription runs on your own Mac and no platform summariser runs, so nothing is metered per note \u2014 the agent turn that reads it is billed as agent-hours like any other. Live meeting advising is the one exception: it is turned on separately, and billed per minute the advisor is armed."
2477
2507
  }
2478
2508
  },
2479
2509
  {
@@ -11664,6 +11694,7 @@ function datedResetOnly(window) {
11664
11694
  return null;
11665
11695
  return window.resetPrecision === "dated" ? window.resetsAt : null;
11666
11696
  }
11697
+ var HOST_USAGE_POLL_INTERVAL_MS = 15 * 60 * 1e3;
11667
11698
  var RESET_JITTER_TOLERANCE_MS = 5 * 60 * 1e3;
11668
11699
  function stabiliseResetInstant(previous, next, toleranceMs = RESET_JITTER_TOLERANCE_MS) {
11669
11700
  if (!next)
@@ -12707,6 +12738,7 @@ export {
12707
12738
  attributeTranscriptUsageByRun,
12708
12739
  parseUsageReport,
12709
12740
  buildHostUsageReading,
12741
+ HOST_USAGE_POLL_INTERVAL_MS,
12710
12742
  stabiliseResetInstant,
12711
12743
  UNKNOWN_RATE_LIMIT,
12712
12744
  pickNewerClassification,
@@ -12759,4 +12791,4 @@ export {
12759
12791
  minutesSinceLocalMidnight,
12760
12792
  peekCurrentSession
12761
12793
  };
12762
- //# sourceMappingURL=chunk-PBOSJQE6.js.map
12794
+ //# sourceMappingURL=chunk-DX3REH6Z.js.map