Repository navigation
Gatherlight v1.0.0
Gatherlight v1.0.0
New features
- P4 plumbing — Windows npx/.cmd launch + teach agent the MCP markers
- P3 generic interactive-login (QR/browser) + agent-driven login in chat
- P2 chat confirmation gate + management panel
- P1 foundation — connect out to external MCP servers
- differential download — diff manifest, range-fetch changed files, full fallback
- RemoteZip — range-based single-entry zip reader
- /manage progress overlay (polls status, retry on failure)
- run upgrade steps as a gated startup phase (was inline pre-listen)
- 503 gate + status/retry endpoints + health migrating flag
- versioned startup runner with essential/best-effort policy
- ordered upgrade + self-heal steps
- migration state + step contract scaffolding
- awaiting-input pause gate + fix phantom-path commit crash
- move prompt registry + model routing onto Lyntai
- migrate chat_session/chat_event to Lyntai conversation store + drop
- migrate chat_score to lyntai_score_result, drop legacy table
- per-model pricing + live KB merge progress; drop stale MultiEdit deny
- harden planner guard (deny-list) + repoint system-guard path
- move system guard to guard/ + deny-list write scope
- LLM-assisted knowledge-base upgrade migration (sub-project 2)
- complete background-jobs feature — handlers, scheduler, tools, UI
- log every claude spawn + chat failure; scaffold background-jobs foundation
- xhs_search MCP scraper so the planner never authors its own
- styled close-to-tray prompt (native fallback)
- styled dialogs, first-run setup wizard, Overview details + density
- remember failed turns + show live token usage while planning
- jail the spawned planner agent (scope-guard v2)
- framework-dependent build + launcher runtime bootstrapper
- full-local archive — include git history + settings
- data foundation — full backup, structure spec, onboarding, md-index + MCP
- full win-x64 runtime bundle (driver + git + chromium) in one package
- NuGet-based resource storage — Playwright driver via Gatherlight.Resources
- server lifecycle controls, theme-matched tray, close-to-tray prompt + configurable log level
Fixes
- make the diff view legible in the light theme
- make the awaiting-input pause usable + recoverable
- zip-slip guard on delta staged writes (bail to full on escape)
- RemoteZip normalizes backslash zip entry names (Compress-Archive)
- retry re-run catches unexpected errors → phase failed
- code-review follow-ups on the Lyntai conversation-store adoption
- probe SSRF-exempt scraper tool for chromium skip-check
- SSE seq derivation + login-throttle locked read (review lows)
- declare System32Exe before RobocopyTree uses it
- client review follow-ups + opaque auth session cookie
- detect no-baseline files + live merge progress
- log a failure line on every claude exception path
- align scope-adherence scorer with broadened system-mode write scope
- show scheduled next-run in the job's timezone, not UTC
- footer shows live local/lan/wan mode; tray text vertical alignment
- idempotent git tag step so re-runs regenerate notes instead of aborting
- robust categorized release notes (d3dx-style)
- normalize to full 3-part semver (1.0 → 1.0.0) everywhere it's derived
- runner trusts the suite's PASS marker over a teardown-crash exit code
- skip pdf/scraper suites when their download-at-setup deps are absent (CI gate)
- review findings #13/#14/#15 — launcher long-path, gate-button safety, resource-integrity note
- review findings #5/#8/#9/#12 — backup lock, throttle eviction, update compare, host streaming
- bump after gate (#6) + resources version single-source (#7)
- SSE resume via Last-Event-ID — no duplicate transcript on reconnect (#3)
- review findings #1/#2/#4/#10 — deadlock, SSE races, scope bypass, tool-arg 400s
- single source of truth semver; fixes broken update check
- restore read-only .git objects (Windows)
- desktop-e2e teardown killed EVERY WebView2 app on the machine
- Home first-run card never showed (seeded 智库 counts as files)
Other changes
- chore(deps)!: Lyntai 0.31.1 -> 1.0.0 + squash migrations to a 1.0 baseline
- security: remediate full-codebase review — 16 hardening fixes
- Logging: persistent file logs + console viewer (D3dx-style, for error tracking)
- Packaging: Playwright driver download-at-setup - lean bundle ~110MB
- Manage console: fixed app-shell — pinned tab bar + footer, scroll only in between
- Packaging: lean bundle by default — chromium + git download-at-setup
- Manage console: 资源 · Resources panel + desktop header→footer redesign
- Resources: download-at-setup provisioning foundation (server)
- Update: default the auto-update source to the official JiarongGu/Gatherlight repo
- Sidebar: fix Knowledge Base pin size — rename modifier off the colliding .kb class
- Sidebar: keep the Knowledge Base pin celadon, distinct from the amber Library
- Sidebar: Knowledge Base pin matches the Library pin (drop celadon variant)
- Manage Settings: polish the Access card into a balanced two-column layout
- Security: Local / LAN / WAN access modes (opt-in unauthenticated LAN bind)
- Knowledge Base: card preview shows body, not a repeat of the title
- Client: standalone Knowledge Base surface, bottom pins, proper dark theme, layout polish
- Client: planner view <-> URL (deep-links, reload persistence, back/forward)
- CI/release: manual-trigger release only, drop auto CI (D3dx-style)
- Client: sidebar sections match the Library pin + graceful Library card images
- desktop-e2e: cover the Settings tab
- Host: restart re-reads settings + re-points the WebView on a port/scheme change
- Manage: Settings tab — edit server config from the console (no JSON editing)
- Desktop e2e over CDP: drive the WebView2 UI end-to-end (restart verified)
- Manage: desktop-shaped Overview (two columns, fits the window, no long scroll)
- Host: DPI-aware window persistence (D3dx pattern) + desktop-shot tooling
- Host: restart the server in-process instead of relaunching the whole app
- UX: auth gate token input — aria-label + no autofill
- UX: height-stable shimmer while trip/city maps load
- UX: chat respects scroll position + a "jump to latest" button
- UX: app-level error boundary — recoverable fallback instead of a white screen
- UX: new-user onboarding — chat draft persistence, starters, Home first-run
- Bundle scrapers (Playwright driver + chromium) + split folder vs release zip
- Document: scrapers don't run from the single-file bundle (Playwright driver)
- Bundle a portable git so the app is self-sufficient on a fresh host
- gitignore: also ignore local-clean/ and local-*/ data folders
- Update robustness: launcher rollback on failed overlay + e2e release gate
- e2e runner: --build, --parallel, range/list selectors, timing
- Planner UI/UX: toasts, platform-aware ⌘K, loading skeletons, a11y
- Polish the management console UI/UX
- Harden the e2e runner: numeric order, run-all, loud summary
- Dedup: shared e2e harness (_e2e-common.mjs) across all 23 suites
- Dedup: shared helpers on server + client
- Refresh dev docs/rules + add semantic-recall (embeddings) as an optional roadmap item
- Document the prompt/agent playground in ROADMAP
- Add a prompt/agent playground (Mastra runEvals) as a CLI eval harness
- FTS recall: keep confidence-first ordering (bm25 as tiebreaker)
- Document FTS5 recall in ROADMAP
- Add FTS5 full-text recall for the library + fact store (Mastra recall, lexical)
- Document run traces in ROADMAP
- Add run traces (Mastra observability) to the console
- Document automated scorers in ROADMAP
- Surface automated scores in the console + tuning export
- Add automated scorers (Mastra-inspired), grading each conversation
- Document the auto-update cycle (DEPLOYMENT + ROADMAP)
- Auto-update: server check/download/stage + console UI + restart-via-launcher
- Auto-update: launcher apply phase + array-shape manifest
- Add root build script + GitHub Actions CI/release workflows
- Add native C++ launcher, built into the bundle as Gatherlight.exe
- Add a proper app icon (拾 seal) for the exe, window/tray, and favicon
- Add security response headers (CSP + hardening), verified headless
- Add Kestrel-native TLS — self-signed by default, bring-your-own cert
- Throttle login brute-force attempts (per-IP lockout)
- Add remote-access hardening — loopback-trusted access-token gate
- Carry tuned cortex config in the memory bundle
- Add cortex tuning surface — edit prompt templates + model routing live
- Restore maintainer copyright (Jiarong Gu) in README + LICENSE
- Polish: doc accuracy (tool count, library tools, ROADMAP, stale transition note)
- README (release-ready) + MIT LICENSE
- Chat ranking + LLM-tuning data + eval observability (Mastra-like)
- Host: proper tray menu + window position/size persistence
- Structured publish: libs / res / data bundle + launcher
- Desktop console: WebView2 /manage dashboard (resizable, DPI-correct, designed)
- Proper production build script (manifest + zip + version)
- Memory transfer: export/import DB knowledge + startup seeding
- Desktop management host — hosts the server in-process + monitors health
- Harden: keep the SQLite DB out of git (it now holds knowledge)
- Migrate markdown reference libraries → DB knowledge library
- Offline-first: self-host fonts + cache library images through the server
- Lantern-paper redesign + 知识库 Library screen
- Fix client bundle TDZ crash from manualChunks
- Library backend: DB-backed knowledge library
- Packaging: self-contained single-file publish + deployment guide
- Client bundle: split vendors + lazy-load the map, drop dead dep
- Real-claude two-gate smoke harness (opt-in)
- Dedup/cleanup pass over the tool layer
- Scraper ports (2/2): flight_prices + hotel_prices + hotel_info + restaurant_info → native
- Scraper ports (1/2): flight_schedule + policy_check → C#/Playwright native
- General document/media processing subsystem (PDF + image)
- Zero-LLM budget scan — honest figures, no fabricated totals
- ui: give the token-usage strip proper padding + separator
- Phase 7 slice: ICS export, full tool coverage, 拾光 README
- More tooling + restore 系统模式 (UI-update chat)
- Frontend: atomic design restructure (ui/atoms|molecules|organisms + screens)
- Generalized DB layer: entity store, learned-knowledge memory, process log
- Hot-loadable script tools — create tools without rebuild
- Gate optimization: deterministic server-side RAG pre-routing + lite gate
- Token usage in the chat panel
- Phase 6: knowledge-base split — shipped DataTemplate + ZhikuSeeder
- Phase 7 (start): wiki_info + Playwright-native scrape; dev rules index
- Phase 5: C# tool registry + HTTP MCP endpoint; delete legacy viewer
- Phase 4: frontend port — viewer/frontend → src/client on the .NET API
- Phase 3: LLM core + two-gate chat — claude runner, session state machine, SSE, uploads
- Phase 2: read side — data-repo git service, plan index, plans/fs API
- Phase 1: .NET server skeleton — options, data context, SQLite, migrations, devtools dispatcher
- Gatherlight: initial import (post privacy reset)
Download the zip, extract, and run Gatherlight.exe. On first run the launcher installs the .NET 10 runtime if it's missing (one-time). Windows 10/11 (x64).