@robota-sdk/agent-core 3.0.0-beta.75 → 3.0.0-beta.77

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,26 @@
1
1
  # @robota-sdk/agent-core
2
2
 
3
+ ## 3.0.0-beta.77
4
+
5
+ ### Patch Changes
6
+
7
+ - Coordinated beta.77 release. Runtime hardening across the session/execution/subagent stack
8
+ (CORE-019..024: compaction-failure contract, strict execution error propagation, plugin/timer
9
+ disposal, process-tree kill via the new `@robota-sdk/agent-process`, scheduler & IPC integrity),
10
+ TUI shutdown/channel hygiene (CLI-075: listener unwiring, permission-queue drain, timeout-bounded
11
+ graceful shutdown, second-signal force-quit), and agent-cli decoupled from the unpublished
12
+ DAG/workflow chain so the published CLI installs cleanly (CLI-077). First publish of
13
+ `@robota-sdk/agent-process`.
14
+
15
+ ## 3.0.0-beta.76
16
+
17
+ ### Patch Changes
18
+
19
+ - DQ-AUDIT-002 — consolidate duplicated domain data onto single owners: one model-pricing SSOT in agent-core (`MODEL_PRICES`/`lookupModelPrice`/`calculateModelCost`/`estimateBlendedCostPer1000`) consumed by agent-command and agent-plugin (drops two embedded/stale price tables); the `len/4` token estimator replaced by core `CONTEXT_ESTIMATE_CHARS_PER_TOKEN`; TUI `TContextState` derived from core `IContextWindowState`; dead pass-through re-exports removed from agent-session.
20
+ - DQ-AUDIT-006 — error/observability hygiene: replace raw `throw new Error()` on core-service and provider hot paths with typed `RobotaError` subclasses (`ConfigurationError`/`ValidationError`) so error-handling can branch on category/recoverable; surface fire-and-forget hook failures via `logger.warn` instead of silent `.catch(() => {})`; wire the error-handling plugin's `totalRetries`/`successfulRecoveries` stats to real counters.
21
+ - DQ-AUDIT-007 — remove the silent `model || 'gpt-4o-mini'` default in the OpenAI streaming handler (a missing model now throws `ConfigurationError` instead of substituting a vendor default); document `IAIProvider`'s universal (`chat`) vs raw (`generateResponse`) dual surface as intentional in the agent-core SPEC.
22
+ - 576af62: Fix `ConfigurationError: Agent must be fully initialized before changing model configuration` when running `/preset` (or any live model re-apply) on a fresh interactive session before the first message. The Robota agent initialized lazily on the first `run()`, but `setModel` requires full initialization. `Session.applyModelOptions` now awaits the new idempotent `Robota.ensureReady()` before `setModel`, and the preset live-switch path (`applyPresetToSession` → `executePresetCommand`) is async end-to-end. Adds a real cold-session regression test (no mocked Robota).
23
+
3
24
  ## 3.0.0-beta.75
4
25
 
5
26
  ### Patch Changes