mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-12 10:12:11 +03:00
* Bypass proxy compaction for native Codex context
* Add native ChatGPT Web provider pipeline
* Add managed browser and tunnel deployment
* Add ChatGPT Web setup and doctor UI
* Document and test ChatGPT Web integration
* fix(security): register chatgpt-web-codex-doctor in LOCAL_ONLY_API_PATTERNS
The diagnostic route under /api/providers/{id}/chatgpt-web-codex-doctor
was not registered in the spawn-capable route guard. Adding it for
parity with the existing /login pattern.
Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
* fix(providers): route chatgpt-web-codex admin routes through a service boundary
The provider CRUD/doctor routes imported chatgpt-web-codex helpers
(finalizeValidatedChatGptWebCodexSecrets, encode/decodeChatGptWebCodexSecrets,
getChatGptWebCodexDoctorStatus) directly from open-sse/executors/**, which
no-restricted-imports (EXECUTOR_IMPORT_RESTRICTION) forbids for src/app/**
files — executor implementations must stay behind an open-sse handler or
service boundary.
Add open-sse/services/chatgptWebCodexAdmin.ts as a thin re-export boundary
(mirroring the existing tokenRefresh.ts re-export pattern) and import from
there instead. No behavior change.
Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
---------
Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
19 lines
925 B
TypeScript
19 lines
925 B
TypeScript
/**
|
|
* Service-boundary re-exports for the chatgpt-web-codex admin/dashboard API
|
|
* routes (src/app/api/providers/**).
|
|
*
|
|
* `no-restricted-imports` (EXECUTOR_IMPORT_RESTRICTION, eslint.config.mjs)
|
|
* forbids `src/app/**` files from importing `open-sse/executors/**` directly
|
|
* — executor implementations must stay behind an open-sse handler or service
|
|
* boundary. This file is that boundary for the small set of
|
|
* chatgpt-web-codex helpers the provider CRUD/doctor routes need (secret
|
|
* encode/decode, storage-state finalization, connection health status).
|
|
*/
|
|
export { getChatGptWebCodexDoctorStatus } from "../executors/chatgpt-web-codex/doctor.ts";
|
|
export { finalizeValidatedChatGptWebCodexSecrets } from "../executors/chatgpt-web-codex/storageState.ts";
|
|
export {
|
|
decodeChatGptWebCodexSecrets,
|
|
encodeChatGptWebCodexSecrets,
|
|
type ChatGptWebCodexSecrets,
|
|
} from "../executors/chatgpt-web-codex/credentials.ts";
|