Commit Graph

2147 Commits

Author SHA1 Message Date
backryun
2c07f23996 fix(providers): correct LongCat free tier — GA LongCat-2.0, one-time 10M (KYC) (#5508)
LongCat's preview ended and the Flash-* line was retired (2026-05-29);
the API now exposes only the GA LongCat-2.0 (1M context, 128K output).
The free tier is a ONE-TIME 10M-token grant unlocked after account
signup + KYC verification — NOT a recurring daily/monthly allowance.
The catalog still described the retired preview/Flash models and a
recurring 150M / 5M-per-day budget; this corrects every reference.

Config / code:
- registry/longcat: model LongCat-2.0-Preview -> LongCat-2.0, name +
  comment reflect one-time 10M (KYC) and pay-as-you-go beyond it.
- freeModelCatalog: longcat-2.0-preview (150M, recurring-daily) ->
  LongCat-2.0 (10M, freeType one-time-initial via creditTokens).
- freeTierCatalog: drop longcat from the recurring-monthly budget map
  (one-time credits are excluded by that catalog's own rule).
- regional.ts freeNote: one-time 10M after signup + KYC, not recurring.
- providerCostData: longcat-flash-lite -> longcat-2.0 (pay-as-you-go
  0.75/2.95 per 1M, 10M free quota).
- validation probe model longcat -> LongCat-2.0.

Tests:
- free-tier-catalog: longcat now absent from FREE_TIER_BUDGETS;
  providerCount 22->21 (clean 21->20); documented total ~1.39B.
- tierResolver: sample model flash-lite -> LongCat-2.0.

Docs:
- README, PROVIDERS-GUIDE, FREE-TIERS-GUIDE, FREE_TIERS: 50M/day
  Flash-Lite -> one-time 10M LongCat-2.0 (KYC); 'No auth' -> API key + KYC.
- Regenerated PROVIDER_REFERENCE.md (picks up the new freeNote).

typecheck:core clean; changed-file lint 0 errors; docs-sync PASS.
2026-06-29 23:32:06 -03:00
Diego Rodrigues de Sa e Souza
17b36694c9 fix(providers): gate import for tool-only providers + sanitize Coze validation error (#5420 #5426) (#5522)
#5420: the 'Import Models' button now hides for tool-only providers
(web search / web fetch) via a capability check over resolved serviceKinds,
not just the -search suffix — firecrawl/jina-reader (webFetch) no longer
show an Import button that 400s. No LLM/media provider is affected.

#5426: Coze key validation no longer leaks the raw upstream envelope
({code,msg,logId,from}) into the UI; the Coze error becomes a friendly
message, scoped to provider === 'coze' so no other provider is affected.

Regression guards: tests/unit/model-listing-capability-5420.test.ts,
tests/unit/coze-validation-error-5426.test.ts.
2026-06-29 23:10:43 -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
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
KooshaPari
3e03213ed0 fix post-merge ci regressions (#5467) 2026-06-29 22:03:22 -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
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
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
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
Jan Leon
52f2575fac chore: remove unused kiro social schema (#5384)
Integrated into release/v3.8.42
2026-06-29 19:14:57 -03:00
Jan Leon
272fccc55c chore: remove unused memory schema types (#5387)
Integrated into release/v3.8.42
2026-06-29 19:14:48 -03:00
Jan Leon
b52bb6d2c4 chore: remove unused codex auth input type (#5388)
Integrated into release/v3.8.42
2026-06-29 19:14:45 -03:00
Jan Leon
2c8f9c594f chore: remove unused skills schema types (#5389)
Integrated into release/v3.8.42
2026-06-29 19:14:42 -03:00
Jan Leon
589c0a5b81 chore: remove unused batch provider type (#5390)
Integrated into release/v3.8.42
2026-06-29 19:14:39 -03:00
Jan Leon
53ebc39c3e chore: remove unused status hex key type (#5391)
Integrated into release/v3.8.42
2026-06-29 19:14:36 -03:00
Jan Leon
d650117c23 chore: remove unused skillssh skill type (#5392)
Integrated into release/v3.8.42
2026-06-29 19:14:33 -03:00
Jan Leon
44757af4cb chore: remove unused provider types (#5393)
Integrated into release/v3.8.42
2026-06-29 19:14:30 -03:00
Jan Leon
34510fb8d4 chore: remove unused combo types (#5396)
Integrated into release/v3.8.42
2026-06-29 19:14:27 -03:00
Jan Leon
a4c0a95c10 chore: remove unused settings types (#5398)
Integrated into release/v3.8.42
2026-06-29 19:14:25 -03:00