OmniRoute/bin/cli/tui
diegosouzapw 69a2b27a33 fix(cli): code-review — C1/C2/C3/I1/I3/I4/I5/m1/m2/m4
C1: sanitize opts.name and backupId against path traversal (replace /\\ with _)
C2: read backup files locally as base64 instead of sending local path to cloud API
C3: implement markOAuthDone/markOAuthFailed via module-level callbacks registered
    in useEffect — TUI now transitions to DONE/FAILED when polling signals completion
I1: fix matchesGlob — equality-only for non-glob patterns (removes false-positive
    startsWith), and support multi-wildcard patterns (e.g. **.json) by iterating parts
I3: replace two hardcoded English strings in tunnel.mjs with t() calls; add
    tunnel.notAvailable and tunnel.noTunnels to en.json and pt-BR.json
I4: log HTTP 4xx errors in runKeysAddCommand and return 1 instead of falling
    through silently to DB write on client errors
I5: truncate err.message to 100 chars in ProvidersTestAll.jsx and test-provider.mjs
m1: fix EvalWatch StatusBadge — completed state now uses status="ok" instead of "running"
m2: replace hardcoded ~/.omniroute/backup-schedule.json with resolveDataDir()-based path
m4: remove ...opts spread from all apiFetch calls in keys.mjs — pass only explicit options
    (method, body, retry, acceptNotOk) to avoid leaking apiKey/baseUrl/yes/etc.
2026-05-15 09:48:30 -03:00
..
tabs feat(cli): TUI dashboard interativo e menu de interface (Fases 8.10+8.9) 2026-05-15 04:36:21 -03:00
Dashboard.jsx feat(cli): TUI dashboard interativo e menu de interface (Fases 8.10+8.9) 2026-05-15 04:36:21 -03:00
EvalWatch.jsx fix(cli): code-review — C1/C2/C3/I1/I3/I4/I5/m1/m2/m4 2026-05-15 09:48:30 -03:00
InterfaceMenu.jsx feat(cli): TUI dashboard interativo e menu de interface (Fases 8.10+8.9) 2026-05-15 04:36:21 -03:00
OAuthFlow.jsx fix(cli): code-review — C1/C2/C3/I1/I3/I4/I5/m1/m2/m4 2026-05-15 09:48:30 -03:00
ProvidersTestAll.jsx fix(cli): code-review — C1/C2/C3/I1/I3/I4/I5/m1/m2/m4 2026-05-15 09:48:30 -03:00
Repl.jsx feat(cli): fase 8.11 — REPL interativo multi-turn com Ink (runRepl, session, slash commands) 2026-05-15 04:51:23 -03:00
session.mjs feat(cli): fase 8.11 — REPL interativo multi-turn com Ink (runRepl, session, slash commands) 2026-05-15 04:51:23 -03:00