1536 Commits

Author SHA1 Message Date
Lenine Júnior
5d8f265192 feat(dashboard): bulk activate/deactivate/retest for selected provider connections (#3271)
Bulk activate/deactivate/retest for selected provider connections.

Integrated into release/v3.8.12. Thanks @leninejunior.
2026-06-06 02:33:17 -03:00
Felipe Almeman
6674f6a4f2 fix(db): detect SQLite driver-unavailable errors to avoid destructive rename (#3274)
Detect SQLite driver-unavailable errors to avoid destructive DB rename + optional FTS5 migration guard (split from #3073).

Integrated into release/v3.8.12. Thanks @zhiru.
2026-06-06 02:15:17 -03:00
Diego Rodrigues de Sa e Souza
2ad2bcb13f fix(embeddings): block cross-dimension failover in embedding combos (#3256)
Block cross-dimension failover in embedding combos.

Integrated into release/v3.8.12.
2026-06-06 02:07:06 -03:00
Wilson
07d9010668 fix(v1/responses): skip codex rewrite for combo names (#3233, #3227) (#3268)
Regression test for the /v1/responses combo-name codex-rewrite guard (#3233, #3227).

Integrated into release/v3.8.12. Thanks @wilsonicdev.
2026-06-06 00:39:57 -03:00
Paijo
2db8de8232 feat(provider): add Chipotle Pepper AI — free provider via reverse-engineered Amelia protocol (#3250)
Add Chipotle Pepper AI free provider (Amelia protocol); sanitize executor error body (#12).

Integrated into release/v3.8.12. Thanks @oyi77.
2026-06-06 00:27:41 -03:00
Thiago Reis
583bceb53d fix(providers): improve refresh validation and model catalog UI (#3261)
Provider refresh/validation, OpenRouter catalog and proxy UI fixes — incl. NVIDIA NIM /models-suffix path fix (real-VPS validated).

Integrated into release/v3.8.12. Thanks @strangersp.
2026-06-06 00:26:40 -03:00
Paijo
e364764dc7 feat(web-cookie): add tool-call translation to 8 executors via shared webTools helpers (#3259)
Add tool-call translation to 8 web-cookie executors via shared webTools helpers.

Integrated into release/v3.8.12. Thanks @oyi77.
2026-06-06 00:22:27 -03:00
Wilson
925d838d3b fix(grok-web): add TLS fingerprint impersonation to bypass Cloudflare anti-bot (#3180) (#3249)
grok-web: TLS fingerprint impersonation to bypass Cloudflare anti-bot (#3180); sanitize executor error bodies (#12).

Integrated into release/v3.8.12. Thanks @wilsonicdev.
2026-06-06 00:20:51 -03:00
MikeTuev
c2520bf5b7 fix(sse): strip every <omniModel> tag, not just the first (#454) (#3248)
Strip ALL <omniModel> tags before forwarding to provider (global regex variant).

Integrated into release/v3.8.12. Thanks @MikeTuev.
2026-06-05 21:21:40 -03:00
diegosouzapw
c2d46776fd fix(security): clear CodeQL high alerts surfaced on the v3.8.11 release PR diff
CodeQL flagged 7 high alerts in code the cycle touched (the large release-PR diff
re-surfaces them). Resolved at the source — no dismissals:

- fix(images): resolveImageBaseUrl trimmed trailing slashes with `/\/+$/`, a
  polynomial-ReDoS pattern (js/polynomial-redos) on the configured node base URL.
  Replace it with a non-backtracking endsWith/slice loop.
- test(oauth): pin the Anthropic OAuth host with exact-equality asserts and a
  parsed-hostname negative check instead of substring `.includes()`
  (js/incomplete-url-substring-sanitization). The exact-equality assertions were
  already present, so coverage is unchanged.
- test(images): drop the redundant `!includes("generativelanguage.googleapis.com")`
  assert — the exact-equality assert on the resolved URL already guarantees it.
2026-06-05 16:48:13 -03:00
diegosouzapw
75bccccbef chore(release): finalize v3.8.11 changelog + repair release-gate test drift
Finalize the 3.8.11 cycle CHANGELOG and clear the failures the full test:unit
gate surfaced (release-branch drift — PR merges bypassed pre-push):

- CHANGELOG: date the [3.8.11] section (2026-06-05) + repo-housekeeping roll-up
- docs(env): document THEOLDLLM_NAV_TIMEOUT_MS in .env.example + ENVIRONMENT.md
  (env-doc-sync gate; #3217 added the var without docs)
- test(nvidia): exercise the #3226 bypass-fetch path via a local HTTP server and
  hoist the validator import (patching globalThis.fetch no longer intercepts the
  un-patched native fetch captured by proxyFetch)
- test(i18n): import the shipped normalizeComplianceEventTypes helper (#3185)
- test(model-caps): save synced metadata under the canonical gemini-3.1-pro key
  now that #3229 aliases gemini-3.1-pro-high/-low to it
- test(web-session): expect the grok-web "sso + sso-rw" credential hint (#3180)
- test(synced-models): isolate DATA_DIR so the #3199 hidden-override stops
  bleeding into the shared DB and breaking the re-run precondition
2026-06-05 15:38:06 -03:00
Diego Rodrigues de Sa e Souza
62e6336aad fix(antigravity): alias agy gemini-3.1-pro -high/-low + stop masking upstream 4xx (#3229) (#3245)
agy's gemini-3.1-pro-high/-low had no alias, so resolveAntigravityModelId sent the
speculative -high/-low suffix verbatim to upstream, which rejects it (400) for
gemini-3.x. Worse, the non-stream executor branch fed the 4xx response into the SSE
collector, returning a synthetic empty {object:chat.completion} envelope that masked
the error. Alias both to gemini-3.1-pro, and surface real upstream errors via
buildErrorBody for non-ok non-stream responses. + unit tests.
2026-06-05 14:20:05 -03:00
Diego Rodrigues de Sa e Souza
cf7f684bd8 fix(api): don't force combo names to codex/ on /v1/responses (#3227, #3233) (#3244)
The Codex CLI WS->HTTP fallback rewrite (resolveResponsesApiModel) prefixes a
bare model id with codex/ whenever codex/<id> resolves to codex. Codex accepts
arbitrary model strings, so a combo name with no slash (e.g. n8n-text,
paid-premium) was rewritten to codex/<combo> and sent to Codex instead of being
resolved as a combo — regressing combos via /v1/responses in v3.8.9+. Skip the
rewrite when the bare id is a combo (getComboByName). + unit test.
2026-06-05 14:16:10 -03:00
Wilson
b413774bdf fix(gemini): refresh AI Studio model fallback (#3241)
Refresh Gemini AI Studio static model fallback to current 3.x/2.5 models (closes #3231).

Integrated into release/v3.8.11. Thanks @wilsonicdev.
2026-06-05 14:13:05 -03:00
Wilson
c222143071 fix(cli): show OpenCode Free in Hermes Agent picker (#3240)
Show OpenCode Free in the Hermes Agent model picker via alwaysIncludeProviders.

Integrated into release/v3.8.11. Thanks @wilsonicdev.
2026-06-05 13:12:52 -03:00
Wilson
5ec8fa222a fix(usage): route agy quota through antigravity (#3232)
Route agy quota through the Antigravity usage implementation (closes #3230).

Integrated into release/v3.8.11. Thanks @wilsonicdev.
2026-06-05 13:12:40 -03:00
Felipe Almeman
2942ba874e Feat/codex device flow (#3195)
Codex public device-flow connect link (ticket-gated) + dashboard CTA. Integrated into release/v3.8.11.
2026-06-05 12:06:35 -03:00
MeAdityaB
4dbbbaacf1 fix: NVIDIA NIM API key validation timeout (bypass proxy fetch patch) (#3226)
NVIDIA NIM validation bypasses the proxy-patched fetch (504 fix) + combined with #3116 reliable probe model + test. Integrated into release/v3.8.11.
2026-06-05 11:52:27 -03:00
ipanghu
dfcaeba6d9 fix(sse): refine kimi thinking handling and add unit tests (#3191)
Refine Kimi thinking handling (reasoning_content for tool-call turns) + tests. Integrated into release/v3.8.11.
2026-06-05 11:48:03 -03:00
Paijo
5179b16596 feat(provider): add The Old LLM (theoldllm) — free Playwright-backed provider (#3217)
Add The Old LLM (theoldllm) free browser-backed provider. Integrated into release/v3.8.11.
2026-06-05 11:45:24 -03:00
Diego Rodrigues de Sa e Souza
b4d5610d86 fix(dashboard): correct misleading provider credential hints (#3180, #3091) (#3224)
- grok-web: the credential hint named only "sso" while Grok needs both "sso"
  and "sso-rw"; users pasted just sso and hit anti-bot 403s. Name both
  (credentialName + placeholder). The underlying Cloudflare anti-bot 403 is
  upstream and tracked separately on #3180.
- vertex: the Service Account JSON placeholder was an untranslated stub literal
  ("Vertex Service Account Placeholder") in 40 locales, making the field look
  broken even though SA-JSON auth is fully supported. Replace with real
  instructional text (zh localized; pt-BR already translated).

Guard test pins both hints.
2026-06-05 10:20:38 -03:00
Diego Rodrigues de Sa e Souza
e0c6fb9f8c fix(providers): use a reliable NVIDIA validation probe model (#3116) (#3223)
The NVIDIA key-validation chat probe used models[0] (z-ai/glm-5.1), which
requires the 'Public API Endpoints' account permission and has DEGRADED
windows. Accounts lacking that permission see the probe hang until the
validation timeout, surfacing as a misleading 'Upstream Error' on a valid key.
Probe the universally-available meta/llama-3.1-8b-instruct instead, still
overridable via providerSpecificData.validationModelId. + unit test.
2026-06-05 10:17:40 -03:00
Diego Rodrigues de Sa e Souza
5a2e93d20a fix(dashboard): show friendly provider name (not UUID) in home topology (#3198) (#3222)
getProviderConfig falls back to { name: providerId } for unknown ids, so the
label precedence config.name || p.name let the raw internal UUID of a custom
provider shadow the friendly name HomePageClient already resolved into p.name.
Extract resolveTopologyNodeLabel (entry name first) + unit test.
2026-06-05 10:14:06 -03:00
Diego Rodrigues de Sa e Souza
ec4f8c4d42 feat(api): combo/alias resolution + OpenAI-compatible edits for image routes (#3214, #3215) (#3219)
Image routes now resolve a requested model the same way across /v1/images/generations
and /v1/images/edits, via a shared resolver: built-in id -> custom provider prefix ->
bare combo/alias name (e.g. "image" -> its single image target). Previously a bare
combo name fell through to "Invalid image model".

/v1/images/edits gains two capabilities for custom OpenAI-compatible providers:
- multipart edit forwarding to the node's {base_url}/images/edits (was hard-rejected
  unless chatgpt-web);
- JSON/data-URL edit input (images:[{image_url:"data:..."}]), converted to the same
  fields the multipart reader produces (was "Invalid multipart body").

The chatgpt-web conversation-continuation edit flow is unchanged.
2026-06-05 09:37:32 -03:00
Diego Rodrigues de Sa e Souza
c116bfbc7f fix(db): open import-validation DB via resilient driver factory (#3025) (#3218)
The db-backups import route statically imported better-sqlite3, which is
stripped from the Next standalone server's node_modules in the packaged
Electron app. Loading the route then crashed with "Cannot find module
'better-sqlite3'" on the Windows installer, even though node:sqlite was
available. Route the upload integrity-check through openDatabaseAsync
(better-sqlite3 -> node:sqlite -> sql.js), matching every other DB path.

Adds a guard test so no API route can reintroduce a direct native import.
2026-06-05 09:23:17 -03:00
Diego Rodrigues de Sa e Souza
6fe7c6b5b1 fix(provider-models): keep a deleted synced model deleted across re-fetch (#3199) (#3212)
Follow-up to #3204: deleting a synced (fetched) model removed it from the
synced set, but the DELETE route didn't mark it hidden and the re-import path
didn't skip hidden ids, so the next auto-fetch re-added it. Now the route
marks the id hidden on delete and replaceSyncedAvailableModelsForConnection
filters hidden ids, so the deletion sticks.

Co-authored-by: tjengbudi <tjengbudi@users.noreply.github.com>
2026-06-05 02:56:03 -03:00
Diego Rodrigues de Sa e Souza
143fb2ace4 fix(llama-cpp): fall back to local default base URL when none is set (#3197) (#3210)
Residual of #3136: a local connection with an empty baseUrl still resolved
to this.config.baseUrl (OpenAI). Fall back to the provider's localDefault
(127.0.0.1:8080/v1) before the OpenAI default for the local-provider group.

Co-authored-by: tjengbudi <tjengbudi@users.noreply.github.com>
2026-06-05 02:51:01 -03:00
Diego Rodrigues de Sa e Souza
9032a5a4ab fix(docker): healthcheck tries 127.0.0.1/localhost/::1 and surfaces errors (#3151) (#3209)
The healthcheck probed only 127.0.0.1 and swallowed every error (empty
Output), so containers binding to a non-loopback address always reported
unhealthy with no diagnostic. Add a multi-host probe helper that succeeds on
the first 2xx and prints the last error to stderr on total failure.

Co-authored-by: naimo84 <naimo84@users.noreply.github.com>
2026-06-05 02:50:57 -03:00
Diego Rodrigues de Sa e Souza
fa0aa1e25d fix(images): use provider node base_url + resolve prefix for custom image providers (#3205) (#3208)
The image-generation handler read credentials.baseUrl (always undefined),
so custom OpenAI-compatible image providers fell back to the Gemini endpoint
(401). Resolve from providerSpecificData.baseUrl like the chat path, and
rewrite prefix/model to the internal node id before the exact-id lookup.

Co-authored-by: ngocquynh85 <ngocquynh85@users.noreply.github.com>
2026-06-05 02:50:54 -03:00
Diego Rodrigues de Sa e Souza
9bc2c89924 fix(openrouter): report true upstream context_length for passthrough models (#3202) (#3207)
normalizeDiscoveredModels only copied record.inputTokenLimit, but OpenRouter
returns the window as context_length / top_provider.context_length, so every
synced model fell back to the 128K default. Read context_length (and
top_provider.max_completion_tokens for output) as a fallback.

Co-authored-by: pulyankote <pulyankote@users.noreply.github.com>
2026-06-05 02:50:51 -03:00
Diego Rodrigues de Sa e Souza
d3422c1c4d test(combo): guard same-provider cascade is short-circuited by connection cooldown (#3200) (#3194)
Integrated into release/v3.8.11
2026-06-05 02:50:32 -03:00
Wilson
005ee10a1e fix(oauth): use api.anthropic.com for Claude token exchange to avoid Cloudflare bot block on VPS (#3203)
Integrated into release/v3.8.11
2026-06-05 02:47:42 -03:00
Wilson
7b4bda13b1 fix(models): allow deleting synced/fetched models (e.g. llamacpp) via DELETE /api/provider-models (#3204)
Integrated into release/v3.8.11
2026-06-05 02:44:38 -03:00
‍juandisay
0ea925ac20 feat: validate client IDs against resolvePublicCred to correctly toggle OAuth redirect URI overrides (#3206)
Integrated into release/v3.8.11
2026-06-05 02:41:42 -03:00
PizzaV
de5c842301 feat(proxy): auto-fallback proxy selection when validation fails (#3171)
Integrated into release/v3.8.11
2026-06-05 01:57:40 -03:00
PizzaV
d8363a51f2 feat(proxy): per-key proxy toggle backend with DB schema (#3170)
Integrated into release/v3.8.11
2026-06-05 01:14:49 -03:00
Xiangzhe
4a5e123bad fix(auth): honor REQUIRE_API_KEY feature flag (#3188)
Integrated into release/v3.8.11
2026-06-05 00:53:27 -03:00
Wilson
ccc4425744 fix(auto-combo): include no-auth OpenCode Free (#3189)
Integrated into release/v3.8.11
2026-06-05 00:50:08 -03:00
Diego Rodrigues de Sa e Souza
ee62c4c38b refactor(build): single-source sidecar list + drop redundant Dockerfile COPYs (#3187)
Integrated into release/v3.8.11
2026-06-05 00:48:28 -03:00
Felipe Almeman
a7494e415e Fix/codex import auth (#3185)
Integrated into release/v3.8.11
2026-06-05 00:47:35 -03:00
Diego Rodrigues de Sa e Souza
c27a32d432 fix(security/quality): clear CodeQL high + SonarCloud reliability gate for v3.8.10 (#3186)
v3.8.10 hardening: clear CodeQL high (URL substring → hostname) + SonarCloud reliability (remove dead BARE_PRO_IDS).
2026-06-04 20:12:33 -03:00
Diego Rodrigues de Sa e Souza
68d5a0ab27 Release v3.8.10 (#3140)
* chore(release): open v3.8.10 development cycle

Bump 3.8.9 → 3.8.10 across package.json, lockfile, electron, open-sse, and
docs/reference/openapi.yaml; add the [3.8.10] CHANGELOG section (root + 41 i18n
mirrors) as the integration target for the cycle. Entries land here as work
merges into release/v3.8.10; finalized by the release flow.

* fix(providers): resolve web provider alias collisions

Assign unique aliases to HuggingChat, Kimi Web, and Qwen Web so they no longer shadow primary providers or trigger startup warnings.

Add a unit test to enforce provider alias uniqueness and prevent future collisions. Also expand local ignore and VS Code exclude rules for agent, build, and worktree artifacts.

* fix(responses): normalize image_url parts across input paths (#3150)

Normalize image_url parts across all Responses input paths. Integrated into release/v3.8.10.

* fix(api-manager): preserve API key expiration local time (#3146)

Preserve API key expiration local time + clear button. Integrated into release/v3.8.10.

* Strip previous_response_id for stateless Responses upstreams (#3143)

Strip previous_response_id for stateless Responses upstreams (auto/strip/preserve). Integrated into release/v3.8.10.

* fix(opencode-plugin): map thinking cap to interleaved in model+combo (#3138)

Map caps.thinking to ModelV2.capabilities.interleaved for opencode-plugin. Integrated into release/v3.8.10.

* fix(providers): use synced models as fallback for all providers (#3148)

Use synced models as authoritative local catalog for all providers (+regression test). Integrated into release/v3.8.10.

* fix(qoder): bifurcate validation by token type — PAT→Cosy, regular API key→dashscope (#3149)

Bifurcate Qoder validation by token type (PAT→Cosy, regular→dashscope) +regression test. Integrated into release/v3.8.10.

* fix(antigravity): dynamic model resolution via MITM alias table (#3144)

Dynamic antigravity MITM model resolution in the executor (+bug fix +regression test; DB import dropped from client-reachable config). Integrated into release/v3.8.10.

* Feature/batch allow big (#3128)

Podman deployment options + larger upload body-size limits (+CONTAINER_HOST docs). Integrated into release/v3.8.10.

* fix(fireworks): preserve fully-qualified router/model IDs (#3133) (#3160)

Fireworks router IDs (accounts/fireworks/routers/...) were double-prefixed
with accounts/fireworks/models/ → upstream 404. Add optional
acceptedModelIdPrefixes to the registry entry and skip the prepend when the
model already starts with an accepted prefix.

Co-authored-by: KooshaPari <KooshaPari@users.noreply.github.com>

* fix(llama-cpp): route to configured local baseUrl instead of OpenAI (#3136) (#3161)

llama-cpp was missing from the local-provider group in buildUrl(), so it
fell through to the OpenAI baseUrl and returned an OpenAI 401. Add the
case to resolve the connection's providerSpecificData.baseUrl.

Co-authored-by: tjengbudi <tjengbudi@users.noreply.github.com>

* fix(t3-chat-web): parse cookies + convexSessionId from stored credential (#3007) (#3162)

The executor read credentials.cookies/convexSessionId, but the pipeline
only stores the pasted string under apiKey → t3.chat always 400'd. Parse
both values from apiKey (fallback accessToken), mirroring validation.ts.

Co-authored-by: minhtran162 <minhtran162@users.noreply.github.com>

* fix(minimax): stop capping MiniMax-M3 / M2.7 max_tokens at 8192 (#3141) (#3163)

MiniMax-M3 had no MODEL_SPECS entry and capitalized MiniMax-M2.7 missed
its lowercase spec (case-sensitive lookup) → both fell to the 8192 default
cap. Add the M3 spec (512K output), alias the capitalized ids, and make
getModelSpec lookups case-insensitive.

Co-authored-by: totaltube <totaltube@users.noreply.github.com>

* fix(github-copilot): discover model catalog live from api.githubcopilot.com (#3120, #3121) (#3164)

The github (Copilot) provider had a static hardcoded catalog with no
discovery source, so Import Models never refreshed (#3120) and advertised
non-entitled models that 400 on use (#3121). Add a live /models fetch with
fallback to the static list.

Co-authored-by: gabrielmoreira <gabrielmoreira@users.noreply.github.com>

* fix(combo): invalidate nested-combo cache on edits + log DATA_DIR (#3147) (#3165)

Editing a combo did not invalidate the 10s nested-combo expansion caches
(chat.ts getCombosCachedForChat + chatCore.ts getCombosCached; the exported
clearCombosCache was dead code), so a removed nested target/model could be
served as a phantom for up to 10s. Wire a shared monotonic combos-cache
version in readCache (bumped by invalidateDbCache("combos") on every combo
write); both cache layers treat a version mismatch as a miss.

Also log the resolved DATA_DIR/SQLITE_FILE absolute path at DB init so the
reporter's 'persists across restart + volume wipe' symptom (a multi-replica
Docker volume/DATA_DIR mismatch, not a routing bug) is diagnosable from logs.

Includes consolidated CHANGELOG entries for #3133/#3136/#3007/#3141/#3120/#3121.

Co-authored-by: ViFigueiredo <ViFigueiredo@users.noreply.github.com>

* fix(web-tools): parse bare JSON tool calls (#3157)

Parse bare JSON tool calls for deepseek-web (#2820) + fuzzy tool-name matching. Integrated into release/v3.8.10.

* fix(misc): minor fixes across reasoning cache, account fallback, binary manager (#3177)

Misc: ProviderProfile export, DeepSeek reasoning regex, binary guard. Integrated into release/v3.8.10.

* fix(kiro): minor OAuth social exchange tweaks (#3176)

Kiro social OAuth: optional targetProvider passthrough. Integrated into release/v3.8.10.

* deps: bump hono from 4.12.18 to 4.12.23 (#3179)

Bump hono to 4.12.23. Integrated into release/v3.8.10.

* fix(providerRegistry): update kilocode format and executor (#3166)

kilocode: openai format + default executor (matches kilo-gateway) + registry test. Integrated into release/v3.8.10.

* feat(metrics): cross-request TTFT and gap latency after tool calls (#3173)

Cross-request TTFT + gap-after-tool latency metrics (+test). Integrated into release/v3.8.10.

* feat(dashboard): provider stats API endpoint and dashboard page (#3175)

Provider stats dashboard + API (SQL moved to db module per Hard Rule #5, +test). Integrated into release/v3.8.10.

* fix(usage): sequential+spaced OAuth quota sync, reactive force-refresh, actionable 401 (#3156)

Sequential+spaced OAuth quota sync, reactive force-refresh on 401, actionable 401 in UI. Integrated into release/v3.8.10.

* fix(healthcheck): per-provider proactive-refresh skip list (rescue short-TTL OAuth) (#3159)

Per-provider proactive-refresh skip list (OMNIROUTE_HEALTHCHECK_SKIP_PROVIDERS) to rescue short-TTL OAuth. Integrated into release/v3.8.10.

* feat(quota): show OAuth token expiry on provider cards (small, blue, informative) (#3178)

Show OAuth token expiry on provider cards (small, blue, informative). Integrated into release/v3.8.10.

* fix(providers): empty refresh must not resurface just-cleared synced models (#3181)

Empty refresh must not resurface just-cleared synced models (fixes the release-blocking provider-models-route test). Integrated into release/v3.8.10.

* chore(release): v3.8.10 — 2026-06-04 (finalize CHANGELOG)

---------

Co-authored-by: Wilson <pedbookmed@gmail.com>
Co-authored-by: Xiangzhe <32761048+xz-dev@users.noreply.github.com>
Co-authored-by: Jan Leon <Jan.gaschler@gmail.com>
Co-authored-by: M.M <mr.maatoug@gmail.com>
Co-authored-by: Hernan Javier Ardila Sanchez <hjasgr@gmail.com>
Co-authored-by: Markus Hartung <mail@hartmark.se>
Co-authored-by: KooshaPari <KooshaPari@users.noreply.github.com>
Co-authored-by: tjengbudi <tjengbudi@users.noreply.github.com>
Co-authored-by: minhtran162 <minhtran162@users.noreply.github.com>
Co-authored-by: totaltube <totaltube@users.noreply.github.com>
Co-authored-by: gabrielmoreira <gabrielmoreira@users.noreply.github.com>
Co-authored-by: ViFigueiredo <ViFigueiredo@users.noreply.github.com>
Co-authored-by: PizzaV <103120356+pizzav-xyz@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicolas Lorin <androw95220@gmail.com>
2026-06-04 20:05:38 -03:00
Diego Rodrigues de Sa e Souza
5057454d21 Merge pull request #3135 from diegosouzapw/release/v3.8.9
Release v3.8.9 — final sync (static-asset fix + contributor credits)
2026-06-04 05:10:03 -03:00
diegosouzapw
49dedecc42 fix(build): assemble static/server-files/chunks under distDir, not literal .next
CRITICAL white-screen bug from the build-output-isolation refactor: the standalone
server.js bakes distDir ("./.build/next") into its config and serves /_next/static
from <root>/.build/next/static — but assembleStandalone hard-coded the destination
to <outDir>/.next/static (+ sanitised/patched <outDir>/.next/{required-server-files,
server}). Result: the server's static dir was EMPTY → every JS/CSS chunk 404'd →
blank login page (health stayed 200, so it slipped past the health-only dry-run).

Mirror the distDir path (relative to projectRoot) for static, required-server-files
sanitization (was a silent no-op → 0 paths sanitised, now 11), and the Turbopack
chunk patch. Verified: booting the assembled bundle serves the webpack chunk 200.
Affects every consumer (npm/Docker/Electron/VPS).
2026-06-04 02:17:51 -03:00
Diego Rodrigues de Sa e Souza
872895c172 Merge pull request #3092 from diegosouzapw/release/v3.8.9
Release v3.8.9
2026-06-04 00:30:02 -03:00
NOXX - Commiter
223374221f feat(kiro): add Claude Opus 4.8 to the Kiro model catalog (#3131)
Kiro (AWS CodeWhisperer) tops out at Claude Opus 4.7 in the registry, but the latest Opus 4.8 is already served by the Claude Code provider and Kiro's executor passes the model id through to CodeWhisperer verbatim. Expose claude-opus-4.8 on the kiro provider so clients can select it via kiro/claude-opus-4.8.

- providerRegistry: add claude-opus-4.8 (1M context, 128k output) above 4.7

- pricing: add claude-opus-4.8 (and the previously-missing 4.7) to the kiro pricing block at Kiro's standard Opus rate so usage cost is non-zero

- tests: assert kiro exposes claude-opus-4.8 with matching context/output + pricing
2026-06-03 23:51:21 -03:00
diegosouzapw
dd85309e64 fix(ci): hasStandaloneAppBundle dist/->app/ fallback + gate obsidian-plugin e2e
- hasStandaloneAppBundle now accepts the legacy app/ bundle too (mirrors serve
  CLI's dist/->app/ fallback), fixing postinstall-support.test.ts after #3124.
- obsidian-plugin-e2e: #3077 committed the e2e test but NEVER committed its
  dependency obsidian-plugin/src/server.ts (un-ignored but unstaged) nor the
  'obsidian' npm pkg, so it crashed with ERR_MODULE_NOT_FOUND on every fresh
  checkout. Load the runtime values dynamically and skip the suite when absent
  (unit sync logic stays covered by obsidian-plugin-sync.test.ts).
2026-06-03 22:48:24 -03:00
diegosouzapw
dff836ae26 fix(ci): resolve remaining CI failures (typecheck + build-reorg test drift + #3100 dedup)
Full CI surfaced real failures that local subsets missed (gh-merged PRs bypass
the hooks that run these gates):
- typecheck:core (Lint job): 3 now-unused @ts-expect-error in mcp-server/server.ts
  (#3077 dynamic tool loops) → @ts-ignore (lenient, no TS2578).
- pack-artifact-policy.test.ts: build-reorg (#3124) renamed app/->dist/; the test
  still asserted app/ paths + REQUIRED order (it sorts alphabetically).
- electron-packaging.test.ts: extraResources from .next/electron-standalone ->
  .build/electron-standalone (#3124).
- glm-provider-model-import-route.test.ts: two GLM connections shared one apiKey,
  so #3100 (#3023) dedup collapsed them → only one discovery fetch. Distinct keys.

Remaining CI flakes (batch expiration, ModelSync self-fetch) pass in isolation —
concurrency/port flakiness under --test-concurrency=4, not real failures.
2026-06-03 22:12:17 -03:00
diegosouzapw
27229aa7eb test(cache): align stale cache-HIT tests with #2952 SSE-wrap behavior
#2952/#3108 made streaming cache hits SSE-wrapped (so streaming clients keep
content + reasoning_content), but two chatcore tests still asserted the pre-fix
'cache HIT returns JSON regardless of stream flag'. Update them to assert SSE
(text/event-stream) + verify the cached content appears in the SSE frames.
2026-06-03 21:12:32 -03:00
diegosouzapw
e1007acb7e fix(cli): bare omniroute (default serve) must provision STORAGE_ENCRYPTION_KEY
My #3129 gate wrongly skipped provisioning for a bare `omniroute` invocation —
but `serve` is isDefault:true, so bare runs the server, which needs the key.
Only --version/--help/help/completion skip now. Realigns with #1622: its bootstrap
test invoked `--help` (now correctly skipped), so it's switched to `config list
--json` (a real, fast, offline command) to exercise the provisioning path.
2026-06-03 21:08:01 -03:00