@rryando/arcs 3.0.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/README.md +448 -0
  2. package/dist/cli/arcs-orchestrate-caveman.d.ts +16 -0
  3. package/dist/cli/arcs-orchestrate-caveman.d.ts.map +1 -0
  4. package/dist/cli/arcs-orchestrate-caveman.js +109 -0
  5. package/dist/cli/arcs-orchestrate-caveman.js.map +1 -0
  6. package/dist/cli/arcs-orchestrate.d.ts +2 -0
  7. package/dist/cli/arcs-orchestrate.d.ts.map +1 -0
  8. package/dist/cli/arcs-orchestrate.js +431 -0
  9. package/dist/cli/arcs-orchestrate.js.map +1 -0
  10. package/dist/cli/arg-parser.d.ts +20 -0
  11. package/dist/cli/arg-parser.d.ts.map +1 -0
  12. package/dist/cli/arg-parser.js +216 -0
  13. package/dist/cli/arg-parser.js.map +1 -0
  14. package/dist/cli/brief-renderer.d.ts +32 -0
  15. package/dist/cli/brief-renderer.d.ts.map +1 -0
  16. package/dist/cli/brief-renderer.js +67 -0
  17. package/dist/cli/brief-renderer.js.map +1 -0
  18. package/dist/cli/bundle-installer.d.ts +77 -0
  19. package/dist/cli/bundle-installer.d.ts.map +1 -0
  20. package/dist/cli/bundle-installer.js +328 -0
  21. package/dist/cli/bundle-installer.js.map +1 -0
  22. package/dist/cli/command-registry.d.ts +52 -0
  23. package/dist/cli/command-registry.d.ts.map +1 -0
  24. package/dist/cli/command-registry.js +68 -0
  25. package/dist/cli/command-registry.js.map +1 -0
  26. package/dist/cli/commands/batch.d.ts +2 -0
  27. package/dist/cli/commands/batch.d.ts.map +1 -0
  28. package/dist/cli/commands/batch.js +307 -0
  29. package/dist/cli/commands/batch.js.map +1 -0
  30. package/dist/cli/commands/brief.d.ts +2 -0
  31. package/dist/cli/commands/brief.d.ts.map +1 -0
  32. package/dist/cli/commands/brief.js +146 -0
  33. package/dist/cli/commands/brief.js.map +1 -0
  34. package/dist/cli/commands/bundle.d.ts +2 -0
  35. package/dist/cli/commands/bundle.d.ts.map +1 -0
  36. package/dist/cli/commands/bundle.js +90 -0
  37. package/dist/cli/commands/bundle.js.map +1 -0
  38. package/dist/cli/commands/dependency.d.ts +2 -0
  39. package/dist/cli/commands/dependency.d.ts.map +1 -0
  40. package/dist/cli/commands/dependency.js +260 -0
  41. package/dist/cli/commands/dependency.js.map +1 -0
  42. package/dist/cli/commands/diagnostics.d.ts +2 -0
  43. package/dist/cli/commands/diagnostics.d.ts.map +1 -0
  44. package/dist/cli/commands/diagnostics.js +91 -0
  45. package/dist/cli/commands/diagnostics.js.map +1 -0
  46. package/dist/cli/commands/diagram.d.ts +2 -0
  47. package/dist/cli/commands/diagram.d.ts.map +1 -0
  48. package/dist/cli/commands/diagram.js +305 -0
  49. package/dist/cli/commands/diagram.js.map +1 -0
  50. package/dist/cli/commands/done.d.ts +2 -0
  51. package/dist/cli/commands/done.d.ts.map +1 -0
  52. package/dist/cli/commands/done.js +140 -0
  53. package/dist/cli/commands/done.js.map +1 -0
  54. package/dist/cli/commands/graph.d.ts +2 -0
  55. package/dist/cli/commands/graph.d.ts.map +1 -0
  56. package/dist/cli/commands/graph.js +105 -0
  57. package/dist/cli/commands/graph.js.map +1 -0
  58. package/dist/cli/commands/index.d.ts +21 -0
  59. package/dist/cli/commands/index.d.ts.map +1 -0
  60. package/dist/cli/commands/index.js +22 -0
  61. package/dist/cli/commands/index.js.map +1 -0
  62. package/dist/cli/commands/knowledge-search.d.ts +2 -0
  63. package/dist/cli/commands/knowledge-search.d.ts.map +1 -0
  64. package/dist/cli/commands/knowledge-search.js +43 -0
  65. package/dist/cli/commands/knowledge-search.js.map +1 -0
  66. package/dist/cli/commands/knowledge.d.ts +2 -0
  67. package/dist/cli/commands/knowledge.d.ts.map +1 -0
  68. package/dist/cli/commands/knowledge.js +416 -0
  69. package/dist/cli/commands/knowledge.js.map +1 -0
  70. package/dist/cli/commands/loop.d.ts +2 -0
  71. package/dist/cli/commands/loop.d.ts.map +1 -0
  72. package/dist/cli/commands/loop.js +192 -0
  73. package/dist/cli/commands/loop.js.map +1 -0
  74. package/dist/cli/commands/maintenance.d.ts +2 -0
  75. package/dist/cli/commands/maintenance.d.ts.map +1 -0
  76. package/dist/cli/commands/maintenance.js +231 -0
  77. package/dist/cli/commands/maintenance.js.map +1 -0
  78. package/dist/cli/commands/next.d.ts +2 -0
  79. package/dist/cli/commands/next.d.ts.map +1 -0
  80. package/dist/cli/commands/next.js +116 -0
  81. package/dist/cli/commands/next.js.map +1 -0
  82. package/dist/cli/commands/plan.d.ts +2 -0
  83. package/dist/cli/commands/plan.d.ts.map +1 -0
  84. package/dist/cli/commands/plan.js +340 -0
  85. package/dist/cli/commands/plan.js.map +1 -0
  86. package/dist/cli/commands/project-updates.d.ts +2 -0
  87. package/dist/cli/commands/project-updates.d.ts.map +1 -0
  88. package/dist/cli/commands/project-updates.js +243 -0
  89. package/dist/cli/commands/project-updates.js.map +1 -0
  90. package/dist/cli/commands/project.d.ts +2 -0
  91. package/dist/cli/commands/project.d.ts.map +1 -0
  92. package/dist/cli/commands/project.js +362 -0
  93. package/dist/cli/commands/project.js.map +1 -0
  94. package/dist/cli/commands/remember.d.ts +2 -0
  95. package/dist/cli/commands/remember.d.ts.map +1 -0
  96. package/dist/cli/commands/remember.js +70 -0
  97. package/dist/cli/commands/remember.js.map +1 -0
  98. package/dist/cli/commands/status.d.ts +2 -0
  99. package/dist/cli/commands/status.d.ts.map +1 -0
  100. package/dist/cli/commands/status.js +104 -0
  101. package/dist/cli/commands/status.js.map +1 -0
  102. package/dist/cli/commands/task.d.ts +6 -0
  103. package/dist/cli/commands/task.d.ts.map +1 -0
  104. package/dist/cli/commands/task.js +361 -0
  105. package/dist/cli/commands/task.js.map +1 -0
  106. package/dist/cli/commands/utility.d.ts +9 -0
  107. package/dist/cli/commands/utility.d.ts.map +1 -0
  108. package/dist/cli/commands/utility.js +302 -0
  109. package/dist/cli/commands/utility.js.map +1 -0
  110. package/dist/cli/config.d.ts +42 -0
  111. package/dist/cli/config.d.ts.map +1 -0
  112. package/dist/cli/config.js +134 -0
  113. package/dist/cli/config.js.map +1 -0
  114. package/dist/cli/dag-commands.d.ts +7 -0
  115. package/dist/cli/dag-commands.d.ts.map +1 -0
  116. package/dist/cli/dag-commands.js +152 -0
  117. package/dist/cli/dag-commands.js.map +1 -0
  118. package/dist/cli/diagram-renderer.d.ts +26 -0
  119. package/dist/cli/diagram-renderer.d.ts.map +1 -0
  120. package/dist/cli/diagram-renderer.js +118 -0
  121. package/dist/cli/diagram-renderer.js.map +1 -0
  122. package/dist/cli/help-generator.d.ts +21 -0
  123. package/dist/cli/help-generator.d.ts.map +1 -0
  124. package/dist/cli/help-generator.js +100 -0
  125. package/dist/cli/help-generator.js.map +1 -0
  126. package/dist/cli/index.d.ts +8 -0
  127. package/dist/cli/index.d.ts.map +1 -0
  128. package/dist/cli/index.js +95 -0
  129. package/dist/cli/index.js.map +1 -0
  130. package/dist/cli/instructions.d.ts +53 -0
  131. package/dist/cli/instructions.d.ts.map +1 -0
  132. package/dist/cli/instructions.js +219 -0
  133. package/dist/cli/instructions.js.map +1 -0
  134. package/dist/cli/lean-output.d.ts +15 -0
  135. package/dist/cli/lean-output.d.ts.map +1 -0
  136. package/dist/cli/lean-output.js +66 -0
  137. package/dist/cli/lean-output.js.map +1 -0
  138. package/dist/cli/md-renderer.d.ts +6 -0
  139. package/dist/cli/md-renderer.d.ts.map +1 -0
  140. package/dist/cli/md-renderer.js +396 -0
  141. package/dist/cli/md-renderer.js.map +1 -0
  142. package/dist/cli/output-envelope.d.ts +15 -0
  143. package/dist/cli/output-envelope.d.ts.map +1 -0
  144. package/dist/cli/output-envelope.js +61 -0
  145. package/dist/cli/output-envelope.js.map +1 -0
  146. package/dist/cli/setup.d.ts +11 -0
  147. package/dist/cli/setup.d.ts.map +1 -0
  148. package/dist/cli/setup.js +415 -0
  149. package/dist/cli/setup.js.map +1 -0
  150. package/dist/cli/status-dashboard.d.ts +5 -0
  151. package/dist/cli/status-dashboard.d.ts.map +1 -0
  152. package/dist/cli/status-dashboard.js +248 -0
  153. package/dist/cli/status-dashboard.js.map +1 -0
  154. package/dist/index.d.ts +3 -0
  155. package/dist/index.d.ts.map +1 -0
  156. package/dist/index.js +25 -0
  157. package/dist/index.js.map +1 -0
  158. package/dist/retrieval/bm25.d.ts +23 -0
  159. package/dist/retrieval/bm25.d.ts.map +1 -0
  160. package/dist/retrieval/bm25.js +92 -0
  161. package/dist/retrieval/bm25.js.map +1 -0
  162. package/dist/retrieval/cross-project-search.d.ts +30 -0
  163. package/dist/retrieval/cross-project-search.d.ts.map +1 -0
  164. package/dist/retrieval/cross-project-search.js +109 -0
  165. package/dist/retrieval/cross-project-search.js.map +1 -0
  166. package/dist/retrieval/graph-builder.d.ts +6 -0
  167. package/dist/retrieval/graph-builder.d.ts.map +1 -0
  168. package/dist/retrieval/graph-builder.js +196 -0
  169. package/dist/retrieval/graph-builder.js.map +1 -0
  170. package/dist/retrieval/graph-cache.d.ts +15 -0
  171. package/dist/retrieval/graph-cache.d.ts.map +1 -0
  172. package/dist/retrieval/graph-cache.js +66 -0
  173. package/dist/retrieval/graph-cache.js.map +1 -0
  174. package/dist/retrieval/graph-invalidate.d.ts +18 -0
  175. package/dist/retrieval/graph-invalidate.d.ts.map +1 -0
  176. package/dist/retrieval/graph-invalidate.js +23 -0
  177. package/dist/retrieval/graph-invalidate.js.map +1 -0
  178. package/dist/retrieval/graph-retrieval.d.ts +24 -0
  179. package/dist/retrieval/graph-retrieval.d.ts.map +1 -0
  180. package/dist/retrieval/graph-retrieval.js +165 -0
  181. package/dist/retrieval/graph-retrieval.js.map +1 -0
  182. package/dist/retrieval/graph-traverse.d.ts +3 -0
  183. package/dist/retrieval/graph-traverse.d.ts.map +1 -0
  184. package/dist/retrieval/graph-traverse.js +53 -0
  185. package/dist/retrieval/graph-traverse.js.map +1 -0
  186. package/dist/retrieval/graph-types.d.ts +37 -0
  187. package/dist/retrieval/graph-types.d.ts.map +1 -0
  188. package/dist/retrieval/graph-types.js +12 -0
  189. package/dist/retrieval/graph-types.js.map +1 -0
  190. package/dist/retrieval/index-builder.d.ts +21 -0
  191. package/dist/retrieval/index-builder.d.ts.map +1 -0
  192. package/dist/retrieval/index-builder.js +94 -0
  193. package/dist/retrieval/index-builder.js.map +1 -0
  194. package/dist/retrieval/knowledge-selection.d.ts +7 -0
  195. package/dist/retrieval/knowledge-selection.d.ts.map +1 -0
  196. package/dist/retrieval/knowledge-selection.js +80 -0
  197. package/dist/retrieval/knowledge-selection.js.map +1 -0
  198. package/dist/retrieval/task-scoped.d.ts +23 -0
  199. package/dist/retrieval/task-scoped.d.ts.map +1 -0
  200. package/dist/retrieval/task-scoped.js +51 -0
  201. package/dist/retrieval/task-scoped.js.map +1 -0
  202. package/dist/utils/content-assembly.d.ts +44 -0
  203. package/dist/utils/content-assembly.d.ts.map +1 -0
  204. package/dist/utils/content-assembly.js +101 -0
  205. package/dist/utils/content-assembly.js.map +1 -0
  206. package/dist/utils/dag.d.ts +28 -0
  207. package/dist/utils/dag.d.ts.map +1 -0
  208. package/dist/utils/dag.js +68 -0
  209. package/dist/utils/dag.js.map +1 -0
  210. package/dist/utils/diagram-generator.d.ts +17 -0
  211. package/dist/utils/diagram-generator.d.ts.map +1 -0
  212. package/dist/utils/diagram-generator.js +38 -0
  213. package/dist/utils/diagram-generator.js.map +1 -0
  214. package/dist/utils/errors.d.ts +40 -0
  215. package/dist/utils/errors.d.ts.map +1 -0
  216. package/dist/utils/errors.js +83 -0
  217. package/dist/utils/errors.js.map +1 -0
  218. package/dist/utils/file-lock.d.ts +13 -0
  219. package/dist/utils/file-lock.d.ts.map +1 -0
  220. package/dist/utils/file-lock.js +80 -0
  221. package/dist/utils/file-lock.js.map +1 -0
  222. package/dist/utils/git.d.ts +14 -0
  223. package/dist/utils/git.d.ts.map +1 -0
  224. package/dist/utils/git.js +56 -0
  225. package/dist/utils/git.js.map +1 -0
  226. package/dist/utils/graphify-knowledge.d.ts +6 -0
  227. package/dist/utils/graphify-knowledge.d.ts.map +1 -0
  228. package/dist/utils/graphify-knowledge.js +60 -0
  229. package/dist/utils/graphify-knowledge.js.map +1 -0
  230. package/dist/utils/graphify.d.ts +49 -0
  231. package/dist/utils/graphify.d.ts.map +1 -0
  232. package/dist/utils/graphify.js +306 -0
  233. package/dist/utils/graphify.js.map +1 -0
  234. package/dist/utils/json-schemas.d.ts +723 -0
  235. package/dist/utils/json-schemas.d.ts.map +1 -0
  236. package/dist/utils/json-schemas.js +147 -0
  237. package/dist/utils/json-schemas.js.map +1 -0
  238. package/dist/utils/json.d.ts +15 -0
  239. package/dist/utils/json.d.ts.map +1 -0
  240. package/dist/utils/json.js +39 -0
  241. package/dist/utils/json.js.map +1 -0
  242. package/dist/utils/knowledge-store.d.ts +49 -0
  243. package/dist/utils/knowledge-store.d.ts.map +1 -0
  244. package/dist/utils/knowledge-store.js +191 -0
  245. package/dist/utils/knowledge-store.js.map +1 -0
  246. package/dist/utils/loop-state.d.ts +51 -0
  247. package/dist/utils/loop-state.d.ts.map +1 -0
  248. package/dist/utils/loop-state.js +123 -0
  249. package/dist/utils/loop-state.js.map +1 -0
  250. package/dist/utils/paths.d.ts +16 -0
  251. package/dist/utils/paths.d.ts.map +1 -0
  252. package/dist/utils/paths.js +66 -0
  253. package/dist/utils/paths.js.map +1 -0
  254. package/dist/utils/plan-store.d.ts +46 -0
  255. package/dist/utils/plan-store.d.ts.map +1 -0
  256. package/dist/utils/plan-store.js +184 -0
  257. package/dist/utils/plan-store.js.map +1 -0
  258. package/dist/utils/project-documents.d.ts +20 -0
  259. package/dist/utils/project-documents.d.ts.map +1 -0
  260. package/dist/utils/project-documents.js +10 -0
  261. package/dist/utils/project-documents.js.map +1 -0
  262. package/dist/utils/project-memory.d.ts +16 -0
  263. package/dist/utils/project-memory.d.ts.map +1 -0
  264. package/dist/utils/project-memory.js +16 -0
  265. package/dist/utils/project-memory.js.map +1 -0
  266. package/dist/utils/project-resolver.d.ts +28 -0
  267. package/dist/utils/project-resolver.d.ts.map +1 -0
  268. package/dist/utils/project-resolver.js +119 -0
  269. package/dist/utils/project-resolver.js.map +1 -0
  270. package/dist/utils/quick-scan.d.ts +13 -0
  271. package/dist/utils/quick-scan.d.ts.map +1 -0
  272. package/dist/utils/quick-scan.js +156 -0
  273. package/dist/utils/quick-scan.js.map +1 -0
  274. package/dist/utils/schemas.d.ts +13 -0
  275. package/dist/utils/schemas.d.ts.map +1 -0
  276. package/dist/utils/schemas.js +6 -0
  277. package/dist/utils/schemas.js.map +1 -0
  278. package/dist/utils/slug.d.ts +10 -0
  279. package/dist/utils/slug.d.ts.map +1 -0
  280. package/dist/utils/slug.js +18 -0
  281. package/dist/utils/slug.js.map +1 -0
  282. package/dist/utils/stdin.d.ts +6 -0
  283. package/dist/utils/stdin.d.ts.map +1 -0
  284. package/dist/utils/stdin.js +25 -0
  285. package/dist/utils/stdin.js.map +1 -0
  286. package/dist/utils/storage-utils.d.ts +48 -0
  287. package/dist/utils/storage-utils.d.ts.map +1 -0
  288. package/dist/utils/storage-utils.js +175 -0
  289. package/dist/utils/storage-utils.js.map +1 -0
  290. package/dist/utils/task-store.d.ts +49 -0
  291. package/dist/utils/task-store.d.ts.map +1 -0
  292. package/dist/utils/task-store.js +178 -0
  293. package/dist/utils/task-store.js.map +1 -0
  294. package/dist/utils/template.d.ts +15 -0
  295. package/dist/utils/template.d.ts.map +1 -0
  296. package/dist/utils/template.js +27 -0
  297. package/dist/utils/template.js.map +1 -0
  298. package/dist/utils/tool-response.d.ts +37 -0
  299. package/dist/utils/tool-response.d.ts.map +1 -0
  300. package/dist/utils/tool-response.js +44 -0
  301. package/dist/utils/tool-response.js.map +1 -0
  302. package/dist/utils/workflow-policy.d.ts +50 -0
  303. package/dist/utils/workflow-policy.d.ts.map +1 -0
  304. package/dist/utils/workflow-policy.js +111 -0
  305. package/dist/utils/workflow-policy.js.map +1 -0
  306. package/dist/utils/workspace-match.d.ts +35 -0
  307. package/dist/utils/workspace-match.d.ts.map +1 -0
  308. package/dist/utils/workspace-match.js +58 -0
  309. package/dist/utils/workspace-match.js.map +1 -0
  310. package/opencode/arcs/.opencode/plugins/arcs.js +348 -0
  311. package/opencode/arcs/bundle-runtime.json +68 -0
  312. package/opencode/arcs/manifest.json +279 -0
  313. package/opencode/arcs/prompts/arcs-docs.txt +124 -0
  314. package/opencode/arcs/prompts/arcs-orchestrate-caveman.txt +529 -0
  315. package/opencode/arcs/prompts/arcs-orchestrate.txt +437 -0
  316. package/opencode/arcs/prompts/code-reviewer.txt +55 -0
  317. package/opencode/arcs/prompts/devil-advocate.txt +121 -0
  318. package/opencode/arcs/prompts/docs-researcher.txt +54 -0
  319. package/opencode/arcs/prompts/oncall-ops.txt +54 -0
  320. package/opencode/arcs/prompts/qa-analyst.txt +54 -0
  321. package/opencode/arcs/prompts/software-engineer.txt +48 -0
  322. package/opencode/arcs/prompts/system-architect.txt +60 -0
  323. package/opencode/arcs/prompts/tech-architect.txt +54 -0
  324. package/opencode/arcs/skills/brainstorming/SKILL.md +144 -0
  325. package/opencode/arcs/skills/brainstorming/scripts/frame-template.html +214 -0
  326. package/opencode/arcs/skills/brainstorming/scripts/helper.js +88 -0
  327. package/opencode/arcs/skills/brainstorming/scripts/server.js +338 -0
  328. package/opencode/arcs/skills/brainstorming/scripts/start-server.sh +137 -0
  329. package/opencode/arcs/skills/brainstorming/scripts/stop-server.sh +31 -0
  330. package/opencode/arcs/skills/brainstorming/spec-document-reviewer-prompt.md +50 -0
  331. package/opencode/arcs/skills/brainstorming/visual-companion.md +277 -0
  332. package/opencode/arcs/skills/caveman-commit/SKILL.md +51 -0
  333. package/opencode/arcs/skills/code-agent/SKILL.md +58 -0
  334. package/opencode/arcs/skills/deep-pr-review/SKILL.md +191 -0
  335. package/opencode/arcs/skills/deep-pr-review/graphify-diff.md +102 -0
  336. package/opencode/arcs/skills/deep-pr-review/review-template.md +69 -0
  337. package/opencode/arcs/skills/executing-plans/SKILL.md +91 -0
  338. package/opencode/arcs/skills/init-project/SKILL.md +150 -0
  339. package/opencode/arcs/skills/quick-dev/SKILL.md +47 -0
  340. package/opencode/arcs/skills/requesting-code-review/SKILL.md +47 -0
  341. package/opencode/arcs/skills/requesting-code-review/code-reviewer.md +179 -0
  342. package/opencode/arcs/skills/subagent-driven-development/SKILL.md +162 -0
  343. package/opencode/arcs/skills/subagent-driven-development/code-quality-reviewer-prompt.md +53 -0
  344. package/opencode/arcs/skills/subagent-driven-development/implementer-prompt.md +148 -0
  345. package/opencode/arcs/skills/subagent-driven-development/spec-reviewer-prompt.md +85 -0
  346. package/opencode/arcs/skills/systematic-debugging/SKILL.md +174 -0
  347. package/opencode/arcs/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
  348. package/opencode/arcs/skills/systematic-debugging/condition-based-waiting.md +115 -0
  349. package/opencode/arcs/skills/systematic-debugging/defense-in-depth.md +122 -0
  350. package/opencode/arcs/skills/systematic-debugging/find-polluter.sh +63 -0
  351. package/opencode/arcs/skills/systematic-debugging/phases-reference.md +168 -0
  352. package/opencode/arcs/skills/systematic-debugging/root-cause-tracing.md +169 -0
  353. package/opencode/arcs/skills/test-driven-development/SKILL.md +72 -0
  354. package/opencode/arcs/skills/test-driven-development/tdd-rationalizations-and-examples.md +157 -0
  355. package/opencode/arcs/skills/test-driven-development/testing-anti-patterns.md +299 -0
  356. package/opencode/arcs/skills/to-diagram/SKILL.md +235 -0
  357. package/opencode/arcs/skills/to-diagram/scripts/manage-diagram.mjs +963 -0
  358. package/opencode/arcs/skills/writing-plans/SKILL.md +179 -0
  359. package/opencode/arcs/skills/writing-plans/plan-document-reviewer-prompt.md +52 -0
  360. package/package.json +60 -0
  361. package/scripts/arcs-cli.mjs +45 -0
  362. package/skills/explore-dag.md +57 -0
  363. package/skills/init-project.md +105 -0
  364. package/skills/orchestrate.md +94 -0
  365. package/skills/update-docs.md +72 -0
  366. package/templates/dependency.md.tmpl +9 -0
  367. package/templates/knowledge.md.tmpl +15 -0
  368. package/templates/project-meta.json.tmpl +13 -0
  369. package/templates/project.md.tmpl +11 -0
  370. package/templates/task.md.tmpl +9 -0
@@ -0,0 +1,723 @@
1
+ /**
2
+ * Zod schemas for JSON file shapes used at file-read boundaries.
3
+ * Kept separate from schemas.ts (which holds tool-input schemas).
4
+ */
5
+ import { z } from "zod";
6
+ export declare const packageJsonSchema: z.ZodObject<{
7
+ name: z.ZodOptional<z.ZodString>;
8
+ version: z.ZodString;
9
+ }, "strip", z.ZodTypeAny, {
10
+ version: string;
11
+ name?: string | undefined;
12
+ }, {
13
+ version: string;
14
+ name?: string | undefined;
15
+ }>;
16
+ export type PackageJson = z.infer<typeof packageJsonSchema>;
17
+ export declare const cliConfigSchema: z.ZodObject<{
18
+ version: z.ZodLiteral<"1">;
19
+ ides: z.ZodArray<z.ZodString, "many">;
20
+ }, "strip", z.ZodTypeAny, {
21
+ version: "1";
22
+ ides: string[];
23
+ }, {
24
+ version: "1";
25
+ ides: string[];
26
+ }>;
27
+ export type CliConfig = z.infer<typeof cliConfigSchema>;
28
+ export declare const dagNodeSchema: z.ZodObject<{
29
+ id: z.ZodString;
30
+ name: z.ZodString;
31
+ status: z.ZodString;
32
+ dependsOn: z.ZodArray<z.ZodString, "many">;
33
+ }, "strip", z.ZodTypeAny, {
34
+ name: string;
35
+ status: string;
36
+ id: string;
37
+ dependsOn: string[];
38
+ }, {
39
+ name: string;
40
+ status: string;
41
+ id: string;
42
+ dependsOn: string[];
43
+ }>;
44
+ export declare const rootMetaSchema: z.ZodObject<{
45
+ version: z.ZodString;
46
+ projects: z.ZodArray<z.ZodObject<{
47
+ id: z.ZodString;
48
+ name: z.ZodString;
49
+ status: z.ZodString;
50
+ dependsOn: z.ZodArray<z.ZodString, "many">;
51
+ }, "strip", z.ZodTypeAny, {
52
+ name: string;
53
+ status: string;
54
+ id: string;
55
+ dependsOn: string[];
56
+ }, {
57
+ name: string;
58
+ status: string;
59
+ id: string;
60
+ dependsOn: string[];
61
+ }>, "many">;
62
+ }, "strip", z.ZodTypeAny, {
63
+ version: string;
64
+ projects: {
65
+ name: string;
66
+ status: string;
67
+ id: string;
68
+ dependsOn: string[];
69
+ }[];
70
+ }, {
71
+ version: string;
72
+ projects: {
73
+ name: string;
74
+ status: string;
75
+ id: string;
76
+ dependsOn: string[];
77
+ }[];
78
+ }>;
79
+ export type RootMetaJson = z.infer<typeof rootMetaSchema>;
80
+ export declare const syncStatsSchema: z.ZodObject<{
81
+ docsUpdated: z.ZodNumber;
82
+ knowledgeEntriesCreated: z.ZodNumber;
83
+ knowledgeEntriesUpdated: z.ZodNumber;
84
+ tasksTransitioned: z.ZodNumber;
85
+ plansUpdated: z.ZodNumber;
86
+ diagramsDrifted: z.ZodNumber;
87
+ }, "strip", z.ZodTypeAny, {
88
+ docsUpdated: number;
89
+ knowledgeEntriesCreated: number;
90
+ knowledgeEntriesUpdated: number;
91
+ tasksTransitioned: number;
92
+ plansUpdated: number;
93
+ diagramsDrifted: number;
94
+ }, {
95
+ docsUpdated: number;
96
+ knowledgeEntriesCreated: number;
97
+ knowledgeEntriesUpdated: number;
98
+ tasksTransitioned: number;
99
+ plansUpdated: number;
100
+ diagramsDrifted: number;
101
+ }>;
102
+ export type SyncStats = z.infer<typeof syncStatsSchema>;
103
+ export declare const projectMetaSchema: z.ZodObject<{
104
+ id: z.ZodString;
105
+ name: z.ZodString;
106
+ description: z.ZodString;
107
+ status: z.ZodOptional<z.ZodString>;
108
+ repoUrl: z.ZodOptional<z.ZodString>;
109
+ createdAt: z.ZodString;
110
+ workspacePaths: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
111
+ lastSyncedAt: z.ZodOptional<z.ZodString>;
112
+ lastSyncGitCommit: z.ZodOptional<z.ZodString>;
113
+ lastSyncStats: z.ZodOptional<z.ZodObject<{
114
+ docsUpdated: z.ZodNumber;
115
+ knowledgeEntriesCreated: z.ZodNumber;
116
+ knowledgeEntriesUpdated: z.ZodNumber;
117
+ tasksTransitioned: z.ZodNumber;
118
+ plansUpdated: z.ZodNumber;
119
+ diagramsDrifted: z.ZodNumber;
120
+ }, "strip", z.ZodTypeAny, {
121
+ docsUpdated: number;
122
+ knowledgeEntriesCreated: number;
123
+ knowledgeEntriesUpdated: number;
124
+ tasksTransitioned: number;
125
+ plansUpdated: number;
126
+ diagramsDrifted: number;
127
+ }, {
128
+ docsUpdated: number;
129
+ knowledgeEntriesCreated: number;
130
+ knowledgeEntriesUpdated: number;
131
+ tasksTransitioned: number;
132
+ plansUpdated: number;
133
+ diagramsDrifted: number;
134
+ }>>;
135
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
136
+ id: z.ZodString;
137
+ name: z.ZodString;
138
+ description: z.ZodString;
139
+ status: z.ZodOptional<z.ZodString>;
140
+ repoUrl: z.ZodOptional<z.ZodString>;
141
+ createdAt: z.ZodString;
142
+ workspacePaths: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
143
+ lastSyncedAt: z.ZodOptional<z.ZodString>;
144
+ lastSyncGitCommit: z.ZodOptional<z.ZodString>;
145
+ lastSyncStats: z.ZodOptional<z.ZodObject<{
146
+ docsUpdated: z.ZodNumber;
147
+ knowledgeEntriesCreated: z.ZodNumber;
148
+ knowledgeEntriesUpdated: z.ZodNumber;
149
+ tasksTransitioned: z.ZodNumber;
150
+ plansUpdated: z.ZodNumber;
151
+ diagramsDrifted: z.ZodNumber;
152
+ }, "strip", z.ZodTypeAny, {
153
+ docsUpdated: number;
154
+ knowledgeEntriesCreated: number;
155
+ knowledgeEntriesUpdated: number;
156
+ tasksTransitioned: number;
157
+ plansUpdated: number;
158
+ diagramsDrifted: number;
159
+ }, {
160
+ docsUpdated: number;
161
+ knowledgeEntriesCreated: number;
162
+ knowledgeEntriesUpdated: number;
163
+ tasksTransitioned: number;
164
+ plansUpdated: number;
165
+ diagramsDrifted: number;
166
+ }>>;
167
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
168
+ id: z.ZodString;
169
+ name: z.ZodString;
170
+ description: z.ZodString;
171
+ status: z.ZodOptional<z.ZodString>;
172
+ repoUrl: z.ZodOptional<z.ZodString>;
173
+ createdAt: z.ZodString;
174
+ workspacePaths: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
175
+ lastSyncedAt: z.ZodOptional<z.ZodString>;
176
+ lastSyncGitCommit: z.ZodOptional<z.ZodString>;
177
+ lastSyncStats: z.ZodOptional<z.ZodObject<{
178
+ docsUpdated: z.ZodNumber;
179
+ knowledgeEntriesCreated: z.ZodNumber;
180
+ knowledgeEntriesUpdated: z.ZodNumber;
181
+ tasksTransitioned: z.ZodNumber;
182
+ plansUpdated: z.ZodNumber;
183
+ diagramsDrifted: z.ZodNumber;
184
+ }, "strip", z.ZodTypeAny, {
185
+ docsUpdated: number;
186
+ knowledgeEntriesCreated: number;
187
+ knowledgeEntriesUpdated: number;
188
+ tasksTransitioned: number;
189
+ plansUpdated: number;
190
+ diagramsDrifted: number;
191
+ }, {
192
+ docsUpdated: number;
193
+ knowledgeEntriesCreated: number;
194
+ knowledgeEntriesUpdated: number;
195
+ tasksTransitioned: number;
196
+ plansUpdated: number;
197
+ diagramsDrifted: number;
198
+ }>>;
199
+ }, z.ZodTypeAny, "passthrough">>;
200
+ export type ProjectMetaJson = z.infer<typeof projectMetaSchema>;
201
+ export declare const planMetaSchema: z.ZodObject<{
202
+ id: z.ZodString;
203
+ normalizedId: z.ZodString;
204
+ title: z.ZodString;
205
+ status: z.ZodString;
206
+ keywords: z.ZodArray<z.ZodString, "many">;
207
+ summary: z.ZodString;
208
+ sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
209
+ path: z.ZodString;
210
+ anchor: z.ZodOptional<z.ZodString>;
211
+ }, "strip", z.ZodTypeAny, {
212
+ path: string;
213
+ anchor?: string | undefined;
214
+ }, {
215
+ path: string;
216
+ anchor?: string | undefined;
217
+ }>, "many">>;
218
+ file: z.ZodString;
219
+ createdAt: z.ZodString;
220
+ updatedAt: z.ZodString;
221
+ }, "strip", z.ZodTypeAny, {
222
+ status: string;
223
+ id: string;
224
+ createdAt: string;
225
+ normalizedId: string;
226
+ title: string;
227
+ keywords: string[];
228
+ summary: string;
229
+ file: string;
230
+ updatedAt: string;
231
+ sourceFiles?: {
232
+ path: string;
233
+ anchor?: string | undefined;
234
+ }[] | undefined;
235
+ }, {
236
+ status: string;
237
+ id: string;
238
+ createdAt: string;
239
+ normalizedId: string;
240
+ title: string;
241
+ keywords: string[];
242
+ summary: string;
243
+ file: string;
244
+ updatedAt: string;
245
+ sourceFiles?: {
246
+ path: string;
247
+ anchor?: string | undefined;
248
+ }[] | undefined;
249
+ }>;
250
+ export declare const planIndexSchema: z.ZodObject<{
251
+ plans: z.ZodArray<z.ZodObject<{
252
+ id: z.ZodString;
253
+ normalizedId: z.ZodString;
254
+ title: z.ZodString;
255
+ status: z.ZodString;
256
+ keywords: z.ZodArray<z.ZodString, "many">;
257
+ summary: z.ZodString;
258
+ sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
259
+ path: z.ZodString;
260
+ anchor: z.ZodOptional<z.ZodString>;
261
+ }, "strip", z.ZodTypeAny, {
262
+ path: string;
263
+ anchor?: string | undefined;
264
+ }, {
265
+ path: string;
266
+ anchor?: string | undefined;
267
+ }>, "many">>;
268
+ file: z.ZodString;
269
+ createdAt: z.ZodString;
270
+ updatedAt: z.ZodString;
271
+ }, "strip", z.ZodTypeAny, {
272
+ status: string;
273
+ id: string;
274
+ createdAt: string;
275
+ normalizedId: string;
276
+ title: string;
277
+ keywords: string[];
278
+ summary: string;
279
+ file: string;
280
+ updatedAt: string;
281
+ sourceFiles?: {
282
+ path: string;
283
+ anchor?: string | undefined;
284
+ }[] | undefined;
285
+ }, {
286
+ status: string;
287
+ id: string;
288
+ createdAt: string;
289
+ normalizedId: string;
290
+ title: string;
291
+ keywords: string[];
292
+ summary: string;
293
+ file: string;
294
+ updatedAt: string;
295
+ sourceFiles?: {
296
+ path: string;
297
+ anchor?: string | undefined;
298
+ }[] | undefined;
299
+ }>, "many">;
300
+ }, "strip", z.ZodTypeAny, {
301
+ plans: {
302
+ status: string;
303
+ id: string;
304
+ createdAt: string;
305
+ normalizedId: string;
306
+ title: string;
307
+ keywords: string[];
308
+ summary: string;
309
+ file: string;
310
+ updatedAt: string;
311
+ sourceFiles?: {
312
+ path: string;
313
+ anchor?: string | undefined;
314
+ }[] | undefined;
315
+ }[];
316
+ }, {
317
+ plans: {
318
+ status: string;
319
+ id: string;
320
+ createdAt: string;
321
+ normalizedId: string;
322
+ title: string;
323
+ keywords: string[];
324
+ summary: string;
325
+ file: string;
326
+ updatedAt: string;
327
+ sourceFiles?: {
328
+ path: string;
329
+ anchor?: string | undefined;
330
+ }[] | undefined;
331
+ }[];
332
+ }>;
333
+ export declare const knowledgeMetaSchema: z.ZodObject<{
334
+ id: z.ZodString;
335
+ normalizedId: z.ZodString;
336
+ title: z.ZodString;
337
+ kind: z.ZodString;
338
+ audience: z.ZodOptional<z.ZodString>;
339
+ keywords: z.ZodArray<z.ZodString, "many">;
340
+ summary: z.ZodString;
341
+ sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
342
+ path: z.ZodString;
343
+ anchor: z.ZodOptional<z.ZodString>;
344
+ }, "strip", z.ZodTypeAny, {
345
+ path: string;
346
+ anchor?: string | undefined;
347
+ }, {
348
+ path: string;
349
+ anchor?: string | undefined;
350
+ }>, "many">>;
351
+ file: z.ZodString;
352
+ createdAt: z.ZodString;
353
+ updatedAt: z.ZodString;
354
+ }, "strip", z.ZodTypeAny, {
355
+ id: string;
356
+ createdAt: string;
357
+ normalizedId: string;
358
+ title: string;
359
+ keywords: string[];
360
+ summary: string;
361
+ file: string;
362
+ updatedAt: string;
363
+ kind: string;
364
+ sourceFiles?: {
365
+ path: string;
366
+ anchor?: string | undefined;
367
+ }[] | undefined;
368
+ audience?: string | undefined;
369
+ }, {
370
+ id: string;
371
+ createdAt: string;
372
+ normalizedId: string;
373
+ title: string;
374
+ keywords: string[];
375
+ summary: string;
376
+ file: string;
377
+ updatedAt: string;
378
+ kind: string;
379
+ sourceFiles?: {
380
+ path: string;
381
+ anchor?: string | undefined;
382
+ }[] | undefined;
383
+ audience?: string | undefined;
384
+ }>;
385
+ export declare const knowledgeIndexSchema: z.ZodObject<{
386
+ entries: z.ZodArray<z.ZodObject<{
387
+ id: z.ZodString;
388
+ normalizedId: z.ZodString;
389
+ title: z.ZodString;
390
+ kind: z.ZodString;
391
+ audience: z.ZodOptional<z.ZodString>;
392
+ keywords: z.ZodArray<z.ZodString, "many">;
393
+ summary: z.ZodString;
394
+ sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
395
+ path: z.ZodString;
396
+ anchor: z.ZodOptional<z.ZodString>;
397
+ }, "strip", z.ZodTypeAny, {
398
+ path: string;
399
+ anchor?: string | undefined;
400
+ }, {
401
+ path: string;
402
+ anchor?: string | undefined;
403
+ }>, "many">>;
404
+ file: z.ZodString;
405
+ createdAt: z.ZodString;
406
+ updatedAt: z.ZodString;
407
+ }, "strip", z.ZodTypeAny, {
408
+ id: string;
409
+ createdAt: string;
410
+ normalizedId: string;
411
+ title: string;
412
+ keywords: string[];
413
+ summary: string;
414
+ file: string;
415
+ updatedAt: string;
416
+ kind: string;
417
+ sourceFiles?: {
418
+ path: string;
419
+ anchor?: string | undefined;
420
+ }[] | undefined;
421
+ audience?: string | undefined;
422
+ }, {
423
+ id: string;
424
+ createdAt: string;
425
+ normalizedId: string;
426
+ title: string;
427
+ keywords: string[];
428
+ summary: string;
429
+ file: string;
430
+ updatedAt: string;
431
+ kind: string;
432
+ sourceFiles?: {
433
+ path: string;
434
+ anchor?: string | undefined;
435
+ }[] | undefined;
436
+ audience?: string | undefined;
437
+ }>, "many">;
438
+ }, "strip", z.ZodTypeAny, {
439
+ entries: {
440
+ id: string;
441
+ createdAt: string;
442
+ normalizedId: string;
443
+ title: string;
444
+ keywords: string[];
445
+ summary: string;
446
+ file: string;
447
+ updatedAt: string;
448
+ kind: string;
449
+ sourceFiles?: {
450
+ path: string;
451
+ anchor?: string | undefined;
452
+ }[] | undefined;
453
+ audience?: string | undefined;
454
+ }[];
455
+ }, {
456
+ entries: {
457
+ id: string;
458
+ createdAt: string;
459
+ normalizedId: string;
460
+ title: string;
461
+ keywords: string[];
462
+ summary: string;
463
+ file: string;
464
+ updatedAt: string;
465
+ kind: string;
466
+ sourceFiles?: {
467
+ path: string;
468
+ anchor?: string | undefined;
469
+ }[] | undefined;
470
+ audience?: string | undefined;
471
+ }[];
472
+ }>;
473
+ export declare const taskMetaSchema: z.ZodObject<{
474
+ id: z.ZodString;
475
+ normalizedId: z.ZodString;
476
+ title: z.ZodString;
477
+ status: z.ZodString;
478
+ priority: z.ZodString;
479
+ sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
480
+ path: z.ZodString;
481
+ anchor: z.ZodOptional<z.ZodString>;
482
+ }, "strip", z.ZodTypeAny, {
483
+ path: string;
484
+ anchor?: string | undefined;
485
+ }, {
486
+ path: string;
487
+ anchor?: string | undefined;
488
+ }>, "many">>;
489
+ createdAt: z.ZodString;
490
+ updatedAt: z.ZodString;
491
+ }, "strip", z.ZodTypeAny, {
492
+ status: string;
493
+ id: string;
494
+ createdAt: string;
495
+ normalizedId: string;
496
+ title: string;
497
+ updatedAt: string;
498
+ priority: string;
499
+ sourceFiles?: {
500
+ path: string;
501
+ anchor?: string | undefined;
502
+ }[] | undefined;
503
+ }, {
504
+ status: string;
505
+ id: string;
506
+ createdAt: string;
507
+ normalizedId: string;
508
+ title: string;
509
+ updatedAt: string;
510
+ priority: string;
511
+ sourceFiles?: {
512
+ path: string;
513
+ anchor?: string | undefined;
514
+ }[] | undefined;
515
+ }>;
516
+ export declare const taskIndexSchema: z.ZodObject<{
517
+ tasks: z.ZodArray<z.ZodObject<{
518
+ id: z.ZodString;
519
+ normalizedId: z.ZodString;
520
+ title: z.ZodString;
521
+ status: z.ZodString;
522
+ priority: z.ZodString;
523
+ sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
524
+ path: z.ZodString;
525
+ anchor: z.ZodOptional<z.ZodString>;
526
+ }, "strip", z.ZodTypeAny, {
527
+ path: string;
528
+ anchor?: string | undefined;
529
+ }, {
530
+ path: string;
531
+ anchor?: string | undefined;
532
+ }>, "many">>;
533
+ createdAt: z.ZodString;
534
+ updatedAt: z.ZodString;
535
+ }, "strip", z.ZodTypeAny, {
536
+ status: string;
537
+ id: string;
538
+ createdAt: string;
539
+ normalizedId: string;
540
+ title: string;
541
+ updatedAt: string;
542
+ priority: string;
543
+ sourceFiles?: {
544
+ path: string;
545
+ anchor?: string | undefined;
546
+ }[] | undefined;
547
+ }, {
548
+ status: string;
549
+ id: string;
550
+ createdAt: string;
551
+ normalizedId: string;
552
+ title: string;
553
+ updatedAt: string;
554
+ priority: string;
555
+ sourceFiles?: {
556
+ path: string;
557
+ anchor?: string | undefined;
558
+ }[] | undefined;
559
+ }>, "many">;
560
+ }, "strip", z.ZodTypeAny, {
561
+ tasks: {
562
+ status: string;
563
+ id: string;
564
+ createdAt: string;
565
+ normalizedId: string;
566
+ title: string;
567
+ updatedAt: string;
568
+ priority: string;
569
+ sourceFiles?: {
570
+ path: string;
571
+ anchor?: string | undefined;
572
+ }[] | undefined;
573
+ }[];
574
+ }, {
575
+ tasks: {
576
+ status: string;
577
+ id: string;
578
+ createdAt: string;
579
+ normalizedId: string;
580
+ title: string;
581
+ updatedAt: string;
582
+ priority: string;
583
+ sourceFiles?: {
584
+ path: string;
585
+ anchor?: string | undefined;
586
+ }[] | undefined;
587
+ }[];
588
+ }>;
589
+ export declare const opencodeSourceManifestSchema: z.ZodObject<{
590
+ bundleId: z.ZodString;
591
+ installMode: z.ZodString;
592
+ bundleVersionSource: z.ZodString;
593
+ sourceRoot: z.ZodString;
594
+ skills: z.ZodObject<{
595
+ source: z.ZodString;
596
+ destination: z.ZodString;
597
+ }, "strip", z.ZodTypeAny, {
598
+ source: string;
599
+ destination: string;
600
+ }, {
601
+ source: string;
602
+ destination: string;
603
+ }>;
604
+ agents: z.ZodArray<z.ZodObject<{
605
+ source: z.ZodString;
606
+ destination: z.ZodString;
607
+ }, "strip", z.ZodTypeAny, {
608
+ source: string;
609
+ destination: string;
610
+ }, {
611
+ source: string;
612
+ destination: string;
613
+ }>, "many">;
614
+ ownedPaths: z.ZodArray<z.ZodString, "many">;
615
+ plugin: z.ZodObject<{
616
+ required: z.ZodBoolean;
617
+ source: z.ZodString;
618
+ destination: z.ZodString;
619
+ }, "strip", z.ZodTypeAny, {
620
+ source: string;
621
+ destination: string;
622
+ required: boolean;
623
+ }, {
624
+ source: string;
625
+ destination: string;
626
+ required: boolean;
627
+ }>;
628
+ config: z.ZodObject<{
629
+ requiredMerges: z.ZodArray<z.ZodObject<{
630
+ path: z.ZodArray<z.ZodString, "many">;
631
+ value: z.ZodEffects<z.ZodUnknown, unknown, unknown>;
632
+ }, "strip", z.ZodTypeAny, {
633
+ path: string[];
634
+ value?: unknown;
635
+ }, {
636
+ path: string[];
637
+ value?: unknown;
638
+ }>, "many">;
639
+ }, "strip", z.ZodTypeAny, {
640
+ requiredMerges: {
641
+ path: string[];
642
+ value?: unknown;
643
+ }[];
644
+ }, {
645
+ requiredMerges: {
646
+ path: string[];
647
+ value?: unknown;
648
+ }[];
649
+ }>;
650
+ }, "strip", z.ZodTypeAny, {
651
+ bundleId: string;
652
+ installMode: string;
653
+ bundleVersionSource: string;
654
+ sourceRoot: string;
655
+ skills: {
656
+ source: string;
657
+ destination: string;
658
+ };
659
+ agents: {
660
+ source: string;
661
+ destination: string;
662
+ }[];
663
+ ownedPaths: string[];
664
+ plugin: {
665
+ source: string;
666
+ destination: string;
667
+ required: boolean;
668
+ };
669
+ config: {
670
+ requiredMerges: {
671
+ path: string[];
672
+ value?: unknown;
673
+ }[];
674
+ };
675
+ }, {
676
+ bundleId: string;
677
+ installMode: string;
678
+ bundleVersionSource: string;
679
+ sourceRoot: string;
680
+ skills: {
681
+ source: string;
682
+ destination: string;
683
+ };
684
+ agents: {
685
+ source: string;
686
+ destination: string;
687
+ }[];
688
+ ownedPaths: string[];
689
+ plugin: {
690
+ source: string;
691
+ destination: string;
692
+ required: boolean;
693
+ };
694
+ config: {
695
+ requiredMerges: {
696
+ path: string[];
697
+ value?: unknown;
698
+ }[];
699
+ };
700
+ }>;
701
+ export declare const opencodeInstalledManifestSchema: z.ZodObject<{
702
+ bundleId: z.ZodString;
703
+ installMode: z.ZodString;
704
+ sourceBundleVersion: z.ZodString;
705
+ sourceBundleHash: z.ZodString;
706
+ installedAt: z.ZodString;
707
+ ownedPaths: z.ZodArray<z.ZodString, "many">;
708
+ }, "strip", z.ZodTypeAny, {
709
+ bundleId: string;
710
+ installMode: string;
711
+ ownedPaths: string[];
712
+ sourceBundleVersion: string;
713
+ sourceBundleHash: string;
714
+ installedAt: string;
715
+ }, {
716
+ bundleId: string;
717
+ installMode: string;
718
+ ownedPaths: string[];
719
+ sourceBundleVersion: string;
720
+ sourceBundleHash: string;
721
+ installedAt: string;
722
+ }>;
723
+ //# sourceMappingURL=json-schemas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json-schemas.d.ts","sourceRoot":"","sources":["../../src/utils/json-schemas.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,iBAAiB;;;;;;;;;EAG5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAM5D,eAAO,MAAM,eAAe;;;;;;;;;EAG1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAMxD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;EAKxB,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGzB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAM1D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;EAO1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAad,CAAC;AAEjB,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAWhE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWzB,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE1B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY9B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE/B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASzB,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE1B,CAAC;AAWH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBvC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;EAO1C,CAAC"}