Skip to content

v0.36.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 08:18
· 23 commits to main since this release
aaf5481

Knowns 0.36.0 makes Knowns much lighter on the machine it runs on, and adds a web view of the work running in the background.

Highlights

  • A fraction of the memory. MCP sessions now go through a thin proxy, and one runtime daemon handles search, the queue and the web UI for every session. On Windows, a daemon serving 5 agents and the web UI went from about 1.9 GB to under 400 MB at peak. Each agent's proxy needs about 7 MB, and idle CPU stays under 2%.
  • knowns is now a small launcher. The engine ships beside it as knowns-engine. install.sh, install.ps1, npm, Homebrew and knowns update all install the pair. An older single-binary install keeps working and prints a one-line hint to run knowns update.
  • Large projects stay fast. MCP and the web UI page through tasks and docs: tasks list on 900 tasks returns 12 KB instead of 949 KB. Search and indexing run on worker threads that start when needed and stop when idle. Search p95 with 8 concurrent agents went from 1368 ms to 180 ms.
  • Batch archive no longer freezes the server. Archiving runs in chunks and refreshes the web UI once per batch. 500 tasks take about 7 s, and the server never pauses for more than about 200 ms.
  • Activity Tray in the web UI. An indicator in the header shows background work: batch archive and restore, reindex and other daemon jobs. It shows progress, Cancel (archive stops after the current chunk and reports "N archived, M left"), Run again for failed or stopped work, and the reason a task could not be changed.

Fixes

  • Reconcile no longer deadlocks when a doc reappears, for example after git stash pop.
  • doc edit --section N and MCP section updates by index work again.
  • Windows:
    • queue writes retry on busy files instead of failing with EPERM under load;
    • process identity is read through fixed system paths, so it works from PowerShell 7 and when PATH lacks System32;
    • a second daemon that loses the start race exits cleanly.
  • Store sync keeps the last good store list when the registry file is half written, instead of treating every store as unlinked.
  • Language-server and cloudflared detection follow the current PATH.

Upgrading

  • Run knowns update. It installs the launcher and the engine and keeps your settings.
  • On Windows, upgrade every machine and client together. A 0.34 client writing next to a 0.36 daemon on Windows can fail to rename queue files while the daemon reads them.
  • install.ps1 honours KNOWNS_NO_MODIFY_PATH=1 if you manage PATH yourself.

Pull requests

  • Release v0.36.0: thin MCP proxy, launcher split, performance, Activity Tray @howznguyen (#166)
  • 0.36.0: thin MCP proxy, launcher split, resource and archive performance, Activity Tray @howznguyen (#165)
  • fix: decision review accepts and the reconcile reappear deadlock @howznguyen (#163)
  • chore: sync main into develop after the release fix @howznguyen (#162)

Contributors

@howznguyen

Full Changelog: v0.35.0...v0.36.0