Commit Graph

3 Commits

Author SHA1 Message Date
Diego Rodrigues de Sa e Souza
04683029a6 fix(build): exec native esbuild binary directly in prepublish (dast-smoke base-red) (#9558)
* fix(build): exec native tool binaries directly in runBuildTool

#8858 routed every resolved local bin through process.execPath to avoid
Windows .cmd shims — but esbuild >=0.25 ships bin/esbuild as the NATIVE
platform executable (ELF on Linux), so Node parsed machine code as JS and
build:cli died with 'SyntaxError: Invalid or unexpected token', turning
dast-smoke red for every PR.

runBuildTool now sniffs the entry's magic bytes (ELF / Mach-O / PE) and
execs native binaries directly; JS entries keep going through this Node
binary (the .cmd-shim avoidance #8858 wanted).

Validation (RED->GREEN on this box):
- RED: node node_modules/esbuild/bin/esbuild --version -> SyntaxError (ELF)
- GREEN: the exact failing CI step reproduced via the new logic bundles
  open-sse/mcp-server/server.ts successfully (4.2MB output, 1.3s).

* fix(docs): add MDX frontmatter to the 20 remaining docs without it

Same failure class as AGENTROUTER_WAF (#9503) and DOCKER_RELEASE_CHANNELS
(this run's dast-smoke red): any doc without frontmatter breaks the
fumadocs MDX loader during next build, killing build:cli/dast-smoke for
every PR. Swept ALL of docs/ (i18n mirrors excluded) in one pass so this
class cannot recur one file at a time.

* docs(env): document OMNIROUTE_INTERNAL_SERVICE_TOKEN(+_FILE), OPENROUTER_PROVIDER_STATS_* and embedded-Redis binding vars

Pre-existing env/docs contract drift from recently merged features made
check:env-doc-sync red for any docs-touching PR. Values and defaults read
from the defining modules (internalServiceAuth.ts, openrouterProviderStats.ts).

* fix(build): resolve bundled npm-cli.js in the standard Unix layout + safe npm fallback off-Windows

The opencode-plugin step hard-failed on GitHub runners because
resolveBundledNpmEntry only looked next to the node binary (Windows zip
layout); hostedtoolcache Node keeps npm at <prefix>/lib/node_modules/npm.
Added that candidate, and when neither exists on non-Windows the step now
falls back to plain 'npm' — the .cmd-shim hazard #8858 avoids is
Windows-only.

* test(mutation): register xai-agent-tools-passthrough.test.ts in stryker tap.testFiles

The test landed on release/v3.8.50 covering
open-sse/handlers/chatCore/passthroughHelpers.ts without the stryker
registration, so Fast Quality Gates' drift detection reds any PR that
carries it. Mechanical registration so its mutant kills count.

---------

Co-authored-by: diegosouzapw <diegosouzapw@users.noreply.github.com>
2026-08-06 02:19:57 -03:00
Diego Rodrigues de Sa e Souza
60cea3cab0 docs(readme): organized Support/Donate section (PIX, crypto, Open Collective, Ko-fi, BMC, Liberapay) + categorized top nav (#8991)
* docs(readme): add Support OmniRoute donate section (PIX live) and rename community section

- Replace bullet '❤️ Support' with a full '💚 Support OmniRoute' table (nowrap pattern):
  Star, GitHub Sponsors, Open Collective, Ko-fi, Buy Me a Coffee, Liberapay, PIX, Crypto.
- PIX: dedicated random key + static BR Code (copia-e-cola) + QR (docs/assets/pix-qr.png).
- Rename '📧 Support & Community' -> '📧 Community & Help' to drop the duplicate 'Support';
  fix the nav anchor and the 'Support the project' row to point at the new section.
- Open Collective / Ko-fi / Buy Me a Coffee / Liberapay and Crypto still marked as pending.

* docs(readme): wire up Ko-fi donation link (ko-fi.com/diegosouzapw)

* docs(readme): wire up Buy Me a Coffee donation link

* docs(readme): wire up Liberapay donation link

* docs(readme): wire up Open Collective donation link (invoice-issuing channel)

* docs(readme): reorganize top nav into one categorized table + add donate link

- Merge the two loose nav tables under '🧩 Available' into a single labeled table
  (Start / Learn / Features / See it / Support / Project), 21 links.
- Surface '💚 Support / Donate' in the nav near the top, next to Community & Sponsors.
- Drop the pre-existing broken '#-dashboard-screenshots' anchor; add ' What's New'.
- All 21 in-page anchors verified against github-slugger (0 broken).

* docs(readme): complete crypto donation block (BTC, ETH, USDT-TRC20, USDC-Solana)

- Fill the Crypto <details> with the four wallet addresses (coin / network / address),
  replacing XMR with USDC on Solana per owner's choice.
- Update the donate table's Crypto row to 'BTC · ETH · USDT-TRC20 · USDC-Solana'.
- Add a wrong-network warning note.

* docs(readme): label BTC network as Bitcoin (SegWit) for consistency

---------

Co-authored-by: diegosouzapw <diegosouzapw@users.noreply.github.com>
2026-07-30 12:48:18 -03:00
diegosouzapw
c525a0f452 Add SVG flags for various countries
- Added Sweden flag (se.svg)
- Added Slovakia flag (sk.svg)
- Added Thailand flag (th.svg)
- Added Turkey flag (tr.svg)
- Added Taiwan flag (tw.svg)
- Added Tanzania flag (tz.svg)
- Added Ukraine flag (ua.svg)
- Added United States flag (us.svg)
- Added Vietnam flag (vn.svg)
2026-07-23 14:55:50 -03:00