mayura 1.2.1 → 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.
- package/README.md +4 -4
- package/docs/README.md +22 -5
- package/docs/cli/init.md +15 -3
- package/docs/guides/authentication.md +3 -1
- package/docs/guides/browsers.md +1 -0
- package/docs/guides/choosing-a-starter.md +83 -0
- package/docs/guides/copy-in-ui.md +36 -4
- package/docs/guides/framework-starters.md +7 -2
- package/docs/guides/hono.md +94 -0
- package/docs/guides/nextjs.md +94 -0
- package/docs/guides/nuxt.md +94 -0
- package/docs/guides/rag-deployment.md +49 -0
- package/docs/guides/rag-modal-pinecone-starter.md +65 -0
- package/docs/guides/rag-production.md +34 -15
- package/docs/guides/rag-quickstart.md +119 -0
- package/docs/guides/rag.md +11 -1
- package/docs/guides/react-router.md +94 -0
- package/docs/guides/release-readiness.md +98 -39
- package/docs/guides/sandboxes.md +1 -1
- package/docs/guides/server-and-client.md +8 -3
- package/docs/guides/sveltekit.md +94 -0
- package/docs/guides/tanstack-start.md +94 -0
- package/docs/integrations/browser-stagehand.md +5 -1
- package/docs/integrations/reranker-cohere.md +1 -0
- package/docs/integrations/reranker-jina.md +1 -0
- package/docs/integrations/reranker-voyage.md +1 -0
- package/docs/integrations/sandbox-codesandbox.md +4 -0
- package/docs/integrations/ui.md +82 -0
- package/docs/integrations/vector-chroma.md +1 -0
- package/docs/integrations/vector-libsql.md +1 -0
- package/docs/integrations/vector-pgvector.md +1 -0
- package/docs/integrations/vector-pinecone.md +4 -1
- package/docs/integrations/vector-qdrant.md +1 -0
- package/docs/integrations/vector-weaviate.md +1 -0
- package/docs/introduction.md +5 -0
- package/docs/project/changelog.md +48 -0
- package/docs/project/whats-new.md +79 -2
- package/docs/quickstart.md +5 -3
- package/docs/reference/integrations.md +11 -3
- package/lib/adapter-code-docker/image/Dockerfile +1 -1
- package/lib/adapter-code-docker/package.json +1 -1
- package/lib/adapter-code-quickjs/package.json +1 -1
- package/lib/adapter-mcp/package.json +1 -1
- package/lib/ag-ui/package.json +1 -1
- package/lib/artifacts/package.json +1 -1
- package/lib/auth/dist/identity.d.ts +2 -5
- package/lib/auth/dist/identity.d.ts.map +1 -1
- package/lib/auth/dist/identity.js.map +1 -1
- package/lib/auth/package.json +1 -1
- package/lib/auth/src/identity.ts +3 -3
- package/lib/authz/package.json +1 -1
- package/lib/browser/package.json +1 -1
- package/lib/cli/dist/deploy-targets.js +1 -1
- package/lib/cli/dist/deploy-targets.js.map +1 -1
- package/lib/cli/dist/index.d.ts +1 -1
- package/lib/cli/dist/index.d.ts.map +1 -1
- package/lib/cli/dist/index.js +63 -20
- package/lib/cli/dist/index.js.map +1 -1
- package/lib/cli/dist/interactive.js +2 -2
- package/lib/cli/dist/interactive.js.map +1 -1
- package/lib/cli/package.json +1 -1
- package/lib/cli/src/deploy-targets.ts +1 -1
- package/lib/cli/src/index.ts +51 -12
- package/lib/cli/src/interactive.ts +2 -2
- package/lib/cli/starter-assets/manifest.json +1 -0
- package/lib/cli/starters/hono/package.json +2 -2
- package/lib/cli/starters/rag-modal-pinecone/README.md +60 -0
- package/lib/cli/starters/rag-modal-pinecone/dot-env.example +23 -0
- package/lib/cli/starters/{event-automation → rag-modal-pinecone}/dot-gitignore +2 -4
- package/lib/cli/starters/rag-modal-pinecone/fixtures/on-call.md +4 -0
- package/lib/cli/starters/rag-modal-pinecone/mayura.project.json +13 -0
- package/lib/cli/starters/rag-modal-pinecone/modal-app.py +110 -0
- package/lib/cli/starters/rag-modal-pinecone/package.json +28 -0
- package/lib/cli/starters/rag-modal-pinecone/src/application.ts +148 -0
- package/lib/cli/starters/rag-modal-pinecone/src/cli.ts +78 -0
- package/lib/cli/starters/rag-modal-pinecone/src/hosted.ts +137 -0
- package/lib/cli/starters/rag-modal-pinecone/test/modal_worker_test.py +53 -0
- package/lib/cli/starters/rag-modal-pinecone/test/pipeline.test.ts +137 -0
- package/lib/cli/starters/{cli-agent → rag-modal-pinecone}/tsconfig.json +0 -1
- package/lib/cli/starters/support-agent/src/dev-request.ts +18 -0
- package/lib/cli/starters/support-agent/src/dev.ts +7 -4
- package/lib/cli/starters/support-agent/test/dev-request.test.ts +19 -0
- package/lib/client/dist/index.js +2 -2
- package/lib/client/dist/index.js.map +1 -1
- package/lib/client/package.json +1 -1
- package/lib/client/src/index.ts +2 -2
- package/lib/client-react/package.json +1 -1
- package/lib/code-mode/package.json +1 -1
- package/lib/code-mode-workflows/package.json +1 -1
- package/lib/context/package.json +1 -1
- package/lib/core/package.json +1 -1
- package/lib/exporter-otlp/dist/otlp-http-json.js +1 -1
- package/lib/exporter-otlp/dist/otlp-http-json.js.map +1 -1
- package/lib/exporter-otlp/dist/signals.js +2 -2
- package/lib/exporter-otlp/dist/signals.js.map +1 -1
- package/lib/exporter-otlp/package.json +1 -1
- package/lib/exporter-otlp/src/otlp-http-json.ts +1 -1
- package/lib/exporter-otlp/src/signals.ts +2 -2
- package/lib/files/dist/store.d.ts.map +1 -1
- package/lib/files/dist/store.js +15 -2
- package/lib/files/dist/store.js.map +1 -1
- package/lib/files/package.json +1 -1
- package/lib/files/src/store.ts +15 -2
- package/lib/guardrails/package.json +1 -1
- package/lib/helpers/package.json +1 -1
- package/lib/keys/dist/manager.d.ts +1 -4
- package/lib/keys/dist/manager.d.ts.map +1 -1
- package/lib/keys/dist/manager.js +6 -4
- package/lib/keys/dist/manager.js.map +1 -1
- package/lib/keys/dist/verifier.d.ts +2 -1
- package/lib/keys/dist/verifier.d.ts.map +1 -1
- package/lib/keys/dist/verifier.js +2 -2
- package/lib/keys/dist/verifier.js.map +1 -1
- package/lib/keys/package.json +1 -1
- package/lib/keys/src/manager.ts +8 -6
- package/lib/keys/src/verifier.ts +4 -4
- package/lib/memory/package.json +1 -1
- package/lib/memory-remote/package.json +1 -1
- package/lib/observability/package.json +1 -1
- package/lib/provider-anthropic/package.json +1 -1
- package/lib/provider-openai/package.json +1 -1
- package/lib/rag/package.json +1 -1
- package/lib/runtime/package.json +1 -1
- package/lib/sandbox/package.json +1 -1
- package/lib/sdk/package.json +1 -1
- package/lib/server/dist/index.d.ts +2 -1
- package/lib/server/dist/index.d.ts.map +1 -1
- package/lib/server/dist/index.js +29 -24
- package/lib/server/dist/index.js.map +1 -1
- package/lib/server/dist/inspector-bundle.d.ts +1 -1
- package/lib/server/dist/inspector-bundle.d.ts.map +1 -1
- package/lib/server/dist/inspector-bundle.js +4 -4
- package/lib/server/dist/inspector-bundle.js.map +1 -1
- package/lib/server/package.json +1 -1
- package/lib/server/src/index.ts +26 -20
- package/lib/server/src/inspector-bundle.ts +4 -4
- package/lib/server-node/package.json +1 -1
- package/lib/skills/package.json +1 -1
- package/lib/storage/package.json +1 -1
- package/lib/storage-contracts/package.json +1 -1
- package/lib/storage-postgres/package.json +1 -1
- package/lib/storage-sql/package.json +1 -1
- package/lib/storage-sqlite/package.json +1 -1
- package/lib/terminal/package.json +1 -1
- package/lib/testing/package.json +1 -1
- package/lib/threads/package.json +1 -1
- package/lib/tools/package.json +1 -1
- package/lib/voice/package.json +1 -1
- package/lib/workflows/package.json +1 -1
- package/lib/workstream/package.json +1 -1
- package/llms-full.txt +1595 -292
- package/llms.txt +23 -5
- package/package.json +4 -4
- package/lib/cli/starters/cli-agent/dot-github/workflows/ci.yml +0 -13
- package/lib/cli/starters/cli-agent/dot-gitignore +0 -10
- package/lib/cli/starters/event-automation/dot-dockerignore +0 -7
- package/lib/cli/starters/event-automation/dot-github/workflows/ci.yml +0 -13
- package/lib/cli/starters/event-automation/src/model.ts +0 -40
- package/lib/cli/starters/event-automation/tsconfig.json +0 -20
- package/lib/cli/starters/nextjs/Dockerfile +0 -12
- package/lib/cli/starters/nextjs/compose.yaml +0 -19
- package/lib/cli/starters/nextjs/dot-dockerignore +0 -11
- package/lib/cli/starters/nextjs/dot-env.example +0 -7
- package/lib/cli/starters/nextjs/scripts/setup.mjs +0 -9
- package/lib/cli/starters/nextjs/server/application.mjs +0 -74
- package/lib/cli/starters/nextjs/server/auth.mjs +0 -24
- package/lib/cli/starters/nextjs/server/worker.mjs +0 -11
- package/lib/cli/starters/nextjs/server/workflows.mjs +0 -23
- package/lib/cli/starters/nextjs/src/ChatApp.jsx +0 -57
- package/lib/cli/starters/nextjs/src/Notebook.jsx +0 -25
- package/lib/cli/starters/nextjs/src/components/mayura/approval.tsx +0 -142
- package/lib/cli/starters/nextjs/src/components/mayura/thread-history.tsx +0 -142
- package/lib/cli/starters/nextjs/src/components/mayura/thread-list.tsx +0 -9
- package/lib/cli/starters/nextjs/src/components/mayura/ui.css +0 -14
- package/lib/cli/starters/nextjs/src/connect.js +0 -21
- package/lib/cli/starters/nextjs/src/session.js +0 -138
- package/lib/cli/starters/nextjs/src/style.css +0 -11
- package/lib/cli/starters/nextjs/test/server.test.mjs +0 -95
- package/lib/cli/starters/nextjs/test/session.test.mjs +0 -16
- package/lib/cli/starters/nuxt/compose.yaml +0 -19
- package/lib/cli/starters/nuxt/dot-dockerignore +0 -11
- package/lib/cli/starters/nuxt/dot-env.example +0 -7
- package/lib/cli/starters/nuxt/dot-gitignore +0 -14
- package/lib/cli/starters/nuxt/scripts/setup.mjs +0 -9
- package/lib/cli/starters/nuxt/server/application.mjs +0 -74
- package/lib/cli/starters/nuxt/server/auth.mjs +0 -24
- package/lib/cli/starters/nuxt/server/worker.mjs +0 -11
- package/lib/cli/starters/nuxt/server/workflows.mjs +0 -23
- package/lib/cli/starters/nuxt/src/connect.js +0 -21
- package/lib/cli/starters/nuxt/src/session.js +0 -138
- package/lib/cli/starters/nuxt/src/style.css +0 -11
- package/lib/cli/starters/nuxt/test/server.test.mjs +0 -95
- package/lib/cli/starters/nuxt/test/session.test.mjs +0 -16
- package/lib/cli/starters/react-router/Dockerfile +0 -12
- package/lib/cli/starters/react-router/compose.yaml +0 -19
- package/lib/cli/starters/react-router/dot-dockerignore +0 -11
- package/lib/cli/starters/react-router/dot-env.example +0 -7
- package/lib/cli/starters/react-router/dot-gitignore +0 -14
- package/lib/cli/starters/react-router/scripts/setup.mjs +0 -9
- package/lib/cli/starters/react-router/server/application.mjs +0 -74
- package/lib/cli/starters/react-router/server/auth.mjs +0 -24
- package/lib/cli/starters/react-router/server/worker.mjs +0 -11
- package/lib/cli/starters/react-router/server/workflows.mjs +0 -23
- package/lib/cli/starters/react-router/src/ChatApp.jsx +0 -57
- package/lib/cli/starters/react-router/src/Notebook.jsx +0 -25
- package/lib/cli/starters/react-router/src/components/mayura/approval.tsx +0 -142
- package/lib/cli/starters/react-router/src/components/mayura/thread-history.tsx +0 -142
- package/lib/cli/starters/react-router/src/components/mayura/thread-list.tsx +0 -9
- package/lib/cli/starters/react-router/src/components/mayura/ui.css +0 -14
- package/lib/cli/starters/react-router/src/connect.js +0 -21
- package/lib/cli/starters/react-router/src/session.js +0 -138
- package/lib/cli/starters/react-router/src/style.css +0 -11
- package/lib/cli/starters/react-router/src/vite-env.d.ts +0 -1
- package/lib/cli/starters/react-router/test/server.test.mjs +0 -95
- package/lib/cli/starters/react-router/test/session.test.mjs +0 -16
- package/lib/cli/starters/research-team/dot-dockerignore +0 -7
- package/lib/cli/starters/research-team/dot-github/workflows/ci.yml +0 -13
- package/lib/cli/starters/research-team/dot-gitignore +0 -10
- package/lib/cli/starters/research-team/src/model.ts +0 -40
- package/lib/cli/starters/research-team/tsconfig.json +0 -20
- package/lib/cli/starters/support-agent/dot-dockerignore +0 -7
- package/lib/cli/starters/support-agent/dot-github/workflows/ci.yml +0 -13
- package/lib/cli/starters/support-agent/dot-gitignore +0 -10
- package/lib/cli/starters/support-agent/src/model.ts +0 -40
- package/lib/cli/starters/support-agent/tsconfig.json +0 -20
- package/lib/cli/starters/sveltekit/Dockerfile +0 -12
- package/lib/cli/starters/sveltekit/compose.yaml +0 -19
- package/lib/cli/starters/sveltekit/dot-dockerignore +0 -11
- package/lib/cli/starters/sveltekit/dot-env.example +0 -7
- package/lib/cli/starters/sveltekit/dot-gitignore +0 -14
- package/lib/cli/starters/sveltekit/scripts/setup.mjs +0 -9
- package/lib/cli/starters/sveltekit/server/application.mjs +0 -74
- package/lib/cli/starters/sveltekit/server/auth.mjs +0 -24
- package/lib/cli/starters/sveltekit/server/worker.mjs +0 -11
- package/lib/cli/starters/sveltekit/server/workflows.mjs +0 -23
- package/lib/cli/starters/sveltekit/src/connect.js +0 -21
- package/lib/cli/starters/sveltekit/src/session.js +0 -138
- package/lib/cli/starters/sveltekit/src/style.css +0 -11
- package/lib/cli/starters/sveltekit/src/view.js +0 -49
- package/lib/cli/starters/sveltekit/test/server.test.mjs +0 -95
- package/lib/cli/starters/sveltekit/test/session.test.mjs +0 -16
- package/lib/cli/starters/tanstack-start/Dockerfile +0 -12
- package/lib/cli/starters/tanstack-start/compose.yaml +0 -19
- package/lib/cli/starters/tanstack-start/dot-dockerignore +0 -11
- package/lib/cli/starters/tanstack-start/dot-env.example +0 -7
- package/lib/cli/starters/tanstack-start/dot-gitignore +0 -14
- package/lib/cli/starters/tanstack-start/scripts/setup.mjs +0 -9
- package/lib/cli/starters/tanstack-start/server/application.mjs +0 -74
- package/lib/cli/starters/tanstack-start/server/auth.mjs +0 -24
- package/lib/cli/starters/tanstack-start/server/worker.mjs +0 -11
- package/lib/cli/starters/tanstack-start/server/workflows.mjs +0 -23
- package/lib/cli/starters/tanstack-start/src/ChatApp.jsx +0 -57
- package/lib/cli/starters/tanstack-start/src/Notebook.jsx +0 -25
- package/lib/cli/starters/tanstack-start/src/components/mayura/approval.tsx +0 -142
- package/lib/cli/starters/tanstack-start/src/components/mayura/thread-history.tsx +0 -142
- package/lib/cli/starters/tanstack-start/src/components/mayura/thread-list.tsx +0 -9
- package/lib/cli/starters/tanstack-start/src/components/mayura/ui.css +0 -14
- package/lib/cli/starters/tanstack-start/src/connect.js +0 -21
- package/lib/cli/starters/tanstack-start/src/session.js +0 -138
- package/lib/cli/starters/tanstack-start/src/style.css +0 -11
- package/lib/cli/starters/tanstack-start/test/server.test.mjs +0 -95
- package/lib/cli/starters/tanstack-start/test/session.test.mjs +0 -16
- /package/lib/cli/{starters/hono/src/components/mayura/ui.css → starter-assets/011cacc77ada0de5b447674e9fc4374a247b9a46eb169722b12649753f24188f} +0 -0
- /package/lib/cli/{starters/hono/test/server.test.mjs → starter-assets/0c825d6a776673ec6274cfc29cd45b1a8c56dcb880c291a91075c77e1ef1e4f3} +0 -0
- /package/lib/cli/{starters/hono/server/auth.mjs → starter-assets/0dd570bfacc357d23be3340250090b9a4c6193a49cdd02e9b6789e7bee8433dd} +0 -0
- /package/lib/cli/{starters/hono/src/components/mayura/approval.tsx → starter-assets/11292bd14cdaf27a8f8317ba4ab768d706a726b2e26474b599f3db116674b4b3} +0 -0
- /package/lib/cli/{starters/nextjs/dot-gitignore → starter-assets/1873b02e070347f9a449e07084242982fa6af412c45aa764985d553975b64589} +0 -0
- /package/lib/cli/{starters/hono/src/style.css → starter-assets/2f3869e6d69134e43be713c4590bfe48896a5c54ece6ffc1a4f204cfcfe54218} +0 -0
- /package/lib/cli/{starters/hono/server/worker.mjs → starter-assets/350d77757f548369beff29d658cf1620752d4e23b4b732d99a1b403ca043137f} +0 -0
- /package/lib/cli/{starters/approval-workflow/src/model.ts → starter-assets/37294d24c04b71eaf6d6f0bd52fd4c1cc7a5d3cb63da9c7920ed1d44276da9cb} +0 -0
- /package/lib/cli/{starters/approval-workflow/tsconfig.json → starter-assets/4387d6537dd5924ae62326aa3d7d8cbad1e5abd930aecc9daa6fab1ac2f6ef24} +0 -0
- /package/lib/cli/{starters/hono/dot-dockerignore → starter-assets/4434be031b58cc6ee680b2860b2ad1fe4089af7ee866c13223dfb621dd042ff1} +0 -0
- /package/lib/cli/{starters/hono/src/ChatApp.jsx → starter-assets/46e199317648a076243d6c8e7ffedc48785a6ffc0f203b88c7c4a9479b34c5b9} +0 -0
- /package/lib/cli/{starters/hono/src/components/mayura/thread-history.tsx → starter-assets/4741fccbca2e0d2fc6f61d11af3cf7bcc5f0238b67bb46282287207abdc6c536} +0 -0
- /package/lib/cli/{starters/approval-workflow/dot-dockerignore → starter-assets/4be664708b0120da5d2b73c5a27968093da06b8728f88f2bda2a1ccbf40f6891} +0 -0
- /package/lib/cli/{starters/hono/server/workflows.mjs → starter-assets/4d11f729672df54969a851494877a3c5aee24bb8f8c68eacaaa22e715bf5ed69} +0 -0
- /package/lib/cli/{starters/hono/dot-env.example → starter-assets/4f141323062660c4dc5b563300d57bb4cdbdc7fe9bfba96e43d9c64bb274474e} +0 -0
- /package/lib/cli/{starters/hono/Dockerfile → starter-assets/5471b74c46258d1edb00eb8f60f4219c389a252f7e224f2692f8f3e71ae43e3e} +0 -0
- /package/lib/cli/{starters/hono/scripts/setup.mjs → starter-assets/56e2d6db9fe4b0449c979acd06947a5b776bcc645184b54b8d3654a48bd12c38} +0 -0
- /package/lib/cli/{starters/hono/src/Notebook.jsx → starter-assets/6138d1e2ca4469daf4f5545d140943f6e23b0c37f865051b266ec99695cf181a} +0 -0
- /package/lib/cli/{starters/hono/src/vite-env.d.ts → starter-assets/65996936fbb042915f7b74a200fcdde7e410f32a669b1ab9597cfaa4b0faddb5} +0 -0
- /package/lib/cli/{starters/hono/server/application.mjs → starter-assets/757f43c27415654049ecf01b67d560c83d788108d1aebcf1f16a86d956bd7fb6} +0 -0
- /package/lib/cli/{starters/hono/src/components/mayura/thread-list.tsx → starter-assets/97601d0bf331df7bbde88f7ee269610bc8a1239f8eeb58fded6416e588a5b7dd} +0 -0
- /package/lib/cli/{starters/approval-workflow/dot-github/workflows/ci.yml → starter-assets/aa4182c76778ba2194ecbfde9a960c20181534fd1ab484df126278dbc6eb0186} +0 -0
- /package/lib/cli/{starters/hono/src/session.js → starter-assets/abcc6ebd29ba47a079befb6568054dec8f43d4c729187e4a3610af39789e77be} +0 -0
- /package/lib/cli/{starters/hono/compose.yaml → starter-assets/cc1df6f5ce0eebffc567ecea1d599eba97cd1b94ab01551085c0eb87a28e3a6c} +0 -0
- /package/lib/cli/{starters/hono/src/connect.js → starter-assets/cd3ddb959b277e7d495cc020a6f8146acfbcc9d05ececa3809e8aafcf84504d9} +0 -0
- /package/lib/cli/{starters/hono/test/session.test.mjs → starter-assets/dfe75fd07538427d80ba76767e037e929664c80ff5a41b7544496a789181bb73} +0 -0
- /package/lib/cli/{starters/approval-workflow/dot-gitignore → starter-assets/f3ef7285253ec9668732f535306beee602e91cb6e20f83d4799b3323399ce569} +0 -0
- /package/lib/cli/{starters/nuxt/src/view.js → starter-assets/ff840fe960683d377e78f731b5d4318adf6050384791fa20e4948d34192aa35d} +0 -0
|
@@ -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
|
-
|
|
621
|
-
|
|
622
|
-
|
|
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.
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Mayura with SvelteKit"
|
|
3
|
+
description: "Run the SvelteKit notebook starter with persistent threads, exact tool approvals, a scoped server and a separate durable worker."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Use the `sveltekit` starter to build a SvelteKit application with a working approval flow before adding a paid model.
|
|
7
|
+
It includes persistent scoped chat, a deterministic note agent, an explicit approve/reject interface and a separate
|
|
8
|
+
durable indexing worker. This is runnable application source, not a hosted service.
|
|
9
|
+
|
|
10
|
+
## Generate and run
|
|
11
|
+
|
|
12
|
+
Use Node 24.14.1 or a later supported 24.x version. Run the initializer from a directory you own;
|
|
13
|
+
inspect its plan before applying it to an existing project.
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npx mayura@1.2.2 init --starter sveltekit --directory ./my-notebook --apply
|
|
17
|
+
cd my-notebook
|
|
18
|
+
npm install
|
|
19
|
+
npm run setup
|
|
20
|
+
npm run dev
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Open `http://localhost:3000`. Read the generated ignored `.data/login-token` file locally and enter its value in
|
|
24
|
+
the notebook's password field. Setup creates an eight-hour local session, never prints its token, and refuses to
|
|
25
|
+
replace existing credentials. Keep `.env` and `.data` out of source control.
|
|
26
|
+
|
|
27
|
+
In another terminal, inside the generated project:
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
npm run worker
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Follow a complete conversation
|
|
34
|
+
|
|
35
|
+
1. Connect with the local session and create a thread.
|
|
36
|
+
2. Send a note. Inspect the exact proposed input before approving or rejecting it.
|
|
37
|
+
3. Approve once: the note is saved and a separate durable indexing workflow is submitted.
|
|
38
|
+
4. Let the worker process the index job. Reload, re-enter the session and inspect the persisted history.
|
|
39
|
+
5. If a response is lost, inspect the saved run before using the explicit recovery action. Do not send the note again
|
|
40
|
+
with a new key to repair an uncertain write.
|
|
41
|
+
|
|
42
|
+
The fixture needs no provider API key, model billing or external write. A rejected proposal must not save a note.
|
|
43
|
+
Thread history and approval controls remain scoped to the identity verified by the server.
|
|
44
|
+
|
|
45
|
+
## Framework boundary
|
|
46
|
+
|
|
47
|
+
The catch-all +server.ts forwards the native HTTP methods to the application handler. The page uses native Svelte controls and headless stores, not React components. Keep connection setup and subscriptions in the browser lifecycle, with disposal when the page disconnects.
|
|
48
|
+
|
|
49
|
+
| Part | Generated location |
|
|
50
|
+
| --- | --- |
|
|
51
|
+
| HTTP bridge | `src/routes/api/mayura/[...path]/+server.ts` |
|
|
52
|
+
| Notebook interface | `src/routes/+page.svelte` |
|
|
53
|
+
| Application and tool configuration | `server/application.mjs` |
|
|
54
|
+
| Session verification | `server/auth.mjs` |
|
|
55
|
+
| Background processing | `server/worker.mjs` |
|
|
56
|
+
|
|
57
|
+
The API is mounted at `/api/mayura/*`; the browser's origin-pinned transport preserves the native Mayura route
|
|
58
|
+
contract while adding that prefix. Subscribe to the headless thread, run and approval snapshots from the Svelte view. Keep approve/reject behind explicit controls bound to the displayed call. The React copy-in registry does not generate Svelte source in 1.2; the included Svelte interface is the supported starting point.
|
|
59
|
+
|
|
60
|
+
## Customize identity, tools and storage
|
|
61
|
+
|
|
62
|
+
Replace the single-user demonstration authenticator with verified application identity before opening the app to
|
|
63
|
+
customers. The host fixes principal, project, route capabilities and agent permissions. Browser input cannot choose
|
|
64
|
+
a tenant or grant itself a capability. Never distribute one shared owner token to multiple customers.
|
|
65
|
+
|
|
66
|
+
The note agent and indexing worker have separate grants. If you replace the fixture model, declare the model grant,
|
|
67
|
+
prices, finite per-call cost cap and run budget. A gateway subscription does not remove those limits. See
|
|
68
|
+
[AI gateways](ai-gateways.md) and [authorization](authorization.md).
|
|
69
|
+
|
|
70
|
+
Use the generated Node host and a separate Node worker. Review the SvelteKit adapter before switching deployment platforms. PostgreSQL supports multiple hosts; SQLite needs a persistent volume shared with the worker. Serverless hosting still needs a trusted path to advance bounded background work.
|
|
71
|
+
|
|
72
|
+
A note write and workflow submission are separate operations. If scheduling is unconfirmed after the note was saved,
|
|
73
|
+
reconcile the missing index job using the note's identity; never replay the browser write to repair scheduling.
|
|
74
|
+
See [framework starter architecture](framework-starters.md) for worker leadership, retention and recovery details.
|
|
75
|
+
|
|
76
|
+
## Verify your changes
|
|
77
|
+
|
|
78
|
+
```sh
|
|
79
|
+
npm test
|
|
80
|
+
npm run typecheck
|
|
81
|
+
npm run build
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
The V1.2 release passed the complete cross-platform qualification matrix, including generated packed server
|
|
85
|
+
contracts and workspace framework builds/HTTP approval flows. Rendered browser interaction and actual framework
|
|
86
|
+
deployments are separate checks; qualify your target before exposing customer data. See
|
|
87
|
+
[release validation status](release-readiness.md) and [deployment](deployment.md).
|
|
88
|
+
|
|
89
|
+
## Continue building
|
|
90
|
+
|
|
91
|
+
- [Threads and compaction](threads.md): history, recording and bounded summaries.
|
|
92
|
+
- [Approvals and human input](approvals-and-human-input.md): exact-call decisions and durable resumption.
|
|
93
|
+
- [Copy-in UI](copy-in-ui.md) and [headless stores](react.md): customize the conversation interface.
|
|
94
|
+
- [Choose a starter](choosing-a-starter.md): compare this notebook with the other application shapes.
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Mayura with TanStack Start"
|
|
3
|
+
description: "Run the TanStack Start notebook starter with persistent threads, exact tool approvals, a scoped server and a separate durable worker."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Use the `tanstack-start` starter to build a TanStack Start application with a working approval flow before adding a paid model.
|
|
7
|
+
It includes persistent scoped chat, a deterministic note agent, an explicit approve/reject interface and a separate
|
|
8
|
+
durable indexing worker. This is runnable application source, not a hosted service.
|
|
9
|
+
|
|
10
|
+
## Generate and run
|
|
11
|
+
|
|
12
|
+
Use Node 24.14.1 or a later supported 24.x version. Run the initializer from a directory you own;
|
|
13
|
+
inspect its plan before applying it to an existing project.
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npx mayura@1.2.2 init --starter tanstack-start --directory ./my-notebook --apply
|
|
17
|
+
cd my-notebook
|
|
18
|
+
npm install
|
|
19
|
+
npm run setup
|
|
20
|
+
npm run dev
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Open `http://localhost:3000`. Read the generated ignored `.data/login-token` file locally and enter its value in
|
|
24
|
+
the notebook's password field. Setup creates an eight-hour local session, never prints its token, and refuses to
|
|
25
|
+
replace existing credentials. Keep `.env` and `.data` out of source control.
|
|
26
|
+
|
|
27
|
+
In another terminal, inside the generated project:
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
npm run worker
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Follow a complete conversation
|
|
34
|
+
|
|
35
|
+
1. Connect with the local session and create a thread.
|
|
36
|
+
2. Send a note. Inspect the exact proposed input before approving or rejecting it.
|
|
37
|
+
3. Approve once: the note is saved and a separate durable indexing workflow is submitted.
|
|
38
|
+
4. Let the worker process the index job. Reload, re-enter the session and inspect the persisted history.
|
|
39
|
+
5. If a response is lost, inspect the saved run before using the explicit recovery action. Do not send the note again
|
|
40
|
+
with a new key to repair an uncertain write.
|
|
41
|
+
|
|
42
|
+
The fixture needs no provider API key, model billing or external write. A rejected proposal must not save a note.
|
|
43
|
+
Thread history and approval controls remain scoped to the identity verified by the server.
|
|
44
|
+
|
|
45
|
+
## Framework boundary
|
|
46
|
+
|
|
47
|
+
The file route registers native GET, POST, DELETE, OPTIONS and HEAD handlers. Each forwards the Request to the portable server module. The index route renders the notebook. Keep this server route boundary instead of serializing approval commands through a server function.
|
|
48
|
+
|
|
49
|
+
| Part | Generated location |
|
|
50
|
+
| --- | --- |
|
|
51
|
+
| HTTP bridge | `src/routes/api.mayura.$.ts` |
|
|
52
|
+
| Notebook interface | `src/routes/index.tsx` |
|
|
53
|
+
| Application and tool configuration | `server/application.mjs` |
|
|
54
|
+
| Session verification | `server/auth.mjs` |
|
|
55
|
+
| Background processing | `server/worker.mjs` |
|
|
56
|
+
|
|
57
|
+
The API is mounted at `/api/mayura/*`; the browser's origin-pinned transport preserves the native Mayura route
|
|
58
|
+
contract while adding that prefix. Keep server-only imports out of the React page bundle. Update the route prefix and browser transport together if the application moves under another mount. Native stream responses should pass through unchanged so run events and approval pauses remain observable.
|
|
59
|
+
|
|
60
|
+
## Customize identity, tools and storage
|
|
61
|
+
|
|
62
|
+
Replace the single-user demonstration authenticator with verified application identity before opening the app to
|
|
63
|
+
customers. The host fixes principal, project, route capabilities and agent permissions. Browser input cannot choose
|
|
64
|
+
a tenant or grant itself a capability. Never distribute one shared owner token to multiple customers.
|
|
65
|
+
|
|
66
|
+
The note agent and indexing worker have separate grants. If you replace the fixture model, declare the model grant,
|
|
67
|
+
prices, finite per-call cost cap and run budget. A gateway subscription does not remove those limits. See
|
|
68
|
+
[AI gateways](ai-gateways.md) and [authorization](authorization.md).
|
|
69
|
+
|
|
70
|
+
The generated Node adapter uses a pinned Nitro beta. Retain the starter toolchain and verify the build on the actual deployment before changing adapter versions. The worker is a separate Node process; a server route alone does not advance the durable indexing workflow.
|
|
71
|
+
|
|
72
|
+
A note write and workflow submission are separate operations. If scheduling is unconfirmed after the note was saved,
|
|
73
|
+
reconcile the missing index job using the note's identity; never replay the browser write to repair scheduling.
|
|
74
|
+
See [framework starter architecture](framework-starters.md) for worker leadership, retention and recovery details.
|
|
75
|
+
|
|
76
|
+
## Verify your changes
|
|
77
|
+
|
|
78
|
+
```sh
|
|
79
|
+
npm test
|
|
80
|
+
npm run typecheck
|
|
81
|
+
npm run build
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
The V1.2 release passed the complete cross-platform qualification matrix, including generated packed server
|
|
85
|
+
contracts and workspace framework builds/HTTP approval flows. Rendered browser interaction and actual framework
|
|
86
|
+
deployments are separate checks; qualify your target before exposing customer data. See
|
|
87
|
+
[release validation status](release-readiness.md) and [deployment](deployment.md).
|
|
88
|
+
|
|
89
|
+
## Continue building
|
|
90
|
+
|
|
91
|
+
- [Threads and compaction](threads.md): history, recording and bounded summaries.
|
|
92
|
+
- [Approvals and human input](approvals-and-human-input.md): exact-call decisions and durable resumption.
|
|
93
|
+
- [Copy-in UI](copy-in-ui.md) and [headless stores](react.md): customize the conversation interface.
|
|
94
|
+
- [Choose a starter](choosing-a-starter.md): compare this notebook with the other application shapes.
|
|
@@ -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.
|
|
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.
|
|
@@ -3,13 +3,16 @@ title: "Pinecone vectors"
|
|
|
3
3
|
description: "Scoped native vector storage for pinecone."
|
|
4
4
|
package: "@mayurajs/vector-pinecone"
|
|
5
5
|
vendor: "Pinecone"
|
|
6
|
+
logo: "pinecone"
|
|
6
7
|
website: "https://docs.pinecone.io"
|
|
7
8
|
area: "vectors"
|
|
8
9
|
---
|
|
9
10
|
|
|
10
11
|
`@mayurajs/vector-pinecone` implements the [RAG contracts](../guides/rag.md). Install it alongside `mayura`.
|
|
11
12
|
Construction performs no I/O, credential discovery, provisioning or background work. All operations require an
|
|
12
|
-
explicit host permission and a nonnegative `costMicros` ceiling.
|
|
13
|
+
explicit host permission and a nonnegative `costMicros` ceiling. See the
|
|
14
|
+
[qualification matrix](../guides/rag-production.md#qualification-matrix) for the stable Modal + Pinecone Loki v28
|
|
15
|
+
configuration and its measured limits.
|
|
13
16
|
|
|
14
17
|
`pineconeVectorStore` accepts `endpoint`, `headers`, `collection`, `dimensions`, `costMicros`, `permissions`,
|
|
15
18
|
`timeoutMs`, `maxConcurrent` and optional test `fetch`. Grant `rag:transport:pinecone`. Credentials go in host-owned
|
package/docs/introduction.md
CHANGED
|
@@ -15,6 +15,11 @@ points you import only when you need them, and other services (more model provid
|
|
|
15
15
|
hosted sandboxes and browsers, identity providers, observability services and deploy targets) come as optional
|
|
16
16
|
[`@mayurajs/*` packages](reference/integrations.md).
|
|
17
17
|
|
|
18
|
+
V1.2 adds persistent conversations, exact tool approvals, agent handoffs and fine-grained authorization.
|
|
19
|
+
Start with one of the [six framework notebooks](guides/framework-starters.md), or
|
|
20
|
+
[choose another application starter](guides/choosing-a-starter.md). The
|
|
21
|
+
[release overview](project/whats-new.md) covers the 105 extensions, the qualified RAG profile and experimental AG-UI.
|
|
22
|
+
|
|
18
23
|
## The building blocks
|
|
19
24
|
|
|
20
25
|
| Block | What it is | Start here |
|
|
@@ -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,8 +1,85 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: "What's new in Mayura 1.
|
|
3
|
-
description: "
|
|
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.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
|
|
19
|
+
|
|
20
|
+
## Production retrieval and configurable graphs
|
|
21
|
+
|
|
22
|
+
The [Modal and Pinecone Loki v28 profile](../guides/rag-production.md) is stable for its registered
|
|
23
|
+
software-operations workload. Qualification covered 40 source-reviewed cases, 600 timed native queries,
|
|
24
|
+
recovery, scope isolation and cleanup. The semantic acquisition and ranking p95 upper bound was 4.725 seconds.
|
|
25
|
+
Other profiles remain experimental. Start with [Build and deploy a retrieval agent](../guides/rag-deployment.md).
|
|
26
|
+
|
|
27
|
+
Workflow graphs keep the 128-node default. V1.2.1 adds a configurable per-graph bound and a trusted host
|
|
28
|
+
option to disable that count limit. See [configuring graph size](../concepts/workflows.md#configuring-graph-size).
|
|
29
|
+
|
|
30
|
+
The following capabilities were introduced in Mayura 1.2.0.
|
|
31
|
+
|
|
32
|
+
## Conversations that continue
|
|
33
|
+
|
|
34
|
+
[Threads](../guides/threads.md) retain scoped conversation history in your database. A run can pause for an
|
|
35
|
+
[exact tool approval](../guides/approvals-and-human-input.md), save a checkpoint, and resume through another host.
|
|
36
|
+
Thread/run recording and recovery preserve completed turns without replaying tool writes. Bounded compaction
|
|
37
|
+
journals the summary's source, model and cost; uncertain paid work requires inspection rather than another call.
|
|
38
|
+
|
|
39
|
+
[Agent handoffs](../guides/agent-handoffs.md) continue the thread and budget while switching to separately declared
|
|
40
|
+
agent permissions. The initial profile is buffered, text-only, non-speculative root runs.
|
|
41
|
+
|
|
42
|
+
## Authorization throughout the runtime
|
|
43
|
+
|
|
44
|
+
[Fine-grained authorization](../guides/authorization.md) adds a shared policy contract, built-in RBAC, audit events
|
|
45
|
+
and OpenTelemetry integration. Scoped server routes, agent/tool execution, workflows, memory, retrieval, threads,
|
|
46
|
+
approvals and compaction use that contract. Optional adapters cover OpenFGA, Cedar, Permit.io, Oso and an external
|
|
47
|
+
HTTP policy service. Resource decisions supplement explicit runtime grants; they do not replace them.
|
|
48
|
+
|
|
49
|
+
## Start with an application
|
|
50
|
+
|
|
51
|
+
[Six framework starters](../guides/framework-starters.md) generate working notebooks for
|
|
52
|
+
[Next.js](../guides/nextjs.md), [Hono](../guides/hono.md), [React Router](../guides/react-router.md),
|
|
53
|
+
[TanStack Start](../guides/tanstack-start.md), [SvelteKit](../guides/sveltekit.md) and [Nuxt](../guides/nuxt.md).
|
|
54
|
+
They include scoped threads, exact note approvals, an offline model fixture, a separate indexing worker and
|
|
55
|
+
deployment source. Find the current application catalog in [Choose a starter](../guides/choosing-a-starter.md).
|
|
56
|
+
|
|
57
|
+
[Copy-in React components](../guides/copy-in-ui.md) provide thread history, approval and run controls as source you
|
|
58
|
+
own. [Headless stores](../guides/react.md) support native Svelte and Vue views. Hooks and subscriptions observe;
|
|
59
|
+
submissions and approval decisions remain explicit actions.
|
|
60
|
+
|
|
61
|
+
## Gateways and retrieval
|
|
62
|
+
|
|
63
|
+
Six [AI gateway packages](../guides/ai-gateways.md) connect Vercel AI Gateway, Cloudflare AI Gateway, OpenRouter,
|
|
64
|
+
Portkey, Helicone and LiteLLM with scoped models, explicit credentials and bounded costs.
|
|
65
|
+
|
|
66
|
+
[Retrieval augmented generation](../guides/rag.md) adds scoped citations, durable ingestion and embedding claims,
|
|
67
|
+
parent context, hybrid retrieval and query expansion, six vector adapters, three rerankers and offline evaluation.
|
|
68
|
+
|
|
69
|
+
The **experimental [AG-UI adapter](../guides/ag-ui.md)** projects run events, thread messages, state snapshots/deltas
|
|
70
|
+
and approval interrupts. Durable frontend-tool claims and result outboxes support safe native-owner recovery without
|
|
71
|
+
automatically replaying browser writes. Reference-client, CopilotKit and rendered notebook interoperability remain
|
|
72
|
+
outside the completed qualification.
|
|
73
|
+
|
|
74
|
+
## Upgrade and qualification
|
|
75
|
+
|
|
76
|
+
Install the coordinated release with `npm install mayura@1.2.2`. Select matching `@mayurajs/*@1.2.2` packages only
|
|
77
|
+
where needed. Review [versioning](versioning.md), [support](support.md) and the
|
|
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.
|
|
80
|
+
|
|
81
|
+
## Mayura 1.1
|
|
82
|
+
|
|
6
83
|
Mayura 1.1 adds new capabilities to `mayura` and 85 optional [integration packages](../reference/integrations.md) that
|
|
7
84
|
connect it to other services. It is a minor release: nothing documented in 1.0 changes, and a 1.0 database works with
|
|
8
85
|
1.1 as it is, with no migration. The full list is in `CHANGELOG.md`.
|
package/docs/quickstart.md
CHANGED
|
@@ -14,8 +14,8 @@ npx mayura init
|
|
|
14
14
|
|
|
15
15
|
The wizard asks three things:
|
|
16
16
|
|
|
17
|
-
1. **A starter or a template.**
|
|
18
|
-
|
|
17
|
+
1. **A starter or a template.** Choose from four server applications, six framework notebooks with persistent chat
|
|
18
|
+
and exact approvals, or the `cli-agent` terminal assistant. Templates are small projects showing one feature.
|
|
19
19
|
2. **A model provider.** Offline (no key needed; rule-based stand-in models), OpenAI, Anthropic, an
|
|
20
20
|
OpenAI-compatible provider such as Groq, Gemini, Mistral, DeepSeek, xAI, OpenRouter, Together or Fireworks, Azure
|
|
21
21
|
OpenAI, or any other compatible endpoint.
|
|
@@ -30,7 +30,9 @@ npm install
|
|
|
30
30
|
npm run dev
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
`npm run dev` runs `mayura dev`: it builds
|
|
33
|
+
For the server starters, `npm run dev` runs `mayura dev`: it builds, starts and watches the project. Framework
|
|
34
|
+
notebooks have their own dev server and first need `npm run setup` for a local session. Follow
|
|
35
|
+
[Choose a starter](guides/choosing-a-starter.md) and the generated README for the right sequence, or
|
|
34
36
|
[mayura init](cli/init.md) for every starter and template.
|
|
35
37
|
|
|
36
38
|
## Option 2: add Mayura to your project
|
|
@@ -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`,
|
|
7
|
-
release at the same version
|
|
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.
|
|
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
|
|