Skip to content

FanBox 2.7.0 - Windows x64 port

Choose a tag to compare

@Emberwhirl Emberwhirl released this 19 Jul 14:51

Community Windows x64 port of FanBox, tracking upstream v2.7.0. macOS users should use the official repo.

Downloads

File Use
FanBox-2.7.0-win-x64.exe NSIS installer — pick install dir, creates shortcuts
FanBox-2.7.0-win-x64-portable.exe Portable — run without installing

Not code-signed. On first launch Windows SmartScreen will warn "unknown publisher" — click More info → Run anyway. latest.yml and the .blockmap power the app's in-app update check; leave them attached.

New in 2.7.0

  • 🤝 Agent control interface (/api/agent/*). A coding agent running inside a FanBox terminal can now drive its sibling windows: list all terminals (cwd / foreground process / busy-idle / recent output), read de-ANSI'd output (up to 2000 lines), send commands (bracketed-paste whole blocks into a TUI), open new terminal windows (with autorun), long-poll until a task finishes, and close windows. Security model: the token is randomly generated each launch, never written to disk, and injected only into FanBox's own terminals — so the capability boundary is the FanBox process tree. Ships with a fanbox-agent skill (curl cheatsheet + multi-window parallel patterns), one-click installable into ~/.claude/skills from Settings (⚙ → "Agent 互控").

Windows-specific for this feature

  • Busy/idle and wait detection use shell child-process probing (on Windows, node-pty reports a static foreground process name, so it can't tell when a command returns to the bare shell) — semantics match macOS and the fanbox-agent skill works as-is.
  • terminals cwd falls back to the directory recorded at spawn/locate time (Windows can't read another process's live cwd).
  • De-ANSI buffering also strips OSC sequences (PowerShell rewrites the console title on every prompt, which would otherwise pollute /api/agent/read).

Design doc: docs/12-Agent控制接口-本机HTTP.md.

The Windows port (baseline)

  • 🖥️ Embedded terminal — PowerShell over ConPTY (node-pty), correct Chinese rendering, clickable C:\... paths.
  • 🖱️ One-click actions — open in VS Code (falls back to default app), open in Windows Terminal, safe Reveal in Explorer for paths with spaces/Chinese/special chars.
  • 💬 WeChat ClawBot bridge — Chinese + multiline personas survive end to end; timed-out runs kill the whole process tree so no orphaned agent keeps burning tokens.
  • 🛟 Snapshot safety belt — eligibility understands Windows drives (D:\myproject protected; C:\Users, C:\Windows refused).
  • 🌐 Environment & proxy — registry PATH merged so claude/codex resolve when launched from the GUI; system proxy honored (incl. SOCKS-only Clash / v2rayN); Chinese usernames work throughout.
  • 🔄 Updates — checks point at this repo's Releases, prompting only when a Windows installer exists.
  • ⌨️ Shortcuts — every ⌘ maps to Ctrl (e.g. Ctrl+K global search, Ctrl+Enter open in editor).

Requires Windows 10/11 (x64). Please file port-related issues in this repo's Issues, not upstream.