@paraharness/fs 0.0.0-stage → 0.1.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 (279) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +62 -2
  3. package/dist/builders/create-fs-allow-only-guard-builder.d.ts +13 -0
  4. package/dist/builders/create-fs-allow-only-guard-builder.d.ts.map +1 -0
  5. package/dist/builders/create-fs-allow-only-guard-builder.js +22 -0
  6. package/dist/builders/create-fs-allow-only-guard-builder.js.map +1 -0
  7. package/dist/builders/create-fs-allow-write-globs-lease-delta.d.ts +13 -0
  8. package/dist/builders/create-fs-allow-write-globs-lease-delta.d.ts.map +1 -0
  9. package/dist/builders/create-fs-allow-write-globs-lease-delta.js +20 -0
  10. package/dist/builders/create-fs-allow-write-globs-lease-delta.js.map +1 -0
  11. package/dist/builders/create-fs-boundary-guard-builder.d.ts +15 -0
  12. package/dist/builders/create-fs-boundary-guard-builder.d.ts.map +1 -0
  13. package/dist/builders/create-fs-boundary-guard-builder.js +20 -0
  14. package/dist/builders/create-fs-boundary-guard-builder.js.map +1 -0
  15. package/dist/builders/create-fs-coding-tools.d.ts +21 -0
  16. package/dist/builders/create-fs-coding-tools.d.ts.map +1 -0
  17. package/dist/builders/create-fs-coding-tools.js +25 -0
  18. package/dist/builders/create-fs-coding-tools.js.map +1 -0
  19. package/dist/builders/create-fs-glob-matcher-builder.d.ts +14 -0
  20. package/dist/builders/create-fs-glob-matcher-builder.d.ts.map +1 -0
  21. package/dist/builders/create-fs-glob-matcher-builder.js +24 -0
  22. package/dist/builders/create-fs-glob-matcher-builder.js.map +1 -0
  23. package/dist/builders/create-fs-glob-source-builder.d.ts +13 -0
  24. package/dist/builders/create-fs-glob-source-builder.d.ts.map +1 -0
  25. package/dist/builders/create-fs-glob-source-builder.js +22 -0
  26. package/dist/builders/create-fs-glob-source-builder.js.map +1 -0
  27. package/dist/builders/create-fs-in-partition-predicate.d.ts +16 -0
  28. package/dist/builders/create-fs-in-partition-predicate.d.ts.map +1 -0
  29. package/dist/builders/create-fs-in-partition-predicate.js +25 -0
  30. package/dist/builders/create-fs-in-partition-predicate.js.map +1 -0
  31. package/dist/builders/create-fs-jsonl-lesson-store-builder.d.ts +29 -0
  32. package/dist/builders/create-fs-jsonl-lesson-store-builder.d.ts.map +1 -0
  33. package/dist/builders/create-fs-jsonl-lesson-store-builder.js +30 -0
  34. package/dist/builders/create-fs-jsonl-lesson-store-builder.js.map +1 -0
  35. package/dist/builders/create-fs-max-files-mutated-builder.d.ts +13 -0
  36. package/dist/builders/create-fs-max-files-mutated-builder.d.ts.map +1 -0
  37. package/dist/builders/create-fs-max-files-mutated-builder.js +21 -0
  38. package/dist/builders/create-fs-max-files-mutated-builder.js.map +1 -0
  39. package/dist/builders/create-fs-partition-map.d.ts +16 -0
  40. package/dist/builders/create-fs-partition-map.d.ts.map +1 -0
  41. package/dist/builders/create-fs-partition-map.js +34 -0
  42. package/dist/builders/create-fs-partition-map.js.map +1 -0
  43. package/dist/builders/create-fs-protect-guard-builder.d.ts +13 -0
  44. package/dist/builders/create-fs-protect-guard-builder.d.ts.map +1 -0
  45. package/dist/builders/create-fs-protect-guard-builder.js +22 -0
  46. package/dist/builders/create-fs-protect-guard-builder.js.map +1 -0
  47. package/dist/builders/create-fs-read-only-guard-builder.d.ts +11 -0
  48. package/dist/builders/create-fs-read-only-guard-builder.d.ts.map +1 -0
  49. package/dist/builders/create-fs-read-only-guard-builder.js +15 -0
  50. package/dist/builders/create-fs-read-only-guard-builder.js.map +1 -0
  51. package/dist/builders/create-fs-read-only-tools.d.ts +15 -0
  52. package/dist/builders/create-fs-read-only-tools.d.ts.map +1 -0
  53. package/dist/builders/create-fs-read-only-tools.js +23 -0
  54. package/dist/builders/create-fs-read-only-tools.js.map +1 -0
  55. package/dist/builders/create-fs-regex-check-builder.d.ts +34 -0
  56. package/dist/builders/create-fs-regex-check-builder.d.ts.map +1 -0
  57. package/dist/builders/create-fs-regex-check-builder.js +58 -0
  58. package/dist/builders/create-fs-regex-check-builder.js.map +1 -0
  59. package/dist/builders/create-fs-require-read-before-write-guard-builder.d.ts +11 -0
  60. package/dist/builders/create-fs-require-read-before-write-guard-builder.d.ts.map +1 -0
  61. package/dist/builders/create-fs-require-read-before-write-guard-builder.js +15 -0
  62. package/dist/builders/create-fs-require-read-before-write-guard-builder.js.map +1 -0
  63. package/dist/builders/create-fs-scoped-write-guard-builder.d.ts +15 -0
  64. package/dist/builders/create-fs-scoped-write-guard-builder.d.ts.map +1 -0
  65. package/dist/builders/create-fs-scoped-write-guard-builder.js +20 -0
  66. package/dist/builders/create-fs-scoped-write-guard-builder.js.map +1 -0
  67. package/dist/builders/create-fs-secret-literals-guard-builder.d.ts +13 -0
  68. package/dist/builders/create-fs-secret-literals-guard-builder.d.ts.map +1 -0
  69. package/dist/builders/create-fs-secret-literals-guard-builder.js +21 -0
  70. package/dist/builders/create-fs-secret-literals-guard-builder.js.map +1 -0
  71. package/dist/builders/create-fs-telemetry-builder.d.ts +11 -0
  72. package/dist/builders/create-fs-telemetry-builder.d.ts.map +1 -0
  73. package/dist/builders/create-fs-telemetry-builder.js +17 -0
  74. package/dist/builders/create-fs-telemetry-builder.js.map +1 -0
  75. package/dist/builders/create-fs-text-source-builder.d.ts +14 -0
  76. package/dist/builders/create-fs-text-source-builder.d.ts.map +1 -0
  77. package/dist/builders/create-fs-text-source-builder.js +23 -0
  78. package/dist/builders/create-fs-text-source-builder.js.map +1 -0
  79. package/dist/builders/create-fs-write-guard-builder.d.ts +29 -0
  80. package/dist/builders/create-fs-write-guard-builder.d.ts.map +1 -0
  81. package/dist/builders/create-fs-write-guard-builder.js +29 -0
  82. package/dist/builders/create-fs-write-guard-builder.js.map +1 -0
  83. package/dist/builders/fs-namespace-contract.d.ts +187 -0
  84. package/dist/builders/fs-namespace-contract.d.ts.map +1 -0
  85. package/dist/builders/fs-namespace-contract.js +2 -0
  86. package/dist/builders/fs-namespace-contract.js.map +1 -0
  87. package/dist/builders/fs-namespace.d.ts +10 -0
  88. package/dist/builders/fs-namespace.d.ts.map +1 -0
  89. package/dist/builders/fs-namespace.js +50 -0
  90. package/dist/builders/fs-namespace.js.map +1 -0
  91. package/dist/builders/internal/build-fs-tool-nodes.d.ts +62 -0
  92. package/dist/builders/internal/build-fs-tool-nodes.d.ts.map +1 -0
  93. package/dist/builders/internal/build-fs-tool-nodes.js +107 -0
  94. package/dist/builders/internal/build-fs-tool-nodes.js.map +1 -0
  95. package/dist/builders/internal/fs-tool-input.schema.d.ts +80 -0
  96. package/dist/builders/internal/fs-tool-input.schema.d.ts.map +1 -0
  97. package/dist/builders/internal/fs-tool-input.schema.js +56 -0
  98. package/dist/builders/internal/fs-tool-input.schema.js.map +1 -0
  99. package/dist/executors/create-fs-executors.d.ts +11 -0
  100. package/dist/executors/create-fs-executors.d.ts.map +1 -0
  101. package/dist/executors/create-fs-executors.js +57 -0
  102. package/dist/executors/create-fs-executors.js.map +1 -0
  103. package/dist/executors/fs-check-tripwire-and-telemetry.d.ts +45 -0
  104. package/dist/executors/fs-check-tripwire-and-telemetry.d.ts.map +1 -0
  105. package/dist/executors/fs-check-tripwire-and-telemetry.js +99 -0
  106. package/dist/executors/fs-check-tripwire-and-telemetry.js.map +1 -0
  107. package/dist/executors/fs-executors.constants.d.ts +10 -0
  108. package/dist/executors/fs-executors.constants.d.ts.map +1 -0
  109. package/dist/executors/fs-executors.constants.js +10 -0
  110. package/dist/executors/fs-executors.constants.js.map +1 -0
  111. package/dist/executors/fs-glob-effect-matcher.d.ts +15 -0
  112. package/dist/executors/fs-glob-effect-matcher.d.ts.map +1 -0
  113. package/dist/executors/fs-glob-effect-matcher.js +37 -0
  114. package/dist/executors/fs-glob-effect-matcher.js.map +1 -0
  115. package/dist/executors/fs-path-guard-executors.d.ts +51 -0
  116. package/dist/executors/fs-path-guard-executors.d.ts.map +1 -0
  117. package/dist/executors/fs-path-guard-executors.js +60 -0
  118. package/dist/executors/fs-path-guard-executors.js.map +1 -0
  119. package/dist/executors/fs-read-tool-drivers.d.ts +35 -0
  120. package/dist/executors/fs-read-tool-drivers.d.ts.map +1 -0
  121. package/dist/executors/fs-read-tool-drivers.js +73 -0
  122. package/dist/executors/fs-read-tool-drivers.js.map +1 -0
  123. package/dist/executors/fs-source-executors.d.ts +31 -0
  124. package/dist/executors/fs-source-executors.d.ts.map +1 -0
  125. package/dist/executors/fs-source-executors.js +55 -0
  126. package/dist/executors/fs-source-executors.js.map +1 -0
  127. package/dist/executors/fs-tool-effect.d.ts +33 -0
  128. package/dist/executors/fs-tool-effect.d.ts.map +1 -0
  129. package/dist/executors/fs-tool-effect.js +2 -0
  130. package/dist/executors/fs-tool-effect.js.map +1 -0
  131. package/dist/executors/fs-write-guard-executors.d.ts +55 -0
  132. package/dist/executors/fs-write-guard-executors.d.ts.map +1 -0
  133. package/dist/executors/fs-write-guard-executors.js +64 -0
  134. package/dist/executors/fs-write-guard-executors.js.map +1 -0
  135. package/dist/executors/fs-write-tool-drivers.d.ts +24 -0
  136. package/dist/executors/fs-write-tool-drivers.d.ts.map +1 -0
  137. package/dist/executors/fs-write-tool-drivers.js +44 -0
  138. package/dist/executors/fs-write-tool-drivers.js.map +1 -0
  139. package/dist/executors/internal/add-mutated-paths-from-effects.d.ts +9 -0
  140. package/dist/executors/internal/add-mutated-paths-from-effects.d.ts.map +1 -0
  141. package/dist/executors/internal/add-mutated-paths-from-effects.js +24 -0
  142. package/dist/executors/internal/add-mutated-paths-from-effects.js.map +1 -0
  143. package/dist/executors/internal/check-paths-exist-at-base-ref.d.ts +12 -0
  144. package/dist/executors/internal/check-paths-exist-at-base-ref.d.ts.map +1 -0
  145. package/dist/executors/internal/check-paths-exist-at-base-ref.js +59 -0
  146. package/dist/executors/internal/check-paths-exist-at-base-ref.js.map +1 -0
  147. package/dist/executors/internal/collect-mutated-paths-since-base-ref.d.ts +13 -0
  148. package/dist/executors/internal/collect-mutated-paths-since-base-ref.d.ts.map +1 -0
  149. package/dist/executors/internal/collect-mutated-paths-since-base-ref.js +42 -0
  150. package/dist/executors/internal/collect-mutated-paths-since-base-ref.js.map +1 -0
  151. package/dist/executors/internal/collect-read-paths-from-effects.d.ts +12 -0
  152. package/dist/executors/internal/collect-read-paths-from-effects.d.ts.map +1 -0
  153. package/dist/executors/internal/collect-read-paths-from-effects.js +26 -0
  154. package/dist/executors/internal/collect-read-paths-from-effects.js.map +1 -0
  155. package/dist/executors/internal/compile-active-lease-write-matcher.d.ts +14 -0
  156. package/dist/executors/internal/compile-active-lease-write-matcher.d.ts.map +1 -0
  157. package/dist/executors/internal/compile-active-lease-write-matcher.js +50 -0
  158. package/dist/executors/internal/compile-active-lease-write-matcher.js.map +1 -0
  159. package/dist/executors/internal/compile-glob-or-exact-matcher.d.ts +12 -0
  160. package/dist/executors/internal/compile-glob-or-exact-matcher.d.ts.map +1 -0
  161. package/dist/executors/internal/compile-glob-or-exact-matcher.js +63 -0
  162. package/dist/executors/internal/compile-glob-or-exact-matcher.js.map +1 -0
  163. package/dist/executors/internal/compile-secret-patterns.d.ts +12 -0
  164. package/dist/executors/internal/compile-secret-patterns.d.ts.map +1 -0
  165. package/dist/executors/internal/compile-secret-patterns.js +27 -0
  166. package/dist/executors/internal/compile-secret-patterns.js.map +1 -0
  167. package/dist/executors/internal/create-effect-base-ref-path-lookup.d.ts +13 -0
  168. package/dist/executors/internal/create-effect-base-ref-path-lookup.d.ts.map +1 -0
  169. package/dist/executors/internal/create-effect-base-ref-path-lookup.js +33 -0
  170. package/dist/executors/internal/create-effect-base-ref-path-lookup.js.map +1 -0
  171. package/dist/executors/internal/create-fs-read-effect.d.ts +12 -0
  172. package/dist/executors/internal/create-fs-read-effect.d.ts.map +1 -0
  173. package/dist/executors/internal/create-fs-read-effect.js +22 -0
  174. package/dist/executors/internal/create-fs-read-effect.js.map +1 -0
  175. package/dist/executors/internal/create-fs-write-effect.d.ts +14 -0
  176. package/dist/executors/internal/create-fs-write-effect.d.ts.map +1 -0
  177. package/dist/executors/internal/create-fs-write-effect.js +24 -0
  178. package/dist/executors/internal/create-fs-write-effect.js.map +1 -0
  179. package/dist/executors/internal/describe-fs-edit-effects.d.ts +13 -0
  180. package/dist/executors/internal/describe-fs-edit-effects.d.ts.map +1 -0
  181. package/dist/executors/internal/describe-fs-edit-effects.js +31 -0
  182. package/dist/executors/internal/describe-fs-edit-effects.js.map +1 -0
  183. package/dist/executors/internal/describe-fs-write-effects.d.ts +13 -0
  184. package/dist/executors/internal/describe-fs-write-effects.d.ts.map +1 -0
  185. package/dist/executors/internal/describe-fs-write-effects.js +24 -0
  186. package/dist/executors/internal/describe-fs-write-effects.js.map +1 -0
  187. package/dist/executors/internal/enumerate-workspace-files-sync.d.ts +12 -0
  188. package/dist/executors/internal/enumerate-workspace-files-sync.d.ts.map +1 -0
  189. package/dist/executors/internal/enumerate-workspace-files-sync.js +52 -0
  190. package/dist/executors/internal/enumerate-workspace-files-sync.js.map +1 -0
  191. package/dist/executors/internal/enumerate-workspace-files.d.ts +13 -0
  192. package/dist/executors/internal/enumerate-workspace-files.d.ts.map +1 -0
  193. package/dist/executors/internal/enumerate-workspace-files.js +44 -0
  194. package/dist/executors/internal/enumerate-workspace-files.js.map +1 -0
  195. package/dist/executors/internal/evaluate-fs-allow-and-protect-guards.d.ts +28 -0
  196. package/dist/executors/internal/evaluate-fs-allow-and-protect-guards.d.ts.map +1 -0
  197. package/dist/executors/internal/evaluate-fs-allow-and-protect-guards.js +37 -0
  198. package/dist/executors/internal/evaluate-fs-allow-and-protect-guards.js.map +1 -0
  199. package/dist/executors/internal/evaluate-fs-content-and-read-guards.d.ts +20 -0
  200. package/dist/executors/internal/evaluate-fs-content-and-read-guards.d.ts.map +1 -0
  201. package/dist/executors/internal/evaluate-fs-content-and-read-guards.js +46 -0
  202. package/dist/executors/internal/evaluate-fs-content-and-read-guards.js.map +1 -0
  203. package/dist/executors/internal/evaluate-fs-write-and-boundary-guards.d.ts +31 -0
  204. package/dist/executors/internal/evaluate-fs-write-and-boundary-guards.d.ts.map +1 -0
  205. package/dist/executors/internal/evaluate-fs-write-and-boundary-guards.js +100 -0
  206. package/dist/executors/internal/evaluate-fs-write-and-boundary-guards.js.map +1 -0
  207. package/dist/executors/internal/execute-fs-edit-operation.d.ts +26 -0
  208. package/dist/executors/internal/execute-fs-edit-operation.d.ts.map +1 -0
  209. package/dist/executors/internal/execute-fs-edit-operation.js +25 -0
  210. package/dist/executors/internal/execute-fs-edit-operation.js.map +1 -0
  211. package/dist/executors/internal/execute-fs-write-operation.d.ts +22 -0
  212. package/dist/executors/internal/execute-fs-write-operation.d.ts.map +1 -0
  213. package/dist/executors/internal/execute-fs-write-operation.js +21 -0
  214. package/dist/executors/internal/execute-fs-write-operation.js.map +1 -0
  215. package/dist/executors/internal/extract-worktree-root-and-base-ref.d.ts +15 -0
  216. package/dist/executors/internal/extract-worktree-root-and-base-ref.d.ts.map +1 -0
  217. package/dist/executors/internal/extract-worktree-root-and-base-ref.js +24 -0
  218. package/dist/executors/internal/extract-worktree-root-and-base-ref.js.map +1 -0
  219. package/dist/executors/internal/filter-jailed-dirents.d.ts +25 -0
  220. package/dist/executors/internal/filter-jailed-dirents.d.ts.map +1 -0
  221. package/dist/executors/internal/filter-jailed-dirents.js +54 -0
  222. package/dist/executors/internal/filter-jailed-dirents.js.map +1 -0
  223. package/dist/executors/internal/fs-coding-tool-drivers.d.ts +38 -0
  224. package/dist/executors/internal/fs-coding-tool-drivers.d.ts.map +1 -0
  225. package/dist/executors/internal/fs-coding-tool-drivers.js +52 -0
  226. package/dist/executors/internal/fs-coding-tool-drivers.js.map +1 -0
  227. package/dist/executors/internal/fs-search-tool-drivers.d.ts +26 -0
  228. package/dist/executors/internal/fs-search-tool-drivers.d.ts.map +1 -0
  229. package/dist/executors/internal/fs-search-tool-drivers.js +37 -0
  230. package/dist/executors/internal/fs-search-tool-drivers.js.map +1 -0
  231. package/dist/executors/internal/glob-matcher-cache.constants.d.ts +20 -0
  232. package/dist/executors/internal/glob-matcher-cache.constants.d.ts.map +1 -0
  233. package/dist/executors/internal/glob-matcher-cache.constants.js +19 -0
  234. package/dist/executors/internal/glob-matcher-cache.constants.js.map +1 -0
  235. package/dist/executors/internal/grep-workspace-files.d.ts +23 -0
  236. package/dist/executors/internal/grep-workspace-files.d.ts.map +1 -0
  237. package/dist/executors/internal/grep-workspace-files.js +33 -0
  238. package/dist/executors/internal/grep-workspace-files.js.map +1 -0
  239. package/dist/executors/internal/project-violated-write-effects.d.ts +15 -0
  240. package/dist/executors/internal/project-violated-write-effects.d.ts.map +1 -0
  241. package/dist/executors/internal/project-violated-write-effects.js +67 -0
  242. package/dist/executors/internal/project-violated-write-effects.js.map +1 -0
  243. package/dist/executors/internal/resolve-jailed-worktree-path.d.ts +19 -0
  244. package/dist/executors/internal/resolve-jailed-worktree-path.d.ts.map +1 -0
  245. package/dist/executors/internal/resolve-jailed-worktree-path.js +101 -0
  246. package/dist/executors/internal/resolve-jailed-worktree-path.js.map +1 -0
  247. package/dist/executors/internal/secret-patterns.constants.d.ts +16 -0
  248. package/dist/executors/internal/secret-patterns.constants.d.ts.map +1 -0
  249. package/dist/executors/internal/secret-patterns.constants.js +30 -0
  250. package/dist/executors/internal/secret-patterns.constants.js.map +1 -0
  251. package/dist/index.d.ts +35 -0
  252. package/dist/index.d.ts.map +1 -0
  253. package/dist/index.js +32 -0
  254. package/dist/index.js.map +1 -0
  255. package/dist/stores/fs-jsonl-lesson-store.d.ts +135 -0
  256. package/dist/stores/fs-jsonl-lesson-store.d.ts.map +1 -0
  257. package/dist/stores/fs-jsonl-lesson-store.js +155 -0
  258. package/dist/stores/fs-jsonl-lesson-store.js.map +1 -0
  259. package/dist/stores/internal/fs-jsonl-lesson-file-io.d.ts +129 -0
  260. package/dist/stores/internal/fs-jsonl-lesson-file-io.d.ts.map +1 -0
  261. package/dist/stores/internal/fs-jsonl-lesson-file-io.js +197 -0
  262. package/dist/stores/internal/fs-jsonl-lesson-file-io.js.map +1 -0
  263. package/dist/stores/internal/fs-lesson-definition-record.d.ts +19 -0
  264. package/dist/stores/internal/fs-lesson-definition-record.d.ts.map +1 -0
  265. package/dist/stores/internal/fs-lesson-definition-record.js +2 -0
  266. package/dist/stores/internal/fs-lesson-definition-record.js.map +1 -0
  267. package/dist/stores/internal/fs-lesson-lock-and-atomic-io.d.ts +51 -0
  268. package/dist/stores/internal/fs-lesson-lock-and-atomic-io.d.ts.map +1 -0
  269. package/dist/stores/internal/fs-lesson-lock-and-atomic-io.js +89 -0
  270. package/dist/stores/internal/fs-lesson-lock-and-atomic-io.js.map +1 -0
  271. package/dist/stores/internal/fs-lesson-relevance.d.ts +49 -0
  272. package/dist/stores/internal/fs-lesson-relevance.d.ts.map +1 -0
  273. package/dist/stores/internal/fs-lesson-relevance.js +113 -0
  274. package/dist/stores/internal/fs-lesson-relevance.js.map +1 -0
  275. package/dist/stores/internal/fs-lesson-stats-entry.d.ts +22 -0
  276. package/dist/stores/internal/fs-lesson-stats-entry.d.ts.map +1 -0
  277. package/dist/stores/internal/fs-lesson-stats-entry.js +2 -0
  278. package/dist/stores/internal/fs-lesson-stats-entry.js.map +1 -0
  279. package/package.json +72 -3
@@ -0,0 +1,187 @@
1
+ import type { FsAllowOnlyGuardNode, FsBoundaryGuardNode, FsEditToolNode, FsGlobMatcherNode, FsGlobSourceNode, FsGlobToolNode, FsGrepToolNode, FsJsonlLessonStoreNode, FsPartitionMapNode, FsPartitionPathMapping, FsProtectGuardNode, FsQuotaTripwireNode, FsReadOnlyGuardNode, FsReadToolNode, FsRegexCheckNode, FsRequireReadBeforeWriteGuardNode, FsScopedWriteGuardNode, FsSecretLiteralsGuardNode, FsTelemetryCollectorNode, FsTextSourceNode, FsWriteGuardNode, FsWriteToolNode, LeaseDelta, MaybeBuilder, NodeRunnerNode, ScopePredicate, TopologyNode } from '@paraharness/core';
2
+ import type { FsJsonlLessonStoreOptions } from './create-fs-jsonl-lesson-store-builder.js';
3
+ import type { FsRegexCheckOptions } from './create-fs-regex-check-builder.js';
4
+ import type { FsWriteGuardOptions } from './create-fs-write-guard-builder.js';
5
+ /**
6
+ * Declarative builder namespace (`fs.*`) for `@paraharness/fs` sources, partition maps, guards, tools, and stores.
7
+ *
8
+ * Every method returns a passive, frozen AST node or serializable `LeaseDelta` / `ScopePredicate`
9
+ * with zero import-time or declaration-time filesystem I/O.
10
+ */
11
+ export interface FsNamespace {
12
+ /**
13
+ * Compiles a passive `FsTextSourceNode` loading UTF-8 text from `filePath`.
14
+ *
15
+ * Resolves against the host repository root or active `ResolutionContext.scopeHandle`.
16
+ * @param {string} filePath - Repository-relative path to the UTF-8 file.
17
+ * @returns {FsTextSourceNode} Frozen `FsTextSourceNode` descriptor.
18
+ */
19
+ text(filePath: string): FsTextSourceNode;
20
+ /**
21
+ * Compiles a passive `FsGlobSourceNode` loading all UTF-8 files matching `globPattern`.
22
+ *
23
+ * Resolves matching files in deterministic lexicographical order with a SHA-256 digest.
24
+ * @param {string} globPattern - POSIX glob pattern matched against the repository root.
25
+ * @returns {FsGlobSourceNode} Frozen `FsGlobSourceNode` descriptor.
26
+ */
27
+ glob(globPattern: string): FsGlobSourceNode;
28
+ /**
29
+ * Compiles a passive `FsGlobMatcherNode` matching `FsToolEffect` paths against `globs`.
30
+ *
31
+ * Matches both exact normalized file paths and POSIX glob patterns.
32
+ * @param {readonly string[]} globs - Glob patterns or exact file paths.
33
+ * @param {'read' | 'write' | 'any'} [mode='write'] - Access mode filter.
34
+ * @returns {FsGlobMatcherNode} Frozen `FsGlobMatcherNode` descriptor.
35
+ */
36
+ matchGlobs(globs: readonly string[], mode?: 'read' | 'write' | 'any'): FsGlobMatcherNode;
37
+ /**
38
+ * Compiles a passive `FsPartitionMapNode` mapping logical `topology` partitions to file globs.
39
+ *
40
+ * Binds each partition to its implementation `globs` and public `boundaryGlobs`.
41
+ * @template TPartition Literal union of partition identifiers in `topology`.
42
+ * @param {MaybeBuilder<TopologyNode<TPartition>>} topology - Relational topology AST node or builder.
43
+ * @param {Readonly<Record<TPartition, FsPartitionPathMapping>>} mapping - Per-partition glob mapping.
44
+ * @returns {FsPartitionMapNode<TPartition>} Frozen `FsPartitionMapNode` descriptor.
45
+ */
46
+ partitionMap<TPartition extends string = string>(topology: MaybeBuilder<TopologyNode<TPartition>>, mapping: Readonly<Record<TPartition, FsPartitionPathMapping>>): FsPartitionMapNode<TPartition>;
47
+ /**
48
+ * Builds a `ScopePredicate` scoping rules or skills to `partitionId` in `partitionMap`.
49
+ *
50
+ * Combines Turn-0 `partitions: [partitionId]` with reactive `'any'`-mode `effects` matching.
51
+ * @template TPartition Literal union of partition identifiers in `partitionMap`.
52
+ * @param {FsPartitionMapNode<TPartition>} partitionMap - Filesystem partition map AST node.
53
+ * @param {TPartition} partitionId - Target partition identifier.
54
+ * @returns {ScopePredicate} Frozen `ScopePredicate` record.
55
+ */
56
+ inPartition<TPartition extends string = string>(partitionMap: FsPartitionMapNode<TPartition>, partitionId: TPartition): ScopePredicate;
57
+ /**
58
+ * Compiles a passive `FsBoundaryGuardNode` blocking unleased writes to partition `boundaryGlobs`.
59
+ *
60
+ * Projects `violatedEffects` strictly to the violating boundary file paths.
61
+ * @template TPartition Literal union of partition identifiers in `partitionMap`.
62
+ * @param {FsPartitionMapNode<TPartition>} partitionMap - Filesystem partition map AST node.
63
+ * @returns {FsBoundaryGuardNode} Frozen `FsBoundaryGuardNode` descriptor.
64
+ */
65
+ boundaryGuard<TPartition extends string = string>(partitionMap: FsPartitionMapNode<TPartition>): FsBoundaryGuardNode;
66
+ /**
67
+ * Compiles a passive `FsWriteGuardNode` enforcing glob-based write allow/deny rules.
68
+ *
69
+ * Supports `onlyExistingAtBaseRef: true` to block edits to existing files while allowing new files.
70
+ * @param {FsWriteGuardOptions} options - Write guard configuration options.
71
+ * @returns {FsWriteGuardNode} Frozen `FsWriteGuardNode` descriptor.
72
+ */
73
+ writeGuard(options: FsWriteGuardOptions): FsWriteGuardNode;
74
+ /**
75
+ * Compiles a passive `FsProtectGuardNode` protecting `globs` from unleased write mutations.
76
+ *
77
+ * Projects `violatedEffects` strictly to the protected paths touched by a write effect.
78
+ * @param {readonly string[]} globs - Protected file glob patterns.
79
+ * @returns {FsProtectGuardNode} Frozen `FsProtectGuardNode` descriptor.
80
+ */
81
+ protect(globs: readonly string[]): FsProtectGuardNode;
82
+ /**
83
+ * Compiles a passive `FsReadOnlyGuardNode` rejecting all unleased filesystem write mutations.
84
+ *
85
+ * Enforces read-only access across declared and post-flight-diffed tools.
86
+ * @returns {FsReadOnlyGuardNode} Frozen `FsReadOnlyGuardNode` descriptor.
87
+ */
88
+ readOnly(): FsReadOnlyGuardNode;
89
+ /**
90
+ * Compiles a passive `FsAllowOnlyGuardNode` restricting writes strictly to `globs`.
91
+ *
92
+ * Blocks any write path outside `globs` unless covered by an active lease.
93
+ * @param {readonly string[]} globs - Allowed write glob patterns.
94
+ * @returns {FsAllowOnlyGuardNode} Frozen `FsAllowOnlyGuardNode` descriptor.
95
+ */
96
+ allowOnly(globs: readonly string[]): FsAllowOnlyGuardNode;
97
+ /**
98
+ * Compiles a passive `FsRequireReadBeforeWriteGuardNode` requiring existing files to be read before mutation.
99
+ *
100
+ * Verifies that any target file existing at `baseRef` was previously read in `observedEffects`.
101
+ * @returns {FsRequireReadBeforeWriteGuardNode} Frozen `FsRequireReadBeforeWriteGuardNode` descriptor.
102
+ */
103
+ requireReadBeforeWrite(): FsRequireReadBeforeWriteGuardNode;
104
+ /**
105
+ * Compiles a passive `FsScopedWriteGuardNode` restricting writes to `ctx.activePartitions`.
106
+ *
107
+ * Rejects write mutations outside the member `globs` of the actor's active partitions.
108
+ * @template TPartition Literal union of partition identifiers in `partitionMap`.
109
+ * @param {FsPartitionMapNode<TPartition>} partitionMap - Filesystem partition map AST node.
110
+ * @returns {FsScopedWriteGuardNode} Frozen `FsScopedWriteGuardNode` descriptor.
111
+ */
112
+ scopedWrite<TPartition extends string = string>(partitionMap: FsPartitionMapNode<TPartition>): FsScopedWriteGuardNode;
113
+ /**
114
+ * Compiles a passive `FsSecretLiteralsGuardNode` scanning proposed file writes for secret literals.
115
+ *
116
+ * Evaluates built-in high-entropy credential patterns plus optional custom regex `patterns`.
117
+ * @param {readonly string[]} [patterns] - Optional custom secret regex pattern strings.
118
+ * @returns {FsSecretLiteralsGuardNode} Frozen `FsSecretLiteralsGuardNode` descriptor.
119
+ */
120
+ secretLiterals(patterns?: readonly string[]): FsSecretLiteralsGuardNode;
121
+ /**
122
+ * Creates a serializable `LeaseDelta` unlocking write access to `globs`.
123
+ *
124
+ * Matches both exact normalized file paths (including bracketed paths) and POSIX globs.
125
+ * @param {readonly string[]} globs - Exact file paths or glob patterns to unlock.
126
+ * @returns {LeaseDelta} Frozen `LeaseDelta` record.
127
+ */
128
+ allowWriteGlobs(globs: readonly string[]): LeaseDelta;
129
+ /**
130
+ * Compiles a passive `FsQuotaTripwireNode` tripping when distinct mutated files exceed `count`.
131
+ *
132
+ * Evaluated post-flight after each allowed tool call via `RuntimeExecutorRegistry.quotaTripwires`.
133
+ * @param {number} count - Maximum distinct mutated files allowed.
134
+ * @returns {FsQuotaTripwireNode} Frozen `FsQuotaTripwireNode` descriptor.
135
+ */
136
+ maxFilesMutated(count: number): FsQuotaTripwireNode;
137
+ /**
138
+ * Compiles the 5-tool workspace-jailed coding bundle (`read_file`, `edit_file`, `write_file`, `glob_files`, `grep_files`).
139
+ *
140
+ * Enforces `realpath` symlink jailing and `node_modules` write denial at runtime.
141
+ * @template THandle Runtime handle type of the active isolation scope.
142
+ * @param {MaybeBuilder<NodeRunnerNode>} runner - Runner pool AST node or builder.
143
+ * @returns {readonly [FsReadToolNode<THandle>, FsEditToolNode<THandle>, FsWriteToolNode<THandle>, FsGlobToolNode<THandle>, FsGrepToolNode<THandle>]} Frozen 5-tuple of coding tools.
144
+ */
145
+ codingTools<THandle = unknown>(runner: MaybeBuilder<NodeRunnerNode>): readonly [
146
+ FsReadToolNode<THandle>,
147
+ FsEditToolNode<THandle>,
148
+ FsWriteToolNode<THandle>,
149
+ FsGlobToolNode<THandle>,
150
+ FsGrepToolNode<THandle>
151
+ ];
152
+ /**
153
+ * Compiles the 3-tool workspace-jailed read-only bundle (`read_file`, `glob_files`, `grep_files`).
154
+ *
155
+ * Emits read-only `FsToolEffect` records with `mutatesScope: false`.
156
+ * @template THandle Runtime handle type of the active isolation scope.
157
+ * @param {MaybeBuilder<NodeRunnerNode>} runner - Runner pool AST node or builder.
158
+ * @returns {readonly [FsReadToolNode<THandle>, FsGlobToolNode<THandle>, FsGrepToolNode<THandle>]} Frozen 3-tuple of read-only tools.
159
+ */
160
+ readOnlyTools<THandle = unknown>(runner: MaybeBuilder<NodeRunnerNode>): readonly [FsReadToolNode<THandle>, FsGlobToolNode<THandle>, FsGrepToolNode<THandle>];
161
+ /**
162
+ * Compiles a passive `FsTelemetryCollectorNode` collecting `filesRead` and `filesMutated`.
163
+ *
164
+ * Folds observed `FsToolEffect` records into `UniversalStepTelemetry.custom`.
165
+ * @returns {FsTelemetryCollectorNode} Frozen `FsTelemetryCollectorNode` descriptor.
166
+ */
167
+ telemetry(): FsTelemetryCollectorNode;
168
+ /**
169
+ * Compiles a passive `FsRegexCheckNode` scanning mutated files matching `options.targetGlobs`.
170
+ *
171
+ * Evaluates `options.forbidPattern` strictly over files mutated during the session or since `baseRef`.
172
+ * @template THandle Runtime handle type of the active isolation scope.
173
+ * @param {string} id - Unique check identifier.
174
+ * @param {FsRegexCheckOptions} options - Regex check options.
175
+ * @returns {FsRegexCheckNode<THandle>} Frozen `FsRegexCheckNode` descriptor.
176
+ */
177
+ regexCheck<THandle = unknown>(id: string, options: FsRegexCheckOptions): FsRegexCheckNode<THandle>;
178
+ /**
179
+ * Compiles a passive `FsJsonlLessonStoreNode` configuring the crash-safe hybrid lesson store.
180
+ *
181
+ * Resolves `definitionsDir`, `statsPath`, and `lockFile` against the immutable host repository root.
182
+ * @param {FsJsonlLessonStoreOptions} options - Lesson store host-root path options.
183
+ * @returns {FsJsonlLessonStoreNode} Frozen `FsJsonlLessonStoreNode` descriptor.
184
+ */
185
+ jsonlLessonStore(options: FsJsonlLessonStoreOptions): FsJsonlLessonStoreNode;
186
+ }
187
+ //# sourceMappingURL=fs-namespace-contract.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fs-namespace-contract.d.ts","sourceRoot":"","sources":["../../src/builders/fs-namespace-contract.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=fs-namespace-contract.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fs-namespace-contract.js","sourceRoot":"","sources":["../../src/builders/fs-namespace-contract.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import type { FsNamespace } from './fs-namespace-contract.js';
2
+ /**
3
+ * Frozen `@paraharness/fs` builder namespace (`fs.*`).
4
+ *
5
+ * Provides pure AST builder factories for filesystem sources, partition maps, policy guards,
6
+ * capability lease deltas, quota tripwires, regex checks, telemetry collectors, lesson stores,
7
+ * and workspace-jailed coding/read-only tool bundles.
8
+ */
9
+ export declare const fs: FsNamespace;
10
+ //# sourceMappingURL=fs-namespace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fs-namespace.d.ts","sourceRoot":"","sources":["../../src/builders/fs-namespace.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAE9D;;;;;;GAMG;AACH,eAAO,MAAM,EAAE,EAAE,WAqBf,CAAC"}
@@ -0,0 +1,50 @@
1
+ import { createFsAllowOnlyGuardBuilder } from './create-fs-allow-only-guard-builder.js';
2
+ import { createFsAllowWriteGlobsLeaseDelta } from './create-fs-allow-write-globs-lease-delta.js';
3
+ import { createFsBoundaryGuardBuilder } from './create-fs-boundary-guard-builder.js';
4
+ import { createFsCodingTools } from './create-fs-coding-tools.js';
5
+ import { createFsGlobMatcherBuilder } from './create-fs-glob-matcher-builder.js';
6
+ import { createFsGlobSourceBuilder } from './create-fs-glob-source-builder.js';
7
+ import { createFsInPartitionPredicate } from './create-fs-in-partition-predicate.js';
8
+ import { createFsJsonlLessonStoreBuilder } from './create-fs-jsonl-lesson-store-builder.js';
9
+ import { createFsMaxFilesMutatedBuilder } from './create-fs-max-files-mutated-builder.js';
10
+ import { createFsPartitionMap } from './create-fs-partition-map.js';
11
+ import { createFsProtectGuardBuilder } from './create-fs-protect-guard-builder.js';
12
+ import { createFsReadOnlyGuardBuilder } from './create-fs-read-only-guard-builder.js';
13
+ import { createFsReadOnlyTools } from './create-fs-read-only-tools.js';
14
+ import { createFsRegexCheckBuilder } from './create-fs-regex-check-builder.js';
15
+ import { createFsRequireReadBeforeWriteGuardBuilder } from './create-fs-require-read-before-write-guard-builder.js';
16
+ import { createFsScopedWriteGuardBuilder } from './create-fs-scoped-write-guard-builder.js';
17
+ import { createFsSecretLiteralsGuardBuilder } from './create-fs-secret-literals-guard-builder.js';
18
+ import { createFsTelemetryBuilder } from './create-fs-telemetry-builder.js';
19
+ import { createFsTextSourceBuilder } from './create-fs-text-source-builder.js';
20
+ import { createFsWriteGuardBuilder } from './create-fs-write-guard-builder.js';
21
+ /**
22
+ * Frozen `@paraharness/fs` builder namespace (`fs.*`).
23
+ *
24
+ * Provides pure AST builder factories for filesystem sources, partition maps, policy guards,
25
+ * capability lease deltas, quota tripwires, regex checks, telemetry collectors, lesson stores,
26
+ * and workspace-jailed coding/read-only tool bundles.
27
+ */
28
+ export const fs = Object.freeze({
29
+ text: createFsTextSourceBuilder,
30
+ glob: createFsGlobSourceBuilder,
31
+ matchGlobs: createFsGlobMatcherBuilder,
32
+ partitionMap: createFsPartitionMap,
33
+ inPartition: createFsInPartitionPredicate,
34
+ boundaryGuard: createFsBoundaryGuardBuilder,
35
+ writeGuard: createFsWriteGuardBuilder,
36
+ protect: createFsProtectGuardBuilder,
37
+ readOnly: createFsReadOnlyGuardBuilder,
38
+ allowOnly: createFsAllowOnlyGuardBuilder,
39
+ requireReadBeforeWrite: createFsRequireReadBeforeWriteGuardBuilder,
40
+ scopedWrite: createFsScopedWriteGuardBuilder,
41
+ secretLiterals: createFsSecretLiteralsGuardBuilder,
42
+ allowWriteGlobs: createFsAllowWriteGlobsLeaseDelta,
43
+ maxFilesMutated: createFsMaxFilesMutatedBuilder,
44
+ codingTools: createFsCodingTools,
45
+ readOnlyTools: createFsReadOnlyTools,
46
+ telemetry: createFsTelemetryBuilder,
47
+ regexCheck: createFsRegexCheckBuilder,
48
+ jsonlLessonStore: createFsJsonlLessonStoreBuilder,
49
+ });
50
+ //# sourceMappingURL=fs-namespace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fs-namespace.js","sourceRoot":"","sources":["../../src/builders/fs-namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AACxF,OAAO,EAAE,iCAAiC,EAAE,MAAM,8CAA8C,CAAC;AACjG,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAC5F,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,0CAA0C,EAAE,MAAM,wDAAwD,CAAC;AACpH,OAAO,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAC5F,OAAO,EAAE,kCAAkC,EAAE,MAAM,8CAA8C,CAAC;AAClG,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAG/E;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,EAAE,GAAgB,MAAM,CAAC,MAAM,CAAc;IACxD,IAAI,EAAE,yBAAyB;IAC/B,IAAI,EAAE,yBAAyB;IAC/B,UAAU,EAAE,0BAA0B;IACtC,YAAY,EAAE,oBAAoB;IAClC,WAAW,EAAE,4BAA4B;IACzC,aAAa,EAAE,4BAA4B;IAC3C,UAAU,EAAE,yBAAyB;IACrC,OAAO,EAAE,2BAA2B;IACpC,QAAQ,EAAE,4BAA4B;IACtC,SAAS,EAAE,6BAA6B;IACxC,sBAAsB,EAAE,0CAA0C;IAClE,WAAW,EAAE,+BAA+B;IAC5C,cAAc,EAAE,kCAAkC;IAClD,eAAe,EAAE,iCAAiC;IAClD,eAAe,EAAE,8BAA8B;IAC/C,WAAW,EAAE,mBAAmB;IAChC,aAAa,EAAE,qBAAqB;IACpC,SAAS,EAAE,wBAAwB;IACnC,UAAU,EAAE,yBAAyB;IACrC,gBAAgB,EAAE,+BAA+B;CAClD,CAAC,CAAC"}
@@ -0,0 +1,62 @@
1
+ import type { FsEditToolNode, FsGlobToolNode, FsGrepToolNode, FsReadToolNode, FsWriteToolNode, NodeRunnerNode } from '@paraharness/core';
2
+ /**
3
+ * Constructs a frozen `FsReadToolNode` (`fs:read` / `read_file`) bound to `runnerNode`.
4
+ *
5
+ * Uses the pre-compiled `FsReadToolInputSchema` with `effectTracking: 'declared'`.
6
+ *
7
+ * @template THandle Runtime handle type of the active isolation scope.
8
+ *
9
+ * @param {NodeRunnerNode} runnerNode - Passive runner pool AST node.
10
+ *
11
+ * @returns {FsReadToolNode<THandle>} Deeply frozen `FsReadToolNode` AST descriptor.
12
+ */
13
+ export declare function buildFsReadToolNode<THandle = unknown>(runnerNode: NodeRunnerNode): FsReadToolNode<THandle>;
14
+ /**
15
+ * Constructs a frozen `FsEditToolNode` (`fs:edit` / `edit_file`) bound to `runnerNode`.
16
+ *
17
+ * Uses the pre-compiled `FsEditToolInputSchema` with `effectTracking: 'declared'`.
18
+ *
19
+ * @template THandle Runtime handle type of the active isolation scope.
20
+ *
21
+ * @param {NodeRunnerNode} runnerNode - Passive runner pool AST node.
22
+ *
23
+ * @returns {FsEditToolNode<THandle>} Deeply frozen `FsEditToolNode` AST descriptor.
24
+ */
25
+ export declare function buildFsEditToolNode<THandle = unknown>(runnerNode: NodeRunnerNode): FsEditToolNode<THandle>;
26
+ /**
27
+ * Constructs a frozen `FsWriteToolNode` (`fs:write` / `write_file`) bound to `runnerNode`.
28
+ *
29
+ * Uses the pre-compiled `FsWriteToolInputSchema` with `effectTracking: 'declared'`.
30
+ *
31
+ * @template THandle Runtime handle type of the active isolation scope.
32
+ *
33
+ * @param {NodeRunnerNode} runnerNode - Passive runner pool AST node.
34
+ *
35
+ * @returns {FsWriteToolNode<THandle>} Deeply frozen `FsWriteToolNode` AST descriptor.
36
+ */
37
+ export declare function buildFsWriteToolNode<THandle = unknown>(runnerNode: NodeRunnerNode): FsWriteToolNode<THandle>;
38
+ /**
39
+ * Constructs a frozen `FsGlobToolNode` (`fs:glob` / `glob_files`) bound to `runnerNode`.
40
+ *
41
+ * Uses the pre-compiled `FsGlobToolInputSchema` with `effectTracking: 'declared'`.
42
+ *
43
+ * @template THandle Runtime handle type of the active isolation scope.
44
+ *
45
+ * @param {NodeRunnerNode} runnerNode - Passive runner pool AST node.
46
+ *
47
+ * @returns {FsGlobToolNode<THandle>} Deeply frozen `FsGlobToolNode` AST descriptor.
48
+ */
49
+ export declare function buildFsGlobToolNode<THandle = unknown>(runnerNode: NodeRunnerNode): FsGlobToolNode<THandle>;
50
+ /**
51
+ * Constructs a frozen `FsGrepToolNode` (`fs:grep` / `grep_files`) bound to `runnerNode`.
52
+ *
53
+ * Uses the pre-compiled `FsGrepToolInputSchema` with `effectTracking: 'declared'`.
54
+ *
55
+ * @template THandle Runtime handle type of the active isolation scope.
56
+ *
57
+ * @param {NodeRunnerNode} runnerNode - Passive runner pool AST node.
58
+ *
59
+ * @returns {FsGrepToolNode<THandle>} Deeply frozen `FsGrepToolNode` AST descriptor.
60
+ */
61
+ export declare function buildFsGrepToolNode<THandle = unknown>(runnerNode: NodeRunnerNode): FsGrepToolNode<THandle>;
62
+ //# sourceMappingURL=build-fs-tool-nodes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build-fs-tool-nodes.d.ts","sourceRoot":"","sources":["../../../src/builders/internal/build-fs-tool-nodes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,eAAe,EACf,cAAc,EACf,MAAM,mBAAmB,CAAC;AAS3B;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,GAAG,OAAO,EACnD,UAAU,EAAE,cAAc,GACzB,cAAc,CAAC,OAAO,CAAC,CASzB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,GAAG,OAAO,EACnD,UAAU,EAAE,cAAc,GACzB,cAAc,CAAC,OAAO,CAAC,CASzB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,GAAG,OAAO,EACpD,UAAU,EAAE,cAAc,GACzB,eAAe,CAAC,OAAO,CAAC,CAS1B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,GAAG,OAAO,EACnD,UAAU,EAAE,cAAc,GACzB,cAAc,CAAC,OAAO,CAAC,CASzB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,GAAG,OAAO,EACnD,UAAU,EAAE,cAAc,GACzB,cAAc,CAAC,OAAO,CAAC,CASzB"}
@@ -0,0 +1,107 @@
1
+ import { FsEditToolInputSchema, FsGlobToolInputSchema, FsGrepToolInputSchema, FsReadToolInputSchema, FsWriteToolInputSchema, } from './fs-tool-input.schema.js';
2
+ /**
3
+ * Constructs a frozen `FsReadToolNode` (`fs:read` / `read_file`) bound to `runnerNode`.
4
+ *
5
+ * Uses the pre-compiled `FsReadToolInputSchema` with `effectTracking: 'declared'`.
6
+ *
7
+ * @template THandle Runtime handle type of the active isolation scope.
8
+ *
9
+ * @param {NodeRunnerNode} runnerNode - Passive runner pool AST node.
10
+ *
11
+ * @returns {FsReadToolNode<THandle>} Deeply frozen `FsReadToolNode` AST descriptor.
12
+ */
13
+ export function buildFsReadToolNode(runnerNode) {
14
+ return Object.freeze({
15
+ type: 'fs:read',
16
+ name: 'read_file',
17
+ description: 'Read UTF-8 text from a workspace-relative file path.',
18
+ inputSchema: FsReadToolInputSchema,
19
+ effectTracking: 'declared',
20
+ runner: runnerNode,
21
+ });
22
+ }
23
+ /**
24
+ * Constructs a frozen `FsEditToolNode` (`fs:edit` / `edit_file`) bound to `runnerNode`.
25
+ *
26
+ * Uses the pre-compiled `FsEditToolInputSchema` with `effectTracking: 'declared'`.
27
+ *
28
+ * @template THandle Runtime handle type of the active isolation scope.
29
+ *
30
+ * @param {NodeRunnerNode} runnerNode - Passive runner pool AST node.
31
+ *
32
+ * @returns {FsEditToolNode<THandle>} Deeply frozen `FsEditToolNode` AST descriptor.
33
+ */
34
+ export function buildFsEditToolNode(runnerNode) {
35
+ return Object.freeze({
36
+ type: 'fs:edit',
37
+ name: 'edit_file',
38
+ description: 'Replace an exact target string in an existing workspace-relative file.',
39
+ inputSchema: FsEditToolInputSchema,
40
+ effectTracking: 'declared',
41
+ runner: runnerNode,
42
+ });
43
+ }
44
+ /**
45
+ * Constructs a frozen `FsWriteToolNode` (`fs:write` / `write_file`) bound to `runnerNode`.
46
+ *
47
+ * Uses the pre-compiled `FsWriteToolInputSchema` with `effectTracking: 'declared'`.
48
+ *
49
+ * @template THandle Runtime handle type of the active isolation scope.
50
+ *
51
+ * @param {NodeRunnerNode} runnerNode - Passive runner pool AST node.
52
+ *
53
+ * @returns {FsWriteToolNode<THandle>} Deeply frozen `FsWriteToolNode` AST descriptor.
54
+ */
55
+ export function buildFsWriteToolNode(runnerNode) {
56
+ return Object.freeze({
57
+ type: 'fs:write',
58
+ name: 'write_file',
59
+ description: 'Create or overwrite a workspace-relative UTF-8 file.',
60
+ inputSchema: FsWriteToolInputSchema,
61
+ effectTracking: 'declared',
62
+ runner: runnerNode,
63
+ });
64
+ }
65
+ /**
66
+ * Constructs a frozen `FsGlobToolNode` (`fs:glob` / `glob_files`) bound to `runnerNode`.
67
+ *
68
+ * Uses the pre-compiled `FsGlobToolInputSchema` with `effectTracking: 'declared'`.
69
+ *
70
+ * @template THandle Runtime handle type of the active isolation scope.
71
+ *
72
+ * @param {NodeRunnerNode} runnerNode - Passive runner pool AST node.
73
+ *
74
+ * @returns {FsGlobToolNode<THandle>} Deeply frozen `FsGlobToolNode` AST descriptor.
75
+ */
76
+ export function buildFsGlobToolNode(runnerNode) {
77
+ return Object.freeze({
78
+ type: 'fs:glob',
79
+ name: 'glob_files',
80
+ description: 'List workspace-relative files matching a POSIX glob pattern.',
81
+ inputSchema: FsGlobToolInputSchema,
82
+ effectTracking: 'declared',
83
+ runner: runnerNode,
84
+ });
85
+ }
86
+ /**
87
+ * Constructs a frozen `FsGrepToolNode` (`fs:grep` / `grep_files`) bound to `runnerNode`.
88
+ *
89
+ * Uses the pre-compiled `FsGrepToolInputSchema` with `effectTracking: 'declared'`.
90
+ *
91
+ * @template THandle Runtime handle type of the active isolation scope.
92
+ *
93
+ * @param {NodeRunnerNode} runnerNode - Passive runner pool AST node.
94
+ *
95
+ * @returns {FsGrepToolNode<THandle>} Deeply frozen `FsGrepToolNode` AST descriptor.
96
+ */
97
+ export function buildFsGrepToolNode(runnerNode) {
98
+ return Object.freeze({
99
+ type: 'fs:grep',
100
+ name: 'grep_files',
101
+ description: 'Search workspace files for lines matching a regular expression pattern.',
102
+ inputSchema: FsGrepToolInputSchema,
103
+ effectTracking: 'declared',
104
+ runner: runnerNode,
105
+ });
106
+ }
107
+ //# sourceMappingURL=build-fs-tool-nodes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build-fs-tool-nodes.js","sourceRoot":"","sources":["../../../src/builders/internal/build-fs-tool-nodes.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,2BAA2B,CAAC;AAEnC;;;;;;;;;;GAUG;AACH,MAAM,UAAU,mBAAmB,CACjC,UAA0B;IAE1B,OAAO,MAAM,CAAC,MAAM,CAA0B;QAC5C,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,sDAAsD;QACnE,WAAW,EAAE,qBAAqB;QAClC,cAAc,EAAE,UAAU;QAC1B,MAAM,EAAE,UAAU;KACnB,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,mBAAmB,CACjC,UAA0B;IAE1B,OAAO,MAAM,CAAC,MAAM,CAA0B;QAC5C,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,wEAAwE;QACrF,WAAW,EAAE,qBAAqB;QAClC,cAAc,EAAE,UAAU;QAC1B,MAAM,EAAE,UAAU;KACnB,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,oBAAoB,CAClC,UAA0B;IAE1B,OAAO,MAAM,CAAC,MAAM,CAA2B;QAC7C,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,sDAAsD;QACnE,WAAW,EAAE,sBAAsB;QACnC,cAAc,EAAE,UAAU;QAC1B,MAAM,EAAE,UAAU;KACnB,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,mBAAmB,CACjC,UAA0B;IAE1B,OAAO,MAAM,CAAC,MAAM,CAA0B;QAC5C,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,8DAA8D;QAC3E,WAAW,EAAE,qBAAqB;QAClC,cAAc,EAAE,UAAU;QAC1B,MAAM,EAAE,UAAU;KACnB,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,mBAAmB,CACjC,UAA0B;IAE1B,OAAO,MAAM,CAAC,MAAM,CAA0B;QAC5C,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,yEAAyE;QACtF,WAAW,EAAE,qBAAqB;QAClC,cAAc,EAAE,UAAU;QAC1B,MAAM,EAAE,UAAU;KACnB,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,80 @@
1
+ import { z } from '@paraharness/core';
2
+ /**
3
+ * Zod input schema for `FsReadToolNode` (`fs:read` / `read_file`).
4
+ *
5
+ * Validates that the caller provides a non-empty workspace-relative `path` string.
6
+ */
7
+ export declare const FsReadToolInputSchema: z.ZodObject<{
8
+ path: z.ZodString;
9
+ }, z.core.$strip>;
10
+ /**
11
+ * Validated input payload for `read_file`.
12
+ */
13
+ export type FsReadToolInput = z.infer<typeof FsReadToolInputSchema>;
14
+ /**
15
+ * Zod input schema for `FsEditToolNode` (`fs:edit` / `edit_file`).
16
+ *
17
+ * Validates the target file `path`, exact `oldString` to locate, and replacement `newString`.
18
+ */
19
+ export declare const FsEditToolInputSchema: z.ZodObject<{
20
+ path: z.ZodString;
21
+ oldString: z.ZodString;
22
+ newString: z.ZodString;
23
+ }, z.core.$strip>;
24
+ /**
25
+ * Validated input payload for `edit_file`.
26
+ */
27
+ export type FsEditToolInput = z.infer<typeof FsEditToolInputSchema>;
28
+ /**
29
+ * Zod input schema for `FsWriteToolNode` (`fs:write` / `write_file`).
30
+ *
31
+ * Validates the workspace-relative destination `path` and full UTF-8 `content`.
32
+ */
33
+ export declare const FsWriteToolInputSchema: z.ZodObject<{
34
+ path: z.ZodString;
35
+ content: z.ZodString;
36
+ }, z.core.$strip>;
37
+ /**
38
+ * Validated input payload for `write_file`.
39
+ */
40
+ export type FsWriteToolInput = z.infer<typeof FsWriteToolInputSchema>;
41
+ /**
42
+ * Zod input schema for `FsGlobToolNode` (`fs:glob` / `glob_files`).
43
+ *
44
+ * Validates a non-empty POSIX glob `pattern`.
45
+ */
46
+ export declare const FsGlobToolInputSchema: z.ZodObject<{
47
+ pattern: z.ZodString;
48
+ }, z.core.$strip>;
49
+ /**
50
+ * Validated input payload for `glob_files`.
51
+ */
52
+ export type FsGlobToolInput = z.infer<typeof FsGlobToolInputSchema>;
53
+ /**
54
+ * Zod input schema for `FsGrepToolNode` (`fs:grep` / `grep_files`).
55
+ *
56
+ * Validates regular expression `pattern` and optional `glob` and regex `flags`.
57
+ */
58
+ export declare const FsGrepToolInputSchema: z.ZodObject<{
59
+ pattern: z.ZodString;
60
+ glob: z.ZodOptional<z.ZodString>;
61
+ flags: z.ZodOptional<z.ZodString>;
62
+ }, z.core.$strip>;
63
+ /**
64
+ * Validated input payload for `grep_files`.
65
+ */
66
+ export type FsGrepToolInput = z.infer<typeof FsGrepToolInputSchema>;
67
+ /**
68
+ * Zod telemetry schema for `FsTelemetryCollectorNode` (`fs:telemetry`).
69
+ *
70
+ * Validates distinct `filesRead` and `filesMutated` path arrays collected per step.
71
+ */
72
+ export declare const FsTelemetryMetricsSchema: z.ZodObject<{
73
+ filesRead: z.ZodReadonly<z.ZodArray<z.ZodString>>;
74
+ filesMutated: z.ZodReadonly<z.ZodArray<z.ZodString>>;
75
+ }, z.core.$strip>;
76
+ /**
77
+ * Validated telemetry metrics shape for `fs.telemetry()`.
78
+ */
79
+ export type FsTelemetryMetrics = z.infer<typeof FsTelemetryMetricsSchema>;
80
+ //# sourceMappingURL=fs-tool-input.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fs-tool-input.schema.d.ts","sourceRoot":"","sources":["../../../src/builders/internal/fs-tool-input.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAEtC;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;iBAEhC,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;;;iBAIhC,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;iBAGjC,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;iBAEhC,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;;;iBAIhC,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;iBAGnC,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -0,0 +1,56 @@
1
+ import { z } from '@paraharness/core';
2
+ /**
3
+ * Zod input schema for `FsReadToolNode` (`fs:read` / `read_file`).
4
+ *
5
+ * Validates that the caller provides a non-empty workspace-relative `path` string.
6
+ */
7
+ export const FsReadToolInputSchema = z.object({
8
+ path: z.string().min(1),
9
+ });
10
+ /**
11
+ * Zod input schema for `FsEditToolNode` (`fs:edit` / `edit_file`).
12
+ *
13
+ * Validates the target file `path`, exact `oldString` to locate, and replacement `newString`.
14
+ */
15
+ export const FsEditToolInputSchema = z.object({
16
+ path: z.string().min(1),
17
+ oldString: z.string(),
18
+ newString: z.string(),
19
+ });
20
+ /**
21
+ * Zod input schema for `FsWriteToolNode` (`fs:write` / `write_file`).
22
+ *
23
+ * Validates the workspace-relative destination `path` and full UTF-8 `content`.
24
+ */
25
+ export const FsWriteToolInputSchema = z.object({
26
+ path: z.string().min(1),
27
+ content: z.string(),
28
+ });
29
+ /**
30
+ * Zod input schema for `FsGlobToolNode` (`fs:glob` / `glob_files`).
31
+ *
32
+ * Validates a non-empty POSIX glob `pattern`.
33
+ */
34
+ export const FsGlobToolInputSchema = z.object({
35
+ pattern: z.string().min(1),
36
+ });
37
+ /**
38
+ * Zod input schema for `FsGrepToolNode` (`fs:grep` / `grep_files`).
39
+ *
40
+ * Validates regular expression `pattern` and optional `glob` and regex `flags`.
41
+ */
42
+ export const FsGrepToolInputSchema = z.object({
43
+ pattern: z.string().min(1),
44
+ glob: z.string().optional(),
45
+ flags: z.string().optional(),
46
+ });
47
+ /**
48
+ * Zod telemetry schema for `FsTelemetryCollectorNode` (`fs:telemetry`).
49
+ *
50
+ * Validates distinct `filesRead` and `filesMutated` path arrays collected per step.
51
+ */
52
+ export const FsTelemetryMetricsSchema = z.object({
53
+ filesRead: z.array(z.string()).readonly(),
54
+ filesMutated: z.array(z.string()).readonly(),
55
+ });
56
+ //# sourceMappingURL=fs-tool-input.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fs-tool-input.schema.js","sourceRoot":"","sources":["../../../src/builders/internal/fs-tool-input.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAEtC;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACxB,CAAC,CAAC;AAOH;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAOH;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAOH;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAC3B,CAAC,CAAC;AAOH;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC1B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC,CAAC;AAOH;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACzC,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { RuntimeExecutorRegistrySlice } from '@paraharness/core';
2
+ /**
3
+ * Creates a fresh `RuntimeExecutorRegistrySlice` registering all `@paraharness/fs` runtime executors and drivers.
4
+ *
5
+ * Registers `sources`, `checks`, `policyGuards`, `quotaTripwires`, `telemetryCollectors`,
6
+ * `effectMatchers`, `tools`, and `lessons` for `@paraharness/fs` AST nodes (`SPEC.md` §4.3).
7
+ *
8
+ * @returns {RuntimeExecutorRegistrySlice} Deeply frozen executor registry slice for `@paraharness/fs`.
9
+ */
10
+ export declare function createFsExecutors(): RuntimeExecutorRegistrySlice;
11
+ //# sourceMappingURL=create-fs-executors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-fs-executors.d.ts","sourceRoot":"","sources":["../../src/executors/create-fs-executors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,4BAA4B,EAC7B,MAAM,mBAAmB,CAAC;AAkC3B;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,IAAI,4BAA4B,CAwChE"}