homegraph 1.5.3 → 1.5.5

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 (151) hide show
  1. package/CHANGELOG.md +45 -1
  2. package/README.md +55 -6
  3. package/dist/addons/dynamic-import.d.ts +18 -0
  4. package/dist/addons/dynamic-import.d.ts.map +1 -0
  5. package/dist/addons/dynamic-import.js +25 -0
  6. package/dist/addons/dynamic-import.js.map +1 -0
  7. package/dist/addons/init-template.d.ts +15 -0
  8. package/dist/addons/init-template.d.ts.map +1 -0
  9. package/dist/addons/init-template.js +290 -0
  10. package/dist/addons/init-template.js.map +1 -0
  11. package/dist/addons/loader.d.ts +18 -0
  12. package/dist/addons/loader.d.ts.map +1 -0
  13. package/dist/addons/loader.js +88 -0
  14. package/dist/addons/loader.js.map +1 -0
  15. package/dist/addons/manager.d.ts +106 -0
  16. package/dist/addons/manager.d.ts.map +1 -0
  17. package/dist/addons/manager.js +437 -0
  18. package/dist/addons/manager.js.map +1 -0
  19. package/dist/addons/paths.d.ts +22 -0
  20. package/dist/addons/paths.d.ts.map +1 -0
  21. package/dist/addons/paths.js +65 -0
  22. package/dist/addons/paths.js.map +1 -0
  23. package/dist/addons/registry.d.ts +38 -0
  24. package/dist/addons/registry.d.ts.map +1 -0
  25. package/dist/addons/registry.js +160 -0
  26. package/dist/addons/registry.js.map +1 -0
  27. package/dist/addons/semver.d.ts +21 -0
  28. package/dist/addons/semver.d.ts.map +1 -0
  29. package/dist/addons/semver.js +79 -0
  30. package/dist/addons/semver.js.map +1 -0
  31. package/dist/addons/types.d.ts +51 -0
  32. package/dist/addons/types.d.ts.map +1 -0
  33. package/dist/addons/types.js +14 -0
  34. package/dist/addons/types.js.map +1 -0
  35. package/dist/addons/validate.d.ts +38 -0
  36. package/dist/addons/validate.d.ts.map +1 -0
  37. package/dist/addons/validate.js +165 -0
  38. package/dist/addons/validate.js.map +1 -0
  39. package/dist/arkui/migrate-semantics.d.ts +8 -0
  40. package/dist/arkui/migrate-semantics.d.ts.map +1 -1
  41. package/dist/arkui/migrate-semantics.js +24 -1
  42. package/dist/arkui/migrate-semantics.js.map +1 -1
  43. package/dist/arkui/migrate-snapshot.d.ts.map +1 -1
  44. package/dist/arkui/migrate-snapshot.js +69 -38
  45. package/dist/arkui/migrate-snapshot.js.map +1 -1
  46. package/dist/bin/addon-commands.d.ts +27 -0
  47. package/dist/bin/addon-commands.d.ts.map +1 -0
  48. package/dist/bin/addon-commands.js +254 -0
  49. package/dist/bin/addon-commands.js.map +1 -0
  50. package/dist/bin/homegraph.js +6 -1
  51. package/dist/bin/homegraph.js.map +1 -1
  52. package/dist/bin/node-version-check.d.ts +1 -1
  53. package/dist/bin/node-version-check.js +1 -1
  54. package/dist/db/sqlite-adapter.d.ts +2 -3
  55. package/dist/db/sqlite-adapter.d.ts.map +1 -1
  56. package/dist/db/sqlite-adapter.js +2 -3
  57. package/dist/db/sqlite-adapter.js.map +1 -1
  58. package/dist/extraction/languages/arkts.d.ts +14 -0
  59. package/dist/extraction/languages/arkts.d.ts.map +1 -1
  60. package/dist/extraction/languages/arkts.js +78 -32
  61. package/dist/extraction/languages/arkts.js.map +1 -1
  62. package/dist/index.d.ts +1 -0
  63. package/dist/index.d.ts.map +1 -1
  64. package/dist/index.js.map +1 -1
  65. package/dist/mcp/engine.d.ts.map +1 -1
  66. package/dist/mcp/engine.js +2 -14
  67. package/dist/mcp/engine.js.map +1 -1
  68. package/dist/mcp/explore-repeat-guard.d.ts +123 -0
  69. package/dist/mcp/explore-repeat-guard.d.ts.map +1 -0
  70. package/dist/mcp/explore-repeat-guard.js +540 -0
  71. package/dist/mcp/explore-repeat-guard.js.map +1 -0
  72. package/dist/mcp/explore-session-state.d.ts +20 -0
  73. package/dist/mcp/explore-session-state.d.ts.map +1 -1
  74. package/dist/mcp/explore-session-state.js +31 -0
  75. package/dist/mcp/explore-session-state.js.map +1 -1
  76. package/dist/mcp/memory-budget.d.ts +9 -22
  77. package/dist/mcp/memory-budget.d.ts.map +1 -1
  78. package/dist/mcp/memory-budget.js +9 -59
  79. package/dist/mcp/memory-budget.js.map +1 -1
  80. package/dist/mcp/proxy.d.ts.map +1 -1
  81. package/dist/mcp/proxy.js +15 -4
  82. package/dist/mcp/proxy.js.map +1 -1
  83. package/dist/mcp/query-pool.d.ts.map +1 -1
  84. package/dist/mcp/query-pool.js +10 -13
  85. package/dist/mcp/query-pool.js.map +1 -1
  86. package/dist/mcp/server-instructions.d.ts +5 -7
  87. package/dist/mcp/server-instructions.d.ts.map +1 -1
  88. package/dist/mcp/server-instructions.js +38 -99
  89. package/dist/mcp/server-instructions.js.map +1 -1
  90. package/dist/mcp/tools.d.ts +77 -5
  91. package/dist/mcp/tools.d.ts.map +1 -1
  92. package/dist/mcp/tools.js +2693 -320
  93. package/dist/mcp/tools.js.map +1 -1
  94. package/dist/resolution/callback-synthesizer.d.ts.map +1 -1
  95. package/dist/resolution/callback-synthesizer.js +166 -0
  96. package/dist/resolution/callback-synthesizer.js.map +1 -1
  97. package/dist/search/query-utils.d.ts +57 -7
  98. package/dist/search/query-utils.d.ts.map +1 -1
  99. package/dist/search/query-utils.js +392 -113
  100. package/dist/search/query-utils.js.map +1 -1
  101. package/dist/spec/build/scan.js +1 -1
  102. package/dist/spec/build/scan.js.map +1 -1
  103. package/dist/spec/build/scope-resolver.d.ts +24 -5
  104. package/dist/spec/build/scope-resolver.d.ts.map +1 -1
  105. package/dist/spec/build/scope-resolver.js +76 -10
  106. package/dist/spec/build/scope-resolver.js.map +1 -1
  107. package/dist/spec/config.d.ts +8 -0
  108. package/dist/spec/config.d.ts.map +1 -1
  109. package/dist/spec/config.js +3 -0
  110. package/dist/spec/config.js.map +1 -1
  111. package/dist/spec/evolve/pipeline.d.ts.map +1 -1
  112. package/dist/spec/evolve/pipeline.js +2 -1
  113. package/dist/spec/evolve/pipeline.js.map +1 -1
  114. package/dist/spec/git/commits.d.ts +8 -3
  115. package/dist/spec/git/commits.d.ts.map +1 -1
  116. package/dist/spec/git/commits.js +12 -11
  117. package/dist/spec/git/commits.js.map +1 -1
  118. package/dist/spec/mine/addon/adapter.d.ts +45 -0
  119. package/dist/spec/mine/addon/adapter.d.ts.map +1 -0
  120. package/dist/spec/mine/addon/adapter.js +118 -0
  121. package/dist/spec/mine/addon/adapter.js.map +1 -0
  122. package/dist/spec/mine/addon/render.d.ts +20 -0
  123. package/dist/spec/mine/addon/render.d.ts.map +1 -0
  124. package/dist/spec/mine/addon/render.js +41 -0
  125. package/dist/spec/mine/addon/render.js.map +1 -0
  126. package/dist/spec/mine/addon/types.d.ts +70 -0
  127. package/dist/spec/mine/addon/types.d.ts.map +1 -0
  128. package/dist/spec/mine/addon/types.js +14 -0
  129. package/dist/spec/mine/addon/types.js.map +1 -0
  130. package/dist/spec/mine/generator.d.ts +5 -1
  131. package/dist/spec/mine/generator.d.ts.map +1 -1
  132. package/dist/spec/mine/generator.js +69 -7
  133. package/dist/spec/mine/generator.js.map +1 -1
  134. package/dist/spec/mine/pipeline.d.ts.map +1 -1
  135. package/dist/spec/mine/pipeline.js +5 -1
  136. package/dist/spec/mine/pipeline.js.map +1 -1
  137. package/dist/spec/mine/scanner.d.ts +1 -0
  138. package/dist/spec/mine/scanner.d.ts.map +1 -1
  139. package/dist/spec/mine/scanner.js +1 -1
  140. package/dist/spec/mine/scanner.js.map +1 -1
  141. package/dist/spec/types.d.ts +1 -1
  142. package/dist/spec/types.d.ts.map +1 -1
  143. package/dist/upgrade/index.d.ts +23 -12
  144. package/dist/upgrade/index.d.ts.map +1 -1
  145. package/dist/upgrade/index.js +42 -48
  146. package/dist/upgrade/index.js.map +1 -1
  147. package/dist/upgrade/update-check.d.ts +4 -4
  148. package/dist/upgrade/update-check.d.ts.map +1 -1
  149. package/dist/upgrade/update-check.js +6 -5
  150. package/dist/upgrade/update-check.js.map +1 -1
  151. package/package.json +6 -6
@@ -1,137 +1,76 @@
1
1
  "use strict";
2
2
  /**
3
-
4
3
  * Server-level instructions emitted in the MCP `initialize` response.
5
-
6
4
  *
7
-
8
5
  * Single source of truth for agent-facing tool guidance (issue #529).
9
-
10
6
  * Edit here — not installer prompts or eval harness prompts.
11
-
7
+ *
8
+ * Keep this short: long essays are low-salience and rarely change tool choice.
9
+ * Prefer concrete habits (query shape, which tool, when to stop).
12
10
  */
13
11
  Object.defineProperty(exports, "__esModule", { value: true });
14
12
  exports.SERVER_INSTRUCTIONS_NO_ROOT_INDEX = exports.SERVER_INSTRUCTIONS = void 0;
15
- exports.SERVER_INSTRUCTIONS = `# HomeGraph — when to call
16
-
17
-
18
-
19
- HomeGraph is a **local structural index of THIS repo**: symbols + call/import/extends edges + files. Use it when the answer needs that graph.
20
-
21
-
22
-
23
- ## Call HomeGraph first (do this before Grep/Read)
24
-
25
-
26
-
27
- For these shapes, open \`homegraph_explore\` **immediately** — do **not** Grep/Glob/Read first (and do **not** parallel-Grep on the same turn):
28
-
29
-
30
-
31
- - How / mechanism / wiring in this repo. Domain keywords in \`query\` are enough — no PascalCase names required first.
32
-
33
- - **How to get** a system setting / capability **as used in this repo** — explore with the question (domain keywords OK); do not Grep-first
34
-
35
- - **Named** Type / Component / Page / Dialog / \`Type.member\` / Type + co-named methods (\`CanPlace\`/\`Place\` ↔ owner) already in the question
36
-
37
- - Callers / callees / blast radius / subtypes of a **named** symbol
38
-
39
- - **In-repo usages / dependencies** of a named API, \`.member\` (incl. \`.drawModifier\` / DrawContext), ALL_CAPS constant, field/mutex (incl. where \`m_*\` is \`new\`/\`delete\`'d), or \`@kit\`/\`@ohos\` import — including "does calling Kit X need other deps?" / \`oh-package\` install questions
40
-
41
- - **Declaration / attribute sites** of a named Type (which files declare it, ids, native bindings) — English rewrites OK (\`declaration\` / \`id\` / \`binding\`)
42
-
43
- - **Who uses the return value** of a named member/fn (incl. after 通过/via) — explore; prefer that member's callers, not a preceding create/factory or SDK \`.d.ts\`
44
-
45
- - Path-module / named-Type **NAPI** export surfaces (not a topic file-list), multi-module interdependence, or **circular deps** among named \`*common\` / path modules
46
-
47
- - Named \`.d.ts\` wrap + where it is imported/called
48
-
49
- - **ALL_CAPS / enum member** usages (\`FOO_BAR\` / \`Type.MEMBER\`) — explore, not Grep-first
50
-
51
- - **Type + listed methods** callers (\`BinaryGrid\` Set/Test/Fill) — explore caller inventory
13
+ exports.SERVER_INSTRUCTIONS = `# HomeGraph — structural locator for THIS repo
52
14
 
53
- - **Field/mutex co-use** (\`m_*\` / \`*Mutex\` with co-named methods) — explore; do not Grep the field name
15
+ Local symbol graph (defs / calls / imports / files). Use it to **coarse-locate** in-repo symbols (\`file:line\` + short source), then answer. Not general Q&A, not SDK docs.
54
16
 
55
- - **Assigned flag impact** (\`flag = true\` … how it affects later timing) — explore the assignment site
17
+ ## Call first (do not Grep/Glob/Read first)
56
18
 
57
- - **Named Toggle/control state sync** across surfaces — explore
19
+ Will you **explain or edit in-repo code**? → \`homegraph_explore\` **once** with the user task as \`query\` (Chinese OK; add English Type / \`Type.member\` / \`@kit\` / \`@ohos\` tokens when you know them).
58
20
 
59
- - **\`lib*.so\` + GLES/EGL / OpenGL thread** (vs UI/JS thread) — explore; do not bash/grep CMake first
21
+ Already know **one** exact symbol? Prefer smaller tools: \`homegraph_callers\` / \`homegraph_callees\` / \`homegraph_node\`. Spelling unknown → \`homegraph_search\` last.
60
22
 
61
- - **Step / download→parse→install call-chains** ("会走到哪些代码") — explore as mechanism, not a topic file-list
23
+ For a narrow inventory, call \`homegraph_usages\` (where-used), \`homegraph_modules\` (named module deps/cycles), or \`homegraph_native\` (NAPI exports). Existing clients may keep calling \`homegraph_explore\`: high-confidence shapes route to the same bounded handlers.
62
24
 
63
- - Co-named **call + visibility** questions (who calls X / how Y becomes visible) — \`homegraph_explore\`, not \`homegraph_callers\` alone / not light-mechanism
25
+ **Must explore-first:** how/mechanism wiring, named Type / \`.member\`, in-repo \`@kit\`/\`@ohos\` **usages**, deps/cycles, NAPI / \`.d.ts\` wrap sites, pre-edit orientation.
64
26
 
65
- - **Conditional wiring** on a named \`Type::method\` / \`Export\` ("失败时还会…") — explore/node the method body first
27
+ ArkUI V1↔V2 / state-decorator migration on a named component → \`homegraph_arkui_migrate\` once (not explore stitching).
66
28
 
29
+ ## How to write \`query\`
67
30
 
31
+ - Put **concrete anchors** in the bag: \`FooManager\`, \`BarEvent\`, \`Type.member\`, \`feature/foo\`, \`@kit.X\`.
32
+ - Map Chinese entities to English symbol stems when you can (\`设置\`→\`Setting\`, \`新建\`→\`New\`) — search/explore cluster \`Entity\` / \`EntityManager\` / \`EntityViewModel\`.
33
+ - Keep **intent words** with the Type (\`来源\` / \`分发\` / \`依赖\` / \`NAPI\` / \`驱动\`) — bare Type alone may drop survey routing.
34
+ - Multi-app monorepo: pass \`projectPath\` to the app root; ignore sibling-app paths as noise.
68
35
 
69
- After one explore → **answer**. Do not re-verify with Grep/Read/node for the same symbols.
36
+ ## After one explore
70
37
 
71
- Do **not** follow a successful explore with \`homegraph_files\` / another explore of the same bag.
38
+ - Returned line-numbered source = **already Read** for those symbols — do not re-Grep/Read/node the **same** symbols.
39
+ - **Coarse locate / ANSWER NOW** → answer/edit from anchors; do not verify with a Grep storm.
40
+ - **Partial locator** → **ONE** tighter follow-up with the named **Next anchor** only — never a paraphrase or a different Type (server refuses). After Partial: **no** \`homegraph_callers\`/\`callees\`; at most **one** \`homegraph_node\`. A **second** Partial → stop HomeGraph; ONE narrow Grep then answer — never a repo-wide glob/Read storm.
41
+ - Busy/deadline → retry **once** tighter; then answer from anchors (narrow Grep OK for residuals).
72
42
 
73
- Do **not** open SDK \`.d.ts\` stubs when the inventory already says in-repo sites (or zero in-repo sites).
43
+ Prefer smallest tool when the name is known: callers/callees/node ≪ explore ≪ search. Prefer **one** Type-wide inventory explore over fanning \`homegraph_callers\` per method. Session fuse: **≤2** \`homegraph_explore\` per project; after Partial follow-ups must name the **Next anchor**; **≤1** \`homegraph_node\` after Partial — further calls are refused.
74
44
 
45
+ ## Do not call HomeGraph
75
46
 
47
+ Runtime Skip is a short blacklist (everything else is served if you call):
76
48
 
77
- Prefer the **smallest** tool when the name is already known: \`homegraph_callers\` / \`homegraph_callees\` / \`homegraph_node\` for one symbol; \`homegraph_explore\` for multi-file / how-wired / usage inventories (prefer explore over \`homegraph_files\` for structural questions); \`homegraph_search\` only for unknown spelling.
78
-
79
- For **ArkUI V1↔V2 migration / state-decorator / Provide·Consume·Storage key / @Observed** decisions on a named component or file, call \`homegraph_arkui_migrate\` **once** (scope = component name or \`.ets\` path) — do **not** stitch those facts with explore.
80
-
81
- ## Do not call HomeGraph (skip → Grep / Glob / Read / SDK docs)
82
-
83
-
84
-
85
- Open **zero** \`homegraph_*\` tools when:
86
-
87
-
88
-
89
- - **Topic → file list** with no concrete Type / file basename / constant / path
90
-
91
- - **Existence / concept / pure UI behavior** with no named in-repo Type, file, or \`@kit\`/\`@ohos\` target
92
-
93
- - **Literal / layout copy hunts** (全搜文案、字面量) with no code anchors
94
-
95
- - **Official SDK / \`@kit\` feature catalogs** (what APIs a kit *provides*) — opposite of in-repo *usages*
96
-
97
- - Evidence lives only in **external manuals**
98
-
99
-
100
-
101
- \`@kit\` **usages in this repo** ≠ SDK catalog. Usages → explore. Catalogs → SDK docs.
102
-
103
-
104
-
105
- If explore/search returns **Skip HomeGraph**, treat as final — do not retry homegraph_*.
49
+ - Topic → file list with no Type/file basename
50
+ - Literal / layout copy hunts with no Type/file/\`@kit\`/\`@ohos\`
51
+ - Pure existence / concept-compare with no graph anchors
52
+ - Official website/docs only · scaffold empty project · git/blame/diff · media/binary inventories
106
53
 
54
+ \`@kit\` / OHOS **API usage in this repo** → explore (not Skip). Feature **catalogs** of an SDK → SDK docs, not HomeGraph.
107
55
 
56
+ If a tool returns **Skip HomeGraph**, stop — do not retry \`homegraph_*\`.
108
57
 
109
58
  ## Tips
110
59
 
111
-
112
-
113
- - Busy/partial → retry that **same** explore once; then answer.
114
-
115
- - **Staleness banner** — Read only the listed edited files.
116
-
117
- - **A file flagged "⚠ changed on disk after the last index sync" drifted from its index** (most common on projects queried via \`projectPath\`, which have no live watcher). HomeGraph never serves a possibly-mis-sliced body from such a file — it either shows the file's full CURRENT source (trust it as a Read) or omits the source with this flag. When the source was omitted, Read that specific file; line numbers referencing it elsewhere in the response may be shifted until that project's next sync. All unflagged files remain trustworthy.
118
-
119
- - **Not indexed** — built-in tools; user runs \`homegraph init\` — you do not.
120
-
60
+ - Empty callers/callees = **edges not indexed**, not “missing symbol” — use the definition anchor; narrow Grep for registration if needed.
61
+ - **Staleness banner** — Read only listed edited files.
62
+ - **Not indexed** — use built-ins; user runs \`homegraph init\` (you do not).
121
63
  `;
122
64
  exports.SERVER_INSTRUCTIONS_NO_ROOT_INDEX = `# HomeGraph — per-project (pass projectPath)
123
65
 
66
+ Pass \`projectPath\` to a folder that has \`.homegraph/\`.
124
67
 
68
+ **Call first:** explain/edit in-repo code → \`homegraph_explore\` with task keywords (no Grep-first). Named Type / \`Type.member\` / usages / deps / NAPI / \`@kit\` → explore.
125
69
 
126
- HomeGraph indexes a codebase into a symbol graph. Pass \`projectPath\` to a project with \`.homegraph/\`.
127
-
128
-
129
-
130
- - How/mechanism/wiring, named Type/Component/\`Type.member\`, declaration/usage inventories, constants/fields, path NAPI/deps, in-repo \`@kit\` usages → \`homegraph_explore\` first (no Grep-first)
131
-
132
- - Topic file-lists, concept compares, literal copy hunts, SDK *catalogs* → Read/Grep/Glob — **do not call homegraph_***
70
+ Narrow inventories may call \`homegraph_usages\`, \`homegraph_modules\`, or \`homegraph_native\` directly; pass the same \`projectPath\`.
133
71
 
134
- - No index → Read/Grep/Glob; user runs \`homegraph init\` if they want indexing
72
+ **Skip:** topic file-lists, concept compares, literal hunts, git history, media. No index → Read/Grep/Glob; user runs \`homegraph init\`.
135
73
 
74
+ **Query habit:** Chinese OK; add English Type/\`@kit\` tokens when known. Explore = coarse locate. Partial → one tighter follow-up with a concrete name from the list. ONE narrow Grep OK for residual unindexed wiring — not a Grep storm.
136
75
  `;
137
76
  //# sourceMappingURL=server-instructions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"server-instructions.js","sourceRoot":"","sources":["../../src/mcp/server-instructions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAIU,QAAA,mBAAmB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0GlC,CAAC;AAIW,QAAA,iCAAiC,GAAG;;;;;;;;;;;;;;CAchD,CAAC"}
1
+ {"version":3,"file":"server-instructions.js","sourceRoot":"","sources":["../../src/mcp/server-instructions.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAEU,QAAA,mBAAmB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDlC,CAAC;AAEW,QAAA,iCAAiC,GAAG;;;;;;;;;;;CAWhD,CAAC"}
@@ -113,6 +113,12 @@ export declare function getExploreOutputBudget(fileCount: number): ExploreOutput
113
113
  export declare function tightenExploreBudgetForQuery(budget: ExploreOutputBudget, query: string, opts?: {
114
114
  hasFlowPath?: boolean;
115
115
  }): ExploreOutputBudget;
116
+ /**
117
+ * Locator mid-lean mode (default ON): explore returns anchors + spine digests
118
+ * (~12K) — enough to avoid a Read storm, not a multi-file body dump.
119
+ * Set `HOMEGRAPH_EXPLORE_FULL_SOURCE=1` to restore the previous fatter Source.
120
+ */
121
+ export declare function exploreLocatorDigestEnabled(): boolean;
116
122
  /**
117
123
  * Per-file staleness banner emitted at the top of a tool response when the
118
124
  * file watcher has pending events for files referenced by the response.
@@ -220,12 +226,30 @@ export declare const tools: ToolDefinition[];
220
226
  * note in a description only adds once `cg` is loaded; the schemas are static).
221
227
  */
222
228
  export declare function getStaticTools(): ToolDefinition[];
229
+ /** Identifier-shaped tokens from a bare symbol bag. */
230
+ export declare function extractBareUsageSymbols(query: string): string[];
223
231
  /**
224
- * Tool handler that executes tools against a HomeGraph instance
232
+ * True only for a short bag of ALL_CAPS constants. Type/method bags remain on
233
+ * explore-flow because routing those to usages would discard call paths.
234
+ */
235
+ export declare function queryAsBareSymbolInventory(query: string): boolean;
236
+ /** True only for a positive instruction to stop and answer, not "do not/before ANSWER NOW". */
237
+ export declare function hasPositiveAnswerNowDirective(text: string): boolean;
238
+ /**
239
+ * Drop stop-searching directives from an output that also declares itself partial.
240
+ *
241
+ * Section builders each append their own footer and cannot see their siblings, so
242
+ * one output can carry both `**Partial locator**` ("these are anchors, keep
243
+ * looking") and `**ANSWER NOW**` ("stop, do not Grep"). Measured on a 54-question
244
+ * run: 21 such outputs across 17 of 48 questions. Whichever the agent obeys, the
245
+ * other was wrong — it either answers from an inventory the tool just called
246
+ * incomplete, or it keeps searching against an explicit prohibition.
225
247
  *
226
- * Supports cross-project queries via the projectPath parameter.
227
- * Other projects are opened on-demand and cached for performance.
248
+ * Partial wins: an under-informed agent that keeps looking recovers, while one
249
+ * that stops on a partial answer cannot. Negated mentions (`do **not** ANSWER
250
+ * NOW`) are the correct pairing and are preserved.
228
251
  */
252
+ export declare function reconcilePartialAnswerNow(text: string): string;
229
253
  export declare class ToolHandler {
230
254
  private cg;
231
255
  private projectCache;
@@ -393,6 +417,13 @@ export declare class ToolHandler {
393
417
  * to come from the server's own record, never from the wire.
394
418
  */
395
419
  private withSessionView;
420
+ /**
421
+ * After a counted Partial explore, refuse further `node` / callers / callees
422
+ * once the session's one allowed depth drill is spent.
423
+ */
424
+ private tryDepthToolFuse;
425
+ /** Count a successful depth-tool call when the latest explore was Partial. */
426
+ private noteDepthToolUse;
396
427
  /**
397
428
  * Record an explore call's emission into the caller's session state and strip
398
429
  * it from the result (CG-17).
@@ -419,7 +450,7 @@ export declare class ToolHandler {
419
450
  * the success-shaped reply never flushed → empty client `-32001`.
420
451
  */
421
452
  private runReadToolWithDeadline;
422
- /** Success-shaped busy note — no DB, never blocks the transport. */
453
+ /** Success-shaped busy note — anchors from query when present; no DB. */
423
454
  private deadlineBusyResult;
424
455
  /**
425
456
  * Run a single read tool to completion and return its raw {@link ToolResult},
@@ -546,7 +577,10 @@ export declare class ToolHandler {
546
577
  /**
547
578
  * Multi-module / circular dependency survey — lean cycle list, not an import flood.
548
579
  */
580
+ private extractFocusedModuleNames;
549
581
  private buildModuleDependencySurveySection;
582
+ /** Bounded manifest-only dependency graph for modules named in the query. */
583
+ private buildFocusedModuleManifestSection;
550
584
  /**
551
585
  * Path-module / named-Type NAPI export surface — not a 50-file domain dump.
552
586
  */
@@ -561,10 +595,31 @@ export declare class ToolHandler {
561
595
  */
562
596
  private buildNamedControlStateSyncSection;
563
597
  private buildDataSourceSection;
598
+ /**
599
+ * Event-type inventory + which *Manager files import / handle them.
600
+ * Prefers enum members on the named `*Event` Type; softens ANSWER NOW when
601
+ * the graph only has noisy Type/file hits without a member list.
602
+ */
603
+ private buildEventDispatchSection;
604
+ /**
605
+ * ≥3 named Types + dependency ask — file locations + cross-imports only.
606
+ * Avoids fat multi-body compact that hits the soft deadline (D60).
607
+ */
608
+ private buildMultiTypeDependencySection;
564
609
  /**
565
610
  * Main-thread fast path for inventory surveys — skips the worker queue.
566
611
  */
567
612
  private tryFastPathResult;
613
+ /** Conservative compatibility router: ambiguous mechanism queries stay broad. */
614
+ private specializedExploreRouteForQuery;
615
+ /** Run exactly one bounded survey family and expose the selected route. */
616
+ private runSpecializedExploreRoute;
617
+ /** Usage sites for a bare symbol bag, including non-call textual references. */
618
+ private buildBareSymbolUsageSection;
619
+ private trySpecializedExploreRoute;
620
+ private handleSpecializedUsages;
621
+ private handleSpecializedModules;
622
+ private handleSpecializedNative;
568
623
  /**
569
624
  * Fast inventory-only explore — skips findRelevantContext for survey/caller/dependency queries.
570
625
  */
@@ -579,13 +634,28 @@ export declare class ToolHandler {
579
634
  * agent grep/read loops (token savings).
580
635
  */
581
636
  private tryLightMechanismExplore;
582
- /** Cap import bullets inside a light-mechanism response. */
637
+ /**
638
+ * Static AA class/interface nodes that look like domain Managers/Services.
639
+ */
640
+ private collectDomainRoleSymbols;
641
+ private formatDomainRoleInventory;
642
+ /** Cap import bullets inside a light-mechanism response; prefer non-test paths. */
583
643
  private trimLightImportSection;
584
644
  /**
585
645
  * Compact explore for local-symbol behavior questions — skips findRelevantContext
586
646
  * and caps to 1–2 defining files (avoids the ~24K related-file dump).
587
647
  */
588
648
  private tryCompactLocalSymbolExplore;
649
+ /**
650
+ * When a lifecycle Type only exists as SDK `.d.ts`, extract state enums +
651
+ * callback registrations from the stub so agents stop grep-storming in-repo.
652
+ */
653
+ private buildSdkStubLifecycleSection;
654
+ /**
655
+ * Pages sharing a container component + how they inject differentiated
656
+ * ViewModel / LocalStorage state into the shared shell.
657
+ */
658
+ private buildContainerCompositionSection;
589
659
  /**
590
660
  * Hover / pointer-handler inventory — onHover / Hover* symbols + short snippets.
591
661
  * Used when the agent asks about hover effects without naming a Type yet.
@@ -670,6 +740,8 @@ export declare class ToolHandler {
670
740
  * calling session's state and deletes it — see {@link EXPLORE_EMISSION_KEY}.
671
741
  */
672
742
  private exploreResult;
743
+ /** Attach a minimal session emission when a compact/light path used textResult. */
744
+ private ensureExploreEmission;
673
745
  /**
674
746
  * Handle homegraph_node
675
747
  */
@@ -1 +1 @@
1
- {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/mcp/tools.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,SAAS,MAAM,UAAU,CAAC;AACtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAiB9C,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,cAAc,UAAU,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,CAE9F;AAOD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAkB3C,OAAO,EAGL,mBAAmB,EAGnB,KAAK,eAAe,EAGrB,MAAM,yBAAyB,CAAC;AAuCjC;;;;;;;;;;GAUG;AACH,qBAAa,eAAgB,SAAQ,KAAK;CAA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