Releases: rickicode/CodexSess
Releases · rickicode/CodexSess
v1.0.3
Web Coding (/chat)
- Added dedicated
/chatweb coding workspace with full-screen chat layout and persisted session history. - Chat transport on
/chatuses WebSocket (/api/coding/ws) for live event streaming. - Added workspace-aware new session flow with folder picker and server-side path suggestions.
- Added session route targeting via query parameter (
/chat?id=<session_id>) for direct open/resume behavior. - Added coding activity timeline rendering alongside assistant outputs in the web chat UI.
- Added coding slash commands support focused for web workflow (
/statusand/review). - Added skill picker integration to insert
$skill_namehints directly into the composer. - Added streaming-focused chat UX updates (in-progress state + progressive assistant output).
- Added runtime session APIs (
/api/coding/sessions,/api/coding/messages,/api/coding/chat) and persistent storage tables for coding sessions/messages. - Added runtime lifecycle metadata for coding sessions (
runtime_mode,runtime_status,restart_pending) across coding session APIs. - Added runtime control APIs for chat orchestration:
PUT /api/coding/sessions/runtime,GET /api/coding/runtime/status, andPOST /api/coding/runtime/restart. - Added runtime lifecycle websocket events in
/api/coding/ws(runtime_started,runtime_status,runtime_error) to improve Codex CLI parity on/chat. - Added deferred runtime-restart behavior when restart is requested during in-flight coding turns (
restart_scheduled-> restart after turn finishes). - Added dedicated terminal execution bubbles in
/chatwith click-to-open modal for full command output, built fromactivity+ raw Codex JSON stream events. - Added pagination to
/api/coding/messageswithlimit+before_idcursor and page metadata fields (has_more,oldest_id,newest_id). - Improved
/chatscroll UX during running streams: user scroll position is preserved when reading older messages and auto-follow to bottom is disabled until user jumps back. - Added floating
Jump to latestbutton in/chatwhen conversation is scrolled away from bottom. - Made stale pagination cursors (
before_id) resolve gracefully as end-of-history instead of returning request errors. - Fixed
/reviewcommand argument handling so prompted review no longer sends conflicting--uncommitted+ prompt flags to Codex CLI.
Added
- Zo API key management (multi-key add/remove, per-key request counters, last-request info, and OpenAI-compatible Zo endpoint support).
- System Logs page with database-backed rotation and log detail viewer for account switch/usage events.
- Added
GET /api/accounts/totalendpoint to efficiently count total stored accounts without loading full records. - Background usage scheduler now automatically "delists" accounts that return API 401 or suspended (
account_suspended) errors; delisted accounts are permanently skipped in future background checks until manually refreshed and restored.
Changed
- Codex CLI Strategy now includes:
round_robinrotation (automatic periodic switch)manualmode with auto-switch when remaining usage is below configured threshold.
- API Workspace refinement: Zo model caching, model mapping list improvements, and cleaner endpoint examples.
- Usage automation and account switching behavior were stabilized for large multi-account pools.
- Runtime bind mode is now simplified: use
CODEXSESS_PUBLIC=truefor public bind (0.0.0.0:<PORT>), otherwise local bind (127.0.0.1:<PORT>).CODEXSESS_BIND_ADDRis no longer used. - Startup logs now clearly show bind scope (
publicorlocal) to avoid ambiguous network status messages. - Installer systemd unit now uses
CODEXSESS_PUBLIC=truefor server mode. - README (
EN/ID) was updated to documentCODEXSESS_PUBLICand remove oldCODEXSESS_BIND_ADDRguidance. - System Logs filter UI was refined: search/filter row now has proper bottom spacing and full-width control layout.
- Refactored all Dashboard filtering (search, account type, token status, usage availability) from Client-Side Svelte to Server-Side SQL query filters, enabling true global search across all paginated pages.
- Advanced Dashboard sorting algorithm now guarantees that any account reporting under
50%hourly usage is automatically pushed to the bottom of the active list, while ensuring revoked accounts stay firmly beneath them. - Dashboard account listing now uses server-side pagination via
GET /api/accounts?page=1&limit=20to prevent browser crashes and backend memory spikes when managing very large account pools. - Dashboard account list now sorts Revoked accounts to the very bottom automatically.
- Dashboard sidebar now accurately displays the true total count of all accounts across all pages instead of just the paginated slice length.
- Dashboard account card now gracefully hides usage progress bars when an account is marked as Revoked, displaying the revoked reason/status clearly instead.
- Improved revoked token detection logic during background usage refresh to correctly identify API
token_invalidated,account_suspended, andaccount_deactivatederrors. - Added a one-time backend startup migration to automatically scan and backfill the
Revokedstatus for any legacy accounts that were suspended prior to the new revoked schema upgrade.
v1.0.2
Added
- Dedicated GitHub workflow for PR code review with synthesized final review output.
- Optional PR autofix helper workflow that generates patch suggestions and uploads patch artifacts for manual application.
- New API-key protected endpoint
GET /v1/auth.jsonto export the active API account auth payload for external Codex CLI runners.
Changed
- OpenAI
/v1root payload validation now only dispatches to chat completions and responses APIs. - API settings payload now exposes
auth_json_endpointfor automation clients. - API Workspace UI now shows Auth JSON endpoint and download example for automation use.
- Code-review automation flow is now review-first and can be configured to avoid direct push/merge behavior.
- API logging and automation coverage were refined so review flows stay visible and traceable in API logs.
- Settings and documentation were expanded with automation usage details and cURL examples.
- GitHub Actions code-review and autofix automation are now consolidated into a single workflow file for simpler maintenance.
- GitHub code-review workflow now supports manual run from Actions (
workflow_dispatch) with optional base/head SHA and PR comment target. - Release and code-review workflows now use Node 24-ready artifact action (
actions/upload-artifact@v7), and release publishing was migrated fromsoftprops/action-gh-releasetogh releaseCLI. - Fixed Linux installer cleanup trap to avoid
bash: line 1: tmp: unbound variableafter package install in strict shell mode (set -u). - Installer now prints default auth credentials (
admin / hijilabs) and password change command (codexsess --changepassword) after install. - Server-mode installer now verifies
codexsess.serviceactive state and prints status check command (systemctl status codexsess). - Default bind address is now
0.0.0.0:<PORT>(withCODEXSESS_BIND_ADDRoverride support), and server service unit setsCODEXSESS_BIND_ADDR=0.0.0.0:3061. - Installer terminal output now uses clearer colored status lines for info, success, and error messages.
- README now documents
CODEXSESS_BIND_ADDRand includes GUI-mode~/.bashrcbind override example for0.0.0.0. - Startup logging now prints actual bind address separately from local browser URL so public bind mode is explicit in runtime logs.
- Startup logging now adds explicit
public bind enabledline when bind host is0.0.0.0or::. - API request routing now applies backend auto-switch consistently across chat/responses/messages routes: if active account quota is exhausted, it switches to the best available account; if all are exhausted, it returns quota exhaustion.
- First-account bootstrap now auto-selects the very first added account as both API active and CLI (Codex) active when account storage is empty.
- Copy actions now include a non-secure-context fallback (
execCommand) so copy buttons keep working when accessing CodexSess via IP over HTTP. - Installer now enforces Codex CLI availability: it auto-installs
npmwhen missing and then installs@openai/codexglobally whencodexis not found. - Runtime now performs fail-fast Codex CLI checks (
PATH+ executable test viacodex --version) before starting the server. - Added configurable Codex binary resolution (
codex_binin config /CODEXSESS_CODEX_BINenv), and runtime now resolves/stores absolute binary path for all Codex exec calls. - Startup Codex binary detection now includes explicit Windows fallback resolution (
codex.cmd/.exe/.bat) and exposes detected Codex CLI version in web settings payload. - Sidebar header now displays
Codex CLIversion directly underCodex Account Management. - Installer now performs a final
systemctl restart codexsess.servicepass at the end of execution (including--mode update) whenever the service exists, with explicit status output. - Installer-generated systemd unit now runs as the installer user by default (
$SUDO_USERor current user), and sets matchingHOME/CODEX_HOMEfor consistent Codex account context. - Proxy API auth execution now uses isolated per-account
CODEX_HOMEunder CodexSess storage, so API traffic no longer conflicts withUse CLIauth context. - API account resolution no longer synchronizes CLI active context implicitly; only explicit
Use CLIupdates CLI auth state. - Codex exec error reporting now prefers structured JSON error events (
error/turn.failed) before falling back tostderr/exit code, reducing genericexit status 1responses. - Installer update/download flow now forces release asset re-download with cache-bypass headers/query, so update keeps fetching binary/package even when version tag is unchanged.
- GitHub code-review workflow now supports true manual runs without
pr_number(viatarget_ref) and auto-creates a dedicated autofix branch on manual mode when safe changes exist. - GitHub code-review autofix push is now guarded for PR mode to skip direct push on fork-based PRs, preventing workflow failure from cross-repo push permission errors.
v1.0.1
Added
- About view in the web console with app information, version state, release link, and latest changelog panel.
- API traffic logging now includes resolved account detail fields.
- Version/update API surface for frontend (
/api/version/checkand version fields in settings response). - Browser login now supports manual callback URL submission (
/api/auth/browser/complete) for VPS/remote login flows. - New API endpoint
POST /v1/code-reviewwith optionalcustom_promptfor dedicated code-review workflows.
Changed
- Sidebar now shows current app version above logout.
- Browser document title now defaults to
CodexSess Consoleand changes per active menu (for exampleSettings - CodexSess Console). - About page content is now clearer and includes a dedicated HIJINetwork promotion section with direct external link.
- About page changelog section title now includes version context (for example
Latest Changelog v1.0.1). - About page product description was expanded to better explain operational value and production use cases.
- Mobile layout now keeps sidebar behavior with a burger-triggered slide-in menu and overlay close interaction.
- Improved API/logging behavior for streaming and full body capture.
- Improved settings UX and update status visibility.
- Browser login modal now includes manual callback URL input with inline submit action.
- OAuth callback base URL resolution now respects request/forwarded host instead of forcing localhost.
- OpenAI streaming final chunk now sends assistant role in
deltafor stricter client compatibility. - Code review endpoint now enforces input size limits and quota checks for consistency with other proxy endpoints.
- GitHub code-review workflow now uses
jq --rawfilefor large diffs and adds retry/timeout hardening for CodexSess API calls.