@greyworld/code-check-core 1.0.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 (309) hide show
  1. package/dist/facade/code-checker.d.ts +14 -0
  2. package/dist/facade/code-checker.d.ts.map +1 -0
  3. package/dist/facade/code-checker.js +63 -0
  4. package/dist/facade/code-checker.js.map +1 -0
  5. package/dist/facade/index.d.ts +3 -0
  6. package/dist/facade/index.d.ts.map +1 -0
  7. package/dist/facade/index.js +6 -0
  8. package/dist/facade/index.js.map +1 -0
  9. package/dist/facade/types.d.ts +24 -0
  10. package/dist/facade/types.d.ts.map +1 -0
  11. package/dist/facade/types.js +3 -0
  12. package/dist/facade/types.js.map +1 -0
  13. package/dist/index.d.ts +3 -0
  14. package/dist/index.d.ts.map +1 -0
  15. package/dist/index.js +7 -0
  16. package/dist/index.js.map +1 -0
  17. package/dist/tools/ast-parser/go/index.d.ts +3 -0
  18. package/dist/tools/ast-parser/go/index.d.ts.map +1 -0
  19. package/dist/tools/ast-parser/go/index.js +6 -0
  20. package/dist/tools/ast-parser/go/index.js.map +1 -0
  21. package/dist/tools/ast-parser/go/parser.d.ts +56 -0
  22. package/dist/tools/ast-parser/go/parser.d.ts.map +1 -0
  23. package/dist/tools/ast-parser/go/parser.js +147 -0
  24. package/dist/tools/ast-parser/go/parser.js.map +1 -0
  25. package/dist/tools/ast-parser/go/schema-extractor.d.ts +103 -0
  26. package/dist/tools/ast-parser/go/schema-extractor.d.ts.map +1 -0
  27. package/dist/tools/ast-parser/go/schema-extractor.js +487 -0
  28. package/dist/tools/ast-parser/go/schema-extractor.js.map +1 -0
  29. package/dist/tools/ast-parser/go/semantic-normalizer.d.ts +51 -0
  30. package/dist/tools/ast-parser/go/semantic-normalizer.d.ts.map +1 -0
  31. package/dist/tools/ast-parser/go/semantic-normalizer.js +263 -0
  32. package/dist/tools/ast-parser/go/semantic-normalizer.js.map +1 -0
  33. package/dist/tools/ast-parser/go/types.d.ts +131 -0
  34. package/dist/tools/ast-parser/go/types.d.ts.map +1 -0
  35. package/dist/tools/ast-parser/go/types.js +3 -0
  36. package/dist/tools/ast-parser/go/types.js.map +1 -0
  37. package/dist/tools/ast-parser/markdown/index.d.ts +28 -0
  38. package/dist/tools/ast-parser/markdown/index.d.ts.map +1 -0
  39. package/dist/tools/ast-parser/markdown/index.js +31 -0
  40. package/dist/tools/ast-parser/markdown/index.js.map +1 -0
  41. package/dist/tools/ast-parser/markdown/parser.d.ts +271 -0
  42. package/dist/tools/ast-parser/markdown/parser.d.ts.map +1 -0
  43. package/dist/tools/ast-parser/markdown/parser.js +613 -0
  44. package/dist/tools/ast-parser/markdown/parser.js.map +1 -0
  45. package/dist/tools/ast-parser/markdown/types.d.ts +131 -0
  46. package/dist/tools/ast-parser/markdown/types.d.ts.map +1 -0
  47. package/dist/tools/ast-parser/markdown/types.js +3 -0
  48. package/dist/tools/ast-parser/markdown/types.js.map +1 -0
  49. package/dist/tools/env/index.d.ts +2 -0
  50. package/dist/tools/env/index.d.ts.map +1 -0
  51. package/dist/tools/env/index.js +6 -0
  52. package/dist/tools/env/index.js.map +1 -0
  53. package/dist/tools/env/load-env.d.ts +9 -0
  54. package/dist/tools/env/load-env.d.ts.map +1 -0
  55. package/dist/tools/env/load-env.js +39 -0
  56. package/dist/tools/env/load-env.js.map +1 -0
  57. package/dist/tools/line-pattern/index.d.ts +15 -0
  58. package/dist/tools/line-pattern/index.d.ts.map +1 -0
  59. package/dist/tools/line-pattern/index.js +25 -0
  60. package/dist/tools/line-pattern/index.js.map +1 -0
  61. package/dist/tools/line-pattern/line-pattern.d.ts +53 -0
  62. package/dist/tools/line-pattern/line-pattern.d.ts.map +1 -0
  63. package/dist/tools/line-pattern/line-pattern.js +88 -0
  64. package/dist/tools/line-pattern/line-pattern.js.map +1 -0
  65. package/dist/tools/line-pattern/segment.d.ts +24 -0
  66. package/dist/tools/line-pattern/segment.d.ts.map +1 -0
  67. package/dist/tools/line-pattern/segment.js +15 -0
  68. package/dist/tools/line-pattern/segment.js.map +1 -0
  69. package/dist/tools/line-pattern/segments.d.ts +43 -0
  70. package/dist/tools/line-pattern/segments.d.ts.map +1 -0
  71. package/dist/tools/line-pattern/segments.js +91 -0
  72. package/dist/tools/line-pattern/segments.js.map +1 -0
  73. package/dist/tools/llm/description-intent/format-spec.d.ts +3 -0
  74. package/dist/tools/llm/description-intent/format-spec.d.ts.map +1 -0
  75. package/dist/tools/llm/description-intent/format-spec.js +167 -0
  76. package/dist/tools/llm/description-intent/format-spec.js.map +1 -0
  77. package/dist/tools/llm/description-intent/index.d.ts +7 -0
  78. package/dist/tools/llm/description-intent/index.d.ts.map +1 -0
  79. package/dist/tools/llm/description-intent/index.js +15 -0
  80. package/dist/tools/llm/description-intent/index.js.map +1 -0
  81. package/dist/tools/llm/description-intent/intent-detector.d.ts +8 -0
  82. package/dist/tools/llm/description-intent/intent-detector.d.ts.map +1 -0
  83. package/dist/tools/llm/description-intent/intent-detector.js +103 -0
  84. package/dist/tools/llm/description-intent/intent-detector.js.map +1 -0
  85. package/dist/tools/llm/description-intent/normalizer.d.ts +12 -0
  86. package/dist/tools/llm/description-intent/normalizer.d.ts.map +1 -0
  87. package/dist/tools/llm/description-intent/normalizer.js +73 -0
  88. package/dist/tools/llm/description-intent/normalizer.js.map +1 -0
  89. package/dist/tools/llm/description-intent/slot-extractor.d.ts +3 -0
  90. package/dist/tools/llm/description-intent/slot-extractor.d.ts.map +1 -0
  91. package/dist/tools/llm/description-intent/slot-extractor.js +66 -0
  92. package/dist/tools/llm/description-intent/slot-extractor.js.map +1 -0
  93. package/dist/tools/llm/description-intent/types.d.ts +28 -0
  94. package/dist/tools/llm/description-intent/types.d.ts.map +1 -0
  95. package/dist/tools/llm/description-intent/types.js +19 -0
  96. package/dist/tools/llm/description-intent/types.js.map +1 -0
  97. package/dist/tools/llm/index.d.ts +16 -0
  98. package/dist/tools/llm/index.d.ts.map +1 -0
  99. package/dist/tools/llm/index.js +26 -0
  100. package/dist/tools/llm/index.js.map +1 -0
  101. package/dist/tools/llm/model.d.ts +3 -0
  102. package/dist/tools/llm/model.d.ts.map +1 -0
  103. package/dist/tools/llm/model.js +18 -0
  104. package/dist/tools/llm/model.js.map +1 -0
  105. package/dist/tools/llm/structured-caller.d.ts +86 -0
  106. package/dist/tools/llm/structured-caller.d.ts.map +1 -0
  107. package/dist/tools/llm/structured-caller.js +181 -0
  108. package/dist/tools/llm/structured-caller.js.map +1 -0
  109. package/dist/tools/node-pattern/index.d.ts +17 -0
  110. package/dist/tools/node-pattern/index.d.ts.map +1 -0
  111. package/dist/tools/node-pattern/index.js +36 -0
  112. package/dist/tools/node-pattern/index.js.map +1 -0
  113. package/dist/tools/node-pattern/matchers.d.ts +61 -0
  114. package/dist/tools/node-pattern/matchers.d.ts.map +1 -0
  115. package/dist/tools/node-pattern/matchers.js +154 -0
  116. package/dist/tools/node-pattern/matchers.js.map +1 -0
  117. package/dist/tools/node-pattern/node-matcher.d.ts +69 -0
  118. package/dist/tools/node-pattern/node-matcher.d.ts.map +1 -0
  119. package/dist/tools/node-pattern/node-matcher.js +122 -0
  120. package/dist/tools/node-pattern/node-matcher.js.map +1 -0
  121. package/dist/tools/node-pattern/node-pattern.d.ts +65 -0
  122. package/dist/tools/node-pattern/node-pattern.d.ts.map +1 -0
  123. package/dist/tools/node-pattern/node-pattern.js +129 -0
  124. package/dist/tools/node-pattern/node-pattern.js.map +1 -0
  125. package/dist/tools/section-check/index.d.ts +4 -0
  126. package/dist/tools/section-check/index.d.ts.map +1 -0
  127. package/dist/tools/section-check/index.js +10 -0
  128. package/dist/tools/section-check/index.js.map +1 -0
  129. package/dist/tools/section-check/section-check.d.ts +46 -0
  130. package/dist/tools/section-check/section-check.d.ts.map +1 -0
  131. package/dist/tools/section-check/section-check.js +264 -0
  132. package/dist/tools/section-check/section-check.js.map +1 -0
  133. package/dist/tools/section-check/types.d.ts +35 -0
  134. package/dist/tools/section-check/types.d.ts.map +1 -0
  135. package/dist/tools/section-check/types.js +23 -0
  136. package/dist/tools/section-check/types.js.map +1 -0
  137. package/dist/tools/text-grep/index.d.ts +10 -0
  138. package/dist/tools/text-grep/index.d.ts.map +1 -0
  139. package/dist/tools/text-grep/index.js +13 -0
  140. package/dist/tools/text-grep/index.js.map +1 -0
  141. package/dist/tools/text-grep/regex-grep.d.ts +92 -0
  142. package/dist/tools/text-grep/regex-grep.d.ts.map +1 -0
  143. package/dist/tools/text-grep/regex-grep.js +141 -0
  144. package/dist/tools/text-grep/regex-grep.js.map +1 -0
  145. package/dist/workflow/context/context.d.ts +13 -0
  146. package/dist/workflow/context/context.d.ts.map +1 -0
  147. package/dist/workflow/context/context.js +29 -0
  148. package/dist/workflow/context/context.js.map +1 -0
  149. package/dist/workflow/implement/resource-check/context-keys.d.ts +30 -0
  150. package/dist/workflow/implement/resource-check/context-keys.d.ts.map +1 -0
  151. package/dist/workflow/implement/resource-check/context-keys.js +33 -0
  152. package/dist/workflow/implement/resource-check/context-keys.js.map +1 -0
  153. package/dist/workflow/implement/resource-check/resource-check-workflow.d.ts +20 -0
  154. package/dist/workflow/implement/resource-check/resource-check-workflow.d.ts.map +1 -0
  155. package/dist/workflow/implement/resource-check/resource-check-workflow.js +325 -0
  156. package/dist/workflow/implement/resource-check/resource-check-workflow.js.map +1 -0
  157. package/dist/workflow/implement/resource-check/rules/index.d.ts +5 -0
  158. package/dist/workflow/implement/resource-check/rules/index.d.ts.map +1 -0
  159. package/dist/workflow/implement/resource-check/rules/index.js +21 -0
  160. package/dist/workflow/implement/resource-check/rules/index.js.map +1 -0
  161. package/dist/workflow/implement/resource-check/rules/markdown-format/arguments/argument-section-format-rule.d.ts +8 -0
  162. package/dist/workflow/implement/resource-check/rules/markdown-format/arguments/argument-section-format-rule.d.ts.map +1 -0
  163. package/dist/workflow/implement/resource-check/rules/markdown-format/arguments/argument-section-format-rule.js +51 -0
  164. package/dist/workflow/implement/resource-check/rules/markdown-format/arguments/argument-section-format-rule.js.map +1 -0
  165. package/dist/workflow/implement/resource-check/rules/markdown-format/attributes/attribute-section-format-rule.d.ts +8 -0
  166. package/dist/workflow/implement/resource-check/rules/markdown-format/attributes/attribute-section-format-rule.d.ts.map +1 -0
  167. package/dist/workflow/implement/resource-check/rules/markdown-format/attributes/attribute-section-format-rule.js +60 -0
  168. package/dist/workflow/implement/resource-check/rules/markdown-format/attributes/attribute-section-format-rule.js.map +1 -0
  169. package/dist/workflow/implement/resource-check/rules/markdown-format/blank-line-between-blocks-rule.d.ts +9 -0
  170. package/dist/workflow/implement/resource-check/rules/markdown-format/blank-line-between-blocks-rule.d.ts.map +1 -0
  171. package/dist/workflow/implement/resource-check/rules/markdown-format/blank-line-between-blocks-rule.js +80 -0
  172. package/dist/workflow/implement/resource-check/rules/markdown-format/blank-line-between-blocks-rule.js.map +1 -0
  173. package/dist/workflow/implement/resource-check/rules/markdown-format/example/example-section-exists-rule.d.ts +8 -0
  174. package/dist/workflow/implement/resource-check/rules/markdown-format/example/example-section-exists-rule.d.ts.map +1 -0
  175. package/dist/workflow/implement/resource-check/rules/markdown-format/example/example-section-exists-rule.js +42 -0
  176. package/dist/workflow/implement/resource-check/rules/markdown-format/example/example-section-exists-rule.js.map +1 -0
  177. package/dist/workflow/implement/resource-check/rules/markdown-format/example-section-exists-rule.d.ts +8 -0
  178. package/dist/workflow/implement/resource-check/rules/markdown-format/example-section-exists-rule.d.ts.map +1 -0
  179. package/dist/workflow/implement/resource-check/rules/markdown-format/example-section-exists-rule.js +34 -0
  180. package/dist/workflow/implement/resource-check/rules/markdown-format/example-section-exists-rule.js.map +1 -0
  181. package/dist/workflow/implement/resource-check/rules/markdown-format/frontmatter/frontmatter-check-rule.d.ts +8 -0
  182. package/dist/workflow/implement/resource-check/rules/markdown-format/frontmatter/frontmatter-check-rule.d.ts.map +1 -0
  183. package/dist/workflow/implement/resource-check/rules/markdown-format/frontmatter/frontmatter-check-rule.js +33 -0
  184. package/dist/workflow/implement/resource-check/rules/markdown-format/frontmatter/frontmatter-check-rule.js.map +1 -0
  185. package/dist/workflow/implement/resource-check/rules/markdown-format/frontmatter-check-rule.d.ts +8 -0
  186. package/dist/workflow/implement/resource-check/rules/markdown-format/frontmatter-check-rule.d.ts.map +1 -0
  187. package/dist/workflow/implement/resource-check/rules/markdown-format/frontmatter-check-rule.js +33 -0
  188. package/dist/workflow/implement/resource-check/rules/markdown-format/frontmatter-check-rule.js.map +1 -0
  189. package/dist/workflow/implement/resource-check/rules/markdown-format/h1-exists-rule.d.ts +8 -0
  190. package/dist/workflow/implement/resource-check/rules/markdown-format/h1-exists-rule.d.ts.map +1 -0
  191. package/dist/workflow/implement/resource-check/rules/markdown-format/h1-exists-rule.js +34 -0
  192. package/dist/workflow/implement/resource-check/rules/markdown-format/h1-exists-rule.js.map +1 -0
  193. package/dist/workflow/implement/resource-check/rules/markdown-format/index.d.ts +11 -0
  194. package/dist/workflow/implement/resource-check/rules/markdown-format/index.d.ts.map +1 -0
  195. package/dist/workflow/implement/resource-check/rules/markdown-format/index.js +38 -0
  196. package/dist/workflow/implement/resource-check/rules/markdown-format/index.js.map +1 -0
  197. package/dist/workflow/implement/resource-check/rules/markdown-format/line-length-rule.d.ts +15 -0
  198. package/dist/workflow/implement/resource-check/rules/markdown-format/line-length-rule.d.ts.map +1 -0
  199. package/dist/workflow/implement/resource-check/rules/markdown-format/line-length-rule.js +77 -0
  200. package/dist/workflow/implement/resource-check/rules/markdown-format/line-length-rule.js.map +1 -0
  201. package/dist/workflow/implement/resource-check/rules/markdown-format/number-format-rule.d.ts +23 -0
  202. package/dist/workflow/implement/resource-check/rules/markdown-format/number-format-rule.d.ts.map +1 -0
  203. package/dist/workflow/implement/resource-check/rules/markdown-format/number-format-rule.js +128 -0
  204. package/dist/workflow/implement/resource-check/rules/markdown-format/number-format-rule.js.map +1 -0
  205. package/dist/workflow/implement/resource-check/rules/markdown-format/shared/section-check-result.d.ts +9 -0
  206. package/dist/workflow/implement/resource-check/rules/markdown-format/shared/section-check-result.d.ts.map +1 -0
  207. package/dist/workflow/implement/resource-check/rules/markdown-format/shared/section-check-result.js +19 -0
  208. package/dist/workflow/implement/resource-check/rules/markdown-format/shared/section-check-result.js.map +1 -0
  209. package/dist/workflow/implement/resource-check/rules/markdown-format/title/h1-exists-rule.d.ts +8 -0
  210. package/dist/workflow/implement/resource-check/rules/markdown-format/title/h1-exists-rule.d.ts.map +1 -0
  211. package/dist/workflow/implement/resource-check/rules/markdown-format/title/h1-exists-rule.js +44 -0
  212. package/dist/workflow/implement/resource-check/rules/markdown-format/title/h1-exists-rule.js.map +1 -0
  213. package/dist/workflow/implement/resource-check/rules/markdown-format/total/blank-line-between-blocks-rule.d.ts +9 -0
  214. package/dist/workflow/implement/resource-check/rules/markdown-format/total/blank-line-between-blocks-rule.d.ts.map +1 -0
  215. package/dist/workflow/implement/resource-check/rules/markdown-format/total/blank-line-between-blocks-rule.js +80 -0
  216. package/dist/workflow/implement/resource-check/rules/markdown-format/total/blank-line-between-blocks-rule.js.map +1 -0
  217. package/dist/workflow/implement/resource-check/rules/markdown-format/total/line-length-rule.d.ts +15 -0
  218. package/dist/workflow/implement/resource-check/rules/markdown-format/total/line-length-rule.d.ts.map +1 -0
  219. package/dist/workflow/implement/resource-check/rules/markdown-format/total/line-length-rule.js +77 -0
  220. package/dist/workflow/implement/resource-check/rules/markdown-format/total/line-length-rule.js.map +1 -0
  221. package/dist/workflow/implement/resource-check/rules/markdown-format/total/number-format-rule.d.ts +23 -0
  222. package/dist/workflow/implement/resource-check/rules/markdown-format/total/number-format-rule.d.ts.map +1 -0
  223. package/dist/workflow/implement/resource-check/rules/markdown-format/total/number-format-rule.js +128 -0
  224. package/dist/workflow/implement/resource-check/rules/markdown-format/total/number-format-rule.js.map +1 -0
  225. package/dist/workflow/implement/resource-check/rules/markdown-semantic/argument-section-semantic-rule.d.ts +11 -0
  226. package/dist/workflow/implement/resource-check/rules/markdown-semantic/argument-section-semantic-rule.d.ts.map +1 -0
  227. package/dist/workflow/implement/resource-check/rules/markdown-semantic/argument-section-semantic-rule.js +145 -0
  228. package/dist/workflow/implement/resource-check/rules/markdown-semantic/argument-section-semantic-rule.js.map +1 -0
  229. package/dist/workflow/implement/resource-check/rules/markdown-semantic/arguments/argument-section-semantic-rule.d.ts +11 -0
  230. package/dist/workflow/implement/resource-check/rules/markdown-semantic/arguments/argument-section-semantic-rule.d.ts.map +1 -0
  231. package/dist/workflow/implement/resource-check/rules/markdown-semantic/arguments/argument-section-semantic-rule.js +145 -0
  232. package/dist/workflow/implement/resource-check/rules/markdown-semantic/arguments/argument-section-semantic-rule.js.map +1 -0
  233. package/dist/workflow/implement/resource-check/rules/markdown-semantic/attribute-section-semantic-rule.d.ts +9 -0
  234. package/dist/workflow/implement/resource-check/rules/markdown-semantic/attribute-section-semantic-rule.d.ts.map +1 -0
  235. package/dist/workflow/implement/resource-check/rules/markdown-semantic/attribute-section-semantic-rule.js +83 -0
  236. package/dist/workflow/implement/resource-check/rules/markdown-semantic/attribute-section-semantic-rule.js.map +1 -0
  237. package/dist/workflow/implement/resource-check/rules/markdown-semantic/attributes/attribute-section-semantic-rule.d.ts +9 -0
  238. package/dist/workflow/implement/resource-check/rules/markdown-semantic/attributes/attribute-section-semantic-rule.d.ts.map +1 -0
  239. package/dist/workflow/implement/resource-check/rules/markdown-semantic/attributes/attribute-section-semantic-rule.js +83 -0
  240. package/dist/workflow/implement/resource-check/rules/markdown-semantic/attributes/attribute-section-semantic-rule.js.map +1 -0
  241. package/dist/workflow/implement/resource-check/rules/markdown-semantic/index.d.ts +7 -0
  242. package/dist/workflow/implement/resource-check/rules/markdown-semantic/index.d.ts.map +1 -0
  243. package/dist/workflow/implement/resource-check/rules/markdown-semantic/index.js +15 -0
  244. package/dist/workflow/implement/resource-check/rules/markdown-semantic/index.js.map +1 -0
  245. package/dist/workflow/implement/resource-check/rules/markdown-semantic/section-existence-rule.d.ts +9 -0
  246. package/dist/workflow/implement/resource-check/rules/markdown-semantic/section-existence-rule.d.ts.map +1 -0
  247. package/dist/workflow/implement/resource-check/rules/markdown-semantic/section-existence-rule.js +96 -0
  248. package/dist/workflow/implement/resource-check/rules/markdown-semantic/section-existence-rule.js.map +1 -0
  249. package/dist/workflow/implement/resource-check/rules/markdown-semantic/total/section-existence-rule.d.ts +9 -0
  250. package/dist/workflow/implement/resource-check/rules/markdown-semantic/total/section-existence-rule.d.ts.map +1 -0
  251. package/dist/workflow/implement/resource-check/rules/markdown-semantic/total/section-existence-rule.js +109 -0
  252. package/dist/workflow/implement/resource-check/rules/markdown-semantic/total/section-existence-rule.js.map +1 -0
  253. package/dist/workflow/implement/resource-check/rules/stage-placeholder-rule.d.ts +19 -0
  254. package/dist/workflow/implement/resource-check/rules/stage-placeholder-rule.d.ts.map +1 -0
  255. package/dist/workflow/implement/resource-check/rules/stage-placeholder-rule.js +31 -0
  256. package/dist/workflow/implement/resource-check/rules/stage-placeholder-rule.js.map +1 -0
  257. package/dist/workflow/implement/resource-check/tools/doc-semantic/builder.d.ts +15 -0
  258. package/dist/workflow/implement/resource-check/tools/doc-semantic/builder.d.ts.map +1 -0
  259. package/dist/workflow/implement/resource-check/tools/doc-semantic/builder.js +554 -0
  260. package/dist/workflow/implement/resource-check/tools/doc-semantic/builder.js.map +1 -0
  261. package/dist/workflow/implement/resource-check/tools/doc-semantic/index.d.ts +5 -0
  262. package/dist/workflow/implement/resource-check/tools/doc-semantic/index.d.ts.map +1 -0
  263. package/dist/workflow/implement/resource-check/tools/doc-semantic/index.js +16 -0
  264. package/dist/workflow/implement/resource-check/tools/doc-semantic/index.js.map +1 -0
  265. package/dist/workflow/implement/resource-check/tools/doc-semantic/types.d.ts +94 -0
  266. package/dist/workflow/implement/resource-check/tools/doc-semantic/types.d.ts.map +1 -0
  267. package/dist/workflow/implement/resource-check/tools/doc-semantic/types.js +42 -0
  268. package/dist/workflow/implement/resource-check/tools/doc-semantic/types.js.map +1 -0
  269. package/dist/workflow/implement/resource-check/tools/schema-semantic/builder.d.ts +4 -0
  270. package/dist/workflow/implement/resource-check/tools/schema-semantic/builder.d.ts.map +1 -0
  271. package/dist/workflow/implement/resource-check/tools/schema-semantic/builder.js +103 -0
  272. package/dist/workflow/implement/resource-check/tools/schema-semantic/builder.js.map +1 -0
  273. package/dist/workflow/implement/resource-check/tools/schema-semantic/index.d.ts +3 -0
  274. package/dist/workflow/implement/resource-check/tools/schema-semantic/index.d.ts.map +1 -0
  275. package/dist/workflow/implement/resource-check/tools/schema-semantic/index.js +6 -0
  276. package/dist/workflow/implement/resource-check/tools/schema-semantic/index.js.map +1 -0
  277. package/dist/workflow/implement/resource-check/tools/schema-semantic/types.d.ts +47 -0
  278. package/dist/workflow/implement/resource-check/tools/schema-semantic/types.d.ts.map +1 -0
  279. package/dist/workflow/implement/resource-check/tools/schema-semantic/types.js +3 -0
  280. package/dist/workflow/implement/resource-check/tools/schema-semantic/types.js.map +1 -0
  281. package/dist/workflow/implement/resource-check/tools/terraform-schema/index.d.ts +4 -0
  282. package/dist/workflow/implement/resource-check/tools/terraform-schema/index.d.ts.map +1 -0
  283. package/dist/workflow/implement/resource-check/tools/terraform-schema/index.js +8 -0
  284. package/dist/workflow/implement/resource-check/tools/terraform-schema/index.js.map +1 -0
  285. package/dist/workflow/implement/resource-check/tools/terraform-schema/schema-extractor.d.ts +108 -0
  286. package/dist/workflow/implement/resource-check/tools/terraform-schema/schema-extractor.d.ts.map +1 -0
  287. package/dist/workflow/implement/resource-check/tools/terraform-schema/schema-extractor.js +498 -0
  288. package/dist/workflow/implement/resource-check/tools/terraform-schema/schema-extractor.js.map +1 -0
  289. package/dist/workflow/implement/resource-check/tools/terraform-schema/semantic-normalizer.d.ts +51 -0
  290. package/dist/workflow/implement/resource-check/tools/terraform-schema/semantic-normalizer.d.ts.map +1 -0
  291. package/dist/workflow/implement/resource-check/tools/terraform-schema/semantic-normalizer.js +271 -0
  292. package/dist/workflow/implement/resource-check/tools/terraform-schema/semantic-normalizer.js.map +1 -0
  293. package/dist/workflow/implement/resource-check/tools/terraform-schema/types.d.ts +133 -0
  294. package/dist/workflow/implement/resource-check/tools/terraform-schema/types.d.ts.map +1 -0
  295. package/dist/workflow/implement/resource-check/tools/terraform-schema/types.js +3 -0
  296. package/dist/workflow/implement/resource-check/tools/terraform-schema/types.js.map +1 -0
  297. package/dist/workflow/implement/resource-check/types.d.ts +18 -0
  298. package/dist/workflow/implement/resource-check/types.d.ts.map +1 -0
  299. package/dist/workflow/implement/resource-check/types.js +107 -0
  300. package/dist/workflow/implement/resource-check/types.js.map +1 -0
  301. package/dist/workflow/types/rule/rule.d.ts +72 -0
  302. package/dist/workflow/types/rule/rule.d.ts.map +1 -0
  303. package/dist/workflow/types/rule/rule.js +110 -0
  304. package/dist/workflow/types/rule/rule.js.map +1 -0
  305. package/dist/workflow/workflow.d.ts +52 -0
  306. package/dist/workflow/workflow.d.ts.map +1 -0
  307. package/dist/workflow/workflow.js +121 -0
  308. package/dist/workflow/workflow.js.map +1 -0
  309. package/package.json +36 -0
@@ -0,0 +1,554 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ATTR_BULLET_PATTERN = exports.ARG_BULLET_PATTERN = void 0;
4
+ exports.buildDocSemanticView = buildDocSemanticView;
5
+ exports.buildFrontMatter = buildFrontMatter;
6
+ exports.buildTitle = buildTitle;
7
+ exports.buildExampleList = buildExampleList;
8
+ exports.buildArgumentList = buildArgumentList;
9
+ exports.buildAttributeList = buildAttributeList;
10
+ exports.buildImport = buildImport;
11
+ exports.buildTimeOut = buildTimeOut;
12
+ const markdown_1 = require("../../../../../tools/ast-parser/markdown");
13
+ const line_pattern_1 = require("../../../../../tools/line-pattern");
14
+ const types_1 = require("./types");
15
+ const MODIFIERS = ["Required", "Optional"];
16
+ const TYPES = ["String", "Int", "Bool", "List", "Map", "Float", "Set"];
17
+ const TAGS = ["ForceNew", "NonUpdatable", "Deprecated", "Computed", "Sensitive"];
18
+ exports.ARG_BULLET_PATTERN = new line_pattern_1.LinePattern([
19
+ (0, line_pattern_1.literal)("* "),
20
+ (0, line_pattern_1.backticked)("arg_name"),
21
+ (0, line_pattern_1.spaces)(1),
22
+ (0, line_pattern_1.literal)("-"),
23
+ (0, line_pattern_1.spaces)(1),
24
+ (0, line_pattern_1.csvParenthesized)([
25
+ { name: "Modifier", values: MODIFIERS },
26
+ { name: "Type", values: TYPES },
27
+ { name: "Tag", values: TAGS, zeroOrMore: true },
28
+ ]),
29
+ (0, line_pattern_1.spaces)(1),
30
+ (0, line_pattern_1.rest)("description"),
31
+ ]);
32
+ exports.ATTR_BULLET_PATTERN = new line_pattern_1.LinePattern([
33
+ (0, line_pattern_1.literal)("* "),
34
+ (0, line_pattern_1.backticked)("attr_name"),
35
+ (0, line_pattern_1.spaces)(1),
36
+ (0, line_pattern_1.literal)("-"),
37
+ (0, line_pattern_1.spaces)(1),
38
+ (0, line_pattern_1.rest)("description"),
39
+ ]);
40
+ function buildDocSemanticView(ast, source, parser = new markdown_1.MarkdownParser()) {
41
+ const diagnostics = [];
42
+ const blocks = [];
43
+ const frontMatter = buildFrontMatter(parser, ast, diagnostics);
44
+ if (frontMatter)
45
+ blocks.push(frontMatter);
46
+ const title = buildTitle(parser, ast, diagnostics);
47
+ if (title)
48
+ blocks.push(title);
49
+ const examples = buildExampleList(parser, ast, diagnostics);
50
+ if (examples)
51
+ blocks.push(examples);
52
+ const argumentList = buildArgumentList(parser, ast, source, diagnostics);
53
+ if (argumentList)
54
+ blocks.push(argumentList);
55
+ const attributeList = buildAttributeList(parser, ast, source, diagnostics);
56
+ if (attributeList)
57
+ blocks.push(attributeList);
58
+ blocks.push(buildImport(parser, ast, diagnostics));
59
+ const timeOut = buildTimeOut(parser, ast, source, diagnostics);
60
+ if (timeOut)
61
+ blocks.push(timeOut);
62
+ return new types_1.DocSemanticView(blocks, diagnostics);
63
+ }
64
+ function buildFrontMatter(parser, ast, diagnostics) {
65
+ const node = parser.findFirst(ast, (n) => n.type === "frontmatter");
66
+ if (!node)
67
+ return null;
68
+ const raw = asRecord(node.data);
69
+ const block = {
70
+ subcategory: asString(raw.subcategory),
71
+ pageTitle: asString(raw.page_title),
72
+ description: normalizeInlineText(raw.description),
73
+ raw,
74
+ sourceRange: node.sourceRange ?? undefined,
75
+ };
76
+ if (!block.pageTitle) {
77
+ diagnostics.push({
78
+ level: "warning",
79
+ code: "DOC_FRONTMATTER_PAGE_TITLE_MISSING",
80
+ message: "FrontMatter is missing page_title.",
81
+ sourceRange: node.sourceRange ?? undefined,
82
+ });
83
+ }
84
+ return toBlockView("FrontMatter", block, [node]);
85
+ }
86
+ function buildTitle(parser, ast, diagnostics) {
87
+ const body = parser.getBodyChildren(ast);
88
+ const heading = body.find((n) => n.type === "heading" && (n.level ?? 0) === 1);
89
+ if (!heading) {
90
+ diagnostics.push({
91
+ level: "warning",
92
+ code: "DOC_TITLE_MISSING",
93
+ message: "H1 title is missing.",
94
+ });
95
+ return null;
96
+ }
97
+ const titleText = parser.getTextContent(heading).trim();
98
+ const descNode = parser.getNextSibling(ast, heading, (n) => n.type === "paragraph");
99
+ const description = descNode
100
+ ? normalizeInlineText(parser.getTextContent(descNode))
101
+ : "";
102
+ return toBlockView("Title", {
103
+ title: titleText,
104
+ description,
105
+ sourceRange: mergeSourceRange(heading.sourceRange ?? undefined, descNode?.sourceRange ?? undefined),
106
+ }, descNode ? [heading, descNode] : [heading]);
107
+ }
108
+ function buildExampleList(parser, ast, diagnostics) {
109
+ const section = parser.getSection(ast, 2, "Example Usage");
110
+ if (!section)
111
+ return null;
112
+ const examples = [];
113
+ let currentTitle = "";
114
+ for (const node of section) {
115
+ if (node.type === "heading" && (node.level ?? 0) === 3) {
116
+ currentTitle = parser.getTextContent(node).trim();
117
+ continue;
118
+ }
119
+ if (node.type !== "code_block")
120
+ continue;
121
+ const language = (node.info ?? "").trim().toLowerCase();
122
+ if (language && language !== "hcl")
123
+ continue;
124
+ examples.push({
125
+ title: currentTitle || `Example ${examples.length + 1}`,
126
+ code: node.literal ?? "",
127
+ sourceRange: node.sourceRange ?? undefined,
128
+ });
129
+ }
130
+ if (examples.length === 0) {
131
+ diagnostics.push({
132
+ level: "warning",
133
+ code: "DOC_EXAMPLE_SECTION_EMPTY",
134
+ message: "Example Usage section exists but has no hcl code blocks.",
135
+ sourceRange: getRangeFromNodes(section),
136
+ });
137
+ }
138
+ return toBlockView("ExampleList", {
139
+ title: "Example Usage",
140
+ examples,
141
+ sourceRange: getRangeFromNodes(section),
142
+ }, section);
143
+ }
144
+ function buildArgumentList(parser, ast, source, diagnostics) {
145
+ const section = parser.getSection(ast, 2, "Argument Reference");
146
+ if (!section)
147
+ return null;
148
+ const description = extractSectionDescription(parser, section);
149
+ const topList = findFirstNodeByType(section, "list");
150
+ const args = topList
151
+ ? parseArgumentItemsFromList(parser, source, topList, diagnostics)
152
+ : [];
153
+ const nestedLists = collectNestedSupportLists(parser, section);
154
+ for (const nested of nestedLists) {
155
+ const children = parseArgumentItemsFromList(parser, source, nested.listNode, diagnostics);
156
+ const attached = attachNestedArguments(args, nested.parentName, children);
157
+ if (!attached) {
158
+ diagnostics.push({
159
+ level: "warning",
160
+ code: "DOC_ARGUMENT_NESTED_PARENT_NOT_FOUND",
161
+ message: `Nested argument block parent not found: ${nested.parentName}`,
162
+ sourceRange: nested.listNode.sourceRange ?? undefined,
163
+ });
164
+ }
165
+ }
166
+ return toBlockView("ArgumentList", {
167
+ title: "Argument Reference",
168
+ description,
169
+ isComputed: () => hasComputedArgument(args),
170
+ arguments: args,
171
+ sourceRange: getRangeFromNodes(section),
172
+ }, section);
173
+ }
174
+ function buildAttributeList(parser, ast, source, diagnostics) {
175
+ const sectionInfo = getSectionByTitles(parser, ast, 2, [
176
+ "Attributes Reference",
177
+ "Attribute Reference",
178
+ ]);
179
+ if (!sectionInfo)
180
+ return null;
181
+ const description = extractSectionDescription(parser, sectionInfo.nodes);
182
+ const topList = findFirstNodeByType(sectionInfo.nodes, "list");
183
+ const attrs = topList
184
+ ? parseAttributeItemsFromList(parser, source, topList, diagnostics)
185
+ : [];
186
+ const nestedLists = collectNestedSupportLists(parser, sectionInfo.nodes);
187
+ for (const nested of nestedLists) {
188
+ const children = parseAttributeItemsFromList(parser, source, nested.listNode, diagnostics);
189
+ const attached = attachNestedAttributes(attrs, nested.parentName, children);
190
+ if (!attached) {
191
+ diagnostics.push({
192
+ level: "warning",
193
+ code: "DOC_ATTRIBUTE_NESTED_PARENT_NOT_FOUND",
194
+ message: `Nested attribute block parent not found: ${nested.parentName}`,
195
+ sourceRange: nested.listNode.sourceRange ?? undefined,
196
+ });
197
+ }
198
+ }
199
+ return toBlockView("AttributeList", {
200
+ title: sectionInfo.title,
201
+ description,
202
+ attributes: attrs,
203
+ sourceRange: getRangeFromNodes(sectionInfo.nodes),
204
+ }, sectionInfo.nodes);
205
+ }
206
+ function buildImport(parser, ast, diagnostics) {
207
+ const section = parser.getSection(ast, 2, "Import");
208
+ if (!section) {
209
+ return toBlockView("Import", {
210
+ hasImportBlock: false,
211
+ }, []);
212
+ }
213
+ const codeBlock = section.find((n) => n.type === "code_block");
214
+ const importIdPattern = extractImportIdPattern(codeBlock?.literal ?? "");
215
+ if (!importIdPattern) {
216
+ diagnostics.push({
217
+ level: "warning",
218
+ code: "DOC_IMPORT_PATTERN_NOT_FOUND",
219
+ message: "Import section exists but import id pattern is not detected.",
220
+ sourceRange: getRangeFromNodes(section),
221
+ });
222
+ }
223
+ return toBlockView("Import", {
224
+ hasImportBlock: true,
225
+ importIdPattern,
226
+ sourceRange: getRangeFromNodes(section),
227
+ }, section);
228
+ }
229
+ function buildTimeOut(parser, ast, source, diagnostics) {
230
+ const sectionInfo = getSectionByTitles(parser, ast, 2, [
231
+ "Timeouts",
232
+ "Timeout",
233
+ ]);
234
+ if (!sectionInfo)
235
+ return null;
236
+ const timeout = {
237
+ sourceRange: getRangeFromNodes(sectionInfo.nodes),
238
+ };
239
+ for (const node of sectionInfo.nodes) {
240
+ const text = parser.getTextContent(node).trim();
241
+ parseTimeoutLine(text, timeout);
242
+ const nodeText = parser.getNodeText(source, node);
243
+ if (!nodeText)
244
+ continue;
245
+ for (const line of nodeText.lines) {
246
+ parseTimeoutLine(line.trim(), timeout);
247
+ }
248
+ }
249
+ if (!timeout.create && !timeout.update && !timeout.delete) {
250
+ diagnostics.push({
251
+ level: "warning",
252
+ code: "DOC_TIMEOUT_VALUE_NOT_FOUND",
253
+ message: "Timeouts section exists but no create/update/delete values are parsed.",
254
+ sourceRange: timeout.sourceRange,
255
+ });
256
+ }
257
+ return toBlockView("TimeOut", timeout, sectionInfo.nodes);
258
+ }
259
+ function parseArgumentItemsFromList(parser, source, listNode, diagnostics) {
260
+ const items = parser.getBulletItems([listNode]);
261
+ const result = [];
262
+ for (const item of items) {
263
+ const bullet = parser.getItemBulletLine(source, item);
264
+ if (!bullet)
265
+ continue;
266
+ const parsed = parseArgumentBullet(bullet.text);
267
+ if (!parsed) {
268
+ diagnostics.push({
269
+ level: "warning",
270
+ code: "DOC_ARGUMENT_BULLET_PARSE_FAIL",
271
+ message: `Argument bullet parse failed: ${bullet.text}`,
272
+ sourceRange: item.sourceRange ?? undefined,
273
+ });
274
+ continue;
275
+ }
276
+ const fullDescription = getLogicalLineDescription(parser, source, item, "argument", parsed.description);
277
+ result.push({
278
+ name: parsed.name,
279
+ tags: parsed.tags,
280
+ description: fullDescription,
281
+ details: buildItemDetailsTree(parser, source, item, fullDescription),
282
+ arguments: [],
283
+ sourceRange: item.sourceRange ?? undefined,
284
+ });
285
+ }
286
+ return result;
287
+ }
288
+ function parseAttributeItemsFromList(parser, source, listNode, diagnostics) {
289
+ const items = parser.getBulletItems([listNode]);
290
+ const result = [];
291
+ for (const item of items) {
292
+ const bullet = parser.getItemBulletLine(source, item);
293
+ if (!bullet)
294
+ continue;
295
+ const parsed = parseAttributeBullet(bullet.text);
296
+ if (!parsed) {
297
+ diagnostics.push({
298
+ level: "warning",
299
+ code: "DOC_ATTRIBUTE_BULLET_PARSE_FAIL",
300
+ message: `Attribute bullet parse failed: ${bullet.text}`,
301
+ sourceRange: item.sourceRange ?? undefined,
302
+ });
303
+ continue;
304
+ }
305
+ const fullDescription = getLogicalLineDescription(parser, source, item, "attribute", parsed.description);
306
+ result.push({
307
+ name: parsed.name,
308
+ description: fullDescription,
309
+ details: buildItemDetailsTree(parser, source, item, fullDescription),
310
+ attributes: [],
311
+ sourceRange: item.sourceRange ?? undefined,
312
+ });
313
+ }
314
+ return result;
315
+ }
316
+ function parseArgumentBullet(text) {
317
+ const matched = exports.ARG_BULLET_PATTERN.match(text);
318
+ if (!matched.ok)
319
+ return null;
320
+ const captures = matched.value.captures;
321
+ const name = stripBackticks(captures[1]);
322
+ const parenContent = captures[5]
323
+ .replace(/^\(/, "")
324
+ .replace(/\)$/, "");
325
+ const parts = parenContent.split(/,\s*/);
326
+ return {
327
+ name,
328
+ tags: parts.slice(2).filter(Boolean),
329
+ description: (captures[7] ?? "").trim(),
330
+ };
331
+ }
332
+ function parseAttributeBullet(text) {
333
+ const matched = exports.ATTR_BULLET_PATTERN.match(text);
334
+ if (!matched.ok)
335
+ return null;
336
+ const captures = matched.value.captures;
337
+ return {
338
+ name: stripBackticks(captures[1]),
339
+ description: (captures[5] ?? "").trim(),
340
+ };
341
+ }
342
+ function stripBackticks(s) {
343
+ return s.replace(/`/g, "").trim();
344
+ }
345
+ function getLogicalLineDescription(parser, source, item, kind, fallback) {
346
+ const logical = parser.getLogicalLines(source, item);
347
+ const firstLogicalLine = logical?.lines[0];
348
+ if (!firstLogicalLine)
349
+ return fallback;
350
+ const normalizedLine = firstLogicalLine.trim();
351
+ const bulletText = normalizedLine.startsWith("* ")
352
+ ? normalizedLine
353
+ : `* ${normalizedLine}`;
354
+ if (kind === "argument") {
355
+ return parseArgumentBullet(bulletText)?.description ?? fallback;
356
+ }
357
+ return parseAttributeBullet(bulletText)?.description ?? fallback;
358
+ }
359
+ function extractSectionDescription(parser, section) {
360
+ const firstPara = section.find((n) => n.type === "paragraph");
361
+ return firstPara ? normalizeInlineText(parser.getTextContent(firstPara)) : "";
362
+ }
363
+ function buildItemDetailsTree(parser, source, item, rootText) {
364
+ const nodeText = parser.getNodeText(source, item);
365
+ if (!nodeText) {
366
+ return { text: rootText, children: [] };
367
+ }
368
+ const detailLines = nodeText.lines
369
+ .slice(1)
370
+ .map((line) => line.trim())
371
+ .filter(Boolean);
372
+ return {
373
+ text: rootText,
374
+ children: detailLines.map((line) => ({
375
+ text: line,
376
+ children: [],
377
+ })),
378
+ sourceRange: item.sourceRange ?? undefined,
379
+ };
380
+ }
381
+ function hasComputedArgument(args) {
382
+ for (const arg of args) {
383
+ if (arg.tags.some((t) => t.toLowerCase() === "computed")) {
384
+ return true;
385
+ }
386
+ if (hasComputedArgument(arg.arguments)) {
387
+ return true;
388
+ }
389
+ }
390
+ return false;
391
+ }
392
+ function collectNestedSupportLists(parser, section) {
393
+ const collected = [];
394
+ for (let i = 0; i < section.length; i++) {
395
+ const node = section[i];
396
+ if (node.type !== "paragraph")
397
+ continue;
398
+ const text = parser.getTextContent(node).trim();
399
+ const parentName = parseSupportBlockName(text);
400
+ if (!parentName)
401
+ continue;
402
+ const listNode = findNextNodeByType(section, i + 1, "list");
403
+ if (listNode) {
404
+ collected.push({ parentName, listNode });
405
+ }
406
+ }
407
+ return collected;
408
+ }
409
+ function parseSupportBlockName(text) {
410
+ const backtickMatch = text.match(/The\s+`([^`]+)`\s+block supports:/i);
411
+ if (backtickMatch)
412
+ return backtickMatch[1];
413
+ const linkMatch = text.match(/The\s+\[([^\]]+)\]\(#[^)]+\)\s+structure is documented below\./i);
414
+ if (linkMatch)
415
+ return linkMatch[1];
416
+ const plainMatch = text.match(/The\s+([a-zA-Z0-9_]+)\s+block supports:/i);
417
+ if (plainMatch)
418
+ return plainMatch[1];
419
+ return null;
420
+ }
421
+ function attachNestedArguments(args, parentName, nested) {
422
+ for (const arg of args) {
423
+ if (arg.name === parentName) {
424
+ arg.arguments = nested;
425
+ return true;
426
+ }
427
+ if (attachNestedArguments(arg.arguments, parentName, nested)) {
428
+ return true;
429
+ }
430
+ }
431
+ return false;
432
+ }
433
+ function attachNestedAttributes(attrs, parentName, nested) {
434
+ for (const attr of attrs) {
435
+ if (attr.name === parentName) {
436
+ attr.attributes = nested;
437
+ return true;
438
+ }
439
+ if (attachNestedAttributes(attr.attributes, parentName, nested)) {
440
+ return true;
441
+ }
442
+ }
443
+ return false;
444
+ }
445
+ function extractImportIdPattern(code) {
446
+ if (!code.trim())
447
+ return undefined;
448
+ for (const line of code.split(/\r?\n/)) {
449
+ const normalized = line.replace(/^\$\s*/, "").trim();
450
+ const matched = normalized.match(/terraform\s+import\s+\S+\s+(.+)/);
451
+ if (matched)
452
+ return matched[1].trim();
453
+ }
454
+ return undefined;
455
+ }
456
+ function parseTimeoutLine(line, timeout) {
457
+ const text = line.trim();
458
+ if (!text)
459
+ return;
460
+ const withBackticks = text.match(/`(create|update|delete)`[^`]*`([^`]+)`/i);
461
+ if (withBackticks) {
462
+ setTimeoutValue(timeout, withBackticks[1].toLowerCase(), withBackticks[2].trim());
463
+ return;
464
+ }
465
+ const plain = text.match(/(?:\*|-)?\s*`?(create|update|delete)`?\s*[-:]\s*(.+)$/i);
466
+ if (plain) {
467
+ setTimeoutValue(timeout, plain[1].toLowerCase(), plain[2].trim());
468
+ }
469
+ }
470
+ function setTimeoutValue(timeout, key, value) {
471
+ if (!value)
472
+ return;
473
+ if (key === "create" && !timeout.create)
474
+ timeout.create = value;
475
+ if (key === "update" && !timeout.update)
476
+ timeout.update = value;
477
+ if (key === "delete" && !timeout.delete)
478
+ timeout.delete = value;
479
+ }
480
+ function getSectionByTitles(parser, ast, level, titles) {
481
+ for (const title of titles) {
482
+ const section = parser.getSection(ast, level, title);
483
+ if (section) {
484
+ return { title, nodes: section };
485
+ }
486
+ }
487
+ return null;
488
+ }
489
+ function findFirstNodeByType(nodes, type) {
490
+ for (const node of nodes) {
491
+ if (node.type === type)
492
+ return node;
493
+ }
494
+ return null;
495
+ }
496
+ function findNextNodeByType(nodes, startIndex, type) {
497
+ for (let i = startIndex; i < nodes.length; i++) {
498
+ if (nodes[i].type === type)
499
+ return nodes[i];
500
+ }
501
+ return null;
502
+ }
503
+ function toBlockView(kind, node, astRef) {
504
+ return {
505
+ kind,
506
+ astRef,
507
+ node,
508
+ sourceRange: node.sourceRange,
509
+ };
510
+ }
511
+ function getRangeFromNodes(nodes) {
512
+ let range;
513
+ for (const node of nodes) {
514
+ range = mergeSourceRange(range, node.sourceRange ?? undefined);
515
+ }
516
+ return range;
517
+ }
518
+ function mergeSourceRange(current, incoming) {
519
+ if (!current)
520
+ return incoming;
521
+ if (!incoming)
522
+ return current;
523
+ return {
524
+ start: isEarlier(current.start, incoming.start) ? current.start : incoming.start,
525
+ end: isLater(current.end, incoming.end) ? current.end : incoming.end,
526
+ };
527
+ }
528
+ function isEarlier(a, b) {
529
+ if (a.line !== b.line)
530
+ return a.line < b.line;
531
+ return a.column <= b.column;
532
+ }
533
+ function isLater(a, b) {
534
+ if (a.line !== b.line)
535
+ return a.line > b.line;
536
+ return a.column >= b.column;
537
+ }
538
+ function asRecord(value) {
539
+ if (value && typeof value === "object" && !Array.isArray(value)) {
540
+ return value;
541
+ }
542
+ return {};
543
+ }
544
+ function asString(value) {
545
+ if (typeof value === "string")
546
+ return value.trim();
547
+ if (value == null)
548
+ return "";
549
+ return String(value).trim();
550
+ }
551
+ function normalizeInlineText(value) {
552
+ return asString(value).replace(/\r\n/g, "\n").replace(/\s+/g, " ").trim();
553
+ }
554
+ //# sourceMappingURL=builder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"builder.js","sourceRoot":"","sources":["../../../../../../src/workflow/implement/resource-check/tools/doc-semantic/builder.ts"],"names":[],"mappings":";;;AA4DA,oDA6BC;AAED,4CA2BC;AAED,gCAwCC;AAED,4CA8CC;AAED,8CA6CC;AAED,gDA+CC;AAED,kCAoCC;AAED,oCAqCC;AA7XD,uEAIkD;AAClD,oEAO2C;AAkB3C,mCAA0C;AAE1C,MAAM,SAAS,GAAG,CAAC,UAAU,EAAE,UAAU,CAA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,CAAC;IAC7B,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC;AAChC,CAAC;AAED,SAAS,mBAAmB,CAAC,KAAc;IACvC,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC;AAC9E,CAAC"}
@@ -0,0 +1,5 @@
1
+ export { buildFrontMatter, buildTitle, buildExampleList, buildArgumentList, buildAttributeList, buildImport, buildTimeOut, } from "./builder";
2
+ export { buildDocSemanticView } from "./builder";
3
+ export type { StringTree, DocBlockType, FrontMatter, Title, Example, ExampleList, Argument, ArgumentList, Attribute, AttributeList, Import, TimeOut, DocBlock, BuildDiagnostic, DocBlockView, } from "./types";
4
+ export { DocSemanticView } from "./types";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/workflow/implement/resource-check/tools/doc-semantic/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,WAAW,EACX,YAAY,GACf,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,YAAY,EACR,UAAU,EACV,YAAY,EACZ,WAAW,EACX,KAAK,EACL,OAAO,EACP,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,aAAa,EACb,MAAM,EACN,OAAO,EACP,QAAQ,EACR,eAAe,EACf,YAAY,GACf,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DocSemanticView = exports.buildDocSemanticView = exports.buildTimeOut = exports.buildImport = exports.buildAttributeList = exports.buildArgumentList = exports.buildExampleList = exports.buildTitle = exports.buildFrontMatter = void 0;
4
+ var builder_1 = require("./builder");
5
+ Object.defineProperty(exports, "buildFrontMatter", { enumerable: true, get: function () { return builder_1.buildFrontMatter; } });
6
+ Object.defineProperty(exports, "buildTitle", { enumerable: true, get: function () { return builder_1.buildTitle; } });
7
+ Object.defineProperty(exports, "buildExampleList", { enumerable: true, get: function () { return builder_1.buildExampleList; } });
8
+ Object.defineProperty(exports, "buildArgumentList", { enumerable: true, get: function () { return builder_1.buildArgumentList; } });
9
+ Object.defineProperty(exports, "buildAttributeList", { enumerable: true, get: function () { return builder_1.buildAttributeList; } });
10
+ Object.defineProperty(exports, "buildImport", { enumerable: true, get: function () { return builder_1.buildImport; } });
11
+ Object.defineProperty(exports, "buildTimeOut", { enumerable: true, get: function () { return builder_1.buildTimeOut; } });
12
+ var builder_2 = require("./builder");
13
+ Object.defineProperty(exports, "buildDocSemanticView", { enumerable: true, get: function () { return builder_2.buildDocSemanticView; } });
14
+ var types_1 = require("./types");
15
+ Object.defineProperty(exports, "DocSemanticView", { enumerable: true, get: function () { return types_1.DocSemanticView; } });
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/workflow/implement/resource-check/tools/doc-semantic/index.ts"],"names":[],"mappings":";;;AAAA,qCAQmB;AAPf,2GAAA,gBAAgB,OAAA;AAChB,qGAAA,UAAU,OAAA;AACV,2GAAA,gBAAgB,OAAA;AAChB,4GAAA,iBAAiB,OAAA;AACjB,6GAAA,kBAAkB,OAAA;AAClB,sGAAA,WAAW,OAAA;AACX,uGAAA,YAAY,OAAA;AAEhB,qCAAiD;AAAxC,+GAAA,oBAAoB,OAAA;AAmB7B,iCAA0C;AAAjC,wGAAA,eAAe,OAAA"}