4565 Commits

Author SHA1 Message Date
Diego Rodrigues de Sa e Souza
4f38167964 fix(catalog): surface imported models on no-auth providers in /api/v1/models (#3200) (#3463)
The custom-models loop in getUnifiedModelsResponse gated every model through hasEligibleConnectionForModel(getConnectionsForProvider(...)). no-auth providers (theoldllm, etc.) never create DB connection rows, so that returned [] and the gate dropped every imported/custom model for them — the Playground dropdown showed nothing for imported models while built-in/custom models on auth providers worked. Built-in models survived because they go through providerSupportsModel(), which already has a no-auth bypass (#2798).

The custom-model gate now applies the same no-auth bypass, keeping the eligibility check (with parentProviderType) intact for auth providers.

Co-authored-by: tjengbudi <tjengbudi@users.noreply.github.com>
Co-authored-by: a2belugin <a2belugin@users.noreply.github.com>
2026-06-08 22:53:22 -03:00
Diego Rodrigues de Sa e Souza
ff65652cdf fix(claude): respect client anthropic-beta instead of forcing thinking/effort betas (#3415) (#3458)
Claude Code -> claude-opus-4-8 turns intermittently died with 'tool call could not be parsed (retry also failed)'. OmniRoute's claude identity cloak rebuilt the anthropic-beta header from scratch and unconditionally forced interleaved-thinking-2025-05-14 (+ advanced-tool-use / effort for heavy agents), even when the client never negotiated them. The forced interleaved-thinking conflicts with tool_choice-forced turns, producing malformed opus tool_use streams (and sibling 400 'Thinking may not be enabled when tool_choice forces tool use').

selectBetaFlags now takes the client's inbound anthropic-beta: when present, thinking/effort betas are only emitted if the client requested them. Opaque clients (no header — the OAuth cloak path) keep the full set unchanged, so existing behavior and the #2454 model-tier gating are preserved.

Co-authored-by: Forcerecon <Forcerecon@users.noreply.github.com>
2026-06-08 20:59:38 -03:00
Diego Rodrigues de Sa e Souza
cc850122e3 fix(translator): strip function_call.id for Vertex AI provider (#3440) (#3457)
Vertex AI's FunctionCall/FunctionResponse protos have no id field; emitting it made Vertex reject tool calls with 400 'Unknown name id'. The id is now stripped only when the routed provider is vertex/vertex-partner (threaded via credentials._provider), preserving it for the public Gemini API where Gemini 3+ uses it for signature matching.

Co-authored-by: nullbytef0x <nullbytef0x@users.noreply.github.com>
2026-06-08 20:54:20 -03:00
sdfsdfw2
42887b65b2 feat: add connection pagination, health filter, batch delete confirmation, and custom banned keywords (#3454)
Integrated into release/v3.8.17
2026-06-08 20:41:06 -03:00
Paijo
1a98dfe8ed test(auto-combo): cover same-provider connection identity (#3378)
Integrated into release/v3.8.17
2026-06-08 19:10:40 -03:00
M.M
003e6a80b7 feat(plugin+api): auto combos + free model quota display + /api/combos/auto (#3435)
Integrated into release/v3.8.17
2026-06-08 19:08:17 -03:00
ViFigueiredo
617a648088 fix(translator): use non-empty reasoning_content placeholder on cache miss instead of empty string (#3433)
Integrated into release/v3.8.17
2026-06-08 19:04:36 -03:00
Hernan Javier Ardila Sanchez
1322411343 feat(opencode-plugin): per-prefix API format + debug logging + free-label normaliser (3 mrmm-fork backports) (#3420)
Integrated into release/v3.8.17
2026-06-08 18:51:22 -03:00
Ardem2025
da273d37e2 fix(stream): resolve index mismatch in textual tool-call slicing and deduplicate containsTextualToolCallMarker (#3413)
Integrated into release/v3.8.17
2026-06-08 18:50:53 -03:00
Hernan Javier Ardila Sanchez
dbd70ddd1f fix(catalog): make combos auto-compute context_length for any provider id form (#3417)
Integrated into release/v3.8.17
2026-06-08 18:50:21 -03:00
Xiangzhe
89a76d8c1c fix(stream): allow OpenAI usage-only empty choices chunks (#3422)
Integrated into release/v3.8.17
2026-06-08 18:50:05 -03:00
Paijo
a00366602b docs: close critical documentation gaps (ACP, router strategies, APIs, compression) (#3438)
Integrated into release/v3.8.17
2026-06-08 18:44:48 -03:00
Hernan Javier Ardila Sanchez
96e5ec9269 docs(opencode-plugin): lead with the why — make plugin the recommended path over @omniroute/opencode-provider (#3418)
Integrated into release/v3.8.17
2026-06-08 18:44:30 -03:00
Hernan Javier Ardila Sanchez
858b6742e8 fix(publish): remove onnxruntime CUDA binary from tarball to avoid 413 (#3437)
Integrated into release/v3.8.17
2026-06-08 18:44:13 -03:00
Benjamin
3c98e9f1ef fix: probe container bridge network IP in healthcheck (#3151) (#3434)
Integrated into release/v3.8.17
2026-06-08 18:43:50 -03:00
Paijo
2427df2f2c feat: add Gemini Business provider (Phase 2C of #3368) (#3436)
Integrated into release/v3.8.17
2026-06-08 18:43:30 -03:00
Paijo
07a81c8a40 feat: add LMArena provider (Phase 2A of #3368) (#3421)
Integrated into release/v3.8.17
2026-06-08 18:43:10 -03:00
Paijo
ea0c0d8499 feat: add ZenMux provider (Phase 2B of #3368) (#3429)
Integrated into release/v3.8.17
2026-06-08 18:42:50 -03:00
Nicolas Lorin
23f31faf38 fix claude-web and cleanup (#3449)
Integrated into release/v3.8.17
2026-06-08 18:42:31 -03:00
ReqX
1e4185edac fix(analytics): scope SQL named params per query context (#3446) (#3447)
Integrated into release/v3.8.17
2026-06-08 18:42:12 -03:00
Muhammad Nabil Muyassar Rahman
b3372e46c4 fix(command-code): revert chat endpoint to /alpha/generate and fix model sync discovery (#3432)
Integrated into release/v3.8.17
2026-06-08 18:41:52 -03:00
Dmitrii Safronov
fc437ddecd fix(sse): normalize provider ids to strings (#3427)
Integrated into release/v3.8.17
2026-06-08 18:41:33 -03:00
dependabot[bot]
70c6610fa8 deps: bump electron-builder from 26.14.0 to 26.15.2 in /electron (#3443)
Integrated into release/v3.8.17
2026-06-08 18:40:58 -03:00
dependabot[bot]
d3ff0b3bde deps: bump electron-updater from 6.8.8 to 6.8.9 in /electron (#3442)
Integrated into release/v3.8.17
2026-06-08 18:40:27 -03:00
dependabot[bot]
f01a0b0c6d deps: bump the development group with 4 updates (#3445)
Integrated into release/v3.8.17
2026-06-08 18:40:04 -03:00
dependabot[bot]
de2420a35c deps: bump the production group with 10 updates (#3444)
Integrated into release/v3.8.17
2026-06-08 18:40:00 -03:00
dependabot[bot]
eb8651780d deps: bump electron from 42.3.2 to 42.3.3 in /electron (#3441)
Integrated into release/v3.8.17
2026-06-08 18:39:52 -03:00
diegosouzapw
c0dcdcc12f chore(release): open v3.8.17 development cycle 2026-06-08 16:48:16 -03:00
diegosouzapw
ea9d22beda fix(docker): copy playwright from builder instead of npx fetch in runner-web
npx playwright falls back to a registry download when playwright is absent from
the slim runtime image's node_modules. On GitHub-hosted runners this download
fails with exit 127, breaking both amd64 and arm64 -web image builds.

Fix: COPY playwright and playwright-core from the builder stage and invoke
node node_modules/playwright/cli.js directly — no network access, same version,
and playwright remains available at runtime for web-session providers.
v3.8.16
2026-06-08 16:14:26 -03:00
Diego Rodrigues de Sa e Souza
60fc41f638 Release v3.8.16
Release v3.8.16
2026-06-08 15:14:18 -03:00
diegosouzapw
ac4fd7e078 chore(release): cover missing agentSkills TS-overload fix in CHANGELOG 2026-06-08 15:14:02 -03:00
diegosouzapw
85351bc63d chore(release): finalize v3.8.16 CHANGELOG — 2026-06-08 2026-06-08 14:44:24 -03:00
diegosouzapw
ed3c188881 fix(e2e): use .first() on Close button to avoid strict-mode violation (2 elements) 2026-06-08 13:37:00 -03:00
diegosouzapw
11bd96ec5c fix(e2e): dismiss import-models modal after adding connection (sync-models mock + close) 2026-06-08 13:12:37 -03:00
diegosouzapw
f112bc966f fix(e2e): wait for add-dialog close before clicking Edit (backdrop race) 2026-06-08 12:44:30 -03:00
diegosouzapw
b60839b90c ci(e2e): increase E2E shard timeout 30→45min for slow runners 2026-06-08 11:55:26 -03:00
diegosouzapw
717f56bf93 docs: update Codex CLI profile naming guidance
Update Codex CLI docs and configuration skill to use the v0.137+
profile file naming format: ~/.codex/<name>.config.toml instead of
the deprecated profile- prefix.

Clarify that missing profile files silently fall back to defaults, and
rename the setup workflow heading to match the config-codex-cli skill.
2026-06-08 10:47:04 -03:00
diegosouzapw
3ea416350e fix(tests+ci): update 42→43 skill count, fix E2E artifact path
- Unit/integration tests: update hardcoded 42→43 in 7 test files
  (agentSkillTools-mcp, agentSkills-catalog, agentSkills-generator,
  agent-skills-content, agent-skills-discovery, listCapabilities-a2a)
  to match the 43rd skill (config-codex-cli) added in the previous commit.
- Include CONFIG_SKILL_IDS in integration content test ALL_IDS so
  skills/config-codex-cli/ is no longer "unexpected".
- listCapabilities.ts: change totalSkills from literal 42 to catalog.length
  so it adapts to catalog growth automatically.
- computeCoverage assertions: include config.have in totalSkills check.
- CI: switch E2E artifact from upload-artifact path (ambiguous stripping)
  to explicit tar archive. Fixes "Could not find a production build in
  ./.build/next" — the previous approach's download path was double-nested
  (.build/next/next/...) due to upload-artifact LCA computation. tar -czf
  stores .build/next/... relative to CWD; tar -xzf restores them verbatim.
- Also exclude .build/next/cache from the tar to keep archive lean.
- feat(translator): strip client_metadata in Responses→Chat translation
  (Mistral 422 extra_forbidden fix); add regression test.
2026-06-08 10:41:00 -03:00
diegosouzapw
1012603a1b fix(ci+tests): fix E2E artifact (exclude 558MB standalone/node_modules, cp after download) and update skill count to 43 2026-06-08 10:13:24 -03:00
diegosouzapw
b480e6c916 fix(agentSkills): cast next-fetch opts to satisfy TypeScript overload check 2026-06-08 09:58:52 -03:00
diegosouzapw
6ec4ca3f67 ci: speed up e2e shards with build and browser cache
Upload the Next.js build from the build job and reuse it across E2E
shards to avoid rebuilding in each shard. Increase Playwright sharding
from 6 to 9, cache Chromium browsers, and lower the E2E timeout to match
the faster expected runtime.

Add a Codex CLI configuration skill for OmniRoute setup and ignore local
credential-bearing setup prompts.
2026-06-08 09:49:28 -03:00
diegosouzapw
b145e41a42 fix(tests): align test suite to post-#3355/#3366/#3399 behavior
- Remove 429 from PROVIDER_BREAKER_FAILURE_STATUSES; 429 belongs to
  connection cooldown, not whole-provider breaker (CLAUDE.md §resilience).
  PR #3366 correctly added 429 to PROVIDER_FAILURE_ERROR_CODES in
  accountFallback.ts (combo infinite-retry fix) but the parallel change
  to chat.ts was wrong — the integration test from v3.8.10 confirms this.

- Align stream-utils tests to PR #3399 (SYNTHETIC_CLAUDE_EMPTY_RESPONSE_TEXT
  → "", message.content → null) and PR #3355 (malformed tool-call buffer
  now emitted as plain text, not suppressed).

- Align services-branch-hardening test to PR #3399 (pinnedModel always
  null from applyComboAgentMiddleware; server-side session pinning replaced
  client-side <omniModel> tag extraction).

- Align combo-routing-engine context-cache tests to PR #3399 (no <omniModel>
  tag in output, no X-OmniRoute-Model header, priority routing unchanged).
2026-06-08 09:07:50 -03:00
diegosouzapw
e328e257d1 fix(docs+ui): add MDX frontmatter to Codex CLI guide, fix setState-in-effect lint
- docs/guides/CODEX-CLI-CONFIGURATION.md was missing the YAML frontmatter
  block required by fumadocs (title/version/lastUpdated), causing the
  production build to fail with "invalid frontmatter" MDX error.
- CodexCliGuideModal.tsx called setLoading/setError synchronously in a
  useEffect body, triggering the react-hooks/set-state-in-effect lint error.
  Refactored to an internal async function with an `cancelled` guard to
  prevent state updates on unmounted components.
2026-06-08 08:37:51 -03:00
Diego Rodrigues de Sa e Souza
67d79f6c44 fix(sanitizer+stream): tighten textual tool-call detection, flush partial buffer (#3355) (#3410) 2026-06-08 02:14:08 -03:00
Diego Rodrigues de Sa e Souza
e0615a8194 fix(executor): strip trailing assistant text for Mistral (user-last required) (#3396) (#3409) 2026-06-08 02:09:20 -03:00
Diego Rodrigues de Sa e Souza
f688d1150f fix(mitm): getMitmStatus stub returns graceful status in Docker (#3390) (#3408) 2026-06-08 02:05:44 -03:00
diegosouzapw
fd6a2a7f95 docs: add Codex CLI configuration guide for OmniRoute
Add a comprehensive guide for configuring Codex CLI to use OmniRoute as an OpenAI-compatible backend.

Document ready-to-use config examples, Responses API routing behavior, context window settings, token limits, model profiles, and troubleshooting guidance to help users avoid direct-provider compatibility issues.
2026-06-08 01:59:01 -03:00
Paijo
ecdd5a36eb feat: add REST API for session pool health (dashboard interface) (#3404)
Integrated into release/v3.8.16
2026-06-08 01:25:38 -03:00
Paijo
71f6e8d312 feat: add bulk web-session credential import endpoint (#3403)
Integrated into release/v3.8.16
2026-06-08 01:24:27 -03:00
Diego Rodrigues de Sa e Souza
c9663d4f84 fix(sse): eliminate race window in usageTokenBuffer settings update (#3405)
Integrated into release/v3.8.16
2026-06-08 01:23:37 -03:00