ds 0.1.4 — the CLI (downloads)
ds 0.1.4: three fixes for changes that went unnoticed, the user guide, and a move to the Apache License 2.0.
What changed
- Fixed: Go string text is now part of the hash. Changing
errors.New("account locked")to"account suspended", a URL or a query inside a Go function never flagged the sentences citing it. - Fixed:
policy.require_docandds report's unmarked view now cover Go, TypeScript, TSX, JavaScript, Python and SQL. They used to skip every file read by a tree-sitter grammar. - Fixed:
ds github commentleft each block diff's code fence open, so the rest of the comment rendered as code. - The extraction cache is keyed on the
dsbuild, so an upgrade re-reads each file once. - License: Apache-2.0 from this release on.
- Docs: the user guide is at docs/guide.
Upgrading
Go blocks whose code contains a "…" string get a new hash, so their citations report once after the upgrade. The changelog has a prompt a coding agent can follow to re-ack only the citations whose code did not change.
Install
macOS (Apple silicon) and Linux (amd64, arm64):
curl -fsSL https://raw.githubusercontent.com/ubgo/docsync/main/install.sh | shWindows (amd64, ARM64), in PowerShell:
irm https://raw.githubusercontent.com/ubgo/docsync/main/install.ps1 | iexWith Go 1.26+ and a C compiler:
go install github.com/ubgo/docsync/cli/cmd/ds@v0.1.4Every archive holds ds and the five secret-resolver plugins, with a checksums.txt.