sudocode 1.1.18-dev.0 → 1.1.18

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/package.json +9 -9
  2. package/node_modules/@sudocode-ai/cli/README.md +0 -330
  3. package/node_modules/@sudocode-ai/cli/dist/cli/feedback-commands.d.ts +0 -53
  4. package/node_modules/@sudocode-ai/cli/dist/cli/feedback-commands.d.ts.map +0 -1
  5. package/node_modules/@sudocode-ai/cli/dist/cli/feedback-commands.js +0 -339
  6. package/node_modules/@sudocode-ai/cli/dist/cli/feedback-commands.js.map +0 -1
  7. package/node_modules/@sudocode-ai/cli/dist/cli/init-commands.d.ts +0 -20
  8. package/node_modules/@sudocode-ai/cli/dist/cli/init-commands.d.ts.map +0 -1
  9. package/node_modules/@sudocode-ai/cli/dist/cli/init-commands.js +0 -145
  10. package/node_modules/@sudocode-ai/cli/dist/cli/init-commands.js.map +0 -1
  11. package/node_modules/@sudocode-ai/cli/dist/cli/issue-commands.d.ts +0 -46
  12. package/node_modules/@sudocode-ai/cli/dist/cli/issue-commands.d.ts.map +0 -1
  13. package/node_modules/@sudocode-ai/cli/dist/cli/issue-commands.js +0 -353
  14. package/node_modules/@sudocode-ai/cli/dist/cli/issue-commands.js.map +0 -1
  15. package/node_modules/@sudocode-ai/cli/dist/cli/merge-commands.d.ts +0 -42
  16. package/node_modules/@sudocode-ai/cli/dist/cli/merge-commands.d.ts.map +0 -1
  17. package/node_modules/@sudocode-ai/cli/dist/cli/merge-commands.js +0 -405
  18. package/node_modules/@sudocode-ai/cli/dist/cli/merge-commands.js.map +0 -1
  19. package/node_modules/@sudocode-ai/cli/dist/cli/plugin-commands.d.ts +0 -62
  20. package/node_modules/@sudocode-ai/cli/dist/cli/plugin-commands.d.ts.map +0 -1
  21. package/node_modules/@sudocode-ai/cli/dist/cli/plugin-commands.js +0 -595
  22. package/node_modules/@sudocode-ai/cli/dist/cli/plugin-commands.js.map +0 -1
  23. package/node_modules/@sudocode-ai/cli/dist/cli/query-commands.d.ts +0 -18
  24. package/node_modules/@sudocode-ai/cli/dist/cli/query-commands.d.ts.map +0 -1
  25. package/node_modules/@sudocode-ai/cli/dist/cli/query-commands.js +0 -61
  26. package/node_modules/@sudocode-ai/cli/dist/cli/query-commands.js.map +0 -1
  27. package/node_modules/@sudocode-ai/cli/dist/cli/reference-commands.d.ts +0 -22
  28. package/node_modules/@sudocode-ai/cli/dist/cli/reference-commands.d.ts.map +0 -1
  29. package/node_modules/@sudocode-ai/cli/dist/cli/reference-commands.js +0 -136
  30. package/node_modules/@sudocode-ai/cli/dist/cli/reference-commands.js.map +0 -1
  31. package/node_modules/@sudocode-ai/cli/dist/cli/relationship-commands.d.ts +0 -14
  32. package/node_modules/@sudocode-ai/cli/dist/cli/relationship-commands.d.ts.map +0 -1
  33. package/node_modules/@sudocode-ai/cli/dist/cli/relationship-commands.js +0 -83
  34. package/node_modules/@sudocode-ai/cli/dist/cli/relationship-commands.js.map +0 -1
  35. package/node_modules/@sudocode-ai/cli/dist/cli/server-commands.d.ts +0 -17
  36. package/node_modules/@sudocode-ai/cli/dist/cli/server-commands.d.ts.map +0 -1
  37. package/node_modules/@sudocode-ai/cli/dist/cli/server-commands.js +0 -123
  38. package/node_modules/@sudocode-ai/cli/dist/cli/server-commands.js.map +0 -1
  39. package/node_modules/@sudocode-ai/cli/dist/cli/spec-commands.d.ts +0 -38
  40. package/node_modules/@sudocode-ai/cli/dist/cli/spec-commands.d.ts.map +0 -1
  41. package/node_modules/@sudocode-ai/cli/dist/cli/spec-commands.js +0 -326
  42. package/node_modules/@sudocode-ai/cli/dist/cli/spec-commands.js.map +0 -1
  43. package/node_modules/@sudocode-ai/cli/dist/cli/status-commands.d.ts +0 -17
  44. package/node_modules/@sudocode-ai/cli/dist/cli/status-commands.d.ts.map +0 -1
  45. package/node_modules/@sudocode-ai/cli/dist/cli/status-commands.js +0 -131
  46. package/node_modules/@sudocode-ai/cli/dist/cli/status-commands.js.map +0 -1
  47. package/node_modules/@sudocode-ai/cli/dist/cli/sync-commands.d.ts +0 -24
  48. package/node_modules/@sudocode-ai/cli/dist/cli/sync-commands.d.ts.map +0 -1
  49. package/node_modules/@sudocode-ai/cli/dist/cli/sync-commands.js +0 -429
  50. package/node_modules/@sudocode-ai/cli/dist/cli/sync-commands.js.map +0 -1
  51. package/node_modules/@sudocode-ai/cli/dist/cli/update-commands.d.ts +0 -16
  52. package/node_modules/@sudocode-ai/cli/dist/cli/update-commands.d.ts.map +0 -1
  53. package/node_modules/@sudocode-ai/cli/dist/cli/update-commands.js +0 -160
  54. package/node_modules/@sudocode-ai/cli/dist/cli/update-commands.js.map +0 -1
  55. package/node_modules/@sudocode-ai/cli/dist/cli.d.ts +0 -6
  56. package/node_modules/@sudocode-ai/cli/dist/cli.d.ts.map +0 -1
  57. package/node_modules/@sudocode-ai/cli/dist/cli.js +0 -543
  58. package/node_modules/@sudocode-ai/cli/dist/cli.js.map +0 -1
  59. package/node_modules/@sudocode-ai/cli/dist/config.d.ts +0 -50
  60. package/node_modules/@sudocode-ai/cli/dist/config.d.ts.map +0 -1
  61. package/node_modules/@sudocode-ai/cli/dist/config.js +0 -76
  62. package/node_modules/@sudocode-ai/cli/dist/config.js.map +0 -1
  63. package/node_modules/@sudocode-ai/cli/dist/db.d.ts +0 -21
  64. package/node_modules/@sudocode-ai/cli/dist/db.d.ts.map +0 -1
  65. package/node_modules/@sudocode-ai/cli/dist/db.js +0 -55
  66. package/node_modules/@sudocode-ai/cli/dist/db.js.map +0 -1
  67. package/node_modules/@sudocode-ai/cli/dist/export.d.ts +0 -84
  68. package/node_modules/@sudocode-ai/cli/dist/export.d.ts.map +0 -1
  69. package/node_modules/@sudocode-ai/cli/dist/export.js +0 -265
  70. package/node_modules/@sudocode-ai/cli/dist/export.js.map +0 -1
  71. package/node_modules/@sudocode-ai/cli/dist/filename-generator.d.ts +0 -31
  72. package/node_modules/@sudocode-ai/cli/dist/filename-generator.d.ts.map +0 -1
  73. package/node_modules/@sudocode-ai/cli/dist/filename-generator.js +0 -103
  74. package/node_modules/@sudocode-ai/cli/dist/filename-generator.js.map +0 -1
  75. package/node_modules/@sudocode-ai/cli/dist/id-generator.d.ts +0 -63
  76. package/node_modules/@sudocode-ai/cli/dist/id-generator.d.ts.map +0 -1
  77. package/node_modules/@sudocode-ai/cli/dist/id-generator.js +0 -196
  78. package/node_modules/@sudocode-ai/cli/dist/id-generator.js.map +0 -1
  79. package/node_modules/@sudocode-ai/cli/dist/import.d.ts +0 -134
  80. package/node_modules/@sudocode-ai/cli/dist/import.d.ts.map +0 -1
  81. package/node_modules/@sudocode-ai/cli/dist/import.js +0 -751
  82. package/node_modules/@sudocode-ai/cli/dist/import.js.map +0 -1
  83. package/node_modules/@sudocode-ai/cli/dist/index.d.ts +0 -15
  84. package/node_modules/@sudocode-ai/cli/dist/index.d.ts.map +0 -1
  85. package/node_modules/@sudocode-ai/cli/dist/index.js +0 -15
  86. package/node_modules/@sudocode-ai/cli/dist/index.js.map +0 -1
  87. package/node_modules/@sudocode-ai/cli/dist/integrations/base-provider.d.ts +0 -108
  88. package/node_modules/@sudocode-ai/cli/dist/integrations/base-provider.d.ts.map +0 -1
  89. package/node_modules/@sudocode-ai/cli/dist/integrations/base-provider.js +0 -80
  90. package/node_modules/@sudocode-ai/cli/dist/integrations/base-provider.js.map +0 -1
  91. package/node_modules/@sudocode-ai/cli/dist/integrations/config-resolver.d.ts +0 -62
  92. package/node_modules/@sudocode-ai/cli/dist/integrations/config-resolver.d.ts.map +0 -1
  93. package/node_modules/@sudocode-ai/cli/dist/integrations/config-resolver.js +0 -69
  94. package/node_modules/@sudocode-ai/cli/dist/integrations/config-resolver.js.map +0 -1
  95. package/node_modules/@sudocode-ai/cli/dist/integrations/config-validator.d.ts +0 -75
  96. package/node_modules/@sudocode-ai/cli/dist/integrations/config-validator.d.ts.map +0 -1
  97. package/node_modules/@sudocode-ai/cli/dist/integrations/config-validator.js +0 -129
  98. package/node_modules/@sudocode-ai/cli/dist/integrations/config-validator.js.map +0 -1
  99. package/node_modules/@sudocode-ai/cli/dist/integrations/index.d.ts +0 -14
  100. package/node_modules/@sudocode-ai/cli/dist/integrations/index.d.ts.map +0 -1
  101. package/node_modules/@sudocode-ai/cli/dist/integrations/index.js +0 -20
  102. package/node_modules/@sudocode-ai/cli/dist/integrations/index.js.map +0 -1
  103. package/node_modules/@sudocode-ai/cli/dist/integrations/plugin-loader.d.ts +0 -77
  104. package/node_modules/@sudocode-ai/cli/dist/integrations/plugin-loader.d.ts.map +0 -1
  105. package/node_modules/@sudocode-ai/cli/dist/integrations/plugin-loader.js +0 -265
  106. package/node_modules/@sudocode-ai/cli/dist/integrations/plugin-loader.js.map +0 -1
  107. package/node_modules/@sudocode-ai/cli/dist/integrations/registry.d.ts +0 -67
  108. package/node_modules/@sudocode-ai/cli/dist/integrations/registry.d.ts.map +0 -1
  109. package/node_modules/@sudocode-ai/cli/dist/integrations/registry.js +0 -77
  110. package/node_modules/@sudocode-ai/cli/dist/integrations/registry.js.map +0 -1
  111. package/node_modules/@sudocode-ai/cli/dist/integrations/sync-coordinator.d.ts +0 -191
  112. package/node_modules/@sudocode-ai/cli/dist/integrations/sync-coordinator.d.ts.map +0 -1
  113. package/node_modules/@sudocode-ai/cli/dist/integrations/sync-coordinator.js +0 -798
  114. package/node_modules/@sudocode-ai/cli/dist/integrations/sync-coordinator.js.map +0 -1
  115. package/node_modules/@sudocode-ai/cli/dist/integrations/types.d.ts +0 -142
  116. package/node_modules/@sudocode-ai/cli/dist/integrations/types.d.ts.map +0 -1
  117. package/node_modules/@sudocode-ai/cli/dist/integrations/types.js +0 -6
  118. package/node_modules/@sudocode-ai/cli/dist/integrations/types.js.map +0 -1
  119. package/node_modules/@sudocode-ai/cli/dist/integrations/utils/conflict-resolver.d.ts +0 -79
  120. package/node_modules/@sudocode-ai/cli/dist/integrations/utils/conflict-resolver.d.ts.map +0 -1
  121. package/node_modules/@sudocode-ai/cli/dist/integrations/utils/conflict-resolver.js +0 -106
  122. package/node_modules/@sudocode-ai/cli/dist/integrations/utils/conflict-resolver.js.map +0 -1
  123. package/node_modules/@sudocode-ai/cli/dist/jsonl.d.ts +0 -69
  124. package/node_modules/@sudocode-ai/cli/dist/jsonl.d.ts.map +0 -1
  125. package/node_modules/@sudocode-ai/cli/dist/jsonl.js +0 -333
  126. package/node_modules/@sudocode-ai/cli/dist/jsonl.js.map +0 -1
  127. package/node_modules/@sudocode-ai/cli/dist/markdown.d.ts +0 -146
  128. package/node_modules/@sudocode-ai/cli/dist/markdown.d.ts.map +0 -1
  129. package/node_modules/@sudocode-ai/cli/dist/markdown.js +0 -329
  130. package/node_modules/@sudocode-ai/cli/dist/markdown.js.map +0 -1
  131. package/node_modules/@sudocode-ai/cli/dist/merge-resolver.d.ts +0 -85
  132. package/node_modules/@sudocode-ai/cli/dist/merge-resolver.d.ts.map +0 -1
  133. package/node_modules/@sudocode-ai/cli/dist/merge-resolver.js +0 -301
  134. package/node_modules/@sudocode-ai/cli/dist/merge-resolver.js.map +0 -1
  135. package/node_modules/@sudocode-ai/cli/dist/operations/events.d.ts +0 -53
  136. package/node_modules/@sudocode-ai/cli/dist/operations/events.d.ts.map +0 -1
  137. package/node_modules/@sudocode-ai/cli/dist/operations/events.js +0 -108
  138. package/node_modules/@sudocode-ai/cli/dist/operations/events.js.map +0 -1
  139. package/node_modules/@sudocode-ai/cli/dist/operations/external-links.d.ts +0 -147
  140. package/node_modules/@sudocode-ai/cli/dist/operations/external-links.d.ts.map +0 -1
  141. package/node_modules/@sudocode-ai/cli/dist/operations/external-links.js +0 -411
  142. package/node_modules/@sudocode-ai/cli/dist/operations/external-links.js.map +0 -1
  143. package/node_modules/@sudocode-ai/cli/dist/operations/feedback-anchors.d.ts +0 -92
  144. package/node_modules/@sudocode-ai/cli/dist/operations/feedback-anchors.d.ts.map +0 -1
  145. package/node_modules/@sudocode-ai/cli/dist/operations/feedback-anchors.js +0 -444
  146. package/node_modules/@sudocode-ai/cli/dist/operations/feedback-anchors.js.map +0 -1
  147. package/node_modules/@sudocode-ai/cli/dist/operations/feedback.d.ts +0 -94
  148. package/node_modules/@sudocode-ai/cli/dist/operations/feedback.d.ts.map +0 -1
  149. package/node_modules/@sudocode-ai/cli/dist/operations/feedback.js +0 -278
  150. package/node_modules/@sudocode-ai/cli/dist/operations/feedback.js.map +0 -1
  151. package/node_modules/@sudocode-ai/cli/dist/operations/index.d.ts +0 -11
  152. package/node_modules/@sudocode-ai/cli/dist/operations/index.d.ts.map +0 -1
  153. package/node_modules/@sudocode-ai/cli/dist/operations/index.js +0 -11
  154. package/node_modules/@sudocode-ai/cli/dist/operations/index.js.map +0 -1
  155. package/node_modules/@sudocode-ai/cli/dist/operations/issues.d.ts +0 -88
  156. package/node_modules/@sudocode-ai/cli/dist/operations/issues.d.ts.map +0 -1
  157. package/node_modules/@sudocode-ai/cli/dist/operations/issues.js +0 -474
  158. package/node_modules/@sudocode-ai/cli/dist/operations/issues.js.map +0 -1
  159. package/node_modules/@sudocode-ai/cli/dist/operations/references.d.ts +0 -34
  160. package/node_modules/@sudocode-ai/cli/dist/operations/references.d.ts.map +0 -1
  161. package/node_modules/@sudocode-ai/cli/dist/operations/references.js +0 -117
  162. package/node_modules/@sudocode-ai/cli/dist/operations/references.js.map +0 -1
  163. package/node_modules/@sudocode-ai/cli/dist/operations/relationships.d.ts +0 -64
  164. package/node_modules/@sudocode-ai/cli/dist/operations/relationships.d.ts.map +0 -1
  165. package/node_modules/@sudocode-ai/cli/dist/operations/relationships.js +0 -281
  166. package/node_modules/@sudocode-ai/cli/dist/operations/relationships.js.map +0 -1
  167. package/node_modules/@sudocode-ai/cli/dist/operations/specs.d.ts +0 -69
  168. package/node_modules/@sudocode-ai/cli/dist/operations/specs.d.ts.map +0 -1
  169. package/node_modules/@sudocode-ai/cli/dist/operations/specs.js +0 -330
  170. package/node_modules/@sudocode-ai/cli/dist/operations/specs.js.map +0 -1
  171. package/node_modules/@sudocode-ai/cli/dist/operations/tags.d.ts +0 -42
  172. package/node_modules/@sudocode-ai/cli/dist/operations/tags.d.ts.map +0 -1
  173. package/node_modules/@sudocode-ai/cli/dist/operations/tags.js +0 -127
  174. package/node_modules/@sudocode-ai/cli/dist/operations/tags.js.map +0 -1
  175. package/node_modules/@sudocode-ai/cli/dist/operations/transactions.d.ts +0 -41
  176. package/node_modules/@sudocode-ai/cli/dist/operations/transactions.d.ts.map +0 -1
  177. package/node_modules/@sudocode-ai/cli/dist/operations/transactions.js +0 -111
  178. package/node_modules/@sudocode-ai/cli/dist/operations/transactions.js.map +0 -1
  179. package/node_modules/@sudocode-ai/cli/dist/sync.d.ts +0 -47
  180. package/node_modules/@sudocode-ai/cli/dist/sync.d.ts.map +0 -1
  181. package/node_modules/@sudocode-ai/cli/dist/sync.js +0 -464
  182. package/node_modules/@sudocode-ai/cli/dist/sync.js.map +0 -1
  183. package/node_modules/@sudocode-ai/cli/dist/test-schema.d.ts +0 -5
  184. package/node_modules/@sudocode-ai/cli/dist/test-schema.d.ts.map +0 -1
  185. package/node_modules/@sudocode-ai/cli/dist/test-schema.js +0 -46
  186. package/node_modules/@sudocode-ai/cli/dist/test-schema.js.map +0 -1
  187. package/node_modules/@sudocode-ai/cli/dist/types.d.ts +0 -7
  188. package/node_modules/@sudocode-ai/cli/dist/types.d.ts.map +0 -1
  189. package/node_modules/@sudocode-ai/cli/dist/types.js +0 -7
  190. package/node_modules/@sudocode-ai/cli/dist/types.js.map +0 -1
  191. package/node_modules/@sudocode-ai/cli/dist/update-checker.d.ts +0 -33
  192. package/node_modules/@sudocode-ai/cli/dist/update-checker.d.ts.map +0 -1
  193. package/node_modules/@sudocode-ai/cli/dist/update-checker.js +0 -193
  194. package/node_modules/@sudocode-ai/cli/dist/update-checker.js.map +0 -1
  195. package/node_modules/@sudocode-ai/cli/dist/validation.d.ts +0 -11
  196. package/node_modules/@sudocode-ai/cli/dist/validation.d.ts.map +0 -1
  197. package/node_modules/@sudocode-ai/cli/dist/validation.js +0 -58
  198. package/node_modules/@sudocode-ai/cli/dist/validation.js.map +0 -1
  199. package/node_modules/@sudocode-ai/cli/dist/version.d.ts +0 -12
  200. package/node_modules/@sudocode-ai/cli/dist/version.d.ts.map +0 -1
  201. package/node_modules/@sudocode-ai/cli/dist/version.js +0 -23
  202. package/node_modules/@sudocode-ai/cli/dist/version.js.map +0 -1
  203. package/node_modules/@sudocode-ai/cli/dist/watcher.d.ts +0 -69
  204. package/node_modules/@sudocode-ai/cli/dist/watcher.d.ts.map +0 -1
  205. package/node_modules/@sudocode-ai/cli/dist/watcher.js +0 -783
  206. package/node_modules/@sudocode-ai/cli/dist/watcher.js.map +0 -1
  207. package/node_modules/@sudocode-ai/cli/package.json +0 -73
  208. package/node_modules/@sudocode-ai/integration-beads/package.json +0 -44
  209. package/node_modules/@sudocode-ai/integration-github/package.json +0 -41
  210. package/node_modules/@sudocode-ai/integration-openspec/package.json +0 -43
  211. package/node_modules/@sudocode-ai/integration-speckit/package.json +0 -42
  212. package/node_modules/@sudocode-ai/local-server/README.md +0 -25
  213. package/node_modules/@sudocode-ai/local-server/dist/cli.d.ts +0 -7
  214. package/node_modules/@sudocode-ai/local-server/dist/cli.d.ts.map +0 -1
  215. package/node_modules/@sudocode-ai/local-server/dist/cli.js +0 -7
  216. package/node_modules/@sudocode-ai/local-server/dist/cli.js.map +0 -1
  217. package/node_modules/@sudocode-ai/local-server/dist/errors/agent-errors.d.ts +0 -43
  218. package/node_modules/@sudocode-ai/local-server/dist/errors/agent-errors.d.ts.map +0 -1
  219. package/node_modules/@sudocode-ai/local-server/dist/errors/agent-errors.js +0 -69
  220. package/node_modules/@sudocode-ai/local-server/dist/errors/agent-errors.js.map +0 -1
  221. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/claude-adapter.d.ts +0 -63
  222. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/claude-adapter.d.ts.map +0 -1
  223. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/claude-adapter.js +0 -83
  224. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/claude-adapter.js.map +0 -1
  225. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-adapter.d.ts +0 -67
  226. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-adapter.d.ts.map +0 -1
  227. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-adapter.js +0 -183
  228. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-adapter.js.map +0 -1
  229. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-config-builder.d.ts +0 -30
  230. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-config-builder.d.ts.map +0 -1
  231. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-config-builder.js +0 -110
  232. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-config-builder.js.map +0 -1
  233. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-adapter.d.ts +0 -94
  234. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-adapter.d.ts.map +0 -1
  235. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-adapter.js +0 -163
  236. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-adapter.js.map +0 -1
  237. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-config-builder.d.ts +0 -48
  238. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-config-builder.d.ts.map +0 -1
  239. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-config-builder.js +0 -125
  240. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-config-builder.js.map +0 -1
  241. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-adapter.d.ts +0 -66
  242. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-adapter.d.ts.map +0 -1
  243. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-adapter.js +0 -121
  244. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-adapter.js.map +0 -1
  245. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-config-builder.d.ts +0 -29
  246. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-config-builder.d.ts.map +0 -1
  247. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-config-builder.js +0 -49
  248. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-config-builder.js.map +0 -1
  249. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-presets.d.ts +0 -102
  250. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-presets.d.ts.map +0 -1
  251. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-presets.js +0 -205
  252. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-presets.js.map +0 -1
  253. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-utils.d.ts +0 -95
  254. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-utils.d.ts.map +0 -1
  255. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-utils.js +0 -163
  256. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-utils.js.map +0 -1
  257. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/index.d.ts +0 -8
  258. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/index.d.ts.map +0 -1
  259. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/index.js +0 -8
  260. package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/index.js.map +0 -1
  261. package/node_modules/@sudocode-ai/local-server/dist/execution/executors/agent-executor-wrapper.d.ts +0 -154
  262. package/node_modules/@sudocode-ai/local-server/dist/execution/executors/agent-executor-wrapper.d.ts.map +0 -1
  263. package/node_modules/@sudocode-ai/local-server/dist/execution/executors/agent-executor-wrapper.js +0 -725
  264. package/node_modules/@sudocode-ai/local-server/dist/execution/executors/agent-executor-wrapper.js.map +0 -1
  265. package/node_modules/@sudocode-ai/local-server/dist/execution/executors/executor-factory.d.ts +0 -95
  266. package/node_modules/@sudocode-ai/local-server/dist/execution/executors/executor-factory.d.ts.map +0 -1
  267. package/node_modules/@sudocode-ai/local-server/dist/execution/executors/executor-factory.js +0 -128
  268. package/node_modules/@sudocode-ai/local-server/dist/execution/executors/executor-factory.js.map +0 -1
  269. package/node_modules/@sudocode-ai/local-server/dist/execution/output/ag-ui-adapter.d.ts +0 -174
  270. package/node_modules/@sudocode-ai/local-server/dist/execution/output/ag-ui-adapter.d.ts.map +0 -1
  271. package/node_modules/@sudocode-ai/local-server/dist/execution/output/ag-ui-adapter.js +0 -436
  272. package/node_modules/@sudocode-ai/local-server/dist/execution/output/ag-ui-adapter.js.map +0 -1
  273. package/node_modules/@sudocode-ai/local-server/dist/execution/output/claude-to-ag-ui.d.ts +0 -90
  274. package/node_modules/@sudocode-ai/local-server/dist/execution/output/claude-to-ag-ui.d.ts.map +0 -1
  275. package/node_modules/@sudocode-ai/local-server/dist/execution/output/claude-to-ag-ui.js +0 -153
  276. package/node_modules/@sudocode-ai/local-server/dist/execution/output/claude-to-ag-ui.js.map +0 -1
  277. package/node_modules/@sudocode-ai/local-server/dist/execution/output/index.d.ts +0 -15
  278. package/node_modules/@sudocode-ai/local-server/dist/execution/output/index.d.ts.map +0 -1
  279. package/node_modules/@sudocode-ai/local-server/dist/execution/output/index.js +0 -13
  280. package/node_modules/@sudocode-ai/local-server/dist/execution/output/index.js.map +0 -1
  281. package/node_modules/@sudocode-ai/local-server/dist/execution/output/normalized-to-ag-ui-adapter.d.ts +0 -108
  282. package/node_modules/@sudocode-ai/local-server/dist/execution/output/normalized-to-ag-ui-adapter.d.ts.map +0 -1
  283. package/node_modules/@sudocode-ai/local-server/dist/execution/output/normalized-to-ag-ui-adapter.js +0 -321
  284. package/node_modules/@sudocode-ai/local-server/dist/execution/output/normalized-to-ag-ui-adapter.js.map +0 -1
  285. package/node_modules/@sudocode-ai/local-server/dist/execution/output/types.d.ts +0 -421
  286. package/node_modules/@sudocode-ai/local-server/dist/execution/output/types.d.ts.map +0 -1
  287. package/node_modules/@sudocode-ai/local-server/dist/execution/output/types.js +0 -22
  288. package/node_modules/@sudocode-ai/local-server/dist/execution/output/types.js.map +0 -1
  289. package/node_modules/@sudocode-ai/local-server/dist/execution/process/builders/claude.d.ts +0 -53
  290. package/node_modules/@sudocode-ai/local-server/dist/execution/process/builders/claude.d.ts.map +0 -1
  291. package/node_modules/@sudocode-ai/local-server/dist/execution/process/builders/claude.js +0 -225
  292. package/node_modules/@sudocode-ai/local-server/dist/execution/process/builders/claude.js.map +0 -1
  293. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/event-buffer.d.ts +0 -119
  294. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/event-buffer.d.ts.map +0 -1
  295. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/event-buffer.js +0 -208
  296. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/event-buffer.js.map +0 -1
  297. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/index.d.ts +0 -10
  298. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/index.d.ts.map +0 -1
  299. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/index.js +0 -10
  300. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/index.js.map +0 -1
  301. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/ipc-transport-manager.d.ts +0 -74
  302. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/ipc-transport-manager.d.ts.map +0 -1
  303. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/ipc-transport-manager.js +0 -104
  304. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/ipc-transport-manager.js.map +0 -1
  305. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/sse-transport.d.ts +0 -146
  306. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/sse-transport.d.ts.map +0 -1
  307. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/sse-transport.js +0 -282
  308. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/sse-transport.js.map +0 -1
  309. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/transport-manager.d.ts +0 -176
  310. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/transport-manager.d.ts.map +0 -1
  311. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/transport-manager.js +0 -234
  312. package/node_modules/@sudocode-ai/local-server/dist/execution/transport/transport-manager.js.map +0 -1
  313. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/config.d.ts +0 -74
  314. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/config.d.ts.map +0 -1
  315. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/config.js +0 -280
  316. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/config.js.map +0 -1
  317. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/conflict-detector.d.ts +0 -85
  318. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/conflict-detector.d.ts.map +0 -1
  319. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/conflict-detector.js +0 -129
  320. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/conflict-detector.js.map +0 -1
  321. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-cli.d.ts +0 -208
  322. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-cli.d.ts.map +0 -1
  323. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-cli.js +0 -280
  324. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-cli.js.map +0 -1
  325. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-sync-cli.d.ts +0 -225
  326. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-sync-cli.d.ts.map +0 -1
  327. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-sync-cli.js +0 -464
  328. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-sync-cli.js.map +0 -1
  329. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/index.d.ts +0 -16
  330. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/index.d.ts.map +0 -1
  331. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/index.js +0 -15
  332. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/index.js.map +0 -1
  333. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/manager.d.ts +0 -221
  334. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/manager.d.ts.map +0 -1
  335. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/manager.js +0 -508
  336. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/manager.js.map +0 -1
  337. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/types.d.ts +0 -90
  338. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/types.d.ts.map +0 -1
  339. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/types.js +0 -42
  340. package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/types.js.map +0 -1
  341. package/node_modules/@sudocode-ai/local-server/dist/index.d.ts +0 -6
  342. package/node_modules/@sudocode-ai/local-server/dist/index.d.ts.map +0 -1
  343. package/node_modules/@sudocode-ai/local-server/dist/index.js +0 -371
  344. package/node_modules/@sudocode-ai/local-server/dist/index.js.map +0 -1
  345. package/node_modules/@sudocode-ai/local-server/dist/middleware/project-context.d.ts +0 -37
  346. package/node_modules/@sudocode-ai/local-server/dist/middleware/project-context.d.ts.map +0 -1
  347. package/node_modules/@sudocode-ai/local-server/dist/middleware/project-context.js +0 -91
  348. package/node_modules/@sudocode-ai/local-server/dist/middleware/project-context.js.map +0 -1
  349. package/node_modules/@sudocode-ai/local-server/dist/public/assets/index-D4AKx6EO.css +0 -1
  350. package/node_modules/@sudocode-ai/local-server/dist/public/assets/index-DorQqwGV.js +0 -927
  351. package/node_modules/@sudocode-ai/local-server/dist/public/assets/index-DorQqwGV.js.map +0 -1
  352. package/node_modules/@sudocode-ai/local-server/dist/public/assets/react-vendor-DoNwlLhy.js +0 -60
  353. package/node_modules/@sudocode-ai/local-server/dist/public/assets/react-vendor-DoNwlLhy.js.map +0 -1
  354. package/node_modules/@sudocode-ai/local-server/dist/public/assets/ui-vendor-DlxvBun1.js +0 -54
  355. package/node_modules/@sudocode-ai/local-server/dist/public/assets/ui-vendor-DlxvBun1.js.map +0 -1
  356. package/node_modules/@sudocode-ai/local-server/dist/public/favicon.ico +0 -0
  357. package/node_modules/@sudocode-ai/local-server/dist/public/index.html +0 -16
  358. package/node_modules/@sudocode-ai/local-server/dist/public/logo.png +0 -0
  359. package/node_modules/@sudocode-ai/local-server/dist/routes/agents.d.ts +0 -3
  360. package/node_modules/@sudocode-ai/local-server/dist/routes/agents.d.ts.map +0 -1
  361. package/node_modules/@sudocode-ai/local-server/dist/routes/agents.js +0 -62
  362. package/node_modules/@sudocode-ai/local-server/dist/routes/agents.js.map +0 -1
  363. package/node_modules/@sudocode-ai/local-server/dist/routes/config.d.ts +0 -3
  364. package/node_modules/@sudocode-ai/local-server/dist/routes/config.d.ts.map +0 -1
  365. package/node_modules/@sudocode-ai/local-server/dist/routes/config.js +0 -116
  366. package/node_modules/@sudocode-ai/local-server/dist/routes/config.js.map +0 -1
  367. package/node_modules/@sudocode-ai/local-server/dist/routes/editors.d.ts +0 -15
  368. package/node_modules/@sudocode-ai/local-server/dist/routes/editors.d.ts.map +0 -1
  369. package/node_modules/@sudocode-ai/local-server/dist/routes/editors.js +0 -98
  370. package/node_modules/@sudocode-ai/local-server/dist/routes/editors.js.map +0 -1
  371. package/node_modules/@sudocode-ai/local-server/dist/routes/executions-stream.d.ts +0 -27
  372. package/node_modules/@sudocode-ai/local-server/dist/routes/executions-stream.d.ts.map +0 -1
  373. package/node_modules/@sudocode-ai/local-server/dist/routes/executions-stream.js +0 -59
  374. package/node_modules/@sudocode-ai/local-server/dist/routes/executions-stream.js.map +0 -1
  375. package/node_modules/@sudocode-ai/local-server/dist/routes/executions.d.ts +0 -18
  376. package/node_modules/@sudocode-ai/local-server/dist/routes/executions.d.ts.map +0 -1
  377. package/node_modules/@sudocode-ai/local-server/dist/routes/executions.js +0 -1169
  378. package/node_modules/@sudocode-ai/local-server/dist/routes/executions.js.map +0 -1
  379. package/node_modules/@sudocode-ai/local-server/dist/routes/feedback.d.ts +0 -8
  380. package/node_modules/@sudocode-ai/local-server/dist/routes/feedback.d.ts.map +0 -1
  381. package/node_modules/@sudocode-ai/local-server/dist/routes/feedback.js +0 -340
  382. package/node_modules/@sudocode-ai/local-server/dist/routes/feedback.js.map +0 -1
  383. package/node_modules/@sudocode-ai/local-server/dist/routes/files.d.ts +0 -18
  384. package/node_modules/@sudocode-ai/local-server/dist/routes/files.d.ts.map +0 -1
  385. package/node_modules/@sudocode-ai/local-server/dist/routes/files.js +0 -89
  386. package/node_modules/@sudocode-ai/local-server/dist/routes/files.js.map +0 -1
  387. package/node_modules/@sudocode-ai/local-server/dist/routes/import.d.ts +0 -142
  388. package/node_modules/@sudocode-ai/local-server/dist/routes/import.d.ts.map +0 -1
  389. package/node_modules/@sudocode-ai/local-server/dist/routes/import.js +0 -896
  390. package/node_modules/@sudocode-ai/local-server/dist/routes/import.js.map +0 -1
  391. package/node_modules/@sudocode-ai/local-server/dist/routes/issues.d.ts +0 -8
  392. package/node_modules/@sudocode-ai/local-server/dist/routes/issues.d.ts.map +0 -1
  393. package/node_modules/@sudocode-ai/local-server/dist/routes/issues.js +0 -419
  394. package/node_modules/@sudocode-ai/local-server/dist/routes/issues.js.map +0 -1
  395. package/node_modules/@sudocode-ai/local-server/dist/routes/plugins.d.ts +0 -34
  396. package/node_modules/@sudocode-ai/local-server/dist/routes/plugins.d.ts.map +0 -1
  397. package/node_modules/@sudocode-ai/local-server/dist/routes/plugins.js +0 -602
  398. package/node_modules/@sudocode-ai/local-server/dist/routes/plugins.js.map +0 -1
  399. package/node_modules/@sudocode-ai/local-server/dist/routes/projects.d.ts +0 -11
  400. package/node_modules/@sudocode-ai/local-server/dist/routes/projects.d.ts.map +0 -1
  401. package/node_modules/@sudocode-ai/local-server/dist/routes/projects.js +0 -536
  402. package/node_modules/@sudocode-ai/local-server/dist/routes/projects.js.map +0 -1
  403. package/node_modules/@sudocode-ai/local-server/dist/routes/relationships.d.ts +0 -8
  404. package/node_modules/@sudocode-ai/local-server/dist/routes/relationships.d.ts.map +0 -1
  405. package/node_modules/@sudocode-ai/local-server/dist/routes/relationships.js +0 -310
  406. package/node_modules/@sudocode-ai/local-server/dist/routes/relationships.js.map +0 -1
  407. package/node_modules/@sudocode-ai/local-server/dist/routes/repo-info.d.ts +0 -3
  408. package/node_modules/@sudocode-ai/local-server/dist/routes/repo-info.d.ts.map +0 -1
  409. package/node_modules/@sudocode-ai/local-server/dist/routes/repo-info.js +0 -203
  410. package/node_modules/@sudocode-ai/local-server/dist/routes/repo-info.js.map +0 -1
  411. package/node_modules/@sudocode-ai/local-server/dist/routes/specs.d.ts +0 -8
  412. package/node_modules/@sudocode-ai/local-server/dist/routes/specs.d.ts.map +0 -1
  413. package/node_modules/@sudocode-ai/local-server/dist/routes/specs.js +0 -414
  414. package/node_modules/@sudocode-ai/local-server/dist/routes/specs.js.map +0 -1
  415. package/node_modules/@sudocode-ai/local-server/dist/routes/update.d.ts +0 -7
  416. package/node_modules/@sudocode-ai/local-server/dist/routes/update.d.ts.map +0 -1
  417. package/node_modules/@sudocode-ai/local-server/dist/routes/update.js +0 -194
  418. package/node_modules/@sudocode-ai/local-server/dist/routes/update.js.map +0 -1
  419. package/node_modules/@sudocode-ai/local-server/dist/routes/version.d.ts +0 -3
  420. package/node_modules/@sudocode-ai/local-server/dist/routes/version.d.ts.map +0 -1
  421. package/node_modules/@sudocode-ai/local-server/dist/routes/version.js +0 -25
  422. package/node_modules/@sudocode-ai/local-server/dist/routes/version.js.map +0 -1
  423. package/node_modules/@sudocode-ai/local-server/dist/routes/workflows.d.ts +0 -8
  424. package/node_modules/@sudocode-ai/local-server/dist/routes/workflows.d.ts.map +0 -1
  425. package/node_modules/@sudocode-ai/local-server/dist/routes/workflows.js +0 -1729
  426. package/node_modules/@sudocode-ai/local-server/dist/routes/workflows.js.map +0 -1
  427. package/node_modules/@sudocode-ai/local-server/dist/services/agent-registry.d.ts +0 -140
  428. package/node_modules/@sudocode-ai/local-server/dist/services/agent-registry.d.ts.map +0 -1
  429. package/node_modules/@sudocode-ai/local-server/dist/services/agent-registry.js +0 -272
  430. package/node_modules/@sudocode-ai/local-server/dist/services/agent-registry.js.map +0 -1
  431. package/node_modules/@sudocode-ai/local-server/dist/services/db.d.ts +0 -33
  432. package/node_modules/@sudocode-ai/local-server/dist/services/db.d.ts.map +0 -1
  433. package/node_modules/@sudocode-ai/local-server/dist/services/db.js +0 -90
  434. package/node_modules/@sudocode-ai/local-server/dist/services/db.js.map +0 -1
  435. package/node_modules/@sudocode-ai/local-server/dist/services/editor-service.d.ts +0 -57
  436. package/node_modules/@sudocode-ai/local-server/dist/services/editor-service.d.ts.map +0 -1
  437. package/node_modules/@sudocode-ai/local-server/dist/services/editor-service.js +0 -204
  438. package/node_modules/@sudocode-ai/local-server/dist/services/editor-service.js.map +0 -1
  439. package/node_modules/@sudocode-ai/local-server/dist/services/execution-changes-service.d.ts +0 -110
  440. package/node_modules/@sudocode-ai/local-server/dist/services/execution-changes-service.d.ts.map +0 -1
  441. package/node_modules/@sudocode-ai/local-server/dist/services/execution-changes-service.js +0 -710
  442. package/node_modules/@sudocode-ai/local-server/dist/services/execution-changes-service.js.map +0 -1
  443. package/node_modules/@sudocode-ai/local-server/dist/services/execution-event-callbacks.d.ts +0 -73
  444. package/node_modules/@sudocode-ai/local-server/dist/services/execution-event-callbacks.d.ts.map +0 -1
  445. package/node_modules/@sudocode-ai/local-server/dist/services/execution-event-callbacks.js +0 -82
  446. package/node_modules/@sudocode-ai/local-server/dist/services/execution-event-callbacks.js.map +0 -1
  447. package/node_modules/@sudocode-ai/local-server/dist/services/execution-lifecycle.d.ts +0 -145
  448. package/node_modules/@sudocode-ai/local-server/dist/services/execution-lifecycle.d.ts.map +0 -1
  449. package/node_modules/@sudocode-ai/local-server/dist/services/execution-lifecycle.js +0 -392
  450. package/node_modules/@sudocode-ai/local-server/dist/services/execution-lifecycle.js.map +0 -1
  451. package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-cleanup.d.ts +0 -88
  452. package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-cleanup.d.ts.map +0 -1
  453. package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-cleanup.js +0 -137
  454. package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-cleanup.js.map +0 -1
  455. package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-store.d.ts +0 -252
  456. package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-store.d.ts.map +0 -1
  457. package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-store.js +0 -379
  458. package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-store.js.map +0 -1
  459. package/node_modules/@sudocode-ai/local-server/dist/services/execution-service.d.ts +0 -280
  460. package/node_modules/@sudocode-ai/local-server/dist/services/execution-service.d.ts.map +0 -1
  461. package/node_modules/@sudocode-ai/local-server/dist/services/execution-service.js +0 -1240
  462. package/node_modules/@sudocode-ai/local-server/dist/services/execution-service.js.map +0 -1
  463. package/node_modules/@sudocode-ai/local-server/dist/services/execution-worker-pool.d.ts +0 -116
  464. package/node_modules/@sudocode-ai/local-server/dist/services/execution-worker-pool.d.ts.map +0 -1
  465. package/node_modules/@sudocode-ai/local-server/dist/services/execution-worker-pool.js +0 -326
  466. package/node_modules/@sudocode-ai/local-server/dist/services/execution-worker-pool.js.map +0 -1
  467. package/node_modules/@sudocode-ai/local-server/dist/services/executions.d.ts +0 -63
  468. package/node_modules/@sudocode-ai/local-server/dist/services/executions.d.ts.map +0 -1
  469. package/node_modules/@sudocode-ai/local-server/dist/services/executions.js +0 -177
  470. package/node_modules/@sudocode-ai/local-server/dist/services/executions.js.map +0 -1
  471. package/node_modules/@sudocode-ai/local-server/dist/services/export.d.ts +0 -32
  472. package/node_modules/@sudocode-ai/local-server/dist/services/export.d.ts.map +0 -1
  473. package/node_modules/@sudocode-ai/local-server/dist/services/export.js +0 -114
  474. package/node_modules/@sudocode-ai/local-server/dist/services/export.js.map +0 -1
  475. package/node_modules/@sudocode-ai/local-server/dist/services/external-refresh-service.d.ts +0 -104
  476. package/node_modules/@sudocode-ai/local-server/dist/services/external-refresh-service.d.ts.map +0 -1
  477. package/node_modules/@sudocode-ai/local-server/dist/services/external-refresh-service.js +0 -520
  478. package/node_modules/@sudocode-ai/local-server/dist/services/external-refresh-service.js.map +0 -1
  479. package/node_modules/@sudocode-ai/local-server/dist/services/feedback.d.ts +0 -56
  480. package/node_modules/@sudocode-ai/local-server/dist/services/feedback.d.ts.map +0 -1
  481. package/node_modules/@sudocode-ai/local-server/dist/services/feedback.js +0 -78
  482. package/node_modules/@sudocode-ai/local-server/dist/services/feedback.js.map +0 -1
  483. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/git-ls-files-strategy.d.ts +0 -72
  484. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/git-ls-files-strategy.d.ts.map +0 -1
  485. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/git-ls-files-strategy.js +0 -176
  486. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/git-ls-files-strategy.js.map +0 -1
  487. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/index.d.ts +0 -9
  488. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/index.d.ts.map +0 -1
  489. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/index.js +0 -10
  490. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/index.js.map +0 -1
  491. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/registry.d.ts +0 -97
  492. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/registry.d.ts.map +0 -1
  493. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/registry.js +0 -140
  494. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/registry.js.map +0 -1
  495. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/strategy.d.ts +0 -58
  496. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/strategy.d.ts.map +0 -1
  497. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/strategy.js +0 -8
  498. package/node_modules/@sudocode-ai/local-server/dist/services/file-search/strategy.js.map +0 -1
  499. package/node_modules/@sudocode-ai/local-server/dist/services/integration-sync-service.d.ts +0 -185
  500. package/node_modules/@sudocode-ai/local-server/dist/services/integration-sync-service.d.ts.map +0 -1
  501. package/node_modules/@sudocode-ai/local-server/dist/services/integration-sync-service.js +0 -428
  502. package/node_modules/@sudocode-ai/local-server/dist/services/integration-sync-service.js.map +0 -1
  503. package/node_modules/@sudocode-ai/local-server/dist/services/issues.d.ts +0 -27
  504. package/node_modules/@sudocode-ai/local-server/dist/services/issues.d.ts.map +0 -1
  505. package/node_modules/@sudocode-ai/local-server/dist/services/issues.js +0 -35
  506. package/node_modules/@sudocode-ai/local-server/dist/services/issues.js.map +0 -1
  507. package/node_modules/@sudocode-ai/local-server/dist/services/project-context.d.ts +0 -97
  508. package/node_modules/@sudocode-ai/local-server/dist/services/project-context.d.ts.map +0 -1
  509. package/node_modules/@sudocode-ai/local-server/dist/services/project-context.js +0 -170
  510. package/node_modules/@sudocode-ai/local-server/dist/services/project-context.js.map +0 -1
  511. package/node_modules/@sudocode-ai/local-server/dist/services/project-manager.d.ts +0 -102
  512. package/node_modules/@sudocode-ai/local-server/dist/services/project-manager.d.ts.map +0 -1
  513. package/node_modules/@sudocode-ai/local-server/dist/services/project-manager.js +0 -502
  514. package/node_modules/@sudocode-ai/local-server/dist/services/project-manager.js.map +0 -1
  515. package/node_modules/@sudocode-ai/local-server/dist/services/project-registry.d.ts +0 -98
  516. package/node_modules/@sudocode-ai/local-server/dist/services/project-registry.d.ts.map +0 -1
  517. package/node_modules/@sudocode-ai/local-server/dist/services/project-registry.js +0 -289
  518. package/node_modules/@sudocode-ai/local-server/dist/services/project-registry.js.map +0 -1
  519. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-resolver.d.ts +0 -97
  520. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-resolver.d.ts.map +0 -1
  521. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-resolver.js +0 -377
  522. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-resolver.js.map +0 -1
  523. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-template-engine.d.ts +0 -108
  524. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-template-engine.d.ts.map +0 -1
  525. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-template-engine.js +0 -212
  526. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-template-engine.js.map +0 -1
  527. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-templates.d.ts +0 -97
  528. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-templates.d.ts.map +0 -1
  529. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-templates.js +0 -236
  530. package/node_modules/@sudocode-ai/local-server/dist/services/prompt-templates.js.map +0 -1
  531. package/node_modules/@sudocode-ai/local-server/dist/services/relationships.d.ts +0 -35
  532. package/node_modules/@sudocode-ai/local-server/dist/services/relationships.d.ts.map +0 -1
  533. package/node_modules/@sudocode-ai/local-server/dist/services/relationships.js +0 -42
  534. package/node_modules/@sudocode-ai/local-server/dist/services/relationships.js.map +0 -1
  535. package/node_modules/@sudocode-ai/local-server/dist/services/repo-info.d.ts +0 -33
  536. package/node_modules/@sudocode-ai/local-server/dist/services/repo-info.d.ts.map +0 -1
  537. package/node_modules/@sudocode-ai/local-server/dist/services/repo-info.js +0 -136
  538. package/node_modules/@sudocode-ai/local-server/dist/services/repo-info.js.map +0 -1
  539. package/node_modules/@sudocode-ai/local-server/dist/services/specs.d.ts +0 -27
  540. package/node_modules/@sudocode-ai/local-server/dist/services/specs.d.ts.map +0 -1
  541. package/node_modules/@sudocode-ai/local-server/dist/services/specs.js +0 -35
  542. package/node_modules/@sudocode-ai/local-server/dist/services/specs.js.map +0 -1
  543. package/node_modules/@sudocode-ai/local-server/dist/services/version-service.d.ts +0 -14
  544. package/node_modules/@sudocode-ai/local-server/dist/services/version-service.d.ts.map +0 -1
  545. package/node_modules/@sudocode-ai/local-server/dist/services/version-service.js +0 -57
  546. package/node_modules/@sudocode-ai/local-server/dist/services/version-service.js.map +0 -1
  547. package/node_modules/@sudocode-ai/local-server/dist/services/watcher.d.ts +0 -49
  548. package/node_modules/@sudocode-ai/local-server/dist/services/watcher.d.ts.map +0 -1
  549. package/node_modules/@sudocode-ai/local-server/dist/services/watcher.js +0 -52
  550. package/node_modules/@sudocode-ai/local-server/dist/services/watcher.js.map +0 -1
  551. package/node_modules/@sudocode-ai/local-server/dist/services/websocket.d.ts +0 -179
  552. package/node_modules/@sudocode-ai/local-server/dist/services/websocket.d.ts.map +0 -1
  553. package/node_modules/@sudocode-ai/local-server/dist/services/websocket.js +0 -543
  554. package/node_modules/@sudocode-ai/local-server/dist/services/websocket.js.map +0 -1
  555. package/node_modules/@sudocode-ai/local-server/dist/services/workflow-broadcast-service.d.ts +0 -43
  556. package/node_modules/@sudocode-ai/local-server/dist/services/workflow-broadcast-service.d.ts.map +0 -1
  557. package/node_modules/@sudocode-ai/local-server/dist/services/workflow-broadcast-service.js +0 -155
  558. package/node_modules/@sudocode-ai/local-server/dist/services/workflow-broadcast-service.js.map +0 -1
  559. package/node_modules/@sudocode-ai/local-server/dist/services/worktree-sync-service.d.ts +0 -437
  560. package/node_modules/@sudocode-ai/local-server/dist/services/worktree-sync-service.d.ts.map +0 -1
  561. package/node_modules/@sudocode-ai/local-server/dist/services/worktree-sync-service.js +0 -1505
  562. package/node_modules/@sudocode-ai/local-server/dist/services/worktree-sync-service.js.map +0 -1
  563. package/node_modules/@sudocode-ai/local-server/dist/types/editor.d.ts +0 -49
  564. package/node_modules/@sudocode-ai/local-server/dist/types/editor.d.ts.map +0 -1
  565. package/node_modules/@sudocode-ai/local-server/dist/types/editor.js +0 -50
  566. package/node_modules/@sudocode-ai/local-server/dist/types/editor.js.map +0 -1
  567. package/node_modules/@sudocode-ai/local-server/dist/types/project.d.ts +0 -58
  568. package/node_modules/@sudocode-ai/local-server/dist/types/project.d.ts.map +0 -1
  569. package/node_modules/@sudocode-ai/local-server/dist/types/project.js +0 -10
  570. package/node_modules/@sudocode-ai/local-server/dist/types/project.js.map +0 -1
  571. package/node_modules/@sudocode-ai/local-server/dist/utils/execFileNoThrow.d.ts +0 -43
  572. package/node_modules/@sudocode-ai/local-server/dist/utils/execFileNoThrow.d.ts.map +0 -1
  573. package/node_modules/@sudocode-ai/local-server/dist/utils/execFileNoThrow.js +0 -53
  574. package/node_modules/@sudocode-ai/local-server/dist/utils/execFileNoThrow.js.map +0 -1
  575. package/node_modules/@sudocode-ai/local-server/dist/utils/executable-check.d.ts +0 -36
  576. package/node_modules/@sudocode-ai/local-server/dist/utils/executable-check.d.ts.map +0 -1
  577. package/node_modules/@sudocode-ai/local-server/dist/utils/executable-check.js +0 -79
  578. package/node_modules/@sudocode-ai/local-server/dist/utils/executable-check.js.map +0 -1
  579. package/node_modules/@sudocode-ai/local-server/dist/utils/sudocode-dir.d.ts +0 -6
  580. package/node_modules/@sudocode-ai/local-server/dist/utils/sudocode-dir.d.ts.map +0 -1
  581. package/node_modules/@sudocode-ai/local-server/dist/utils/sudocode-dir.js +0 -9
  582. package/node_modules/@sudocode-ai/local-server/dist/utils/sudocode-dir.js.map +0 -1
  583. package/node_modules/@sudocode-ai/local-server/dist/workers/execution-worker.d.ts +0 -18
  584. package/node_modules/@sudocode-ai/local-server/dist/workers/execution-worker.d.ts.map +0 -1
  585. package/node_modules/@sudocode-ai/local-server/dist/workers/execution-worker.js +0 -340
  586. package/node_modules/@sudocode-ai/local-server/dist/workers/execution-worker.js.map +0 -1
  587. package/node_modules/@sudocode-ai/local-server/dist/workers/worker-ipc.d.ts +0 -84
  588. package/node_modules/@sudocode-ai/local-server/dist/workers/worker-ipc.d.ts.map +0 -1
  589. package/node_modules/@sudocode-ai/local-server/dist/workers/worker-ipc.js +0 -29
  590. package/node_modules/@sudocode-ai/local-server/dist/workers/worker-ipc.js.map +0 -1
  591. package/node_modules/@sudocode-ai/local-server/dist/workflow/base-workflow-engine.d.ts +0 -186
  592. package/node_modules/@sudocode-ai/local-server/dist/workflow/base-workflow-engine.d.ts.map +0 -1
  593. package/node_modules/@sudocode-ai/local-server/dist/workflow/base-workflow-engine.js +0 -557
  594. package/node_modules/@sudocode-ai/local-server/dist/workflow/base-workflow-engine.js.map +0 -1
  595. package/node_modules/@sudocode-ai/local-server/dist/workflow/dependency-analyzer.d.ts +0 -78
  596. package/node_modules/@sudocode-ai/local-server/dist/workflow/dependency-analyzer.d.ts.map +0 -1
  597. package/node_modules/@sudocode-ai/local-server/dist/workflow/dependency-analyzer.js +0 -264
  598. package/node_modules/@sudocode-ai/local-server/dist/workflow/dependency-analyzer.js.map +0 -1
  599. package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/orchestrator-engine.d.ts +0 -237
  600. package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/orchestrator-engine.d.ts.map +0 -1
  601. package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/orchestrator-engine.js +0 -749
  602. package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/orchestrator-engine.js.map +0 -1
  603. package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/sequential-engine.d.ts +0 -276
  604. package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/sequential-engine.d.ts.map +0 -1
  605. package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/sequential-engine.js +0 -1110
  606. package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/sequential-engine.js.map +0 -1
  607. package/node_modules/@sudocode-ai/local-server/dist/workflow/index.d.ts +0 -15
  608. package/node_modules/@sudocode-ai/local-server/dist/workflow/index.d.ts.map +0 -1
  609. package/node_modules/@sudocode-ai/local-server/dist/workflow/index.js +0 -22
  610. package/node_modules/@sudocode-ai/local-server/dist/workflow/index.js.map +0 -1
  611. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/api-client.d.ts +0 -103
  612. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/api-client.d.ts.map +0 -1
  613. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/api-client.js +0 -193
  614. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/api-client.js.map +0 -1
  615. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/index.d.ts +0 -16
  616. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/index.d.ts.map +0 -1
  617. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/index.js +0 -114
  618. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/index.js.map +0 -1
  619. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/server.d.ts +0 -85
  620. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/server.d.ts.map +0 -1
  621. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/server.js +0 -520
  622. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/server.js.map +0 -1
  623. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/escalation.d.ts +0 -36
  624. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/escalation.d.ts.map +0 -1
  625. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/escalation.js +0 -47
  626. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/escalation.js.map +0 -1
  627. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/execution.d.ts +0 -59
  628. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/execution.d.ts.map +0 -1
  629. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/execution.js +0 -67
  630. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/execution.js.map +0 -1
  631. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/inspection.d.ts +0 -82
  632. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/inspection.d.ts.map +0 -1
  633. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/inspection.js +0 -57
  634. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/inspection.js.map +0 -1
  635. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/workflow.d.ts +0 -59
  636. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/workflow.d.ts.map +0 -1
  637. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/workflow.js +0 -40
  638. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/workflow.js.map +0 -1
  639. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/types.d.ts +0 -345
  640. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/types.d.ts.map +0 -1
  641. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/types.js +0 -7
  642. package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/types.js.map +0 -1
  643. package/node_modules/@sudocode-ai/local-server/dist/workflow/services/prompt-builder.d.ts +0 -36
  644. package/node_modules/@sudocode-ai/local-server/dist/workflow/services/prompt-builder.d.ts.map +0 -1
  645. package/node_modules/@sudocode-ai/local-server/dist/workflow/services/prompt-builder.js +0 -329
  646. package/node_modules/@sudocode-ai/local-server/dist/workflow/services/prompt-builder.js.map +0 -1
  647. package/node_modules/@sudocode-ai/local-server/dist/workflow/services/wakeup-service.d.ts +0 -262
  648. package/node_modules/@sudocode-ai/local-server/dist/workflow/services/wakeup-service.d.ts.map +0 -1
  649. package/node_modules/@sudocode-ai/local-server/dist/workflow/services/wakeup-service.js +0 -809
  650. package/node_modules/@sudocode-ai/local-server/dist/workflow/services/wakeup-service.js.map +0 -1
  651. package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-engine.d.ts +0 -221
  652. package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-engine.d.ts.map +0 -1
  653. package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-engine.js +0 -94
  654. package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-engine.js.map +0 -1
  655. package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-event-emitter.d.ts +0 -278
  656. package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-event-emitter.d.ts.map +0 -1
  657. package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-event-emitter.js +0 -259
  658. package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-event-emitter.js.map +0 -1
  659. package/node_modules/@sudocode-ai/local-server/package.json +0 -78
  660. package/node_modules/@sudocode-ai/mcp/README.md +0 -226
  661. package/node_modules/@sudocode-ai/mcp/dist/client.d.ts +0 -33
  662. package/node_modules/@sudocode-ai/mcp/dist/client.d.ts.map +0 -1
  663. package/node_modules/@sudocode-ai/mcp/dist/client.js +0 -166
  664. package/node_modules/@sudocode-ai/mcp/dist/client.js.map +0 -1
  665. package/node_modules/@sudocode-ai/mcp/dist/index.d.ts +0 -6
  666. package/node_modules/@sudocode-ai/mcp/dist/index.d.ts.map +0 -1
  667. package/node_modules/@sudocode-ai/mcp/dist/index.js +0 -64
  668. package/node_modules/@sudocode-ai/mcp/dist/index.js.map +0 -1
  669. package/node_modules/@sudocode-ai/mcp/dist/server.d.ts +0 -26
  670. package/node_modules/@sudocode-ai/mcp/dist/server.d.ts.map +0 -1
  671. package/node_modules/@sudocode-ai/mcp/dist/server.js +0 -577
  672. package/node_modules/@sudocode-ai/mcp/dist/server.js.map +0 -1
  673. package/node_modules/@sudocode-ai/mcp/dist/tools/analytics.d.ts +0 -41
  674. package/node_modules/@sudocode-ai/mcp/dist/tools/analytics.d.ts.map +0 -1
  675. package/node_modules/@sudocode-ai/mcp/dist/tools/analytics.js +0 -21
  676. package/node_modules/@sudocode-ai/mcp/dist/tools/analytics.js.map +0 -1
  677. package/node_modules/@sudocode-ai/mcp/dist/tools/feedback.d.ts +0 -21
  678. package/node_modules/@sudocode-ai/mcp/dist/tools/feedback.d.ts.map +0 -1
  679. package/node_modules/@sudocode-ai/mcp/dist/tools/feedback.js +0 -30
  680. package/node_modules/@sudocode-ai/mcp/dist/tools/feedback.js.map +0 -1
  681. package/node_modules/@sudocode-ai/mcp/dist/tools/init.d.ts +0 -17
  682. package/node_modules/@sudocode-ai/mcp/dist/tools/init.d.ts.map +0 -1
  683. package/node_modules/@sudocode-ai/mcp/dist/tools/init.js +0 -15
  684. package/node_modules/@sudocode-ai/mcp/dist/tools/init.js.map +0 -1
  685. package/node_modules/@sudocode-ai/mcp/dist/tools/issues.d.ts +0 -44
  686. package/node_modules/@sudocode-ai/mcp/dist/tools/issues.d.ts.map +0 -1
  687. package/node_modules/@sudocode-ai/mcp/dist/tools/issues.js +0 -109
  688. package/node_modules/@sudocode-ai/mcp/dist/tools/issues.js.map +0 -1
  689. package/node_modules/@sudocode-ai/mcp/dist/tools/references.d.ts +0 -21
  690. package/node_modules/@sudocode-ai/mcp/dist/tools/references.d.ts.map +0 -1
  691. package/node_modules/@sudocode-ai/mcp/dist/tools/references.js +0 -49
  692. package/node_modules/@sudocode-ai/mcp/dist/tools/references.js.map +0 -1
  693. package/node_modules/@sudocode-ai/mcp/dist/tools/relationships.d.ts +0 -15
  694. package/node_modules/@sudocode-ai/mcp/dist/tools/relationships.d.ts.map +0 -1
  695. package/node_modules/@sudocode-ai/mcp/dist/tools/relationships.js +0 -18
  696. package/node_modules/@sudocode-ai/mcp/dist/tools/relationships.js.map +0 -1
  697. package/node_modules/@sudocode-ai/mcp/dist/tools/specs.d.ts +0 -35
  698. package/node_modules/@sudocode-ai/mcp/dist/tools/specs.d.ts.map +0 -1
  699. package/node_modules/@sudocode-ai/mcp/dist/tools/specs.js +0 -85
  700. package/node_modules/@sudocode-ai/mcp/dist/tools/specs.js.map +0 -1
  701. package/node_modules/@sudocode-ai/mcp/dist/types.d.ts +0 -35
  702. package/node_modules/@sudocode-ai/mcp/dist/types.d.ts.map +0 -1
  703. package/node_modules/@sudocode-ai/mcp/dist/types.js +0 -21
  704. package/node_modules/@sudocode-ai/mcp/dist/types.js.map +0 -1
  705. package/node_modules/@sudocode-ai/mcp/package.json +0 -67
  706. package/node_modules/@sudocode-ai/types/README.md +0 -7
  707. package/node_modules/@sudocode-ai/types/package.json +0 -76
  708. package/node_modules/@sudocode-ai/types/src/agents.d.ts +0 -278
  709. package/node_modules/@sudocode-ai/types/src/artifacts.d.ts +0 -66
  710. package/node_modules/@sudocode-ai/types/src/events.d.ts +0 -70
  711. package/node_modules/@sudocode-ai/types/src/index.d.ts +0 -452
  712. package/node_modules/@sudocode-ai/types/src/integrations.d.ts +0 -454
  713. package/node_modules/@sudocode-ai/types/src/workflows.d.ts +0 -501
  714. package/node_modules/commander/LICENSE +0 -22
  715. package/node_modules/commander/Readme.md +0 -1149
  716. package/node_modules/commander/esm.mjs +0 -16
  717. package/node_modules/commander/index.js +0 -24
  718. package/node_modules/commander/lib/argument.js +0 -149
  719. package/node_modules/commander/lib/command.js +0 -2662
  720. package/node_modules/commander/lib/error.js +0 -39
  721. package/node_modules/commander/lib/help.js +0 -709
  722. package/node_modules/commander/lib/option.js +0 -367
  723. package/node_modules/commander/lib/suggestSimilar.js +0 -101
  724. package/node_modules/commander/package-support.json +0 -16
  725. package/node_modules/commander/package.json +0 -82
  726. package/node_modules/commander/typings/esm.d.mts +0 -3
  727. package/node_modules/commander/typings/index.d.ts +0 -1045
  728. package/node_modules/glob/LICENSE +0 -15
  729. package/node_modules/glob/README.md +0 -1265
  730. package/node_modules/glob/package.json +0 -99
  731. package/node_modules/isexe/LICENSE +0 -15
  732. package/node_modules/isexe/README.md +0 -74
  733. package/node_modules/isexe/package.json +0 -96
  734. package/node_modules/which/LICENSE +0 -15
  735. package/node_modules/which/README.md +0 -51
  736. package/node_modules/which/bin/which.js +0 -52
  737. package/node_modules/which/lib/index.js +0 -111
  738. package/node_modules/which/package.json +0 -52
@@ -1,329 +0,0 @@
1
- /**
2
- * WorkflowPromptBuilder
3
- *
4
- * Constructs prompts for the orchestrator agent.
5
- * Builds initial prompts when workflows start and wakeup messages when events occur.
6
- */
7
- // =============================================================================
8
- // Helper Functions
9
- // =============================================================================
10
- /**
11
- * Format a duration in milliseconds to human-readable string
12
- */
13
- function formatDuration(ms) {
14
- const seconds = Math.floor(ms / 1000);
15
- const minutes = Math.floor(seconds / 60);
16
- const hours = Math.floor(minutes / 60);
17
- if (hours > 0) {
18
- const remainingMinutes = minutes % 60;
19
- return `${hours}h ${remainingMinutes}m`;
20
- }
21
- if (minutes > 0) {
22
- const remainingSeconds = seconds % 60;
23
- return `${minutes}m ${remainingSeconds}s`;
24
- }
25
- return `${seconds}s`;
26
- }
27
- /**
28
- * Parse files_changed JSON string to get count and stats
29
- */
30
- function parseFilesChanged(filesChanged) {
31
- if (!filesChanged) {
32
- return { count: 0, additions: 0, deletions: 0 };
33
- }
34
- try {
35
- const files = JSON.parse(filesChanged);
36
- const additions = files.reduce((sum, f) => sum + (f.additions || 0), 0);
37
- const deletions = files.reduce((sum, f) => sum + (f.deletions || 0), 0);
38
- return { count: files.length, additions, deletions };
39
- }
40
- catch {
41
- return { count: 0, additions: 0, deletions: 0 };
42
- }
43
- }
44
- /**
45
- * Format workflow source for display
46
- */
47
- function formatSource(source) {
48
- switch (source.type) {
49
- case "spec":
50
- return `Implementing spec \`${source.specId}\``;
51
- case "issues":
52
- return `Executing ${source.issueIds.length} issues: ${source.issueIds.join(", ")}`;
53
- case "root_issue":
54
- return `Completing issue \`${source.issueId}\` and its blockers`;
55
- case "goal":
56
- return `Goal: ${source.goal}`;
57
- default:
58
- return "Unknown source";
59
- }
60
- }
61
- /**
62
- * Format config for display
63
- */
64
- function formatConfig(config) {
65
- const lines = [];
66
- lines.push(`- **Autonomy Level**: ${config.autonomyLevel === "full_auto" ? "Full Auto (no user intervention)" : "Human-in-the-Loop"}`);
67
- lines.push(`- **On Failure**: ${config.onFailure}`);
68
- lines.push(`- **Default Agent**: ${config.defaultAgentType}`);
69
- if (config.orchestratorModel) {
70
- lines.push(`- **Model**: ${config.orchestratorModel}`);
71
- }
72
- if (config.executionTimeoutMs) {
73
- lines.push(`- **Execution Timeout**: ${formatDuration(config.executionTimeoutMs)}`);
74
- }
75
- return lines.join("\n");
76
- }
77
- // =============================================================================
78
- // WorkflowPromptBuilder
79
- // =============================================================================
80
- /**
81
- * Builds prompts and messages for the orchestrator agent.
82
- */
83
- export class WorkflowPromptBuilder {
84
- /**
85
- * Build the initial prompt for the orchestrator when workflow starts.
86
- * Includes: workflow source, config, available issues, relationships.
87
- */
88
- buildInitialPrompt(workflow, issues) {
89
- const sections = [];
90
- // Header
91
- sections.push("# Workflow Orchestration");
92
- sections.push("");
93
- sections.push(`You are orchestrating workflow \`${workflow.id}\`: **${workflow.title}**`);
94
- sections.push("");
95
- // Source
96
- sections.push("## Objective");
97
- sections.push("");
98
- sections.push(formatSource(workflow.source));
99
- sections.push("");
100
- // Configuration
101
- sections.push("## Configuration");
102
- sections.push("");
103
- sections.push(formatConfig(workflow.config));
104
- sections.push("");
105
- // Available Tools
106
- sections.push("## Available Tools");
107
- sections.push("");
108
- sections.push("You have access to workflow orchestration tools:");
109
- sections.push("");
110
- sections.push("| Tool | Purpose |");
111
- sections.push("|------|---------|");
112
- sections.push("| `workflow_status` | Get current workflow state, active executions, ready issues |");
113
- sections.push("| `execute_issue` | Start an agent execution for an issue |");
114
- sections.push("| `execution_status` | Check status of a running/completed execution |");
115
- sections.push("| `execution_cancel` | Cancel a running execution |");
116
- sections.push("| `execution_trajectory` | Get summarized trajectory (tool calls, decisions) |");
117
- sections.push("| `execution_changes` | Get file changes from an execution |");
118
- sections.push("| `escalate_to_user` | Request user input (async - response via wakeup) |");
119
- sections.push("| `notify_user` | Send notification without blocking |");
120
- sections.push("| `workflow_complete` | Mark workflow as complete |");
121
- sections.push("");
122
- sections.push("You also have access to sudocode tools (`ready`, `show_issue`, `upsert_issue`, `link`, etc.) for managing issues and specs.");
123
- sections.push("");
124
- // Issues
125
- if (issues.length > 0) {
126
- sections.push("## Issues to Execute");
127
- sections.push("");
128
- for (const issue of issues) {
129
- const priority = issue.priority !== undefined ? ` (P${issue.priority})` : "";
130
- sections.push(`### ${issue.id}: ${issue.title}${priority}`);
131
- sections.push("");
132
- sections.push(`Status: ${issue.status}`);
133
- if (issue.content) {
134
- // Truncate long content
135
- const content = issue.content.length > 500
136
- ? issue.content.slice(0, 500) + "..."
137
- : issue.content;
138
- sections.push("");
139
- sections.push(content);
140
- }
141
- sections.push("");
142
- }
143
- }
144
- else if (workflow.source.type === "goal") {
145
- sections.push("## Getting Started");
146
- sections.push("");
147
- sections.push("This is a goal-based workflow. No issues have been created yet.");
148
- sections.push("Use `upsert_issue` to create issues and `link` to establish dependencies.");
149
- sections.push("Then use `execute_issue` to run agents on the issues.");
150
- sections.push("");
151
- }
152
- // Instructions
153
- sections.push("## Instructions");
154
- sections.push("");
155
- sections.push("1. Review the issues and their dependencies");
156
- sections.push("2. Use `execute_issue` to start agents on ready issues");
157
- sections.push("3. You will receive wakeup messages when executions complete or fail");
158
- sections.push("4. Inspect results with `execution_trajectory` and `execution_changes`");
159
- sections.push("5. Handle failures by retrying, creating fix issues, or escalating");
160
- sections.push("6. When all work is done, call `workflow_complete` with a summary");
161
- sections.push("");
162
- sections.push("Begin by reviewing the current state and starting the first execution.");
163
- return sections.join("\n");
164
- }
165
- /**
166
- * Build a wakeup message from workflow events.
167
- * Summarizes what happened since last orchestrator interaction.
168
- *
169
- * @param events - Unprocessed workflow events
170
- * @param executions - Map of execution ID to execution data
171
- * @param resolvedAwait - Optional resolved await context (if woken from await_events)
172
- */
173
- buildWakeupMessage(events, executions, resolvedAwait) {
174
- const sections = [];
175
- sections.push("[Workflow Event]");
176
- sections.push("");
177
- // If woken from await, explain what triggered it
178
- if (resolvedAwait) {
179
- sections.push("=== AWAIT RESOLVED ===");
180
- sections.push(`You were waiting for: ${resolvedAwait.eventTypes.join(", ")}`);
181
- sections.push(`Triggered by: ${resolvedAwait.resolvedBy}`);
182
- if (resolvedAwait.message) {
183
- sections.push(`Context: ${resolvedAwait.message}`);
184
- }
185
- if (resolvedAwait.executionIds && resolvedAwait.executionIds.length > 0) {
186
- sections.push(`Filtered executions: ${resolvedAwait.executionIds.join(", ")}`);
187
- }
188
- sections.push("");
189
- }
190
- if (events.length === 0) {
191
- if (resolvedAwait) {
192
- // If we have a resolved await but no events, it was likely a timeout
193
- sections.push("No new events - this is likely a timeout wakeup.");
194
- }
195
- else {
196
- sections.push("No new events since last update.");
197
- }
198
- sections.push("");
199
- sections.push("What would you like to do next?");
200
- return sections.join("\n");
201
- }
202
- // Group events by type
203
- const executionEvents = events.filter((e) => e.type === "step_completed" ||
204
- e.type === "step_failed" ||
205
- e.type === "step_started");
206
- const escalationEvents = events.filter((e) => e.type === "escalation_resolved" || e.type === "user_response");
207
- const lifecycleEvents = events.filter((e) => e.type === "workflow_paused" ||
208
- e.type === "workflow_resumed");
209
- // Execution updates
210
- if (executionEvents.length > 0) {
211
- sections.push("Executions changed since last update:");
212
- sections.push("");
213
- for (const event of executionEvents) {
214
- const execution = event.executionId
215
- ? executions.get(event.executionId)
216
- : undefined;
217
- if (execution) {
218
- sections.push(this.summarizeExecution(execution));
219
- sections.push("");
220
- }
221
- else {
222
- // Fallback if execution not found
223
- const issueId = event.payload.issueId || "unknown";
224
- sections.push(`## ${issueId}`);
225
- sections.push(`- Event: ${event.type}`);
226
- if (event.payload) {
227
- sections.push(`- Details: ${JSON.stringify(event.payload)}`);
228
- }
229
- sections.push("");
230
- }
231
- }
232
- }
233
- // Escalation responses
234
- if (escalationEvents.length > 0) {
235
- sections.push("User responses:");
236
- sections.push("");
237
- for (const event of escalationEvents) {
238
- const payload = event.payload;
239
- sections.push(`- **Action**: ${payload.action || "unknown"}`);
240
- if (payload.message) {
241
- sections.push(` Message: "${payload.message}"`);
242
- }
243
- sections.push("");
244
- }
245
- }
246
- // Lifecycle events
247
- if (lifecycleEvents.length > 0) {
248
- for (const event of lifecycleEvents) {
249
- if (event.type === "workflow_paused") {
250
- sections.push("⚠️ Workflow was paused by user.");
251
- sections.push("");
252
- }
253
- else if (event.type === "workflow_resumed") {
254
- sections.push("✓ Workflow resumed.");
255
- sections.push("");
256
- }
257
- }
258
- }
259
- sections.push("---");
260
- sections.push("");
261
- sections.push("Use `execution_trajectory` or `execution_changes` for details.");
262
- sections.push("What would you like to do next?");
263
- return sections.join("\n");
264
- }
265
- /**
266
- * Create a compact summary of an execution result.
267
- */
268
- summarizeExecution(execution) {
269
- const lines = [];
270
- // Header with issue ID and title (from issue_id if available)
271
- const issueId = execution.issue_id || "unknown";
272
- lines.push(`## ${issueId}`);
273
- // Status
274
- const statusEmoji = this.getStatusEmoji(execution.status);
275
- lines.push(`- Status: ${statusEmoji} ${execution.status.toUpperCase()}`);
276
- // Duration
277
- if (execution.started_at && execution.completed_at) {
278
- const startTime = new Date(execution.started_at).getTime();
279
- const endTime = new Date(execution.completed_at).getTime();
280
- const duration = endTime - startTime;
281
- lines.push(`- Duration: ${formatDuration(duration)}`);
282
- }
283
- // Files changed
284
- const { count, additions, deletions } = parseFilesChanged(execution.files_changed);
285
- if (count > 0) {
286
- lines.push(`- Files changed: ${count} (+${additions}, -${deletions})`);
287
- }
288
- // For completed executions, show summary
289
- if (execution.status === "completed" && execution.summary) {
290
- const summary = execution.summary.length > 200
291
- ? execution.summary.slice(0, 200) + "..."
292
- : execution.summary;
293
- lines.push(`- Summary: "${summary}"`);
294
- }
295
- // For failed executions, show error
296
- if (execution.status === "failed") {
297
- if (execution.exit_code !== null) {
298
- lines.push(`- Exit code: ${execution.exit_code}`);
299
- }
300
- if (execution.error_message) {
301
- const error = execution.error_message.length > 200
302
- ? execution.error_message.slice(0, 200) + "..."
303
- : execution.error_message;
304
- lines.push(`- Error: "${error}"`);
305
- }
306
- }
307
- return lines.join("\n");
308
- }
309
- /**
310
- * Get emoji for execution status
311
- */
312
- getStatusEmoji(status) {
313
- switch (status) {
314
- case "completed":
315
- return "✓";
316
- case "failed":
317
- return "✗";
318
- case "running":
319
- return "⏳";
320
- case "stopped":
321
- return "⏹";
322
- case "pending":
323
- return "○";
324
- default:
325
- return "•";
326
- }
327
- }
328
- }
329
- //# sourceMappingURL=prompt-builder.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"prompt-builder.js","sourceRoot":"","sources":["../../../src/workflow/services/prompt-builder.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAaH,gFAAgF;AAChF,mBAAmB;AACnB,gFAAgF;AAEhF;;GAEG;AACH,SAAS,cAAc,CAAC,EAAU;IAChC,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC;IACtC,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,CAAC;IACzC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,CAAC;IAEvC,IAAI,KAAK,GAAG,CAAC,EAAE,CAAC;QACd,MAAM,gBAAgB,GAAG,OAAO,GAAG,EAAE,CAAC;QACtC,OAAO,GAAG,KAAK,KAAK,gBAAgB,GAAG,CAAC;IAC1C,CAAC;IACD,IAAI,OAAO,GAAG,CAAC,EAAE,CAAC;QAChB,MAAM,gBAAgB,GAAG,OAAO,GAAG,EAAE,CAAC;QACtC,OAAO,GAAG,OAAO,KAAK,gBAAgB,GAAG,CAAC;IAC5C,CAAC;IACD,OAAO,GAAG,OAAO,GAAG,CAAC;AACvB,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CAAC,YAA2B;IAKpD,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IAClD,CAAC;IAED,IAAI,CAAC;QACH,MAAM,KAAK,GAAG,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orchestrator wakeups.
5
- * Events are batched within a configurable window before triggering wakeups.
6
- */
7
- import type Database from "better-sqlite3";
8
- import type { WorkflowEvent, WorkflowEventType } from "@sudocode-ai/types";
9
- import type { AwaitableEventType } from "../mcp/types.js";
10
- import type { ExecutionService } from "../../services/execution-service.js";
11
- import type { WorkflowEventEmitter } from "../workflow-event-emitter.js";
12
- import { WorkflowPromptBuilder } from "./prompt-builder.js";
13
- /**
14
- * Configuration for wakeup behavior
15
- */
16
- export interface WakeupConfig {
17
- /** Batch window in ms - events within this window are batched into one wakeup */
18
- batchWindowMs: number;
19
- /** Optional: wake orchestrator if idle for this long */
20
- idleTimeoutMs?: number;
21
- /** Optional: wake orchestrator if execution takes longer than this */
22
- executionTimeoutMs?: number;
23
- }
24
- /**
25
- * Default wakeup configuration
26
- */
27
- export declare const DEFAULT_WAKEUP_CONFIG: WakeupConfig;
28
- /**
29
- * Event to record
30
- */
31
- export interface RecordEventParams {
32
- workflowId: string;
33
- type: WorkflowEventType;
34
- executionId?: string;
35
- stepId?: string;
36
- payload: Record<string, unknown>;
37
- }
38
- /**
39
- * Internal structure for tracking pending await conditions.
40
- * Stored in-memory, not persisted to database.
41
- */
42
- export interface PendingAwait {
43
- id: string;
44
- workflowId: string;
45
- eventTypes: AwaitableEventType[];
46
- executionIds?: string[];
47
- timeoutAt?: string;
48
- message?: string;
49
- createdAt: string;
50
- }
51
- /**
52
- * Resolved await with trigger information
53
- */
54
- export interface ResolvedAwait extends PendingAwait {
55
- resolvedBy: string;
56
- }
57
- /**
58
- * Parameters for registering an await condition
59
- */
60
- export interface RegisterAwaitParams {
61
- workflowId: string;
62
- eventTypes: AwaitableEventType[];
63
- executionIds?: string[];
64
- timeoutSeconds?: number;
65
- message?: string;
66
- }
67
- /**
68
- * Service for recording workflow events and triggering orchestrator wakeups.
69
- *
70
- * Events are batched within a configurable window. When the window expires,
71
- * a wakeup is triggered by creating a follow-up execution for the orchestrator.
72
- */
73
- export declare class WorkflowWakeupService {
74
- private db;
75
- private executionService;
76
- private promptBuilder;
77
- private eventEmitter;
78
- private config;
79
- /** Pending wakeup timers by workflow ID */
80
- private pendingWakeups;
81
- /** Active execution timeout timers by execution ID */
82
- private executionTimeouts;
83
- /** Pending await conditions by workflow ID */
84
- private pendingAwaits;
85
- /** Await timeout timers by await ID */
86
- private awaitTimeouts;
87
- /** Last resolved await for each workflow (for wakeup message context) */
88
- private resolvedAwaits;
89
- /** Whether the service is running (for timeout monitoring) */
90
- private _isRunning;
91
- /** Check if the service is running */
92
- get isRunning(): boolean;
93
- constructor(deps: {
94
- db: Database.Database;
95
- executionService: ExecutionService;
96
- promptBuilder: WorkflowPromptBuilder;
97
- eventEmitter: WorkflowEventEmitter;
98
- config?: Partial<WakeupConfig>;
99
- });
100
- /**
101
- * Record a workflow event.
102
- * Automatically schedules a wakeup after the batch window.
103
- * If an await condition is satisfied, triggers immediate wakeup.
104
- */
105
- recordEvent(params: RecordEventParams): Promise<void>;
106
- /**
107
- * Get all unprocessed events for a workflow.
108
- */
109
- getUnprocessedEvents(workflowId: string): WorkflowEvent[];
110
- /**
111
- * Mark events as processed.
112
- */
113
- markEventsProcessed(eventIds: string[]): void;
114
- /**
115
- * Schedule a wakeup for a workflow.
116
- * Debounced within the batch window - multiple events will be batched.
117
- */
118
- scheduleWakeup(workflowId: string): void;
119
- /**
120
- * Cancel a pending wakeup for a workflow.
121
- */
122
- cancelPendingWakeup(workflowId: string): void;
123
- /**
124
- * Start a timeout for an execution.
125
- *
126
- * When the timeout fires, the execution is cancelled and a step_failed
127
- * event is recorded with reason "timeout".
128
- *
129
- * The timeout deadline is persisted to the database so it can be recovered
130
- * after server restart.
131
- *
132
- * @param executionId - The execution to track
133
- * @param workflowId - The workflow the execution belongs to
134
- * @param stepId - The workflow step ID
135
- * @param timeoutMs - Timeout duration in milliseconds
136
- */
137
- startExecutionTimeout(executionId: string, workflowId: string, stepId: string, timeoutMs: number): void;
138
- /**
139
- * Clear timeout for an execution.
140
- *
141
- * Call this when an execution completes normally to prevent
142
- * the timeout from firing. Also marks the persisted timeout
143
- * event as processed in the database.
144
- *
145
- * @param executionId - The execution to clear timeout for
146
- */
147
- clearExecutionTimeout(executionId: string): void;
148
- /**
149
- * Handle an execution timeout.
150
- *
151
- * Cancels the execution and records a step_failed event.
152
- *
153
- * @param executionId - The timed-out execution
154
- * @param workflowId - The workflow containing the execution
155
- * @param stepId - The workflow step that timed out
156
- */
157
- private handleExecutionTimeout;
158
- /**
159
- * Trigger an immediate wakeup for a workflow.
160
- * Collects unprocessed events, builds a wakeup message, and creates
161
- * a follow-up execution for the orchestrator.
162
- */
163
- triggerWakeup(workflowId: string): Promise<void>;
164
- /**
165
- * Start the wakeup service (enables timeout monitoring).
166
- */
167
- start(): void;
168
- /**
169
- * Recover state from the database after server restart.
170
- *
171
- * This method:
172
- * 1. Recovers pending await conditions from workflow_events
173
- * 2. Reschedules await timeouts (calculating remaining time)
174
- * 3. Triggers immediate wakeup for expired awaits
175
- * 4. Schedules wakeups for workflows with unprocessed events
176
- * 5. Recovers execution timeout timers
177
- *
178
- * Should be called during server startup after the service is constructed.
179
- */
180
- recoverState(): Promise<void>;
181
- /**
182
- * Recover pending await conditions from the database.
183
- */
184
- private recoverPendingAwaits;
185
- /**
186
- * Schedule wakeups for workflows with unprocessed events.
187
- */
188
- private recoverPendingWakeups;
189
- /**
190
- * Recover execution timeout timers from the database.
191
- *
192
- * Finds unprocessed execution_timeout events and reschedules the timers
193
- * with the remaining time. If the timeout has already expired, handles
194
- * the timeout immediately.
195
- */
196
- private recoverExecutionTimeouts;
197
- /**
198
- * Stop the wakeup service.
199
- * Cancels all pending wakeups, execution timeouts, and await conditions.
200
- */
201
- stop(): void;
202
- /**
203
- * Register a new await condition.
204
- * Called by the await-events API endpoint.
205
- *
206
- * Persists the await to workflow_events for recovery after server restart.
207
- */
208
- registerAwait(params: RegisterAwaitParams): {
209
- id: string;
210
- timeoutAt?: string;
211
- };
212
- /**
213
- * Check if an event satisfies the pending await for a workflow.
214
- * Called internally when recording events.
215
- */
216
- private checkAwaitCondition;
217
- /**
218
- * Map workflow event type to awaitable event type.
219
- */
220
- private mapToAwaitableEventType;
221
- /**
222
- * Resolve an await condition (internal).
223
- *
224
- * Marks the await event as processed in the database for recovery tracking.
225
- */
226
- private resolveAwait;
227
- /**
228
- * Schedule timeout for an await.
229
- */
230
- private scheduleAwaitTimeout;
231
- /**
232
- * Get the last resolved await for a workflow (for wakeup message).
233
- * Clears after retrieval.
234
- */
235
- getAndClearResolvedAwait(workflowId: string): ResolvedAwait | undefined;
236
- /**
237
- * Clear all await state for a workflow (on cancel/complete).
238
- * Marks any pending await events as processed in the database.
239
- */
240
- clearAwaitState(workflowId: string): void;
241
- /**
242
- * Check if a workflow has a pending await condition.
243
- */
244
- hasPendingAwait(workflowId: string): boolean;
245
- /**
246
- * Get the pending await for a workflow (if any).
247
- */
248
- getPendingAwait(workflowId: string): PendingAwait | undefined;
249
- /**
250
- * Get a workflow by ID.
251
- */
252
- private getWorkflow;
253
- /**
254
- * Get executions referenced by events.
255
- */
256
- private getExecutionsForEvents;
257
- /**
258
- * Update the workflow's orchestrator execution ID.
259
- */
260
- private updateOrchestratorExecution;
261
- }
262
- //# sourceMappingURL=wakeup-service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wakeup-service.d.ts","sourceRoot":"","sources":["../../../src/workflow/services/wakeup-service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAC3C,OAAO,KAAK,EAEV,aAAa,EACb,iBAAiB,EAGlB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBA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