@maxgfr/codeindex 2.10.0 → 2.11.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/LICENSE +21 -0
- package/README.md +52 -2
- package/package.json +1 -1
- package/scripts/engine.d.mts +18 -3
- package/scripts/engine.mjs +248 -95
- package/src/embed/encode.ts +26 -16
- package/src/embed/endpoint.ts +110 -21
- package/src/embed/index.ts +30 -14
- package/src/embed/search.ts +9 -3
- package/src/engine-cli.ts +99 -22
- package/src/engine.ts +17 -5
- package/src/extract/code.ts +15 -3
- package/src/mcp.ts +31 -17
- package/src/types.ts +6 -3
package/src/types.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Single source of truth for the engine version the bundle reports. Kept in
|
|
2
2
|
// lockstep with package.json by the release pipeline. Do not edit by hand
|
|
3
3
|
// outside a release.
|
|
4
|
-
export const ENGINE_VERSION = "2.
|
|
4
|
+
export const ENGINE_VERSION = "2.11.0";
|
|
5
5
|
|
|
6
6
|
// Bumped whenever the on-disk artifact shape changes, so a consumer can reject
|
|
7
7
|
// an index written by an incompatible engine instead of misreading it. The
|
|
@@ -24,8 +24,11 @@ export const SCHEMA_VERSION = 4;
|
|
|
24
24
|
// (the immediate receiver of a qualified call, both tiers) and JS/TS export
|
|
25
25
|
// parity with ultradoc (CJS `exports.foo =` / `module.exports = {…}` named
|
|
26
26
|
// exports, `export { a, b as c }` local marking, anonymous `export default`
|
|
27
|
-
// named after the file stem, `export default Foo` marking the declaration)
|
|
28
|
-
export
|
|
27
|
+
// named after the file stem, `export default Foo` marking the declaration);
|
|
28
|
+
// v7 makes an export-alias symbol (`export { b as c }`) mirror the aliased
|
|
29
|
+
// local declaration's own kind (e.g. "function") instead of the generic
|
|
30
|
+
// "reexport" when it resolves in-file.
|
|
31
|
+
export const EXTRACTOR_VERSION = 7;
|
|
29
32
|
|
|
30
33
|
// How a file is classified. `code` gets symbol/import extraction; `doc` gets
|
|
31
34
|
// link/heading extraction; the rest are catalogued but not deeply parsed.
|