Repository navigation
Prepare the plugin for the plugin directory - #5
Merged
Merged
Conversation
The directory lists a plugin from its plugin.json and the README in its folder, takes its icon from the first submission, and scans the README against what the plugin does. So the plugin folder gains: - an icon, .claude-plugin/icon.png, 1024 pixels square, rendered from assets/icon.svg: a notepad with a headline and notes; - a README of its own: what the mod adds, what it runs, sends and stores, its settings, and how to install, update and uninstall it. The main README's list of what the mod can reach adds config.set, $.config.set, $.clock.every and $.ui.invalidate, and its note on pruning says an open session renews itself on a timer. The config.set hook's matcher spells its key out, so validate can read it.
The plugin folder's README now lists everything the store holds (the session index with each session's folder and repository, worktree sizes by path, the summary-call total, the offer's answer, the last prune), what a timeline entry holds, that the mod observes prompts and file and command calls without changing them, du's fallback to the root folder, what pruning deletes (and that it empties files where there is no rm), and how a copy added from the directory updates. Both READMEs say mods don't run in Cowork, and the main README's design note on renewing an open session mentions its timer.
j127
marked this pull request as ready for review
October 29, 2026 19:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prepares sessionpad for a listing in Anthropic's plugin directory. The directory builds a listing from
plugin.jsonand the README in the plugin's folder, takes the icon from the plugin's first submission only, and checks the README against what the plugin does.What changes
icon.pngbeside the plugin'splugin.json: 1024 pixels square, 42 KB, rendered withrsvg-convertfromassets/icon.svg(outside the plugin folder, so installs don't carry it). A notepad with a headline bar and note lines, in its own teal and amber rather than any brand's colours. The validator's missing-icon warning is gone.sessionpad/README.md, which the directory shows as the listing's description. It covers:git,duandrm, and where each runs; where notes, timelines and exports live; and that the only setting it changes is its ownsummaryModel;config.sethook and the$.config.set,$.clock.everyand$.ui.invalidatecalls, which arrived in 0.2.0 and 0.3.0. Its note on pruning now says an open session renews itself on a timer.hooks/register.ts: theconfig.sethook's matcher spells out"sessionpad.summaryModel"instead of naming the constant, so the validator reads it (it showedkey=?). The offer tests use the constant, so a drift between the two fails them.The plugin folder passes the directory's checklist rules that can be checked locally:
Review
A reviewer subagent with fresh context read
5c0ef30and found nothing critical. The test suite, the directory-profile validation, the icon, the file rules and the summary-call details all checked out. What it found, and what changed in7fcb0f7:dufalls back to the root folder.rm.sessionpad@syncedand is managed from the account it was added on.Before merging
main.After the merge the owner submits it at the directory's developer portal.