@integrity-labs/agt-cli 0.28.1083 → 0.28.1085

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-ELRALWJ7.js → chunk-36PNRFZD.js} +168 -27
  3. package/dist/chunk-36PNRFZD.js.map +1 -0
  4. package/dist/{chunk-44254DEU.js → chunk-672WJ7K3.js} +2 -2
  5. package/dist/{chunk-BIR5WVM4.js → chunk-QJHOJMYV.js} +4 -4
  6. package/dist/{claude-pair-runtime-U6LVU5CI.js → claude-pair-runtime-P5RI3SNT.js} +2 -2
  7. package/dist/lib/manager-worker.js +25 -17
  8. package/dist/lib/manager-worker.js.map +1 -1
  9. package/dist/mcp/direct-chat-channel.js +135 -1
  10. package/dist/mcp/index.js +135 -1
  11. package/dist/mcp/origami.js +135 -1
  12. package/dist/mcp/slack-channel.js +135 -1
  13. package/dist/mcp/telegram-channel.js +135 -1
  14. package/dist/{persistent-session-UHSU52GZ.js → persistent-session-V2TJ6HPL.js} +3 -3
  15. package/dist/{responsiveness-probe-PKMKC2VS.js → responsiveness-probe-2JSH5Y3H.js} +3 -3
  16. package/dist/{session-auth-dead-KOZOXQOP.js → session-auth-dead-WUMWF4GK.js} +2 -2
  17. package/package.json +1 -1
  18. package/dist/chunk-ELRALWJ7.js.map +0 -1
  19. /package/dist/{chunk-44254DEU.js.map → chunk-672WJ7K3.js.map} +0 -0
  20. /package/dist/{chunk-BIR5WVM4.js.map → chunk-QJHOJMYV.js.map} +0 -0
  21. /package/dist/{claude-pair-runtime-U6LVU5CI.js.map → claude-pair-runtime-P5RI3SNT.js.map} +0 -0
  22. /package/dist/{persistent-session-UHSU52GZ.js.map → persistent-session-V2TJ6HPL.js.map} +0 -0
  23. /package/dist/{responsiveness-probe-PKMKC2VS.js.map → responsiveness-probe-2JSH5Y3H.js.map} +0 -0
  24. /package/dist/{session-auth-dead-KOZOXQOP.js.map → session-auth-dead-WUMWF4GK.js.map} +0 -0
@@ -34190,6 +34190,136 @@ var INTEGRATION_REGISTRY = [
34190
34190
  // `registryRemoteMcpKeys`, which would strand the `.mcp.json` entry on
34191
34191
  // every host that installed the MCP variant.
34192
34192
  },
34193
+ {
34194
+ // Quiver (api.quiver.ai) — AI vector graphics: draw an SVG from a prompt,
34195
+ // redraw one from an instruction, trace a raster, add animation.
34196
+ //
34197
+ // PREMIUM (ADR-0031, epic ENG-6920). Ninjafy holds ONE Quiver account whose
34198
+ // key (`QUIVER_ACCOUNT_KEY`) every customer's drawing bills back to, so the
34199
+ // credential is a single platform-held secret and never a per-install one.
34200
+ // `auth_type: 'none'` on the catalog row and `credential_source:
34201
+ // 'platform_env'` on every runtime scope, so `resolveBrokerToken` reads the
34202
+ // env var and skips the install-row lookup entirely.
34203
+ //
34204
+ // Ships DARK: until the secret is set the resolver fails closed with
34205
+ // `platform_credential_missing` and every drawing errors clearly.
34206
+ // Installable but inert, by design — the same posture x-search shipped with.
34207
+ //
34208
+ // WHY IT STOPPED BEING BYO. It launched bring-your-own-key. Premium means WE
34209
+ // pay the vendor, so a customer key would defeat the point: there would be
34210
+ // nothing to meter and nothing to bill. The flip cost nothing because Quiver
34211
+ // had never deployed — zero installs, so none of the origami free→premium
34212
+ // grandfathering applies (there is no cohort whose `credential_source`
34213
+ // default would misclassify them as billed and take the integration dark).
34214
+ // A later BYO tier is possible (ADR-0055, the Firecrawl shape) and would
34215
+ // need its own entitlement gate; it is deliberately not offered now, because
34216
+ // offering two auth types renders a connect picker that does not check
34217
+ // `plans.byo_credentials` (ENG-9236).
34218
+ //
34219
+ // WHY TWO METERS, when the vendor bills in one unit. `credits` is Quiver's
34220
+ // own billing unit and the response carries it per call, so metering it
34221
+ // makes our margin a constant multiple no matter which model an agent picks
34222
+ // — `arrow-1.1-max` costs materially more than `arrow-1.1`, which a flat
34223
+ // per-call price would silently eat. But `credits` is documented as
34224
+ // "omitted for token-priced models, whose measured totals are returned in
34225
+ // `usage`", so a credits-only meter bills those calls at ZERO: free to the
34226
+ // customer, invisible to the budget gate, and with nothing in the ledger to
34227
+ // notice it by. `svg_operation` is the floor that closes that hole — it
34228
+ // fires ONLY when `credits` is absent, so the two can never double-bill the
34229
+ // same call. See `lib/quiver-metering.ts`.
34230
+ id: "quiver",
34231
+ name: "Quiver",
34232
+ category: "media",
34233
+ description: "AI vector graphics \u2014 draw an SVG from a description, redraw an existing one, trace a photo or screenshot into vector shapes, and add animation. Ninjafy manages the Quiver account for you; there is no key to enter.",
34234
+ supported_auth_types: ["none"],
34235
+ docs_url: "https://docs.quiver.ai/developers",
34236
+ capabilities: [
34237
+ {
34238
+ id: "quiver:create",
34239
+ name: "Create and change vector graphics",
34240
+ description: "Draw, redraw, trace and animate SVG artwork. Billed per Quiver credit consumed.",
34241
+ access: "write"
34242
+ },
34243
+ {
34244
+ id: "quiver:read",
34245
+ name: "Read models",
34246
+ description: "List the available drawing models and their per-call credit cost. Free.",
34247
+ access: "read"
34248
+ }
34249
+ ],
34250
+ beta: true,
34251
+ // No `installable` on purpose: quiver is a seed integration
34252
+ // (integration-definitions.json), so the seed catalog already makes it
34253
+ // picker-visible. This entry exists to carry the `premium` descriptor that
34254
+ // `isPremiumDefinition` reads — which arms the per-org opt-in gate, the
34255
+ // priced acknowledgement modal and the admin pricing tab. Same reasoning as
34256
+ // social-scraping above.
34257
+ premium: {
34258
+ pricing: "usage",
34259
+ note: "Billed per Quiver credit consumed. Listing models is free; drawing, editing, tracing and animating each debit credits.",
34260
+ meters: [
34261
+ { event_type: "svg_credits", unit: "credit" },
34262
+ { event_type: "svg_operation", unit: "operation" }
34263
+ ]
34264
+ }
34265
+ },
34266
+ {
34267
+ // theSVG (thesvg.org) — 6,500+ REAL brand marks as SVG, so an agent building
34268
+ // a page can use the actual Stripe/Slack/AWS logo instead of asking a
34269
+ // drawing model for one. That distinction is the whole point of the
34270
+ // integration: an AI-generated "Stripe logo" is a plausible fake, wrong in
34271
+ // the way a customer notices and a trademark owner minds. Original artwork
34272
+ // is Quiver's job; existing marks are this one's.
34273
+ //
34274
+ // WHY A LOCAL STDIO MCP AND NOT THE DIRECT-HTTP LANE. thesvg.org is a
34275
+ // STATIC SITE — its own CLI says so in as many words ("there is no dynamic
34276
+ // API"). The only two endpoints are `/api/registry.json`, the entire
34277
+ // 2.97 MB / 6,523-entry manifest, and `/icons/{slug}/{variant}.svg`. Search
34278
+ // is client-side filtering over that manifest, which the Direct-HTTP broker
34279
+ // cannot do: it forwards the vendor's whole response body to the agent, so
34280
+ // a `search_icons` descriptor would put 2.97 MB of registry into the
34281
+ // agent's context on every call. The vendor's own MCP server bundles the
34282
+ // registry and searches it in-process, which is precisely the shape the
34283
+ // missing API leaves you needing.
34284
+ //
34285
+ // WHY THE VERSION IS PINNED and AWS's is `@latest`: this server's registry
34286
+ // is baked in at BUILD time, so the pin is what decides which icons exist
34287
+ // AND what markup lands on a customer's published page. Bumping it is a
34288
+ // deliberate act that also refreshes the icon set — not a silent
34289
+ // third-party update to artwork we are about to publish under a customer's
34290
+ // domain.
34291
+ //
34292
+ // No credential anywhere: the registry and the jsDelivr CDN the server
34293
+ // fetches SVG from are both public, so `auth_types: ['none']` is the honest
34294
+ // classification rather than the ENG-8440 kind of lie Hard Rule 17 warns
34295
+ // about — there genuinely is no key to enter and the install IS live
34296
+ // immediately.
34297
+ id: "thesvg",
34298
+ name: "theSVG",
34299
+ category: "media",
34300
+ description: "Brand logos and icons as real SVG \u2014 search 6,500+ marks by name and pull the exact artwork, in mono, colour, light, dark or wordmark variants",
34301
+ supported_auth_types: ["none"],
34302
+ docs_url: "https://thesvg.org",
34303
+ capabilities: [
34304
+ {
34305
+ id: "thesvg:read",
34306
+ name: "Find and fetch brand icons",
34307
+ description: "Search the icon library, list an icon's variants and categories, and fetch its SVG markup or CDN URL",
34308
+ access: "read"
34309
+ }
34310
+ ],
34311
+ installable: { category: "Media", authTypes: ["none"] },
34312
+ beta: true,
34313
+ // ENG-5815 data-driven path — no buildMcpJson edit, same as AWS.
34314
+ nativeMcp: {
34315
+ command: "npx",
34316
+ args: ["-y", "@thesvg/mcp-server@0.8.2"],
34317
+ env: {
34318
+ PATH: "{{process_env.PATH}}",
34319
+ HOME: "{{process_env.HOME}}"
34320
+ }
34321
+ }
34322
+ },
34193
34323
  {
34194
34324
  id: "qmd",
34195
34325
  name: "QMD Memory Search",
@@ -35315,6 +35445,10 @@ var NOTICE_KIND_AUDIENCE = {
35315
35445
  // "Your `<verb>` approval request (`<uuid>`) EXPIRED at …" — in the report,
35316
35446
  // uuid and all.
35317
35447
  approval_expired: "agent",
35448
+ // ENG-11334: canvas.publish_public approved / denied / approved-but-not-applied.
35449
+ // Second-person instructions to the agent ("Tell the user...", "do not
35450
+ // republish"); the user learns the outcome from the agent, not this row.
35451
+ canvas_public_approval_resolved: "agent",
35318
35452
  // A routine fired; the agent picks the work up.
35319
35453
  routine_firing_result: "agent",
35320
35454
  // Live-advisor wake: "Call `live_read` with escalation_id …" — a literal tool
@@ -38126,7 +38260,7 @@ var FLAG_REGISTRY = [
38126
38260
  },
38127
38261
  {
38128
38262
  key: "approval-unified-authority",
38129
- description: "One authority check for every approval ingress (ENG-11207, ADR-0124 Phase 0b): canDecide() runs inside tryDispatchApprovalCore for console, Slack (channel, alerts, Socket Mode, which also carries Telegram) and Direct Chat taps alike. off = not computed. shadow = compute the verdict and log approval_authority_would_reject (ingress, verb, org, reason) for every tap it would refuse, then decide exactly as today. enforce = reserved for the per-(org, verb) allowlist slice; until that ships it behaves as shadow. Evaluated per-org. Ships dark.",
38263
+ description: "One authority check for every approval ingress (ENG-11207, ADR-0124 Phase 0b): canDecide() runs inside tryDispatchApprovalCore for console, Slack (channel, alerts, Socket Mode, which also carries Telegram) and Direct Chat taps alike. off = not computed. shadow = compute the verdict, including the verb's declared approver boundary (ENG-11337), and log approval_authority_would_reject (ingress, verb, org, reason, boundary) for every tap it would refuse and approval_authority_would_admit (ingress, verb, org, basis, boundary) for every tap it would admit, then decide exactly as today. enforce = reserved for the per-(org, verb) allowlist slice; until that ships it behaves as shadow. Evaluated per-org. Ships dark.",
38130
38264
  flagType: "enum",
38131
38265
  allowedValues: ["off", "shadow", "enforce"],
38132
38266
  // Safe/default value is `off` (no computation, no extra reads on the tap path). A flag-DB read
package/dist/mcp/index.js CHANGED
@@ -26693,6 +26693,136 @@ var INTEGRATION_REGISTRY = [
26693
26693
  // `registryRemoteMcpKeys`, which would strand the `.mcp.json` entry on
26694
26694
  // every host that installed the MCP variant.
26695
26695
  },
26696
+ {
26697
+ // Quiver (api.quiver.ai) — AI vector graphics: draw an SVG from a prompt,
26698
+ // redraw one from an instruction, trace a raster, add animation.
26699
+ //
26700
+ // PREMIUM (ADR-0031, epic ENG-6920). Ninjafy holds ONE Quiver account whose
26701
+ // key (`QUIVER_ACCOUNT_KEY`) every customer's drawing bills back to, so the
26702
+ // credential is a single platform-held secret and never a per-install one.
26703
+ // `auth_type: 'none'` on the catalog row and `credential_source:
26704
+ // 'platform_env'` on every runtime scope, so `resolveBrokerToken` reads the
26705
+ // env var and skips the install-row lookup entirely.
26706
+ //
26707
+ // Ships DARK: until the secret is set the resolver fails closed with
26708
+ // `platform_credential_missing` and every drawing errors clearly.
26709
+ // Installable but inert, by design — the same posture x-search shipped with.
26710
+ //
26711
+ // WHY IT STOPPED BEING BYO. It launched bring-your-own-key. Premium means WE
26712
+ // pay the vendor, so a customer key would defeat the point: there would be
26713
+ // nothing to meter and nothing to bill. The flip cost nothing because Quiver
26714
+ // had never deployed — zero installs, so none of the origami free→premium
26715
+ // grandfathering applies (there is no cohort whose `credential_source`
26716
+ // default would misclassify them as billed and take the integration dark).
26717
+ // A later BYO tier is possible (ADR-0055, the Firecrawl shape) and would
26718
+ // need its own entitlement gate; it is deliberately not offered now, because
26719
+ // offering two auth types renders a connect picker that does not check
26720
+ // `plans.byo_credentials` (ENG-9236).
26721
+ //
26722
+ // WHY TWO METERS, when the vendor bills in one unit. `credits` is Quiver's
26723
+ // own billing unit and the response carries it per call, so metering it
26724
+ // makes our margin a constant multiple no matter which model an agent picks
26725
+ // — `arrow-1.1-max` costs materially more than `arrow-1.1`, which a flat
26726
+ // per-call price would silently eat. But `credits` is documented as
26727
+ // "omitted for token-priced models, whose measured totals are returned in
26728
+ // `usage`", so a credits-only meter bills those calls at ZERO: free to the
26729
+ // customer, invisible to the budget gate, and with nothing in the ledger to
26730
+ // notice it by. `svg_operation` is the floor that closes that hole — it
26731
+ // fires ONLY when `credits` is absent, so the two can never double-bill the
26732
+ // same call. See `lib/quiver-metering.ts`.
26733
+ id: "quiver",
26734
+ name: "Quiver",
26735
+ category: "media",
26736
+ description: "AI vector graphics \u2014 draw an SVG from a description, redraw an existing one, trace a photo or screenshot into vector shapes, and add animation. Ninjafy manages the Quiver account for you; there is no key to enter.",
26737
+ supported_auth_types: ["none"],
26738
+ docs_url: "https://docs.quiver.ai/developers",
26739
+ capabilities: [
26740
+ {
26741
+ id: "quiver:create",
26742
+ name: "Create and change vector graphics",
26743
+ description: "Draw, redraw, trace and animate SVG artwork. Billed per Quiver credit consumed.",
26744
+ access: "write"
26745
+ },
26746
+ {
26747
+ id: "quiver:read",
26748
+ name: "Read models",
26749
+ description: "List the available drawing models and their per-call credit cost. Free.",
26750
+ access: "read"
26751
+ }
26752
+ ],
26753
+ beta: true,
26754
+ // No `installable` on purpose: quiver is a seed integration
26755
+ // (integration-definitions.json), so the seed catalog already makes it
26756
+ // picker-visible. This entry exists to carry the `premium` descriptor that
26757
+ // `isPremiumDefinition` reads — which arms the per-org opt-in gate, the
26758
+ // priced acknowledgement modal and the admin pricing tab. Same reasoning as
26759
+ // social-scraping above.
26760
+ premium: {
26761
+ pricing: "usage",
26762
+ note: "Billed per Quiver credit consumed. Listing models is free; drawing, editing, tracing and animating each debit credits.",
26763
+ meters: [
26764
+ { event_type: "svg_credits", unit: "credit" },
26765
+ { event_type: "svg_operation", unit: "operation" }
26766
+ ]
26767
+ }
26768
+ },
26769
+ {
26770
+ // theSVG (thesvg.org) — 6,500+ REAL brand marks as SVG, so an agent building
26771
+ // a page can use the actual Stripe/Slack/AWS logo instead of asking a
26772
+ // drawing model for one. That distinction is the whole point of the
26773
+ // integration: an AI-generated "Stripe logo" is a plausible fake, wrong in
26774
+ // the way a customer notices and a trademark owner minds. Original artwork
26775
+ // is Quiver's job; existing marks are this one's.
26776
+ //
26777
+ // WHY A LOCAL STDIO MCP AND NOT THE DIRECT-HTTP LANE. thesvg.org is a
26778
+ // STATIC SITE — its own CLI says so in as many words ("there is no dynamic
26779
+ // API"). The only two endpoints are `/api/registry.json`, the entire
26780
+ // 2.97 MB / 6,523-entry manifest, and `/icons/{slug}/{variant}.svg`. Search
26781
+ // is client-side filtering over that manifest, which the Direct-HTTP broker
26782
+ // cannot do: it forwards the vendor's whole response body to the agent, so
26783
+ // a `search_icons` descriptor would put 2.97 MB of registry into the
26784
+ // agent's context on every call. The vendor's own MCP server bundles the
26785
+ // registry and searches it in-process, which is precisely the shape the
26786
+ // missing API leaves you needing.
26787
+ //
26788
+ // WHY THE VERSION IS PINNED and AWS's is `@latest`: this server's registry
26789
+ // is baked in at BUILD time, so the pin is what decides which icons exist
26790
+ // AND what markup lands on a customer's published page. Bumping it is a
26791
+ // deliberate act that also refreshes the icon set — not a silent
26792
+ // third-party update to artwork we are about to publish under a customer's
26793
+ // domain.
26794
+ //
26795
+ // No credential anywhere: the registry and the jsDelivr CDN the server
26796
+ // fetches SVG from are both public, so `auth_types: ['none']` is the honest
26797
+ // classification rather than the ENG-8440 kind of lie Hard Rule 17 warns
26798
+ // about — there genuinely is no key to enter and the install IS live
26799
+ // immediately.
26800
+ id: "thesvg",
26801
+ name: "theSVG",
26802
+ category: "media",
26803
+ description: "Brand logos and icons as real SVG \u2014 search 6,500+ marks by name and pull the exact artwork, in mono, colour, light, dark or wordmark variants",
26804
+ supported_auth_types: ["none"],
26805
+ docs_url: "https://thesvg.org",
26806
+ capabilities: [
26807
+ {
26808
+ id: "thesvg:read",
26809
+ name: "Find and fetch brand icons",
26810
+ description: "Search the icon library, list an icon's variants and categories, and fetch its SVG markup or CDN URL",
26811
+ access: "read"
26812
+ }
26813
+ ],
26814
+ installable: { category: "Media", authTypes: ["none"] },
26815
+ beta: true,
26816
+ // ENG-5815 data-driven path — no buildMcpJson edit, same as AWS.
26817
+ nativeMcp: {
26818
+ command: "npx",
26819
+ args: ["-y", "@thesvg/mcp-server@0.8.2"],
26820
+ env: {
26821
+ PATH: "{{process_env.PATH}}",
26822
+ HOME: "{{process_env.HOME}}"
26823
+ }
26824
+ }
26825
+ },
26696
26826
  {
26697
26827
  id: "qmd",
26698
26828
  name: "QMD Memory Search",
@@ -27818,6 +27948,10 @@ var NOTICE_KIND_AUDIENCE = {
27818
27948
  // "Your `<verb>` approval request (`<uuid>`) EXPIRED at …" — in the report,
27819
27949
  // uuid and all.
27820
27950
  approval_expired: "agent",
27951
+ // ENG-11334: canvas.publish_public approved / denied / approved-but-not-applied.
27952
+ // Second-person instructions to the agent ("Tell the user...", "do not
27953
+ // republish"); the user learns the outcome from the agent, not this row.
27954
+ canvas_public_approval_resolved: "agent",
27821
27955
  // A routine fired; the agent picks the work up.
27822
27956
  routine_firing_result: "agent",
27823
27957
  // Live-advisor wake: "Call `live_read` with escalation_id …" — a literal tool
@@ -30344,7 +30478,7 @@ var FLAG_REGISTRY = [
30344
30478
  },
30345
30479
  {
30346
30480
  key: "approval-unified-authority",
30347
- description: "One authority check for every approval ingress (ENG-11207, ADR-0124 Phase 0b): canDecide() runs inside tryDispatchApprovalCore for console, Slack (channel, alerts, Socket Mode, which also carries Telegram) and Direct Chat taps alike. off = not computed. shadow = compute the verdict and log approval_authority_would_reject (ingress, verb, org, reason) for every tap it would refuse, then decide exactly as today. enforce = reserved for the per-(org, verb) allowlist slice; until that ships it behaves as shadow. Evaluated per-org. Ships dark.",
30481
+ description: "One authority check for every approval ingress (ENG-11207, ADR-0124 Phase 0b): canDecide() runs inside tryDispatchApprovalCore for console, Slack (channel, alerts, Socket Mode, which also carries Telegram) and Direct Chat taps alike. off = not computed. shadow = compute the verdict, including the verb's declared approver boundary (ENG-11337), and log approval_authority_would_reject (ingress, verb, org, reason, boundary) for every tap it would refuse and approval_authority_would_admit (ingress, verb, org, basis, boundary) for every tap it would admit, then decide exactly as today. enforce = reserved for the per-(org, verb) allowlist slice; until that ships it behaves as shadow. Evaluated per-org. Ships dark.",
30348
30482
  flagType: "enum",
30349
30483
  allowedValues: ["off", "shadow", "enforce"],
30350
30484
  // Safe/default value is `off` (no computation, no extra reads on the tap path). A flag-DB read
@@ -40819,6 +40819,136 @@ var INTEGRATION_REGISTRY = [
40819
40819
  // `registryRemoteMcpKeys`, which would strand the `.mcp.json` entry on
40820
40820
  // every host that installed the MCP variant.
40821
40821
  },
40822
+ {
40823
+ // Quiver (api.quiver.ai) — AI vector graphics: draw an SVG from a prompt,
40824
+ // redraw one from an instruction, trace a raster, add animation.
40825
+ //
40826
+ // PREMIUM (ADR-0031, epic ENG-6920). Ninjafy holds ONE Quiver account whose
40827
+ // key (`QUIVER_ACCOUNT_KEY`) every customer's drawing bills back to, so the
40828
+ // credential is a single platform-held secret and never a per-install one.
40829
+ // `auth_type: 'none'` on the catalog row and `credential_source:
40830
+ // 'platform_env'` on every runtime scope, so `resolveBrokerToken` reads the
40831
+ // env var and skips the install-row lookup entirely.
40832
+ //
40833
+ // Ships DARK: until the secret is set the resolver fails closed with
40834
+ // `platform_credential_missing` and every drawing errors clearly.
40835
+ // Installable but inert, by design — the same posture x-search shipped with.
40836
+ //
40837
+ // WHY IT STOPPED BEING BYO. It launched bring-your-own-key. Premium means WE
40838
+ // pay the vendor, so a customer key would defeat the point: there would be
40839
+ // nothing to meter and nothing to bill. The flip cost nothing because Quiver
40840
+ // had never deployed — zero installs, so none of the origami free→premium
40841
+ // grandfathering applies (there is no cohort whose `credential_source`
40842
+ // default would misclassify them as billed and take the integration dark).
40843
+ // A later BYO tier is possible (ADR-0055, the Firecrawl shape) and would
40844
+ // need its own entitlement gate; it is deliberately not offered now, because
40845
+ // offering two auth types renders a connect picker that does not check
40846
+ // `plans.byo_credentials` (ENG-9236).
40847
+ //
40848
+ // WHY TWO METERS, when the vendor bills in one unit. `credits` is Quiver's
40849
+ // own billing unit and the response carries it per call, so metering it
40850
+ // makes our margin a constant multiple no matter which model an agent picks
40851
+ // — `arrow-1.1-max` costs materially more than `arrow-1.1`, which a flat
40852
+ // per-call price would silently eat. But `credits` is documented as
40853
+ // "omitted for token-priced models, whose measured totals are returned in
40854
+ // `usage`", so a credits-only meter bills those calls at ZERO: free to the
40855
+ // customer, invisible to the budget gate, and with nothing in the ledger to
40856
+ // notice it by. `svg_operation` is the floor that closes that hole — it
40857
+ // fires ONLY when `credits` is absent, so the two can never double-bill the
40858
+ // same call. See `lib/quiver-metering.ts`.
40859
+ id: "quiver",
40860
+ name: "Quiver",
40861
+ category: "media",
40862
+ description: "AI vector graphics \u2014 draw an SVG from a description, redraw an existing one, trace a photo or screenshot into vector shapes, and add animation. Ninjafy manages the Quiver account for you; there is no key to enter.",
40863
+ supported_auth_types: ["none"],
40864
+ docs_url: "https://docs.quiver.ai/developers",
40865
+ capabilities: [
40866
+ {
40867
+ id: "quiver:create",
40868
+ name: "Create and change vector graphics",
40869
+ description: "Draw, redraw, trace and animate SVG artwork. Billed per Quiver credit consumed.",
40870
+ access: "write"
40871
+ },
40872
+ {
40873
+ id: "quiver:read",
40874
+ name: "Read models",
40875
+ description: "List the available drawing models and their per-call credit cost. Free.",
40876
+ access: "read"
40877
+ }
40878
+ ],
40879
+ beta: true,
40880
+ // No `installable` on purpose: quiver is a seed integration
40881
+ // (integration-definitions.json), so the seed catalog already makes it
40882
+ // picker-visible. This entry exists to carry the `premium` descriptor that
40883
+ // `isPremiumDefinition` reads — which arms the per-org opt-in gate, the
40884
+ // priced acknowledgement modal and the admin pricing tab. Same reasoning as
40885
+ // social-scraping above.
40886
+ premium: {
40887
+ pricing: "usage",
40888
+ note: "Billed per Quiver credit consumed. Listing models is free; drawing, editing, tracing and animating each debit credits.",
40889
+ meters: [
40890
+ { event_type: "svg_credits", unit: "credit" },
40891
+ { event_type: "svg_operation", unit: "operation" }
40892
+ ]
40893
+ }
40894
+ },
40895
+ {
40896
+ // theSVG (thesvg.org) — 6,500+ REAL brand marks as SVG, so an agent building
40897
+ // a page can use the actual Stripe/Slack/AWS logo instead of asking a
40898
+ // drawing model for one. That distinction is the whole point of the
40899
+ // integration: an AI-generated "Stripe logo" is a plausible fake, wrong in
40900
+ // the way a customer notices and a trademark owner minds. Original artwork
40901
+ // is Quiver's job; existing marks are this one's.
40902
+ //
40903
+ // WHY A LOCAL STDIO MCP AND NOT THE DIRECT-HTTP LANE. thesvg.org is a
40904
+ // STATIC SITE — its own CLI says so in as many words ("there is no dynamic
40905
+ // API"). The only two endpoints are `/api/registry.json`, the entire
40906
+ // 2.97 MB / 6,523-entry manifest, and `/icons/{slug}/{variant}.svg`. Search
40907
+ // is client-side filtering over that manifest, which the Direct-HTTP broker
40908
+ // cannot do: it forwards the vendor's whole response body to the agent, so
40909
+ // a `search_icons` descriptor would put 2.97 MB of registry into the
40910
+ // agent's context on every call. The vendor's own MCP server bundles the
40911
+ // registry and searches it in-process, which is precisely the shape the
40912
+ // missing API leaves you needing.
40913
+ //
40914
+ // WHY THE VERSION IS PINNED and AWS's is `@latest`: this server's registry
40915
+ // is baked in at BUILD time, so the pin is what decides which icons exist
40916
+ // AND what markup lands on a customer's published page. Bumping it is a
40917
+ // deliberate act that also refreshes the icon set — not a silent
40918
+ // third-party update to artwork we are about to publish under a customer's
40919
+ // domain.
40920
+ //
40921
+ // No credential anywhere: the registry and the jsDelivr CDN the server
40922
+ // fetches SVG from are both public, so `auth_types: ['none']` is the honest
40923
+ // classification rather than the ENG-8440 kind of lie Hard Rule 17 warns
40924
+ // about — there genuinely is no key to enter and the install IS live
40925
+ // immediately.
40926
+ id: "thesvg",
40927
+ name: "theSVG",
40928
+ category: "media",
40929
+ description: "Brand logos and icons as real SVG \u2014 search 6,500+ marks by name and pull the exact artwork, in mono, colour, light, dark or wordmark variants",
40930
+ supported_auth_types: ["none"],
40931
+ docs_url: "https://thesvg.org",
40932
+ capabilities: [
40933
+ {
40934
+ id: "thesvg:read",
40935
+ name: "Find and fetch brand icons",
40936
+ description: "Search the icon library, list an icon's variants and categories, and fetch its SVG markup or CDN URL",
40937
+ access: "read"
40938
+ }
40939
+ ],
40940
+ installable: { category: "Media", authTypes: ["none"] },
40941
+ beta: true,
40942
+ // ENG-5815 data-driven path — no buildMcpJson edit, same as AWS.
40943
+ nativeMcp: {
40944
+ command: "npx",
40945
+ args: ["-y", "@thesvg/mcp-server@0.8.2"],
40946
+ env: {
40947
+ PATH: "{{process_env.PATH}}",
40948
+ HOME: "{{process_env.HOME}}"
40949
+ }
40950
+ }
40951
+ },
40822
40952
  {
40823
40953
  id: "qmd",
40824
40954
  name: "QMD Memory Search",
@@ -41944,6 +42074,10 @@ var NOTICE_KIND_AUDIENCE = {
41944
42074
  // "Your `<verb>` approval request (`<uuid>`) EXPIRED at …" — in the report,
41945
42075
  // uuid and all.
41946
42076
  approval_expired: "agent",
42077
+ // ENG-11334: canvas.publish_public approved / denied / approved-but-not-applied.
42078
+ // Second-person instructions to the agent ("Tell the user...", "do not
42079
+ // republish"); the user learns the outcome from the agent, not this row.
42080
+ canvas_public_approval_resolved: "agent",
41947
42081
  // A routine fired; the agent picks the work up.
41948
42082
  routine_firing_result: "agent",
41949
42083
  // Live-advisor wake: "Call `live_read` with escalation_id …" — a literal tool
@@ -44267,7 +44401,7 @@ var FLAG_REGISTRY = [
44267
44401
  },
44268
44402
  {
44269
44403
  key: "approval-unified-authority",
44270
- description: "One authority check for every approval ingress (ENG-11207, ADR-0124 Phase 0b): canDecide() runs inside tryDispatchApprovalCore for console, Slack (channel, alerts, Socket Mode, which also carries Telegram) and Direct Chat taps alike. off = not computed. shadow = compute the verdict and log approval_authority_would_reject (ingress, verb, org, reason) for every tap it would refuse, then decide exactly as today. enforce = reserved for the per-(org, verb) allowlist slice; until that ships it behaves as shadow. Evaluated per-org. Ships dark.",
44404
+ description: "One authority check for every approval ingress (ENG-11207, ADR-0124 Phase 0b): canDecide() runs inside tryDispatchApprovalCore for console, Slack (channel, alerts, Socket Mode, which also carries Telegram) and Direct Chat taps alike. off = not computed. shadow = compute the verdict, including the verb's declared approver boundary (ENG-11337), and log approval_authority_would_reject (ingress, verb, org, reason, boundary) for every tap it would refuse and approval_authority_would_admit (ingress, verb, org, basis, boundary) for every tap it would admit, then decide exactly as today. enforce = reserved for the per-(org, verb) allowlist slice; until that ships it behaves as shadow. Evaluated per-org. Ships dark.",
44271
44405
  flagType: "enum",
44272
44406
  allowedValues: ["off", "shadow", "enforce"],
44273
44407
  // Safe/default value is `off` (no computation, no extra reads on the tap path). A flag-DB read
@@ -35033,6 +35033,136 @@ var INTEGRATION_REGISTRY = [
35033
35033
  // `registryRemoteMcpKeys`, which would strand the `.mcp.json` entry on
35034
35034
  // every host that installed the MCP variant.
35035
35035
  },
35036
+ {
35037
+ // Quiver (api.quiver.ai) — AI vector graphics: draw an SVG from a prompt,
35038
+ // redraw one from an instruction, trace a raster, add animation.
35039
+ //
35040
+ // PREMIUM (ADR-0031, epic ENG-6920). Ninjafy holds ONE Quiver account whose
35041
+ // key (`QUIVER_ACCOUNT_KEY`) every customer's drawing bills back to, so the
35042
+ // credential is a single platform-held secret and never a per-install one.
35043
+ // `auth_type: 'none'` on the catalog row and `credential_source:
35044
+ // 'platform_env'` on every runtime scope, so `resolveBrokerToken` reads the
35045
+ // env var and skips the install-row lookup entirely.
35046
+ //
35047
+ // Ships DARK: until the secret is set the resolver fails closed with
35048
+ // `platform_credential_missing` and every drawing errors clearly.
35049
+ // Installable but inert, by design — the same posture x-search shipped with.
35050
+ //
35051
+ // WHY IT STOPPED BEING BYO. It launched bring-your-own-key. Premium means WE
35052
+ // pay the vendor, so a customer key would defeat the point: there would be
35053
+ // nothing to meter and nothing to bill. The flip cost nothing because Quiver
35054
+ // had never deployed — zero installs, so none of the origami free→premium
35055
+ // grandfathering applies (there is no cohort whose `credential_source`
35056
+ // default would misclassify them as billed and take the integration dark).
35057
+ // A later BYO tier is possible (ADR-0055, the Firecrawl shape) and would
35058
+ // need its own entitlement gate; it is deliberately not offered now, because
35059
+ // offering two auth types renders a connect picker that does not check
35060
+ // `plans.byo_credentials` (ENG-9236).
35061
+ //
35062
+ // WHY TWO METERS, when the vendor bills in one unit. `credits` is Quiver's
35063
+ // own billing unit and the response carries it per call, so metering it
35064
+ // makes our margin a constant multiple no matter which model an agent picks
35065
+ // — `arrow-1.1-max` costs materially more than `arrow-1.1`, which a flat
35066
+ // per-call price would silently eat. But `credits` is documented as
35067
+ // "omitted for token-priced models, whose measured totals are returned in
35068
+ // `usage`", so a credits-only meter bills those calls at ZERO: free to the
35069
+ // customer, invisible to the budget gate, and with nothing in the ledger to
35070
+ // notice it by. `svg_operation` is the floor that closes that hole — it
35071
+ // fires ONLY when `credits` is absent, so the two can never double-bill the
35072
+ // same call. See `lib/quiver-metering.ts`.
35073
+ id: "quiver",
35074
+ name: "Quiver",
35075
+ category: "media",
35076
+ description: "AI vector graphics \u2014 draw an SVG from a description, redraw an existing one, trace a photo or screenshot into vector shapes, and add animation. Ninjafy manages the Quiver account for you; there is no key to enter.",
35077
+ supported_auth_types: ["none"],
35078
+ docs_url: "https://docs.quiver.ai/developers",
35079
+ capabilities: [
35080
+ {
35081
+ id: "quiver:create",
35082
+ name: "Create and change vector graphics",
35083
+ description: "Draw, redraw, trace and animate SVG artwork. Billed per Quiver credit consumed.",
35084
+ access: "write"
35085
+ },
35086
+ {
35087
+ id: "quiver:read",
35088
+ name: "Read models",
35089
+ description: "List the available drawing models and their per-call credit cost. Free.",
35090
+ access: "read"
35091
+ }
35092
+ ],
35093
+ beta: true,
35094
+ // No `installable` on purpose: quiver is a seed integration
35095
+ // (integration-definitions.json), so the seed catalog already makes it
35096
+ // picker-visible. This entry exists to carry the `premium` descriptor that
35097
+ // `isPremiumDefinition` reads — which arms the per-org opt-in gate, the
35098
+ // priced acknowledgement modal and the admin pricing tab. Same reasoning as
35099
+ // social-scraping above.
35100
+ premium: {
35101
+ pricing: "usage",
35102
+ note: "Billed per Quiver credit consumed. Listing models is free; drawing, editing, tracing and animating each debit credits.",
35103
+ meters: [
35104
+ { event_type: "svg_credits", unit: "credit" },
35105
+ { event_type: "svg_operation", unit: "operation" }
35106
+ ]
35107
+ }
35108
+ },
35109
+ {
35110
+ // theSVG (thesvg.org) — 6,500+ REAL brand marks as SVG, so an agent building
35111
+ // a page can use the actual Stripe/Slack/AWS logo instead of asking a
35112
+ // drawing model for one. That distinction is the whole point of the
35113
+ // integration: an AI-generated "Stripe logo" is a plausible fake, wrong in
35114
+ // the way a customer notices and a trademark owner minds. Original artwork
35115
+ // is Quiver's job; existing marks are this one's.
35116
+ //
35117
+ // WHY A LOCAL STDIO MCP AND NOT THE DIRECT-HTTP LANE. thesvg.org is a
35118
+ // STATIC SITE — its own CLI says so in as many words ("there is no dynamic
35119
+ // API"). The only two endpoints are `/api/registry.json`, the entire
35120
+ // 2.97 MB / 6,523-entry manifest, and `/icons/{slug}/{variant}.svg`. Search
35121
+ // is client-side filtering over that manifest, which the Direct-HTTP broker
35122
+ // cannot do: it forwards the vendor's whole response body to the agent, so
35123
+ // a `search_icons` descriptor would put 2.97 MB of registry into the
35124
+ // agent's context on every call. The vendor's own MCP server bundles the
35125
+ // registry and searches it in-process, which is precisely the shape the
35126
+ // missing API leaves you needing.
35127
+ //
35128
+ // WHY THE VERSION IS PINNED and AWS's is `@latest`: this server's registry
35129
+ // is baked in at BUILD time, so the pin is what decides which icons exist
35130
+ // AND what markup lands on a customer's published page. Bumping it is a
35131
+ // deliberate act that also refreshes the icon set — not a silent
35132
+ // third-party update to artwork we are about to publish under a customer's
35133
+ // domain.
35134
+ //
35135
+ // No credential anywhere: the registry and the jsDelivr CDN the server
35136
+ // fetches SVG from are both public, so `auth_types: ['none']` is the honest
35137
+ // classification rather than the ENG-8440 kind of lie Hard Rule 17 warns
35138
+ // about — there genuinely is no key to enter and the install IS live
35139
+ // immediately.
35140
+ id: "thesvg",
35141
+ name: "theSVG",
35142
+ category: "media",
35143
+ description: "Brand logos and icons as real SVG \u2014 search 6,500+ marks by name and pull the exact artwork, in mono, colour, light, dark or wordmark variants",
35144
+ supported_auth_types: ["none"],
35145
+ docs_url: "https://thesvg.org",
35146
+ capabilities: [
35147
+ {
35148
+ id: "thesvg:read",
35149
+ name: "Find and fetch brand icons",
35150
+ description: "Search the icon library, list an icon's variants and categories, and fetch its SVG markup or CDN URL",
35151
+ access: "read"
35152
+ }
35153
+ ],
35154
+ installable: { category: "Media", authTypes: ["none"] },
35155
+ beta: true,
35156
+ // ENG-5815 data-driven path — no buildMcpJson edit, same as AWS.
35157
+ nativeMcp: {
35158
+ command: "npx",
35159
+ args: ["-y", "@thesvg/mcp-server@0.8.2"],
35160
+ env: {
35161
+ PATH: "{{process_env.PATH}}",
35162
+ HOME: "{{process_env.HOME}}"
35163
+ }
35164
+ }
35165
+ },
35036
35166
  {
35037
35167
  id: "qmd",
35038
35168
  name: "QMD Memory Search",
@@ -36161,6 +36291,10 @@ var NOTICE_KIND_AUDIENCE = {
36161
36291
  // "Your `<verb>` approval request (`<uuid>`) EXPIRED at …" — in the report,
36162
36292
  // uuid and all.
36163
36293
  approval_expired: "agent",
36294
+ // ENG-11334: canvas.publish_public approved / denied / approved-but-not-applied.
36295
+ // Second-person instructions to the agent ("Tell the user...", "do not
36296
+ // republish"); the user learns the outcome from the agent, not this row.
36297
+ canvas_public_approval_resolved: "agent",
36164
36298
  // A routine fired; the agent picks the work up.
36165
36299
  routine_firing_result: "agent",
36166
36300
  // Live-advisor wake: "Call `live_read` with escalation_id …" — a literal tool
@@ -38897,7 +39031,7 @@ var FLAG_REGISTRY = [
38897
39031
  },
38898
39032
  {
38899
39033
  key: "approval-unified-authority",
38900
- description: "One authority check for every approval ingress (ENG-11207, ADR-0124 Phase 0b): canDecide() runs inside tryDispatchApprovalCore for console, Slack (channel, alerts, Socket Mode, which also carries Telegram) and Direct Chat taps alike. off = not computed. shadow = compute the verdict and log approval_authority_would_reject (ingress, verb, org, reason) for every tap it would refuse, then decide exactly as today. enforce = reserved for the per-(org, verb) allowlist slice; until that ships it behaves as shadow. Evaluated per-org. Ships dark.",
39034
+ description: "One authority check for every approval ingress (ENG-11207, ADR-0124 Phase 0b): canDecide() runs inside tryDispatchApprovalCore for console, Slack (channel, alerts, Socket Mode, which also carries Telegram) and Direct Chat taps alike. off = not computed. shadow = compute the verdict, including the verb's declared approver boundary (ENG-11337), and log approval_authority_would_reject (ingress, verb, org, reason, boundary) for every tap it would refuse and approval_authority_would_admit (ingress, verb, org, basis, boundary) for every tap it would admit, then decide exactly as today. enforce = reserved for the per-(org, verb) allowlist slice; until that ships it behaves as shadow. Evaluated per-org. Ships dark.",
38901
39035
  flagType: "enum",
38902
39036
  allowedValues: ["off", "shadow", "enforce"],
38903
39037
  // Safe/default value is `off` (no computation, no extra reads on the tap path). A flag-DB read