Commit Graph

1924 Commits

Author SHA1 Message Date
diegosouzapw 2fe67ada97 fix(translator): only apply thoughtSignature to the first functionCall part in Gemini parallel tool calls 2026-04-17 17:23:41 -03:00
diegosouzapw 949a7a618f test: update Antigravity usage fetcher test URLs for CC compatible toggle parity 2026-04-17 17:15:32 -03:00
diegosouzapw 6034df36b8 chore(release): v3.6.8 — finalize changelog and prepare release 2026-04-17 17:07:08 -03:00
diegosouzapw ea67216bf2 refactor: Split CLI runner and decouple migration engine for extensibility
Closes #1358
2026-04-17 17:02:00 -03:00
diegosouzapw 38f66917ae feat: add CC Compatible connection-level 1M context toggle
Closes #1357
2026-04-17 17:00:00 -03:00
diegosouzapw 1e3ac5fff7 feat: add CC Compatible connection-level 1M context toggle
Closes #1357
2026-04-17 16:59:18 -03:00
diegosouzapw 792a1cb2ab feat: Support xhigh only on Claude models that expose it
Closes #1356
2026-04-17 16:58:27 -03:00
diegosouzapw 5ead25829f build(deps): bump softprops/action-gh-release from 2 to 3
Closes #1375
2026-04-17 16:55:27 -03:00
diegosouzapw 8cf78ddf00 feat(auth): enforce dashboard sessions for management routes
Require dashboard session cookies on protected management APIs and
reject bearer API keys with explicit 403 responses to prevent
privilege escalation across provider, settings, and model alias routes.

Add a dedicated payload rules management surface with dashboard UI,
OpenAPI documentation, route normalization, and tests for hot-reloaded
runtime updates.

Consolidate provider catalog metadata for dashboard pages, add
Perplexity web-cookie provider support, retire the legacy provider
creation page, and improve upstream proxy handling.

Harden startup and runtime behavior by moving cloud sync bootstrap to
server instrumentation, skipping background services during build/test,
making models.dev sync abortable, pruning isolated build artifacts, and
improving DB backup and recovery safeguards.
2026-04-17 16:45:27 -03:00
diegosouzapw 4ae488b25b feat(runtime): add hot-reloadable guardrails and model diagnostics
Introduce a runtime settings layer that hydrates persisted config at startup
and reapplies aliases, payload rules, cache behavior, CLI compatibility,
usage tuning, and related switches when settings change or SQLite updates.

Replace the legacy prompt injection middleware path with a guardrail
registry that supports prompt injection detection, PII masking, disabled
guardrail overrides, and post-call response handling across the chat
pipeline.

Add a metadata registry for model catalog and alias resolution so catalog
endpoints return enriched capabilities plus diagnostic headers and typed
alias errors instead of ad hoc responses.

Convert unsupported built-in web_search tools into an OmniRoute fallback
tool, execute them through builtin skills, and preserve Responses API
function call output with sanitized usage fields.

Centralize provider header fingerprints for GitHub, Cursor, Qwen, Qoder,
Kiro, and Antigravity, and migrate management passwords from env or
plaintext storage into persisted bcrypt hashes during startup and login.
2026-04-17 11:56:52 -03:00
diegosouzapw dc6d9e2e4b feat(core): add payload rules, tag routing, and scheduled budgets
Introduce runtime-configurable payload mutation/filter rules with file
reload support and a settings API so upstream request bodies can be
customized per model and protocol without restarts.

Expand search support with Google PSE, Linkup, SearchAPI, and SearXNG,
including validation, routing, analytics costing, MCP schema updates,
and search-type-aware provider selection. Update Pollinations to support
anonymous access, endpoint failover, and the latest public model lineup.

Add OmniRoute response metadata headers/SSE comments, per-connection
model exclusion rules, combo tag-based routing, buffered spend writes,
and scheduled daily/weekly/monthly budget resets. Update model catalog
and dashboard UIs to surface source labels and hide models excluded by
all active connections.
2026-04-17 09:00:32 -03:00
diegosouzapw 14d18d27b1 feat(providers): expose antigravity preview aliases and gemini cli onboarding
Centralize Antigravity public model definitions and use the
client-visible preview aliases in provider discovery, model catalog
responses, and default alias seeding.

Add Gemini CLI managed-project onboarding with retries when
loadCodeAssist does not return a project, and update Gemini CLI header
fingerprints to match newer native clients.

Improve non-stream handling by converting NDJSON event payloads into
SSE-compatible parsing for stream=false requests, add PUT support for
the settings API, expand Gemini schema cleanup for local refs and
unsupported keys, and include Anthropic beta headers for API-key
requests.
2026-04-16 23:25:58 -03:00
diegosouzapw 7b51ccd9e4 feat(antigravity): add client model aliases and signature bypass modes
Expose client-visible Antigravity preview model aliases while resolving
them back to upstream IDs for execution and provider discovery. Refresh
the Antigravity user agent from cached latest release metadata so model
discovery and requests track current CLI versions more reliably.

Add configurable Gemini thought signature cache modes in settings to
allow validated client-provided signatures in bypass flows while
preserving the existing stored-signature behavior by default.

Also centralize Anthropics header/version constants, enrich image model
catalog metadata with input and output modalities, add dashboard image
input support for advanced image providers, and exclude task docs from
Next standalone tracing to keep isolated builds stable.
2026-04-16 20:53:35 -03:00
diegosouzapw ce8e9b96ca feat(providers): expand image provider registry and model support
Add Fal.ai, Stability AI, Black Forest Labs, Recraft, and Topaz
image provider metadata and expose their static model catalogs through the
providers models API.

Unify dashboard image model listings with the runtime image registry to
avoid drift, add image model aliases for FLUX variants, and extend image
generation handling for new provider formats and edit endpoints.

Include tests covering alias resolution and provider-specific image
generation flows.
2026-04-16 19:32:38 -03:00
diegosouzapw a5982579ac docs(changelog): append PR 1349, 1351 and Codex token mutex fix to v3.6.8 2026-04-16 18:03:20 -03:00
diegosouzapw 46c0a32357 fix(providers): use mutex getAccessToken for Codex to prevent refresh_token_reused race condition 2026-04-16 18:02:34 -03:00
diegosouzapw 21bccce4a1 fix(security): prevent arbitrary API keys from accessing dashboard management routes (#1353) 2026-04-16 18:02:34 -03:00
Artёm d868124c36 fix(cli): avoid creating app router during postinstall (#1351)
Integrated into release/v3.6.8
2026-04-16 18:02:21 -03:00
Randi bd1ead2237 fix: fully close MCP audit SQLite connections on shutdown (#1349)
Integrated into release/v3.6.8
2026-04-16 18:02:18 -03:00
diegosouzapw 689bf7fbc5 chore(release): bump to v3.6.8 — changelog, docs, version sync 2026-04-16 16:55:53 -03:00
diegosouzapw 25f9a1339f fix(cli): avoid creating app router during postinstall (#1351) 2026-04-16 16:47:46 -03:00
diegosouzapw bbc0a8d534 fix: fully close MCP audit SQLite connections on shutdown (#1349) 2026-04-16 16:47:37 -03:00
diegosouzapw 22492b5707 fix(i18n): update nodeIncompatibleHint to recommend Node 24 LTS across all 31 languages 2026-04-16 16:23:46 -03:00
diegosouzapw 55da8fda74 chore(release): v3.6.7 - include PRs 1343, 1346, 1347, 1348 in changelog 2026-04-16 16:10:57 -03:00
diegosouzapw 661a63cc45 fix(db): prevent native module errors from renaming db and bump mass-migration safety threshold 2026-04-16 16:07:44 -03:00
diegosouzapw f5700f2b4c ci: bump actions node-version to 24 natively 2026-04-16 16:07:44 -03:00
diegosouzapw a5c258ac32 docs(changelog): record PR #1340 and issue #1328 for v3.6.7 2026-04-16 16:07:44 -03:00
diegosouzapw a0654b4643 fix: resolve migration abort on fresh database #1328 and missing getCreditsMode export 2026-04-16 16:07:44 -03:00
diegosouzapw adf59ddce7 chore(scripts): add scratch maintenance utilities and ai workspace rules
Add one-off database inspection and cleanup scripts under
`scripts/scratch/` for local debugging and maintenance work.

Document root cleanliness and file placement expectations for AI
assistants in `GEMINI.md` to keep temporary scripts and tests out of
the project root.
2026-04-16 16:07:44 -03:00
diegosouzapw 438f25214c chore(release): update changelog for v3.6.7 PR merges (#1335, #1338) 2026-04-16 16:07:43 -03:00
diegosouzapw 6902fa34bb fix(providers): separate test batch calls and ignore unknown connections 2026-04-16 16:07:43 -03:00
Paijo 5cbc08a6a2 docs: fix outdated Node 24 warnings in TROUBLESHOOTING.md (#1343)
Integrated into release/v3.6.7
2026-04-16 16:07:29 -03:00
Gi99lin 79c63d1a4f fix(codex): keep system prompts in input for GPT-5 prompt caching (#1346)
Integrated into release/v3.6.7
2026-04-16 16:07:24 -03:00
Randi 01bd0d6760 Add Claude Opus 4.7 to Claude Code OAuth models (#1347)
Integrated into release/v3.6.7
2026-04-16 16:07:18 -03:00
Randi bc7fb96184 fix: close MCP audit SQLite connections on shutdown (#1348)
Integrated into release/v3.6.7
2026-04-16 16:07:13 -03:00
Paijo 03b8e21f23 feat: add Node.js 24 LTS (Krypton) support (#1340)
Integrated into release/v3.6.7
2026-04-16 14:29:29 -03:00
SiFax 68060d636d feat: display Antigravity credit balance in dashboard Limits & Quotas (#1338)
Integrated into release/v3.6.7
2026-04-16 12:53:37 -03:00
Samuel Cedric bf04aa3927 fix: pass client headers to executor in chatCore (#1335)
Integrated into release/v3.6.7
2026-04-16 12:51:51 -03:00
diegosouzapw 732a3116ff chore(release): v3.6.7 - complete bugfixes and pr merges 2026-04-16 11:54:38 -03:00
diegosouzapw 6e9b23c8e2 fix(providers): support batch testing for web, search, and audio
Add dedicated batch test modes for web-cookie, search, and audio
providers in the dashboard, API route, and request validation so
category-level testing targets the correct connections.

Rename legacy qoder refresh and usage helpers from iflow to qoder
for consistency, and tighten regex handling in response cleaning,
thinking compression, and proxy matching to address edge cases and
static analysis findings.

Also update related tests, typing fixes, and README star history
embeds.
2026-04-16 11:52:53 -03:00
diegosouzapw c4570a1387 feat: add stopSequences support and expand tool definitions to include Google Search capabilities 2026-04-16 11:52:53 -03:00
diegosouzapw 3843751c58 security: Resolve GitHub CodeQL scan alerts
- Fixed proxyFetch regex incomplete escape
- Updated contextManager regex to avoid Polynomial ReDoS (using [^]*?)
- Removed redundant incomplete sanitization replace in page.tsx
- Fixed perplexity-web missing flags (i) in regex and used [^]*?
- Renamed callLogArtifact sha256 to artifactHash to fix false positive password hash alert
2026-04-16 11:52:53 -03:00
diegosouzapw ca944f280f fix(#1316): resolve thinking leaks, consecutive roles, and missing thoughtSignatures for Antigravity translator 2026-04-16 11:52:53 -03:00
Paijo b140181257 fix: allow combo fallback on context overflow 400 errors (#1331)
Integrated into release/v3.6.7
2026-04-16 11:52:27 -03:00
Paijo 4eedf4d1cd fix: preserve key_value settings across DB recreation (#1333)
Integrated into release/v3.6.7
2026-04-16 11:52:23 -03:00
Payne 37cc61e6a3 fix(providers): add grok-web SSO cookie validation handler (#1334)
Integrated into release/v3.6.7
2026-04-16 11:52:19 -03:00
Diego Rodrigues de Sa e Souza d1ca9c2d51 Merge pull request #1325 from diegosouzapw/fix/cli-node22-entrypoint
fix(cli): resolve Node 22 TS entrypoint incompatibility
2026-04-16 10:17:52 -03:00
Diego Rodrigues de Sa e Souza 57395ed05c Merge pull request #1324 from clousky2020/feat/i18n-clean
fix(i18n): resolve code review issues for PR #1318
2026-04-16 10:17:42 -03:00
diegosouzapw 8d52a6cc7a fix(cli): implement Node 22 mjs entrypoint to bypass type stripping limit 2026-04-16 09:59:58 -03:00
clousky 2206fed7e4 fix(requestLogger): add missing cacheSource and tps columns to i18n
Add cacheSource and tps to the translated columns array and their
corresponding translation keys in en.json and zh-CN.json.
2026-04-16 20:43:03 +08:00