HuggingClaw / scripts /sync_hf.py

Commit History

  1. fix: remove tao-shen/HuggingClaw-data refs to prevent unwanted linked spaces⁠

    tao-shen +1: Claude Opus 4.6
    4da041a
  2. test: revert dataset derivation to observe linked spaces behavior⁠

    tao-shen +1: Claude Opus 4.6
    b0f06a1
  3. fix: restore OPENCLAW_DATASET_REPO priority over SPACE_ID derivation⁠

    tao-shen +1: Claude Opus 4.6
    a902a81
  4. fix: always derive dataset from SPACE_ID, ignore OPENCLAW_DATASET_REPO on HF⁠

    tao-shen +1: Claude Opus 4.6
    5d56a07
  5. fix: revert to token auth with default "huggingclaw"⁠

    tao-shen +1: Claude Opus 4.6
    0d8eee8
  6. feat: default to no-auth mode — Control UI connects instantly⁠

    tao-shen +1: Claude Opus 4.6
    ad7936d
  7. fix: auto-derive dataset name from SPACE_ID, not HF_TOKEN username⁠

    tao-shen +1: Claude Opus 4.6
    8f44b56
  8. feat: add GATEWAY_TOKEN env var (default: huggingclaw)⁠

    tao-shen +1: Claude Opus 4.6
    b38f1ec
  9. fix: restore dangerouslyDisableDeviceAuth for HF Spaces⁠

    tao-shen +1: Claude Opus 4.6
    f9ba624
  10. config: set hardcoded gateway token "huggingclaw" as default⁠

    tao-shen +1: Claude Opus 4.6
    08ec8c2
  11. remove: drop gateway password/token auth entirely — device auth only⁠

    tao-shen +1: Claude Opus 4.6
    483945f
  12. security: enforce device auth — only paired browsers can access Control UI⁠

    tao-shen +1: Claude Opus 4.6
    cad8196
  13. feat: switch auth from password to token mode (persists in browser)⁠

    tao-shen +1: Claude Opus 4.6
    cb4193b
  14. fix: always force dmPolicy=open + allowFrom=["*"] on every startup⁠

    tao-shen +1: Claude Opus 4.6
    0e39bfb
  15. fix: add allowFrom=["*"] required by dmPolicy=open⁠

    tao-shen +1: Claude Opus 4.6
    f214515
  16. fix: set Telegram dmPolicy=open and configWrites=true for HF Spaces⁠

    tao-shen +1: Claude Opus 4.6
    3371c9c
  17. feat: telegram-proxy.cjs intercepts fetch() to bypass HF DNS block⁠

    tao-shen +1: Claude Opus 4.6
    95579c1
  18. fix: validate Telegram bot token format before probe (skip junk tokens)⁠

    tao-shen +1: Claude Opus 4.6
    4fb4a97
  19. fix: revert auth to password mode, add Telegram API auto-probe, background DNS⁠

    tao-shen +1: Claude Opus 4.6
    e01d625
  20. feat: switch auth from password to token for browser persistence⁠

    tao-shen +1: Claude Opus 4.6
    ac5bf04
  21. feat: derive dataset name from Space repo name to avoid conflicts⁠

    tao-shen +1: Claude Opus 4.6
    760b46b
  22. fix: remove leftover _ensure_telegram_credentials() call causing RUNTIME_ERROR⁠

    tao-shen +1: Claude Opus 4.6
    e78b82b
  23. fix: patch config when dataset exists but is empty⁠

    tao-shen +1: Claude Opus 4.6
    e516099
  24. feat: auto-derive dataset repo name from HF_TOKEN when AUTO_CREATE_DATASET=true⁠

    tao-shen +1: Claude Opus 4.6
    092c6d8
  25. security: change AUTO_CREATE_DATASET default to false⁠

    tao-shen +1: Claude Opus 4.6
    11d18c7
  26. docs: add detailed env var table with examples, change sync interval to 60s⁠

    tao-shen +1: Claude Opus 4.6
    d61c242
  27. chore: replace gpt-4o-mini with gpt-5-nano everywhere⁠

    tao-shen +1: Claude Opus 4.6
    a477e02
  28. chore: default model → openai/gpt-oss-20b:free (OpenAI open-source)⁠

    tao-shen +1: Claude Opus 4.6
    3606260
  29. chore: default repo → HuggingClaw-data, default model → DeepSeek V3 (free)⁠

    tao-shen +1: Claude Opus 4.6
    7317cd7
  30. fix: IndentationError in sync_hf.py line 161⁠

    tao-shen +1: Claude Opus 4.6
    fcd4893
  31. Remove Telegram env vars, clean up README and .env.example⁠

    tao-shen +1: Claude Opus 4.6
    63ca3f6

  1. feat: add AUTO_CREATE_DATASET env var to control dataset auto-creation⁠

    tao-shen +1: Claude Opus 4.6
    553c78c
  2. feat: professional README, .env.example, architecture diagram⁠

    tao-shen +1: Claude Opus 4.6
    25ff55e
  3. fix: ensure password auth is set in all startup paths⁠

    tao-shen +1: Claude Opus 4.6
    bce2d13
  4. feat: switch to password auth + project README⁠

    tao-shen +1: Claude Opus 4.6
    201eb72
  5. fix: add dangerouslyDisableDeviceAuth for remote WS connections

    tao-shen
    8d47c2c
  6. fix: use fixed auth token + python-based token injection + restore entrypoint inject

    tao-shen
    cb0513d
  7. fix: disable auth (mode:none) + patch CSP frame-ancestors for HF iframe embedding

    tao-shen
    331869d
  8. fix: use auth:{} instead of auth:false (object required)

    tao-shen
    c8f0255
  9. fix: disable gateway auth (HF provides access control), remove token inject hack

    tao-shen
    b4b523f
  10. fix: remove empty apiKey (config invalid), add HF origins to CSP allowedOrigins

    tao-shen
    e6c8a11
  11. perf: node user build (-104s chown), merge RUN layers (-170s), plugin whitelist (-40s)

    tao-shen
    04264a9
  12. feat: add timing to all stages, fix OPENROUTER_API_KEY crash, async DNS

    tao-shen
    c03793c
  13. deploy: HuggingClaw with original Dockerfile

    tao-shen
    e7ab5f1