@quantiya/codevibe-claude-plugin 2.0.27 → 2.0.29

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 (333) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/node_modules/@quantiya/codevibe-core/dist/appsync/appsync-client.d.ts +1 -0
  3. package/node_modules/@quantiya/codevibe-core/dist/appsync/queries.d.ts +1 -0
  4. package/node_modules/@quantiya/codevibe-core/dist/index.d.ts +5 -1
  5. package/node_modules/@quantiya/codevibe-core/dist/index.js +447 -415
  6. package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/local-executor-teams-summary.test.d.ts +1 -0
  7. package/node_modules/@quantiya/codevibe-core/dist/local-executor/hook-bridge.d.ts +2 -1
  8. package/node_modules/@quantiya/codevibe-core/dist/local-executor/index.d.ts +5 -0
  9. package/node_modules/@quantiya/codevibe-core/dist/local-executor/local-executor-impl.d.ts +16 -0
  10. package/node_modules/@quantiya/codevibe-core/dist/local-executor/team-summary.d.ts +151 -0
  11. package/node_modules/@quantiya/codevibe-core/dist/local-model/ollama.d.ts +3 -1
  12. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/audit-buffer-join.test.d.ts +1 -0
  13. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/audit-normalization.test.d.ts +1 -0
  14. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/audit-summary.test.d.ts +1 -0
  15. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/decision-map-lifecycle.test.d.ts +1 -0
  16. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/planner-confirmation-routing.test.d.ts +1 -0
  17. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/query_audit_tier_gate.test.d.ts +1 -0
  18. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/quorum-loop-fail-safe.test.d.ts +1 -0
  19. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/quorum-loop-summary.test.d.ts +1 -0
  20. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/audit-runner.d.ts +25 -0
  21. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/audit-summary.d.ts +240 -0
  22. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.d.ts +11 -3
  23. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.js +3693 -1315
  24. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/context-compaction.d.ts +2 -0
  25. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/gate-decision-submit.d.ts +1 -1
  26. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/index.d.ts +23 -17
  27. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/quorum-loop.d.ts +96 -1
  28. package/node_modules/@quantiya/codevibe-core/dist/planner/local-gemma.d.ts +35 -7
  29. package/node_modules/@quantiya/codevibe-core/package.json +2 -2
  30. package/node_modules/es-toolkit/CHANGELOG.md +3 -38
  31. package/node_modules/es-toolkit/dist/browser.global.js +4 -4
  32. package/node_modules/es-toolkit/dist/compat/array/differenceWith.js +1 -2
  33. package/node_modules/es-toolkit/dist/compat/array/differenceWith.mjs +1 -2
  34. package/node_modules/es-toolkit/dist/compat/array/findLastIndex.js +3 -5
  35. package/node_modules/es-toolkit/dist/compat/array/findLastIndex.mjs +3 -5
  36. package/node_modules/es-toolkit/dist/compat/array/sortedIndexBy.js +1 -1
  37. package/node_modules/es-toolkit/dist/compat/array/sortedIndexBy.mjs +1 -1
  38. package/node_modules/es-toolkit/dist/compat/array/without.js +2 -8
  39. package/node_modules/es-toolkit/dist/compat/array/without.mjs +2 -8
  40. package/node_modules/es-toolkit/dist/compat/array/xorWith.js +6 -4
  41. package/node_modules/es-toolkit/dist/compat/array/xorWith.mjs +6 -4
  42. package/node_modules/es-toolkit/dist/compat/compat.js +1 -1
  43. package/node_modules/es-toolkit/dist/compat/compat.mjs +1 -1
  44. package/node_modules/es-toolkit/dist/compat/function/debounce.js +1 -1
  45. package/node_modules/es-toolkit/dist/compat/function/debounce.mjs +1 -1
  46. package/node_modules/es-toolkit/dist/compat/index.js +1 -1
  47. package/node_modules/es-toolkit/dist/compat/index.mjs +1 -1
  48. package/node_modules/es-toolkit/dist/compat/object/has.js +2 -3
  49. package/node_modules/es-toolkit/dist/compat/object/has.mjs +2 -3
  50. package/node_modules/es-toolkit/dist/compat/object/hasIn.js +2 -3
  51. package/node_modules/es-toolkit/dist/compat/object/hasIn.mjs +2 -3
  52. package/node_modules/es-toolkit/dist/compat/object/mergeWith.js +1 -1
  53. package/node_modules/es-toolkit/dist/compat/object/mergeWith.mjs +1 -1
  54. package/node_modules/es-toolkit/dist/compat/object/omitBy.js +1 -1
  55. package/node_modules/es-toolkit/dist/compat/object/omitBy.mjs +1 -1
  56. package/node_modules/es-toolkit/dist/compat/object/pickBy.js +1 -1
  57. package/node_modules/es-toolkit/dist/compat/object/pickBy.mjs +1 -1
  58. package/node_modules/es-toolkit/dist/compat/util/toString.js +1 -3
  59. package/node_modules/es-toolkit/dist/compat/util/toString.mjs +1 -3
  60. package/node_modules/es-toolkit/dist/fp/index.d.mts +1 -2
  61. package/node_modules/es-toolkit/dist/fp/index.d.ts +1 -2
  62. package/node_modules/es-toolkit/dist/fp/index.js +0 -2
  63. package/node_modules/es-toolkit/dist/fp/index.mjs +1 -2
  64. package/node_modules/es-toolkit/dist/index.d.mts +1 -3
  65. package/node_modules/es-toolkit/dist/index.d.ts +1 -3
  66. package/node_modules/es-toolkit/dist/index.js +0 -4
  67. package/node_modules/es-toolkit/dist/index.mjs +1 -3
  68. package/node_modules/es-toolkit/dist/object/merge.d.mts +1 -3
  69. package/node_modules/es-toolkit/dist/object/merge.d.ts +1 -3
  70. package/node_modules/es-toolkit/dist/object/merge.js +40 -0
  71. package/node_modules/es-toolkit/dist/object/merge.mjs +40 -0
  72. package/node_modules/es-toolkit/dist/object/omitBy.d.mts +2 -4
  73. package/node_modules/es-toolkit/dist/object/omitBy.d.ts +2 -4
  74. package/node_modules/es-toolkit/dist/object/omitBy.js +3 -4
  75. package/node_modules/es-toolkit/dist/object/omitBy.mjs +3 -4
  76. package/node_modules/es-toolkit/dist/object/pickBy.d.mts +2 -4
  77. package/node_modules/es-toolkit/dist/object/pickBy.d.ts +2 -4
  78. package/node_modules/es-toolkit/dist/object/pickBy.js +3 -4
  79. package/node_modules/es-toolkit/dist/object/pickBy.mjs +3 -4
  80. package/node_modules/es-toolkit/dist/types/index.d.mts +2 -11
  81. package/node_modules/es-toolkit/dist/types/index.d.ts +2 -11
  82. package/node_modules/es-toolkit/dist/util/attempt.d.mts +1 -1
  83. package/node_modules/es-toolkit/dist/util/attempt.d.ts +1 -1
  84. package/node_modules/es-toolkit/dist/util/attemptAsync.d.mts +1 -1
  85. package/node_modules/es-toolkit/dist/util/attemptAsync.d.ts +1 -1
  86. package/node_modules/es-toolkit/dist/util/index.d.mts +1 -3
  87. package/node_modules/es-toolkit/dist/util/index.d.ts +1 -3
  88. package/node_modules/es-toolkit/dist/util/index.js +0 -4
  89. package/node_modules/es-toolkit/dist/util/index.mjs +1 -3
  90. package/node_modules/es-toolkit/package.json +1 -44
  91. package/node_modules/node-abi/abi_registry.json +0 -7
  92. package/node_modules/node-abi/package.json +1 -1
  93. package/node_modules/qs/.github/THREAT_MODEL.md +3 -3
  94. package/node_modules/qs/CHANGELOG.md +0 -15
  95. package/node_modules/qs/README.md +1 -19
  96. package/node_modules/qs/dist/qs.js +21 -21
  97. package/node_modules/qs/eslint.config.mjs +1 -1
  98. package/node_modules/qs/lib/parse.js +4 -3
  99. package/node_modules/qs/lib/stringify.js +8 -23
  100. package/node_modules/qs/lib/utils.js +3 -10
  101. package/node_modules/qs/package.json +4 -4
  102. package/node_modules/qs/test/parse.js +3 -192
  103. package/node_modules/qs/test/stringify.js +0 -317
  104. package/node_modules/qs/test/utils.js +0 -12
  105. package/node_modules/type-fest/index.d.ts +7 -6
  106. package/node_modules/type-fest/package.json +1 -1
  107. package/node_modules/type-fest/readme.md +5 -6
  108. package/node_modules/type-fest/source/delimiter-case.d.ts +1 -1
  109. package/node_modules/type-fest/source/get.d.ts +1 -1
  110. package/node_modules/type-fest/source/internal/object.d.ts +1 -30
  111. package/node_modules/type-fest/source/is-literal.d.ts +269 -43
  112. package/node_modules/type-fest/source/jsonify.d.ts +5 -1
  113. package/node_modules/type-fest/source/remove-prefix.d.ts +1 -1
  114. package/node_modules/type-fest/source/remove-suffix.d.ts +1 -1
  115. package/node_modules/type-fest/source/shared-union-fields-deep.d.ts +3 -4
  116. package/node_modules/type-fest/source/split.d.ts +1 -1
  117. package/node_modules/type-fest/source/string-repeat.d.ts +1 -1
  118. package/node_modules/type-fest/source/string-to-array.d.ts +1 -1
  119. package/node_modules/type-fest/source/tsconfig-json.d.ts +1 -1
  120. package/node_modules/type-fest/source/typed-array.d.ts +0 -1
  121. package/node_modules/type-fest/source/writable.d.ts +2 -2
  122. package/package.json +2 -2
  123. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/direct-file-delete.d.ts +0 -22
  124. package/node_modules/es-toolkit/dist/fp/flowAsync.d.mts +0 -213
  125. package/node_modules/es-toolkit/dist/fp/flowAsync.d.ts +0 -213
  126. package/node_modules/es-toolkit/dist/fp/flowAsync.js +0 -37
  127. package/node_modules/es-toolkit/dist/fp/flowAsync.mjs +0 -37
  128. package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.d.mts +0 -23
  129. package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.d.ts +0 -23
  130. package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.js +0 -28
  131. package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.mjs +0 -28
  132. package/node_modules/es-toolkit/dist/fp/iterator/chunk.d.mts +0 -19
  133. package/node_modules/es-toolkit/dist/fp/iterator/chunk.d.ts +0 -19
  134. package/node_modules/es-toolkit/dist/fp/iterator/chunk.js +0 -24
  135. package/node_modules/es-toolkit/dist/fp/iterator/chunk.mjs +0 -24
  136. package/node_modules/es-toolkit/dist/fp/iterator/count.d.mts +0 -20
  137. package/node_modules/es-toolkit/dist/fp/iterator/count.d.ts +0 -20
  138. package/node_modules/es-toolkit/dist/fp/iterator/count.js +0 -25
  139. package/node_modules/es-toolkit/dist/fp/iterator/count.mjs +0 -25
  140. package/node_modules/es-toolkit/dist/fp/iterator/drop.d.mts +0 -20
  141. package/node_modules/es-toolkit/dist/fp/iterator/drop.d.ts +0 -20
  142. package/node_modules/es-toolkit/dist/fp/iterator/drop.js +0 -24
  143. package/node_modules/es-toolkit/dist/fp/iterator/drop.mjs +0 -24
  144. package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.d.mts +0 -18
  145. package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.d.ts +0 -18
  146. package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.js +0 -23
  147. package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.mjs +0 -23
  148. package/node_modules/es-toolkit/dist/fp/iterator/every.d.mts +0 -20
  149. package/node_modules/es-toolkit/dist/fp/iterator/every.d.ts +0 -20
  150. package/node_modules/es-toolkit/dist/fp/iterator/every.js +0 -24
  151. package/node_modules/es-toolkit/dist/fp/iterator/every.mjs +0 -24
  152. package/node_modules/es-toolkit/dist/fp/iterator/filter.d.mts +0 -37
  153. package/node_modules/es-toolkit/dist/fp/iterator/filter.d.ts +0 -37
  154. package/node_modules/es-toolkit/dist/fp/iterator/filter.js +0 -8
  155. package/node_modules/es-toolkit/dist/fp/iterator/filter.mjs +0 -8
  156. package/node_modules/es-toolkit/dist/fp/iterator/find.d.mts +0 -20
  157. package/node_modules/es-toolkit/dist/fp/iterator/find.d.ts +0 -20
  158. package/node_modules/es-toolkit/dist/fp/iterator/find.js +0 -24
  159. package/node_modules/es-toolkit/dist/fp/iterator/find.mjs +0 -24
  160. package/node_modules/es-toolkit/dist/fp/iterator/flatMap.d.mts +0 -20
  161. package/node_modules/es-toolkit/dist/fp/iterator/flatMap.d.ts +0 -20
  162. package/node_modules/es-toolkit/dist/fp/iterator/flatMap.js +0 -24
  163. package/node_modules/es-toolkit/dist/fp/iterator/flatMap.mjs +0 -24
  164. package/node_modules/es-toolkit/dist/fp/iterator/forEach.d.mts +0 -22
  165. package/node_modules/es-toolkit/dist/fp/iterator/forEach.d.ts +0 -22
  166. package/node_modules/es-toolkit/dist/fp/iterator/forEach.js +0 -26
  167. package/node_modules/es-toolkit/dist/fp/iterator/forEach.mjs +0 -26
  168. package/node_modules/es-toolkit/dist/fp/iterator/head.d.mts +0 -19
  169. package/node_modules/es-toolkit/dist/fp/iterator/head.d.ts +0 -19
  170. package/node_modules/es-toolkit/dist/fp/iterator/head.js +0 -24
  171. package/node_modules/es-toolkit/dist/fp/iterator/head.mjs +0 -24
  172. package/node_modules/es-toolkit/dist/fp/iterator/index.d.mts +0 -22
  173. package/node_modules/es-toolkit/dist/fp/iterator/index.d.ts +0 -22
  174. package/node_modules/es-toolkit/dist/fp/iterator/index.js +0 -43
  175. package/node_modules/es-toolkit/dist/fp/iterator/index.mjs +0 -22
  176. package/node_modules/es-toolkit/dist/fp/iterator/map.d.mts +0 -20
  177. package/node_modules/es-toolkit/dist/fp/iterator/map.d.ts +0 -20
  178. package/node_modules/es-toolkit/dist/fp/iterator/map.js +0 -24
  179. package/node_modules/es-toolkit/dist/fp/iterator/map.mjs +0 -24
  180. package/node_modules/es-toolkit/dist/fp/iterator/partition.d.mts +0 -22
  181. package/node_modules/es-toolkit/dist/fp/iterator/partition.d.ts +0 -22
  182. package/node_modules/es-toolkit/dist/fp/iterator/partition.js +0 -27
  183. package/node_modules/es-toolkit/dist/fp/iterator/partition.mjs +0 -27
  184. package/node_modules/es-toolkit/dist/fp/iterator/reduce.d.mts +0 -24
  185. package/node_modules/es-toolkit/dist/fp/iterator/reduce.d.ts +0 -24
  186. package/node_modules/es-toolkit/dist/fp/iterator/reduce.js +0 -28
  187. package/node_modules/es-toolkit/dist/fp/iterator/reduce.mjs +0 -28
  188. package/node_modules/es-toolkit/dist/fp/iterator/scan.d.mts +0 -21
  189. package/node_modules/es-toolkit/dist/fp/iterator/scan.d.ts +0 -21
  190. package/node_modules/es-toolkit/dist/fp/iterator/scan.js +0 -26
  191. package/node_modules/es-toolkit/dist/fp/iterator/scan.mjs +0 -26
  192. package/node_modules/es-toolkit/dist/fp/iterator/some.d.mts +0 -20
  193. package/node_modules/es-toolkit/dist/fp/iterator/some.d.ts +0 -20
  194. package/node_modules/es-toolkit/dist/fp/iterator/some.js +0 -24
  195. package/node_modules/es-toolkit/dist/fp/iterator/some.mjs +0 -24
  196. package/node_modules/es-toolkit/dist/fp/iterator/take.d.mts +0 -21
  197. package/node_modules/es-toolkit/dist/fp/iterator/take.d.ts +0 -21
  198. package/node_modules/es-toolkit/dist/fp/iterator/take.js +0 -25
  199. package/node_modules/es-toolkit/dist/fp/iterator/take.mjs +0 -25
  200. package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.d.mts +0 -19
  201. package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.d.ts +0 -19
  202. package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.js +0 -24
  203. package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.mjs +0 -24
  204. package/node_modules/es-toolkit/dist/fp/iterator/toArray.d.mts +0 -21
  205. package/node_modules/es-toolkit/dist/fp/iterator/toArray.d.ts +0 -21
  206. package/node_modules/es-toolkit/dist/fp/iterator/toArray.js +0 -25
  207. package/node_modules/es-toolkit/dist/fp/iterator/toArray.mjs +0 -25
  208. package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.d.mts +0 -20
  209. package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.d.ts +0 -20
  210. package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.js +0 -25
  211. package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.mjs +0 -25
  212. package/node_modules/es-toolkit/dist/fp/iterator/zip.d.mts +0 -20
  213. package/node_modules/es-toolkit/dist/fp/iterator/zip.d.ts +0 -20
  214. package/node_modules/es-toolkit/dist/fp/iterator/zip.js +0 -25
  215. package/node_modules/es-toolkit/dist/fp/iterator/zip.mjs +0 -25
  216. package/node_modules/es-toolkit/dist/iterator/_internal/iterator.js +0 -74
  217. package/node_modules/es-toolkit/dist/iterator/_internal/iterator.mjs +0 -74
  218. package/node_modules/es-toolkit/dist/iterator/cartesianProduct.d.mts +0 -33
  219. package/node_modules/es-toolkit/dist/iterator/cartesianProduct.d.ts +0 -33
  220. package/node_modules/es-toolkit/dist/iterator/cartesianProduct.js +0 -95
  221. package/node_modules/es-toolkit/dist/iterator/cartesianProduct.mjs +0 -95
  222. package/node_modules/es-toolkit/dist/iterator/chunk.d.mts +0 -21
  223. package/node_modules/es-toolkit/dist/iterator/chunk.d.ts +0 -21
  224. package/node_modules/es-toolkit/dist/iterator/chunk.js +0 -40
  225. package/node_modules/es-toolkit/dist/iterator/chunk.mjs +0 -40
  226. package/node_modules/es-toolkit/dist/iterator/count.d.mts +0 -18
  227. package/node_modules/es-toolkit/dist/iterator/count.d.ts +0 -18
  228. package/node_modules/es-toolkit/dist/iterator/count.js +0 -26
  229. package/node_modules/es-toolkit/dist/iterator/count.mjs +0 -26
  230. package/node_modules/es-toolkit/dist/iterator/dropWhile.d.mts +0 -20
  231. package/node_modules/es-toolkit/dist/iterator/dropWhile.d.ts +0 -20
  232. package/node_modules/es-toolkit/dist/iterator/dropWhile.js +0 -52
  233. package/node_modules/es-toolkit/dist/iterator/dropWhile.mjs +0 -52
  234. package/node_modules/es-toolkit/dist/iterator/head.d.mts +0 -21
  235. package/node_modules/es-toolkit/dist/iterator/head.d.ts +0 -21
  236. package/node_modules/es-toolkit/dist/iterator/head.js +0 -26
  237. package/node_modules/es-toolkit/dist/iterator/head.mjs +0 -26
  238. package/node_modules/es-toolkit/dist/iterator/index.d.mts +0 -13
  239. package/node_modules/es-toolkit/dist/iterator/index.d.ts +0 -13
  240. package/node_modules/es-toolkit/dist/iterator/index.js +0 -25
  241. package/node_modules/es-toolkit/dist/iterator/index.mjs +0 -13
  242. package/node_modules/es-toolkit/dist/iterator/iterate.d.mts +0 -20
  243. package/node_modules/es-toolkit/dist/iterator/iterate.d.ts +0 -20
  244. package/node_modules/es-toolkit/dist/iterator/iterate.js +0 -32
  245. package/node_modules/es-toolkit/dist/iterator/iterate.mjs +0 -32
  246. package/node_modules/es-toolkit/dist/iterator/partition.d.mts +0 -18
  247. package/node_modules/es-toolkit/dist/iterator/partition.d.ts +0 -18
  248. package/node_modules/es-toolkit/dist/iterator/partition.js +0 -36
  249. package/node_modules/es-toolkit/dist/iterator/partition.mjs +0 -36
  250. package/node_modules/es-toolkit/dist/iterator/range.d.mts +0 -42
  251. package/node_modules/es-toolkit/dist/iterator/range.d.ts +0 -42
  252. package/node_modules/es-toolkit/dist/iterator/range.js +0 -25
  253. package/node_modules/es-toolkit/dist/iterator/range.mjs +0 -25
  254. package/node_modules/es-toolkit/dist/iterator/scan.d.mts +0 -23
  255. package/node_modules/es-toolkit/dist/iterator/scan.d.ts +0 -23
  256. package/node_modules/es-toolkit/dist/iterator/scan.js +0 -47
  257. package/node_modules/es-toolkit/dist/iterator/scan.mjs +0 -47
  258. package/node_modules/es-toolkit/dist/iterator/takeWhile.d.mts +0 -20
  259. package/node_modules/es-toolkit/dist/iterator/takeWhile.d.ts +0 -20
  260. package/node_modules/es-toolkit/dist/iterator/takeWhile.js +0 -34
  261. package/node_modules/es-toolkit/dist/iterator/takeWhile.mjs +0 -34
  262. package/node_modules/es-toolkit/dist/iterator/uniqBy.d.mts +0 -22
  263. package/node_modules/es-toolkit/dist/iterator/uniqBy.d.ts +0 -22
  264. package/node_modules/es-toolkit/dist/iterator/uniqBy.js +0 -43
  265. package/node_modules/es-toolkit/dist/iterator/uniqBy.mjs +0 -43
  266. package/node_modules/es-toolkit/dist/iterator/zip.d.mts +0 -23
  267. package/node_modules/es-toolkit/dist/iterator/zip.d.ts +0 -23
  268. package/node_modules/es-toolkit/dist/iterator/zip.js +0 -45
  269. package/node_modules/es-toolkit/dist/iterator/zip.mjs +0 -45
  270. package/node_modules/es-toolkit/dist/types/EmptyObject.d.mts +0 -21
  271. package/node_modules/es-toolkit/dist/types/EmptyObject.d.ts +0 -21
  272. package/node_modules/es-toolkit/dist/types/IsEqual.d.mts +0 -18
  273. package/node_modules/es-toolkit/dist/types/IsEqual.d.ts +0 -18
  274. package/node_modules/es-toolkit/dist/types/JSONValue.d.mts +0 -24
  275. package/node_modules/es-toolkit/dist/types/JSONValue.d.ts +0 -24
  276. package/node_modules/es-toolkit/dist/types/Merge.d.mts +0 -37
  277. package/node_modules/es-toolkit/dist/types/Merge.d.ts +0 -37
  278. package/node_modules/es-toolkit/dist/types/ObjectKeys.d.mts +0 -19
  279. package/node_modules/es-toolkit/dist/types/ObjectKeys.d.ts +0 -19
  280. package/node_modules/es-toolkit/dist/types/Primitive.d.mts +0 -14
  281. package/node_modules/es-toolkit/dist/types/Primitive.d.ts +0 -14
  282. package/node_modules/es-toolkit/dist/types/SetOptional.d.mts +0 -20
  283. package/node_modules/es-toolkit/dist/types/SetOptional.d.ts +0 -20
  284. package/node_modules/es-toolkit/dist/types/SetRequired.d.mts +0 -20
  285. package/node_modules/es-toolkit/dist/types/SetRequired.d.ts +0 -20
  286. package/node_modules/es-toolkit/dist/types/UnknownRecord.d.mts +0 -24
  287. package/node_modules/es-toolkit/dist/types/UnknownRecord.d.ts +0 -24
  288. package/node_modules/es-toolkit/dist/util/defer.d.mts +0 -27
  289. package/node_modules/es-toolkit/dist/util/defer.d.ts +0 -27
  290. package/node_modules/es-toolkit/dist/util/defer.js +0 -31
  291. package/node_modules/es-toolkit/dist/util/defer.mjs +0 -31
  292. package/node_modules/es-toolkit/dist/util/deferAsync.d.mts +0 -30
  293. package/node_modules/es-toolkit/dist/util/deferAsync.d.ts +0 -30
  294. package/node_modules/es-toolkit/dist/util/deferAsync.js +0 -34
  295. package/node_modules/es-toolkit/dist/util/deferAsync.mjs +0 -34
  296. package/node_modules/es-toolkit/fp/iterator.d.ts +0 -1
  297. package/node_modules/es-toolkit/fp/iterator.js +0 -1
  298. package/node_modules/es-toolkit/iterator.d.ts +0 -1
  299. package/node_modules/es-toolkit/iterator.js +0 -1
  300. package/node_modules/fs-ext/build/Makefile +0 -347
  301. package/node_modules/fs-ext/build/Release/.deps/Release/fs_ext.node.d +0 -1
  302. package/node_modules/fs-ext/build/Release/.deps/Release/obj.target/fs_ext/fs-ext.o.d +0 -165
  303. package/node_modules/fs-ext/build/Release/fs_ext.node +0 -0
  304. package/node_modules/fs-ext/build/Release/obj.target/fs_ext/fs-ext.o +0 -0
  305. package/node_modules/fs-ext/build/binding.Makefile +0 -6
  306. package/node_modules/fs-ext/build/config.gypi +0 -503
  307. package/node_modules/fs-ext/build/fs_ext.target.mk +0 -183
  308. package/node_modules/fs-ext/build/gyp-mac-tool +0 -768
  309. package/node_modules/keytar/build/Release/keytar.node +0 -0
  310. package/node_modules/type-fest/source/is-boolean-literal.d.ts +0 -39
  311. package/node_modules/type-fest/source/is-numeric-literal.d.ts +0 -50
  312. package/node_modules/type-fest/source/is-string-literal.d.ts +0 -72
  313. package/node_modules/type-fest/source/is-symbol-literal.d.ts +0 -39
  314. package/node_modules/type-fest/source/rename-keys.d.ts +0 -163
  315. /package/node_modules/@quantiya/codevibe-core/dist/{orchestration-shell/__tests__/direct-file-delete.test.d.ts → appsync/__tests__/supervision-subscription.test.d.ts} +0 -0
  316. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/LICENSE.md +0 -0
  317. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/README.md +0 -0
  318. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/common.gypi +0 -0
  319. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/except.gypi +0 -0
  320. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/index.js +0 -0
  321. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/napi-inl.deprecated.h +0 -0
  322. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/napi-inl.h +0 -0
  323. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/napi.h +0 -0
  324. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/node_api.gyp +0 -0
  325. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/noexcept.gypi +0 -0
  326. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/nothing.c +0 -0
  327. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/package-support.json +0 -0
  328. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/package.json +0 -0
  329. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/README.md +0 -0
  330. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/check-napi.js +0 -0
  331. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/clang-format.js +0 -0
  332. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/conversion.js +0 -0
  333. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/eslint-format.js +0 -0
@@ -1,24 +0,0 @@
1
- //#region src/types/JSONValue.d.ts
2
- /**
3
- * Any value that `JSON.parse` can produce.
4
- *
5
- * Functions, `Date`, `undefined`, and class instances are excluded, because they
6
- * do not survive a JSON round trip.
7
- *
8
- * @example
9
- * declare function parse(text: string): JSONValue;
10
- *
11
- * const value = parse('{"a":[1,null]}');
12
- * if (typeof value === 'object' && value !== null && !Array.isArray(value)) {
13
- * const a = value.a; // JSONValue
14
- * }
15
- *
16
- * @example
17
- * // Use `Record` when you want to accept a JSON object specifically.
18
- * declare function send(body: Record<string, JSONValue>): void;
19
- */
20
- type JSONValue = string | number | boolean | null | JSONValue[] | {
21
- [key: string]: JSONValue;
22
- };
23
- //#endregion
24
- export { JSONValue };
@@ -1,37 +0,0 @@
1
- import { Simplify } from "./Simplify.mjs";
2
-
3
- //#region src/types/Merge.d.ts
4
- /**
5
- * The result of deeply merging the source type `S` into the target type `T`,
6
- * matching what `merge(target, source)` returns at runtime.
7
- *
8
- * Keys present on only one side are kept as-is. When both sides have a plain
9
- * object at the same key, the merge recurses; tuples merge index by index, and
10
- * other arrays merge into an array of both element types. If the source value
11
- * can be `undefined`, the target type is kept because `merge` skips
12
- * `undefined` source values. Values that are not plain objects or arrays
13
- * (functions, `Date`, `RegExp`, `Map`, `Set`, etc.) are not merged into;
14
- * the source value replaces the target value. When an array meets a plain
15
- * object, `merge` keeps the target and assigns the source's properties onto
16
- * it, so both property sets are kept (`T & S`).
17
- *
18
- * @template T - Type of the target object.
19
- * @template S - Type of the source object.
20
- *
21
- * @example
22
- * type Target = { a: number; b: { x: number; y: number } };
23
- * type Source = { b: { y: string; z: boolean }; c: string };
24
- * type Result = Merge<Target, Source>;
25
- * // => { a: number; b: { x: number; y: string; z: boolean }; c: string }
26
- */
27
- type Merge<T, S> = undefined extends S ? T | MergeDefined<T, Exclude<S, undefined>> : MergeDefined<T, S>;
28
- /**
29
- * Values `merge` does not merge into: everything that is not a plain object
30
- * or an array. The source value replaces the target value instead.
31
- */
32
- type NonMergeable = ((...args: any[]) => unknown) | Date | RegExp | Error | Promise<unknown> | ReadonlyMap<unknown, unknown> | ReadonlySet<unknown> | WeakMap<object, unknown> | WeakSet<object>;
33
- type MergeDefined<T, S> = S extends readonly unknown[] ? (T extends readonly unknown[] ? MergeArrays<T, S> : T extends NonMergeable ? S : T extends object ? T & S : S) : S extends NonMergeable ? S : S extends object ? (T extends readonly unknown[] ? T & S : T extends NonMergeable ? S : T extends object ? MergeRecords<T, S> : S) : S;
34
- type MergeArrays<T extends readonly unknown[], S extends readonly unknown[]> = T extends readonly [] ? S : S extends readonly [] ? T : T extends readonly [infer TH, ...infer TR] ? S extends readonly [infer SH, ...infer SR] ? [Merge<TH, SH>, ...MergeArrays<TR, SR>] : Array<T[number] | S[number]> : Array<T[number] | S[number]>;
35
- type MergeRecords<T extends object, S extends object> = Simplify<Omit<T, keyof S> & Omit<S, keyof T> & { [K in keyof T & keyof S]: Merge<T[K], S[K]> }>;
36
- //#endregion
37
- export { Merge };
@@ -1,37 +0,0 @@
1
- import { Simplify } from "./Simplify.js";
2
-
3
- //#region src/types/Merge.d.ts
4
- /**
5
- * The result of deeply merging the source type `S` into the target type `T`,
6
- * matching what `merge(target, source)` returns at runtime.
7
- *
8
- * Keys present on only one side are kept as-is. When both sides have a plain
9
- * object at the same key, the merge recurses; tuples merge index by index, and
10
- * other arrays merge into an array of both element types. If the source value
11
- * can be `undefined`, the target type is kept because `merge` skips
12
- * `undefined` source values. Values that are not plain objects or arrays
13
- * (functions, `Date`, `RegExp`, `Map`, `Set`, etc.) are not merged into;
14
- * the source value replaces the target value. When an array meets a plain
15
- * object, `merge` keeps the target and assigns the source's properties onto
16
- * it, so both property sets are kept (`T & S`).
17
- *
18
- * @template T - Type of the target object.
19
- * @template S - Type of the source object.
20
- *
21
- * @example
22
- * type Target = { a: number; b: { x: number; y: number } };
23
- * type Source = { b: { y: string; z: boolean }; c: string };
24
- * type Result = Merge<Target, Source>;
25
- * // => { a: number; b: { x: number; y: string; z: boolean }; c: string }
26
- */
27
- type Merge<T, S> = undefined extends S ? T | MergeDefined<T, Exclude<S, undefined>> : MergeDefined<T, S>;
28
- /**
29
- * Values `merge` does not merge into: everything that is not a plain object
30
- * or an array. The source value replaces the target value instead.
31
- */
32
- type NonMergeable = ((...args: any[]) => unknown) | Date | RegExp | Error | Promise<unknown> | ReadonlyMap<unknown, unknown> | ReadonlySet<unknown> | WeakMap<object, unknown> | WeakSet<object>;
33
- type MergeDefined<T, S> = S extends readonly unknown[] ? (T extends readonly unknown[] ? MergeArrays<T, S> : T extends NonMergeable ? S : T extends object ? T & S : S) : S extends NonMergeable ? S : S extends object ? (T extends readonly unknown[] ? T & S : T extends NonMergeable ? S : T extends object ? MergeRecords<T, S> : S) : S;
34
- type MergeArrays<T extends readonly unknown[], S extends readonly unknown[]> = T extends readonly [] ? S : S extends readonly [] ? T : T extends readonly [infer TH, ...infer TR] ? S extends readonly [infer SH, ...infer SR] ? [Merge<TH, SH>, ...MergeArrays<TR, SR>] : Array<T[number] | S[number]> : Array<T[number] | S[number]>;
35
- type MergeRecords<T extends object, S extends object> = Simplify<Omit<T, keyof S> & Omit<S, keyof T> & { [K in keyof T & keyof S]: Merge<T[K], S[K]> }>;
36
- //#endregion
37
- export { Merge };
@@ -1,19 +0,0 @@
1
- //#region src/types/ObjectKeys.d.ts
2
- /**
3
- * Creates a union of the keys of `T` as they are returned by `Object.keys`:
4
- * numeric keys are converted to strings and symbol keys are excluded. The key-side
5
- * counterpart to `ValueOf`.
6
- *
7
- * @template T - The object type to read keys from.
8
- *
9
- * @example
10
- * type Keys = ObjectKeys<{ a: number; 1: string }>;
11
- * // => 'a' | '1'
12
- *
13
- * const obj = { a: 1, b: 2 };
14
- * const keys = Object.keys(obj) as Array<ObjectKeys<typeof obj>>;
15
- * // => Array<'a' | 'b'>
16
- */
17
- type ObjectKeys<T> = `${Exclude<keyof T, symbol>}`;
18
- //#endregion
19
- export { ObjectKeys };
@@ -1,19 +0,0 @@
1
- //#region src/types/ObjectKeys.d.ts
2
- /**
3
- * Creates a union of the keys of `T` as they are returned by `Object.keys`:
4
- * numeric keys are converted to strings and symbol keys are excluded. The key-side
5
- * counterpart to `ValueOf`.
6
- *
7
- * @template T - The object type to read keys from.
8
- *
9
- * @example
10
- * type Keys = ObjectKeys<{ a: number; 1: string }>;
11
- * // => 'a' | '1'
12
- *
13
- * const obj = { a: 1, b: 2 };
14
- * const keys = Object.keys(obj) as Array<ObjectKeys<typeof obj>>;
15
- * // => Array<'a' | 'b'>
16
- */
17
- type ObjectKeys<T> = `${Exclude<keyof T, symbol>}`;
18
- //#endregion
19
- export { ObjectKeys };
@@ -1,14 +0,0 @@
1
- //#region src/types/Primitive.d.ts
2
- /**
3
- * Every primitive value in JavaScript. Anything that is not a primitive is an object.
4
- *
5
- * Writing this union by hand usually misses `bigint` or `symbol`.
6
- *
7
- * @example
8
- * function isPrimitive(value: unknown): value is Primitive {
9
- * return value === null || (typeof value !== 'object' && typeof value !== 'function');
10
- * }
11
- */
12
- type Primitive = string | number | bigint | boolean | symbol | null | undefined;
13
- //#endregion
14
- export { Primitive };
@@ -1,14 +0,0 @@
1
- //#region src/types/Primitive.d.ts
2
- /**
3
- * Every primitive value in JavaScript. Anything that is not a primitive is an object.
4
- *
5
- * Writing this union by hand usually misses `bigint` or `symbol`.
6
- *
7
- * @example
8
- * function isPrimitive(value: unknown): value is Primitive {
9
- * return value === null || (typeof value !== 'object' && typeof value !== 'function');
10
- * }
11
- */
12
- type Primitive = string | number | bigint | boolean | symbol | null | undefined;
13
- //#endregion
14
- export { Primitive };
@@ -1,20 +0,0 @@
1
- import { Simplify } from "./Simplify.mjs";
2
-
3
- //#region src/types/SetOptional.d.ts
4
- /**
5
- * Makes the given keys `K` of `T` optional, leaving the rest unchanged.
6
- * Like the built-in `Partial`, but scoped to specific keys.
7
- *
8
- * Distributes over unions, so a union stays a union.
9
- *
10
- * @template T - The object type to transform.
11
- * @template K - The keys to make optional.
12
- *
13
- * @example
14
- * type User = { id: number; name: string; email: string };
15
- * type UserDraft = SetOptional<User, 'email'>;
16
- * // => { id: number; name: string; email?: string }
17
- */
18
- type SetOptional<T, K extends keyof T> = T extends unknown ? Simplify<Omit<T, K> & Partial<Pick<T, K>>> : never;
19
- //#endregion
20
- export { SetOptional };
@@ -1,20 +0,0 @@
1
- import { Simplify } from "./Simplify.js";
2
-
3
- //#region src/types/SetOptional.d.ts
4
- /**
5
- * Makes the given keys `K` of `T` optional, leaving the rest unchanged.
6
- * Like the built-in `Partial`, but scoped to specific keys.
7
- *
8
- * Distributes over unions, so a union stays a union.
9
- *
10
- * @template T - The object type to transform.
11
- * @template K - The keys to make optional.
12
- *
13
- * @example
14
- * type User = { id: number; name: string; email: string };
15
- * type UserDraft = SetOptional<User, 'email'>;
16
- * // => { id: number; name: string; email?: string }
17
- */
18
- type SetOptional<T, K extends keyof T> = T extends unknown ? Simplify<Omit<T, K> & Partial<Pick<T, K>>> : never;
19
- //#endregion
20
- export { SetOptional };
@@ -1,20 +0,0 @@
1
- import { Simplify } from "./Simplify.mjs";
2
-
3
- //#region src/types/SetRequired.d.ts
4
- /**
5
- * Makes the given keys `K` of `T` required, leaving the rest unchanged.
6
- * Like the built-in `Required`, but scoped to specific keys.
7
- *
8
- * Distributes over unions, so a union stays a union.
9
- *
10
- * @template T - The object type to transform.
11
- * @template K - The keys to make required.
12
- *
13
- * @example
14
- * type User = { id: number; name: string; avatar?: string };
15
- * type ProfileUser = SetRequired<User, 'avatar'>;
16
- * // => { id: number; name: string; avatar: string }
17
- */
18
- type SetRequired<T, K extends keyof T> = T extends unknown ? Simplify<T & Required<Pick<T, K>>> : never;
19
- //#endregion
20
- export { SetRequired };
@@ -1,20 +0,0 @@
1
- import { Simplify } from "./Simplify.js";
2
-
3
- //#region src/types/SetRequired.d.ts
4
- /**
5
- * Makes the given keys `K` of `T` required, leaving the rest unchanged.
6
- * Like the built-in `Required`, but scoped to specific keys.
7
- *
8
- * Distributes over unions, so a union stays a union.
9
- *
10
- * @template T - The object type to transform.
11
- * @template K - The keys to make required.
12
- *
13
- * @example
14
- * type User = { id: number; name: string; avatar?: string };
15
- * type ProfileUser = SetRequired<User, 'avatar'>;
16
- * // => { id: number; name: string; avatar: string }
17
- */
18
- type SetRequired<T, K extends keyof T> = T extends unknown ? Simplify<T & Required<Pick<T, K>>> : never;
19
- //#endregion
20
- export { SetRequired };
@@ -1,24 +0,0 @@
1
- //#region src/types/UnknownRecord.d.ts
2
- /**
3
- * An object with unknown keys and unknown values.
4
- *
5
- * Use it instead of `{}`, which accepts every non-nullish value including numbers
6
- * and strings. Values are `unknown`, so reading one forces a check first.
7
- *
8
- * Only types with an index signature are assignable. An `interface` declares its
9
- * keys one by one and is rejected, so accept `object` when the caller may pass
10
- * one, or spread it at the call site.
11
- *
12
- * @example
13
- * function log(data: UnknownRecord) {
14
- * if (typeof data.id === 'string') {
15
- * console.log(data.id);
16
- * }
17
- * }
18
- *
19
- * log({ id: '1' }); // ok
20
- * log(42); // error, while `{}` would have allowed it
21
- */
22
- type UnknownRecord = Record<PropertyKey, unknown>;
23
- //#endregion
24
- export { UnknownRecord };
@@ -1,24 +0,0 @@
1
- //#region src/types/UnknownRecord.d.ts
2
- /**
3
- * An object with unknown keys and unknown values.
4
- *
5
- * Use it instead of `{}`, which accepts every non-nullish value including numbers
6
- * and strings. Values are `unknown`, so reading one forces a check first.
7
- *
8
- * Only types with an index signature are assignable. An `interface` declares its
9
- * keys one by one and is rejected, so accept `object` when the caller may pass
10
- * one, or spread it at the call site.
11
- *
12
- * @example
13
- * function log(data: UnknownRecord) {
14
- * if (typeof data.id === 'string') {
15
- * console.log(data.id);
16
- * }
17
- * }
18
- *
19
- * log({ id: '1' }); // ok
20
- * log(42); // error, while `{}` would have allowed it
21
- */
22
- type UnknownRecord = Record<PropertyKey, unknown>;
23
- //#endregion
24
- export { UnknownRecord };
@@ -1,27 +0,0 @@
1
- //#region src/util/defer.d.ts
2
- /**
3
- * Creates a `Disposable` object that runs the given callback when it is disposed.
4
- *
5
- * Use it with `using` declarations from
6
- * [Explicit Resource Management](https://github.com/tc39/proposal-explicit-resource-management)
7
- * to ensure cleanup code runs when the enclosing scope exits, even if an error is thrown.
8
- *
9
- * For asynchronous cleanup, use {@link deferAsync} with `await using` instead.
10
- *
11
- * @param callback - The cleanup function to run on dispose.
12
- * @returns A `Disposable` object that invokes `callback` when disposed.
13
- *
14
- * @example
15
- * const logs: string[] = [];
16
- *
17
- * function run() {
18
- * using cleanup = defer(() => logs.push('cleanup'));
19
- * logs.push('body');
20
- * }
21
- *
22
- * run();
23
- * console.log(logs); // ['body', 'cleanup']
24
- */
25
- declare function defer(callback: () => void): Disposable;
26
- //#endregion
27
- export { defer };
@@ -1,27 +0,0 @@
1
- //#region src/util/defer.d.ts
2
- /**
3
- * Creates a `Disposable` object that runs the given callback when it is disposed.
4
- *
5
- * Use it with `using` declarations from
6
- * [Explicit Resource Management](https://github.com/tc39/proposal-explicit-resource-management)
7
- * to ensure cleanup code runs when the enclosing scope exits, even if an error is thrown.
8
- *
9
- * For asynchronous cleanup, use {@link deferAsync} with `await using` instead.
10
- *
11
- * @param callback - The cleanup function to run on dispose.
12
- * @returns A `Disposable` object that invokes `callback` when disposed.
13
- *
14
- * @example
15
- * const logs: string[] = [];
16
- *
17
- * function run() {
18
- * using cleanup = defer(() => logs.push('cleanup'));
19
- * logs.push('body');
20
- * }
21
- *
22
- * run();
23
- * console.log(logs); // ['body', 'cleanup']
24
- */
25
- declare function defer(callback: () => void): Disposable;
26
- //#endregion
27
- export { defer };
@@ -1,31 +0,0 @@
1
- //#region src/util/defer.ts
2
- /**
3
- * Creates a `Disposable` object that runs the given callback when it is disposed.
4
- *
5
- * Use it with `using` declarations from
6
- * [Explicit Resource Management](https://github.com/tc39/proposal-explicit-resource-management)
7
- * to ensure cleanup code runs when the enclosing scope exits, even if an error is thrown.
8
- *
9
- * For asynchronous cleanup, use {@link deferAsync} with `await using` instead.
10
- *
11
- * @param callback - The cleanup function to run on dispose.
12
- * @returns A `Disposable` object that invokes `callback` when disposed.
13
- *
14
- * @example
15
- * const logs: string[] = [];
16
- *
17
- * function run() {
18
- * using cleanup = defer(() => logs.push('cleanup'));
19
- * logs.push('body');
20
- * }
21
- *
22
- * run();
23
- * console.log(logs); // ['body', 'cleanup']
24
- */
25
- function defer(callback) {
26
- return { [Symbol.dispose]: () => {
27
- callback();
28
- } };
29
- }
30
- //#endregion
31
- exports.defer = defer;
@@ -1,31 +0,0 @@
1
- //#region src/util/defer.ts
2
- /**
3
- * Creates a `Disposable` object that runs the given callback when it is disposed.
4
- *
5
- * Use it with `using` declarations from
6
- * [Explicit Resource Management](https://github.com/tc39/proposal-explicit-resource-management)
7
- * to ensure cleanup code runs when the enclosing scope exits, even if an error is thrown.
8
- *
9
- * For asynchronous cleanup, use {@link deferAsync} with `await using` instead.
10
- *
11
- * @param callback - The cleanup function to run on dispose.
12
- * @returns A `Disposable` object that invokes `callback` when disposed.
13
- *
14
- * @example
15
- * const logs: string[] = [];
16
- *
17
- * function run() {
18
- * using cleanup = defer(() => logs.push('cleanup'));
19
- * logs.push('body');
20
- * }
21
- *
22
- * run();
23
- * console.log(logs); // ['body', 'cleanup']
24
- */
25
- function defer(callback) {
26
- return { [Symbol.dispose]: () => {
27
- callback();
28
- } };
29
- }
30
- //#endregion
31
- export { defer };
@@ -1,30 +0,0 @@
1
- //#region src/util/deferAsync.d.ts
2
- /**
3
- * Creates an `AsyncDisposable` object that runs the given callback when it is disposed.
4
- *
5
- * Use it with `await using` declarations from
6
- * [Explicit Resource Management](https://github.com/tc39/proposal-explicit-resource-management)
7
- * to ensure asynchronous cleanup code runs and is awaited when the enclosing scope exits,
8
- * even if an error is thrown.
9
- *
10
- * For synchronous cleanup, use {@link defer} with `using` instead.
11
- *
12
- * @param callback - The cleanup function to run on dispose. Its result is awaited.
13
- * @returns An `AsyncDisposable` object that invokes and awaits `callback` when disposed.
14
- *
15
- * @example
16
- * const connection = await connect();
17
- *
18
- * async function run() {
19
- * await using cleanup = deferAsync(async () => {
20
- * await connection.close();
21
- * });
22
- *
23
- * await connection.query('SELECT 1');
24
- * }
25
- *
26
- * await run(); // The connection is closed after `run` finishes.
27
- */
28
- declare function deferAsync(callback: () => void | PromiseLike<void>): AsyncDisposable;
29
- //#endregion
30
- export { deferAsync };
@@ -1,30 +0,0 @@
1
- //#region src/util/deferAsync.d.ts
2
- /**
3
- * Creates an `AsyncDisposable` object that runs the given callback when it is disposed.
4
- *
5
- * Use it with `await using` declarations from
6
- * [Explicit Resource Management](https://github.com/tc39/proposal-explicit-resource-management)
7
- * to ensure asynchronous cleanup code runs and is awaited when the enclosing scope exits,
8
- * even if an error is thrown.
9
- *
10
- * For synchronous cleanup, use {@link defer} with `using` instead.
11
- *
12
- * @param callback - The cleanup function to run on dispose. Its result is awaited.
13
- * @returns An `AsyncDisposable` object that invokes and awaits `callback` when disposed.
14
- *
15
- * @example
16
- * const connection = await connect();
17
- *
18
- * async function run() {
19
- * await using cleanup = deferAsync(async () => {
20
- * await connection.close();
21
- * });
22
- *
23
- * await connection.query('SELECT 1');
24
- * }
25
- *
26
- * await run(); // The connection is closed after `run` finishes.
27
- */
28
- declare function deferAsync(callback: () => void | PromiseLike<void>): AsyncDisposable;
29
- //#endregion
30
- export { deferAsync };
@@ -1,34 +0,0 @@
1
- //#region src/util/deferAsync.ts
2
- /**
3
- * Creates an `AsyncDisposable` object that runs the given callback when it is disposed.
4
- *
5
- * Use it with `await using` declarations from
6
- * [Explicit Resource Management](https://github.com/tc39/proposal-explicit-resource-management)
7
- * to ensure asynchronous cleanup code runs and is awaited when the enclosing scope exits,
8
- * even if an error is thrown.
9
- *
10
- * For synchronous cleanup, use {@link defer} with `using` instead.
11
- *
12
- * @param callback - The cleanup function to run on dispose. Its result is awaited.
13
- * @returns An `AsyncDisposable` object that invokes and awaits `callback` when disposed.
14
- *
15
- * @example
16
- * const connection = await connect();
17
- *
18
- * async function run() {
19
- * await using cleanup = deferAsync(async () => {
20
- * await connection.close();
21
- * });
22
- *
23
- * await connection.query('SELECT 1');
24
- * }
25
- *
26
- * await run(); // The connection is closed after `run` finishes.
27
- */
28
- function deferAsync(callback) {
29
- return { [Symbol.asyncDispose]: async () => {
30
- await callback();
31
- } };
32
- }
33
- //#endregion
34
- exports.deferAsync = deferAsync;
@@ -1,34 +0,0 @@
1
- //#region src/util/deferAsync.ts
2
- /**
3
- * Creates an `AsyncDisposable` object that runs the given callback when it is disposed.
4
- *
5
- * Use it with `await using` declarations from
6
- * [Explicit Resource Management](https://github.com/tc39/proposal-explicit-resource-management)
7
- * to ensure asynchronous cleanup code runs and is awaited when the enclosing scope exits,
8
- * even if an error is thrown.
9
- *
10
- * For synchronous cleanup, use {@link defer} with `using` instead.
11
- *
12
- * @param callback - The cleanup function to run on dispose. Its result is awaited.
13
- * @returns An `AsyncDisposable` object that invokes and awaits `callback` when disposed.
14
- *
15
- * @example
16
- * const connection = await connect();
17
- *
18
- * async function run() {
19
- * await using cleanup = deferAsync(async () => {
20
- * await connection.close();
21
- * });
22
- *
23
- * await connection.query('SELECT 1');
24
- * }
25
- *
26
- * await run(); // The connection is closed after `run` finishes.
27
- */
28
- function deferAsync(callback) {
29
- return { [Symbol.asyncDispose]: async () => {
30
- await callback();
31
- } };
32
- }
33
- //#endregion
34
- export { deferAsync };
@@ -1 +0,0 @@
1
- export * from '../dist/fp/iterator';
@@ -1 +0,0 @@
1
- module.exports = require('../dist/fp/iterator');
@@ -1 +0,0 @@
1
- export * from './dist/iterator';
@@ -1 +0,0 @@
1
- module.exports = require('./dist/iterator');