@fonlan/dsh-gitmemo 0.1.0 → 0.1.1
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/cordis.patch.yml +4 -1
- package/lib/mem.js +3 -1
- package/package.json +1 -1
package/cordis.patch.yml
CHANGED
|
@@ -8,7 +8,10 @@
|
|
|
8
8
|
# `gitmemo` skill, and a system-prompt section pointing at the memory workflow.
|
|
9
9
|
- insert:
|
|
10
10
|
- id: dsh-gitmemo
|
|
11
|
-
name
|
|
11
|
+
# Node-resolvable package name — must stay in sync with package.json
|
|
12
|
+
# `name`. Quoted because `@` is a reserved indicator in YAML and cannot
|
|
13
|
+
# open a plain scalar.
|
|
14
|
+
name: '@fonlan/dsh-gitmemo'
|
|
12
15
|
config:
|
|
13
16
|
memDirName: .mem
|
|
14
17
|
searchLimit: 20
|
package/lib/mem.js
CHANGED
|
@@ -36,7 +36,9 @@ function git(dir, args, timeoutMs) {
|
|
|
36
36
|
/** Synchronous git runner for the session-start injection path (must not race the first prompt assembly). */
|
|
37
37
|
function gitSync(dir, args, timeoutMs) {
|
|
38
38
|
try {
|
|
39
|
-
|
|
39
|
+
// stdio must be pinned: execFileSync forwards child stderr to the parent's
|
|
40
|
+
// console unless stdio is set, leaking raw `git fatal:` noise at boot.
|
|
41
|
+
return execFileSync("git", ["-C", dir, ...args], { encoding: "utf8", maxBuffer: 64 * 1024 * 1024, timeout: timeoutMs, stdio: "pipe" });
|
|
40
42
|
}
|
|
41
43
|
catch (error) {
|
|
42
44
|
const code = error.code;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonlan/dsh-gitmemo",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Git-backed long-term memory for DeepSeek Harness: a local .mem git repo with mem_search / mem_read / mem_write / mem_delete tools, auto-managed by the agent with zero manual steps.",
|
|
5
5
|
"author": "fonlan",
|
|
6
6
|
"publishConfig": {
|