@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,732 @@
1
+ export { listProjectsTool } from "./listProjects.js";
2
+ export { getProjectTool } from "./getProject.js";
3
+ export { listFoldersTool } from "./listFolders.js";
4
+ export { getFolderTool } from "./getFolder.js";
5
+ export { listTasksTool } from "./listTasks.js";
6
+ export { getTaskTool } from "./getTask.js";
7
+ export { listTagsTool } from "./listTags.js";
8
+ export { getTagTool } from "./getTag.js";
9
+ export { resolveNameTool } from "./resolveName.js";
10
+ export { createTaskTool } from "./createTask.js";
11
+ export { editTaskTool } from "./editTask.js";
12
+ export { completeTaskTool } from "./completeTask.js";
13
+ export { dropTaskTool } from "./dropTask.js";
14
+ export { deleteTaskTool } from "./deleteTask.js";
15
+ export { createProjectTool } from "./createProject.js";
16
+ export { editProjectTool } from "./editProject.js";
17
+ export { completeProjectTool } from "./completeProject.js";
18
+ export { dropProjectTool } from "./dropProject.js";
19
+ export { deleteProjectTool } from "./deleteProject.js";
20
+ export { createFolderTool } from "./createFolder.js";
21
+ export { editFolderTool } from "./editFolder.js";
22
+ export { deleteFolderTool } from "./deleteFolder.js";
23
+ export { createTagTool } from "./createTag.js";
24
+ export { editTagTool } from "./editTag.js";
25
+ export { deleteTagTool } from "./deleteTag.js";
26
+ export { moveTaskTool } from "./moveTask.js";
27
+ export { moveProjectTool } from "./moveProject.js";
28
+ export declare const allTools: readonly [{
29
+ readonly name: "list_projects";
30
+ readonly description: "List projects in OmniFocus. By default, done and dropped projects are excluded — pass filter.status to override. Optional filter fields: status (array of status strings), folderId (restricts to that folder's subtree), flagged (boolean). Results are capped at limit (default 100). Each project includes folderId and flagged in addition to id, name, folderPath, status, and type.";
31
+ readonly inputSchema: import("zod").ZodObject<{
32
+ filter: import("zod").ZodOptional<import("zod").ZodObject<{
33
+ status: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["active", "onHold", "done", "dropped"]>, "many">>;
34
+ folderId: import("zod").ZodOptional<import("zod").ZodString>;
35
+ flagged: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
36
+ }, "strip", import("zod").ZodTypeAny, {
37
+ status?: ("active" | "onHold" | "done" | "dropped")[] | undefined;
38
+ flagged?: true | undefined;
39
+ folderId?: string | undefined;
40
+ }, {
41
+ status?: ("active" | "onHold" | "done" | "dropped")[] | undefined;
42
+ flagged?: true | undefined;
43
+ folderId?: string | undefined;
44
+ }>>;
45
+ limit: import("zod").ZodOptional<import("zod").ZodNumber>;
46
+ }, "strip", import("zod").ZodTypeAny, {
47
+ filter?: {
48
+ status?: ("active" | "onHold" | "done" | "dropped")[] | undefined;
49
+ flagged?: true | undefined;
50
+ folderId?: string | undefined;
51
+ } | undefined;
52
+ limit?: number | undefined;
53
+ }, {
54
+ filter?: {
55
+ status?: ("active" | "onHold" | "done" | "dropped")[] | undefined;
56
+ flagged?: true | undefined;
57
+ folderId?: string | undefined;
58
+ } | undefined;
59
+ limit?: number | undefined;
60
+ }>;
61
+ readonly handler: typeof import("./listProjects.js").listProjectsHandler;
62
+ }, {
63
+ readonly name: "get_project";
64
+ readonly description: "Get full detail for a project by its stable ID. Returns note, folder path, status, type, dates, review metadata, and tag IDs.";
65
+ readonly inputSchema: import("zod").ZodObject<{
66
+ id: import("zod").ZodString;
67
+ }, "strip", import("zod").ZodTypeAny, {
68
+ id: string;
69
+ }, {
70
+ id: string;
71
+ }>;
72
+ readonly handler: typeof import("./getProject.js").getProjectHandler;
73
+ }, {
74
+ readonly name: "list_folders";
75
+ readonly description: "List folders in OmniFocus. By default, all folders (active and dropped) are returned. Optional filter.status ('active' | 'dropped') restricts to that status. Results are capped at limit (default 200). Each folder includes id, name, full path (ancestors joined with ▸), parentId, and status.";
76
+ readonly inputSchema: import("zod").ZodObject<{
77
+ filter: import("zod").ZodOptional<import("zod").ZodObject<{
78
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["active", "dropped"]>>;
79
+ }, "strip", import("zod").ZodTypeAny, {
80
+ status?: "active" | "dropped" | undefined;
81
+ }, {
82
+ status?: "active" | "dropped" | undefined;
83
+ }>>;
84
+ limit: import("zod").ZodOptional<import("zod").ZodNumber>;
85
+ }, "strip", import("zod").ZodTypeAny, {
86
+ filter?: {
87
+ status?: "active" | "dropped" | undefined;
88
+ } | undefined;
89
+ limit?: number | undefined;
90
+ }, {
91
+ filter?: {
92
+ status?: "active" | "dropped" | undefined;
93
+ } | undefined;
94
+ limit?: number | undefined;
95
+ }>;
96
+ readonly handler: typeof import("./listFolders.js").listFoldersHandler;
97
+ }, {
98
+ readonly name: "get_folder";
99
+ readonly description: "Get full detail for a folder by its stable ID. Returns path, parentId, status, child folder IDs, and immediate project IDs.";
100
+ readonly inputSchema: import("zod").ZodObject<{
101
+ id: import("zod").ZodString;
102
+ }, "strip", import("zod").ZodTypeAny, {
103
+ id: string;
104
+ }, {
105
+ id: string;
106
+ }>;
107
+ readonly handler: typeof import("./getFolder.js").getFolderHandler;
108
+ }, {
109
+ readonly name: "list_tasks";
110
+ readonly description: "List tasks in OmniFocus within a scope. Provide exactly one of: projectId (tasks in a project), folderId (tasks across all projects in a folder), inbox (inbox tasks), or all (every task). By default, complete and dropped tasks are excluded — pass filter.status to override. Optional filter fields: flagged (boolean), status (array of status strings), tagId (string), dueBeforeDate (ISO datetime). Results are capped at limit (default 200). Each returned task includes dueDate and tagIds.";
111
+ readonly inputSchema: import("zod").ZodObject<{
112
+ scope: import("zod").ZodEffects<import("zod").ZodObject<{
113
+ projectId: import("zod").ZodOptional<import("zod").ZodString>;
114
+ folderId: import("zod").ZodOptional<import("zod").ZodString>;
115
+ inbox: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
116
+ all: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
117
+ }, "strip", import("zod").ZodTypeAny, {
118
+ inbox?: true | undefined;
119
+ projectId?: string | undefined;
120
+ folderId?: string | undefined;
121
+ all?: true | undefined;
122
+ }, {
123
+ inbox?: true | undefined;
124
+ projectId?: string | undefined;
125
+ folderId?: string | undefined;
126
+ all?: true | undefined;
127
+ }>, {
128
+ inbox?: true | undefined;
129
+ projectId?: string | undefined;
130
+ folderId?: string | undefined;
131
+ all?: true | undefined;
132
+ }, {
133
+ inbox?: true | undefined;
134
+ projectId?: string | undefined;
135
+ folderId?: string | undefined;
136
+ all?: true | undefined;
137
+ }>;
138
+ filter: import("zod").ZodOptional<import("zod").ZodObject<{
139
+ flagged: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
140
+ status: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["available", "incomplete", "completedByChildren", "complete", "dropped", "dueSoon", "overdue", "flagged", "blocked", "next"]>, "many">>;
141
+ tagId: import("zod").ZodOptional<import("zod").ZodString>;
142
+ dueBeforeDate: import("zod").ZodOptional<import("zod").ZodString>;
143
+ }, "strip", import("zod").ZodTypeAny, {
144
+ status?: ("dropped" | "available" | "incomplete" | "completedByChildren" | "complete" | "dueSoon" | "overdue" | "flagged" | "blocked" | "next")[] | undefined;
145
+ flagged?: true | undefined;
146
+ tagId?: string | undefined;
147
+ dueBeforeDate?: string | undefined;
148
+ }, {
149
+ status?: ("dropped" | "available" | "incomplete" | "completedByChildren" | "complete" | "dueSoon" | "overdue" | "flagged" | "blocked" | "next")[] | undefined;
150
+ flagged?: true | undefined;
151
+ tagId?: string | undefined;
152
+ dueBeforeDate?: string | undefined;
153
+ }>>;
154
+ limit: import("zod").ZodOptional<import("zod").ZodNumber>;
155
+ }, "strip", import("zod").ZodTypeAny, {
156
+ scope: {
157
+ inbox?: true | undefined;
158
+ projectId?: string | undefined;
159
+ folderId?: string | undefined;
160
+ all?: true | undefined;
161
+ };
162
+ filter?: {
163
+ status?: ("dropped" | "available" | "incomplete" | "completedByChildren" | "complete" | "dueSoon" | "overdue" | "flagged" | "blocked" | "next")[] | undefined;
164
+ flagged?: true | undefined;
165
+ tagId?: string | undefined;
166
+ dueBeforeDate?: string | undefined;
167
+ } | undefined;
168
+ limit?: number | undefined;
169
+ }, {
170
+ scope: {
171
+ inbox?: true | undefined;
172
+ projectId?: string | undefined;
173
+ folderId?: string | undefined;
174
+ all?: true | undefined;
175
+ };
176
+ filter?: {
177
+ status?: ("dropped" | "available" | "incomplete" | "completedByChildren" | "complete" | "dueSoon" | "overdue" | "flagged" | "blocked" | "next")[] | undefined;
178
+ flagged?: true | undefined;
179
+ tagId?: string | undefined;
180
+ dueBeforeDate?: string | undefined;
181
+ } | undefined;
182
+ limit?: number | undefined;
183
+ }>;
184
+ readonly handler: typeof import("./listTasks.js").listTasksHandler;
185
+ }, {
186
+ readonly name: "get_task";
187
+ readonly description: "Get full detail for a task by its stable ID. Returns note, status, flagged, defer/due/completion dates, estimated minutes, container info, tag IDs, and parentTaskId (null for top-level tasks, set to the parent task's ID for subtasks).";
188
+ readonly inputSchema: import("zod").ZodObject<{
189
+ id: import("zod").ZodString;
190
+ }, "strip", import("zod").ZodTypeAny, {
191
+ id: string;
192
+ }, {
193
+ id: string;
194
+ }>;
195
+ readonly handler: typeof import("./getTask.js").getTaskHandler;
196
+ }, {
197
+ readonly name: "list_tags";
198
+ readonly description: "List tags in OmniFocus. By default, all tags (active, onHold, and dropped) are returned. Optional filter.status ('active' | 'onHold' | 'dropped') restricts to that status. Results are capped at limit (default 200). Each tag includes id, name, full path (ancestors joined with ▸), parentId, and status.";
199
+ readonly inputSchema: import("zod").ZodObject<{
200
+ filter: import("zod").ZodOptional<import("zod").ZodObject<{
201
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["active", "onHold", "dropped"]>>;
202
+ }, "strip", import("zod").ZodTypeAny, {
203
+ status?: "active" | "onHold" | "dropped" | undefined;
204
+ }, {
205
+ status?: "active" | "onHold" | "dropped" | undefined;
206
+ }>>;
207
+ limit: import("zod").ZodOptional<import("zod").ZodNumber>;
208
+ }, "strip", import("zod").ZodTypeAny, {
209
+ filter?: {
210
+ status?: "active" | "onHold" | "dropped" | undefined;
211
+ } | undefined;
212
+ limit?: number | undefined;
213
+ }, {
214
+ filter?: {
215
+ status?: "active" | "onHold" | "dropped" | undefined;
216
+ } | undefined;
217
+ limit?: number | undefined;
218
+ }>;
219
+ readonly handler: typeof import("./listTags.js").listTagsHandler;
220
+ }, {
221
+ readonly name: "get_tag";
222
+ readonly description: "Get full detail for a tag by its stable ID. Returns path, parentId, status, and child tag IDs.";
223
+ readonly inputSchema: import("zod").ZodObject<{
224
+ id: import("zod").ZodString;
225
+ }, "strip", import("zod").ZodTypeAny, {
226
+ id: string;
227
+ }, {
228
+ id: string;
229
+ }>;
230
+ readonly handler: typeof import("./getTag.js").getTagHandler;
231
+ }, {
232
+ readonly name: "resolve_name";
233
+ readonly description: "Resolve an entity name to its stable ID(s). Returns ALL matches — never silently picks one. If multiple candidates are returned, ask the user or caller to disambiguate using the path field before proceeding with a write operation.";
234
+ readonly inputSchema: import("zod").ZodObject<{
235
+ type: import("zod").ZodEnum<["task", "project", "folder", "tag", "perspective"]>;
236
+ query: import("zod").ZodString;
237
+ scope: import("zod").ZodOptional<import("zod").ZodString>;
238
+ }, "strip", import("zod").ZodTypeAny, {
239
+ type: "task" | "project" | "folder" | "tag" | "perspective";
240
+ query: string;
241
+ scope?: string | undefined;
242
+ }, {
243
+ type: "task" | "project" | "folder" | "tag" | "perspective";
244
+ query: string;
245
+ scope?: string | undefined;
246
+ }>;
247
+ readonly handler: typeof import("./resolveName.js").resolveNameHandler;
248
+ }, {
249
+ readonly name: "create_task";
250
+ readonly description: "Create a new task. Placement: omit projectId and parentTaskId for inbox; provide projectId to add to a project; provide parentTaskId to create a subtask. Providing both projectId and parentTaskId is an error.";
251
+ readonly inputSchema: import("zod").ZodEffects<import("zod").ZodObject<{
252
+ name: import("zod").ZodString;
253
+ note: import("zod").ZodOptional<import("zod").ZodString>;
254
+ flagged: import("zod").ZodOptional<import("zod").ZodBoolean>;
255
+ deferDate: import("zod").ZodOptional<import("zod").ZodString>;
256
+ plannedDate: import("zod").ZodOptional<import("zod").ZodString>;
257
+ dueDate: import("zod").ZodOptional<import("zod").ZodString>;
258
+ estimatedMinutes: import("zod").ZodOptional<import("zod").ZodNumber>;
259
+ projectId: import("zod").ZodOptional<import("zod").ZodString>;
260
+ parentTaskId: import("zod").ZodOptional<import("zod").ZodString>;
261
+ tagIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
262
+ repetitionRule: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodObject<{
263
+ frequency: import("zod").ZodEnum<["daily", "weekly", "monthly", "yearly"]>;
264
+ interval: import("zod").ZodDefault<import("zod").ZodNumber>;
265
+ daysOfWeek: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"]>, "many">>;
266
+ method: import("zod").ZodEnum<["fixed", "dueDate", "start"]>;
267
+ }, "strip", import("zod").ZodTypeAny, {
268
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
269
+ interval: number;
270
+ method: "fixed" | "dueDate" | "start";
271
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
272
+ }, {
273
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
274
+ method: "fixed" | "dueDate" | "start";
275
+ interval?: number | undefined;
276
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
277
+ }>, {
278
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
279
+ interval: number;
280
+ method: "fixed" | "dueDate" | "start";
281
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
282
+ }, {
283
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
284
+ method: "fixed" | "dueDate" | "start";
285
+ interval?: number | undefined;
286
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
287
+ }>>;
288
+ }, "strip", import("zod").ZodTypeAny, {
289
+ name: string;
290
+ flagged?: boolean | undefined;
291
+ dueDate?: string | undefined;
292
+ tagIds?: string[] | undefined;
293
+ note?: string | undefined;
294
+ deferDate?: string | undefined;
295
+ plannedDate?: string | undefined;
296
+ estimatedMinutes?: number | undefined;
297
+ parentTaskId?: string | undefined;
298
+ repetitionRule?: {
299
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
300
+ interval: number;
301
+ method: "fixed" | "dueDate" | "start";
302
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
303
+ } | undefined;
304
+ projectId?: string | undefined;
305
+ }, {
306
+ name: string;
307
+ flagged?: boolean | undefined;
308
+ dueDate?: string | undefined;
309
+ tagIds?: string[] | undefined;
310
+ note?: string | undefined;
311
+ deferDate?: string | undefined;
312
+ plannedDate?: string | undefined;
313
+ estimatedMinutes?: number | undefined;
314
+ parentTaskId?: string | undefined;
315
+ repetitionRule?: {
316
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
317
+ method: "fixed" | "dueDate" | "start";
318
+ interval?: number | undefined;
319
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
320
+ } | undefined;
321
+ projectId?: string | undefined;
322
+ }>, {
323
+ name: string;
324
+ flagged?: boolean | undefined;
325
+ dueDate?: string | undefined;
326
+ tagIds?: string[] | undefined;
327
+ note?: string | undefined;
328
+ deferDate?: string | undefined;
329
+ plannedDate?: string | undefined;
330
+ estimatedMinutes?: number | undefined;
331
+ parentTaskId?: string | undefined;
332
+ repetitionRule?: {
333
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
334
+ interval: number;
335
+ method: "fixed" | "dueDate" | "start";
336
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
337
+ } | undefined;
338
+ projectId?: string | undefined;
339
+ }, {
340
+ name: string;
341
+ flagged?: boolean | undefined;
342
+ dueDate?: string | undefined;
343
+ tagIds?: string[] | undefined;
344
+ note?: string | undefined;
345
+ deferDate?: string | undefined;
346
+ plannedDate?: string | undefined;
347
+ estimatedMinutes?: number | undefined;
348
+ parentTaskId?: string | undefined;
349
+ repetitionRule?: {
350
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
351
+ method: "fixed" | "dueDate" | "start";
352
+ interval?: number | undefined;
353
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
354
+ } | undefined;
355
+ projectId?: string | undefined;
356
+ }>;
357
+ readonly handler: typeof import("./createTask.js").createTaskHandler;
358
+ }, {
359
+ readonly name: "edit_task";
360
+ readonly description: "Edit an existing task by its stable ID. Only fields included in the call are changed; omitted fields are left unchanged. When tagIds is provided it replaces the full tag set. Pass null for deferDate, dueDate, or estimatedMinutes to clear those fields.";
361
+ readonly inputSchema: import("zod").ZodObject<{
362
+ id: import("zod").ZodString;
363
+ name: import("zod").ZodOptional<import("zod").ZodString>;
364
+ note: import("zod").ZodOptional<import("zod").ZodString>;
365
+ flagged: import("zod").ZodOptional<import("zod").ZodBoolean>;
366
+ deferDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
367
+ plannedDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
368
+ dueDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
369
+ estimatedMinutes: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
370
+ tagIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
371
+ repetitionRule: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodObject<{
372
+ frequency: import("zod").ZodEnum<["daily", "weekly", "monthly", "yearly"]>;
373
+ interval: import("zod").ZodDefault<import("zod").ZodNumber>;
374
+ daysOfWeek: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"]>, "many">>;
375
+ method: import("zod").ZodEnum<["fixed", "dueDate", "start"]>;
376
+ }, "strip", import("zod").ZodTypeAny, {
377
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
378
+ interval: number;
379
+ method: "fixed" | "dueDate" | "start";
380
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
381
+ }, {
382
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
383
+ method: "fixed" | "dueDate" | "start";
384
+ interval?: number | undefined;
385
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
386
+ }>, {
387
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
388
+ interval: number;
389
+ method: "fixed" | "dueDate" | "start";
390
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
391
+ }, {
392
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
393
+ method: "fixed" | "dueDate" | "start";
394
+ interval?: number | undefined;
395
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
396
+ }>>>;
397
+ }, "strip", import("zod").ZodTypeAny, {
398
+ id: string;
399
+ name?: string | undefined;
400
+ flagged?: boolean | undefined;
401
+ dueDate?: string | null | undefined;
402
+ tagIds?: string[] | undefined;
403
+ note?: string | undefined;
404
+ deferDate?: string | null | undefined;
405
+ plannedDate?: string | null | undefined;
406
+ estimatedMinutes?: number | null | undefined;
407
+ repetitionRule?: {
408
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
409
+ interval: number;
410
+ method: "fixed" | "dueDate" | "start";
411
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
412
+ } | null | undefined;
413
+ }, {
414
+ id: string;
415
+ name?: string | undefined;
416
+ flagged?: boolean | undefined;
417
+ dueDate?: string | null | undefined;
418
+ tagIds?: string[] | undefined;
419
+ note?: string | undefined;
420
+ deferDate?: string | null | undefined;
421
+ plannedDate?: string | null | undefined;
422
+ estimatedMinutes?: number | null | undefined;
423
+ repetitionRule?: {
424
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
425
+ method: "fixed" | "dueDate" | "start";
426
+ interval?: number | undefined;
427
+ daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
428
+ } | null | undefined;
429
+ }>;
430
+ readonly handler: typeof import("./editTask.js").editTaskHandler;
431
+ }, {
432
+ readonly name: "complete_task";
433
+ readonly description: "Mark a task complete by its stable ID. Returns the updated task detail.";
434
+ readonly inputSchema: import("zod").ZodObject<{
435
+ id: import("zod").ZodString;
436
+ }, "strip", import("zod").ZodTypeAny, {
437
+ id: string;
438
+ }, {
439
+ id: string;
440
+ }>;
441
+ readonly handler: typeof import("./completeTask.js").completeTaskHandler;
442
+ }, {
443
+ readonly name: "drop_task";
444
+ readonly description: "Mark a task dropped by its stable ID. Returns the updated task detail.";
445
+ readonly inputSchema: import("zod").ZodObject<{
446
+ id: import("zod").ZodString;
447
+ }, "strip", import("zod").ZodTypeAny, {
448
+ id: string;
449
+ }, {
450
+ id: string;
451
+ }>;
452
+ readonly handler: typeof import("./dropTask.js").dropTaskHandler;
453
+ }, {
454
+ readonly name: "delete_task";
455
+ readonly description: "Permanently delete a task and all its subtasks. THIS ACTION CANNOT BE UNDONE. Before calling this tool you MUST ask the user to explicitly confirm they want to permanently delete the task, and inform them that all subtasks will also be deleted.";
456
+ readonly inputSchema: import("zod").ZodObject<{
457
+ id: import("zod").ZodString;
458
+ }, "strip", import("zod").ZodTypeAny, {
459
+ id: string;
460
+ }, {
461
+ id: string;
462
+ }>;
463
+ readonly handler: typeof import("./deleteTask.js").deleteTaskHandler;
464
+ }, {
465
+ readonly name: "create_project";
466
+ readonly description: "Create a new OmniFocus project. Omit folderId to create at the top level; provide folderId to place it inside a folder. Optionally set type (parallel/sequential/singleActions), status (active/onHold), review interval, and tags.";
467
+ readonly inputSchema: import("zod").ZodObject<{
468
+ name: import("zod").ZodString;
469
+ folderId: import("zod").ZodOptional<import("zod").ZodString>;
470
+ note: import("zod").ZodOptional<import("zod").ZodString>;
471
+ type: import("zod").ZodOptional<import("zod").ZodEnum<["parallel", "sequential", "singleActions"]>>;
472
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["active", "onHold"]>>;
473
+ flagged: import("zod").ZodOptional<import("zod").ZodBoolean>;
474
+ deferDate: import("zod").ZodOptional<import("zod").ZodString>;
475
+ dueDate: import("zod").ZodOptional<import("zod").ZodString>;
476
+ reviewInterval: import("zod").ZodOptional<import("zod").ZodObject<{
477
+ steps: import("zod").ZodNumber;
478
+ unit: import("zod").ZodEnum<["days", "weeks", "months", "years"]>;
479
+ }, "strip", import("zod").ZodTypeAny, {
480
+ steps: number;
481
+ unit: "days" | "weeks" | "months" | "years";
482
+ }, {
483
+ steps: number;
484
+ unit: "days" | "weeks" | "months" | "years";
485
+ }>>;
486
+ tagIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
487
+ }, "strip", import("zod").ZodTypeAny, {
488
+ name: string;
489
+ type?: "parallel" | "sequential" | "singleActions" | undefined;
490
+ status?: "active" | "onHold" | undefined;
491
+ flagged?: boolean | undefined;
492
+ dueDate?: string | undefined;
493
+ tagIds?: string[] | undefined;
494
+ note?: string | undefined;
495
+ deferDate?: string | undefined;
496
+ folderId?: string | undefined;
497
+ reviewInterval?: {
498
+ steps: number;
499
+ unit: "days" | "weeks" | "months" | "years";
500
+ } | undefined;
501
+ }, {
502
+ name: string;
503
+ type?: "parallel" | "sequential" | "singleActions" | undefined;
504
+ status?: "active" | "onHold" | undefined;
505
+ flagged?: boolean | undefined;
506
+ dueDate?: string | undefined;
507
+ tagIds?: string[] | undefined;
508
+ note?: string | undefined;
509
+ deferDate?: string | undefined;
510
+ folderId?: string | undefined;
511
+ reviewInterval?: {
512
+ steps: number;
513
+ unit: "days" | "weeks" | "months" | "years";
514
+ } | undefined;
515
+ }>;
516
+ readonly handler: typeof import("./createProject.js").createProjectHandler;
517
+ }, {
518
+ readonly name: "edit_project";
519
+ readonly description: "Edit an existing project. Only provided fields are changed. Pass null for deferDate, dueDate, or reviewInterval to clear them. When tagIds is provided it replaces the full tag set.";
520
+ readonly inputSchema: import("zod").ZodObject<{
521
+ id: import("zod").ZodString;
522
+ name: import("zod").ZodOptional<import("zod").ZodString>;
523
+ note: import("zod").ZodOptional<import("zod").ZodString>;
524
+ type: import("zod").ZodOptional<import("zod").ZodEnum<["parallel", "sequential", "singleActions"]>>;
525
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["active", "onHold"]>>;
526
+ flagged: import("zod").ZodOptional<import("zod").ZodBoolean>;
527
+ deferDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
528
+ dueDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
529
+ reviewInterval: import("zod").ZodOptional<import("zod").ZodObject<{
530
+ steps: import("zod").ZodNumber;
531
+ unit: import("zod").ZodEnum<["days", "weeks", "months", "years"]>;
532
+ }, "strip", import("zod").ZodTypeAny, {
533
+ steps: number;
534
+ unit: "days" | "weeks" | "months" | "years";
535
+ }, {
536
+ steps: number;
537
+ unit: "days" | "weeks" | "months" | "years";
538
+ }>>;
539
+ tagIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
540
+ }, "strip", import("zod").ZodTypeAny, {
541
+ id: string;
542
+ name?: string | undefined;
543
+ type?: "parallel" | "sequential" | "singleActions" | undefined;
544
+ status?: "active" | "onHold" | undefined;
545
+ flagged?: boolean | undefined;
546
+ dueDate?: string | null | undefined;
547
+ tagIds?: string[] | undefined;
548
+ note?: string | undefined;
549
+ deferDate?: string | null | undefined;
550
+ reviewInterval?: {
551
+ steps: number;
552
+ unit: "days" | "weeks" | "months" | "years";
553
+ } | undefined;
554
+ }, {
555
+ id: string;
556
+ name?: string | undefined;
557
+ type?: "parallel" | "sequential" | "singleActions" | undefined;
558
+ status?: "active" | "onHold" | undefined;
559
+ flagged?: boolean | undefined;
560
+ dueDate?: string | null | undefined;
561
+ tagIds?: string[] | undefined;
562
+ note?: string | undefined;
563
+ deferDate?: string | null | undefined;
564
+ reviewInterval?: {
565
+ steps: number;
566
+ unit: "days" | "weeks" | "months" | "years";
567
+ } | undefined;
568
+ }>;
569
+ readonly handler: typeof import("./editProject.js").editProjectHandler;
570
+ }, {
571
+ readonly name: "complete_project";
572
+ readonly description: "Mark a project as done (complete). Returns the updated project detail.";
573
+ readonly inputSchema: import("zod").ZodObject<{
574
+ id: import("zod").ZodString;
575
+ }, "strip", import("zod").ZodTypeAny, {
576
+ id: string;
577
+ }, {
578
+ id: string;
579
+ }>;
580
+ readonly handler: typeof import("./completeProject.js").completeProjectHandler;
581
+ }, {
582
+ readonly name: "drop_project";
583
+ readonly description: "Mark a project as dropped. Returns the updated project detail.";
584
+ readonly inputSchema: import("zod").ZodObject<{
585
+ id: import("zod").ZodString;
586
+ }, "strip", import("zod").ZodTypeAny, {
587
+ id: string;
588
+ }, {
589
+ id: string;
590
+ }>;
591
+ readonly handler: typeof import("./dropProject.js").dropProjectHandler;
592
+ }, {
593
+ readonly name: "delete_project";
594
+ readonly description: "Permanently delete a project and ALL its tasks. THIS ACTION CANNOT BE UNDONE. Before calling this tool you MUST ask the user to explicitly confirm they want to permanently delete the project, and inform them that all tasks within the project will also be deleted.";
595
+ readonly inputSchema: import("zod").ZodObject<{
596
+ id: import("zod").ZodString;
597
+ }, "strip", import("zod").ZodTypeAny, {
598
+ id: string;
599
+ }, {
600
+ id: string;
601
+ }>;
602
+ readonly handler: typeof import("./deleteProject.js").deleteProjectHandler;
603
+ }, {
604
+ readonly name: "create_folder";
605
+ readonly description: "Create a new OmniFocus folder. Omit parentFolderId to create at the top level; provide parentFolderId to nest it inside an existing folder.";
606
+ readonly inputSchema: import("zod").ZodObject<{
607
+ name: import("zod").ZodString;
608
+ parentFolderId: import("zod").ZodOptional<import("zod").ZodString>;
609
+ }, "strip", import("zod").ZodTypeAny, {
610
+ name: string;
611
+ parentFolderId?: string | undefined;
612
+ }, {
613
+ name: string;
614
+ parentFolderId?: string | undefined;
615
+ }>;
616
+ readonly handler: typeof import("./createFolder.js").createFolderHandler;
617
+ }, {
618
+ readonly name: "edit_folder";
619
+ readonly description: "Rename an existing OmniFocus folder by its ID.";
620
+ readonly inputSchema: import("zod").ZodObject<{
621
+ id: import("zod").ZodString;
622
+ name: import("zod").ZodString;
623
+ }, "strip", import("zod").ZodTypeAny, {
624
+ name: string;
625
+ id: string;
626
+ }, {
627
+ name: string;
628
+ id: string;
629
+ }>;
630
+ readonly handler: typeof import("./editFolder.js").editFolderHandler;
631
+ }, {
632
+ readonly name: "delete_folder";
633
+ readonly description: "Permanently and recursively delete an OmniFocus folder. THIS ACTION CANNOT BE UNDONE. The ENTIRE subtree is destroyed: all child folders, all projects within those folders, and all tasks within those projects. Before calling this tool you MUST ask the user to explicitly confirm they want to permanently delete the folder and all of its contents.";
634
+ readonly inputSchema: import("zod").ZodObject<{
635
+ id: import("zod").ZodString;
636
+ }, "strip", import("zod").ZodTypeAny, {
637
+ id: string;
638
+ }, {
639
+ id: string;
640
+ }>;
641
+ readonly handler: typeof import("./deleteFolder.js").deleteFolderHandler;
642
+ }, {
643
+ readonly name: "create_tag";
644
+ readonly description: "Create a new OmniFocus tag. Omit parentTagId to create at the top level; provide parentTagId to nest it under an existing tag.";
645
+ readonly inputSchema: import("zod").ZodObject<{
646
+ name: import("zod").ZodString;
647
+ parentTagId: import("zod").ZodOptional<import("zod").ZodString>;
648
+ }, "strip", import("zod").ZodTypeAny, {
649
+ name: string;
650
+ parentTagId?: string | undefined;
651
+ }, {
652
+ name: string;
653
+ parentTagId?: string | undefined;
654
+ }>;
655
+ readonly handler: typeof import("./createTag.js").createTagHandler;
656
+ }, {
657
+ readonly name: "edit_tag";
658
+ readonly description: "Edit an existing OmniFocus tag. Provide id plus any combination of name (rename) and status (active/onHold/dropped).";
659
+ readonly inputSchema: import("zod").ZodEffects<import("zod").ZodObject<{
660
+ id: import("zod").ZodString;
661
+ name: import("zod").ZodOptional<import("zod").ZodString>;
662
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["active", "onHold", "dropped"]>>;
663
+ }, "strip", import("zod").ZodTypeAny, {
664
+ id: string;
665
+ name?: string | undefined;
666
+ status?: "active" | "onHold" | "dropped" | undefined;
667
+ }, {
668
+ id: string;
669
+ name?: string | undefined;
670
+ status?: "active" | "onHold" | "dropped" | undefined;
671
+ }>, {
672
+ id: string;
673
+ name?: string | undefined;
674
+ status?: "active" | "onHold" | "dropped" | undefined;
675
+ }, {
676
+ id: string;
677
+ name?: string | undefined;
678
+ status?: "active" | "onHold" | "dropped" | undefined;
679
+ }>;
680
+ readonly handler: typeof import("./editTag.js").editTagHandler;
681
+ }, {
682
+ readonly name: "delete_tag";
683
+ readonly description: "Permanently delete an OmniFocus tag. THIS ACTION CANNOT BE UNDONE. All child tags are also deleted, and all tasks/projects that held this tag have it removed automatically. Before calling this tool you MUST ask the user to explicitly confirm they want to permanently delete the tag and all its child tags.";
684
+ readonly inputSchema: import("zod").ZodObject<{
685
+ id: import("zod").ZodString;
686
+ }, "strip", import("zod").ZodTypeAny, {
687
+ id: string;
688
+ }, {
689
+ id: string;
690
+ }>;
691
+ readonly handler: typeof import("./deleteTag.js").deleteTagHandler;
692
+ }, {
693
+ readonly name: "move_task";
694
+ readonly description: "Move a task to a different project (making it a top-level task) or make it a subtask of another task. Exactly one of projectId or parentTaskId must be provided. Throws a not-found error if any ID does not exist.";
695
+ readonly inputSchema: import("zod").ZodEffects<import("zod").ZodObject<{
696
+ id: import("zod").ZodString;
697
+ projectId: import("zod").ZodOptional<import("zod").ZodString>;
698
+ parentTaskId: import("zod").ZodOptional<import("zod").ZodString>;
699
+ }, "strip", import("zod").ZodTypeAny, {
700
+ id: string;
701
+ parentTaskId?: string | undefined;
702
+ projectId?: string | undefined;
703
+ }, {
704
+ id: string;
705
+ parentTaskId?: string | undefined;
706
+ projectId?: string | undefined;
707
+ }>, {
708
+ id: string;
709
+ parentTaskId?: string | undefined;
710
+ projectId?: string | undefined;
711
+ }, {
712
+ id: string;
713
+ parentTaskId?: string | undefined;
714
+ projectId?: string | undefined;
715
+ }>;
716
+ readonly handler: typeof import("./moveTask.js").moveTaskHandler;
717
+ }, {
718
+ readonly name: "move_project";
719
+ readonly description: "Move a project to a different folder or to the top level. Pass folderId as a string to move into a folder, or null to move to the top level. Throws a not-found error if either ID does not exist.";
720
+ readonly inputSchema: import("zod").ZodObject<{
721
+ id: import("zod").ZodString;
722
+ folderId: import("zod").ZodNullable<import("zod").ZodString>;
723
+ }, "strip", import("zod").ZodTypeAny, {
724
+ id: string;
725
+ folderId: string | null;
726
+ }, {
727
+ id: string;
728
+ folderId: string | null;
729
+ }>;
730
+ readonly handler: typeof import("./moveProject.js").moveProjectHandler;
731
+ }];
732
+ //# sourceMappingURL=index.d.ts.map