marona 0.10.1 → 0.10.2
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 +5 -0
- package/README.md +32 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.10.2
|
|
4
|
+
|
|
5
|
+
- Added a complete realtime multi-agent example using the same manager graph,
|
|
6
|
+
delegation tools, handoffs, and provider-neutral event stream.
|
|
7
|
+
|
|
3
8
|
## 0.10.1
|
|
4
9
|
|
|
5
10
|
- Added one provider-neutral Agent graph for delegation and handoff across standard, streaming, and realtime runs.
|
package/README.md
CHANGED
|
@@ -289,6 +289,38 @@ The same graph works with `Runner.stream(...)` and
|
|
|
289
289
|
`RealtimeRunner.connect(...)`. Marona rejects graph cycles, limits delegation
|
|
290
290
|
and handoff depth, and never puts provider credentials in model context.
|
|
291
291
|
|
|
292
|
+
#### Realtime Multi-Agent
|
|
293
|
+
|
|
294
|
+
Pass the same manager to `RealtimeRunner.connect(...)`. Delegation tools and
|
|
295
|
+
handoffs remain available throughout the persistent realtime session:
|
|
296
|
+
|
|
297
|
+
```ts
|
|
298
|
+
import { RealtimeRunner } from "marona";
|
|
299
|
+
|
|
300
|
+
const session = await RealtimeRunner.connect(manager, {
|
|
301
|
+
userId: "customer_482",
|
|
302
|
+
sessionId: "support_voice_91a7",
|
|
303
|
+
});
|
|
304
|
+
|
|
305
|
+
try {
|
|
306
|
+
await session.sendMessage("I was charged twice and need help.");
|
|
307
|
+
|
|
308
|
+
for await (const event of session) {
|
|
309
|
+
if (event.type === "agent.handoff.completed") {
|
|
310
|
+
console.log(event.data.target_agent);
|
|
311
|
+
} else if (event.type === "response.completed") {
|
|
312
|
+
console.log(event.output);
|
|
313
|
+
break;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
} finally {
|
|
317
|
+
await session.close();
|
|
318
|
+
}
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
Marona keeps provider events internal and emits one provider-neutral event
|
|
322
|
+
stream. After a handoff, the destination Agent owns the following turns.
|
|
323
|
+
|
|
292
324
|
## 3. Marona Runtime
|
|
293
325
|
|
|
294
326
|
Use `responses.create(...)` when Marona should manage model reasoning, tool
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const packageVersion = "0.10.
|
|
1
|
+
export declare const packageVersion = "0.10.2";
|
|
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.
|
|
1
|
+
export const packageVersion = "0.10.2";
|
|
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.
|
|
3
|
+
"version": "0.10.2",
|
|
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",
|