Spaces:
Paused
Paused
Commit History
-
chore: update to v1.0.92 and Codex 26.323.20928
Lenson55ac8b5
-
Remove unnecessary keep-alive (already in nanobot repo)
Lenson3951597 -
Add keep-alive: use HF token auth, /health endpoint, every 12h
Lenson683941c -
Fix data directory download URL prefix
Lenson1f4967a -
Fix: move sleep to inside upload function so app starts first
Lenson1b0f5be -
Fix: wait 3 minutes after download complete before starting upload
Lenson6f3ebaa -
Fix function order: download first, then start background upload
Lenson2a9bbfa -
fix: startup only downloads, runtime only uploads
Lensoncf4855f -
fix: upload script - use sh -c instead of local in while loop
Lensondaa9bc9 -
fix: config download path - map to /app/config/ for files without prefix
Lenson5d5f0c9 -
fix: remove incorrect skip condition for files without directory prefix
Lenson53e215a -
fix: download script - use non-recursive API, add prompts dir, add debug logs
Lenson4b51cd8 -
fix: correct download path for config/ and data/ directories
Lenson57cd044 -
fix: download from each directory separately instead of recursive list
Lenson1450f4d -
fix: use PUT instead of POST to auto-overwrite existing files
Lenson0350245 -
fix: use pure bash/curl instead of python3
Lenson96d4c29 -
feat: add Supabase Storage sync for config persistence
Lenson- Add download/upload functions using Supabase Storage API - Sync config/ and data/ directories - Default bucket: codex-proxy - Remove datasets config (Docker Spaces doesn't support)124c1a0
-
fix: simplify setup, add datasets mount, proxy_api_key to null
Lenson581d2f1 -
fix: set proxy_api_key to null to disable login
Lensonc6ff317 -
fix: re-enable proxy_api_key
Lenson152308a -
fix: disable dashboard login for HF Spaces
Lenson951b4c7 -
fix: force secure cookie on HF Spaces
Lenson3bd560b -
fix: bypass dashboard auth on HF Spaces
Lenson8c41cd9 -
fix: use curl instead of huggingface-cli for config download
Lenson15ac309 -
feat: add HF Dataset sync scripts
Lenson0c1bc80 -
feat: add HF Dataset sync for config persistence, install huggingface-hub
Lenson49de6ec -
fix: disable dashboard login for HF Spaces
Lenson5a5b104 -
feat: add Dockerfile for HF Spaces
Lensoncc7d19f -
feat: add hf_space_metadata.yaml
Lensonf322e04 -
feat: add .hf/setup.sh for HF Spaces compatibility
Lensonbbaa5d7 -
force rebuild
Lenson32c214d -
feat: rename Dockerfile to Dockerfile.hfspaces for HF Spaces
Lenson52e54c5 -
feat: add HF Spaces frontmatter
Lenson024236e -
chore: reset to v1.0.80, change port to 7860
Lenson3a8632d -
chore: bump version to 1.0.80 [skip ci]
github-actions[bot]32162ac -
docs: auto-sync changelog to README [skip ci]
github-actions[bot]8af8329 -
feat: dashboard login gate for public deployments (#148)
icebear +1: icebear0828Unverified signature* feat: dashboard login gate for public deployments (#141) Cookie-based session auth when proxy_api_key is set and request is non-localhost. API routes (/v1/*) unaffected, Electron (localhost) auto-bypassed. - In-memory session store with TTL from session.ttl_minutes config - Dashboard auth middleware with path-based allowlist - Login/logout/status endpoints with per-IP brute-force protection - HTTPS auto-detection: Secure flag on cookie when X-Forwarded-Proto: https - Remote session cannot clear proxy_api_key (prevents disabling login gate) - Frontend LoginGate component with i18n (en/zh), conditional logout button * fix: dashboard login security hardening - Timing-safe password comparison (crypto.timingSafeEqual) - Rate limiter cleanup of expired entries to prevent memory leak - Extract shared parseSessionCookie to src/utils/parse-cookie.ts - Remove silent password.trim() that could cause subtle mismatches - Logout button visible on mobile (icon-only on small screens) - Fix fragi…91ee702 -
chore: bump version to 1.0.79 [skip ci]
github-actions[bot]dfab27b -
fix: model list not updating at startup — fast-retry on auth race (#149)
icebear +1: icebear0828Unverified signatureRoot cause: token refresh and model fetch race at startup. Initial fetch fires 1s after boot, but accounts may still be refreshing OAuth tokens. isAuthenticated() returns false → fetch silently skips → next retry is ~1 hour later. - model-fetcher: fast-retry (10s × 12 attempts) until accounts are ready - config/models.yaml: add gpt-5.4/5.4-mini/5.3-codex (restored 2026-03-18) - Export hasFetchedModels() for observability - 4 new tests covering retry/fallback/immediate-success scenarios Co-authored-by: icebear0828 <icebear0828@users.noreply.github.com>56be298 -
chore: bump version to 1.0.78 [skip ci]
github-actions[bot]f25b99c -
docs: auto-sync changelog to README [skip ci]
github-actions[bot]a969043 -
feat: usage stats page with time-series token tracking (#147)
icebear +1: icebear0828Unverified signature* feat: usage stats page with time-series token tracking - Background snapshot recording (piggybacks on quota refresh, ~5min interval) - UsageStatsStore: JSON persistence, 7-day retention, delta computation - GET /admin/usage-stats/summary — live cumulative totals - GET /admin/usage-stats/history — time-series deltas with hourly/daily granularity - Pure SVG line charts (input/output tokens + request count) - Granularity (hourly/daily) and range (24h/3d/7d) selectors - 13 backend tests (snapshot, delta, aggregation, retention, API routes) - i18n: en + zh * fix: usage stats review fixes — chart coords, refresh, cleanup --------- Co-authored-by: icebear0828 <icebear0828@users.noreply.github.com>df56b50 -
docs: auto-sync changelog to README [skip ci]
github-actions[bot]59408ab -
chore: bump version to 1.0.77 [skip ci]
github-actions[bot]329866c -
feat: account management page with batch operations (#146)
icebear +1: icebear0828Unverified signature* fix: treat unfetched plan types as possibly compatible in acquire() When model-fetcher fails to fetch models for a plan type (e.g. the selected free account had an expired token), _planModelMap only contains successfully fetched plans. acquire() then excludes all accounts whose planType is absent from the map — even though their compatibility is unknown, not negative. Add isPlanFetched() to model-store and use it in acquire() to distinguish "plan was fetched and model is absent" (exclude) from "plan was never fetched" (include as possibly compatible). This prevents false 503s when a plan's model fetch failed at startup. * feat: account management page with batch operations Add #/account-management page for bulk account management: - POST /auth/accounts/batch-delete and batch-status endpoints - Batch delete, set active, set disabled with confirmation - Status summary chips (clickable to filter) - Reuse AccountTable with optional proxy column - Import/export accessible from new pag…7516302 -
chore: bump version to 1.0.76 [skip ci]
github-actions[bot]909a297 -
Merge pull request #143 from icebear0828/fix/docker-build-tsc-tests
icebearUnverified signaturefix: exclude test files from tsc build to unbreak Docker CI071671d -
fix: exclude test files from tsc build to unbreak Docker CI
icebear0828tsconfig included src/**/__tests__/** and *.test.ts, so `npx tsc` in Dockerfile compiled test files. When test fixtures drifted from changed interfaces (e.g. CurlFetchResponse gaining/losing fields), Docker build failed even though Vitest passed. Exclude test globs from the build tsconfig and fix the stale `headers` property in update-checker mocks.28a98b1 -
chore: bump version to 1.0.75 [skip ci]
github-actions[bot]43308ae -
fix: write runtime cache to data/ instead of git-tracked config/ (#138)
icebear +1: icebear0828Unverified signaturemodel-store synced merged catalog back to config/models.yaml on every backend fetch (~1h), and update-checker mutated config/default.yaml on version detection. Both made the repo dirty after normal runtime. - syncStaticModels() → data/models-cache.yaml (gitignored) - applyVersionUpdate() → data/version-state.json (gitignored) - loadStaticModels() overlays cache on cold start for fallback - loadCurrentConfig() checks version override before YAML baseline - config/ is now read-only for runtime operations Co-authored-by: icebear0828 <icebear0828@users.noreply.github.com>50720ce