OmniRoute/scripts
Diego Rodrigues de Sa e Souza b100325fe0
Some checks failed
CI / Lint (push) Has been cancelled
CI / Build language matrix (push) Has been cancelled
CI / Security Audit (push) Has been cancelled
CI / Build (push) Has been cancelled
CI / Build-1 (push) Has been cancelled
Publish to Docker Hub / Build and Push Docker (multi-arch) (push) Has been cancelled
CI / Coverage (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
CI / Integration Tests (push) Has been cancelled
CI / Security Tests (push) Has been cancelled
CI / i18n Validation (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Unit Tests-1 (push) Has been cancelled
CI / CI Dashboard (push) Has been cancelled
chore(release): v3.5.2 — Qoder DashScope Native Integration & Stability (#999)
* feat(qoder): native cosy integration

* feat(qoder): implement native COSY encryption algorithm and remove CLI child instances, plus workflow bumps

* feat(resilience): context overflow fallback, OAuth token detection, empty content guard & context-optimized combo strategy

- Add isContextOverflowError + isContextOverflow detectors (400 + token-limit signals)
- Auto-fallback to next family model on context overflow in chatCore
- Add isEmptyContentResponse to catch fake-success empty responses, trigger fallback + recursive retry
- Add OAUTH_INVALID_TOKEN error type (T11) with isOAuthInvalidToken signal matching; warn instead of deactivating node
- Add getModelContextLimit helper in modelsDevSync (reads limit_context from synced capabilities)
- Upgrade getTokenLimit in contextManager to check models.dev DB before registry (fixes gemini-2.5-pro: 1000000→1048576)
- Add findLargerContextModel in modelFamilyFallback for context-aware model selection
- Add sortModelsByContextSize + context-optimized combo strategy in combo.ts
- Update context-manager unit test for corrected gemini-2.5-pro limit

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(review): address Gemini code review — tool_calls path, infinite recursion, dedup signals, findLargerContextModel

- Fix isEmptyContentResponse: check message.tool_calls/delta.tool_calls instead
  of firstChoice.tool_calls (wrong OpenAI API path, caused tool-call responses
  to be falsely flagged as empty)
- Fix empty content fallback: replace recursive handleChatCore call (infinite
  recursion risk + wrong model due to original body.model) with non-recursive
  pattern — call executeProviderRequest, parse fallback response body, reassign
  responseBody and fall through to existing processing
- Fix context overflow: use findLargerContextModel over family candidates first,
  fall back to getNextFamilyFallback — ensures we pick a model with actually
  larger context window on overflow
- Fix signal dedup: export CONTEXT_OVERFLOW_SIGNALS + CONTEXT_OVERFLOW_REGEX
  from errorClassifier.ts; import shared regex in modelFamilyFallback.ts,
  removing duplicate signal list and per-call RegExp construction

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(UI): add context-optimized strategy to frontend schema and options

* fix(sse): preserve Responses API events in stream translation

When translating Claude-format responses (e.g. GLM) to Responses API
format for Codex CLI, the sanitizer stripped {event, data} structured
items to {"object":"chat.completion.chunk"}, losing all content and
the critical response.completed event.

Only run sanitizeStreamingChunk on OpenAI Chat Completions chunks,
skipping items that have the Responses API {event, data} structure.

* test(sse): add regression test for Claude→Responses stream sanitization

Verifies that {event,data} structured items from the Responses API
translator bypass sanitizeStreamingChunk when translating Claude-format
providers (e.g. GLM) to Responses API format for Codex CLI.

* fix(sse): strengthen Responses API event detection with response. prefix check

Use explicit `response.` prefix check instead of generic `event && data`
presence check, as recommended in PR review.

* fix: pin Next.js to 16.0.10 to prevent Turbopack hashed module bug

Remove ^ prefix from next and eslint-config-next to prevent
automatic upgrades to 16.1.x+ which introduced content-based
hashing for external module references in Turbopack.

Also remove duplicate Material Symbols @import from globals.css
(font already loaded via <link> in layout.tsx).

Fixes #509

* align cc-compatible cache handling with client passthrough

* chore: integrate resilience and turbopack fixes (PRs #992, #990, #987)

* chore(release): bump to v3.5.2 — changelog, docs, version sync

* docs(i18n): sync documentation updates to 33 languages

* fix(qoder): replace any with unknown to comply with strict any-budget

---------

Co-authored-by: diegosouzapw <diegosouzapw@users.noreply.github.com>
Co-authored-by: oyi77 <oyi77@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Chris Staley <christopher-s@users.noreply.github.com>
Co-authored-by: Ivan <shanin-i2011@yandex.ru>
Co-authored-by: R.D. <rogerproself@gmail.com>
2026-04-05 02:54:44 -03:00
..
i18n chore(release): v3.4.8 — security compliance and fix algorithms 2026-04-03 00:15:35 -03:00
bootstrap-env.mjs feat: migrate iFlow provider to Qoder AI (#660) 2026-03-28 23:35:59 -03:00
build-next-isolated.mjs chore: merge PRs #581, #582 + local improvements for rc16 2026-03-24 13:32:05 -03:00
check-cycles.mjs feat: add MCP server, A2A protocol, auto-combo engine & VS Code extension 2026-03-04 18:45:02 -03:00
check-docs-sync.mjs chore(3.0.0-rc.1): bump version to 3.0.0-rc.1, close resolved issues, update CHANGELOG 2026-03-22 12:25:30 -03:00
check-route-validation.mjs chore(release): v3.4.8 — security compliance and fix algorithms 2026-04-03 00:15:35 -03:00
check-t11-any-budget.mjs build(lint): fix false-positive any matching in comments and add t11 validator to husky pre-commit hook 2026-04-03 03:42:02 -03:00
check_translations.py Add check_translations and validate_translations scripts 2026-03-27 01:05:40 +01:00
healthcheck.mjs fix(docker): use /api/monitoring/health for healthcheck (#296) 2026-03-10 23:57:17 -03:00
i18n_autotranslate.py Fix merge conflicts 2026-03-29 11:26:17 -03:00
migrate-env.mjs chore: rollback to 3.4.1, add env migration script, restore debug menu, and consolidate orphaned a2a/mcp routes 2026-03-31 16:14:47 -03:00
native-binary-compat.mjs chore: rollback to 3.4.1, add env migration script, restore debug menu, and consolidate orphaned a2a/mcp routes 2026-03-31 16:14:47 -03:00
postinstall.mjs fix(install/v2.6.10): Windows better-sqlite3 prebuilt download (#426) 2026-03-17 10:09:45 -03:00
prepare-electron-standalone.mjs chore(electron): add contextual staging errors 2026-03-15 12:33:16 +02:00
prepublish.mjs chore(release): v3.5.2 — Qoder DashScope Native Integration & Stability (#999) 2026-04-05 02:54:44 -03:00
run-ecosystem-tests.mjs feat: add MCP server, A2A protocol, auto-combo engine & VS Code extension 2026-03-04 18:45:02 -03:00
run-next-playwright.mjs feat: add MCP server, A2A protocol, auto-combo engine & VS Code extension 2026-03-04 18:45:02 -03:00
run-next.mjs feat(dashboard,sse,api): per-model upstream headers, compat PATCH, chat alignment 2026-03-24 17:24:11 +08:00
run-playwright-tests.mjs feat: add MCP server, A2A protocol, auto-combo engine & VS Code extension 2026-03-04 18:45:02 -03:00
run-protocol-clients-tests.mjs chore(release): v3.4.8 — security compliance and fix algorithms 2026-04-03 00:15:35 -03:00
run-standalone.mjs feat(dashboard,sse,api): per-model upstream headers, compat PATCH, chat alignment 2026-03-24 17:24:11 +08:00
runtime-env.mjs feat(dashboard,sse,api): per-model upstream headers, compat PATCH, chat alignment 2026-03-24 17:24:11 +08:00
system-info.mjs feat: migrate iFlow provider to Qoder AI (#660) 2026-03-28 23:35:59 -03:00
validate_translation.py Merge PR #912 (I18N String improvements) 2026-04-02 14:40:01 -03:00