spectra-cli 4.1.1 → 4.3.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 (682) hide show
  1. package/README.md +12 -5
  2. package/dist/.spectra-build-meta.json +9 -0
  3. package/dist/adapters/go-adapter.d.ts.map +1 -1
  4. package/dist/adapters/go-adapter.js +2 -0
  5. package/dist/adapters/go-adapter.js.map +1 -1
  6. package/dist/adapters/index.d.ts +1 -1
  7. package/dist/adapters/index.d.ts.map +1 -1
  8. package/dist/adapters/java-adapter.d.ts.map +1 -1
  9. package/dist/adapters/java-adapter.js +2 -0
  10. package/dist/adapters/java-adapter.js.map +1 -1
  11. package/dist/adapters/language-adapter.d.ts +42 -9
  12. package/dist/adapters/language-adapter.d.ts.map +1 -1
  13. package/dist/adapters/python-adapter.d.ts +34 -6
  14. package/dist/adapters/python-adapter.d.ts.map +1 -1
  15. package/dist/adapters/python-adapter.js +168 -61
  16. package/dist/adapters/python-adapter.js.map +1 -1
  17. package/dist/adapters/ts-js-adapter.d.ts +13 -5
  18. package/dist/adapters/ts-js-adapter.d.ts.map +1 -1
  19. package/dist/adapters/ts-js-adapter.js +55 -14
  20. package/dist/adapters/ts-js-adapter.js.map +1 -1
  21. package/dist/batch/batch-orchestrator.d.ts +74 -5
  22. package/dist/batch/batch-orchestrator.d.ts.map +1 -1
  23. package/dist/batch/batch-orchestrator.js +583 -70
  24. package/dist/batch/batch-orchestrator.js.map +1 -1
  25. package/dist/batch/delta-regenerator.d.ts +2 -2
  26. package/dist/batch/delta-regenerator.d.ts.map +1 -1
  27. package/dist/batch/delta-regenerator.js +21 -28
  28. package/dist/batch/delta-regenerator.js.map +1 -1
  29. package/dist/batch/module-grouper.d.ts +9 -2
  30. package/dist/batch/module-grouper.d.ts.map +1 -1
  31. package/dist/batch/module-grouper.js +3 -1
  32. package/dist/batch/module-grouper.js.map +1 -1
  33. package/dist/batch/regen-plan.d.ts +78 -0
  34. package/dist/batch/regen-plan.d.ts.map +1 -0
  35. package/dist/batch/regen-plan.js +93 -0
  36. package/dist/batch/regen-plan.js.map +1 -0
  37. package/dist/cli/commands/batch.d.ts.map +1 -1
  38. package/dist/cli/commands/batch.js +36 -8
  39. package/dist/cli/commands/batch.js.map +1 -1
  40. package/dist/cli/commands/graph.js +1 -1
  41. package/dist/cli/commands/graph.js.map +1 -1
  42. package/dist/cli/commands/index.d.ts +8 -0
  43. package/dist/cli/commands/index.d.ts.map +1 -0
  44. package/dist/cli/commands/index.js +274 -0
  45. package/dist/cli/commands/index.js.map +1 -0
  46. package/dist/cli/commands/query.d.ts.map +1 -1
  47. package/dist/cli/commands/query.js +3 -1
  48. package/dist/cli/commands/query.js.map +1 -1
  49. package/dist/cli/commands/scaffold-kb.d.ts +9 -0
  50. package/dist/cli/commands/scaffold-kb.d.ts.map +1 -0
  51. package/dist/cli/commands/scaffold-kb.js +179 -0
  52. package/dist/cli/commands/scaffold-kb.js.map +1 -0
  53. package/dist/cli/index.js +33 -14
  54. package/dist/cli/index.js.map +1 -1
  55. package/dist/cli/utils/error-handler.d.ts +0 -6
  56. package/dist/cli/utils/error-handler.d.ts.map +1 -1
  57. package/dist/cli/utils/error-handler.js +0 -13
  58. package/dist/cli/utils/error-handler.js.map +1 -1
  59. package/dist/cli/utils/parse-args.d.ts +55 -3
  60. package/dist/cli/utils/parse-args.d.ts.map +1 -1
  61. package/dist/cli/utils/parse-args.js +176 -13
  62. package/dist/cli/utils/parse-args.js.map +1 -1
  63. package/dist/cli/version-meta.d.ts +16 -0
  64. package/dist/cli/version-meta.d.ts.map +1 -0
  65. package/dist/cli/version-meta.js +28 -0
  66. package/dist/cli/version-meta.js.map +1 -0
  67. package/dist/core/ast-analyzer.d.ts.map +1 -1
  68. package/dist/core/ast-analyzer.js +75 -5
  69. package/dist/core/ast-analyzer.js.map +1 -1
  70. package/dist/core/import-resolver.d.ts +93 -0
  71. package/dist/core/import-resolver.d.ts.map +1 -0
  72. package/dist/core/import-resolver.js +414 -0
  73. package/dist/core/import-resolver.js.map +1 -0
  74. package/dist/core/query-mappers/base-mapper.d.ts +13 -0
  75. package/dist/core/query-mappers/base-mapper.d.ts.map +1 -1
  76. package/dist/core/query-mappers/go-mapper.d.ts +68 -0
  77. package/dist/core/query-mappers/go-mapper.d.ts.map +1 -1
  78. package/dist/core/query-mappers/go-mapper.js +421 -0
  79. package/dist/core/query-mappers/go-mapper.js.map +1 -1
  80. package/dist/core/query-mappers/java-mapper.d.ts +196 -0
  81. package/dist/core/query-mappers/java-mapper.d.ts.map +1 -1
  82. package/dist/core/query-mappers/java-mapper.js +600 -0
  83. package/dist/core/query-mappers/java-mapper.js.map +1 -1
  84. package/dist/core/query-mappers/python-mapper.d.ts +55 -0
  85. package/dist/core/query-mappers/python-mapper.d.ts.map +1 -1
  86. package/dist/core/query-mappers/python-mapper.js +273 -0
  87. package/dist/core/query-mappers/python-mapper.js.map +1 -1
  88. package/dist/core/query-mappers/typescript-mapper.d.ts +102 -0
  89. package/dist/core/query-mappers/typescript-mapper.d.ts.map +1 -1
  90. package/dist/core/query-mappers/typescript-mapper.js +470 -0
  91. package/dist/core/query-mappers/typescript-mapper.js.map +1 -1
  92. package/dist/core/single-spec-orchestrator.d.ts +21 -0
  93. package/dist/core/single-spec-orchestrator.d.ts.map +1 -1
  94. package/dist/core/single-spec-orchestrator.js +187 -23
  95. package/dist/core/single-spec-orchestrator.js.map +1 -1
  96. package/dist/core/skeleton-hash.d.ts +33 -0
  97. package/dist/core/skeleton-hash.d.ts.map +1 -0
  98. package/dist/core/skeleton-hash.js +76 -0
  99. package/dist/core/skeleton-hash.js.map +1 -0
  100. package/dist/core/tree-sitter-analyzer.d.ts +7 -0
  101. package/dist/core/tree-sitter-analyzer.d.ts.map +1 -1
  102. package/dist/core/tree-sitter-analyzer.js +32 -1
  103. package/dist/core/tree-sitter-analyzer.js.map +1 -1
  104. package/dist/core/tree-sitter-fallback.d.ts +12 -4
  105. package/dist/core/tree-sitter-fallback.d.ts.map +1 -1
  106. package/dist/core/tree-sitter-fallback.js +160 -12
  107. package/dist/core/tree-sitter-fallback.js.map +1 -1
  108. package/dist/extraction/extraction-types.d.ts +25 -25
  109. package/dist/extraction/image-extractor.d.ts.map +1 -1
  110. package/dist/extraction/image-extractor.js +3 -1
  111. package/dist/extraction/image-extractor.js.map +1 -1
  112. package/dist/extraction/markdown-extractor.d.ts.map +1 -1
  113. package/dist/extraction/markdown-extractor.js +3 -1
  114. package/dist/extraction/markdown-extractor.js.map +1 -1
  115. package/dist/generator/frontmatter.d.ts +5 -0
  116. package/dist/generator/frontmatter.d.ts.map +1 -1
  117. package/dist/generator/frontmatter.js +4 -0
  118. package/dist/generator/frontmatter.js.map +1 -1
  119. package/dist/generator/index-generator.d.ts +3 -3
  120. package/dist/generator/index-generator.d.ts.map +1 -1
  121. package/dist/generator/index-generator.js +1 -1
  122. package/dist/generator/index-generator.js.map +1 -1
  123. package/dist/graph/directory-graph.d.ts +14 -4
  124. package/dist/graph/directory-graph.d.ts.map +1 -1
  125. package/dist/graph/directory-graph.js +71 -128
  126. package/dist/graph/directory-graph.js.map +1 -1
  127. package/dist/graph/mermaid-renderer.d.ts +8 -5
  128. package/dist/graph/mermaid-renderer.d.ts.map +1 -1
  129. package/dist/graph/mermaid-renderer.js +3 -3
  130. package/dist/graph/mermaid-renderer.js.map +1 -1
  131. package/dist/graph/topological-sort.d.ts +13 -6
  132. package/dist/graph/topological-sort.d.ts.map +1 -1
  133. package/dist/graph/topological-sort.js +2 -2
  134. package/dist/graph/topological-sort.js.map +1 -1
  135. package/dist/kb-mcp/index.d.ts +14 -0
  136. package/dist/kb-mcp/index.d.ts.map +1 -0
  137. package/dist/kb-mcp/index.js +24 -0
  138. package/dist/kb-mcp/index.js.map +1 -0
  139. package/dist/kb-mcp/lib/kb-error.d.ts +21 -0
  140. package/dist/kb-mcp/lib/kb-error.d.ts.map +1 -0
  141. package/dist/kb-mcp/lib/kb-error.js +28 -0
  142. package/dist/kb-mcp/lib/kb-error.js.map +1 -0
  143. package/dist/kb-mcp/lib/kb-locator.d.ts +58 -0
  144. package/dist/kb-mcp/lib/kb-locator.d.ts.map +1 -0
  145. package/dist/kb-mcp/lib/kb-locator.js +85 -0
  146. package/dist/kb-mcp/lib/kb-locator.js.map +1 -0
  147. package/dist/kb-mcp/lib/result-merger.d.ts +35 -0
  148. package/dist/kb-mcp/lib/result-merger.d.ts.map +1 -0
  149. package/dist/kb-mcp/lib/result-merger.js +64 -0
  150. package/dist/kb-mcp/lib/result-merger.js.map +1 -0
  151. package/dist/kb-mcp/server.d.ts +12 -0
  152. package/dist/kb-mcp/server.d.ts.map +1 -0
  153. package/dist/kb-mcp/server.js +29 -0
  154. package/dist/kb-mcp/server.js.map +1 -0
  155. package/dist/kb-mcp/tools/kb-api-lookup.d.ts +28 -0
  156. package/dist/kb-mcp/tools/kb-api-lookup.d.ts.map +1 -0
  157. package/dist/kb-mcp/tools/kb-api-lookup.js +237 -0
  158. package/dist/kb-mcp/tools/kb-api-lookup.js.map +1 -0
  159. package/dist/kb-mcp/tools/kb-doc-lookup.d.ts +20 -0
  160. package/dist/kb-mcp/tools/kb-doc-lookup.d.ts.map +1 -0
  161. package/dist/kb-mcp/tools/kb-doc-lookup.js +92 -0
  162. package/dist/kb-mcp/tools/kb-doc-lookup.js.map +1 -0
  163. package/dist/kb-mcp/tools/kb-search.d.ts +23 -0
  164. package/dist/kb-mcp/tools/kb-search.d.ts.map +1 -0
  165. package/dist/kb-mcp/tools/kb-search.js +126 -0
  166. package/dist/kb-mcp/tools/kb-search.js.map +1 -0
  167. package/dist/knowledge-graph/call-resolver.d.ts +64 -0
  168. package/dist/knowledge-graph/call-resolver.d.ts.map +1 -0
  169. package/dist/knowledge-graph/call-resolver.js +323 -0
  170. package/dist/knowledge-graph/call-resolver.js.map +1 -0
  171. package/dist/knowledge-graph/import-resolver.d.ts +39 -0
  172. package/dist/knowledge-graph/import-resolver.d.ts.map +1 -0
  173. package/dist/knowledge-graph/import-resolver.js +214 -0
  174. package/dist/knowledge-graph/import-resolver.js.map +1 -0
  175. package/dist/knowledge-graph/incremental.d.ts +131 -0
  176. package/dist/knowledge-graph/incremental.d.ts.map +1 -0
  177. package/dist/knowledge-graph/incremental.js +432 -0
  178. package/dist/knowledge-graph/incremental.js.map +1 -0
  179. package/dist/knowledge-graph/index.d.ts +85 -0
  180. package/dist/knowledge-graph/index.d.ts.map +1 -0
  181. package/dist/knowledge-graph/index.js +198 -0
  182. package/dist/knowledge-graph/index.js.map +1 -0
  183. package/dist/knowledge-graph/module-derivation.d.ts +252 -0
  184. package/dist/knowledge-graph/module-derivation.d.ts.map +1 -0
  185. package/dist/knowledge-graph/module-derivation.js +418 -0
  186. package/dist/knowledge-graph/module-derivation.js.map +1 -0
  187. package/dist/knowledge-graph/persistence.d.ts +310 -0
  188. package/dist/knowledge-graph/persistence.d.ts.map +1 -0
  189. package/dist/knowledge-graph/persistence.js +280 -0
  190. package/dist/knowledge-graph/persistence.js.map +1 -0
  191. package/dist/knowledge-graph/query-helpers.d.ts +191 -0
  192. package/dist/knowledge-graph/query-helpers.d.ts.map +1 -0
  193. package/dist/knowledge-graph/query-helpers.js +559 -0
  194. package/dist/knowledge-graph/query-helpers.js.map +1 -0
  195. package/dist/knowledge-graph/relativize.d.ts +51 -0
  196. package/dist/knowledge-graph/relativize.d.ts.map +1 -0
  197. package/dist/knowledge-graph/relativize.js +104 -0
  198. package/dist/knowledge-graph/relativize.js.map +1 -0
  199. package/dist/knowledge-graph/unified-graph.d.ts +310 -0
  200. package/dist/knowledge-graph/unified-graph.d.ts.map +1 -0
  201. package/dist/knowledge-graph/unified-graph.js +182 -0
  202. package/dist/knowledge-graph/unified-graph.js.map +1 -0
  203. package/dist/mcp/agent-context-tools.d.ts +53 -0
  204. package/dist/mcp/agent-context-tools.d.ts.map +1 -0
  205. package/dist/mcp/agent-context-tools.js +806 -0
  206. package/dist/mcp/agent-context-tools.js.map +1 -0
  207. package/dist/mcp/file-nav-tools.d.ts +42 -0
  208. package/dist/mcp/file-nav-tools.d.ts.map +1 -0
  209. package/dist/mcp/file-nav-tools.js +318 -0
  210. package/dist/mcp/file-nav-tools.js.map +1 -0
  211. package/dist/mcp/graph-tools.d.ts +22 -0
  212. package/dist/mcp/graph-tools.d.ts.map +1 -1
  213. package/dist/mcp/graph-tools.js +204 -133
  214. package/dist/mcp/graph-tools.js.map +1 -1
  215. package/dist/mcp/lib/file-nav-helpers.d.ts +128 -0
  216. package/dist/mcp/lib/file-nav-helpers.d.ts.map +1 -0
  217. package/dist/mcp/lib/file-nav-helpers.js +305 -0
  218. package/dist/mcp/lib/file-nav-helpers.js.map +1 -0
  219. package/dist/mcp/lib/response-helpers.d.ts +67 -0
  220. package/dist/mcp/lib/response-helpers.d.ts.map +1 -0
  221. package/dist/mcp/lib/response-helpers.js +103 -0
  222. package/dist/mcp/lib/response-helpers.js.map +1 -0
  223. package/dist/mcp/lib/telemetry.d.ts +69 -0
  224. package/dist/mcp/lib/telemetry.d.ts.map +1 -0
  225. package/dist/mcp/lib/telemetry.js +113 -0
  226. package/dist/mcp/lib/telemetry.js.map +1 -0
  227. package/dist/mcp/lib/tool-response.d.ts +46 -0
  228. package/dist/mcp/lib/tool-response.d.ts.map +1 -0
  229. package/dist/mcp/lib/tool-response.js +83 -0
  230. package/dist/mcp/lib/tool-response.js.map +1 -0
  231. package/dist/mcp/server.d.ts +14 -1
  232. package/dist/mcp/server.d.ts.map +1 -1
  233. package/dist/mcp/server.js +216 -158
  234. package/dist/mcp/server.js.map +1 -1
  235. package/dist/models/call-site.d.ts +68 -0
  236. package/dist/models/call-site.d.ts.map +1 -0
  237. package/dist/models/call-site.js +60 -0
  238. package/dist/models/call-site.js.map +1 -0
  239. package/dist/models/code-skeleton.d.ts +80 -6
  240. package/dist/models/code-skeleton.d.ts.map +1 -1
  241. package/dist/models/code-skeleton.js +30 -0
  242. package/dist/models/code-skeleton.js.map +1 -1
  243. package/dist/models/drift-item.d.ts +4 -4
  244. package/dist/models/module-spec.d.ts +173 -94
  245. package/dist/models/module-spec.d.ts.map +1 -1
  246. package/dist/models/module-spec.js +6 -0
  247. package/dist/models/module-spec.js.map +1 -1
  248. package/dist/panoramic/adr-decision-pipeline.d.ts +53 -0
  249. package/dist/panoramic/adr-decision-pipeline.d.ts.map +1 -0
  250. package/dist/panoramic/adr-decision-pipeline.js +685 -0
  251. package/dist/panoramic/adr-decision-pipeline.js.map +1 -0
  252. package/dist/panoramic/api-surface-generator.d.ts +56 -0
  253. package/dist/panoramic/api-surface-generator.d.ts.map +1 -0
  254. package/dist/panoramic/api-surface-generator.js +1671 -0
  255. package/dist/panoramic/api-surface-generator.js.map +1 -0
  256. package/dist/panoramic/architecture-ir-builder.d.ts +19 -0
  257. package/dist/panoramic/architecture-ir-builder.d.ts.map +1 -0
  258. package/dist/panoramic/architecture-ir-builder.js +561 -0
  259. package/dist/panoramic/architecture-ir-builder.js.map +1 -0
  260. package/dist/panoramic/architecture-ir-exporters.d.ts +7 -0
  261. package/dist/panoramic/architecture-ir-exporters.d.ts.map +1 -0
  262. package/dist/panoramic/architecture-ir-exporters.js +183 -0
  263. package/dist/panoramic/architecture-ir-exporters.js.map +1 -0
  264. package/dist/panoramic/architecture-ir-generator.d.ts +36 -0
  265. package/dist/panoramic/architecture-ir-generator.d.ts.map +1 -0
  266. package/dist/panoramic/architecture-ir-generator.js +51 -0
  267. package/dist/panoramic/architecture-ir-generator.js.map +1 -0
  268. package/dist/panoramic/architecture-ir-mermaid-adapter.d.ts +6 -0
  269. package/dist/panoramic/architecture-ir-mermaid-adapter.d.ts.map +1 -0
  270. package/dist/panoramic/architecture-ir-mermaid-adapter.js +98 -0
  271. package/dist/panoramic/architecture-ir-mermaid-adapter.js.map +1 -0
  272. package/dist/panoramic/architecture-ir-model.d.ts +87 -0
  273. package/dist/panoramic/architecture-ir-model.d.ts.map +1 -0
  274. package/dist/panoramic/architecture-ir-model.js +20 -0
  275. package/dist/panoramic/architecture-ir-model.js.map +1 -0
  276. package/dist/panoramic/architecture-narrative.d.ts +68 -0
  277. package/dist/panoramic/architecture-narrative.d.ts.map +1 -0
  278. package/dist/panoramic/architecture-narrative.js +401 -0
  279. package/dist/panoramic/architecture-narrative.js.map +1 -0
  280. package/dist/panoramic/architecture-overview-generator.d.ts +31 -0
  281. package/dist/panoramic/architecture-overview-generator.d.ts.map +1 -0
  282. package/dist/panoramic/architecture-overview-generator.js +454 -0
  283. package/dist/panoramic/architecture-overview-generator.js.map +1 -0
  284. package/dist/panoramic/architecture-overview-model.d.ts +77 -0
  285. package/dist/panoramic/architecture-overview-model.d.ts.map +1 -0
  286. package/dist/panoramic/architecture-overview-model.js +31 -0
  287. package/dist/panoramic/architecture-overview-model.js.map +1 -0
  288. package/dist/panoramic/batch-project-docs.d.ts.map +1 -1
  289. package/dist/panoramic/batch-project-docs.js +4 -2
  290. package/dist/panoramic/batch-project-docs.js.map +1 -1
  291. package/dist/panoramic/builders/component-view-builder.d.ts +25 -1
  292. package/dist/panoramic/builders/component-view-builder.d.ts.map +1 -1
  293. package/dist/panoramic/builders/component-view-builder.js +83 -3
  294. package/dist/panoramic/builders/component-view-builder.js.map +1 -1
  295. package/dist/panoramic/builders/doc-graph-builder.d.ts +15 -2
  296. package/dist/panoramic/builders/doc-graph-builder.d.ts.map +1 -1
  297. package/dist/panoramic/builders/doc-graph-builder.js +20 -0
  298. package/dist/panoramic/builders/doc-graph-builder.js.map +1 -1
  299. package/dist/panoramic/component-view-builder.d.ts +17 -0
  300. package/dist/panoramic/component-view-builder.d.ts.map +1 -0
  301. package/dist/panoramic/component-view-builder.js +652 -0
  302. package/dist/panoramic/component-view-builder.js.map +1 -0
  303. package/dist/panoramic/component-view-model.d.ts +127 -0
  304. package/dist/panoramic/component-view-model.d.ts.map +1 -0
  305. package/dist/panoramic/component-view-model.js +65 -0
  306. package/dist/panoramic/component-view-model.js.map +1 -0
  307. package/dist/panoramic/config-reference-generator.d.ts +78 -0
  308. package/dist/panoramic/config-reference-generator.d.ts.map +1 -0
  309. package/dist/panoramic/config-reference-generator.js +199 -0
  310. package/dist/panoramic/config-reference-generator.js.map +1 -0
  311. package/dist/panoramic/coverage-auditor.d.ts +95 -0
  312. package/dist/panoramic/coverage-auditor.d.ts.map +1 -0
  313. package/dist/panoramic/coverage-auditor.js +290 -0
  314. package/dist/panoramic/coverage-auditor.js.map +1 -0
  315. package/dist/panoramic/cross-package-analyzer.d.ts +112 -0
  316. package/dist/panoramic/cross-package-analyzer.d.ts.map +1 -0
  317. package/dist/panoramic/cross-package-analyzer.js +258 -0
  318. package/dist/panoramic/cross-package-analyzer.js.map +1 -0
  319. package/dist/panoramic/data-model-generator.d.ts +528 -0
  320. package/dist/panoramic/data-model-generator.d.ts.map +1 -0
  321. package/dist/panoramic/data-model-generator.js +647 -0
  322. package/dist/panoramic/data-model-generator.js.map +1 -0
  323. package/dist/panoramic/doc-graph-builder.d.ts +80 -0
  324. package/dist/panoramic/doc-graph-builder.d.ts.map +1 -0
  325. package/dist/panoramic/doc-graph-builder.js +352 -0
  326. package/dist/panoramic/doc-graph-builder.js.map +1 -0
  327. package/dist/panoramic/docs-bundle-manifest-reader.d.ts +26 -0
  328. package/dist/panoramic/docs-bundle-manifest-reader.d.ts.map +1 -0
  329. package/dist/panoramic/docs-bundle-manifest-reader.js +106 -0
  330. package/dist/panoramic/docs-bundle-manifest-reader.js.map +1 -0
  331. package/dist/panoramic/docs-bundle-orchestrator.d.ts +14 -0
  332. package/dist/panoramic/docs-bundle-orchestrator.d.ts.map +1 -0
  333. package/dist/panoramic/docs-bundle-orchestrator.js +538 -0
  334. package/dist/panoramic/docs-bundle-orchestrator.js.map +1 -0
  335. package/dist/panoramic/docs-bundle-profiles.d.ts +4 -0
  336. package/dist/panoramic/docs-bundle-profiles.d.ts.map +1 -0
  337. package/dist/panoramic/docs-bundle-profiles.js +82 -0
  338. package/dist/panoramic/docs-bundle-profiles.js.map +1 -0
  339. package/dist/panoramic/docs-bundle-types.d.ts +94 -0
  340. package/dist/panoramic/docs-bundle-types.d.ts.map +1 -0
  341. package/dist/panoramic/docs-bundle-types.js +10 -0
  342. package/dist/panoramic/docs-bundle-types.js.map +1 -0
  343. package/dist/panoramic/docs-quality-evaluator.d.ts +31 -0
  344. package/dist/panoramic/docs-quality-evaluator.d.ts.map +1 -0
  345. package/dist/panoramic/docs-quality-evaluator.js +941 -0
  346. package/dist/panoramic/docs-quality-evaluator.js.map +1 -0
  347. package/dist/panoramic/docs-quality-model.d.ts +125 -0
  348. package/dist/panoramic/docs-quality-model.d.ts.map +1 -0
  349. package/dist/panoramic/docs-quality-model.js +166 -0
  350. package/dist/panoramic/docs-quality-model.js.map +1 -0
  351. package/dist/panoramic/dynamic-scenarios-builder.d.ts +18 -0
  352. package/dist/panoramic/dynamic-scenarios-builder.d.ts.map +1 -0
  353. package/dist/panoramic/dynamic-scenarios-builder.js +316 -0
  354. package/dist/panoramic/dynamic-scenarios-builder.js.map +1 -0
  355. package/dist/panoramic/event-surface-generator.d.ts +52 -0
  356. package/dist/panoramic/event-surface-generator.d.ts.map +1 -0
  357. package/dist/panoramic/event-surface-generator.js +507 -0
  358. package/dist/panoramic/event-surface-generator.js.map +1 -0
  359. package/dist/panoramic/generator-registry.d.ts +1 -1
  360. package/dist/panoramic/generator-registry.d.ts.map +1 -1
  361. package/dist/panoramic/generator-registry.js +5 -2
  362. package/dist/panoramic/generator-registry.js.map +1 -1
  363. package/dist/panoramic/generators/cross-package-analyzer.d.ts +5 -5
  364. package/dist/panoramic/generators/cross-package-analyzer.d.ts.map +1 -1
  365. package/dist/panoramic/generators/cross-package-analyzer.js +1 -1
  366. package/dist/panoramic/generators/cross-package-analyzer.js.map +1 -1
  367. package/dist/panoramic/generators/data-model-generator.d.ts +27 -27
  368. package/dist/panoramic/graph/confidence-mapper.d.ts +18 -0
  369. package/dist/panoramic/graph/confidence-mapper.d.ts.map +1 -1
  370. package/dist/panoramic/graph/confidence-mapper.js +26 -0
  371. package/dist/panoramic/graph/confidence-mapper.js.map +1 -1
  372. package/dist/panoramic/graph/graph-builder.d.ts +72 -2
  373. package/dist/panoramic/graph/graph-builder.d.ts.map +1 -1
  374. package/dist/panoramic/graph/graph-builder.js +330 -46
  375. package/dist/panoramic/graph/graph-builder.js.map +1 -1
  376. package/dist/panoramic/graph/graph-paths.d.ts +8 -0
  377. package/dist/panoramic/graph/graph-paths.d.ts.map +1 -1
  378. package/dist/panoramic/graph/graph-paths.js +10 -0
  379. package/dist/panoramic/graph/graph-paths.js.map +1 -1
  380. package/dist/panoramic/graph/graph-query.d.ts +49 -2
  381. package/dist/panoramic/graph/graph-query.d.ts.map +1 -1
  382. package/dist/panoramic/graph/graph-query.js +117 -19
  383. package/dist/panoramic/graph/graph-query.js.map +1 -1
  384. package/dist/panoramic/graph/graph-types.d.ts +32 -3
  385. package/dist/panoramic/graph/graph-types.d.ts.map +1 -1
  386. package/dist/panoramic/graph/index.d.ts +2 -1
  387. package/dist/panoramic/graph/index.d.ts.map +1 -1
  388. package/dist/panoramic/graph/index.js +1 -1
  389. package/dist/panoramic/graph/index.js.map +1 -1
  390. package/dist/panoramic/hyperedges/schema.d.ts +6 -6
  391. package/dist/panoramic/interface-surface-generator.d.ts +50 -0
  392. package/dist/panoramic/interface-surface-generator.d.ts.map +1 -0
  393. package/dist/panoramic/interface-surface-generator.js +388 -0
  394. package/dist/panoramic/interface-surface-generator.js.map +1 -0
  395. package/dist/panoramic/interfaces.d.ts +2 -2
  396. package/dist/panoramic/mock-readme-generator.d.ts +90 -0
  397. package/dist/panoramic/mock-readme-generator.d.ts.map +1 -0
  398. package/dist/panoramic/mock-readme-generator.js +111 -0
  399. package/dist/panoramic/mock-readme-generator.js.map +1 -0
  400. package/dist/panoramic/models/component-view-model.d.ts +1 -1
  401. package/dist/panoramic/models/component-view-model.d.ts.map +1 -1
  402. package/dist/panoramic/models/component-view-model.js.map +1 -1
  403. package/dist/panoramic/narrative-provenance-adapter.d.ts +8 -0
  404. package/dist/panoramic/narrative-provenance-adapter.d.ts.map +1 -0
  405. package/dist/panoramic/narrative-provenance-adapter.js +99 -0
  406. package/dist/panoramic/narrative-provenance-adapter.js.map +1 -0
  407. package/dist/panoramic/parser-registry.d.ts +1 -1
  408. package/dist/panoramic/parser-registry.js +1 -1
  409. package/dist/panoramic/parsers/types.d.ts +6 -6
  410. package/dist/panoramic/pattern-hints-generator.d.ts +28 -0
  411. package/dist/panoramic/pattern-hints-generator.d.ts.map +1 -0
  412. package/dist/panoramic/pattern-hints-generator.js +218 -0
  413. package/dist/panoramic/pattern-hints-generator.js.map +1 -0
  414. package/dist/panoramic/pattern-hints-model.d.ts +89 -0
  415. package/dist/panoramic/pattern-hints-model.d.ts.map +1 -0
  416. package/dist/panoramic/pattern-hints-model.js +61 -0
  417. package/dist/panoramic/pattern-hints-model.js.map +1 -0
  418. package/dist/panoramic/pattern-knowledge-base.d.ts +31 -0
  419. package/dist/panoramic/pattern-knowledge-base.d.ts.map +1 -0
  420. package/dist/panoramic/pattern-knowledge-base.js +407 -0
  421. package/dist/panoramic/pattern-knowledge-base.js.map +1 -0
  422. package/dist/panoramic/pipelines/adr-evidence-verifier.d.ts.map +1 -1
  423. package/dist/panoramic/pipelines/adr-evidence-verifier.js +1 -29
  424. package/dist/panoramic/pipelines/adr-evidence-verifier.js.map +1 -1
  425. package/dist/panoramic/pipelines/coverage-auditor.d.ts.map +1 -1
  426. package/dist/panoramic/pipelines/coverage-auditor.js +4 -2
  427. package/dist/panoramic/pipelines/coverage-auditor.js.map +1 -1
  428. package/dist/panoramic/pipelines/docs-bundle-orchestrator.js +13 -6
  429. package/dist/panoramic/pipelines/docs-bundle-orchestrator.js.map +1 -1
  430. package/dist/panoramic/pipelines/product-ux-docs.d.ts +5 -0
  431. package/dist/panoramic/pipelines/product-ux-docs.d.ts.map +1 -1
  432. package/dist/panoramic/pipelines/product-ux-docs.js +34 -6
  433. package/dist/panoramic/pipelines/product-ux-docs.js.map +1 -1
  434. package/dist/panoramic/product-ux-docs.d.ts +104 -0
  435. package/dist/panoramic/product-ux-docs.d.ts.map +1 -0
  436. package/dist/panoramic/product-ux-docs.js +817 -0
  437. package/dist/panoramic/product-ux-docs.js.map +1 -0
  438. package/dist/panoramic/qa/__tests__/citation.test.d.ts +2 -0
  439. package/dist/panoramic/qa/__tests__/citation.test.d.ts.map +1 -0
  440. package/dist/panoramic/qa/__tests__/citation.test.js +193 -0
  441. package/dist/panoramic/qa/__tests__/citation.test.js.map +1 -0
  442. package/dist/panoramic/qa/__tests__/debt-context.test.d.ts +2 -0
  443. package/dist/panoramic/qa/__tests__/debt-context.test.d.ts.map +1 -0
  444. package/dist/panoramic/qa/__tests__/debt-context.test.js +154 -0
  445. package/dist/panoramic/qa/__tests__/debt-context.test.js.map +1 -0
  446. package/dist/panoramic/qa/__tests__/graph-retriever.test.d.ts +2 -0
  447. package/dist/panoramic/qa/__tests__/graph-retriever.test.d.ts.map +1 -0
  448. package/dist/panoramic/qa/__tests__/graph-retriever.test.js +148 -0
  449. package/dist/panoramic/qa/__tests__/graph-retriever.test.js.map +1 -0
  450. package/dist/panoramic/qa/__tests__/index.test.d.ts +2 -0
  451. package/dist/panoramic/qa/__tests__/index.test.d.ts.map +1 -0
  452. package/dist/panoramic/qa/__tests__/index.test.js +246 -0
  453. package/dist/panoramic/qa/__tests__/index.test.js.map +1 -0
  454. package/dist/panoramic/qa/__tests__/llm-caller.test.d.ts +2 -0
  455. package/dist/panoramic/qa/__tests__/llm-caller.test.d.ts.map +1 -0
  456. package/dist/panoramic/qa/__tests__/llm-caller.test.js +168 -0
  457. package/dist/panoramic/qa/__tests__/llm-caller.test.js.map +1 -0
  458. package/dist/panoramic/qa/__tests__/prompt-builder.test.d.ts +2 -0
  459. package/dist/panoramic/qa/__tests__/prompt-builder.test.d.ts.map +1 -0
  460. package/dist/panoramic/qa/__tests__/prompt-builder.test.js +150 -0
  461. package/dist/panoramic/qa/__tests__/prompt-builder.test.js.map +1 -0
  462. package/dist/panoramic/qa/__tests__/qa-integration.test.d.ts +2 -0
  463. package/dist/panoramic/qa/__tests__/qa-integration.test.d.ts.map +1 -0
  464. package/dist/panoramic/qa/__tests__/qa-integration.test.js +296 -0
  465. package/dist/panoramic/qa/__tests__/qa-integration.test.js.map +1 -0
  466. package/dist/panoramic/qa/__tests__/rag-reranker.test.d.ts +2 -0
  467. package/dist/panoramic/qa/__tests__/rag-reranker.test.d.ts.map +1 -0
  468. package/dist/panoramic/qa/__tests__/rag-reranker.test.js +136 -0
  469. package/dist/panoramic/qa/__tests__/rag-reranker.test.js.map +1 -0
  470. package/dist/panoramic/qa/index.d.ts.map +1 -1
  471. package/dist/panoramic/qa/index.js +10 -3
  472. package/dist/panoramic/qa/index.js.map +1 -1
  473. package/dist/panoramic/query.d.ts +1 -0
  474. package/dist/panoramic/query.d.ts.map +1 -1
  475. package/dist/panoramic/query.js +5 -0
  476. package/dist/panoramic/query.js.map +1 -1
  477. package/dist/panoramic/runtime-topology-generator.d.ts +77 -0
  478. package/dist/panoramic/runtime-topology-generator.d.ts.map +1 -0
  479. package/dist/panoramic/runtime-topology-generator.js +676 -0
  480. package/dist/panoramic/runtime-topology-generator.js.map +1 -0
  481. package/dist/panoramic/runtime-topology-model.d.ts +145 -0
  482. package/dist/panoramic/runtime-topology-model.d.ts.map +1 -0
  483. package/dist/panoramic/runtime-topology-model.js +300 -0
  484. package/dist/panoramic/runtime-topology-model.js.map +1 -0
  485. package/dist/panoramic/troubleshooting-generator.d.ts +51 -0
  486. package/dist/panoramic/troubleshooting-generator.d.ts.map +1 -0
  487. package/dist/panoramic/troubleshooting-generator.js +451 -0
  488. package/dist/panoramic/troubleshooting-generator.js.map +1 -0
  489. package/dist/panoramic/utils/text-segmenter.d.ts +15 -0
  490. package/dist/panoramic/utils/text-segmenter.d.ts.map +1 -1
  491. package/dist/panoramic/utils/text-segmenter.js +38 -0
  492. package/dist/panoramic/utils/text-segmenter.js.map +1 -1
  493. package/dist/panoramic/workspace-index-generator.d.ts +148 -0
  494. package/dist/panoramic/workspace-index-generator.d.ts.map +1 -0
  495. package/dist/panoramic/workspace-index-generator.js +497 -0
  496. package/dist/panoramic/workspace-index-generator.js.map +1 -0
  497. package/dist/runtime-bootstrap.d.ts +9 -0
  498. package/dist/runtime-bootstrap.d.ts.map +1 -0
  499. package/dist/runtime-bootstrap.js +33 -0
  500. package/dist/runtime-bootstrap.js.map +1 -0
  501. package/dist/scaffold-kb/api-entities-serializer.d.ts +12 -0
  502. package/dist/scaffold-kb/api-entities-serializer.d.ts.map +1 -0
  503. package/dist/scaffold-kb/api-entities-serializer.js +144 -0
  504. package/dist/scaffold-kb/api-entities-serializer.js.map +1 -0
  505. package/dist/scaffold-kb/arbitration.d.ts +44 -0
  506. package/dist/scaffold-kb/arbitration.d.ts.map +1 -0
  507. package/dist/scaffold-kb/arbitration.js +144 -0
  508. package/dist/scaffold-kb/arbitration.js.map +1 -0
  509. package/dist/scaffold-kb/chunk-splitter.d.ts +20 -0
  510. package/dist/scaffold-kb/chunk-splitter.d.ts.map +1 -0
  511. package/dist/scaffold-kb/chunk-splitter.js +309 -0
  512. package/dist/scaffold-kb/chunk-splitter.js.map +1 -0
  513. package/dist/scaffold-kb/doc-graph-builder.d.ts +26 -0
  514. package/dist/scaffold-kb/doc-graph-builder.d.ts.map +1 -0
  515. package/dist/scaffold-kb/doc-graph-builder.js +72 -0
  516. package/dist/scaffold-kb/doc-graph-builder.js.map +1 -0
  517. package/dist/scaffold-kb/entity-extractor.d.ts +40 -0
  518. package/dist/scaffold-kb/entity-extractor.d.ts.map +1 -0
  519. package/dist/scaffold-kb/entity-extractor.js +0 -0
  520. package/dist/scaffold-kb/entity-extractor.js.map +1 -0
  521. package/dist/scaffold-kb/entity-heuristic.d.ts +14 -0
  522. package/dist/scaffold-kb/entity-heuristic.d.ts.map +1 -0
  523. package/dist/scaffold-kb/entity-heuristic.js +107 -0
  524. package/dist/scaffold-kb/entity-heuristic.js.map +1 -0
  525. package/dist/scaffold-kb/entity-matcher.d.ts +20 -0
  526. package/dist/scaffold-kb/entity-matcher.d.ts.map +1 -0
  527. package/dist/scaffold-kb/entity-matcher.js +53 -0
  528. package/dist/scaffold-kb/entity-matcher.js.map +1 -0
  529. package/dist/scaffold-kb/entity-util.d.ts +11 -0
  530. package/dist/scaffold-kb/entity-util.d.ts.map +1 -0
  531. package/dist/scaffold-kb/entity-util.js +23 -0
  532. package/dist/scaffold-kb/entity-util.js.map +1 -0
  533. package/dist/scaffold-kb/evidence-envelope.d.ts +17 -0
  534. package/dist/scaffold-kb/evidence-envelope.d.ts.map +1 -0
  535. package/dist/scaffold-kb/evidence-envelope.js +32 -0
  536. package/dist/scaffold-kb/evidence-envelope.js.map +1 -0
  537. package/dist/scaffold-kb/index.d.ts +20 -0
  538. package/dist/scaffold-kb/index.d.ts.map +1 -0
  539. package/dist/scaffold-kb/index.js +102 -0
  540. package/dist/scaffold-kb/index.js.map +1 -0
  541. package/dist/scaffold-kb/ingest/ingest-core.d.ts +47 -0
  542. package/dist/scaffold-kb/ingest/ingest-core.d.ts.map +1 -0
  543. package/dist/scaffold-kb/ingest/ingest-core.js +231 -0
  544. package/dist/scaffold-kb/ingest/ingest-core.js.map +1 -0
  545. package/dist/scaffold-kb/ingest/office-parser.d.ts +33 -0
  546. package/dist/scaffold-kb/ingest/office-parser.d.ts.map +1 -0
  547. package/dist/scaffold-kb/ingest/office-parser.js +187 -0
  548. package/dist/scaffold-kb/ingest/office-parser.js.map +1 -0
  549. package/dist/scaffold-kb/ingest/url-fetcher.d.ts +43 -0
  550. package/dist/scaffold-kb/ingest/url-fetcher.d.ts.map +1 -0
  551. package/dist/scaffold-kb/ingest/url-fetcher.js +245 -0
  552. package/dist/scaffold-kb/ingest/url-fetcher.js.map +1 -0
  553. package/dist/scaffold-kb/ingester.d.ts +38 -0
  554. package/dist/scaffold-kb/ingester.d.ts.map +1 -0
  555. package/dist/scaffold-kb/ingester.js +261 -0
  556. package/dist/scaffold-kb/ingester.js.map +1 -0
  557. package/dist/scaffold-kb/injection-format.d.ts +25 -0
  558. package/dist/scaffold-kb/injection-format.d.ts.map +1 -0
  559. package/dist/scaffold-kb/injection-format.js +55 -0
  560. package/dist/scaffold-kb/injection-format.js.map +1 -0
  561. package/dist/scaffold-kb/kb-writer.d.ts +13 -0
  562. package/dist/scaffold-kb/kb-writer.d.ts.map +1 -0
  563. package/dist/scaffold-kb/kb-writer.js +69 -0
  564. package/dist/scaffold-kb/kb-writer.js.map +1 -0
  565. package/dist/scaffold-kb/keyword-extract.d.ts +16 -0
  566. package/dist/scaffold-kb/keyword-extract.d.ts.map +1 -0
  567. package/dist/scaffold-kb/keyword-extract.js +49 -0
  568. package/dist/scaffold-kb/keyword-extract.js.map +1 -0
  569. package/dist/scaffold-kb/query-sanitizer.d.ts +28 -0
  570. package/dist/scaffold-kb/query-sanitizer.d.ts.map +1 -0
  571. package/dist/scaffold-kb/query-sanitizer.js +38 -0
  572. package/dist/scaffold-kb/query-sanitizer.js.map +1 -0
  573. package/dist/scaffold-kb/recall-eval.d.ts +48 -0
  574. package/dist/scaffold-kb/recall-eval.d.ts.map +1 -0
  575. package/dist/scaffold-kb/recall-eval.js +55 -0
  576. package/dist/scaffold-kb/recall-eval.js.map +1 -0
  577. package/dist/scaffold-kb/schema-compat.d.ts +22 -0
  578. package/dist/scaffold-kb/schema-compat.d.ts.map +1 -0
  579. package/dist/scaffold-kb/schema-compat.js +32 -0
  580. package/dist/scaffold-kb/schema-compat.js.map +1 -0
  581. package/dist/scaffold-kb/search-core.d.ts +42 -0
  582. package/dist/scaffold-kb/search-core.d.ts.map +1 -0
  583. package/dist/scaffold-kb/search-core.js +89 -0
  584. package/dist/scaffold-kb/search-core.js.map +1 -0
  585. package/dist/scaffold-kb/sqlite-engine.d.ts +58 -0
  586. package/dist/scaffold-kb/sqlite-engine.d.ts.map +1 -0
  587. package/dist/scaffold-kb/sqlite-engine.js +61 -0
  588. package/dist/scaffold-kb/sqlite-engine.js.map +1 -0
  589. package/dist/scaffold-kb/sqlite-writer.d.ts +18 -0
  590. package/dist/scaffold-kb/sqlite-writer.d.ts.map +1 -0
  591. package/dist/scaffold-kb/sqlite-writer.js +76 -0
  592. package/dist/scaffold-kb/sqlite-writer.js.map +1 -0
  593. package/dist/scaffold-kb/tokenizer.d.ts +26 -0
  594. package/dist/scaffold-kb/tokenizer.d.ts.map +1 -0
  595. package/dist/scaffold-kb/tokenizer.js +97 -0
  596. package/dist/scaffold-kb/tokenizer.js.map +1 -0
  597. package/dist/scaffold-kb/types.d.ts +157 -0
  598. package/dist/scaffold-kb/types.d.ts.map +1 -0
  599. package/dist/scaffold-kb/types.js +5 -0
  600. package/dist/scaffold-kb/types.js.map +1 -0
  601. package/dist/utils/file-scanner.d.ts +15 -0
  602. package/dist/utils/file-scanner.d.ts.map +1 -1
  603. package/dist/utils/file-scanner.js +18 -1
  604. package/dist/utils/file-scanner.js.map +1 -1
  605. package/dist/utils/string-distance.d.ts +20 -0
  606. package/dist/utils/string-distance.d.ts.map +1 -0
  607. package/dist/utils/string-distance.js +38 -0
  608. package/dist/utils/string-distance.js.map +1 -0
  609. package/package.json +22 -3
  610. package/plugins/demo-kb-en/.claude-plugin/plugin.json +11 -0
  611. package/plugins/demo-kb-en/.mcp.json +8 -0
  612. package/plugins/demo-kb-en/FIXTURE.json +23 -0
  613. package/plugins/demo-kb-en/FIXTURE.md +53 -0
  614. package/plugins/demo-kb-en/ingest-samples/meeting-notes.md +13 -0
  615. package/plugins/demo-kb-en/kb/api-entities.json +3445 -0
  616. package/plugins/demo-kb-en/kb/chunks.sqlite +0 -0
  617. package/plugins/demo-kb-en/kb/doc-graph.json +113 -0
  618. package/plugins/demo-kb-zh/.claude-plugin/plugin.json +11 -0
  619. package/plugins/demo-kb-zh/.mcp.json +8 -0
  620. package/plugins/demo-kb-zh/FIXTURE.json +23 -0
  621. package/plugins/demo-kb-zh/FIXTURE.md +63 -0
  622. package/plugins/demo-kb-zh/ingest-samples/meeting-notes.md +13 -0
  623. package/plugins/demo-kb-zh/kb/api-entities.json +990 -0
  624. package/plugins/demo-kb-zh/kb/chunks.sqlite +0 -0
  625. package/plugins/demo-kb-zh/kb/doc-graph.json +113 -0
  626. package/plugins/spec-driver/.claude-plugin/plugin.json +1 -1
  627. package/plugins/spec-driver/README.md +50 -1
  628. package/plugins/spec-driver/agents/implement.md +20 -1
  629. package/plugins/spec-driver/agents/plan.md +20 -1
  630. package/plugins/spec-driver/agents/quality-review.md +20 -1
  631. package/plugins/spec-driver/agents/spec-review.md +20 -1
  632. package/plugins/spec-driver/agents/verify.md +108 -1
  633. package/plugins/spec-driver/config/orchestration.yaml +39 -31
  634. package/plugins/spec-driver/contracts/orchestration-overrides-contract.yaml +27 -0
  635. package/plugins/spec-driver/contracts/orchestration-schema.mjs +272 -227
  636. package/plugins/spec-driver/contracts/wrapper-source-of-truth.yaml +3 -0
  637. package/plugins/spec-driver/docs/customization.md +134 -0
  638. package/plugins/spec-driver/docs/spectra-mcp-integration.md +165 -0
  639. package/plugins/spec-driver/hooks/hooks.json +9 -0
  640. package/plugins/spec-driver/hooks/stop-fix-compliance-check.sh +36 -0
  641. package/plugins/spec-driver/lib/delegation-contract.mjs +84 -0
  642. package/plugins/spec-driver/lib/orchestration-resolver.mjs +49 -0
  643. package/plugins/spec-driver/lib/orchestrator.mjs +29 -1
  644. package/plugins/spec-driver/lib/preference-rules.mjs +96 -0
  645. package/plugins/spec-driver/scripts/codex-skills.sh +28 -28
  646. package/plugins/spec-driver/scripts/dev/spike-fix-compliance-e2e.mjs +130 -0
  647. package/plugins/spec-driver/scripts/fix-compliance-judge.mjs +415 -0
  648. package/plugins/spec-driver/scripts/generate-adoption-insights.mjs +48 -1
  649. package/plugins/spec-driver/scripts/goal-loop-cli.mjs +307 -0
  650. package/plugins/spec-driver/scripts/init-project.sh +56 -0
  651. package/plugins/spec-driver/scripts/kb-prequery.mjs +125 -0
  652. package/plugins/spec-driver/scripts/lib/config-schema.mjs +200 -94
  653. package/plugins/spec-driver/scripts/lib/ensure-gitignore.sh +277 -0
  654. package/plugins/spec-driver/scripts/lib/extract-wrapper-body.mjs +136 -0
  655. package/plugins/spec-driver/scripts/lib/fix-compliance-core.mjs +434 -0
  656. package/plugins/spec-driver/scripts/lib/fix-compliance-io.mjs +335 -0
  657. package/plugins/spec-driver/scripts/lib/goal-loop-core.mjs +783 -0
  658. package/plugins/spec-driver/scripts/lib/init-project-output.sh +28 -0
  659. package/plugins/spec-driver/scripts/lib/load-zod.mjs +62 -0
  660. package/plugins/spec-driver/scripts/lib/project-profile-resolver.mjs +141 -49
  661. package/plugins/spec-driver/scripts/lib/project-profile-schema.mjs +88 -54
  662. package/plugins/spec-driver/scripts/postinstall.sh +13 -1
  663. package/plugins/spec-driver/scripts/record-workflow-run.mjs +75 -0
  664. package/plugins/spec-driver/scripts/sync-delegation-contract.mjs +187 -0
  665. package/plugins/spec-driver/scripts/sync-preference-rules.mjs +148 -0
  666. package/plugins/spec-driver/scripts/validate-orchestrator-models.mjs +156 -0
  667. package/plugins/spec-driver/scripts/validate-wrapper-sources.mjs +46 -1
  668. package/plugins/spec-driver/skills/spec-driver-feature/SKILL.md +302 -0
  669. package/plugins/spec-driver/skills/spec-driver-fix/SKILL.md +97 -8
  670. package/plugins/spec-driver/skills/spec-driver-implement/SKILL.md +18 -0
  671. package/plugins/spec-driver/skills/spec-driver-refactor/SKILL.md +10 -0
  672. package/plugins/spec-driver/skills/spec-driver-resume/SKILL.md +12 -1
  673. package/plugins/spec-driver/skills/spec-driver-story/SKILL.md +30 -0
  674. package/plugins/spec-driver/templates/delegation-contract.md +27 -0
  675. package/plugins/spec-driver/templates/goal-loop-override-template.yaml +284 -0
  676. package/plugins/spec-driver/templates/preference-rules.md +39 -0
  677. package/plugins/spec-driver/templates/specify-base/project-context-template.yaml +10 -0
  678. package/plugins/spectra/.claude-plugin/plugin.json +1 -1
  679. package/plugins/spectra/README.md +48 -1
  680. package/plugins/spectra/hooks/post-commit.sh +40 -0
  681. package/templates/module-spec.hbs +1 -0
  682. package/templates/product-overview.hbs +1 -1
@@ -0,0 +1,3445 @@
1
+ {
2
+ "schema_version": "1.0",
3
+ "built_at": "2026-06-16T06:31:36.714Z",
4
+ "sdk_version": "4.6.0",
5
+ "source_kind": "vendor",
6
+ "entities": [
7
+ {
8
+ "id": "hono#function",
9
+ "name": "Hono",
10
+ "qualified_name": "Hono",
11
+ "container": null,
12
+ "overload_key": null,
13
+ "kind": "function",
14
+ "signature": "Hono()",
15
+ "params": [],
16
+ "returns": null,
17
+ "deprecated": null,
18
+ "since_version": null,
19
+ "source_doc_id": "app-hono-object.md",
20
+ "source_chunk_id": "app-hono-object.md#_1",
21
+ "source_chunk_ids": [
22
+ "app-hono-object.md#_1"
23
+ ],
24
+ "source_anchor": null,
25
+ "evidence_quote": null,
26
+ "lang": "en",
27
+ "confidence": 0.5,
28
+ "extraction_method": "heuristic"
29
+ },
30
+ {
31
+ "id": "app.notfound#function",
32
+ "name": "app.notFound",
33
+ "qualified_name": "app.notFound",
34
+ "container": null,
35
+ "overload_key": null,
36
+ "kind": "function",
37
+ "signature": "app.notFound((c)",
38
+ "params": [],
39
+ "returns": null,
40
+ "deprecated": null,
41
+ "since_version": null,
42
+ "source_doc_id": "app-hono-object.md",
43
+ "source_chunk_id": "app-hono-object.md#not-found",
44
+ "source_chunk_ids": [
45
+ "app-hono-object.md#not-found"
46
+ ],
47
+ "source_anchor": "not-found",
48
+ "evidence_quote": null,
49
+ "lang": "en",
50
+ "confidence": 0.5,
51
+ "extraction_method": "heuristic"
52
+ },
53
+ {
54
+ "id": "c.text#function",
55
+ "name": "c.text",
56
+ "qualified_name": "c.text",
57
+ "container": null,
58
+ "overload_key": null,
59
+ "kind": "function",
60
+ "signature": "c.text('Custom 404 Message', 404)",
61
+ "params": [],
62
+ "returns": null,
63
+ "deprecated": null,
64
+ "since_version": null,
65
+ "source_doc_id": "app-hono-object.md",
66
+ "source_chunk_id": "app-hono-object.md#not-found",
67
+ "source_chunk_ids": [
68
+ "app-hono-object.md#not-found"
69
+ ],
70
+ "source_anchor": "not-found",
71
+ "evidence_quote": null,
72
+ "lang": "en",
73
+ "confidence": 0.5,
74
+ "extraction_method": "heuristic"
75
+ },
76
+ {
77
+ "id": "app.onerror#function",
78
+ "name": "app.onError",
79
+ "qualified_name": "app.onError",
80
+ "container": null,
81
+ "overload_key": null,
82
+ "kind": "function",
83
+ "signature": "app.onError((err, c)",
84
+ "params": [
85
+ {
86
+ "name": "c"
87
+ }
88
+ ],
89
+ "returns": null,
90
+ "deprecated": null,
91
+ "since_version": null,
92
+ "source_doc_id": "app-hono-object.md",
93
+ "source_chunk_id": "app-hono-object.md#error-handling",
94
+ "source_chunk_ids": [
95
+ "app-hono-object.md#error-handling"
96
+ ],
97
+ "source_anchor": "error-handling",
98
+ "evidence_quote": null,
99
+ "lang": "en",
100
+ "confidence": 0.5,
101
+ "extraction_method": "heuristic"
102
+ },
103
+ {
104
+ "id": "console.error#function",
105
+ "name": "console.error",
106
+ "qualified_name": "console.error",
107
+ "container": null,
108
+ "overload_key": null,
109
+ "kind": "function",
110
+ "signature": "console.error(`${err}`)",
111
+ "params": [],
112
+ "returns": null,
113
+ "deprecated": null,
114
+ "since_version": null,
115
+ "source_doc_id": "app-hono-object.md",
116
+ "source_chunk_id": "app-hono-object.md#error-handling",
117
+ "source_chunk_ids": [
118
+ "app-hono-object.md#error-handling"
119
+ ],
120
+ "source_anchor": "error-handling",
121
+ "evidence_quote": null,
122
+ "lang": "en",
123
+ "confidence": 0.5,
124
+ "extraction_method": "heuristic"
125
+ },
126
+ {
127
+ "id": "fire#function",
128
+ "name": "fire",
129
+ "qualified_name": "fire",
130
+ "container": null,
131
+ "overload_key": null,
132
+ "kind": "function",
133
+ "signature": "fire()",
134
+ "params": [],
135
+ "returns": null,
136
+ "deprecated": null,
137
+ "since_version": null,
138
+ "source_doc_id": "app-hono-object.md",
139
+ "source_chunk_id": "app-hono-object.md#fire",
140
+ "source_chunk_ids": [
141
+ "app-hono-object.md#fire"
142
+ ],
143
+ "source_anchor": "fire",
144
+ "evidence_quote": null,
145
+ "lang": "en",
146
+ "confidence": 0.5,
147
+ "extraction_method": "heuristic"
148
+ },
149
+ {
150
+ "id": "app.fire#function",
151
+ "name": "app.fire",
152
+ "qualified_name": "app.fire",
153
+ "container": null,
154
+ "overload_key": null,
155
+ "kind": "function",
156
+ "signature": "app.fire()",
157
+ "params": [],
158
+ "returns": null,
159
+ "deprecated": null,
160
+ "since_version": null,
161
+ "source_doc_id": "app-hono-object.md",
162
+ "source_chunk_id": "app-hono-object.md#fire",
163
+ "source_chunk_ids": [
164
+ "app-hono-object.md#fire"
165
+ ],
166
+ "source_anchor": "fire",
167
+ "evidence_quote": null,
168
+ "lang": "en",
169
+ "confidence": 0.5,
170
+ "extraction_method": "heuristic"
171
+ },
172
+ {
173
+ "id": "addeventlistener#function",
174
+ "name": "addEventListener",
175
+ "qualified_name": "addEventListener",
176
+ "container": null,
177
+ "overload_key": null,
178
+ "kind": "function",
179
+ "signature": "addEventListener('fetch', (event: FetchEventLike)",
180
+ "params": [],
181
+ "returns": null,
182
+ "deprecated": null,
183
+ "since_version": null,
184
+ "source_doc_id": "app-hono-object.md",
185
+ "source_chunk_id": "app-hono-object.md#fire",
186
+ "source_chunk_ids": [
187
+ "app-hono-object.md#fire"
188
+ ],
189
+ "source_anchor": "fire",
190
+ "evidence_quote": null,
191
+ "lang": "en",
192
+ "confidence": 0.5,
193
+ "extraction_method": "heuristic"
194
+ },
195
+ {
196
+ "id": "event.respondwith#function",
197
+ "name": "event.respondWith",
198
+ "qualified_name": "event.respondWith",
199
+ "container": null,
200
+ "overload_key": null,
201
+ "kind": "function",
202
+ "signature": "event.respondWith(this.dispatch(...)",
203
+ "params": [
204
+ {
205
+ "name": "this.dispatch(..."
206
+ }
207
+ ],
208
+ "returns": null,
209
+ "deprecated": null,
210
+ "since_version": null,
211
+ "source_doc_id": "app-hono-object.md",
212
+ "source_chunk_id": "app-hono-object.md#fire",
213
+ "source_chunk_ids": [
214
+ "app-hono-object.md#fire"
215
+ ],
216
+ "source_anchor": "fire",
217
+ "evidence_quote": null,
218
+ "lang": "en",
219
+ "confidence": 0.5,
220
+ "extraction_method": "heuristic"
221
+ },
222
+ {
223
+ "id": "fetch#function",
224
+ "name": "fetch",
225
+ "qualified_name": "fetch",
226
+ "container": null,
227
+ "overload_key": null,
228
+ "kind": "function",
229
+ "signature": "fetch()",
230
+ "params": [],
231
+ "returns": null,
232
+ "deprecated": null,
233
+ "since_version": null,
234
+ "source_doc_id": "app-hono-object.md",
235
+ "source_chunk_id": "app-hono-object.md#fetch",
236
+ "source_chunk_ids": [
237
+ "app-hono-object.md#fetch"
238
+ ],
239
+ "source_anchor": "fetch",
240
+ "evidence_quote": null,
241
+ "lang": "en",
242
+ "confidence": 0.5,
243
+ "extraction_method": "heuristic"
244
+ },
245
+ {
246
+ "id": "app.fetch#function",
247
+ "name": "app.fetch",
248
+ "qualified_name": "app.fetch",
249
+ "container": null,
250
+ "overload_key": null,
251
+ "kind": "function",
252
+ "signature": "app.fetch(request, env, ctx)",
253
+ "params": [
254
+ {
255
+ "name": "request"
256
+ },
257
+ {
258
+ "name": "env"
259
+ },
260
+ {
261
+ "name": "ctx"
262
+ }
263
+ ],
264
+ "returns": null,
265
+ "deprecated": null,
266
+ "since_version": null,
267
+ "source_doc_id": "app-hono-object.md",
268
+ "source_chunk_id": "app-hono-object.md#fetch",
269
+ "source_chunk_ids": [
270
+ "app-hono-object.md#fetch"
271
+ ],
272
+ "source_anchor": "fetch",
273
+ "evidence_quote": null,
274
+ "lang": "en",
275
+ "confidence": 0.5,
276
+ "extraction_method": "heuristic"
277
+ },
278
+ {
279
+ "id": "request#function",
280
+ "name": "request",
281
+ "qualified_name": "request",
282
+ "container": null,
283
+ "overload_key": null,
284
+ "kind": "function",
285
+ "signature": "request()",
286
+ "params": [],
287
+ "returns": null,
288
+ "deprecated": null,
289
+ "since_version": null,
290
+ "source_doc_id": "app-hono-object.md",
291
+ "source_chunk_id": "app-hono-object.md#request",
292
+ "source_chunk_ids": [
293
+ "app-hono-object.md#request"
294
+ ],
295
+ "source_anchor": "request",
296
+ "evidence_quote": null,
297
+ "lang": "en",
298
+ "confidence": 0.5,
299
+ "extraction_method": "heuristic"
300
+ },
301
+ {
302
+ "id": "test#function",
303
+ "name": "test",
304
+ "qualified_name": "test",
305
+ "container": null,
306
+ "overload_key": null,
307
+ "kind": "function",
308
+ "signature": "test('GET /hello is ok', async ()",
309
+ "params": [
310
+ {
311
+ "name": "async ("
312
+ }
313
+ ],
314
+ "returns": null,
315
+ "deprecated": null,
316
+ "since_version": null,
317
+ "source_doc_id": "app-hono-object.md",
318
+ "source_chunk_id": "app-hono-object.md#request",
319
+ "source_chunk_ids": [
320
+ "app-hono-object.md#request"
321
+ ],
322
+ "source_anchor": "request",
323
+ "evidence_quote": null,
324
+ "lang": "en",
325
+ "confidence": 0.5,
326
+ "extraction_method": "heuristic"
327
+ },
328
+ {
329
+ "id": "app.request#function",
330
+ "name": "app.request",
331
+ "qualified_name": "app.request",
332
+ "container": null,
333
+ "overload_key": null,
334
+ "kind": "function",
335
+ "signature": "app.request('/hello')",
336
+ "params": [],
337
+ "returns": null,
338
+ "deprecated": null,
339
+ "since_version": null,
340
+ "source_doc_id": "app-hono-object.md",
341
+ "source_chunk_id": "app-hono-object.md#request",
342
+ "source_chunk_ids": [
343
+ "app-hono-object.md#request"
344
+ ],
345
+ "source_anchor": "request",
346
+ "evidence_quote": null,
347
+ "lang": "en",
348
+ "confidence": 0.5,
349
+ "extraction_method": "heuristic"
350
+ },
351
+ {
352
+ "id": "expect#function",
353
+ "name": "expect",
354
+ "qualified_name": "expect",
355
+ "container": null,
356
+ "overload_key": null,
357
+ "kind": "function",
358
+ "signature": "expect(res.status)",
359
+ "params": [
360
+ {
361
+ "name": "res.status"
362
+ }
363
+ ],
364
+ "returns": null,
365
+ "deprecated": null,
366
+ "since_version": null,
367
+ "source_doc_id": "app-hono-object.md",
368
+ "source_chunk_id": "app-hono-object.md#request",
369
+ "source_chunk_ids": [
370
+ "app-hono-object.md#request"
371
+ ],
372
+ "source_anchor": "request",
373
+ "evidence_quote": null,
374
+ "lang": "en",
375
+ "confidence": 0.5,
376
+ "extraction_method": "heuristic"
377
+ },
378
+ {
379
+ "id": "tobe#function",
380
+ "name": "toBe",
381
+ "qualified_name": "toBe",
382
+ "container": null,
383
+ "overload_key": null,
384
+ "kind": "function",
385
+ "signature": "toBe(200)",
386
+ "params": [],
387
+ "returns": null,
388
+ "deprecated": null,
389
+ "since_version": null,
390
+ "source_doc_id": "app-hono-object.md",
391
+ "source_chunk_id": "app-hono-object.md#request",
392
+ "source_chunk_ids": [
393
+ "app-hono-object.md#request"
394
+ ],
395
+ "source_anchor": "request",
396
+ "evidence_quote": null,
397
+ "lang": "en",
398
+ "confidence": 0.5,
399
+ "extraction_method": "heuristic"
400
+ },
401
+ {
402
+ "id": "mount#function",
403
+ "name": "mount",
404
+ "qualified_name": "mount",
405
+ "container": null,
406
+ "overload_key": null,
407
+ "kind": "function",
408
+ "signature": "mount()",
409
+ "params": [],
410
+ "returns": null,
411
+ "deprecated": null,
412
+ "since_version": null,
413
+ "source_doc_id": "app-hono-object.md",
414
+ "source_chunk_id": "app-hono-object.md#mount",
415
+ "source_chunk_ids": [
416
+ "app-hono-object.md#mount"
417
+ ],
418
+ "source_anchor": "mount",
419
+ "evidence_quote": null,
420
+ "lang": "en",
421
+ "confidence": 0.5,
422
+ "extraction_method": "heuristic"
423
+ },
424
+ {
425
+ "id": "ittyrouter#function",
426
+ "name": "IttyRouter",
427
+ "qualified_name": "IttyRouter",
428
+ "container": null,
429
+ "overload_key": null,
430
+ "kind": "function",
431
+ "signature": "IttyRouter()",
432
+ "params": [],
433
+ "returns": null,
434
+ "deprecated": null,
435
+ "since_version": null,
436
+ "source_doc_id": "app-hono-object.md",
437
+ "source_chunk_id": "app-hono-object.md#mount",
438
+ "source_chunk_ids": [
439
+ "app-hono-object.md#mount"
440
+ ],
441
+ "source_anchor": "mount",
442
+ "evidence_quote": null,
443
+ "lang": "en",
444
+ "confidence": 0.5,
445
+ "extraction_method": "heuristic"
446
+ },
447
+ {
448
+ "id": "ittyrouter.get#function",
449
+ "name": "ittyRouter.get",
450
+ "qualified_name": "ittyRouter.get",
451
+ "container": null,
452
+ "overload_key": null,
453
+ "kind": "function",
454
+ "signature": "ittyRouter.get('/hello', ()",
455
+ "params": [],
456
+ "returns": null,
457
+ "deprecated": null,
458
+ "since_version": null,
459
+ "source_doc_id": "app-hono-object.md",
460
+ "source_chunk_id": "app-hono-object.md#mount",
461
+ "source_chunk_ids": [
462
+ "app-hono-object.md#mount"
463
+ ],
464
+ "source_anchor": "mount",
465
+ "evidence_quote": null,
466
+ "lang": "en",
467
+ "confidence": 0.5,
468
+ "extraction_method": "heuristic"
469
+ },
470
+ {
471
+ "id": "response#function",
472
+ "name": "Response",
473
+ "qualified_name": "Response",
474
+ "container": null,
475
+ "overload_key": null,
476
+ "kind": "function",
477
+ "signature": "Response('Hello from itty-router')",
478
+ "params": [],
479
+ "returns": null,
480
+ "deprecated": null,
481
+ "since_version": null,
482
+ "source_doc_id": "app-hono-object.md",
483
+ "source_chunk_id": "app-hono-object.md#mount",
484
+ "source_chunk_ids": [
485
+ "app-hono-object.md#mount"
486
+ ],
487
+ "source_anchor": "mount",
488
+ "evidence_quote": null,
489
+ "lang": "en",
490
+ "confidence": 0.5,
491
+ "extraction_method": "heuristic"
492
+ },
493
+ {
494
+ "id": "app.mount#function",
495
+ "name": "app.mount",
496
+ "qualified_name": "app.mount",
497
+ "container": null,
498
+ "overload_key": null,
499
+ "kind": "function",
500
+ "signature": "app.mount('/itty-router', ittyRouter.handle)",
501
+ "params": [
502
+ {
503
+ "name": "ittyRouter.handle"
504
+ }
505
+ ],
506
+ "returns": null,
507
+ "deprecated": null,
508
+ "since_version": null,
509
+ "source_doc_id": "app-hono-object.md",
510
+ "source_chunk_id": "app-hono-object.md#mount",
511
+ "source_chunk_ids": [
512
+ "app-hono-object.md#mount"
513
+ ],
514
+ "source_anchor": "mount",
515
+ "evidence_quote": null,
516
+ "lang": "en",
517
+ "confidence": 0.5,
518
+ "extraction_method": "heuristic"
519
+ },
520
+ {
521
+ "id": "app.get#function",
522
+ "name": "app.get",
523
+ "qualified_name": "app.get",
524
+ "container": null,
525
+ "overload_key": null,
526
+ "kind": "function",
527
+ "signature": "app.get('/hello')",
528
+ "params": [],
529
+ "returns": null,
530
+ "deprecated": null,
531
+ "since_version": null,
532
+ "source_doc_id": "app-hono-object.md",
533
+ "source_chunk_id": "app-hono-object.md#strict-mode",
534
+ "source_chunk_ids": [
535
+ "app-hono-object.md#strict-mode"
536
+ ],
537
+ "source_anchor": "strict-mode",
538
+ "evidence_quote": null,
539
+ "lang": "en",
540
+ "confidence": 0.5,
541
+ "extraction_method": "heuristic"
542
+ },
543
+ {
544
+ "id": "app.use#function",
545
+ "name": "app.use",
546
+ "qualified_name": "app.use",
547
+ "container": null,
548
+ "overload_key": null,
549
+ "kind": "function",
550
+ "signature": "app.use('/auth/*', async (c, next)",
551
+ "params": [
552
+ {
553
+ "name": "async (c"
554
+ },
555
+ {
556
+ "name": "next"
557
+ }
558
+ ],
559
+ "returns": null,
560
+ "deprecated": null,
561
+ "since_version": null,
562
+ "source_doc_id": "app-hono-object.md",
563
+ "source_chunk_id": "app-hono-object.md#generics",
564
+ "source_chunk_ids": [
565
+ "app-hono-object.md#generics"
566
+ ],
567
+ "source_anchor": "generics",
568
+ "evidence_quote": null,
569
+ "lang": "en",
570
+ "confidence": 0.5,
571
+ "extraction_method": "heuristic"
572
+ },
573
+ {
574
+ "id": "c.set#function",
575
+ "name": "c.set",
576
+ "qualified_name": "c.set",
577
+ "container": null,
578
+ "overload_key": null,
579
+ "kind": "function",
580
+ "signature": "c.set('user', user)",
581
+ "params": [
582
+ {
583
+ "name": "user"
584
+ }
585
+ ],
586
+ "returns": null,
587
+ "deprecated": null,
588
+ "since_version": null,
589
+ "source_doc_id": "app-hono-object.md",
590
+ "source_chunk_id": "app-hono-object.md#generics",
591
+ "source_chunk_ids": [
592
+ "app-hono-object.md#generics"
593
+ ],
594
+ "source_anchor": "generics",
595
+ "evidence_quote": null,
596
+ "lang": "en",
597
+ "confidence": 0.5,
598
+ "extraction_method": "heuristic"
599
+ },
600
+ {
601
+ "id": "next#function",
602
+ "name": "next",
603
+ "qualified_name": "next",
604
+ "container": null,
605
+ "overload_key": null,
606
+ "kind": "function",
607
+ "signature": "next()",
608
+ "params": [],
609
+ "returns": null,
610
+ "deprecated": null,
611
+ "since_version": null,
612
+ "source_doc_id": "app-hono-object.md",
613
+ "source_chunk_id": "app-hono-object.md#generics",
614
+ "source_chunk_ids": [
615
+ "app-hono-object.md#generics"
616
+ ],
617
+ "source_anchor": "generics",
618
+ "evidence_quote": null,
619
+ "lang": "en",
620
+ "confidence": 0.5,
621
+ "extraction_method": "heuristic"
622
+ },
623
+ {
624
+ "id": "c.json#function",
625
+ "name": "c.json",
626
+ "qualified_name": "c.json",
627
+ "container": null,
628
+ "overload_key": null,
629
+ "kind": "function",
630
+ "signature": "c.json({ message: 'You are authorized' })",
631
+ "params": [],
632
+ "returns": null,
633
+ "deprecated": null,
634
+ "since_version": null,
635
+ "source_doc_id": "bearer-auth-middleware.md",
636
+ "source_chunk_id": "bearer-auth-middleware.md#usage",
637
+ "source_chunk_ids": [
638
+ "bearer-auth-middleware.md#usage"
639
+ ],
640
+ "source_anchor": "usage",
641
+ "evidence_quote": null,
642
+ "lang": "en",
643
+ "confidence": 0.5,
644
+ "extraction_method": "heuristic"
645
+ },
646
+ {
647
+ "id": "app.post#function",
648
+ "name": "app.post",
649
+ "qualified_name": "app.post",
650
+ "container": null,
651
+ "overload_key": null,
652
+ "kind": "function",
653
+ "signature": "app.post('/api/page', bearerAuth({ token })",
654
+ "params": [
655
+ {
656
+ "name": "bearerAuth({ token }"
657
+ }
658
+ ],
659
+ "returns": null,
660
+ "deprecated": null,
661
+ "since_version": null,
662
+ "source_doc_id": "bearer-auth-middleware.md",
663
+ "source_chunk_id": "bearer-auth-middleware.md#usage",
664
+ "source_chunk_ids": [
665
+ "bearer-auth-middleware.md#usage"
666
+ ],
667
+ "source_anchor": "usage",
668
+ "evidence_quote": null,
669
+ "lang": "en",
670
+ "confidence": 0.5,
671
+ "extraction_method": "heuristic"
672
+ },
673
+ {
674
+ "id": "tokens#function",
675
+ "name": "tokens",
676
+ "qualified_name": "tokens",
677
+ "container": null,
678
+ "overload_key": null,
679
+ "kind": "function",
680
+ "signature": "tokens(E.g., any valid token can read but create/update/delete are restricted to a privileged token)",
681
+ "params": [
682
+ {
683
+ "name": "E.g."
684
+ },
685
+ {
686
+ "name": "any valid token can read but create/update/delete are restricted to a privileged token"
687
+ }
688
+ ],
689
+ "returns": null,
690
+ "deprecated": null,
691
+ "since_version": null,
692
+ "source_doc_id": "bearer-auth-middleware.md",
693
+ "source_chunk_id": "bearer-auth-middleware.md#usage",
694
+ "source_chunk_ids": [
695
+ "bearer-auth-middleware.md#usage"
696
+ ],
697
+ "source_anchor": "usage",
698
+ "evidence_quote": null,
699
+ "lang": "en",
700
+ "confidence": 0.5,
701
+ "extraction_method": "heuristic"
702
+ },
703
+ {
704
+ "id": "app.on#function",
705
+ "name": "app.on",
706
+ "qualified_name": "app.on",
707
+ "container": null,
708
+ "overload_key": null,
709
+ "kind": "function",
710
+ "signature": "app.on('GET', '/api/page/*', async (c, next)",
711
+ "params": [
712
+ {
713
+ "name": "async (c"
714
+ },
715
+ {
716
+ "name": "next"
717
+ }
718
+ ],
719
+ "returns": null,
720
+ "deprecated": null,
721
+ "since_version": null,
722
+ "source_doc_id": "bearer-auth-middleware.md",
723
+ "source_chunk_id": "bearer-auth-middleware.md#usage",
724
+ "source_chunk_ids": [
725
+ "bearer-auth-middleware.md#usage"
726
+ ],
727
+ "source_anchor": "usage",
728
+ "evidence_quote": null,
729
+ "lang": "en",
730
+ "confidence": 0.5,
731
+ "extraction_method": "heuristic"
732
+ },
733
+ {
734
+ "id": "bearerauth#function",
735
+ "name": "bearerAuth",
736
+ "qualified_name": "bearerAuth",
737
+ "container": null,
738
+ "overload_key": null,
739
+ "kind": "function",
740
+ "signature": "bearerAuth({ token: [readToken, privilegedToken] })",
741
+ "params": [
742
+ {
743
+ "name": "privilegedToken] }"
744
+ }
745
+ ],
746
+ "returns": null,
747
+ "deprecated": null,
748
+ "since_version": null,
749
+ "source_doc_id": "bearer-auth-middleware.md",
750
+ "source_chunk_id": "bearer-auth-middleware.md#usage",
751
+ "source_chunk_ids": [
752
+ "bearer-auth-middleware.md#usage"
753
+ ],
754
+ "source_anchor": "usage",
755
+ "evidence_quote": null,
756
+ "lang": "en",
757
+ "confidence": 0.5,
758
+ "extraction_method": "heuristic"
759
+ },
760
+ {
761
+ "id": "bearer#function",
762
+ "name": "bearer",
763
+ "qualified_name": "bearer",
764
+ "container": null,
765
+ "overload_key": null,
766
+ "kind": "function",
767
+ "signature": "bearer(c, next)",
768
+ "params": [
769
+ {
770
+ "name": "c"
771
+ },
772
+ {
773
+ "name": "next"
774
+ }
775
+ ],
776
+ "returns": null,
777
+ "deprecated": null,
778
+ "since_version": null,
779
+ "source_doc_id": "bearer-auth-middleware.md",
780
+ "source_chunk_id": "bearer-auth-middleware.md#usage",
781
+ "source_chunk_ids": [
782
+ "bearer-auth-middleware.md#usage"
783
+ ],
784
+ "source_anchor": "usage",
785
+ "evidence_quote": null,
786
+ "lang": "en",
787
+ "confidence": 0.5,
788
+ "extraction_method": "heuristic"
789
+ },
790
+ {
791
+ "id": "prefix#function",
792
+ "name": "prefix",
793
+ "qualified_name": "prefix",
794
+ "container": null,
795
+ "overload_key": null,
796
+ "kind": "function",
797
+ "signature": "prefix(or known as `schema`)",
798
+ "params": [
799
+ {
800
+ "name": "or known as `schema`"
801
+ }
802
+ ],
803
+ "returns": null,
804
+ "deprecated": null,
805
+ "since_version": null,
806
+ "source_doc_id": "bearer-auth-middleware.md",
807
+ "source_chunk_id": "bearer-auth-middleware.md#badge-typeinfo-textoptional-prefix-string",
808
+ "source_chunk_ids": [
809
+ "bearer-auth-middleware.md#badge-typeinfo-textoptional-prefix-string"
810
+ ],
811
+ "source_anchor": "badge-typeinfo-textoptional-prefix-string",
812
+ "evidence_quote": null,
813
+ "lang": "en",
814
+ "confidence": 0.5,
815
+ "extraction_method": "heuristic"
816
+ },
817
+ {
818
+ "id": "c.req.param#function",
819
+ "name": "c.req.param",
820
+ "qualified_name": "c.req.param",
821
+ "container": null,
822
+ "overload_key": null,
823
+ "kind": "function",
824
+ "signature": "c.req.param('id')",
825
+ "params": [],
826
+ "returns": null,
827
+ "deprecated": null,
828
+ "since_version": null,
829
+ "source_doc_id": "best-practices.md",
830
+ "source_chunk_id": "best-practices.md#dont-make-controllers-when-possible",
831
+ "source_chunk_ids": [
832
+ "best-practices.md#dont-make-controllers-when-possible"
833
+ ],
834
+ "source_anchor": "dont-make-controllers-when-possible",
835
+ "evidence_quote": null,
836
+ "lang": "en",
837
+ "confidence": 0.5,
838
+ "extraction_method": "heuristic"
839
+ },
840
+ {
841
+ "id": "factory.createhandlers#function",
842
+ "name": "factory.createHandlers",
843
+ "qualified_name": "factory.createHandlers",
844
+ "container": null,
845
+ "overload_key": null,
846
+ "kind": "function",
847
+ "signature": "factory.createHandlers()",
848
+ "params": [],
849
+ "returns": null,
850
+ "deprecated": null,
851
+ "since_version": null,
852
+ "source_doc_id": "best-practices.md",
853
+ "source_chunk_id": "best-practices.md#factorycreatehandlers-in-honofactory",
854
+ "source_chunk_ids": [
855
+ "best-practices.md#factorycreatehandlers-in-honofactory"
856
+ ],
857
+ "source_anchor": "factorycreatehandlers-in-honofactory",
858
+ "evidence_quote": null,
859
+ "lang": "en",
860
+ "confidence": 0.5,
861
+ "extraction_method": "heuristic"
862
+ },
863
+ {
864
+ "id": "createfactory#function",
865
+ "name": "createFactory",
866
+ "qualified_name": "createFactory",
867
+ "container": null,
868
+ "overload_key": null,
869
+ "kind": "function",
870
+ "signature": "createFactory()",
871
+ "params": [],
872
+ "returns": null,
873
+ "deprecated": null,
874
+ "since_version": null,
875
+ "source_doc_id": "best-practices.md",
876
+ "source_chunk_id": "best-practices.md#factorycreatehandlers-in-honofactory",
877
+ "source_chunk_ids": [
878
+ "best-practices.md#factorycreatehandlers-in-honofactory"
879
+ ],
880
+ "source_anchor": "factorycreatehandlers-in-honofactory",
881
+ "evidence_quote": null,
882
+ "lang": "en",
883
+ "confidence": 0.5,
884
+ "extraction_method": "heuristic"
885
+ },
886
+ {
887
+ "id": "factory.createmiddleware#function",
888
+ "name": "factory.createMiddleware",
889
+ "qualified_name": "factory.createMiddleware",
890
+ "container": null,
891
+ "overload_key": null,
892
+ "kind": "function",
893
+ "signature": "factory.createMiddleware(async (c, next)",
894
+ "params": [
895
+ {
896
+ "name": "async (c"
897
+ },
898
+ {
899
+ "name": "next"
900
+ }
901
+ ],
902
+ "returns": null,
903
+ "deprecated": null,
904
+ "since_version": null,
905
+ "source_doc_id": "best-practices.md",
906
+ "source_chunk_id": "best-practices.md#factorycreatehandlers-in-honofactory",
907
+ "source_chunk_ids": [
908
+ "best-practices.md#factorycreatehandlers-in-honofactory"
909
+ ],
910
+ "source_anchor": "factorycreatehandlers-in-honofactory",
911
+ "evidence_quote": null,
912
+ "lang": "en",
913
+ "confidence": 0.5,
914
+ "extraction_method": "heuristic"
915
+ },
916
+ {
917
+ "id": "app.route#function",
918
+ "name": "app.route",
919
+ "qualified_name": "app.route",
920
+ "container": null,
921
+ "overload_key": null,
922
+ "kind": "function",
923
+ "signature": "app.route()",
924
+ "params": [],
925
+ "returns": null,
926
+ "deprecated": null,
927
+ "since_version": null,
928
+ "source_doc_id": "best-practices.md",
929
+ "source_chunk_id": "best-practices.md#building-a-larger-application",
930
+ "source_chunk_ids": [
931
+ "best-practices.md#building-a-larger-application"
932
+ ],
933
+ "source_anchor": "building-a-larger-application",
934
+ "evidence_quote": null,
935
+ "lang": "en",
936
+ "confidence": 0.5,
937
+ "extraction_method": "heuristic"
938
+ },
939
+ {
940
+ "id": "get#function",
941
+ "name": "get",
942
+ "qualified_name": "get",
943
+ "container": null,
944
+ "overload_key": null,
945
+ "kind": "function",
946
+ "signature": "get('/', (c)",
947
+ "params": [],
948
+ "returns": null,
949
+ "deprecated": null,
950
+ "since_version": null,
951
+ "source_doc_id": "best-practices.md",
952
+ "source_chunk_id": "best-practices.md#if-you-want-to-use-rpc-features",
953
+ "source_chunk_ids": [
954
+ "best-practices.md#if-you-want-to-use-rpc-features"
955
+ ],
956
+ "source_anchor": "if-you-want-to-use-rpc-features",
957
+ "evidence_quote": null,
958
+ "lang": "en",
959
+ "confidence": 0.5,
960
+ "extraction_method": "heuristic"
961
+ },
962
+ {
963
+ "id": "post#function",
964
+ "name": "post",
965
+ "qualified_name": "post",
966
+ "container": null,
967
+ "overload_key": null,
968
+ "kind": "function",
969
+ "signature": "post('/', (c)",
970
+ "params": [],
971
+ "returns": null,
972
+ "deprecated": null,
973
+ "since_version": null,
974
+ "source_doc_id": "best-practices.md",
975
+ "source_chunk_id": "best-practices.md#if-you-want-to-use-rpc-features",
976
+ "source_chunk_ids": [
977
+ "best-practices.md#if-you-want-to-use-rpc-features"
978
+ ],
979
+ "source_anchor": "if-you-want-to-use-rpc-features",
980
+ "evidence_quote": null,
981
+ "lang": "en",
982
+ "confidence": 0.5,
983
+ "extraction_method": "heuristic"
984
+ },
985
+ {
986
+ "id": "getusers#function",
987
+ "name": "getUsers",
988
+ "qualified_name": "getUsers",
989
+ "container": null,
990
+ "overload_key": null,
991
+ "kind": "function",
992
+ "signature": "getUsers()",
993
+ "params": [],
994
+ "returns": null,
995
+ "deprecated": null,
996
+ "since_version": null,
997
+ "source_doc_id": "best-practices.md",
998
+ "source_chunk_id": "best-practices.md#do-use-get-routes-for-head-requests",
999
+ "source_chunk_ids": [
1000
+ "best-practices.md#do-use-get-routes-for-head-requests"
1001
+ ],
1002
+ "source_anchor": "do-use-get-routes-for-head-requests",
1003
+ "evidence_quote": null,
1004
+ "lang": "en",
1005
+ "confidence": 0.5,
1006
+ "extraction_method": "heuristic"
1007
+ },
1008
+ {
1009
+ "id": "c.header#function",
1010
+ "name": "c.header",
1011
+ "qualified_name": "c.header",
1012
+ "container": null,
1013
+ "overload_key": null,
1014
+ "kind": "function",
1015
+ "signature": "c.header('X-Total-Count', users.length.toString()",
1016
+ "params": [
1017
+ {
1018
+ "name": "users.length.toString("
1019
+ }
1020
+ ],
1021
+ "returns": null,
1022
+ "deprecated": null,
1023
+ "since_version": null,
1024
+ "source_doc_id": "best-practices.md",
1025
+ "source_chunk_id": "best-practices.md#do-use-get-routes-for-head-requests",
1026
+ "source_chunk_ids": [
1027
+ "best-practices.md#do-use-get-routes-for-head-requests"
1028
+ ],
1029
+ "source_anchor": "do-use-get-routes-for-head-requests",
1030
+ "evidence_quote": null,
1031
+ "lang": "en",
1032
+ "confidence": 0.5,
1033
+ "extraction_method": "heuristic"
1034
+ },
1035
+ {
1036
+ "id": "body#function",
1037
+ "name": "body",
1038
+ "qualified_name": "body",
1039
+ "container": null,
1040
+ "overload_key": null,
1041
+ "kind": "function",
1042
+ "signature": "body(null)",
1043
+ "params": [
1044
+ {
1045
+ "name": "null"
1046
+ }
1047
+ ],
1048
+ "returns": null,
1049
+ "deprecated": null,
1050
+ "since_version": null,
1051
+ "source_doc_id": "best-practices.md",
1052
+ "source_chunk_id": "best-practices.md#do-use-get-routes-for-head-requests",
1053
+ "source_chunk_ids": [
1054
+ "best-practices.md#do-use-get-routes-for-head-requests"
1055
+ ],
1056
+ "source_anchor": "do-use-get-routes-for-head-requests",
1057
+ "evidence_quote": null,
1058
+ "lang": "en",
1059
+ "confidence": 0.5,
1060
+ "extraction_method": "heuristic"
1061
+ },
1062
+ {
1063
+ "id": "app.head#function",
1064
+ "name": "app.head",
1065
+ "qualified_name": "app.head",
1066
+ "container": null,
1067
+ "overload_key": null,
1068
+ "kind": "function",
1069
+ "signature": "app.head('/api/users', (c)",
1070
+ "params": [],
1071
+ "returns": null,
1072
+ "deprecated": null,
1073
+ "since_version": null,
1074
+ "source_doc_id": "best-practices.md",
1075
+ "source_chunk_id": "best-practices.md#dont-try-to-create-dedicated-head-handlers",
1076
+ "source_chunk_ids": [
1077
+ "best-practices.md#dont-try-to-create-dedicated-head-handlers"
1078
+ ],
1079
+ "source_anchor": "dont-try-to-create-dedicated-head-handlers",
1080
+ "evidence_quote": null,
1081
+ "lang": "en",
1082
+ "confidence": 0.5,
1083
+ "extraction_method": "heuristic"
1084
+ },
1085
+ {
1086
+ "id": "on#function",
1087
+ "name": "on",
1088
+ "qualified_name": "on",
1089
+ "container": null,
1090
+ "overload_key": null,
1091
+ "kind": "function",
1092
+ "signature": "on()",
1093
+ "params": [],
1094
+ "returns": null,
1095
+ "deprecated": null,
1096
+ "since_version": null,
1097
+ "source_doc_id": "best-practices.md",
1098
+ "source_chunk_id": "best-practices.md#dont-try-to-create-dedicated-head-handlers",
1099
+ "source_chunk_ids": [
1100
+ "best-practices.md#dont-try-to-create-dedicated-head-handlers"
1101
+ ],
1102
+ "source_anchor": "dont-try-to-create-dedicated-head-handlers",
1103
+ "evidence_quote": null,
1104
+ "lang": "en",
1105
+ "confidence": 0.5,
1106
+ "extraction_method": "heuristic"
1107
+ },
1108
+ {
1109
+ "id": "middleware#function",
1110
+ "name": "middleware",
1111
+ "qualified_name": "middleware",
1112
+ "container": null,
1113
+ "overload_key": null,
1114
+ "kind": "function",
1115
+ "signature": "middleware(like compression)",
1116
+ "params": [
1117
+ {
1118
+ "name": "like compression"
1119
+ }
1120
+ ],
1121
+ "returns": null,
1122
+ "deprecated": null,
1123
+ "since_version": null,
1124
+ "source_doc_id": "best-practices.md",
1125
+ "source_chunk_id": "best-practices.md#performance-considerations",
1126
+ "source_chunk_ids": [
1127
+ "best-practices.md#performance-considerations"
1128
+ ],
1129
+ "source_anchor": "performance-considerations",
1130
+ "evidence_quote": null,
1131
+ "lang": "en",
1132
+ "confidence": 0.5,
1133
+ "extraction_method": "heuristic"
1134
+ },
1135
+ {
1136
+ "id": "it#function",
1137
+ "name": "it",
1138
+ "qualified_name": "it",
1139
+ "container": null,
1140
+ "overload_key": null,
1141
+ "kind": "function",
1142
+ "signature": "it('handles HEAD requests correctly', async ()",
1143
+ "params": [
1144
+ {
1145
+ "name": "async ("
1146
+ }
1147
+ ],
1148
+ "returns": null,
1149
+ "deprecated": null,
1150
+ "since_version": null,
1151
+ "source_doc_id": "best-practices.md",
1152
+ "source_chunk_id": "best-practices.md#testing-head-requests",
1153
+ "source_chunk_ids": [
1154
+ "best-practices.md#testing-head-requests"
1155
+ ],
1156
+ "source_anchor": "testing-head-requests",
1157
+ "evidence_quote": null,
1158
+ "lang": "en",
1159
+ "confidence": 0.5,
1160
+ "extraction_method": "heuristic"
1161
+ },
1162
+ {
1163
+ "id": "runtimes#function",
1164
+ "name": "runtimes",
1165
+ "qualified_name": "runtimes",
1166
+ "container": null,
1167
+ "overload_key": null,
1168
+ "kind": "function",
1169
+ "signature": "runtimes(Cloudflare Workers, Deno, Bun, Node.js)",
1170
+ "params": [
1171
+ {
1172
+ "name": "Cloudflare Workers"
1173
+ },
1174
+ {
1175
+ "name": "Deno"
1176
+ },
1177
+ {
1178
+ "name": "Bun"
1179
+ },
1180
+ {
1181
+ "name": "Node.js"
1182
+ }
1183
+ ],
1184
+ "returns": null,
1185
+ "deprecated": null,
1186
+ "since_version": null,
1187
+ "source_doc_id": "best-practices.md",
1188
+ "source_chunk_id": "best-practices.md#notes",
1189
+ "source_chunk_ids": [
1190
+ "best-practices.md#notes"
1191
+ ],
1192
+ "source_anchor": "notes",
1193
+ "evidence_quote": null,
1194
+ "lang": "en",
1195
+ "confidence": 0.5,
1196
+ "extraction_method": "heuristic"
1197
+ },
1198
+ {
1199
+ "id": "c.req.header#function",
1200
+ "name": "c.req.header",
1201
+ "qualified_name": "c.req.header",
1202
+ "container": null,
1203
+ "overload_key": null,
1204
+ "kind": "function",
1205
+ "signature": "c.req.header('User-Agent')",
1206
+ "params": [],
1207
+ "returns": null,
1208
+ "deprecated": null,
1209
+ "since_version": null,
1210
+ "source_doc_id": "context.md",
1211
+ "source_chunk_id": "context.md#req",
1212
+ "source_chunk_ids": [
1213
+ "context.md#req"
1214
+ ],
1215
+ "source_anchor": "req",
1216
+ "evidence_quote": null,
1217
+ "lang": "en",
1218
+ "confidence": 0.5,
1219
+ "extraction_method": "heuristic"
1220
+ },
1221
+ {
1222
+ "id": "status#function",
1223
+ "name": "status",
1224
+ "qualified_name": "status",
1225
+ "container": null,
1226
+ "overload_key": null,
1227
+ "kind": "function",
1228
+ "signature": "status()",
1229
+ "params": [],
1230
+ "returns": null,
1231
+ "deprecated": null,
1232
+ "since_version": null,
1233
+ "source_doc_id": "context.md",
1234
+ "source_chunk_id": "context.md#status",
1235
+ "source_chunk_ids": [
1236
+ "context.md#status"
1237
+ ],
1238
+ "source_anchor": "status",
1239
+ "evidence_quote": null,
1240
+ "lang": "en",
1241
+ "confidence": 0.5,
1242
+ "extraction_method": "heuristic"
1243
+ },
1244
+ {
1245
+ "id": "c.status#function",
1246
+ "name": "c.status",
1247
+ "qualified_name": "c.status",
1248
+ "container": null,
1249
+ "overload_key": null,
1250
+ "kind": "function",
1251
+ "signature": "c.status()",
1252
+ "params": [],
1253
+ "returns": null,
1254
+ "deprecated": null,
1255
+ "since_version": null,
1256
+ "source_doc_id": "context.md",
1257
+ "source_chunk_id": "context.md#status",
1258
+ "source_chunk_ids": [
1259
+ "context.md#status"
1260
+ ],
1261
+ "source_anchor": "status",
1262
+ "evidence_quote": null,
1263
+ "lang": "en",
1264
+ "confidence": 0.5,
1265
+ "extraction_method": "heuristic"
1266
+ },
1267
+ {
1268
+ "id": "header#function",
1269
+ "name": "header",
1270
+ "qualified_name": "header",
1271
+ "container": null,
1272
+ "overload_key": null,
1273
+ "kind": "function",
1274
+ "signature": "header()",
1275
+ "params": [],
1276
+ "returns": null,
1277
+ "deprecated": null,
1278
+ "since_version": null,
1279
+ "source_doc_id": "context.md",
1280
+ "source_chunk_id": "context.md#header",
1281
+ "source_chunk_ids": [
1282
+ "context.md#header"
1283
+ ],
1284
+ "source_anchor": "header",
1285
+ "evidence_quote": null,
1286
+ "lang": "en",
1287
+ "confidence": 0.5,
1288
+ "extraction_method": "heuristic"
1289
+ },
1290
+ {
1291
+ "id": "c.html#function",
1292
+ "name": "c.html",
1293
+ "qualified_name": "c.html",
1294
+ "container": null,
1295
+ "overload_key": null,
1296
+ "kind": "function",
1297
+ "signature": "c.html()",
1298
+ "params": [],
1299
+ "returns": null,
1300
+ "deprecated": null,
1301
+ "since_version": null,
1302
+ "source_doc_id": "context.md",
1303
+ "source_chunk_id": "context.md#body",
1304
+ "source_chunk_ids": [
1305
+ "context.md#body"
1306
+ ],
1307
+ "source_anchor": "body",
1308
+ "evidence_quote": null,
1309
+ "lang": "en",
1310
+ "confidence": 0.5,
1311
+ "extraction_method": "heuristic"
1312
+ },
1313
+ {
1314
+ "id": "c.body#function",
1315
+ "name": "c.body",
1316
+ "qualified_name": "c.body",
1317
+ "container": null,
1318
+ "overload_key": null,
1319
+ "kind": "function",
1320
+ "signature": "c.body('Thank you for coming')",
1321
+ "params": [],
1322
+ "returns": null,
1323
+ "deprecated": null,
1324
+ "since_version": null,
1325
+ "source_doc_id": "context.md",
1326
+ "source_chunk_id": "context.md#body",
1327
+ "source_chunk_ids": [
1328
+ "context.md#body"
1329
+ ],
1330
+ "source_anchor": "body",
1331
+ "evidence_quote": null,
1332
+ "lang": "en",
1333
+ "confidence": 0.5,
1334
+ "extraction_method": "heuristic"
1335
+ },
1336
+ {
1337
+ "id": "text#function",
1338
+ "name": "text",
1339
+ "qualified_name": "text",
1340
+ "container": null,
1341
+ "overload_key": null,
1342
+ "kind": "function",
1343
+ "signature": "text()",
1344
+ "params": [],
1345
+ "returns": null,
1346
+ "deprecated": null,
1347
+ "since_version": null,
1348
+ "source_doc_id": "context.md",
1349
+ "source_chunk_id": "context.md#text",
1350
+ "source_chunk_ids": [
1351
+ "context.md#text"
1352
+ ],
1353
+ "source_anchor": "text",
1354
+ "evidence_quote": null,
1355
+ "lang": "en",
1356
+ "confidence": 0.5,
1357
+ "extraction_method": "heuristic"
1358
+ },
1359
+ {
1360
+ "id": "json#function",
1361
+ "name": "json",
1362
+ "qualified_name": "json",
1363
+ "container": null,
1364
+ "overload_key": null,
1365
+ "kind": "function",
1366
+ "signature": "json()",
1367
+ "params": [],
1368
+ "returns": null,
1369
+ "deprecated": null,
1370
+ "since_version": null,
1371
+ "source_doc_id": "context.md",
1372
+ "source_chunk_id": "context.md#json",
1373
+ "source_chunk_ids": [
1374
+ "context.md#json"
1375
+ ],
1376
+ "source_anchor": "json",
1377
+ "evidence_quote": null,
1378
+ "lang": "en",
1379
+ "confidence": 0.5,
1380
+ "extraction_method": "heuristic"
1381
+ },
1382
+ {
1383
+ "id": "html#function",
1384
+ "name": "html",
1385
+ "qualified_name": "html",
1386
+ "container": null,
1387
+ "overload_key": null,
1388
+ "kind": "function",
1389
+ "signature": "html()",
1390
+ "params": [],
1391
+ "returns": null,
1392
+ "deprecated": null,
1393
+ "since_version": null,
1394
+ "source_doc_id": "context.md",
1395
+ "source_chunk_id": "context.md#html",
1396
+ "source_chunk_ids": [
1397
+ "context.md#html"
1398
+ ],
1399
+ "source_anchor": "html",
1400
+ "evidence_quote": null,
1401
+ "lang": "en",
1402
+ "confidence": 0.5,
1403
+ "extraction_method": "heuristic"
1404
+ },
1405
+ {
1406
+ "id": "notfound#function",
1407
+ "name": "notFound",
1408
+ "qualified_name": "notFound",
1409
+ "container": null,
1410
+ "overload_key": null,
1411
+ "kind": "function",
1412
+ "signature": "notFound()",
1413
+ "params": [],
1414
+ "returns": null,
1415
+ "deprecated": null,
1416
+ "since_version": null,
1417
+ "source_doc_id": "context.md",
1418
+ "source_chunk_id": "context.md#notfound",
1419
+ "source_chunk_ids": [
1420
+ "context.md#notfound"
1421
+ ],
1422
+ "source_anchor": "notfound",
1423
+ "evidence_quote": null,
1424
+ "lang": "en",
1425
+ "confidence": 0.5,
1426
+ "extraction_method": "heuristic"
1427
+ },
1428
+ {
1429
+ "id": "c.notfound#function",
1430
+ "name": "c.notFound",
1431
+ "qualified_name": "c.notFound",
1432
+ "container": null,
1433
+ "overload_key": null,
1434
+ "kind": "function",
1435
+ "signature": "c.notFound()",
1436
+ "params": [],
1437
+ "returns": null,
1438
+ "deprecated": null,
1439
+ "since_version": null,
1440
+ "source_doc_id": "context.md",
1441
+ "source_chunk_id": "context.md#notfound",
1442
+ "source_chunk_ids": [
1443
+ "context.md#notfound"
1444
+ ],
1445
+ "source_anchor": "notfound",
1446
+ "evidence_quote": null,
1447
+ "lang": "en",
1448
+ "confidence": 0.5,
1449
+ "extraction_method": "heuristic"
1450
+ },
1451
+ {
1452
+ "id": "redirect#function",
1453
+ "name": "redirect",
1454
+ "qualified_name": "redirect",
1455
+ "container": null,
1456
+ "overload_key": null,
1457
+ "kind": "function",
1458
+ "signature": "redirect()",
1459
+ "params": [],
1460
+ "returns": null,
1461
+ "deprecated": null,
1462
+ "since_version": null,
1463
+ "source_doc_id": "context.md",
1464
+ "source_chunk_id": "context.md#redirect",
1465
+ "source_chunk_ids": [
1466
+ "context.md#redirect"
1467
+ ],
1468
+ "source_anchor": "redirect",
1469
+ "evidence_quote": null,
1470
+ "lang": "en",
1471
+ "confidence": 0.5,
1472
+ "extraction_method": "heuristic"
1473
+ },
1474
+ {
1475
+ "id": "c.redirect#function",
1476
+ "name": "c.redirect",
1477
+ "qualified_name": "c.redirect",
1478
+ "container": null,
1479
+ "overload_key": null,
1480
+ "kind": "function",
1481
+ "signature": "c.redirect('/')",
1482
+ "params": [],
1483
+ "returns": null,
1484
+ "deprecated": null,
1485
+ "since_version": null,
1486
+ "source_doc_id": "context.md",
1487
+ "source_chunk_id": "context.md#redirect",
1488
+ "source_chunk_ids": [
1489
+ "context.md#redirect"
1490
+ ],
1491
+ "source_anchor": "redirect",
1492
+ "evidence_quote": null,
1493
+ "lang": "en",
1494
+ "confidence": 0.5,
1495
+ "extraction_method": "heuristic"
1496
+ },
1497
+ {
1498
+ "id": "c.res.headers.append#function",
1499
+ "name": "c.res.headers.append",
1500
+ "qualified_name": "c.res.headers.append",
1501
+ "container": null,
1502
+ "overload_key": null,
1503
+ "kind": "function",
1504
+ "signature": "c.res.headers.append('X-Debug', 'Debug message')",
1505
+ "params": [],
1506
+ "returns": null,
1507
+ "deprecated": null,
1508
+ "since_version": null,
1509
+ "source_doc_id": "context.md",
1510
+ "source_chunk_id": "context.md#res",
1511
+ "source_chunk_ids": [
1512
+ "context.md#res"
1513
+ ],
1514
+ "source_anchor": "res",
1515
+ "evidence_quote": null,
1516
+ "lang": "en",
1517
+ "confidence": 0.5,
1518
+ "extraction_method": "heuristic"
1519
+ },
1520
+ {
1521
+ "id": "set#function",
1522
+ "name": "set",
1523
+ "qualified_name": "set",
1524
+ "container": null,
1525
+ "overload_key": null,
1526
+ "kind": "function",
1527
+ "signature": "set()",
1528
+ "params": [],
1529
+ "returns": null,
1530
+ "deprecated": null,
1531
+ "since_version": null,
1532
+ "source_doc_id": "context.md",
1533
+ "source_chunk_id": "context.md#set-get",
1534
+ "source_chunk_ids": [
1535
+ "context.md#set-get"
1536
+ ],
1537
+ "source_anchor": "set-get",
1538
+ "evidence_quote": null,
1539
+ "lang": "en",
1540
+ "confidence": 0.5,
1541
+ "extraction_method": "heuristic"
1542
+ },
1543
+ {
1544
+ "id": "c.get#function",
1545
+ "name": "c.get",
1546
+ "qualified_name": "c.get",
1547
+ "container": null,
1548
+ "overload_key": null,
1549
+ "kind": "function",
1550
+ "signature": "c.get('message')",
1551
+ "params": [],
1552
+ "returns": null,
1553
+ "deprecated": null,
1554
+ "since_version": null,
1555
+ "source_doc_id": "context.md",
1556
+ "source_chunk_id": "context.md#set-get",
1557
+ "source_chunk_ids": [
1558
+ "context.md#set-get"
1559
+ ],
1560
+ "source_anchor": "set-get",
1561
+ "evidence_quote": null,
1562
+ "lang": "en",
1563
+ "confidence": 0.5,
1564
+ "extraction_method": "heuristic"
1565
+ },
1566
+ {
1567
+ "id": "c.var.client.onemethod#function",
1568
+ "name": "c.var.client.oneMethod",
1569
+ "qualified_name": "c.var.client.oneMethod",
1570
+ "container": null,
1571
+ "overload_key": null,
1572
+ "kind": "function",
1573
+ "signature": "c.var.client.oneMethod()",
1574
+ "params": [],
1575
+ "returns": null,
1576
+ "deprecated": null,
1577
+ "since_version": null,
1578
+ "source_doc_id": "context.md",
1579
+ "source_chunk_id": "context.md#var",
1580
+ "source_chunk_ids": [
1581
+ "context.md#var"
1582
+ ],
1583
+ "source_anchor": "var",
1584
+ "evidence_quote": null,
1585
+ "lang": "en",
1586
+ "confidence": 0.5,
1587
+ "extraction_method": "heuristic"
1588
+ },
1589
+ {
1590
+ "id": "render#function",
1591
+ "name": "render",
1592
+ "qualified_name": "render",
1593
+ "container": null,
1594
+ "overload_key": null,
1595
+ "kind": "function",
1596
+ "signature": "render()",
1597
+ "params": [],
1598
+ "returns": null,
1599
+ "deprecated": null,
1600
+ "since_version": null,
1601
+ "source_doc_id": "context.md",
1602
+ "source_chunk_id": "context.md#render-setrenderer",
1603
+ "source_chunk_ids": [
1604
+ "context.md#render-setrenderer"
1605
+ ],
1606
+ "source_anchor": "render-setrenderer",
1607
+ "evidence_quote": null,
1608
+ "lang": "en",
1609
+ "confidence": 0.5,
1610
+ "extraction_method": "heuristic"
1611
+ },
1612
+ {
1613
+ "id": "setrenderer#function",
1614
+ "name": "setRenderer",
1615
+ "qualified_name": "setRenderer",
1616
+ "container": null,
1617
+ "overload_key": null,
1618
+ "kind": "function",
1619
+ "signature": "setRenderer()",
1620
+ "params": [],
1621
+ "returns": null,
1622
+ "deprecated": null,
1623
+ "since_version": null,
1624
+ "source_doc_id": "context.md",
1625
+ "source_chunk_id": "context.md#render-setrenderer",
1626
+ "source_chunk_ids": [
1627
+ "context.md#render-setrenderer"
1628
+ ],
1629
+ "source_anchor": "render-setrenderer",
1630
+ "evidence_quote": null,
1631
+ "lang": "en",
1632
+ "confidence": 0.5,
1633
+ "extraction_method": "heuristic"
1634
+ },
1635
+ {
1636
+ "id": "c.setrenderer#function",
1637
+ "name": "c.setRenderer",
1638
+ "qualified_name": "c.setRenderer",
1639
+ "container": null,
1640
+ "overload_key": null,
1641
+ "kind": "function",
1642
+ "signature": "c.setRenderer()",
1643
+ "params": [],
1644
+ "returns": null,
1645
+ "deprecated": null,
1646
+ "since_version": null,
1647
+ "source_doc_id": "context.md",
1648
+ "source_chunk_id": "context.md#render-setrenderer",
1649
+ "source_chunk_ids": [
1650
+ "context.md#render-setrenderer"
1651
+ ],
1652
+ "source_anchor": "render-setrenderer",
1653
+ "evidence_quote": null,
1654
+ "lang": "en",
1655
+ "confidence": 0.5,
1656
+ "extraction_method": "heuristic"
1657
+ },
1658
+ {
1659
+ "id": "c.render#function",
1660
+ "name": "c.render",
1661
+ "qualified_name": "c.render",
1662
+ "container": null,
1663
+ "overload_key": null,
1664
+ "kind": "function",
1665
+ "signature": "c.render()",
1666
+ "params": [],
1667
+ "returns": null,
1668
+ "deprecated": null,
1669
+ "since_version": null,
1670
+ "source_doc_id": "context.md",
1671
+ "source_chunk_id": "context.md#render-setrenderer",
1672
+ "source_chunk_ids": [
1673
+ "context.md#render-setrenderer"
1674
+ ],
1675
+ "source_anchor": "render-setrenderer",
1676
+ "evidence_quote": null,
1677
+ "lang": "en",
1678
+ "confidence": 0.5,
1679
+ "extraction_method": "heuristic"
1680
+ },
1681
+ {
1682
+ "id": "c.executionctx.waituntil#function",
1683
+ "name": "c.executionCtx.waitUntil",
1684
+ "qualified_name": "c.executionCtx.waitUntil",
1685
+ "container": null,
1686
+ "overload_key": null,
1687
+ "kind": "function",
1688
+ "signature": "c.executionCtx.waitUntil(c.env.KV.put(key, data)",
1689
+ "params": [
1690
+ {
1691
+ "name": "c.env.KV.put(key"
1692
+ },
1693
+ {
1694
+ "name": "data"
1695
+ }
1696
+ ],
1697
+ "returns": null,
1698
+ "deprecated": null,
1699
+ "since_version": null,
1700
+ "source_doc_id": "context.md",
1701
+ "source_chunk_id": "context.md#executionctx",
1702
+ "source_chunk_ids": [
1703
+ "context.md#executionctx"
1704
+ ],
1705
+ "source_anchor": "executionctx",
1706
+ "evidence_quote": null,
1707
+ "lang": "en",
1708
+ "confidence": 0.5,
1709
+ "extraction_method": "heuristic"
1710
+ },
1711
+ {
1712
+ "id": "object#function",
1713
+ "name": "object",
1714
+ "qualified_name": "object",
1715
+ "container": null,
1716
+ "overload_key": null,
1717
+ "kind": "function",
1718
+ "signature": "object(only set when using Service Worker syntax)",
1719
+ "params": [
1720
+ {
1721
+ "name": "only set when using Service Worker syntax"
1722
+ }
1723
+ ],
1724
+ "returns": null,
1725
+ "deprecated": null,
1726
+ "since_version": null,
1727
+ "source_doc_id": "context.md",
1728
+ "source_chunk_id": "context.md#event",
1729
+ "source_chunk_ids": [
1730
+ "context.md#event"
1731
+ ],
1732
+ "source_anchor": "event",
1733
+ "evidence_quote": null,
1734
+ "lang": "en",
1735
+ "confidence": 0.5,
1736
+ "extraction_method": "heuristic"
1737
+ },
1738
+ {
1739
+ "id": "c.event.waituntil#function",
1740
+ "name": "c.event.waitUntil",
1741
+ "qualified_name": "c.event.waitUntil",
1742
+ "container": null,
1743
+ "overload_key": null,
1744
+ "kind": "function",
1745
+ "signature": "c.event.waitUntil(c.env.MY_KV.put(key, data)",
1746
+ "params": [
1747
+ {
1748
+ "name": "c.env.MY_KV.put(key"
1749
+ },
1750
+ {
1751
+ "name": "data"
1752
+ }
1753
+ ],
1754
+ "returns": null,
1755
+ "deprecated": null,
1756
+ "since_version": null,
1757
+ "source_doc_id": "context.md",
1758
+ "source_chunk_id": "context.md#event",
1759
+ "source_chunk_ids": [
1760
+ "context.md#event"
1761
+ ],
1762
+ "source_anchor": "event",
1763
+ "evidence_quote": null,
1764
+ "lang": "en",
1765
+ "confidence": 0.5,
1766
+ "extraction_method": "heuristic"
1767
+ },
1768
+ {
1769
+ "id": "c.env.my_kv.get#function",
1770
+ "name": "c.env.MY_KV.get",
1771
+ "qualified_name": "c.env.MY_KV.get",
1772
+ "container": null,
1773
+ "overload_key": null,
1774
+ "kind": "function",
1775
+ "signature": "c.env.MY_KV.get('my-key')",
1776
+ "params": [],
1777
+ "returns": null,
1778
+ "deprecated": null,
1779
+ "since_version": null,
1780
+ "source_doc_id": "context.md",
1781
+ "source_chunk_id": "context.md#env",
1782
+ "source_chunk_ids": [
1783
+ "context.md#env"
1784
+ ],
1785
+ "source_anchor": "env",
1786
+ "evidence_quote": null,
1787
+ "lang": "en",
1788
+ "confidence": 0.5,
1789
+ "extraction_method": "heuristic"
1790
+ },
1791
+ {
1792
+ "id": "createmiddleware#function",
1793
+ "name": "createMiddleware",
1794
+ "qualified_name": "createMiddleware",
1795
+ "container": null,
1796
+ "overload_key": null,
1797
+ "kind": "function",
1798
+ "signature": "createMiddleware(async (c, next)",
1799
+ "params": [
1800
+ {
1801
+ "name": "async (c"
1802
+ },
1803
+ {
1804
+ "name": "next"
1805
+ }
1806
+ ],
1807
+ "returns": null,
1808
+ "deprecated": null,
1809
+ "since_version": null,
1810
+ "source_doc_id": "context.md",
1811
+ "source_chunk_id": "context.md#contextvariablemap",
1812
+ "source_chunk_ids": [
1813
+ "context.md#contextvariablemap"
1814
+ ],
1815
+ "source_anchor": "contextvariablemap",
1816
+ "evidence_quote": null,
1817
+ "lang": "en",
1818
+ "confidence": 0.5,
1819
+ "extraction_method": "heuristic"
1820
+ },
1821
+ {
1822
+ "id": "app.all#function",
1823
+ "name": "app.all",
1824
+ "qualified_name": "app.all",
1825
+ "container": null,
1826
+ "overload_key": null,
1827
+ "kind": "function",
1828
+ "signature": "app.all('/api/abc', (c)",
1829
+ "params": [],
1830
+ "returns": null,
1831
+ "deprecated": null,
1832
+ "since_version": null,
1833
+ "source_doc_id": "cors-middleware.md",
1834
+ "source_chunk_id": "cors-middleware.md#usage",
1835
+ "source_chunk_ids": [
1836
+ "cors-middleware.md#usage"
1837
+ ],
1838
+ "source_anchor": "usage",
1839
+ "evidence_quote": null,
1840
+ "lang": "en",
1841
+ "confidence": 0.5,
1842
+ "extraction_method": "heuristic"
1843
+ },
1844
+ {
1845
+ "id": "origin.endswith#function",
1846
+ "name": "origin.endsWith",
1847
+ "qualified_name": "origin.endsWith",
1848
+ "container": null,
1849
+ "overload_key": null,
1850
+ "kind": "function",
1851
+ "signature": "origin.endsWith('.example.com')",
1852
+ "params": [],
1853
+ "returns": null,
1854
+ "deprecated": null,
1855
+ "since_version": null,
1856
+ "source_doc_id": "cors-middleware.md",
1857
+ "source_chunk_id": "cors-middleware.md#usage",
1858
+ "source_chunk_ids": [
1859
+ "cors-middleware.md#usage"
1860
+ ],
1861
+ "source_anchor": "usage",
1862
+ "evidence_quote": null,
1863
+ "lang": "en",
1864
+ "confidence": 0.5,
1865
+ "extraction_method": "heuristic"
1866
+ },
1867
+ {
1868
+ "id": "cors#function",
1869
+ "name": "cors",
1870
+ "qualified_name": "cors",
1871
+ "container": null,
1872
+ "overload_key": null,
1873
+ "kind": "function",
1874
+ "signature": "cors({\n origin: c.env.CORS_ORIGIN,\n })",
1875
+ "params": [],
1876
+ "returns": null,
1877
+ "deprecated": null,
1878
+ "since_version": null,
1879
+ "source_doc_id": "cors-middleware.md",
1880
+ "source_chunk_id": "cors-middleware.md#environment-dependent-cors-configuration",
1881
+ "source_chunk_ids": [
1882
+ "cors-middleware.md#environment-dependent-cors-configuration"
1883
+ ],
1884
+ "source_anchor": "environment-dependent-cors-configuration",
1885
+ "evidence_quote": null,
1886
+ "lang": "en",
1887
+ "confidence": 0.5,
1888
+ "extraction_method": "heuristic"
1889
+ },
1890
+ {
1891
+ "id": "corsmiddlewarehandler#function",
1892
+ "name": "corsMiddlewareHandler",
1893
+ "qualified_name": "corsMiddlewareHandler",
1894
+ "container": null,
1895
+ "overload_key": null,
1896
+ "kind": "function",
1897
+ "signature": "corsMiddlewareHandler(c, next)",
1898
+ "params": [
1899
+ {
1900
+ "name": "c"
1901
+ },
1902
+ {
1903
+ "name": "next"
1904
+ }
1905
+ ],
1906
+ "returns": null,
1907
+ "deprecated": null,
1908
+ "since_version": null,
1909
+ "source_doc_id": "cors-middleware.md",
1910
+ "source_chunk_id": "cors-middleware.md#environment-dependent-cors-configuration",
1911
+ "source_chunk_ids": [
1912
+ "cors-middleware.md#environment-dependent-cors-configuration"
1913
+ ],
1914
+ "source_anchor": "environment-dependent-cors-configuration",
1915
+ "evidence_quote": null,
1916
+ "lang": "en",
1917
+ "confidence": 0.5,
1918
+ "extraction_method": "heuristic"
1919
+ },
1920
+ {
1921
+ "id": "defineconfig#function",
1922
+ "name": "defineConfig",
1923
+ "qualified_name": "defineConfig",
1924
+ "container": null,
1925
+ "overload_key": null,
1926
+ "kind": "function",
1927
+ "signature": "defineConfig({\n server: {\n cors: false, // disable Vite's built-in CORS setting\n },\n plugins: [cloudflare()",
1928
+ "params": [
1929
+ {
1930
+ "name": "plugins",
1931
+ "type": "[cloudflare("
1932
+ }
1933
+ ],
1934
+ "returns": null,
1935
+ "deprecated": null,
1936
+ "since_version": null,
1937
+ "source_doc_id": "cors-middleware.md",
1938
+ "source_chunk_id": "cors-middleware.md#using-with-vite",
1939
+ "source_chunk_ids": [
1940
+ "cors-middleware.md#using-with-vite"
1941
+ ],
1942
+ "source_anchor": "using-with-vite",
1943
+ "evidence_quote": null,
1944
+ "lang": "en",
1945
+ "confidence": 0.5,
1946
+ "extraction_method": "heuristic"
1947
+ },
1948
+ {
1949
+ "id": "httpexception#function",
1950
+ "name": "HTTPException",
1951
+ "qualified_name": "HTTPException",
1952
+ "container": null,
1953
+ "overload_key": null,
1954
+ "kind": "function",
1955
+ "signature": "HTTPException(401, { message: 'Unauthorized' })",
1956
+ "params": [],
1957
+ "returns": null,
1958
+ "deprecated": null,
1959
+ "since_version": null,
1960
+ "source_doc_id": "exception-error-handling.md",
1961
+ "source_chunk_id": "exception-error-handling.md#custom-message",
1962
+ "source_chunk_ids": [
1963
+ "exception-error-handling.md#custom-message"
1964
+ ],
1965
+ "source_anchor": "custom-message",
1966
+ "evidence_quote": null,
1967
+ "lang": "en",
1968
+ "confidence": 0.5,
1969
+ "extraction_method": "heuristic"
1970
+ },
1971
+ {
1972
+ "id": "authorize#function",
1973
+ "name": "authorize",
1974
+ "qualified_name": "authorize",
1975
+ "container": null,
1976
+ "overload_key": null,
1977
+ "kind": "function",
1978
+ "signature": "authorize(c)",
1979
+ "params": [
1980
+ {
1981
+ "name": "c"
1982
+ }
1983
+ ],
1984
+ "returns": null,
1985
+ "deprecated": null,
1986
+ "since_version": null,
1987
+ "source_doc_id": "exception-error-handling.md",
1988
+ "source_chunk_id": "exception-error-handling.md#cause",
1989
+ "source_chunk_ids": [
1990
+ "exception-error-handling.md#cause"
1991
+ ],
1992
+ "source_anchor": "cause",
1993
+ "evidence_quote": null,
1994
+ "lang": "en",
1995
+ "confidence": 0.5,
1996
+ "extraction_method": "heuristic"
1997
+ },
1998
+ {
1999
+ "id": "err.getresponse#function",
2000
+ "name": "err.getResponse",
2001
+ "qualified_name": "err.getResponse",
2002
+ "container": null,
2003
+ "overload_key": null,
2004
+ "kind": "function",
2005
+ "signature": "err.getResponse()",
2006
+ "params": [],
2007
+ "returns": null,
2008
+ "deprecated": null,
2009
+ "since_version": null,
2010
+ "source_doc_id": "exception-error-handling.md",
2011
+ "source_chunk_id": "exception-error-handling.md#handling-httpexceptions",
2012
+ "source_chunk_ids": [
2013
+ "exception-error-handling.md#handling-httpexceptions"
2014
+ ],
2015
+ "source_anchor": "handling-httpexceptions",
2016
+ "evidence_quote": null,
2017
+ "lang": "en",
2018
+ "confidence": 0.5,
2019
+ "extraction_method": "heuristic"
2020
+ },
2021
+ {
2022
+ "id": "c.req.query#function",
2023
+ "name": "c.req.query",
2024
+ "qualified_name": "c.req.query",
2025
+ "container": null,
2026
+ "overload_key": null,
2027
+ "kind": "function",
2028
+ "signature": "c.req.query('page')",
2029
+ "params": [],
2030
+ "returns": null,
2031
+ "deprecated": null,
2032
+ "since_version": null,
2033
+ "source_doc_id": "getting-started.md",
2034
+ "source_chunk_id": "getting-started.md#request-and-response",
2035
+ "source_chunk_ids": [
2036
+ "getting-started.md#request-and-response"
2037
+ ],
2038
+ "source_anchor": "request-and-response",
2039
+ "evidence_quote": null,
2040
+ "lang": "en",
2041
+ "confidence": 0.5,
2042
+ "extraction_method": "heuristic"
2043
+ },
2044
+ {
2045
+ "id": "app.delete#function",
2046
+ "name": "app.delete",
2047
+ "qualified_name": "app.delete",
2048
+ "container": null,
2049
+ "overload_key": null,
2050
+ "kind": "function",
2051
+ "signature": "app.delete('/posts/:id', (c)",
2052
+ "params": [],
2053
+ "returns": null,
2054
+ "deprecated": null,
2055
+ "since_version": null,
2056
+ "source_doc_id": "getting-started.md",
2057
+ "source_chunk_id": "getting-started.md#request-and-response",
2058
+ "source_chunk_ids": [
2059
+ "getting-started.md#request-and-response"
2060
+ ],
2061
+ "source_anchor": "request-and-response",
2062
+ "evidence_quote": null,
2063
+ "lang": "en",
2064
+ "confidence": 0.5,
2065
+ "extraction_method": "heuristic"
2066
+ },
2067
+ {
2068
+ "id": "sign#function",
2069
+ "name": "sign",
2070
+ "qualified_name": "sign",
2071
+ "container": null,
2072
+ "overload_key": null,
2073
+ "kind": "function",
2074
+ "signature": "sign()",
2075
+ "params": [],
2076
+ "returns": null,
2077
+ "deprecated": null,
2078
+ "since_version": null,
2079
+ "source_doc_id": "jwt-helper.md",
2080
+ "source_chunk_id": "jwt-helper.md#sign",
2081
+ "source_chunk_ids": [
2082
+ "jwt-helper.md#sign"
2083
+ ],
2084
+ "source_anchor": "sign",
2085
+ "evidence_quote": null,
2086
+ "lang": "en",
2087
+ "confidence": 0.5,
2088
+ "extraction_method": "heuristic"
2089
+ },
2090
+ {
2091
+ "id": "math.floor#function",
2092
+ "name": "Math.floor",
2093
+ "qualified_name": "Math.floor",
2094
+ "container": null,
2095
+ "overload_key": null,
2096
+ "kind": "function",
2097
+ "signature": "Math.floor(Date.now()",
2098
+ "params": [
2099
+ {
2100
+ "name": "Date.now("
2101
+ }
2102
+ ],
2103
+ "returns": null,
2104
+ "deprecated": null,
2105
+ "since_version": null,
2106
+ "source_doc_id": "jwt-helper.md",
2107
+ "source_chunk_id": "jwt-helper.md#example",
2108
+ "source_chunk_ids": [
2109
+ "jwt-helper.md#example",
2110
+ "jwt-helper.md#example-2",
2111
+ "jwt-helper.md#example-3"
2112
+ ],
2113
+ "source_anchor": "example",
2114
+ "evidence_quote": null,
2115
+ "lang": "en",
2116
+ "confidence": 0.5,
2117
+ "extraction_method": "heuristic"
2118
+ },
2119
+ {
2120
+ "id": "verify#function",
2121
+ "name": "verify",
2122
+ "qualified_name": "verify",
2123
+ "container": null,
2124
+ "overload_key": null,
2125
+ "kind": "function",
2126
+ "signature": "verify(tokenToVerify, secretKey, 'HS256')",
2127
+ "params": [
2128
+ {
2129
+ "name": "tokenToVerify"
2130
+ },
2131
+ {
2132
+ "name": "secretKey"
2133
+ }
2134
+ ],
2135
+ "returns": null,
2136
+ "deprecated": null,
2137
+ "since_version": null,
2138
+ "source_doc_id": "jwt-helper.md",
2139
+ "source_chunk_id": "jwt-helper.md#example",
2140
+ "source_chunk_ids": [
2141
+ "jwt-helper.md#example",
2142
+ "jwt-helper.md#example-2",
2143
+ "jwt-helper.md#example-3"
2144
+ ],
2145
+ "source_anchor": "example",
2146
+ "evidence_quote": null,
2147
+ "lang": "en",
2148
+ "confidence": 0.5,
2149
+ "extraction_method": "heuristic"
2150
+ },
2151
+ {
2152
+ "id": "console.log#function",
2153
+ "name": "console.log",
2154
+ "qualified_name": "console.log",
2155
+ "container": null,
2156
+ "overload_key": null,
2157
+ "kind": "function",
2158
+ "signature": "console.log(decodedPayload)",
2159
+ "params": [
2160
+ {
2161
+ "name": "decodedPayload"
2162
+ }
2163
+ ],
2164
+ "returns": null,
2165
+ "deprecated": null,
2166
+ "since_version": null,
2167
+ "source_doc_id": "jwt-helper.md",
2168
+ "source_chunk_id": "jwt-helper.md#example",
2169
+ "source_chunk_ids": [
2170
+ "jwt-helper.md#example",
2171
+ "jwt-helper.md#example-2",
2172
+ "jwt-helper.md#example-3"
2173
+ ],
2174
+ "source_anchor": "example",
2175
+ "evidence_quote": null,
2176
+ "lang": "en",
2177
+ "confidence": 0.5,
2178
+ "extraction_method": "heuristic"
2179
+ },
2180
+ {
2181
+ "id": "decode#function",
2182
+ "name": "decode",
2183
+ "qualified_name": "decode",
2184
+ "container": null,
2185
+ "overload_key": null,
2186
+ "kind": "function",
2187
+ "signature": "decode(tokenToDecode)",
2188
+ "params": [
2189
+ {
2190
+ "name": "tokenToDecode"
2191
+ }
2192
+ ],
2193
+ "returns": null,
2194
+ "deprecated": null,
2195
+ "since_version": null,
2196
+ "source_doc_id": "jwt-helper.md",
2197
+ "source_chunk_id": "jwt-helper.md#example",
2198
+ "source_chunk_ids": [
2199
+ "jwt-helper.md#example",
2200
+ "jwt-helper.md#example-2",
2201
+ "jwt-helper.md#example-3"
2202
+ ],
2203
+ "source_anchor": "example",
2204
+ "evidence_quote": null,
2205
+ "lang": "en",
2206
+ "confidence": 0.5,
2207
+ "extraction_method": "heuristic"
2208
+ },
2209
+ {
2210
+ "id": "performance.now#function",
2211
+ "name": "performance.now",
2212
+ "qualified_name": "performance.now",
2213
+ "container": null,
2214
+ "overload_key": null,
2215
+ "kind": "function",
2216
+ "signature": "performance.now()",
2217
+ "params": [],
2218
+ "returns": null,
2219
+ "deprecated": null,
2220
+ "since_version": null,
2221
+ "source_doc_id": "middleware-concept.md",
2222
+ "source_chunk_id": "middleware-concept.md#_1",
2223
+ "source_chunk_ids": [
2224
+ "middleware-concept.md#_1"
2225
+ ],
2226
+ "source_anchor": null,
2227
+ "evidence_quote": null,
2228
+ "lang": "en",
2229
+ "confidence": 0.5,
2230
+ "extraction_method": "heuristic"
2231
+ },
2232
+ {
2233
+ "id": "c.res.headers.set#function",
2234
+ "name": "c.res.headers.set",
2235
+ "qualified_name": "c.res.headers.set",
2236
+ "container": null,
2237
+ "overload_key": null,
2238
+ "kind": "function",
2239
+ "signature": "c.res.headers.set('X-Response-Time', `${end - start}`)",
2240
+ "params": [],
2241
+ "returns": null,
2242
+ "deprecated": null,
2243
+ "since_version": null,
2244
+ "source_doc_id": "middleware-concept.md",
2245
+ "source_chunk_id": "middleware-concept.md#_1",
2246
+ "source_chunk_ids": [
2247
+ "middleware-concept.md#_1"
2248
+ ],
2249
+ "source_anchor": null,
2250
+ "evidence_quote": null,
2251
+ "lang": "en",
2252
+ "confidence": 0.5,
2253
+ "extraction_method": "heuristic"
2254
+ },
2255
+ {
2256
+ "id": "param#function",
2257
+ "name": "param",
2258
+ "qualified_name": "param",
2259
+ "container": null,
2260
+ "overload_key": null,
2261
+ "kind": "function",
2262
+ "signature": "param()",
2263
+ "params": [],
2264
+ "returns": null,
2265
+ "deprecated": null,
2266
+ "since_version": null,
2267
+ "source_doc_id": "request.md",
2268
+ "source_chunk_id": "request.md#param",
2269
+ "source_chunk_ids": [
2270
+ "request.md#param"
2271
+ ],
2272
+ "source_anchor": "param",
2273
+ "evidence_quote": null,
2274
+ "lang": "en",
2275
+ "confidence": 0.5,
2276
+ "extraction_method": "heuristic"
2277
+ },
2278
+ {
2279
+ "id": "query#function",
2280
+ "name": "query",
2281
+ "qualified_name": "query",
2282
+ "container": null,
2283
+ "overload_key": null,
2284
+ "kind": "function",
2285
+ "signature": "query()",
2286
+ "params": [],
2287
+ "returns": null,
2288
+ "deprecated": null,
2289
+ "since_version": null,
2290
+ "source_doc_id": "request.md",
2291
+ "source_chunk_id": "request.md#query",
2292
+ "source_chunk_ids": [
2293
+ "request.md#query"
2294
+ ],
2295
+ "source_anchor": "query",
2296
+ "evidence_quote": null,
2297
+ "lang": "en",
2298
+ "confidence": 0.5,
2299
+ "extraction_method": "heuristic"
2300
+ },
2301
+ {
2302
+ "id": "queries#function",
2303
+ "name": "queries",
2304
+ "qualified_name": "queries",
2305
+ "container": null,
2306
+ "overload_key": null,
2307
+ "kind": "function",
2308
+ "signature": "queries()",
2309
+ "params": [],
2310
+ "returns": null,
2311
+ "deprecated": null,
2312
+ "since_version": null,
2313
+ "source_doc_id": "request.md",
2314
+ "source_chunk_id": "request.md#queries",
2315
+ "source_chunk_ids": [
2316
+ "request.md#queries"
2317
+ ],
2318
+ "source_anchor": "queries",
2319
+ "evidence_quote": null,
2320
+ "lang": "en",
2321
+ "confidence": 0.5,
2322
+ "extraction_method": "heuristic"
2323
+ },
2324
+ {
2325
+ "id": "c.req.queries#function",
2326
+ "name": "c.req.queries",
2327
+ "qualified_name": "c.req.queries",
2328
+ "container": null,
2329
+ "overload_key": null,
2330
+ "kind": "function",
2331
+ "signature": "c.req.queries('tags')",
2332
+ "params": [],
2333
+ "returns": null,
2334
+ "deprecated": null,
2335
+ "since_version": null,
2336
+ "source_doc_id": "request.md",
2337
+ "source_chunk_id": "request.md#queries",
2338
+ "source_chunk_ids": [
2339
+ "request.md#queries"
2340
+ ],
2341
+ "source_anchor": "queries",
2342
+ "evidence_quote": null,
2343
+ "lang": "en",
2344
+ "confidence": 0.5,
2345
+ "extraction_method": "heuristic"
2346
+ },
2347
+ {
2348
+ "id": "parsebody#function",
2349
+ "name": "parseBody",
2350
+ "qualified_name": "parseBody",
2351
+ "container": null,
2352
+ "overload_key": null,
2353
+ "kind": "function",
2354
+ "signature": "parseBody()",
2355
+ "params": [],
2356
+ "returns": null,
2357
+ "deprecated": null,
2358
+ "since_version": null,
2359
+ "source_doc_id": "request.md",
2360
+ "source_chunk_id": "request.md#parsebody",
2361
+ "source_chunk_ids": [
2362
+ "request.md#parsebody"
2363
+ ],
2364
+ "source_anchor": "parsebody",
2365
+ "evidence_quote": null,
2366
+ "lang": "en",
2367
+ "confidence": 0.5,
2368
+ "extraction_method": "heuristic"
2369
+ },
2370
+ {
2371
+ "id": "c.req.parsebody#function",
2372
+ "name": "c.req.parseBody",
2373
+ "qualified_name": "c.req.parseBody",
2374
+ "container": null,
2375
+ "overload_key": null,
2376
+ "kind": "function",
2377
+ "signature": "c.req.parseBody()",
2378
+ "params": [],
2379
+ "returns": null,
2380
+ "deprecated": null,
2381
+ "since_version": null,
2382
+ "source_doc_id": "request.md",
2383
+ "source_chunk_id": "request.md#parsebody",
2384
+ "source_chunk_ids": [
2385
+ "request.md#parsebody"
2386
+ ],
2387
+ "source_anchor": "parsebody",
2388
+ "evidence_quote": null,
2389
+ "lang": "en",
2390
+ "confidence": 0.5,
2391
+ "extraction_method": "heuristic"
2392
+ },
2393
+ {
2394
+ "id": "formdata#function",
2395
+ "name": "FormData",
2396
+ "qualified_name": "FormData",
2397
+ "container": null,
2398
+ "overload_key": null,
2399
+ "kind": "function",
2400
+ "signature": "FormData()",
2401
+ "params": [],
2402
+ "returns": null,
2403
+ "deprecated": null,
2404
+ "since_version": null,
2405
+ "source_doc_id": "request.md",
2406
+ "source_chunk_id": "request.md#dot-notation",
2407
+ "source_chunk_ids": [
2408
+ "request.md#dot-notation"
2409
+ ],
2410
+ "source_anchor": "dot-notation",
2411
+ "evidence_quote": null,
2412
+ "lang": "en",
2413
+ "confidence": 0.5,
2414
+ "extraction_method": "heuristic"
2415
+ },
2416
+ {
2417
+ "id": "data.append#function",
2418
+ "name": "data.append",
2419
+ "qualified_name": "data.append",
2420
+ "container": null,
2421
+ "overload_key": null,
2422
+ "kind": "function",
2423
+ "signature": "data.append('obj.key1', 'value1')",
2424
+ "params": [],
2425
+ "returns": null,
2426
+ "deprecated": null,
2427
+ "since_version": null,
2428
+ "source_doc_id": "request.md",
2429
+ "source_chunk_id": "request.md#dot-notation",
2430
+ "source_chunk_ids": [
2431
+ "request.md#dot-notation"
2432
+ ],
2433
+ "source_anchor": "dot-notation",
2434
+ "evidence_quote": null,
2435
+ "lang": "en",
2436
+ "confidence": 0.5,
2437
+ "extraction_method": "heuristic"
2438
+ },
2439
+ {
2440
+ "id": "c.req.json#function",
2441
+ "name": "c.req.json",
2442
+ "qualified_name": "c.req.json",
2443
+ "container": null,
2444
+ "overload_key": null,
2445
+ "kind": "function",
2446
+ "signature": "c.req.json()",
2447
+ "params": [],
2448
+ "returns": null,
2449
+ "deprecated": null,
2450
+ "since_version": null,
2451
+ "source_doc_id": "request.md",
2452
+ "source_chunk_id": "request.md#json",
2453
+ "source_chunk_ids": [
2454
+ "request.md#json"
2455
+ ],
2456
+ "source_anchor": "json",
2457
+ "evidence_quote": null,
2458
+ "lang": "en",
2459
+ "confidence": 0.5,
2460
+ "extraction_method": "heuristic"
2461
+ },
2462
+ {
2463
+ "id": "c.req.text#function",
2464
+ "name": "c.req.text",
2465
+ "qualified_name": "c.req.text",
2466
+ "container": null,
2467
+ "overload_key": null,
2468
+ "kind": "function",
2469
+ "signature": "c.req.text()",
2470
+ "params": [],
2471
+ "returns": null,
2472
+ "deprecated": null,
2473
+ "since_version": null,
2474
+ "source_doc_id": "request.md",
2475
+ "source_chunk_id": "request.md#text",
2476
+ "source_chunk_ids": [
2477
+ "request.md#text"
2478
+ ],
2479
+ "source_anchor": "text",
2480
+ "evidence_quote": null,
2481
+ "lang": "en",
2482
+ "confidence": 0.5,
2483
+ "extraction_method": "heuristic"
2484
+ },
2485
+ {
2486
+ "id": "arraybuffer#function",
2487
+ "name": "arrayBuffer",
2488
+ "qualified_name": "arrayBuffer",
2489
+ "container": null,
2490
+ "overload_key": null,
2491
+ "kind": "function",
2492
+ "signature": "arrayBuffer()",
2493
+ "params": [],
2494
+ "returns": null,
2495
+ "deprecated": null,
2496
+ "since_version": null,
2497
+ "source_doc_id": "request.md",
2498
+ "source_chunk_id": "request.md#arraybuffer",
2499
+ "source_chunk_ids": [
2500
+ "request.md#arraybuffer"
2501
+ ],
2502
+ "source_anchor": "arraybuffer",
2503
+ "evidence_quote": null,
2504
+ "lang": "en",
2505
+ "confidence": 0.5,
2506
+ "extraction_method": "heuristic"
2507
+ },
2508
+ {
2509
+ "id": "c.req.arraybuffer#function",
2510
+ "name": "c.req.arrayBuffer",
2511
+ "qualified_name": "c.req.arrayBuffer",
2512
+ "container": null,
2513
+ "overload_key": null,
2514
+ "kind": "function",
2515
+ "signature": "c.req.arrayBuffer()",
2516
+ "params": [],
2517
+ "returns": null,
2518
+ "deprecated": null,
2519
+ "since_version": null,
2520
+ "source_doc_id": "request.md",
2521
+ "source_chunk_id": "request.md#arraybuffer",
2522
+ "source_chunk_ids": [
2523
+ "request.md#arraybuffer"
2524
+ ],
2525
+ "source_anchor": "arraybuffer",
2526
+ "evidence_quote": null,
2527
+ "lang": "en",
2528
+ "confidence": 0.5,
2529
+ "extraction_method": "heuristic"
2530
+ },
2531
+ {
2532
+ "id": "blob#function",
2533
+ "name": "blob",
2534
+ "qualified_name": "blob",
2535
+ "container": null,
2536
+ "overload_key": null,
2537
+ "kind": "function",
2538
+ "signature": "blob()",
2539
+ "params": [],
2540
+ "returns": null,
2541
+ "deprecated": null,
2542
+ "since_version": null,
2543
+ "source_doc_id": "request.md",
2544
+ "source_chunk_id": "request.md#blob",
2545
+ "source_chunk_ids": [
2546
+ "request.md#blob"
2547
+ ],
2548
+ "source_anchor": "blob",
2549
+ "evidence_quote": null,
2550
+ "lang": "en",
2551
+ "confidence": 0.5,
2552
+ "extraction_method": "heuristic"
2553
+ },
2554
+ {
2555
+ "id": "c.req.blob#function",
2556
+ "name": "c.req.blob",
2557
+ "qualified_name": "c.req.blob",
2558
+ "container": null,
2559
+ "overload_key": null,
2560
+ "kind": "function",
2561
+ "signature": "c.req.blob()",
2562
+ "params": [],
2563
+ "returns": null,
2564
+ "deprecated": null,
2565
+ "since_version": null,
2566
+ "source_doc_id": "request.md",
2567
+ "source_chunk_id": "request.md#blob",
2568
+ "source_chunk_ids": [
2569
+ "request.md#blob"
2570
+ ],
2571
+ "source_anchor": "blob",
2572
+ "evidence_quote": null,
2573
+ "lang": "en",
2574
+ "confidence": 0.5,
2575
+ "extraction_method": "heuristic"
2576
+ },
2577
+ {
2578
+ "id": "c.req.formdata#function",
2579
+ "name": "c.req.formData",
2580
+ "qualified_name": "c.req.formData",
2581
+ "container": null,
2582
+ "overload_key": null,
2583
+ "kind": "function",
2584
+ "signature": "c.req.formData()",
2585
+ "params": [],
2586
+ "returns": null,
2587
+ "deprecated": null,
2588
+ "since_version": null,
2589
+ "source_doc_id": "request.md",
2590
+ "source_chunk_id": "request.md#formdata",
2591
+ "source_chunk_ids": [
2592
+ "request.md#formdata"
2593
+ ],
2594
+ "source_anchor": "formdata",
2595
+ "evidence_quote": null,
2596
+ "lang": "en",
2597
+ "confidence": 0.5,
2598
+ "extraction_method": "heuristic"
2599
+ },
2600
+ {
2601
+ "id": "valid#function",
2602
+ "name": "valid",
2603
+ "qualified_name": "valid",
2604
+ "container": null,
2605
+ "overload_key": null,
2606
+ "kind": "function",
2607
+ "signature": "valid()",
2608
+ "params": [],
2609
+ "returns": null,
2610
+ "deprecated": null,
2611
+ "since_version": null,
2612
+ "source_doc_id": "request.md",
2613
+ "source_chunk_id": "request.md#valid",
2614
+ "source_chunk_ids": [
2615
+ "request.md#valid"
2616
+ ],
2617
+ "source_anchor": "valid",
2618
+ "evidence_quote": null,
2619
+ "lang": "en",
2620
+ "confidence": 0.5,
2621
+ "extraction_method": "heuristic"
2622
+ },
2623
+ {
2624
+ "id": "c.req.valid#function",
2625
+ "name": "c.req.valid",
2626
+ "qualified_name": "c.req.valid",
2627
+ "container": null,
2628
+ "overload_key": null,
2629
+ "kind": "function",
2630
+ "signature": "c.req.valid('form')",
2631
+ "params": [],
2632
+ "returns": null,
2633
+ "deprecated": null,
2634
+ "since_version": null,
2635
+ "source_doc_id": "request.md",
2636
+ "source_chunk_id": "request.md#valid",
2637
+ "source_chunk_ids": [
2638
+ "request.md#valid"
2639
+ ],
2640
+ "source_anchor": "valid",
2641
+ "evidence_quote": null,
2642
+ "lang": "en",
2643
+ "confidence": 0.5,
2644
+ "extraction_method": "heuristic"
2645
+ },
2646
+ {
2647
+ "id": "routepath#function",
2648
+ "name": "routePath",
2649
+ "qualified_name": "routePath",
2650
+ "container": null,
2651
+ "overload_key": null,
2652
+ "kind": "function",
2653
+ "signature": "routePath()",
2654
+ "params": [],
2655
+ "returns": null,
2656
+ "deprecated": null,
2657
+ "since_version": null,
2658
+ "source_doc_id": "request.md",
2659
+ "source_chunk_id": "request.md#routepath",
2660
+ "source_chunk_ids": [
2661
+ "request.md#routepath"
2662
+ ],
2663
+ "source_anchor": "routepath",
2664
+ "evidence_quote": null,
2665
+ "lang": "en",
2666
+ "confidence": 0.5,
2667
+ "extraction_method": "heuristic"
2668
+ },
2669
+ {
2670
+ "id": "matchedroutes#function",
2671
+ "name": "matchedRoutes",
2672
+ "qualified_name": "matchedRoutes",
2673
+ "container": null,
2674
+ "overload_key": null,
2675
+ "kind": "function",
2676
+ "signature": "matchedRoutes()",
2677
+ "params": [],
2678
+ "returns": null,
2679
+ "deprecated": null,
2680
+ "since_version": null,
2681
+ "source_doc_id": "request.md",
2682
+ "source_chunk_id": "request.md#matchedroutes",
2683
+ "source_chunk_ids": [
2684
+ "request.md#matchedroutes"
2685
+ ],
2686
+ "source_anchor": "matchedroutes",
2687
+ "evidence_quote": null,
2688
+ "lang": "en",
2689
+ "confidence": 0.5,
2690
+ "extraction_method": "heuristic"
2691
+ },
2692
+ {
2693
+ "id": "c.req.matchedroutes.foreach#function",
2694
+ "name": "c.req.matchedRoutes.forEach",
2695
+ "qualified_name": "c.req.matchedRoutes.forEach",
2696
+ "container": null,
2697
+ "overload_key": null,
2698
+ "kind": "function",
2699
+ "signature": "c.req.matchedRoutes.forEach(({ handler, method, path }, i)",
2700
+ "params": [
2701
+ {
2702
+ "name": "method"
2703
+ },
2704
+ {
2705
+ "name": "path }"
2706
+ },
2707
+ {
2708
+ "name": "i"
2709
+ }
2710
+ ],
2711
+ "returns": null,
2712
+ "deprecated": null,
2713
+ "since_version": null,
2714
+ "source_doc_id": "request.md",
2715
+ "source_chunk_id": "request.md#matchedroutes",
2716
+ "source_chunk_ids": [
2717
+ "request.md#matchedroutes"
2718
+ ],
2719
+ "source_anchor": "matchedroutes",
2720
+ "evidence_quote": null,
2721
+ "lang": "en",
2722
+ "confidence": 0.5,
2723
+ "extraction_method": "heuristic"
2724
+ },
2725
+ {
2726
+ "id": "clonerawrequest#function",
2727
+ "name": "cloneRawRequest",
2728
+ "qualified_name": "cloneRawRequest",
2729
+ "container": null,
2730
+ "overload_key": null,
2731
+ "kind": "function",
2732
+ "signature": "cloneRawRequest()",
2733
+ "params": [],
2734
+ "returns": null,
2735
+ "deprecated": null,
2736
+ "since_version": null,
2737
+ "source_doc_id": "request.md",
2738
+ "source_chunk_id": "request.md#clonerawrequest",
2739
+ "source_chunk_ids": [
2740
+ "request.md#clonerawrequest"
2741
+ ],
2742
+ "source_anchor": "clonerawrequest",
2743
+ "evidence_quote": null,
2744
+ "lang": "en",
2745
+ "confidence": 0.5,
2746
+ "extraction_method": "heuristic"
2747
+ },
2748
+ {
2749
+ "id": "clonedreq.json#function",
2750
+ "name": "clonedReq.json",
2751
+ "qualified_name": "clonedReq.json",
2752
+ "container": null,
2753
+ "overload_key": null,
2754
+ "kind": "function",
2755
+ "signature": "clonedReq.json()",
2756
+ "params": [],
2757
+ "returns": null,
2758
+ "deprecated": null,
2759
+ "since_version": null,
2760
+ "source_doc_id": "request.md",
2761
+ "source_chunk_id": "request.md#clonerawrequest",
2762
+ "source_chunk_ids": [
2763
+ "request.md#clonerawrequest"
2764
+ ],
2765
+ "source_anchor": "clonerawrequest",
2766
+ "evidence_quote": null,
2767
+ "lang": "en",
2768
+ "confidence": 0.5,
2769
+ "extraction_method": "heuristic"
2770
+ },
2771
+ {
2772
+ "id": "app.put#function",
2773
+ "name": "app.put",
2774
+ "qualified_name": "app.put",
2775
+ "container": null,
2776
+ "overload_key": null,
2777
+ "kind": "function",
2778
+ "signature": "app.put('/', (c)",
2779
+ "params": [],
2780
+ "returns": null,
2781
+ "deprecated": null,
2782
+ "since_version": null,
2783
+ "source_doc_id": "routing.md",
2784
+ "source_chunk_id": "routing.md#basic",
2785
+ "source_chunk_ids": [
2786
+ "routing.md#basic"
2787
+ ],
2788
+ "source_anchor": "basic",
2789
+ "evidence_quote": null,
2790
+ "lang": "en",
2791
+ "confidence": 0.5,
2792
+ "extraction_method": "heuristic"
2793
+ },
2794
+ {
2795
+ "id": "delete#function",
2796
+ "name": "delete",
2797
+ "qualified_name": "delete",
2798
+ "container": null,
2799
+ "overload_key": null,
2800
+ "kind": "function",
2801
+ "signature": "delete((c)",
2802
+ "params": [],
2803
+ "returns": null,
2804
+ "deprecated": null,
2805
+ "since_version": null,
2806
+ "source_doc_id": "routing.md",
2807
+ "source_chunk_id": "routing.md#chained-route",
2808
+ "source_chunk_ids": [
2809
+ "routing.md#chained-route"
2810
+ ],
2811
+ "source_anchor": "chained-route",
2812
+ "evidence_quote": null,
2813
+ "lang": "en",
2814
+ "confidence": 0.5,
2815
+ "extraction_method": "heuristic"
2816
+ },
2817
+ {
2818
+ "id": "book.get#function",
2819
+ "name": "book.get",
2820
+ "qualified_name": "book.get",
2821
+ "container": null,
2822
+ "overload_key": null,
2823
+ "kind": "function",
2824
+ "signature": "book.get('/', (c)",
2825
+ "params": [],
2826
+ "returns": null,
2827
+ "deprecated": null,
2828
+ "since_version": null,
2829
+ "source_doc_id": "routing.md",
2830
+ "source_chunk_id": "routing.md#grouping",
2831
+ "source_chunk_ids": [
2832
+ "routing.md#grouping"
2833
+ ],
2834
+ "source_anchor": "grouping",
2835
+ "evidence_quote": null,
2836
+ "lang": "en",
2837
+ "confidence": 0.5,
2838
+ "extraction_method": "heuristic"
2839
+ },
2840
+ {
2841
+ "id": "book.post#function",
2842
+ "name": "book.post",
2843
+ "qualified_name": "book.post",
2844
+ "container": null,
2845
+ "overload_key": null,
2846
+ "kind": "function",
2847
+ "signature": "book.post('/', (c)",
2848
+ "params": [],
2849
+ "returns": null,
2850
+ "deprecated": null,
2851
+ "since_version": null,
2852
+ "source_doc_id": "routing.md",
2853
+ "source_chunk_id": "routing.md#grouping",
2854
+ "source_chunk_ids": [
2855
+ "routing.md#grouping"
2856
+ ],
2857
+ "source_anchor": "grouping",
2858
+ "evidence_quote": null,
2859
+ "lang": "en",
2860
+ "confidence": 0.5,
2861
+ "extraction_method": "heuristic"
2862
+ },
2863
+ {
2864
+ "id": "basepath#function",
2865
+ "name": "basePath",
2866
+ "qualified_name": "basePath",
2867
+ "container": null,
2868
+ "overload_key": null,
2869
+ "kind": "function",
2870
+ "signature": "basePath('/user')",
2871
+ "params": [],
2872
+ "returns": null,
2873
+ "deprecated": null,
2874
+ "since_version": null,
2875
+ "source_doc_id": "routing.md",
2876
+ "source_chunk_id": "routing.md#grouping-without-changing-base",
2877
+ "source_chunk_ids": [
2878
+ "routing.md#grouping-without-changing-base"
2879
+ ],
2880
+ "source_anchor": "grouping-without-changing-base",
2881
+ "evidence_quote": null,
2882
+ "lang": "en",
2883
+ "confidence": 0.5,
2884
+ "extraction_method": "heuristic"
2885
+ },
2886
+ {
2887
+ "id": "user.get#function",
2888
+ "name": "user.get",
2889
+ "qualified_name": "user.get",
2890
+ "container": null,
2891
+ "overload_key": null,
2892
+ "kind": "function",
2893
+ "signature": "user.get('/', (c)",
2894
+ "params": [],
2895
+ "returns": null,
2896
+ "deprecated": null,
2897
+ "since_version": null,
2898
+ "source_doc_id": "routing.md",
2899
+ "source_chunk_id": "routing.md#grouping-without-changing-base",
2900
+ "source_chunk_ids": [
2901
+ "routing.md#grouping-without-changing-base"
2902
+ ],
2903
+ "source_anchor": "grouping-without-changing-base",
2904
+ "evidence_quote": null,
2905
+ "lang": "en",
2906
+ "confidence": 0.5,
2907
+ "extraction_method": "heuristic"
2908
+ },
2909
+ {
2910
+ "id": "user.post#function",
2911
+ "name": "user.post",
2912
+ "qualified_name": "user.post",
2913
+ "container": null,
2914
+ "overload_key": null,
2915
+ "kind": "function",
2916
+ "signature": "user.post('/', (c)",
2917
+ "params": [],
2918
+ "returns": null,
2919
+ "deprecated": null,
2920
+ "since_version": null,
2921
+ "source_doc_id": "routing.md",
2922
+ "source_chunk_id": "routing.md#grouping-without-changing-base",
2923
+ "source_chunk_ids": [
2924
+ "routing.md#grouping-without-changing-base"
2925
+ ],
2926
+ "source_anchor": "grouping-without-changing-base",
2927
+ "evidence_quote": null,
2928
+ "lang": "en",
2929
+ "confidence": 0.5,
2930
+ "extraction_method": "heuristic"
2931
+ },
2932
+ {
2933
+ "id": "api.get#function",
2934
+ "name": "api.get",
2935
+ "qualified_name": "api.get",
2936
+ "container": null,
2937
+ "overload_key": null,
2938
+ "kind": "function",
2939
+ "signature": "api.get('/book', (c)",
2940
+ "params": [],
2941
+ "returns": null,
2942
+ "deprecated": null,
2943
+ "since_version": null,
2944
+ "source_doc_id": "routing.md",
2945
+ "source_chunk_id": "routing.md#base-path",
2946
+ "source_chunk_ids": [
2947
+ "routing.md#base-path"
2948
+ ],
2949
+ "source_anchor": "base-path",
2950
+ "evidence_quote": null,
2951
+ "lang": "en",
2952
+ "confidence": 0.5,
2953
+ "extraction_method": "heuristic"
2954
+ },
2955
+ {
2956
+ "id": "req.url.replace#function",
2957
+ "name": "req.url.replace",
2958
+ "qualified_name": "req.url.replace",
2959
+ "container": null,
2960
+ "overload_key": null,
2961
+ "kind": "function",
2962
+ "signature": "req.url.replace(/^https?:\\/([^?]+)",
2963
+ "params": [],
2964
+ "returns": null,
2965
+ "deprecated": null,
2966
+ "since_version": null,
2967
+ "source_doc_id": "routing.md",
2968
+ "source_chunk_id": "routing.md#routing-with-hostname",
2969
+ "source_chunk_ids": [
2970
+ "routing.md#routing-with-hostname"
2971
+ ],
2972
+ "source_anchor": "routing-with-hostname",
2973
+ "evidence_quote": null,
2974
+ "lang": "en",
2975
+ "confidence": 0.5,
2976
+ "extraction_method": "heuristic"
2977
+ },
2978
+ {
2979
+ "id": "getpath#function",
2980
+ "name": "getPath",
2981
+ "qualified_name": "getPath",
2982
+ "container": null,
2983
+ "overload_key": null,
2984
+ "kind": "function",
2985
+ "signature": "getPath()",
2986
+ "params": [],
2987
+ "returns": null,
2988
+ "deprecated": null,
2989
+ "since_version": null,
2990
+ "source_doc_id": "routing.md",
2991
+ "source_chunk_id": "routing.md#routing-with-host-header-value",
2992
+ "source_chunk_ids": [
2993
+ "routing.md#routing-with-host-header-value"
2994
+ ],
2995
+ "source_anchor": "routing-with-host-header-value",
2996
+ "evidence_quote": null,
2997
+ "lang": "en",
2998
+ "confidence": 0.5,
2999
+ "extraction_method": "heuristic"
3000
+ },
3001
+ {
3002
+ "id": "req.headers.get#function",
3003
+ "name": "req.headers.get",
3004
+ "qualified_name": "req.headers.get",
3005
+ "container": null,
3006
+ "overload_key": null,
3007
+ "kind": "function",
3008
+ "signature": "req.headers.get('host')",
3009
+ "params": [],
3010
+ "returns": null,
3011
+ "deprecated": null,
3012
+ "since_version": null,
3013
+ "source_doc_id": "routing.md",
3014
+ "source_chunk_id": "routing.md#routing-with-host-header-value",
3015
+ "source_chunk_ids": [
3016
+ "routing.md#routing-with-host-header-value"
3017
+ ],
3018
+ "source_anchor": "routing-with-host-header-value",
3019
+ "evidence_quote": null,
3020
+ "lang": "en",
3021
+ "confidence": 0.5,
3022
+ "extraction_method": "heuristic"
3023
+ },
3024
+ {
3025
+ "id": "route#function",
3026
+ "name": "route",
3027
+ "qualified_name": "route",
3028
+ "container": null,
3029
+ "overload_key": null,
3030
+ "kind": "function",
3031
+ "signature": "route()",
3032
+ "params": [],
3033
+ "returns": null,
3034
+ "deprecated": null,
3035
+ "since_version": null,
3036
+ "source_doc_id": "routing.md",
3037
+ "source_chunk_id": "routing.md#grouping-ordering",
3038
+ "source_chunk_ids": [
3039
+ "routing.md#grouping-ordering"
3040
+ ],
3041
+ "source_anchor": "grouping-ordering",
3042
+ "evidence_quote": null,
3043
+ "lang": "en",
3044
+ "confidence": 0.5,
3045
+ "extraction_method": "heuristic"
3046
+ },
3047
+ {
3048
+ "id": "argument#function",
3049
+ "name": "argument",
3050
+ "qualified_name": "argument",
3051
+ "container": null,
3052
+ "overload_key": null,
3053
+ "kind": "function",
3054
+ "signature": "argument(such as `three` or `two`)",
3055
+ "params": [
3056
+ {
3057
+ "name": "such as `three` or `two`"
3058
+ }
3059
+ ],
3060
+ "returns": null,
3061
+ "deprecated": null,
3062
+ "since_version": null,
3063
+ "source_doc_id": "routing.md",
3064
+ "source_chunk_id": "routing.md#grouping-ordering",
3065
+ "source_chunk_ids": [
3066
+ "routing.md#grouping-ordering"
3067
+ ],
3068
+ "source_anchor": "grouping-ordering",
3069
+ "evidence_quote": null,
3070
+ "lang": "en",
3071
+ "confidence": 0.5,
3072
+ "extraction_method": "heuristic"
3073
+ },
3074
+ {
3075
+ "id": "own#function",
3076
+ "name": "own",
3077
+ "qualified_name": "own",
3078
+ "container": null,
3079
+ "overload_key": null,
3080
+ "kind": "function",
3081
+ "signature": "own(`two` or `app`)",
3082
+ "params": [],
3083
+ "returns": null,
3084
+ "deprecated": null,
3085
+ "since_version": null,
3086
+ "source_doc_id": "routing.md",
3087
+ "source_chunk_id": "routing.md#grouping-ordering",
3088
+ "source_chunk_ids": [
3089
+ "routing.md#grouping-ordering"
3090
+ ],
3091
+ "source_anchor": "grouping-ordering",
3092
+ "evidence_quote": null,
3093
+ "lang": "en",
3094
+ "confidence": 0.5,
3095
+ "extraction_method": "heuristic"
3096
+ },
3097
+ {
3098
+ "id": "three.get#function",
3099
+ "name": "three.get",
3100
+ "qualified_name": "three.get",
3101
+ "container": null,
3102
+ "overload_key": null,
3103
+ "kind": "function",
3104
+ "signature": "three.get('/hi', (c)",
3105
+ "params": [],
3106
+ "returns": null,
3107
+ "deprecated": null,
3108
+ "since_version": null,
3109
+ "source_doc_id": "routing.md",
3110
+ "source_chunk_id": "routing.md#grouping-ordering",
3111
+ "source_chunk_ids": [
3112
+ "routing.md#grouping-ordering"
3113
+ ],
3114
+ "source_anchor": "grouping-ordering",
3115
+ "evidence_quote": null,
3116
+ "lang": "en",
3117
+ "confidence": 0.5,
3118
+ "extraction_method": "heuristic"
3119
+ },
3120
+ {
3121
+ "id": "two.route#function",
3122
+ "name": "two.route",
3123
+ "qualified_name": "two.route",
3124
+ "container": null,
3125
+ "overload_key": null,
3126
+ "kind": "function",
3127
+ "signature": "two.route('/three', three)",
3128
+ "params": [
3129
+ {
3130
+ "name": "three"
3131
+ }
3132
+ ],
3133
+ "returns": null,
3134
+ "deprecated": null,
3135
+ "since_version": null,
3136
+ "source_doc_id": "routing.md",
3137
+ "source_chunk_id": "routing.md#grouping-ordering",
3138
+ "source_chunk_ids": [
3139
+ "routing.md#grouping-ordering"
3140
+ ],
3141
+ "source_anchor": "grouping-ordering",
3142
+ "evidence_quote": null,
3143
+ "lang": "en",
3144
+ "confidence": 0.5,
3145
+ "extraction_method": "heuristic"
3146
+ },
3147
+ {
3148
+ "id": "describe#function",
3149
+ "name": "describe",
3150
+ "qualified_name": "describe",
3151
+ "container": null,
3152
+ "overload_key": null,
3153
+ "kind": "function",
3154
+ "signature": "describe('Example', ()",
3155
+ "params": [],
3156
+ "returns": null,
3157
+ "deprecated": null,
3158
+ "since_version": null,
3159
+ "source_doc_id": "testing.md",
3160
+ "source_chunk_id": "testing.md#request-and-response",
3161
+ "source_chunk_ids": [
3162
+ "testing.md#request-and-response",
3163
+ "testing.md#request-and-response-2"
3164
+ ],
3165
+ "source_anchor": "request-and-response",
3166
+ "evidence_quote": null,
3167
+ "lang": "en",
3168
+ "confidence": 0.5,
3169
+ "extraction_method": "heuristic"
3170
+ },
3171
+ {
3172
+ "id": "toequal#function",
3173
+ "name": "toEqual",
3174
+ "qualified_name": "toEqual",
3175
+ "container": null,
3176
+ "overload_key": null,
3177
+ "kind": "function",
3178
+ "signature": "toEqual({\n message: 'Created',\n })",
3179
+ "params": [],
3180
+ "returns": null,
3181
+ "deprecated": null,
3182
+ "since_version": null,
3183
+ "source_doc_id": "testing.md",
3184
+ "source_chunk_id": "testing.md#request-and-response",
3185
+ "source_chunk_ids": [
3186
+ "testing.md#request-and-response",
3187
+ "testing.md#request-and-response-2"
3188
+ ],
3189
+ "source_anchor": "request-and-response",
3190
+ "evidence_quote": null,
3191
+ "lang": "en",
3192
+ "confidence": 0.5,
3193
+ "extraction_method": "heuristic"
3194
+ },
3195
+ {
3196
+ "id": "headers#function",
3197
+ "name": "Headers",
3198
+ "qualified_name": "Headers",
3199
+ "container": null,
3200
+ "overload_key": null,
3201
+ "kind": "function",
3202
+ "signature": "Headers({ 'Content-Type': 'application/json' })",
3203
+ "params": [],
3204
+ "returns": null,
3205
+ "deprecated": null,
3206
+ "since_version": null,
3207
+ "source_doc_id": "testing.md",
3208
+ "source_chunk_id": "testing.md#request-and-response",
3209
+ "source_chunk_ids": [
3210
+ "testing.md#request-and-response",
3211
+ "testing.md#request-and-response-2"
3212
+ ],
3213
+ "source_anchor": "request-and-response",
3214
+ "evidence_quote": null,
3215
+ "lang": "en",
3216
+ "confidence": 0.5,
3217
+ "extraction_method": "heuristic"
3218
+ },
3219
+ {
3220
+ "id": "formdata.append#function",
3221
+ "name": "formData.append",
3222
+ "qualified_name": "formData.append",
3223
+ "container": null,
3224
+ "overload_key": null,
3225
+ "kind": "function",
3226
+ "signature": "formData.append('message', 'hello')",
3227
+ "params": [],
3228
+ "returns": null,
3229
+ "deprecated": null,
3230
+ "since_version": null,
3231
+ "source_doc_id": "testing.md",
3232
+ "source_chunk_id": "testing.md#request-and-response",
3233
+ "source_chunk_ids": [
3234
+ "testing.md#request-and-response",
3235
+ "testing.md#request-and-response-2"
3236
+ ],
3237
+ "source_anchor": "request-and-response",
3238
+ "evidence_quote": null,
3239
+ "lang": "en",
3240
+ "confidence": 0.5,
3241
+ "extraction_method": "heuristic"
3242
+ },
3243
+ {
3244
+ "id": "res.json#function",
3245
+ "name": "res.json",
3246
+ "qualified_name": "res.json",
3247
+ "container": null,
3248
+ "overload_key": null,
3249
+ "kind": "function",
3250
+ "signature": "res.json()",
3251
+ "params": [],
3252
+ "returns": null,
3253
+ "deprecated": null,
3254
+ "since_version": null,
3255
+ "source_doc_id": "validation.md",
3256
+ "source_chunk_id": "validation.md#manual-validator",
3257
+ "source_chunk_ids": [
3258
+ "validation.md#manual-validator",
3259
+ "validation.md#manual-validator-2"
3260
+ ],
3261
+ "source_anchor": "manual-validator",
3262
+ "evidence_quote": null,
3263
+ "lang": "en",
3264
+ "confidence": 0.5,
3265
+ "extraction_method": "heuristic"
3266
+ },
3267
+ {
3268
+ "id": "validator#function",
3269
+ "name": "validator",
3270
+ "qualified_name": "validator",
3271
+ "container": null,
3272
+ "overload_key": null,
3273
+ "kind": "function",
3274
+ "signature": "validator('query', ...)",
3275
+ "params": [],
3276
+ "returns": null,
3277
+ "deprecated": null,
3278
+ "since_version": null,
3279
+ "source_doc_id": "validation.md",
3280
+ "source_chunk_id": "validation.md#multiple-validators",
3281
+ "source_chunk_ids": [
3282
+ "validation.md#multiple-validators"
3283
+ ],
3284
+ "source_anchor": "multiple-validators",
3285
+ "evidence_quote": null,
3286
+ "lang": "en",
3287
+ "confidence": 0.5,
3288
+ "extraction_method": "heuristic"
3289
+ },
3290
+ {
3291
+ "id": "z.object#function",
3292
+ "name": "z.object",
3293
+ "qualified_name": "z.object",
3294
+ "container": null,
3295
+ "overload_key": null,
3296
+ "kind": "function",
3297
+ "signature": "z.object({\n body: z.string()",
3298
+ "params": [],
3299
+ "returns": null,
3300
+ "deprecated": null,
3301
+ "since_version": null,
3302
+ "source_doc_id": "validation.md",
3303
+ "source_chunk_id": "validation.md#with-zod",
3304
+ "source_chunk_ids": [
3305
+ "validation.md#with-zod",
3306
+ "validation.md#with-zod-2"
3307
+ ],
3308
+ "source_anchor": "with-zod",
3309
+ "evidence_quote": null,
3310
+ "lang": "en",
3311
+ "confidence": 0.5,
3312
+ "extraction_method": "heuristic"
3313
+ },
3314
+ {
3315
+ "id": "schema.safeparse#function",
3316
+ "name": "schema.safeParse",
3317
+ "qualified_name": "schema.safeParse",
3318
+ "container": null,
3319
+ "overload_key": null,
3320
+ "kind": "function",
3321
+ "signature": "schema.safeParse(value)",
3322
+ "params": [
3323
+ {
3324
+ "name": "value"
3325
+ }
3326
+ ],
3327
+ "returns": null,
3328
+ "deprecated": null,
3329
+ "since_version": null,
3330
+ "source_doc_id": "validation.md",
3331
+ "source_chunk_id": "validation.md#with-zod",
3332
+ "source_chunk_ids": [
3333
+ "validation.md#with-zod",
3334
+ "validation.md#with-zod-2"
3335
+ ],
3336
+ "source_anchor": "with-zod",
3337
+ "evidence_quote": null,
3338
+ "lang": "en",
3339
+ "confidence": 0.5,
3340
+ "extraction_method": "heuristic"
3341
+ },
3342
+ {
3343
+ "id": "z.number#function",
3344
+ "name": "z.number",
3345
+ "qualified_name": "z.number",
3346
+ "container": null,
3347
+ "overload_key": null,
3348
+ "kind": "function",
3349
+ "signature": "z.number()",
3350
+ "params": [],
3351
+ "returns": null,
3352
+ "deprecated": null,
3353
+ "since_version": null,
3354
+ "source_doc_id": "validation.md",
3355
+ "source_chunk_id": "validation.md#with-zod",
3356
+ "source_chunk_ids": [
3357
+ "validation.md#with-zod",
3358
+ "validation.md#with-zod-2"
3359
+ ],
3360
+ "source_anchor": "with-zod",
3361
+ "evidence_quote": null,
3362
+ "lang": "en",
3363
+ "confidence": 0.5,
3364
+ "extraction_method": "heuristic"
3365
+ },
3366
+ {
3367
+ "id": "v.object#function",
3368
+ "name": "v.object",
3369
+ "qualified_name": "v.object",
3370
+ "container": null,
3371
+ "overload_key": null,
3372
+ "kind": "function",
3373
+ "signature": "v.object({\n name: v.string()",
3374
+ "params": [],
3375
+ "returns": null,
3376
+ "deprecated": null,
3377
+ "since_version": null,
3378
+ "source_doc_id": "validation.md",
3379
+ "source_chunk_id": "validation.md#with-valibot",
3380
+ "source_chunk_ids": [
3381
+ "validation.md#with-valibot"
3382
+ ],
3383
+ "source_anchor": "with-valibot",
3384
+ "evidence_quote": null,
3385
+ "lang": "en",
3386
+ "confidence": 0.5,
3387
+ "extraction_method": "heuristic"
3388
+ },
3389
+ {
3390
+ "id": "v.number#function",
3391
+ "name": "v.number",
3392
+ "qualified_name": "v.number",
3393
+ "container": null,
3394
+ "overload_key": null,
3395
+ "kind": "function",
3396
+ "signature": "v.number()",
3397
+ "params": [],
3398
+ "returns": null,
3399
+ "deprecated": null,
3400
+ "since_version": null,
3401
+ "source_doc_id": "validation.md",
3402
+ "source_chunk_id": "validation.md#with-valibot",
3403
+ "source_chunk_ids": [
3404
+ "validation.md#with-valibot"
3405
+ ],
3406
+ "source_anchor": "with-valibot",
3407
+ "evidence_quote": null,
3408
+ "lang": "en",
3409
+ "confidence": 0.5,
3410
+ "extraction_method": "heuristic"
3411
+ },
3412
+ {
3413
+ "id": "type#function",
3414
+ "name": "type",
3415
+ "qualified_name": "type",
3416
+ "container": null,
3417
+ "overload_key": null,
3418
+ "kind": "function",
3419
+ "signature": "type({\n name: 'string',\n age: 'number',\n})",
3420
+ "params": [
3421
+ {
3422
+ "name": "age",
3423
+ "type": "'number'"
3424
+ }
3425
+ ],
3426
+ "returns": null,
3427
+ "deprecated": null,
3428
+ "since_version": null,
3429
+ "source_doc_id": "validation.md",
3430
+ "source_chunk_id": "validation.md#with-arktype",
3431
+ "source_chunk_ids": [
3432
+ "validation.md#with-arktype"
3433
+ ],
3434
+ "source_anchor": "with-arktype",
3435
+ "evidence_quote": null,
3436
+ "lang": "en",
3437
+ "confidence": 0.5,
3438
+ "extraction_method": "heuristic"
3439
+ }
3440
+ ],
3441
+ "coverage": {
3442
+ "total_sections": 142,
3443
+ "extracted_sections": 142
3444
+ }
3445
+ }