Skip to content

Commit 11b5df0

Browse files
committed
ticket sync
1 parent ea0a0b0 commit 11b5df0

36 files changed

+1862
-26
lines changed

.github/.sync-metadata.json

Lines changed: 157 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"lastSync": "2025-12-01T21:46:34.718Z",
3-
"releasesLastFetched": "2025-12-01T21:46:34.725Z",
2+
"lastSync": "2025-12-02T18:54:32.978Z",
3+
"releasesLastFetched": "2025-12-02T18:54:33.006Z",
44
"pushFailures": [],
55
"issues": {
66
"3789": {
@@ -11972,6 +11972,160 @@
1197211972
"closedAt": "2025-12-01T17:41:52Z",
1197311973
"updatedAt": "2025-12-01T17:41:52Z",
1197411974
"contentHash": "7f698359bbd7680d7279ab1f878eb8df8165b74efbc26aed9d22e9e2cac499ca"
11975+
},
11976+
"7976": {
11977+
"state": "CLOSED",
11978+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7976.md",
11979+
"closedAt": "2025-12-02T14:58:52Z",
11980+
"updatedAt": "2025-12-02T14:59:20Z",
11981+
"contentHash": "832d4ba07496dba407e6f7fb55fdd87377becf82715115347a7f8e1aede0492b"
11982+
},
11983+
"7977": {
11984+
"state": "CLOSED",
11985+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7977.md",
11986+
"closedAt": "2025-12-02T17:43:10Z",
11987+
"updatedAt": "2025-12-02T17:43:10Z",
11988+
"contentHash": "0bac691dbce45390a4bc815c539c0f8cf61c9c7eb98b2f2a72f1a74950a83d46"
11989+
},
11990+
"7979": {
11991+
"state": "CLOSED",
11992+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7979.md",
11993+
"closedAt": "2025-12-02T17:51:42Z",
11994+
"updatedAt": "2025-12-02T17:51:42Z",
11995+
"contentHash": "3cc09417179dc3a2291a601ab6c88f1b0dfb2aaecd1d63967c1c4899634babf8"
11996+
},
11997+
"7980": {
11998+
"state": "CLOSED",
11999+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7980.md",
12000+
"closedAt": "2025-12-02T17:57:06Z",
12001+
"updatedAt": "2025-12-02T17:57:06Z",
12002+
"contentHash": "16a008ad45f36b54a261ae6dd0ed4fbf75507a6a3bd05d6c71e846d16ac12e3a"
12003+
},
12004+
"7981": {
12005+
"state": "CLOSED",
12006+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7981.md",
12007+
"closedAt": "2025-12-02T17:59:12Z",
12008+
"updatedAt": "2025-12-02T17:59:12Z",
12009+
"contentHash": "56e58534160b54900f75125e58887be7fa9986fc388e87eb7481bccd5956ce2d"
12010+
},
12011+
"7982": {
12012+
"state": "CLOSED",
12013+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7982.md",
12014+
"closedAt": "2025-12-02T18:00:27Z",
12015+
"updatedAt": "2025-12-02T18:02:20Z",
12016+
"contentHash": "470024850d9e39c0253e1c62476a7c971d1cc532b3ddd6ff154c1931a93b7fc6"
12017+
},
12018+
"7983": {
12019+
"state": "CLOSED",
12020+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7983.md",
12021+
"closedAt": "2025-12-02T18:03:57Z",
12022+
"updatedAt": "2025-12-02T18:04:05Z",
12023+
"contentHash": "cc36ceca32590d7a98bf87f250d889f821c489c485de55fc7d954d729d716c2a"
12024+
},
12025+
"7984": {
12026+
"state": "CLOSED",
12027+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7984.md",
12028+
"closedAt": "2025-12-02T18:05:44Z",
12029+
"updatedAt": "2025-12-02T18:05:48Z",
12030+
"contentHash": "0f86c3bf5d5230c8243784b335cec05e464f976fdab0229a69e597b98d4033f5"
12031+
},
12032+
"7985": {
12033+
"state": "CLOSED",
12034+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7985.md",
12035+
"closedAt": "2025-12-02T18:07:58Z",
12036+
"updatedAt": "2025-12-02T18:07:58Z",
12037+
"contentHash": "89e727a0e93a60d1425805dbd3c4e57a355ad7aba8573fd36457650ca17417ff"
12038+
},
12039+
"7986": {
12040+
"state": "CLOSED",
12041+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7986.md",
12042+
"closedAt": "2025-12-02T18:09:48Z",
12043+
"updatedAt": "2025-12-02T18:09:48Z",
12044+
"contentHash": "635208ba0c47fca7e7e64a19d364c036499b1d233d12f7fb6ea95e150156344c"
12045+
},
12046+
"7987": {
12047+
"state": "CLOSED",
12048+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7987.md",
12049+
"closedAt": "2025-12-02T18:11:23Z",
12050+
"updatedAt": "2025-12-02T18:11:26Z",
12051+
"contentHash": "1581281bffda000129353f8f0d0ddab22c8570d260f11c1aa3fae49488d58034"
12052+
},
12053+
"7988": {
12054+
"state": "CLOSED",
12055+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7988.md",
12056+
"closedAt": "2025-12-02T18:13:15Z",
12057+
"updatedAt": "2025-12-02T18:13:15Z",
12058+
"contentHash": "ec4df62b71b94f61b79fca697895812cea48f9094b53246e7416ab3b43b7060a"
12059+
},
12060+
"7989": {
12061+
"state": "CLOSED",
12062+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7989.md",
12063+
"closedAt": "2025-12-02T18:14:46Z",
12064+
"updatedAt": "2025-12-02T18:14:46Z",
12065+
"contentHash": "643b0b411fc249a4d2c6a6891f8f62b38045771b9f5b8bfe5a22c6122814f066"
12066+
},
12067+
"7990": {
12068+
"state": "CLOSED",
12069+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7990.md",
12070+
"closedAt": "2025-12-02T18:16:01Z",
12071+
"updatedAt": "2025-12-02T18:16:01Z",
12072+
"contentHash": "e52dfa11ba0669b9815bb516512fd6c915ff25756ddf68a6eedf1791e3a80bab"
12073+
},
12074+
"7991": {
12075+
"state": "CLOSED",
12076+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7991.md",
12077+
"closedAt": "2025-12-02T18:17:05Z",
12078+
"updatedAt": "2025-12-02T18:17:05Z",
12079+
"contentHash": "54e5db258f1c91e64feb7f5e9b2baa43354c6df7f1b1b7a0f4ac9d20f41434e3"
12080+
},
12081+
"7992": {
12082+
"state": "CLOSED",
12083+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7992.md",
12084+
"closedAt": "2025-12-02T17:49:24Z",
12085+
"updatedAt": "2025-12-02T17:49:24Z",
12086+
"contentHash": "95679a90a2b4337ad76e1f5be11e7a684ccd9ca9ecea14d2162e943b83d52557"
12087+
},
12088+
"7993": {
12089+
"state": "CLOSED",
12090+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7993.md",
12091+
"closedAt": "2025-12-02T18:25:11Z",
12092+
"updatedAt": "2025-12-02T18:25:11Z",
12093+
"contentHash": "b47eb39990ec9f5122240be8ed62572b9230f766c3a2443d02ce6ec2943ff0b1"
12094+
},
12095+
"7994": {
12096+
"state": "CLOSED",
12097+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7994.md",
12098+
"closedAt": "2025-12-02T18:26:28Z",
12099+
"updatedAt": "2025-12-02T18:26:28Z",
12100+
"contentHash": "0bfc7214202358399e996fc4d9c9aca82903820685f52cc2d00cc21eea9dd1d4"
12101+
},
12102+
"7995": {
12103+
"state": "CLOSED",
12104+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7995.md",
12105+
"closedAt": "2025-12-02T18:27:46Z",
12106+
"updatedAt": "2025-12-02T18:27:46Z",
12107+
"contentHash": "8f11208d72e26bd2f745ca0a33bb59955a92ab5cd1b2b376e7d93614367b6b8e"
12108+
},
12109+
"7996": {
12110+
"state": "CLOSED",
12111+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7996.md",
12112+
"closedAt": "2025-12-02T18:29:04Z",
12113+
"updatedAt": "2025-12-02T18:29:04Z",
12114+
"contentHash": "71f50eb09c880102259ef5f013fdc477ec8ac9cceab7977bba5444146df7fef8"
12115+
},
12116+
"7997": {
12117+
"state": "CLOSED",
12118+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7997.md",
12119+
"closedAt": "2025-12-02T18:30:43Z",
12120+
"updatedAt": "2025-12-02T18:30:43Z",
12121+
"contentHash": "79e5c8c3c71c9d3d06f3f3a91a76f383436c7f342642dee96a620d831a84cc02"
12122+
},
12123+
"7998": {
12124+
"state": "CLOSED",
12125+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7998.md",
12126+
"closedAt": "2025-12-02T18:32:20Z",
12127+
"updatedAt": "2025-12-02T18:32:20Z",
12128+
"contentHash": "feaee2f16c851ec0d2374b5f3b7ab48dedeaecaef1b4d3cbb92788a025d1da97"
1197512129
}
1197612130
},
1197712131
"releases": {
@@ -12577,7 +12731,7 @@
1257712731
},
1257812732
"11.14.0": {
1257912733
"publishedAt": "2025-12-01T18:18:40Z",
12580-
"contentHash": "9479abb460deec2e79875e462711ddd8b9339e611b34fa883ea3513580201ebb"
12734+
"contentHash": "23a76427e2e0102300facdef85df5bbb0140ebcf6e1c34a342cebc49d4cc9234"
1258112735
}
1258212736
}
1258312737
}

.github/ISSUE/issue-7976.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
id: 7976
3+
title: Update MCP server config paths to use process.cwd()
4+
state: CLOSED
5+
labels:
6+
- enhancement
7+
- ai
8+
assignees:
9+
- tobiu
10+
createdAt: '2025-12-02T14:50:43Z'
11+
updatedAt: '2025-12-02T14:59:20Z'
12+
githubUrl: 'https://github.com/neomjs/neo/issues/7976'
13+
author: tobiu
14+
commentsCount: 1
15+
parentIssue: null
16+
subIssues: []
17+
subIssuesCompleted: 0
18+
subIssuesTotal: 0
19+
blockedBy: []
20+
blocking: []
21+
closedAt: '2025-12-02T14:58:52Z'
22+
---
23+
# Update MCP server config paths to use process.cwd()
24+
25+
Updates the default configuration for the `knowledge-base` and `memory-core` MCP servers to resolve database and backup paths relative to `process.cwd()` instead of `__dirname`.
26+
27+
**Why:**
28+
Previously, paths were resolved relative to `__dirname` (the location of the config file inside the package).
29+
- In the Neo.mjs repo, this worked because the relative path `../../../../` pointed to the repo root.
30+
- In scaffolded apps (where Neo.mjs is a dependency in `node_modules`), this relative path resolved to the `neo.mjs` package root inside `node_modules`, causing databases and backups to be stored inside `node_modules` instead of the application workspace.
31+
32+
**What:**
33+
By using `process.cwd()`, we align with standard Node.js tooling behavior:
34+
- **Dev Mode:** Running from the Neo.mjs repo root places artifacts in the repo root.
35+
- **App Mode:** Running from a scaffolded app's root places artifacts in the app's root.
36+
37+
**Changes:**
38+
- `ai/mcp/server/memory-core/config.mjs`: Update `memoryDb.path`, `memoryDb.backupPath`, and `sessionDb.backupPath`.
39+
- `ai/mcp/server/knowledge-base/config.mjs`: Update `path` and `dataPath`.
40+
41+
## Comments
42+
43+
### @tobiu - 2025-12-02 14:59
44+
45+
**Input from Gemini:**
46+
47+
> ✦ I have implemented the path resolution changes.
48+
>
49+
> **Summary of Changes:**
50+
> - Updated `ai/mcp/server/memory-core/config.mjs` and `ai/mcp/server/knowledge-base/config.mjs`.
51+
> - Replaced `__dirname`-based relative paths with `process.cwd()`-based absolute paths.
52+
> - This ensures that databases and backups are correctly located in the workspace root (e.g., `chroma-neo-memory-core`) regardless of whether the server is run from the repo root or as a dependency in a scaffolded app.
53+
> - Applied code formatting improvements (block alignment) to align with project standards.
54+
>
55+
> The commit has been pushed.
56+
57+
## Activity Log
58+
59+
- 2025-12-02 @tobiu added the `enhancement` label
60+
- 2025-12-02 @tobiu added the `ai` label
61+
- 2025-12-02 @tobiu assigned to @tobiu
62+
- 2025-12-02 @tobiu closed this issue
63+

.github/ISSUE/issue-7977.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
id: 7977
3+
title: Sanitize commander inputs in buildScripts/buildAll.mjs
4+
state: CLOSED
5+
labels:
6+
- bug
7+
- ai
8+
assignees:
9+
- tobiu
10+
createdAt: '2025-12-02T17:31:15Z'
11+
updatedAt: '2025-12-02T17:43:10Z'
12+
githubUrl: 'https://github.com/neomjs/neo/issues/7977'
13+
author: tobiu
14+
commentsCount: 0
15+
parentIssue: null
16+
subIssues: []
17+
subIssuesCompleted: 0
18+
subIssuesTotal: 0
19+
blockedBy: []
20+
blocking: []
21+
closedAt: '2025-12-02T17:43:10Z'
22+
---
23+
# Sanitize commander inputs in buildScripts/buildAll.mjs
24+
25+
The `commander` library does not sanitize inputs by default. This can lead to issues if users provide inputs with quotes (e.g., `-t "yes"`).
26+
We need to implement a `sanitizeInput` function and apply it to the `program` options in `buildScripts/buildAll.mjs`.
27+
28+
References:
29+
- `buildScripts/buildAll.mjs`
30+
31+
## Activity Log
32+
33+
- 2025-12-02 @tobiu added the `bug` label
34+
- 2025-12-02 @tobiu added the `ai` label
35+
- 2025-12-02 @tobiu assigned to @tobiu
36+
- 2025-12-02 @tobiu closed this issue
37+
- 2025-12-02 @tobiu referenced in commit `511eb52` - "Sanitize commander inputs in buildScripts/buildAll.mjs #7977"
38+

.github/ISSUE/issue-7979.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
id: 7979
3+
title: Sanitize commander inputs in buildScripts/copySeoFiles.mjs
4+
state: CLOSED
5+
labels:
6+
- bug
7+
- ai
8+
assignees:
9+
- tobiu
10+
createdAt: '2025-12-02T17:41:49Z'
11+
updatedAt: '2025-12-02T17:51:42Z'
12+
githubUrl: 'https://github.com/neomjs/neo/issues/7979'
13+
author: tobiu
14+
commentsCount: 1
15+
parentIssue: null
16+
subIssues: []
17+
subIssuesCompleted: 0
18+
subIssuesTotal: 0
19+
blockedBy: []
20+
blocking: []
21+
closedAt: '2025-12-02T17:51:42Z'
22+
---
23+
# Sanitize commander inputs in buildScripts/copySeoFiles.mjs
24+
25+
The `commander` library does not sanitize inputs by default. This can lead to issues if users provide inputs with quotes.
26+
We need to implement a `sanitizeInput` function and apply it to the `program` options in `buildScripts/copySeoFiles.mjs`.
27+
28+
**Implementation Details:**
29+
- Add `sanitizeInput` helper.
30+
- Apply it as the 3rd argument to `.option()`.
31+
- Do **NOT** set a default value (4th argument) to ensure Inquirer triggers when missing.
32+
33+
References:
34+
- `buildScripts/copySeoFiles.mjs`
35+
36+
## Comments
37+
38+
### @tobiu - 2025-12-02 17:51
39+
40+
**Input from Gemini Agent:**
41+
42+
> ✦ I have sanitized the commander inputs in `buildScripts/copySeoFiles.mjs`.
43+
> - Imported `sanitizeInput` from `buildScripts/util/Sanitizer.mjs`.
44+
> - Applied `sanitizeInput` to the `-e, --env` option.
45+
46+
## Activity Log
47+
48+
- 2025-12-02 @tobiu added the `bug` label
49+
- 2025-12-02 @tobiu added the `ai` label
50+
- 2025-12-02 @tobiu assigned to @tobiu
51+
- 2025-12-02 @tobiu referenced in commit `9407499` - "Sanitize commander inputs in buildScripts/copySeoFiles.mjs #7979"
52+
- 2025-12-02 @tobiu closed this issue
53+

.github/ISSUE/issue-7980.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
id: 7980
3+
title: Sanitize commander inputs in buildScripts/addConfig.mjs
4+
state: CLOSED
5+
labels:
6+
- bug
7+
- ai
8+
assignees:
9+
- tobiu
10+
createdAt: '2025-12-02T17:41:55Z'
11+
updatedAt: '2025-12-02T17:57:06Z'
12+
githubUrl: 'https://github.com/neomjs/neo/issues/7980'
13+
author: tobiu
14+
commentsCount: 1
15+
parentIssue: null
16+
subIssues: []
17+
subIssuesCompleted: 0
18+
subIssuesTotal: 0
19+
blockedBy: []
20+
blocking: []
21+
closedAt: '2025-12-02T17:57:06Z'
22+
---
23+
# Sanitize commander inputs in buildScripts/addConfig.mjs
24+
25+
The `commander` library does not sanitize inputs by default. This can lead to issues if users provide inputs with quotes.
26+
We need to implement a `sanitizeInput` function and apply it to the `program` options in `buildScripts/addConfig.mjs`.
27+
28+
**Implementation Details:**
29+
- Add `sanitizeInput` helper.
30+
- Apply it as the 3rd argument to `.option()`.
31+
- Do **NOT** set a default value (4th argument) to ensure Inquirer triggers when missing.
32+
33+
References:
34+
- `buildScripts/addConfig.mjs`
35+
36+
## Comments
37+
38+
### @tobiu - 2025-12-02 17:56
39+
40+
**Input from Gemini Agent:**
41+
42+
> ✦ I have sanitized the commander inputs in `buildScripts/addConfig.mjs`.
43+
> - Imported `sanitizeInput` from `buildScripts/util/Sanitizer.mjs`.
44+
> - Added meaningful descriptions for all CLI options.
45+
> - Applied `sanitizeInput` to `-c`, `-d`, `-h`, `-n`, and `-t` options.
46+
47+
## Activity Log
48+
49+
- 2025-12-02 @tobiu added the `bug` label
50+
- 2025-12-02 @tobiu added the `ai` label
51+
- 2025-12-02 @tobiu assigned to @tobiu
52+
- 2025-12-02 @tobiu referenced in commit `f9a0927` - "Sanitize commander inputs in buildScripts/addConfig.mjs #7980"
53+
- 2025-12-02 @tobiu closed this issue
54+

0 commit comments

Comments
 (0)