@planweave-ai/runtime 0.1.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 (374) hide show
  1. package/LICENSE +21 -0
  2. package/dist/autoRun/codexExecutor.d.ts +20 -0
  3. package/dist/autoRun/codexExecutor.d.ts.map +1 -0
  4. package/dist/autoRun/codexExecutor.js +196 -0
  5. package/dist/autoRun/codexExecutor.js.map +1 -0
  6. package/dist/autoRun/codexProtocol.d.ts +5 -0
  7. package/dist/autoRun/codexProtocol.d.ts.map +1 -0
  8. package/dist/autoRun/codexProtocol.js +72 -0
  9. package/dist/autoRun/codexProtocol.js.map +1 -0
  10. package/dist/autoRun/contract.d.ts +46 -0
  11. package/dist/autoRun/contract.d.ts.map +1 -0
  12. package/dist/autoRun/contract.js +18 -0
  13. package/dist/autoRun/contract.js.map +1 -0
  14. package/dist/autoRun/executorShared.d.ts +57 -0
  15. package/dist/autoRun/executorShared.d.ts.map +1 -0
  16. package/dist/autoRun/executorShared.js +179 -0
  17. package/dist/autoRun/executorShared.js.map +1 -0
  18. package/dist/autoRun/executors.d.ts +43 -0
  19. package/dist/autoRun/executors.d.ts.map +1 -0
  20. package/dist/autoRun/executors.js +201 -0
  21. package/dist/autoRun/executors.js.map +1 -0
  22. package/dist/autoRun/localReviewExecutor.d.ts +20 -0
  23. package/dist/autoRun/localReviewExecutor.d.ts.map +1 -0
  24. package/dist/autoRun/localReviewExecutor.js +133 -0
  25. package/dist/autoRun/localReviewExecutor.js.map +1 -0
  26. package/dist/autoRun/opencodeExecutor.d.ts +20 -0
  27. package/dist/autoRun/opencodeExecutor.d.ts.map +1 -0
  28. package/dist/autoRun/opencodeExecutor.js +211 -0
  29. package/dist/autoRun/opencodeExecutor.js.map +1 -0
  30. package/dist/autoRun/opencodeInvocation.d.ts +9 -0
  31. package/dist/autoRun/opencodeInvocation.d.ts.map +1 -0
  32. package/dist/autoRun/opencodeInvocation.js +53 -0
  33. package/dist/autoRun/opencodeInvocation.js.map +1 -0
  34. package/dist/autoRun/opencodeOutput.d.ts +11 -0
  35. package/dist/autoRun/opencodeOutput.d.ts.map +1 -0
  36. package/dist/autoRun/opencodeOutput.js +190 -0
  37. package/dist/autoRun/opencodeOutput.js.map +1 -0
  38. package/dist/autoRun/reviewResultContract.d.ts +8 -0
  39. package/dist/autoRun/reviewResultContract.d.ts.map +1 -0
  40. package/dist/autoRun/reviewResultContract.js +30 -0
  41. package/dist/autoRun/reviewResultContract.js.map +1 -0
  42. package/dist/autoRun/streamingExecutor.d.ts +21 -0
  43. package/dist/autoRun/streamingExecutor.d.ts.map +1 -0
  44. package/dist/autoRun/streamingExecutor.js +40 -0
  45. package/dist/autoRun/streamingExecutor.js.map +1 -0
  46. package/dist/autoRun/tmuxExecutor.d.ts +36 -0
  47. package/dist/autoRun/tmuxExecutor.d.ts.map +1 -0
  48. package/dist/autoRun/tmuxExecutor.js +203 -0
  49. package/dist/autoRun/tmuxExecutor.js.map +1 -0
  50. package/dist/autoRun/tmuxRunnerScript.d.ts +2 -0
  51. package/dist/autoRun/tmuxRunnerScript.d.ts.map +1 -0
  52. package/dist/autoRun/tmuxRunnerScript.js +72 -0
  53. package/dist/autoRun/tmuxRunnerScript.js.map +1 -0
  54. package/dist/desktop/canvasApi.d.ts +18 -0
  55. package/dist/desktop/canvasApi.d.ts.map +1 -0
  56. package/dist/desktop/canvasApi.js +214 -0
  57. package/dist/desktop/canvasApi.js.map +1 -0
  58. package/dist/desktop/canvasDiagnostics.d.ts +3 -0
  59. package/dist/desktop/canvasDiagnostics.d.ts.map +1 -0
  60. package/dist/desktop/canvasDiagnostics.js +21 -0
  61. package/dist/desktop/canvasDiagnostics.js.map +1 -0
  62. package/dist/desktop/canvasRegistry.d.ts +17 -0
  63. package/dist/desktop/canvasRegistry.d.ts.map +1 -0
  64. package/dist/desktop/canvasRegistry.js +51 -0
  65. package/dist/desktop/canvasRegistry.js.map +1 -0
  66. package/dist/desktop/fileSyncApi.d.ts +8 -0
  67. package/dist/desktop/fileSyncApi.d.ts.map +1 -0
  68. package/dist/desktop/fileSyncApi.js +186 -0
  69. package/dist/desktop/fileSyncApi.js.map +1 -0
  70. package/dist/desktop/graph/draftModel.d.ts +8 -0
  71. package/dist/desktop/graph/draftModel.d.ts.map +1 -0
  72. package/dist/desktop/graph/draftModel.js +75 -0
  73. package/dist/desktop/graph/draftModel.js.map +1 -0
  74. package/dist/desktop/graph/editModel.d.ts +16 -0
  75. package/dist/desktop/graph/editModel.d.ts.map +1 -0
  76. package/dist/desktop/graph/editModel.js +273 -0
  77. package/dist/desktop/graph/editModel.js.map +1 -0
  78. package/dist/desktop/graph/graphHelpers.d.ts +17 -0
  79. package/dist/desktop/graph/graphHelpers.d.ts.map +1 -0
  80. package/dist/desktop/graph/graphHelpers.js +95 -0
  81. package/dist/desktop/graph/graphHelpers.js.map +1 -0
  82. package/dist/desktop/graph/projectCanvasAggregation.d.ts +10 -0
  83. package/dist/desktop/graph/projectCanvasAggregation.d.ts.map +1 -0
  84. package/dist/desktop/graph/projectCanvasAggregation.js +19 -0
  85. package/dist/desktop/graph/projectCanvasAggregation.js.map +1 -0
  86. package/dist/desktop/graph/readModel.d.ts +7 -0
  87. package/dist/desktop/graph/readModel.d.ts.map +1 -0
  88. package/dist/desktop/graph/readModel.js +154 -0
  89. package/dist/desktop/graph/readModel.js.map +1 -0
  90. package/dist/desktop/graph/searchModel.d.ts +3 -0
  91. package/dist/desktop/graph/searchModel.d.ts.map +1 -0
  92. package/dist/desktop/graph/searchModel.js +128 -0
  93. package/dist/desktop/graph/searchModel.js.map +1 -0
  94. package/dist/desktop/graph/statisticsModel.d.ts +3 -0
  95. package/dist/desktop/graph/statisticsModel.d.ts.map +1 -0
  96. package/dist/desktop/graph/statisticsModel.js +121 -0
  97. package/dist/desktop/graph/statisticsModel.js.map +1 -0
  98. package/dist/desktop/graph/todoModel.d.ts +4 -0
  99. package/dist/desktop/graph/todoModel.d.ts.map +1 -0
  100. package/dist/desktop/graph/todoModel.js +88 -0
  101. package/dist/desktop/graph/todoModel.js.map +1 -0
  102. package/dist/desktop/graphApi.d.ts +7 -0
  103. package/dist/desktop/graphApi.d.ts.map +1 -0
  104. package/dist/desktop/graphApi.js +7 -0
  105. package/dist/desktop/graphApi.js.map +1 -0
  106. package/dist/desktop/index.d.ts +12 -0
  107. package/dist/desktop/index.d.ts.map +1 -0
  108. package/dist/desktop/index.js +10 -0
  109. package/dist/desktop/index.js.map +1 -0
  110. package/dist/desktop/layoutApi.d.ts +10 -0
  111. package/dist/desktop/layoutApi.d.ts.map +1 -0
  112. package/dist/desktop/layoutApi.js +191 -0
  113. package/dist/desktop/layoutApi.js.map +1 -0
  114. package/dist/desktop/projectApi.d.ts +10 -0
  115. package/dist/desktop/projectApi.d.ts.map +1 -0
  116. package/dist/desktop/projectApi.js +99 -0
  117. package/dist/desktop/projectApi.js.map +1 -0
  118. package/dist/desktop/recordsApi.d.ts +7 -0
  119. package/dist/desktop/recordsApi.d.ts.map +1 -0
  120. package/dist/desktop/recordsApi.js +188 -0
  121. package/dist/desktop/recordsApi.js.map +1 -0
  122. package/dist/desktop/reviewPipelineApi.d.ts +5 -0
  123. package/dist/desktop/reviewPipelineApi.d.ts.map +1 -0
  124. package/dist/desktop/reviewPipelineApi.js +189 -0
  125. package/dist/desktop/reviewPipelineApi.js.map +1 -0
  126. package/dist/desktop/runApi.d.ts +8 -0
  127. package/dist/desktop/runApi.d.ts.map +1 -0
  128. package/dist/desktop/runApi.js +180 -0
  129. package/dist/desktop/runApi.js.map +1 -0
  130. package/dist/desktop/runRecordOutput.d.ts +14 -0
  131. package/dist/desktop/runRecordOutput.d.ts.map +1 -0
  132. package/dist/desktop/runRecordOutput.js +31 -0
  133. package/dist/desktop/runRecordOutput.js.map +1 -0
  134. package/dist/desktop/runStateStore.d.ts +9 -0
  135. package/dist/desktop/runStateStore.d.ts.map +1 -0
  136. package/dist/desktop/runStateStore.js +38 -0
  137. package/dist/desktop/runStateStore.js.map +1 -0
  138. package/dist/desktop/runStepState.d.ts +16 -0
  139. package/dist/desktop/runStepState.d.ts.map +1 -0
  140. package/dist/desktop/runStepState.js +94 -0
  141. package/dist/desktop/runStepState.js.map +1 -0
  142. package/dist/desktop/types/bridgeTypes.d.ts +115 -0
  143. package/dist/desktop/types/bridgeTypes.d.ts.map +1 -0
  144. package/dist/desktop/types/bridgeTypes.js +2 -0
  145. package/dist/desktop/types/bridgeTypes.js.map +1 -0
  146. package/dist/desktop/types/graphTypes.d.ts +201 -0
  147. package/dist/desktop/types/graphTypes.d.ts.map +1 -0
  148. package/dist/desktop/types/graphTypes.js +2 -0
  149. package/dist/desktop/types/graphTypes.js.map +1 -0
  150. package/dist/desktop/types/projectTypes.d.ts +19 -0
  151. package/dist/desktop/types/projectTypes.d.ts.map +1 -0
  152. package/dist/desktop/types/projectTypes.js +2 -0
  153. package/dist/desktop/types/projectTypes.js.map +1 -0
  154. package/dist/desktop/types/recordsTypes.d.ts +50 -0
  155. package/dist/desktop/types/recordsTypes.d.ts.map +1 -0
  156. package/dist/desktop/types/recordsTypes.js +2 -0
  157. package/dist/desktop/types/recordsTypes.js.map +1 -0
  158. package/dist/desktop/types/reviewPipelineTypes.d.ts +35 -0
  159. package/dist/desktop/types/reviewPipelineTypes.d.ts.map +1 -0
  160. package/dist/desktop/types/reviewPipelineTypes.js +2 -0
  161. package/dist/desktop/types/reviewPipelineTypes.js.map +1 -0
  162. package/dist/desktop/types/runTypes.d.ts +35 -0
  163. package/dist/desktop/types/runTypes.d.ts.map +1 -0
  164. package/dist/desktop/types/runTypes.js +2 -0
  165. package/dist/desktop/types/runTypes.js.map +1 -0
  166. package/dist/desktop/types/syncTypes.d.ts +22 -0
  167. package/dist/desktop/types/syncTypes.d.ts.map +1 -0
  168. package/dist/desktop/types/syncTypes.js +2 -0
  169. package/dist/desktop/types/syncTypes.js.map +1 -0
  170. package/dist/desktop/types.d.ts +8 -0
  171. package/dist/desktop/types.d.ts.map +1 -0
  172. package/dist/desktop/types.js +2 -0
  173. package/dist/desktop/types.js.map +1 -0
  174. package/dist/graph/compileTaskGraph.d.ts +8 -0
  175. package/dist/graph/compileTaskGraph.d.ts.map +1 -0
  176. package/dist/graph/compileTaskGraph.js +311 -0
  177. package/dist/graph/compileTaskGraph.js.map +1 -0
  178. package/dist/graph/editGraph.d.ts +49 -0
  179. package/dist/graph/editGraph.d.ts.map +1 -0
  180. package/dist/graph/editGraph.js +224 -0
  181. package/dist/graph/editGraph.js.map +1 -0
  182. package/dist/graph/mutation.d.ts +62 -0
  183. package/dist/graph/mutation.d.ts.map +1 -0
  184. package/dist/graph/mutation.js +158 -0
  185. package/dist/graph/mutation.js.map +1 -0
  186. package/dist/graph/session/applyOperation.d.ts +3 -0
  187. package/dist/graph/session/applyOperation.d.ts.map +1 -0
  188. package/dist/graph/session/applyOperation.js +101 -0
  189. package/dist/graph/session/applyOperation.js.map +1 -0
  190. package/dist/graph/session/fileQueue.d.ts +5 -0
  191. package/dist/graph/session/fileQueue.d.ts.map +1 -0
  192. package/dist/graph/session/fileQueue.js +26 -0
  193. package/dist/graph/session/fileQueue.js.map +1 -0
  194. package/dist/graph/session/graphIndexes.d.ts +15 -0
  195. package/dist/graph/session/graphIndexes.d.ts.map +1 -0
  196. package/dist/graph/session/graphIndexes.js +174 -0
  197. package/dist/graph/session/graphIndexes.js.map +1 -0
  198. package/dist/graph/session/manifestDiff.d.ts +3 -0
  199. package/dist/graph/session/manifestDiff.d.ts.map +1 -0
  200. package/dist/graph/session/manifestDiff.js +39 -0
  201. package/dist/graph/session/manifestDiff.js.map +1 -0
  202. package/dist/graph/session/rebuild.d.ts +4 -0
  203. package/dist/graph/session/rebuild.d.ts.map +1 -0
  204. package/dist/graph/session/rebuild.js +20 -0
  205. package/dist/graph/session/rebuild.js.map +1 -0
  206. package/dist/graph/session.d.ts +6 -0
  207. package/dist/graph/session.d.ts.map +1 -0
  208. package/dist/graph/session.js +97 -0
  209. package/dist/graph/session.js.map +1 -0
  210. package/dist/index.d.ts +34 -0
  211. package/dist/index.d.ts.map +1 -0
  212. package/dist/index.js +30 -0
  213. package/dist/index.js.map +1 -0
  214. package/dist/initWorkspace.d.ts +9 -0
  215. package/dist/initWorkspace.d.ts.map +1 -0
  216. package/dist/initWorkspace.js +108 -0
  217. package/dist/initWorkspace.js.map +1 -0
  218. package/dist/json.d.ts +3 -0
  219. package/dist/json.d.ts.map +1 -0
  220. package/dist/json.js +20 -0
  221. package/dist/json.js.map +1 -0
  222. package/dist/package/fileChanges.d.ts +14 -0
  223. package/dist/package/fileChanges.d.ts.map +1 -0
  224. package/dist/package/fileChanges.js +134 -0
  225. package/dist/package/fileChanges.js.map +1 -0
  226. package/dist/package/loadPackage.d.ts +8 -0
  227. package/dist/package/loadPackage.d.ts.map +1 -0
  228. package/dist/package/loadPackage.js +14 -0
  229. package/dist/package/loadPackage.js.map +1 -0
  230. package/dist/package/manifestEdit.d.ts +4 -0
  231. package/dist/package/manifestEdit.d.ts.map +1 -0
  232. package/dist/package/manifestEdit.js +198 -0
  233. package/dist/package/manifestEdit.js.map +1 -0
  234. package/dist/package/orphans.d.ts +6 -0
  235. package/dist/package/orphans.d.ts.map +1 -0
  236. package/dist/package/orphans.js +38 -0
  237. package/dist/package/orphans.js.map +1 -0
  238. package/dist/package/readMarkdown.d.ts +2 -0
  239. package/dist/package/readMarkdown.d.ts.map +1 -0
  240. package/dist/package/readMarkdown.js +5 -0
  241. package/dist/package/readMarkdown.js.map +1 -0
  242. package/dist/package/resolvePackagePath.d.ts +8 -0
  243. package/dist/package/resolvePackagePath.d.ts.map +1 -0
  244. package/dist/package/resolvePackagePath.js +56 -0
  245. package/dist/package/resolvePackagePath.js.map +1 -0
  246. package/dist/paths.d.ts +4 -0
  247. package/dist/paths.d.ts.map +1 -0
  248. package/dist/paths.js +28 -0
  249. package/dist/paths.js.map +1 -0
  250. package/dist/project.d.ts +4 -0
  251. package/dist/project.d.ts.map +1 -0
  252. package/dist/project.js +35 -0
  253. package/dist/project.js.map +1 -0
  254. package/dist/projectId.d.ts +2 -0
  255. package/dist/projectId.d.ts.map +1 -0
  256. package/dist/projectId.js +16 -0
  257. package/dist/projectId.js.map +1 -0
  258. package/dist/projectPromptPolicy.d.ts +9 -0
  259. package/dist/projectPromptPolicy.d.ts.map +1 -0
  260. package/dist/projectPromptPolicy.js +73 -0
  261. package/dist/projectPromptPolicy.js.map +1 -0
  262. package/dist/prompt/getPrompt.d.ts +6 -0
  263. package/dist/prompt/getPrompt.d.ts.map +1 -0
  264. package/dist/prompt/getPrompt.js +5 -0
  265. package/dist/prompt/getPrompt.js.map +1 -0
  266. package/dist/prompt/refreshPrompt.d.ts +6 -0
  267. package/dist/prompt/refreshPrompt.d.ts.map +1 -0
  268. package/dist/prompt/refreshPrompt.js +9 -0
  269. package/dist/prompt/refreshPrompt.js.map +1 -0
  270. package/dist/prompt/refreshPrompts.d.ts +5 -0
  271. package/dist/prompt/refreshPrompts.d.ts.map +1 -0
  272. package/dist/prompt/refreshPrompts.js +17 -0
  273. package/dist/prompt/refreshPrompts.js.map +1 -0
  274. package/dist/prompt/renderManagedSections.d.ts +3 -0
  275. package/dist/prompt/renderManagedSections.d.ts.map +1 -0
  276. package/dist/prompt/renderManagedSections.js +4 -0
  277. package/dist/prompt/renderManagedSections.js.map +1 -0
  278. package/dist/prompt/sections.d.ts +15 -0
  279. package/dist/prompt/sections.d.ts.map +1 -0
  280. package/dist/prompt/sections.js +62 -0
  281. package/dist/prompt/sections.js.map +1 -0
  282. package/dist/schema/manifest.d.ts +192 -0
  283. package/dist/schema/manifest.d.ts.map +1 -0
  284. package/dist/schema/manifest.js +178 -0
  285. package/dist/schema/manifest.js.map +1 -0
  286. package/dist/state.d.ts +7 -0
  287. package/dist/state.d.ts.map +1 -0
  288. package/dist/state.js +139 -0
  289. package/dist/state.js.map +1 -0
  290. package/dist/taskManager/autoRun.d.ts +16 -0
  291. package/dist/taskManager/autoRun.d.ts.map +1 -0
  292. package/dist/taskManager/autoRun.js +228 -0
  293. package/dist/taskManager/autoRun.js.map +1 -0
  294. package/dist/taskManager/blockStatusMutations.d.ts +42 -0
  295. package/dist/taskManager/blockStatusMutations.d.ts.map +1 -0
  296. package/dist/taskManager/blockStatusMutations.js +88 -0
  297. package/dist/taskManager/blockStatusMutations.js.map +1 -0
  298. package/dist/taskManager/blockSubmission.d.ts +9 -0
  299. package/dist/taskManager/blockSubmission.d.ts.map +1 -0
  300. package/dist/taskManager/blockSubmission.js +124 -0
  301. package/dist/taskManager/blockSubmission.js.map +1 -0
  302. package/dist/taskManager/claimScheduler.d.ts +26 -0
  303. package/dist/taskManager/claimScheduler.d.ts.map +1 -0
  304. package/dist/taskManager/claimScheduler.js +286 -0
  305. package/dist/taskManager/claimScheduler.js.map +1 -0
  306. package/dist/taskManager/doctor.d.ts +6 -0
  307. package/dist/taskManager/doctor.d.ts.map +1 -0
  308. package/dist/taskManager/doctor.js +141 -0
  309. package/dist/taskManager/doctor.js.map +1 -0
  310. package/dist/taskManager/executionStatus.d.ts +74 -0
  311. package/dist/taskManager/executionStatus.d.ts.map +1 -0
  312. package/dist/taskManager/executionStatus.js +180 -0
  313. package/dist/taskManager/executionStatus.js.map +1 -0
  314. package/dist/taskManager/executorApi.d.ts +9 -0
  315. package/dist/taskManager/executorApi.d.ts.map +1 -0
  316. package/dist/taskManager/executorApi.js +87 -0
  317. package/dist/taskManager/executorApi.js.map +1 -0
  318. package/dist/taskManager/feedbackArtifacts.d.ts +14 -0
  319. package/dist/taskManager/feedbackArtifacts.d.ts.map +1 -0
  320. package/dist/taskManager/feedbackArtifacts.js +17 -0
  321. package/dist/taskManager/feedbackArtifacts.js.map +1 -0
  322. package/dist/taskManager/feedbackSubmission.d.ts +7 -0
  323. package/dist/taskManager/feedbackSubmission.d.ts.map +1 -0
  324. package/dist/taskManager/feedbackSubmission.js +136 -0
  325. package/dist/taskManager/feedbackSubmission.js.map +1 -0
  326. package/dist/taskManager/index.d.ts +12 -0
  327. package/dist/taskManager/index.d.ts.map +1 -0
  328. package/dist/taskManager/index.js +11 -0
  329. package/dist/taskManager/index.js.map +1 -0
  330. package/dist/taskManager/promptRenderer.d.ts +29 -0
  331. package/dist/taskManager/promptRenderer.d.ts.map +1 -0
  332. package/dist/taskManager/promptRenderer.js +191 -0
  333. package/dist/taskManager/promptRenderer.js.map +1 -0
  334. package/dist/taskManager/resultIndex.d.ts +15 -0
  335. package/dist/taskManager/resultIndex.d.ts.map +1 -0
  336. package/dist/taskManager/resultIndex.js +61 -0
  337. package/dist/taskManager/resultIndex.js.map +1 -0
  338. package/dist/taskManager/reviewHook.d.ts +10 -0
  339. package/dist/taskManager/reviewHook.d.ts.map +1 -0
  340. package/dist/taskManager/reviewHook.js +49 -0
  341. package/dist/taskManager/reviewHook.js.map +1 -0
  342. package/dist/taskManager/reviewRetry.d.ts +13 -0
  343. package/dist/taskManager/reviewRetry.d.ts.map +1 -0
  344. package/dist/taskManager/reviewRetry.js +112 -0
  345. package/dist/taskManager/reviewRetry.js.map +1 -0
  346. package/dist/taskManager/reviewSubmission.d.ts +8 -0
  347. package/dist/taskManager/reviewSubmission.d.ts.map +1 -0
  348. package/dist/taskManager/reviewSubmission.js +444 -0
  349. package/dist/taskManager/reviewSubmission.js.map +1 -0
  350. package/dist/taskManager/runtimeContext.d.ts +16 -0
  351. package/dist/taskManager/runtimeContext.d.ts.map +1 -0
  352. package/dist/taskManager/runtimeContext.js +31 -0
  353. package/dist/taskManager/runtimeContext.js.map +1 -0
  354. package/dist/taskManager/selectors.d.ts +20 -0
  355. package/dist/taskManager/selectors.d.ts.map +1 -0
  356. package/dist/taskManager/selectors.js +148 -0
  357. package/dist/taskManager/selectors.js.map +1 -0
  358. package/dist/tasks/dependencies.d.ts +5 -0
  359. package/dist/tasks/dependencies.d.ts.map +1 -0
  360. package/dist/tasks/dependencies.js +11 -0
  361. package/dist/tasks/dependencies.js.map +1 -0
  362. package/dist/tasks/parallelSafety.d.ts +3 -0
  363. package/dist/tasks/parallelSafety.d.ts.map +1 -0
  364. package/dist/tasks/parallelSafety.js +18 -0
  365. package/dist/tasks/parallelSafety.js.map +1 -0
  366. package/dist/types.d.ts +675 -0
  367. package/dist/types.d.ts.map +1 -0
  368. package/dist/types.js +11 -0
  369. package/dist/types.js.map +1 -0
  370. package/dist/validatePackage.d.ts +5 -0
  371. package/dist/validatePackage.d.ts.map +1 -0
  372. package/dist/validatePackage.js +130 -0
  373. package/dist/validatePackage.js.map +1 -0
  374. package/package.json +47 -0
@@ -0,0 +1,675 @@
1
+ export declare const supportedManifestVersion: "plan-package/v1";
2
+ export declare const nodeTypes: readonly ["task"];
3
+ export declare const edgeTypes: readonly ["depends_on"];
4
+ export declare const blockTypes: readonly ["implementation", "review"];
5
+ export declare const taskStatuses: readonly ["planned", "ready", "in_progress", "implemented"];
6
+ export declare const blockStatuses: readonly ["planned", "ready", "in_progress", "completed", "needs_changes", "blocked", "diverged"];
7
+ export declare const feedbackStatuses: readonly ["open", "in_progress", "resolved", "dismissed"];
8
+ export declare const reviewVerdicts: readonly ["passed", "needs_changes"];
9
+ export type NodeType = (typeof nodeTypes)[number];
10
+ export type EdgeType = (typeof edgeTypes)[number];
11
+ export type BlockType = (typeof blockTypes)[number];
12
+ export type TaskStatus = (typeof taskStatuses)[number];
13
+ export type BlockStatus = (typeof blockStatuses)[number];
14
+ export type FeedbackStatus = (typeof feedbackStatuses)[number];
15
+ export type ReviewVerdict = (typeof reviewVerdicts)[number];
16
+ export type ReviewHookDefinition = {
17
+ id: string;
18
+ type: "executable";
19
+ command: string;
20
+ args: string[];
21
+ executionPolicy: "trusted-local";
22
+ };
23
+ export type ReviewTriggerCondition = "after_required_work_completed" | "manual";
24
+ export type ManualExecutorProfile = {
25
+ adapter: "manual";
26
+ };
27
+ export type CodexExecExecutorProfile = {
28
+ adapter: "codex-exec";
29
+ command: string;
30
+ args: string[];
31
+ sandbox?: "read-only" | "workspace-write" | "danger-full-access";
32
+ role?: string;
33
+ timeoutMs?: number;
34
+ };
35
+ export type OpencodeExecExecutorProfile = {
36
+ adapter: "opencode-exec";
37
+ command: string;
38
+ args: string[];
39
+ sandbox?: "read-only" | "workspace-write" | "danger-full-access";
40
+ timeoutMs?: number;
41
+ };
42
+ export type LocalReviewExecutorProfile = {
43
+ adapter: "local-review";
44
+ command: string;
45
+ args: string[];
46
+ sandbox?: "read-only" | "workspace-write" | "danger-full-access";
47
+ timeoutMs?: number;
48
+ };
49
+ export type ExecutorProfile = ManualExecutorProfile | CodexExecExecutorProfile | OpencodeExecExecutorProfile | LocalReviewExecutorProfile;
50
+ export type ExecutorProfileSummary = ExecutorProfile & {
51
+ name: string;
52
+ source: "builtin" | "package";
53
+ };
54
+ export type BlockParallelPolicy = {
55
+ safe: boolean;
56
+ locks: string[];
57
+ };
58
+ export type ManifestImplementationBlock = {
59
+ id: string;
60
+ type: "implementation";
61
+ title: string;
62
+ prompt: string;
63
+ depends_on: string[];
64
+ executor?: string;
65
+ parallel: BlockParallelPolicy;
66
+ };
67
+ export type ManifestReviewBlock = {
68
+ id: string;
69
+ type: "review";
70
+ title: string;
71
+ prompt: string;
72
+ depends_on: string[];
73
+ executor?: string;
74
+ review: {
75
+ required: boolean;
76
+ maxFeedbackCycles: number;
77
+ preset?: string;
78
+ triggerCondition?: ReviewTriggerCondition;
79
+ inputContext?: string;
80
+ passCriteria?: string;
81
+ feedbackFormat?: string;
82
+ hook: ReviewHookDefinition | null;
83
+ };
84
+ };
85
+ export type ManifestBlock = ManifestImplementationBlock | ManifestReviewBlock;
86
+ export type ManifestTaskNode = {
87
+ id: string;
88
+ type: "task";
89
+ title: string;
90
+ prompt: string;
91
+ executor?: string;
92
+ acceptance: string[];
93
+ blocks: ManifestBlock[];
94
+ };
95
+ export type ManifestNode = ManifestTaskNode;
96
+ export type ManifestEdge = {
97
+ from: string;
98
+ to: string;
99
+ type: EdgeType;
100
+ };
101
+ export type PlanPackageManifest = {
102
+ version: typeof supportedManifestVersion;
103
+ project: {
104
+ title: string;
105
+ description: string;
106
+ };
107
+ execution: {
108
+ defaultExecutor?: string;
109
+ parallel: {
110
+ enabled: boolean;
111
+ maxConcurrent: number;
112
+ };
113
+ };
114
+ review: {
115
+ maxFeedbackCycles: number;
116
+ completionPolicy: "strict";
117
+ };
118
+ executors?: Record<string, ExecutorProfile>;
119
+ nodes: ManifestNode[];
120
+ edges: ManifestEdge[];
121
+ };
122
+ export type ProjectMetadata = {
123
+ id: string;
124
+ name: string;
125
+ rootPath: string;
126
+ createdAt: string;
127
+ };
128
+ export type ProjectWorkspace = {
129
+ id: string;
130
+ rootPath: string;
131
+ planweaveHome: string;
132
+ workspaceRoot: string;
133
+ projectFile: string;
134
+ packageDir: string;
135
+ manifestFile: string;
136
+ stateFile: string;
137
+ resultsDir: string;
138
+ projectPromptFile: string;
139
+ };
140
+ export type PackageWorkspaceRef = string | ProjectWorkspace;
141
+ export type TaskState = {
142
+ status: TaskStatus;
143
+ openFeedbackCount: number;
144
+ };
145
+ export type BlockState = {
146
+ status: BlockStatus;
147
+ lastRunId?: string | null;
148
+ latestReviewAttemptId?: string | null;
149
+ activeFeedbackId?: string | null;
150
+ pendingFeedbackId?: string | null;
151
+ blockedReason?: string | null;
152
+ divergenceReason?: string | null;
153
+ completionReason?: "passed" | "max_cycles_reached" | null;
154
+ passedWorkRevision?: string | null;
155
+ };
156
+ export type FeedbackEnvelopeState = {
157
+ status: FeedbackStatus;
158
+ sourceReviewBlockRef: string;
159
+ latestSubmissionId: string | null;
160
+ content: string;
161
+ };
162
+ export type RuntimeState = {
163
+ currentRefs: string[];
164
+ currentFeedbackId: string | null;
165
+ currentReviewBlockRef: string | null;
166
+ tasks: Record<string, TaskState>;
167
+ blocks: Record<string, BlockState>;
168
+ feedback: Record<string, FeedbackEnvelopeState>;
169
+ };
170
+ export type ValidationIssue = {
171
+ code: string;
172
+ message: string;
173
+ path?: string;
174
+ };
175
+ export type CompiledExecutionGraph = {
176
+ nodesById: Map<string, ManifestNode>;
177
+ taskNodesInManifestOrder: string[];
178
+ tasksById: Map<string, ManifestTaskNode>;
179
+ taskDependenciesByTask: Map<string, string[]>;
180
+ taskDependentsByTask: Map<string, string[]>;
181
+ blockRefsInManifestOrder: string[];
182
+ blocksByRef: Map<string, ManifestBlock>;
183
+ blockTaskByRef: Map<string, string>;
184
+ blocksByTask: Map<string, string[]>;
185
+ blockDependenciesByRef: Map<string, string[]>;
186
+ blockDependentsByRef: Map<string, string[]>;
187
+ reviewBlocksByTask: Map<string, string[]>;
188
+ locksByBlockRef: Map<string, string[]>;
189
+ parallelSafeByBlockRef: Map<string, boolean>;
190
+ diagnostics: {
191
+ errors: ValidationIssue[];
192
+ warnings: ValidationIssue[];
193
+ };
194
+ taskReachable(from: string, to: string): boolean;
195
+ blockReachable(fromRef: string, toRef: string): boolean;
196
+ };
197
+ export type CompiledTaskGraph = CompiledExecutionGraph;
198
+ export type ExecutionGraphSession = {
199
+ projectRoot: PackageWorkspaceRef;
200
+ projectId: string;
201
+ packageRoot: string;
202
+ graph: CompiledExecutionGraph;
203
+ fileSnapshot: PackageFileSnapshot;
204
+ readQueue: GraphReadQueue;
205
+ dirtyPromptRefs: Set<string>;
206
+ diagnostics: ValidationIssue[];
207
+ };
208
+ export type PackageFileChange = {
209
+ path: string;
210
+ type: "added" | "changed" | "removed";
211
+ };
212
+ export type GraphEditOperation = {
213
+ type: "add_node" | "update_node";
214
+ node: ManifestNode;
215
+ } | {
216
+ type: "remove_node";
217
+ nodeId: string;
218
+ } | {
219
+ type: "add_edge" | "remove_edge";
220
+ edge: ManifestEdge;
221
+ } | {
222
+ type: "update_prompt";
223
+ ref: string;
224
+ };
225
+ export type GraphReadQueue = {
226
+ fileChanges: PackageFileChange[];
227
+ graphOps: GraphEditOperation[];
228
+ enqueuedAt: string;
229
+ };
230
+ export type FileFingerprint = {
231
+ path: string;
232
+ hash: string;
233
+ mtimeMs: number;
234
+ };
235
+ export type PackageFileSnapshot = {
236
+ manifest: PlanPackageManifest;
237
+ graph: CompiledExecutionGraph;
238
+ manifestFile: FileFingerprint;
239
+ promptFiles: Record<string, FileFingerprint>;
240
+ };
241
+ export type DrainGraphReadQueueResult = {
242
+ session: ExecutionGraphSession;
243
+ refreshed: boolean;
244
+ dirtyPromptRefs: string[];
245
+ diagnostics: ValidationIssue[];
246
+ };
247
+ export type ValidationReport = {
248
+ ok: boolean;
249
+ errors: ValidationIssue[];
250
+ warnings: ValidationIssue[];
251
+ };
252
+ export type InitWorkspaceResult = {
253
+ workspace: ProjectWorkspace;
254
+ project: ProjectMetadata;
255
+ created: boolean;
256
+ backup?: {
257
+ backupDir: string;
258
+ packageDir?: string;
259
+ stateFile?: string;
260
+ resultsDir?: string;
261
+ };
262
+ };
263
+ export type ProjectPathsResult = {
264
+ workspaceDir: string;
265
+ projectId: string;
266
+ projectDir: string;
267
+ packageDir: string;
268
+ statePath: string;
269
+ resultsDir: string;
270
+ };
271
+ export type PromptSurface = {
272
+ ref: string;
273
+ path: string;
274
+ markdown: string;
275
+ };
276
+ export type RefreshPromptsResult = {
277
+ prompts: PromptSurface[];
278
+ };
279
+ export type ClaimResult = {
280
+ kind: "block";
281
+ ref: string;
282
+ taskId: string;
283
+ blockId: string;
284
+ blockType: BlockType;
285
+ reason?: "claimed" | "current" | "feedback_resolved" | "dispatched";
286
+ requestedMode?: "parallel";
287
+ parallelFallbackReason?: "review_requires_sequential_claim";
288
+ nextParallelClaimable?: string[];
289
+ } | {
290
+ kind: "feedback";
291
+ content: string;
292
+ } | {
293
+ kind: "batch";
294
+ refs: string[];
295
+ } | {
296
+ kind: "none";
297
+ reason?: string;
298
+ nextSequentialClaimable?: string[];
299
+ } | {
300
+ kind: "blocked";
301
+ ref?: string;
302
+ reason: string;
303
+ };
304
+ export type ClaimScope = {
305
+ kind: "project";
306
+ } | {
307
+ kind: "task";
308
+ taskId: string;
309
+ } | {
310
+ kind: "block";
311
+ blockRef: string;
312
+ };
313
+ export type ParallelClaimResult = ClaimResult;
314
+ export type ExecutorAdapterResult = {
315
+ kind: "block";
316
+ reportPath: string;
317
+ runId?: string;
318
+ executor?: string;
319
+ adapter?: ExecutorProfile["adapter"];
320
+ stdout?: string;
321
+ stderr?: string;
322
+ exitCode?: number;
323
+ startedAt?: string;
324
+ finishedAt?: string;
325
+ agentSessionId?: string | null;
326
+ codexSessionId?: string | null;
327
+ opencodeSessionId?: string | null;
328
+ } | {
329
+ kind: "review";
330
+ resultPath: string;
331
+ runId?: string;
332
+ executor?: string;
333
+ adapter?: ExecutorProfile["adapter"];
334
+ stdout?: string;
335
+ stderr?: string;
336
+ exitCode?: number;
337
+ startedAt?: string;
338
+ finishedAt?: string;
339
+ agentSessionId?: string | null;
340
+ codexSessionId?: string | null;
341
+ opencodeSessionId?: string | null;
342
+ } | {
343
+ kind: "feedback";
344
+ reportPath: string;
345
+ runId?: string;
346
+ executor?: string;
347
+ adapter?: ExecutorProfile["adapter"];
348
+ stdout?: string;
349
+ stderr?: string;
350
+ exitCode?: number;
351
+ startedAt?: string;
352
+ finishedAt?: string;
353
+ agentSessionId?: string | null;
354
+ codexSessionId?: string | null;
355
+ opencodeSessionId?: string | null;
356
+ } | {
357
+ kind: "manual";
358
+ promptPath: string;
359
+ runDir: string;
360
+ runId: string;
361
+ executor: string;
362
+ adapter: "manual";
363
+ nextCommand: string;
364
+ };
365
+ export type ExecutorAdapter = {
366
+ runBlock(input: {
367
+ claim: Extract<ClaimResult, {
368
+ kind: "block";
369
+ }>;
370
+ prompt: string;
371
+ }): Promise<ExecutorAdapterResult>;
372
+ runFeedback(input: {
373
+ claim: Extract<ClaimResult, {
374
+ kind: "feedback";
375
+ }>;
376
+ }): Promise<ExecutorAdapterResult>;
377
+ };
378
+ export type AutoRunStepResult = {
379
+ kind: "submitted";
380
+ claim: ClaimResult;
381
+ adapterResult: Extract<ExecutorAdapterResult, {
382
+ kind: "block" | "review" | "feedback";
383
+ }>;
384
+ submitResult: SubmitResult | SubmitReviewResult | SubmitFeedbackResult;
385
+ } | {
386
+ kind: "manual";
387
+ claim: Extract<ClaimResult, {
388
+ kind: "block" | "feedback";
389
+ }>;
390
+ adapterResult: Extract<ExecutorAdapterResult, {
391
+ kind: "manual";
392
+ }>;
393
+ } | {
394
+ kind: "idle" | "blocked" | "batch";
395
+ claim: ClaimResult;
396
+ } | {
397
+ kind: "batch_submitted";
398
+ claim: Extract<ClaimResult, {
399
+ kind: "batch";
400
+ }>;
401
+ steps: Array<Extract<AutoRunStepResult, {
402
+ kind: "submitted" | "manual";
403
+ }>>;
404
+ };
405
+ export type AutoRunLatestRunSummary = {
406
+ ref: string;
407
+ taskId: string;
408
+ blockId: string;
409
+ runId: string;
410
+ executor: string | null;
411
+ adapter: ExecutorProfile["adapter"] | null;
412
+ status: BlockStatus;
413
+ stdoutSummary: string;
414
+ stderrSummary: string;
415
+ failureReason: string | null;
416
+ promptPath: string;
417
+ reportPath: string | null;
418
+ metadataPath: string;
419
+ };
420
+ export type AutoRunStatus = {
421
+ current: {
422
+ refs: string[];
423
+ feedbackId: string | null;
424
+ reviewBlockRef: string | null;
425
+ };
426
+ latestRuns: AutoRunLatestRunSummary[];
427
+ warnings: ValidationIssue[];
428
+ };
429
+ export type ReviewResult = {
430
+ reviewBlockRef: string;
431
+ taskId: string;
432
+ verdict: ReviewVerdict;
433
+ content: string;
434
+ };
435
+ export type ReviewHookInput = {
436
+ reviewResult: ReviewResult;
437
+ task: {
438
+ taskId: string;
439
+ title: string;
440
+ };
441
+ reviewBlockRef: string;
442
+ feedbackCycleCount: number;
443
+ };
444
+ export type ReviewHookOutput = {
445
+ action: "use_feedback";
446
+ feedbackPrompt: string;
447
+ };
448
+ export type SubmitResult = {
449
+ ref: string;
450
+ runId: string;
451
+ status: "completed";
452
+ };
453
+ export type SubmitReviewResult = {
454
+ ref: string;
455
+ reviewAttemptId: string;
456
+ verdict: ReviewVerdict;
457
+ feedbackId?: string;
458
+ status: BlockStatus;
459
+ completionReason?: "passed" | "max_cycles_reached" | null;
460
+ feedbackCreated?: boolean;
461
+ message?: string;
462
+ };
463
+ export type SubmitFeedbackResult = {
464
+ status: "accepted";
465
+ nextCommand: "planweave claim-next";
466
+ message: string;
467
+ feedbackId: string;
468
+ submissionId: string;
469
+ };
470
+ export type BlockRecoveryResult = {
471
+ ref: string;
472
+ status: BlockStatus;
473
+ reason?: string;
474
+ };
475
+ export type TaskStatusSummary = {
476
+ taskId: string;
477
+ status: TaskStatus;
478
+ openFeedbackCount: number;
479
+ };
480
+ export type BlockStatusSummary = {
481
+ ref: string;
482
+ taskId: string;
483
+ blockId: string;
484
+ type: BlockType;
485
+ status: BlockStatus;
486
+ reason?: string | null;
487
+ completionReason?: "passed" | "max_cycles_reached" | null;
488
+ lastRunId?: string | null;
489
+ latestReviewAttemptId?: string | null;
490
+ activeFeedbackId?: string | null;
491
+ };
492
+ export type ClaimHint = {
493
+ ref: string;
494
+ taskId: string;
495
+ blockId: string;
496
+ blockType: BlockType;
497
+ status: BlockStatus;
498
+ statusReason: string | null;
499
+ ready: boolean;
500
+ readyReason: string | null;
501
+ blockedByBlocks: string[];
502
+ blockedByTasks: string[];
503
+ parallelSafe: boolean;
504
+ sequentialOnly: boolean;
505
+ recommendedCommand: string | null;
506
+ dispatchable: boolean;
507
+ dispatchCommand: string | null;
508
+ reviewGate: ReviewGateHint | null;
509
+ };
510
+ export type ReviewGateHint = {
511
+ isGate: true;
512
+ required: boolean;
513
+ requiredReason: string;
514
+ executorRole: "reviewer";
515
+ downstreamTasks: string[];
516
+ unlocksTasks: string[];
517
+ needsChangesReturnsTo: string[];
518
+ };
519
+ export type BlockExplanation = ClaimHint & {
520
+ promptPath: string;
521
+ submitCommand: string;
522
+ };
523
+ export type CurrentWorkOwner = {
524
+ projectRoot: string;
525
+ canvasId: string | null;
526
+ taskIds: string[];
527
+ };
528
+ export type CurrentBlockWorkItem = {
529
+ kind: "block";
530
+ ref: string;
531
+ taskId: string;
532
+ blockId: string;
533
+ blockType: BlockType;
534
+ promptPath: string;
535
+ reportPath: string;
536
+ submitCommand: string;
537
+ };
538
+ export type CurrentFeedbackWorkItem = {
539
+ kind: "feedback";
540
+ ref: string;
541
+ feedbackId: string;
542
+ sourceReviewBlockRef: string;
543
+ taskId: string;
544
+ promptPath: string;
545
+ reportPath: string;
546
+ submitCommand: string;
547
+ };
548
+ export type CurrentWorkItem = CurrentBlockWorkItem | CurrentFeedbackWorkItem;
549
+ export type CurrentWork = {
550
+ currentRefs: string[];
551
+ currentFeedbackId: string | null;
552
+ currentReviewBlockRef: string | null;
553
+ owner: CurrentWorkOwner;
554
+ items: CurrentWorkItem[];
555
+ blockingReason: string | null;
556
+ };
557
+ export type DoctorIssue = {
558
+ code: "stale_current_ref" | "orphan_result" | "index_state_mismatch";
559
+ message: string;
560
+ repaired?: boolean;
561
+ ref?: string;
562
+ taskId?: string;
563
+ path?: string;
564
+ stateRunId?: string | null;
565
+ indexRunId?: string | null;
566
+ };
567
+ export type DoctorReport = {
568
+ ok: boolean;
569
+ issues: DoctorIssue[];
570
+ };
571
+ export type PlanStatus = {
572
+ projectId: string;
573
+ projectRoot: string;
574
+ taskTotal: number;
575
+ blockTotal: number;
576
+ tasks: TaskStatusSummary[];
577
+ blocks: BlockStatusSummary[];
578
+ currentRefs: string[];
579
+ currentFeedbackId: string | null;
580
+ currentReviewBlockRef: string | null;
581
+ openFeedback: Array<{
582
+ feedbackId: string;
583
+ sourceReviewBlockRef: string;
584
+ status: FeedbackStatus;
585
+ }>;
586
+ nextClaimable: string[];
587
+ nextParallelClaimable: string[];
588
+ nextSequentialClaimable: string[];
589
+ nextParallelDispatchable: string[];
590
+ claimHints: ClaimHint[];
591
+ warnings: ValidationIssue[];
592
+ counts: {
593
+ tasks: Record<TaskStatus, number>;
594
+ blocks: Record<BlockStatus, number>;
595
+ feedback: Record<FeedbackStatus, number>;
596
+ };
597
+ orphanState: OrphanStateSummary[];
598
+ orphanResults: OrphanResultSummary[];
599
+ };
600
+ export type OrphanStateSummary = {
601
+ taskId?: string;
602
+ ref?: string;
603
+ status: string;
604
+ lastRunId?: string | null;
605
+ };
606
+ export type OrphanResultSummary = {
607
+ taskId: string;
608
+ path: string;
609
+ };
610
+ export type GraphEditResult = {
611
+ ok: boolean;
612
+ affectedTasks: string[];
613
+ diagnostics: ValidationIssue[];
614
+ graph?: CompiledExecutionGraph;
615
+ };
616
+ export type TaskResultIndex = {
617
+ latestRunByBlock?: Record<string, string>;
618
+ latestReviewAttemptByBlock?: Record<string, string>;
619
+ latestReviewVerdictByBlock?: Record<string, ReviewVerdict>;
620
+ latestReviewedWorkRevisionByBlock?: Record<string, string>;
621
+ latestFeedbackByReviewBlock?: Record<string, string>;
622
+ latestFeedbackSubmissionByFeedback?: Record<string, string>;
623
+ feedbackStatusById?: Record<string, FeedbackStatus>;
624
+ reviewCompletionReasonByBlock?: Record<string, "passed" | "max_cycles_reached">;
625
+ counts?: {
626
+ runs?: number;
627
+ reviewAttempts?: number;
628
+ feedbackEnvelopes?: number;
629
+ feedbackSubmissions?: number;
630
+ };
631
+ warnings?: ValidationIssue[];
632
+ };
633
+ export declare const runSubmitStatuses: readonly ["completed"];
634
+ export declare const reviewStatuses: readonly ["passed", "needs_changes"];
635
+ export type RunSubmitStatus = "completed";
636
+ export type ReviewStatus = ReviewVerdict;
637
+ export type MarkBlockedResult = BlockRecoveryResult;
638
+ export type MarkDivergedResult = BlockRecoveryResult;
639
+ export type ResolveDivergenceResult = BlockRecoveryResult;
640
+ export type UnblockResult = BlockRecoveryResult;
641
+ export type RetryReviewResult = BlockRecoveryResult & {
642
+ maxFeedbackCycles: number;
643
+ reset: boolean;
644
+ };
645
+ export type EditTaskInput = {
646
+ projectRoot: PackageWorkspaceRef;
647
+ taskId: string;
648
+ title?: string;
649
+ promptMarkdown?: string;
650
+ executor?: string | null;
651
+ };
652
+ export type EditTaskResult = GraphEditResult & {
653
+ taskId: string;
654
+ updatedFields: string[];
655
+ };
656
+ export type EditBlockInput = {
657
+ projectRoot: PackageWorkspaceRef;
658
+ ref: string;
659
+ title?: string;
660
+ promptMarkdown?: string;
661
+ executor?: string | null;
662
+ parallelSafe?: boolean;
663
+ parallelLocks?: string[];
664
+ reviewRequired?: boolean;
665
+ maxFeedbackCycles?: number;
666
+ reviewHook?: ReviewHookDefinition | null;
667
+ };
668
+ export type EditBlockResult = GraphEditResult & {
669
+ ref: string;
670
+ taskId: string;
671
+ blockId: string;
672
+ blockType: BlockType;
673
+ updatedFields: string[];
674
+ };
675
+ //# sourceMappingURL=types.d.ts.map