Skip to content

v1.3.0

Latest

Choose a tag to compare

@svandragt svandragt released this 21 Nov 11:31
· 1 commit to main since this release
v1.3.0
ca20bed

park v1.3.0 shows your coding agent the parked items that matter for the file it is working on, and reports whether parked items get used.

Highlights

  • Claude Code now sees parked items when it reads or edits a file that an item names.
  • park stats reports how parked items reached you, and whether you opened or resolved them afterwards.
  • The session-start hook lists one short line per item, so about 25 items fit in what the agent reads, up from about 7.
  • park search BH-716 now finds ticket keys and other hyphenated words.
  • park list --tag a_b matches only the tag a_b.
  • A getting-started guide is now at https://svandragt.github.io/park/.

Upgrade

go install github.com/svandragt/park@v1.3.0
park version
park hook --install

park hook --install adds the new file hook next to the session hook you already have. It does not add the session hook a second time. Start a new agent session afterwards, or run /hooks in Claude Code.

If park version does not print v1.3.0, another park comes earlier on your PATH. Check it with command -v park.

Details

Parked items when the agent opens a file

When the agent reads or edits a file, park looks for active items in this repository that name the file. It shows up to five of them, one line each, and shows each item once per session. The agent runs park show for the detail.

An item matches when it names the file's path from the repository root. If no item names the path, it matches the file name instead, but only when five or fewer items share that name.

Codex has no matching hook event, so Codex gets only the session-start hook.

See whether parked items get used

park now records when an item is shown to you, opened with park show and resolved with park done. Items are shown by the session hook, the file hook, park search or park list --tag.

park stats reports the last 30 days, or pass --days 7. Its last table credits each open and resolve to the way the item was most recently shown in the 2 hours before. An item you went to without it being shown counts as direct.

The record stays on your machine. It does not go into the sync log, and park rebuild keeps it.

A shorter session-start list

Claude Code shows the agent only the first 2 KB of a hook's output. The hook used to print four lines per item, so the agent saw about 7 items. It now prints the id, name and tags on one line, and leaves out tags that the name already contains.

For a repository with 68 items, the output drops from 19 KB to 5.5 KB, and 25 items fit in the first 2 KB. To keep every tag and the longer instructions, change the hook command to park hook run --compact=false.

Search and tag fixes

park search "BH-716" used to fail with no such column: 716, because the search engine read the hyphen as an operator. Each word is now searched as plain text.

--tag treated _ and % as wildcards, so --tag a_b also matched axb. They now match only themselves.

How we checked

Check Result
go test ./... 152 tests pass
CI on main at the tagged commit passed
park hook --install on a v1.2.0 settings file, run twice adds the file hook once, keeps one session hook

Known gaps

  • The file hook works only in Claude Code.
  • park stats starts counting from the upgrade, so its first reports cover only a few days.

Issues closed

No issues were filed for this release. It includes PR#21 and PR#22 (modernc.org/sqlite 1.61.0 to 1.62.0) and PR#23 (getting-started site for GitHub Pages).

Full Changelog: v1.2.0...v1.3.0