@hasna/todos 0.11.48 → 0.11.50

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 (581) hide show
  1. package/dist/capabilities.d.ts +32 -0
  2. package/dist/capabilities.d.ts.map +1 -0
  3. package/dist/cli/brains.d.ts +3 -0
  4. package/dist/cli/brains.d.ts.map +1 -0
  5. package/dist/cli/commands/agent-commands.d.ts +3 -0
  6. package/dist/cli/commands/agent-commands.d.ts.map +1 -0
  7. package/dist/cli/commands/agent-reliability-commands.d.ts +3 -0
  8. package/dist/cli/commands/agent-reliability-commands.d.ts.map +1 -0
  9. package/dist/cli/commands/api-key-commands.d.ts +3 -0
  10. package/dist/cli/commands/api-key-commands.d.ts.map +1 -0
  11. package/dist/cli/commands/audit-ledger-commands.d.ts +3 -0
  12. package/dist/cli/commands/audit-ledger-commands.d.ts.map +1 -0
  13. package/dist/cli/commands/capacity-commands.d.ts +3 -0
  14. package/dist/cli/commands/capacity-commands.d.ts.map +1 -0
  15. package/dist/cli/commands/config-serve-commands.d.ts +3 -0
  16. package/dist/cli/commands/config-serve-commands.d.ts.map +1 -0
  17. package/dist/cli/commands/dispatch.d.ts +3 -0
  18. package/dist/cli/commands/dispatch.d.ts.map +1 -0
  19. package/dist/cli/commands/environment-snapshots.d.ts +3 -0
  20. package/dist/cli/commands/environment-snapshots.d.ts.map +1 -0
  21. package/dist/cli/commands/help-commands.d.ts +3 -0
  22. package/dist/cli/commands/help-commands.d.ts.map +1 -0
  23. package/dist/cli/commands/knowledge-commands.d.ts +3 -0
  24. package/dist/cli/commands/knowledge-commands.d.ts.map +1 -0
  25. package/dist/cli/commands/local-backup-commands.d.ts +3 -0
  26. package/dist/cli/commands/local-backup-commands.d.ts.map +1 -0
  27. package/dist/cli/commands/local-snapshot-commands.d.ts +3 -0
  28. package/dist/cli/commands/local-snapshot-commands.d.ts.map +1 -0
  29. package/dist/cli/commands/machines.d.ts +3 -0
  30. package/dist/cli/commands/machines.d.ts.map +1 -0
  31. package/dist/cli/commands/mcp-hooks-commands.d.ts +3 -0
  32. package/dist/cli/commands/mcp-hooks-commands.d.ts.map +1 -0
  33. package/dist/cli/commands/onboarding-commands.d.ts +3 -0
  34. package/dist/cli/commands/onboarding-commands.d.ts.map +1 -0
  35. package/dist/cli/commands/plan-template-commands.d.ts +3 -0
  36. package/dist/cli/commands/plan-template-commands.d.ts.map +1 -0
  37. package/dist/cli/commands/project-commands.d.ts +3 -0
  38. package/dist/cli/commands/project-commands.d.ts.map +1 -0
  39. package/dist/cli/commands/query-commands.d.ts +3 -0
  40. package/dist/cli/commands/query-commands.d.ts.map +1 -0
  41. package/dist/cli/commands/release-compatibility-commands.d.ts +3 -0
  42. package/dist/cli/commands/release-compatibility-commands.d.ts.map +1 -0
  43. package/dist/cli/commands/retrospective-commands.d.ts +3 -0
  44. package/dist/cli/commands/retrospective-commands.d.ts.map +1 -0
  45. package/dist/cli/commands/review-queue-commands.d.ts +3 -0
  46. package/dist/cli/commands/review-queue-commands.d.ts.map +1 -0
  47. package/dist/cli/commands/risk-commands.d.ts +3 -0
  48. package/dist/cli/commands/risk-commands.d.ts.map +1 -0
  49. package/dist/cli/commands/roadmap-commands.d.ts +3 -0
  50. package/dist/cli/commands/roadmap-commands.d.ts.map +1 -0
  51. package/dist/cli/commands/scale-hardening-commands.d.ts +3 -0
  52. package/dist/cli/commands/scale-hardening-commands.d.ts.map +1 -0
  53. package/dist/cli/commands/sdk-fixture-commands.d.ts +3 -0
  54. package/dist/cli/commands/sdk-fixture-commands.d.ts.map +1 -0
  55. package/dist/cli/commands/task-commands.d.ts +3 -0
  56. package/dist/cli/commands/task-commands.d.ts.map +1 -0
  57. package/dist/cli/commands/usage-ledger-commands.d.ts +3 -0
  58. package/dist/cli/commands/usage-ledger-commands.d.ts.map +1 -0
  59. package/dist/cli/components/App.d.ts +2 -0
  60. package/dist/cli/components/App.d.ts.map +1 -0
  61. package/dist/cli/components/Dashboard.d.ts +9 -0
  62. package/dist/cli/components/Dashboard.d.ts.map +1 -0
  63. package/dist/cli/components/Header.d.ts +8 -0
  64. package/dist/cli/components/Header.d.ts.map +1 -0
  65. package/dist/cli/components/ProjectList.d.ts +8 -0
  66. package/dist/cli/components/ProjectList.d.ts.map +1 -0
  67. package/dist/cli/components/SearchView.d.ts +10 -0
  68. package/dist/cli/components/SearchView.d.ts.map +1 -0
  69. package/dist/cli/components/TaskDetail.d.ts +7 -0
  70. package/dist/cli/components/TaskDetail.d.ts.map +1 -0
  71. package/dist/cli/components/TaskForm.d.ts +15 -0
  72. package/dist/cli/components/TaskForm.d.ts.map +1 -0
  73. package/dist/cli/components/TaskList.d.ts +8 -0
  74. package/dist/cli/components/TaskList.d.ts.map +1 -0
  75. package/dist/cli/helpers.d.ts +22 -0
  76. package/dist/cli/helpers.d.ts.map +1 -0
  77. package/dist/cli/index.d.ts +3 -0
  78. package/dist/cli/index.d.ts.map +1 -0
  79. package/dist/cli/index.js +252 -28
  80. package/dist/cli-mcp-parity.d.ts +41 -0
  81. package/dist/cli-mcp-parity.d.ts.map +1 -0
  82. package/dist/contracts.d.ts +87 -0
  83. package/dist/contracts.d.ts.map +1 -0
  84. package/dist/contracts.js +18702 -0
  85. package/dist/db/agent-metrics.d.ts +135 -0
  86. package/dist/db/agent-metrics.d.ts.map +1 -0
  87. package/dist/db/agent-names.d.ts +24 -0
  88. package/dist/db/agent-names.d.ts.map +1 -0
  89. package/dist/db/agents.d.ts +84 -0
  90. package/dist/db/agents.d.ts.map +1 -0
  91. package/dist/db/api-keys.d.ts +28 -0
  92. package/dist/db/api-keys.d.ts.map +1 -0
  93. package/dist/db/artifacts.d.ts +60 -0
  94. package/dist/db/artifacts.d.ts.map +1 -0
  95. package/dist/db/audit.d.ts +52 -0
  96. package/dist/db/audit.d.ts.map +1 -0
  97. package/dist/db/boards.d.ts +56 -0
  98. package/dist/db/boards.d.ts.map +1 -0
  99. package/dist/db/budgets.d.ts +27 -0
  100. package/dist/db/budgets.d.ts.map +1 -0
  101. package/dist/db/builtin-templates.d.ts +41 -0
  102. package/dist/db/builtin-templates.d.ts.map +1 -0
  103. package/dist/db/calendar.d.ts +52 -0
  104. package/dist/db/calendar.d.ts.map +1 -0
  105. package/dist/db/checklists.d.ts +13 -0
  106. package/dist/db/checklists.d.ts.map +1 -0
  107. package/dist/db/checkpoints.d.ts +55 -0
  108. package/dist/db/checkpoints.d.ts.map +1 -0
  109. package/dist/db/comments.d.ts +11 -0
  110. package/dist/db/comments.d.ts.map +1 -0
  111. package/dist/db/custom-fields.d.ts +43 -0
  112. package/dist/db/custom-fields.d.ts.map +1 -0
  113. package/dist/db/cycles.d.ts +78 -0
  114. package/dist/db/cycles.d.ts.map +1 -0
  115. package/dist/db/database.d.ts +13 -0
  116. package/dist/db/database.d.ts.map +1 -0
  117. package/dist/db/dispatches.d.ts +15 -0
  118. package/dist/db/dispatches.d.ts.map +1 -0
  119. package/dist/db/file-locks.d.ts +43 -0
  120. package/dist/db/file-locks.d.ts.map +1 -0
  121. package/dist/db/handoffs.d.ts +76 -0
  122. package/dist/db/handoffs.d.ts.map +1 -0
  123. package/dist/db/inbox.d.ts +47 -0
  124. package/dist/db/inbox.d.ts.map +1 -0
  125. package/dist/db/kg.d.ts +70 -0
  126. package/dist/db/kg.d.ts.map +1 -0
  127. package/dist/db/labels.d.ts +30 -0
  128. package/dist/db/labels.d.ts.map +1 -0
  129. package/dist/db/locks.d.ts +14 -0
  130. package/dist/db/locks.d.ts.map +1 -0
  131. package/dist/db/machines.d.ts +59 -0
  132. package/dist/db/machines.d.ts.map +1 -0
  133. package/dist/db/migrations.d.ts +2 -0
  134. package/dist/db/migrations.d.ts.map +1 -0
  135. package/dist/db/orgs.d.ts +13 -0
  136. package/dist/db/orgs.d.ts.map +1 -0
  137. package/dist/db/patrol.d.ts +35 -0
  138. package/dist/db/patrol.d.ts.map +1 -0
  139. package/dist/db/plans.d.ts +8 -0
  140. package/dist/db/plans.d.ts.map +1 -0
  141. package/dist/db/project-agent-roles.d.ts +34 -0
  142. package/dist/db/project-agent-roles.d.ts.map +1 -0
  143. package/dist/db/project-knowledge.d.ts +88 -0
  144. package/dist/db/project-knowledge.d.ts.map +1 -0
  145. package/dist/db/project-risks.d.ts +139 -0
  146. package/dist/db/project-risks.d.ts.map +1 -0
  147. package/dist/db/projects.d.ts +54 -0
  148. package/dist/db/projects.d.ts.map +1 -0
  149. package/dist/db/retrospectives.d.ts +98 -0
  150. package/dist/db/retrospectives.d.ts.map +1 -0
  151. package/dist/db/schema.d.ts +5 -0
  152. package/dist/db/schema.d.ts.map +1 -0
  153. package/dist/db/sessions.d.ts +8 -0
  154. package/dist/db/sessions.d.ts.map +1 -0
  155. package/dist/db/snapshots.d.ts +37 -0
  156. package/dist/db/snapshots.d.ts.map +1 -0
  157. package/dist/db/task-claim.d.ts +7 -0
  158. package/dist/db/task-claim.d.ts.map +1 -0
  159. package/dist/db/task-commits.d.ts +106 -0
  160. package/dist/db/task-commits.d.ts.map +1 -0
  161. package/dist/db/task-crud.d.ts +13 -0
  162. package/dist/db/task-crud.d.ts.map +1 -0
  163. package/dist/db/task-files.d.ts +74 -0
  164. package/dist/db/task-files.d.ts.map +1 -0
  165. package/dist/db/task-graph.d.ts +27 -0
  166. package/dist/db/task-graph.d.ts.map +1 -0
  167. package/dist/db/task-lifecycle.d.ts +96 -0
  168. package/dist/db/task-lifecycle.d.ts.map +1 -0
  169. package/dist/db/task-lists.d.ts +10 -0
  170. package/dist/db/task-lists.d.ts.map +1 -0
  171. package/dist/db/task-relations.d.ts +170 -0
  172. package/dist/db/task-relations.d.ts.map +1 -0
  173. package/dist/db/task-relationships.d.ts +36 -0
  174. package/dist/db/task-relationships.d.ts.map +1 -0
  175. package/dist/db/task-runs.d.ts +133 -0
  176. package/dist/db/task-runs.d.ts.map +1 -0
  177. package/dist/db/task-status.d.ts +65 -0
  178. package/dist/db/task-status.d.ts.map +1 -0
  179. package/dist/db/task-workflow.d.ts +7 -0
  180. package/dist/db/task-workflow.d.ts.map +1 -0
  181. package/dist/db/tasks.d.ts +15 -0
  182. package/dist/db/tasks.d.ts.map +1 -0
  183. package/dist/db/templates.d.ts +98 -0
  184. package/dist/db/templates.d.ts.map +1 -0
  185. package/dist/db/traces.d.ts +38 -0
  186. package/dist/db/traces.d.ts.map +1 -0
  187. package/dist/db/webhooks.d.ts +29 -0
  188. package/dist/db/webhooks.d.ts.map +1 -0
  189. package/dist/index.d.ts +312 -0
  190. package/dist/index.d.ts.map +1 -0
  191. package/dist/index.js +40510 -0
  192. package/dist/json-contracts.d.ts +56 -0
  193. package/dist/json-contracts.d.ts.map +1 -0
  194. package/dist/lib/access-profiles.d.ts +27 -0
  195. package/dist/lib/access-profiles.d.ts.map +1 -0
  196. package/dist/lib/activity-audit.d.ts +67 -0
  197. package/dist/lib/activity-audit.d.ts.map +1 -0
  198. package/dist/lib/activity-timeline.d.ts +43 -0
  199. package/dist/lib/activity-timeline.d.ts.map +1 -0
  200. package/dist/lib/agent-adapter-docs.d.ts +71 -0
  201. package/dist/lib/agent-adapter-docs.d.ts.map +1 -0
  202. package/dist/lib/agent-coordination.d.ts +52 -0
  203. package/dist/lib/agent-coordination.d.ts.map +1 -0
  204. package/dist/lib/agent-replay-simulator.d.ts +66 -0
  205. package/dist/lib/agent-replay-simulator.d.ts.map +1 -0
  206. package/dist/lib/agent-run-dispatcher.d.ts +114 -0
  207. package/dist/lib/agent-run-dispatcher.d.ts.map +1 -0
  208. package/dist/lib/agent-tasks.d.ts +11 -0
  209. package/dist/lib/agent-tasks.d.ts.map +1 -0
  210. package/dist/lib/agent-workflow-demo.d.ts +87 -0
  211. package/dist/lib/agent-workflow-demo.d.ts.map +1 -0
  212. package/dist/lib/approval-gates.d.ts +52 -0
  213. package/dist/lib/approval-gates.d.ts.map +1 -0
  214. package/dist/lib/artifact-store.d.ts +125 -0
  215. package/dist/lib/artifact-store.d.ts.map +1 -0
  216. package/dist/lib/audit-ledger.d.ts +59 -0
  217. package/dist/lib/audit-ledger.d.ts.map +1 -0
  218. package/dist/lib/auto-assign.d.ts +23 -0
  219. package/dist/lib/auto-assign.d.ts.map +1 -0
  220. package/dist/lib/branch-work-plans.d.ts +46 -0
  221. package/dist/lib/branch-work-plans.d.ts.map +1 -0
  222. package/dist/lib/burndown.d.ts +18 -0
  223. package/dist/lib/burndown.d.ts.map +1 -0
  224. package/dist/lib/capacity-forecasts.d.ts +70 -0
  225. package/dist/lib/capacity-forecasts.d.ts.map +1 -0
  226. package/dist/lib/claude-tasks.d.ts +20 -0
  227. package/dist/lib/claude-tasks.d.ts.map +1 -0
  228. package/dist/lib/cli-completions.d.ts +9 -0
  229. package/dist/lib/cli-completions.d.ts.map +1 -0
  230. package/dist/lib/cli-help.d.ts +38 -0
  231. package/dist/lib/cli-help.d.ts.map +1 -0
  232. package/dist/lib/cli-manpage.d.ts +7 -0
  233. package/dist/lib/cli-manpage.d.ts.map +1 -0
  234. package/dist/lib/cli-mcp-parity.d.ts +40 -0
  235. package/dist/lib/cli-mcp-parity.d.ts.map +1 -0
  236. package/dist/lib/cli-reference.d.ts +46 -0
  237. package/dist/lib/cli-reference.d.ts.map +1 -0
  238. package/dist/lib/command-aliases.d.ts +60 -0
  239. package/dist/lib/command-aliases.d.ts.map +1 -0
  240. package/dist/lib/completion-guard.d.ts +17 -0
  241. package/dist/lib/completion-guard.d.ts.map +1 -0
  242. package/dist/lib/config.d.ts +410 -0
  243. package/dist/lib/config.d.ts.map +1 -0
  244. package/dist/lib/context-packs.d.ts +163 -0
  245. package/dist/lib/context-packs.d.ts.map +1 -0
  246. package/dist/lib/db-backup.d.ts +40 -0
  247. package/dist/lib/db-backup.d.ts.map +1 -0
  248. package/dist/lib/decision-records.d.ts +153 -0
  249. package/dist/lib/decision-records.d.ts.map +1 -0
  250. package/dist/lib/dependency-graph.d.ts +73 -0
  251. package/dist/lib/dependency-graph.d.ts.map +1 -0
  252. package/dist/lib/dispatch-formatter.d.ts +21 -0
  253. package/dist/lib/dispatch-formatter.d.ts.map +1 -0
  254. package/dist/lib/dispatch.d.ts +28 -0
  255. package/dist/lib/dispatch.d.ts.map +1 -0
  256. package/dist/lib/doctor.d.ts +46 -0
  257. package/dist/lib/doctor.d.ts.map +1 -0
  258. package/dist/lib/environment-snapshots.d.ts +111 -0
  259. package/dist/lib/environment-snapshots.d.ts.map +1 -0
  260. package/dist/lib/event-hooks.d.ts +58 -0
  261. package/dist/lib/event-hooks.d.ts.map +1 -0
  262. package/dist/lib/external-issue-importers.d.ts +60 -0
  263. package/dist/lib/external-issue-importers.d.ts.map +1 -0
  264. package/dist/lib/extract.d.ts +108 -0
  265. package/dist/lib/extract.d.ts.map +1 -0
  266. package/dist/lib/failure-triage.d.ts +64 -0
  267. package/dist/lib/failure-triage.d.ts.map +1 -0
  268. package/dist/lib/feature-manifest.d.ts +100 -0
  269. package/dist/lib/feature-manifest.d.ts.map +1 -0
  270. package/dist/lib/gatherer.d.ts +16 -0
  271. package/dist/lib/gatherer.d.ts.map +1 -0
  272. package/dist/lib/git-traceability.d.ts +43 -0
  273. package/dist/lib/git-traceability.d.ts.map +1 -0
  274. package/dist/lib/github.d.ts +25 -0
  275. package/dist/lib/github.d.ts.map +1 -0
  276. package/dist/lib/goal-workflow.d.ts +86 -0
  277. package/dist/lib/goal-workflow.d.ts.map +1 -0
  278. package/dist/lib/handoff-packets.d.ts +74 -0
  279. package/dist/lib/handoff-packets.d.ts.map +1 -0
  280. package/dist/lib/headless-boundaries.d.ts +30 -0
  281. package/dist/lib/headless-boundaries.d.ts.map +1 -0
  282. package/dist/lib/import-export-bridge.d.ts +91 -0
  283. package/dist/lib/import-export-bridge.d.ts.map +1 -0
  284. package/dist/lib/inbox-intake.d.ts +73 -0
  285. package/dist/lib/inbox-intake.d.ts.map +1 -0
  286. package/dist/lib/issue-importers.d.ts +78 -0
  287. package/dist/lib/issue-importers.d.ts.map +1 -0
  288. package/dist/lib/json-schemas.d.ts +66 -0
  289. package/dist/lib/json-schemas.d.ts.map +1 -0
  290. package/dist/lib/local-backups.d.ts +129 -0
  291. package/dist/lib/local-backups.d.ts.map +1 -0
  292. package/dist/lib/local-bridge.d.ts +81 -0
  293. package/dist/lib/local-bridge.d.ts.map +1 -0
  294. package/dist/lib/local-encryption.d.ts +105 -0
  295. package/dist/lib/local-encryption.d.ts.map +1 -0
  296. package/dist/lib/local-extensions.d.ts +92 -0
  297. package/dist/lib/local-extensions.d.ts.map +1 -0
  298. package/dist/lib/local-fields.d.ts +33 -0
  299. package/dist/lib/local-fields.d.ts.map +1 -0
  300. package/dist/lib/local-notifications.d.ts +55 -0
  301. package/dist/lib/local-notifications.d.ts.map +1 -0
  302. package/dist/lib/local-reports.d.ts +149 -0
  303. package/dist/lib/local-reports.d.ts.map +1 -0
  304. package/dist/lib/local-snapshots.d.ts +66 -0
  305. package/dist/lib/local-snapshots.d.ts.map +1 -0
  306. package/dist/lib/logger.d.ts +11 -0
  307. package/dist/lib/logger.d.ts.map +1 -0
  308. package/dist/lib/machine-topology.d.ts +59 -0
  309. package/dist/lib/machine-topology.d.ts.map +1 -0
  310. package/dist/lib/mention-resolver.d.ts +43 -0
  311. package/dist/lib/mention-resolver.d.ts.map +1 -0
  312. package/dist/lib/model-config.d.ts +14 -0
  313. package/dist/lib/model-config.d.ts.map +1 -0
  314. package/dist/lib/natural-language-intake.d.ts +56 -0
  315. package/dist/lib/natural-language-intake.d.ts.map +1 -0
  316. package/dist/lib/nl-intake.d.ts +61 -0
  317. package/dist/lib/nl-intake.d.ts.map +1 -0
  318. package/dist/lib/north-star.d.ts +33 -0
  319. package/dist/lib/north-star.d.ts.map +1 -0
  320. package/dist/lib/notification-reminders.d.ts +107 -0
  321. package/dist/lib/notification-reminders.d.ts.map +1 -0
  322. package/dist/lib/onboarding-fixtures.d.ts +31 -0
  323. package/dist/lib/onboarding-fixtures.d.ts.map +1 -0
  324. package/dist/lib/package-version.d.ts +2 -0
  325. package/dist/lib/package-version.d.ts.map +1 -0
  326. package/dist/lib/plan-execution.d.ts +71 -0
  327. package/dist/lib/plan-execution.d.ts.map +1 -0
  328. package/dist/lib/policy-packs.d.ts +87 -0
  329. package/dist/lib/policy-packs.d.ts.map +1 -0
  330. package/dist/lib/project-bootstrap.d.ts +35 -0
  331. package/dist/lib/project-bootstrap.d.ts.map +1 -0
  332. package/dist/lib/public-release-gate.d.ts +57 -0
  333. package/dist/lib/public-release-gate.d.ts.map +1 -0
  334. package/dist/lib/recurrence.d.ts +10 -0
  335. package/dist/lib/recurrence.d.ts.map +1 -0
  336. package/dist/lib/redaction.d.ts +12 -0
  337. package/dist/lib/redaction.d.ts.map +1 -0
  338. package/dist/lib/release-checks.d.ts +34 -0
  339. package/dist/lib/release-checks.d.ts.map +1 -0
  340. package/dist/lib/release-compatibility.d.ts +59 -0
  341. package/dist/lib/release-compatibility.d.ts.map +1 -0
  342. package/dist/lib/release-notes.d.ts +81 -0
  343. package/dist/lib/release-notes.d.ts.map +1 -0
  344. package/dist/lib/report-exports.d.ts +49 -0
  345. package/dist/lib/report-exports.d.ts.map +1 -0
  346. package/dist/lib/resource-snapshots.d.ts +37 -0
  347. package/dist/lib/resource-snapshots.d.ts.map +1 -0
  348. package/dist/lib/retention-cleanup.d.ts +63 -0
  349. package/dist/lib/retention-cleanup.d.ts.map +1 -0
  350. package/dist/lib/review-queues.d.ts +98 -0
  351. package/dist/lib/review-queues.d.ts.map +1 -0
  352. package/dist/lib/roadmaps.d.ts +133 -0
  353. package/dist/lib/roadmaps.d.ts.map +1 -0
  354. package/dist/lib/run-records.d.ts +94 -0
  355. package/dist/lib/run-records.d.ts.map +1 -0
  356. package/dist/lib/runner-sandbox.d.ts +50 -0
  357. package/dist/lib/runner-sandbox.d.ts.map +1 -0
  358. package/dist/lib/sandbox-profiles.d.ts +33 -0
  359. package/dist/lib/sandbox-profiles.d.ts.map +1 -0
  360. package/dist/lib/saved-search-views.d.ts +60 -0
  361. package/dist/lib/saved-search-views.d.ts.map +1 -0
  362. package/dist/lib/saved-views.d.ts +53 -0
  363. package/dist/lib/saved-views.d.ts.map +1 -0
  364. package/dist/lib/scale-hardening.d.ts +74 -0
  365. package/dist/lib/scale-hardening.d.ts.map +1 -0
  366. package/dist/lib/sdk-integration-fixtures.d.ts +65 -0
  367. package/dist/lib/sdk-integration-fixtures.d.ts.map +1 -0
  368. package/dist/lib/search.d.ts +17 -0
  369. package/dist/lib/search.d.ts.map +1 -0
  370. package/dist/lib/secret-redaction.d.ts +45 -0
  371. package/dist/lib/secret-redaction.d.ts.map +1 -0
  372. package/dist/lib/sync-types.d.ts +16 -0
  373. package/dist/lib/sync-types.d.ts.map +1 -0
  374. package/dist/lib/sync-utils.d.ts +14 -0
  375. package/dist/lib/sync-utils.d.ts.map +1 -0
  376. package/dist/lib/sync.d.ts +9 -0
  377. package/dist/lib/sync.d.ts.map +1 -0
  378. package/dist/lib/task-contracts.d.ts +75 -0
  379. package/dist/lib/task-contracts.d.ts.map +1 -0
  380. package/dist/lib/task-dedupe.d.ts +46 -0
  381. package/dist/lib/task-dedupe.d.ts.map +1 -0
  382. package/dist/lib/task-runner.d.ts +101 -0
  383. package/dist/lib/task-runner.d.ts.map +1 -0
  384. package/dist/lib/task-scheduling.d.ts +69 -0
  385. package/dist/lib/task-scheduling.d.ts.map +1 -0
  386. package/dist/lib/template-library.d.ts +47 -0
  387. package/dist/lib/template-library.d.ts.map +1 -0
  388. package/dist/lib/terminal-notifications.d.ts +53 -0
  389. package/dist/lib/terminal-notifications.d.ts.map +1 -0
  390. package/dist/lib/tmux.d.ts +28 -0
  391. package/dist/lib/tmux.d.ts.map +1 -0
  392. package/dist/lib/todos-md.d.ts +21 -0
  393. package/dist/lib/todos-md.d.ts.map +1 -0
  394. package/dist/lib/tui-dashboard.d.ts +49 -0
  395. package/dist/lib/tui-dashboard.d.ts.map +1 -0
  396. package/dist/lib/usage-ledger.d.ts +82 -0
  397. package/dist/lib/usage-ledger.d.ts.map +1 -0
  398. package/dist/lib/user-scaffolds.d.ts +73 -0
  399. package/dist/lib/user-scaffolds.d.ts.map +1 -0
  400. package/dist/lib/verification-evidence.d.ts +93 -0
  401. package/dist/lib/verification-evidence.d.ts.map +1 -0
  402. package/dist/lib/verification-providers.d.ts +76 -0
  403. package/dist/lib/verification-providers.d.ts.map +1 -0
  404. package/dist/lib/workflow-prompts.d.ts +38 -0
  405. package/dist/lib/workflow-prompts.d.ts.map +1 -0
  406. package/dist/lib/workflow-states.d.ts +70 -0
  407. package/dist/lib/workflow-states.d.ts.map +1 -0
  408. package/dist/lib/workspace-trust.d.ts +38 -0
  409. package/dist/lib/workspace-trust.d.ts.map +1 -0
  410. package/dist/mcp/http.d.ts +13 -0
  411. package/dist/mcp/http.d.ts.map +1 -0
  412. package/dist/mcp/index.d.ts +5 -0
  413. package/dist/mcp/index.d.ts.map +1 -0
  414. package/dist/mcp/index.js +48 -22
  415. package/dist/mcp/token-utils.d.ts +15 -0
  416. package/dist/mcp/token-utils.d.ts.map +1 -0
  417. package/dist/mcp/tools/access-profiles.d.ts +8 -0
  418. package/dist/mcp/tools/access-profiles.d.ts.map +1 -0
  419. package/dist/mcp/tools/activity-audit.d.ts +9 -0
  420. package/dist/mcp/tools/activity-audit.d.ts.map +1 -0
  421. package/dist/mcp/tools/agent-adapter-docs.d.ts +8 -0
  422. package/dist/mcp/tools/agent-adapter-docs.d.ts.map +1 -0
  423. package/dist/mcp/tools/agent-coordination.d.ts +9 -0
  424. package/dist/mcp/tools/agent-coordination.d.ts.map +1 -0
  425. package/dist/mcp/tools/agent-runs.d.ts +9 -0
  426. package/dist/mcp/tools/agent-runs.d.ts.map +1 -0
  427. package/dist/mcp/tools/agent-workflow-demo.d.ts +8 -0
  428. package/dist/mcp/tools/agent-workflow-demo.d.ts.map +1 -0
  429. package/dist/mcp/tools/agents.d.ts +16 -0
  430. package/dist/mcp/tools/agents.d.ts.map +1 -0
  431. package/dist/mcp/tools/approval-gates.d.ts +9 -0
  432. package/dist/mcp/tools/approval-gates.d.ts.map +1 -0
  433. package/dist/mcp/tools/artifacts.d.ts +9 -0
  434. package/dist/mcp/tools/artifacts.d.ts.map +1 -0
  435. package/dist/mcp/tools/branch-work-plans.d.ts +8 -0
  436. package/dist/mcp/tools/branch-work-plans.d.ts.map +1 -0
  437. package/dist/mcp/tools/cli-docs.d.ts +8 -0
  438. package/dist/mcp/tools/cli-docs.d.ts.map +1 -0
  439. package/dist/mcp/tools/code-tools.d.ts +15 -0
  440. package/dist/mcp/tools/code-tools.d.ts.map +1 -0
  441. package/dist/mcp/tools/command-aliases.d.ts +8 -0
  442. package/dist/mcp/tools/command-aliases.d.ts.map +1 -0
  443. package/dist/mcp/tools/context-packs.d.ts +9 -0
  444. package/dist/mcp/tools/context-packs.d.ts.map +1 -0
  445. package/dist/mcp/tools/crypto.d.ts +8 -0
  446. package/dist/mcp/tools/crypto.d.ts.map +1 -0
  447. package/dist/mcp/tools/db-backup.d.ts +8 -0
  448. package/dist/mcp/tools/db-backup.d.ts.map +1 -0
  449. package/dist/mcp/tools/decision-records.d.ts +9 -0
  450. package/dist/mcp/tools/decision-records.d.ts.map +1 -0
  451. package/dist/mcp/tools/dependency-graph.d.ts +9 -0
  452. package/dist/mcp/tools/dependency-graph.d.ts.map +1 -0
  453. package/dist/mcp/tools/dispatch.d.ts +9 -0
  454. package/dist/mcp/tools/dispatch.d.ts.map +1 -0
  455. package/dist/mcp/tools/environment-snapshots.d.ts +8 -0
  456. package/dist/mcp/tools/environment-snapshots.d.ts.map +1 -0
  457. package/dist/mcp/tools/failure-triage.d.ts +9 -0
  458. package/dist/mcp/tools/failure-triage.d.ts.map +1 -0
  459. package/dist/mcp/tools/feature-manifest.d.ts +8 -0
  460. package/dist/mcp/tools/feature-manifest.d.ts.map +1 -0
  461. package/dist/mcp/tools/git-traceability.d.ts +9 -0
  462. package/dist/mcp/tools/git-traceability.d.ts.map +1 -0
  463. package/dist/mcp/tools/goal.d.ts +9 -0
  464. package/dist/mcp/tools/goal.d.ts.map +1 -0
  465. package/dist/mcp/tools/handoff-packets.d.ts +9 -0
  466. package/dist/mcp/tools/handoff-packets.d.ts.map +1 -0
  467. package/dist/mcp/tools/import-export-bridge.d.ts +9 -0
  468. package/dist/mcp/tools/import-export-bridge.d.ts.map +1 -0
  469. package/dist/mcp/tools/inbox-intake.d.ts +9 -0
  470. package/dist/mcp/tools/inbox-intake.d.ts.map +1 -0
  471. package/dist/mcp/tools/issue-importers.d.ts +9 -0
  472. package/dist/mcp/tools/issue-importers.d.ts.map +1 -0
  473. package/dist/mcp/tools/json-schemas.d.ts +8 -0
  474. package/dist/mcp/tools/json-schemas.d.ts.map +1 -0
  475. package/dist/mcp/tools/machine-topology.d.ts +8 -0
  476. package/dist/mcp/tools/machine-topology.d.ts.map +1 -0
  477. package/dist/mcp/tools/machines.d.ts +8 -0
  478. package/dist/mcp/tools/machines.d.ts.map +1 -0
  479. package/dist/mcp/tools/mention-resolver.d.ts +9 -0
  480. package/dist/mcp/tools/mention-resolver.d.ts.map +1 -0
  481. package/dist/mcp/tools/nl-intake.d.ts +9 -0
  482. package/dist/mcp/tools/nl-intake.d.ts.map +1 -0
  483. package/dist/mcp/tools/notification-reminders.d.ts +9 -0
  484. package/dist/mcp/tools/notification-reminders.d.ts.map +1 -0
  485. package/dist/mcp/tools/parity.d.ts +8 -0
  486. package/dist/mcp/tools/parity.d.ts.map +1 -0
  487. package/dist/mcp/tools/plan-execution.d.ts +9 -0
  488. package/dist/mcp/tools/plan-execution.d.ts.map +1 -0
  489. package/dist/mcp/tools/policy-packs.d.ts +9 -0
  490. package/dist/mcp/tools/policy-packs.d.ts.map +1 -0
  491. package/dist/mcp/tools/project-bootstrap.d.ts +8 -0
  492. package/dist/mcp/tools/project-bootstrap.d.ts.map +1 -0
  493. package/dist/mcp/tools/release-checks.d.ts +8 -0
  494. package/dist/mcp/tools/release-checks.d.ts.map +1 -0
  495. package/dist/mcp/tools/release-notes.d.ts +9 -0
  496. package/dist/mcp/tools/release-notes.d.ts.map +1 -0
  497. package/dist/mcp/tools/report-exports.d.ts +9 -0
  498. package/dist/mcp/tools/report-exports.d.ts.map +1 -0
  499. package/dist/mcp/tools/resource-subscriptions.d.ts +8 -0
  500. package/dist/mcp/tools/resource-subscriptions.d.ts.map +1 -0
  501. package/dist/mcp/tools/run-records.d.ts +9 -0
  502. package/dist/mcp/tools/run-records.d.ts.map +1 -0
  503. package/dist/mcp/tools/sandbox.d.ts +8 -0
  504. package/dist/mcp/tools/sandbox.d.ts.map +1 -0
  505. package/dist/mcp/tools/saved-views.d.ts +9 -0
  506. package/dist/mcp/tools/saved-views.d.ts.map +1 -0
  507. package/dist/mcp/tools/secret-redaction.d.ts +8 -0
  508. package/dist/mcp/tools/secret-redaction.d.ts.map +1 -0
  509. package/dist/mcp/tools/task-adv-tools.d.ts +20 -0
  510. package/dist/mcp/tools/task-adv-tools.d.ts.map +1 -0
  511. package/dist/mcp/tools/task-auto-tools.d.ts +20 -0
  512. package/dist/mcp/tools/task-auto-tools.d.ts.map +1 -0
  513. package/dist/mcp/tools/task-crud.d.ts +20 -0
  514. package/dist/mcp/tools/task-crud.d.ts.map +1 -0
  515. package/dist/mcp/tools/task-dedupe.d.ts +9 -0
  516. package/dist/mcp/tools/task-dedupe.d.ts.map +1 -0
  517. package/dist/mcp/tools/task-meta-tools.d.ts +12 -0
  518. package/dist/mcp/tools/task-meta-tools.d.ts.map +1 -0
  519. package/dist/mcp/tools/task-project-tools.d.ts +20 -0
  520. package/dist/mcp/tools/task-project-tools.d.ts.map +1 -0
  521. package/dist/mcp/tools/task-rel-tools.d.ts +19 -0
  522. package/dist/mcp/tools/task-rel-tools.d.ts.map +1 -0
  523. package/dist/mcp/tools/task-resources.d.ts +13 -0
  524. package/dist/mcp/tools/task-resources.d.ts.map +1 -0
  525. package/dist/mcp/tools/task-scheduling.d.ts +9 -0
  526. package/dist/mcp/tools/task-scheduling.d.ts.map +1 -0
  527. package/dist/mcp/tools/task-workflow-tools.d.ts +20 -0
  528. package/dist/mcp/tools/task-workflow-tools.d.ts.map +1 -0
  529. package/dist/mcp/tools/template-library.d.ts +8 -0
  530. package/dist/mcp/tools/template-library.d.ts.map +1 -0
  531. package/dist/mcp/tools/templates.d.ts +9 -0
  532. package/dist/mcp/tools/templates.d.ts.map +1 -0
  533. package/dist/mcp/tools/terminal-notifications.d.ts +9 -0
  534. package/dist/mcp/tools/terminal-notifications.d.ts.map +1 -0
  535. package/dist/mcp/tools/todos-md.d.ts +8 -0
  536. package/dist/mcp/tools/todos-md.d.ts.map +1 -0
  537. package/dist/mcp/tools/user-scaffolds.d.ts +8 -0
  538. package/dist/mcp/tools/user-scaffolds.d.ts.map +1 -0
  539. package/dist/mcp/tools/verification.d.ts +9 -0
  540. package/dist/mcp/tools/verification.d.ts.map +1 -0
  541. package/dist/mcp/tools/webhooks.d.ts +8 -0
  542. package/dist/mcp/tools/webhooks.d.ts.map +1 -0
  543. package/dist/mcp/tools/workflow-prompts.d.ts +3 -0
  544. package/dist/mcp/tools/workflow-prompts.d.ts.map +1 -0
  545. package/dist/mcp/tools/workspace-trust.d.ts +8 -0
  546. package/dist/mcp/tools/workspace-trust.d.ts.map +1 -0
  547. package/dist/mcp.d.ts +42 -0
  548. package/dist/mcp.d.ts.map +1 -0
  549. package/dist/mcp.js +555 -0
  550. package/dist/registry.d.ts +35 -0
  551. package/dist/registry.d.ts.map +1 -0
  552. package/dist/registry.js +18875 -0
  553. package/dist/sdk/client.d.ts +383 -0
  554. package/dist/sdk/client.d.ts.map +1 -0
  555. package/dist/sdk/index.d.ts +14 -0
  556. package/dist/sdk/index.d.ts.map +1 -0
  557. package/dist/sdk/types.d.ts +198 -0
  558. package/dist/sdk/types.d.ts.map +1 -0
  559. package/dist/sdk.d.ts +19 -0
  560. package/dist/sdk.d.ts.map +1 -0
  561. package/dist/server/index.d.ts +9 -0
  562. package/dist/server/index.d.ts.map +1 -0
  563. package/dist/server/index.js +48 -22
  564. package/dist/server/routes.d.ts +86 -0
  565. package/dist/server/routes.d.ts.map +1 -0
  566. package/dist/server/serve.d.ts +39 -0
  567. package/dist/server/serve.d.ts.map +1 -0
  568. package/dist/storage/index.d.ts +4 -0
  569. package/dist/storage/index.d.ts.map +1 -0
  570. package/dist/storage/interfaces.d.ts +185 -0
  571. package/dist/storage/interfaces.d.ts.map +1 -0
  572. package/dist/storage/local-sqlite.d.ts +7 -0
  573. package/dist/storage/local-sqlite.d.ts.map +1 -0
  574. package/dist/storage.d.ts +4 -0
  575. package/dist/storage.d.ts.map +1 -0
  576. package/dist/storage.js +8876 -0
  577. package/dist/test/no-network.d.ts +7 -0
  578. package/dist/test/no-network.d.ts.map +1 -0
  579. package/dist/types/index.d.ts +1032 -0
  580. package/dist/types/index.d.ts.map +1 -0
  581. package/package.json +1 -1
@@ -0,0 +1,1032 @@
1
+ export declare const TASK_STATUSES: readonly ["pending", "in_progress", "completed", "failed", "cancelled"];
2
+ export type TaskStatus = (typeof TASK_STATUSES)[number];
3
+ export declare const TASK_PRIORITIES: readonly ["low", "medium", "high", "critical"];
4
+ export type TaskPriority = (typeof TASK_PRIORITIES)[number];
5
+ export declare const PLAN_STATUSES: readonly ["active", "completed", "archived"];
6
+ export type PlanStatus = (typeof PLAN_STATUSES)[number];
7
+ export interface ProjectSource {
8
+ id: string;
9
+ project_id: string;
10
+ type: string;
11
+ name: string;
12
+ uri: string;
13
+ description: string | null;
14
+ metadata: Record<string, unknown>;
15
+ created_at: string;
16
+ updated_at: string;
17
+ }
18
+ export interface ProjectSourceRow {
19
+ id: string;
20
+ project_id: string;
21
+ type: string;
22
+ name: string;
23
+ uri: string;
24
+ description: string | null;
25
+ metadata: string | null;
26
+ created_at: string;
27
+ updated_at: string;
28
+ }
29
+ export interface CreateProjectSourceInput {
30
+ project_id: string;
31
+ type: string;
32
+ name: string;
33
+ uri: string;
34
+ description?: string;
35
+ metadata?: Record<string, unknown>;
36
+ }
37
+ export interface Project {
38
+ id: string;
39
+ name: string;
40
+ path: string;
41
+ description: string | null;
42
+ task_list_id: string | null;
43
+ task_prefix: string | null;
44
+ task_counter: number;
45
+ created_at: string;
46
+ updated_at: string;
47
+ sources?: ProjectSource[];
48
+ }
49
+ export interface CreateProjectInput {
50
+ name: string;
51
+ path: string;
52
+ description?: string;
53
+ task_list_id?: string;
54
+ task_prefix?: string;
55
+ }
56
+ export interface Org {
57
+ id: string;
58
+ name: string;
59
+ description: string | null;
60
+ metadata: Record<string, unknown>;
61
+ created_at: string;
62
+ updated_at: string;
63
+ }
64
+ export interface CreateOrgInput {
65
+ name: string;
66
+ description?: string;
67
+ metadata?: Record<string, unknown>;
68
+ }
69
+ export interface Plan {
70
+ id: string;
71
+ project_id: string | null;
72
+ task_list_id: string | null;
73
+ agent_id: string | null;
74
+ name: string;
75
+ description: string | null;
76
+ status: PlanStatus;
77
+ created_at: string;
78
+ updated_at: string;
79
+ }
80
+ export interface CreatePlanInput {
81
+ name: string;
82
+ project_id?: string;
83
+ task_list_id?: string;
84
+ agent_id?: string;
85
+ description?: string;
86
+ status?: PlanStatus;
87
+ }
88
+ export interface UpdatePlanInput {
89
+ name?: string;
90
+ description?: string;
91
+ status?: PlanStatus;
92
+ task_list_id?: string;
93
+ agent_id?: string;
94
+ }
95
+ export interface Machine {
96
+ id: string;
97
+ name: string;
98
+ hostname: string | null;
99
+ platform: string | null;
100
+ ssh_address: string | null;
101
+ is_primary: boolean;
102
+ last_seen_at: string;
103
+ archived_at: string | null;
104
+ metadata: Record<string, unknown>;
105
+ created_at: string;
106
+ }
107
+ export interface MachineTopologyMetadata {
108
+ tailscale_name?: string;
109
+ tailscale_ip?: string;
110
+ lan_address?: string;
111
+ workspace_path?: string;
112
+ git_root?: string;
113
+ arch?: string;
114
+ }
115
+ export interface MachineTopologySummary {
116
+ id: string;
117
+ name: string;
118
+ hostname: string | null;
119
+ platform: string | null;
120
+ ssh_address: string | null;
121
+ is_primary: boolean;
122
+ archived_at: string | null;
123
+ last_seen_at: string;
124
+ stale: boolean;
125
+ stale_minutes: number;
126
+ topology: MachineTopologyMetadata;
127
+ }
128
+ export type MachinePathIssueType = "missing_local_path" | "path_mismatch" | "path_missing";
129
+ export interface MachinePathIssue {
130
+ type: MachinePathIssueType;
131
+ project_id: string;
132
+ project_name: string;
133
+ machine_id?: string;
134
+ machine_name?: string;
135
+ path?: string;
136
+ paths?: Array<{
137
+ machine_id: string;
138
+ machine_name: string;
139
+ path: string;
140
+ }>;
141
+ message: string;
142
+ }
143
+ export interface MachineTopologyDiagnostics {
144
+ generated_at: string;
145
+ stale_after_minutes: number;
146
+ local_machine: Machine | null;
147
+ machines: MachineTopologySummary[];
148
+ stale_machines: MachineTopologySummary[];
149
+ path_issues: MachinePathIssue[];
150
+ }
151
+ export interface MachineRow {
152
+ id: string;
153
+ name: string;
154
+ hostname: string | null;
155
+ platform: string | null;
156
+ ssh_address: string | null;
157
+ is_primary: number;
158
+ last_seen_at: string;
159
+ archived_at: string | null;
160
+ metadata: string | null;
161
+ created_at: string;
162
+ }
163
+ export type AgentStatus = "active" | "archived";
164
+ export interface Agent {
165
+ id: string;
166
+ name: string;
167
+ description: string | null;
168
+ role: string | null;
169
+ title: string | null;
170
+ level: string | null;
171
+ permissions: string[];
172
+ reports_to: string | null;
173
+ org_id: string | null;
174
+ capabilities: string[];
175
+ status: AgentStatus;
176
+ metadata: Record<string, unknown>;
177
+ created_at: string;
178
+ last_seen_at: string;
179
+ session_id: string | null;
180
+ working_dir: string | null;
181
+ active_project_id: string | null;
182
+ }
183
+ export interface AgentRow {
184
+ id: string;
185
+ name: string;
186
+ description: string | null;
187
+ role: string | null;
188
+ title: string | null;
189
+ level: string | null;
190
+ permissions: string | null;
191
+ capabilities: string | null;
192
+ reports_to: string | null;
193
+ org_id: string | null;
194
+ status: string;
195
+ metadata: string | null;
196
+ created_at: string;
197
+ last_seen_at: string;
198
+ session_id: string | null;
199
+ working_dir: string | null;
200
+ active_project_id: string | null;
201
+ }
202
+ export interface RegisterAgentInput {
203
+ name: string;
204
+ description?: string;
205
+ role?: string;
206
+ title?: string;
207
+ level?: string;
208
+ pool?: string[];
209
+ permissions?: string[];
210
+ capabilities?: string[];
211
+ reports_to?: string;
212
+ org_id?: string;
213
+ metadata?: Record<string, unknown>;
214
+ session_id?: string;
215
+ working_dir?: string;
216
+ project_id?: string;
217
+ force?: boolean;
218
+ }
219
+ export interface AgentConflictError {
220
+ conflict: true;
221
+ existing_id: string;
222
+ existing_name: string;
223
+ last_seen_at: string;
224
+ session_hint: string | null;
225
+ working_dir: string | null;
226
+ message: string;
227
+ suggestions?: string[];
228
+ }
229
+ export interface ApiKey {
230
+ id: string;
231
+ name: string;
232
+ prefix: string;
233
+ permissions: string[];
234
+ created_at: string;
235
+ last_used_at: string | null;
236
+ expires_at: string | null;
237
+ revoked_at: string | null;
238
+ }
239
+ export interface TaskList {
240
+ id: string;
241
+ project_id: string | null;
242
+ slug: string;
243
+ name: string;
244
+ description: string | null;
245
+ metadata: Record<string, unknown>;
246
+ created_at: string;
247
+ updated_at: string;
248
+ }
249
+ export interface TaskListRow {
250
+ id: string;
251
+ project_id: string | null;
252
+ slug: string;
253
+ name: string;
254
+ description: string | null;
255
+ metadata: string | null;
256
+ created_at: string;
257
+ updated_at: string;
258
+ }
259
+ export interface CreateTaskListInput {
260
+ name: string;
261
+ slug?: string;
262
+ project_id?: string;
263
+ description?: string;
264
+ metadata?: Record<string, unknown>;
265
+ }
266
+ export interface UpdateTaskListInput {
267
+ name?: string;
268
+ description?: string;
269
+ metadata?: Record<string, unknown>;
270
+ }
271
+ export interface Task {
272
+ id: string;
273
+ short_id: string | null;
274
+ project_id: string | null;
275
+ parent_id: string | null;
276
+ plan_id: string | null;
277
+ task_list_id: string | null;
278
+ title: string;
279
+ description: string | null;
280
+ status: TaskStatus;
281
+ priority: TaskPriority;
282
+ agent_id: string | null;
283
+ assigned_to: string | null;
284
+ session_id: string | null;
285
+ working_dir: string | null;
286
+ tags: string[];
287
+ metadata: Record<string, unknown>;
288
+ version: number;
289
+ locked_by: string | null;
290
+ locked_at: string | null;
291
+ created_at: string;
292
+ updated_at: string;
293
+ started_at: string | null;
294
+ completed_at: string | null;
295
+ due_at: string | null;
296
+ estimated_minutes: number | null;
297
+ actual_minutes: number | null;
298
+ requires_approval: boolean;
299
+ approved_by: string | null;
300
+ approved_at: string | null;
301
+ recurrence_rule: string | null;
302
+ recurrence_parent_id: string | null;
303
+ spawns_template_id: string | null;
304
+ confidence: number | null;
305
+ reason: string | null;
306
+ spawned_from_session: string | null;
307
+ assigned_by: string | null;
308
+ assigned_from_project: string | null;
309
+ task_type: string | null;
310
+ cost_tokens: number;
311
+ cost_usd: number;
312
+ delegated_from: string | null;
313
+ delegation_depth: number;
314
+ retry_count: number;
315
+ max_retries: number;
316
+ retry_after: string | null;
317
+ sla_minutes: number | null;
318
+ runner_id: string | null;
319
+ runner_started_at: string | null;
320
+ runner_completed_at: string | null;
321
+ current_step: string | null;
322
+ total_steps: number | null;
323
+ }
324
+ export interface ChecklistItem {
325
+ id: string;
326
+ task_id: string;
327
+ position: number;
328
+ text: string;
329
+ checked: boolean;
330
+ created_at: string;
331
+ updated_at: string;
332
+ }
333
+ export interface ChecklistItemRow {
334
+ id: string;
335
+ task_id: string;
336
+ position: number;
337
+ text: string;
338
+ checked: number;
339
+ created_at: string;
340
+ updated_at: string;
341
+ }
342
+ export interface CreateChecklistItemInput {
343
+ task_id: string;
344
+ text: string;
345
+ position?: number;
346
+ }
347
+ export interface TaskWithRelations extends Task {
348
+ subtasks: Task[];
349
+ dependencies: Task[];
350
+ blocked_by: Task[];
351
+ comments: TaskComment[];
352
+ parent: Task | null;
353
+ checklist: ChecklistItem[];
354
+ }
355
+ export interface CreateTaskInput {
356
+ title: string;
357
+ description?: string;
358
+ project_id?: string;
359
+ parent_id?: string;
360
+ plan_id?: string;
361
+ task_list_id?: string;
362
+ cycle_id?: string;
363
+ status?: TaskStatus;
364
+ priority?: TaskPriority;
365
+ agent_id?: string;
366
+ assigned_to?: string;
367
+ session_id?: string;
368
+ working_dir?: string;
369
+ tags?: string[];
370
+ metadata?: Record<string, unknown>;
371
+ due_at?: string;
372
+ estimated_minutes?: number;
373
+ sla_minutes?: number;
374
+ confidence?: number;
375
+ retry_count?: number;
376
+ max_retries?: number;
377
+ retry_after?: string | null;
378
+ requires_approval?: boolean;
379
+ recurrence_rule?: string;
380
+ recurrence_parent_id?: string;
381
+ spawns_template_id?: string;
382
+ reason?: string;
383
+ spawned_from_session?: string;
384
+ assigned_by?: string;
385
+ assigned_from_project?: string;
386
+ task_type?: string;
387
+ }
388
+ export interface UpdateTaskInput {
389
+ title?: string;
390
+ description?: string;
391
+ status?: TaskStatus;
392
+ priority?: TaskPriority;
393
+ project_id?: string | null;
394
+ assigned_to?: string;
395
+ plan_id?: string | null;
396
+ task_list_id?: string;
397
+ cycle_id?: string | null;
398
+ tags?: string[];
399
+ metadata?: Record<string, unknown>;
400
+ due_at?: string | null;
401
+ estimated_minutes?: number;
402
+ sla_minutes?: number | null;
403
+ actual_minutes?: number;
404
+ completed_at?: string | null;
405
+ confidence?: number | null;
406
+ retry_count?: number;
407
+ max_retries?: number;
408
+ retry_after?: string | null;
409
+ requires_approval?: boolean;
410
+ approved_by?: string;
411
+ recurrence_rule?: string | null;
412
+ version: number;
413
+ task_type?: string | null;
414
+ }
415
+ export interface TaskFilter {
416
+ project_id?: string;
417
+ parent_id?: string | null;
418
+ plan_id?: string;
419
+ task_list_id?: string;
420
+ /** Filter to specific task IDs. When provided, only matching tasks are returned. */
421
+ ids?: string[];
422
+ status?: TaskStatus | TaskStatus[];
423
+ priority?: TaskPriority | TaskPriority[];
424
+ assigned_to?: string;
425
+ agent_id?: string;
426
+ session_id?: string;
427
+ tags?: string[];
428
+ has_recurrence?: boolean;
429
+ include_subtasks?: boolean;
430
+ task_type?: string | string[];
431
+ limit?: number;
432
+ offset?: number;
433
+ /** Opaque cursor from a prior list_tasks response — stable pagination that survives concurrent mutations */
434
+ cursor?: string;
435
+ /** When true, include archived tasks. Default: false (archived tasks excluded) */
436
+ include_archived?: boolean;
437
+ }
438
+ export interface TaskDependency {
439
+ task_id: string;
440
+ depends_on: string;
441
+ external_project_id?: string | null;
442
+ external_task_id?: string | null;
443
+ }
444
+ export interface TaskTimeLog {
445
+ id: string;
446
+ task_id: string;
447
+ run_id: string | null;
448
+ focus_session_id: string | null;
449
+ agent_id: string | null;
450
+ started_at: string | null;
451
+ ended_at: string | null;
452
+ minutes: number;
453
+ notes: string | null;
454
+ created_at: string;
455
+ }
456
+ export type FocusSessionStatus = "active" | "paused" | "completed" | "cancelled";
457
+ export interface FocusSession {
458
+ id: string;
459
+ task_id: string | null;
460
+ plan_id: string | null;
461
+ run_id: string | null;
462
+ agent_id: string | null;
463
+ title: string | null;
464
+ status: FocusSessionStatus;
465
+ started_at: string;
466
+ last_resumed_at: string | null;
467
+ paused_at: string | null;
468
+ ended_at: string | null;
469
+ actual_minutes: number;
470
+ idle_after_minutes: number | null;
471
+ notes: string | null;
472
+ metadata: Record<string, unknown>;
473
+ created_at: string;
474
+ updated_at: string;
475
+ }
476
+ export interface FocusSessionRow {
477
+ id: string;
478
+ task_id: string | null;
479
+ plan_id: string | null;
480
+ run_id: string | null;
481
+ agent_id: string | null;
482
+ title: string | null;
483
+ status: FocusSessionStatus;
484
+ started_at: string;
485
+ last_resumed_at: string | null;
486
+ paused_at: string | null;
487
+ ended_at: string | null;
488
+ actual_minutes: number;
489
+ idle_after_minutes: number | null;
490
+ notes: string | null;
491
+ metadata: string | null;
492
+ created_at: string;
493
+ updated_at: string;
494
+ }
495
+ export type BoardScope = "tasks" | "plans";
496
+ export interface BoardLane {
497
+ id: string;
498
+ name: string;
499
+ statuses: string[];
500
+ wip_limit: number | null;
501
+ position: number;
502
+ }
503
+ export interface TaskBoard {
504
+ id: string;
505
+ name: string;
506
+ scope: BoardScope;
507
+ project_id: string | null;
508
+ task_list_id: string | null;
509
+ plan_id: string | null;
510
+ agent_id: string | null;
511
+ lanes: BoardLane[];
512
+ filters: Record<string, unknown>;
513
+ created_at: string;
514
+ updated_at: string;
515
+ }
516
+ export interface TaskBoardRow {
517
+ id: string;
518
+ name: string;
519
+ scope: BoardScope;
520
+ project_id: string | null;
521
+ task_list_id: string | null;
522
+ plan_id: string | null;
523
+ agent_id: string | null;
524
+ lanes: string | null;
525
+ filters: string | null;
526
+ created_at: string;
527
+ updated_at: string;
528
+ }
529
+ export interface BoardCard {
530
+ id: string;
531
+ short_id: string | null;
532
+ title: string;
533
+ status: string;
534
+ priority: TaskPriority | null;
535
+ project_id: string | null;
536
+ plan_id: string | null;
537
+ task_list_id: string | null;
538
+ assigned_to: string | null;
539
+ blocked: boolean;
540
+ ready: boolean;
541
+ badges: string[];
542
+ updated_at: string;
543
+ }
544
+ export interface BoardLaneSnapshot {
545
+ lane: BoardLane;
546
+ count: number;
547
+ wip_limit: number | null;
548
+ wip_exceeded: boolean;
549
+ cards: BoardCard[];
550
+ }
551
+ export interface BoardSnapshot {
552
+ board: TaskBoard;
553
+ generated_at: string;
554
+ lanes: BoardLaneSnapshot[];
555
+ totals: {
556
+ cards: number;
557
+ blocked: number;
558
+ ready: number;
559
+ wip_exceeded_lanes: number;
560
+ };
561
+ keyboard: {
562
+ move_left: string;
563
+ move_right: string;
564
+ move_up: string;
565
+ move_down: string;
566
+ open: string;
567
+ quit: string;
568
+ };
569
+ }
570
+ export type CalendarEventKind = "task_due" | "task_sla" | "task_reminder" | "milestone" | "work_block" | "run" | "imported";
571
+ export interface LocalCalendarItem {
572
+ id: string;
573
+ kind: CalendarEventKind;
574
+ title: string;
575
+ description: string | null;
576
+ starts_at: string;
577
+ ends_at: string | null;
578
+ timezone: string | null;
579
+ project_id: string | null;
580
+ task_id: string | null;
581
+ plan_id: string | null;
582
+ run_id: string | null;
583
+ recurrence_rule: string | null;
584
+ metadata: Record<string, unknown>;
585
+ created_at: string;
586
+ updated_at: string;
587
+ }
588
+ export interface LocalCalendarItemRow {
589
+ id: string;
590
+ kind: CalendarEventKind;
591
+ title: string;
592
+ description: string | null;
593
+ starts_at: string;
594
+ ends_at: string | null;
595
+ timezone: string | null;
596
+ project_id: string | null;
597
+ task_id: string | null;
598
+ plan_id: string | null;
599
+ run_id: string | null;
600
+ recurrence_rule: string | null;
601
+ metadata: string | null;
602
+ created_at: string;
603
+ updated_at: string;
604
+ }
605
+ export interface CalendarEvent {
606
+ id: string;
607
+ kind: CalendarEventKind;
608
+ title: string;
609
+ description: string | null;
610
+ starts_at: string;
611
+ ends_at: string | null;
612
+ timezone: string | null;
613
+ project_id: string | null;
614
+ task_id: string | null;
615
+ plan_id: string | null;
616
+ run_id: string | null;
617
+ recurrence_rule: string | null;
618
+ source: "task" | "run" | "local";
619
+ badges: string[];
620
+ metadata: Record<string, unknown>;
621
+ }
622
+ export interface TaskWatcher {
623
+ id: string;
624
+ task_id: string;
625
+ agent_id: string;
626
+ created_at: string;
627
+ }
628
+ export interface TaskWatcherRow {
629
+ id: string;
630
+ task_id: string;
631
+ agent_id: string;
632
+ created_at: string;
633
+ }
634
+ export interface TaskComment {
635
+ id: string;
636
+ task_id: string;
637
+ agent_id: string | null;
638
+ session_id: string | null;
639
+ content: string;
640
+ type: 'comment' | 'progress' | 'note';
641
+ progress_pct: number | null;
642
+ created_at: string;
643
+ }
644
+ export interface CreateCommentInput {
645
+ task_id: string;
646
+ content: string;
647
+ agent_id?: string;
648
+ session_id?: string;
649
+ type?: 'comment' | 'progress' | 'note';
650
+ progress_pct?: number;
651
+ }
652
+ export interface Session {
653
+ id: string;
654
+ agent_id: string | null;
655
+ project_id: string | null;
656
+ working_dir: string | null;
657
+ started_at: string;
658
+ last_activity: string;
659
+ metadata: Record<string, unknown>;
660
+ }
661
+ export interface CreateSessionInput {
662
+ agent_id?: string;
663
+ project_id?: string;
664
+ working_dir?: string;
665
+ metadata?: Record<string, unknown>;
666
+ }
667
+ export interface TaskRow {
668
+ id: string;
669
+ short_id: string | null;
670
+ project_id: string | null;
671
+ parent_id: string | null;
672
+ plan_id: string | null;
673
+ task_list_id: string | null;
674
+ title: string;
675
+ description: string | null;
676
+ status: string;
677
+ priority: string;
678
+ agent_id: string | null;
679
+ assigned_to: string | null;
680
+ session_id: string | null;
681
+ working_dir: string | null;
682
+ tags: string | null;
683
+ metadata: string | null;
684
+ version: number;
685
+ locked_by: string | null;
686
+ locked_at: string | null;
687
+ created_at: string;
688
+ updated_at: string;
689
+ started_at: string | null;
690
+ completed_at: string | null;
691
+ due_at: string | null;
692
+ estimated_minutes: number | null;
693
+ requires_approval: number;
694
+ approved_by: string | null;
695
+ approved_at: string | null;
696
+ recurrence_rule: string | null;
697
+ recurrence_parent_id: string | null;
698
+ spawns_template_id: string | null;
699
+ confidence: number | null;
700
+ reason: string | null;
701
+ spawned_from_session: string | null;
702
+ assigned_by: string | null;
703
+ assigned_from_project: string | null;
704
+ task_type: string | null;
705
+ cost_tokens: number;
706
+ cost_usd: number;
707
+ delegated_from: string | null;
708
+ delegation_depth: number;
709
+ retry_count: number;
710
+ max_retries: number;
711
+ retry_after: string | null;
712
+ sla_minutes: number | null;
713
+ actual_minutes: number | null;
714
+ runner_id: string | null;
715
+ runner_started_at: string | null;
716
+ runner_completed_at: string | null;
717
+ current_step: string | null;
718
+ total_steps: number | null;
719
+ }
720
+ export interface SessionRow {
721
+ id: string;
722
+ agent_id: string | null;
723
+ project_id: string | null;
724
+ working_dir: string | null;
725
+ started_at: string;
726
+ last_activity: string;
727
+ metadata: string | null;
728
+ }
729
+ export interface LockResult {
730
+ success: boolean;
731
+ locked_by?: string;
732
+ locked_at?: string;
733
+ expires_at?: string;
734
+ error?: string;
735
+ }
736
+ export interface TaskHistory {
737
+ id: string;
738
+ task_id: string;
739
+ action: string;
740
+ field: string | null;
741
+ old_value: string | null;
742
+ new_value: string | null;
743
+ agent_id: string | null;
744
+ created_at: string;
745
+ }
746
+ export interface Webhook {
747
+ id: string;
748
+ url: string;
749
+ events: string[];
750
+ secret: string | null;
751
+ active: boolean;
752
+ project_id: string | null;
753
+ task_list_id: string | null;
754
+ agent_id: string | null;
755
+ task_id: string | null;
756
+ created_at: string;
757
+ }
758
+ export interface CreateWebhookInput {
759
+ url: string;
760
+ events?: string[];
761
+ secret?: string;
762
+ project_id?: string;
763
+ task_list_id?: string;
764
+ agent_id?: string;
765
+ task_id?: string;
766
+ }
767
+ export interface TemplateVariable {
768
+ name: string;
769
+ required: boolean;
770
+ default?: string;
771
+ description?: string;
772
+ }
773
+ export interface TaskTemplate {
774
+ id: string;
775
+ name: string;
776
+ title_pattern: string;
777
+ description: string | null;
778
+ priority: TaskPriority;
779
+ tags: string[];
780
+ variables: TemplateVariable[];
781
+ version: number;
782
+ project_id: string | null;
783
+ plan_id: string | null;
784
+ metadata: Record<string, unknown>;
785
+ created_at: string;
786
+ }
787
+ export interface CreateTemplateInput {
788
+ name: string;
789
+ title_pattern: string;
790
+ description?: string;
791
+ priority?: TaskPriority;
792
+ tags?: string[];
793
+ variables?: TemplateVariable[];
794
+ project_id?: string;
795
+ plan_id?: string;
796
+ metadata?: Record<string, unknown>;
797
+ tasks?: TemplateTaskInput[];
798
+ }
799
+ export interface TemplateTask {
800
+ id: string;
801
+ template_id: string;
802
+ position: number;
803
+ title_pattern: string;
804
+ description: string | null;
805
+ priority: TaskPriority;
806
+ tags: string[];
807
+ task_type: string | null;
808
+ condition: string | null;
809
+ include_template_id: string | null;
810
+ depends_on_positions: number[];
811
+ metadata: Record<string, unknown>;
812
+ created_at: string;
813
+ }
814
+ export interface TemplateTaskInput {
815
+ title_pattern: string;
816
+ description?: string;
817
+ priority?: TaskPriority;
818
+ tags?: string[];
819
+ task_type?: string;
820
+ condition?: string;
821
+ include_template_id?: string;
822
+ depends_on?: number[];
823
+ metadata?: Record<string, unknown>;
824
+ }
825
+ export interface TemplateWithTasks extends TaskTemplate {
826
+ tasks: TemplateTask[];
827
+ }
828
+ export interface TemplateVersion {
829
+ id: string;
830
+ template_id: string;
831
+ version: number;
832
+ snapshot: string;
833
+ created_at: string;
834
+ }
835
+ export declare class VersionConflictError extends Error {
836
+ taskId: string;
837
+ expectedVersion: number;
838
+ actualVersion: number;
839
+ static readonly code = "VERSION_CONFLICT";
840
+ static readonly suggestion = "Fetch the task with get_task to get the current version before updating.";
841
+ constructor(taskId: string, expectedVersion: number, actualVersion: number);
842
+ }
843
+ export declare class TaskNotFoundError extends Error {
844
+ taskId: string;
845
+ static readonly code = "TASK_NOT_FOUND";
846
+ static readonly suggestion = "Verify the task ID. Use list_tasks or search_tasks to find the correct ID.";
847
+ constructor(taskId: string);
848
+ }
849
+ export declare class ProjectNotFoundError extends Error {
850
+ projectId: string;
851
+ static readonly code = "PROJECT_NOT_FOUND";
852
+ static readonly suggestion = "Use list_projects to see available projects.";
853
+ constructor(projectId: string);
854
+ }
855
+ export declare class PlanNotFoundError extends Error {
856
+ planId: string;
857
+ static readonly code = "PLAN_NOT_FOUND";
858
+ static readonly suggestion = "Use list_plans to see available plans.";
859
+ constructor(planId: string);
860
+ }
861
+ export declare class LockError extends Error {
862
+ taskId: string;
863
+ lockedBy: string;
864
+ static readonly code = "LOCK_ERROR";
865
+ static readonly suggestion = "Wait for the lock to expire (30 min) or contact the lock holder.";
866
+ constructor(taskId: string, lockedBy: string);
867
+ }
868
+ export declare class AgentNotFoundError extends Error {
869
+ agentId: string;
870
+ static readonly code = "AGENT_NOT_FOUND";
871
+ static readonly suggestion = "Use register_agent to create the agent first, or list_agents to find existing ones.";
872
+ constructor(agentId: string);
873
+ }
874
+ export declare class TaskListNotFoundError extends Error {
875
+ taskListId: string;
876
+ static readonly code = "TASK_LIST_NOT_FOUND";
877
+ static readonly suggestion = "Use list_task_lists to see available lists.";
878
+ constructor(taskListId: string);
879
+ }
880
+ export declare class DependencyCycleError extends Error {
881
+ taskId: string;
882
+ dependsOn: string;
883
+ static readonly code = "DEPENDENCY_CYCLE";
884
+ static readonly suggestion = "Check the dependency chain with get_task to avoid circular references.";
885
+ constructor(taskId: string, dependsOn: string);
886
+ }
887
+ export declare class CompletionGuardError extends Error {
888
+ reason: string;
889
+ retryAfterSeconds?: number | undefined;
890
+ static readonly code = "COMPLETION_BLOCKED";
891
+ static readonly suggestion = "Wait for the cooldown period, then retry.";
892
+ constructor(reason: string, retryAfterSeconds?: number | undefined);
893
+ }
894
+ export declare const DISPATCH_STATUSES: readonly ["pending", "sent", "failed", "cancelled"];
895
+ export type DispatchStatus = (typeof DISPATCH_STATUSES)[number];
896
+ /** Parsed tmux target: session:window.pane (all parts optional except window) */
897
+ export interface TmuxTarget {
898
+ session: string | null;
899
+ window: string;
900
+ pane: string | null;
901
+ /** Original spec string, e.g. "main", "work:1", "work:1.0" */
902
+ raw: string;
903
+ }
904
+ export interface Dispatch {
905
+ id: string;
906
+ title: string | null;
907
+ target_window: string;
908
+ task_ids: string[];
909
+ task_list_id: string | null;
910
+ /** Pre-formatted message, or null to format at send time */
911
+ message: string | null;
912
+ /** Delay in ms between send and Enter. null = auto-calculated */
913
+ delay_ms: number | null;
914
+ scheduled_at: string | null;
915
+ status: DispatchStatus;
916
+ error: string | null;
917
+ created_at: string;
918
+ sent_at: string | null;
919
+ }
920
+ export interface DispatchRow {
921
+ id: string;
922
+ title: string | null;
923
+ target_window: string;
924
+ task_ids: string;
925
+ task_list_id: string | null;
926
+ message: string | null;
927
+ delay_ms: number | null;
928
+ scheduled_at: string | null;
929
+ status: string;
930
+ error: string | null;
931
+ created_at: string;
932
+ sent_at: string | null;
933
+ }
934
+ export interface DispatchLog {
935
+ id: string;
936
+ dispatch_id: string;
937
+ target_window: string;
938
+ message: string;
939
+ delay_ms: number;
940
+ status: "sent" | "failed";
941
+ error: string | null;
942
+ created_at: string;
943
+ }
944
+ export interface CreateDispatchInput {
945
+ title?: string;
946
+ target_window: string;
947
+ task_ids?: string[];
948
+ task_list_id?: string;
949
+ /** Pre-format the message. If omitted, formatted at send time from task_ids/task_list_id. */
950
+ message?: string;
951
+ /** Explicit delay in ms. If omitted, auto-calculated from message length. */
952
+ delay_ms?: number;
953
+ /** ISO string. If omitted, dispatch is immediate. */
954
+ scheduled_at?: string;
955
+ }
956
+ export interface ListDispatchesFilter {
957
+ status?: DispatchStatus | DispatchStatus[];
958
+ limit?: number;
959
+ offset?: number;
960
+ }
961
+ export declare class DispatchNotFoundError extends Error {
962
+ dispatchId: string;
963
+ static readonly code = "DISPATCH_NOT_FOUND";
964
+ static readonly suggestion = "Check the dispatch ID with list_dispatches.";
965
+ constructor(dispatchId: string);
966
+ }
967
+ /** Compact task representation returned by list endpoints */
968
+ export interface TaskSummary {
969
+ id: string;
970
+ short_id: string | null;
971
+ title: string;
972
+ description: string | null;
973
+ status: TaskStatus;
974
+ priority: TaskPriority;
975
+ project_id: string | null;
976
+ plan_id: string | null;
977
+ task_list_id: string | null;
978
+ agent_id: string | null;
979
+ assigned_to: string | null;
980
+ locked_by: string | null;
981
+ tags: string[];
982
+ version: number;
983
+ created_at: string;
984
+ updated_at: string;
985
+ completed_at: string | null;
986
+ due_at: string | null;
987
+ recurrence_rule: string | null;
988
+ }
989
+ /** Progress log entry for a task */
990
+ export interface ProgressEntry {
991
+ id: string;
992
+ task_id: string;
993
+ content: string;
994
+ type: "comment" | "progress" | "note";
995
+ progress_pct: number | null;
996
+ agent_id: string | null;
997
+ created_at: string;
998
+ }
999
+ /** Dashboard statistics */
1000
+ export interface DashboardStats {
1001
+ total_tasks: number;
1002
+ pending: number;
1003
+ in_progress: number;
1004
+ completed: number;
1005
+ failed: number;
1006
+ cancelled: number;
1007
+ projects: number;
1008
+ agents: number;
1009
+ stale_count?: number;
1010
+ overdue_recurring?: number;
1011
+ recurring_tasks?: number;
1012
+ }
1013
+ /** Task status summary response */
1014
+ export interface StatusSummaryResponse {
1015
+ pending: number;
1016
+ in_progress: number;
1017
+ completed: number;
1018
+ total: number;
1019
+ active_work: {
1020
+ id: string;
1021
+ short_id: string | null;
1022
+ title: string;
1023
+ priority: string;
1024
+ assigned_to: string | null;
1025
+ locked_by: string | null;
1026
+ updated_at: string;
1027
+ }[];
1028
+ next_task: TaskSummary | null;
1029
+ stale_count: number;
1030
+ overdue_recurring: number;
1031
+ }
1032
+ //# sourceMappingURL=index.d.ts.map