Spaces:
Paused
Paused
Commit History
-
fix: use curl instead of huggingface-cli for config download
Lenson15ac309 -
feat: add HF Dataset sync for config persistence, install huggingface-hub
Lenson49de6ec -
feat: add Dockerfile for HF Spaces
Lensoncc7d19f -
feat: rename Dockerfile to Dockerfile.hfspaces for HF Spaces
Lenson52e54c5 -
chore: reset to v1.0.80, change port to 7860
Lenson3a8632d
-
fix: Docker HEALTHCHECK reads port from config (#118) (#119)
icebear +1: icebear0828Unverified signature* fix: Docker HEALTHCHECK reads port from config instead of hardcoded 8080 (#118) HEALTHCHECK was hardcoded to localhost:8080. Users who changed server.port in default.yaml (e.g. 8090) got an infinite restart loop because the health check always failed. Add docker-healthcheck.sh that parses port from config/default.yaml, falling back to 8080 if unreadable. * fix: remove unreachable exec in docker healthcheck script --------- Co-authored-by: icebear0828 <icebear0828@users.noreply.github.com>02fe9b3
-
feat: model name suffix system + service_tier + Docker persistence fix (#35)
icebear +2: icebear0828, Claude Opus 4.6Unverified signature* feat: model name suffix system + service_tier (fast mode) support Add a unified model name suffix convention so CLI tools (Claude Code, opencode, etc.) can control reasoning effort and speed mode purely through the model name — no extra API fields needed. Suffix parsing (`parseModelName`): - `-fast` / `-flex` → `service_tier` - `-minimal` / `-low` / `-medium` / `-high` / `-xhigh` → `reasoning_effort` - Known model IDs and aliases are never suffix-parsed - Priority: explicit API field > suffix > model default > config default Backend: - `parseModelName()` in model-store.ts (core suffix resolver) - `service_tier` field in Zod schema + CodexResponsesRequest interface - `default_service_tier` in config schema + default.yaml - All 3 translation layers (OpenAI/Anthropic/Gemini) use parseModelName() Dashboard: - Standard / Fast speed toggle in ApiConfig - AnthropicSetup shows compound model name with suffixes - CodeExamples builds compound model name, suppresses redundant params Exampl…5416ffb
-
feat: OpenCode platform support, vitest tests, changelog & Docker hardening
icebear0828 +1: Claude Opus 4.6- Add opencode.json provider config for OpenCode IDE integration - Add CHANGELOG.md covering all versions (v0.1.0–v0.8.0) - Add vitest with unit tests for account-pool, codex-api, codex-event-extractor - Add request-id middleware to global middleware chain - Harden Dockerfile: non-root user, HEALTHCHECK probe - Simplify /health endpoint to return pool summary only Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>92c5df7
-
fix: copy scripts/ before npm ci for postinstall to find setup-curl.ts
icebear0828 +1: Claude Opus 4.6Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>365b839 -
fix: Docker build installs curl, keeps tsx, optimizes layers
icebear0828 +1: Claude Opus 4.6- Add curl to apt-get (needed by setup-curl.ts and full-update.ts) - Re-add tsx after prune (needed at runtime by update-checker fork) - Separate web deps layer for better cache efficiency - Add env_file to docker-compose.yml for .env pass-through - Default .env.example to linux/x64 for Docker users - Expand .dockerignore to exclude .env*, *.md, scripts/poc-* Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>701ca45 -
fix: Dockerfile copies source before npm ci for postinstall
icebear0828 +1: Claude Opus 4.6postinstall runs setup-curl.ts which needs scripts/ directory. Move COPY before npm ci so the script is available. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>9c91ebe -
fix: Docker build uses host network for proxy access
icebear0828 +1: Claude Opus 4.6Build with network:host so npm/curl inside the build container can directly use the host's proxy (127.0.0.1). Eliminates the need for BUILD_PROXY and host.docker.internal resolution during build. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>8a1166d -
fix: use BUILD_PROXY arg to avoid BuildKit proxy conflict
icebear0828 +1: Claude Opus 4.6BuildKit intercepts HTTP_PROXY build args for image pulls, causing host.docker.internal resolution failures. Use custom BUILD_PROXY arg instead — Docker daemon's own proxy handles image pulls. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>814607e -
fix: Docker build supports proxy via .env configuration
icebear0828 +1: Claude Opus 4.6- docker-compose.yml reads HTTP_PROXY and CONTAINER_PROXY from .env - Build args pass proxy to npm/GitHub downloads inside container - Runtime proxy uses host.docker.internal to reach host proxy - .env.example documents all proxy settings - No per-machine Docker daemon config needed Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>b675b05
-
feat: migrate dashboard to Preact + Vite
icebear0828 +1: Claude Opus 4.6- New web/ directory with Preact components, Tailwind CSS v3, Vite build - i18n via Context + useT() hook (zero DOM scanning on language switch) - Theme via ThemeProvider + useTheme() hook - Ghost text technique for stable header layout across EN/ZH - Backend: serve Vite build output from public/ - Docker: added frontend build step - Build: npm run build now builds frontend first, then backend Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>b7d4394 -
refactor: fingerprint alignment, auto-maintenance, Docker deployment
icebear0828 +1: Claude Opus 4.6Phase 1 - Eliminate fingerprint detection gaps: - Dynamic sec-ch-ua from config chromium_version (aligned with TLS profile) - Inject full fingerprint headers into curl-fetch (OAuth/appcast) - Unify Accept-Encoding based on curl-impersonate detection - Optimize header ordering (single sort pass) Phase 2 - Auto-maintenance: - Structured YAML mutation utility (replace regex hacks) - Auto full-update pipeline on new version detection - Config hot-reload after updates - Exponential backoff token refresh (5 attempts + 10m recovery) - Immediate persistence for critical data (tokens, cf_clearance) - Cookie v2 format with expiry timestamps - Graceful shutdown with 10s timeout protection - Usage counters auto-reset on rate limit window rollover Phase 3 - Docker deployment: - Dockerfile, docker-compose.yml, .dockerignore - Deployment docs in README Fixes: - Extract planType from JWT /auth claim (was looking in /profile) - Backfill missing planType on startup for existing accounts - Show full d…347f81b