Frontmatter
| id | 8343 |
| title | Expand Source Indexing Coverage (Apps, Examples, AI) |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Jan 6, 2026, 12:10 AM |
| updatedAt | Jan 6, 2026, 12:24 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8343 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 6, 2026, 12:24 AM |
Expand Source Indexing Coverage (Apps, Examples, AI)
tobiu assigned to @tobiu on Jan 6, 2026, 12:10 AM

tobiu
Jan 6, 2026, 12:18 AM
Input from Gemini 3 Pro:
✦ I have successfully expanded the Source Indexing scope and implemented category differentiation.
Changes Implemented:
Updated
SourceParser.mjs:
- The
parsemethod now accepts an optionaldefaultTypeparameter.- This type is applied to all generated chunks (
module-context,class-properties,class-config,method), enabling the database to distinguish between framework code, examples, and infrastructure.Refactored
ApiSource.mjs:
- Removed the single
srcPathconfig.- Introduced a mapping of source roots to their semantic types:
src/->src(Core Framework)apps/->app(Reference Applications)examples/->example(Usage Examples)docs/app/->app(Docs App)ai/->ai-infrastructure(Agent OS)- The
extractmethod now iterates over these roots, recursively indexing each with the correct type.- Added a safety check to skip
node_modulesduring recursion.This ensures the Knowledge Base now contains a comprehensive, categorized view of the entire codebase, from the core framework to the AI infrastructure.
tobiu closed this issue on Jan 6, 2026, 12:24 AM
Expand the
ApiSourceto index additional directories that were previously covered (or are newly desired). Implement category differentiation based on the source directory.Directories & Types:
src/->type: 'src'(Core Framework)apps/->type: 'app'(Reference Applications)examples/->type: 'example'(Usage Examples)docs/app/->type: 'app'(Docs App)ai/->type: 'ai-infrastructure'(Agent OS / Node.js)Implementation:
SourceParser.mjsto accept adefaultTypeargument in itsparsemethod (defaulting to 'src').ApiSource.mjsto:SourceParser.