pmpt-cli 1.14.13 → 1.14.14
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/dist/commands/save.js +1 -1
- package/dist/mcp.js +4 -0
- package/package.json +1 -1
package/dist/commands/save.js
CHANGED
|
@@ -51,7 +51,7 @@ export async function cmdSave(fileOrPath) {
|
|
|
51
51
|
p.cancel('Save cancelled.');
|
|
52
52
|
process.exit(0);
|
|
53
53
|
}
|
|
54
|
-
const note = summary.trim() || undefined;
|
|
54
|
+
const note = typeof summary === 'string' ? summary.trim() || undefined : undefined;
|
|
55
55
|
// Write summary to pmpt.md Snapshot Log before snapshot
|
|
56
56
|
if (note) {
|
|
57
57
|
const pmptMdPath = join(docsDir, 'pmpt.md');
|
package/dist/mcp.js
CHANGED