diff --git a/CLAUDE.md b/CLAUDE.md index a0cd478f..d84de75f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -261,7 +261,7 @@ When changing a crate's public API (new types, new trait impls, new public metho The `toolpath-cli` shim lives **outside** the workspace (`exclude = ["crates/toolpath-cli"]` in the root `Cargo.toml`). Both `toolpath-cli` and `path-cli` produce a binary literally named `path`, and cargo can't write two bin targets to the same workspace `target/debug/path` — so the shim opts out and gets its own `crates/toolpath-cli/target/` (covered by the `crates/*/target` line in `.gitignore`). Practical consequences: `cargo build --workspace`, `cargo test --workspace`, and `cargo run -p toolpath-cli` from the repo root **do not** include the shim. To touch it, use `--manifest-path crates/toolpath-cli/Cargo.toml`. The release script special-cases the shim in `get_version` and `publish` so the workflow is otherwise unchanged. -Build the site after changes: `cd site && pnpm run build` (should produce 11 pages). +Build the site after changes: `cd site && pnpm run build` (should produce 12 pages). ## Things to know diff --git a/site/_includes/base.njk b/site/_includes/base.njk index db00d536..2287dc5f 100644 --- a/site/_includes/base.njk +++ b/site/_includes/base.njk @@ -70,6 +70,7 @@ RFC Crates CLI + Plugin Visualizer FAQ GitHub diff --git a/site/css/style.css b/site/css/style.css index ee3a75af..edcd8793 100644 --- a/site/css/style.css +++ b/site/css/style.css @@ -579,6 +579,53 @@ } } + /* Code spans in headings keep their literal case (slash commands) and + drop the inline-chip background. */ + h1 code, + h2 code, + h3 code { + text-transform: none; + background: none; + padding: 0; + } + + /* --- Plugin page Q&A transcript --- */ + .qa { + font-family: var(--font); + background: var(--bg-surface); + border-left: 3px solid var(--accent); + padding: var(--space-md) 1.25rem; + margin: 1.25rem 0; + } + .qa-q { + font-size: 0.85rem; + font-weight: 600; + color: var(--accent); + margin: 0; + padding-left: 1.4em; + text-indent: -1.4em; + } + .qa-q::before { + content: "> "; + color: var(--text-dim); + } + .qa-a p { + font-size: 0.8rem; + line-height: 1.7; + margin: 0.75rem 0 0; + padding-left: 1.4em; + } + .qa-a p:first-of-type { + text-indent: -1.4em; + } + .qa-a p:first-of-type::before { + content: "⏺ "; + color: var(--accent); + } + .qa-a code { + background: var(--bg-elevated); + } + /* --- Topographic divider --- */ .divider { background: repeating-linear-gradient( diff --git a/site/pages/plugin.md b/site/pages/plugin.md new file mode 100644 index 00000000..cc89188c --- /dev/null +++ b/site/pages/plugin.md @@ -0,0 +1,170 @@ +--- +layout: base.njk +title: Plugin +nav: plugin +permalink: /plugin/ +--- + +# Claude Code Plugin + +## Quick start + +``` +/plugin marketplace add empathic/toolpath +/plugin install path@toolpath +``` + +## `/path:query` — ask your session history anything + +Your session history is sitting on your disk, but all the insights are +obfuscated behind an undocumented format that constantly churns and was +never meant to be read. `/path:query` ingests your sessions into the +stable [Toolpath format](/format/), and plain-English questions become +jq filters over the cache: computed, repeatable answers for a few +kilobytes of context, whatever harness they came from. + +
/path:query what did i work on last week?
+/path:query which sessions cost me the most tokens this month?
+/path:query compare my claude and codex usage this month
+/path:query what parts of my workflow were inefficient this month?
+/path:share
+/path:share the session where we fixed the retry queue
+/path:link-pr
+open a pr and link this chat
+/path:resume pathbase.dev/u/mira/pathstash/retry-queue-race
+