@ouro.bot/cli 0.1.0-alpha.194 → 0.1.0-alpha.195

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.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
3
3
  "versions": [
4
+ {
5
+ "version": "0.1.0-alpha.195",
6
+ "changes": [
7
+ "fix: failover error message reads model from agent.json instead of stale secrets"
8
+ ]
9
+ },
4
10
  {
5
11
  "version": "0.1.0-alpha.194",
6
12
  "changes": [
@@ -555,8 +555,8 @@ async function handleInboundTurn(input) {
555
555
  if (typeof model === "string" && model)
556
556
  providerModels[p] = model;
557
557
  }
558
- /* v8 ignore next -- defensive: current provider always in secrets @preserve */
559
- const currentModel = providerModels[currentProvider] ?? "";
558
+ // Use agent.json model (source of truth), not secrets model (may be stale)
559
+ const currentModel = agentConfig.humanFacing.model;
560
560
  const failoverContext = (0, provider_failover_1.buildFailoverContext)(
561
561
  /* v8 ignore next -- defensive: error always set when errored @preserve */
562
562
  result.error?.message ?? "unknown error", classification, currentProvider, currentModel, agentName, inventory, providerModels);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.194",
3
+ "version": "0.1.0-alpha.195",
4
4
  "main": "dist/heart/daemon/ouro-entry.js",
5
5
  "bin": {
6
6
  "cli": "dist/heart/daemon/ouro-bot-entry.js",