oh-my-claude-sisyphus 1.4.1 → 1.6.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 (370) hide show
  1. package/dist/agents/document-writer.d.ts +11 -0
  2. package/dist/agents/document-writer.d.ts.map +1 -0
  3. package/dist/agents/document-writer.js +209 -0
  4. package/dist/agents/document-writer.js.map +1 -0
  5. package/dist/agents/explore.d.ts +12 -0
  6. package/dist/agents/explore.d.ts.map +1 -0
  7. package/dist/agents/explore.js +103 -0
  8. package/dist/agents/explore.js.map +1 -0
  9. package/dist/agents/frontend-engineer.d.ts +11 -0
  10. package/dist/agents/frontend-engineer.d.ts.map +1 -0
  11. package/dist/agents/frontend-engineer.js +115 -0
  12. package/dist/agents/frontend-engineer.js.map +1 -0
  13. package/dist/agents/index.d.ts +17 -1
  14. package/dist/agents/index.d.ts.map +1 -1
  15. package/dist/agents/index.js +21 -1
  16. package/dist/agents/index.js.map +1 -1
  17. package/dist/agents/librarian.d.ts +12 -0
  18. package/dist/agents/librarian.d.ts.map +1 -0
  19. package/dist/agents/librarian.js +103 -0
  20. package/dist/agents/librarian.js.map +1 -0
  21. package/dist/agents/metis.d.ts +12 -0
  22. package/dist/agents/metis.d.ts.map +1 -0
  23. package/dist/agents/metis.js +117 -0
  24. package/dist/agents/metis.js.map +1 -0
  25. package/dist/agents/momus.d.ts +12 -0
  26. package/dist/agents/momus.d.ts.map +1 -0
  27. package/dist/agents/momus.js +128 -0
  28. package/dist/agents/momus.js.map +1 -0
  29. package/dist/agents/multimodal-looker.d.ts +11 -0
  30. package/dist/agents/multimodal-looker.d.ts.map +1 -0
  31. package/dist/agents/multimodal-looker.js +70 -0
  32. package/dist/agents/multimodal-looker.js.map +1 -0
  33. package/dist/agents/oracle.d.ts +13 -0
  34. package/dist/agents/oracle.d.ts.map +1 -0
  35. package/dist/agents/oracle.js +149 -0
  36. package/dist/agents/oracle.js.map +1 -0
  37. package/dist/agents/orchestrator-sisyphus.d.ts +11 -0
  38. package/dist/agents/orchestrator-sisyphus.d.ts.map +1 -0
  39. package/dist/agents/orchestrator-sisyphus.js +115 -0
  40. package/dist/agents/orchestrator-sisyphus.js.map +1 -0
  41. package/dist/agents/prometheus.d.ts +12 -0
  42. package/dist/agents/prometheus.d.ts.map +1 -0
  43. package/dist/agents/prometheus.js +156 -0
  44. package/dist/agents/prometheus.js.map +1 -0
  45. package/dist/agents/sisyphus-junior.d.ts +12 -0
  46. package/dist/agents/sisyphus-junior.d.ts.map +1 -0
  47. package/dist/agents/sisyphus-junior.js +93 -0
  48. package/dist/agents/sisyphus-junior.js.map +1 -0
  49. package/dist/agents/types.d.ts +120 -0
  50. package/dist/agents/types.d.ts.map +1 -0
  51. package/dist/agents/types.js +38 -0
  52. package/dist/agents/types.js.map +1 -0
  53. package/dist/agents/utils.d.ts +49 -0
  54. package/dist/agents/utils.d.ts.map +1 -0
  55. package/dist/agents/utils.js +164 -0
  56. package/dist/agents/utils.js.map +1 -0
  57. package/dist/features/auto-update.d.ts +52 -0
  58. package/dist/features/auto-update.d.ts.map +1 -1
  59. package/dist/features/auto-update.js +167 -0
  60. package/dist/features/auto-update.js.map +1 -1
  61. package/dist/features/background-agent/concurrency.d.ts +53 -0
  62. package/dist/features/background-agent/concurrency.d.ts.map +1 -0
  63. package/dist/features/background-agent/concurrency.js +121 -0
  64. package/dist/features/background-agent/concurrency.js.map +1 -0
  65. package/dist/features/background-agent/index.d.ts +12 -0
  66. package/dist/features/background-agent/index.d.ts.map +1 -0
  67. package/dist/features/background-agent/index.js +12 -0
  68. package/dist/features/background-agent/index.js.map +1 -0
  69. package/dist/features/background-agent/manager.d.ts +134 -0
  70. package/dist/features/background-agent/manager.d.ts.map +1 -0
  71. package/dist/features/background-agent/manager.js +412 -0
  72. package/dist/features/background-agent/manager.js.map +1 -0
  73. package/dist/features/background-agent/types.d.ts +99 -0
  74. package/dist/features/background-agent/types.d.ts.map +1 -0
  75. package/dist/features/background-agent/types.js +9 -0
  76. package/dist/features/background-agent/types.js.map +1 -0
  77. package/dist/features/boulder-state/constants.d.ts +20 -0
  78. package/dist/features/boulder-state/constants.d.ts.map +1 -0
  79. package/dist/features/boulder-state/constants.js +20 -0
  80. package/dist/features/boulder-state/constants.js.map +1 -0
  81. package/dist/features/boulder-state/index.d.ts +12 -0
  82. package/dist/features/boulder-state/index.d.ts.map +1 -0
  83. package/dist/features/boulder-state/index.js +13 -0
  84. package/dist/features/boulder-state/index.js.map +1 -0
  85. package/dist/features/boulder-state/storage.d.ts +58 -0
  86. package/dist/features/boulder-state/storage.d.ts.map +1 -0
  87. package/dist/features/boulder-state/storage.js +174 -0
  88. package/dist/features/boulder-state/storage.js.map +1 -0
  89. package/dist/features/boulder-state/types.d.ts +48 -0
  90. package/dist/features/boulder-state/types.d.ts.map +1 -0
  91. package/dist/features/boulder-state/types.js +10 -0
  92. package/dist/features/boulder-state/types.js.map +1 -0
  93. package/dist/features/builtin-skills/index.d.ts +10 -0
  94. package/dist/features/builtin-skills/index.d.ts.map +1 -0
  95. package/dist/features/builtin-skills/index.js +10 -0
  96. package/dist/features/builtin-skills/index.js.map +1 -0
  97. package/dist/features/builtin-skills/skills.d.ts +21 -0
  98. package/dist/features/builtin-skills/skills.d.ts.map +1 -0
  99. package/dist/features/builtin-skills/skills.js +367 -0
  100. package/dist/features/builtin-skills/skills.js.map +1 -0
  101. package/dist/features/builtin-skills/types.d.ts +60 -0
  102. package/dist/features/builtin-skills/types.d.ts.map +1 -0
  103. package/dist/features/builtin-skills/types.js +9 -0
  104. package/dist/features/builtin-skills/types.js.map +1 -0
  105. package/dist/features/context-injector/collector.d.ts +56 -0
  106. package/dist/features/context-injector/collector.d.ts.map +1 -0
  107. package/dist/features/context-injector/collector.js +122 -0
  108. package/dist/features/context-injector/collector.js.map +1 -0
  109. package/dist/features/context-injector/index.d.ts +12 -0
  110. package/dist/features/context-injector/index.d.ts.map +1 -0
  111. package/dist/features/context-injector/index.js +13 -0
  112. package/dist/features/context-injector/index.js.map +1 -0
  113. package/dist/features/context-injector/injector.d.ts +47 -0
  114. package/dist/features/context-injector/injector.d.ts.map +1 -0
  115. package/dist/features/context-injector/injector.js +103 -0
  116. package/dist/features/context-injector/injector.js.map +1 -0
  117. package/dist/features/context-injector/types.d.ts +103 -0
  118. package/dist/features/context-injector/types.d.ts.map +1 -0
  119. package/dist/features/context-injector/types.js +11 -0
  120. package/dist/features/context-injector/types.js.map +1 -0
  121. package/dist/features/index.d.ts +5 -1
  122. package/dist/features/index.d.ts.map +1 -1
  123. package/dist/features/index.js +25 -1
  124. package/dist/features/index.js.map +1 -1
  125. package/dist/hooks/agent-usage-reminder/constants.d.ts +17 -0
  126. package/dist/hooks/agent-usage-reminder/constants.d.ts.map +1 -0
  127. package/dist/hooks/agent-usage-reminder/constants.js +58 -0
  128. package/dist/hooks/agent-usage-reminder/constants.js.map +1 -0
  129. package/dist/hooks/agent-usage-reminder/index.d.ts +36 -0
  130. package/dist/hooks/agent-usage-reminder/index.d.ts.map +1 -0
  131. package/dist/hooks/agent-usage-reminder/index.js +89 -0
  132. package/dist/hooks/agent-usage-reminder/index.js.map +1 -0
  133. package/dist/hooks/agent-usage-reminder/storage.d.ts +12 -0
  134. package/dist/hooks/agent-usage-reminder/storage.d.ts.map +1 -0
  135. package/dist/hooks/agent-usage-reminder/storage.js +39 -0
  136. package/dist/hooks/agent-usage-reminder/storage.js.map +1 -0
  137. package/dist/hooks/agent-usage-reminder/types.d.ts +14 -0
  138. package/dist/hooks/agent-usage-reminder/types.d.ts.map +1 -0
  139. package/dist/hooks/agent-usage-reminder/types.js +9 -0
  140. package/dist/hooks/agent-usage-reminder/types.js.map +1 -0
  141. package/dist/hooks/auto-slash-command/constants.d.ts +19 -0
  142. package/dist/hooks/auto-slash-command/constants.d.ts.map +1 -0
  143. package/dist/hooks/auto-slash-command/constants.js +28 -0
  144. package/dist/hooks/auto-slash-command/constants.js.map +1 -0
  145. package/dist/hooks/auto-slash-command/detector.d.ts +33 -0
  146. package/dist/hooks/auto-slash-command/detector.d.ts.map +1 -0
  147. package/dist/hooks/auto-slash-command/detector.js +73 -0
  148. package/dist/hooks/auto-slash-command/detector.js.map +1 -0
  149. package/dist/hooks/auto-slash-command/executor.d.ts +29 -0
  150. package/dist/hooks/auto-slash-command/executor.d.ts.map +1 -0
  151. package/dist/hooks/auto-slash-command/executor.js +214 -0
  152. package/dist/hooks/auto-slash-command/executor.js.map +1 -0
  153. package/dist/hooks/auto-slash-command/index.d.ts +53 -0
  154. package/dist/hooks/auto-slash-command/index.d.ts.map +1 -0
  155. package/dist/hooks/auto-slash-command/index.js +105 -0
  156. package/dist/hooks/auto-slash-command/index.js.map +1 -0
  157. package/dist/hooks/auto-slash-command/types.d.ts +77 -0
  158. package/dist/hooks/auto-slash-command/types.d.ts.map +1 -0
  159. package/dist/hooks/auto-slash-command/types.js +9 -0
  160. package/dist/hooks/auto-slash-command/types.js.map +1 -0
  161. package/dist/hooks/background-notification/index.d.ts +60 -0
  162. package/dist/hooks/background-notification/index.d.ts.map +1 -0
  163. package/dist/hooks/background-notification/index.js +180 -0
  164. package/dist/hooks/background-notification/index.js.map +1 -0
  165. package/dist/hooks/background-notification/types.d.ts +64 -0
  166. package/dist/hooks/background-notification/types.d.ts.map +1 -0
  167. package/dist/hooks/background-notification/types.js +8 -0
  168. package/dist/hooks/background-notification/types.js.map +1 -0
  169. package/dist/hooks/bridge.d.ts +68 -0
  170. package/dist/hooks/bridge.d.ts.map +1 -0
  171. package/dist/hooks/bridge.js +225 -0
  172. package/dist/hooks/bridge.js.map +1 -0
  173. package/dist/hooks/comment-checker/constants.d.ts +28 -0
  174. package/dist/hooks/comment-checker/constants.d.ts.map +1 -0
  175. package/dist/hooks/comment-checker/constants.js +189 -0
  176. package/dist/hooks/comment-checker/constants.js.map +1 -0
  177. package/dist/hooks/comment-checker/filters.d.ts +39 -0
  178. package/dist/hooks/comment-checker/filters.d.ts.map +1 -0
  179. package/dist/hooks/comment-checker/filters.js +126 -0
  180. package/dist/hooks/comment-checker/filters.js.map +1 -0
  181. package/dist/hooks/comment-checker/index.d.ts +58 -0
  182. package/dist/hooks/comment-checker/index.d.ts.map +1 -0
  183. package/dist/hooks/comment-checker/index.js +298 -0
  184. package/dist/hooks/comment-checker/index.js.map +1 -0
  185. package/dist/hooks/comment-checker/types.d.ts +88 -0
  186. package/dist/hooks/comment-checker/types.d.ts.map +1 -0
  187. package/dist/hooks/comment-checker/types.js +9 -0
  188. package/dist/hooks/comment-checker/types.js.map +1 -0
  189. package/dist/hooks/context-window-limit-recovery/constants.d.ts +28 -0
  190. package/dist/hooks/context-window-limit-recovery/constants.d.ts.map +1 -0
  191. package/dist/hooks/context-window-limit-recovery/constants.js +85 -0
  192. package/dist/hooks/context-window-limit-recovery/constants.js.map +1 -0
  193. package/dist/hooks/context-window-limit-recovery/index.d.ts +62 -0
  194. package/dist/hooks/context-window-limit-recovery/index.d.ts.map +1 -0
  195. package/dist/hooks/context-window-limit-recovery/index.js +201 -0
  196. package/dist/hooks/context-window-limit-recovery/index.js.map +1 -0
  197. package/dist/hooks/context-window-limit-recovery/parser.d.ts +31 -0
  198. package/dist/hooks/context-window-limit-recovery/parser.d.ts.map +1 -0
  199. package/dist/hooks/context-window-limit-recovery/parser.js +241 -0
  200. package/dist/hooks/context-window-limit-recovery/parser.js.map +1 -0
  201. package/dist/hooks/context-window-limit-recovery/types.d.ts +84 -0
  202. package/dist/hooks/context-window-limit-recovery/types.d.ts.map +1 -0
  203. package/dist/hooks/context-window-limit-recovery/types.js +34 -0
  204. package/dist/hooks/context-window-limit-recovery/types.js.map +1 -0
  205. package/dist/hooks/directory-readme-injector/constants.d.ts +15 -0
  206. package/dist/hooks/directory-readme-injector/constants.d.ts.map +1 -0
  207. package/dist/hooks/directory-readme-injector/constants.js +17 -0
  208. package/dist/hooks/directory-readme-injector/constants.js.map +1 -0
  209. package/dist/hooks/directory-readme-injector/index.d.ts +41 -0
  210. package/dist/hooks/directory-readme-injector/index.d.ts.map +1 -0
  211. package/dist/hooks/directory-readme-injector/index.js +162 -0
  212. package/dist/hooks/directory-readme-injector/index.js.map +1 -0
  213. package/dist/hooks/directory-readme-injector/storage.d.ts +20 -0
  214. package/dist/hooks/directory-readme-injector/storage.d.ts.map +1 -0
  215. package/dist/hooks/directory-readme-injector/storage.js +56 -0
  216. package/dist/hooks/directory-readme-injector/storage.js.map +1 -0
  217. package/dist/hooks/directory-readme-injector/types.d.ts +20 -0
  218. package/dist/hooks/directory-readme-injector/types.d.ts.map +1 -0
  219. package/dist/hooks/directory-readme-injector/types.js +9 -0
  220. package/dist/hooks/directory-readme-injector/types.js.map +1 -0
  221. package/dist/hooks/edit-error-recovery/index.d.ts +62 -0
  222. package/dist/hooks/edit-error-recovery/index.d.ts.map +1 -0
  223. package/dist/hooks/edit-error-recovery/index.js +89 -0
  224. package/dist/hooks/edit-error-recovery/index.js.map +1 -0
  225. package/dist/hooks/empty-message-sanitizer/constants.d.ts +33 -0
  226. package/dist/hooks/empty-message-sanitizer/constants.d.ts.map +1 -0
  227. package/dist/hooks/empty-message-sanitizer/constants.js +37 -0
  228. package/dist/hooks/empty-message-sanitizer/constants.js.map +1 -0
  229. package/dist/hooks/empty-message-sanitizer/index.d.ts +59 -0
  230. package/dist/hooks/empty-message-sanitizer/index.d.ts.map +1 -0
  231. package/dist/hooks/empty-message-sanitizer/index.js +171 -0
  232. package/dist/hooks/empty-message-sanitizer/index.js.map +1 -0
  233. package/dist/hooks/empty-message-sanitizer/types.d.ts +79 -0
  234. package/dist/hooks/empty-message-sanitizer/types.d.ts.map +1 -0
  235. package/dist/hooks/empty-message-sanitizer/types.js +10 -0
  236. package/dist/hooks/empty-message-sanitizer/types.js.map +1 -0
  237. package/dist/hooks/index.d.ts +31 -0
  238. package/dist/hooks/index.d.ts.map +1 -0
  239. package/dist/hooks/index.js +69 -0
  240. package/dist/hooks/index.js.map +1 -0
  241. package/dist/hooks/keyword-detector/index.d.ts +40 -0
  242. package/dist/hooks/keyword-detector/index.d.ts.map +1 -0
  243. package/dist/hooks/keyword-detector/index.js +88 -0
  244. package/dist/hooks/keyword-detector/index.js.map +1 -0
  245. package/dist/hooks/non-interactive-env/constants.d.ts +35 -0
  246. package/dist/hooks/non-interactive-env/constants.d.ts.map +1 -0
  247. package/dist/hooks/non-interactive-env/constants.js +69 -0
  248. package/dist/hooks/non-interactive-env/constants.js.map +1 -0
  249. package/dist/hooks/non-interactive-env/detector.d.ts +2 -0
  250. package/dist/hooks/non-interactive-env/detector.d.ts.map +1 -0
  251. package/dist/hooks/non-interactive-env/detector.js +16 -0
  252. package/dist/hooks/non-interactive-env/detector.js.map +1 -0
  253. package/dist/hooks/non-interactive-env/index.d.ts +14 -0
  254. package/dist/hooks/non-interactive-env/index.d.ts.map +1 -0
  255. package/dist/hooks/non-interactive-env/index.js +72 -0
  256. package/dist/hooks/non-interactive-env/index.js.map +1 -0
  257. package/dist/hooks/non-interactive-env/types.d.ts +14 -0
  258. package/dist/hooks/non-interactive-env/types.d.ts.map +1 -0
  259. package/dist/hooks/non-interactive-env/types.js +2 -0
  260. package/dist/hooks/non-interactive-env/types.js.map +1 -0
  261. package/dist/hooks/preemptive-compaction/constants.d.ts +48 -0
  262. package/dist/hooks/preemptive-compaction/constants.d.ts.map +1 -0
  263. package/dist/hooks/preemptive-compaction/constants.js +90 -0
  264. package/dist/hooks/preemptive-compaction/constants.js.map +1 -0
  265. package/dist/hooks/preemptive-compaction/index.d.ts +55 -0
  266. package/dist/hooks/preemptive-compaction/index.d.ts.map +1 -0
  267. package/dist/hooks/preemptive-compaction/index.js +237 -0
  268. package/dist/hooks/preemptive-compaction/index.js.map +1 -0
  269. package/dist/hooks/preemptive-compaction/types.d.ts +76 -0
  270. package/dist/hooks/preemptive-compaction/types.d.ts.map +1 -0
  271. package/dist/hooks/preemptive-compaction/types.js +9 -0
  272. package/dist/hooks/preemptive-compaction/types.js.map +1 -0
  273. package/dist/hooks/ralph-loop/index.d.ts +60 -0
  274. package/dist/hooks/ralph-loop/index.d.ts.map +1 -0
  275. package/dist/hooks/ralph-loop/index.js +155 -0
  276. package/dist/hooks/ralph-loop/index.js.map +1 -0
  277. package/dist/hooks/rules-injector/constants.d.ts +25 -0
  278. package/dist/hooks/rules-injector/constants.d.ts.map +1 -0
  279. package/dist/hooks/rules-injector/constants.js +40 -0
  280. package/dist/hooks/rules-injector/constants.js.map +1 -0
  281. package/dist/hooks/rules-injector/finder.d.ts +24 -0
  282. package/dist/hooks/rules-injector/finder.d.ts.map +1 -0
  283. package/dist/hooks/rules-injector/finder.js +215 -0
  284. package/dist/hooks/rules-injector/finder.js.map +1 -0
  285. package/dist/hooks/rules-injector/index.d.ts +45 -0
  286. package/dist/hooks/rules-injector/index.d.ts.map +1 -0
  287. package/dist/hooks/rules-injector/index.js +187 -0
  288. package/dist/hooks/rules-injector/index.js.map +1 -0
  289. package/dist/hooks/rules-injector/matcher.d.ts +25 -0
  290. package/dist/hooks/rules-injector/matcher.d.ts.map +1 -0
  291. package/dist/hooks/rules-injector/matcher.js +70 -0
  292. package/dist/hooks/rules-injector/matcher.js.map +1 -0
  293. package/dist/hooks/rules-injector/parser.d.ts +20 -0
  294. package/dist/hooks/rules-injector/parser.d.ts.map +1 -0
  295. package/dist/hooks/rules-injector/parser.js +179 -0
  296. package/dist/hooks/rules-injector/parser.js.map +1 -0
  297. package/dist/hooks/rules-injector/storage.d.ts +26 -0
  298. package/dist/hooks/rules-injector/storage.d.ts.map +1 -0
  299. package/dist/hooks/rules-injector/storage.js +61 -0
  300. package/dist/hooks/rules-injector/storage.js.map +1 -0
  301. package/dist/hooks/rules-injector/types.d.ts +101 -0
  302. package/dist/hooks/rules-injector/types.d.ts.map +1 -0
  303. package/dist/hooks/rules-injector/types.js +10 -0
  304. package/dist/hooks/rules-injector/types.js.map +1 -0
  305. package/dist/hooks/session-recovery/constants.d.ts +56 -0
  306. package/dist/hooks/session-recovery/constants.d.ts.map +1 -0
  307. package/dist/hooks/session-recovery/constants.js +78 -0
  308. package/dist/hooks/session-recovery/constants.js.map +1 -0
  309. package/dist/hooks/session-recovery/index.d.ts +53 -0
  310. package/dist/hooks/session-recovery/index.d.ts.map +1 -0
  311. package/dist/hooks/session-recovery/index.js +321 -0
  312. package/dist/hooks/session-recovery/index.js.map +1 -0
  313. package/dist/hooks/session-recovery/storage.d.ts +76 -0
  314. package/dist/hooks/session-recovery/storage.d.ts.map +1 -0
  315. package/dist/hooks/session-recovery/storage.js +383 -0
  316. package/dist/hooks/session-recovery/storage.js.map +1 -0
  317. package/dist/hooks/session-recovery/types.d.ts +145 -0
  318. package/dist/hooks/session-recovery/types.d.ts.map +1 -0
  319. package/dist/hooks/session-recovery/types.js +8 -0
  320. package/dist/hooks/session-recovery/types.js.map +1 -0
  321. package/dist/hooks/sisyphus-orchestrator/constants.d.ts +23 -0
  322. package/dist/hooks/sisyphus-orchestrator/constants.d.ts.map +1 -0
  323. package/dist/hooks/sisyphus-orchestrator/constants.js +142 -0
  324. package/dist/hooks/sisyphus-orchestrator/constants.js.map +1 -0
  325. package/dist/hooks/sisyphus-orchestrator/index.d.ts +113 -0
  326. package/dist/hooks/sisyphus-orchestrator/index.d.ts.map +1 -0
  327. package/dist/hooks/sisyphus-orchestrator/index.js +283 -0
  328. package/dist/hooks/sisyphus-orchestrator/index.js.map +1 -0
  329. package/dist/hooks/think-mode/detector.d.ts +28 -0
  330. package/dist/hooks/think-mode/detector.d.ts.map +1 -0
  331. package/dist/hooks/think-mode/detector.js +105 -0
  332. package/dist/hooks/think-mode/detector.js.map +1 -0
  333. package/dist/hooks/think-mode/index.d.ts +70 -0
  334. package/dist/hooks/think-mode/index.d.ts.map +1 -0
  335. package/dist/hooks/think-mode/index.js +144 -0
  336. package/dist/hooks/think-mode/index.js.map +1 -0
  337. package/dist/hooks/think-mode/switcher.d.ts +39 -0
  338. package/dist/hooks/think-mode/switcher.d.ts.map +1 -0
  339. package/dist/hooks/think-mode/switcher.js +180 -0
  340. package/dist/hooks/think-mode/switcher.js.map +1 -0
  341. package/dist/hooks/think-mode/types.d.ts +60 -0
  342. package/dist/hooks/think-mode/types.d.ts.map +1 -0
  343. package/dist/hooks/think-mode/types.js +9 -0
  344. package/dist/hooks/think-mode/types.js.map +1 -0
  345. package/dist/hooks/thinking-block-validator/constants.d.ts +37 -0
  346. package/dist/hooks/thinking-block-validator/constants.d.ts.map +1 -0
  347. package/dist/hooks/thinking-block-validator/constants.js +50 -0
  348. package/dist/hooks/thinking-block-validator/constants.js.map +1 -0
  349. package/dist/hooks/thinking-block-validator/index.d.ts +66 -0
  350. package/dist/hooks/thinking-block-validator/index.d.ts.map +1 -0
  351. package/dist/hooks/thinking-block-validator/index.js +205 -0
  352. package/dist/hooks/thinking-block-validator/index.js.map +1 -0
  353. package/dist/hooks/thinking-block-validator/types.d.ts +67 -0
  354. package/dist/hooks/thinking-block-validator/types.d.ts.map +1 -0
  355. package/dist/hooks/thinking-block-validator/types.js +9 -0
  356. package/dist/hooks/thinking-block-validator/types.js.map +1 -0
  357. package/dist/hooks/todo-continuation/index.d.ts +39 -0
  358. package/dist/hooks/todo-continuation/index.d.ts.map +1 -0
  359. package/dist/hooks/todo-continuation/index.js +140 -0
  360. package/dist/hooks/todo-continuation/index.js.map +1 -0
  361. package/dist/index.d.ts +3 -0
  362. package/dist/index.d.ts.map +1 -1
  363. package/dist/index.js +12 -0
  364. package/dist/index.js.map +1 -1
  365. package/dist/installer/index.d.ts +1 -1
  366. package/dist/installer/index.d.ts.map +1 -1
  367. package/dist/installer/index.js +232 -1
  368. package/dist/installer/index.js.map +1 -1
  369. package/package.json +1 -1
  370. package/scripts/install.sh +181 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/features/background-agent/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAC5B,SAAS,GACT,SAAS,GACT,WAAW,GACX,OAAO,GACP,WAAW,CAAC;AAEhB;;GAEG;AACH,MAA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C1B,2BAA2B;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,yBAAyB;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,wBAAwB;IACxB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,gDAAgD;IAChD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,mCAAmC;IACnC,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1C,sCAAsC;IACtC,mBAAmB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7C,qCAAqC;IACrC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mCAAmC;IACnC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Background Agent Types
3
+ *
4
+ * Type definitions for background task management.
5
+ *
6
+ * Adapted from oh-my-opencode's background-agent feature.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/features/background-agent/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Boulder State Constants
3
+ *
4
+ * Ported from oh-my-opencode's boulder-state.
5
+ */
6
+ /** Sisyphus state directory */
7
+ export declare const BOULDER_DIR = ".sisyphus";
8
+ /** Boulder state file name */
9
+ export declare const BOULDER_FILE = "boulder.json";
10
+ /** Full path pattern for boulder state */
11
+ export declare const BOULDER_STATE_PATH = ".sisyphus/boulder.json";
12
+ /** Notepad directory for learnings */
13
+ export declare const NOTEPAD_DIR = "notepads";
14
+ /** Full path for notepads */
15
+ export declare const NOTEPAD_BASE_PATH = ".sisyphus/notepads";
16
+ /** Prometheus plan directory */
17
+ export declare const PROMETHEUS_PLANS_DIR = ".sisyphus/plans";
18
+ /** Plan file extension */
19
+ export declare const PLAN_EXTENSION = ".md";
20
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/features/boulder-state/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,+BAA+B;AAC/B,eAAO,MAAM,WAAW,cAAc,CAAC;AAEvC,8BAA8B;AAC9B,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAE3C,0CAA0C;AAC1C,eAAO,MAAM,kBAAkB,2BAAmC,CAAC;AAEnE,sCAAsC;AACtC,eAAO,MAAM,WAAW,aAAa,CAAC;AAEtC,6BAA6B;AAC7B,eAAO,MAAM,iBAAiB,uBAAkC,CAAC;AAEjE,gCAAgC;AAChC,eAAO,MAAM,oBAAoB,oBAAoB,CAAC;AAEtD,0BAA0B;AAC1B,eAAO,MAAM,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Boulder State Constants
3
+ *
4
+ * Ported from oh-my-opencode's boulder-state.
5
+ */
6
+ /** Sisyphus state directory */
7
+ export const BOULDER_DIR = '.sisyphus';
8
+ /** Boulder state file name */
9
+ export const BOULDER_FILE = 'boulder.json';
10
+ /** Full path pattern for boulder state */
11
+ export const BOULDER_STATE_PATH = `${BOULDER_DIR}/${BOULDER_FILE}`;
12
+ /** Notepad directory for learnings */
13
+ export const NOTEPAD_DIR = 'notepads';
14
+ /** Full path for notepads */
15
+ export const NOTEPAD_BASE_PATH = `${BOULDER_DIR}/${NOTEPAD_DIR}`;
16
+ /** Prometheus plan directory */
17
+ export const PROMETHEUS_PLANS_DIR = '.sisyphus/plans';
18
+ /** Plan file extension */
19
+ export const PLAN_EXTENSION = '.md';
20
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/features/boulder-state/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,+BAA+B;AAC/B,MAAM,CAAC,MAAM,WAAW,GAAG,WAAW,CAAC;AAEvC,8BAA8B;AAC9B,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;AAE3C,0CAA0C;AAC1C,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,WAAW,IAAI,YAAY,EAAE,CAAC;AAEnE,sCAAsC;AACtC,MAAM,CAAC,MAAM,WAAW,GAAG,UAAU,CAAC;AAEtC,6BAA6B;AAC7B,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,WAAW,IAAI,WAAW,EAAE,CAAC;AAEjE,gCAAgC;AAChC,MAAM,CAAC,MAAM,oBAAoB,GAAG,iBAAiB,CAAC;AAEtD,0BAA0B;AAC1B,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Boulder State Module
3
+ *
4
+ * Manages the active work plan state for Sisyphus orchestrator.
5
+ * Named after Sisyphus's boulder - the eternal task that must be rolled.
6
+ *
7
+ * Ported from oh-my-opencode's boulder-state.
8
+ */
9
+ export type { BoulderState, PlanProgress, PlanSummary } from './types.js';
10
+ export { BOULDER_DIR, BOULDER_FILE, BOULDER_STATE_PATH, NOTEPAD_DIR, NOTEPAD_BASE_PATH, PROMETHEUS_PLANS_DIR, PLAN_EXTENSION } from './constants.js';
11
+ export { getBoulderFilePath, readBoulderState, writeBoulderState, appendSessionId, clearBoulderState, findPrometheusPlans, getPlanProgress, getPlanName, createBoulderState, getPlanSummaries, hasBoulder, getActivePlanPath } from './storage.js';
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/boulder-state/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,YAAY,EACV,YAAY,EACZ,YAAY,EACZ,WAAW,EACZ,MAAM,YAAY,CAAC;AAGpB,OAAO,EACL,WAAW,EACX,YAAY,EACZ,kBAAkB,EAClB,WAAW,EACX,iBAAiB,EACjB,oBAAoB,EACpB,cAAc,EACf,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,eAAe,EACf,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EAClB,MAAM,cAAc,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Boulder State Module
3
+ *
4
+ * Manages the active work plan state for Sisyphus orchestrator.
5
+ * Named after Sisyphus's boulder - the eternal task that must be rolled.
6
+ *
7
+ * Ported from oh-my-opencode's boulder-state.
8
+ */
9
+ // Constants
10
+ export { BOULDER_DIR, BOULDER_FILE, BOULDER_STATE_PATH, NOTEPAD_DIR, NOTEPAD_BASE_PATH, PROMETHEUS_PLANS_DIR, PLAN_EXTENSION } from './constants.js';
11
+ // Storage operations
12
+ export { getBoulderFilePath, readBoulderState, writeBoulderState, appendSessionId, clearBoulderState, findPrometheusPlans, getPlanProgress, getPlanName, createBoulderState, getPlanSummaries, hasBoulder, getActivePlanPath } from './storage.js';
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/features/boulder-state/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AASH,YAAY;AACZ,OAAO,EACL,WAAW,EACX,YAAY,EACZ,kBAAkB,EAClB,WAAW,EACX,iBAAiB,EACjB,oBAAoB,EACpB,cAAc,EACf,MAAM,gBAAgB,CAAC;AAExB,qBAAqB;AACrB,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,eAAe,EACf,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EAClB,MAAM,cAAc,CAAC"}
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Boulder State Storage
3
+ *
4
+ * Handles reading/writing boulder.json for active plan tracking.
5
+ *
6
+ * Ported from oh-my-opencode's boulder-state.
7
+ */
8
+ import type { BoulderState, PlanProgress, PlanSummary } from './types.js';
9
+ /**
10
+ * Get the full path to the boulder state file
11
+ */
12
+ export declare function getBoulderFilePath(directory: string): string;
13
+ /**
14
+ * Read boulder state from disk
15
+ */
16
+ export declare function readBoulderState(directory: string): BoulderState | null;
17
+ /**
18
+ * Write boulder state to disk
19
+ */
20
+ export declare function writeBoulderState(directory: string, state: BoulderState): boolean;
21
+ /**
22
+ * Append a session ID to the boulder state
23
+ */
24
+ export declare function appendSessionId(directory: string, sessionId: string): BoulderState | null;
25
+ /**
26
+ * Clear boulder state (delete the file)
27
+ */
28
+ export declare function clearBoulderState(directory: string): boolean;
29
+ /**
30
+ * Find Prometheus plan files for this project.
31
+ * Prometheus stores plans at: {project}/.sisyphus/plans/{name}.md
32
+ */
33
+ export declare function findPrometheusPlans(directory: string): string[];
34
+ /**
35
+ * Parse a plan file and count checkbox progress.
36
+ */
37
+ export declare function getPlanProgress(planPath: string): PlanProgress;
38
+ /**
39
+ * Extract plan name from file path.
40
+ */
41
+ export declare function getPlanName(planPath: string): string;
42
+ /**
43
+ * Create a new boulder state for a plan.
44
+ */
45
+ export declare function createBoulderState(planPath: string, sessionId: string): BoulderState;
46
+ /**
47
+ * Get summaries of all available plans
48
+ */
49
+ export declare function getPlanSummaries(directory: string): PlanSummary[];
50
+ /**
51
+ * Check if a boulder is currently active
52
+ */
53
+ export declare function hasBoulder(directory: string): boolean;
54
+ /**
55
+ * Get the active plan path from boulder state
56
+ */
57
+ export declare function getActivePlanPath(directory: string): string | null;
58
+ //# sourceMappingURL=storage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../src/features/boulder-state/storage.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAG1E;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAE5D;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI,CAavE;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,GAAG,OAAO,CAcjF;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI,CAYzF;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAW5D;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,CAqB/D;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,YAAY,CAuB9D;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEpD;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,GAChB,YAAY,CAOd;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,EAAE,CAYjE;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAErD;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAGlE"}
@@ -0,0 +1,174 @@
1
+ /**
2
+ * Boulder State Storage
3
+ *
4
+ * Handles reading/writing boulder.json for active plan tracking.
5
+ *
6
+ * Ported from oh-my-opencode's boulder-state.
7
+ */
8
+ import { existsSync, readFileSync, writeFileSync, mkdirSync, readdirSync, statSync, unlinkSync } from 'fs';
9
+ import { dirname, join, basename } from 'path';
10
+ import { BOULDER_DIR, BOULDER_FILE, PROMETHEUS_PLANS_DIR, PLAN_EXTENSION } from './constants.js';
11
+ /**
12
+ * Get the full path to the boulder state file
13
+ */
14
+ export function getBoulderFilePath(directory) {
15
+ return join(directory, BOULDER_DIR, BOULDER_FILE);
16
+ }
17
+ /**
18
+ * Read boulder state from disk
19
+ */
20
+ export function readBoulderState(directory) {
21
+ const filePath = getBoulderFilePath(directory);
22
+ if (!existsSync(filePath)) {
23
+ return null;
24
+ }
25
+ try {
26
+ const content = readFileSync(filePath, 'utf-8');
27
+ return JSON.parse(content);
28
+ }
29
+ catch {
30
+ return null;
31
+ }
32
+ }
33
+ /**
34
+ * Write boulder state to disk
35
+ */
36
+ export function writeBoulderState(directory, state) {
37
+ const filePath = getBoulderFilePath(directory);
38
+ try {
39
+ const dir = dirname(filePath);
40
+ if (!existsSync(dir)) {
41
+ mkdirSync(dir, { recursive: true });
42
+ }
43
+ writeFileSync(filePath, JSON.stringify(state, null, 2), 'utf-8');
44
+ return true;
45
+ }
46
+ catch {
47
+ return false;
48
+ }
49
+ }
50
+ /**
51
+ * Append a session ID to the boulder state
52
+ */
53
+ export function appendSessionId(directory, sessionId) {
54
+ const state = readBoulderState(directory);
55
+ if (!state)
56
+ return null;
57
+ if (!state.session_ids.includes(sessionId)) {
58
+ state.session_ids.push(sessionId);
59
+ if (writeBoulderState(directory, state)) {
60
+ return state;
61
+ }
62
+ }
63
+ return state;
64
+ }
65
+ /**
66
+ * Clear boulder state (delete the file)
67
+ */
68
+ export function clearBoulderState(directory) {
69
+ const filePath = getBoulderFilePath(directory);
70
+ try {
71
+ if (existsSync(filePath)) {
72
+ unlinkSync(filePath);
73
+ }
74
+ return true;
75
+ }
76
+ catch {
77
+ return false;
78
+ }
79
+ }
80
+ /**
81
+ * Find Prometheus plan files for this project.
82
+ * Prometheus stores plans at: {project}/.sisyphus/plans/{name}.md
83
+ */
84
+ export function findPrometheusPlans(directory) {
85
+ const plansDir = join(directory, PROMETHEUS_PLANS_DIR);
86
+ if (!existsSync(plansDir)) {
87
+ return [];
88
+ }
89
+ try {
90
+ const files = readdirSync(plansDir);
91
+ return files
92
+ .filter((f) => f.endsWith(PLAN_EXTENSION))
93
+ .map((f) => join(plansDir, f))
94
+ .sort((a, b) => {
95
+ // Sort by modification time, newest first
96
+ const aStat = statSync(a);
97
+ const bStat = statSync(b);
98
+ return bStat.mtimeMs - aStat.mtimeMs;
99
+ });
100
+ }
101
+ catch {
102
+ return [];
103
+ }
104
+ }
105
+ /**
106
+ * Parse a plan file and count checkbox progress.
107
+ */
108
+ export function getPlanProgress(planPath) {
109
+ if (!existsSync(planPath)) {
110
+ return { total: 0, completed: 0, isComplete: true };
111
+ }
112
+ try {
113
+ const content = readFileSync(planPath, 'utf-8');
114
+ // Match markdown checkboxes: - [ ] or - [x] or - [X]
115
+ const uncheckedMatches = content.match(/^[-*]\s*\[\s*\]/gm) || [];
116
+ const checkedMatches = content.match(/^[-*]\s*\[[xX]\]/gm) || [];
117
+ const total = uncheckedMatches.length + checkedMatches.length;
118
+ const completed = checkedMatches.length;
119
+ return {
120
+ total,
121
+ completed,
122
+ isComplete: total === 0 || completed === total,
123
+ };
124
+ }
125
+ catch {
126
+ return { total: 0, completed: 0, isComplete: true };
127
+ }
128
+ }
129
+ /**
130
+ * Extract plan name from file path.
131
+ */
132
+ export function getPlanName(planPath) {
133
+ return basename(planPath, PLAN_EXTENSION);
134
+ }
135
+ /**
136
+ * Create a new boulder state for a plan.
137
+ */
138
+ export function createBoulderState(planPath, sessionId) {
139
+ return {
140
+ active_plan: planPath,
141
+ started_at: new Date().toISOString(),
142
+ session_ids: [sessionId],
143
+ plan_name: getPlanName(planPath),
144
+ };
145
+ }
146
+ /**
147
+ * Get summaries of all available plans
148
+ */
149
+ export function getPlanSummaries(directory) {
150
+ const plans = findPrometheusPlans(directory);
151
+ return plans.map((planPath) => {
152
+ const stat = statSync(planPath);
153
+ return {
154
+ path: planPath,
155
+ name: getPlanName(planPath),
156
+ progress: getPlanProgress(planPath),
157
+ lastModified: new Date(stat.mtimeMs),
158
+ };
159
+ });
160
+ }
161
+ /**
162
+ * Check if a boulder is currently active
163
+ */
164
+ export function hasBoulder(directory) {
165
+ return readBoulderState(directory) !== null;
166
+ }
167
+ /**
168
+ * Get the active plan path from boulder state
169
+ */
170
+ export function getActivePlanPath(directory) {
171
+ const state = readBoulderState(directory);
172
+ return state?.active_plan ?? null;
173
+ }
174
+ //# sourceMappingURL=storage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage.js","sourceRoot":"","sources":["../../../src/features/boulder-state/storage.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAC3G,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAE/C,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEjG;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAAC,SAAiB;IAClD,OAAO,IAAI,CAAC,SAAS,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;AACpD,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAAC,SAAiB;IAChD,MAAM,QAAQ,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC;IAE/C,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,CAAC;QACH,MAAM,OAAO,GAAG,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QAChD,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAiB,CAAC;IAC7C,CAAC;IAAC,M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;YACd,IAAI,EAAE,WAAW,CAAC,QAAQ,CAAC;YAC3B,QAAQ,EAAE,eAAe,CAAC,QAAQ,CAAC;YACnC,YAAY,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC;SACrC,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,UAAU,CAAC,SAAiB;IAC1C,OAAO,gBAAgB,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;AAC9C,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,SAAiB;IACjD,MAAM,KAAK,GAAG,gBAAgB,CAAC,SAAS,CAAC,CAAC;IAC1C,OAAO,KAAK,EAAE,WAAW,IAAI,IAAI,CAAC;AACpC,CAAC"}
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Boulder State Types
3
+ *
4
+ * Manages the active work plan state for Sisyphus orchestrator.
5
+ * Named after Sisyphus's boulder - the eternal task that must be rolled.
6
+ *
7
+ * Ported from oh-my-opencode's boulder-state.
8
+ */
9
+ /**
10
+ * State tracking for an active work plan
11
+ */
12
+ export interface BoulderState {
13
+ /** Absolute path to the active plan file */
14
+ active_plan: string;
15
+ /** ISO timestamp when work started */
16
+ started_at: string;
17
+ /** Session IDs that have worked on this plan */
18
+ session_ids: string[];
19
+ /** Plan name derived from filename */
20
+ plan_name: string;
21
+ /** Optional metadata */
22
+ metadata?: Record<string, unknown>;
23
+ }
24
+ /**
25
+ * Progress tracking for a plan's checkboxes
26
+ */
27
+ export interface PlanProgress {
28
+ /** Total number of checkboxes */
29
+ total: number;
30
+ /** Number of completed checkboxes */
31
+ completed: number;
32
+ /** Whether all tasks are done */
33
+ isComplete: boolean;
34
+ }
35
+ /**
36
+ * Summary of available plans
37
+ */
38
+ export interface PlanSummary {
39
+ /** Plan file path */
40
+ path: string;
41
+ /** Plan name */
42
+ name: string;
43
+ /** Progress stats */
44
+ progress: PlanProgress;
45
+ /** Last modified time */
46
+ lastModified: Date;
47
+ }
48
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/features/boulder-state/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,sCAAsC;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,gDAAgD;IAChD,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,sCAAsC;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,wBAAwB;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,iCAAiC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,iCAAiC;IACjC,UAAU,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,qBAAqB;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,qBAAqB;IACrB,QAAQ,EAAE,YAAY,CAAC;IACvB,yBAAyB;IACzB,YAAY,EAAE,IAAI,CAAC;CACpB"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Boulder State Types
3
+ *
4
+ * Manages the active work plan state for Sisyphus orchestrator.
5
+ * Named after Sisyphus's boulder - the eternal task that must be rolled.
6
+ *
7
+ * Ported from oh-my-opencode's boulder-state.
8
+ */
9
+ export {};
10
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/features/boulder-state/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Builtin Skills Feature
3
+ *
4
+ * Provides bundled skills for Oh-My-ClaudeCode-Sisyphus.
5
+ *
6
+ * Adapted from oh-my-opencode's builtin-skills feature.
7
+ */
8
+ export * from './types.js';
9
+ export { createBuiltinSkills, getBuiltinSkill, listBuiltinSkillNames } from './skills.js';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/builtin-skills/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Builtin Skills Feature
3
+ *
4
+ * Provides bundled skills for Oh-My-ClaudeCode-Sisyphus.
5
+ *
6
+ * Adapted from oh-my-opencode's builtin-skills feature.
7
+ */
8
+ export * from './types.js';
9
+ export { createBuiltinSkills, getBuiltinSkill, listBuiltinSkillNames } from './skills.js';
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/features/builtin-skills/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Builtin Skills Definitions
3
+ *
4
+ * Core skills that are bundled with Oh-My-ClaudeCode-Sisyphus.
5
+ *
6
+ * Adapted from oh-my-opencode's builtin-skills feature.
7
+ */
8
+ import type { BuiltinSkill } from './types.js';
9
+ /**
10
+ * Get all builtin skills
11
+ */
12
+ export declare function createBuiltinSkills(): BuiltinSkill[];
13
+ /**
14
+ * Get a skill by name
15
+ */
16
+ export declare function getBuiltinSkill(name: string): BuiltinSkill | undefined;
17
+ /**
18
+ * List all builtin skill names
19
+ */
20
+ export declare function listBuiltinSkillNames(): string[];
21
+ //# sourceMappingURL=skills.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../../src/features/builtin-skills/skills.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAqV/C;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,YAAY,EAAE,CASpD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAGtE;AAED;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,MAAM,EAAE,CAEhD"}