gitmem-mcp 1.3.2 → 1.3.3
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/bin/init-wizard.js +30 -0
- package/package.json +1 -1
package/bin/init-wizard.js
CHANGED
|
@@ -448,6 +448,36 @@ async function stepMemoryStore() {
|
|
|
448
448
|
writeJson(configPath, config);
|
|
449
449
|
}
|
|
450
450
|
|
|
451
|
+
// Closing payload template (prevents permission prompt on first session close)
|
|
452
|
+
const payloadPath = join(gitmemDir, "closing-payload.json");
|
|
453
|
+
if (!existsSync(payloadPath)) {
|
|
454
|
+
writeJson(payloadPath, {
|
|
455
|
+
closing_reflection: {
|
|
456
|
+
what_broke: "",
|
|
457
|
+
what_took_longer: "",
|
|
458
|
+
do_differently: "",
|
|
459
|
+
what_worked: "",
|
|
460
|
+
wrong_assumption: "",
|
|
461
|
+
scars_applied: [],
|
|
462
|
+
institutional_memory_items: "",
|
|
463
|
+
collaborative_dynamic: "",
|
|
464
|
+
rapport_notes: ""
|
|
465
|
+
},
|
|
466
|
+
task_completion: {
|
|
467
|
+
questions_displayed_at: null,
|
|
468
|
+
reflection_completed_at: null,
|
|
469
|
+
human_asked_at: null,
|
|
470
|
+
human_response_at: null,
|
|
471
|
+
human_response: null
|
|
472
|
+
},
|
|
473
|
+
human_corrections: "",
|
|
474
|
+
scars_to_record: [],
|
|
475
|
+
learnings_created: [],
|
|
476
|
+
open_threads: [],
|
|
477
|
+
decisions: []
|
|
478
|
+
});
|
|
479
|
+
}
|
|
480
|
+
|
|
451
481
|
// Merge scars
|
|
452
482
|
let existing = [];
|
|
453
483
|
if (existsSync(learningsPath)) {
|