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.
- package/dist/cli/index.js +15 -3
- package/dist/cli/index.js.map +1 -1
- package/dist/enrich/tasks.js +19 -0
- package/dist/enrich/tasks.js.map +1 -1
- package/dist/install/claude.d.ts +8 -0
- package/dist/install/claude.js +33 -0
- package/dist/install/claude.js.map +1 -1
- package/dist/scan/assemble.js +39 -108
- package/dist/scan/assemble.js.map +1 -1
- package/dist/scan/discover.js +13 -0
- package/dist/scan/discover.js.map +1 -1
- package/dist/scan/docs.js +20 -1
- package/dist/scan/docs.js.map +1 -1
- package/dist/scan/extract.js +12 -0
- package/dist/scan/extract.js.map +1 -1
- package/dist/scan/extractors/go.d.ts +4 -0
- package/dist/scan/extractors/go.js +743 -0
- package/dist/scan/extractors/go.js.map +1 -0
- package/dist/scan/extractors/java.d.ts +4 -0
- package/dist/scan/extractors/java.js +571 -0
- package/dist/scan/extractors/java.js.map +1 -0
- package/dist/scan/extractors/php.d.ts +4 -0
- package/dist/scan/extractors/php.js +775 -0
- package/dist/scan/extractors/php.js.map +1 -0
- package/dist/scan/extractors/rust.d.ts +4 -0
- package/dist/scan/extractors/rust.js +681 -0
- package/dist/scan/extractors/rust.js.map +1 -0
- package/dist/scan/extractors/typescript.js +13 -1
- package/dist/scan/extractors/typescript.js.map +1 -1
- package/dist/scan/parser.js +4 -0
- package/dist/scan/parser.js.map +1 -1
- package/dist/scan/resolve-named.d.ts +39 -0
- package/dist/scan/resolve-named.js +198 -0
- package/dist/scan/resolve-named.js.map +1 -0
- package/dist/scan/resolve.js +4 -1
- package/dist/scan/resolve.js.map +1 -1
- package/dist/scan/types.d.ts +1 -1
- package/dist/scan/types.js +1 -1
- package/dist/scan/types.js.map +1 -1
- package/package.json +1 -1
- package/skills/neuroplex/SKILL.md +3 -1
package/dist/scan/types.js
CHANGED
|
@@ -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: [],
|
package/dist/scan/types.js.map
CHANGED
|
@@ -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;
|
|
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
|
@@ -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,
|
|
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:
|