Spaces:
Paused
Paused
Commit History
-
fix: bypass gemini CLI relaunch mechanism using GEMINI_CLI_NO_RELAUNCH environment variable
4e5f895 -
fix: resolve Gemini CLI relaunch failure by invoking entry JS directly with node flags
d63dc26 -
fix: add explicit environment variables to gemini wrapper in Dockerfile to prevent sandbox and trust prompt failures
2ba784e
-
fix: suppress deprecation warnings and node alerts by updating NODE_OPTIONS in Dockerfile and start.sh
bc525e1 -
chore: update agent CLI wrappers to set max-old-space-size and clear existing NODE_OPTIONS
e79e3bc -
chore: unset NODE_OPTIONS for agent CLIs to prevent environment conflicts
e6dbd45 -
chore: update paperclip user UID to 1001 in Dockerfile
5015cf0 -
fix: remove recursive chown of /app in Dockerfile to preserve root ownership of files
c7255ef -
chore: create non-root user and update directory permissions in Dockerfile and start script
9946cfb -
chore: install additional agent CLIs and migrate sync status timestamp to timezone-aware datetime
9161677
-
refactor: optimize Docker build layers, consolidate dependency patches, and modernize documentation
6ad52e8 -
Restore dashboard at / with Paperclip at /app/ (proper fix)β
Patch ui/src/main.tsx in the Dockerfile build to add basename="/app" to BrowserRouter. With this, React Router strips the /app prefix client-side before matching routes β /app/ becomes /, /app/ABC/issues becomes /ABC/issues β so the company-prefix extractor never sees "app". Health server: - / β HuggingClip dashboard (restored) - /app/* β proxy to Paperclip with /app prefix stripped - /api/* β proxy pass-through - /* catch-all β proxy pass-through (assets, sw.js, etc.) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>44ce938 -
Make sed patch robust + verify with grepβ
Build failed silently. Add: file existence check, simpler sed pattern (just seen.has(current.id) β wrapped form), grep-verify the patch landed, dump file context if not for debugging. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>316b8d3 -
Patch Paperclip source to cap recovery chain depth at 500β
Found the actual bug. Confirmed via @paperclipai/server npm tarball: firstBlockedChainFinding does proper cycle detection via Set.has, but the chain in user data is genuinely 1000+ deep (created by a runaway recovery-issue loop). Each recursive call also clones the Set into new Set(seen), so memory blows up too. Fix: sed-patch the if-check to also bail when seen.size > 500. This short-circuits deep linear chains without affecting normal graphs. Patch runs in the builder stage before pnpm build. Reverted SQL purge and --unhandled-rejections=none from start.sh β neither addressed the root cause. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>df96d5e
-
Install gemini CLI in Docker image for gemini-local adapterβ
Paperclip's gemini-local adapter spawns 'gemini' as a subprocess. Add @google/gemini-cli globally so it resolves in PATH. Also export GEMINI_API_KEY, ANTHROPIC_API_KEY, OPENAI_API_KEY explicitly so all adapters and sub-processes inherit them from HF Space secrets. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>5c47206 -
fix: use corepack for pnpm version and add plugin-sdk build stepβ
- corepack enable uses correct pnpm version from packageManager field - add @paperclipai/plugin-sdk build (matches official Paperclip Dockerfile) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>47b3c14 -
fix: three startup errors from build/runtimeβ
- Remove HfFolder import (removed in huggingface_hub >= 0.20) - Build only ui + server packages (match official Paperclip Dockerfile) - Launch server with tsx loader so workspace .ts packages resolve at runtime Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>9e72cf8 -
fix: resolve Docker build errorsβ
- Drop `git checkout main` β Paperclip default branch not main, clone uses default - Add --depth=1 to clone for faster build - Remove --frozen-lockfile from pnpm install (lockfile may mismatch) - Fix health-server deps: local npm install in /app instead of global - Add --break-system-packages to pip install (required on Debian trixie) - Copy full Paperclip build dir instead of only dist/ - Add pnpm to runtime stage for start.sh launch - Fix Paperclip launch: exec pnpm start instead of exec node server.js Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>3182e31 -
feat: initial HuggingClip releaseβ
Paperclip AI agent orchestration platform on Hugging Face Spaces. - Dockerfile: node:lts-trixie-slim, builds Paperclip from source - start.sh: orchestrate postgres β restore β proxy β sync β launch - health-server.js: port 7861 gateway, dashboard, proxy to 3100 - paperclip-sync.py: pg_dump + tarball backup/restore via HF Dataset - cloudflare-proxy: bypass HF Spaces outbound network blocks - docker-compose.yml: local dev environment - .env.example: full configuration reference - README.md: deployment guide with quick start Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>be8c7bb