marona 0.10.2 → 0.10.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.10.3
4
+
5
+ - Made the realtime multi-agent documentation fully self-contained, including
6
+ Marona setup, connected tools, specialist Agents, manager, and session loop.
7
+
3
8
  ## 0.10.2
4
9
 
5
10
  - Added a complete realtime multi-agent example using the same manager graph,
package/README.md CHANGED
@@ -291,11 +291,46 @@ and handoff depth, and never puts provider credentials in model context.
291
291
 
292
292
  #### Realtime Multi-Agent
293
293
 
294
- Pass the same manager to `RealtimeRunner.connect(...)`. Delegation tools and
295
- handoffs remain available throughout the persistent realtime session:
294
+ Define the complete Agent graph, then pass its manager to
295
+ `RealtimeRunner.connect(...)`. Delegation tools and handoffs remain available
296
+ throughout the persistent realtime session:
296
297
 
297
298
  ```ts
298
- import { RealtimeRunner } from "marona";
299
+ import { Agent, Marona, RealtimeRunner, handoff } from "marona";
300
+
301
+ const marona = new Marona({ apiKey: process.env.MARONA_API_KEY });
302
+ const tools = await marona.hub.connect();
303
+
304
+ const researcher = new Agent({
305
+ name: "Research Specialist",
306
+ description: "Researches bounded customer questions.",
307
+ model: "marona/gpt-5-mini",
308
+ tools,
309
+ });
310
+
311
+ const billing = new Agent({
312
+ name: "Billing Specialist",
313
+ description: "Owns billing and payment conversations.",
314
+ model: "marona/gpt-5-mini",
315
+ tools,
316
+ });
317
+
318
+ const manager = new Agent({
319
+ name: "Customer Assistant",
320
+ model: "marona/gpt-5.6",
321
+ tools: [
322
+ researcher.asTool({
323
+ name: "research",
324
+ description: "Research one bounded question and return the result.",
325
+ }),
326
+ ],
327
+ handoffs: [
328
+ handoff(billing, {
329
+ name: "transfer_to_billing",
330
+ description: "Transfer billing and payment requests.",
331
+ }),
332
+ ],
333
+ });
299
334
 
300
335
  const session = await RealtimeRunner.connect(manager, {
301
336
  userId: "customer_482",
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const packageVersion = "0.10.2";
1
+ export declare const packageVersion = "0.10.3";
2
2
  export type JsonMap = Record<string, unknown>;
3
3
  declare const standardInterfaces: readonly ["api", "web", "mobile_app", "desktop", "whatsapp"];
4
4
  type StandardInterfaceName = (typeof standardInterfaces)[number];
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export const packageVersion = "0.10.2";
1
+ export const packageVersion = "0.10.3";
2
2
  const standardInterfaces = ["api", "web", "mobile_app", "desktop", "whatsapp"];
3
3
  const interfaceNamePattern = "^[a-z][a-z0-9_-]{0,63}$";
4
4
  const standardExecutionModes = ["online", "hybrid", "offline"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marona",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
4
  "description": "Provider-neutral AI agent runtime and MCP/Skill gateway for Marona Hub connections, managed agents, and bring-your-own-agent integrations.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",