@driftless-sh/cli 0.1.25 → 0.1.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -15,7 +15,7 @@ driftless login --key <api-key> # Generate one at driftless.icu → Settin
15
15
  driftless init # Scan repo, bootstrap context, suggest rules
16
16
  driftless session start # See relevant context before editing
17
17
  driftless scan --diff # Check changes against rules before pushing
18
- driftless session finish # Scan + context report + stale detection
18
+ driftless session end # Scan + context report + stale detection
19
19
  driftless install-skill # Write AGENTS.md for Claude Code / Cursor
20
20
  ```
21
21
 
@@ -70,12 +70,12 @@ The agent loop — start with context, finish with a report.
70
70
  ```bash
71
71
  driftless session start # Show context for local changes
72
72
  driftless session start --files "src/auth/**" # Show context for specific files
73
- driftless session finish # Scan changes, check violations, suggest updates
73
+ driftless session end # Scan changes, check violations, suggest updates
74
74
  ```
75
75
 
76
76
  **Before editing:** `session start` tells you which context topics, docs, and gotchas apply to the files you're about to touch.
77
77
 
78
- **Before pushing:** `session finish` runs `scan --diff`, reports violations, and flags stale context that needs updating.
78
+ **Before pushing:** `session end` runs `scan --diff`, reports violations, and flags stale context that needs updating.
79
79
 
80
80
  ---
81
81
 
@@ -134,8 +134,8 @@ driftless context get auth-boundaries --json
134
134
  | `context update <slug>` | Update topic fields |
135
135
  | `context delete <slug>` | Delete a topic |
136
136
  | `context search <query>` | Full-text search across topics |
137
- | `context anchor <slug>` | Anchor a doc to a topic |
138
- | `context push --files` | Match topics for given file paths |
137
+ | `context sync <slug>` | Sync a doc to a topic |
138
+ | `context load --files` | Match topics for given file paths |
139
139
  | `context export` | Export all watchers to `.driftless/watchers/*.yaml` |
140
140
  | `context import` | Import watchers from `.driftless/watchers/*.yaml` |
141
141
 
@@ -144,9 +144,9 @@ driftless context get auth-boundaries --json
144
144
  All write commands support `--dry-run` to preview changes without writing to Cloud:
145
145
 
146
146
  ```bash
147
- driftless context push --files "src/auth/**" --dry-run
147
+ driftless context load --files "src/auth/**" --dry-run
148
148
  driftless context update auth --what "..." --dry-run
149
- driftless context anchor auth --doc docs/auth.md --dry-run
149
+ driftless context sync auth --doc docs/auth.md --dry-run
150
150
  ```
151
151
 
152
152
  #### Creating topics
@@ -204,8 +204,8 @@ driftless context update sdk --what "SDK v2 with streaming"
204
204
  # Append a gotcha
205
205
  driftless context update sdk --gotchas "Reset token on org switch"
206
206
 
207
- # Anchor a doc
208
- driftless context anchor auth --doc docs/auth.md --files "src/auth/**"
207
+ # Sync a doc
208
+ driftless context sync auth --doc docs/auth.md --files "src/auth/**"
209
209
 
210
210
  # Export all watchers to .driftless/watchers/*.yaml
211
211
  driftless context export
@@ -287,7 +287,7 @@ This creates `AGENTS.md` with instructions for Claude Code to use Driftless befo
287
287
  driftless session start --files "src/auth/**"
288
288
 
289
289
  # Before finishing work
290
- driftless session finish
290
+ driftless session end
291
291
 
292
292
  # After discovering new context
293
293
  driftless context add "name" --what "..." --how "..." --where "..."