sf-compact-cli 0.1.4 → 0.2.0
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 +19 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -203,6 +203,24 @@ $ sf-compact diff
|
|
|
203
203
|
Run `sf-compact pack` to update.
|
|
204
204
|
```
|
|
205
205
|
|
|
206
|
+
### Lint (CI validation)
|
|
207
|
+
```bash
|
|
208
|
+
sf-compact lint [source...] [-o packed-dir] [--include pattern]
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
Check that compact files are up-to-date. Exits with code 1 if any files are stale. Use in CI pipelines.
|
|
212
|
+
|
|
213
|
+
### Changes (track modified compact files)
|
|
214
|
+
```bash
|
|
215
|
+
sf-compact changes [-o compact-dir] # show all modified files (global)
|
|
216
|
+
sf-compact changes --since-deploy # show changes since last deploy reset
|
|
217
|
+
sf-compact changes --json # machine-readable JSON output
|
|
218
|
+
sf-compact changes reset --global # clear all tracking
|
|
219
|
+
sf-compact changes reset --since-deploy # clear deployment tracking only
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
Tracks which compact files were modified (by AI or human) since last `pack`. Per-branch tracking with two scopes: global (all changes) and deployment (delta since last deploy reset).
|
|
223
|
+
|
|
206
224
|
### MCP Server
|
|
207
225
|
|
|
208
226
|
sf-compact includes a built-in [MCP](https://modelcontextprotocol.io/) server for direct AI tool integration.
|
|
@@ -215,7 +233,7 @@ sf-compact init mcp
|
|
|
215
233
|
sf-compact mcp-serve
|
|
216
234
|
```
|
|
217
235
|
|
|
218
|
-
This exposes `sf_compact_pack`, `sf_compact_unpack`, and `
|
|
236
|
+
This exposes `sf_compact_pack`, `sf_compact_unpack`, `sf_compact_stats`, `sf_compact_lint`, and `sf_compact_changes` as MCP tools that Claude Code, Cursor, and other MCP-compatible tools can discover and use automatically.
|
|
219
237
|
|
|
220
238
|
### AI Instructions
|
|
221
239
|
|