Frontmatter
| id | 8349 |
| title | Move sync_knowledge_base.mjs to buildScripts/syncKnowledgeBase.mjs |
| state | Closed |
| labels | refactoringbuild |
| assignees | tobiu |
| createdAt | Jan 6, 2026, 11:47 AM |
| updatedAt | Jan 6, 2026, 11:49 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8349 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 6, 2026, 11:49 AM |
Move sync_knowledge_base.mjs to buildScripts/syncKnowledgeBase.mjs
tobiu assigned to @tobiu on Jan 6, 2026, 11:47 AM

tobiu
Jan 6, 2026, 11:48 AM
Input from Gemini 3 Pro:
✦ I have successfully moved the synchronization script to
buildScripts/.Changes Implemented:
- Moved:
ai/examples/sync_knowledge_base.mjs->buildScripts/syncKnowledgeBase.mjs.- Updated Imports: Adjusted relative paths in
buildScripts/syncKnowledgeBase.mjsto point to the correctsrcandaidirectories.- Updated Config: Modified
package.jsonso theai:sync-kbscript now runsnode ./buildScripts/syncKnowledgeBase.mjs.Verification: Executed
npm run ai:sync-kb. The script ran successfully, initializing services, creating the knowledge base file, and performing the embedding process without errors.The synchronization logic is now correctly categorized as a build utility.
tobiu closed this issue on Jan 6, 2026, 11:49 AM
Move the knowledge base synchronization script from
ai/examples/sync_knowledge_base.mjstobuildScripts/syncKnowledgeBase.mjsto better reflect its role as a repository utility rather than just an example.Tasks:
ai/examples/sync_knowledge_base.mjstobuildScripts/syncKnowledgeBase.mjs.ai:sync-kbscript inpackage.json.