Repository navigation
Releases
orchajs@0.28.1
orchajs@0.28.0
orchajs@0.27.4
Patch Changes
-
#136
f9c395eThanks @anuj-sia! - Keep unused optional features out of the default Node bundler graph.The compiler, provider adapters, QuickJS sandbox, MCP client, and SQLite implementation now load through runtime-only package boundaries when their corresponding feature is used. The default ESM and CommonJS entries remain compatible with zero-config
orcha.init()while no longer requiring bundlers to resolve unused optional peers or native packages.Add an Edge-compatible export condition, preserve the existing lazy
NodeSqliteSessionStoreAPI, and add consumer-bundle regression coverage for ESM, CommonJS, and zero-config runtime execution.
orchajs@0.27.3
Patch Changes
-
#134
8e21df2Thanks @anuj-sia! - Support nested subagent chains and cycle detection across the compiler, runtime, and test runner.- When an agent is referenced as a subagent of another agent, automatically inherit its own declared
subagentsandmcpregistrations (or allow inline nestedsubagentsdeclarations). - Recursively instantiate nested
RuntimeAgentsubagent trees inorcha.init()andorcha.runTests(), and allowsubagentHistory()/subagentEvents()to inspect descendant sessions across the hierarchy. - Detect and reject circular subagent chains (
A -> B -> C -> A) at compile and initialization time.
- When an agent is referenced as a subagent of another agent, automatically inherit its own declared
orchajs@0.27.2
Patch Changes
-
#132
fc689bbThanks @anuj-sia! - Preserve assistant messages and surface root-cause tool failures on structured output errors, and make Amarsia telemetry dispatch fully non-blocking.- When an
outputType: "json"agent returns plain text or invalid JSON, persist the assistantmessage.createdevent and token usage first, include a preview of the model's response in the error message, and surface any preceding action or subagent failures from the run. - Distinguish action parameter validation errors from action
outputSchemaerrors, surface real MCP tool error details whenisErroris returned, and safely parse non-JSON provider HTTP error bodies. - Make
withAmarsiaTelemetrycompletely non-blocking onappend()and dispatch terminal run telemetry immediately in the background without blocking behind in-flightrunningbatches.
- When an
orchajs@0.27.1
Patch Changes
-
#130
810a6b8Thanks @anuj-sia! - Redact sensitive values from evaluation reasoning, telemetry, and project sync.Evaluation judges are instructed not to quote personal data, tax identifiers, financial figures, or secrets. Those values are also stripped from evaluation reasoning and evidence, run errors, and telemetry before they are stored or sent. Project sync now sends only the project directory name and removes credentials embedded in repository URLs.
orchajs@0.27.0
Minor Changes
-
#128
2dbe2e9Thanks @anuj-sia! - Enable zero-bundler-config initialization across Node.js, Next.js, React, and React Native/Expo, automaticprebuild/predevcompilation hooks, and fix the CJS/ESM dual-package singleton hazard:- Zero-config Node.js & Next.js server initialization:
orcha.init()compilesorcha/automatically on the spot when no precompiled.orcha/dist/manifest.jsonexists — including in production if.orcha/dist/manifest.jsonwas not prebuilt andorcha/is deployed alongside the server. - Zero-config Browser & React Native:
orchajs init,orchajs dev,orchajs build, and Nodeorcha.init()sync the compiled manifest directly intoorchajs's runtime manifest module (compiled-manifest.js) andglobalThis, soimport { orcha } from "orchajs"works in React, Next.js client components, and React Native / Expo with zero bundler configuration. - Automatic framework target detection & lifecycle hooks:
orchajs buildandorchajs devauto-detect Next.js, Vite/React, and React Native/Expo targets from the project, andorchajs initwiresprebuildandpredevinpackage.jsonsonpm run buildandnpm run devcompile Orcha automatically. - Shared
globalThissingletons: Storeorcharuntime singletons (Symbol.for("orchajs.runtime")), compiler hooks, runtime contexts, and build queues onglobalThisso ESM (dist/) and CommonJS (dist-cjs/) always share the exact same state in the same Node process.
- Zero-config Node.js & Next.js server initialization:
orchajs@0.26.1
Patch Changes
- #126
4fe97bbThanks @anuj-sia! - Fix CJS/ESM dual-package singleton hazard duringbuildProject()across Next.js (withOrcha), Metro/Expo (withOrchaMetro), Webpack (OrchaWebpackPlugin), and esbuild (orchaPlugin) integrations by storing compiler hooks, the shared Nodeorchasingleton, runtime contexts, and build queues onglobalThisviaSymbol.for(...), and resolving generated production runtime entry imports to the ESMdist/output when invoked fromdist-cjs/.
orchajs@0.26.0
Minor Changes
-
#124
fe3d3e3Thanks @anuj-sia! - Add multimodal tool result contents for local and client actions.- Local actions can return
{ output, contents }so structured JSON stays
schema-validated while media and other content items are forwarded to the
model. - Client action resumes accept optional
contentsalongsideoutput, with the
same envelope persisted in session events and provider adapters. - Propagate multimodal tool contents through Amarsia-managed inference for
OpenAI, Anthropic, and Google, and surface a clear
unsupported_content_typeerror when DeepSeek receives non-text contents. - Update AGENTS.md guidance and the playground
visualInspectoragent so the
multimodal envelope is easy to exercise end to end.
- Local actions can return
create-orcha@0.4.5
Patch Changes
-
#124
fe3d3e3Thanks @anuj-sia! - Add multimodal tool result contents for local and client actions.- Local actions can return
{ output, contents }so structured JSON stays
schema-validated while media and other content items are forwarded to the
model. - Client action resumes accept optional
contentsalongsideoutput, with the
same envelope persisted in session events and provider adapters. - Propagate multimodal tool contents through Amarsia-managed inference for
OpenAI, Anthropic, and Google, and surface a clear
unsupported_content_typeerror when DeepSeek receives non-text contents. - Update AGENTS.md guidance and the playground
visualInspectoragent so the
multimodal envelope is easy to exercise end to end.
- Local actions can return