@remnic/core 9.3.671 → 9.3.672

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 (55) hide show
  1. package/dist/access-cli.js +8 -8
  2. package/dist/access-http.js +7 -7
  3. package/dist/access-mcp.js +6 -6
  4. package/dist/access-service.js +5 -5
  5. package/dist/{chunk-UOBLE67F.js → chunk-3IE22DJ2.js} +4 -4
  6. package/dist/{chunk-XS2CWEHZ.js → chunk-4QZ7H6FN.js} +2 -2
  7. package/dist/chunk-52LZ42LI.js +25 -0
  8. package/dist/chunk-52LZ42LI.js.map +1 -0
  9. package/dist/{chunk-TGN4M5MB.js → chunk-7O5CFNN4.js} +2 -2
  10. package/dist/{chunk-F7OWUP3G.js → chunk-AYGT6VBC.js} +3 -3
  11. package/dist/{chunk-Z4GALEO3.js → chunk-CXKETYZ7.js} +2 -2
  12. package/dist/{chunk-23EBQ27U.js → chunk-EJYFPRED.js} +2 -2
  13. package/dist/{chunk-CPVV2UEL.js → chunk-FP4ISXI3.js} +2 -2
  14. package/dist/{chunk-CRO4LCQ6.js → chunk-KJOYHNS7.js} +5 -5
  15. package/dist/{chunk-ZI6A7X4V.js → chunk-M3WF2AB6.js} +4 -4
  16. package/dist/{chunk-32RD3GIW.js → chunk-ZQJHKN7J.js} +9 -9
  17. package/dist/{chunk-LXVOZ2O6.js → chunk-ZUPFMHJA.js} +2 -2
  18. package/dist/cli.js +11 -11
  19. package/dist/coding/optional-coding-graph.d.ts +63 -0
  20. package/dist/coding/optional-coding-graph.js +119 -0
  21. package/dist/coding/optional-coding-graph.js.map +1 -0
  22. package/dist/coding-graph-types-Dd2tGrnm.d.ts +106 -0
  23. package/dist/conversation-index/backend.js +2 -2
  24. package/dist/index.d.ts +1 -0
  25. package/dist/index.js +20 -14
  26. package/dist/index.js.map +1 -1
  27. package/dist/lcm/engine.js +2 -2
  28. package/dist/lcm/index.js +2 -2
  29. package/dist/namespaces/migrate.js +5 -5
  30. package/dist/namespaces/search.js +4 -4
  31. package/dist/operator-toolkit.js +6 -6
  32. package/dist/orchestrator.js +7 -7
  33. package/dist/search/factory.js +3 -3
  34. package/dist/search/index.js +3 -3
  35. package/package.json +19 -1
  36. package/src/coding/coding-graph-types.ts +180 -0
  37. package/src/coding/optional-coding-graph-cache.test.ts +86 -0
  38. package/src/coding/optional-coding-graph-cacheread.test.ts +78 -0
  39. package/src/coding/optional-coding-graph-concurrent.test.ts +48 -0
  40. package/src/coding/optional-coding-graph-incompatible.test.ts +98 -0
  41. package/src/coding/optional-coding-graph-probe.test.ts +34 -0
  42. package/src/coding/optional-coding-graph.test.ts +117 -0
  43. package/src/coding/optional-coding-graph.ts +370 -0
  44. package/src/index.ts +22 -0
  45. /package/dist/{chunk-UOBLE67F.js.map → chunk-3IE22DJ2.js.map} +0 -0
  46. /package/dist/{chunk-XS2CWEHZ.js.map → chunk-4QZ7H6FN.js.map} +0 -0
  47. /package/dist/{chunk-TGN4M5MB.js.map → chunk-7O5CFNN4.js.map} +0 -0
  48. /package/dist/{chunk-F7OWUP3G.js.map → chunk-AYGT6VBC.js.map} +0 -0
  49. /package/dist/{chunk-Z4GALEO3.js.map → chunk-CXKETYZ7.js.map} +0 -0
  50. /package/dist/{chunk-23EBQ27U.js.map → chunk-EJYFPRED.js.map} +0 -0
  51. /package/dist/{chunk-CPVV2UEL.js.map → chunk-FP4ISXI3.js.map} +0 -0
  52. /package/dist/{chunk-CRO4LCQ6.js.map → chunk-KJOYHNS7.js.map} +0 -0
  53. /package/dist/{chunk-ZI6A7X4V.js.map → chunk-M3WF2AB6.js.map} +0 -0
  54. /package/dist/{chunk-32RD3GIW.js.map → chunk-ZQJHKN7J.js.map} +0 -0
  55. /package/dist/{chunk-LXVOZ2O6.js.map → chunk-ZUPFMHJA.js.map} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Orchestrator
3
- } from "./chunk-ZI6A7X4V.js";
3
+ } from "./chunk-M3WF2AB6.js";
4
4
  import "./chunk-4SKKVWLQ.js";
5
5
  import "./chunk-7HYPN2GC.js";
6
6
  import "./chunk-666A3MOW.js";
7
7
  import "./chunk-HHLLAQGZ.js";
8
8
  import "./chunk-UWK5OXUJ.js";
9
- import "./chunk-UOBLE67F.js";
9
+ import "./chunk-3IE22DJ2.js";
10
+ import "./chunk-TPDBFYEG.js";
10
11
  import "./chunk-KCYE2MZM.js";
11
12
  import "./chunk-MAV46GWQ.js";
12
13
  import "./chunk-5VDJMYTF.js";
13
14
  import "./chunk-HP5FMB6L.js";
14
15
  import "./chunk-7N4KAIGN.js";
15
- import "./chunk-TPDBFYEG.js";
16
16
  import "./chunk-TECVW3JP.js";
17
17
  import "./chunk-T2PO5MUF.js";
18
18
  import "./chunk-B6IUW76R.js";
@@ -123,7 +123,7 @@ import "./chunk-OADWQ5CR.js";
123
123
  import "./chunk-7WV3F5DQ.js";
124
124
  import {
125
125
  EngramAccessService
126
- } from "./chunk-TGN4M5MB.js";
126
+ } from "./chunk-7O5CFNN4.js";
127
127
  import "./chunk-GDASG7NC.js";
128
128
  import "./chunk-GDB4J2H3.js";
129
129
  import "./chunk-ARV3AUOM.js";
@@ -137,8 +137,8 @@ import "./chunk-RS25QOKZ.js";
137
137
  import "./chunk-JGSKJHF7.js";
138
138
  import "./chunk-FF4KLI5W.js";
139
139
  import "./chunk-6VP3YUCS.js";
140
- import "./chunk-XS2CWEHZ.js";
141
- import "./chunk-23EBQ27U.js";
140
+ import "./chunk-4QZ7H6FN.js";
141
+ import "./chunk-EJYFPRED.js";
142
142
  import "./chunk-OUWAQVDJ.js";
143
143
  import "./chunk-DOCTITOP.js";
144
144
  import "./chunk-CYEPCZN5.js";
@@ -148,10 +148,10 @@ import "./chunk-AER6MT24.js";
148
148
  import "./chunk-RN7MUWON.js";
149
149
  import "./chunk-CINZGPSJ.js";
150
150
  import "./chunk-ZFXCQPNO.js";
151
- import "./chunk-CRO4LCQ6.js";
151
+ import "./chunk-KJOYHNS7.js";
152
+ import "./chunk-OIF36KGD.js";
152
153
  import "./chunk-7DTASS5T.js";
153
154
  import "./chunk-E6ZDCOHM.js";
154
- import "./chunk-OIF36KGD.js";
155
155
  import "./chunk-6RHNCKHG.js";
156
156
  import "./chunk-YNQ6DFSV.js";
157
157
  import "./chunk-EIR5VLIH.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  EngramAccessHttpServer
3
- } from "./chunk-F7OWUP3G.js";
3
+ } from "./chunk-AYGT6VBC.js";
4
4
  import "./chunk-SEDEKFYQ.js";
5
5
  import "./chunk-JBPKEARU.js";
6
6
  import "./chunk-TMSXWOBZ.js";
@@ -9,10 +9,10 @@ import "./chunk-RSUYKGGZ.js";
9
9
  import "./chunk-42NQ7AVG.js";
10
10
  import "./chunk-7RXCMVFQ.js";
11
11
  import "./chunk-7WV3F5DQ.js";
12
- import "./chunk-Z4GALEO3.js";
12
+ import "./chunk-CXKETYZ7.js";
13
13
  import "./chunk-T4WDJPEZ.js";
14
14
  import "./chunk-D24OXEPB.js";
15
- import "./chunk-TGN4M5MB.js";
15
+ import "./chunk-7O5CFNN4.js";
16
16
  import "./chunk-GDASG7NC.js";
17
17
  import "./chunk-GDB4J2H3.js";
18
18
  import "./chunk-ARV3AUOM.js";
@@ -26,8 +26,8 @@ import "./chunk-RS25QOKZ.js";
26
26
  import "./chunk-JGSKJHF7.js";
27
27
  import "./chunk-FF4KLI5W.js";
28
28
  import "./chunk-6VP3YUCS.js";
29
- import "./chunk-XS2CWEHZ.js";
30
- import "./chunk-23EBQ27U.js";
29
+ import "./chunk-4QZ7H6FN.js";
30
+ import "./chunk-EJYFPRED.js";
31
31
  import "./chunk-OUWAQVDJ.js";
32
32
  import "./chunk-DOCTITOP.js";
33
33
  import "./chunk-CYEPCZN5.js";
@@ -37,10 +37,10 @@ import "./chunk-AER6MT24.js";
37
37
  import "./chunk-RN7MUWON.js";
38
38
  import "./chunk-CINZGPSJ.js";
39
39
  import "./chunk-ZFXCQPNO.js";
40
- import "./chunk-CRO4LCQ6.js";
40
+ import "./chunk-KJOYHNS7.js";
41
+ import "./chunk-OIF36KGD.js";
41
42
  import "./chunk-7DTASS5T.js";
42
43
  import "./chunk-E6ZDCOHM.js";
43
- import "./chunk-OIF36KGD.js";
44
44
  import "./chunk-6RHNCKHG.js";
45
45
  import "./chunk-YNQ6DFSV.js";
46
46
  import "./chunk-EIR5VLIH.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  EngramMcpServer
3
- } from "./chunk-Z4GALEO3.js";
3
+ } from "./chunk-CXKETYZ7.js";
4
4
  import "./chunk-T4WDJPEZ.js";
5
5
  import "./chunk-D24OXEPB.js";
6
- import "./chunk-TGN4M5MB.js";
6
+ import "./chunk-7O5CFNN4.js";
7
7
  import "./chunk-GDASG7NC.js";
8
8
  import "./chunk-GDB4J2H3.js";
9
9
  import "./chunk-ARV3AUOM.js";
@@ -17,8 +17,8 @@ import "./chunk-RS25QOKZ.js";
17
17
  import "./chunk-JGSKJHF7.js";
18
18
  import "./chunk-FF4KLI5W.js";
19
19
  import "./chunk-6VP3YUCS.js";
20
- import "./chunk-XS2CWEHZ.js";
21
- import "./chunk-23EBQ27U.js";
20
+ import "./chunk-4QZ7H6FN.js";
21
+ import "./chunk-EJYFPRED.js";
22
22
  import "./chunk-OUWAQVDJ.js";
23
23
  import "./chunk-DOCTITOP.js";
24
24
  import "./chunk-CYEPCZN5.js";
@@ -28,10 +28,10 @@ import "./chunk-AER6MT24.js";
28
28
  import "./chunk-RN7MUWON.js";
29
29
  import "./chunk-CINZGPSJ.js";
30
30
  import "./chunk-ZFXCQPNO.js";
31
- import "./chunk-CRO4LCQ6.js";
31
+ import "./chunk-KJOYHNS7.js";
32
+ import "./chunk-OIF36KGD.js";
32
33
  import "./chunk-7DTASS5T.js";
33
34
  import "./chunk-E6ZDCOHM.js";
34
- import "./chunk-OIF36KGD.js";
35
35
  import "./chunk-6RHNCKHG.js";
36
36
  import "./chunk-YNQ6DFSV.js";
37
37
  import "./chunk-EIR5VLIH.js";
@@ -3,7 +3,7 @@ import {
3
3
  EngramAccessInputError,
4
4
  EngramAccessService,
5
5
  shapeMemorySummary
6
- } from "./chunk-TGN4M5MB.js";
6
+ } from "./chunk-7O5CFNN4.js";
7
7
  import "./chunk-GDASG7NC.js";
8
8
  import "./chunk-GDB4J2H3.js";
9
9
  import "./chunk-ARV3AUOM.js";
@@ -17,8 +17,8 @@ import "./chunk-RS25QOKZ.js";
17
17
  import "./chunk-JGSKJHF7.js";
18
18
  import "./chunk-FF4KLI5W.js";
19
19
  import "./chunk-6VP3YUCS.js";
20
- import "./chunk-XS2CWEHZ.js";
21
- import "./chunk-23EBQ27U.js";
20
+ import "./chunk-4QZ7H6FN.js";
21
+ import "./chunk-EJYFPRED.js";
22
22
  import "./chunk-OUWAQVDJ.js";
23
23
  import "./chunk-DOCTITOP.js";
24
24
  import "./chunk-CYEPCZN5.js";
@@ -28,10 +28,10 @@ import "./chunk-AER6MT24.js";
28
28
  import "./chunk-RN7MUWON.js";
29
29
  import "./chunk-CINZGPSJ.js";
30
30
  import "./chunk-ZFXCQPNO.js";
31
- import "./chunk-CRO4LCQ6.js";
31
+ import "./chunk-KJOYHNS7.js";
32
+ import "./chunk-OIF36KGD.js";
32
33
  import "./chunk-7DTASS5T.js";
33
34
  import "./chunk-E6ZDCOHM.js";
34
- import "./chunk-OIF36KGD.js";
35
35
  import "./chunk-6RHNCKHG.js";
36
36
  import "./chunk-YNQ6DFSV.js";
37
37
  import "./chunk-EIR5VLIH.js";
@@ -1,3 +1,6 @@
1
+ import {
2
+ LcmWorkQueue
3
+ } from "./chunk-TPDBFYEG.js";
1
4
  import {
2
5
  assembleCompressedHistory
3
6
  } from "./chunk-KCYE2MZM.js";
@@ -14,9 +17,6 @@ import {
14
17
  import {
15
18
  LcmDag
16
19
  } from "./chunk-7N4KAIGN.js";
17
- import {
18
- LcmWorkQueue
19
- } from "./chunk-TPDBFYEG.js";
20
20
  import {
21
21
  log
22
22
  } from "./chunk-2ODBA7MQ.js";
@@ -513,4 +513,4 @@ export {
513
513
  extractLcmConfig,
514
514
  LcmEngine
515
515
  };
516
- //# sourceMappingURL=chunk-UOBLE67F.js.map
516
+ //# sourceMappingURL=chunk-3IE22DJ2.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createSearchBackend
3
- } from "./chunk-23EBQ27U.js";
3
+ } from "./chunk-EJYFPRED.js";
4
4
  import {
5
5
  namespaceIdentityToken,
6
6
  normalizeNamespaceIdentity
@@ -401,4 +401,4 @@ export {
401
401
  namespaceCollectionName,
402
402
  NamespaceSearchRouter
403
403
  };
404
- //# sourceMappingURL=chunk-XS2CWEHZ.js.map
404
+ //# sourceMappingURL=chunk-4QZ7H6FN.js.map
@@ -0,0 +1,25 @@
1
+ // src/coding/coding-graph-types.ts
2
+ var CODING_GRAPH_ENGINE_VERSION = "0.1.0-pr1";
3
+ var TIER_1_LANGUAGES = [
4
+ "typescript",
5
+ "tsx",
6
+ "javascript",
7
+ "python",
8
+ "go",
9
+ "rust",
10
+ "java",
11
+ "c",
12
+ "cpp",
13
+ "csharp",
14
+ "ruby",
15
+ "php",
16
+ "kotlin",
17
+ "swift",
18
+ "bash"
19
+ ];
20
+
21
+ export {
22
+ CODING_GRAPH_ENGINE_VERSION,
23
+ TIER_1_LANGUAGES
24
+ };
25
+ //# sourceMappingURL=chunk-52LZ42LI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/coding/coding-graph-types.ts"],"sourcesContent":["// Engine contract types for the optional @remnic/coding-graph package.\n//\n// These types are owned by @remnic/core so the base install compiles even\n// when @remnic/coding-graph is not present (it is an optional peer dep —\n// installed only on host machines that opt in to codebase-graph features).\n//\n// @remnic/coding-graph imports these types and implements them; it does\n// not redefine them. This breaks the type-source-direction cycle that\n// would otherwise require core to import coding-graph at compile time\n// (core's tsup DTS phase emits declarations against the package's\n// compiled output, which would fail when the optional package is not\n// installed in CI's base install).\n//\n// Dependency direction:\n//\n// @remnic/core ──── owns ───► CodingGraphEngine (this file)\n// ▲\n// │ peer + devDep (workspace)\n// │\n// @remnic/coding-graph (implements against these types)\n//\n// Per #1551 PR1 — these are the full contract surface. PR2 fills the\n// extractors; PR3+ lands the walker, determinism, and grammarDir\n// behaviour behind the same `parseFile()` entry point.\n\n// ---------------------------------------------------------------------------\n// Version constant — surfaced through the engine instance so consumers can\n// advertise what they expect. Bumped in lockstep with the package version\n// during active development.\n// ---------------------------------------------------------------------------\nexport const CODING_GRAPH_ENGINE_VERSION = \"0.1.0-pr1\" as const;\n\n// ---------------------------------------------------------------------------\n// Tier-1 language list — declared here so consumers can drive their own\n// tools against the engine without touching the optional package. Order is\n// stable; per-language configuration is the engine's concern.\n// ---------------------------------------------------------------------------\nexport const TIER_1_LANGUAGES = [\n \"typescript\",\n \"tsx\",\n \"javascript\",\n \"python\",\n \"go\",\n \"rust\",\n \"java\",\n \"c\",\n \"cpp\",\n \"csharp\",\n \"ruby\",\n \"php\",\n \"kotlin\",\n \"swift\",\n \"bash\",\n] as const;\n\nexport type CodingGraphLanguage = (typeof TIER_1_LANGUAGES)[number];\n\n// ---------------------------------------------------------------------------\n// Tagged error code — the load-bearing signal for programmatic detection of\n// placeholder / install / load failure states. New codes must be added here\n// so consumers see them via TypeScript.\n// ---------------------------------------------------------------------------\nexport type CodingGraphErrorCode =\n | \"not_implemented\"\n | \"module_load_failed\";\n\n// ---------------------------------------------------------------------------\n// Engine interface — the contract coding-graph implements against.\n// ---------------------------------------------------------------------------\nexport interface CodingGraphEngine {\n /** Engine version reported at construction time. */\n readonly engineVersion: string;\n /** Tier-1 languages this build supports (PR2 narrows by grammar availability). */\n readonly supportedLanguages: readonly CodingGraphLanguage[];\n /**\n * Parse a single source file and emit its FileIR.\n *\n * PR1 throws `CodingGraphError(\"not_implemented\", …)`. PR2 will return\n * `ParseResult`; failure paths come back as\n * `{ ok: false, code: \"parse_failed\", path, message }` (rule 44) rather\n * than partial / silent IR.\n */\n parseFile(input: ParseFileInput): Promise<ParseResult>;\n /** Engine lifecycle — release any cached parsers/grammars. */\n dispose(): Promise<void>;\n}\n\n// ---------------------------------------------------------------------------\n// Parse input/output\n// ---------------------------------------------------------------------------\nexport interface ParseFileInput {\n /** Repository-relative path (forward slashes; no leading `./`). */\n readonly path: string;\n /** Raw file bytes; hashing happens inside the engine (rule 23). */\n readonly content: Uint8Array;\n /**\n * Optional override. When omitted the engine sniffs the language from\n * `path` extensions against its built-in tier-1 list (PR2).\n */\n readonly language?: CodingGraphLanguage;\n}\n\nexport type ParseResult =\n | { readonly ok: true; readonly ir: FileIR }\n | {\n readonly ok: false;\n readonly code: \"parse_failed\";\n readonly path: string;\n readonly message: string;\n };\n\n// ---------------------------------------------------------------------------\n// FileIR — the seam between the parser (optional package) and the graph\n// store (sibling issue #1552). Field types are the minimal viable set per\n// the issue's design section.\n// ---------------------------------------------------------------------------\nexport interface FileIR {\n readonly path: string;\n readonly language: CodingGraphLanguage;\n /** SHA-256 of the raw bytes; rule 23 — every consumer hashes the same form. */\n readonly contentHash: string;\n readonly symbols: readonly SymbolIR[];\n readonly imports: readonly ImportIR[];\n readonly exports: readonly ExportIR[];\n readonly callSites: readonly CallSiteIR[];\n readonly routes: readonly RouteIR[];\n}\n\nexport interface SymbolIR {\n readonly kind:\n | \"function\"\n | \"class\"\n | \"method\"\n | \"interface\"\n | \"enum\"\n | \"type\"\n | \"module\";\n readonly name: string;\n readonly qualifiedName: string;\n /** Half-open byte span `[startByte, endByte)`. Rule 35. */\n readonly span: { readonly startByte: number; readonly endByte: number };\n readonly parentQualifiedName?: string;\n}\n\nexport interface ImportIR {\n /** Raw module specifier as written in source. */\n readonly module: string;\n readonly importedNames: readonly string[];\n readonly span: { readonly startByte: number; readonly endByte: number };\n}\n\nexport interface ExportIR {\n readonly name: string;\n readonly span: { readonly startByte: number; readonly endByte: number };\n}\n\nexport interface CallSiteIR {\n readonly calleeNameCandidates: readonly string[];\n readonly span: { readonly startByte: number; readonly endByte: number };\n}\n\nexport interface RouteIR {\n /** HTTP verb in upper-case, or framework-native verb (e.g. \"ANY\"). */\n readonly verb: string;\n readonly pathTemplate: string;\n readonly handlerQualifiedName: string;\n readonly span: { readonly startByte: number; readonly endByte: number };\n}\n\n// ---------------------------------------------------------------------------\n// Factory options\n// ---------------------------------------------------------------------------\n/**\n * Reserved for PR2. Declared now so the public surface is stable; the\n * options object is intentionally empty in PR1.\n */\nexport interface CreateCodingGraphEngineOptions {\n /** Reserved for PR2: extra grammar directory supplied by the operator. */\n readonly grammarDir?: never;\n}\n"],"mappings":";AA8BO,IAAM,8BAA8B;AAOpC,IAAM,mBAAmB;AAAA,EAC9B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;","names":[]}
@@ -55,7 +55,7 @@ import {
55
55
  } from "./chunk-6VP3YUCS.js";
56
56
  import {
57
57
  namespaceCollectionName
58
- } from "./chunk-XS2CWEHZ.js";
58
+ } from "./chunk-4QZ7H6FN.js";
59
59
  import {
60
60
  namespaceIdentityFromToken
61
61
  } from "./chunk-ZFXCQPNO.js";
@@ -5579,4 +5579,4 @@ export {
5579
5579
  shapeMemorySummary,
5580
5580
  EngramAccessService
5581
5581
  };
5582
- //# sourceMappingURL=chunk-TGN4M5MB.js.map
5582
+ //# sourceMappingURL=chunk-7O5CFNN4.js.map
@@ -6,10 +6,10 @@ import {
6
6
  } from "./chunk-7WV3F5DQ.js";
7
7
  import {
8
8
  EngramMcpServer
9
- } from "./chunk-Z4GALEO3.js";
9
+ } from "./chunk-CXKETYZ7.js";
10
10
  import {
11
11
  EngramAccessInputError
12
- } from "./chunk-TGN4M5MB.js";
12
+ } from "./chunk-7O5CFNN4.js";
13
13
  import {
14
14
  projectTagProjectId
15
15
  } from "./chunk-GYSYLGNE.js";
@@ -2030,4 +2030,4 @@ function positiveIntQueryParam(value, label) {
2030
2030
  export {
2031
2031
  EngramAccessHttpServer
2032
2032
  };
2033
- //# sourceMappingURL=chunk-F7OWUP3G.js.map
2033
+ //# sourceMappingURL=chunk-AYGT6VBC.js.map
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-D24OXEPB.js";
12
12
  import {
13
13
  EngramAccessInputError
14
- } from "./chunk-TGN4M5MB.js";
14
+ } from "./chunk-7O5CFNN4.js";
15
15
  import {
16
16
  projectTagProjectId
17
17
  } from "./chunk-GYSYLGNE.js";
@@ -3117,4 +3117,4 @@ ${body}`;
3117
3117
  export {
3118
3118
  EngramMcpServer
3119
3119
  };
3120
- //# sourceMappingURL=chunk-Z4GALEO3.js.map
3120
+ //# sourceMappingURL=chunk-CXKETYZ7.js.map
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-RN7MUWON.js";
19
19
  import {
20
20
  createConversationIndexBackend
21
- } from "./chunk-CRO4LCQ6.js";
21
+ } from "./chunk-KJOYHNS7.js";
22
22
  import {
23
23
  FaissConversationIndexAdapter
24
24
  } from "./chunk-E6ZDCOHM.js";
@@ -170,4 +170,4 @@ export {
170
170
  createConversationSearchBackend,
171
171
  createConversationIndexRuntime
172
172
  };
173
- //# sourceMappingURL=chunk-23EBQ27U.js.map
173
+ //# sourceMappingURL=chunk-EJYFPRED.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  listNamespaces
3
- } from "./chunk-LXVOZ2O6.js";
3
+ } from "./chunk-ZUPFMHJA.js";
4
4
  import {
5
5
  runConsolidationProvenanceCheck
6
6
  } from "./chunk-6T4LTI2F.js";
@@ -1336,4 +1336,4 @@ export {
1336
1336
  runBenchmarkRecall,
1337
1337
  runOperatorRepair
1338
1338
  };
1339
- //# sourceMappingURL=chunk-CPVV2UEL.js.map
1339
+ //# sourceMappingURL=chunk-FP4ISXI3.js.map
@@ -1,3 +1,7 @@
1
+ import {
2
+ rebuildConversationChunksFailOpen,
3
+ upsertConversationChunksFailOpen
4
+ } from "./chunk-OIF36KGD.js";
1
5
  import {
2
6
  searchConversationIndex,
3
7
  searchConversationIndexFaissFailOpen
@@ -5,10 +9,6 @@ import {
5
9
  import {
6
10
  failOpenFaissHealth
7
11
  } from "./chunk-E6ZDCOHM.js";
8
- import {
9
- rebuildConversationChunksFailOpen,
10
- upsertConversationChunksFailOpen
11
- } from "./chunk-OIF36KGD.js";
12
12
 
13
13
  // src/conversation-index/backend.ts
14
14
  function createConversationIndexBackend(options) {
@@ -235,4 +235,4 @@ function createFaissBackend(getFaiss) {
235
235
  export {
236
236
  createConversationIndexBackend
237
237
  };
238
- //# sourceMappingURL=chunk-CRO4LCQ6.js.map
238
+ //# sourceMappingURL=chunk-KJOYHNS7.js.map
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-666A3MOW.js";
20
20
  import {
21
21
  LcmEngine
22
- } from "./chunk-UOBLE67F.js";
22
+ } from "./chunk-3IE22DJ2.js";
23
23
  import {
24
24
  chunkTranscriptEntries
25
25
  } from "./chunk-TECVW3JP.js";
@@ -322,11 +322,11 @@ import {
322
322
  } from "./chunk-6VP3YUCS.js";
323
323
  import {
324
324
  NamespaceSearchRouter
325
- } from "./chunk-XS2CWEHZ.js";
325
+ } from "./chunk-4QZ7H6FN.js";
326
326
  import {
327
327
  createConversationIndexRuntime,
328
328
  createSearchBackend
329
- } from "./chunk-23EBQ27U.js";
329
+ } from "./chunk-EJYFPRED.js";
330
330
  import {
331
331
  NoopSearchBackend
332
332
  } from "./chunk-CYEPCZN5.js";
@@ -17387,4 +17387,4 @@ export {
17387
17387
  resolvePersistedMemoryRelativePath,
17388
17388
  Orchestrator
17389
17389
  };
17390
- //# sourceMappingURL=chunk-ZI6A7X4V.js.map
17390
+ //# sourceMappingURL=chunk-M3WF2AB6.js.map
@@ -7,6 +7,9 @@ import {
7
7
  import {
8
8
  openclawReplayNormalizer
9
9
  } from "./chunk-7F7Z6MOS.js";
10
+ import {
11
+ exportJsonBundle
12
+ } from "./chunk-UP6MOYCB.js";
10
13
  import {
11
14
  exportSqlite
12
15
  } from "./chunk-7VFZTJ7K.js";
@@ -28,9 +31,6 @@ import {
28
31
  import {
29
32
  exportMarkdownBundle
30
33
  } from "./chunk-765K3SAT.js";
31
- import {
32
- exportJsonBundle
33
- } from "./chunk-UP6MOYCB.js";
34
34
  import {
35
35
  TailscaleHelper
36
36
  } from "./chunk-EEC4PCG5.js";
@@ -93,12 +93,12 @@ import {
93
93
  runOperatorInventory,
94
94
  runOperatorRepair,
95
95
  runOperatorSetup
96
- } from "./chunk-CPVV2UEL.js";
96
+ } from "./chunk-FP4ISXI3.js";
97
97
  import {
98
98
  listNamespaces,
99
99
  runNamespaceMigration,
100
100
  verifyNamespaces
101
- } from "./chunk-LXVOZ2O6.js";
101
+ } from "./chunk-ZUPFMHJA.js";
102
102
  import {
103
103
  collectPatternMemories,
104
104
  explainPatternMemory,
@@ -216,16 +216,16 @@ import {
216
216
  } from "./chunk-OADWQ5CR.js";
217
217
  import {
218
218
  EngramAccessHttpServer
219
- } from "./chunk-F7OWUP3G.js";
219
+ } from "./chunk-AYGT6VBC.js";
220
220
  import {
221
221
  WearablesInputError
222
222
  } from "./chunk-7WV3F5DQ.js";
223
223
  import {
224
224
  EngramMcpServer
225
- } from "./chunk-Z4GALEO3.js";
225
+ } from "./chunk-CXKETYZ7.js";
226
226
  import {
227
227
  EngramAccessService
228
- } from "./chunk-TGN4M5MB.js";
228
+ } from "./chunk-7O5CFNN4.js";
229
229
  import {
230
230
  WorkStorage
231
231
  } from "./chunk-GDB4J2H3.js";
@@ -7311,4 +7311,4 @@ export {
7311
7311
  listMemoryMarkdownFilePaths,
7312
7312
  registerCli
7313
7313
  };
7314
- //# sourceMappingURL=chunk-32RD3GIW.js.map
7314
+ //# sourceMappingURL=chunk-ZQJHKN7J.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-LZSMQHXC.js";
4
4
  import {
5
5
  namespaceCollectionName
6
- } from "./chunk-XS2CWEHZ.js";
6
+ } from "./chunk-4QZ7H6FN.js";
7
7
  import {
8
8
  namespaceIdentityFromToken,
9
9
  namespaceIdentityToken
@@ -204,4 +204,4 @@ export {
204
204
  verifyNamespaces,
205
205
  runNamespaceMigration
206
206
  };
207
- //# sourceMappingURL=chunk-LXVOZ2O6.js.map
207
+ //# sourceMappingURL=chunk-ZUPFMHJA.js.map
package/dist/cli.js CHANGED
@@ -90,11 +90,12 @@ import {
90
90
  runWorkProductStatusCliCommand,
91
91
  runWorkProjectCliCommand,
92
92
  runWorkTaskCliCommand
93
- } from "./chunk-32RD3GIW.js";
93
+ } from "./chunk-ZQJHKN7J.js";
94
94
  import "./chunk-MC4FJXPA.js";
95
95
  import "./chunk-LQHDIS7L.js";
96
96
  import "./chunk-7F7Z6MOS.js";
97
97
  import "./chunk-JJEJJ7RK.js";
98
+ import "./chunk-UP6MOYCB.js";
98
99
  import "./chunk-7VFZTJ7K.js";
99
100
  import "./chunk-HDDRVXX4.js";
100
101
  import "./chunk-AGNBY3VG.js";
@@ -104,7 +105,6 @@ import "./chunk-2DL3OFLD.js";
104
105
  import "./chunk-G4IAEX6D.js";
105
106
  import "./chunk-2NLLXCJG.js";
106
107
  import "./chunk-765K3SAT.js";
107
- import "./chunk-UP6MOYCB.js";
108
108
  import "./chunk-EEC4PCG5.js";
109
109
  import "./chunk-PYIFUBRK.js";
110
110
  import "./chunk-HOJZMQ4J.js";
@@ -123,8 +123,8 @@ import "./chunk-3OKWZT7F.js";
123
123
  import "./chunk-TGQ2NTWH.js";
124
124
  import "./chunk-PYTATYUV.js";
125
125
  import "./chunk-GSTYVG5L.js";
126
- import "./chunk-CPVV2UEL.js";
127
- import "./chunk-LXVOZ2O6.js";
126
+ import "./chunk-FP4ISXI3.js";
127
+ import "./chunk-ZUPFMHJA.js";
128
128
  import "./chunk-3T74IZB3.js";
129
129
  import "./chunk-HL4DB7TO.js";
130
130
  import "./chunk-EZ25VE3G.js";
@@ -167,7 +167,7 @@ import "./chunk-Z5LAYHGJ.js";
167
167
  import "./chunk-LBJBNWS2.js";
168
168
  import "./chunk-HQ6NIBL6.js";
169
169
  import "./chunk-OADWQ5CR.js";
170
- import "./chunk-F7OWUP3G.js";
170
+ import "./chunk-AYGT6VBC.js";
171
171
  import "./chunk-SEDEKFYQ.js";
172
172
  import "./chunk-JBPKEARU.js";
173
173
  import "./chunk-TMSXWOBZ.js";
@@ -176,10 +176,10 @@ import "./chunk-RSUYKGGZ.js";
176
176
  import "./chunk-42NQ7AVG.js";
177
177
  import "./chunk-7RXCMVFQ.js";
178
178
  import "./chunk-7WV3F5DQ.js";
179
- import "./chunk-Z4GALEO3.js";
179
+ import "./chunk-CXKETYZ7.js";
180
180
  import "./chunk-T4WDJPEZ.js";
181
181
  import "./chunk-D24OXEPB.js";
182
- import "./chunk-TGN4M5MB.js";
182
+ import "./chunk-7O5CFNN4.js";
183
183
  import "./chunk-GDASG7NC.js";
184
184
  import "./chunk-GDB4J2H3.js";
185
185
  import "./chunk-ARV3AUOM.js";
@@ -193,8 +193,8 @@ import "./chunk-RS25QOKZ.js";
193
193
  import "./chunk-JGSKJHF7.js";
194
194
  import "./chunk-FF4KLI5W.js";
195
195
  import "./chunk-6VP3YUCS.js";
196
- import "./chunk-XS2CWEHZ.js";
197
- import "./chunk-23EBQ27U.js";
196
+ import "./chunk-4QZ7H6FN.js";
197
+ import "./chunk-EJYFPRED.js";
198
198
  import "./chunk-OUWAQVDJ.js";
199
199
  import "./chunk-DOCTITOP.js";
200
200
  import "./chunk-CYEPCZN5.js";
@@ -204,10 +204,10 @@ import "./chunk-AER6MT24.js";
204
204
  import "./chunk-RN7MUWON.js";
205
205
  import "./chunk-CINZGPSJ.js";
206
206
  import "./chunk-ZFXCQPNO.js";
207
- import "./chunk-CRO4LCQ6.js";
207
+ import "./chunk-KJOYHNS7.js";
208
+ import "./chunk-OIF36KGD.js";
208
209
  import "./chunk-7DTASS5T.js";
209
210
  import "./chunk-E6ZDCOHM.js";
210
- import "./chunk-OIF36KGD.js";
211
211
  import "./chunk-6RHNCKHG.js";
212
212
  import "./chunk-YNQ6DFSV.js";
213
213
  import "./chunk-EIR5VLIH.js";
@@ -0,0 +1,63 @@
1
+ import { C as CreateCodingGraphEngineOptions, a as CodingGraphEngine, b as CodingGraphLanguage, c as CodingGraphErrorCode } from '../coding-graph-types-Dd2tGrnm.js';
2
+ export { d as CODING_GRAPH_ENGINE_VERSION, F as FileIR, P as ParseFileInput, e as ParseResult, S as SymbolIR, T as TIER_1_LANGUAGES } from '../coding-graph-types-Dd2tGrnm.js';
3
+
4
+ /**
5
+ * Structural minimal shape of `@remnic/coding-graph`'s public surface,
6
+ * as seen by core after a successful dynamic import. We narrow to
7
+ * `unknown` first (since the dynamic import returns `any` at runtime)
8
+ * and then to this interface only after the runtime check below.
9
+ */
10
+ interface LoadedCodingGraphModule {
11
+ ENGINE_VERSION: string;
12
+ TIER_1_LANGUAGES: readonly CodingGraphLanguage[];
13
+ CodingGraphError: new (code: CodingGraphErrorCode, message: string, engineVersion?: string) => Error;
14
+ createCodingGraphEngine: (options?: CreateCodingGraphEngineOptions) => CodingGraphEngine;
15
+ }
16
+ /**
17
+ * Build the user-facing install hint message. Exported so tests can assert
18
+ * on the exact text (CLAUDE.md rule 51 / issue #1551 prove-fail-before).
19
+ */
20
+ declare function buildCodingGraphInstallHint(): string;
21
+ /**
22
+ * Return true when `err` is a module-not-found failure for exactly the
23
+ * `@remnic/coding-graph` specifier. Same boundary-aware regex as
24
+ * packages/remnic-cli/src/optional-module-loader.ts so transitive
25
+ * misses (a broken @remnic/coding-graph release) bubble up rather than
26
+ * being mis-reported as "run npm install".
27
+ *
28
+ * Exported for tests; the production loaders call the internal alias
29
+ * below.
30
+ */
31
+ declare function isSpecifierNotFoundErrorForCodingGraph(err: unknown, specifier?: string): boolean;
32
+ /**
33
+ * Load `@remnic/coding-graph` if installed and return its
34
+ * `createCodingGraphEngine` factory. Throws a user-facing diagnostic
35
+ * that distinguishes three failure modes:
36
+ * - missing → install hint (canonical "npm install ..." message).
37
+ * - incompatible → "package shape mismatch" diagnostic.
38
+ * - broken → rethrows the original import error.
39
+ *
40
+ * Reuses the cached success path so repeated calls in the same
41
+ * process do not re-import. On success the resolved module is cached
42
+ * and shared with the try* helpers; a failure never poisons the cache
43
+ * so each call attempts a fresh import.
44
+ */
45
+ declare function loadCodingGraphEngineFactory(): Promise<(options?: CreateCodingGraphEngineOptions) => CodingGraphEngine>;
46
+ /**
47
+ * Return `true` only when `@remnic/coding-graph` is installed AND
48
+ * importable in a usable shape. Returns `false` for missing, broken,
49
+ * or incompatible installs. Never throws.
50
+ */
51
+ declare function isCodingGraphInstalled(): Promise<boolean>;
52
+ /**
53
+ * Return the engine factory module if `@remnic/coding-graph` is
54
+ * installed AND importable in a usable shape, or `null` otherwise.
55
+ * Use this for graceful-degradation code paths. Never throws.
56
+ *
57
+ * Uses an in-flight-promise slot so concurrent callers share the same
58
+ * import attempt, then caches the successful result so subsequent
59
+ * loadFactory calls skip the import.
60
+ */
61
+ declare function tryLoadCodingGraphModule(): Promise<LoadedCodingGraphModule | null>;
62
+
63
+ export { CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, buildCodingGraphInstallHint, isCodingGraphInstalled, isSpecifierNotFoundErrorForCodingGraph, loadCodingGraphEngineFactory, tryLoadCodingGraphModule };