mayura 1.2.2 → 1.3.0

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 (115) hide show
  1. package/README.md +2 -4
  2. package/docs/README.md +7 -2
  3. package/docs/guides/authentication.md +3 -1
  4. package/docs/guides/browsers.md +1 -0
  5. package/docs/guides/choosing-a-starter.md +4 -1
  6. package/docs/guides/copy-in-ui.md +36 -4
  7. package/docs/guides/framework-starters.md +2 -1
  8. package/docs/guides/hono.md +1 -1
  9. package/docs/guides/nextjs.md +1 -1
  10. package/docs/guides/nuxt.md +1 -1
  11. package/docs/guides/rag-deployment.md +2 -1
  12. package/docs/guides/rag-modal-pinecone-starter.md +5 -3
  13. package/docs/guides/react-router.md +1 -1
  14. package/docs/guides/release-readiness.md +24 -2
  15. package/docs/guides/sandboxes.md +1 -1
  16. package/docs/guides/server-and-client.md +8 -3
  17. package/docs/guides/sveltekit.md +1 -1
  18. package/docs/guides/tanstack-start.md +1 -1
  19. package/docs/integrations/browser-stagehand.md +5 -1
  20. package/docs/integrations/sandbox-codesandbox.md +4 -0
  21. package/docs/integrations/ui.md +82 -0
  22. package/docs/project/changelog.md +48 -0
  23. package/docs/project/whats-new.md +19 -10
  24. package/docs/reference/integrations.md +11 -3
  25. package/lib/adapter-code-docker/image/Dockerfile +1 -1
  26. package/lib/adapter-code-docker/package.json +1 -1
  27. package/lib/adapter-code-quickjs/package.json +1 -1
  28. package/lib/adapter-mcp/package.json +1 -1
  29. package/lib/ag-ui/package.json +1 -1
  30. package/lib/artifacts/package.json +1 -1
  31. package/lib/auth/dist/identity.d.ts +2 -5
  32. package/lib/auth/dist/identity.d.ts.map +1 -1
  33. package/lib/auth/dist/identity.js.map +1 -1
  34. package/lib/auth/package.json +1 -1
  35. package/lib/auth/src/identity.ts +3 -3
  36. package/lib/authz/package.json +1 -1
  37. package/lib/browser/package.json +1 -1
  38. package/lib/cli/dist/deploy-targets.js +1 -1
  39. package/lib/cli/dist/deploy-targets.js.map +1 -1
  40. package/lib/cli/package.json +1 -1
  41. package/lib/cli/src/deploy-targets.ts +1 -1
  42. package/lib/cli/starters/support-agent/src/dev-request.ts +18 -0
  43. package/lib/cli/starters/support-agent/src/dev.ts +7 -4
  44. package/lib/cli/starters/support-agent/test/dev-request.test.ts +19 -0
  45. package/lib/client/dist/index.js +2 -2
  46. package/lib/client/dist/index.js.map +1 -1
  47. package/lib/client/package.json +1 -1
  48. package/lib/client/src/index.ts +2 -2
  49. package/lib/client-react/package.json +1 -1
  50. package/lib/code-mode/package.json +1 -1
  51. package/lib/code-mode-workflows/package.json +1 -1
  52. package/lib/context/package.json +1 -1
  53. package/lib/core/package.json +1 -1
  54. package/lib/exporter-otlp/dist/otlp-http-json.js +1 -1
  55. package/lib/exporter-otlp/dist/otlp-http-json.js.map +1 -1
  56. package/lib/exporter-otlp/dist/signals.js +2 -2
  57. package/lib/exporter-otlp/dist/signals.js.map +1 -1
  58. package/lib/exporter-otlp/package.json +1 -1
  59. package/lib/exporter-otlp/src/otlp-http-json.ts +1 -1
  60. package/lib/exporter-otlp/src/signals.ts +2 -2
  61. package/lib/files/dist/store.d.ts.map +1 -1
  62. package/lib/files/dist/store.js +15 -2
  63. package/lib/files/dist/store.js.map +1 -1
  64. package/lib/files/package.json +1 -1
  65. package/lib/files/src/store.ts +15 -2
  66. package/lib/guardrails/package.json +1 -1
  67. package/lib/helpers/package.json +1 -1
  68. package/lib/keys/dist/manager.d.ts +1 -4
  69. package/lib/keys/dist/manager.d.ts.map +1 -1
  70. package/lib/keys/dist/manager.js +6 -4
  71. package/lib/keys/dist/manager.js.map +1 -1
  72. package/lib/keys/dist/verifier.d.ts +2 -1
  73. package/lib/keys/dist/verifier.d.ts.map +1 -1
  74. package/lib/keys/dist/verifier.js +2 -2
  75. package/lib/keys/dist/verifier.js.map +1 -1
  76. package/lib/keys/package.json +1 -1
  77. package/lib/keys/src/manager.ts +8 -6
  78. package/lib/keys/src/verifier.ts +4 -4
  79. package/lib/memory/package.json +1 -1
  80. package/lib/memory-remote/package.json +1 -1
  81. package/lib/observability/package.json +1 -1
  82. package/lib/provider-anthropic/package.json +1 -1
  83. package/lib/provider-openai/package.json +1 -1
  84. package/lib/rag/package.json +1 -1
  85. package/lib/runtime/package.json +1 -1
  86. package/lib/sandbox/package.json +1 -1
  87. package/lib/sdk/package.json +1 -1
  88. package/lib/server/dist/index.d.ts +2 -1
  89. package/lib/server/dist/index.d.ts.map +1 -1
  90. package/lib/server/dist/index.js +29 -24
  91. package/lib/server/dist/index.js.map +1 -1
  92. package/lib/server/dist/inspector-bundle.d.ts +1 -1
  93. package/lib/server/dist/inspector-bundle.d.ts.map +1 -1
  94. package/lib/server/dist/inspector-bundle.js +4 -4
  95. package/lib/server/dist/inspector-bundle.js.map +1 -1
  96. package/lib/server/package.json +1 -1
  97. package/lib/server/src/index.ts +26 -20
  98. package/lib/server/src/inspector-bundle.ts +4 -4
  99. package/lib/server-node/package.json +1 -1
  100. package/lib/skills/package.json +1 -1
  101. package/lib/storage/package.json +1 -1
  102. package/lib/storage-contracts/package.json +1 -1
  103. package/lib/storage-postgres/package.json +1 -1
  104. package/lib/storage-sql/package.json +1 -1
  105. package/lib/storage-sqlite/package.json +1 -1
  106. package/lib/terminal/package.json +1 -1
  107. package/lib/testing/package.json +1 -1
  108. package/lib/threads/package.json +1 -1
  109. package/lib/tools/package.json +1 -1
  110. package/lib/voice/package.json +1 -1
  111. package/lib/workflows/package.json +1 -1
  112. package/lib/workstream/package.json +1 -1
  113. package/llms-full.txt +267 -37
  114. package/llms.txt +8 -3
  115. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "private": true
5
5
  }
package/llms-full.txt CHANGED
@@ -397,11 +397,33 @@ assistants, matching the exact version you installed. See [Using Mayura with AI
397
397
 
398
398
  ---
399
399
 
400
- # V1.2.1 release validation status
400
+ # V1.2.2 release validation status
401
401
 
402
402
  Source: docs/guides/release-readiness.md
403
403
 
404
- Verified publication of all 106 packages, the scoped production RAG qualification, and remaining interoperability limits.
404
+ Main CI, npm publication, registry verification, production RAG qualification and remaining interoperability limits.
405
+
406
+ ## V1.2.2 publication
407
+
408
+ **1.2.2 was published on November 23, 2026.** All 39 checks, including the Qualification gate, passed on
409
+ [`main`](https://github.com/KartikeyAI/mayura/actions/runs/45167460889) at
410
+ `01911fa26d4f21a2485c42a54b5b935b3d3701a6`. The
411
+ [106-package rehearsal](https://github.com/KartikeyAI/mayura/actions/runs/45167517830) passed on that commit,
412
+ including an upgrade from 1.2.1, secret scanning, and an SBOM with 450 components and no license findings.
413
+
414
+ The [protected release workflow](https://github.com/KartikeyAI/mayura/actions/runs/45172105288) published all 106
415
+ packages under `latest` through npm trusted publishing. It verified archive integrity, provenance, registry
416
+ signatures and clean installation, including installed-package RAG acceptance. A temporary tarball 404
417
+ interrupted the first clean-install check. The successful workflow attempt reused the saved publication
418
+ receipt and qualified the same archives.
419
+
420
+ The protected [`v1.2.2` tag and release](https://github.com/KartikeyAI/mayura/releases/tag/v1.2.2)
421
+ identify the qualified commit and retain the archive manifest, SBOM and verification reports. A separate
422
+ registry check confirmed that all 22 stale `next` tags moved from `1.2.0-rc.1` to `1.2.2`.
423
+
424
+ The [RAG starter](rag-modal-pinecone-starter.md) is available through the published CLI. The
425
+ [registered Modal and Pinecone Loki v28 profile](rag-production.md) retains its scoped production qualification.
426
+ Other RAG profiles and the bounded AG-UI profile remain experimental.
405
427
 
406
428
  ## V1.2.1 publication
407
429
 
@@ -597,13 +619,16 @@ Use [Next.js](nextjs.md), [Hono](hono.md), [React Router](react-router.md), [Tan
597
619
  ## Generate a reviewed directory
598
620
 
599
621
  ```sh
600
- npx mayura@1.2.1 init --starter nextjs --directory ./my-notebook --apply
622
+ npx mayura@1.2.2 init --starter nextjs --directory ./my-notebook --apply
601
623
  ```
602
624
 
603
625
  Replace `nextjs` with the selected starter ID. The [initializer](../cli/init.md) supports a plan before writing and
604
626
  refuses unapproved replacement of existing files. Run from a directory you own; use the generated README for that
605
627
  starter's install, build and environment commands.
606
628
 
629
+ For the retrieval application, follow the [RAG starter guide](rag-modal-pinecone-starter.md) to run its offline
630
+ demo before connecting hosted services.
631
+
607
632
  For a framework notebook:
608
633
 
609
634
  ```sh
@@ -2636,7 +2661,8 @@ Source: docs/guides/rag-deployment.md
2636
2661
  Start offline, connect a scoped vector store, and qualify retrieval and citations on your own workload.
2637
2662
 
2638
2663
  Start with the [RAG quickstart](rag-quickstart.md) to ingest, retrieve, verify citations and delete a source
2639
- from an npm install. The [Modal + Pinecone starter](rag-modal-pinecone-starter.md) adds an offline demo
2664
+ from an npm install. To start with a complete application, generate the
2665
+ [Modal + Pinecone starter](rag-modal-pinecone-starter.md) with the Mayura 1.2.2 CLI. It includes an offline demo
2640
2666
  and an opt-in hosted walkthrough.
2641
2667
 
2642
2668
  The repository also includes a single-file example in `examples/rag.mjs`. It ingests Markdown in a durable workflow, then answers with
@@ -2693,8 +2719,8 @@ Pinecone vectors, and Modal DeepSeek for reranking and generation.
2693
2719
 
2694
2720
  ## Generate and run the demo
2695
2721
 
2696
- The starter is included in Mayura 1.2.2. Once that version is available on npm, generate the project with the
2697
- published CLI.
2722
+ Use Node.js 24.14.1 or a later supported 24.x release. Generate the project directly from the published Mayura 1.2.2
2723
+ CLI.
2698
2724
 
2699
2725
  ```sh
2700
2726
  npx mayura@1.2.2 init --starter rag-modal-pinecone --directory ./mayura-rag-starter --apply
@@ -2716,7 +2742,9 @@ npm test
2716
2742
 
2717
2743
  The demo requires no API key and uses an in-memory vector store. It reads `fixtures/on-call.md` and prints a
2718
2744
  JSON answer that includes the incident-summary deadline and a citation with its document, revision, chunk ID,
2719
- reference and exact offsets. The tests exercise the hosted protocol with local fixtures.
2745
+ reference and exact offsets. Use the offsets to locate the passage in the fixture. The tests exercise the hosted
2746
+ protocol with local fixtures. For an example that also deletes a source and checks that it stops appearing in
2747
+ retrieval, see the [RAG quickstart](rag-quickstart.md).
2720
2748
 
2721
2749
  ## Connect Modal and Pinecone
2722
2750
 
@@ -2834,7 +2862,8 @@ project and secret identity directory before use. Its frontend is built by Vite;
2834
2862
 
2835
2863
  ## Validation and remaining qualifications
2836
2864
 
2837
- The starter suite passed locally for all 11 starters, including all six frameworks. It builds and boots each framework in the workspace, exercises its mounted approval flow,
2865
+ The original Mayura 1.2 starter suite passed locally for all 11 starters available at the time, including all six frameworks.
2866
+ It builds and boots each framework in the workspace, exercises its mounted approval flow,
2838
2867
  and generates, packs, installs and tests each server contract offline. Like the existing Vite starters, framework toolchains
2839
2868
  are qualified in the workspace; generated packed installs qualify the Mayura server contract separately.
2840
2869
  The shared runtime checks passed on Bun, Deno, workerd and Vercel Edge; they do not qualify the Hono-specific Bun/Deno entry points or a deployed Workers/D1 application. Those profiles and rendered browser interaction checks remain outstanding.
@@ -2864,7 +2893,7 @@ Use Node 24.14.1 or a later supported 24.x version. Run the initializer from a d
2864
2893
  inspect its plan before applying it to an existing project.
2865
2894
 
2866
2895
  ```sh
2867
- npx mayura@1.2.1 init --starter nextjs --directory ./my-notebook --apply
2896
+ npx mayura@1.2.2 init --starter nextjs --directory ./my-notebook --apply
2868
2897
  cd my-notebook
2869
2898
  npm install
2870
2899
  npm run setup
@@ -2962,7 +2991,7 @@ Use Node 24.14.1 or a later supported 24.x version. Run the initializer from a d
2962
2991
  inspect its plan before applying it to an existing project.
2963
2992
 
2964
2993
  ```sh
2965
- npx mayura@1.2.1 init --starter hono --directory ./my-notebook --apply
2994
+ npx mayura@1.2.2 init --starter hono --directory ./my-notebook --apply
2966
2995
  cd my-notebook
2967
2996
  npm install
2968
2997
  npm run setup
@@ -3060,7 +3089,7 @@ Use Node 24.14.1 or a later supported 24.x version. Run the initializer from a d
3060
3089
  inspect its plan before applying it to an existing project.
3061
3090
 
3062
3091
  ```sh
3063
- npx mayura@1.2.1 init --starter react-router --directory ./my-notebook --apply
3092
+ npx mayura@1.2.2 init --starter react-router --directory ./my-notebook --apply
3064
3093
  cd my-notebook
3065
3094
  npm install
3066
3095
  npm run setup
@@ -3158,7 +3187,7 @@ Use Node 24.14.1 or a later supported 24.x version. Run the initializer from a d
3158
3187
  inspect its plan before applying it to an existing project.
3159
3188
 
3160
3189
  ```sh
3161
- npx mayura@1.2.1 init --starter tanstack-start --directory ./my-notebook --apply
3190
+ npx mayura@1.2.2 init --starter tanstack-start --directory ./my-notebook --apply
3162
3191
  cd my-notebook
3163
3192
  npm install
3164
3193
  npm run setup
@@ -3256,7 +3285,7 @@ Use Node 24.14.1 or a later supported 24.x version. Run the initializer from a d
3256
3285
  inspect its plan before applying it to an existing project.
3257
3286
 
3258
3287
  ```sh
3259
- npx mayura@1.2.1 init --starter sveltekit --directory ./my-notebook --apply
3288
+ npx mayura@1.2.2 init --starter sveltekit --directory ./my-notebook --apply
3260
3289
  cd my-notebook
3261
3290
  npm install
3262
3291
  npm run setup
@@ -3354,7 +3383,7 @@ Use Node 24.15.0 or a later supported 24.x version. Run the initializer from a d
3354
3383
  inspect its plan before applying it to an existing project.
3355
3384
 
3356
3385
  ```sh
3357
- npx mayura@1.2.1 init --starter nuxt --directory ./my-notebook --apply
3386
+ npx mayura@1.2.2 init --starter nuxt --directory ./my-notebook --apply
3358
3387
  cd my-notebook
3359
3388
  npm install
3360
3389
  npm run setup
@@ -9851,7 +9880,7 @@ the container's configuration or on the host's command lines.
9851
9880
  | `@mayurajs/sandbox-modal` | [Modal](https://modal.com/docs/guide/sandboxes) gVisor or VM sandboxes; Node, Deno and Bun | none, all, domains | tunnel URL | no |
9852
9881
  | `@mayurajs/sandbox-railway` | [Railway](https://docs.railway.com/sandboxes) Linux VMs from Railway's default image | all only | Railway domain | no |
9853
9882
  | `@mayurajs/sandbox-northflank` | [Northflank](https://northflank.com/docs/v1/application/sandboxes) microVM services; Node | all only | no | no |
9854
- | `@mayurajs/sandbox-codesandbox` | [CodeSandbox](https://codesandbox.io/docs/sdk) private microVMs from a template; Node | all only | host-token URL | no |
9883
+ | `@mayurajs/sandbox-codesandbox` | [CodeSandbox](../integrations/sandbox-codesandbox.md) private microVMs from a template; Node; isolated development only | all only | host-token URL | no |
9855
9884
  | `@mayurajs/sandbox-cloudflare` | [Cloudflare Sandboxes](https://developers.cloudflare.com/sandbox/) through your sandbox bridge Worker; any runtime | all only | no | no |
9856
9885
  | `@mayurajs/sandbox-apple-container` | [Apple `container`](https://github.com/apple/container) VMs on this Mac (macOS 26, Apple silicon); Node | all; none as a host-only network you name | no | no |
9857
9886
 
@@ -10057,6 +10086,7 @@ to others (remote debugging, profiles, extensions, proxies, the sandbox) are ref
10057
10086
  `stagehandTools(browser, { model })` in `@mayurajs/browser-stagehand` adds Stagehand 3's natural-language tools —
10058
10087
  `extract`, `observe` and, when enabled, `act` — on a Mayura browser, driving it alongside over `browser.cdp`. The
10059
10088
  browser's origins, lifetime and limits still hold, including for pages Stagehand opens.
10089
+ [The Stagehand SDK profile](../integrations/browser-stagehand.md) is currently for isolated development use.
10060
10090
 
10061
10091
  `agentBrowserTools(browser)` in `@mayurajs/browser-agent-browser` does the same with Vercel Labs' agent-browser command
10062
10092
  line: its snapshots with `@e` refs and its actions, from a short list of commands, each tool behind its permission.
@@ -11121,9 +11151,14 @@ policy version across replicas for portable cursors. Omission uses a random proc
11121
11151
  then invalidates those cursors. Rotation/version changes safely invalidate old cursors. Keys are copied at server/Node
11122
11152
  host construction and never appear in responses. Capability-only servers keep their existing cursor formats.
11123
11153
 
11124
- Event streams check `run:read` when opened and again before every event/heartbeat disclosure. Revocation or policy
11125
- failure emits terminal `stream.error` with `AUTHORIZATION_DENIED` and closes the stream. Previously authorized buffered
11126
- bytes cannot be recalled. Client observation preserves this refusal instead of reconnecting it automatically.
11154
+ Native run event streams call the host's authenticator with `purpose: 'stream-recheck'` before each event and idle
11155
+ heartbeat. Use that purpose for verification without charging the client or applying another request's rate limit.
11156
+ Each check must still grant `runs:read`, the same principal and project, access to the same agent, and the configured
11157
+ `run:read` policy.
11158
+ A revoked token closes the observation with `AUTH_INVALID`. Changed scope, access or policy closes it with
11159
+ `AUTHORIZATION_DENIED`. The client treats either refusal as final for that observation. Already transmitted frames
11160
+ remain visible to the recipient. The authenticator's own cache determines when identity-provider revocation becomes
11161
+ visible to Mayura. Pass the abort signal to any service the authenticator calls.
11127
11162
  `session().features` includes `authorization` when enabled; features/capabilities do not enumerate per-resource grants.
11128
11163
  The session describes only its verified caller and remains readable. Explicit public liveness, data-free inspector
11129
11164
  assets and valid CORS preflights retain their existing behavior. Unmapped authenticated routes fail closed.
@@ -12264,7 +12299,9 @@ await keys.revoke(record.keyId);
12264
12299
 
12265
12300
  `keyAuthenticator(keys, { cost, maxIdentityMs })` is the server callback: it accepts tokens with the manager's prefix,
12266
12301
  spends `cost` credits, and makes the key's grant the identity, for no longer than the key or `maxIdentityMs`. It works
12267
- with any `KeyVerifier`, such as a key service's.
12302
+ with any `KeyVerifier`, such as a key service's. Stream rechecks use `cost: 0` and `checkOnly: true`.
12303
+ The built-in key manager reads the current grant from storage without consuming credits, request rate limits, or
12304
+ updating usage. External verifiers can honor `checkOnly` when their service offers a read-only verification API.
12268
12305
 
12269
12306
  Keys issued by a key service are checked with these packages, each a `KeyVerifier` for `keyAuthenticator`. Each sends
12270
12307
  only tokens with your keys' prefix to the service, never caches its answers (so a key revoked there is refused at
@@ -12805,7 +12842,7 @@ Install versioned React source components with reviewed file plans, explicit con
12805
12842
 
12806
12843
  The `mayura add ui` registry copies React source and shared CSS into `src/components/mayura/`. Your application owns
12807
12844
  that source. Existing [React runtime components](react.md) remain available in 1.x; hooks/controllers still enforce
12808
- bounded subscription and command behavior. The registry introduces no new runtime UI package.
12845
+ bounded subscription and command behavior. You can also install the standalone [@mayurajs/ui library](../integrations/ui.md).
12809
12846
 
12810
12847
  ## Choose and copy
12811
12848
 
@@ -12822,9 +12859,8 @@ Mayura versions are refused. The CLI does not install dependencies, modify packa
12822
12859
  run installation hooks.
12823
12860
 
12824
12861
  Install React and Mayura first and configure TypeScript JSX (`react-jsx`) and CSS imports in your application.
12825
- The initial registry requires Mayura 1.2.x or a compatible 1.2 release candidate, and refuses 1.1 installations. During
12826
- release-1.2 development the repository manifest is still 1.1; installation becomes usable against an installed 1.2
12827
- build after release versioning. The CLI reads the target's installed Mayura manifest, not a claimed model version.
12862
+ The CLI checks the target project's installed Mayura manifest. The copy-in components support stable Mayura
12863
+ releases from 1.2 through 1.x and compatible release candidates.
12828
12864
  Registry entries include source version, supported Mayura range, dependencies and all copied files. Shared `ui.css`
12829
12865
  uses overridable `--ui-*` variables and no external stylesheet/font service.
12830
12866
 
@@ -12862,6 +12898,39 @@ The website's `/ui` gallery provides a live preview and source view for each reg
12862
12898
  local fixture state without service credentials. Display components and the voice control render copied source;
12863
12899
  no preview can approve a real operation or start paid inference. Registry tests, framework starter checks and the website build/link checks passed locally. Rendered browser interaction, visual and accessibility checks remain outstanding; see [release validation status](release-readiness.md).
12864
12900
 
12901
+ ## shadcn registry
12902
+
12903
+ For a React 19 project with shadcn initialized, add the Mayura namespace inside the `registries` object in your
12904
+ `components.json`.
12905
+
12906
+ ```json
12907
+ {
12908
+ "registries": {
12909
+ "@mayura": "https://mayurajs.com/r/{name}.json"
12910
+ }
12911
+ }
12912
+ ```
12913
+
12914
+ Install the full library or choose individual components.
12915
+
12916
+ ```sh
12917
+ pnpm dlx shadcn@latest add @mayura/ui
12918
+ pnpm dlx shadcn@latest add @mayura/composer @mayura/thread-history
12919
+ ```
12920
+
12921
+ The other entries are `reply`, `artifacts`, `approvals`, `ag-ui`, and `run-activity`. Each entry includes its
12922
+ source dependencies and scoped stylesheet under `mayura` in your configured UI directory. Import
12923
+ `styles.css` once and wrap the UI with `UiRoot`. With the full kit and the default Vite aliases, use these imports.
12924
+
12925
+ ```js
12926
+ import { Composer, UiRoot } from '@/components/ui/mayura';
12927
+ import '@/components/ui/mayura/styles.css';
12928
+ ```
12929
+
12930
+ Individual entries use direct imports such as `@/components/ui/mayura/composer` and
12931
+ `@/components/ui/mayura/ui-root`. The shadcn source runs without Mayura. Supply your own handlers or connect
12932
+ the AG-UI hook to a compatible transport.
12933
+
12865
12934
  ## Programmatic plans
12866
12935
 
12867
12936
  ```ts
@@ -15094,6 +15163,90 @@ for (const run of page.items) {
15094
15163
 
15095
15164
  ---
15096
15165
 
15166
+ # Mayura UI
15167
+
15168
+ Source: docs/integrations/ui.md
15169
+
15170
+ Use standalone Tailwind React components with a backend of your choice or connect them to Mayura through AG-UI.
15171
+
15172
+ `@mayurajs/ui` is a standalone React 19 component library. It includes the composer,
15173
+ thread and activity views, approvals and exact change review, citations, artifact inspectors, and reply
15174
+ actions. Its compiled Tailwind stylesheet is scoped to `UiRoot`, so applications can use it with any CSS build.
15175
+
15176
+ ```bash
15177
+ npm install @mayurajs/ui react@19 react-dom@19
15178
+ ```
15179
+
15180
+ ```tsx
15181
+ import { Composer, UiRoot } from '@mayurajs/ui';
15182
+ import { useAgUiConversation, type AgUiTransport } from '@mayurajs/ui/ag-ui';
15183
+ import '@mayurajs/ui/styles.css';
15184
+
15185
+ export function ChatComposer({ transport }: { transport: AgUiTransport }) {
15186
+ const chat = useAgUiConversation({ transport });
15187
+ return (
15188
+ <UiRoot>
15189
+ <Composer
15190
+ onSend={chat.send}
15191
+ onStop={chat.stop}
15192
+ streaming={chat.status === 'streaming'}
15193
+ disabled={!['idle', 'streaming', 'complete'].includes(chat.status)}
15194
+ />
15195
+ </UiRoot>
15196
+ );
15197
+ }
15198
+ ```
15199
+
15200
+ Use the components with data and callbacks from your application. For streaming, `@mayurajs/ui/ag-ui`
15201
+ exports `AgUiRunInput`, `AgUiEvent`, and the conversation hook together. Supply a scoped transport
15202
+ from your application. It owns the AG-UI endpoint, session credentials, and
15203
+ optional history and cancellation requests. Mounting the hook starts no run. Bind approval decisions to
15204
+ the current interrupt and keep the server responsible for authorizing the exact tool call. Media artifacts
15205
+ load only from the exact local paths you allow. Keep browser credentials out of client bundles.
15206
+
15207
+ Install a compatible `mayura` version when your server uses the Mayura adapter. The repository example
15208
+ at `examples/ui-ag-ui-prototype` runs that adapter with a deterministic
15209
+ agent, so you can exercise approval, history, and artifact controls without provider credentials.
15210
+
15211
+ Existing [copy-in components](../guides/copy-in-ui.md) still install through `mayura add ui`.
15212
+
15213
+ ## shadcn registry
15214
+
15215
+ To own the React source in your project, add the Mayura namespace to the `registries` object in
15216
+ your shadcn `components.json`.
15217
+
15218
+ ```json
15219
+ {
15220
+ "registries": {
15221
+ "@mayura": "https://mayurajs.com/r/{name}.json"
15222
+ }
15223
+ }
15224
+ ```
15225
+
15226
+ Install the full library or select individual items.
15227
+
15228
+ ```sh
15229
+ pnpm dlx shadcn@latest add @mayura/ui
15230
+ pnpm dlx shadcn@latest add @mayura/composer @mayura/thread-history
15231
+ ```
15232
+
15233
+ The registry also provides `reply`, `artifacts`, `approvals`, `ag-ui`, and `run-activity`. Each item
15234
+ includes its source dependencies, `UiRoot`, and the scoped stylesheet. The files go into a
15235
+ `mayura` subdirectory under your configured UI alias. For example, with the default Vite aliases
15236
+ and the full library installed, import the composer and stylesheet as follows.
15237
+
15238
+ ```js
15239
+ import { Composer, UiRoot } from '@/components/ui/mayura';
15240
+ import '@/components/ui/mayura/styles.css';
15241
+ ```
15242
+
15243
+ If you install only the composer, import it from `@/components/ui/mayura/composer` and import
15244
+ `UiRoot` from `@/components/ui/mayura/ui-root`. Import the stylesheet once at your app entry.
15245
+ These are source files for a React 19 app. Connect them to your own backend or use the copied
15246
+ AG-UI hook with a compatible transport.
15247
+
15248
+ ---
15249
+
15097
15250
  # Chroma vectors
15098
15251
 
15099
15252
  Source: docs/integrations/vector-chroma.md
@@ -21937,6 +22090,10 @@ CodeSandbox SDK, `@codesandbox/sdk`, which you install yourself, and runs on Nod
21937
22090
  **CodeSandbox VMs reach the internet**, and this provider has no way to stop them, so it only makes sandboxes with the
21938
22091
  network `'all'`.
21939
22092
 
22093
+ **Production qualification is withheld.** The supported CodeSandbox SDK still resolves high-severity
22094
+ dependency advisories. Restrict use to isolated development environments until a clean supported dependency
22095
+ profile is verified.
22096
+
21940
22097
  ## Install
21941
22098
 
21942
22099
  ```bash
@@ -24926,9 +25083,13 @@ Give agents Stagehand 3's extract, observe and act on a Mayura browser with @may
24926
25083
  drives the same browser alongside Mayura over the browser's CDP endpoint (`browser.cdp`), so the browser's origins,
24927
25084
  lifetime and limits still hold, including for pages Stagehand opens.
24928
25085
 
24929
- Stagehand 3 (`@browserbasehq/stagehand`, 3.7.3 or a later 3.x) is a peer you install yourself, loaded when a tool
25086
+ Stagehand 3 (`@browserbasehq/stagehand`, 3.7.4 or a later 3.x) is a peer you install yourself, loaded when a tool
24930
25087
  first needs it. Stagehand runs on Node only, so this package does too.
24931
25088
 
25089
+ **Production qualification is withheld.** Supported Stagehand 3 installs still resolve high-severity
25090
+ dependency advisories. Restrict use to isolated development environments. Stagehand 4 uses a different browser
25091
+ attachment architecture and requires separate qualification.
25092
+
24932
25093
  ## Install
24933
25094
 
24934
25095
  ```bash
@@ -29729,10 +29890,10 @@ code. You do not need them to build agents or workflows.
29729
29890
 
29730
29891
  Source: docs/reference/integrations.md
29731
29892
 
29732
- Every @mayurajs package: model providers, voice, storage, files, observability, sandboxes, browsers, authorization, sign-in, API keys and deploy targets.
29893
+ Every @mayurajs package: UI, model providers, voice, storage, files, observability, sandboxes, browsers, authorization, sign-in, API keys and deploy targets.
29733
29894
 
29734
- Beside `mayura`, 105 optional `@mayurajs/*` packages connect it to other services. Each is published with every Mayura
29735
- release at the same version, takes `mayura` as a peer, and is installed only if you use it:
29895
+ Beside `mayura`, 106 optional `@mayurajs/*` packages add UI and integrations. Each is published with every Mayura
29896
+ release at the same version. The standalone UI library can run with a compatible AG-UI transport and makes Mayura an optional peer:
29736
29897
 
29737
29898
  ```bash
29738
29899
  npm install mayura @mayurajs/storage-mysql
@@ -29742,6 +29903,14 @@ The packages read no environment variables themselves: you pass credentials in a
29742
29903
  the platform's own command-line tool, signed in as you. Each package has its own page, and each area's guide shows
29743
29904
  how the packages fit together.
29744
29905
 
29906
+ ## User interface
29907
+
29908
+ Standalone React components for agent interfaces and AG-UI. See [User interface](../guides/copy-in-ui.md#shadcn-registry).
29909
+
29910
+ | Package | What it does |
29911
+ | --- | --- |
29912
+ | [`@mayurajs/ui`](../integrations/ui.md) | Tailwind React components for agent chat, thread history, artifacts, citations and AG-UI approvals. |
29913
+
29745
29914
  ## Vector stores
29746
29915
 
29747
29916
  Scoped vector storage beside built-in memory and native-memory adapters. See [Vector stores](../guides/rag.md).
@@ -29947,16 +30116,25 @@ Platforms for `mayura deploy`, beside Docker, Compose and Kubernetes. See [mayur
29947
30116
 
29948
30117
  ---
29949
30118
 
29950
- # What's new in Mayura 1.2.1
30119
+ # What's new in Mayura 1.2.2
29951
30120
 
29952
30121
  Source: docs/project/whats-new.md
29953
30122
 
29954
- Qualified retrieval for the Modal and Pinecone Loki profile, configurable workflow graphs, and the capabilities shipped in Mayura 1.2.
30123
+ A runnable Modal and Pinecone RAG starter, security fixes and release checks for every npm package.
30124
+
30125
+ Mayura **1.2.2 is available on npm** for `mayura` and all 105 optional
30126
+ [integration packages](../reference/integrations.md). Upgrade Mayura and the extensions your application uses
30127
+ to the same version. See the [changelog](changelog.md) and [release evidence](../guides/release-readiness.md).
30128
+
30129
+ - **Run a retrieval agent locally.** Generate the [Modal + Pinecone RAG starter](../guides/rag-modal-pinecone-starter.md)
30130
+ with the published CLI. Its credential-free demo ingests Markdown and produces an answer with exact citations.
30131
+ - **Upgrade the HTTP and validation dependencies.** The release includes Zod 4.6.7, Hono 4.13.20 and
30132
+ `@hono/node-server` 2.1.11. Qualification audits production dependencies across all 106 packages.
30133
+ - **Try RAG from an npm install.** The [RAG quickstart](../guides/rag-quickstart.md) covers ingestion,
30134
+ retrieval, citation verification and deletion. Registry acceptance tests exercise recovery, scope enforcement
30135
+ and provider failures using deterministic fixtures.
29955
30136
 
29956
- Mayura **1.2.1 is published** under `latest` for `mayura` and 105 optional
29957
- [integration packages](../reference/integrations.md). All 106 packages were published through trusted publishing
29958
- with verified integrity and provenance. All 22 existing `next` tags were preserved. See the
29959
- [release evidence](../guides/release-readiness.md) for the qualified source and remaining interoperability limits.
30137
+ ## Mayura 1.2.1
29960
30138
 
29961
30139
  ## Production retrieval and configurable graphs
29962
30140
 
@@ -29993,7 +30171,7 @@ HTTP policy service. Resource decisions supplement explicit runtime grants; they
29993
30171
  [Next.js](../guides/nextjs.md), [Hono](../guides/hono.md), [React Router](../guides/react-router.md),
29994
30172
  [TanStack Start](../guides/tanstack-start.md), [SvelteKit](../guides/sveltekit.md) and [Nuxt](../guides/nuxt.md).
29995
30173
  They include scoped threads, exact note approvals, an offline model fixture, a separate indexing worker and
29996
- deployment source. [Choose a starter](../guides/choosing-a-starter.md) compares all 11 applications.
30174
+ deployment source. Find the current application catalog in [Choose a starter](../guides/choosing-a-starter.md).
29997
30175
 
29998
30176
  [Copy-in React components](../guides/copy-in-ui.md) provide thread history, approval and run controls as source you
29999
30177
  own. [Headless stores](../guides/react.md) support native Svelte and Vue views. Hooks and subscriptions observe;
@@ -30014,10 +30192,10 @@ outside the completed qualification.
30014
30192
 
30015
30193
  ## Upgrade and qualification
30016
30194
 
30017
- Install the coordinated release with `npm install mayura@1.2.1`. Select matching `@mayurajs/*@1.2.1` packages only
30195
+ Install the coordinated release with `npm install mayura@1.2.2`. Select matching `@mayurajs/*@1.2.2` packages only
30018
30196
  where needed. Review [versioning](versioning.md), [support](support.md) and the
30019
- [release validation status](../guides/release-readiness.md) before changing a production host. The full main CI
30020
- matrix and V1.1 upgrade check passed. Check the qualification scope for the external services you use.
30197
+ [release validation status](../guides/release-readiness.md) before changing a production host. The 1.2.2
30198
+ qualification included an upgrade from a 1.2.1 database. Check the qualification scope for the external services you use.
30021
30199
 
30022
30200
  ## Mayura 1.1
30023
30201
 
@@ -30097,6 +30275,58 @@ or storage changes are needed. See [Versioning](versioning.md) for what each rel
30097
30275
 
30098
30276
  ---
30099
30277
 
30278
+ # Mayura changelog
30279
+
30280
+ Source: docs/project/changelog.md
30281
+
30282
+ Release history for Mayura, including the latest changes, upgrade notes and links to published artifacts.
30283
+
30284
+ Mayura and its optional [integration packages](../reference/integrations.md) ship at coordinated versions.
30285
+ See the [versioning policy](versioning.md) for compatibility and the [GitHub changelog](https://github.com/KartikeyAI/mayura/blob/main/CHANGELOG.md)
30286
+ for the complete change history.
30287
+
30288
+ ## 1.2.2 · November 23, 2026
30289
+
30290
+ - Added the [Modal + Pinecone RAG starter](../guides/rag-modal-pinecone-starter.md). Generate it from npm and
30291
+ try Markdown ingestion and cited answers with local fixtures.
30292
+ - Upgraded Zod to 4.6.7, Hono to 4.13.20 and `@hono/node-server` to 2.1.11. Production dependency audits
30293
+ cover every published package. High and critical findings block qualification, and moderate findings
30294
+ require reviewed, expiring exceptions.
30295
+ - Added a [RAG quickstart](../guides/rag-quickstart.md), a [qualification matrix](../guides/rag-production.md)
30296
+ and installed-package acceptance tests for retrieval, citation grounding, recovery and failure handling.
30297
+ - Added an archive-size budget, shared identical starter files and checked registry signatures, provenance
30298
+ and clean installation before creating the release tag.
30299
+
30300
+ [Release artifacts](https://github.com/KartikeyAI/mayura/releases/tag/v1.2.2) ·
30301
+ [Validation results](../guides/release-readiness.md#v122-publication)
30302
+
30303
+ ## 1.2.1 · November 23, 2026
30304
+
30305
+ - Qualified the [Modal + Pinecone Loki v28 RAG profile](../guides/rag-production.md) for its registered
30306
+ software-operations workload. Other RAG profiles remain experimental.
30307
+ - Made the [workflow graph node limit configurable](../concepts/workflows.md#configuring-graph-size).
30308
+ The default is 128 nodes.
30309
+
30310
+ [Release artifacts](https://github.com/KartikeyAI/mayura/releases/tag/v1.2.1)
30311
+
30312
+ ## 1.2.0 · October 23, 2026
30313
+
30314
+ - Added persistent threads, exact approvals, agent handoffs, fine-grained authorization, six framework
30315
+ starters and AI gateway adapters.
30316
+ - Introduced the initial experimental RAG and AG-UI profiles.
30317
+
30318
+ [Release artifacts](https://github.com/KartikeyAI/mayura/releases/tag/v1.2.0)
30319
+
30320
+ ## 1.1.0 · October 12, 2026
30321
+
30322
+ - Added voice, file stores, hosted sandboxes and browsers, more database adapters, authentication,
30323
+ observability and deployment integrations.
30324
+
30325
+ [Mayura 1.1 highlights](whats-new.md#mayura-11) ·
30326
+ [Release artifacts](https://github.com/KartikeyAI/mayura/releases/tag/v1.1.0)
30327
+
30328
+ ---
30329
+
30100
30330
  # Versioning
30101
30331
 
30102
30332
  Source: docs/project/versioning.md