@quantiya/codevibe-claude-plugin 2.0.12 → 2.0.14

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/.claude-plugin/plugin.json +1 -1
  2. package/dist/server.js +10 -9
  3. package/hooks/session-end.sh +20 -24
  4. package/node_modules/@quantiya/codevibe-core/dist/index.js +285 -285
  5. package/node_modules/@quantiya/codevibe-core/dist/local-executor/anchored-cas.d.ts +84 -0
  6. package/node_modules/@quantiya/codevibe-core/dist/local-executor/anchored-fs.d.ts +1 -1
  7. package/node_modules/@quantiya/codevibe-core/dist/local-executor/shadow-protocol.d.ts +358 -0
  8. package/node_modules/@quantiya/codevibe-core/dist/local-executor/shadow-recovery.d.ts +273 -0
  9. package/node_modules/@quantiya/codevibe-core/dist/local-executor/workspace-shadow.d.ts +8 -295
  10. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.js +4169 -3958
  11. package/node_modules/@quantiya/codevibe-core/package.json +1 -1
  12. package/node_modules/es-toolkit/CHANGELOG.md +3 -38
  13. package/node_modules/es-toolkit/dist/browser.global.js +4 -4
  14. package/node_modules/es-toolkit/dist/compat/array/differenceWith.js +1 -2
  15. package/node_modules/es-toolkit/dist/compat/array/differenceWith.mjs +1 -2
  16. package/node_modules/es-toolkit/dist/compat/array/findLastIndex.js +3 -5
  17. package/node_modules/es-toolkit/dist/compat/array/findLastIndex.mjs +3 -5
  18. package/node_modules/es-toolkit/dist/compat/array/sortedIndexBy.js +1 -1
  19. package/node_modules/es-toolkit/dist/compat/array/sortedIndexBy.mjs +1 -1
  20. package/node_modules/es-toolkit/dist/compat/array/without.js +2 -8
  21. package/node_modules/es-toolkit/dist/compat/array/without.mjs +2 -8
  22. package/node_modules/es-toolkit/dist/compat/array/xorWith.js +6 -4
  23. package/node_modules/es-toolkit/dist/compat/array/xorWith.mjs +6 -4
  24. package/node_modules/es-toolkit/dist/compat/compat.js +1 -1
  25. package/node_modules/es-toolkit/dist/compat/compat.mjs +1 -1
  26. package/node_modules/es-toolkit/dist/compat/function/debounce.js +1 -1
  27. package/node_modules/es-toolkit/dist/compat/function/debounce.mjs +1 -1
  28. package/node_modules/es-toolkit/dist/compat/index.js +1 -1
  29. package/node_modules/es-toolkit/dist/compat/index.mjs +1 -1
  30. package/node_modules/es-toolkit/dist/compat/object/has.js +2 -3
  31. package/node_modules/es-toolkit/dist/compat/object/has.mjs +2 -3
  32. package/node_modules/es-toolkit/dist/compat/object/hasIn.js +2 -3
  33. package/node_modules/es-toolkit/dist/compat/object/hasIn.mjs +2 -3
  34. package/node_modules/es-toolkit/dist/compat/object/mergeWith.js +1 -1
  35. package/node_modules/es-toolkit/dist/compat/object/mergeWith.mjs +1 -1
  36. package/node_modules/es-toolkit/dist/compat/object/omitBy.js +1 -1
  37. package/node_modules/es-toolkit/dist/compat/object/omitBy.mjs +1 -1
  38. package/node_modules/es-toolkit/dist/compat/object/pickBy.js +1 -1
  39. package/node_modules/es-toolkit/dist/compat/object/pickBy.mjs +1 -1
  40. package/node_modules/es-toolkit/dist/compat/util/toString.js +1 -3
  41. package/node_modules/es-toolkit/dist/compat/util/toString.mjs +1 -3
  42. package/node_modules/es-toolkit/dist/fp/index.d.mts +1 -2
  43. package/node_modules/es-toolkit/dist/fp/index.d.ts +1 -2
  44. package/node_modules/es-toolkit/dist/fp/index.js +0 -2
  45. package/node_modules/es-toolkit/dist/fp/index.mjs +1 -2
  46. package/node_modules/es-toolkit/dist/index.d.mts +1 -3
  47. package/node_modules/es-toolkit/dist/index.d.ts +1 -3
  48. package/node_modules/es-toolkit/dist/index.js +0 -4
  49. package/node_modules/es-toolkit/dist/index.mjs +1 -3
  50. package/node_modules/es-toolkit/dist/object/merge.d.mts +1 -3
  51. package/node_modules/es-toolkit/dist/object/merge.d.ts +1 -3
  52. package/node_modules/es-toolkit/dist/object/merge.js +40 -0
  53. package/node_modules/es-toolkit/dist/object/merge.mjs +40 -0
  54. package/node_modules/es-toolkit/dist/object/omitBy.d.mts +2 -4
  55. package/node_modules/es-toolkit/dist/object/omitBy.d.ts +2 -4
  56. package/node_modules/es-toolkit/dist/object/omitBy.js +3 -4
  57. package/node_modules/es-toolkit/dist/object/omitBy.mjs +3 -4
  58. package/node_modules/es-toolkit/dist/object/pickBy.d.mts +2 -4
  59. package/node_modules/es-toolkit/dist/object/pickBy.d.ts +2 -4
  60. package/node_modules/es-toolkit/dist/object/pickBy.js +3 -4
  61. package/node_modules/es-toolkit/dist/object/pickBy.mjs +3 -4
  62. package/node_modules/es-toolkit/dist/types/index.d.mts +2 -11
  63. package/node_modules/es-toolkit/dist/types/index.d.ts +2 -11
  64. package/node_modules/es-toolkit/dist/util/attempt.d.mts +1 -1
  65. package/node_modules/es-toolkit/dist/util/attempt.d.ts +1 -1
  66. package/node_modules/es-toolkit/dist/util/attemptAsync.d.mts +1 -1
  67. package/node_modules/es-toolkit/dist/util/attemptAsync.d.ts +1 -1
  68. package/node_modules/es-toolkit/dist/util/index.d.mts +1 -3
  69. package/node_modules/es-toolkit/dist/util/index.d.ts +1 -3
  70. package/node_modules/es-toolkit/dist/util/index.js +0 -4
  71. package/node_modules/es-toolkit/dist/util/index.mjs +1 -3
  72. package/node_modules/es-toolkit/package.json +1 -44
  73. package/node_modules/fs-ext/build/Makefile +347 -0
  74. package/node_modules/fs-ext/build/Release/.deps/Release/fs_ext.node.d +1 -0
  75. package/node_modules/fs-ext/build/Release/.deps/Release/obj.target/fs_ext/fs-ext.o.d +165 -0
  76. package/node_modules/fs-ext/build/Release/fs_ext.node +0 -0
  77. package/node_modules/fs-ext/build/Release/obj.target/fs_ext/fs-ext.o +0 -0
  78. package/node_modules/fs-ext/build/binding.Makefile +6 -0
  79. package/node_modules/fs-ext/build/config.gypi +503 -0
  80. package/node_modules/fs-ext/build/fs_ext.target.mk +183 -0
  81. package/node_modules/fs-ext/build/gyp-mac-tool +768 -0
  82. package/node_modules/keytar/build/Release/keytar.node +0 -0
  83. package/node_modules/node-abi/abi_registry.json +0 -7
  84. package/node_modules/node-abi/package.json +1 -1
  85. package/package.json +2 -2
  86. package/node_modules/es-toolkit/dist/fp/flowAsync.d.mts +0 -213
  87. package/node_modules/es-toolkit/dist/fp/flowAsync.d.ts +0 -213
  88. package/node_modules/es-toolkit/dist/fp/flowAsync.js +0 -37
  89. package/node_modules/es-toolkit/dist/fp/flowAsync.mjs +0 -37
  90. package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.d.mts +0 -23
  91. package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.d.ts +0 -23
  92. package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.js +0 -28
  93. package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.mjs +0 -28
  94. package/node_modules/es-toolkit/dist/fp/iterator/chunk.d.mts +0 -19
  95. package/node_modules/es-toolkit/dist/fp/iterator/chunk.d.ts +0 -19
  96. package/node_modules/es-toolkit/dist/fp/iterator/chunk.js +0 -24
  97. package/node_modules/es-toolkit/dist/fp/iterator/chunk.mjs +0 -24
  98. package/node_modules/es-toolkit/dist/fp/iterator/count.d.mts +0 -20
  99. package/node_modules/es-toolkit/dist/fp/iterator/count.d.ts +0 -20
  100. package/node_modules/es-toolkit/dist/fp/iterator/count.js +0 -25
  101. package/node_modules/es-toolkit/dist/fp/iterator/count.mjs +0 -25
  102. package/node_modules/es-toolkit/dist/fp/iterator/drop.d.mts +0 -20
  103. package/node_modules/es-toolkit/dist/fp/iterator/drop.d.ts +0 -20
  104. package/node_modules/es-toolkit/dist/fp/iterator/drop.js +0 -24
  105. package/node_modules/es-toolkit/dist/fp/iterator/drop.mjs +0 -24
  106. package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.d.mts +0 -18
  107. package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.d.ts +0 -18
  108. package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.js +0 -23
  109. package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.mjs +0 -23
  110. package/node_modules/es-toolkit/dist/fp/iterator/every.d.mts +0 -20
  111. package/node_modules/es-toolkit/dist/fp/iterator/every.d.ts +0 -20
  112. package/node_modules/es-toolkit/dist/fp/iterator/every.js +0 -24
  113. package/node_modules/es-toolkit/dist/fp/iterator/every.mjs +0 -24
  114. package/node_modules/es-toolkit/dist/fp/iterator/filter.d.mts +0 -37
  115. package/node_modules/es-toolkit/dist/fp/iterator/filter.d.ts +0 -37
  116. package/node_modules/es-toolkit/dist/fp/iterator/filter.js +0 -8
  117. package/node_modules/es-toolkit/dist/fp/iterator/filter.mjs +0 -8
  118. package/node_modules/es-toolkit/dist/fp/iterator/find.d.mts +0 -20
  119. package/node_modules/es-toolkit/dist/fp/iterator/find.d.ts +0 -20
  120. package/node_modules/es-toolkit/dist/fp/iterator/find.js +0 -24
  121. package/node_modules/es-toolkit/dist/fp/iterator/find.mjs +0 -24
  122. package/node_modules/es-toolkit/dist/fp/iterator/flatMap.d.mts +0 -20
  123. package/node_modules/es-toolkit/dist/fp/iterator/flatMap.d.ts +0 -20
  124. package/node_modules/es-toolkit/dist/fp/iterator/flatMap.js +0 -24
  125. package/node_modules/es-toolkit/dist/fp/iterator/flatMap.mjs +0 -24
  126. package/node_modules/es-toolkit/dist/fp/iterator/forEach.d.mts +0 -22
  127. package/node_modules/es-toolkit/dist/fp/iterator/forEach.d.ts +0 -22
  128. package/node_modules/es-toolkit/dist/fp/iterator/forEach.js +0 -26
  129. package/node_modules/es-toolkit/dist/fp/iterator/forEach.mjs +0 -26
  130. package/node_modules/es-toolkit/dist/fp/iterator/head.d.mts +0 -19
  131. package/node_modules/es-toolkit/dist/fp/iterator/head.d.ts +0 -19
  132. package/node_modules/es-toolkit/dist/fp/iterator/head.js +0 -24
  133. package/node_modules/es-toolkit/dist/fp/iterator/head.mjs +0 -24
  134. package/node_modules/es-toolkit/dist/fp/iterator/index.d.mts +0 -22
  135. package/node_modules/es-toolkit/dist/fp/iterator/index.d.ts +0 -22
  136. package/node_modules/es-toolkit/dist/fp/iterator/index.js +0 -43
  137. package/node_modules/es-toolkit/dist/fp/iterator/index.mjs +0 -22
  138. package/node_modules/es-toolkit/dist/fp/iterator/map.d.mts +0 -20
  139. package/node_modules/es-toolkit/dist/fp/iterator/map.d.ts +0 -20
  140. package/node_modules/es-toolkit/dist/fp/iterator/map.js +0 -24
  141. package/node_modules/es-toolkit/dist/fp/iterator/map.mjs +0 -24
  142. package/node_modules/es-toolkit/dist/fp/iterator/partition.d.mts +0 -22
  143. package/node_modules/es-toolkit/dist/fp/iterator/partition.d.ts +0 -22
  144. package/node_modules/es-toolkit/dist/fp/iterator/partition.js +0 -27
  145. package/node_modules/es-toolkit/dist/fp/iterator/partition.mjs +0 -27
  146. package/node_modules/es-toolkit/dist/fp/iterator/reduce.d.mts +0 -24
  147. package/node_modules/es-toolkit/dist/fp/iterator/reduce.d.ts +0 -24
  148. package/node_modules/es-toolkit/dist/fp/iterator/reduce.js +0 -28
  149. package/node_modules/es-toolkit/dist/fp/iterator/reduce.mjs +0 -28
  150. package/node_modules/es-toolkit/dist/fp/iterator/scan.d.mts +0 -21
  151. package/node_modules/es-toolkit/dist/fp/iterator/scan.d.ts +0 -21
  152. package/node_modules/es-toolkit/dist/fp/iterator/scan.js +0 -26
  153. package/node_modules/es-toolkit/dist/fp/iterator/scan.mjs +0 -26
  154. package/node_modules/es-toolkit/dist/fp/iterator/some.d.mts +0 -20
  155. package/node_modules/es-toolkit/dist/fp/iterator/some.d.ts +0 -20
  156. package/node_modules/es-toolkit/dist/fp/iterator/some.js +0 -24
  157. package/node_modules/es-toolkit/dist/fp/iterator/some.mjs +0 -24
  158. package/node_modules/es-toolkit/dist/fp/iterator/take.d.mts +0 -21
  159. package/node_modules/es-toolkit/dist/fp/iterator/take.d.ts +0 -21
  160. package/node_modules/es-toolkit/dist/fp/iterator/take.js +0 -25
  161. package/node_modules/es-toolkit/dist/fp/iterator/take.mjs +0 -25
  162. package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.d.mts +0 -19
  163. package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.d.ts +0 -19
  164. package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.js +0 -24
  165. package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.mjs +0 -24
  166. package/node_modules/es-toolkit/dist/fp/iterator/toArray.d.mts +0 -21
  167. package/node_modules/es-toolkit/dist/fp/iterator/toArray.d.ts +0 -21
  168. package/node_modules/es-toolkit/dist/fp/iterator/toArray.js +0 -25
  169. package/node_modules/es-toolkit/dist/fp/iterator/toArray.mjs +0 -25
  170. package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.d.mts +0 -20
  171. package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.d.ts +0 -20
  172. package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.js +0 -25
  173. package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.mjs +0 -25
  174. package/node_modules/es-toolkit/dist/fp/iterator/zip.d.mts +0 -20
  175. package/node_modules/es-toolkit/dist/fp/iterator/zip.d.ts +0 -20
  176. package/node_modules/es-toolkit/dist/fp/iterator/zip.js +0 -25
  177. package/node_modules/es-toolkit/dist/fp/iterator/zip.mjs +0 -25
  178. package/node_modules/es-toolkit/dist/iterator/_internal/iterator.js +0 -74
  179. package/node_modules/es-toolkit/dist/iterator/_internal/iterator.mjs +0 -74
  180. package/node_modules/es-toolkit/dist/iterator/cartesianProduct.d.mts +0 -33
  181. package/node_modules/es-toolkit/dist/iterator/cartesianProduct.d.ts +0 -33
  182. package/node_modules/es-toolkit/dist/iterator/cartesianProduct.js +0 -95
  183. package/node_modules/es-toolkit/dist/iterator/cartesianProduct.mjs +0 -95
  184. package/node_modules/es-toolkit/dist/iterator/chunk.d.mts +0 -21
  185. package/node_modules/es-toolkit/dist/iterator/chunk.d.ts +0 -21
  186. package/node_modules/es-toolkit/dist/iterator/chunk.js +0 -40
  187. package/node_modules/es-toolkit/dist/iterator/chunk.mjs +0 -40
  188. package/node_modules/es-toolkit/dist/iterator/count.d.mts +0 -18
  189. package/node_modules/es-toolkit/dist/iterator/count.d.ts +0 -18
  190. package/node_modules/es-toolkit/dist/iterator/count.js +0 -26
  191. package/node_modules/es-toolkit/dist/iterator/count.mjs +0 -26
  192. package/node_modules/es-toolkit/dist/iterator/dropWhile.d.mts +0 -20
  193. package/node_modules/es-toolkit/dist/iterator/dropWhile.d.ts +0 -20
  194. package/node_modules/es-toolkit/dist/iterator/dropWhile.js +0 -52
  195. package/node_modules/es-toolkit/dist/iterator/dropWhile.mjs +0 -52
  196. package/node_modules/es-toolkit/dist/iterator/head.d.mts +0 -21
  197. package/node_modules/es-toolkit/dist/iterator/head.d.ts +0 -21
  198. package/node_modules/es-toolkit/dist/iterator/head.js +0 -26
  199. package/node_modules/es-toolkit/dist/iterator/head.mjs +0 -26
  200. package/node_modules/es-toolkit/dist/iterator/index.d.mts +0 -13
  201. package/node_modules/es-toolkit/dist/iterator/index.d.ts +0 -13
  202. package/node_modules/es-toolkit/dist/iterator/index.js +0 -25
  203. package/node_modules/es-toolkit/dist/iterator/index.mjs +0 -13
  204. package/node_modules/es-toolkit/dist/iterator/iterate.d.mts +0 -20
  205. package/node_modules/es-toolkit/dist/iterator/iterate.d.ts +0 -20
  206. package/node_modules/es-toolkit/dist/iterator/iterate.js +0 -32
  207. package/node_modules/es-toolkit/dist/iterator/iterate.mjs +0 -32
  208. package/node_modules/es-toolkit/dist/iterator/partition.d.mts +0 -18
  209. package/node_modules/es-toolkit/dist/iterator/partition.d.ts +0 -18
  210. package/node_modules/es-toolkit/dist/iterator/partition.js +0 -36
  211. package/node_modules/es-toolkit/dist/iterator/partition.mjs +0 -36
  212. package/node_modules/es-toolkit/dist/iterator/range.d.mts +0 -42
  213. package/node_modules/es-toolkit/dist/iterator/range.d.ts +0 -42
  214. package/node_modules/es-toolkit/dist/iterator/range.js +0 -25
  215. package/node_modules/es-toolkit/dist/iterator/range.mjs +0 -25
  216. package/node_modules/es-toolkit/dist/iterator/scan.d.mts +0 -23
  217. package/node_modules/es-toolkit/dist/iterator/scan.d.ts +0 -23
  218. package/node_modules/es-toolkit/dist/iterator/scan.js +0 -47
  219. package/node_modules/es-toolkit/dist/iterator/scan.mjs +0 -47
  220. package/node_modules/es-toolkit/dist/iterator/takeWhile.d.mts +0 -20
  221. package/node_modules/es-toolkit/dist/iterator/takeWhile.d.ts +0 -20
  222. package/node_modules/es-toolkit/dist/iterator/takeWhile.js +0 -34
  223. package/node_modules/es-toolkit/dist/iterator/takeWhile.mjs +0 -34
  224. package/node_modules/es-toolkit/dist/iterator/uniqBy.d.mts +0 -22
  225. package/node_modules/es-toolkit/dist/iterator/uniqBy.d.ts +0 -22
  226. package/node_modules/es-toolkit/dist/iterator/uniqBy.js +0 -43
  227. package/node_modules/es-toolkit/dist/iterator/uniqBy.mjs +0 -43
  228. package/node_modules/es-toolkit/dist/iterator/zip.d.mts +0 -23
  229. package/node_modules/es-toolkit/dist/iterator/zip.d.ts +0 -23
  230. package/node_modules/es-toolkit/dist/iterator/zip.js +0 -45
  231. package/node_modules/es-toolkit/dist/iterator/zip.mjs +0 -45
  232. package/node_modules/es-toolkit/dist/types/EmptyObject.d.mts +0 -21
  233. package/node_modules/es-toolkit/dist/types/EmptyObject.d.ts +0 -21
  234. package/node_modules/es-toolkit/dist/types/IsEqual.d.mts +0 -18
  235. package/node_modules/es-toolkit/dist/types/IsEqual.d.ts +0 -18
  236. package/node_modules/es-toolkit/dist/types/JSONValue.d.mts +0 -24
  237. package/node_modules/es-toolkit/dist/types/JSONValue.d.ts +0 -24
  238. package/node_modules/es-toolkit/dist/types/Merge.d.mts +0 -37
  239. package/node_modules/es-toolkit/dist/types/Merge.d.ts +0 -37
  240. package/node_modules/es-toolkit/dist/types/ObjectKeys.d.mts +0 -19
  241. package/node_modules/es-toolkit/dist/types/ObjectKeys.d.ts +0 -19
  242. package/node_modules/es-toolkit/dist/types/Primitive.d.mts +0 -14
  243. package/node_modules/es-toolkit/dist/types/Primitive.d.ts +0 -14
  244. package/node_modules/es-toolkit/dist/types/SetOptional.d.mts +0 -20
  245. package/node_modules/es-toolkit/dist/types/SetOptional.d.ts +0 -20
  246. package/node_modules/es-toolkit/dist/types/SetRequired.d.mts +0 -20
  247. package/node_modules/es-toolkit/dist/types/SetRequired.d.ts +0 -20
  248. package/node_modules/es-toolkit/dist/types/UnknownRecord.d.mts +0 -24
  249. package/node_modules/es-toolkit/dist/types/UnknownRecord.d.ts +0 -24
  250. package/node_modules/es-toolkit/dist/util/defer.d.mts +0 -27
  251. package/node_modules/es-toolkit/dist/util/defer.d.ts +0 -27
  252. package/node_modules/es-toolkit/dist/util/defer.js +0 -31
  253. package/node_modules/es-toolkit/dist/util/defer.mjs +0 -31
  254. package/node_modules/es-toolkit/dist/util/deferAsync.d.mts +0 -30
  255. package/node_modules/es-toolkit/dist/util/deferAsync.d.ts +0 -30
  256. package/node_modules/es-toolkit/dist/util/deferAsync.js +0 -34
  257. package/node_modules/es-toolkit/dist/util/deferAsync.mjs +0 -34
  258. package/node_modules/es-toolkit/fp/iterator.d.ts +0 -1
  259. package/node_modules/es-toolkit/fp/iterator.js +0 -1
  260. package/node_modules/es-toolkit/iterator.d.ts +0 -1
  261. package/node_modules/es-toolkit/iterator.js +0 -1
  262. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/LICENSE.md +0 -0
  263. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/README.md +0 -0
  264. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/common.gypi +0 -0
  265. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/except.gypi +0 -0
  266. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/index.js +0 -0
  267. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/napi-inl.deprecated.h +0 -0
  268. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/napi-inl.h +0 -0
  269. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/napi.h +0 -0
  270. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/node_api.gyp +0 -0
  271. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/noexcept.gypi +0 -0
  272. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/nothing.c +0 -0
  273. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/package-support.json +0 -0
  274. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/package.json +0 -0
  275. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/README.md +0 -0
  276. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/check-napi.js +0 -0
  277. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/clang-format.js +0 -0
  278. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/conversion.js +0 -0
  279. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/eslint-format.js +0 -0
@@ -449,12 +449,5 @@
449
449
  "lts": false,
450
450
  "runtime": "electron",
451
451
  "target": "44.0.0-alpha.1"
452
- },
453
- {
454
- "abi": "150",
455
- "future": true,
456
- "lts": false,
457
- "runtime": "electron",
458
- "target": "45.0.0-alpha.1"
459
452
  }
460
453
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-abi",
3
- "version": "3.96.0",
3
+ "version": "3.95.0",
4
4
  "description": "Get the Node ABI for a given target and runtime, and vice versa.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantiya/codevibe-claude-plugin",
3
- "version": "2.0.12",
3
+ "version": "2.0.14",
4
4
  "description": "Control Claude Code from your iPhone and Android — real-time sync, approve file edits, send prompts by voice. Part of CodeVibe.",
5
5
  "main": "dist/server.js",
6
6
  "codevibe": {
@@ -47,7 +47,7 @@
47
47
  "node": ">=22.0.0"
48
48
  },
49
49
  "dependencies": {
50
- "@quantiya/codevibe-core": "2.0.11",
50
+ "@quantiya/codevibe-core": "2.0.12",
51
51
  "@quantiya/quorum-core": "^1.0.1",
52
52
  "dotenv": "^16.6.1",
53
53
  "express": "^5.1.0",
@@ -1,213 +0,0 @@
1
- //#region src/fp/flowAsync.d.ts
2
- /**
3
- * Creates a reusable async function from a single function.
4
- *
5
- * @param fn1 - The first function, which may take any number of arguments.
6
- * @returns An async function with the same parameters as `fn1` that resolves to its awaited result.
7
- */
8
- declare function flowAsync<A extends any[], R1>(fn1: (...args: A) => R1): (...args: A) => Promise<Awaited<R1>>;
9
- /**
10
- * Composes `fn1` and `fn2` left-to-right into a single reusable async function, awaiting each result.
11
- *
12
- * @param fn1 - The first function, which may take any number of arguments.
13
- * @param fn2 - Applied to the awaited result of `fn1`.
14
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn2`.
15
- */
16
- declare function flowAsync<A extends any[], R1, R2>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2): (...args: A) => Promise<Awaited<R2>>;
17
- /**
18
- * Composes `fn1` through `fn3` left-to-right into a single reusable async function, awaiting each result.
19
- *
20
- * @param fn1 - The first function, which may take any number of arguments.
21
- * @param fn2 - Applied to the awaited result of `fn1`.
22
- * @param fn3 - Applied to the awaited result of `fn2`.
23
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn3`.
24
- */
25
- declare function flowAsync<A extends any[], R1, R2, R3>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3): (...args: A) => Promise<Awaited<R3>>;
26
- /**
27
- * Composes `fn1` through `fn4` left-to-right into a single reusable async function, awaiting each result.
28
- *
29
- * @param fn1 - The first function, which may take any number of arguments.
30
- * @param fn2 - Applied to the awaited result of `fn1`.
31
- * @param fn3 - Applied to the awaited result of `fn2`.
32
- * @param fn4 - Applied to the awaited result of `fn3`.
33
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn4`.
34
- */
35
- declare function flowAsync<A extends any[], R1, R2, R3, R4>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4): (...args: A) => Promise<Awaited<R4>>;
36
- /**
37
- * Composes `fn1` through `fn5` left-to-right into a single reusable async function, awaiting each result.
38
- *
39
- * @param fn1 - The first function, which may take any number of arguments.
40
- * @param fn2 - Applied to the awaited result of `fn1`.
41
- * @param fn3 - Applied to the awaited result of `fn2`.
42
- * @param fn4 - Applied to the awaited result of `fn3`.
43
- * @param fn5 - Applied to the awaited result of `fn4`.
44
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn5`.
45
- */
46
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5): (...args: A) => Promise<Awaited<R5>>;
47
- /**
48
- * Composes `fn1` through `fn6` left-to-right into a single reusable async function, awaiting each result.
49
- *
50
- * @param fn1 - The first function, which may take any number of arguments.
51
- * @param fn2 - Applied to the awaited result of `fn1`.
52
- * @param fn3 - Applied to the awaited result of `fn2`.
53
- * @param fn4 - Applied to the awaited result of `fn3`.
54
- * @param fn5 - Applied to the awaited result of `fn4`.
55
- * @param fn6 - Applied to the awaited result of `fn5`.
56
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn6`.
57
- */
58
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6): (...args: A) => Promise<Awaited<R6>>;
59
- /**
60
- * Composes `fn1` through `fn7` left-to-right into a single reusable async function, awaiting each result.
61
- *
62
- * @param fn1 - The first function, which may take any number of arguments.
63
- * @param fn2 - Applied to the awaited result of `fn1`.
64
- * @param fn3 - Applied to the awaited result of `fn2`.
65
- * @param fn4 - Applied to the awaited result of `fn3`.
66
- * @param fn5 - Applied to the awaited result of `fn4`.
67
- * @param fn6 - Applied to the awaited result of `fn5`.
68
- * @param fn7 - Applied to the awaited result of `fn6`.
69
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn7`.
70
- */
71
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6, R7>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6, fn7: (input: Awaited<R6>) => R7): (...args: A) => Promise<Awaited<R7>>;
72
- /**
73
- * Composes `fn1` through `fn8` left-to-right into a single reusable async function, awaiting each result.
74
- *
75
- * @param fn1 - The first function, which may take any number of arguments.
76
- * @param fn2 - Applied to the awaited result of `fn1`.
77
- * @param fn3 - Applied to the awaited result of `fn2`.
78
- * @param fn4 - Applied to the awaited result of `fn3`.
79
- * @param fn5 - Applied to the awaited result of `fn4`.
80
- * @param fn6 - Applied to the awaited result of `fn5`.
81
- * @param fn7 - Applied to the awaited result of `fn6`.
82
- * @param fn8 - Applied to the awaited result of `fn7`.
83
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn8`.
84
- */
85
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6, R7, R8>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6, fn7: (input: Awaited<R6>) => R7, fn8: (input: Awaited<R7>) => R8): (...args: A) => Promise<Awaited<R8>>;
86
- /**
87
- * Composes `fn1` through `fn9` left-to-right into a single reusable async function, awaiting each result.
88
- *
89
- * @param fn1 - The first function, which may take any number of arguments.
90
- * @param fn2 - Applied to the awaited result of `fn1`.
91
- * @param fn3 - Applied to the awaited result of `fn2`.
92
- * @param fn4 - Applied to the awaited result of `fn3`.
93
- * @param fn5 - Applied to the awaited result of `fn4`.
94
- * @param fn6 - Applied to the awaited result of `fn5`.
95
- * @param fn7 - Applied to the awaited result of `fn6`.
96
- * @param fn8 - Applied to the awaited result of `fn7`.
97
- * @param fn9 - Applied to the awaited result of `fn8`.
98
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn9`.
99
- */
100
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6, R7, R8, R9>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6, fn7: (input: Awaited<R6>) => R7, fn8: (input: Awaited<R7>) => R8, fn9: (input: Awaited<R8>) => R9): (...args: A) => Promise<Awaited<R9>>;
101
- /**
102
- * Composes `fn1` through `fn10` left-to-right into a single reusable async function, awaiting each result.
103
- *
104
- * @param fn1 - The first function, which may take any number of arguments.
105
- * @param fn2 - Applied to the awaited result of `fn1`.
106
- * @param fn3 - Applied to the awaited result of `fn2`.
107
- * @param fn4 - Applied to the awaited result of `fn3`.
108
- * @param fn5 - Applied to the awaited result of `fn4`.
109
- * @param fn6 - Applied to the awaited result of `fn5`.
110
- * @param fn7 - Applied to the awaited result of `fn6`.
111
- * @param fn8 - Applied to the awaited result of `fn7`.
112
- * @param fn9 - Applied to the awaited result of `fn8`.
113
- * @param fn10 - Applied to the awaited result of `fn9`.
114
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn10`.
115
- */
116
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6, R7, R8, R9, R10>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6, fn7: (input: Awaited<R6>) => R7, fn8: (input: Awaited<R7>) => R8, fn9: (input: Awaited<R8>) => R9, fn10: (input: Awaited<R9>) => R10): (...args: A) => Promise<Awaited<R10>>;
117
- /**
118
- * Composes `fn1` through `fn11` left-to-right into a single reusable async function, awaiting each result.
119
- *
120
- * @param fn1 - The first function, which may take any number of arguments.
121
- * @param fn2 - Applied to the awaited result of `fn1`.
122
- * @param fn3 - Applied to the awaited result of `fn2`.
123
- * @param fn4 - Applied to the awaited result of `fn3`.
124
- * @param fn5 - Applied to the awaited result of `fn4`.
125
- * @param fn6 - Applied to the awaited result of `fn5`.
126
- * @param fn7 - Applied to the awaited result of `fn6`.
127
- * @param fn8 - Applied to the awaited result of `fn7`.
128
- * @param fn9 - Applied to the awaited result of `fn8`.
129
- * @param fn10 - Applied to the awaited result of `fn9`.
130
- * @param fn11 - Applied to the awaited result of `fn10`.
131
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn11`.
132
- */
133
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6, fn7: (input: Awaited<R6>) => R7, fn8: (input: Awaited<R7>) => R8, fn9: (input: Awaited<R8>) => R9, fn10: (input: Awaited<R9>) => R10, fn11: (input: Awaited<R10>) => R11): (...args: A) => Promise<Awaited<R11>>;
134
- /**
135
- * Composes `fn1` through `fn12` left-to-right into a single reusable async function, awaiting each result.
136
- *
137
- * @param fn1 - The first function, which may take any number of arguments.
138
- * @param fn2 - Applied to the awaited result of `fn1`.
139
- * @param fn3 - Applied to the awaited result of `fn2`.
140
- * @param fn4 - Applied to the awaited result of `fn3`.
141
- * @param fn5 - Applied to the awaited result of `fn4`.
142
- * @param fn6 - Applied to the awaited result of `fn5`.
143
- * @param fn7 - Applied to the awaited result of `fn6`.
144
- * @param fn8 - Applied to the awaited result of `fn7`.
145
- * @param fn9 - Applied to the awaited result of `fn8`.
146
- * @param fn10 - Applied to the awaited result of `fn9`.
147
- * @param fn11 - Applied to the awaited result of `fn10`.
148
- * @param fn12 - Applied to the awaited result of `fn11`.
149
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn12`.
150
- */
151
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6, fn7: (input: Awaited<R6>) => R7, fn8: (input: Awaited<R7>) => R8, fn9: (input: Awaited<R8>) => R9, fn10: (input: Awaited<R9>) => R10, fn11: (input: Awaited<R10>) => R11, fn12: (input: Awaited<R11>) => R12): (...args: A) => Promise<Awaited<R12>>;
152
- /**
153
- * Composes `fn1` through `fn13` left-to-right into a single reusable async function, awaiting each result.
154
- *
155
- * @param fn1 - The first function, which may take any number of arguments.
156
- * @param fn2 - Applied to the awaited result of `fn1`.
157
- * @param fn3 - Applied to the awaited result of `fn2`.
158
- * @param fn4 - Applied to the awaited result of `fn3`.
159
- * @param fn5 - Applied to the awaited result of `fn4`.
160
- * @param fn6 - Applied to the awaited result of `fn5`.
161
- * @param fn7 - Applied to the awaited result of `fn6`.
162
- * @param fn8 - Applied to the awaited result of `fn7`.
163
- * @param fn9 - Applied to the awaited result of `fn8`.
164
- * @param fn10 - Applied to the awaited result of `fn9`.
165
- * @param fn11 - Applied to the awaited result of `fn10`.
166
- * @param fn12 - Applied to the awaited result of `fn11`.
167
- * @param fn13 - Applied to the awaited result of `fn12`.
168
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn13`.
169
- */
170
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6, fn7: (input: Awaited<R6>) => R7, fn8: (input: Awaited<R7>) => R8, fn9: (input: Awaited<R8>) => R9, fn10: (input: Awaited<R9>) => R10, fn11: (input: Awaited<R10>) => R11, fn12: (input: Awaited<R11>) => R12, fn13: (input: Awaited<R12>) => R13): (...args: A) => Promise<Awaited<R13>>;
171
- /**
172
- * Composes `fn1` through `fn14` left-to-right into a single reusable async function, awaiting each result.
173
- *
174
- * @param fn1 - The first function, which may take any number of arguments.
175
- * @param fn2 - Applied to the awaited result of `fn1`.
176
- * @param fn3 - Applied to the awaited result of `fn2`.
177
- * @param fn4 - Applied to the awaited result of `fn3`.
178
- * @param fn5 - Applied to the awaited result of `fn4`.
179
- * @param fn6 - Applied to the awaited result of `fn5`.
180
- * @param fn7 - Applied to the awaited result of `fn6`.
181
- * @param fn8 - Applied to the awaited result of `fn7`.
182
- * @param fn9 - Applied to the awaited result of `fn8`.
183
- * @param fn10 - Applied to the awaited result of `fn9`.
184
- * @param fn11 - Applied to the awaited result of `fn10`.
185
- * @param fn12 - Applied to the awaited result of `fn11`.
186
- * @param fn13 - Applied to the awaited result of `fn12`.
187
- * @param fn14 - Applied to the awaited result of `fn13`.
188
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn14`.
189
- */
190
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6, fn7: (input: Awaited<R6>) => R7, fn8: (input: Awaited<R7>) => R8, fn9: (input: Awaited<R8>) => R9, fn10: (input: Awaited<R9>) => R10, fn11: (input: Awaited<R10>) => R11, fn12: (input: Awaited<R11>) => R12, fn13: (input: Awaited<R12>) => R13, fn14: (input: Awaited<R13>) => R14): (...args: A) => Promise<Awaited<R14>>;
191
- /**
192
- * Composes `fn1` through `fn15` left-to-right into a single reusable async function, awaiting each result.
193
- *
194
- * @param fn1 - The first function, which may take any number of arguments.
195
- * @param fn2 - Applied to the awaited result of `fn1`.
196
- * @param fn3 - Applied to the awaited result of `fn2`.
197
- * @param fn4 - Applied to the awaited result of `fn3`.
198
- * @param fn5 - Applied to the awaited result of `fn4`.
199
- * @param fn6 - Applied to the awaited result of `fn5`.
200
- * @param fn7 - Applied to the awaited result of `fn6`.
201
- * @param fn8 - Applied to the awaited result of `fn7`.
202
- * @param fn9 - Applied to the awaited result of `fn8`.
203
- * @param fn10 - Applied to the awaited result of `fn9`.
204
- * @param fn11 - Applied to the awaited result of `fn10`.
205
- * @param fn12 - Applied to the awaited result of `fn11`.
206
- * @param fn13 - Applied to the awaited result of `fn12`.
207
- * @param fn14 - Applied to the awaited result of `fn13`.
208
- * @param fn15 - Applied to the awaited result of `fn14`.
209
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn15`.
210
- */
211
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6, fn7: (input: Awaited<R6>) => R7, fn8: (input: Awaited<R7>) => R8, fn9: (input: Awaited<R8>) => R9, fn10: (input: Awaited<R9>) => R10, fn11: (input: Awaited<R10>) => R11, fn12: (input: Awaited<R11>) => R12, fn13: (input: Awaited<R12>) => R13, fn14: (input: Awaited<R13>) => R14, fn15: (input: Awaited<R14>) => R15): (...args: A) => Promise<Awaited<R15>>;
212
- //#endregion
213
- export { flowAsync };
@@ -1,213 +0,0 @@
1
- //#region src/fp/flowAsync.d.ts
2
- /**
3
- * Creates a reusable async function from a single function.
4
- *
5
- * @param fn1 - The first function, which may take any number of arguments.
6
- * @returns An async function with the same parameters as `fn1` that resolves to its awaited result.
7
- */
8
- declare function flowAsync<A extends any[], R1>(fn1: (...args: A) => R1): (...args: A) => Promise<Awaited<R1>>;
9
- /**
10
- * Composes `fn1` and `fn2` left-to-right into a single reusable async function, awaiting each result.
11
- *
12
- * @param fn1 - The first function, which may take any number of arguments.
13
- * @param fn2 - Applied to the awaited result of `fn1`.
14
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn2`.
15
- */
16
- declare function flowAsync<A extends any[], R1, R2>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2): (...args: A) => Promise<Awaited<R2>>;
17
- /**
18
- * Composes `fn1` through `fn3` left-to-right into a single reusable async function, awaiting each result.
19
- *
20
- * @param fn1 - The first function, which may take any number of arguments.
21
- * @param fn2 - Applied to the awaited result of `fn1`.
22
- * @param fn3 - Applied to the awaited result of `fn2`.
23
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn3`.
24
- */
25
- declare function flowAsync<A extends any[], R1, R2, R3>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3): (...args: A) => Promise<Awaited<R3>>;
26
- /**
27
- * Composes `fn1` through `fn4` left-to-right into a single reusable async function, awaiting each result.
28
- *
29
- * @param fn1 - The first function, which may take any number of arguments.
30
- * @param fn2 - Applied to the awaited result of `fn1`.
31
- * @param fn3 - Applied to the awaited result of `fn2`.
32
- * @param fn4 - Applied to the awaited result of `fn3`.
33
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn4`.
34
- */
35
- declare function flowAsync<A extends any[], R1, R2, R3, R4>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4): (...args: A) => Promise<Awaited<R4>>;
36
- /**
37
- * Composes `fn1` through `fn5` left-to-right into a single reusable async function, awaiting each result.
38
- *
39
- * @param fn1 - The first function, which may take any number of arguments.
40
- * @param fn2 - Applied to the awaited result of `fn1`.
41
- * @param fn3 - Applied to the awaited result of `fn2`.
42
- * @param fn4 - Applied to the awaited result of `fn3`.
43
- * @param fn5 - Applied to the awaited result of `fn4`.
44
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn5`.
45
- */
46
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5): (...args: A) => Promise<Awaited<R5>>;
47
- /**
48
- * Composes `fn1` through `fn6` left-to-right into a single reusable async function, awaiting each result.
49
- *
50
- * @param fn1 - The first function, which may take any number of arguments.
51
- * @param fn2 - Applied to the awaited result of `fn1`.
52
- * @param fn3 - Applied to the awaited result of `fn2`.
53
- * @param fn4 - Applied to the awaited result of `fn3`.
54
- * @param fn5 - Applied to the awaited result of `fn4`.
55
- * @param fn6 - Applied to the awaited result of `fn5`.
56
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn6`.
57
- */
58
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6): (...args: A) => Promise<Awaited<R6>>;
59
- /**
60
- * Composes `fn1` through `fn7` left-to-right into a single reusable async function, awaiting each result.
61
- *
62
- * @param fn1 - The first function, which may take any number of arguments.
63
- * @param fn2 - Applied to the awaited result of `fn1`.
64
- * @param fn3 - Applied to the awaited result of `fn2`.
65
- * @param fn4 - Applied to the awaited result of `fn3`.
66
- * @param fn5 - Applied to the awaited result of `fn4`.
67
- * @param fn6 - Applied to the awaited result of `fn5`.
68
- * @param fn7 - Applied to the awaited result of `fn6`.
69
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn7`.
70
- */
71
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6, R7>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6, fn7: (input: Awaited<R6>) => R7): (...args: A) => Promise<Awaited<R7>>;
72
- /**
73
- * Composes `fn1` through `fn8` left-to-right into a single reusable async function, awaiting each result.
74
- *
75
- * @param fn1 - The first function, which may take any number of arguments.
76
- * @param fn2 - Applied to the awaited result of `fn1`.
77
- * @param fn3 - Applied to the awaited result of `fn2`.
78
- * @param fn4 - Applied to the awaited result of `fn3`.
79
- * @param fn5 - Applied to the awaited result of `fn4`.
80
- * @param fn6 - Applied to the awaited result of `fn5`.
81
- * @param fn7 - Applied to the awaited result of `fn6`.
82
- * @param fn8 - Applied to the awaited result of `fn7`.
83
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn8`.
84
- */
85
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6, R7, R8>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6, fn7: (input: Awaited<R6>) => R7, fn8: (input: Awaited<R7>) => R8): (...args: A) => Promise<Awaited<R8>>;
86
- /**
87
- * Composes `fn1` through `fn9` left-to-right into a single reusable async function, awaiting each result.
88
- *
89
- * @param fn1 - The first function, which may take any number of arguments.
90
- * @param fn2 - Applied to the awaited result of `fn1`.
91
- * @param fn3 - Applied to the awaited result of `fn2`.
92
- * @param fn4 - Applied to the awaited result of `fn3`.
93
- * @param fn5 - Applied to the awaited result of `fn4`.
94
- * @param fn6 - Applied to the awaited result of `fn5`.
95
- * @param fn7 - Applied to the awaited result of `fn6`.
96
- * @param fn8 - Applied to the awaited result of `fn7`.
97
- * @param fn9 - Applied to the awaited result of `fn8`.
98
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn9`.
99
- */
100
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6, R7, R8, R9>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6, fn7: (input: Awaited<R6>) => R7, fn8: (input: Awaited<R7>) => R8, fn9: (input: Awaited<R8>) => R9): (...args: A) => Promise<Awaited<R9>>;
101
- /**
102
- * Composes `fn1` through `fn10` left-to-right into a single reusable async function, awaiting each result.
103
- *
104
- * @param fn1 - The first function, which may take any number of arguments.
105
- * @param fn2 - Applied to the awaited result of `fn1`.
106
- * @param fn3 - Applied to the awaited result of `fn2`.
107
- * @param fn4 - Applied to the awaited result of `fn3`.
108
- * @param fn5 - Applied to the awaited result of `fn4`.
109
- * @param fn6 - Applied to the awaited result of `fn5`.
110
- * @param fn7 - Applied to the awaited result of `fn6`.
111
- * @param fn8 - Applied to the awaited result of `fn7`.
112
- * @param fn9 - Applied to the awaited result of `fn8`.
113
- * @param fn10 - Applied to the awaited result of `fn9`.
114
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn10`.
115
- */
116
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6, R7, R8, R9, R10>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6, fn7: (input: Awaited<R6>) => R7, fn8: (input: Awaited<R7>) => R8, fn9: (input: Awaited<R8>) => R9, fn10: (input: Awaited<R9>) => R10): (...args: A) => Promise<Awaited<R10>>;
117
- /**
118
- * Composes `fn1` through `fn11` left-to-right into a single reusable async function, awaiting each result.
119
- *
120
- * @param fn1 - The first function, which may take any number of arguments.
121
- * @param fn2 - Applied to the awaited result of `fn1`.
122
- * @param fn3 - Applied to the awaited result of `fn2`.
123
- * @param fn4 - Applied to the awaited result of `fn3`.
124
- * @param fn5 - Applied to the awaited result of `fn4`.
125
- * @param fn6 - Applied to the awaited result of `fn5`.
126
- * @param fn7 - Applied to the awaited result of `fn6`.
127
- * @param fn8 - Applied to the awaited result of `fn7`.
128
- * @param fn9 - Applied to the awaited result of `fn8`.
129
- * @param fn10 - Applied to the awaited result of `fn9`.
130
- * @param fn11 - Applied to the awaited result of `fn10`.
131
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn11`.
132
- */
133
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6, fn7: (input: Awaited<R6>) => R7, fn8: (input: Awaited<R7>) => R8, fn9: (input: Awaited<R8>) => R9, fn10: (input: Awaited<R9>) => R10, fn11: (input: Awaited<R10>) => R11): (...args: A) => Promise<Awaited<R11>>;
134
- /**
135
- * Composes `fn1` through `fn12` left-to-right into a single reusable async function, awaiting each result.
136
- *
137
- * @param fn1 - The first function, which may take any number of arguments.
138
- * @param fn2 - Applied to the awaited result of `fn1`.
139
- * @param fn3 - Applied to the awaited result of `fn2`.
140
- * @param fn4 - Applied to the awaited result of `fn3`.
141
- * @param fn5 - Applied to the awaited result of `fn4`.
142
- * @param fn6 - Applied to the awaited result of `fn5`.
143
- * @param fn7 - Applied to the awaited result of `fn6`.
144
- * @param fn8 - Applied to the awaited result of `fn7`.
145
- * @param fn9 - Applied to the awaited result of `fn8`.
146
- * @param fn10 - Applied to the awaited result of `fn9`.
147
- * @param fn11 - Applied to the awaited result of `fn10`.
148
- * @param fn12 - Applied to the awaited result of `fn11`.
149
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn12`.
150
- */
151
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6, fn7: (input: Awaited<R6>) => R7, fn8: (input: Awaited<R7>) => R8, fn9: (input: Awaited<R8>) => R9, fn10: (input: Awaited<R9>) => R10, fn11: (input: Awaited<R10>) => R11, fn12: (input: Awaited<R11>) => R12): (...args: A) => Promise<Awaited<R12>>;
152
- /**
153
- * Composes `fn1` through `fn13` left-to-right into a single reusable async function, awaiting each result.
154
- *
155
- * @param fn1 - The first function, which may take any number of arguments.
156
- * @param fn2 - Applied to the awaited result of `fn1`.
157
- * @param fn3 - Applied to the awaited result of `fn2`.
158
- * @param fn4 - Applied to the awaited result of `fn3`.
159
- * @param fn5 - Applied to the awaited result of `fn4`.
160
- * @param fn6 - Applied to the awaited result of `fn5`.
161
- * @param fn7 - Applied to the awaited result of `fn6`.
162
- * @param fn8 - Applied to the awaited result of `fn7`.
163
- * @param fn9 - Applied to the awaited result of `fn8`.
164
- * @param fn10 - Applied to the awaited result of `fn9`.
165
- * @param fn11 - Applied to the awaited result of `fn10`.
166
- * @param fn12 - Applied to the awaited result of `fn11`.
167
- * @param fn13 - Applied to the awaited result of `fn12`.
168
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn13`.
169
- */
170
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6, fn7: (input: Awaited<R6>) => R7, fn8: (input: Awaited<R7>) => R8, fn9: (input: Awaited<R8>) => R9, fn10: (input: Awaited<R9>) => R10, fn11: (input: Awaited<R10>) => R11, fn12: (input: Awaited<R11>) => R12, fn13: (input: Awaited<R12>) => R13): (...args: A) => Promise<Awaited<R13>>;
171
- /**
172
- * Composes `fn1` through `fn14` left-to-right into a single reusable async function, awaiting each result.
173
- *
174
- * @param fn1 - The first function, which may take any number of arguments.
175
- * @param fn2 - Applied to the awaited result of `fn1`.
176
- * @param fn3 - Applied to the awaited result of `fn2`.
177
- * @param fn4 - Applied to the awaited result of `fn3`.
178
- * @param fn5 - Applied to the awaited result of `fn4`.
179
- * @param fn6 - Applied to the awaited result of `fn5`.
180
- * @param fn7 - Applied to the awaited result of `fn6`.
181
- * @param fn8 - Applied to the awaited result of `fn7`.
182
- * @param fn9 - Applied to the awaited result of `fn8`.
183
- * @param fn10 - Applied to the awaited result of `fn9`.
184
- * @param fn11 - Applied to the awaited result of `fn10`.
185
- * @param fn12 - Applied to the awaited result of `fn11`.
186
- * @param fn13 - Applied to the awaited result of `fn12`.
187
- * @param fn14 - Applied to the awaited result of `fn13`.
188
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn14`.
189
- */
190
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6, fn7: (input: Awaited<R6>) => R7, fn8: (input: Awaited<R7>) => R8, fn9: (input: Awaited<R8>) => R9, fn10: (input: Awaited<R9>) => R10, fn11: (input: Awaited<R10>) => R11, fn12: (input: Awaited<R11>) => R12, fn13: (input: Awaited<R12>) => R13, fn14: (input: Awaited<R13>) => R14): (...args: A) => Promise<Awaited<R14>>;
191
- /**
192
- * Composes `fn1` through `fn15` left-to-right into a single reusable async function, awaiting each result.
193
- *
194
- * @param fn1 - The first function, which may take any number of arguments.
195
- * @param fn2 - Applied to the awaited result of `fn1`.
196
- * @param fn3 - Applied to the awaited result of `fn2`.
197
- * @param fn4 - Applied to the awaited result of `fn3`.
198
- * @param fn5 - Applied to the awaited result of `fn4`.
199
- * @param fn6 - Applied to the awaited result of `fn5`.
200
- * @param fn7 - Applied to the awaited result of `fn6`.
201
- * @param fn8 - Applied to the awaited result of `fn7`.
202
- * @param fn9 - Applied to the awaited result of `fn8`.
203
- * @param fn10 - Applied to the awaited result of `fn9`.
204
- * @param fn11 - Applied to the awaited result of `fn10`.
205
- * @param fn12 - Applied to the awaited result of `fn11`.
206
- * @param fn13 - Applied to the awaited result of `fn12`.
207
- * @param fn14 - Applied to the awaited result of `fn13`.
208
- * @param fn15 - Applied to the awaited result of `fn14`.
209
- * @returns An async function with the same parameters as `fn1` that resolves to the awaited result of `fn15`.
210
- */
211
- declare function flowAsync<A extends any[], R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15>(fn1: (...args: A) => R1, fn2: (input: Awaited<R1>) => R2, fn3: (input: Awaited<R2>) => R3, fn4: (input: Awaited<R3>) => R4, fn5: (input: Awaited<R4>) => R5, fn6: (input: Awaited<R5>) => R6, fn7: (input: Awaited<R6>) => R7, fn8: (input: Awaited<R7>) => R8, fn9: (input: Awaited<R8>) => R9, fn10: (input: Awaited<R9>) => R10, fn11: (input: Awaited<R10>) => R11, fn12: (input: Awaited<R11>) => R12, fn13: (input: Awaited<R12>) => R13, fn14: (input: Awaited<R13>) => R14, fn15: (input: Awaited<R14>) => R15): (...args: A) => Promise<Awaited<R15>>;
212
- //#endregion
213
- export { flowAsync };
@@ -1,37 +0,0 @@
1
- //#region src/fp/flowAsync.ts
2
- /**
3
- * Performs left-to-right async function composition, returning a **reusable
4
- * async function** instead of running immediately. The first function may take
5
- * any number of arguments; every later function is unary and receives the
6
- * awaited result of the previous one.
7
- *
8
- * `flowAsync` is the promise-aware sibling of {@link flow}: where `flow` passes
9
- * each raw return value straight to the next function (so a returned `Promise`
10
- * arrives unresolved), `flowAsync` awaits every step, letting synchronous and
11
- * asynchronous functions mix freely in one chain. The composed function always
12
- * returns a `Promise`.
13
- *
14
- * @param functions - The functions to compose. The first may be variadic; the
15
- * rest are unary, each receiving the awaited output of the previous function.
16
- * @returns An async function that, when called, applies every function
17
- * left-to-right, awaiting each result.
18
- *
19
- * @example
20
- * import { flowAsync } from 'es-toolkit/fp';
21
- *
22
- * const fetchUser = async (id: number) => ({ id, name: 'Alice' });
23
- * const getName = (user: { name: string }) => user.name;
24
- *
25
- * const getUserName = flowAsync(fetchUser, getName);
26
- * await getUserName(1); // => 'Alice'
27
- */
28
- function flowAsync(...functions) {
29
- return async function(...args) {
30
- if (functions.length === 0) return args[0];
31
- let result = await functions[0].apply(this, args);
32
- for (let i = 1; i < functions.length; i++) result = await functions[i].call(this, result);
33
- return result;
34
- };
35
- }
36
- //#endregion
37
- exports.flowAsync = flowAsync;
@@ -1,37 +0,0 @@
1
- //#region src/fp/flowAsync.ts
2
- /**
3
- * Performs left-to-right async function composition, returning a **reusable
4
- * async function** instead of running immediately. The first function may take
5
- * any number of arguments; every later function is unary and receives the
6
- * awaited result of the previous one.
7
- *
8
- * `flowAsync` is the promise-aware sibling of {@link flow}: where `flow` passes
9
- * each raw return value straight to the next function (so a returned `Promise`
10
- * arrives unresolved), `flowAsync` awaits every step, letting synchronous and
11
- * asynchronous functions mix freely in one chain. The composed function always
12
- * returns a `Promise`.
13
- *
14
- * @param functions - The functions to compose. The first may be variadic; the
15
- * rest are unary, each receiving the awaited output of the previous function.
16
- * @returns An async function that, when called, applies every function
17
- * left-to-right, awaiting each result.
18
- *
19
- * @example
20
- * import { flowAsync } from 'es-toolkit/fp';
21
- *
22
- * const fetchUser = async (id: number) => ({ id, name: 'Alice' });
23
- * const getName = (user: { name: string }) => user.name;
24
- *
25
- * const getUserName = flowAsync(fetchUser, getName);
26
- * await getUserName(1); // => 'Alice'
27
- */
28
- function flowAsync(...functions) {
29
- return async function(...args) {
30
- if (functions.length === 0) return args[0];
31
- let result = await functions[0].apply(this, args);
32
- for (let i = 1; i < functions.length; i++) result = await functions[i].call(this, result);
33
- return result;
34
- };
35
- }
36
- //#endregion
37
- export { flowAsync };
@@ -1,23 +0,0 @@
1
- //#region src/fp/iterator/cartesianProduct.d.ts
2
- /**
3
- * Creates a function that lazily takes the Cartesian product of the piped
4
- * iterator and `other`, for use with {@link pipe}. Every element of the piped
5
- * iterator is paired with every element of `other`, with `other` advancing
6
- * fastest. `other` is buffered into an array when iteration starts, while the
7
- * piped iterator is consumed lazily, so it may be infinite.
8
- *
9
- * @template T - The type of elements produced by the piped iterator.
10
- * @template U - The type of elements produced by `other`.
11
- * @param other - The iterator to take the product with.
12
- * @returns A function mapping an `Iterator<T>` to a lazy `IteratorObject<[T, U]>`.
13
- *
14
- * @example
15
- * import { pipe } from 'es-toolkit/fp';
16
- * import { cartesianProduct, toArray } from 'es-toolkit/fp/iterator';
17
- *
18
- * pipe([1, 2].values(), cartesianProduct(['a', 'b'].values()), toArray());
19
- * // => [[1, 'a'], [1, 'b'], [2, 'a'], [2, 'b']]
20
- */
21
- declare function cartesianProduct<T, U>(other: Iterator<U>): (source: Iterator<T>) => IteratorObject<[T, U], undefined>;
22
- //#endregion
23
- export { cartesianProduct };
@@ -1,23 +0,0 @@
1
- //#region src/fp/iterator/cartesianProduct.d.ts
2
- /**
3
- * Creates a function that lazily takes the Cartesian product of the piped
4
- * iterator and `other`, for use with {@link pipe}. Every element of the piped
5
- * iterator is paired with every element of `other`, with `other` advancing
6
- * fastest. `other` is buffered into an array when iteration starts, while the
7
- * piped iterator is consumed lazily, so it may be infinite.
8
- *
9
- * @template T - The type of elements produced by the piped iterator.
10
- * @template U - The type of elements produced by `other`.
11
- * @param other - The iterator to take the product with.
12
- * @returns A function mapping an `Iterator<T>` to a lazy `IteratorObject<[T, U]>`.
13
- *
14
- * @example
15
- * import { pipe } from 'es-toolkit/fp';
16
- * import { cartesianProduct, toArray } from 'es-toolkit/fp/iterator';
17
- *
18
- * pipe([1, 2].values(), cartesianProduct(['a', 'b'].values()), toArray());
19
- * // => [[1, 'a'], [1, 'b'], [2, 'a'], [2, 'b']]
20
- */
21
- declare function cartesianProduct<T, U>(other: Iterator<U>): (source: Iterator<T>) => IteratorObject<[T, U], undefined>;
22
- //#endregion
23
- export { cartesianProduct };
@@ -1,28 +0,0 @@
1
- const require_cartesianProduct = require("../../iterator/cartesianProduct.js");
2
- //#region src/fp/iterator/cartesianProduct.ts
3
- /**
4
- * Creates a function that lazily takes the Cartesian product of the piped
5
- * iterator and `other`, for use with {@link pipe}. Every element of the piped
6
- * iterator is paired with every element of `other`, with `other` advancing
7
- * fastest. `other` is buffered into an array when iteration starts, while the
8
- * piped iterator is consumed lazily, so it may be infinite.
9
- *
10
- * @template T - The type of elements produced by the piped iterator.
11
- * @template U - The type of elements produced by `other`.
12
- * @param other - The iterator to take the product with.
13
- * @returns A function mapping an `Iterator<T>` to a lazy `IteratorObject<[T, U]>`.
14
- *
15
- * @example
16
- * import { pipe } from 'es-toolkit/fp';
17
- * import { cartesianProduct, toArray } from 'es-toolkit/fp/iterator';
18
- *
19
- * pipe([1, 2].values(), cartesianProduct(['a', 'b'].values()), toArray());
20
- * // => [[1, 'a'], [1, 'b'], [2, 'a'], [2, 'b']]
21
- */
22
- function cartesianProduct(other) {
23
- return function cartesianProductInIterator(source) {
24
- return require_cartesianProduct.cartesianProduct(source, other);
25
- };
26
- }
27
- //#endregion
28
- exports.cartesianProduct = cartesianProduct;