Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ edition = "2024"
license = "Apache-2.0"

[workspace.dependencies]
toolpath = { version = "0.1.4", path = "crates/toolpath" }
toolpath-git = { version = "0.1.2", path = "crates/toolpath-git" }
toolpath = { version = "0.1.5", path = "crates/toolpath" }
toolpath-git = { version = "0.1.3", path = "crates/toolpath-git" }
toolpath-claude = { version = "0.1.2", path = "crates/toolpath-claude", default-features = false }
toolpath-dot = { version = "0.1.2", path = "crates/toolpath-dot" }

Expand Down
2 changes: 1 addition & 1 deletion crates/toolpath-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "toolpath-cli"
version = "0.2.0"
version = "0.2.1"
edition.workspace = true
license.workspace = true
repository = "https://github.com/empathic/toolpath"
Expand Down
15 changes: 13 additions & 2 deletions crates/toolpath-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ path derive claude --project . --pretty | path query filter --actor "agent:" --p
```bash
cat src/main.rs | path track init --file src/main.rs --actor "human:alex"
# ... edit the file ...
cat src/main.rs | path track step --session /tmp/session.json --seq 1 --intent "Refactored auth"
cat src/main.rs | path track step --session /tmp/session.json --seq 1 --parent-seq 0
path track annotate --session /tmp/session.json --intent "Refactored auth"
path track close --session /tmp/session.json --pretty > session-provenance.json
```

Expand Down Expand Up @@ -135,11 +136,21 @@ Incrementally build a Path document step by step, useful for editor integrations
echo "hello" | path track init --file src/main.rs --actor "human:alex" --title "Editing session"

# Record a step (pipe current content via stdin)
echo "world" | path track step --session /tmp/session.json --seq 1 --intent "Changed greeting"
echo "world" | path track step --session /tmp/session.json --seq 1 --parent-seq 0

# Record a step with VCS source metadata
echo "world" | path track step --session /tmp/session.json --seq 2 --parent-seq 1 \
--source '{"type":"git","revision":"abc123"}'

# Add a note to the current step
path track note --session /tmp/session.json --intent "Refactored for clarity"

# Annotate any step with metadata (intent, source, refs)
path track annotate --session /tmp/session.json --step step-001 \
--intent "Extract helper" \
--source '{"type":"git","revision":"abc123"}' \
--ref '{"rel":"issue","href":"https://github.com/org/repo/issues/42"}'

# Export the session as a Toolpath Path document
path track export --session /tmp/session.json --pretty

Expand Down
Loading