@scardis/omnifocus-mcp 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (387) hide show
  1. package/.claude/commands/opsx/apply.md +152 -0
  2. package/.claude/commands/opsx/archive.md +157 -0
  3. package/.claude/commands/opsx/bulk-archive.md +242 -0
  4. package/.claude/commands/opsx/continue.md +114 -0
  5. package/.claude/commands/opsx/explore.md +173 -0
  6. package/.claude/commands/opsx/ff.md +97 -0
  7. package/.claude/commands/opsx/new.md +69 -0
  8. package/.claude/commands/opsx/onboard.md +550 -0
  9. package/.claude/commands/opsx/propose.md +106 -0
  10. package/.claude/commands/opsx/sync.md +134 -0
  11. package/.claude/commands/opsx/verify.md +164 -0
  12. package/.claude/skills/openspec-apply-change/SKILL.md +156 -0
  13. package/.claude/skills/openspec-archive-change/SKILL.md +114 -0
  14. package/.claude/skills/openspec-bulk-archive-change/SKILL.md +246 -0
  15. package/.claude/skills/openspec-continue-change/SKILL.md +118 -0
  16. package/.claude/skills/openspec-explore/SKILL.md +288 -0
  17. package/.claude/skills/openspec-ff-change/SKILL.md +101 -0
  18. package/.claude/skills/openspec-new-change/SKILL.md +74 -0
  19. package/.claude/skills/openspec-onboard/SKILL.md +554 -0
  20. package/.claude/skills/openspec-propose/SKILL.md +110 -0
  21. package/.claude/skills/openspec-sync-specs/SKILL.md +138 -0
  22. package/.claude/skills/openspec-verify-change/SKILL.md +168 -0
  23. package/CONTRIBUTING.md +83 -0
  24. package/LICENSE +21 -0
  25. package/README.md +198 -0
  26. package/dist/runtime/bridge.d.ts +16 -0
  27. package/dist/runtime/bridge.d.ts.map +1 -0
  28. package/dist/runtime/bridge.js +76 -0
  29. package/dist/runtime/bridge.js.map +1 -0
  30. package/dist/runtime/index.d.ts +5 -0
  31. package/dist/runtime/index.d.ts.map +1 -0
  32. package/dist/runtime/index.js +5 -0
  33. package/dist/runtime/index.js.map +1 -0
  34. package/dist/runtime/jxaShim.d.ts +21 -0
  35. package/dist/runtime/jxaShim.d.ts.map +1 -0
  36. package/dist/runtime/jxaShim.js +55 -0
  37. package/dist/runtime/jxaShim.js.map +1 -0
  38. package/dist/runtime/resultProtocol.d.ts +66 -0
  39. package/dist/runtime/resultProtocol.d.ts.map +1 -0
  40. package/dist/runtime/resultProtocol.js +52 -0
  41. package/dist/runtime/resultProtocol.js.map +1 -0
  42. package/dist/runtime/snippetLoader.d.ts +4 -0
  43. package/dist/runtime/snippetLoader.d.ts.map +1 -0
  44. package/dist/runtime/snippetLoader.js +68 -0
  45. package/dist/runtime/snippetLoader.js.map +1 -0
  46. package/dist/schemas/enums.d.ts +9 -0
  47. package/dist/schemas/enums.d.ts.map +1 -0
  48. package/dist/schemas/enums.js +26 -0
  49. package/dist/schemas/enums.js.map +1 -0
  50. package/dist/schemas/index.d.ts +3 -0
  51. package/dist/schemas/index.d.ts.map +1 -0
  52. package/dist/schemas/index.js +3 -0
  53. package/dist/schemas/index.js.map +1 -0
  54. package/dist/schemas/shapes.d.ts +726 -0
  55. package/dist/schemas/shapes.d.ts.map +1 -0
  56. package/dist/schemas/shapes.js +221 -0
  57. package/dist/schemas/shapes.js.map +1 -0
  58. package/dist/server.d.ts +2 -0
  59. package/dist/server.d.ts.map +1 -0
  60. package/dist/server.js +50 -0
  61. package/dist/server.js.map +1 -0
  62. package/dist/tools/completeProject.d.ts +24 -0
  63. package/dist/tools/completeProject.d.ts.map +1 -0
  64. package/dist/tools/completeProject.js +17 -0
  65. package/dist/tools/completeProject.js.map +1 -0
  66. package/dist/tools/completeTask.d.ts +25 -0
  67. package/dist/tools/completeTask.d.ts.map +1 -0
  68. package/dist/tools/completeTask.js +17 -0
  69. package/dist/tools/completeTask.js.map +1 -0
  70. package/dist/tools/createFolder.d.ts +20 -0
  71. package/dist/tools/createFolder.d.ts.map +1 -0
  72. package/dist/tools/createFolder.js +13 -0
  73. package/dist/tools/createFolder.js.map +1 -0
  74. package/dist/tools/createProject.d.ts +59 -0
  75. package/dist/tools/createProject.d.ts.map +1 -0
  76. package/dist/tools/createProject.js +13 -0
  77. package/dist/tools/createProject.js.map +1 -0
  78. package/dist/tools/createTag.d.ts +20 -0
  79. package/dist/tools/createTag.d.ts.map +1 -0
  80. package/dist/tools/createTag.js +13 -0
  81. package/dist/tools/createTag.js.map +1 -0
  82. package/dist/tools/createTask.d.ts +116 -0
  83. package/dist/tools/createTask.d.ts.map +1 -0
  84. package/dist/tools/createTask.js +13 -0
  85. package/dist/tools/createTask.js.map +1 -0
  86. package/dist/tools/deleteFolder.d.ts +30 -0
  87. package/dist/tools/deleteFolder.d.ts.map +1 -0
  88. package/dist/tools/deleteFolder.js +18 -0
  89. package/dist/tools/deleteFolder.js.map +1 -0
  90. package/dist/tools/deleteProject.d.ts +30 -0
  91. package/dist/tools/deleteProject.d.ts.map +1 -0
  92. package/dist/tools/deleteProject.js +18 -0
  93. package/dist/tools/deleteProject.js.map +1 -0
  94. package/dist/tools/deleteTag.d.ts +30 -0
  95. package/dist/tools/deleteTag.d.ts.map +1 -0
  96. package/dist/tools/deleteTag.js +18 -0
  97. package/dist/tools/deleteTag.js.map +1 -0
  98. package/dist/tools/deleteTask.d.ts +31 -0
  99. package/dist/tools/deleteTask.d.ts.map +1 -0
  100. package/dist/tools/deleteTask.js +18 -0
  101. package/dist/tools/deleteTask.js.map +1 -0
  102. package/dist/tools/dropProject.d.ts +24 -0
  103. package/dist/tools/dropProject.d.ts.map +1 -0
  104. package/dist/tools/dropProject.js +17 -0
  105. package/dist/tools/dropProject.js.map +1 -0
  106. package/dist/tools/dropTask.d.ts +25 -0
  107. package/dist/tools/dropTask.d.ts.map +1 -0
  108. package/dist/tools/dropTask.js +17 -0
  109. package/dist/tools/dropTask.js.map +1 -0
  110. package/dist/tools/editFolder.d.ts +20 -0
  111. package/dist/tools/editFolder.d.ts.map +1 -0
  112. package/dist/tools/editFolder.js +13 -0
  113. package/dist/tools/editFolder.js.map +1 -0
  114. package/dist/tools/editProject.d.ts +59 -0
  115. package/dist/tools/editProject.d.ts.map +1 -0
  116. package/dist/tools/editProject.js +13 -0
  117. package/dist/tools/editProject.js.map +1 -0
  118. package/dist/tools/editTag.d.ts +31 -0
  119. package/dist/tools/editTag.d.ts.map +1 -0
  120. package/dist/tools/editTag.js +13 -0
  121. package/dist/tools/editTag.js.map +1 -0
  122. package/dist/tools/editTask.d.ts +79 -0
  123. package/dist/tools/editTask.d.ts.map +1 -0
  124. package/dist/tools/editTask.js +13 -0
  125. package/dist/tools/editTask.js.map +1 -0
  126. package/dist/tools/getFolder.d.ts +24 -0
  127. package/dist/tools/getFolder.d.ts.map +1 -0
  128. package/dist/tools/getFolder.js +17 -0
  129. package/dist/tools/getFolder.js.map +1 -0
  130. package/dist/tools/getProject.d.ts +24 -0
  131. package/dist/tools/getProject.d.ts.map +1 -0
  132. package/dist/tools/getProject.js +17 -0
  133. package/dist/tools/getProject.js.map +1 -0
  134. package/dist/tools/getTag.d.ts +24 -0
  135. package/dist/tools/getTag.d.ts.map +1 -0
  136. package/dist/tools/getTag.js +17 -0
  137. package/dist/tools/getTag.js.map +1 -0
  138. package/dist/tools/getTask.d.ts +24 -0
  139. package/dist/tools/getTask.d.ts.map +1 -0
  140. package/dist/tools/getTask.js +17 -0
  141. package/dist/tools/getTask.js.map +1 -0
  142. package/dist/tools/index.d.ts +732 -0
  143. package/dist/tools/index.d.ts.map +1 -0
  144. package/dist/tools/index.js +84 -0
  145. package/dist/tools/index.js.map +1 -0
  146. package/dist/tools/listFolders.d.ts +50 -0
  147. package/dist/tools/listFolders.d.ts.map +1 -0
  148. package/dist/tools/listFolders.js +21 -0
  149. package/dist/tools/listFolders.js.map +1 -0
  150. package/dist/tools/listProjects.d.ts +70 -0
  151. package/dist/tools/listProjects.d.ts.map +1 -0
  152. package/dist/tools/listProjects.js +21 -0
  153. package/dist/tools/listProjects.js.map +1 -0
  154. package/dist/tools/listTags.d.ts +50 -0
  155. package/dist/tools/listTags.d.ts.map +1 -0
  156. package/dist/tools/listTags.js +21 -0
  157. package/dist/tools/listTags.js.map +1 -0
  158. package/dist/tools/listTasks.d.ts +156 -0
  159. package/dist/tools/listTasks.d.ts.map +1 -0
  160. package/dist/tools/listTasks.js +36 -0
  161. package/dist/tools/listTasks.js.map +1 -0
  162. package/dist/tools/moveProject.d.ts +20 -0
  163. package/dist/tools/moveProject.d.ts.map +1 -0
  164. package/dist/tools/moveProject.js +13 -0
  165. package/dist/tools/moveProject.js.map +1 -0
  166. package/dist/tools/moveTask.d.ts +31 -0
  167. package/dist/tools/moveTask.d.ts.map +1 -0
  168. package/dist/tools/moveTask.js +13 -0
  169. package/dist/tools/moveTask.js.map +1 -0
  170. package/dist/tools/resolveName.d.ts +36 -0
  171. package/dist/tools/resolveName.d.ts.map +1 -0
  172. package/dist/tools/resolveName.js +26 -0
  173. package/dist/tools/resolveName.js.map +1 -0
  174. package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/.openspec.yaml +2 -0
  175. package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/design.md +162 -0
  176. package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/proposal.md +49 -0
  177. package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/attachments/spec.md +9 -0
  178. package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/batch-operations/spec.md +9 -0
  179. package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/database-inspection/spec.md +9 -0
  180. package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/execution-runtime/spec.md +69 -0
  181. package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/folder-management/spec.md +25 -0
  182. package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/forecast/spec.md +9 -0
  183. package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/identity-resolution/spec.md +45 -0
  184. package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/perspective-management/spec.md +9 -0
  185. package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/project-management/spec.md +25 -0
  186. package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/recurrence/spec.md +9 -0
  187. package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/settings/spec.md +9 -0
  188. package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/tag-management/spec.md +25 -0
  189. package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/task-management/spec.md +29 -0
  190. package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/url-automation/spec.md +9 -0
  191. package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/window-state/spec.md +9 -0
  192. package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/tasks.md +84 -0
  193. package/openspec/changes/archive/2026-04-09-folder-crud/.openspec.yaml +2 -0
  194. package/openspec/changes/archive/2026-04-09-folder-crud/design.md +58 -0
  195. package/openspec/changes/archive/2026-04-09-folder-crud/proposal.md +28 -0
  196. package/openspec/changes/archive/2026-04-09-folder-crud/specs/folder-write/spec.md +45 -0
  197. package/openspec/changes/archive/2026-04-09-folder-crud/tasks.md +41 -0
  198. package/openspec/changes/archive/2026-04-09-folder-tag-list-filtering/.openspec.yaml +2 -0
  199. package/openspec/changes/archive/2026-04-09-folder-tag-list-filtering/design.md +38 -0
  200. package/openspec/changes/archive/2026-04-09-folder-tag-list-filtering/proposal.md +30 -0
  201. package/openspec/changes/archive/2026-04-09-folder-tag-list-filtering/specs/folder-management/spec.md +21 -0
  202. package/openspec/changes/archive/2026-04-09-folder-tag-list-filtering/specs/tag-management/spec.md +21 -0
  203. package/openspec/changes/archive/2026-04-09-folder-tag-list-filtering/tasks.md +35 -0
  204. package/openspec/changes/archive/2026-04-09-move-operations/.openspec.yaml +2 -0
  205. package/openspec/changes/archive/2026-04-09-move-operations/design.md +43 -0
  206. package/openspec/changes/archive/2026-04-09-move-operations/proposal.md +25 -0
  207. package/openspec/changes/archive/2026-04-09-move-operations/specs/move-operations/spec.md +41 -0
  208. package/openspec/changes/archive/2026-04-09-move-operations/tasks.md +40 -0
  209. package/openspec/changes/archive/2026-04-09-project-crud/.openspec.yaml +2 -0
  210. package/openspec/changes/archive/2026-04-09-project-crud/design.md +60 -0
  211. package/openspec/changes/archive/2026-04-09-project-crud/proposal.md +29 -0
  212. package/openspec/changes/archive/2026-04-09-project-crud/specs/project-write/spec.md +74 -0
  213. package/openspec/changes/archive/2026-04-09-project-crud/tasks.md +48 -0
  214. package/openspec/changes/archive/2026-04-09-project-filtering/.openspec.yaml +2 -0
  215. package/openspec/changes/archive/2026-04-09-project-filtering/design.md +52 -0
  216. package/openspec/changes/archive/2026-04-09-project-filtering/proposal.md +26 -0
  217. package/openspec/changes/archive/2026-04-09-project-filtering/specs/project-filtering/spec.md +66 -0
  218. package/openspec/changes/archive/2026-04-09-project-filtering/specs/project-management/spec.md +13 -0
  219. package/openspec/changes/archive/2026-04-09-project-filtering/tasks.md +41 -0
  220. package/openspec/changes/archive/2026-04-09-tag-crud/.openspec.yaml +2 -0
  221. package/openspec/changes/archive/2026-04-09-tag-crud/design.md +45 -0
  222. package/openspec/changes/archive/2026-04-09-tag-crud/proposal.md +28 -0
  223. package/openspec/changes/archive/2026-04-09-tag-crud/specs/tag-write/spec.md +49 -0
  224. package/openspec/changes/archive/2026-04-09-tag-crud/tasks.md +41 -0
  225. package/openspec/changes/archive/2026-04-09-task-crud/.openspec.yaml +2 -0
  226. package/openspec/changes/archive/2026-04-09-task-crud/design.md +62 -0
  227. package/openspec/changes/archive/2026-04-09-task-crud/proposal.md +29 -0
  228. package/openspec/changes/archive/2026-04-09-task-crud/specs/task-management/spec.md +17 -0
  229. package/openspec/changes/archive/2026-04-09-task-crud/specs/task-write/spec.md +89 -0
  230. package/openspec/changes/archive/2026-04-09-task-crud/tasks.md +55 -0
  231. package/openspec/changes/archive/2026-04-09-task-filtering/.openspec.yaml +2 -0
  232. package/openspec/changes/archive/2026-04-09-task-filtering/design.md +61 -0
  233. package/openspec/changes/archive/2026-04-09-task-filtering/proposal.md +26 -0
  234. package/openspec/changes/archive/2026-04-09-task-filtering/specs/task-filtering/spec.md +63 -0
  235. package/openspec/changes/archive/2026-04-09-task-filtering/specs/task-management/spec.md +17 -0
  236. package/openspec/changes/archive/2026-04-09-task-filtering/tasks.md +42 -0
  237. package/openspec/changes/archive/2026-04-10-planned-date/.openspec.yaml +2 -0
  238. package/openspec/changes/archive/2026-04-10-planned-date/design.md +27 -0
  239. package/openspec/changes/archive/2026-04-10-planned-date/proposal.md +29 -0
  240. package/openspec/changes/archive/2026-04-10-planned-date/specs/task-management/spec.md +29 -0
  241. package/openspec/changes/archive/2026-04-10-planned-date/specs/task-write/spec.md +69 -0
  242. package/openspec/changes/archive/2026-04-10-planned-date/tasks.md +26 -0
  243. package/openspec/changes/archive/2026-04-10-task-recurrence/.openspec.yaml +2 -0
  244. package/openspec/changes/archive/2026-04-10-task-recurrence/design.md +81 -0
  245. package/openspec/changes/archive/2026-04-10-task-recurrence/proposal.md +28 -0
  246. package/openspec/changes/archive/2026-04-10-task-recurrence/specs/recurrence/spec.md +47 -0
  247. package/openspec/changes/archive/2026-04-10-task-recurrence/specs/task-management/spec.md +25 -0
  248. package/openspec/changes/archive/2026-04-10-task-recurrence/specs/task-write/spec.md +61 -0
  249. package/openspec/changes/archive/2026-04-10-task-recurrence/tasks.md +39 -0
  250. package/openspec/config.yaml +20 -0
  251. package/openspec/specs/attachments/spec.md +15 -0
  252. package/openspec/specs/batch-operations/spec.md +15 -0
  253. package/openspec/specs/database-inspection/spec.md +15 -0
  254. package/openspec/specs/execution-runtime/spec.md +75 -0
  255. package/openspec/specs/folder-management/spec.md +39 -0
  256. package/openspec/specs/folder-write/spec.md +45 -0
  257. package/openspec/specs/forecast/spec.md +15 -0
  258. package/openspec/specs/identity-resolution/spec.md +51 -0
  259. package/openspec/specs/move-operations/spec.md +41 -0
  260. package/openspec/specs/perspective-management/spec.md +15 -0
  261. package/openspec/specs/project-filtering/spec.md +72 -0
  262. package/openspec/specs/project-management/spec.md +31 -0
  263. package/openspec/specs/project-write/spec.md +79 -0
  264. package/openspec/specs/recurrence/spec.md +51 -0
  265. package/openspec/specs/settings/spec.md +15 -0
  266. package/openspec/specs/tag-management/spec.md +39 -0
  267. package/openspec/specs/tag-write/spec.md +49 -0
  268. package/openspec/specs/task-filtering/spec.md +63 -0
  269. package/openspec/specs/task-management/spec.md +51 -0
  270. package/openspec/specs/task-write/spec.md +115 -0
  271. package/openspec/specs/url-automation/spec.md +15 -0
  272. package/openspec/specs/window-state/spec.md +15 -0
  273. package/package.json +32 -0
  274. package/scripts/cleanup-fixtures.ts +89 -0
  275. package/server.json +21 -0
  276. package/src/runtime/bridge.ts +97 -0
  277. package/src/runtime/index.ts +4 -0
  278. package/src/runtime/jxaShim.ts +55 -0
  279. package/src/runtime/resultProtocol.ts +62 -0
  280. package/src/runtime/snippetLoader.ts +79 -0
  281. package/src/schemas/enums.ts +32 -0
  282. package/src/schemas/index.ts +38 -0
  283. package/src/schemas/shapes.ts +267 -0
  284. package/src/server.ts +58 -0
  285. package/src/snippets/complete_project.js +73 -0
  286. package/src/snippets/complete_task.js +85 -0
  287. package/src/snippets/create_folder.js +52 -0
  288. package/src/snippets/create_project.js +107 -0
  289. package/src/snippets/create_tag.js +55 -0
  290. package/src/snippets/create_task.js +159 -0
  291. package/src/snippets/delete_folder.js +26 -0
  292. package/src/snippets/delete_project.js +20 -0
  293. package/src/snippets/delete_tag.js +20 -0
  294. package/src/snippets/delete_task.js +20 -0
  295. package/src/snippets/drop_project.js +73 -0
  296. package/src/snippets/drop_task.js +85 -0
  297. package/src/snippets/edit_folder.js +46 -0
  298. package/src/snippets/edit_project.js +106 -0
  299. package/src/snippets/edit_tag.js +56 -0
  300. package/src/snippets/edit_task.js +146 -0
  301. package/src/snippets/get_folder.js +48 -0
  302. package/src/snippets/get_project.js +77 -0
  303. package/src/snippets/get_tag.js +51 -0
  304. package/src/snippets/get_task.js +96 -0
  305. package/src/snippets/list_folders.js +50 -0
  306. package/src/snippets/list_projects.js +98 -0
  307. package/src/snippets/list_tags.js +54 -0
  308. package/src/snippets/list_tasks.js +127 -0
  309. package/src/snippets/move_project.js +79 -0
  310. package/src/snippets/move_task.js +113 -0
  311. package/src/snippets/resolve_name.js +83 -0
  312. package/src/tools/completeProject.ts +21 -0
  313. package/src/tools/completeTask.ts +23 -0
  314. package/src/tools/createFolder.ts +20 -0
  315. package/src/tools/createProject.ts +20 -0
  316. package/src/tools/createTag.ts +20 -0
  317. package/src/tools/createTask.ts +20 -0
  318. package/src/tools/deleteFolder.ts +24 -0
  319. package/src/tools/deleteProject.ts +24 -0
  320. package/src/tools/deleteTag.ts +24 -0
  321. package/src/tools/deleteTask.ts +26 -0
  322. package/src/tools/dropProject.ts +21 -0
  323. package/src/tools/dropTask.ts +23 -0
  324. package/src/tools/editFolder.ts +19 -0
  325. package/src/tools/editProject.ts +20 -0
  326. package/src/tools/editTag.ts +20 -0
  327. package/src/tools/editTask.ts +20 -0
  328. package/src/tools/getFolder.ts +24 -0
  329. package/src/tools/getProject.ts +24 -0
  330. package/src/tools/getTag.ts +24 -0
  331. package/src/tools/getTask.ts +24 -0
  332. package/src/tools/index.ts +85 -0
  333. package/src/tools/listFolders.ts +32 -0
  334. package/src/tools/listProjects.ts +32 -0
  335. package/src/tools/listTags.ts +32 -0
  336. package/src/tools/listTasks.ts +56 -0
  337. package/src/tools/moveProject.ts +20 -0
  338. package/src/tools/moveTask.ts +20 -0
  339. package/src/tools/resolveName.ts +37 -0
  340. package/test/integration/.gitkeep +0 -0
  341. package/test/integration/completeProject.int.test.ts +25 -0
  342. package/test/integration/completeTask.int.test.ts +30 -0
  343. package/test/integration/createFolder.int.test.ts +50 -0
  344. package/test/integration/createProject.int.test.ts +49 -0
  345. package/test/integration/createTag.int.test.ts +52 -0
  346. package/test/integration/createTask.int.test.ts +55 -0
  347. package/test/integration/deleteFolder.int.test.ts +64 -0
  348. package/test/integration/deleteProject.int.test.ts +31 -0
  349. package/test/integration/deleteTag.int.test.ts +61 -0
  350. package/test/integration/deleteTask.int.test.ts +36 -0
  351. package/test/integration/dropProject.int.test.ts +24 -0
  352. package/test/integration/dropTask.int.test.ts +29 -0
  353. package/test/integration/editFolder.int.test.ts +43 -0
  354. package/test/integration/editProject.int.test.ts +39 -0
  355. package/test/integration/editTag.int.test.ts +43 -0
  356. package/test/integration/editTask.int.test.ts +56 -0
  357. package/test/integration/fixtures.ts +219 -0
  358. package/test/integration/getTask.int.test.ts +64 -0
  359. package/test/integration/listFoldersFiltered.int.test.ts +98 -0
  360. package/test/integration/listProjects.int.test.ts +73 -0
  361. package/test/integration/listProjectsFiltered.int.test.ts +96 -0
  362. package/test/integration/listTagsFiltered.int.test.ts +54 -0
  363. package/test/integration/listTasksFiltered.int.test.ts +141 -0
  364. package/test/integration/moveProject.int.test.ts +57 -0
  365. package/test/integration/moveTask.int.test.ts +61 -0
  366. package/test/integration/plannedDate.int.test.ts +72 -0
  367. package/test/integration/preflight.ts +60 -0
  368. package/test/integration/resolveName.int.test.ts +86 -0
  369. package/test/integration/taskRecurrence.int.test.ts +106 -0
  370. package/test/unit/.gitkeep +0 -0
  371. package/test/unit/bridge.injection.test.ts +66 -0
  372. package/test/unit/resultProtocol.test.ts +71 -0
  373. package/test/unit/schemas.createFolder.test.ts +38 -0
  374. package/test/unit/schemas.createProject.test.ts +115 -0
  375. package/test/unit/schemas.createTask.test.ts +87 -0
  376. package/test/unit/schemas.editTag.test.ts +64 -0
  377. package/test/unit/schemas.folderTagFiltering.test.ts +42 -0
  378. package/test/unit/schemas.listProjects.test.ts +44 -0
  379. package/test/unit/schemas.moveOperations.test.ts +60 -0
  380. package/test/unit/schemas.recurrence.test.ts +120 -0
  381. package/test/unit/schemas.test.ts +126 -0
  382. package/test/unit/snippetLoader.test.ts +56 -0
  383. package/test/unit/tools.deleteTask.test.ts +19 -0
  384. package/test/unit/tools.listTasks.test.ts +126 -0
  385. package/tsconfig.json +19 -0
  386. package/vitest.config.ts +8 -0
  387. package/vitest.integration.config.ts +18 -0
@@ -0,0 +1,726 @@
1
+ import { z } from "zod";
2
+ export declare const RepetitionRuleInput: z.ZodEffects<z.ZodObject<{
3
+ frequency: z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>;
4
+ interval: z.ZodDefault<z.ZodNumber>;
5
+ daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodEnum<["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"]>, "many">>;
6
+ method: z.ZodEnum<["fixed", "dueDate", "start"]>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
9
+ interval: number;
10
+ method: "fixed" | "dueDate" | "start";
11
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
12
+ }, {
13
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
14
+ method: "fixed" | "dueDate" | "start";
15
+ interval?: number | undefined;
16
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
17
+ }>, {
18
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
19
+ interval: number;
20
+ method: "fixed" | "dueDate" | "start";
21
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
22
+ }, {
23
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
24
+ method: "fixed" | "dueDate" | "start";
25
+ interval?: number | undefined;
26
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
27
+ }>;
28
+ export declare const RepetitionRuleDetail: z.ZodObject<{
29
+ frequency: z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>;
30
+ interval: z.ZodNumber;
31
+ daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodEnum<["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"]>, "many">>;
32
+ method: z.ZodEnum<["fixed", "dueDate", "start"]>;
33
+ }, "strip", z.ZodTypeAny, {
34
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
35
+ interval: number;
36
+ method: "fixed" | "dueDate" | "start";
37
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
38
+ }, {
39
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
40
+ interval: number;
41
+ method: "fixed" | "dueDate" | "start";
42
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
43
+ }>;
44
+ export declare const TaskSummary: z.ZodObject<{
45
+ id: z.ZodString;
46
+ name: z.ZodString;
47
+ status: z.ZodEnum<["available", "incomplete", "completedByChildren", "complete", "dropped", "dueSoon", "overdue", "flagged", "blocked", "next"]>;
48
+ flagged: z.ZodBoolean;
49
+ containerId: z.ZodNullable<z.ZodString>;
50
+ containerType: z.ZodNullable<z.ZodEnum<["project", "inbox", "task"]>>;
51
+ dueDate: z.ZodNullable<z.ZodString>;
52
+ tagIds: z.ZodArray<z.ZodString, "many">;
53
+ }, "strip", z.ZodTypeAny, {
54
+ name: string;
55
+ status: "dropped" | "available" | "incomplete" | "completedByChildren" | "complete" | "dueSoon" | "overdue" | "flagged" | "blocked" | "next";
56
+ flagged: boolean;
57
+ dueDate: string | null;
58
+ id: string;
59
+ containerId: string | null;
60
+ containerType: "task" | "project" | "inbox" | null;
61
+ tagIds: string[];
62
+ }, {
63
+ name: string;
64
+ status: "dropped" | "available" | "incomplete" | "completedByChildren" | "complete" | "dueSoon" | "overdue" | "flagged" | "blocked" | "next";
65
+ flagged: boolean;
66
+ dueDate: string | null;
67
+ id: string;
68
+ containerId: string | null;
69
+ containerType: "task" | "project" | "inbox" | null;
70
+ tagIds: string[];
71
+ }>;
72
+ export declare const ListTasksFilter: z.ZodObject<{
73
+ flagged: z.ZodOptional<z.ZodLiteral<true>>;
74
+ status: z.ZodOptional<z.ZodArray<z.ZodEnum<["available", "incomplete", "completedByChildren", "complete", "dropped", "dueSoon", "overdue", "flagged", "blocked", "next"]>, "many">>;
75
+ tagId: z.ZodOptional<z.ZodString>;
76
+ dueBeforeDate: z.ZodOptional<z.ZodString>;
77
+ }, "strip", z.ZodTypeAny, {
78
+ status?: ("dropped" | "available" | "incomplete" | "completedByChildren" | "complete" | "dueSoon" | "overdue" | "flagged" | "blocked" | "next")[] | undefined;
79
+ flagged?: true | undefined;
80
+ tagId?: string | undefined;
81
+ dueBeforeDate?: string | undefined;
82
+ }, {
83
+ status?: ("dropped" | "available" | "incomplete" | "completedByChildren" | "complete" | "dueSoon" | "overdue" | "flagged" | "blocked" | "next")[] | undefined;
84
+ flagged?: true | undefined;
85
+ tagId?: string | undefined;
86
+ dueBeforeDate?: string | undefined;
87
+ }>;
88
+ export declare const TaskDetail: z.ZodObject<{
89
+ id: z.ZodString;
90
+ name: z.ZodString;
91
+ note: z.ZodString;
92
+ status: z.ZodEnum<["available", "incomplete", "completedByChildren", "complete", "dropped", "dueSoon", "overdue", "flagged", "blocked", "next"]>;
93
+ flagged: z.ZodBoolean;
94
+ deferDate: z.ZodNullable<z.ZodString>;
95
+ plannedDate: z.ZodNullable<z.ZodString>;
96
+ dueDate: z.ZodNullable<z.ZodString>;
97
+ completionDate: z.ZodNullable<z.ZodString>;
98
+ estimatedMinutes: z.ZodNullable<z.ZodNumber>;
99
+ containerId: z.ZodNullable<z.ZodString>;
100
+ containerType: z.ZodNullable<z.ZodEnum<["project", "inbox", "task"]>>;
101
+ tagIds: z.ZodArray<z.ZodString, "many">;
102
+ parentTaskId: z.ZodNullable<z.ZodString>;
103
+ repetitionRule: z.ZodNullable<z.ZodObject<{
104
+ frequency: z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>;
105
+ interval: z.ZodNumber;
106
+ daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodEnum<["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"]>, "many">>;
107
+ method: z.ZodEnum<["fixed", "dueDate", "start"]>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
110
+ interval: number;
111
+ method: "fixed" | "dueDate" | "start";
112
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
113
+ }, {
114
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
115
+ interval: number;
116
+ method: "fixed" | "dueDate" | "start";
117
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
118
+ }>>;
119
+ }, "strip", z.ZodTypeAny, {
120
+ name: string;
121
+ status: "dropped" | "available" | "incomplete" | "completedByChildren" | "complete" | "dueSoon" | "overdue" | "flagged" | "blocked" | "next";
122
+ flagged: boolean;
123
+ dueDate: string | null;
124
+ id: string;
125
+ containerId: string | null;
126
+ containerType: "task" | "project" | "inbox" | null;
127
+ tagIds: string[];
128
+ note: string;
129
+ deferDate: string | null;
130
+ plannedDate: string | null;
131
+ completionDate: string | null;
132
+ estimatedMinutes: number | null;
133
+ parentTaskId: string | null;
134
+ repetitionRule: {
135
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
136
+ interval: number;
137
+ method: "fixed" | "dueDate" | "start";
138
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
139
+ } | null;
140
+ }, {
141
+ name: string;
142
+ status: "dropped" | "available" | "incomplete" | "completedByChildren" | "complete" | "dueSoon" | "overdue" | "flagged" | "blocked" | "next";
143
+ flagged: boolean;
144
+ dueDate: string | null;
145
+ id: string;
146
+ containerId: string | null;
147
+ containerType: "task" | "project" | "inbox" | null;
148
+ tagIds: string[];
149
+ note: string;
150
+ deferDate: string | null;
151
+ plannedDate: string | null;
152
+ completionDate: string | null;
153
+ estimatedMinutes: number | null;
154
+ parentTaskId: string | null;
155
+ repetitionRule: {
156
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
157
+ interval: number;
158
+ method: "fixed" | "dueDate" | "start";
159
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
160
+ } | null;
161
+ }>;
162
+ export declare const CreateTaskInput: z.ZodEffects<z.ZodObject<{
163
+ name: z.ZodString;
164
+ note: z.ZodOptional<z.ZodString>;
165
+ flagged: z.ZodOptional<z.ZodBoolean>;
166
+ deferDate: z.ZodOptional<z.ZodString>;
167
+ plannedDate: z.ZodOptional<z.ZodString>;
168
+ dueDate: z.ZodOptional<z.ZodString>;
169
+ estimatedMinutes: z.ZodOptional<z.ZodNumber>;
170
+ projectId: z.ZodOptional<z.ZodString>;
171
+ parentTaskId: z.ZodOptional<z.ZodString>;
172
+ tagIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
173
+ repetitionRule: z.ZodOptional<z.ZodEffects<z.ZodObject<{
174
+ frequency: z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>;
175
+ interval: z.ZodDefault<z.ZodNumber>;
176
+ daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodEnum<["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"]>, "many">>;
177
+ method: z.ZodEnum<["fixed", "dueDate", "start"]>;
178
+ }, "strip", z.ZodTypeAny, {
179
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
180
+ interval: number;
181
+ method: "fixed" | "dueDate" | "start";
182
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
183
+ }, {
184
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
185
+ method: "fixed" | "dueDate" | "start";
186
+ interval?: number | undefined;
187
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
188
+ }>, {
189
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
190
+ interval: number;
191
+ method: "fixed" | "dueDate" | "start";
192
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
193
+ }, {
194
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
195
+ method: "fixed" | "dueDate" | "start";
196
+ interval?: number | undefined;
197
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
198
+ }>>;
199
+ }, "strip", z.ZodTypeAny, {
200
+ name: string;
201
+ flagged?: boolean | undefined;
202
+ dueDate?: string | undefined;
203
+ tagIds?: string[] | undefined;
204
+ note?: string | undefined;
205
+ deferDate?: string | undefined;
206
+ plannedDate?: string | undefined;
207
+ estimatedMinutes?: number | undefined;
208
+ parentTaskId?: string | undefined;
209
+ repetitionRule?: {
210
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
211
+ interval: number;
212
+ method: "fixed" | "dueDate" | "start";
213
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
214
+ } | undefined;
215
+ projectId?: string | undefined;
216
+ }, {
217
+ name: string;
218
+ flagged?: boolean | undefined;
219
+ dueDate?: string | undefined;
220
+ tagIds?: string[] | undefined;
221
+ note?: string | undefined;
222
+ deferDate?: string | undefined;
223
+ plannedDate?: string | undefined;
224
+ estimatedMinutes?: number | undefined;
225
+ parentTaskId?: string | undefined;
226
+ repetitionRule?: {
227
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
228
+ method: "fixed" | "dueDate" | "start";
229
+ interval?: number | undefined;
230
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
231
+ } | undefined;
232
+ projectId?: string | undefined;
233
+ }>, {
234
+ name: string;
235
+ flagged?: boolean | undefined;
236
+ dueDate?: string | undefined;
237
+ tagIds?: string[] | undefined;
238
+ note?: string | undefined;
239
+ deferDate?: string | undefined;
240
+ plannedDate?: string | undefined;
241
+ estimatedMinutes?: number | undefined;
242
+ parentTaskId?: string | undefined;
243
+ repetitionRule?: {
244
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
245
+ interval: number;
246
+ method: "fixed" | "dueDate" | "start";
247
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
248
+ } | undefined;
249
+ projectId?: string | undefined;
250
+ }, {
251
+ name: string;
252
+ flagged?: boolean | undefined;
253
+ dueDate?: string | undefined;
254
+ tagIds?: string[] | undefined;
255
+ note?: string | undefined;
256
+ deferDate?: string | undefined;
257
+ plannedDate?: string | undefined;
258
+ estimatedMinutes?: number | undefined;
259
+ parentTaskId?: string | undefined;
260
+ repetitionRule?: {
261
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
262
+ method: "fixed" | "dueDate" | "start";
263
+ interval?: number | undefined;
264
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
265
+ } | undefined;
266
+ projectId?: string | undefined;
267
+ }>;
268
+ export declare const EditTaskInput: z.ZodObject<{
269
+ id: z.ZodString;
270
+ name: z.ZodOptional<z.ZodString>;
271
+ note: z.ZodOptional<z.ZodString>;
272
+ flagged: z.ZodOptional<z.ZodBoolean>;
273
+ deferDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
274
+ plannedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
275
+ dueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
276
+ estimatedMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
277
+ tagIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
278
+ repetitionRule: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
279
+ frequency: z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>;
280
+ interval: z.ZodDefault<z.ZodNumber>;
281
+ daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodEnum<["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"]>, "many">>;
282
+ method: z.ZodEnum<["fixed", "dueDate", "start"]>;
283
+ }, "strip", z.ZodTypeAny, {
284
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
285
+ interval: number;
286
+ method: "fixed" | "dueDate" | "start";
287
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
288
+ }, {
289
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
290
+ method: "fixed" | "dueDate" | "start";
291
+ interval?: number | undefined;
292
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
293
+ }>, {
294
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
295
+ interval: number;
296
+ method: "fixed" | "dueDate" | "start";
297
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
298
+ }, {
299
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
300
+ method: "fixed" | "dueDate" | "start";
301
+ interval?: number | undefined;
302
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
303
+ }>>>;
304
+ }, "strip", z.ZodTypeAny, {
305
+ id: string;
306
+ name?: string | undefined;
307
+ flagged?: boolean | undefined;
308
+ dueDate?: string | null | undefined;
309
+ tagIds?: string[] | undefined;
310
+ note?: string | undefined;
311
+ deferDate?: string | null | undefined;
312
+ plannedDate?: string | null | undefined;
313
+ estimatedMinutes?: number | null | undefined;
314
+ repetitionRule?: {
315
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
316
+ interval: number;
317
+ method: "fixed" | "dueDate" | "start";
318
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
319
+ } | null | undefined;
320
+ }, {
321
+ id: string;
322
+ name?: string | undefined;
323
+ flagged?: boolean | undefined;
324
+ dueDate?: string | null | undefined;
325
+ tagIds?: string[] | undefined;
326
+ note?: string | undefined;
327
+ deferDate?: string | null | undefined;
328
+ plannedDate?: string | null | undefined;
329
+ estimatedMinutes?: number | null | undefined;
330
+ repetitionRule?: {
331
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
332
+ method: "fixed" | "dueDate" | "start";
333
+ interval?: number | undefined;
334
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
335
+ } | null | undefined;
336
+ }>;
337
+ export declare const ReviewIntervalInput: z.ZodObject<{
338
+ steps: z.ZodNumber;
339
+ unit: z.ZodEnum<["days", "weeks", "months", "years"]>;
340
+ }, "strip", z.ZodTypeAny, {
341
+ steps: number;
342
+ unit: "days" | "weeks" | "months" | "years";
343
+ }, {
344
+ steps: number;
345
+ unit: "days" | "weeks" | "months" | "years";
346
+ }>;
347
+ export declare const CreateProjectInput: z.ZodObject<{
348
+ name: z.ZodString;
349
+ folderId: z.ZodOptional<z.ZodString>;
350
+ note: z.ZodOptional<z.ZodString>;
351
+ type: z.ZodOptional<z.ZodEnum<["parallel", "sequential", "singleActions"]>>;
352
+ status: z.ZodOptional<z.ZodEnum<["active", "onHold"]>>;
353
+ flagged: z.ZodOptional<z.ZodBoolean>;
354
+ deferDate: z.ZodOptional<z.ZodString>;
355
+ dueDate: z.ZodOptional<z.ZodString>;
356
+ reviewInterval: z.ZodOptional<z.ZodObject<{
357
+ steps: z.ZodNumber;
358
+ unit: z.ZodEnum<["days", "weeks", "months", "years"]>;
359
+ }, "strip", z.ZodTypeAny, {
360
+ steps: number;
361
+ unit: "days" | "weeks" | "months" | "years";
362
+ }, {
363
+ steps: number;
364
+ unit: "days" | "weeks" | "months" | "years";
365
+ }>>;
366
+ tagIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
367
+ }, "strip", z.ZodTypeAny, {
368
+ name: string;
369
+ type?: "parallel" | "sequential" | "singleActions" | undefined;
370
+ status?: "active" | "onHold" | undefined;
371
+ flagged?: boolean | undefined;
372
+ dueDate?: string | undefined;
373
+ tagIds?: string[] | undefined;
374
+ note?: string | undefined;
375
+ deferDate?: string | undefined;
376
+ folderId?: string | undefined;
377
+ reviewInterval?: {
378
+ steps: number;
379
+ unit: "days" | "weeks" | "months" | "years";
380
+ } | undefined;
381
+ }, {
382
+ name: string;
383
+ type?: "parallel" | "sequential" | "singleActions" | undefined;
384
+ status?: "active" | "onHold" | undefined;
385
+ flagged?: boolean | undefined;
386
+ dueDate?: string | undefined;
387
+ tagIds?: string[] | undefined;
388
+ note?: string | undefined;
389
+ deferDate?: string | undefined;
390
+ folderId?: string | undefined;
391
+ reviewInterval?: {
392
+ steps: number;
393
+ unit: "days" | "weeks" | "months" | "years";
394
+ } | undefined;
395
+ }>;
396
+ export declare const EditProjectInput: z.ZodObject<{
397
+ id: z.ZodString;
398
+ name: z.ZodOptional<z.ZodString>;
399
+ note: z.ZodOptional<z.ZodString>;
400
+ type: z.ZodOptional<z.ZodEnum<["parallel", "sequential", "singleActions"]>>;
401
+ status: z.ZodOptional<z.ZodEnum<["active", "onHold"]>>;
402
+ flagged: z.ZodOptional<z.ZodBoolean>;
403
+ deferDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
404
+ dueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
405
+ reviewInterval: z.ZodOptional<z.ZodObject<{
406
+ steps: z.ZodNumber;
407
+ unit: z.ZodEnum<["days", "weeks", "months", "years"]>;
408
+ }, "strip", z.ZodTypeAny, {
409
+ steps: number;
410
+ unit: "days" | "weeks" | "months" | "years";
411
+ }, {
412
+ steps: number;
413
+ unit: "days" | "weeks" | "months" | "years";
414
+ }>>;
415
+ tagIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
416
+ }, "strip", z.ZodTypeAny, {
417
+ id: string;
418
+ name?: string | undefined;
419
+ type?: "parallel" | "sequential" | "singleActions" | undefined;
420
+ status?: "active" | "onHold" | undefined;
421
+ flagged?: boolean | undefined;
422
+ dueDate?: string | null | undefined;
423
+ tagIds?: string[] | undefined;
424
+ note?: string | undefined;
425
+ deferDate?: string | null | undefined;
426
+ reviewInterval?: {
427
+ steps: number;
428
+ unit: "days" | "weeks" | "months" | "years";
429
+ } | undefined;
430
+ }, {
431
+ id: string;
432
+ name?: string | undefined;
433
+ type?: "parallel" | "sequential" | "singleActions" | undefined;
434
+ status?: "active" | "onHold" | undefined;
435
+ flagged?: boolean | undefined;
436
+ dueDate?: string | null | undefined;
437
+ tagIds?: string[] | undefined;
438
+ note?: string | undefined;
439
+ deferDate?: string | null | undefined;
440
+ reviewInterval?: {
441
+ steps: number;
442
+ unit: "days" | "weeks" | "months" | "years";
443
+ } | undefined;
444
+ }>;
445
+ export declare const MoveTaskInput: z.ZodEffects<z.ZodObject<{
446
+ id: z.ZodString;
447
+ projectId: z.ZodOptional<z.ZodString>;
448
+ parentTaskId: z.ZodOptional<z.ZodString>;
449
+ }, "strip", z.ZodTypeAny, {
450
+ id: string;
451
+ parentTaskId?: string | undefined;
452
+ projectId?: string | undefined;
453
+ }, {
454
+ id: string;
455
+ parentTaskId?: string | undefined;
456
+ projectId?: string | undefined;
457
+ }>, {
458
+ id: string;
459
+ parentTaskId?: string | undefined;
460
+ projectId?: string | undefined;
461
+ }, {
462
+ id: string;
463
+ parentTaskId?: string | undefined;
464
+ projectId?: string | undefined;
465
+ }>;
466
+ export declare const MoveProjectInput: z.ZodObject<{
467
+ id: z.ZodString;
468
+ folderId: z.ZodNullable<z.ZodString>;
469
+ }, "strip", z.ZodTypeAny, {
470
+ id: string;
471
+ folderId: string | null;
472
+ }, {
473
+ id: string;
474
+ folderId: string | null;
475
+ }>;
476
+ export declare const ListFoldersFilter: z.ZodObject<{
477
+ status: z.ZodOptional<z.ZodEnum<["active", "dropped"]>>;
478
+ }, "strip", z.ZodTypeAny, {
479
+ status?: "active" | "dropped" | undefined;
480
+ }, {
481
+ status?: "active" | "dropped" | undefined;
482
+ }>;
483
+ export declare const ListTagsFilter: z.ZodObject<{
484
+ status: z.ZodOptional<z.ZodEnum<["active", "onHold", "dropped"]>>;
485
+ }, "strip", z.ZodTypeAny, {
486
+ status?: "active" | "onHold" | "dropped" | undefined;
487
+ }, {
488
+ status?: "active" | "onHold" | "dropped" | undefined;
489
+ }>;
490
+ export declare const ListProjectsFilter: z.ZodObject<{
491
+ status: z.ZodOptional<z.ZodArray<z.ZodEnum<["active", "onHold", "done", "dropped"]>, "many">>;
492
+ folderId: z.ZodOptional<z.ZodString>;
493
+ flagged: z.ZodOptional<z.ZodLiteral<true>>;
494
+ }, "strip", z.ZodTypeAny, {
495
+ status?: ("active" | "onHold" | "done" | "dropped")[] | undefined;
496
+ flagged?: true | undefined;
497
+ folderId?: string | undefined;
498
+ }, {
499
+ status?: ("active" | "onHold" | "done" | "dropped")[] | undefined;
500
+ flagged?: true | undefined;
501
+ folderId?: string | undefined;
502
+ }>;
503
+ export declare const ProjectSummary: z.ZodObject<{
504
+ id: z.ZodString;
505
+ name: z.ZodString;
506
+ folderPath: z.ZodString;
507
+ folderId: z.ZodNullable<z.ZodString>;
508
+ status: z.ZodEnum<["active", "onHold", "done", "dropped"]>;
509
+ type: z.ZodEnum<["parallel", "sequential", "singleActions"]>;
510
+ flagged: z.ZodBoolean;
511
+ }, "strip", z.ZodTypeAny, {
512
+ name: string;
513
+ type: "parallel" | "sequential" | "singleActions";
514
+ status: "active" | "onHold" | "done" | "dropped";
515
+ flagged: boolean;
516
+ id: string;
517
+ folderId: string | null;
518
+ folderPath: string;
519
+ }, {
520
+ name: string;
521
+ type: "parallel" | "sequential" | "singleActions";
522
+ status: "active" | "onHold" | "done" | "dropped";
523
+ flagged: boolean;
524
+ id: string;
525
+ folderId: string | null;
526
+ folderPath: string;
527
+ }>;
528
+ export declare const ProjectDetail: z.ZodObject<{
529
+ id: z.ZodString;
530
+ name: z.ZodString;
531
+ note: z.ZodString;
532
+ folderPath: z.ZodString;
533
+ status: z.ZodEnum<["active", "onHold", "done", "dropped"]>;
534
+ type: z.ZodEnum<["parallel", "sequential", "singleActions"]>;
535
+ flagged: z.ZodBoolean;
536
+ deferDate: z.ZodNullable<z.ZodString>;
537
+ dueDate: z.ZodNullable<z.ZodString>;
538
+ completionDate: z.ZodNullable<z.ZodString>;
539
+ reviewInterval: z.ZodNullable<z.ZodString>;
540
+ nextReviewDate: z.ZodNullable<z.ZodString>;
541
+ lastReviewDate: z.ZodNullable<z.ZodString>;
542
+ tagIds: z.ZodArray<z.ZodString, "many">;
543
+ }, "strip", z.ZodTypeAny, {
544
+ name: string;
545
+ type: "parallel" | "sequential" | "singleActions";
546
+ status: "active" | "onHold" | "done" | "dropped";
547
+ flagged: boolean;
548
+ dueDate: string | null;
549
+ id: string;
550
+ tagIds: string[];
551
+ note: string;
552
+ deferDate: string | null;
553
+ completionDate: string | null;
554
+ reviewInterval: string | null;
555
+ folderPath: string;
556
+ nextReviewDate: string | null;
557
+ lastReviewDate: string | null;
558
+ }, {
559
+ name: string;
560
+ type: "parallel" | "sequential" | "singleActions";
561
+ status: "active" | "onHold" | "done" | "dropped";
562
+ flagged: boolean;
563
+ dueDate: string | null;
564
+ id: string;
565
+ tagIds: string[];
566
+ note: string;
567
+ deferDate: string | null;
568
+ completionDate: string | null;
569
+ reviewInterval: string | null;
570
+ folderPath: string;
571
+ nextReviewDate: string | null;
572
+ lastReviewDate: string | null;
573
+ }>;
574
+ export declare const CreateFolderInput: z.ZodObject<{
575
+ name: z.ZodString;
576
+ parentFolderId: z.ZodOptional<z.ZodString>;
577
+ }, "strip", z.ZodTypeAny, {
578
+ name: string;
579
+ parentFolderId?: string | undefined;
580
+ }, {
581
+ name: string;
582
+ parentFolderId?: string | undefined;
583
+ }>;
584
+ export declare const EditFolderInput: z.ZodObject<{
585
+ id: z.ZodString;
586
+ name: z.ZodString;
587
+ }, "strip", z.ZodTypeAny, {
588
+ name: string;
589
+ id: string;
590
+ }, {
591
+ name: string;
592
+ id: string;
593
+ }>;
594
+ export declare const FolderSummary: z.ZodObject<{
595
+ id: z.ZodString;
596
+ name: z.ZodString;
597
+ path: z.ZodString;
598
+ parentId: z.ZodNullable<z.ZodString>;
599
+ status: z.ZodEnum<["active", "dropped"]>;
600
+ }, "strip", z.ZodTypeAny, {
601
+ name: string;
602
+ path: string;
603
+ status: "active" | "dropped";
604
+ id: string;
605
+ parentId: string | null;
606
+ }, {
607
+ name: string;
608
+ path: string;
609
+ status: "active" | "dropped";
610
+ id: string;
611
+ parentId: string | null;
612
+ }>;
613
+ export declare const FolderDetail: z.ZodObject<{
614
+ id: z.ZodString;
615
+ name: z.ZodString;
616
+ path: z.ZodString;
617
+ parentId: z.ZodNullable<z.ZodString>;
618
+ status: z.ZodEnum<["active", "dropped"]>;
619
+ childFolderIds: z.ZodArray<z.ZodString, "many">;
620
+ projectIds: z.ZodArray<z.ZodString, "many">;
621
+ }, "strip", z.ZodTypeAny, {
622
+ name: string;
623
+ path: string;
624
+ status: "active" | "dropped";
625
+ id: string;
626
+ parentId: string | null;
627
+ childFolderIds: string[];
628
+ projectIds: string[];
629
+ }, {
630
+ name: string;
631
+ path: string;
632
+ status: "active" | "dropped";
633
+ id: string;
634
+ parentId: string | null;
635
+ childFolderIds: string[];
636
+ projectIds: string[];
637
+ }>;
638
+ export declare const CreateTagInput: z.ZodObject<{
639
+ name: z.ZodString;
640
+ parentTagId: z.ZodOptional<z.ZodString>;
641
+ }, "strip", z.ZodTypeAny, {
642
+ name: string;
643
+ parentTagId?: string | undefined;
644
+ }, {
645
+ name: string;
646
+ parentTagId?: string | undefined;
647
+ }>;
648
+ export declare const EditTagInput: z.ZodEffects<z.ZodObject<{
649
+ id: z.ZodString;
650
+ name: z.ZodOptional<z.ZodString>;
651
+ status: z.ZodOptional<z.ZodEnum<["active", "onHold", "dropped"]>>;
652
+ }, "strip", z.ZodTypeAny, {
653
+ id: string;
654
+ name?: string | undefined;
655
+ status?: "active" | "onHold" | "dropped" | undefined;
656
+ }, {
657
+ id: string;
658
+ name?: string | undefined;
659
+ status?: "active" | "onHold" | "dropped" | undefined;
660
+ }>, {
661
+ id: string;
662
+ name?: string | undefined;
663
+ status?: "active" | "onHold" | "dropped" | undefined;
664
+ }, {
665
+ id: string;
666
+ name?: string | undefined;
667
+ status?: "active" | "onHold" | "dropped" | undefined;
668
+ }>;
669
+ export declare const TagSummary: z.ZodObject<{
670
+ id: z.ZodString;
671
+ name: z.ZodString;
672
+ path: z.ZodString;
673
+ parentId: z.ZodNullable<z.ZodString>;
674
+ status: z.ZodEnum<["active", "onHold", "dropped"]>;
675
+ }, "strip", z.ZodTypeAny, {
676
+ name: string;
677
+ path: string;
678
+ status: "active" | "onHold" | "dropped";
679
+ id: string;
680
+ parentId: string | null;
681
+ }, {
682
+ name: string;
683
+ path: string;
684
+ status: "active" | "onHold" | "dropped";
685
+ id: string;
686
+ parentId: string | null;
687
+ }>;
688
+ export declare const TagDetail: z.ZodObject<{
689
+ id: z.ZodString;
690
+ name: z.ZodString;
691
+ path: z.ZodString;
692
+ parentId: z.ZodNullable<z.ZodString>;
693
+ status: z.ZodEnum<["active", "onHold", "dropped"]>;
694
+ childTagIds: z.ZodArray<z.ZodString, "many">;
695
+ }, "strip", z.ZodTypeAny, {
696
+ name: string;
697
+ path: string;
698
+ status: "active" | "onHold" | "dropped";
699
+ id: string;
700
+ parentId: string | null;
701
+ childTagIds: string[];
702
+ }, {
703
+ name: string;
704
+ path: string;
705
+ status: "active" | "onHold" | "dropped";
706
+ id: string;
707
+ parentId: string | null;
708
+ childTagIds: string[];
709
+ }>;
710
+ export declare const ResolveCandidate: z.ZodObject<{
711
+ id: z.ZodString;
712
+ name: z.ZodString;
713
+ path: z.ZodString;
714
+ type: z.ZodEnum<["task", "project", "folder", "tag", "perspective"]>;
715
+ }, "strip", z.ZodTypeAny, {
716
+ name: string;
717
+ path: string;
718
+ type: "task" | "project" | "folder" | "tag" | "perspective";
719
+ id: string;
720
+ }, {
721
+ name: string;
722
+ path: string;
723
+ type: "task" | "project" | "folder" | "tag" | "perspective";
724
+ id: string;
725
+ }>;
726
+ //# sourceMappingURL=shapes.d.ts.map