pulse-framework-cli 0.4.8 → 0.4.10

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.
@@ -16,6 +16,7 @@ function registerCheckpointCommand(program) {
16
16
  .option("--inspect-latest", "Inspect the latest commit diff (useful if Cursor auto-committed)")
17
17
  .option("--run-tests", "Run configured test command")
18
18
  .option("-m, --message <msg>", "If provided, run git commit -am/-m with this message (staged only)")
19
+ .option("-s, --summary <text>", "Summary of what was done (for the checkpoint log)")
19
20
  .action(async (opts) => {
20
21
  const repoRoot = await (0, paths_js_1.findRepoRoot)(process.cwd());
21
22
  if (!repoRoot)
@@ -52,28 +53,18 @@ function registerCheckpointCommand(program) {
52
53
  }
53
54
  const scan = (0, scanner_js_1.scanDiff)(config, { diffText, diffStat, diffNumstat, diffNameStatus });
54
55
  const ts = (0, artifacts_js_1.timestampId)();
55
- const artifact = [
56
+ const artifactParts = [
56
57
  `# Checkpoint (${ts})`,
57
58
  ``,
58
- `## Git status`,
59
- "```",
60
- status || "(clean)",
61
- "```",
62
- ``,
63
- `## Recent commits`,
64
- "```",
65
- log || "(none)",
66
- "```",
67
- ``,
68
- `## Diff stat`,
69
- "```",
70
- diffStat || "(no changes)",
71
- "```",
72
- ``,
73
- `## Findings`,
74
- ...formatFindings(scan.findings),
75
- ``,
76
- ].join("\n");
59
+ ];
60
+ // Add summary if provided
61
+ if (opts.summary) {
62
+ artifactParts.push(`## Summary`);
63
+ artifactParts.push(opts.summary);
64
+ artifactParts.push(``);
65
+ }
66
+ artifactParts.push(`## Git status`, "```", status || "(clean)", "```", ``, `## Recent commits`, "```", log || "(none)", "```", ``, `## Diff stat`, "```", diffStat || "(no changes)", "```", ``, `## Findings`, ...formatFindings(scan.findings), ``);
67
+ const artifact = artifactParts.join("\n");
77
68
  const p = await (0, artifacts_js_1.writeArtifact)(repoRoot, "worklogs", `${ts}-checkpoint.md`, artifact);
78
69
  // eslint-disable-next-line no-console
79
70
  console.log(`✅ Wrote ${p}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pulse-framework-cli",
3
- "version": "0.4.8",
3
+ "version": "0.4.10",
4
4
  "description": "Pulse Framework CLI – Guardrails, checkpoints, and escalation for AI-assisted development.",
5
5
  "author": "Manuel Fuß <kontakt@manuel-fuss.de>",
6
6
  "license": "MIT",
@@ -12,11 +12,14 @@ alwaysApply: true
12
12
 
13
13
  ```
14
14
  CallMcpTool: pulse_status
15
+ Arguments: { "userMessage": "<paste user's message here>" }
15
16
  ```
16
17
 
17
18
  This is NOT optional. This is NOT just for the first message.
18
19
  This rule applies to message #1, #2, #3, #50, #100 - ALWAYS.
19
20
 
21
+ **Pass the user's message** so Pulse can suggest the right tool!
22
+
20
23
  **Why?** The MCP tools track your session, prevent loops, and enforce safeguards.
21
24
  Without calling `pulse_status`, you're flying blind.
22
25