sudocode 1.1.17 → 1.1.18-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (738) hide show
  1. package/node_modules/@sudocode-ai/cli/README.md +330 -0
  2. package/node_modules/@sudocode-ai/cli/dist/cli/feedback-commands.d.ts +53 -0
  3. package/node_modules/@sudocode-ai/cli/dist/cli/feedback-commands.d.ts.map +1 -0
  4. package/node_modules/@sudocode-ai/cli/dist/cli/feedback-commands.js +339 -0
  5. package/node_modules/@sudocode-ai/cli/dist/cli/feedback-commands.js.map +1 -0
  6. package/node_modules/@sudocode-ai/cli/dist/cli/init-commands.d.ts +20 -0
  7. package/node_modules/@sudocode-ai/cli/dist/cli/init-commands.d.ts.map +1 -0
  8. package/node_modules/@sudocode-ai/cli/dist/cli/init-commands.js +145 -0
  9. package/node_modules/@sudocode-ai/cli/dist/cli/init-commands.js.map +1 -0
  10. package/node_modules/@sudocode-ai/cli/dist/cli/issue-commands.d.ts +46 -0
  11. package/node_modules/@sudocode-ai/cli/dist/cli/issue-commands.d.ts.map +1 -0
  12. package/node_modules/@sudocode-ai/cli/dist/cli/issue-commands.js +353 -0
  13. package/node_modules/@sudocode-ai/cli/dist/cli/issue-commands.js.map +1 -0
  14. package/node_modules/@sudocode-ai/cli/dist/cli/merge-commands.d.ts +42 -0
  15. package/node_modules/@sudocode-ai/cli/dist/cli/merge-commands.d.ts.map +1 -0
  16. package/node_modules/@sudocode-ai/cli/dist/cli/merge-commands.js +405 -0
  17. package/node_modules/@sudocode-ai/cli/dist/cli/merge-commands.js.map +1 -0
  18. package/node_modules/@sudocode-ai/cli/dist/cli/plugin-commands.d.ts +62 -0
  19. package/node_modules/@sudocode-ai/cli/dist/cli/plugin-commands.d.ts.map +1 -0
  20. package/node_modules/@sudocode-ai/cli/dist/cli/plugin-commands.js +595 -0
  21. package/node_modules/@sudocode-ai/cli/dist/cli/plugin-commands.js.map +1 -0
  22. package/node_modules/@sudocode-ai/cli/dist/cli/query-commands.d.ts +18 -0
  23. package/node_modules/@sudocode-ai/cli/dist/cli/query-commands.d.ts.map +1 -0
  24. package/node_modules/@sudocode-ai/cli/dist/cli/query-commands.js +61 -0
  25. package/node_modules/@sudocode-ai/cli/dist/cli/query-commands.js.map +1 -0
  26. package/node_modules/@sudocode-ai/cli/dist/cli/reference-commands.d.ts +22 -0
  27. package/node_modules/@sudocode-ai/cli/dist/cli/reference-commands.d.ts.map +1 -0
  28. package/node_modules/@sudocode-ai/cli/dist/cli/reference-commands.js +136 -0
  29. package/node_modules/@sudocode-ai/cli/dist/cli/reference-commands.js.map +1 -0
  30. package/node_modules/@sudocode-ai/cli/dist/cli/relationship-commands.d.ts +14 -0
  31. package/node_modules/@sudocode-ai/cli/dist/cli/relationship-commands.d.ts.map +1 -0
  32. package/node_modules/@sudocode-ai/cli/dist/cli/relationship-commands.js +83 -0
  33. package/node_modules/@sudocode-ai/cli/dist/cli/relationship-commands.js.map +1 -0
  34. package/node_modules/@sudocode-ai/cli/dist/cli/server-commands.d.ts +17 -0
  35. package/node_modules/@sudocode-ai/cli/dist/cli/server-commands.d.ts.map +1 -0
  36. package/node_modules/@sudocode-ai/cli/dist/cli/server-commands.js +123 -0
  37. package/node_modules/@sudocode-ai/cli/dist/cli/server-commands.js.map +1 -0
  38. package/node_modules/@sudocode-ai/cli/dist/cli/spec-commands.d.ts +38 -0
  39. package/node_modules/@sudocode-ai/cli/dist/cli/spec-commands.d.ts.map +1 -0
  40. package/node_modules/@sudocode-ai/cli/dist/cli/spec-commands.js +326 -0
  41. package/node_modules/@sudocode-ai/cli/dist/cli/spec-commands.js.map +1 -0
  42. package/node_modules/@sudocode-ai/cli/dist/cli/status-commands.d.ts +17 -0
  43. package/node_modules/@sudocode-ai/cli/dist/cli/status-commands.d.ts.map +1 -0
  44. package/node_modules/@sudocode-ai/cli/dist/cli/status-commands.js +131 -0
  45. package/node_modules/@sudocode-ai/cli/dist/cli/status-commands.js.map +1 -0
  46. package/node_modules/@sudocode-ai/cli/dist/cli/sync-commands.d.ts +24 -0
  47. package/node_modules/@sudocode-ai/cli/dist/cli/sync-commands.d.ts.map +1 -0
  48. package/node_modules/@sudocode-ai/cli/dist/cli/sync-commands.js +429 -0
  49. package/node_modules/@sudocode-ai/cli/dist/cli/sync-commands.js.map +1 -0
  50. package/node_modules/@sudocode-ai/cli/dist/cli/update-commands.d.ts +16 -0
  51. package/node_modules/@sudocode-ai/cli/dist/cli/update-commands.d.ts.map +1 -0
  52. package/node_modules/@sudocode-ai/cli/dist/cli/update-commands.js +160 -0
  53. package/node_modules/@sudocode-ai/cli/dist/cli/update-commands.js.map +1 -0
  54. package/node_modules/@sudocode-ai/cli/dist/cli.d.ts +6 -0
  55. package/node_modules/@sudocode-ai/cli/dist/cli.d.ts.map +1 -0
  56. package/node_modules/@sudocode-ai/cli/dist/cli.js +543 -0
  57. package/node_modules/@sudocode-ai/cli/dist/cli.js.map +1 -0
  58. package/node_modules/@sudocode-ai/cli/dist/config.d.ts +50 -0
  59. package/node_modules/@sudocode-ai/cli/dist/config.d.ts.map +1 -0
  60. package/node_modules/@sudocode-ai/cli/dist/config.js +76 -0
  61. package/node_modules/@sudocode-ai/cli/dist/config.js.map +1 -0
  62. package/node_modules/@sudocode-ai/cli/dist/db.d.ts +21 -0
  63. package/node_modules/@sudocode-ai/cli/dist/db.d.ts.map +1 -0
  64. package/node_modules/@sudocode-ai/cli/dist/db.js +55 -0
  65. package/node_modules/@sudocode-ai/cli/dist/db.js.map +1 -0
  66. package/node_modules/@sudocode-ai/cli/dist/export.d.ts +84 -0
  67. package/node_modules/@sudocode-ai/cli/dist/export.d.ts.map +1 -0
  68. package/node_modules/@sudocode-ai/cli/dist/export.js +265 -0
  69. package/node_modules/@sudocode-ai/cli/dist/export.js.map +1 -0
  70. package/node_modules/@sudocode-ai/cli/dist/filename-generator.d.ts +31 -0
  71. package/node_modules/@sudocode-ai/cli/dist/filename-generator.d.ts.map +1 -0
  72. package/node_modules/@sudocode-ai/cli/dist/filename-generator.js +103 -0
  73. package/node_modules/@sudocode-ai/cli/dist/filename-generator.js.map +1 -0
  74. package/node_modules/@sudocode-ai/cli/dist/id-generator.d.ts +63 -0
  75. package/node_modules/@sudocode-ai/cli/dist/id-generator.d.ts.map +1 -0
  76. package/node_modules/@sudocode-ai/cli/dist/id-generator.js +196 -0
  77. package/node_modules/@sudocode-ai/cli/dist/id-generator.js.map +1 -0
  78. package/node_modules/@sudocode-ai/cli/dist/import.d.ts +134 -0
  79. package/node_modules/@sudocode-ai/cli/dist/import.d.ts.map +1 -0
  80. package/node_modules/@sudocode-ai/cli/dist/import.js +751 -0
  81. package/node_modules/@sudocode-ai/cli/dist/import.js.map +1 -0
  82. package/node_modules/@sudocode-ai/cli/dist/index.d.ts +15 -0
  83. package/node_modules/@sudocode-ai/cli/dist/index.d.ts.map +1 -0
  84. package/node_modules/@sudocode-ai/cli/dist/index.js +15 -0
  85. package/node_modules/@sudocode-ai/cli/dist/index.js.map +1 -0
  86. package/node_modules/@sudocode-ai/cli/dist/integrations/base-provider.d.ts +108 -0
  87. package/node_modules/@sudocode-ai/cli/dist/integrations/base-provider.d.ts.map +1 -0
  88. package/node_modules/@sudocode-ai/cli/dist/integrations/base-provider.js +80 -0
  89. package/node_modules/@sudocode-ai/cli/dist/integrations/base-provider.js.map +1 -0
  90. package/node_modules/@sudocode-ai/cli/dist/integrations/config-resolver.d.ts +62 -0
  91. package/node_modules/@sudocode-ai/cli/dist/integrations/config-resolver.d.ts.map +1 -0
  92. package/node_modules/@sudocode-ai/cli/dist/integrations/config-resolver.js +69 -0
  93. package/node_modules/@sudocode-ai/cli/dist/integrations/config-resolver.js.map +1 -0
  94. package/node_modules/@sudocode-ai/cli/dist/integrations/config-validator.d.ts +75 -0
  95. package/node_modules/@sudocode-ai/cli/dist/integrations/config-validator.d.ts.map +1 -0
  96. package/node_modules/@sudocode-ai/cli/dist/integrations/config-validator.js +129 -0
  97. package/node_modules/@sudocode-ai/cli/dist/integrations/config-validator.js.map +1 -0
  98. package/node_modules/@sudocode-ai/cli/dist/integrations/index.d.ts +14 -0
  99. package/node_modules/@sudocode-ai/cli/dist/integrations/index.d.ts.map +1 -0
  100. package/node_modules/@sudocode-ai/cli/dist/integrations/index.js +20 -0
  101. package/node_modules/@sudocode-ai/cli/dist/integrations/index.js.map +1 -0
  102. package/node_modules/@sudocode-ai/cli/dist/integrations/plugin-loader.d.ts +77 -0
  103. package/node_modules/@sudocode-ai/cli/dist/integrations/plugin-loader.d.ts.map +1 -0
  104. package/node_modules/@sudocode-ai/cli/dist/integrations/plugin-loader.js +265 -0
  105. package/node_modules/@sudocode-ai/cli/dist/integrations/plugin-loader.js.map +1 -0
  106. package/node_modules/@sudocode-ai/cli/dist/integrations/registry.d.ts +67 -0
  107. package/node_modules/@sudocode-ai/cli/dist/integrations/registry.d.ts.map +1 -0
  108. package/node_modules/@sudocode-ai/cli/dist/integrations/registry.js +77 -0
  109. package/node_modules/@sudocode-ai/cli/dist/integrations/registry.js.map +1 -0
  110. package/node_modules/@sudocode-ai/cli/dist/integrations/sync-coordinator.d.ts +191 -0
  111. package/node_modules/@sudocode-ai/cli/dist/integrations/sync-coordinator.d.ts.map +1 -0
  112. package/node_modules/@sudocode-ai/cli/dist/integrations/sync-coordinator.js +798 -0
  113. package/node_modules/@sudocode-ai/cli/dist/integrations/sync-coordinator.js.map +1 -0
  114. package/node_modules/@sudocode-ai/cli/dist/integrations/types.d.ts +142 -0
  115. package/node_modules/@sudocode-ai/cli/dist/integrations/types.d.ts.map +1 -0
  116. package/node_modules/@sudocode-ai/cli/dist/integrations/types.js +6 -0
  117. package/node_modules/@sudocode-ai/cli/dist/integrations/types.js.map +1 -0
  118. package/node_modules/@sudocode-ai/cli/dist/integrations/utils/conflict-resolver.d.ts +79 -0
  119. package/node_modules/@sudocode-ai/cli/dist/integrations/utils/conflict-resolver.d.ts.map +1 -0
  120. package/node_modules/@sudocode-ai/cli/dist/integrations/utils/conflict-resolver.js +106 -0
  121. package/node_modules/@sudocode-ai/cli/dist/integrations/utils/conflict-resolver.js.map +1 -0
  122. package/node_modules/@sudocode-ai/cli/dist/jsonl.d.ts +69 -0
  123. package/node_modules/@sudocode-ai/cli/dist/jsonl.d.ts.map +1 -0
  124. package/node_modules/@sudocode-ai/cli/dist/jsonl.js +333 -0
  125. package/node_modules/@sudocode-ai/cli/dist/jsonl.js.map +1 -0
  126. package/node_modules/@sudocode-ai/cli/dist/markdown.d.ts +146 -0
  127. package/node_modules/@sudocode-ai/cli/dist/markdown.d.ts.map +1 -0
  128. package/node_modules/@sudocode-ai/cli/dist/markdown.js +329 -0
  129. package/node_modules/@sudocode-ai/cli/dist/markdown.js.map +1 -0
  130. package/node_modules/@sudocode-ai/cli/dist/merge-resolver.d.ts +85 -0
  131. package/node_modules/@sudocode-ai/cli/dist/merge-resolver.d.ts.map +1 -0
  132. package/node_modules/@sudocode-ai/cli/dist/merge-resolver.js +301 -0
  133. package/node_modules/@sudocode-ai/cli/dist/merge-resolver.js.map +1 -0
  134. package/node_modules/@sudocode-ai/cli/dist/operations/events.d.ts +53 -0
  135. package/node_modules/@sudocode-ai/cli/dist/operations/events.d.ts.map +1 -0
  136. package/node_modules/@sudocode-ai/cli/dist/operations/events.js +108 -0
  137. package/node_modules/@sudocode-ai/cli/dist/operations/events.js.map +1 -0
  138. package/node_modules/@sudocode-ai/cli/dist/operations/external-links.d.ts +147 -0
  139. package/node_modules/@sudocode-ai/cli/dist/operations/external-links.d.ts.map +1 -0
  140. package/node_modules/@sudocode-ai/cli/dist/operations/external-links.js +411 -0
  141. package/node_modules/@sudocode-ai/cli/dist/operations/external-links.js.map +1 -0
  142. package/node_modules/@sudocode-ai/cli/dist/operations/feedback-anchors.d.ts +92 -0
  143. package/node_modules/@sudocode-ai/cli/dist/operations/feedback-anchors.d.ts.map +1 -0
  144. package/node_modules/@sudocode-ai/cli/dist/operations/feedback-anchors.js +444 -0
  145. package/node_modules/@sudocode-ai/cli/dist/operations/feedback-anchors.js.map +1 -0
  146. package/node_modules/@sudocode-ai/cli/dist/operations/feedback.d.ts +94 -0
  147. package/node_modules/@sudocode-ai/cli/dist/operations/feedback.d.ts.map +1 -0
  148. package/node_modules/@sudocode-ai/cli/dist/operations/feedback.js +278 -0
  149. package/node_modules/@sudocode-ai/cli/dist/operations/feedback.js.map +1 -0
  150. package/node_modules/@sudocode-ai/cli/dist/operations/index.d.ts +11 -0
  151. package/node_modules/@sudocode-ai/cli/dist/operations/index.d.ts.map +1 -0
  152. package/node_modules/@sudocode-ai/cli/dist/operations/index.js +11 -0
  153. package/node_modules/@sudocode-ai/cli/dist/operations/index.js.map +1 -0
  154. package/node_modules/@sudocode-ai/cli/dist/operations/issues.d.ts +88 -0
  155. package/node_modules/@sudocode-ai/cli/dist/operations/issues.d.ts.map +1 -0
  156. package/node_modules/@sudocode-ai/cli/dist/operations/issues.js +474 -0
  157. package/node_modules/@sudocode-ai/cli/dist/operations/issues.js.map +1 -0
  158. package/node_modules/@sudocode-ai/cli/dist/operations/references.d.ts +34 -0
  159. package/node_modules/@sudocode-ai/cli/dist/operations/references.d.ts.map +1 -0
  160. package/node_modules/@sudocode-ai/cli/dist/operations/references.js +117 -0
  161. package/node_modules/@sudocode-ai/cli/dist/operations/references.js.map +1 -0
  162. package/node_modules/@sudocode-ai/cli/dist/operations/relationships.d.ts +64 -0
  163. package/node_modules/@sudocode-ai/cli/dist/operations/relationships.d.ts.map +1 -0
  164. package/node_modules/@sudocode-ai/cli/dist/operations/relationships.js +281 -0
  165. package/node_modules/@sudocode-ai/cli/dist/operations/relationships.js.map +1 -0
  166. package/node_modules/@sudocode-ai/cli/dist/operations/specs.d.ts +69 -0
  167. package/node_modules/@sudocode-ai/cli/dist/operations/specs.d.ts.map +1 -0
  168. package/node_modules/@sudocode-ai/cli/dist/operations/specs.js +330 -0
  169. package/node_modules/@sudocode-ai/cli/dist/operations/specs.js.map +1 -0
  170. package/node_modules/@sudocode-ai/cli/dist/operations/tags.d.ts +42 -0
  171. package/node_modules/@sudocode-ai/cli/dist/operations/tags.d.ts.map +1 -0
  172. package/node_modules/@sudocode-ai/cli/dist/operations/tags.js +127 -0
  173. package/node_modules/@sudocode-ai/cli/dist/operations/tags.js.map +1 -0
  174. package/node_modules/@sudocode-ai/cli/dist/operations/transactions.d.ts +41 -0
  175. package/node_modules/@sudocode-ai/cli/dist/operations/transactions.d.ts.map +1 -0
  176. package/node_modules/@sudocode-ai/cli/dist/operations/transactions.js +111 -0
  177. package/node_modules/@sudocode-ai/cli/dist/operations/transactions.js.map +1 -0
  178. package/node_modules/@sudocode-ai/cli/dist/sync.d.ts +47 -0
  179. package/node_modules/@sudocode-ai/cli/dist/sync.d.ts.map +1 -0
  180. package/node_modules/@sudocode-ai/cli/dist/sync.js +464 -0
  181. package/node_modules/@sudocode-ai/cli/dist/sync.js.map +1 -0
  182. package/node_modules/@sudocode-ai/cli/dist/test-schema.d.ts +5 -0
  183. package/node_modules/@sudocode-ai/cli/dist/test-schema.d.ts.map +1 -0
  184. package/node_modules/@sudocode-ai/cli/dist/test-schema.js +46 -0
  185. package/node_modules/@sudocode-ai/cli/dist/test-schema.js.map +1 -0
  186. package/node_modules/@sudocode-ai/cli/dist/types.d.ts +7 -0
  187. package/node_modules/@sudocode-ai/cli/dist/types.d.ts.map +1 -0
  188. package/node_modules/@sudocode-ai/cli/dist/types.js +7 -0
  189. package/node_modules/@sudocode-ai/cli/dist/types.js.map +1 -0
  190. package/node_modules/@sudocode-ai/cli/dist/update-checker.d.ts +33 -0
  191. package/node_modules/@sudocode-ai/cli/dist/update-checker.d.ts.map +1 -0
  192. package/node_modules/@sudocode-ai/cli/dist/update-checker.js +193 -0
  193. package/node_modules/@sudocode-ai/cli/dist/update-checker.js.map +1 -0
  194. package/node_modules/@sudocode-ai/cli/dist/validation.d.ts +11 -0
  195. package/node_modules/@sudocode-ai/cli/dist/validation.d.ts.map +1 -0
  196. package/node_modules/@sudocode-ai/cli/dist/validation.js +58 -0
  197. package/node_modules/@sudocode-ai/cli/dist/validation.js.map +1 -0
  198. package/node_modules/@sudocode-ai/cli/dist/version.d.ts +12 -0
  199. package/node_modules/@sudocode-ai/cli/dist/version.d.ts.map +1 -0
  200. package/node_modules/@sudocode-ai/cli/dist/version.js +23 -0
  201. package/node_modules/@sudocode-ai/cli/dist/version.js.map +1 -0
  202. package/node_modules/@sudocode-ai/cli/dist/watcher.d.ts +69 -0
  203. package/node_modules/@sudocode-ai/cli/dist/watcher.d.ts.map +1 -0
  204. package/node_modules/@sudocode-ai/cli/dist/watcher.js +783 -0
  205. package/node_modules/@sudocode-ai/cli/dist/watcher.js.map +1 -0
  206. package/node_modules/@sudocode-ai/cli/package.json +73 -0
  207. package/node_modules/@sudocode-ai/integration-beads/package.json +44 -0
  208. package/node_modules/@sudocode-ai/integration-github/package.json +41 -0
  209. package/node_modules/@sudocode-ai/integration-openspec/package.json +43 -0
  210. package/node_modules/@sudocode-ai/integration-speckit/package.json +42 -0
  211. package/node_modules/@sudocode-ai/local-server/README.md +25 -0
  212. package/node_modules/@sudocode-ai/local-server/dist/cli.d.ts +7 -0
  213. package/node_modules/@sudocode-ai/local-server/dist/cli.d.ts.map +1 -0
  214. package/node_modules/@sudocode-ai/local-server/dist/cli.js +7 -0
  215. package/node_modules/@sudocode-ai/local-server/dist/cli.js.map +1 -0
  216. package/node_modules/@sudocode-ai/local-server/dist/errors/agent-errors.d.ts +43 -0
  217. package/node_modules/@sudocode-ai/local-server/dist/errors/agent-errors.d.ts.map +1 -0
  218. package/node_modules/@sudocode-ai/local-server/dist/errors/agent-errors.js +69 -0
  219. package/node_modules/@sudocode-ai/local-server/dist/errors/agent-errors.js.map +1 -0
  220. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/claude-adapter.d.ts +63 -0
  221. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/claude-adapter.d.ts.map +1 -0
  222. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/claude-adapter.js +83 -0
  223. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/claude-adapter.js.map +1 -0
  224. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-adapter.d.ts +67 -0
  225. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-adapter.d.ts.map +1 -0
  226. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-adapter.js +183 -0
  227. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-adapter.js.map +1 -0
  228. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-config-builder.d.ts +30 -0
  229. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-config-builder.d.ts.map +1 -0
  230. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-config-builder.js +110 -0
  231. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-config-builder.js.map +1 -0
  232. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-adapter.d.ts +94 -0
  233. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-adapter.d.ts.map +1 -0
  234. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-adapter.js +163 -0
  235. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-adapter.js.map +1 -0
  236. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-config-builder.d.ts +48 -0
  237. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-config-builder.d.ts.map +1 -0
  238. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-config-builder.js +125 -0
  239. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-config-builder.js.map +1 -0
  240. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-adapter.d.ts +66 -0
  241. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-adapter.d.ts.map +1 -0
  242. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-adapter.js +121 -0
  243. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-adapter.js.map +1 -0
  244. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-config-builder.d.ts +29 -0
  245. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-config-builder.d.ts.map +1 -0
  246. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-config-builder.js +49 -0
  247. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-config-builder.js.map +1 -0
  248. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-presets.d.ts +102 -0
  249. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-presets.d.ts.map +1 -0
  250. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-presets.js +205 -0
  251. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-presets.js.map +1 -0
  252. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-utils.d.ts +95 -0
  253. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-utils.d.ts.map +1 -0
  254. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-utils.js +163 -0
  255. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-utils.js.map +1 -0
  256. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/index.d.ts +8 -0
  257. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/index.d.ts.map +1 -0
  258. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/index.js +8 -0
  259. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/index.js.map +1 -0
  260. package/node_modules/@sudocode-ai/local-server/dist/execution/executors/agent-executor-wrapper.d.ts +154 -0
  261. package/node_modules/@sudocode-ai/local-server/dist/execution/executors/agent-executor-wrapper.d.ts.map +1 -0
  262. package/node_modules/@sudocode-ai/local-server/dist/execution/executors/agent-executor-wrapper.js +725 -0
  263. package/node_modules/@sudocode-ai/local-server/dist/execution/executors/agent-executor-wrapper.js.map +1 -0
  264. package/node_modules/@sudocode-ai/local-server/dist/execution/executors/executor-factory.d.ts +95 -0
  265. package/node_modules/@sudocode-ai/local-server/dist/execution/executors/executor-factory.d.ts.map +1 -0
  266. package/node_modules/@sudocode-ai/local-server/dist/execution/executors/executor-factory.js +128 -0
  267. package/node_modules/@sudocode-ai/local-server/dist/execution/executors/executor-factory.js.map +1 -0
  268. package/node_modules/@sudocode-ai/local-server/dist/execution/output/ag-ui-adapter.d.ts +174 -0
  269. package/node_modules/@sudocode-ai/local-server/dist/execution/output/ag-ui-adapter.d.ts.map +1 -0
  270. package/node_modules/@sudocode-ai/local-server/dist/execution/output/ag-ui-adapter.js +436 -0
  271. package/node_modules/@sudocode-ai/local-server/dist/execution/output/ag-ui-adapter.js.map +1 -0
  272. package/node_modules/@sudocode-ai/local-server/dist/execution/output/claude-to-ag-ui.d.ts +90 -0
  273. package/node_modules/@sudocode-ai/local-server/dist/execution/output/claude-to-ag-ui.d.ts.map +1 -0
  274. package/node_modules/@sudocode-ai/local-server/dist/execution/output/claude-to-ag-ui.js +153 -0
  275. package/node_modules/@sudocode-ai/local-server/dist/execution/output/claude-to-ag-ui.js.map +1 -0
  276. package/node_modules/@sudocode-ai/local-server/dist/execution/output/index.d.ts +15 -0
  277. package/node_modules/@sudocode-ai/local-server/dist/execution/output/index.d.ts.map +1 -0
  278. package/node_modules/@sudocode-ai/local-server/dist/execution/output/index.js +13 -0
  279. package/node_modules/@sudocode-ai/local-server/dist/execution/output/index.js.map +1 -0
  280. package/node_modules/@sudocode-ai/local-server/dist/execution/output/normalized-to-ag-ui-adapter.d.ts +108 -0
  281. package/node_modules/@sudocode-ai/local-server/dist/execution/output/normalized-to-ag-ui-adapter.d.ts.map +1 -0
  282. package/node_modules/@sudocode-ai/local-server/dist/execution/output/normalized-to-ag-ui-adapter.js +321 -0
  283. package/node_modules/@sudocode-ai/local-server/dist/execution/output/normalized-to-ag-ui-adapter.js.map +1 -0
  284. package/node_modules/@sudocode-ai/local-server/dist/execution/output/types.d.ts +421 -0
  285. package/node_modules/@sudocode-ai/local-server/dist/execution/output/types.d.ts.map +1 -0
  286. package/node_modules/@sudocode-ai/local-server/dist/execution/output/types.js +22 -0
  287. package/node_modules/@sudocode-ai/local-server/dist/execution/output/types.js.map +1 -0
  288. package/node_modules/@sudocode-ai/local-server/dist/execution/process/builders/claude.d.ts +53 -0
  289. package/node_modules/@sudocode-ai/local-server/dist/execution/process/builders/claude.d.ts.map +1 -0
  290. package/node_modules/@sudocode-ai/local-server/dist/execution/process/builders/claude.js +225 -0
  291. package/node_modules/@sudocode-ai/local-server/dist/execution/process/builders/claude.js.map +1 -0
  292. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/event-buffer.d.ts +119 -0
  293. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/event-buffer.d.ts.map +1 -0
  294. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/event-buffer.js +208 -0
  295. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/event-buffer.js.map +1 -0
  296. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/index.d.ts +10 -0
  297. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/index.d.ts.map +1 -0
  298. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/index.js +10 -0
  299. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/index.js.map +1 -0
  300. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/ipc-transport-manager.d.ts +74 -0
  301. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/ipc-transport-manager.d.ts.map +1 -0
  302. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/ipc-transport-manager.js +104 -0
  303. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/ipc-transport-manager.js.map +1 -0
  304. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/sse-transport.d.ts +146 -0
  305. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/sse-transport.d.ts.map +1 -0
  306. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/sse-transport.js +282 -0
  307. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/sse-transport.js.map +1 -0
  308. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/transport-manager.d.ts +176 -0
  309. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/transport-manager.d.ts.map +1 -0
  310. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/transport-manager.js +234 -0
  311. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/transport-manager.js.map +1 -0
  312. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/config.d.ts +74 -0
  313. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/config.d.ts.map +1 -0
  314. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/config.js +280 -0
  315. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/config.js.map +1 -0
  316. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/conflict-detector.d.ts +85 -0
  317. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/conflict-detector.d.ts.map +1 -0
  318. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/conflict-detector.js +129 -0
  319. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/conflict-detector.js.map +1 -0
  320. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-cli.d.ts +208 -0
  321. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-cli.d.ts.map +1 -0
  322. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-cli.js +280 -0
  323. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-cli.js.map +1 -0
  324. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-sync-cli.d.ts +225 -0
  325. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-sync-cli.d.ts.map +1 -0
  326. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-sync-cli.js +464 -0
  327. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-sync-cli.js.map +1 -0
  328. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/index.d.ts +16 -0
  329. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/index.d.ts.map +1 -0
  330. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/index.js +15 -0
  331. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/index.js.map +1 -0
  332. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/manager.d.ts +221 -0
  333. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/manager.d.ts.map +1 -0
  334. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/manager.js +508 -0
  335. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/manager.js.map +1 -0
  336. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/types.d.ts +90 -0
  337. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/types.d.ts.map +1 -0
  338. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/types.js +42 -0
  339. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/types.js.map +1 -0
  340. package/node_modules/@sudocode-ai/local-server/dist/index.d.ts +6 -0
  341. package/node_modules/@sudocode-ai/local-server/dist/index.d.ts.map +1 -0
  342. package/node_modules/@sudocode-ai/local-server/dist/index.js +371 -0
  343. package/node_modules/@sudocode-ai/local-server/dist/index.js.map +1 -0
  344. package/node_modules/@sudocode-ai/local-server/dist/middleware/project-context.d.ts +37 -0
  345. package/node_modules/@sudocode-ai/local-server/dist/middleware/project-context.d.ts.map +1 -0
  346. package/node_modules/@sudocode-ai/local-server/dist/middleware/project-context.js +91 -0
  347. package/node_modules/@sudocode-ai/local-server/dist/middleware/project-context.js.map +1 -0
  348. package/node_modules/@sudocode-ai/local-server/dist/public/assets/index-D4AKx6EO.css +1 -0
  349. package/node_modules/@sudocode-ai/local-server/dist/public/assets/index-DorQqwGV.js +927 -0
  350. package/node_modules/@sudocode-ai/local-server/dist/public/assets/index-DorQqwGV.js.map +1 -0
  351. package/node_modules/@sudocode-ai/local-server/dist/public/assets/react-vendor-DoNwlLhy.js +60 -0
  352. package/node_modules/@sudocode-ai/local-server/dist/public/assets/react-vendor-DoNwlLhy.js.map +1 -0
  353. package/node_modules/@sudocode-ai/local-server/dist/public/assets/ui-vendor-DlxvBun1.js +54 -0
  354. package/node_modules/@sudocode-ai/local-server/dist/public/assets/ui-vendor-DlxvBun1.js.map +1 -0
  355. package/node_modules/@sudocode-ai/local-server/dist/public/favicon.ico +0 -0
  356. package/node_modules/@sudocode-ai/local-server/dist/public/index.html +16 -0
  357. package/node_modules/@sudocode-ai/local-server/dist/public/logo.png +0 -0
  358. package/node_modules/@sudocode-ai/local-server/dist/routes/agents.d.ts +3 -0
  359. package/node_modules/@sudocode-ai/local-server/dist/routes/agents.d.ts.map +1 -0
  360. package/node_modules/@sudocode-ai/local-server/dist/routes/agents.js +62 -0
  361. package/node_modules/@sudocode-ai/local-server/dist/routes/agents.js.map +1 -0
  362. package/node_modules/@sudocode-ai/local-server/dist/routes/config.d.ts +3 -0
  363. package/node_modules/@sudocode-ai/local-server/dist/routes/config.d.ts.map +1 -0
  364. package/node_modules/@sudocode-ai/local-server/dist/routes/config.js +116 -0
  365. package/node_modules/@sudocode-ai/local-server/dist/routes/config.js.map +1 -0
  366. package/node_modules/@sudocode-ai/local-server/dist/routes/editors.d.ts +15 -0
  367. package/node_modules/@sudocode-ai/local-server/dist/routes/editors.d.ts.map +1 -0
  368. package/node_modules/@sudocode-ai/local-server/dist/routes/editors.js +98 -0
  369. package/node_modules/@sudocode-ai/local-server/dist/routes/editors.js.map +1 -0
  370. package/node_modules/@sudocode-ai/local-server/dist/routes/executions-stream.d.ts +27 -0
  371. package/node_modules/@sudocode-ai/local-server/dist/routes/executions-stream.d.ts.map +1 -0
  372. package/node_modules/@sudocode-ai/local-server/dist/routes/executions-stream.js +59 -0
  373. package/node_modules/@sudocode-ai/local-server/dist/routes/executions-stream.js.map +1 -0
  374. package/node_modules/@sudocode-ai/local-server/dist/routes/executions.d.ts +18 -0
  375. package/node_modules/@sudocode-ai/local-server/dist/routes/executions.d.ts.map +1 -0
  376. package/node_modules/@sudocode-ai/local-server/dist/routes/executions.js +1169 -0
  377. package/node_modules/@sudocode-ai/local-server/dist/routes/executions.js.map +1 -0
  378. package/node_modules/@sudocode-ai/local-server/dist/routes/feedback.d.ts +8 -0
  379. package/node_modules/@sudocode-ai/local-server/dist/routes/feedback.d.ts.map +1 -0
  380. package/node_modules/@sudocode-ai/local-server/dist/routes/feedback.js +340 -0
  381. package/node_modules/@sudocode-ai/local-server/dist/routes/feedback.js.map +1 -0
  382. package/node_modules/@sudocode-ai/local-server/dist/routes/files.d.ts +18 -0
  383. package/node_modules/@sudocode-ai/local-server/dist/routes/files.d.ts.map +1 -0
  384. package/node_modules/@sudocode-ai/local-server/dist/routes/files.js +89 -0
  385. package/node_modules/@sudocode-ai/local-server/dist/routes/files.js.map +1 -0
  386. package/node_modules/@sudocode-ai/local-server/dist/routes/import.d.ts +142 -0
  387. package/node_modules/@sudocode-ai/local-server/dist/routes/import.d.ts.map +1 -0
  388. package/node_modules/@sudocode-ai/local-server/dist/routes/import.js +896 -0
  389. package/node_modules/@sudocode-ai/local-server/dist/routes/import.js.map +1 -0
  390. package/node_modules/@sudocode-ai/local-server/dist/routes/issues.d.ts +8 -0
  391. package/node_modules/@sudocode-ai/local-server/dist/routes/issues.d.ts.map +1 -0
  392. package/node_modules/@sudocode-ai/local-server/dist/routes/issues.js +419 -0
  393. package/node_modules/@sudocode-ai/local-server/dist/routes/issues.js.map +1 -0
  394. package/node_modules/@sudocode-ai/local-server/dist/routes/plugins.d.ts +34 -0
  395. package/node_modules/@sudocode-ai/local-server/dist/routes/plugins.d.ts.map +1 -0
  396. package/node_modules/@sudocode-ai/local-server/dist/routes/plugins.js +602 -0
  397. package/node_modules/@sudocode-ai/local-server/dist/routes/plugins.js.map +1 -0
  398. package/node_modules/@sudocode-ai/local-server/dist/routes/projects.d.ts +11 -0
  399. package/node_modules/@sudocode-ai/local-server/dist/routes/projects.d.ts.map +1 -0
  400. package/node_modules/@sudocode-ai/local-server/dist/routes/projects.js +536 -0
  401. package/node_modules/@sudocode-ai/local-server/dist/routes/projects.js.map +1 -0
  402. package/node_modules/@sudocode-ai/local-server/dist/routes/relationships.d.ts +8 -0
  403. package/node_modules/@sudocode-ai/local-server/dist/routes/relationships.d.ts.map +1 -0
  404. package/node_modules/@sudocode-ai/local-server/dist/routes/relationships.js +310 -0
  405. package/node_modules/@sudocode-ai/local-server/dist/routes/relationships.js.map +1 -0
  406. package/node_modules/@sudocode-ai/local-server/dist/routes/repo-info.d.ts +3 -0
  407. package/node_modules/@sudocode-ai/local-server/dist/routes/repo-info.d.ts.map +1 -0
  408. package/node_modules/@sudocode-ai/local-server/dist/routes/repo-info.js +203 -0
  409. package/node_modules/@sudocode-ai/local-server/dist/routes/repo-info.js.map +1 -0
  410. package/node_modules/@sudocode-ai/local-server/dist/routes/specs.d.ts +8 -0
  411. package/node_modules/@sudocode-ai/local-server/dist/routes/specs.d.ts.map +1 -0
  412. package/node_modules/@sudocode-ai/local-server/dist/routes/specs.js +414 -0
  413. package/node_modules/@sudocode-ai/local-server/dist/routes/specs.js.map +1 -0
  414. package/node_modules/@sudocode-ai/local-server/dist/routes/update.d.ts +7 -0
  415. package/node_modules/@sudocode-ai/local-server/dist/routes/update.d.ts.map +1 -0
  416. package/node_modules/@sudocode-ai/local-server/dist/routes/update.js +194 -0
  417. package/node_modules/@sudocode-ai/local-server/dist/routes/update.js.map +1 -0
  418. package/node_modules/@sudocode-ai/local-server/dist/routes/version.d.ts +3 -0
  419. package/node_modules/@sudocode-ai/local-server/dist/routes/version.d.ts.map +1 -0
  420. package/node_modules/@sudocode-ai/local-server/dist/routes/version.js +25 -0
  421. package/node_modules/@sudocode-ai/local-server/dist/routes/version.js.map +1 -0
  422. package/node_modules/@sudocode-ai/local-server/dist/routes/workflows.d.ts +8 -0
  423. package/node_modules/@sudocode-ai/local-server/dist/routes/workflows.d.ts.map +1 -0
  424. package/node_modules/@sudocode-ai/local-server/dist/routes/workflows.js +1729 -0
  425. package/node_modules/@sudocode-ai/local-server/dist/routes/workflows.js.map +1 -0
  426. package/node_modules/@sudocode-ai/local-server/dist/services/agent-registry.d.ts +140 -0
  427. package/node_modules/@sudocode-ai/local-server/dist/services/agent-registry.d.ts.map +1 -0
  428. package/node_modules/@sudocode-ai/local-server/dist/services/agent-registry.js +272 -0
  429. package/node_modules/@sudocode-ai/local-server/dist/services/agent-registry.js.map +1 -0
  430. package/node_modules/@sudocode-ai/local-server/dist/services/db.d.ts +33 -0
  431. package/node_modules/@sudocode-ai/local-server/dist/services/db.d.ts.map +1 -0
  432. package/node_modules/@sudocode-ai/local-server/dist/services/db.js +90 -0
  433. package/node_modules/@sudocode-ai/local-server/dist/services/db.js.map +1 -0
  434. package/node_modules/@sudocode-ai/local-server/dist/services/editor-service.d.ts +57 -0
  435. package/node_modules/@sudocode-ai/local-server/dist/services/editor-service.d.ts.map +1 -0
  436. package/node_modules/@sudocode-ai/local-server/dist/services/editor-service.js +204 -0
  437. package/node_modules/@sudocode-ai/local-server/dist/services/editor-service.js.map +1 -0
  438. package/node_modules/@sudocode-ai/local-server/dist/services/execution-changes-service.d.ts +110 -0
  439. package/node_modules/@sudocode-ai/local-server/dist/services/execution-changes-service.d.ts.map +1 -0
  440. package/node_modules/@sudocode-ai/local-server/dist/services/execution-changes-service.js +710 -0
  441. package/node_modules/@sudocode-ai/local-server/dist/services/execution-changes-service.js.map +1 -0
  442. package/node_modules/@sudocode-ai/local-server/dist/services/execution-event-callbacks.d.ts +73 -0
  443. package/node_modules/@sudocode-ai/local-server/dist/services/execution-event-callbacks.d.ts.map +1 -0
  444. package/node_modules/@sudocode-ai/local-server/dist/services/execution-event-callbacks.js +82 -0
  445. package/node_modules/@sudocode-ai/local-server/dist/services/execution-event-callbacks.js.map +1 -0
  446. package/node_modules/@sudocode-ai/local-server/dist/services/execution-lifecycle.d.ts +145 -0
  447. package/node_modules/@sudocode-ai/local-server/dist/services/execution-lifecycle.d.ts.map +1 -0
  448. package/node_modules/@sudocode-ai/local-server/dist/services/execution-lifecycle.js +392 -0
  449. package/node_modules/@sudocode-ai/local-server/dist/services/execution-lifecycle.js.map +1 -0
  450. package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-cleanup.d.ts +88 -0
  451. package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-cleanup.d.ts.map +1 -0
  452. package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-cleanup.js +137 -0
  453. package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-cleanup.js.map +1 -0
  454. package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-store.d.ts +252 -0
  455. package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-store.d.ts.map +1 -0
  456. package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-store.js +379 -0
  457. package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-store.js.map +1 -0
  458. package/node_modules/@sudocode-ai/local-server/dist/services/execution-service.d.ts +280 -0
  459. package/node_modules/@sudocode-ai/local-server/dist/services/execution-service.d.ts.map +1 -0
  460. package/node_modules/@sudocode-ai/local-server/dist/services/execution-service.js +1240 -0
  461. package/node_modules/@sudocode-ai/local-server/dist/services/execution-service.js.map +1 -0
  462. package/node_modules/@sudocode-ai/local-server/dist/services/execution-worker-pool.d.ts +116 -0
  463. package/node_modules/@sudocode-ai/local-server/dist/services/execution-worker-pool.d.ts.map +1 -0
  464. package/node_modules/@sudocode-ai/local-server/dist/services/execution-worker-pool.js +326 -0
  465. package/node_modules/@sudocode-ai/local-server/dist/services/execution-worker-pool.js.map +1 -0
  466. package/node_modules/@sudocode-ai/local-server/dist/services/executions.d.ts +63 -0
  467. package/node_modules/@sudocode-ai/local-server/dist/services/executions.d.ts.map +1 -0
  468. package/node_modules/@sudocode-ai/local-server/dist/services/executions.js +177 -0
  469. package/node_modules/@sudocode-ai/local-server/dist/services/executions.js.map +1 -0
  470. package/node_modules/@sudocode-ai/local-server/dist/services/export.d.ts +32 -0
  471. package/node_modules/@sudocode-ai/local-server/dist/services/export.d.ts.map +1 -0
  472. package/node_modules/@sudocode-ai/local-server/dist/services/export.js +114 -0
  473. package/node_modules/@sudocode-ai/local-server/dist/services/export.js.map +1 -0
  474. package/node_modules/@sudocode-ai/local-server/dist/services/external-refresh-service.d.ts +104 -0
  475. package/node_modules/@sudocode-ai/local-server/dist/services/external-refresh-service.d.ts.map +1 -0
  476. package/node_modules/@sudocode-ai/local-server/dist/services/external-refresh-service.js +520 -0
  477. package/node_modules/@sudocode-ai/local-server/dist/services/external-refresh-service.js.map +1 -0
  478. package/node_modules/@sudocode-ai/local-server/dist/services/feedback.d.ts +56 -0
  479. package/node_modules/@sudocode-ai/local-server/dist/services/feedback.d.ts.map +1 -0
  480. package/node_modules/@sudocode-ai/local-server/dist/services/feedback.js +78 -0
  481. package/node_modules/@sudocode-ai/local-server/dist/services/feedback.js.map +1 -0
  482. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/git-ls-files-strategy.d.ts +72 -0
  483. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/git-ls-files-strategy.d.ts.map +1 -0
  484. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/git-ls-files-strategy.js +176 -0
  485. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/git-ls-files-strategy.js.map +1 -0
  486. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/index.d.ts +9 -0
  487. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/index.d.ts.map +1 -0
  488. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/index.js +10 -0
  489. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/index.js.map +1 -0
  490. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/registry.d.ts +97 -0
  491. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/registry.d.ts.map +1 -0
  492. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/registry.js +140 -0
  493. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/registry.js.map +1 -0
  494. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/strategy.d.ts +58 -0
  495. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/strategy.d.ts.map +1 -0
  496. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/strategy.js +8 -0
  497. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/strategy.js.map +1 -0
  498. package/node_modules/@sudocode-ai/local-server/dist/services/integration-sync-service.d.ts +185 -0
  499. package/node_modules/@sudocode-ai/local-server/dist/services/integration-sync-service.d.ts.map +1 -0
  500. package/node_modules/@sudocode-ai/local-server/dist/services/integration-sync-service.js +428 -0
  501. package/node_modules/@sudocode-ai/local-server/dist/services/integration-sync-service.js.map +1 -0
  502. package/node_modules/@sudocode-ai/local-server/dist/services/issues.d.ts +27 -0
  503. package/node_modules/@sudocode-ai/local-server/dist/services/issues.d.ts.map +1 -0
  504. package/node_modules/@sudocode-ai/local-server/dist/services/issues.js +35 -0
  505. package/node_modules/@sudocode-ai/local-server/dist/services/issues.js.map +1 -0
  506. package/node_modules/@sudocode-ai/local-server/dist/services/project-context.d.ts +97 -0
  507. package/node_modules/@sudocode-ai/local-server/dist/services/project-context.d.ts.map +1 -0
  508. package/node_modules/@sudocode-ai/local-server/dist/services/project-context.js +170 -0
  509. package/node_modules/@sudocode-ai/local-server/dist/services/project-context.js.map +1 -0
  510. package/node_modules/@sudocode-ai/local-server/dist/services/project-manager.d.ts +102 -0
  511. package/node_modules/@sudocode-ai/local-server/dist/services/project-manager.d.ts.map +1 -0
  512. package/node_modules/@sudocode-ai/local-server/dist/services/project-manager.js +502 -0
  513. package/node_modules/@sudocode-ai/local-server/dist/services/project-manager.js.map +1 -0
  514. package/node_modules/@sudocode-ai/local-server/dist/services/project-registry.d.ts +98 -0
  515. package/node_modules/@sudocode-ai/local-server/dist/services/project-registry.d.ts.map +1 -0
  516. package/node_modules/@sudocode-ai/local-server/dist/services/project-registry.js +289 -0
  517. package/node_modules/@sudocode-ai/local-server/dist/services/project-registry.js.map +1 -0
  518. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-resolver.d.ts +97 -0
  519. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-resolver.d.ts.map +1 -0
  520. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-resolver.js +377 -0
  521. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-resolver.js.map +1 -0
  522. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-template-engine.d.ts +108 -0
  523. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-template-engine.d.ts.map +1 -0
  524. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-template-engine.js +212 -0
  525. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-template-engine.js.map +1 -0
  526. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-templates.d.ts +97 -0
  527. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-templates.d.ts.map +1 -0
  528. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-templates.js +236 -0
  529. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-templates.js.map +1 -0
  530. package/node_modules/@sudocode-ai/local-server/dist/services/relationships.d.ts +35 -0
  531. package/node_modules/@sudocode-ai/local-server/dist/services/relationships.d.ts.map +1 -0
  532. package/node_modules/@sudocode-ai/local-server/dist/services/relationships.js +42 -0
  533. package/node_modules/@sudocode-ai/local-server/dist/services/relationships.js.map +1 -0
  534. package/node_modules/@sudocode-ai/local-server/dist/services/repo-info.d.ts +33 -0
  535. package/node_modules/@sudocode-ai/local-server/dist/services/repo-info.d.ts.map +1 -0
  536. package/node_modules/@sudocode-ai/local-server/dist/services/repo-info.js +136 -0
  537. package/node_modules/@sudocode-ai/local-server/dist/services/repo-info.js.map +1 -0
  538. package/node_modules/@sudocode-ai/local-server/dist/services/specs.d.ts +27 -0
  539. package/node_modules/@sudocode-ai/local-server/dist/services/specs.d.ts.map +1 -0
  540. package/node_modules/@sudocode-ai/local-server/dist/services/specs.js +35 -0
  541. package/node_modules/@sudocode-ai/local-server/dist/services/specs.js.map +1 -0
  542. package/node_modules/@sudocode-ai/local-server/dist/services/version-service.d.ts +14 -0
  543. package/node_modules/@sudocode-ai/local-server/dist/services/version-service.d.ts.map +1 -0
  544. package/node_modules/@sudocode-ai/local-server/dist/services/version-service.js +57 -0
  545. package/node_modules/@sudocode-ai/local-server/dist/services/version-service.js.map +1 -0
  546. package/node_modules/@sudocode-ai/local-server/dist/services/watcher.d.ts +49 -0
  547. package/node_modules/@sudocode-ai/local-server/dist/services/watcher.d.ts.map +1 -0
  548. package/node_modules/@sudocode-ai/local-server/dist/services/watcher.js +52 -0
  549. package/node_modules/@sudocode-ai/local-server/dist/services/watcher.js.map +1 -0
  550. package/node_modules/@sudocode-ai/local-server/dist/services/websocket.d.ts +179 -0
  551. package/node_modules/@sudocode-ai/local-server/dist/services/websocket.d.ts.map +1 -0
  552. package/node_modules/@sudocode-ai/local-server/dist/services/websocket.js +543 -0
  553. package/node_modules/@sudocode-ai/local-server/dist/services/websocket.js.map +1 -0
  554. package/node_modules/@sudocode-ai/local-server/dist/services/workflow-broadcast-service.d.ts +43 -0
  555. package/node_modules/@sudocode-ai/local-server/dist/services/workflow-broadcast-service.d.ts.map +1 -0
  556. package/node_modules/@sudocode-ai/local-server/dist/services/workflow-broadcast-service.js +155 -0
  557. package/node_modules/@sudocode-ai/local-server/dist/services/workflow-broadcast-service.js.map +1 -0
  558. package/node_modules/@sudocode-ai/local-server/dist/services/worktree-sync-service.d.ts +437 -0
  559. package/node_modules/@sudocode-ai/local-server/dist/services/worktree-sync-service.d.ts.map +1 -0
  560. package/node_modules/@sudocode-ai/local-server/dist/services/worktree-sync-service.js +1505 -0
  561. package/node_modules/@sudocode-ai/local-server/dist/services/worktree-sync-service.js.map +1 -0
  562. package/node_modules/@sudocode-ai/local-server/dist/types/editor.d.ts +49 -0
  563. package/node_modules/@sudocode-ai/local-server/dist/types/editor.d.ts.map +1 -0
  564. package/node_modules/@sudocode-ai/local-server/dist/types/editor.js +50 -0
  565. package/node_modules/@sudocode-ai/local-server/dist/types/editor.js.map +1 -0
  566. package/node_modules/@sudocode-ai/local-server/dist/types/project.d.ts +58 -0
  567. package/node_modules/@sudocode-ai/local-server/dist/types/project.d.ts.map +1 -0
  568. package/node_modules/@sudocode-ai/local-server/dist/types/project.js +10 -0
  569. package/node_modules/@sudocode-ai/local-server/dist/types/project.js.map +1 -0
  570. package/node_modules/@sudocode-ai/local-server/dist/utils/execFileNoThrow.d.ts +43 -0
  571. package/node_modules/@sudocode-ai/local-server/dist/utils/execFileNoThrow.d.ts.map +1 -0
  572. package/node_modules/@sudocode-ai/local-server/dist/utils/execFileNoThrow.js +53 -0
  573. package/node_modules/@sudocode-ai/local-server/dist/utils/execFileNoThrow.js.map +1 -0
  574. package/node_modules/@sudocode-ai/local-server/dist/utils/executable-check.d.ts +36 -0
  575. package/node_modules/@sudocode-ai/local-server/dist/utils/executable-check.d.ts.map +1 -0
  576. package/node_modules/@sudocode-ai/local-server/dist/utils/executable-check.js +79 -0
  577. package/node_modules/@sudocode-ai/local-server/dist/utils/executable-check.js.map +1 -0
  578. package/node_modules/@sudocode-ai/local-server/dist/utils/sudocode-dir.d.ts +6 -0
  579. package/node_modules/@sudocode-ai/local-server/dist/utils/sudocode-dir.d.ts.map +1 -0
  580. package/node_modules/@sudocode-ai/local-server/dist/utils/sudocode-dir.js +9 -0
  581. package/node_modules/@sudocode-ai/local-server/dist/utils/sudocode-dir.js.map +1 -0
  582. package/node_modules/@sudocode-ai/local-server/dist/workers/execution-worker.d.ts +18 -0
  583. package/node_modules/@sudocode-ai/local-server/dist/workers/execution-worker.d.ts.map +1 -0
  584. package/node_modules/@sudocode-ai/local-server/dist/workers/execution-worker.js +340 -0
  585. package/node_modules/@sudocode-ai/local-server/dist/workers/execution-worker.js.map +1 -0
  586. package/node_modules/@sudocode-ai/local-server/dist/workers/worker-ipc.d.ts +84 -0
  587. package/node_modules/@sudocode-ai/local-server/dist/workers/worker-ipc.d.ts.map +1 -0
  588. package/node_modules/@sudocode-ai/local-server/dist/workers/worker-ipc.js +29 -0
  589. package/node_modules/@sudocode-ai/local-server/dist/workers/worker-ipc.js.map +1 -0
  590. package/node_modules/@sudocode-ai/local-server/dist/workflow/base-workflow-engine.d.ts +186 -0
  591. package/node_modules/@sudocode-ai/local-server/dist/workflow/base-workflow-engine.d.ts.map +1 -0
  592. package/node_modules/@sudocode-ai/local-server/dist/workflow/base-workflow-engine.js +557 -0
  593. package/node_modules/@sudocode-ai/local-server/dist/workflow/base-workflow-engine.js.map +1 -0
  594. package/node_modules/@sudocode-ai/local-server/dist/workflow/dependency-analyzer.d.ts +78 -0
  595. package/node_modules/@sudocode-ai/local-server/dist/workflow/dependency-analyzer.d.ts.map +1 -0
  596. package/node_modules/@sudocode-ai/local-server/dist/workflow/dependency-analyzer.js +264 -0
  597. package/node_modules/@sudocode-ai/local-server/dist/workflow/dependency-analyzer.js.map +1 -0
  598. package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/orchestrator-engine.d.ts +237 -0
  599. package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/orchestrator-engine.d.ts.map +1 -0
  600. package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/orchestrator-engine.js +749 -0
  601. package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/orchestrator-engine.js.map +1 -0
  602. package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/sequential-engine.d.ts +276 -0
  603. package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/sequential-engine.d.ts.map +1 -0
  604. package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/sequential-engine.js +1110 -0
  605. package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/sequential-engine.js.map +1 -0
  606. package/node_modules/@sudocode-ai/local-server/dist/workflow/index.d.ts +15 -0
  607. package/node_modules/@sudocode-ai/local-server/dist/workflow/index.d.ts.map +1 -0
  608. package/node_modules/@sudocode-ai/local-server/dist/workflow/index.js +22 -0
  609. package/node_modules/@sudocode-ai/local-server/dist/workflow/index.js.map +1 -0
  610. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/api-client.d.ts +103 -0
  611. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/api-client.d.ts.map +1 -0
  612. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/api-client.js +193 -0
  613. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/api-client.js.map +1 -0
  614. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/index.d.ts +16 -0
  615. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/index.d.ts.map +1 -0
  616. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/index.js +114 -0
  617. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/index.js.map +1 -0
  618. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/server.d.ts +85 -0
  619. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/server.d.ts.map +1 -0
  620. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/server.js +520 -0
  621. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/server.js.map +1 -0
  622. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/escalation.d.ts +36 -0
  623. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/escalation.d.ts.map +1 -0
  624. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/escalation.js +47 -0
  625. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/escalation.js.map +1 -0
  626. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/execution.d.ts +59 -0
  627. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/execution.d.ts.map +1 -0
  628. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/execution.js +67 -0
  629. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/execution.js.map +1 -0
  630. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/inspection.d.ts +82 -0
  631. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/inspection.d.ts.map +1 -0
  632. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/inspection.js +57 -0
  633. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/inspection.js.map +1 -0
  634. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/workflow.d.ts +59 -0
  635. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/workflow.d.ts.map +1 -0
  636. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/workflow.js +40 -0
  637. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/workflow.js.map +1 -0
  638. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/types.d.ts +345 -0
  639. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/types.d.ts.map +1 -0
  640. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/types.js +7 -0
  641. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/types.js.map +1 -0
  642. package/node_modules/@sudocode-ai/local-server/dist/workflow/services/prompt-builder.d.ts +36 -0
  643. package/node_modules/@sudocode-ai/local-server/dist/workflow/services/prompt-builder.d.ts.map +1 -0
  644. package/node_modules/@sudocode-ai/local-server/dist/workflow/services/prompt-builder.js +329 -0
  645. package/node_modules/@sudocode-ai/local-server/dist/workflow/services/prompt-builder.js.map +1 -0
  646. package/node_modules/@sudocode-ai/local-server/dist/workflow/services/wakeup-service.d.ts +262 -0
  647. package/node_modules/@sudocode-ai/local-server/dist/workflow/services/wakeup-service.d.ts.map +1 -0
  648. package/node_modules/@sudocode-ai/local-server/dist/workflow/services/wakeup-service.js +809 -0
  649. package/node_modules/@sudocode-ai/local-server/dist/workflow/services/wakeup-service.js.map +1 -0
  650. package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-engine.d.ts +221 -0
  651. package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-engine.d.ts.map +1 -0
  652. package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-engine.js +94 -0
  653. package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-engine.js.map +1 -0
  654. package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-event-emitter.d.ts +278 -0
  655. package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-event-emitter.d.ts.map +1 -0
  656. package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-event-emitter.js +259 -0
  657. package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-event-emitter.js.map +1 -0
  658. package/node_modules/@sudocode-ai/local-server/package.json +78 -0
  659. package/node_modules/@sudocode-ai/mcp/README.md +226 -0
  660. package/node_modules/@sudocode-ai/mcp/dist/client.d.ts +33 -0
  661. package/node_modules/@sudocode-ai/mcp/dist/client.d.ts.map +1 -0
  662. package/node_modules/@sudocode-ai/mcp/dist/client.js +166 -0
  663. package/node_modules/@sudocode-ai/mcp/dist/client.js.map +1 -0
  664. package/node_modules/@sudocode-ai/mcp/dist/index.d.ts +6 -0
  665. package/node_modules/@sudocode-ai/mcp/dist/index.d.ts.map +1 -0
  666. package/node_modules/@sudocode-ai/mcp/dist/index.js +64 -0
  667. package/node_modules/@sudocode-ai/mcp/dist/index.js.map +1 -0
  668. package/node_modules/@sudocode-ai/mcp/dist/server.d.ts +26 -0
  669. package/node_modules/@sudocode-ai/mcp/dist/server.d.ts.map +1 -0
  670. package/node_modules/@sudocode-ai/mcp/dist/server.js +577 -0
  671. package/node_modules/@sudocode-ai/mcp/dist/server.js.map +1 -0
  672. package/node_modules/@sudocode-ai/mcp/dist/tools/analytics.d.ts +41 -0
  673. package/node_modules/@sudocode-ai/mcp/dist/tools/analytics.d.ts.map +1 -0
  674. package/node_modules/@sudocode-ai/mcp/dist/tools/analytics.js +21 -0
  675. package/node_modules/@sudocode-ai/mcp/dist/tools/analytics.js.map +1 -0
  676. package/node_modules/@sudocode-ai/mcp/dist/tools/feedback.d.ts +21 -0
  677. package/node_modules/@sudocode-ai/mcp/dist/tools/feedback.d.ts.map +1 -0
  678. package/node_modules/@sudocode-ai/mcp/dist/tools/feedback.js +30 -0
  679. package/node_modules/@sudocode-ai/mcp/dist/tools/feedback.js.map +1 -0
  680. package/node_modules/@sudocode-ai/mcp/dist/tools/init.d.ts +17 -0
  681. package/node_modules/@sudocode-ai/mcp/dist/tools/init.d.ts.map +1 -0
  682. package/node_modules/@sudocode-ai/mcp/dist/tools/init.js +15 -0
  683. package/node_modules/@sudocode-ai/mcp/dist/tools/init.js.map +1 -0
  684. package/node_modules/@sudocode-ai/mcp/dist/tools/issues.d.ts +44 -0
  685. package/node_modules/@sudocode-ai/mcp/dist/tools/issues.d.ts.map +1 -0
  686. package/node_modules/@sudocode-ai/mcp/dist/tools/issues.js +109 -0
  687. package/node_modules/@sudocode-ai/mcp/dist/tools/issues.js.map +1 -0
  688. package/node_modules/@sudocode-ai/mcp/dist/tools/references.d.ts +21 -0
  689. package/node_modules/@sudocode-ai/mcp/dist/tools/references.d.ts.map +1 -0
  690. package/node_modules/@sudocode-ai/mcp/dist/tools/references.js +49 -0
  691. package/node_modules/@sudocode-ai/mcp/dist/tools/references.js.map +1 -0
  692. package/node_modules/@sudocode-ai/mcp/dist/tools/relationships.d.ts +15 -0
  693. package/node_modules/@sudocode-ai/mcp/dist/tools/relationships.d.ts.map +1 -0
  694. package/node_modules/@sudocode-ai/mcp/dist/tools/relationships.js +18 -0
  695. package/node_modules/@sudocode-ai/mcp/dist/tools/relationships.js.map +1 -0
  696. package/node_modules/@sudocode-ai/mcp/dist/tools/specs.d.ts +35 -0
  697. package/node_modules/@sudocode-ai/mcp/dist/tools/specs.d.ts.map +1 -0
  698. package/node_modules/@sudocode-ai/mcp/dist/tools/specs.js +85 -0
  699. package/node_modules/@sudocode-ai/mcp/dist/tools/specs.js.map +1 -0
  700. package/node_modules/@sudocode-ai/mcp/dist/types.d.ts +35 -0
  701. package/node_modules/@sudocode-ai/mcp/dist/types.d.ts.map +1 -0
  702. package/node_modules/@sudocode-ai/mcp/dist/types.js +21 -0
  703. package/node_modules/@sudocode-ai/mcp/dist/types.js.map +1 -0
  704. package/node_modules/@sudocode-ai/mcp/package.json +67 -0
  705. package/node_modules/@sudocode-ai/types/README.md +7 -0
  706. package/node_modules/@sudocode-ai/types/package.json +76 -0
  707. package/node_modules/@sudocode-ai/types/src/agents.d.ts +278 -0
  708. package/node_modules/@sudocode-ai/types/src/artifacts.d.ts +66 -0
  709. package/node_modules/@sudocode-ai/types/src/events.d.ts +70 -0
  710. package/node_modules/@sudocode-ai/types/src/index.d.ts +452 -0
  711. package/node_modules/@sudocode-ai/types/src/integrations.d.ts +454 -0
  712. package/node_modules/@sudocode-ai/types/src/workflows.d.ts +501 -0
  713. package/node_modules/commander/LICENSE +22 -0
  714. package/node_modules/commander/Readme.md +1149 -0
  715. package/node_modules/commander/esm.mjs +16 -0
  716. package/node_modules/commander/index.js +24 -0
  717. package/node_modules/commander/lib/argument.js +149 -0
  718. package/node_modules/commander/lib/command.js +2662 -0
  719. package/node_modules/commander/lib/error.js +39 -0
  720. package/node_modules/commander/lib/help.js +709 -0
  721. package/node_modules/commander/lib/option.js +367 -0
  722. package/node_modules/commander/lib/suggestSimilar.js +101 -0
  723. package/node_modules/commander/package-support.json +16 -0
  724. package/node_modules/commander/package.json +82 -0
  725. package/node_modules/commander/typings/esm.d.mts +3 -0
  726. package/node_modules/commander/typings/index.d.ts +1045 -0
  727. package/node_modules/glob/LICENSE +15 -0
  728. package/node_modules/glob/README.md +1265 -0
  729. package/node_modules/glob/package.json +99 -0
  730. package/node_modules/isexe/LICENSE +15 -0
  731. package/node_modules/isexe/README.md +74 -0
  732. package/node_modules/isexe/package.json +96 -0
  733. package/node_modules/which/LICENSE +15 -0
  734. package/node_modules/which/README.md +51 -0
  735. package/node_modules/which/bin/which.js +52 -0
  736. package/node_modules/which/lib/index.js +111 -0
  737. package/node_modules/which/package.json +52 -0
  738. package/package.json +9 -9
@@ -0,0 +1,1045 @@
1
+ // Type definitions for commander
2
+ // Original definitions by: Alan Agius <https://github.com/alan-agius4>, Marcelo Dezem <https://github.com/mdezem>, vvakame <https://github.com/vvakame>, Jules Randolph <https://github.com/sveinburne>
3
+
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+
6
+ // This is a trick to encourage editor to suggest the known literals while still
7
+ // allowing any BaseType value.
8
+ // References:
9
+ // - https://github.com/microsoft/TypeScript/issues/29729
10
+ // - https://github.com/sindresorhus/type-fest/blob/main/source/literal-union.d.ts
11
+ // - https://github.com/sindresorhus/type-fest/blob/main/source/primitive.d.ts
12
+ type LiteralUnion<LiteralType, BaseType extends string | number> =
13
+ | LiteralType
14
+ | (BaseType & Record<never, never>);
15
+
16
+ export class CommanderError extends Error {
17
+ code: string;
18
+ exitCode: number;
19
+ message: string;
20
+ nestedError?: string;
21
+
22
+ /**
23
+ * Constructs the CommanderError class
24
+ * @param exitCode - suggested exit code which could be used with process.exit
25
+ * @param code - an id string representing the error
26
+ * @param message - human-readable description of the error
27
+ */
28
+ constructor(exitCode: number, code: string, message: string);
29
+ }
30
+
31
+ export class InvalidArgumentError extends CommanderError {
32
+ /**
33
+ * Constructs the InvalidArgumentError class
34
+ * @param message - explanation of why argument is invalid
35
+ */
36
+ constructor(message: string);
37
+ }
38
+ export { InvalidArgumentError as InvalidOptionArgumentError }; // deprecated old name
39
+
40
+ export interface ErrorOptions {
41
+ // optional parameter for error()
42
+ /** an id string representing the error */
43
+ code?: string;
44
+ /** suggested exit code which could be used with process.exit */
45
+ exitCode?: number;
46
+ }
47
+
48
+ export class Argument {
49
+ description: string;
50
+ required: boolean;
51
+ variadic: boolean;
52
+ defaultValue?: any;
53
+ defaultValueDescription?: string;
54
+ argChoices?: string[];
55
+
56
+ /**
57
+ * Initialize a new command argument with the given name and description.
58
+ * The default is that the argument is required, and you can explicitly
59
+ * indicate this with <> around the name. Put [] around the name for an optional argument.
60
+ */
61
+ constructor(arg: string, description?: string);
62
+
63
+ /**
64
+ * Return argument name.
65
+ */
66
+ name(): string;
67
+
68
+ /**
69
+ * Set the default value, and optionally supply the description to be displayed in the help.
70
+ */
71
+ default(value: unknown, description?: string): this;
72
+
73
+ /**
74
+ * Set the custom handler for processing CLI command arguments into argument values.
75
+ */
76
+ argParser<T>(fn: (value: string, previous: T) => T): this;
77
+
78
+ /**
79
+ * Only allow argument value to be one of choices.
80
+ */
81
+ choices(values: readonly string[]): this;
82
+
83
+ /**
84
+ * Make argument required.
85
+ */
86
+ argRequired(): this;
87
+
88
+ /**
89
+ * Make argument optional.
90
+ */
91
+ argOptional(): this;
92
+ }
93
+
94
+ export class Option {
95
+ flags: string;
96
+ description: string;
97
+
98
+ required: boolean; // A value must be supplied when the option is specified.
99
+ optional: boolean; // A value is optional when the option is specified.
100
+ variadic: boolean;
101
+ mandatory: boolean; // The option must have a value after parsing, which usually means it must be specified on command line.
102
+ short?: string;
103
+ long?: string;
104
+ negate: boolean;
105
+ defaultValue?: any;
106
+ defaultValueDescription?: string;
107
+ presetArg?: unknown;
108
+ envVar?: string;
109
+ parseArg?: <T>(value: string, previous: T) => T;
110
+ hidden: boolean;
111
+ argChoices?: string[];
112
+
113
+ constructor(flags: string, description?: string);
114
+
115
+ /**
116
+ * Set the default value, and optionally supply the description to be displayed in the help.
117
+ */
118
+ default(value: unknown, description?: string): this;
119
+
120
+ /**
121
+ * Preset to use when option used without option-argument, especially optional but also boolean and negated.
122
+ * The custom processing (parseArg) is called.
123
+ *
124
+ * @example
125
+ * ```ts
126
+ * new Option('--color').default('GREYSCALE').preset('RGB');
127
+ * new Option('--donate [amount]').preset('20').argParser(parseFloat);
128
+ * ```
129
+ */
130
+ preset(arg: unknown): this;
131
+
132
+ /**
133
+ * Add option name(s) that conflict with this option.
134
+ * An error will be displayed if conflicting options are found during parsing.
135
+ *
136
+ * @example
137
+ * ```ts
138
+ * new Option('--rgb').conflicts('cmyk');
139
+ * new Option('--js').conflicts(['ts', 'jsx']);
140
+ * ```
141
+ */
142
+ conflicts(names: string | string[]): this;
143
+
144
+ /**
145
+ * Specify implied option values for when this option is set and the implied options are not.
146
+ *
147
+ * The custom processing (parseArg) is not called on the implied values.
148
+ *
149
+ * @example
150
+ * program
151
+ * .addOption(new Option('--log', 'write logging information to file'))
152
+ * .addOption(new Option('--trace', 'log extra details').implies({ log: 'trace.txt' }));
153
+ */
154
+ implies(optionValues: OptionValues): this;
155
+
156
+ /**
157
+ * Set environment variable to check for option value.
158
+ *
159
+ * An environment variables is only used if when processed the current option value is
160
+ * undefined, or the source of the current value is 'default' or 'config' or 'env'.
161
+ */
162
+ env(name: string): this;
163
+
164
+ /**
165
+ * Set the custom handler for processing CLI option arguments into option values.
166
+ */
167
+ argParser<T>(fn: (value: string, previous: T) => T): this;
168
+
169
+ /**
170
+ * Whether the option is mandatory and must have a value after parsing.
171
+ */
172
+ makeOptionMandatory(mandatory?: boolean): this;
173
+
174
+ /**
175
+ * Hide option in help.
176
+ */
177
+ hideHelp(hide?: boolean): this;
178
+
179
+ /**
180
+ * Only allow option value to be one of choices.
181
+ */
182
+ choices(values: readonly string[]): this;
183
+
184
+ /**
185
+ * Return option name.
186
+ */
187
+ name(): string;
188
+
189
+ /**
190
+ * Return option name, in a camelcase format that can be used
191
+ * as an object attribute key.
192
+ */
193
+ attributeName(): string;
194
+
195
+ /**
196
+ * Return whether a boolean option.
197
+ *
198
+ * Options are one of boolean, negated, required argument, or optional argument.
199
+ */
200
+ isBoolean(): boolean;
201
+ }
202
+
203
+ export class Help {
204
+ /** output helpWidth, long lines are wrapped to fit */
205
+ helpWidth?: number;
206
+ minWidthToWrap: number;
207
+ sortSubcommands: boolean;
208
+ sortOptions: boolean;
209
+ showGlobalOptions: boolean;
210
+
211
+ constructor();
212
+
213
+ /*
214
+ * prepareContext is called by Commander after applying overrides from `Command.configureHelp()`
215
+ * and just before calling `formatHelp()`.
216
+ *
217
+ * Commander just uses the helpWidth and the others are provided for subclasses.
218
+ */
219
+ prepareContext(contextOptions: {
220
+ error?: boolean;
221
+ helpWidth?: number;
222
+ outputHasColors?: boolean;
223
+ }): void;
224
+
225
+ /** Get the command term to show in the list of subcommands. */
226
+ subcommandTerm(cmd: Command): string;
227
+ /** Get the command summary to show in the list of subcommands. */
228
+ subcommandDescription(cmd: Command): string;
229
+ /** Get the option term to show in the list of options. */
230
+ optionTerm(option: Option): string;
231
+ /** Get the option description to show in the list of options. */
232
+ optionDescription(option: Option): string;
233
+ /** Get the argument term to show in the list of arguments. */
234
+ argumentTerm(argument: Argument): string;
235
+ /** Get the argument description to show in the list of arguments. */
236
+ argumentDescription(argument: Argument): string;
237
+
238
+ /** Get the command usage to be displayed at the top of the built-in help. */
239
+ commandUsage(cmd: Command): string;
240
+ /** Get the description for the command. */
241
+ commandDescription(cmd: Command): string;
242
+
243
+ /** Get an array of the visible subcommands. Includes a placeholder for the implicit help command, if there is one. */
244
+ visibleCommands(cmd: Command): Command[];
245
+ /** Get an array of the visible options. Includes a placeholder for the implicit help option, if there is one. */
246
+ visibleOptions(cmd: Command): Option[];
247
+ /** Get an array of the visible global options. (Not including help.) */
248
+ visibleGlobalOptions(cmd: Command): Option[];
249
+ /** Get an array of the arguments which have descriptions. */
250
+ visibleArguments(cmd: Command): Argument[];
251
+
252
+ /** Get the longest command term length. */
253
+ longestSubcommandTermLength(cmd: Command, helper: Help): number;
254
+ /** Get the longest option term length. */
255
+ longestOptionTermLength(cmd: Command, helper: Help): number;
256
+ /** Get the longest global option term length. */
257
+ longestGlobalOptionTermLength(cmd: Command, helper: Help): number;
258
+ /** Get the longest argument term length. */
259
+ longestArgumentTermLength(cmd: Command, helper: Help): number;
260
+
261
+ /** Return display width of string, ignoring ANSI escape sequences. Used in padding and wrapping calculations. */
262
+ displayWidth(str: string): number;
263
+
264
+ /** Style the titles. Called with 'Usage:', 'Options:', etc. */
265
+ styleTitle(title: string): string;
266
+
267
+ /** Usage: <str> */
268
+ styleUsage(str: string): string;
269
+ /** Style for command name in usage string. */
270
+ styleCommandText(str: string): string;
271
+
272
+ styleCommandDescription(str: string): string;
273
+ styleOptionDescription(str: string): string;
274
+ styleSubcommandDescription(str: string): string;
275
+ styleArgumentDescription(str: string): string;
276
+ /** Base style used by descriptions. */
277
+ styleDescriptionText(str: string): string;
278
+
279
+ styleOptionTerm(str: string): string;
280
+ styleSubcommandTerm(str: string): string;
281
+ styleArgumentTerm(str: string): string;
282
+
283
+ /** Base style used in terms and usage for options. */
284
+ styleOptionText(str: string): string;
285
+ /** Base style used in terms and usage for subcommands. */
286
+ styleSubcommandText(str: string): string;
287
+ /** Base style used in terms and usage for arguments. */
288
+ styleArgumentText(str: string): string;
289
+
290
+ /** Calculate the pad width from the maximum term length. */
291
+ padWidth(cmd: Command, helper: Help): number;
292
+
293
+ /**
294
+ * Wrap a string at whitespace, preserving existing line breaks.
295
+ * Wrapping is skipped if the width is less than `minWidthToWrap`.
296
+ */
297
+ boxWrap(str: string, width: number): string;
298
+
299
+ /** Detect manually wrapped and indented strings by checking for line break followed by whitespace. */
300
+ preformatted(str: string): boolean;
301
+
302
+ /**
303
+ * Format the "item", which consists of a term and description. Pad the term and wrap the description, indenting the following lines.
304
+ *
305
+ * So "TTT", 5, "DDD DDDD DD DDD" might be formatted for this.helpWidth=17 like so:
306
+ * TTT DDD DDDD
307
+ * DD DDD
308
+ */
309
+ formatItem(
310
+ term: string,
311
+ termWidth: number,
312
+ description: string,
313
+ helper: Help,
314
+ ): string;
315
+
316
+ /** Generate the built-in help text. */
317
+ formatHelp(cmd: Command, helper: Help): string;
318
+ }
319
+ export type HelpConfiguration = Partial<Help>;
320
+
321
+ export interface ParseOptions {
322
+ from: 'node' | 'electron' | 'user';
323
+ }
324
+ export interface HelpContext {
325
+ // optional parameter for .help() and .outputHelp()
326
+ error: boolean;
327
+ }
328
+ export interface AddHelpTextContext {
329
+ // passed to text function used with .addHelpText()
330
+ error: boolean;
331
+ command: Command;
332
+ }
333
+ export interface OutputConfiguration {
334
+ writeOut?(str: string): void;
335
+ writeErr?(str: string): void;
336
+ outputError?(str: string, write: (str: string) => void): void;
337
+
338
+ getOutHelpWidth?(): number;
339
+ getErrHelpWidth?(): number;
340
+
341
+ getOutHasColors?(): boolean;
342
+ getErrHasColors?(): boolean;
343
+ stripColor?(str: string): string;
344
+ }
345
+
346
+ export type AddHelpTextPosition = 'beforeAll' | 'before' | 'after' | 'afterAll';
347
+ export type HookEvent = 'preSubcommand' | 'preAction' | 'postAction';
348
+ // The source is a string so author can define their own too.
349
+ export type OptionValueSource =
350
+ | LiteralUnion<'default' | 'config' | 'env' | 'cli' | 'implied', string>
351
+ | undefined;
352
+
353
+ export type OptionValues = Record<string, any>;
354
+
355
+ export class Command {
356
+ args: string[];
357
+ processedArgs: any[];
358
+ readonly commands: readonly Command[];
359
+ readonly options: readonly Option[];
360
+ readonly registeredArguments: readonly Argument[];
361
+ parent: Command | null;
362
+
363
+ constructor(name?: string);
364
+
365
+ /**
366
+ * Set the program version to `str`.
367
+ *
368
+ * This method auto-registers the "-V, --version" flag
369
+ * which will print the version number when passed.
370
+ *
371
+ * You can optionally supply the flags and description to override the defaults.
372
+ */
373
+ version(str: string, flags?: string, description?: string): this;
374
+ /**
375
+ * Get the program version.
376
+ */
377
+ version(): string | undefined;
378
+
379
+ /**
380
+ * Define a command, implemented using an action handler.
381
+ *
382
+ * @remarks
383
+ * The command description is supplied using `.description`, not as a parameter to `.command`.
384
+ *
385
+ * @example
386
+ * ```ts
387
+ * program
388
+ * .command('clone <source> [destination]')
389
+ * .description('clone a repository into a newly created directory')
390
+ * .action((source, destination) => {
391
+ * console.log('clone command called');
392
+ * });
393
+ * ```
394
+ *
395
+ * @param nameAndArgs - command name and arguments, args are `<required>` or `[optional]` and last may also be `variadic...`
396
+ * @param opts - configuration options
397
+ * @returns new command
398
+ */
399
+ command(
400
+ nameAndArgs: string,
401
+ opts?: CommandOptions,
402
+ ): ReturnType<this['createCommand']>;
403
+ /**
404
+ * Define a command, implemented in a separate executable file.
405
+ *
406
+ * @remarks
407
+ * The command description is supplied as the second parameter to `.command`.
408
+ *
409
+ * @example
410
+ * ```ts
411
+ * program
412
+ * .command('start <service>', 'start named service')
413
+ * .command('stop [service]', 'stop named service, or all if no name supplied');
414
+ * ```
415
+ *
416
+ * @param nameAndArgs - command name and arguments, args are `<required>` or `[optional]` and last may also be `variadic...`
417
+ * @param description - description of executable command
418
+ * @param opts - configuration options
419
+ * @returns `this` command for chaining
420
+ */
421
+ command(
422
+ nameAndArgs: string,
423
+ description: string,
424
+ opts?: ExecutableCommandOptions,
425
+ ): this;
426
+
427
+ /**
428
+ * Factory routine to create a new unattached command.
429
+ *
430
+ * See .command() for creating an attached subcommand, which uses this routine to
431
+ * create the command. You can override createCommand to customise subcommands.
432
+ */
433
+ createCommand(name?: string): Command;
434
+
435
+ /**
436
+ * Add a prepared subcommand.
437
+ *
438
+ * See .command() for creating an attached subcommand which inherits settings from its parent.
439
+ *
440
+ * @returns `this` command for chaining
441
+ */
442
+ addCommand(cmd: Command, opts?: CommandOptions): this;
443
+
444
+ /**
445
+ * Factory routine to create a new unattached argument.
446
+ *
447
+ * See .argument() for creating an attached argument, which uses this routine to
448
+ * create the argument. You can override createArgument to return a custom argument.
449
+ */
450
+ createArgument(name: string, description?: string): Argument;
451
+
452
+ /**
453
+ * Define argument syntax for command.
454
+ *
455
+ * The default is that the argument is required, and you can explicitly
456
+ * indicate this with <> around the name. Put [] around the name for an optional argument.
457
+ *
458
+ * @example
459
+ * ```
460
+ * program.argument('<input-file>');
461
+ * program.argument('[output-file]');
462
+ * ```
463
+ *
464
+ * @returns `this` command for chaining
465
+ */
466
+ argument<T>(
467
+ flags: string,
468
+ description: string,
469
+ fn: (value: string, previous: T) => T,
470
+ defaultValue?: T,
471
+ ): this;
472
+ argument(name: string, description?: string, defaultValue?: unknown): this;
473
+
474
+ /**
475
+ * Define argument syntax for command, adding a prepared argument.
476
+ *
477
+ * @returns `this` command for chaining
478
+ */
479
+ addArgument(arg: Argument): this;
480
+
481
+ /**
482
+ * Define argument syntax for command, adding multiple at once (without descriptions).
483
+ *
484
+ * See also .argument().
485
+ *
486
+ * @example
487
+ * ```
488
+ * program.arguments('<cmd> [env]');
489
+ * ```
490
+ *
491
+ * @returns `this` command for chaining
492
+ */
493
+ arguments(names: string): this;
494
+
495
+ /**
496
+ * Customise or override default help command. By default a help command is automatically added if your command has subcommands.
497
+ *
498
+ * @example
499
+ * ```ts
500
+ * program.helpCommand('help [cmd]');
501
+ * program.helpCommand('help [cmd]', 'show help');
502
+ * program.helpCommand(false); // suppress default help command
503
+ * program.helpCommand(true); // add help command even if no subcommands
504
+ * ```
505
+ */
506
+ helpCommand(nameAndArgs: string, description?: string): this;
507
+ helpCommand(enable: boolean): this;
508
+
509
+ /**
510
+ * Add prepared custom help command.
511
+ */
512
+ addHelpCommand(cmd: Command): this;
513
+ /** @deprecated since v12, instead use helpCommand */
514
+ addHelpCommand(nameAndArgs: string, description?: string): this;
515
+ /** @deprecated since v12, instead use helpCommand */
516
+ addHelpCommand(enable?: boolean): this;
517
+
518
+ /**
519
+ * Add hook for life cycle event.
520
+ */
521
+ hook(
522
+ event: HookEvent,
523
+ listener: (
524
+ thisCommand: Command,
525
+ actionCommand: Command,
526
+ ) => void | Promise<void>,
527
+ ): this;
528
+
529
+ /**
530
+ * Register callback to use as replacement for calling process.exit.
531
+ */
532
+ exitOverride(callback?: (err: CommanderError) => never | void): this;
533
+
534
+ /**
535
+ * Display error message and exit (or call exitOverride).
536
+ */
537
+ error(message: string, errorOptions?: ErrorOptions): never;
538
+
539
+ /**
540
+ * You can customise the help with a subclass of Help by overriding createHelp,
541
+ * or by overriding Help properties using configureHelp().
542
+ */
543
+ createHelp(): Help;
544
+
545
+ /**
546
+ * You can customise the help by overriding Help properties using configureHelp(),
547
+ * or with a subclass of Help by overriding createHelp().
548
+ */
549
+ configureHelp(configuration: HelpConfiguration): this;
550
+ /** Get configuration */
551
+ configureHelp(): HelpConfiguration;
552
+
553
+ /**
554
+ * The default output goes to stdout and stderr. You can customise this for special
555
+ * applications. You can also customise the display of errors by overriding outputError.
556
+ *
557
+ * The configuration properties are all functions:
558
+ * ```
559
+ * // functions to change where being written, stdout and stderr
560
+ * writeOut(str)
561
+ * writeErr(str)
562
+ * // matching functions to specify width for wrapping help
563
+ * getOutHelpWidth()
564
+ * getErrHelpWidth()
565
+ * // functions based on what is being written out
566
+ * outputError(str, write) // used for displaying errors, and not used for displaying help
567
+ * ```
568
+ */
569
+ configureOutput(configuration: OutputConfiguration): this;
570
+ /** Get configuration */
571
+ configureOutput(): OutputConfiguration;
572
+
573
+ /**
574
+ * Copy settings that are useful to have in common across root command and subcommands.
575
+ *
576
+ * (Used internally when adding a command using `.command()` so subcommands inherit parent settings.)
577
+ */
578
+ copyInheritedSettings(sourceCommand: Command): this;
579
+
580
+ /**
581
+ * Display the help or a custom message after an error occurs.
582
+ */
583
+ showHelpAfterError(displayHelp?: boolean | string): this;
584
+
585
+ /**
586
+ * Display suggestion of similar commands for unknown commands, or options for unknown options.
587
+ */
588
+ showSuggestionAfterError(displaySuggestion?: boolean): this;
589
+
590
+ /**
591
+ * Register callback `fn` for the command.
592
+ *
593
+ * @example
594
+ * ```
595
+ * program
596
+ * .command('serve')
597
+ * .description('start service')
598
+ * .action(function() {
599
+ * // do work here
600
+ * });
601
+ * ```
602
+ *
603
+ * @returns `this` command for chaining
604
+ */
605
+ action(fn: (this: this, ...args: any[]) => void | Promise<void>): this;
606
+
607
+ /**
608
+ * Define option with `flags`, `description`, and optional argument parsing function or `defaultValue` or both.
609
+ *
610
+ * The `flags` string contains the short and/or long flags, separated by comma, a pipe or space. A required
611
+ * option-argument is indicated by `<>` and an optional option-argument by `[]`.
612
+ *
613
+ * See the README for more details, and see also addOption() and requiredOption().
614
+ *
615
+ * @example
616
+ *
617
+ * ```js
618
+ * program
619
+ * .option('-p, --pepper', 'add pepper')
620
+ * .option('--pt, --pizza-type <TYPE>', 'type of pizza') // required option-argument
621
+ * .option('-c, --cheese [CHEESE]', 'add extra cheese', 'mozzarella') // optional option-argument with default
622
+ * .option('-t, --tip <VALUE>', 'add tip to purchase cost', parseFloat) // custom parse function
623
+ * ```
624
+ *
625
+ * @returns `this` command for chaining
626
+ */
627
+ option(
628
+ flags: string,
629
+ description?: string,
630
+ defaultValue?: string | boolean | string[],
631
+ ): this;
632
+ option<T>(
633
+ flags: string,
634
+ description: string,
635
+ parseArg: (value: string, previous: T) => T,
636
+ defaultValue?: T,
637
+ ): this;
638
+ /** @deprecated since v7, instead use choices or a custom function */
639
+ option(
640
+ flags: string,
641
+ description: string,
642
+ regexp: RegExp,
643
+ defaultValue?: string | boolean | string[],
644
+ ): this;
645
+
646
+ /**
647
+ * Define a required option, which must have a value after parsing. This usually means
648
+ * the option must be specified on the command line. (Otherwise the same as .option().)
649
+ *
650
+ * The `flags` string contains the short and/or long flags, separated by comma, a pipe or space.
651
+ */
652
+ requiredOption(
653
+ flags: string,
654
+ description?: string,
655
+ defaultValue?: string | boolean | string[],
656
+ ): this;
657
+ requiredOption<T>(
658
+ flags: string,
659
+ description: string,
660
+ parseArg: (value: string, previous: T) => T,
661
+ defaultValue?: T,
662
+ ): this;
663
+ /** @deprecated since v7, instead use choices or a custom function */
664
+ requiredOption(
665
+ flags: string,
666
+ description: string,
667
+ regexp: RegExp,
668
+ defaultValue?: string | boolean | string[],
669
+ ): this;
670
+
671
+ /**
672
+ * Factory routine to create a new unattached option.
673
+ *
674
+ * See .option() for creating an attached option, which uses this routine to
675
+ * create the option. You can override createOption to return a custom option.
676
+ */
677
+
678
+ createOption(flags: string, description?: string): Option;
679
+
680
+ /**
681
+ * Add a prepared Option.
682
+ *
683
+ * See .option() and .requiredOption() for creating and attaching an option in a single call.
684
+ */
685
+ addOption(option: Option): this;
686
+
687
+ /**
688
+ * Whether to store option values as properties on command object,
689
+ * or store separately (specify false). In both cases the option values can be accessed using .opts().
690
+ *
691
+ * @returns `this` command for chaining
692
+ */
693
+ storeOptionsAsProperties<T extends OptionValues>(): this & T;
694
+ storeOptionsAsProperties<T extends OptionValues>(
695
+ storeAsProperties: true,
696
+ ): this & T;
697
+ storeOptionsAsProperties(storeAsProperties?: boolean): this;
698
+
699
+ /**
700
+ * Retrieve option value.
701
+ */
702
+ getOptionValue(key: string): any;
703
+
704
+ /**
705
+ * Store option value.
706
+ */
707
+ setOptionValue(key: string, value: unknown): this;
708
+
709
+ /**
710
+ * Store option value and where the value came from.
711
+ */
712
+ setOptionValueWithSource(
713
+ key: string,
714
+ value: unknown,
715
+ source: OptionValueSource,
716
+ ): this;
717
+
718
+ /**
719
+ * Get source of option value.
720
+ */
721
+ getOptionValueSource(key: string): OptionValueSource | undefined;
722
+
723
+ /**
724
+ * Get source of option value. See also .optsWithGlobals().
725
+ */
726
+ getOptionValueSourceWithGlobals(key: string): OptionValueSource | undefined;
727
+
728
+ /**
729
+ * Alter parsing of short flags with optional values.
730
+ *
731
+ * @example
732
+ * ```
733
+ * // for `.option('-f,--flag [value]'):
734
+ * .combineFlagAndOptionalValue(true) // `-f80` is treated like `--flag=80`, this is the default behaviour
735
+ * .combineFlagAndOptionalValue(false) // `-fb` is treated like `-f -b`
736
+ * ```
737
+ *
738
+ * @returns `this` command for chaining
739
+ */
740
+ combineFlagAndOptionalValue(combine?: boolean): this;
741
+
742
+ /**
743
+ * Allow unknown options on the command line.
744
+ *
745
+ * @returns `this` command for chaining
746
+ */
747
+ allowUnknownOption(allowUnknown?: boolean): this;
748
+
749
+ /**
750
+ * Allow excess command-arguments on the command line. Pass false to make excess arguments an error.
751
+ *
752
+ * @returns `this` command for chaining
753
+ */
754
+ allowExcessArguments(allowExcess?: boolean): this;
755
+
756
+ /**
757
+ * Enable positional options. Positional means global options are specified before subcommands which lets
758
+ * subcommands reuse the same option names, and also enables subcommands to turn on passThroughOptions.
759
+ *
760
+ * The default behaviour is non-positional and global options may appear anywhere on the command line.
761
+ *
762
+ * @returns `this` command for chaining
763
+ */
764
+ enablePositionalOptions(positional?: boolean): this;
765
+
766
+ /**
767
+ * Pass through options that come after command-arguments rather than treat them as command-options,
768
+ * so actual command-options come before command-arguments. Turning this on for a subcommand requires
769
+ * positional options to have been enabled on the program (parent commands).
770
+ *
771
+ * The default behaviour is non-positional and options may appear before or after command-arguments.
772
+ *
773
+ * @returns `this` command for chaining
774
+ */
775
+ passThroughOptions(passThrough?: boolean): this;
776
+
777
+ /**
778
+ * Parse `argv`, setting options and invoking commands when defined.
779
+ *
780
+ * Use parseAsync instead of parse if any of your action handlers are async.
781
+ *
782
+ * Call with no parameters to parse `process.argv`. Detects Electron and special node options like `node --eval`. Easy mode!
783
+ *
784
+ * Or call with an array of strings to parse, and optionally where the user arguments start by specifying where the arguments are `from`:
785
+ * - `'node'`: default, `argv[0]` is the application and `argv[1]` is the script being run, with user arguments after that
786
+ * - `'electron'`: `argv[0]` is the application and `argv[1]` varies depending on whether the electron application is packaged
787
+ * - `'user'`: just user arguments
788
+ *
789
+ * @example
790
+ * ```
791
+ * program.parse(); // parse process.argv and auto-detect electron and special node flags
792
+ * program.parse(process.argv); // assume argv[0] is app and argv[1] is script
793
+ * program.parse(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0]
794
+ * ```
795
+ *
796
+ * @returns `this` command for chaining
797
+ */
798
+ parse(argv?: readonly string[], parseOptions?: ParseOptions): this;
799
+
800
+ /**
801
+ * Parse `argv`, setting options and invoking commands when defined.
802
+ *
803
+ * Call with no parameters to parse `process.argv`. Detects Electron and special node options like `node --eval`. Easy mode!
804
+ *
805
+ * Or call with an array of strings to parse, and optionally where the user arguments start by specifying where the arguments are `from`:
806
+ * - `'node'`: default, `argv[0]` is the application and `argv[1]` is the script being run, with user arguments after that
807
+ * - `'electron'`: `argv[0]` is the application and `argv[1]` varies depending on whether the electron application is packaged
808
+ * - `'user'`: just user arguments
809
+ *
810
+ * @example
811
+ * ```
812
+ * await program.parseAsync(); // parse process.argv and auto-detect electron and special node flags
813
+ * await program.parseAsync(process.argv); // assume argv[0] is app and argv[1] is script
814
+ * await program.parseAsync(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0]
815
+ * ```
816
+ *
817
+ * @returns Promise
818
+ */
819
+ parseAsync(
820
+ argv?: readonly string[],
821
+ parseOptions?: ParseOptions,
822
+ ): Promise<this>;
823
+
824
+ /**
825
+ * Called the first time parse is called to save state and allow a restore before subsequent calls to parse.
826
+ * Not usually called directly, but available for subclasses to save their custom state.
827
+ *
828
+ * This is called in a lazy way. Only commands used in parsing chain will have state saved.
829
+ */
830
+ saveStateBeforeParse(): void;
831
+
832
+ /**
833
+ * Restore state before parse for calls after the first.
834
+ * Not usually called directly, but available for subclasses to save their custom state.
835
+ *
836
+ * This is called in a lazy way. Only commands used in parsing chain will have state restored.
837
+ */
838
+ restoreStateBeforeParse(): void;
839
+
840
+ /**
841
+ * Parse options from `argv` removing known options,
842
+ * and return argv split into operands and unknown arguments.
843
+ *
844
+ * Side effects: modifies command by storing options. Does not reset state if called again.
845
+ *
846
+ * argv => operands, unknown
847
+ * --known kkk op => [op], []
848
+ * op --known kkk => [op], []
849
+ * sub --unknown uuu op => [sub], [--unknown uuu op]
850
+ * sub -- --unknown uuu op => [sub --unknown uuu op], []
851
+ */
852
+ parseOptions(argv: string[]): ParseOptionsResult;
853
+
854
+ /**
855
+ * Return an object containing local option values as key-value pairs
856
+ */
857
+ opts<T extends OptionValues>(): T;
858
+
859
+ /**
860
+ * Return an object containing merged local and global option values as key-value pairs.
861
+ */
862
+ optsWithGlobals<T extends OptionValues>(): T;
863
+
864
+ /**
865
+ * Set the description.
866
+ *
867
+ * @returns `this` command for chaining
868
+ */
869
+
870
+ description(str: string): this;
871
+ /** @deprecated since v8, instead use .argument to add command argument with description */
872
+ description(str: string, argsDescription: Record<string, string>): this;
873
+ /**
874
+ * Get the description.
875
+ */
876
+ description(): string;
877
+
878
+ /**
879
+ * Set the summary. Used when listed as subcommand of parent.
880
+ *
881
+ * @returns `this` command for chaining
882
+ */
883
+
884
+ summary(str: string): this;
885
+ /**
886
+ * Get the summary.
887
+ */
888
+ summary(): string;
889
+
890
+ /**
891
+ * Set an alias for the command.
892
+ *
893
+ * You may call more than once to add multiple aliases. Only the first alias is shown in the auto-generated help.
894
+ *
895
+ * @returns `this` command for chaining
896
+ */
897
+ alias(alias: string): this;
898
+ /**
899
+ * Get alias for the command.
900
+ */
901
+ alias(): string;
902
+
903
+ /**
904
+ * Set aliases for the command.
905
+ *
906
+ * Only the first alias is shown in the auto-generated help.
907
+ *
908
+ * @returns `this` command for chaining
909
+ */
910
+ aliases(aliases: readonly string[]): this;
911
+ /**
912
+ * Get aliases for the command.
913
+ */
914
+ aliases(): string[];
915
+
916
+ /**
917
+ * Set the command usage.
918
+ *
919
+ * @returns `this` command for chaining
920
+ */
921
+ usage(str: string): this;
922
+ /**
923
+ * Get the command usage.
924
+ */
925
+ usage(): string;
926
+
927
+ /**
928
+ * Set the name of the command.
929
+ *
930
+ * @returns `this` command for chaining
931
+ */
932
+ name(str: string): this;
933
+ /**
934
+ * Get the name of the command.
935
+ */
936
+ name(): string;
937
+
938
+ /**
939
+ * Set the name of the command from script filename, such as process.argv[1],
940
+ * or require.main.filename, or __filename.
941
+ *
942
+ * (Used internally and public although not documented in README.)
943
+ *
944
+ * @example
945
+ * ```ts
946
+ * program.nameFromFilename(require.main.filename);
947
+ * ```
948
+ *
949
+ * @returns `this` command for chaining
950
+ */
951
+ nameFromFilename(filename: string): this;
952
+
953
+ /**
954
+ * Set the directory for searching for executable subcommands of this command.
955
+ *
956
+ * @example
957
+ * ```ts
958
+ * program.executableDir(__dirname);
959
+ * // or
960
+ * program.executableDir('subcommands');
961
+ * ```
962
+ *
963
+ * @returns `this` command for chaining
964
+ */
965
+ executableDir(path: string): this;
966
+ /**
967
+ * Get the executable search directory.
968
+ */
969
+ executableDir(): string | null;
970
+
971
+ /**
972
+ * Output help information for this command.
973
+ *
974
+ * Outputs built-in help, and custom text added using `.addHelpText()`.
975
+ *
976
+ */
977
+ outputHelp(context?: HelpContext): void;
978
+ /** @deprecated since v7 */
979
+ outputHelp(cb?: (str: string) => string): void;
980
+
981
+ /**
982
+ * Return command help documentation.
983
+ */
984
+ helpInformation(context?: HelpContext): string;
985
+
986
+ /**
987
+ * You can pass in flags and a description to override the help
988
+ * flags and help description for your command. Pass in false
989
+ * to disable the built-in help option.
990
+ */
991
+ helpOption(flags?: string | boolean, description?: string): this;
992
+
993
+ /**
994
+ * Supply your own option to use for the built-in help option.
995
+ * This is an alternative to using helpOption() to customise the flags and description etc.
996
+ */
997
+ addHelpOption(option: Option): this;
998
+
999
+ /**
1000
+ * Output help information and exit.
1001
+ *
1002
+ * Outputs built-in help, and custom text added using `.addHelpText()`.
1003
+ */
1004
+ help(context?: HelpContext): never;
1005
+ /** @deprecated since v7 */
1006
+ help(cb?: (str: string) => string): never;
1007
+
1008
+ /**
1009
+ * Add additional text to be displayed with the built-in help.
1010
+ *
1011
+ * Position is 'before' or 'after' to affect just this command,
1012
+ * and 'beforeAll' or 'afterAll' to affect this command and all its subcommands.
1013
+ */
1014
+ addHelpText(position: AddHelpTextPosition, text: string): this;
1015
+ addHelpText(
1016
+ position: AddHelpTextPosition,
1017
+ text: (context: AddHelpTextContext) => string,
1018
+ ): this;
1019
+
1020
+ /**
1021
+ * Add a listener (callback) for when events occur. (Implemented using EventEmitter.)
1022
+ */
1023
+ on(event: string | symbol, listener: (...args: any[]) => void): this;
1024
+ }
1025
+
1026
+ export interface CommandOptions {
1027
+ hidden?: boolean;
1028
+ isDefault?: boolean;
1029
+ /** @deprecated since v7, replaced by hidden */
1030
+ noHelp?: boolean;
1031
+ }
1032
+ export interface ExecutableCommandOptions extends CommandOptions {
1033
+ executableFile?: string;
1034
+ }
1035
+
1036
+ export interface ParseOptionsResult {
1037
+ operands: string[];
1038
+ unknown: string[];
1039
+ }
1040
+
1041
+ export function createCommand(name?: string): Command;
1042
+ export function createOption(flags: string, description?: string): Option;
1043
+ export function createArgument(name: string, description?: string): Argument;
1044
+
1045
+ export const program: Command;