marona 0.15.0 → 1.0.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/CHANGELOG.md CHANGED
@@ -1,466 +1,12 @@
1
1
  # Changelog
2
2
 
3
- ## 0.15.0
4
-
5
- - **Breaking:** Require a Marona Developer Key for managed, BYOK, registered,
6
- private, self-hosted, and local model execution.
7
- - Resolve the key from explicit SDK configuration first and `MARONA_API_KEY`
8
- second, rejecting missing, empty, and whitespace-only values during client
9
- initialization.
10
- - Authenticate registered and local model execution with Marona before calling
11
- the model endpoint, while keeping provider credentials separate.
12
-
13
- ## 0.14.0
14
-
15
- - Allow explicitly registered private models to run without a Marona developer key.
16
- - Keep managed Marona services and unregistered remote models protected by `MARONA_API_KEY`.
17
-
18
- ## 0.13.8
19
-
20
- - Documented automatic model and provider routing together with provider-neutral lifecycle hooks.
21
- - Verified that Responses completion hooks receive the normalized output, resolved model, and routing decision.
22
-
23
- ## 0.13.7
24
-
25
- - Added one provider-neutral lifecycle hook contract across Agent, streaming, Realtime, and Responses runtimes.
26
- - Derive requested model, framework, user, and session from trusted runtime context instead of duplicate hook configuration.
27
-
28
- ## 0.13.6
29
-
30
- - Constrained A2A peer skill selection to exact IDs discovered from the Agent Card.
31
-
32
- ## 0.13.5
33
-
34
- - Kept the cross-SDK release aligned with the Python 3.9 compatibility correction.
35
-
36
- ## 0.13.4
37
-
38
- - Added bounded Realtime connection retries and explicit provider handshake timeouts.
39
-
40
- ## 0.13.3
41
-
42
- - Resume nested Agent, A2A, and FunctionTool continuations with only the current result batch.
43
-
44
- ## 0.13.2
45
-
46
- - Wait for provider acknowledgement before continuing after Realtime tool-set transitions.
47
- - Preserve exact capability selection and automatic tool restoration across Apps, Skills, and handoffs.
48
-
49
- ## 0.13.1
50
-
51
- - Keep standard and realtime Agents on the same Rust-generated live App and Skill selector contract.
52
- - Reveal only the selected capability schemas and preserve `tool_choice` across governed execution.
53
- - Translate complete MCP JSON Schemas only at restrictive realtime provider boundaries while retaining full Marona validation.
54
- - Keep A2A, multi-agent, and generated Skill callbacks on the existing Marona governance path.
55
-
56
- ## 0.13.0
57
-
58
- - Added true incremental `Runner.stream(...)` output over the governed runtime.
59
- - Added provider-neutral text/audio delta, tool lifecycle, agent transition,
60
- and completed events while preserving permissions, Skills, MCP, and billing.
61
- - Kept structured-output validation at final completion and cancellation tied
62
- to the consuming stream.
63
-
64
- ## 0.12.2
65
-
66
- - Added a compact provider-neutral capability discovery and execution gateway for unscoped Hub connections.
67
- - Preserved direct exact-tool listing for explicitly selected Apps and Skills.
68
-
69
- ## 0.12.1
70
-
71
- - Added complete standard, realtime, and multi-agent A2A documentation.
72
-
73
- ## 0.12.0
74
-
75
- - Added provider-neutral A2A Agent Card discovery and task execution.
76
- - Added first-class `Agent.peers` across standard, streaming, and realtime runs.
77
- - Added local credential handling, payload limits, and denied-field redaction.
78
-
79
- ## 0.11.1
80
-
81
- - Preserve the owning Agent's trusted tool context when managed multi-agent runs execute local function tools.
82
-
83
- ## 0.11.0
84
-
85
- - Added provider-neutral `FunctionTool`, `ToolContext`, and `functionTool`.
86
- - Added local function execution across managed responses, Agent runs,
87
- streaming, realtime sessions, direct providers, and local models.
88
- - Kept executors and trusted runtime context in the developer process.
89
-
90
- ## 0.10.3
91
-
92
- - Made the realtime multi-agent documentation fully self-contained, including
93
- Marona setup, connected tools, specialist Agents, manager, and session loop.
94
-
95
- ## 0.10.2
96
-
97
- - Added a complete realtime multi-agent example using the same manager graph,
98
- delegation tools, handoffs, and provider-neutral event stream.
99
-
100
- ## 0.10.1
101
-
102
- - Added one provider-neutral Agent graph for delegation and handoff across standard, streaming, and realtime runs.
103
- - Added typed input/output schemas, guardrails, lifecycle hooks, graph limits, and normalized run metadata.
104
-
105
- ## 0.9.3
106
-
107
- - Unified `auto`, `required`, and `none` tool choice across Agent, Responses,
108
- streaming, and persistent realtime sessions.
109
- - Kept automatic tool discovery model-led while requiring exact capability
110
- execution after discovery.
111
-
112
- ## 0.9.2
113
-
114
- - `RealtimeRunner.connect(...)` now returns a persistent session with `sendMessage`, `sendAudio`, normalized async events, and `close`.
115
- - Realtime provider events and Agent tool execution are handled inside private provider adapters.
116
-
117
- ## 0.9.1
118
-
119
- - Added provider-neutral realtime capability discovery and exact MCP/Skill execution through `RealtimeRunner`.
120
- - Realtime tool calls now stay in the same model session without a second model request.
121
-
122
- ## 0.9.0
123
-
124
- - Unify Agent run, stream, and realtime execution around one multimodal input contract.
125
- - Make Hub tools optional and expose completed Agent results only through `result.output`.
126
- - Add capability-aware model, transport, deployment, and realtime provider routing.
127
- - Add typed approval, permission, and service-connection interruptions.
128
-
129
- ## 0.8.8
130
-
131
- - Compact tool results for local models with small context windows.
132
-
133
- ## 0.8.7
134
-
135
- - Document automatic model and provider routing with Marona Agent.
136
-
137
- ## 0.8.6
138
-
139
- - Preserve `userId` when executing governed Skills so Skill and App data use the same user scope.
140
-
141
- ## 0.8.5
142
-
143
- - Add `marona/auto` model classification and managed provider fallback.
144
- - Add optional cost, latency, provider, model, timeout, and fallback routing constraints.
145
- - Expose resolved model and provider routing metadata on runtime responses.
146
-
147
- ## 0.8.4
148
-
149
- - Keep service connections scoped directly to the developer-supplied `user_id` without legacy identity tokens.
150
-
151
- ## 0.8.3
152
-
153
- - Route connected Apps through Marona governance so service authentication, permissions, and OAuth connection actions work consistently.
154
- - Return service authorization links as standard connection artifacts for chat interfaces.
155
-
156
- ## 0.8.2
157
-
158
- - Forward the Marona developer key as an MCP header only for Apps that explicitly require developer authorization.
159
-
160
- ## 0.8.1
161
-
162
- - Add managed `marona/gpt-5-mini` and `marona/gpt-5-nano` model aliases.
163
-
164
- ## 0.8.0
165
-
166
- - Require explicit `marona/...` names for Marona-funded managed inference.
167
- - Add managed GPT, Claude, Gemini, and DeepSeek model aliases.
168
- - Require a Marona developer key for managed, direct-provider, gateway, and local routes.
169
- - Keep direct-provider billing with the developer while managed routes use Marona balance.
170
-
171
- ## 0.7.4
172
-
173
- - Add OpenRouter as a built-in provider through `openrouter/...` model routes.
174
-
175
- ## 0.7.3
176
-
177
- - Split image and file request documentation into complete standalone examples.
178
-
179
- ## 0.7.2
180
-
181
- - Add `response.output` as the canonical ordered text and artifact collection.
182
- - Keep `response.outputText` as a text-only convenience accessor.
183
-
184
- ## 0.7.1
185
-
186
- - Exposed the Skill builder and `marona.skills.publish(...)` publicly.
187
- - Added `public` and `private` Skill visibility, defaulting to private.
188
-
189
- ## 0.7.0
190
-
191
- - Add Marona-owned `Agent`, `Runner`, and `RunResult` APIs.
192
- - Scope optional user sessions by authenticated developer, user, and session IDs.
193
- - Preserve conversation IDs through the managed Responses runtime.
194
-
195
- ## 0.6.5
196
-
197
- - Let `hub.connect()` connect every capability available to the developer key.
198
- - Align the runtime package version with published package metadata.
199
-
200
- ## 0.6.4
201
-
202
- - Use a real listed App and Skill in every package example.
203
-
204
- ## 0.6.3
205
-
206
- - Remove identity-token parameters and synthetic identity headers from App, MCP, and Skill execution.
207
- - Expose the developer key's Workspace, Application, usage account, and resolved capabilities in connection diagnostics.
208
-
209
- ## 0.6.2
210
-
211
- - Keep valid Hub tools connected when an App or Skill selector is unresolved.
212
- - Expose structured selector validation through `connection.warnings` and `connection.session`.
213
-
214
- ## 0.6.1
215
-
216
- - Add a clearly labeled OpenAI Agents SDK example to the package documentation.
217
-
218
- ## 0.6.0
219
-
220
- - Return a provider-neutral MCP connection from `hub.connect()`.
221
- - Add `responses.create()` for the Marona-managed model and governed tool loop.
222
- - Expose `listTools()`, `callTool()`, `serverUrl`, and `session` for external agent adapters.
223
- - Remove legacy client, message, sync, pairing, identity-token, Skill-builder, and vendor-tool exports.
224
- - Remove global model selection; choose the model per response request.
225
-
226
- ## 0.5.2
227
-
228
- - Let the model select lightweight Skill and App functions before Marona reveals one exact capability schema.
229
- - Keep local capability routing model-led without exposing the complete MCP catalog.
230
-
231
- ## 0.5.1
232
-
233
- - Keep the TypeScript release aligned with the unified runtime patch release.
234
-
235
- ## 0.5.0
236
-
237
- - Select managed, cloud, LiteLLM, Ollama, custom, or in-process models per request.
238
- - Keep one App, Skill, permission, approval, and MCP runtime across providers.
239
- - Export governed Hub tools for external agents and execute them through Marona.
240
- - Support text, image, and document input across provider adapters.
241
-
242
- ## 0.4.3
243
-
244
- - Keep local capability catalogs compact for small-context and on-device models.
245
- - Preserve App and Skill discovery without duplicating workflow metadata.
246
-
247
- ## 0.4.2
248
-
249
- - Use automatic capability discovery for the first turn across every model provider.
250
- - Preserve direct answers for ordinary requests while keeping Apps and Skills discoverable on demand.
251
-
252
- ## 0.4.1
253
-
254
- - Enforce selected Skill steps and approvals when the runtime uses a local model.
255
- - Preserve the same governed workflow across online, hybrid, and offline modes.
256
-
257
- ## 0.4.0
258
-
259
- - Use one typed `step()` API for reasoning, approval, and App Skill steps.
260
- - Replace raw Skill step objects with validated `SkillStep` values.
261
-
262
- ## 0.3.18
263
-
264
- - Let the model answer after a local capability call and execute identical calls only once per request.
265
-
266
- ## 0.3.17
267
-
268
- - Normalize multi-turn tool results across local model providers.
269
- - Discover exact App capabilities hierarchically instead of exposing every App schema.
270
-
271
- ## 0.3.16
272
-
273
- - Use one provider-neutral model runtime path instead of a separate local planner.
274
- - Replace discovered schemas on each discovery and hide Skill-managed MCP tools from raw App exposure.
275
-
276
- ## 0.3.15
277
-
278
- - Require local and custom models to discover installed apps before claiming stored data is unavailable.
279
-
280
- ## 0.3.14
281
-
282
- - Remove the unused local gateway option; installed signed targets are the only local execution source.
283
-
284
- ## 0.3.13
285
-
286
- - Execute only installed signed local targets and reject server deployment metadata in offline mode.
287
- - Keep synced private memory and conversation context available to local model execution.
288
-
289
- ## 0.3.12
290
-
291
- - Require authenticated state import before routing stateful offline apps.
292
-
293
- ## 0.3.11
294
-
295
- - Preserve standard top-level MCP result content in local responses.
296
-
297
- ## 0.3.10
298
-
299
- - Normalize local model planning output and execute app tools across model protocols.
300
-
301
- ## 0.3.9
302
-
303
- - Let hybrid local models fall back from an unavailable local app target to its remote target.
304
-
305
- ## 0.3.8
306
-
307
- - Added model-driven prompt planning for local models without native function calling.
308
- - Limited local tool schemas to capabilities selected by a Skill.
309
-
310
- ## 0.3.7
311
-
312
- - Allow an explicit online metadata refresh while keeping offline inference local.
313
-
314
- ## 0.3.6
315
-
316
- - Discover installed Apps and Skills lazily and load exact schemas only after selection.
317
-
318
- ## 0.3.5
319
-
320
- - Added model context and output limits with adaptive local request compaction.
321
-
322
- ## 0.3.4
323
-
324
- - Fit synced context and capability catalogs within small on-device model limits.
325
-
326
- ## 0.3.3
327
-
328
- - Added model-driven App and Skill discovery for scalable local execution.
329
- - Avoid sending every synced tool schema to local models on every request.
330
-
331
- ## 0.3.1
332
-
333
- - Added validated Skill capability governance to prevent workflow bypasses.
334
-
335
- ## 0.3.0
336
-
337
- - Added versioned Skill definitions and Hub publishing.
338
- - Sync published Skills with Apps for normal model-led discovery.
339
- - Added in-place runtime mode switching.
340
-
341
- ## 0.2.26
342
-
343
- - Supply sanitized conversation context to the same local model inference on every turn.
344
- - Remove the context-recall detour and deterministic tool-argument injection.
345
-
346
- ## 0.2.25
347
-
348
- - Let the model recall prior conversation context only when the current request needs it.
349
-
350
- ## 0.2.24
351
-
352
- - Let the configured model reason over all connected tools without deterministic pre-ranking.
353
- - Keep conversation and memory context passive unless the current request depends on it.
354
-
355
- ## 0.2.23
356
-
357
- - Synchronized package version metadata across all Marona clients.
358
-
359
- ## 0.2.22
360
-
361
- - Current user intent is authoritative; conversation context can no longer select an unrelated tool.
362
- - Added bounded `recent_tool_activity` for same-app follow-up identifiers across offline and hybrid modes.
363
-
364
- ## 0.2.21
365
-
366
- ## 0.2.19
367
-
368
- - Resolve offline MCP execution targets from synced metadata using standard local gateway or localhost routes.
369
-
370
- ## 0.2.18
371
-
372
- - Remove private repository metadata from the public package listing.
373
-
374
- ## 0.2.17
375
-
376
- - Update the public package description.
377
-
378
- ## 0.2.16
379
-
380
- - Shortened the `developer` role note to optional app behavior.
381
-
382
- ## 0.2.15
383
-
384
- - Clarified that the optional `developer` role controls app behavior, not model configuration.
385
-
386
- ## 0.2.13
387
-
388
- - Added developer instruction support for `Marona.client(...)` and message calls.
389
-
390
- ## 0.2.12
391
-
392
- - Prefer provider-reported model IDs when a placeholder or stale local model ID is supplied.
393
-
394
- ## 0.2.11
395
-
396
- - Added portable cache import/export for offline and hybrid clients.
397
- - Standardized private synced context packets for local model execution.
398
- - Redacted model provider secrets from exported cache snapshots.
399
-
400
- ## 0.2.10
401
-
402
- - Added `client({ input })` for text, image, and file input blocks.
403
- - Removed conversation IDs from the high-level client API and examples.
404
-
405
- ## 0.2.9
406
-
407
- - Reserved for the first high-level client input API draft.
408
-
409
- ## 0.2.8
410
-
411
- - Canonicalized app execution mode labels so Hybrid is displayed as one mode.
412
- - Refreshed the README with a complete end-to-end usage example.
413
-
414
- ## 0.2.7
415
-
416
- - Added standard execution mode helpers for Online, Hybrid, and Offline app availability labels.
417
-
418
- ## 0.2.6
419
-
420
- - Compact local MCP tool results before sending them back to local models for final answer synthesis.
421
- - Kept full structured MCP results available on `response.toolCall`.
422
- - Avoided resending tool schemas on local model follow-up calls.
423
-
424
- ## 0.2.5
425
-
426
- - Added safe local model and MCP response decoding for JSON, event-stream JSON, and non-JSON error bodies.
427
- - Kept local tool results as valid JSON for local model follow-up calls.
428
- - Removed internal runtime/model implementation details from public docs.
429
-
430
- ## 0.2.4
431
-
432
- - Replaced runtime route scanning with portable `execution_targets`.
433
- - Added private context caching for paired offline/hybrid sync.
434
- - Added standard `offline_not_installed` tool result for unresolved offline targets.
435
-
436
- ## 0.2.3
437
-
438
- - Added local MCP tool execution for offline/hybrid local model calls.
439
- - Added recent conversation context cache for offline continuity.
440
- - Added cache-backed Hub app connection in offline/hybrid mode.
441
-
442
- ## 0.2.2
443
-
444
- - Added true hybrid fallback from local model execution to Marona Runtime.
445
- - Documented hosted runtime routing with private/local runtime resources.
446
-
447
- ## 0.2.1
448
-
449
- - Documented standard interface names and custom interface slug rules.
450
- - Added `standardInterfaces` and `interfaceNamePattern`.
451
-
452
- ## 0.2.0
453
-
454
- - Added online, offline, and hybrid runtime modes.
455
- - Added model registration, local cache, and `response.text`.
456
- - Made `new Marona({ ... })` the only public runtime client surface.
457
-
458
- ## 0.1.1
459
-
460
- - Added client capability negotiation and generated UI response/event models.
461
- - Added Hub integration client with `Marona.hub.connect(...)`.
462
- - Refreshed package documentation with step-by-step install and usage examples.
463
-
464
- ## 0.1.0
465
-
466
- - Initial TypeScript client for Marona-compatible runtimes.
3
+ ## 1.0.0
4
+
5
+ - Breaking: require a Marona Developer Key for every client and runtime mode.
6
+ - Breaking: accept only project-scoped `marona/*` model aliases.
7
+ - Breaking: remove provider credentials, provider endpoints, direct execution,
8
+ local model executors, credential caching, and the public models client.
9
+ - Add typed provider-neutral gateway errors with request IDs, retry metadata,
10
+ required actions, and safe details.
11
+ - Route responses, agents, streaming, and realtime setup through Marona Runtime.
12
+ - Sanitize runtime responses so upstream provider details never escape.