HuggingClaw / scripts /sync_hf.py

Commit History

fix: remove tao-shen/HuggingClaw-data refs to prevent unwanted linked spaces
750878a

tao-shen Claude Opus 4.6 commited on

test: revert dataset derivation to observe linked spaces behavior
8c4d233

tao-shen Claude Opus 4.6 commited on

fix: restore OPENCLAW_DATASET_REPO priority over SPACE_ID derivation
7728a08

tao-shen Claude Opus 4.6 commited on

fix: always derive dataset from SPACE_ID, ignore OPENCLAW_DATASET_REPO on HF
419ff91

tao-shen Claude Opus 4.6 commited on

fix: revert to token auth with default "huggingclaw"
5a096f1

tao-shen Claude Opus 4.6 commited on

feat: default to no-auth mode β€” Control UI connects instantly
3f16497

tao-shen Claude Opus 4.6 commited on

fix: auto-derive dataset name from SPACE_ID, not HF_TOKEN username
8f454de

tao-shen Claude Opus 4.6 commited on

feat: add GATEWAY_TOKEN env var (default: huggingclaw)
99d42f4

tao-shen Claude Opus 4.6 commited on

fix: restore dangerouslyDisableDeviceAuth for HF Spaces
d2e3735

tao-shen Claude Opus 4.6 commited on

config: set hardcoded gateway token "huggingclaw" as default
a18f6b8

tao-shen Claude Opus 4.6 commited on

remove: drop gateway password/token auth entirely β€” device auth only
8814392

tao-shen Claude Opus 4.6 commited on

security: enforce device auth β€” only paired browsers can access Control UI
7a3a430

tao-shen Claude Opus 4.6 commited on

feat: switch auth from password to token mode (persists in browser)
342dacc

tao-shen Claude Opus 4.6 commited on

fix: always force dmPolicy=open + allowFrom=["*"] on every startup
1be188a

tao-shen Claude Opus 4.6 commited on

fix: add allowFrom=["*"] required by dmPolicy=open
3c50513

tao-shen Claude Opus 4.6 commited on

fix: set Telegram dmPolicy=open and configWrites=true for HF Spaces
27fc3a4

tao-shen Claude Opus 4.6 commited on

feat: telegram-proxy.cjs intercepts fetch() to bypass HF DNS block
d88aa6c

tao-shen Claude Opus 4.6 commited on

fix: validate Telegram bot token format before probe (skip junk tokens)
af9334d

tao-shen Claude Opus 4.6 commited on

fix: revert auth to password mode, add Telegram API auto-probe, background DNS
55bff24

tao-shen Claude Opus 4.6 commited on

feat: switch auth from password to token for browser persistence
b1888ca

tao-shen Claude Opus 4.6 commited on

feat: derive dataset name from Space repo name to avoid conflicts
556360b

tao-shen Claude Opus 4.6 commited on

fix: remove leftover _ensure_telegram_credentials() call causing RUNTIME_ERROR
99e2a15

tao-shen Claude Opus 4.6 commited on

fix: patch config when dataset exists but is empty
cf93629

tao-shen Claude Opus 4.6 commited on

feat: auto-derive dataset repo name from HF_TOKEN when AUTO_CREATE_DATASET=true
3ff709d

tao-shen Claude Opus 4.6 commited on

security: change AUTO_CREATE_DATASET default to false
66d172d

tao-shen Claude Opus 4.6 commited on

docs: add detailed env var table with examples, change sync interval to 60s
082f8f4

tao-shen Claude Opus 4.6 commited on

chore: replace gpt-4o-mini with gpt-5-nano everywhere
7b37cc0

tao-shen Claude Opus 4.6 commited on

chore: default model β†’ openai/gpt-oss-20b:free (OpenAI open-source)
3f7c1c9

tao-shen Claude Opus 4.6 commited on

chore: default repo β†’ HuggingClaw-data, default model β†’ DeepSeek V3 (free)
981cddc

tao-shen Claude Opus 4.6 commited on

fix: IndentationError in sync_hf.py line 161
dd40c50

tao-shen Claude Opus 4.6 commited on

Remove Telegram env vars, clean up README and .env.example
4a2cb8a

tao-shen Claude Opus 4.6 commited on

feat: add AUTO_CREATE_DATASET env var to control dataset auto-creation
0b594d1

tao-shen Claude Opus 4.6 commited on

feat: professional README, .env.example, architecture diagram
7cd8723

tao-shen Claude Opus 4.6 commited on

fix: ensure password auth is set in all startup paths
a0edddc

tao-shen Claude Opus 4.6 commited on

feat: switch to password auth + project README
af9539c

tao-shen Claude Opus 4.6 commited on

fix: add dangerouslyDisableDeviceAuth for remote WS connections
e144115

tao-shen commited on

fix: use fixed auth token + python-based token injection + restore entrypoint inject
2dfffd7

tao-shen commited on

fix: disable auth (mode:none) + patch CSP frame-ancestors for HF iframe embedding
1469692

tao-shen commited on

fix: use auth:{} instead of auth:false (object required)
265a06f

tao-shen commited on

fix: disable gateway auth (HF provides access control), remove token inject hack
f10fd84

tao-shen commited on

fix: remove empty apiKey (config invalid), add HF origins to CSP allowedOrigins
98cdf74

tao-shen commited on

perf: node user build (-104s chown), merge RUN layers (-170s), plugin whitelist (-40s)
ef2eccf

tao-shen commited on

feat: add timing to all stages, fix OPENROUTER_API_KEY crash, async DNS
0d9d280

tao-shen commited on

deploy: HuggingClaw with original Dockerfile
b19d31a

tao-shen commited on