neuroplex 0.5.0 → 0.7.0

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.
Files changed (41) hide show
  1. package/dist/cli/index.js +15 -3
  2. package/dist/cli/index.js.map +1 -1
  3. package/dist/enrich/tasks.js +19 -0
  4. package/dist/enrich/tasks.js.map +1 -1
  5. package/dist/install/claude.d.ts +8 -0
  6. package/dist/install/claude.js +33 -0
  7. package/dist/install/claude.js.map +1 -1
  8. package/dist/scan/assemble.js +39 -108
  9. package/dist/scan/assemble.js.map +1 -1
  10. package/dist/scan/discover.js +13 -0
  11. package/dist/scan/discover.js.map +1 -1
  12. package/dist/scan/docs.js +20 -1
  13. package/dist/scan/docs.js.map +1 -1
  14. package/dist/scan/extract.js +12 -0
  15. package/dist/scan/extract.js.map +1 -1
  16. package/dist/scan/extractors/go.d.ts +4 -0
  17. package/dist/scan/extractors/go.js +743 -0
  18. package/dist/scan/extractors/go.js.map +1 -0
  19. package/dist/scan/extractors/java.d.ts +4 -0
  20. package/dist/scan/extractors/java.js +571 -0
  21. package/dist/scan/extractors/java.js.map +1 -0
  22. package/dist/scan/extractors/php.d.ts +4 -0
  23. package/dist/scan/extractors/php.js +775 -0
  24. package/dist/scan/extractors/php.js.map +1 -0
  25. package/dist/scan/extractors/rust.d.ts +4 -0
  26. package/dist/scan/extractors/rust.js +681 -0
  27. package/dist/scan/extractors/rust.js.map +1 -0
  28. package/dist/scan/extractors/typescript.js +13 -1
  29. package/dist/scan/extractors/typescript.js.map +1 -1
  30. package/dist/scan/parser.js +4 -0
  31. package/dist/scan/parser.js.map +1 -1
  32. package/dist/scan/resolve-named.d.ts +39 -0
  33. package/dist/scan/resolve-named.js +198 -0
  34. package/dist/scan/resolve-named.js.map +1 -0
  35. package/dist/scan/resolve.js +4 -1
  36. package/dist/scan/resolve.js.map +1 -1
  37. package/dist/scan/types.d.ts +1 -1
  38. package/dist/scan/types.js +1 -1
  39. package/dist/scan/types.js.map +1 -1
  40. package/package.json +1 -1
  41. package/skills/neuroplex/SKILL.md +3 -1
@@ -10,7 +10,7 @@
10
10
  * tree-sitter grammar; markdown files become file nodes (for docs such as the
11
11
  * README) without symbols.
12
12
  */
13
- export const LANGUAGE_IDS = ['typescript', 'tsx', 'javascript', 'python', 'csharp', 'markdown'];
13
+ export const LANGUAGE_IDS = ['typescript', 'tsx', 'javascript', 'python', 'csharp', 'java', 'go', 'rust', 'php', 'markdown'];
14
14
  export const emptyExtraction = () => ({
15
15
  symbols: [],
16
16
  imports: [],
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/scan/types.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,CAAU,CAAC;AAyHzG,MAAM,CAAC,MAAM,eAAe,GAAG,GAAmB,EAAE,CAAC,CAAC;IACpD,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,KAAK,EAAE,EAAE;IACT,QAAQ,EAAE,EAAE;IACZ,QAAQ,EAAE,EAAE;CACb,CAAC,CAAC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/scan/types.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,CAAU,CAAC;AAyHtI,MAAM,CAAC,MAAM,eAAe,GAAG,GAAmB,EAAE,CAAC,CAAC;IACpD,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,KAAK,EAAE,EAAE;IACT,QAAQ,EAAE,EAAE;IACZ,QAAQ,EAAE,EAAE;CACb,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neuroplex",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "A plug-and-play brain for your AI: turns any codebase into a knowledge graph served through a built-in MCP server. Work in progress.",
5
5
  "keywords": [
6
6
  "mcp",
@@ -52,7 +52,7 @@ The output is compact JSON: `phase`, `tasks`, `pending` (counts per phase), `sou
52
52
 
53
53
  1. Read `instructions`, `targets` and `context`.
54
54
  2. **Read the actual source files** listed in the context (paths are relative to `sourcePath`). Never write summaries from names alone.
55
- 3. Write the result JSON to a temporary file outside both the project and the brain, preferably with your file-writing tool (shell heredocs break on quotes), and submit it:
55
+ 3. Write the result JSON to a temporary file outside both the project and the brain, **always with your file-writing tool**: shell heredocs and `echo` break on apostrophes and quotes, especially on Windows. Then submit it:
56
56
 
57
57
  ```bash
58
58
  $NP write <task-id> --brain <brain> --file <tmp>/result.json
@@ -95,6 +95,8 @@ Registering the MCP server changes the user's Claude Code configuration, so **as
95
95
 
96
96
  `--dry-run` shows what would happen without changing anything. If the `claude` CLI is not available (another assistant), show the printed command and the `.mcp.json` snippet instead. Once connected, any **new** session can call `overview`, `search`, `explain`, `impact` and `path` on this project.
97
97
 
98
+ `connect` also adds a short "use the brain first" note to the project's `CLAUDE.md`, in a block marked `<!-- neuroplex:start -->`. Benchmarks show assistants often ignore an available MCP server and grep anyway; this note is what makes them use the brain. Mention it to the user. `--no-guidance` skips it, and other assistants can copy the same note into their own instructions file (`AGENTS.md`, `.cursor/rules`).
99
+
98
100
  ## 6. Wrap up
99
101
 
100
102
  Tell the user in a few lines: