@integrity-labs/agt-cli 0.28.599 → 0.28.601

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,10 +40,10 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-MQCSDRD3.js";
43
+ } from "../chunk-IXRVFTBR.js";
44
44
  import {
45
45
  readDirectChatSessionState
46
- } from "../chunk-4E3L4U34.js";
46
+ } from "../chunk-XTLKPF2A.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-6EBAJFLZ.js";
76
+ } from "../chunk-V2WCVFDA.js";
77
77
  import "../chunk-XWVM4KPK.js";
78
78
 
79
79
  // src/bin/agt.ts
@@ -4910,7 +4910,7 @@ import { execFileSync, execSync } from "child_process";
4910
4910
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4911
4911
  import chalk18 from "chalk";
4912
4912
  import ora16 from "ora";
4913
- var cliVersion = true ? "0.28.599" : "dev";
4913
+ var cliVersion = true ? "0.28.601" : "dev";
4914
4914
  async function fetchLatestVersion() {
4915
4915
  const host2 = getHost();
4916
4916
  if (!host2) return null;
@@ -6090,7 +6090,7 @@ function handleError(err) {
6090
6090
  }
6091
6091
 
6092
6092
  // src/bin/agt.ts
6093
- var cliVersion2 = true ? "0.28.599" : "dev";
6093
+ var cliVersion2 = true ? "0.28.601" : "dev";
6094
6094
  var program = new Command();
6095
6095
  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");
6096
6096
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -7,7 +7,7 @@ import {
7
7
  expandTemplateVars,
8
8
  isolationMode,
9
9
  parseEnvIntegrations
10
- } from "./chunk-4E3L4U34.js";
10
+ } from "./chunk-XTLKPF2A.js";
11
11
  import {
12
12
  BIND_FAILURE_QUARANTINE_THRESHOLD,
13
13
  INTEGRATIONS_SECTION_END,
@@ -48,7 +48,7 @@ import {
48
48
  resolveConnectivityProbe,
49
49
  worseConnectivityOutcome,
50
50
  wrapScheduledTaskPrompt
51
- } from "./chunk-6EBAJFLZ.js";
51
+ } from "./chunk-V2WCVFDA.js";
52
52
  import {
53
53
  parsePsRows
54
54
  } from "./chunk-XWVM4KPK.js";
@@ -6030,7 +6030,7 @@ function exchangeFailureKind(err) {
6030
6030
  }
6031
6031
 
6032
6032
  // src/lib/api-client.ts
6033
- var agtCliVersion = true ? "0.28.599" : "dev";
6033
+ var agtCliVersion = true ? "0.28.601" : "dev";
6034
6034
  var lastConfigHash = null;
6035
6035
  function setConfigHash(hash) {
6036
6036
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -9485,4 +9485,4 @@ export {
9485
9485
  managerInstallSystemUnitCommand,
9486
9486
  managerUninstallSystemUnitCommand
9487
9487
  };
9488
- //# sourceMappingURL=chunk-MQCSDRD3.js.map
9488
+ //# sourceMappingURL=chunk-IXRVFTBR.js.map
@@ -2349,6 +2349,65 @@ var INTEGRATION_REGISTRY = [
2349
2349
  }]
2350
2350
  }
2351
2351
  },
2352
+ {
2353
+ // Ninjafy Notes (ADR-0063, ENG-8842). Meeting capture on the user's own Mac,
2354
+ // delivered to an agent as a tag-granted note the agent reads and summarises.
2355
+ //
2356
+ // No `installable` here, on purpose: ninjafy-notes is a Direct-HTTP SEED
2357
+ // integration (integration-definitions.json), so the seed catalog already
2358
+ // makes it picker-visible. This registry entry exists ONLY to carry the
2359
+ // `premium` descriptor that `isPremiumDefinition` reads — which arms the
2360
+ // per-org opt-in gate and the acknowledgement modal.
2361
+ //
2362
+ // PREMIUM BY ENTITLEMENT, WITH NO METER AND NO RATE CARD (ADR-0063 Decision
2363
+ // 9). Every other premium in this registry is priced because it costs the
2364
+ // platform something per call — a vendor bill, a model call, compute. Notes
2365
+ // costs S3 bytes: speech-to-text runs on the user's Mac, the platform never
2366
+ // summarises (Decision 3 gives that job to the agent, whose context is the
2367
+ // entire value), and a 45-minute meeting is tens of KB of text. The revenue
2368
+ // is the entitlement plus agent-hours — reading and summarising a note burns
2369
+ // the agent's turn, which is already billed, so metering the note as well
2370
+ // would charge for the same work twice through two mechanisms.
2371
+ //
2372
+ // What would change this: a per-note platform-side model call. The concrete
2373
+ // trigger is an AGENTLESS integration destination — "send this meeting
2374
+ // straight to Notion" has no agent to summarise it, so the platform must,
2375
+ // and that call is a real marginal cost. Expect a rate card WITH that slice,
2376
+ // scoped to that path, not applied to every note.
2377
+ //
2378
+ // ADR-0063 Decision 9 cites `agt-live` as the precedent for
2379
+ // entitlement-without-a-rate-card. It is not one: agt-live has no entry in
2380
+ // this registry at all, so `isPremiumDefinition('agt-live')` is false and it
2381
+ // is free on this axis. Its premium tier is `plans.live_premium` via
2382
+ // `getPlanForOrg` (ADR-0043) — a plan-tier entitlement enforced at the
2383
+ // CloudFront edge, a different mechanism that shares a word. Notes is the
2384
+ // first integration to need `pricing: 'included'`, which is why that value
2385
+ // now exists.
2386
+ id: "ninjafy-notes",
2387
+ name: "Ninjafy Notes",
2388
+ category: "workspace-productivity",
2389
+ description: "Meeting notes captured on your Mac and sent to an agent. Ninjafy Notes records and transcribes a meeting on-device \u2014 the audio never leaves your machine \u2014 then hands the transcript to the agents you choose, which read it with your organization's context and write their own summary. Notes are private by default; sending one to an agent is the only thing that grants access.",
2390
+ supported_auth_types: ["none"],
2391
+ capabilities: [
2392
+ {
2393
+ id: "ninjafy-notes:read",
2394
+ name: "Read Notes",
2395
+ description: "List and read the meeting notes this agent has been sent (ninjafy_notes_list, ninjafy_notes_read).",
2396
+ access: "read"
2397
+ },
2398
+ {
2399
+ id: "ninjafy-notes:write-summary",
2400
+ name: "Write Summaries",
2401
+ description: "Write or revise this agent's own summary of a note it was sent (ninjafy_notes_write_summary).",
2402
+ access: "write"
2403
+ }
2404
+ ],
2405
+ beta: true,
2406
+ premium: {
2407
+ pricing: "included",
2408
+ 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."
2409
+ }
2410
+ },
2352
2411
  {
2353
2412
  // Seed-catalog toolkit (composed by the ultimate-app-coder bundle). Registered
2354
2413
  // here only so the manager's ensureToolkitCli installs the binary via the
@@ -4060,6 +4119,20 @@ var KANBAN_NUDGE_ACTIONABLE_STATUSES = ["todo", "in_progress"];
4060
4119
 
4061
4120
  // ../../packages/core/dist/feature-flags/registry.js
4062
4121
  var FLAG_REGISTRY = [
4122
+ {
4123
+ key: "at-rest-v2-writes",
4124
+ description: "ADR-0061 A2\u2192arm cutover (ENG-8944, parent ENG-8764). Gates whether the at-rest writer (encryptSecret/encryptAtRest) emits the v2 AAD-bound envelope when a DecryptContext is supplied; OFF (default) = the legacy v1 envelope (pre-ADR-0061 behaviour). Resolved FLEET-WIDE and process-global via setV2WritesArmed at the API + webapp + cron bootstrap seams, so ONLY the stage value applies \u2014 per-org overrides do not (the crypto writer carries no request/org context). Ships dark. Flip on only once every reader parses v2 (fleet-wide since release A1) AND the re-seal engine can re-seal v2 blobs before any AUTH_ENCRYPTION_KEY rotation (slice 5b). Reversible without redeploy: clearing it returns the writer to v1 within the flag cache TTL; already-written v2 blobs stay readable.",
4125
+ flagType: "boolean",
4126
+ // Declared safe value is `false` = v1 writes, the pre-ADR-0061 behaviour. A
4127
+ // flag-read error must never arm v2 on its own (fail-safe = keep writing v1).
4128
+ defaultValue: false,
4129
+ // Deliberately NOT public (a server/process gate, never read client-side) and
4130
+ // NO envVar (the consumers — API + webapp + cron bootstraps — evaluate the
4131
+ // flag directly; a bare AGT_*_ENABLED env gate would trip check-new-env-gates.sh).
4132
+ // Sensitive: arming changes the durable at-rest ciphertext format fleet-wide, a
4133
+ // deliberate staged security flip, so mutations require explicit confirmation.
4134
+ sensitive: true
4135
+ },
4063
4136
  {
4064
4137
  key: "opencode-host-wizard",
4065
4138
  description: "Show a framework selector (Claude Code | opencode) in the new-host wizard, plus the opencode auth mode (xAI/Grok, per-agent minted keys). Off = the wizard only creates Claude Code hosts (opencode host creation stays CLI/programmatic). Additive UI gate; ships dark. The backend mint + claude_auth_mode=xai are enabled separately.",
@@ -10061,7 +10134,7 @@ var AnchorSessionClient = class {
10061
10134
  // ../../packages/core/dist/auth/oauth-principal.js
10062
10135
  var NOTES_WRITE_SCOPE = "notes:write";
10063
10136
  var USER_PRINCIPAL_SCOPE_LABELS = {
10064
- [NOTES_WRITE_SCOPE]: "Create meeting notes as you, and read the notes you own"
10137
+ [NOTES_WRITE_SCOPE]: "Create meeting notes as you, read the notes you own, and see the names of your organizations and agents so you can choose where a note goes"
10065
10138
  };
10066
10139
 
10067
10140
  // ../../packages/core/dist/admin-debug/index.js
@@ -11815,4 +11888,4 @@ export {
11815
11888
  minutesSinceLocalMidnight,
11816
11889
  peekCurrentSession
11817
11890
  };
11818
- //# sourceMappingURL=chunk-6EBAJFLZ.js.map
11891
+ //# sourceMappingURL=chunk-V2WCVFDA.js.map