Commit Graph

4601 Commits

Author SHA1 Message Date
Diego Rodrigues de Sa e Souza
f4b1aee7b9 fix(providers): correct FriendliAI (serverless) + Novita (/openai/v1) endpoints (#5430 #5455) (#5515)
* fix(providers): correct FriendliAI (serverless) and Novita (/openai/v1) endpoints (#5430 #5455)

Both rejected valid keys, verified live with real provider keys:
- FriendliAI baseUrl was /dedicated/v1/... which 403s a serverless flp_* token;
  switched to /serverless/v1/... + serverless modelsUrl.
- Novita baseUrl was the legacy /v3/... with a typo'd model id ai-ai/...
  (both 404); switched to OpenAI-compat /openai/v1/... + meta-llama/llama-3.1-8b-instruct.

Regression guard: tests/unit/provider-endpoints-friendliai-novita.test.ts.

* chore: reconcile CHANGELOG with release (keep #5430/#5455 + prior bullets)
2026-06-29 22:40:50 -03:00
Diego Rodrigues de Sa e Souza
8f5eda90be fix(providers): align Muse Spark (Meta AI) cookie copy to ecto_1_sess (#5449) (#5513)
* fix(providers): align Muse Spark (Meta AI) cookie copy to ecto_1_sess (#5449)

The default Meta AI session cookie migrated from the retired abra_sess to
ecto_1_sess (META_AI_DEFAULT_COOKIE), but the provider form hint and one
401 auth-failure message still named abra_sess, telling users to paste a
cookie that no longer exists. Both strings now name ecto_1_sess.

Regression guard: tests/unit/muse-spark-cookie-copy-5449.test.ts.

* chore: reconcile CHANGELOG with release (keep #5449 + #5511 bullets)
2026-06-29 22:39:56 -03:00
Diego Rodrigues de Sa e Souza
83889924e7 fix(dashboard): provider-add UX — i18n labels, surface import warning, default key name (#5511)
* fix(dashboard): provider-add UX — real i18n labels, surface import warning, default key name (#5421 #5428 #5429 #5431 #5435)

Three rough edges in the Add-API-Key / model-import flow, all from the
provider-catalog audit:

1. Validation Model + Account ID form fields shipped untranslated i18n
   stub copy ('Validation Model Id Label', etc.) that rendered verbatim.
   Replaced with real copy in en.json.
2. Model import silently fell back to the cached/local catalog — the route
   returns a 'warning' field the import hook never read. New pure helper
   extractImportWarning surfaces it as a log line.
3. Required connection-name field defaulted to '' (let browser autofill
   inject garbage like 'wiw'); now defaults to 'main'.

Regression guard: tests/unit/provider-add-ux-i18n-import-warning.test.ts.

* fix(dashboard): compress AddApiKeyModal comment to keep file under frozen size cap
2026-06-29 22:37:44 -03:00
Jan Leon
36e771c7f7 chore(dead-code): ratchet dead code baseline (#5468)
Ratchet dead-code baseline to the true measured value (310 -> 225) after the v3.8.42 dead-code + duplication wave. Measured by check-dead-code.mjs on the tip.

Co-authored-by: diegosouzapw <diegosouza.pw@gmail.com>
2026-06-29 22:17:02 -03:00
Jan Leon
78aaecb0d1 chore(duplication): share combo builder model options (#5477)
Share combo builder model options; add regression test locking custom-model source classification (manual->custom, api-sync->imported).

Co-authored-by: diegosouzapw <diegosouza.pw@gmail.com>
2026-06-29 22:14:29 -03:00
Jan Leon
152ffc2ebf chore(duplication): share proxy route handlers (#5472)
Share proxy route handlers; add resolveProxyLookupResponse regression test (3 branches + custom whereUsed param name).

Co-authored-by: diegosouzapw <diegosouza.pw@gmail.com>
2026-06-29 22:10:43 -03:00
Jan Leon
ae93cfbee7 chore(duplication): share service install helpers (#5495)
Share service install helpers; re-add SERVICE_VERSION_PATTERN regex to the shared schema (dropped in extraction, #5474) + tests rejecting malformed versions.

Co-authored-by: diegosouzapw <diegosouza.pw@gmail.com>
2026-06-29 22:08:27 -03:00
Diego Rodrigues de Sa e Souza
e522df1302 chore(ci): add npm fetch-retry + release-freeze protocol (Hard Rule #21) (#5506)
- .npmrc: bump fetch-retries 2->5 with backoff so transient registry ECONNRESET during npm ci (electron-release, v3.8.41) retries instead of failing the job; applies repo-wide.
- CLAUDE.md Hard Rule #21: release-freeze coordination marker (label release-freeze) that campaign workflows honor before merging into the active release branch, preventing the mid-release commit races that forced CHANGELOG re-reconciliation in v3.8.40/v3.8.41.
2026-06-29 22:04:18 -03:00
KooshaPari
c8814edd47 fix(rate-limit): normalize queue refresh settings (#5499)
Co-authored-by: KooshaPari <koosha@example.com>
2026-06-29 22:03:31 -03:00
KooshaPari
6b9c7d14df fix(fallback): normalize provider error rule headers (#5473)
Co-authored-by: KooshaPari <koosha@example.com>
2026-06-29 22:03:28 -03:00
KooshaPari
3f8995deb6 fix: gate claude adaptive thinking defaults (#5480)
Co-authored-by: KooshaPari <koosha@example.com>
2026-06-29 22:03:25 -03:00
KooshaPari
3e03213ed0 fix post-merge ci regressions (#5467) 2026-06-29 22:03:22 -03:00
Jan Leon
8811468269 fix: treat terminal stream cancels as complete (#5491) 2026-06-29 21:58:55 -03:00
Jan Leon
c548008943 chore(duplication): share node sqlite adapter (#5500) 2026-06-29 21:58:52 -03:00
Jan Leon
2f3f8c7fcc chore(duplication): share machine id fallback (#5498) 2026-06-29 21:58:49 -03:00
Jan Leon
92c511550d chore(duplication): share relay stream finalizer (#5497) 2026-06-29 21:58:46 -03:00
Jan Leon
b9fd69ecf3 chore(duplication): share settings transform schemas (#5496) 2026-06-29 21:58:44 -03:00
Jan Leon
21f8e44f3e chore(duplication): share media generation route helpers (#5493) 2026-06-29 21:58:41 -03:00
Jan Leon
1783f89456 chore(duplication): share version manager request parsing (#5492) 2026-06-29 21:58:38 -03:00
Jan Leon
3bc0d5feeb chore(duplication): share redis runtime helpers (#5490) 2026-06-29 21:58:35 -03:00
Jan Leon
15eeaa31c5 chore(duplication): share batch response formatter (#5488) 2026-06-29 21:58:32 -03:00
Jan Leon
e124b50922 chore(duplication): share provider specific validation (#5485) 2026-06-29 21:58:30 -03:00
Jan Leon
e019ed4916 chore(duplication): share recharts donut card (#5484) 2026-06-29 21:58:27 -03:00
Jan Leon
3150324bf8 chore(duplication): share quota strategy ranking helpers (#5482) 2026-06-29 21:58:24 -03:00
Jan Leon
b3747c3a92 chore(duplication): share vscode tokenized request helper (#5479) 2026-06-29 21:58:21 -03:00
Jan Leon
bbd9a776db chore(duplication): share auth zip extractors (#5475) 2026-06-29 21:58:18 -03:00
Jan Leon
09fa9905f2 chore(duplication): share vscode metadata helpers (#5471) 2026-06-29 21:58:16 -03:00
Jan Leon
467736a1b4 chore(dead-code): remove unused prompt cache control helper (#5466) 2026-06-29 21:56:23 -03:00
Jan Leon
a003b1fdc4 chore: remove unused headroom log tail export (#5464) 2026-06-29 21:56:20 -03:00
Jan Leon
749128195a chore: remove unused gamification streak exports (#5463) 2026-06-29 21:56:17 -03:00
Diego Rodrigues de Sa e Souza
73f9580c8e fix(db): EBUSY-safe database import on Windows (#5406) (#5507)
Closes #5406
2026-06-29 21:21:25 -03:00
Diego Rodrigues de Sa e Souza
2a8309ba4a fix(dashboard): render onboarding wizard on /providers/new (#5427) (#5505)
Closes #5427
2026-06-29 21:18:02 -03:00
Diego Rodrigues de Sa e Souza
8d04875521 fix(cli): restore dist/tls-options.mjs to npm tarball (#5452) (#5503)
Closes #5452
2026-06-29 21:15:17 -03:00
Diego Rodrigues de Sa e Souza
29bdb8dfde fix(services): runNpm shell on win32 + prefix via env for Node 24 EINVAL (#5379) (#5474)
Node 24 refuses execFile of npm.cmd without a shell (nodejs/node#52554),
so embedded-service install (9Router/CLIProxy) failed with spawn EINVAL on
Windows. runNpm now enables shell on win32 only; to stay Hard-Rule-#13 safe
under a shell, the install --prefix is passed via npm_config_prefix (env)
instead of an argv path (survives spaces), and the user-supplied version is
constrained by SERVICE_VERSION_PATTERN at the route boundary.
2026-06-29 20:45:30 -03:00
Randi
e9c739184e fix: frame non-streaming JSON responses (#5416)
Integrated into release/v3.8.42
2026-06-29 19:23:59 -03:00
dependabot[bot]
50c9837dab deps: bump the production group with 11 updates (#5414)
Integrated into release/v3.8.42
2026-06-29 19:23:00 -03:00
dependabot[bot]
0c42769a2a deps: bump electron from 42.4.1 to 42.5.1 in /electron (#5413)
Integrated into release/v3.8.42
2026-06-29 19:22:58 -03:00
Jan Leon
d084b9ce75 chore: remove unused cloud agent input types (#5373)
Integrated into release/v3.8.42
2026-06-29 19:22:33 -03:00
Jan Leon
a7a62638ae chore: remove unused usage types (#5397)
Integrated into release/v3.8.42
2026-06-29 19:20:52 -03:00
Jan Leon
79c39e7dc9 chore: remove unused api key type (#5395)
Integrated into release/v3.8.42
2026-06-29 19:20:02 -03:00
Jan Leon
3c28b936ba chore: remove unused webhook delivery detail export (#5372)
Integrated into release/v3.8.42
2026-06-29 19:15:28 -03:00
Jan Leon
655fccade8 chore: remove unused a2a routing logger readers (#5374)
Integrated into release/v3.8.42
2026-06-29 19:15:25 -03:00
Jan Leon
3578711bc1 chore: remove unused cloud agent result schemas (#5375)
Integrated into release/v3.8.42
2026-06-29 19:15:22 -03:00
Jan Leon
4b82560b20 chore: remove unused v1 search response schema (#5376)
Integrated into release/v3.8.42
2026-06-29 19:15:19 -03:00
Jan Leon
f91eb281f8 chore: remove unused sse model legacy helpers (#5377)
Integrated into release/v3.8.42
2026-06-29 19:15:16 -03:00
Jan Leon
eaff010f96 chore: remove unused sse logger helpers (#5378)
Integrated into release/v3.8.42
2026-06-29 19:15:13 -03:00
Jan Leon
f2d7aa9303 chore: remove unused shared logger default export (#5380)
Integrated into release/v3.8.42
2026-06-29 19:15:10 -03:00
Jan Leon
8e8d08ea15 chore: remove unused agent skills schema types (#5381)
Integrated into release/v3.8.42
2026-06-29 19:15:07 -03:00
Jan Leon
5c66eb9494 chore: remove unused audit action type (#5382)
Integrated into release/v3.8.42
2026-06-29 19:15:04 -03:00
Jan Leon
1970e7bad8 chore: remove unused memory schema types (#5383)
Integrated into release/v3.8.42
2026-06-29 19:15:00 -03:00