Windows desktop coding agent (WorkBuddy / ZCode class): full GUI, workspace-bound sessions, skills, MCP, multi-provider models, permissions & audit.
Repo folder may still be named
HFQ_Clod-Agent; product name is HFQ Code.
Languages: English · 简体中文
1.1.9 — Windows coding agent (Phase-1+2 + Phase-3 + 1.0.x + 1.1.x + F1 + update L1–L3 + PTY reattach / coding-loop polish):
- Session loop: create / resume / stop / delete / rename + auto-title, streaming, tokens, compaction, plan mode, sub-agents
- Session worker (child process) for agent loop isolation; in-process fallback
- Access modes (变更前确认 / 自动编辑 / 计划 / 完全访问) · permission modal queue · timeout auto-deny
- Tools:
read_file·list_dir·grep·git_status·git_diff·git_show·git_commit·memory_*·write_file·apply_patch·shell·network_fetch·spawn_subagent+ livemcp__* - Secrets in
credentials.json(API keys / MCP auth headers) - Memory 2.0 · Usage dashboard · Import wizard ·
/goallong-run + Tasks banner - Skills store: curated catalog · local folder + remote https zip/tar.gz · SKILL.md preview / conflict / tags
- MCP: stdio + HTTP · Permissions + Audit · Changes · Terminal (one-shot) · Models
- Update check: multi-source fallback (ghproxy mirrors → ungh → direct GitHub); L1 optional background download + L2 ready install + L3 opt-in silent NSIS
/S(default off; Portable has no L3) - Packaging: NSIS + portable ·
pnpm release:check/pack:verify· self-sign HFQ-ClodBreeze - Providers: delete mock/last channel · empty fail-closed ·
models:list· baseURL normalize - Session: open/send rebind to global active · identity pin against stale self-claims
- Chat UI: topbar provider · model · model-id-only composer control · menus open upward
- 1.1.9: PTY scrollback reattach · Terminal remount replay · Changes empty-message toast · coding-loop polish (not layout redesign)
- 1.1.8: update L3 — opt-in silentInstall · pending-install · install-and-restart (
/S) · Portable reject · bootstrap failsafe polish - 1.1.7: update L1+L2 —
updatePolicy· background auto-download · ready UI · one-click confirm install - 1.1.6: compression model drives LLM compact · goal
*.goals.jsoncold-start ·read_document(text/docx/pdf) · SettingscompactMaxChars· profile chip hot update · mermaid streaming-safe · Tasks parent indent - 1.1.5: Coding Profiles (6 built-in) · mermaid chat rendering · skill progressive match · goal driver fields · memory links · bundled diagram skill
- 1.1.4: abort isolation (only deny own session tree); live list enriched with
permissionMode/planMode; permission queue (multi-session FIFO); Chat MessageBlock/copy/lazy routes/CSS tokens - 1.1.3:
listSessionsalways exposesmodel/providerId; Tasksgoal_requiredspawn cold-start; UI identity helpers
See docs/PHASE3-STATUS.md · docs/ROADMAP.md · docs/PACKAGING.md · docs/AUDIT.md · CHANGELOG.md.
Official builds: GitHub Releases (NSIS installer + portable).
Releases are Authenticode-signed with self-signed publisher HFQ-ClodBreeze (not a commercial OV/EV cert). Windows may still show:
- 「无法验证发布者 / 未知发布者」 until the machine trusts the publisher root
- SmartScreen:「Windows 已保护你的电脑」 (reputation / new publisher)
This is expected for self-signed desktop apps, not a corrupt download. Details: docs/PACKAGING.md.
- Download only from this repo’s Releases (or a build you produced yourself).
- Optionally verify the file against
SHA256SUMS.txton the same release. - In the open-file dialog, choose 运行.
- If SmartScreen appears: 更多信息 → 仍要运行.
- NSIS install may elevate and import the publisher trust pack (
resources/trust). Portable users can runresources/Launch-HFQ-Code.batorInstall-Trust.bat(admin) once.
| Approach | Effect |
|---|---|
| Confirm 运行 / 仍要运行 after checking the Release URL + SHA-256 | Practical for self-use and small internal tests |
| Use the portable build + trust launcher | Same publisher; optional silent trust import |
Build from source (pnpm pack:win) with HFQ_SIGN_ROOT |
Signs with local PFX; never commit root.pfx |
HFQ_SIGN_SKIP=1 |
Unsigned local debug pack only |
Self-signed signing does not guarantee SmartScreen clearance. Commercial OV/EV certs + download reputation are a separate later option. Do not disable SmartScreen or UAC system-wide to “fix” this.
| Artifact | Notes |
|---|---|
HFQ Code-*-x64.exe |
NSIS installer (per-machine; trust import on install) |
HFQ Code-*-portable.exe |
Portable; use Launch-HFQ-Code.bat for trust + start |
SHA256SUMS.txt |
Checksums for the above |
Update policy: check → optional background download → ready → confirm install; L3 silent is opt-in only (default off; Portable has no L3).
Full notes: CHANGELOG.md. Release handoffs: docs/RELEASE-*.md.
| Version | Date | Summary |
|---|---|---|
| 1.1.9 | 2026-07-21 | PTY scrollback reattach · Terminal remount · Changes commit toast · coding-loop polish |
| 1.1.8 | 2026-07-20 | Update L3 opt-in silent NSIS · pending-install · install-and-restart · Portable reject L3 · bootstrap failsafe |
| 1.1.7 | 2026-07-20 | Update L1+L2 auto-download · ready UI · one-click confirm install (updatePolicy) |
| 1.1.6 | 2026-07-20 | Compression LLM compact · goal sidecar cold-start · read_document · compactMaxChars · UI polish (profile chip / mermaid stream / Tasks indent) |
| 1.1.5 | 2026-07-19 | Coding Profiles (6 built-in) · mermaid rendering · skill progressive match · goal driver fields · memory links · bundled diagram skill |
| 1.1.4 | 2026-07-19 | Abort permission isolation; live list access modes; permission queue; Chat MessageBlock+copy; lazy routes; CSS token migration |
| 1.1.3 | 2026-07-18 | Always expose session model/providerId; Tasks goal_required spawn cold-start; UI identity helpers; diagnostics test data-dir isolation |
| 1.1.2 | 2026-07-16 | Full product ship: 1.1.1 backend + Settings/Tasks/Changes/Models UI |
| 1.1.1 | 2026-07-16 | D3 install auto-download; providerId; Tasks children/spawn cold-start |
| 1.1.0 | 2026-07-16 | Provider lifecycle (delete mock); session model rebind + identity pin |
| 1.0.10 | 2026-07-17 | HFQ-ClodBreeze self-sign + trust pack; React shell; thinking / DPAPI / D3 / PTY backend train |
| 1.0.9 | 2026-07-15 | Remote Skills packages (zip/tar.gz); permission modal timeout + queue |
| 1.0.8 | 2026-07-15 | Topbar provider/model; model-id-only composer; menus open upward |
| 1.0.7 | 2026-07-15 | Update-check multi-source fallback (mirrors → ungh → direct) |
| 1.0.6 | 2026-07-15 | Skills preview/conflict/tags; /goal banner |
| 1.0.5 | 2026-07-15 | Update-check direct fallback; Skills store scaffold |
| 1.0.4 | 2026-07-14 | /goal long-run; default ghproxy update checks |
| 1.0.3 | 2026-07-14 | Chat UI polish (ZCode-style composer) |
| 1.0.2 | 2026-07-14 | Access modes; icon stamp; update check |
| 1.0.1 | 2026-07-14 | Logo / identity / data isolation |
| 1.0.0 | 2026-07-14 | First stable + CI/CD |
| Topic | Choice |
|---|---|
| Shell | Electron + TypeScript |
| Runtime | TypeScript agent-core (Python brain optional later) |
| Scenario | Coding agent first |
| Compat | Skills S1+light S2, own config + import wizard, MCP |
| Phase-1 UI | Session/Diff/Terminal, Skills, MCP, Tasks, Models, Permissions/Audit |
Details: docs/DECISIONS.md · docs/ARCHITECTURE.md · docs/COMPAT.md · docs/PRODUCT.md · docs/NAMING.md · docs/BETA.md · docs/PHASE2.md · docs/PHASE3.md · docs/AUDIT.md
apps/desktop Electron app
packages/* agent-core, tools, skills, mcp, memory, providers, ...
docs/ product & architecture
skills/bundled shipped skills
scripts/ eval harness
pnpm install
pnpm -r run build
pnpm test
pnpm smoke
pnpm eval
pnpm dev:desktopRequires: Node.js 22+, pnpm 9+.
pnpm release:check # build + test + smoke + eval
pnpm pack:verify # unpacked dir smoke asserts
pnpm pack:win # NSIS + portableArtifacts under apps/desktop/release/. Update policy: manual download/install — see docs/PACKAGING.md.
| Workflow | When | What |
|---|---|---|
| CI | push / PR to main |
pnpm release:check (Windows) |
| Release | tag v* |
pack NSIS + portable → GitHub Release |
| Pack verify | weekly / manual | pnpm pack:verify |
git tag -a v1.1.4 -m "HFQ Code 1.1.4"
git push origin v1.1.4 # triggers Release workflowpnpm dev:desktop- Open Workspace → select this repo
- Session → New session
- Explore 记忆 / 用量 / 导入 pages; plan mode + sub-agent on Chat toolbar
- Tools:
list/read/git status/ write (approve) / MCP / shell
TBD