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
package/README.md CHANGED
@@ -52,7 +52,7 @@ with a CLI that scaffolds, runs and operates your project.
52
52
  configure it.
53
53
  - **Deploy anywhere.** `mayura deploy` to Docker, Compose, Kubernetes and eleven platforms, from Fly.io and Cloud Run
54
54
  to AWS Lambda and Cloudflare. Runs on Node.js, Bun, Deno, Cloudflare Workers and Vercel Edge.
55
- - **85 integration packages.** Optional `@mayurajs/*` packages, released with `mayura`: see the
55
+ - **105 integration packages.** Optional `@mayurajs/*` packages, released with `mayura`: see the
56
56
  [list](docs/reference/integrations.md).
57
57
  - **Test offline.** Scripted models run agents, tools and workflows without a network or an API key.
58
58
 
@@ -181,6 +181,7 @@ Output is readable in a terminal and JSON when piped (or with `--json`). `mayura
181
181
  - [Guides](docs/README.md): model providers, streaming, durable workflows, storage, memory, guardrails, servers,
182
182
  React, deployment and more.
183
183
  - [CLI](docs/cli/overview.md) and the [entry point reference](docs/reference/entry-points.md).
184
+ - [Changelog](docs/project/changelog.md) and [release validation](docs/guides/release-readiness.md).
184
185
  - [Using Mayura with AI coding agents](docs/ai-agents.md): `llms.txt`, and documentation that ships inside the package.
185
186
 
186
187
  The documentation also ships in the npm package (`node_modules/mayura/docs`), so your editor's AI assistant can read
@@ -192,6 +193,3 @@ Mayura is created by **Aryabh** ([dev@rokad.co](mailto:dev@rokad.co)). The team
192
193
 
193
194
  Mayura is open source under the [Apache-2.0 license](LICENSE). See [CONTRIBUTING.md](CONTRIBUTING.md) to contribute,
194
195
  [SECURITY.md](SECURITY.md) to report a vulnerability and [SUPPORT.md](SUPPORT.md) for support.
195
-
196
-
197
- The release-1.2 development branch includes the offline `examples/ag-ui-chat` notebook and a copy-in React registry (`mayura add ui --list`). See [copy-in UI](docs/guides/copy-in-ui.md) and [AG-UI](docs/guides/ag-ui.md). Local Windows tests, builds and package checks pass. V1.2 remains unreleased; see the [release validation status](docs/guides/release-readiness.md) for results and remaining qualifications.
package/docs/README.md CHANGED
@@ -11,7 +11,7 @@ Mayura is a TypeScript framework for building AI agents, typed tools and durable
11
11
  - [Introduction](introduction.md): what Mayura is and how its parts fit together.
12
12
  - [Quickstart](quickstart.md): create a project, or add a first agent to your own.
13
13
  - [Installation](installation.md): requirements, optional packages and TypeScript settings.
14
- - [V1.2 release validation status](guides/release-readiness.md): stable publication, all 106 trusted publishers, preserved prerelease tags and remaining limits.
14
+ - [V1.2.2 release validation status](guides/release-readiness.md): main CI, npm publication, registry verification and remaining interoperability limits.
15
15
  - [Choose a starter](guides/choosing-a-starter.md): pick a complete application, a framework notebook or a focused template.
16
16
  - [Using Mayura with AI coding agents](ai-agents.md): documentation your assistant can read offline.
17
17
 
@@ -103,6 +103,10 @@ Mayura is a TypeScript framework for building AI agents, typed tools and durable
103
103
 
104
104
  <!-- integrations:start (generated by scripts/integrations-index.mjs) -->
105
105
 
106
+ ## Integrations: user interface
107
+
108
+ - [Mayura UI](integrations/ui.md): Tailwind React components for agent chat, thread history, artifacts, citations and AG-UI approvals.
109
+
106
110
  ## Integrations: vector stores
107
111
 
108
112
  - [Chroma](integrations/vector-chroma.md): Scoped native vector storage for chroma.
@@ -259,7 +263,8 @@ Mayura is a TypeScript framework for building AI agents, typed tools and durable
259
263
 
260
264
  ## Project
261
265
 
262
- - [What's new in 1.2.1](project/whats-new.md): qualified RAG, configurable workflow limits and release history.
266
+ - [What's new in 1.2.2](project/whats-new.md): the RAG starter, dependency upgrades and registry acceptance.
267
+ - [Changelog](project/changelog.md): release highlights, upgrade notes and published artifacts.
263
268
  - [Versioning and stability](project/versioning.md): what each release promises.
264
269
  - [Supported platforms](project/support.md): Node.js versions, operating systems and getting help.
265
270
  - [Security model](project/security.md): what Mayura protects against, and reporting vulnerabilities.
@@ -230,7 +230,9 @@ await keys.revoke(record.keyId);
230
230
 
231
231
  `keyAuthenticator(keys, { cost, maxIdentityMs })` is the server callback: it accepts tokens with the manager's prefix,
232
232
  spends `cost` credits, and makes the key's grant the identity, for no longer than the key or `maxIdentityMs`. It works
233
- with any `KeyVerifier`, such as a key service's.
233
+ with any `KeyVerifier`, such as a key service's. Stream rechecks use `cost: 0` and `checkOnly: true`.
234
+ The built-in key manager reads the current grant from storage without consuming credits, request rate limits, or
235
+ updating usage. External verifiers can honor `checkOnly` when their service offers a read-only verification API.
234
236
 
235
237
  Keys issued by a key service are checked with these packages, each a `KeyVerifier` for `keyAuthenticator`. Each sends
236
238
  only tokens with your keys' prefix to the service, never caches its answers (so a key revoked there is refused at
@@ -163,6 +163,7 @@ to others (remote debugging, profiles, extensions, proxies, the sandbox) are ref
163
163
  `stagehandTools(browser, { model })` in `@mayurajs/browser-stagehand` adds Stagehand 3's natural-language tools —
164
164
  `extract`, `observe` and, when enabled, `act` — on a Mayura browser, driving it alongside over `browser.cdp`. The
165
165
  browser's origins, lifetime and limits still hold, including for pages Stagehand opens.
166
+ [The Stagehand SDK profile](../integrations/browser-stagehand.md) is currently for isolated development use.
166
167
 
167
168
  `agentBrowserTools(browser)` in `@mayurajs/browser-agent-browser` does the same with Vercel Labs' agent-browser command
168
169
  line: its snapshots with `@e` refs and its actions, from a short list of commands, each tool behind its permission.
@@ -32,13 +32,16 @@ Use [Next.js](nextjs.md), [Hono](hono.md), [React Router](react-router.md), [Tan
32
32
  ## Generate a reviewed directory
33
33
 
34
34
  ```sh
35
- npx mayura@1.2.1 init --starter nextjs --directory ./my-notebook --apply
35
+ npx mayura@1.2.2 init --starter nextjs --directory ./my-notebook --apply
36
36
  ```
37
37
 
38
38
  Replace `nextjs` with the selected starter ID. The [initializer](../cli/init.md) supports a plan before writing and
39
39
  refuses unapproved replacement of existing files. Run from a directory you own; use the generated README for that
40
40
  starter's install, build and environment commands.
41
41
 
42
+ For the retrieval application, follow the [RAG starter guide](rag-modal-pinecone-starter.md) to run its offline
43
+ demo before connecting hosted services.
44
+
42
45
  For a framework notebook:
43
46
 
44
47
  ```sh
@@ -5,7 +5,7 @@ description: "Install versioned React source components with reviewed file plans
5
5
 
6
6
  The `mayura add ui` registry copies React source and shared CSS into `src/components/mayura/`. Your application owns
7
7
  that source. Existing [React runtime components](react.md) remain available in 1.x; hooks/controllers still enforce
8
- bounded subscription and command behavior. The registry introduces no new runtime UI package.
8
+ bounded subscription and command behavior. You can also install the standalone [@mayurajs/ui library](../integrations/ui.md).
9
9
 
10
10
  ## Choose and copy
11
11
 
@@ -22,9 +22,8 @@ Mayura versions are refused. The CLI does not install dependencies, modify packa
22
22
  run installation hooks.
23
23
 
24
24
  Install React and Mayura first and configure TypeScript JSX (`react-jsx`) and CSS imports in your application.
25
- The initial registry requires Mayura 1.2.x or a compatible 1.2 release candidate, and refuses 1.1 installations. During
26
- release-1.2 development the repository manifest is still 1.1; installation becomes usable against an installed 1.2
27
- build after release versioning. The CLI reads the target's installed Mayura manifest, not a claimed model version.
25
+ The CLI checks the target project's installed Mayura manifest. The copy-in components support stable Mayura
26
+ releases from 1.2 through 1.x and compatible release candidates.
28
27
  Registry entries include source version, supported Mayura range, dependencies and all copied files. Shared `ui.css`
29
28
  uses overridable `--ui-*` variables and no external stylesheet/font service.
30
29
 
@@ -62,6 +61,39 @@ The website's `/ui` gallery provides a live preview and source view for each reg
62
61
  local fixture state without service credentials. Display components and the voice control render copied source;
63
62
  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).
64
63
 
64
+ ## shadcn registry
65
+
66
+ For a React 19 project with shadcn initialized, add the Mayura namespace inside the `registries` object in your
67
+ `components.json`.
68
+
69
+ ```json
70
+ {
71
+ "registries": {
72
+ "@mayura": "https://mayurajs.com/r/{name}.json"
73
+ }
74
+ }
75
+ ```
76
+
77
+ Install the full library or choose individual components.
78
+
79
+ ```sh
80
+ pnpm dlx shadcn@latest add @mayura/ui
81
+ pnpm dlx shadcn@latest add @mayura/composer @mayura/thread-history
82
+ ```
83
+
84
+ The other entries are `reply`, `artifacts`, `approvals`, `ag-ui`, and `run-activity`. Each entry includes its
85
+ source dependencies and scoped stylesheet under `mayura` in your configured UI directory. Import
86
+ `styles.css` once and wrap the UI with `UiRoot`. With the full kit and the default Vite aliases, use these imports.
87
+
88
+ ```js
89
+ import { Composer, UiRoot } from '@/components/ui/mayura';
90
+ import '@/components/ui/mayura/styles.css';
91
+ ```
92
+
93
+ Individual entries use direct imports such as `@/components/ui/mayura/composer` and
94
+ `@/components/ui/mayura/ui-root`. The shadcn source runs without Mayura. Supply your own handlers or connect
95
+ the AG-UI hook to a compatible transport.
96
+
65
97
  ## Programmatic plans
66
98
 
67
99
  ```ts
@@ -83,7 +83,8 @@ project and secret identity directory before use. Its frontend is built by Vite;
83
83
 
84
84
  ## Validation and remaining qualifications
85
85
 
86
- 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,
86
+ The original Mayura 1.2 starter suite passed locally for all 11 starters available at the time, including all six frameworks.
87
+ It builds and boots each framework in the workspace, exercises its mounted approval flow,
87
88
  and generates, packs, installs and tests each server contract offline. Like the existing Vite starters, framework toolchains
88
89
  are qualified in the workspace; generated packed installs qualify the Mayura server contract separately.
89
90
  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.
@@ -13,7 +13,7 @@ Use Node 24.14.1 or a later supported 24.x version. Run the initializer from a d
13
13
  inspect its plan before applying it to an existing project.
14
14
 
15
15
  ```sh
16
- npx mayura@1.2.1 init --starter hono --directory ./my-notebook --apply
16
+ npx mayura@1.2.2 init --starter hono --directory ./my-notebook --apply
17
17
  cd my-notebook
18
18
  npm install
19
19
  npm run setup
@@ -13,7 +13,7 @@ Use Node 24.14.1 or a later supported 24.x version. Run the initializer from a d
13
13
  inspect its plan before applying it to an existing project.
14
14
 
15
15
  ```sh
16
- npx mayura@1.2.1 init --starter nextjs --directory ./my-notebook --apply
16
+ npx mayura@1.2.2 init --starter nextjs --directory ./my-notebook --apply
17
17
  cd my-notebook
18
18
  npm install
19
19
  npm run setup
@@ -13,7 +13,7 @@ Use Node 24.15.0 or a later supported 24.x version. Run the initializer from a d
13
13
  inspect its plan before applying it to an existing project.
14
14
 
15
15
  ```sh
16
- npx mayura@1.2.1 init --starter nuxt --directory ./my-notebook --apply
16
+ npx mayura@1.2.2 init --starter nuxt --directory ./my-notebook --apply
17
17
  cd my-notebook
18
18
  npm install
19
19
  npm run setup
@@ -4,7 +4,8 @@ description: Start offline, connect a scoped vector store, and qualify retrieval
4
4
  ---
5
5
 
6
6
  Start with the [RAG quickstart](rag-quickstart.md) to ingest, retrieve, verify citations and delete a source
7
- from an npm install. The [Modal + Pinecone starter](rag-modal-pinecone-starter.md) adds an offline demo
7
+ from an npm install. To start with a complete application, generate the
8
+ [Modal + Pinecone starter](rag-modal-pinecone-starter.md) with the Mayura 1.2.2 CLI. It includes an offline demo
8
9
  and an opt-in hosted walkthrough.
9
10
 
10
11
  The repository also includes a single-file example in `examples/rag.mjs`. It ingests Markdown in a durable workflow, then answers with
@@ -9,8 +9,8 @@ Pinecone vectors, and Modal DeepSeek for reranking and generation.
9
9
 
10
10
  ## Generate and run the demo
11
11
 
12
- The starter is included in Mayura 1.2.2. Once that version is available on npm, generate the project with the
13
- published CLI.
12
+ Use Node.js 24.14.1 or a later supported 24.x release. Generate the project directly from the published Mayura 1.2.2
13
+ CLI.
14
14
 
15
15
  ```sh
16
16
  npx mayura@1.2.2 init --starter rag-modal-pinecone --directory ./mayura-rag-starter --apply
@@ -32,7 +32,9 @@ npm test
32
32
 
33
33
  The demo requires no API key and uses an in-memory vector store. It reads `fixtures/on-call.md` and prints a
34
34
  JSON answer that includes the incident-summary deadline and a citation with its document, revision, chunk ID,
35
- reference and exact offsets. The tests exercise the hosted protocol with local fixtures.
35
+ reference and exact offsets. Use the offsets to locate the passage in the fixture. The tests exercise the hosted
36
+ protocol with local fixtures. For an example that also deletes a source and checks that it stops appearing in
37
+ retrieval, see the [RAG quickstart](rag-quickstart.md).
36
38
 
37
39
  ## Connect Modal and Pinecone
38
40
 
@@ -13,7 +13,7 @@ Use Node 24.14.1 or a later supported 24.x version. Run the initializer from a d
13
13
  inspect its plan before applying it to an existing project.
14
14
 
15
15
  ```sh
16
- npx mayura@1.2.1 init --starter react-router --directory ./my-notebook --apply
16
+ npx mayura@1.2.2 init --starter react-router --directory ./my-notebook --apply
17
17
  cd my-notebook
18
18
  npm install
19
19
  npm run setup
@@ -1,8 +1,30 @@
1
1
  ---
2
- title: "V1.2.1 release validation status"
3
- description: "Verified publication of all 106 packages, the scoped production RAG qualification, and remaining interoperability limits."
2
+ title: "V1.2.2 release validation status"
3
+ description: "Main CI, npm publication, registry verification, production RAG qualification and remaining interoperability limits."
4
4
  ---
5
5
 
6
+ ## V1.2.2 publication
7
+
8
+ **1.2.2 was published on November 23, 2026.** All 39 checks, including the Qualification gate, passed on
9
+ [`main`](https://github.com/KartikeyAI/mayura/actions/runs/45167460889) at
10
+ `01911fa26d4f21a2485c42a54b5b935b3d3701a6`. The
11
+ [106-package rehearsal](https://github.com/KartikeyAI/mayura/actions/runs/45167517830) passed on that commit,
12
+ including an upgrade from 1.2.1, secret scanning, and an SBOM with 450 components and no license findings.
13
+
14
+ The [protected release workflow](https://github.com/KartikeyAI/mayura/actions/runs/45172105288) published all 106
15
+ packages under `latest` through npm trusted publishing. It verified archive integrity, provenance, registry
16
+ signatures and clean installation, including installed-package RAG acceptance. A temporary tarball 404
17
+ interrupted the first clean-install check. The successful workflow attempt reused the saved publication
18
+ receipt and qualified the same archives.
19
+
20
+ The protected [`v1.2.2` tag and release](https://github.com/KartikeyAI/mayura/releases/tag/v1.2.2)
21
+ identify the qualified commit and retain the archive manifest, SBOM and verification reports. A separate
22
+ registry check confirmed that all 22 stale `next` tags moved from `1.2.0-rc.1` to `1.2.2`.
23
+
24
+ The [RAG starter](rag-modal-pinecone-starter.md) is available through the published CLI. The
25
+ [registered Modal and Pinecone Loki v28 profile](rag-production.md) retains its scoped production qualification.
26
+ Other RAG profiles and the bounded AG-UI profile remain experimental.
27
+
6
28
  ## V1.2.1 publication
7
29
 
8
30
  **1.2.1 was published on November 23, 2026.** The [qualification on main](https://github.com/KartikeyAI/mayura/actions/runs/45084310737)
@@ -204,7 +204,7 @@ the container's configuration or on the host's command lines.
204
204
  | `@mayurajs/sandbox-modal` | [Modal](https://modal.com/docs/guide/sandboxes) gVisor or VM sandboxes; Node, Deno and Bun | none, all, domains | tunnel URL | no |
205
205
  | `@mayurajs/sandbox-railway` | [Railway](https://docs.railway.com/sandboxes) Linux VMs from Railway's default image | all only | Railway domain | no |
206
206
  | `@mayurajs/sandbox-northflank` | [Northflank](https://northflank.com/docs/v1/application/sandboxes) microVM services; Node | all only | no | no |
207
- | `@mayurajs/sandbox-codesandbox` | [CodeSandbox](https://codesandbox.io/docs/sdk) private microVMs from a template; Node | all only | host-token URL | no |
207
+ | `@mayurajs/sandbox-codesandbox` | [CodeSandbox](../integrations/sandbox-codesandbox.md) private microVMs from a template; Node; isolated development only | all only | host-token URL | no |
208
208
  | `@mayurajs/sandbox-cloudflare` | [Cloudflare Sandboxes](https://developers.cloudflare.com/sandbox/) through your sandbox bridge Worker; any runtime | all only | no | no |
209
209
  | `@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 |
210
210
 
@@ -617,9 +617,14 @@ policy version across replicas for portable cursors. Omission uses a random proc
617
617
  then invalidates those cursors. Rotation/version changes safely invalidate old cursors. Keys are copied at server/Node
618
618
  host construction and never appear in responses. Capability-only servers keep their existing cursor formats.
619
619
 
620
- Event streams check `run:read` when opened and again before every event/heartbeat disclosure. Revocation or policy
621
- failure emits terminal `stream.error` with `AUTHORIZATION_DENIED` and closes the stream. Previously authorized buffered
622
- bytes cannot be recalled. Client observation preserves this refusal instead of reconnecting it automatically.
620
+ Native run event streams call the host's authenticator with `purpose: 'stream-recheck'` before each event and idle
621
+ heartbeat. Use that purpose for verification without charging the client or applying another request's rate limit.
622
+ Each check must still grant `runs:read`, the same principal and project, access to the same agent, and the configured
623
+ `run:read` policy.
624
+ A revoked token closes the observation with `AUTH_INVALID`. Changed scope, access or policy closes it with
625
+ `AUTHORIZATION_DENIED`. The client treats either refusal as final for that observation. Already transmitted frames
626
+ remain visible to the recipient. The authenticator's own cache determines when identity-provider revocation becomes
627
+ visible to Mayura. Pass the abort signal to any service the authenticator calls.
623
628
  `session().features` includes `authorization` when enabled; features/capabilities do not enumerate per-resource grants.
624
629
  The session describes only its verified caller and remains readable. Explicit public liveness, data-free inspector
625
630
  assets and valid CORS preflights retain their existing behavior. Unmapped authenticated routes fail closed.
@@ -13,7 +13,7 @@ Use Node 24.14.1 or a later supported 24.x version. Run the initializer from a d
13
13
  inspect its plan before applying it to an existing project.
14
14
 
15
15
  ```sh
16
- npx mayura@1.2.1 init --starter sveltekit --directory ./my-notebook --apply
16
+ npx mayura@1.2.2 init --starter sveltekit --directory ./my-notebook --apply
17
17
  cd my-notebook
18
18
  npm install
19
19
  npm run setup
@@ -13,7 +13,7 @@ Use Node 24.14.1 or a later supported 24.x version. Run the initializer from a d
13
13
  inspect its plan before applying it to an existing project.
14
14
 
15
15
  ```sh
16
- npx mayura@1.2.1 init --starter tanstack-start --directory ./my-notebook --apply
16
+ npx mayura@1.2.2 init --starter tanstack-start --directory ./my-notebook --apply
17
17
  cd my-notebook
18
18
  npm install
19
19
  npm run setup
@@ -14,9 +14,13 @@ area: "browsers"
14
14
  drives the same browser alongside Mayura over the browser's CDP endpoint (`browser.cdp`), so the browser's origins,
15
15
  lifetime and limits still hold, including for pages Stagehand opens.
16
16
 
17
- Stagehand 3 (`@browserbasehq/stagehand`, 3.7.3 or a later 3.x) is a peer you install yourself, loaded when a tool
17
+ Stagehand 3 (`@browserbasehq/stagehand`, 3.7.4 or a later 3.x) is a peer you install yourself, loaded when a tool
18
18
  first needs it. Stagehand runs on Node only, so this package does too.
19
19
 
20
+ **Production qualification is withheld.** Supported Stagehand 3 installs still resolve high-severity
21
+ dependency advisories. Restrict use to isolated development environments. Stagehand 4 uses a different browser
22
+ attachment architecture and requires separate qualification.
23
+
20
24
  ## Install
21
25
 
22
26
  ```bash
@@ -16,6 +16,10 @@ CodeSandbox SDK, `@codesandbox/sdk`, which you install yourself, and runs on Nod
16
16
  **CodeSandbox VMs reach the internet**, and this provider has no way to stop them, so it only makes sandboxes with the
17
17
  network `'all'`.
18
18
 
19
+ **Production qualification is withheld.** The supported CodeSandbox SDK still resolves high-severity
20
+ dependency advisories. Restrict use to isolated development environments until a clean supported dependency
21
+ profile is verified.
22
+
19
23
  ## Install
20
24
 
21
25
  ```bash
@@ -0,0 +1,82 @@
1
+ ---
2
+ title: "Mayura UI"
3
+ description: "Use standalone Tailwind React components with a backend of your choice or connect them to Mayura through AG-UI."
4
+ package: "@mayurajs/ui"
5
+ area: "ui"
6
+ ---
7
+
8
+ `@mayurajs/ui` is a standalone React 19 component library. It includes the composer,
9
+ thread and activity views, approvals and exact change review, citations, artifact inspectors, and reply
10
+ actions. Its compiled Tailwind stylesheet is scoped to `UiRoot`, so applications can use it with any CSS build.
11
+
12
+ ```bash
13
+ npm install @mayurajs/ui react@19 react-dom@19
14
+ ```
15
+
16
+ ```tsx
17
+ import { Composer, UiRoot } from '@mayurajs/ui';
18
+ import { useAgUiConversation, type AgUiTransport } from '@mayurajs/ui/ag-ui';
19
+ import '@mayurajs/ui/styles.css';
20
+
21
+ export function ChatComposer({ transport }: { transport: AgUiTransport }) {
22
+ const chat = useAgUiConversation({ transport });
23
+ return (
24
+ <UiRoot>
25
+ <Composer
26
+ onSend={chat.send}
27
+ onStop={chat.stop}
28
+ streaming={chat.status === 'streaming'}
29
+ disabled={!['idle', 'streaming', 'complete'].includes(chat.status)}
30
+ />
31
+ </UiRoot>
32
+ );
33
+ }
34
+ ```
35
+
36
+ Use the components with data and callbacks from your application. For streaming, `@mayurajs/ui/ag-ui`
37
+ exports `AgUiRunInput`, `AgUiEvent`, and the conversation hook together. Supply a scoped transport
38
+ from your application. It owns the AG-UI endpoint, session credentials, and
39
+ optional history and cancellation requests. Mounting the hook starts no run. Bind approval decisions to
40
+ the current interrupt and keep the server responsible for authorizing the exact tool call. Media artifacts
41
+ load only from the exact local paths you allow. Keep browser credentials out of client bundles.
42
+
43
+ Install a compatible `mayura` version when your server uses the Mayura adapter. The repository example
44
+ at `examples/ui-ag-ui-prototype` runs that adapter with a deterministic
45
+ agent, so you can exercise approval, history, and artifact controls without provider credentials.
46
+
47
+ Existing [copy-in components](../guides/copy-in-ui.md) still install through `mayura add ui`.
48
+
49
+ ## shadcn registry
50
+
51
+ To own the React source in your project, add the Mayura namespace to the `registries` object in
52
+ your shadcn `components.json`.
53
+
54
+ ```json
55
+ {
56
+ "registries": {
57
+ "@mayura": "https://mayurajs.com/r/{name}.json"
58
+ }
59
+ }
60
+ ```
61
+
62
+ Install the full library or select individual items.
63
+
64
+ ```sh
65
+ pnpm dlx shadcn@latest add @mayura/ui
66
+ pnpm dlx shadcn@latest add @mayura/composer @mayura/thread-history
67
+ ```
68
+
69
+ The registry also provides `reply`, `artifacts`, `approvals`, `ag-ui`, and `run-activity`. Each item
70
+ includes its source dependencies, `UiRoot`, and the scoped stylesheet. The files go into a
71
+ `mayura` subdirectory under your configured UI alias. For example, with the default Vite aliases
72
+ and the full library installed, import the composer and stylesheet as follows.
73
+
74
+ ```js
75
+ import { Composer, UiRoot } from '@/components/ui/mayura';
76
+ import '@/components/ui/mayura/styles.css';
77
+ ```
78
+
79
+ If you install only the composer, import it from `@/components/ui/mayura/composer` and import
80
+ `UiRoot` from `@/components/ui/mayura/ui-root`. Import the stylesheet once at your app entry.
81
+ These are source files for a React 19 app. Connect them to your own backend or use the copied
82
+ AG-UI hook with a compatible transport.
@@ -0,0 +1,48 @@
1
+ ---
2
+ title: Mayura changelog
3
+ description: Release history for Mayura, including the latest changes, upgrade notes and links to published artifacts.
4
+ ---
5
+
6
+ Mayura and its optional [integration packages](../reference/integrations.md) ship at coordinated versions.
7
+ See the [versioning policy](versioning.md) for compatibility and the [GitHub changelog](https://github.com/KartikeyAI/mayura/blob/main/CHANGELOG.md)
8
+ for the complete change history.
9
+
10
+ ## 1.2.2 · November 23, 2026
11
+
12
+ - Added the [Modal + Pinecone RAG starter](../guides/rag-modal-pinecone-starter.md). Generate it from npm and
13
+ try Markdown ingestion and cited answers with local fixtures.
14
+ - Upgraded Zod to 4.6.7, Hono to 4.13.20 and `@hono/node-server` to 2.1.11. Production dependency audits
15
+ cover every published package. High and critical findings block qualification, and moderate findings
16
+ require reviewed, expiring exceptions.
17
+ - Added a [RAG quickstart](../guides/rag-quickstart.md), a [qualification matrix](../guides/rag-production.md)
18
+ and installed-package acceptance tests for retrieval, citation grounding, recovery and failure handling.
19
+ - Added an archive-size budget, shared identical starter files and checked registry signatures, provenance
20
+ and clean installation before creating the release tag.
21
+
22
+ [Release artifacts](https://github.com/KartikeyAI/mayura/releases/tag/v1.2.2) ·
23
+ [Validation results](../guides/release-readiness.md#v122-publication)
24
+
25
+ ## 1.2.1 · November 23, 2026
26
+
27
+ - Qualified the [Modal + Pinecone Loki v28 RAG profile](../guides/rag-production.md) for its registered
28
+ software-operations workload. Other RAG profiles remain experimental.
29
+ - Made the [workflow graph node limit configurable](../concepts/workflows.md#configuring-graph-size).
30
+ The default is 128 nodes.
31
+
32
+ [Release artifacts](https://github.com/KartikeyAI/mayura/releases/tag/v1.2.1)
33
+
34
+ ## 1.2.0 · October 23, 2026
35
+
36
+ - Added persistent threads, exact approvals, agent handoffs, fine-grained authorization, six framework
37
+ starters and AI gateway adapters.
38
+ - Introduced the initial experimental RAG and AG-UI profiles.
39
+
40
+ [Release artifacts](https://github.com/KartikeyAI/mayura/releases/tag/v1.2.0)
41
+
42
+ ## 1.1.0 · October 12, 2026
43
+
44
+ - Added voice, file stores, hosted sandboxes and browsers, more database adapters, authentication,
45
+ observability and deployment integrations.
46
+
47
+ [Mayura 1.1 highlights](whats-new.md#mayura-11) ·
48
+ [Release artifacts](https://github.com/KartikeyAI/mayura/releases/tag/v1.1.0)
@@ -1,12 +1,21 @@
1
1
  ---
2
- title: "What's new in Mayura 1.2.1"
3
- description: "Qualified retrieval for the Modal and Pinecone Loki profile, configurable workflow graphs, and the capabilities shipped in Mayura 1.2."
2
+ title: "What's new in Mayura 1.2.2"
3
+ description: "A runnable Modal and Pinecone RAG starter, security fixes and release checks for every npm package."
4
4
  ---
5
5
 
6
- Mayura **1.2.1 is published** under `latest` for `mayura` and 105 optional
7
- [integration packages](../reference/integrations.md). All 106 packages were published through trusted publishing
8
- with verified integrity and provenance. All 22 existing `next` tags were preserved. See the
9
- [release evidence](../guides/release-readiness.md) for the qualified source and remaining interoperability limits.
6
+ Mayura **1.2.2 is available on npm** for `mayura` and all 105 optional
7
+ [integration packages](../reference/integrations.md). Upgrade Mayura and the extensions your application uses
8
+ to the same version. See the [changelog](changelog.md) and [release evidence](../guides/release-readiness.md).
9
+
10
+ - **Run a retrieval agent locally.** Generate the [Modal + Pinecone RAG starter](../guides/rag-modal-pinecone-starter.md)
11
+ with the published CLI. Its credential-free demo ingests Markdown and produces an answer with exact citations.
12
+ - **Upgrade the HTTP and validation dependencies.** The release includes Zod 4.6.7, Hono 4.13.20 and
13
+ `@hono/node-server` 2.1.11. Qualification audits production dependencies across all 106 packages.
14
+ - **Try RAG from an npm install.** The [RAG quickstart](../guides/rag-quickstart.md) covers ingestion,
15
+ retrieval, citation verification and deletion. Registry acceptance tests exercise recovery, scope enforcement
16
+ and provider failures using deterministic fixtures.
17
+
18
+ ## Mayura 1.2.1
10
19
 
11
20
  ## Production retrieval and configurable graphs
12
21
 
@@ -43,7 +52,7 @@ HTTP policy service. Resource decisions supplement explicit runtime grants; they
43
52
  [Next.js](../guides/nextjs.md), [Hono](../guides/hono.md), [React Router](../guides/react-router.md),
44
53
  [TanStack Start](../guides/tanstack-start.md), [SvelteKit](../guides/sveltekit.md) and [Nuxt](../guides/nuxt.md).
45
54
  They include scoped threads, exact note approvals, an offline model fixture, a separate indexing worker and
46
- deployment source. [Choose a starter](../guides/choosing-a-starter.md) compares all 11 applications.
55
+ deployment source. Find the current application catalog in [Choose a starter](../guides/choosing-a-starter.md).
47
56
 
48
57
  [Copy-in React components](../guides/copy-in-ui.md) provide thread history, approval and run controls as source you
49
58
  own. [Headless stores](../guides/react.md) support native Svelte and Vue views. Hooks and subscriptions observe;
@@ -64,10 +73,10 @@ outside the completed qualification.
64
73
 
65
74
  ## Upgrade and qualification
66
75
 
67
- Install the coordinated release with `npm install mayura@1.2.1`. Select matching `@mayurajs/*@1.2.1` packages only
76
+ Install the coordinated release with `npm install mayura@1.2.2`. Select matching `@mayurajs/*@1.2.2` packages only
68
77
  where needed. Review [versioning](versioning.md), [support](support.md) and the
69
- [release validation status](../guides/release-readiness.md) before changing a production host. The full main CI
70
- matrix and V1.1 upgrade check passed. Check the qualification scope for the external services you use.
78
+ [release validation status](../guides/release-readiness.md) before changing a production host. The 1.2.2
79
+ qualification included an upgrade from a 1.2.1 database. Check the qualification scope for the external services you use.
71
80
 
72
81
  ## Mayura 1.1
73
82
 
@@ -1,10 +1,10 @@
1
1
  ---
2
2
  title: "Integration packages"
3
- description: "Every @mayurajs package: model providers, voice, storage, files, observability, sandboxes, browsers, authorization, sign-in, API keys and deploy targets."
3
+ description: "Every @mayurajs package: UI, model providers, voice, storage, files, observability, sandboxes, browsers, authorization, sign-in, API keys and deploy targets."
4
4
  ---
5
5
 
6
- Beside `mayura`, 105 optional `@mayurajs/*` packages connect it to other services. Each is published with every Mayura
7
- release at the same version, takes `mayura` as a peer, and is installed only if you use it:
6
+ Beside `mayura`, 106 optional `@mayurajs/*` packages add UI and integrations. Each is published with every Mayura
7
+ release at the same version. The standalone UI library can run with a compatible AG-UI transport and makes Mayura an optional peer:
8
8
 
9
9
  ```bash
10
10
  npm install mayura @mayurajs/storage-mysql
@@ -14,6 +14,14 @@ The packages read no environment variables themselves: you pass credentials in a
14
14
  the platform's own command-line tool, signed in as you. Each package has its own page, and each area's guide shows
15
15
  how the packages fit together.
16
16
 
17
+ ## User interface
18
+
19
+ Standalone React components for agent interfaces and AG-UI. See [User interface](../guides/copy-in-ui.md#shadcn-registry).
20
+
21
+ | Package | What it does |
22
+ | --- | --- |
23
+ | [`@mayurajs/ui`](../integrations/ui.md) | Tailwind React components for agent chat, thread history, artifacts, citations and AG-UI approvals. |
24
+
17
25
  ## Vector stores
18
26
 
19
27
  Scoped vector storage beside built-in memory and native-memory adapters. See [Vector stores](../guides/rag.md).
@@ -2,7 +2,7 @@ FROM node:24.14.1-alpine@sha256:8510330d3eb72c804231a834b1a8ebb55cb3796c3e443129
2
2
 
3
3
  ARG MAYURA_PROVENANCE
4
4
  LABEL org.opencontainers.image.title="Mayura Code Sandbox" \
5
- org.opencontainers.image.version="1.2.2" \
5
+ org.opencontainers.image.version="1.3.0" \
6
6
  org.opencontainers.image.base.name="node:24.14.1-alpine@sha256:8510330d3eb72c804231a834b1a8ebb55cb3796c3e4431297a24d246b8add4d5" \
7
7
  dev.mayura.code-sandbox.provenance="${MAYURA_PROVENANCE}"
8
8
 
@@ -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
  }