sf-compact-cli 0.1.4 → 0.3.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.
Files changed (3) hide show
  1. package/README.md +19 -1
  2. package/install.js +1 -1
  3. package/package.json +2 -2
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 `sf_compact_stats` as MCP tools that Claude Code, Cursor, and other MCP-compatible tools can discover and use automatically.
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
 
package/install.js CHANGED
@@ -6,7 +6,7 @@ const path = require("path");
6
6
  const https = require("https");
7
7
  const http = require("http");
8
8
 
9
- const VERSION = "0.1.4";
9
+ const VERSION = "0.3.0";
10
10
  const REPO = "vradko/sf-compact";
11
11
 
12
12
  const PLATFORMS = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-compact-cli",
3
- "version": "0.1.4",
4
- "description": "Convert Salesforce metadata XML to AI-friendly compact formats. Semantically lossless roundtrip.",
3
+ "version": "0.3.0",
4
+ "description": "Convert Salesforce metadata XML to compact AI-friendly formats (YAML/JSON). Semantically lossless roundtrip.",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",