@burdenoff/mcp-libs 2026.1014.4 → 2026.1026.1

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 (829) hide show
  1. package/dist/{chunk-G76DKEPI.js → chunk-FHXCNP2U.js} +36 -4
  2. package/dist/chunk-FHXCNP2U.js.map +1 -0
  3. package/dist/{chunk-SX6IGKZH.js → chunk-S2DM4KCX.js} +3 -3
  4. package/dist/{chunk-SX6IGKZH.js.map → chunk-S2DM4KCX.js.map} +1 -1
  5. package/dist/core/auth/device-code.d.ts +50 -0
  6. package/dist/core/auth/index.d.ts +2 -0
  7. package/dist/core/auth/store.d.ts +26 -0
  8. package/dist/core/capabilities.d.ts +16 -0
  9. package/dist/core/config/store.d.ts +39 -0
  10. package/dist/core/context.d.ts +35 -0
  11. package/dist/core/errors.d.ts +15 -0
  12. package/dist/core/gql/client.d.ts +14 -0
  13. package/dist/core/index.cjs +35 -1
  14. package/dist/core/index.cjs.map +1 -1
  15. package/dist/core/index.d.ts +14 -59
  16. package/dist/core/index.js +1 -1
  17. package/dist/core/logger.d.ts +18 -0
  18. package/dist/core/module.d.ts +33 -0
  19. package/dist/core/progress.d.ts +5 -0
  20. package/dist/core/result.d.ts +29 -0
  21. package/dist/core/server.d.ts +15 -0
  22. package/dist/core/tool-governance.d.ts +14 -0
  23. package/dist/core/tool-name.d.ts +7 -0
  24. package/dist/index.cjs +19 -1
  25. package/dist/index.cjs.map +1 -1
  26. package/dist/index.d.ts +3 -7
  27. package/dist/index.js +1 -1
  28. package/dist/modules/adaptercloud/index.cjs.map +1 -1
  29. package/dist/modules/adaptercloud/index.d.ts +2 -7
  30. package/dist/modules/adaptercloud/index.js +1 -1
  31. package/dist/modules/adaptercloud/operations.d.ts +47 -0
  32. package/dist/modules/adaptercloud/prompts.d.ts +3 -0
  33. package/dist/modules/adaptercloud/resources.d.ts +3 -0
  34. package/dist/modules/adaptercloud/tools/adapters.d.ts +3 -0
  35. package/dist/modules/adaptercloud/tools/connections.d.ts +3 -0
  36. package/dist/modules/adaptercloud/tools/cost.d.ts +3 -0
  37. package/dist/modules/adaptercloud/tools/drift.d.ts +3 -0
  38. package/dist/modules/adaptercloud/tools/health.d.ts +3 -0
  39. package/dist/modules/adaptercloud/tools/policies.d.ts +3 -0
  40. package/dist/modules/adaptercloud/tools/resources.d.ts +3 -0
  41. package/dist/modules/adaptercloud/tools/shared.d.ts +25 -0
  42. package/dist/modules/adaptercloud/tools/sync.d.ts +3 -0
  43. package/dist/modules/adaptercloud/tools/topology.d.ts +3 -0
  44. package/dist/modules/adaptercloud/tools/violations.d.ts +3 -0
  45. package/dist/modules/artistrybase/index.cjs.map +1 -1
  46. package/dist/modules/artistrybase/index.d.ts +2 -7
  47. package/dist/modules/artistrybase/index.js +1 -1
  48. package/dist/modules/artistrybase/operations.d.ts +63 -0
  49. package/dist/modules/artistrybase/prompts.d.ts +3 -0
  50. package/dist/modules/artistrybase/resources.d.ts +3 -0
  51. package/dist/modules/artistrybase/tools/health.d.ts +3 -0
  52. package/dist/modules/artistrybase/tools/library.d.ts +3 -0
  53. package/dist/modules/artistrybase/tools/portfolio.d.ts +3 -0
  54. package/dist/modules/artistrybase/tools/production.d.ts +3 -0
  55. package/dist/modules/artistrybase/tools/review.d.ts +3 -0
  56. package/dist/modules/artistrybase/tools/shared.d.ts +14 -0
  57. package/dist/modules/assethandler/index.cjs.map +1 -1
  58. package/dist/modules/assethandler/index.d.ts +2 -7
  59. package/dist/modules/assethandler/index.js +1 -1
  60. package/dist/modules/assethandler/operations.d.ts +57 -0
  61. package/dist/modules/assethandler/prompts.d.ts +3 -0
  62. package/dist/modules/assethandler/resources.d.ts +3 -0
  63. package/dist/modules/assethandler/tools/analytics.d.ts +3 -0
  64. package/dist/modules/assethandler/tools/assets.d.ts +3 -0
  65. package/dist/modules/assethandler/tools/finance.d.ts +3 -0
  66. package/dist/modules/assethandler/tools/governance.d.ts +3 -0
  67. package/dist/modules/assethandler/tools/innovation.d.ts +3 -0
  68. package/dist/modules/assethandler/tools/service.d.ts +3 -0
  69. package/dist/modules/assethandler/tools/shared.d.ts +18 -0
  70. package/dist/modules/atheletebridge/index.cjs.map +1 -1
  71. package/dist/modules/atheletebridge/index.d.ts +2 -7
  72. package/dist/modules/atheletebridge/index.js +1 -1
  73. package/dist/modules/atheletebridge/operations.d.ts +42 -0
  74. package/dist/modules/atheletebridge/prompts.d.ts +3 -0
  75. package/dist/modules/atheletebridge/resources.d.ts +3 -0
  76. package/dist/modules/atheletebridge/tools/fixtures.d.ts +3 -0
  77. package/dist/modules/atheletebridge/tools/health.d.ts +3 -0
  78. package/dist/modules/atheletebridge/tools/programs.d.ts +3 -0
  79. package/dist/modules/atheletebridge/tools/sessions.d.ts +3 -0
  80. package/dist/modules/atheletebridge/tools/shared.d.ts +14 -0
  81. package/dist/modules/atheletebridge/tools/teams.d.ts +3 -0
  82. package/dist/modules/atheletebridge/tools/workouts.d.ts +3 -0
  83. package/dist/modules/auth/extra-tools.d.ts +3 -0
  84. package/dist/modules/auth/index.cjs +3 -1
  85. package/dist/modules/auth/index.cjs.map +1 -1
  86. package/dist/modules/auth/index.d.ts +3 -50
  87. package/dist/modules/auth/index.js +6 -4
  88. package/dist/modules/auth/index.js.map +1 -1
  89. package/dist/modules/auth/{index.d.cts → legacy-auth.d.ts} +6 -14
  90. package/dist/modules/auth/more-tools.d.ts +3 -0
  91. package/dist/modules/auth/operations.d.ts +35 -0
  92. package/dist/modules/auth/tools.d.ts +3 -0
  93. package/dist/modules/billing/index.cjs.map +1 -1
  94. package/dist/modules/billing/index.d.ts +2 -7
  95. package/dist/modules/billing/index.js +1 -1
  96. package/dist/modules/billing/operations.d.ts +17 -0
  97. package/dist/modules/billing/tools.d.ts +3 -0
  98. package/dist/modules/brainyrich/index.cjs.map +1 -1
  99. package/dist/modules/brainyrich/index.d.ts +2 -7
  100. package/dist/modules/brainyrich/index.js +1 -1
  101. package/dist/modules/brainyrich/operations.d.ts +57 -0
  102. package/dist/modules/brainyrich/prompts.d.ts +3 -0
  103. package/dist/modules/brainyrich/resources.d.ts +3 -0
  104. package/dist/modules/brainyrich/tools/accounts.d.ts +3 -0
  105. package/dist/modules/brainyrich/tools/analytics.d.ts +3 -0
  106. package/dist/modules/brainyrich/tools/goals.d.ts +3 -0
  107. package/dist/modules/brainyrich/tools/holdings.d.ts +3 -0
  108. package/dist/modules/brainyrich/tools/households.d.ts +3 -0
  109. package/dist/modules/brainyrich/tools/insights.d.ts +3 -0
  110. package/dist/modules/brainyrich/tools/modelPortfolios.d.ts +3 -0
  111. package/dist/modules/brainyrich/tools/portfolios.d.ts +3 -0
  112. package/dist/modules/brainyrich/tools/rebalance.d.ts +3 -0
  113. package/dist/modules/brainyrich/tools/shared.d.ts +16 -0
  114. package/dist/modules/brainyrich/tools/transactions.d.ts +3 -0
  115. package/dist/modules/buildmyiq/index.cjs.map +1 -1
  116. package/dist/modules/buildmyiq/index.d.ts +2 -7
  117. package/dist/modules/buildmyiq/index.js +1 -1
  118. package/dist/modules/buildmyiq/operations.d.ts +43 -0
  119. package/dist/modules/buildmyiq/prompts.d.ts +3 -0
  120. package/dist/modules/buildmyiq/resources.d.ts +3 -0
  121. package/dist/modules/buildmyiq/tools/assessments.d.ts +3 -0
  122. package/dist/modules/buildmyiq/tools/certificates.d.ts +3 -0
  123. package/dist/modules/buildmyiq/tools/cohorts.d.ts +3 -0
  124. package/dist/modules/buildmyiq/tools/courses.d.ts +3 -0
  125. package/dist/modules/buildmyiq/tools/enrollments.d.ts +3 -0
  126. package/dist/modules/buildmyiq/tools/health.d.ts +3 -0
  127. package/dist/modules/buildmyiq/tools/lessons.d.ts +3 -0
  128. package/dist/modules/buildmyiq/tools/modules.d.ts +3 -0
  129. package/dist/modules/buildmyiq/tools/shared.d.ts +14 -0
  130. package/dist/modules/buildmyiq/tools/skills.d.ts +3 -0
  131. package/dist/modules/buildmyiq/tools/submissions.d.ts +3 -0
  132. package/dist/modules/channels/index.cjs.map +1 -1
  133. package/dist/modules/channels/index.d.ts +2 -7
  134. package/dist/modules/channels/index.js +1 -1
  135. package/dist/modules/channels/operations.d.ts +12 -0
  136. package/dist/modules/channels/tools.d.ts +3 -0
  137. package/dist/modules/collabkin/index.cjs.map +1 -1
  138. package/dist/modules/collabkin/index.d.ts +2 -7
  139. package/dist/modules/collabkin/index.js +1 -1
  140. package/dist/modules/collabkin/operations.d.ts +41 -0
  141. package/dist/modules/collabkin/prompts.d.ts +3 -0
  142. package/dist/modules/collabkin/resources.d.ts +3 -0
  143. package/dist/modules/collabkin/tools/comments.d.ts +3 -0
  144. package/dist/modules/collabkin/tools/health.d.ts +3 -0
  145. package/dist/modules/collabkin/tools/memberships.d.ts +3 -0
  146. package/dist/modules/collabkin/tools/memories.d.ts +3 -0
  147. package/dist/modules/collabkin/tools/people.d.ts +3 -0
  148. package/dist/modules/collabkin/tools/relationships.d.ts +3 -0
  149. package/dist/modules/collabkin/tools/shared.d.ts +12 -0
  150. package/dist/modules/collabkin/tools/stories.d.ts +3 -0
  151. package/dist/modules/collabkin/tools/timeline.d.ts +3 -0
  152. package/dist/modules/collabkin/tools/trees.d.ts +3 -0
  153. package/dist/modules/comradecircle/index.cjs.map +1 -1
  154. package/dist/modules/comradecircle/index.d.ts +2 -7
  155. package/dist/modules/comradecircle/index.js +1 -1
  156. package/dist/modules/comradecircle/operations.d.ts +53 -0
  157. package/dist/modules/comradecircle/prompts.d.ts +3 -0
  158. package/dist/modules/comradecircle/resources.d.ts +3 -0
  159. package/dist/modules/comradecircle/tools/channels.d.ts +3 -0
  160. package/dist/modules/comradecircle/tools/circles.d.ts +3 -0
  161. package/dist/modules/comradecircle/tools/comments.d.ts +3 -0
  162. package/dist/modules/comradecircle/tools/events.d.ts +3 -0
  163. package/dist/modules/comradecircle/tools/feed.d.ts +3 -0
  164. package/dist/modules/comradecircle/tools/health.d.ts +3 -0
  165. package/dist/modules/comradecircle/tools/memberships.d.ts +3 -0
  166. package/dist/modules/comradecircle/tools/polls.d.ts +3 -0
  167. package/dist/modules/comradecircle/tools/posts.d.ts +3 -0
  168. package/dist/modules/comradecircle/tools/profiles.d.ts +3 -0
  169. package/dist/modules/comradecircle/tools/shared.d.ts +16 -0
  170. package/dist/modules/conversations/index.cjs +6 -2
  171. package/dist/modules/conversations/index.cjs.map +1 -1
  172. package/dist/modules/conversations/index.d.ts +2 -7
  173. package/dist/modules/conversations/index.js +7 -3
  174. package/dist/modules/conversations/index.js.map +1 -1
  175. package/dist/modules/conversations/operations.d.ts +50 -0
  176. package/dist/modules/conversations/tools.d.ts +3 -0
  177. package/dist/modules/coolandlovely/index.cjs.map +1 -1
  178. package/dist/modules/coolandlovely/index.d.ts +2 -7
  179. package/dist/modules/coolandlovely/index.js +1 -1
  180. package/dist/modules/coolandlovely/operations.d.ts +50 -0
  181. package/dist/modules/coolandlovely/prompts.d.ts +3 -0
  182. package/dist/modules/coolandlovely/resources.d.ts +3 -0
  183. package/dist/modules/coolandlovely/tools/brands.d.ts +3 -0
  184. package/dist/modules/coolandlovely/tools/collaborations.d.ts +3 -0
  185. package/dist/modules/coolandlovely/tools/collections.d.ts +3 -0
  186. package/dist/modules/coolandlovely/tools/health.d.ts +3 -0
  187. package/dist/modules/coolandlovely/tools/lookbooks.d.ts +3 -0
  188. package/dist/modules/coolandlovely/tools/looks.d.ts +3 -0
  189. package/dist/modules/coolandlovely/tools/profile.d.ts +3 -0
  190. package/dist/modules/coolandlovely/tools/shared.d.ts +25 -0
  191. package/dist/modules/coolandlovely/tools/style-items.d.ts +3 -0
  192. package/dist/modules/coolandlovely/tools/wardrobe.d.ts +3 -0
  193. package/dist/modules/cosmicintersection/index.cjs.map +1 -1
  194. package/dist/modules/cosmicintersection/index.d.ts +2 -7
  195. package/dist/modules/cosmicintersection/index.js +1 -1
  196. package/dist/modules/cosmicintersection/operations.d.ts +53 -0
  197. package/dist/modules/cosmicintersection/prompts.d.ts +3 -0
  198. package/dist/modules/cosmicintersection/resources.d.ts +3 -0
  199. package/dist/modules/cosmicintersection/tools/analyses.d.ts +3 -0
  200. package/dist/modules/cosmicintersection/tools/collections.d.ts +3 -0
  201. package/dist/modules/cosmicintersection/tools/datasets.d.ts +3 -0
  202. package/dist/modules/cosmicintersection/tools/grants.d.ts +3 -0
  203. package/dist/modules/cosmicintersection/tools/health.d.ts +3 -0
  204. package/dist/modules/cosmicintersection/tools/notebooks.d.ts +3 -0
  205. package/dist/modules/cosmicintersection/tools/pipelines.d.ts +3 -0
  206. package/dist/modules/cosmicintersection/tools/releases.d.ts +3 -0
  207. package/dist/modules/cosmicintersection/tools/runs.d.ts +3 -0
  208. package/dist/modules/cosmicintersection/tools/shared.d.ts +15 -0
  209. package/dist/modules/cosmicintersection/tools/sources.d.ts +3 -0
  210. package/dist/modules/crewfoundry/index.cjs.map +1 -1
  211. package/dist/modules/crewfoundry/index.d.ts +2 -7
  212. package/dist/modules/crewfoundry/index.js +1 -1
  213. package/dist/modules/crewfoundry/operations.d.ts +49 -0
  214. package/dist/modules/crewfoundry/prompts.d.ts +3 -0
  215. package/dist/modules/crewfoundry/resources.d.ts +3 -0
  216. package/dist/modules/crewfoundry/tools/attendance.d.ts +3 -0
  217. package/dist/modules/crewfoundry/tools/clients.d.ts +3 -0
  218. package/dist/modules/crewfoundry/tools/engagement.d.ts +3 -0
  219. package/dist/modules/crewfoundry/tools/learning.d.ts +3 -0
  220. package/dist/modules/crewfoundry/tools/overview.d.ts +3 -0
  221. package/dist/modules/crewfoundry/tools/people.d.ts +3 -0
  222. package/dist/modules/crewfoundry/tools/recruitment.d.ts +3 -0
  223. package/dist/modules/crewfoundry/tools/shared.d.ts +2 -0
  224. package/dist/modules/devportal/index.cjs.map +1 -1
  225. package/dist/modules/devportal/index.d.ts +2 -7
  226. package/dist/modules/devportal/index.js +1 -1
  227. package/dist/modules/devportal/operations.d.ts +26 -0
  228. package/dist/modules/devportal/tools.d.ts +3 -0
  229. package/dist/modules/ecoimpacthub/index.cjs.map +1 -1
  230. package/dist/modules/ecoimpacthub/index.d.ts +2 -7
  231. package/dist/modules/ecoimpacthub/index.js +1 -1
  232. package/dist/modules/ecoimpacthub/operations.d.ts +53 -0
  233. package/dist/modules/ecoimpacthub/prompts.d.ts +3 -0
  234. package/dist/modules/ecoimpacthub/resources.d.ts +3 -0
  235. package/dist/modules/ecoimpacthub/tools/carbon.d.ts +3 -0
  236. package/dist/modules/ecoimpacthub/tools/emissions.d.ts +3 -0
  237. package/dist/modules/ecoimpacthub/tools/habitat.d.ts +3 -0
  238. package/dist/modules/ecoimpacthub/tools/health.d.ts +3 -0
  239. package/dist/modules/ecoimpacthub/tools/measurements.d.ts +3 -0
  240. package/dist/modules/ecoimpacthub/tools/observations.d.ts +3 -0
  241. package/dist/modules/ecoimpacthub/tools/reports.d.ts +3 -0
  242. package/dist/modules/ecoimpacthub/tools/sensors.d.ts +3 -0
  243. package/dist/modules/ecoimpacthub/tools/shared.d.ts +28 -0
  244. package/dist/modules/ecoimpacthub/tools/sites.d.ts +3 -0
  245. package/dist/modules/ecoimpacthub/tools/species.d.ts +3 -0
  246. package/dist/modules/ecoimpacthub/tools/targets.d.ts +3 -0
  247. package/dist/modules/ecoimpacthub/tools/thresholds.d.ts +3 -0
  248. package/dist/modules/eventfullymanaged/index.cjs.map +1 -1
  249. package/dist/modules/eventfullymanaged/index.d.ts +2 -7
  250. package/dist/modules/eventfullymanaged/index.js +1 -1
  251. package/dist/modules/eventfullymanaged/operations.d.ts +96 -0
  252. package/dist/modules/eventfullymanaged/prompts.d.ts +3 -0
  253. package/dist/modules/eventfullymanaged/resources.d.ts +3 -0
  254. package/dist/modules/eventfullymanaged/tools/agenda.d.ts +3 -0
  255. package/dist/modules/eventfullymanaged/tools/attendees.d.ts +3 -0
  256. package/dist/modules/eventfullymanaged/tools/checkin.d.ts +3 -0
  257. package/dist/modules/eventfullymanaged/tools/content.d.ts +3 -0
  258. package/dist/modules/eventfullymanaged/tools/events.d.ts +3 -0
  259. package/dist/modules/eventfullymanaged/tools/networking.d.ts +3 -0
  260. package/dist/modules/eventfullymanaged/tools/shared.d.ts +9 -0
  261. package/dist/modules/eventfullymanaged/tools/sponsorship.d.ts +3 -0
  262. package/dist/modules/eventfullymanaged/tools/ticketing.d.ts +3 -0
  263. package/dist/modules/eventfullymanaged/tools/venues.d.ts +3 -0
  264. package/dist/modules/export/index.cjs.map +1 -1
  265. package/dist/modules/export/index.d.ts +2 -7
  266. package/dist/modules/export/index.js +1 -1
  267. package/dist/modules/export/operations.d.ts +13 -0
  268. package/dist/modules/export/tools.d.ts +3 -0
  269. package/dist/modules/files/index.cjs.map +1 -1
  270. package/dist/modules/files/index.d.ts +2 -7
  271. package/dist/modules/files/index.js +1 -1
  272. package/dist/modules/files/operations.d.ts +9 -0
  273. package/dist/modules/files/tools.d.ts +3 -0
  274. package/dist/modules/fluidgrids/index.cjs +38 -19
  275. package/dist/modules/fluidgrids/index.cjs.map +1 -1
  276. package/dist/modules/fluidgrids/index.d.ts +2 -7
  277. package/dist/modules/fluidgrids/index.js +39 -20
  278. package/dist/modules/fluidgrids/index.js.map +1 -1
  279. package/dist/modules/fluidgrids/operations.d.ts +46 -0
  280. package/dist/modules/fluidgrids/prompts.d.ts +3 -0
  281. package/dist/modules/fluidgrids/resources.d.ts +3 -0
  282. package/dist/modules/fluidgrids/tools/credentials.d.ts +3 -0
  283. package/dist/modules/fluidgrids/tools/helpers.d.ts +5 -0
  284. package/dist/modules/fluidgrids/tools/insights.d.ts +3 -0
  285. package/dist/modules/fluidgrids/tools/nodes.d.ts +3 -0
  286. package/dist/modules/fluidgrids/tools/runs.d.ts +3 -0
  287. package/dist/modules/fluidgrids/tools/scheduled-jobs.d.ts +3 -0
  288. package/dist/modules/fluidgrids/tools/webhooks.d.ts +3 -0
  289. package/dist/modules/fluidgrids/tools/workflows.d.ts +3 -0
  290. package/dist/modules/ggnomad/index.cjs.map +1 -1
  291. package/dist/modules/ggnomad/index.d.ts +2 -7
  292. package/dist/modules/ggnomad/index.js +1 -1
  293. package/dist/modules/ggnomad/operations.d.ts +29 -0
  294. package/dist/modules/ggnomad/prompts.d.ts +3 -0
  295. package/dist/modules/ggnomad/resources.d.ts +3 -0
  296. package/dist/modules/ggnomad/tools/activities.d.ts +3 -0
  297. package/dist/modules/ggnomad/tools/analytics.d.ts +3 -0
  298. package/dist/modules/ggnomad/tools/bookings.d.ts +3 -0
  299. package/dist/modules/ggnomad/tools/events.d.ts +3 -0
  300. package/dist/modules/ggnomad/tools/favorites.d.ts +3 -0
  301. package/dist/modules/ggnomad/tools/properties.d.ts +3 -0
  302. package/dist/modules/ggnomad/tools/providers.d.ts +3 -0
  303. package/dist/modules/ggnomad/tools/shared.d.ts +5 -0
  304. package/dist/modules/ggnomad/tools/tours.d.ts +3 -0
  305. package/dist/modules/ggnomad/tools/trips.d.ts +3 -0
  306. package/dist/modules/govcitizenhub/index.cjs.map +1 -1
  307. package/dist/modules/govcitizenhub/index.d.ts +2 -7
  308. package/dist/modules/govcitizenhub/index.js +1 -1
  309. package/dist/modules/govcitizenhub/operations.d.ts +43 -0
  310. package/dist/modules/govcitizenhub/prompts.d.ts +3 -0
  311. package/dist/modules/govcitizenhub/resources.d.ts +3 -0
  312. package/dist/modules/govcitizenhub/tools/agencies.d.ts +3 -0
  313. package/dist/modules/govcitizenhub/tools/applications.d.ts +3 -0
  314. package/dist/modules/govcitizenhub/tools/documents.d.ts +3 -0
  315. package/dist/modules/govcitizenhub/tools/grievances.d.ts +3 -0
  316. package/dist/modules/govcitizenhub/tools/health.d.ts +3 -0
  317. package/dist/modules/govcitizenhub/tools/notes.d.ts +3 -0
  318. package/dist/modules/govcitizenhub/tools/payments.d.ts +3 -0
  319. package/dist/modules/govcitizenhub/tools/permits.d.ts +3 -0
  320. package/dist/modules/govcitizenhub/tools/services.d.ts +3 -0
  321. package/dist/modules/govcitizenhub/tools/shared.d.ts +17 -0
  322. package/dist/modules/groups/index.cjs.map +1 -1
  323. package/dist/modules/groups/index.d.ts +2 -7
  324. package/dist/modules/groups/index.js +1 -1
  325. package/dist/modules/groups/operations.d.ts +11 -0
  326. package/dist/modules/groups/tools.d.ts +3 -0
  327. package/dist/modules/headshotmarketing/index.cjs.map +1 -1
  328. package/dist/modules/headshotmarketing/index.d.ts +2 -7
  329. package/dist/modules/headshotmarketing/index.js +1 -1
  330. package/dist/modules/headshotmarketing/operations.d.ts +206 -0
  331. package/dist/modules/headshotmarketing/prompts.d.ts +3 -0
  332. package/dist/modules/headshotmarketing/resources.d.ts +3 -0
  333. package/dist/modules/headshotmarketing/tools/ads.d.ts +3 -0
  334. package/dist/modules/headshotmarketing/tools/analytics.d.ts +3 -0
  335. package/dist/modules/headshotmarketing/tools/campaigns.d.ts +3 -0
  336. package/dist/modules/headshotmarketing/tools/contacts.d.ts +3 -0
  337. package/dist/modules/headshotmarketing/tools/content.d.ts +3 -0
  338. package/dist/modules/headshotmarketing/tools/deals.d.ts +3 -0
  339. package/dist/modules/headshotmarketing/tools/events.d.ts +3 -0
  340. package/dist/modules/headshotmarketing/tools/helpers.d.ts +6 -0
  341. package/dist/modules/headshotmarketing/tools/influencers.d.ts +3 -0
  342. package/dist/modules/headshotmarketing/tools/landing_pages.d.ts +3 -0
  343. package/dist/modules/headshotmarketing/tools/leads.d.ts +3 -0
  344. package/dist/modules/headshotmarketing/tools/seo.d.ts +3 -0
  345. package/dist/modules/headshotmarketing/tools/shared.d.ts +48 -0
  346. package/dist/modules/headshotmarketing/tools/social.d.ts +3 -0
  347. package/dist/modules/headshotmarketing/tools/workflows.d.ts +3 -0
  348. package/dist/modules/health/index.cjs.map +1 -1
  349. package/dist/modules/health/index.d.ts +2 -7
  350. package/dist/modules/health/index.js +1 -1
  351. package/dist/modules/healthybowl/index.cjs.map +1 -1
  352. package/dist/modules/healthybowl/index.d.ts +2 -7
  353. package/dist/modules/healthybowl/index.js +1 -1
  354. package/dist/modules/healthybowl/operations.d.ts +13 -0
  355. package/dist/modules/healthybowl/prompts.d.ts +3 -0
  356. package/dist/modules/healthybowl/resources.d.ts +3 -0
  357. package/dist/modules/healthybowl/tools/advisory.d.ts +3 -0
  358. package/dist/modules/healthybowl/tools/farm.d.ts +3 -0
  359. package/dist/modules/healthybowl/tools/guardrails.d.ts +3 -0
  360. package/dist/modules/healthybowl/tools/pestissue.d.ts +3 -0
  361. package/dist/modules/healthybowl/tools/shared.d.ts +4 -0
  362. package/dist/modules/hookmovies/index.cjs.map +1 -1
  363. package/dist/modules/hookmovies/index.d.ts +2 -7
  364. package/dist/modules/hookmovies/index.js +1 -1
  365. package/dist/modules/hookmovies/operations.d.ts +57 -0
  366. package/dist/modules/hookmovies/prompts.d.ts +3 -0
  367. package/dist/modules/hookmovies/resources.d.ts +3 -0
  368. package/dist/modules/hookmovies/tools/auditions.d.ts +3 -0
  369. package/dist/modules/hookmovies/tools/entitlements.d.ts +3 -0
  370. package/dist/modules/hookmovies/tools/episodes.d.ts +3 -0
  371. package/dist/modules/hookmovies/tools/health.d.ts +3 -0
  372. package/dist/modules/hookmovies/tools/lists.d.ts +3 -0
  373. package/dist/modules/hookmovies/tools/people.d.ts +3 -0
  374. package/dist/modules/hookmovies/tools/productions.d.ts +3 -0
  375. package/dist/modules/hookmovies/tools/progress.d.ts +3 -0
  376. package/dist/modules/hookmovies/tools/reviews.d.ts +3 -0
  377. package/dist/modules/hookmovies/tools/rights.d.ts +3 -0
  378. package/dist/modules/hookmovies/tools/shared.d.ts +15 -0
  379. package/dist/modules/hookmovies/tools/studios.d.ts +3 -0
  380. package/dist/modules/hookmovies/tools/titles.d.ts +3 -0
  381. package/dist/modules/housingvista/index.cjs.map +1 -1
  382. package/dist/modules/housingvista/index.d.ts +2 -7
  383. package/dist/modules/housingvista/index.js +1 -1
  384. package/dist/modules/housingvista/operations.d.ts +32 -0
  385. package/dist/modules/housingvista/prompts.d.ts +3 -0
  386. package/dist/modules/housingvista/resources.d.ts +3 -0
  387. package/dist/modules/housingvista/tools/analytics.d.ts +3 -0
  388. package/dist/modules/housingvista/tools/assets.d.ts +3 -0
  389. package/dist/modules/housingvista/tools/investments.d.ts +3 -0
  390. package/dist/modules/housingvista/tools/leasing.d.ts +3 -0
  391. package/dist/modules/housingvista/tools/market.d.ts +3 -0
  392. package/dist/modules/housingvista/tools/marketplace.d.ts +3 -0
  393. package/dist/modules/housingvista/tools/properties.d.ts +3 -0
  394. package/dist/modules/housingvista/tools/shared.d.ts +4 -0
  395. package/dist/modules/housingvista/tools/transactions.d.ts +3 -0
  396. package/dist/modules/housingvista/tools/verification.d.ts +3 -0
  397. package/dist/modules/integrations/index.cjs +3 -1
  398. package/dist/modules/integrations/index.cjs.map +1 -1
  399. package/dist/modules/integrations/index.d.ts +2 -7
  400. package/dist/modules/integrations/index.js +4 -2
  401. package/dist/modules/integrations/index.js.map +1 -1
  402. package/dist/modules/integrations/operations.d.ts +27 -0
  403. package/dist/modules/integrations/tools.d.ts +3 -0
  404. package/dist/modules/intelwatchtower/index.cjs.map +1 -1
  405. package/dist/modules/intelwatchtower/index.d.ts +2 -7
  406. package/dist/modules/intelwatchtower/index.js +1 -1
  407. package/dist/modules/intelwatchtower/operations.d.ts +48 -0
  408. package/dist/modules/intelwatchtower/prompts.d.ts +3 -0
  409. package/dist/modules/intelwatchtower/resources.d.ts +3 -0
  410. package/dist/modules/intelwatchtower/tools/alerts.d.ts +3 -0
  411. package/dist/modules/intelwatchtower/tools/cases.d.ts +3 -0
  412. package/dist/modules/intelwatchtower/tools/entities.d.ts +3 -0
  413. package/dist/modules/intelwatchtower/tools/feeds.d.ts +3 -0
  414. package/dist/modules/intelwatchtower/tools/health.d.ts +3 -0
  415. package/dist/modules/intelwatchtower/tools/indicators.d.ts +3 -0
  416. package/dist/modules/intelwatchtower/tools/missions.d.ts +3 -0
  417. package/dist/modules/intelwatchtower/tools/observations.d.ts +3 -0
  418. package/dist/modules/intelwatchtower/tools/reports.d.ts +3 -0
  419. package/dist/modules/intelwatchtower/tools/requirements.d.ts +3 -0
  420. package/dist/modules/intelwatchtower/tools/shared.d.ts +23 -0
  421. package/dist/modules/intelwatchtower/tools/sources.d.ts +3 -0
  422. package/dist/modules/intelwatchtower/tools/tasks.d.ts +3 -0
  423. package/dist/modules/kadaikodi/index.cjs.map +1 -1
  424. package/dist/modules/kadaikodi/index.d.ts +2 -7
  425. package/dist/modules/kadaikodi/index.js +1 -1
  426. package/dist/modules/kadaikodi/operations.d.ts +35 -0
  427. package/dist/modules/kadaikodi/prompts.d.ts +3 -0
  428. package/dist/modules/kadaikodi/resources.d.ts +3 -0
  429. package/dist/modules/kadaikodi/tools/analytics.d.ts +3 -0
  430. package/dist/modules/kadaikodi/tools/investments.d.ts +3 -0
  431. package/dist/modules/kadaikodi/tools/offerings.d.ts +3 -0
  432. package/dist/modules/kadaikodi/tools/orders.d.ts +3 -0
  433. package/dist/modules/kadaikodi/tools/providers.d.ts +3 -0
  434. package/dist/modules/kadaikodi/tools/reviews.d.ts +3 -0
  435. package/dist/modules/kadaikodi/tools/shared.d.ts +9 -0
  436. package/dist/modules/kadaikodi/tools/tasks.d.ts +3 -0
  437. package/dist/modules/kadaikodi/tools/workers.d.ts +3 -0
  438. package/dist/modules/labsofscience/index.cjs.map +1 -1
  439. package/dist/modules/labsofscience/index.d.ts +2 -7
  440. package/dist/modules/labsofscience/index.js +1 -1
  441. package/dist/modules/labsofscience/operations.d.ts +58 -0
  442. package/dist/modules/labsofscience/prompts.d.ts +3 -0
  443. package/dist/modules/labsofscience/resources.d.ts +3 -0
  444. package/dist/modules/labsofscience/tools/datasets.d.ts +3 -0
  445. package/dist/modules/labsofscience/tools/experiments.d.ts +3 -0
  446. package/dist/modules/labsofscience/tools/health.d.ts +3 -0
  447. package/dist/modules/labsofscience/tools/instruments.d.ts +3 -0
  448. package/dist/modules/labsofscience/tools/inventory.d.ts +3 -0
  449. package/dist/modules/labsofscience/tools/notebook.d.ts +3 -0
  450. package/dist/modules/labsofscience/tools/pipelines.d.ts +3 -0
  451. package/dist/modules/labsofscience/tools/projects.d.ts +3 -0
  452. package/dist/modules/labsofscience/tools/protocols.d.ts +3 -0
  453. package/dist/modules/labsofscience/tools/runs.d.ts +3 -0
  454. package/dist/modules/labsofscience/tools/shared.d.ts +15 -0
  455. package/dist/modules/manufacturedops/index.cjs.map +1 -1
  456. package/dist/modules/manufacturedops/index.d.ts +2 -7
  457. package/dist/modules/manufacturedops/index.js +1 -1
  458. package/dist/modules/manufacturedops/operations.d.ts +45 -0
  459. package/dist/modules/manufacturedops/prompts.d.ts +3 -0
  460. package/dist/modules/manufacturedops/resources.d.ts +3 -0
  461. package/dist/modules/manufacturedops/tools/health.d.ts +3 -0
  462. package/dist/modules/manufacturedops/tools/maintenance.d.ts +3 -0
  463. package/dist/modules/manufacturedops/tools/production.d.ts +3 -0
  464. package/dist/modules/manufacturedops/tools/quality.d.ts +3 -0
  465. package/dist/modules/manufacturedops/tools/shared.d.ts +27 -0
  466. package/dist/modules/movethewheels/index.cjs.map +1 -1
  467. package/dist/modules/movethewheels/index.d.ts +2 -7
  468. package/dist/modules/movethewheels/index.js +1 -1
  469. package/dist/modules/movethewheels/operations.d.ts +105 -0
  470. package/dist/modules/movethewheels/prompts.d.ts +3 -0
  471. package/dist/modules/movethewheels/resources.d.ts +3 -0
  472. package/dist/modules/movethewheels/tools/analytics.d.ts +3 -0
  473. package/dist/modules/movethewheels/tools/customers.d.ts +3 -0
  474. package/dist/modules/movethewheels/tools/drivers.d.ts +3 -0
  475. package/dist/modules/movethewheels/tools/inventory.d.ts +3 -0
  476. package/dist/modules/movethewheels/tools/marketplace.d.ts +3 -0
  477. package/dist/modules/movethewheels/tools/orders.d.ts +3 -0
  478. package/dist/modules/movethewheels/tools/products.d.ts +3 -0
  479. package/dist/modules/movethewheels/tools/reports.d.ts +3 -0
  480. package/dist/modules/movethewheels/tools/routes.d.ts +3 -0
  481. package/dist/modules/movethewheels/tools/shared.d.ts +14 -0
  482. package/dist/modules/movethewheels/tools/shipments.d.ts +3 -0
  483. package/dist/modules/movethewheels/tools/tracking.d.ts +3 -0
  484. package/dist/modules/movethewheels/tools/vehicles.d.ts +3 -0
  485. package/dist/modules/movethewheels/tools/warehouses.d.ts +3 -0
  486. package/dist/modules/mybodyshield/index.cjs.map +1 -1
  487. package/dist/modules/mybodyshield/index.d.ts +2 -7
  488. package/dist/modules/mybodyshield/index.js +1 -1
  489. package/dist/modules/mybodyshield/operations.d.ts +49 -0
  490. package/dist/modules/mybodyshield/prompts.d.ts +3 -0
  491. package/dist/modules/mybodyshield/resources.d.ts +3 -0
  492. package/dist/modules/mybodyshield/tools/coaching.d.ts +3 -0
  493. package/dist/modules/mybodyshield/tools/goals.d.ts +3 -0
  494. package/dist/modules/mybodyshield/tools/health.d.ts +3 -0
  495. package/dist/modules/mybodyshield/tools/meals.d.ts +3 -0
  496. package/dist/modules/mybodyshield/tools/metrics.d.ts +3 -0
  497. package/dist/modules/mybodyshield/tools/nutrition.d.ts +3 -0
  498. package/dist/modules/mybodyshield/tools/programs.d.ts +3 -0
  499. package/dist/modules/mybodyshield/tools/recovery.d.ts +3 -0
  500. package/dist/modules/mybodyshield/tools/sessions.d.ts +3 -0
  501. package/dist/modules/mybodyshield/tools/shared.d.ts +13 -0
  502. package/dist/modules/mybodyshield/tools/workouts.d.ts +3 -0
  503. package/dist/modules/notifications/index.cjs.map +1 -1
  504. package/dist/modules/notifications/index.d.ts +2 -7
  505. package/dist/modules/notifications/index.js +1 -1
  506. package/dist/modules/notifications/operations.d.ts +4 -0
  507. package/dist/modules/notifications/tools.d.ts +3 -0
  508. package/dist/modules/organizations/index.cjs.map +1 -1
  509. package/dist/modules/organizations/index.d.ts +2 -7
  510. package/dist/modules/organizations/index.js +1 -1
  511. package/dist/modules/organizations/operations.d.ts +9 -0
  512. package/dist/modules/organizations/tools.d.ts +3 -0
  513. package/dist/modules/planmagnet/destructive-gate.d.ts +4 -0
  514. package/dist/modules/planmagnet/index.cjs.map +1 -1
  515. package/dist/modules/planmagnet/index.d.ts +2 -7
  516. package/dist/modules/planmagnet/index.js +1 -1
  517. package/dist/modules/planmagnet/operations.d.ts +182 -0
  518. package/dist/modules/planmagnet/prompts.d.ts +3 -0
  519. package/dist/modules/planmagnet/resources.d.ts +3 -0
  520. package/dist/modules/planmagnet/tools/automations.d.ts +3 -0
  521. package/dist/modules/planmagnet/tools/boards.d.ts +3 -0
  522. package/dist/modules/planmagnet/tools/budgets.d.ts +3 -0
  523. package/dist/modules/planmagnet/tools/customfields.d.ts +3 -0
  524. package/dist/modules/planmagnet/tools/dependencies.d.ts +3 -0
  525. package/dist/modules/planmagnet/tools/features.d.ts +3 -0
  526. package/dist/modules/planmagnet/tools/milestones.d.ts +3 -0
  527. package/dist/modules/planmagnet/tools/projects.d.ts +3 -0
  528. package/dist/modules/planmagnet/tools/qualitygates.d.ts +3 -0
  529. package/dist/modules/planmagnet/tools/releases.d.ts +3 -0
  530. package/dist/modules/planmagnet/tools/risks.d.ts +3 -0
  531. package/dist/modules/planmagnet/tools/roadmaps.d.ts +3 -0
  532. package/dist/modules/planmagnet/tools/shared.d.ts +41 -0
  533. package/dist/modules/planmagnet/tools/sprints.d.ts +3 -0
  534. package/dist/modules/planmagnet/tools/sync.d.ts +3 -0
  535. package/dist/modules/planmagnet/tools/templates.d.ts +3 -0
  536. package/dist/modules/planmagnet/tools/timetracking.d.ts +3 -0
  537. package/dist/modules/planmagnet/tools/workitems.d.ts +3 -0
  538. package/dist/modules/products/index.cjs.map +1 -1
  539. package/dist/modules/products/index.d.ts +2 -7
  540. package/dist/modules/products/index.js +1 -1
  541. package/dist/modules/products/operations.d.ts +22 -0
  542. package/dist/modules/products/tools.d.ts +3 -0
  543. package/dist/modules/proserviceworld/index.cjs.map +1 -1
  544. package/dist/modules/proserviceworld/index.d.ts +2 -7
  545. package/dist/modules/proserviceworld/index.js +1 -1
  546. package/dist/modules/proserviceworld/operations.d.ts +33 -0
  547. package/dist/modules/proserviceworld/prompts.d.ts +3 -0
  548. package/dist/modules/proserviceworld/resources.d.ts +3 -0
  549. package/dist/modules/proserviceworld/tools/clients.d.ts +3 -0
  550. package/dist/modules/proserviceworld/tools/compliance.d.ts +3 -0
  551. package/dist/modules/proserviceworld/tools/engagements.d.ts +3 -0
  552. package/dist/modules/proserviceworld/tools/health.d.ts +3 -0
  553. package/dist/modules/proserviceworld/tools/invoices.d.ts +3 -0
  554. package/dist/modules/proserviceworld/tools/matters.d.ts +3 -0
  555. package/dist/modules/proserviceworld/tools/practice.d.ts +3 -0
  556. package/dist/modules/proserviceworld/tools/shared.d.ts +11 -0
  557. package/dist/modules/proserviceworld/tools/time.d.ts +3 -0
  558. package/dist/modules/rbac/index.cjs.map +1 -1
  559. package/dist/modules/rbac/index.d.ts +2 -7
  560. package/dist/modules/rbac/index.js +1 -1
  561. package/dist/modules/rbac/operations.d.ts +9 -0
  562. package/dist/modules/rbac/tools.d.ts +3 -0
  563. package/dist/modules/sandbox/index.cjs.map +1 -1
  564. package/dist/modules/sandbox/index.d.ts +2 -7
  565. package/dist/modules/sandbox/index.js +1 -1
  566. package/dist/modules/sandbox/tools.d.ts +3 -0
  567. package/dist/modules/scheduler/index.cjs +3 -1
  568. package/dist/modules/scheduler/index.cjs.map +1 -1
  569. package/dist/modules/scheduler/index.d.ts +2 -7
  570. package/dist/modules/scheduler/index.js +4 -2
  571. package/dist/modules/scheduler/index.js.map +1 -1
  572. package/dist/modules/scheduler/operations.d.ts +31 -0
  573. package/dist/modules/scheduler/tools.d.ts +3 -0
  574. package/dist/modules/security/index.cjs.map +1 -1
  575. package/dist/modules/security/index.d.ts +2 -7
  576. package/dist/modules/security/index.js +1 -1
  577. package/dist/modules/security/operations.d.ts +13 -0
  578. package/dist/modules/security/tools.d.ts +3 -0
  579. package/dist/modules/semanticfed/index.cjs +65 -1
  580. package/dist/modules/semanticfed/index.cjs.map +1 -1
  581. package/dist/modules/semanticfed/index.d.ts +2 -7
  582. package/dist/modules/semanticfed/index.js +66 -2
  583. package/dist/modules/semanticfed/index.js.map +1 -1
  584. package/dist/modules/semanticfed/operations.d.ts +53 -0
  585. package/dist/modules/semanticfed/prompts.d.ts +3 -0
  586. package/dist/modules/semanticfed/resources.d.ts +3 -0
  587. package/dist/modules/semanticfed/tools/connections.d.ts +3 -0
  588. package/dist/modules/semanticfed/tools/connectors.d.ts +3 -0
  589. package/dist/modules/semanticfed/tools/datasources.d.ts +3 -0
  590. package/dist/modules/semanticfed/tools/dimensions.d.ts +3 -0
  591. package/dist/modules/semanticfed/tools/entities.d.ts +3 -0
  592. package/dist/modules/semanticfed/tools/health.d.ts +3 -0
  593. package/dist/modules/semanticfed/tools/metrics.d.ts +3 -0
  594. package/dist/modules/semanticfed/tools/models.d.ts +3 -0
  595. package/dist/modules/semanticfed/tools/policies.d.ts +3 -0
  596. package/dist/modules/semanticfed/tools/queries.d.ts +3 -0
  597. package/dist/modules/semanticfed/tools/relationships.d.ts +3 -0
  598. package/dist/modules/semanticfed/tools/runs.d.ts +3 -0
  599. package/dist/modules/semanticfed/tools/shared.d.ts +14 -0
  600. package/dist/modules/store/index.cjs.map +1 -1
  601. package/dist/modules/store/index.d.ts +2 -7
  602. package/dist/modules/store/index.js +1 -1
  603. package/dist/modules/store/operations.d.ts +15 -0
  604. package/dist/modules/store/tools.d.ts +3 -0
  605. package/dist/modules/subscriberbot/index.cjs.map +1 -1
  606. package/dist/modules/subscriberbot/index.d.ts +2 -7
  607. package/dist/modules/subscriberbot/index.js +1 -1
  608. package/dist/modules/subscriberbot/operations.d.ts +53 -0
  609. package/dist/modules/subscriberbot/prompts.d.ts +3 -0
  610. package/dist/modules/subscriberbot/resources.d.ts +3 -0
  611. package/dist/modules/subscriberbot/tools/agents.d.ts +3 -0
  612. package/dist/modules/subscriberbot/tools/assets.d.ts +3 -0
  613. package/dist/modules/subscriberbot/tools/channels.d.ts +3 -0
  614. package/dist/modules/subscriberbot/tools/entitlements.d.ts +3 -0
  615. package/dist/modules/subscriberbot/tools/health.d.ts +3 -0
  616. package/dist/modules/subscriberbot/tools/inbox.d.ts +3 -0
  617. package/dist/modules/subscriberbot/tools/invoices.d.ts +3 -0
  618. package/dist/modules/subscriberbot/tools/payment-instruments.d.ts +3 -0
  619. package/dist/modules/subscriberbot/tools/plans.d.ts +3 -0
  620. package/dist/modules/subscriberbot/tools/policies.d.ts +3 -0
  621. package/dist/modules/subscriberbot/tools/providers.d.ts +3 -0
  622. package/dist/modules/subscriberbot/tools/relationships.d.ts +3 -0
  623. package/dist/modules/subscriberbot/tools/renewals.d.ts +3 -0
  624. package/dist/modules/subscriberbot/tools/shared.d.ts +21 -0
  625. package/dist/modules/subscriberbot/tools/workflows.d.ts +3 -0
  626. package/dist/modules/support/index.cjs.map +1 -1
  627. package/dist/modules/support/index.d.ts +2 -7
  628. package/dist/modules/support/index.js +1 -1
  629. package/dist/modules/support/operations.d.ts +7 -0
  630. package/dist/modules/support/tools.d.ts +3 -0
  631. package/dist/modules/tags/index.cjs.map +1 -1
  632. package/dist/modules/tags/index.d.ts +2 -7
  633. package/dist/modules/tags/index.js +1 -1
  634. package/dist/modules/tags/operations.d.ts +9 -0
  635. package/dist/modules/tags/tools.d.ts +3 -0
  636. package/dist/modules/technospam/index.cjs.map +1 -1
  637. package/dist/modules/technospam/index.d.ts +2 -7
  638. package/dist/modules/technospam/index.js +1 -1
  639. package/dist/modules/technospam/operations.d.ts +54 -0
  640. package/dist/modules/technospam/prompts.d.ts +3 -0
  641. package/dist/modules/technospam/resources.d.ts +3 -0
  642. package/dist/modules/technospam/tools/certificates.d.ts +3 -0
  643. package/dist/modules/technospam/tools/courses.d.ts +3 -0
  644. package/dist/modules/technospam/tools/enrollments.d.ts +3 -0
  645. package/dist/modules/technospam/tools/hackathons.d.ts +3 -0
  646. package/dist/modules/technospam/tools/health.d.ts +3 -0
  647. package/dist/modules/technospam/tools/lessons.d.ts +3 -0
  648. package/dist/modules/technospam/tools/mentors.d.ts +3 -0
  649. package/dist/modules/technospam/tools/problems.d.ts +3 -0
  650. package/dist/modules/technospam/tools/sessions.d.ts +3 -0
  651. package/dist/modules/technospam/tools/shared.d.ts +12 -0
  652. package/dist/modules/technospam/tools/submissions.d.ts +3 -0
  653. package/dist/modules/technospam/tools/teams.d.ts +3 -0
  654. package/dist/modules/theculturepost/index.cjs.map +1 -1
  655. package/dist/modules/theculturepost/index.d.ts +2 -7
  656. package/dist/modules/theculturepost/index.js +1 -1
  657. package/dist/modules/theculturepost/operations.d.ts +40 -0
  658. package/dist/modules/theculturepost/prompts.d.ts +3 -0
  659. package/dist/modules/theculturepost/resources.d.ts +3 -0
  660. package/dist/modules/theculturepost/tools/archive.d.ts +3 -0
  661. package/dist/modules/theculturepost/tools/citations.d.ts +3 -0
  662. package/dist/modules/theculturepost/tools/collections.d.ts +3 -0
  663. package/dist/modules/theculturepost/tools/discussions.d.ts +3 -0
  664. package/dist/modules/theculturepost/tools/oralhistories.d.ts +3 -0
  665. package/dist/modules/theculturepost/tools/replies.d.ts +3 -0
  666. package/dist/modules/theculturepost/tools/shared.d.ts +19 -0
  667. package/dist/modules/theculturepost/tools/stories.d.ts +3 -0
  668. package/dist/modules/theculturepost/tools/system.d.ts +3 -0
  669. package/dist/modules/theculturepost/tools/topics.d.ts +3 -0
  670. package/dist/modules/theglobalfuel/index.cjs.map +1 -1
  671. package/dist/modules/theglobalfuel/index.d.ts +2 -7
  672. package/dist/modules/theglobalfuel/index.js +1 -1
  673. package/dist/modules/theglobalfuel/operations.d.ts +38 -0
  674. package/dist/modules/theglobalfuel/prompts.d.ts +3 -0
  675. package/dist/modules/theglobalfuel/resources.d.ts +3 -0
  676. package/dist/modules/theglobalfuel/tools/assets.d.ts +3 -0
  677. package/dist/modules/theglobalfuel/tools/compliance.d.ts +3 -0
  678. package/dist/modules/theglobalfuel/tools/contracts.d.ts +3 -0
  679. package/dist/modules/theglobalfuel/tools/emissions.d.ts +3 -0
  680. package/dist/modules/theglobalfuel/tools/health.d.ts +3 -0
  681. package/dist/modules/theglobalfuel/tools/inventory.d.ts +3 -0
  682. package/dist/modules/theglobalfuel/tools/production.d.ts +3 -0
  683. package/dist/modules/theglobalfuel/tools/reserves.d.ts +3 -0
  684. package/dist/modules/theglobalfuel/tools/shared.d.ts +16 -0
  685. package/dist/modules/theglobalfuel/tools/shipments.d.ts +3 -0
  686. package/dist/modules/timecampus/index.cjs +3 -1
  687. package/dist/modules/timecampus/index.cjs.map +1 -1
  688. package/dist/modules/timecampus/index.d.ts +2 -7
  689. package/dist/modules/timecampus/index.js +4 -2
  690. package/dist/modules/timecampus/index.js.map +1 -1
  691. package/dist/modules/timecampus/operations.d.ts +187 -0
  692. package/dist/modules/timecampus/prompts.d.ts +3 -0
  693. package/dist/modules/timecampus/resources.d.ts +3 -0
  694. package/dist/modules/timecampus/tools/approvals.d.ts +3 -0
  695. package/dist/modules/timecampus/tools/appusage.d.ts +3 -0
  696. package/dist/modules/timecampus/tools/channels.d.ts +3 -0
  697. package/dist/modules/timecampus/tools/clientportal.d.ts +3 -0
  698. package/dist/modules/timecampus/tools/config.d.ts +3 -0
  699. package/dist/modules/timecampus/tools/email.d.ts +3 -0
  700. package/dist/modules/timecampus/tools/expenses.d.ts +3 -0
  701. package/dist/modules/timecampus/tools/focus.d.ts +3 -0
  702. package/dist/modules/timecampus/tools/location.d.ts +3 -0
  703. package/dist/modules/timecampus/tools/meetings.d.ts +3 -0
  704. package/dist/modules/timecampus/tools/pomodoro.d.ts +3 -0
  705. package/dist/modules/timecampus/tools/projects.d.ts +3 -0
  706. package/dist/modules/timecampus/tools/resourcing.d.ts +3 -0
  707. package/dist/modules/timecampus/tools/shared.d.ts +23 -0
  708. package/dist/modules/timecampus/tools/tasks.d.ts +3 -0
  709. package/dist/modules/timecampus/tools/timeentries.d.ts +3 -0
  710. package/dist/modules/timecampus/tools/workpatterns.d.ts +3 -0
  711. package/dist/modules/tours/index.cjs.map +1 -1
  712. package/dist/modules/tours/index.d.ts +2 -7
  713. package/dist/modules/tours/index.js +1 -1
  714. package/dist/modules/tours/operations.d.ts +4 -0
  715. package/dist/modules/tours/tools.d.ts +3 -0
  716. package/dist/modules/vibecontrols/index.cjs +364 -29
  717. package/dist/modules/vibecontrols/index.cjs.map +1 -1
  718. package/dist/modules/vibecontrols/index.d.ts +2 -7
  719. package/dist/modules/vibecontrols/index.js +348 -29
  720. package/dist/modules/vibecontrols/index.js.map +1 -1
  721. package/dist/modules/vibecontrols/operations.d.ts +327 -0
  722. package/dist/modules/vibecontrols/prompts.d.ts +3 -0
  723. package/dist/modules/vibecontrols/resources.d.ts +3 -0
  724. package/dist/modules/vibecontrols/tool-annotations.d.ts +3 -0
  725. package/dist/modules/vibecontrols/tools/actions.d.ts +3 -0
  726. package/dist/modules/vibecontrols/tools/agents.d.ts +3 -0
  727. package/dist/modules/vibecontrols/tools/ai-events.d.ts +3 -0
  728. package/dist/modules/vibecontrols/tools/ai-prompts.d.ts +3 -0
  729. package/dist/modules/vibecontrols/tools/analytics.d.ts +3 -0
  730. package/dist/modules/vibecontrols/tools/audit.d.ts +3 -0
  731. package/dist/modules/vibecontrols/tools/catalogs.d.ts +3 -0
  732. package/dist/modules/vibecontrols/tools/components.d.ts +3 -0
  733. package/dist/modules/vibecontrols/tools/config-ci.d.ts +3 -0
  734. package/dist/modules/vibecontrols/tools/config-gitops.d.ts +3 -0
  735. package/dist/modules/vibecontrols/tools/config-security.d.ts +3 -0
  736. package/dist/modules/vibecontrols/tools/config-settings.d.ts +3 -0
  737. package/dist/modules/vibecontrols/tools/configuration.d.ts +3 -0
  738. package/dist/modules/vibecontrols/tools/docs.d.ts +3 -0
  739. package/dist/modules/vibecontrols/tools/notes.d.ts +3 -0
  740. package/dist/modules/vibecontrols/tools/sandboxes.d.ts +3 -0
  741. package/dist/modules/vibecontrols/tools/scorecards.d.ts +3 -0
  742. package/dist/modules/vibecontrols/tools/session-sharing.d.ts +3 -0
  743. package/dist/modules/vibecontrols/tools/sessions.d.ts +3 -0
  744. package/dist/modules/vibecontrols/tools/targets.d.ts +3 -0
  745. package/dist/modules/vibecontrols/tools/templates.d.ts +3 -0
  746. package/dist/modules/vibecontrols/tools/tunnels.d.ts +3 -0
  747. package/dist/modules/vibecontrols/tools/ui-session.d.ts +3 -0
  748. package/dist/modules/vibecontrols/tools/vibedeck-share-links.d.ts +3 -0
  749. package/dist/modules/vibecontrols/tools/vibedecks.d.ts +3 -0
  750. package/dist/modules/vibecontrols/tools/vibes.d.ts +3 -0
  751. package/dist/modules/vibecontrols/tools/webhooks.d.ts +3 -0
  752. package/dist/modules/workspaces/index.cjs.map +1 -1
  753. package/dist/modules/workspaces/index.d.ts +2 -7
  754. package/dist/modules/workspaces/index.js +1 -1
  755. package/dist/modules/workspaces/operations.d.ts +14 -0
  756. package/dist/modules/workspaces/tools.d.ts +3 -0
  757. package/dist/transports/http.d.ts +14 -0
  758. package/dist/transports/index.d.ts +3 -13
  759. package/dist/transports/security.d.ts +6 -0
  760. package/dist/transports/stdio.d.ts +6 -0
  761. package/package.json +2 -2
  762. package/dist/chunk-G76DKEPI.js.map +0 -1
  763. package/dist/context-DGO4h-Pd.d.cts +0 -139
  764. package/dist/context-DGO4h-Pd.d.ts +0 -139
  765. package/dist/core/index.d.cts +0 -59
  766. package/dist/http-Wj1WM6ji.d.ts +0 -22
  767. package/dist/http-uAT9KeBa.d.cts +0 -22
  768. package/dist/index.d.cts +0 -7
  769. package/dist/module-CfnM2XHg.d.cts +0 -67
  770. package/dist/module-VpgjAf8m.d.ts +0 -67
  771. package/dist/modules/adaptercloud/index.d.cts +0 -8
  772. package/dist/modules/artistrybase/index.d.cts +0 -8
  773. package/dist/modules/assethandler/index.d.cts +0 -8
  774. package/dist/modules/atheletebridge/index.d.cts +0 -8
  775. package/dist/modules/billing/index.d.cts +0 -8
  776. package/dist/modules/brainyrich/index.d.cts +0 -8
  777. package/dist/modules/buildmyiq/index.d.cts +0 -8
  778. package/dist/modules/channels/index.d.cts +0 -8
  779. package/dist/modules/collabkin/index.d.cts +0 -8
  780. package/dist/modules/comradecircle/index.d.cts +0 -8
  781. package/dist/modules/conversations/index.d.cts +0 -8
  782. package/dist/modules/coolandlovely/index.d.cts +0 -8
  783. package/dist/modules/cosmicintersection/index.d.cts +0 -8
  784. package/dist/modules/crewfoundry/index.d.cts +0 -8
  785. package/dist/modules/devportal/index.d.cts +0 -8
  786. package/dist/modules/ecoimpacthub/index.d.cts +0 -8
  787. package/dist/modules/eventfullymanaged/index.d.cts +0 -8
  788. package/dist/modules/export/index.d.cts +0 -8
  789. package/dist/modules/files/index.d.cts +0 -8
  790. package/dist/modules/fluidgrids/index.d.cts +0 -8
  791. package/dist/modules/ggnomad/index.d.cts +0 -8
  792. package/dist/modules/govcitizenhub/index.d.cts +0 -8
  793. package/dist/modules/groups/index.d.cts +0 -8
  794. package/dist/modules/headshotmarketing/index.d.cts +0 -8
  795. package/dist/modules/health/index.d.cts +0 -8
  796. package/dist/modules/healthybowl/index.d.cts +0 -8
  797. package/dist/modules/hookmovies/index.d.cts +0 -8
  798. package/dist/modules/housingvista/index.d.cts +0 -8
  799. package/dist/modules/integrations/index.d.cts +0 -8
  800. package/dist/modules/intelwatchtower/index.d.cts +0 -8
  801. package/dist/modules/kadaikodi/index.d.cts +0 -8
  802. package/dist/modules/labsofscience/index.d.cts +0 -8
  803. package/dist/modules/manufacturedops/index.d.cts +0 -8
  804. package/dist/modules/movethewheels/index.d.cts +0 -8
  805. package/dist/modules/mybodyshield/index.d.cts +0 -8
  806. package/dist/modules/notifications/index.d.cts +0 -8
  807. package/dist/modules/organizations/index.d.cts +0 -8
  808. package/dist/modules/planmagnet/index.d.cts +0 -8
  809. package/dist/modules/products/index.d.cts +0 -8
  810. package/dist/modules/proserviceworld/index.d.cts +0 -8
  811. package/dist/modules/rbac/index.d.cts +0 -8
  812. package/dist/modules/sandbox/index.d.cts +0 -8
  813. package/dist/modules/scheduler/index.d.cts +0 -8
  814. package/dist/modules/security/index.d.cts +0 -8
  815. package/dist/modules/semanticfed/index.d.cts +0 -8
  816. package/dist/modules/store/index.d.cts +0 -8
  817. package/dist/modules/subscriberbot/index.d.cts +0 -8
  818. package/dist/modules/support/index.d.cts +0 -8
  819. package/dist/modules/tags/index.d.cts +0 -8
  820. package/dist/modules/technospam/index.d.cts +0 -8
  821. package/dist/modules/theculturepost/index.d.cts +0 -8
  822. package/dist/modules/theglobalfuel/index.d.cts +0 -8
  823. package/dist/modules/timecampus/index.d.cts +0 -8
  824. package/dist/modules/tours/index.d.cts +0 -8
  825. package/dist/modules/vibecontrols/index.d.cts +0 -8
  826. package/dist/modules/workspaces/index.d.cts +0 -8
  827. package/dist/tool-name-BFdQwYrv.d.ts +0 -63
  828. package/dist/tool-name-DzP7TA0l.d.cts +0 -63
  829. package/dist/transports/index.d.cts +0 -13
@@ -0,0 +1,187 @@
1
+ export declare const TIME_ENTRY_FIELDS = "\n id description startTime endTime duration billable hourlyRate notes source\n isRunning projectId taskId workspaceId createdBy createdAt updatedAt\n";
2
+ export declare const PROJECT_FIELDS = "\n id name description status color budget currency hourlyRate estimatedHours\n trackedHours clientId workspaceId createdBy createdAt updatedAt\n";
3
+ export declare const TASK_FIELDS = "\n id title description status priority order projectId assigneeId dueDate\n estimatedHours trackedHours completedAt workspaceId createdAt updatedAt\n";
4
+ export declare const MEETING_FIELDS = "\n id title meetingType startTime endTime duration cost rating notes recordingUrl\n calendarEventId workspaceId createdAt updatedAt\n";
5
+ export declare const MEETING_PARTICIPANT_FIELDS = "\n id meetingMetaId userId role status workspaceId createdAt updatedAt\n";
6
+ export declare const MEETING_ACTION_ITEM_FIELDS = "\n id meetingMetaId title notes status assigneeId dueDate completedAt\n workspaceId createdAt updatedAt\n";
7
+ export declare const POMODORO_SESSION_FIELDS = "\n id type startTime endTime duration completed interrupted interruptions notes\n projectId taskId userId workspaceId createdAt updatedAt\n";
8
+ export declare const POMODORO_GOAL_FIELDS = "\n id type period target current startDate endDate userId workspaceId\n createdAt updatedAt\n";
9
+ export declare const POMODORO_SETTINGS_FIELDS = "\n id focusDuration shortBreakDuration longBreakDuration sessionsBeforeLongBreak\n autoStartBreaks autoStartFocus soundEnabled notificationsEnabled userId\n workspaceId createdAt updatedAt\n";
10
+ export declare const EXPENSE_FIELDS = "\n id amount currency category description notes date status projectId receiptUrl\n approvedBy approvedAt userId workspaceId createdAt updatedAt\n";
11
+ export declare const APPROVAL_FIELDS = "\n id period startDate endDate totalHours billableHours status approverId reviewer\n reviewerNotes submittedAt reviewedAt userId workspaceId createdAt updatedAt\n";
12
+ export declare const RESOURCE_PLAN_FIELDS = "\n id name description status startDate endDate totalAllocatedHours\n totalActualHours workspaceId createdAt updatedAt\n";
13
+ export declare const RESOURCE_ALLOCATION_FIELDS = "\n id resourcePlanId userId projectId allocatedHours actualHours utilizationRate\n startDate endDate notes workspaceId createdAt updatedAt\n";
14
+ export declare const FOCUS_SCORE_FIELDS = "\n id date overallScore deepWorkScore distractionResistanceScore\n taskCompletionScore energyManagementScore consistencyScore factors userId\n workspaceId createdAt updatedAt\n";
15
+ export declare const WORK_PATTERN_FIELDS = "\n id date focusHours meetingHours breakHours deepWorkSessions interruptions\n productivityScore energyLevel mood stressLevel peakHours userId workspaceId\n createdAt updatedAt\n";
16
+ export declare const APP_USAGE_FIELDS = "\n id applicationName category date timeSpent sessions switches firstUsed\n lastUsed userId workspaceId createdAt updatedAt\n";
17
+ export declare const GEOFENCE_FIELDS = "\n id name address latitude longitude radius trigger isActive linkedProjectId\n workspaceId createdAt updatedAt\n";
18
+ export declare const GEOFENCE_EVENT_FIELDS = "\n id geofenceId type userId locationLatitude locationLongitude timestamp\n workspaceId createdAt updatedAt\n";
19
+ export declare const LOCATION_ENTRY_FIELDS = "\n id latitude longitude accuracy address startTime endTime duration geofenceId\n projectId userId workspaceId createdAt updatedAt\n";
20
+ export declare const CHANNEL_FIELDS = "\n id name type status syncInterval lastSync settings workspaceId\n createdAt updatedAt\n";
21
+ export declare const CLIENT_PORTAL_FIELDS = "\n id clientName description contactEmail contactPhone logoUrl isActive\n permissions settings workspaceId createdAt updatedAt\n";
22
+ export declare const EMAIL_ENTRY_FIELDS = "\n id subject sender recipients threadId category isImportant duration\n responseTime date userId workspaceId createdAt updatedAt\n";
23
+ export declare const CONFIG_FIELDS = "\n id key value scope scopeId description isSecret workspaceId createdAt updatedAt\n";
24
+ export declare const UI_SESSION_FIELDS = "\n id activeView preferences state userId workspaceId createdAt updatedAt\n";
25
+ export declare const GET_TIME_ENTRY = "\n query TimecampusGetTimeEntry($id: ID!) {\n timeEntry(id: $id) { \n id description startTime endTime duration billable hourlyRate notes source\n isRunning projectId taskId workspaceId createdBy createdAt updatedAt\n }\n }\n";
26
+ export declare const LIST_TIME_ENTRIES = "\n query TimecampusListTimeEntries(\n $filter: TimeEntryFilterInput\n $limit: Int\n $offset: Int\n $orderBy: TimeEntryOrderByInput\n ) {\n timeEntries(filter: $filter, limit: $limit, offset: $offset, orderBy: $orderBy) {\n total hasMore items { \n id description startTime endTime duration billable hourlyRate notes source\n isRunning projectId taskId workspaceId createdBy createdAt updatedAt\n }\n }\n }\n";
27
+ export declare const TIME_ENTRIES_BY_DATE = "\n query TimecampusTimeEntriesByDate($date: DateTime!) {\n timeEntriesByDate(date: $date) { \n id description startTime endTime duration billable hourlyRate notes source\n isRunning projectId taskId workspaceId createdBy createdAt updatedAt\n }\n }\n";
28
+ export declare const TIME_ENTRY_COUNT = "\n query TimecampusTimeEntryCount($filter: TimeEntryFilterInput) {\n timeEntryCount(filter: $filter)\n }\n";
29
+ export declare const TIME_ENTRY_STATS = "\n query TimecampusTimeEntryStats($startDate: DateTime, $endDate: DateTime) {\n timeEntryStats(startDate: $startDate, endDate: $endDate) {\n totalEntries totalHours billableHours activeTimers\n }\n }\n";
30
+ export declare const RUNNING_TIMERS = "\n query TimecampusRunningTimers {\n runningTimers { elapsedSeconds timeEntry { \n id description startTime endTime duration billable hourlyRate notes source\n isRunning projectId taskId workspaceId createdBy createdAt updatedAt\n } }\n }\n";
31
+ export declare const CREATE_TIME_ENTRY = "\n mutation TimecampusCreateTimeEntry($input: CreateTimeEntryInput!) {\n createTimeEntry(input: $input) { \n id description startTime endTime duration billable hourlyRate notes source\n isRunning projectId taskId workspaceId createdBy createdAt updatedAt\n }\n }\n";
32
+ export declare const UPDATE_TIME_ENTRY = "\n mutation TimecampusUpdateTimeEntry($id: ID!, $input: UpdateTimeEntryInput!) {\n updateTimeEntry(id: $id, input: $input) { \n id description startTime endTime duration billable hourlyRate notes source\n isRunning projectId taskId workspaceId createdBy createdAt updatedAt\n }\n }\n";
33
+ export declare const DELETE_TIME_ENTRY = "\n mutation TimecampusDeleteTimeEntry($id: ID!) {\n deleteTimeEntry(id: $id) { \n id description startTime endTime duration billable hourlyRate notes source\n isRunning projectId taskId workspaceId createdBy createdAt updatedAt\n }\n }\n";
34
+ export declare const BULK_DELETE_TIME_ENTRIES = "\n mutation TimecampusBulkDeleteTimeEntries($ids: [ID!]!) {\n bulkDeleteTimeEntries(ids: $ids)\n }\n";
35
+ export declare const DUPLICATE_TIME_ENTRY = "\n mutation TimecampusDuplicateTimeEntry($id: ID!) {\n duplicateTimeEntry(id: $id) { \n id description startTime endTime duration billable hourlyRate notes source\n isRunning projectId taskId workspaceId createdBy createdAt updatedAt\n }\n }\n";
36
+ export declare const START_TIMER = "\n mutation TimecampusStartTimer($input: StartTimerInput!) {\n startTimer(input: $input) { \n id description startTime endTime duration billable hourlyRate notes source\n isRunning projectId taskId workspaceId createdBy createdAt updatedAt\n }\n }\n";
37
+ export declare const STOP_TIMER = "\n mutation TimecampusStopTimer($id: ID!) {\n stopTimer(id: $id) { \n id description startTime endTime duration billable hourlyRate notes source\n isRunning projectId taskId workspaceId createdBy createdAt updatedAt\n }\n }\n";
38
+ export declare const GET_PROJECT = "\n query TimecampusGetProject($id: ID!) {\n timeCampusProject(id: $id) {\n \n id name description status color budget currency hourlyRate estimatedHours\n trackedHours clientId workspaceId createdBy createdAt updatedAt\n\n tasks { \n id title description status priority order projectId assigneeId dueDate\n estimatedHours trackedHours completedAt workspaceId createdAt updatedAt\n }\n }\n }\n";
39
+ export declare const LIST_PROJECTS = "\n query TimecampusListProjects(\n $filter: TimeCampusProjectFilterInput\n $limit: Int\n $offset: Int\n $orderBy: TimeCampusProjectOrderByInput\n ) {\n timeCampusProjects(filter: $filter, limit: $limit, offset: $offset, orderBy: $orderBy) {\n total hasMore items { \n id name description status color budget currency hourlyRate estimatedHours\n trackedHours clientId workspaceId createdBy createdAt updatedAt\n }\n }\n }\n";
40
+ export declare const PROJECT_STATS = "\n query TimecampusProjectStats($id: ID!) {\n timeCampusProjectStats(id: $id) {\n totalTasks completedTasks totalHours budgetUsed budgetRemaining\n }\n }\n";
41
+ export declare const CREATE_PROJECT = "\n mutation TimecampusCreateProject($input: CreateTimeCampusProjectInput!) {\n createTimeCampusProject(input: $input) { \n id name description status color budget currency hourlyRate estimatedHours\n trackedHours clientId workspaceId createdBy createdAt updatedAt\n }\n }\n";
42
+ export declare const UPDATE_PROJECT = "\n mutation TimecampusUpdateProject($id: ID!, $input: UpdateTimeCampusProjectInput!) {\n updateTimeCampusProject(id: $id, input: $input) { \n id name description status color budget currency hourlyRate estimatedHours\n trackedHours clientId workspaceId createdBy createdAt updatedAt\n }\n }\n";
43
+ export declare const ARCHIVE_PROJECT = "\n mutation TimecampusArchiveProject($id: ID!) {\n archiveTimeCampusProject(id: $id) { \n id name description status color budget currency hourlyRate estimatedHours\n trackedHours clientId workspaceId createdBy createdAt updatedAt\n }\n }\n";
44
+ export declare const DELETE_PROJECT = "\n mutation TimecampusDeleteProject($id: ID!) {\n deleteTimeCampusProject(id: $id) { \n id name description status color budget currency hourlyRate estimatedHours\n trackedHours clientId workspaceId createdBy createdAt updatedAt\n }\n }\n";
45
+ export declare const GET_TASK = "\n query TimecampusGetTask($id: ID!) {\n task(id: $id) { \n id title description status priority order projectId assigneeId dueDate\n estimatedHours trackedHours completedAt workspaceId createdAt updatedAt\n }\n }\n";
46
+ export declare const LIST_TASKS = "\n query TimecampusListTasks(\n $projectId: ID!\n $filter: TaskFilterInput\n $limit: Int\n $offset: Int\n $orderBy: TaskOrderByInput\n ) {\n tasks(projectId: $projectId, filter: $filter, limit: $limit, offset: $offset, orderBy: $orderBy) {\n total hasMore items { \n id title description status priority order projectId assigneeId dueDate\n estimatedHours trackedHours completedAt workspaceId createdAt updatedAt\n }\n }\n }\n";
47
+ export declare const CREATE_TASK = "\n mutation TimecampusCreateTask($input: CreateTaskInput!) {\n createTask(input: $input) { \n id title description status priority order projectId assigneeId dueDate\n estimatedHours trackedHours completedAt workspaceId createdAt updatedAt\n }\n }\n";
48
+ export declare const UPDATE_TASK = "\n mutation TimecampusUpdateTask($id: ID!, $input: UpdateTaskInput!) {\n updateTask(id: $id, input: $input) { \n id title description status priority order projectId assigneeId dueDate\n estimatedHours trackedHours completedAt workspaceId createdAt updatedAt\n }\n }\n";
49
+ export declare const UPDATE_TASK_STATUS = "\n mutation TimecampusUpdateTaskStatus($id: ID!, $status: String!) {\n updateTaskStatus(id: $id, status: $status) { \n id title description status priority order projectId assigneeId dueDate\n estimatedHours trackedHours completedAt workspaceId createdAt updatedAt\n }\n }\n";
50
+ export declare const REORDER_TASKS = "\n mutation TimecampusReorderTasks($projectId: ID!, $taskIds: [ID!]!) {\n reorderTasks(projectId: $projectId, taskIds: $taskIds) { \n id title description status priority order projectId assigneeId dueDate\n estimatedHours trackedHours completedAt workspaceId createdAt updatedAt\n }\n }\n";
51
+ export declare const DELETE_TASK = "\n mutation TimecampusDeleteTask($id: ID!) {\n deleteTask(id: $id) { \n id title description status priority order projectId assigneeId dueDate\n estimatedHours trackedHours completedAt workspaceId createdAt updatedAt\n }\n }\n";
52
+ export declare const GET_MEETING = "\n query TimecampusGetMeeting($id: ID!, $workspaceId: ID!) {\n meeting(id: $id, workspaceId: $workspaceId) {\n \n id title meetingType startTime endTime duration cost rating notes recordingUrl\n calendarEventId workspaceId createdAt updatedAt\n\n participants { \n id meetingMetaId userId role status workspaceId createdAt updatedAt\n }\n actionItems { \n id meetingMetaId title notes status assigneeId dueDate completedAt\n workspaceId createdAt updatedAt\n }\n }\n }\n";
53
+ export declare const LIST_MEETINGS = "\n query TimecampusListMeetings(\n $workspaceId: ID!\n $filter: MeetingFilterInput\n $limit: Int\n $offset: Int\n $orderBy: MeetingOrderByInput\n ) {\n meetings(workspaceId: $workspaceId, filter: $filter, limit: $limit, offset: $offset, orderBy: $orderBy) {\n \n id title meetingType startTime endTime duration cost rating notes recordingUrl\n calendarEventId workspaceId createdAt updatedAt\n\n }\n }\n";
54
+ export declare const MEETING_STATS = "\n query TimecampusMeetingStats($workspaceId: ID!, $startDate: DateTime, $endDate: DateTime) {\n meetingStats(workspaceId: $workspaceId, startDate: $startDate, endDate: $endDate) {\n totalMeetings totalDuration averageDuration averageRating totalCost\n actionItemsTotal actionItemsCompleted\n }\n }\n";
55
+ export declare const UPCOMING_MEETINGS = "\n query TimecampusUpcomingMeetings($workspaceId: ID!, $limit: Int) {\n upcomingMeetings(workspaceId: $workspaceId, limit: $limit) { \n id title meetingType startTime endTime duration cost rating notes recordingUrl\n calendarEventId workspaceId createdAt updatedAt\n }\n }\n";
56
+ export declare const CREATE_MEETING = "\n mutation TimecampusCreateMeeting($input: CreateMeetingInput!) {\n createMeeting(input: $input) { \n id title meetingType startTime endTime duration cost rating notes recordingUrl\n calendarEventId workspaceId createdAt updatedAt\n }\n }\n";
57
+ export declare const UPDATE_MEETING = "\n mutation TimecampusUpdateMeeting($id: ID!, $input: UpdateMeetingInput!, $workspaceId: ID!) {\n updateMeeting(id: $id, input: $input, workspaceId: $workspaceId) { \n id title meetingType startTime endTime duration cost rating notes recordingUrl\n calendarEventId workspaceId createdAt updatedAt\n }\n }\n";
58
+ export declare const DELETE_MEETING = "\n mutation TimecampusDeleteMeeting($id: ID!, $workspaceId: ID!) {\n deleteMeeting(id: $id, workspaceId: $workspaceId)\n }\n";
59
+ export declare const RATE_MEETING = "\n mutation TimecampusRateMeeting($id: ID!, $rating: Int!, $workspaceId: ID!) {\n rateMeeting(id: $id, rating: $rating, workspaceId: $workspaceId) { \n id title meetingType startTime endTime duration cost rating notes recordingUrl\n calendarEventId workspaceId createdAt updatedAt\n }\n }\n";
60
+ export declare const ADD_MEETING_PARTICIPANT = "\n mutation TimecampusAddMeetingParticipant(\n $input: AddMeetingParticipantInput!\n $meetingId: ID!\n $workspaceId: ID!\n ) {\n addMeetingParticipant(input: $input, meetingId: $meetingId, workspaceId: $workspaceId) {\n \n id meetingMetaId userId role status workspaceId createdAt updatedAt\n\n }\n }\n";
61
+ export declare const REMOVE_MEETING_PARTICIPANT = "\n mutation TimecampusRemoveMeetingParticipant($meetingId: ID!, $participantId: ID!, $workspaceId: ID!) {\n removeMeetingParticipant(meetingId: $meetingId, participantId: $participantId, workspaceId: $workspaceId)\n }\n";
62
+ export declare const UPDATE_PARTICIPANT_STATUS = "\n mutation TimecampusUpdateParticipantStatus(\n $meetingId: ID!\n $participantId: ID!\n $status: MeetingParticipantStatus!\n $workspaceId: ID!\n ) {\n updateParticipantStatus(\n meetingId: $meetingId\n participantId: $participantId\n status: $status\n workspaceId: $workspaceId\n ) {\n \n id meetingMetaId userId role status workspaceId createdAt updatedAt\n\n }\n }\n";
63
+ export declare const CREATE_ACTION_ITEM = "\n mutation TimecampusCreateActionItem($input: CreateActionItemInput!, $meetingId: ID!, $workspaceId: ID!) {\n createActionItem(input: $input, meetingId: $meetingId, workspaceId: $workspaceId) {\n \n id meetingMetaId title notes status assigneeId dueDate completedAt\n workspaceId createdAt updatedAt\n\n }\n }\n";
64
+ export declare const UPDATE_ACTION_ITEM = "\n mutation TimecampusUpdateActionItem($id: ID!, $input: UpdateActionItemInput!, $workspaceId: ID!) {\n updateActionItem(id: $id, input: $input, workspaceId: $workspaceId) {\n \n id meetingMetaId title notes status assigneeId dueDate completedAt\n workspaceId createdAt updatedAt\n\n }\n }\n";
65
+ export declare const COMPLETE_ACTION_ITEM = "\n mutation TimecampusCompleteActionItem($id: ID!, $workspaceId: ID!) {\n completeActionItem(id: $id, workspaceId: $workspaceId) { \n id meetingMetaId title notes status assigneeId dueDate completedAt\n workspaceId createdAt updatedAt\n }\n }\n";
66
+ export declare const DELETE_ACTION_ITEM = "\n mutation TimecampusDeleteActionItem($id: ID!, $workspaceId: ID!) {\n deleteActionItem(id: $id, workspaceId: $workspaceId)\n }\n";
67
+ export declare const ACTIVE_POMODORO_SESSION = "\n query TimecampusActivePomodoroSession($workspaceId: ID!) {\n activePomodoroSession(workspaceId: $workspaceId) { \n id type startTime endTime duration completed interrupted interruptions notes\n projectId taskId userId workspaceId createdAt updatedAt\n }\n }\n";
68
+ export declare const GET_POMODORO_SESSION = "\n query TimecampusGetPomodoroSession($id: ID!, $workspaceId: ID!) {\n pomodoroSession(id: $id, workspaceId: $workspaceId) { \n id type startTime endTime duration completed interrupted interruptions notes\n projectId taskId userId workspaceId createdAt updatedAt\n }\n }\n";
69
+ export declare const LIST_POMODORO_SESSIONS = "\n query TimecampusListPomodoroSessions(\n $workspaceId: ID!\n $filter: PomodoroSessionFilterInput\n $limit: Int\n $offset: Int\n $orderBy: PomodoroSessionOrderByInput\n ) {\n pomodoroSessions(\n workspaceId: $workspaceId\n filter: $filter\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n ) {\n \n id type startTime endTime duration completed interrupted interruptions notes\n projectId taskId userId workspaceId createdAt updatedAt\n\n }\n }\n";
70
+ export declare const POMODORO_STATS = "\n query TimecampusPomodoroStats($workspaceId: ID!, $startDate: DateTime, $endDate: DateTime) {\n pomodoroStats(workspaceId: $workspaceId, startDate: $startDate, endDate: $endDate) {\n totalSessions completedSessions totalFocusMinutes averageSessionMinutes\n completionRate streakDays\n }\n }\n";
71
+ export declare const POMODORO_GOALS = "\n query TimecampusPomodoroGoals($workspaceId: ID!) {\n pomodoroGoals(workspaceId: $workspaceId) { \n id type period target current startDate endDate userId workspaceId\n createdAt updatedAt\n }\n }\n";
72
+ export declare const POMODORO_SETTINGS = "\n query TimecampusPomodoroSettings($workspaceId: ID!) {\n pomodoroSettings(workspaceId: $workspaceId) { \n id focusDuration shortBreakDuration longBreakDuration sessionsBeforeLongBreak\n autoStartBreaks autoStartFocus soundEnabled notificationsEnabled userId\n workspaceId createdAt updatedAt\n }\n }\n";
73
+ export declare const START_POMODORO_SESSION = "\n mutation TimecampusStartPomodoroSession($input: StartPomodoroSessionInput!) {\n startPomodoroSession(input: $input) { \n id type startTime endTime duration completed interrupted interruptions notes\n projectId taskId userId workspaceId createdAt updatedAt\n }\n }\n";
74
+ export declare const COMPLETE_POMODORO_SESSION = "\n mutation TimecampusCompletePomodoroSession($id: ID!, $workspaceId: ID!) {\n completePomodoroSession(id: $id, workspaceId: $workspaceId) { \n id type startTime endTime duration completed interrupted interruptions notes\n projectId taskId userId workspaceId createdAt updatedAt\n }\n }\n";
75
+ export declare const INTERRUPT_POMODORO_SESSION = "\n mutation TimecampusInterruptPomodoroSession($id: ID!, $reason: String, $workspaceId: ID!) {\n interruptPomodoroSession(id: $id, reason: $reason, workspaceId: $workspaceId) {\n \n id type startTime endTime duration completed interrupted interruptions notes\n projectId taskId userId workspaceId createdAt updatedAt\n\n }\n }\n";
76
+ export declare const CREATE_POMODORO_GOAL = "\n mutation TimecampusCreatePomodoroGoal($input: CreatePomodoroGoalInput!) {\n createPomodoroGoal(input: $input) { \n id type period target current startDate endDate userId workspaceId\n createdAt updatedAt\n }\n }\n";
77
+ export declare const UPDATE_POMODORO_GOAL = "\n mutation TimecampusUpdatePomodoroGoal($id: ID!, $input: UpdatePomodoroGoalInput!, $workspaceId: ID!) {\n updatePomodoroGoal(id: $id, input: $input, workspaceId: $workspaceId) { \n id type period target current startDate endDate userId workspaceId\n createdAt updatedAt\n }\n }\n";
78
+ export declare const DELETE_POMODORO_GOAL = "\n mutation TimecampusDeletePomodoroGoal($id: ID!, $workspaceId: ID!) {\n deletePomodoroGoal(id: $id, workspaceId: $workspaceId)\n }\n";
79
+ export declare const UPDATE_POMODORO_SETTINGS = "\n mutation TimecampusUpdatePomodoroSettings($input: UpdatePomodoroSettingsInput!) {\n updatePomodoroSettings(input: $input) { \n id focusDuration shortBreakDuration longBreakDuration sessionsBeforeLongBreak\n autoStartBreaks autoStartFocus soundEnabled notificationsEnabled userId\n workspaceId createdAt updatedAt\n }\n }\n";
80
+ export declare const GET_EXPENSE = "\n query TimecampusGetExpense($id: ID!, $workspaceId: ID!) {\n expense(id: $id, workspaceId: $workspaceId) { \n id amount currency category description notes date status projectId receiptUrl\n approvedBy approvedAt userId workspaceId createdAt updatedAt\n }\n }\n";
81
+ export declare const LIST_EXPENSES = "\n query TimecampusListExpenses(\n $workspaceId: ID!\n $filter: ExpenseFilterInput\n $limit: Int\n $offset: Int\n $orderBy: ExpenseOrderByInput\n ) {\n expenses(workspaceId: $workspaceId, filter: $filter, limit: $limit, offset: $offset, orderBy: $orderBy) {\n \n id amount currency category description notes date status projectId receiptUrl\n approvedBy approvedAt userId workspaceId createdAt updatedAt\n\n }\n }\n";
82
+ export declare const EXPENSE_STATS = "\n query TimecampusExpenseStats($workspaceId: ID!, $startDate: DateTime, $endDate: DateTime) {\n expenseStats(workspaceId: $workspaceId, startDate: $startDate, endDate: $endDate) {\n totalExpenses totalAmount approvedCount pendingCount averageAmount byCategory\n }\n }\n";
83
+ export declare const EXPENSE_CATEGORIES = "\n query TimecampusExpenseCategories($workspaceId: ID!) {\n expenseCategories(workspaceId: $workspaceId)\n }\n";
84
+ export declare const CREATE_EXPENSE = "\n mutation TimecampusCreateExpense($input: CreateExpenseInput!) {\n createExpense(input: $input) { \n id amount currency category description notes date status projectId receiptUrl\n approvedBy approvedAt userId workspaceId createdAt updatedAt\n }\n }\n";
85
+ export declare const UPDATE_EXPENSE = "\n mutation TimecampusUpdateExpense($id: ID!, $input: UpdateExpenseInput!, $workspaceId: ID!) {\n updateExpense(id: $id, input: $input, workspaceId: $workspaceId) { \n id amount currency category description notes date status projectId receiptUrl\n approvedBy approvedAt userId workspaceId createdAt updatedAt\n }\n }\n";
86
+ export declare const DELETE_EXPENSE = "\n mutation TimecampusDeleteExpense($id: ID!, $workspaceId: ID!) {\n deleteExpense(id: $id, workspaceId: $workspaceId)\n }\n";
87
+ export declare const APPROVE_EXPENSE = "\n mutation TimecampusApproveExpense($id: ID!, $workspaceId: ID!) {\n approveExpense(id: $id, workspaceId: $workspaceId) { \n id amount currency category description notes date status projectId receiptUrl\n approvedBy approvedAt userId workspaceId createdAt updatedAt\n }\n }\n";
88
+ export declare const REJECT_EXPENSE = "\n mutation TimecampusRejectExpense($id: ID!, $reason: String, $workspaceId: ID!) {\n rejectExpense(id: $id, reason: $reason, workspaceId: $workspaceId) { \n id amount currency category description notes date status projectId receiptUrl\n approvedBy approvedAt userId workspaceId createdAt updatedAt\n }\n }\n";
89
+ export declare const SUBMIT_EXPENSE = "\n mutation TimecampusSubmitExpense($id: ID!, $workspaceId: ID!) {\n submitExpenseForApproval(id: $id, workspaceId: $workspaceId) { \n id amount currency category description notes date status projectId receiptUrl\n approvedBy approvedAt userId workspaceId createdAt updatedAt\n }\n }\n";
90
+ export declare const GET_APPROVAL = "\n query TimecampusGetApproval($id: ID!) {\n approvalRequest(id: $id) { \n id period startDate endDate totalHours billableHours status approverId reviewer\n reviewerNotes submittedAt reviewedAt userId workspaceId createdAt updatedAt\n }\n }\n";
91
+ export declare const LIST_APPROVALS = "\n query TimecampusListApprovals($filter: ApprovalRequestFilterInput, $limit: Int, $offset: Int) {\n approvalRequests(filter: $filter, limit: $limit, offset: $offset) {\n total hasMore items { \n id period startDate endDate totalHours billableHours status approverId reviewer\n reviewerNotes submittedAt reviewedAt userId workspaceId createdAt updatedAt\n }\n }\n }\n";
92
+ export declare const APPROVAL_STATS = "\n query TimecampusApprovalStats($startDate: DateTime, $endDate: DateTime) {\n approvalStats(startDate: $startDate, endDate: $endDate) {\n totalRequests pendingCount approvedCount rejectedCount averageReviewTime\n }\n }\n";
93
+ export declare const MY_APPROVALS = "\n query TimecampusMyApprovals($status: ApprovalStatus) {\n myApprovalRequests(status: $status) { \n id period startDate endDate totalHours billableHours status approverId reviewer\n reviewerNotes submittedAt reviewedAt userId workspaceId createdAt updatedAt\n }\n }\n";
94
+ export declare const PENDING_APPROVALS = "\n query TimecampusPendingApprovals {\n pendingApprovals { \n id period startDate endDate totalHours billableHours status approverId reviewer\n reviewerNotes submittedAt reviewedAt userId workspaceId createdAt updatedAt\n }\n }\n";
95
+ export declare const SUBMIT_APPROVAL = "\n mutation TimecampusSubmitApproval($input: SubmitApprovalRequestInput!) {\n submitApprovalRequest(input: $input) { \n id period startDate endDate totalHours billableHours status approverId reviewer\n reviewerNotes submittedAt reviewedAt userId workspaceId createdAt updatedAt\n }\n }\n";
96
+ export declare const APPROVE_REQUEST = "\n mutation TimecampusApproveRequest($id: ID!, $notes: String) {\n approveRequest(id: $id, notes: $notes) { \n id period startDate endDate totalHours billableHours status approverId reviewer\n reviewerNotes submittedAt reviewedAt userId workspaceId createdAt updatedAt\n }\n }\n";
97
+ export declare const REJECT_REQUEST = "\n mutation TimecampusRejectRequest($id: ID!, $reason: String!) {\n rejectRequest(id: $id, reason: $reason) { \n id period startDate endDate totalHours billableHours status approverId reviewer\n reviewerNotes submittedAt reviewedAt userId workspaceId createdAt updatedAt\n }\n }\n";
98
+ export declare const REQUEST_REVISION = "\n mutation TimecampusRequestRevision($id: ID!, $notes: String!) {\n requestRevision(id: $id, notes: $notes) { \n id period startDate endDate totalHours billableHours status approverId reviewer\n reviewerNotes submittedAt reviewedAt userId workspaceId createdAt updatedAt\n }\n }\n";
99
+ export declare const WITHDRAW_REQUEST = "\n mutation TimecampusWithdrawRequest($id: ID!) {\n withdrawRequest(id: $id) { \n id period startDate endDate totalHours billableHours status approverId reviewer\n reviewerNotes submittedAt reviewedAt userId workspaceId createdAt updatedAt\n }\n }\n";
100
+ export declare const GET_RESOURCE_PLAN = "\n query TimecampusGetResourcePlan($id: ID!) {\n resourcePlan(id: $id) {\n \n id name description status startDate endDate totalAllocatedHours\n totalActualHours workspaceId createdAt updatedAt\n\n allocations { \n id resourcePlanId userId projectId allocatedHours actualHours utilizationRate\n startDate endDate notes workspaceId createdAt updatedAt\n }\n }\n }\n";
101
+ export declare const LIST_RESOURCE_PLANS = "\n query TimecampusListResourcePlans($filter: ResourcePlanFilterInput, $limit: Int, $offset: Int) {\n resourcePlans(filter: $filter, limit: $limit, offset: $offset) {\n total hasMore items { \n id name description status startDate endDate totalAllocatedHours\n totalActualHours workspaceId createdAt updatedAt\n }\n }\n }\n";
102
+ export declare const LIST_RESOURCE_ALLOCATIONS = "\n query TimecampusListResourceAllocations($planId: ID!, $limit: Int, $offset: Int) {\n resourceAllocations(planId: $planId, limit: $limit, offset: $offset) {\n \n id resourcePlanId userId projectId allocatedHours actualHours utilizationRate\n startDate endDate notes workspaceId createdAt updatedAt\n\n }\n }\n";
103
+ export declare const USER_ALLOCATIONS = "\n query TimecampusUserAllocations($userId: ID!, $startDate: DateTime, $endDate: DateTime) {\n userAllocations(userId: $userId, startDate: $startDate, endDate: $endDate) {\n \n id resourcePlanId userId projectId allocatedHours actualHours utilizationRate\n startDate endDate notes workspaceId createdAt updatedAt\n\n }\n }\n";
104
+ export declare const CAPACITY_OVERVIEW = "\n query TimecampusCapacityOverview($startDate: DateTime!, $endDate: DateTime!) {\n capacityOverview(startDate: $startDate, endDate: $endDate) {\n totalCapacity allocatedCapacity availableCapacity utilizationRate\n overallocatedUsers\n }\n }\n";
105
+ export declare const CREATE_RESOURCE_PLAN = "\n mutation TimecampusCreateResourcePlan($input: CreateResourcePlanInput!) {\n createResourcePlan(input: $input) { \n id name description status startDate endDate totalAllocatedHours\n totalActualHours workspaceId createdAt updatedAt\n }\n }\n";
106
+ export declare const UPDATE_RESOURCE_PLAN = "\n mutation TimecampusUpdateResourcePlan($id: ID!, $input: UpdateResourcePlanInput!) {\n updateResourcePlan(id: $id, input: $input) { \n id name description status startDate endDate totalAllocatedHours\n totalActualHours workspaceId createdAt updatedAt\n }\n }\n";
107
+ export declare const DELETE_RESOURCE_PLAN = "\n mutation TimecampusDeleteResourcePlan($id: ID!) {\n deleteResourcePlan(id: $id) { \n id name description status startDate endDate totalAllocatedHours\n totalActualHours workspaceId createdAt updatedAt\n }\n }\n";
108
+ export declare const ACTIVATE_RESOURCE_PLAN = "\n mutation TimecampusActivateResourcePlan($id: ID!) {\n activateResourcePlan(id: $id) { \n id name description status startDate endDate totalAllocatedHours\n totalActualHours workspaceId createdAt updatedAt\n }\n }\n";
109
+ export declare const CREATE_ALLOCATION = "\n mutation TimecampusCreateAllocation($input: CreateAllocationInput!) {\n createAllocation(input: $input) { \n id resourcePlanId userId projectId allocatedHours actualHours utilizationRate\n startDate endDate notes workspaceId createdAt updatedAt\n }\n }\n";
110
+ export declare const UPDATE_ALLOCATION = "\n mutation TimecampusUpdateAllocation($id: ID!, $input: UpdateAllocationInput!) {\n updateAllocation(id: $id, input: $input) { \n id resourcePlanId userId projectId allocatedHours actualHours utilizationRate\n startDate endDate notes workspaceId createdAt updatedAt\n }\n }\n";
111
+ export declare const DELETE_ALLOCATION = "\n mutation TimecampusDeleteAllocation($id: ID!) {\n deleteAllocation(id: $id) { \n id resourcePlanId userId projectId allocatedHours actualHours utilizationRate\n startDate endDate notes workspaceId createdAt updatedAt\n }\n }\n";
112
+ export declare const BULK_CREATE_ALLOCATIONS = "\n mutation TimecampusBulkCreateAllocations($planId: ID!, $allocations: [BulkAllocationInput!]!) {\n bulkCreateAllocations(planId: $planId, allocations: $allocations) {\n \n id resourcePlanId userId projectId allocatedHours actualHours utilizationRate\n startDate endDate notes workspaceId createdAt updatedAt\n\n }\n }\n";
113
+ export declare const GET_FOCUS_SCORE = "\n query TimecampusGetFocusScore($id: ID!) {\n focusScore(id: $id) { \n id date overallScore deepWorkScore distractionResistanceScore\n taskCompletionScore energyManagementScore consistencyScore factors userId\n workspaceId createdAt updatedAt\n }\n }\n";
114
+ export declare const LIST_FOCUS_SCORES = "\n query TimecampusListFocusScores(\n $startDate: DateTime\n $endDate: DateTime\n $limit: Int\n $offset: Int\n $userId: ID\n ) {\n focusScores(startDate: $startDate, endDate: $endDate, limit: $limit, offset: $offset, userId: $userId) {\n \n id date overallScore deepWorkScore distractionResistanceScore\n taskCompletionScore energyManagementScore consistencyScore factors userId\n workspaceId createdAt updatedAt\n\n }\n }\n";
115
+ export declare const FOCUS_SCORE_SUMMARY = "\n query TimecampusFocusScoreSummary($startDate: DateTime, $endDate: DateTime, $userId: ID) {\n focusScoreSummary(startDate: $startDate, endDate: $endDate, userId: $userId) {\n averageScore highestScore lowestScore trend topFactor improvementArea\n }\n }\n";
116
+ export declare const FOCUS_SCORE_TREND = "\n query TimecampusFocusScoreTrend($days: Int, $userId: ID) {\n focusScoreTrend(days: $days, userId: $userId) { date score change }\n }\n";
117
+ export declare const TODAY_FOCUS_SCORE = "\n query TimecampusTodayFocusScore {\n todayFocusScore { \n id date overallScore deepWorkScore distractionResistanceScore\n taskCompletionScore energyManagementScore consistencyScore factors userId\n workspaceId createdAt updatedAt\n }\n }\n";
118
+ export declare const CALCULATE_FOCUS_SCORE = "\n mutation TimecampusCalculateFocusScore($date: DateTime, $userId: ID) {\n calculateFocusScore(date: $date, userId: $userId) { \n id date overallScore deepWorkScore distractionResistanceScore\n taskCompletionScore energyManagementScore consistencyScore factors userId\n workspaceId createdAt updatedAt\n }\n }\n";
119
+ export declare const RECORD_FOCUS_SCORE = "\n mutation TimecampusRecordFocusScore($input: RecordFocusScoreInput!) {\n recordFocusScore(input: $input) { \n id date overallScore deepWorkScore distractionResistanceScore\n taskCompletionScore energyManagementScore consistencyScore factors userId\n workspaceId createdAt updatedAt\n }\n }\n";
120
+ export declare const UPDATE_FOCUS_SCORE = "\n mutation TimecampusUpdateFocusScore($id: ID!, $input: UpdateFocusScoreInput!) {\n updateFocusScore(id: $id, input: $input) { \n id date overallScore deepWorkScore distractionResistanceScore\n taskCompletionScore energyManagementScore consistencyScore factors userId\n workspaceId createdAt updatedAt\n }\n }\n";
121
+ export declare const DELETE_FOCUS_SCORE = "\n mutation TimecampusDeleteFocusScore($id: ID!) {\n deleteFocusScore(id: $id) { \n id date overallScore deepWorkScore distractionResistanceScore\n taskCompletionScore energyManagementScore consistencyScore factors userId\n workspaceId createdAt updatedAt\n }\n }\n";
122
+ export declare const GET_WORK_PATTERN = "\n query TimecampusGetWorkPattern($id: ID!) {\n workPattern(id: $id) { \n id date focusHours meetingHours breakHours deepWorkSessions interruptions\n productivityScore energyLevel mood stressLevel peakHours userId workspaceId\n createdAt updatedAt\n }\n }\n";
123
+ export declare const LIST_WORK_PATTERNS = "\n query TimecampusListWorkPatterns(\n $startDate: DateTime\n $endDate: DateTime\n $limit: Int\n $offset: Int\n $userId: ID\n ) {\n workPatterns(startDate: $startDate, endDate: $endDate, limit: $limit, offset: $offset, userId: $userId) {\n \n id date focusHours meetingHours breakHours deepWorkSessions interruptions\n productivityScore energyLevel mood stressLevel peakHours userId workspaceId\n createdAt updatedAt\n\n }\n }\n";
124
+ export declare const WORK_PATTERN_SUMMARY = "\n query TimecampusWorkPatternSummary($startDate: DateTime, $endDate: DateTime, $userId: ID) {\n workPatternSummary(startDate: $startDate, endDate: $endDate, userId: $userId) {\n averageFocusHours averageMeetingHours averageProductivity mostProductiveDay\n leastProductiveDay\n insights { type title description impact recommendation }\n }\n }\n";
125
+ export declare const TODAY_WORK_PATTERN = "\n query TimecampusTodayWorkPattern {\n todayWorkPattern { \n id date focusHours meetingHours breakHours deepWorkSessions interruptions\n productivityScore energyLevel mood stressLevel peakHours userId workspaceId\n createdAt updatedAt\n }\n }\n";
126
+ export declare const RECORD_WORK_PATTERN = "\n mutation TimecampusRecordWorkPattern($input: RecordWorkPatternInput!) {\n recordWorkPattern(input: $input) { \n id date focusHours meetingHours breakHours deepWorkSessions interruptions\n productivityScore energyLevel mood stressLevel peakHours userId workspaceId\n createdAt updatedAt\n }\n }\n";
127
+ export declare const UPDATE_WORK_PATTERN = "\n mutation TimecampusUpdateWorkPattern($id: ID!, $input: UpdateWorkPatternInput!) {\n updateWorkPattern(id: $id, input: $input) { \n id date focusHours meetingHours breakHours deepWorkSessions interruptions\n productivityScore energyLevel mood stressLevel peakHours userId workspaceId\n createdAt updatedAt\n }\n }\n";
128
+ export declare const DELETE_WORK_PATTERN = "\n mutation TimecampusDeleteWorkPattern($id: ID!) {\n deleteWorkPattern(id: $id) { \n id date focusHours meetingHours breakHours deepWorkSessions interruptions\n productivityScore energyLevel mood stressLevel peakHours userId workspaceId\n createdAt updatedAt\n }\n }\n";
129
+ export declare const GET_APP_USAGE = "\n query TimecampusGetAppUsage($id: ID!) {\n applicationUsage(id: $id) { \n id applicationName category date timeSpent sessions switches firstUsed\n lastUsed userId workspaceId createdAt updatedAt\n }\n }\n";
130
+ export declare const LIST_APP_USAGE = "\n query TimecampusListAppUsage(\n $category: String\n $date: DateTime\n $limit: Int\n $offset: Int\n $userId: ID\n ) {\n applicationUsages(category: $category, date: $date, limit: $limit, offset: $offset, userId: $userId) {\n \n id applicationName category date timeSpent sessions switches firstUsed\n lastUsed userId workspaceId createdAt updatedAt\n\n }\n }\n";
131
+ export declare const APP_USAGE_SUMMARY = "\n query TimecampusAppUsageSummary($startDate: DateTime, $endDate: DateTime, $userId: ID) {\n appUsageSummary(startDate: $startDate, endDate: $endDate, userId: $userId) {\n totalApps productiveTime neutralTime distractingTime productivityRatio\n topApps { name category timeSpent sessions }\n }\n }\n";
132
+ export declare const TOP_APPLICATIONS = "\n query TimecampusTopApplications($startDate: DateTime, $endDate: DateTime, $limit: Int, $userId: ID) {\n topApplications(startDate: $startDate, endDate: $endDate, limit: $limit, userId: $userId) {\n name category timeSpent sessions\n }\n }\n";
133
+ export declare const RECORD_APP_USAGE = "\n mutation TimecampusRecordAppUsage($input: RecordApplicationUsageInput!) {\n recordApplicationUsage(input: $input) { \n id applicationName category date timeSpent sessions switches firstUsed\n lastUsed userId workspaceId createdAt updatedAt\n }\n }\n";
134
+ export declare const UPDATE_APP_USAGE = "\n mutation TimecampusUpdateAppUsage($id: ID!, $input: UpdateApplicationUsageInput!) {\n updateApplicationUsage(id: $id, input: $input) { \n id applicationName category date timeSpent sessions switches firstUsed\n lastUsed userId workspaceId createdAt updatedAt\n }\n }\n";
135
+ export declare const DELETE_APP_USAGE = "\n mutation TimecampusDeleteAppUsage($id: ID!) {\n deleteApplicationUsage(id: $id) { \n id applicationName category date timeSpent sessions switches firstUsed\n lastUsed userId workspaceId createdAt updatedAt\n }\n }\n";
136
+ export declare const CATEGORIZE_APPLICATION = "\n mutation TimecampusCategorizeApplication($applicationName: String!, $category: String!) {\n categorizeApplication(applicationName: $applicationName, category: $category) {\n \n id applicationName category date timeSpent sessions switches firstUsed\n lastUsed userId workspaceId createdAt updatedAt\n\n }\n }\n";
137
+ export declare const GET_GEOFENCE = "\n query TimecampusGetGeofence($id: ID!) {\n geofence(id: $id) {\n \n id name address latitude longitude radius trigger isActive linkedProjectId\n workspaceId createdAt updatedAt\n\n events { \n id geofenceId type userId locationLatitude locationLongitude timestamp\n workspaceId createdAt updatedAt\n }\n }\n }\n";
138
+ export declare const LIST_GEOFENCES = "\n query TimecampusListGeofences($filter: GeofenceFilterInput, $limit: Int, $offset: Int) {\n geofences(filter: $filter, limit: $limit, offset: $offset) {\n total hasMore items { \n id name address latitude longitude radius trigger isActive linkedProjectId\n workspaceId createdAt updatedAt\n }\n }\n }\n";
139
+ export declare const LIST_GEOFENCE_EVENTS = "\n query TimecampusListGeofenceEvents($geofenceId: ID!, $limit: Int, $offset: Int) {\n geofenceEvents(geofenceId: $geofenceId, limit: $limit, offset: $offset) {\n \n id geofenceId type userId locationLatitude locationLongitude timestamp\n workspaceId createdAt updatedAt\n\n }\n }\n";
140
+ export declare const CREATE_GEOFENCE = "\n mutation TimecampusCreateGeofence($input: CreateGeofenceInput!) {\n createGeofence(input: $input) { \n id name address latitude longitude radius trigger isActive linkedProjectId\n workspaceId createdAt updatedAt\n }\n }\n";
141
+ export declare const UPDATE_GEOFENCE = "\n mutation TimecampusUpdateGeofence($id: ID!, $input: UpdateGeofenceInput!) {\n updateGeofence(id: $id, input: $input) { \n id name address latitude longitude radius trigger isActive linkedProjectId\n workspaceId createdAt updatedAt\n }\n }\n";
142
+ export declare const DELETE_GEOFENCE = "\n mutation TimecampusDeleteGeofence($id: ID!) {\n deleteGeofence(id: $id) { \n id name address latitude longitude radius trigger isActive linkedProjectId\n workspaceId createdAt updatedAt\n }\n }\n";
143
+ export declare const TOGGLE_GEOFENCE = "\n mutation TimecampusToggleGeofence($id: ID!, $isActive: Boolean!) {\n toggleGeofence(id: $id, isActive: $isActive) { \n id name address latitude longitude radius trigger isActive linkedProjectId\n workspaceId createdAt updatedAt\n }\n }\n";
144
+ export declare const RECORD_GEOFENCE_EVENT = "\n mutation TimecampusRecordGeofenceEvent($input: RecordGeofenceEventInput!) {\n recordGeofenceEvent(input: $input) { \n id geofenceId type userId locationLatitude locationLongitude timestamp\n workspaceId createdAt updatedAt\n }\n }\n";
145
+ export declare const GET_LOCATION_ENTRY = "\n query TimecampusGetLocationEntry($id: ID!) {\n locationEntry(id: $id) { \n id latitude longitude accuracy address startTime endTime duration geofenceId\n projectId userId workspaceId createdAt updatedAt\n }\n }\n";
146
+ export declare const ACTIVE_LOCATION_ENTRY = "\n query TimecampusActiveLocationEntry {\n activeLocationEntry { \n id latitude longitude accuracy address startTime endTime duration geofenceId\n projectId userId workspaceId createdAt updatedAt\n }\n }\n";
147
+ export declare const LIST_LOCATION_ENTRIES = "\n query TimecampusListLocationEntries($filter: LocationEntryFilterInput, $limit: Int, $offset: Int) {\n locationEntries(filter: $filter, limit: $limit, offset: $offset) {\n total hasMore items { \n id latitude longitude accuracy address startTime endTime duration geofenceId\n projectId userId workspaceId createdAt updatedAt\n }\n }\n }\n";
148
+ export declare const LOCATION_STATS = "\n query TimecampusLocationStats($startDate: DateTime, $endDate: DateTime) {\n locationStats(startDate: $startDate, endDate: $endDate) {\n totalLocations totalDuration uniqueAddresses mostFrequentLocation\n }\n }\n";
149
+ export declare const CREATE_LOCATION_ENTRY = "\n mutation TimecampusCreateLocationEntry($input: CreateLocationEntryInput!) {\n createLocationEntry(input: $input) { \n id latitude longitude accuracy address startTime endTime duration geofenceId\n projectId userId workspaceId createdAt updatedAt\n }\n }\n";
150
+ export declare const UPDATE_LOCATION_ENTRY = "\n mutation TimecampusUpdateLocationEntry($id: ID!, $input: UpdateLocationEntryInput!) {\n updateLocationEntry(id: $id, input: $input) { \n id latitude longitude accuracy address startTime endTime duration geofenceId\n projectId userId workspaceId createdAt updatedAt\n }\n }\n";
151
+ export declare const DELETE_LOCATION_ENTRY = "\n mutation TimecampusDeleteLocationEntry($id: ID!) {\n deleteLocationEntry(id: $id) { \n id latitude longitude accuracy address startTime endTime duration geofenceId\n projectId userId workspaceId createdAt updatedAt\n }\n }\n";
152
+ export declare const GET_CHANNEL = "\n query TimecampusGetChannel($id: ID!) {\n channelConfig(id: $id) { \n id name type status syncInterval lastSync settings workspaceId\n createdAt updatedAt\n }\n }\n";
153
+ export declare const LIST_CHANNELS = "\n query TimecampusListChannels($limit: Int, $offset: Int) {\n channelConfigs(limit: $limit, offset: $offset) { \n id name type status syncInterval lastSync settings workspaceId\n createdAt updatedAt\n }\n }\n";
154
+ export declare const ACTIVE_CHANNELS = "\n query TimecampusActiveChannels {\n activeChannels { \n id name type status syncInterval lastSync settings workspaceId\n createdAt updatedAt\n }\n }\n";
155
+ export declare const CHANNEL_STATUSES = "\n query TimecampusChannelStatuses {\n channelStatuses { channelId name type status isHealthy lastSync }\n }\n";
156
+ export declare const CREATE_CHANNEL = "\n mutation TimecampusCreateChannel($input: CreateChannelConfigInput!) {\n createChannelConfig(input: $input) { \n id name type status syncInterval lastSync settings workspaceId\n createdAt updatedAt\n }\n }\n";
157
+ export declare const UPDATE_CHANNEL = "\n mutation TimecampusUpdateChannel($id: ID!, $input: UpdateChannelConfigInput!) {\n updateChannelConfig(id: $id, input: $input) { \n id name type status syncInterval lastSync settings workspaceId\n createdAt updatedAt\n }\n }\n";
158
+ export declare const DELETE_CHANNEL = "\n mutation TimecampusDeleteChannel($id: ID!) {\n deleteChannelConfig(id: $id) { \n id name type status syncInterval lastSync settings workspaceId\n createdAt updatedAt\n }\n }\n";
159
+ export declare const SYNC_CHANNEL = "\n mutation TimecampusSyncChannel($id: ID!) {\n syncChannel(id: $id) { \n id name type status syncInterval lastSync settings workspaceId\n createdAt updatedAt\n }\n }\n";
160
+ export declare const TOGGLE_CHANNEL = "\n mutation TimecampusToggleChannel($id: ID!, $status: ChannelStatus!) {\n toggleChannel(id: $id, status: $status) { \n id name type status syncInterval lastSync settings workspaceId\n createdAt updatedAt\n }\n }\n";
161
+ export declare const GET_CLIENT_PORTAL = "\n query TimecampusGetClientPortal($id: ID!) {\n clientPortalConfig(id: $id) { \n id clientName description contactEmail contactPhone logoUrl isActive\n permissions settings workspaceId createdAt updatedAt\n }\n }\n";
162
+ export declare const LIST_CLIENT_PORTALS = "\n query TimecampusListClientPortals($limit: Int, $offset: Int) {\n clientPortalConfigs(limit: $limit, offset: $offset) {\n total hasMore items { \n id clientName description contactEmail contactPhone logoUrl isActive\n permissions settings workspaceId createdAt updatedAt\n }\n }\n }\n";
163
+ export declare const CLIENT_PORTAL_STATS = "\n query TimecampusClientPortalStats {\n clientPortalStats { totalClients activeClients totalProjectsShared }\n }\n";
164
+ export declare const CREATE_CLIENT_PORTAL = "\n mutation TimecampusCreateClientPortal($input: CreateClientPortalConfigInput!) {\n createClientPortalConfig(input: $input) { \n id clientName description contactEmail contactPhone logoUrl isActive\n permissions settings workspaceId createdAt updatedAt\n }\n }\n";
165
+ export declare const UPDATE_CLIENT_PORTAL = "\n mutation TimecampusUpdateClientPortal($id: ID!, $input: UpdateClientPortalConfigInput!) {\n updateClientPortalConfig(id: $id, input: $input) { \n id clientName description contactEmail contactPhone logoUrl isActive\n permissions settings workspaceId createdAt updatedAt\n }\n }\n";
166
+ export declare const DELETE_CLIENT_PORTAL = "\n mutation TimecampusDeleteClientPortal($id: ID!) {\n deleteClientPortalConfig(id: $id) { \n id clientName description contactEmail contactPhone logoUrl isActive\n permissions settings workspaceId createdAt updatedAt\n }\n }\n";
167
+ export declare const TOGGLE_CLIENT_PORTAL = "\n mutation TimecampusToggleClientPortal($id: ID!, $isActive: Boolean!) {\n toggleClientPortal(id: $id, isActive: $isActive) { \n id clientName description contactEmail contactPhone logoUrl isActive\n permissions settings workspaceId createdAt updatedAt\n }\n }\n";
168
+ export declare const GET_EMAIL_ENTRY = "\n query TimecampusGetEmailEntry($id: ID!) {\n emailTimeEntry(id: $id) { \n id subject sender recipients threadId category isImportant duration\n responseTime date userId workspaceId createdAt updatedAt\n }\n }\n";
169
+ export declare const LIST_EMAIL_ENTRIES = "\n query TimecampusListEmailEntries(\n $filter: EmailTimeEntryFilterInput\n $startDate: DateTime\n $endDate: DateTime\n $limit: Int\n $offset: Int\n $userId: ID\n ) {\n emailTimeEntries(\n filter: $filter\n startDate: $startDate\n endDate: $endDate\n limit: $limit\n offset: $offset\n userId: $userId\n ) {\n \n id subject sender recipients threadId category isImportant duration\n responseTime date userId workspaceId createdAt updatedAt\n\n }\n }\n";
170
+ export declare const EMAIL_TRACKING_STATS = "\n query TimecampusEmailTrackingStats($startDate: DateTime, $endDate: DateTime, $userId: ID) {\n emailTrackingStats(startDate: $startDate, endDate: $endDate, userId: $userId) {\n totalEmails importantCount totalDuration averageResponseTime byCategory\n }\n }\n";
171
+ export declare const CREATE_EMAIL_ENTRY = "\n mutation TimecampusCreateEmailEntry($input: CreateEmailTimeEntryInput!) {\n createEmailTimeEntry(input: $input) { \n id subject sender recipients threadId category isImportant duration\n responseTime date userId workspaceId createdAt updatedAt\n }\n }\n";
172
+ export declare const BULK_CREATE_EMAIL_ENTRIES = "\n mutation TimecampusBulkCreateEmailEntries($inputs: [CreateEmailTimeEntryInput!]!) {\n bulkCreateEmailTimeEntries(inputs: $inputs) { \n id subject sender recipients threadId category isImportant duration\n responseTime date userId workspaceId createdAt updatedAt\n }\n }\n";
173
+ export declare const UPDATE_EMAIL_ENTRY = "\n mutation TimecampusUpdateEmailEntry($id: ID!, $input: UpdateEmailTimeEntryInput!) {\n updateEmailTimeEntry(id: $id, input: $input) { \n id subject sender recipients threadId category isImportant duration\n responseTime date userId workspaceId createdAt updatedAt\n }\n }\n";
174
+ export declare const DELETE_EMAIL_ENTRY = "\n mutation TimecampusDeleteEmailEntry($id: ID!) {\n deleteEmailTimeEntry(id: $id) { \n id subject sender recipients threadId category isImportant duration\n responseTime date userId workspaceId createdAt updatedAt\n }\n }\n";
175
+ export declare const GET_CONFIG = "\n query TimecampusGetConfig($id: ID!) {\n timeCampusConfiguration(id: $id) { \n id key value scope scopeId description isSecret workspaceId createdAt updatedAt\n }\n }\n";
176
+ export declare const GET_CONFIG_BY_KEY = "\n query TimecampusGetConfigByKey($key: String!, $scope: TimeCampusConfigScope, $scopeId: String) {\n timeCampusConfigurationByKey(key: $key, scope: $scope, scopeId: $scopeId) { \n id key value scope scopeId description isSecret workspaceId createdAt updatedAt\n }\n }\n";
177
+ export declare const CONFIG_VALUE = "\n query TimecampusConfigValue($key: String!, $scope: TimeCampusConfigScope, $scopeId: String) {\n timeCampusConfigurationValue(key: $key, scope: $scope, scopeId: $scopeId)\n }\n";
178
+ export declare const LIST_CONFIGS = "\n query TimecampusListConfigs($scope: TimeCampusConfigScope, $scopeId: String, $limit: Int, $offset: Int) {\n timeCampusConfigurations(scope: $scope, scopeId: $scopeId, limit: $limit, offset: $offset) {\n \n id key value scope scopeId description isSecret workspaceId createdAt updatedAt\n\n }\n }\n";
179
+ export declare const SET_CONFIG = "\n mutation TimecampusSetConfig($input: SetTimeCampusConfigurationInput!) {\n setTimeCampusConfiguration(input: $input) { \n id key value scope scopeId description isSecret workspaceId createdAt updatedAt\n }\n }\n";
180
+ export declare const BULK_SET_CONFIGS = "\n mutation TimecampusBulkSetConfigs($inputs: [SetTimeCampusConfigurationInput!]!) {\n bulkSetTimeCampusConfigurations(inputs: $inputs) { \n id key value scope scopeId description isSecret workspaceId createdAt updatedAt\n }\n }\n";
181
+ export declare const UPDATE_CONFIG = "\n mutation TimecampusUpdateConfig($id: ID!, $input: UpdateTimeCampusConfigurationInput!) {\n updateTimeCampusConfiguration(id: $id, input: $input) { \n id key value scope scopeId description isSecret workspaceId createdAt updatedAt\n }\n }\n";
182
+ export declare const DELETE_CONFIG = "\n mutation TimecampusDeleteConfig($id: ID!) {\n deleteTimeCampusConfiguration(id: $id) { \n id key value scope scopeId description isSecret workspaceId createdAt updatedAt\n }\n }\n";
183
+ export declare const GET_UI_SESSION = "\n query TimecampusGetUISession {\n timeCampusUISession { \n id activeView preferences state userId workspaceId createdAt updatedAt\n }\n }\n";
184
+ export declare const UI_SESSION_BY_USER = "\n query TimecampusUISessionByUser($userId: ID!) {\n timeCampusUISessionByUser(userId: $userId) { \n id activeView preferences state userId workspaceId createdAt updatedAt\n }\n }\n";
185
+ export declare const SAVE_UI_SESSION = "\n mutation TimecampusSaveUISession($input: SaveTimeCampusUISessionInput!) {\n saveTimeCampusUISession(input: $input) { \n id activeView preferences state userId workspaceId createdAt updatedAt\n }\n }\n";
186
+ export declare const UPDATE_UI_SESSION = "\n mutation TimecampusUpdateUISession($id: ID!, $input: UpdateTimeCampusUISessionInput!) {\n updateTimeCampusUISession(id: $id, input: $input) { \n id activeView preferences state userId workspaceId createdAt updatedAt\n }\n }\n";
187
+ export declare const CLEAR_UI_SESSION = "\n mutation TimecampusClearUISession {\n clearTimeCampusUISession\n }\n";
@@ -0,0 +1,3 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+ import { type McpContext } from '../../core/index.js';
3
+ export declare function registerTimecampusPrompts(server: McpServer, ctx: McpContext, track: (n: string) => string): void;
@@ -0,0 +1,3 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+ import { type McpContext } from '../../core/index.js';
3
+ export declare function registerTimecampusResources(server: McpServer, ctx: McpContext, track: (uri: string) => string): void;
@@ -0,0 +1,3 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+ import { type McpContext } from '../../../core/index.js';
3
+ export declare function registerApprovalTools(server: McpServer, ctx: McpContext, track: (n: string) => string): void;
@@ -0,0 +1,3 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+ import { type McpContext } from '../../../core/index.js';
3
+ export declare function registerAppUsageTools(server: McpServer, ctx: McpContext, track: (n: string) => string): void;
@@ -0,0 +1,3 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+ import { type McpContext } from '../../../core/index.js';
3
+ export declare function registerChannelTools(server: McpServer, ctx: McpContext, track: (n: string) => string): void;
@@ -0,0 +1,3 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+ import { type McpContext } from '../../../core/index.js';
3
+ export declare function registerClientPortalTools(server: McpServer, ctx: McpContext, track: (n: string) => string): void;
@@ -0,0 +1,3 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+ import { type McpContext } from '../../../core/index.js';
3
+ export declare function registerConfigTools(server: McpServer, ctx: McpContext, track: (n: string) => string): void;
@@ -0,0 +1,3 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+ import { type McpContext } from '../../../core/index.js';
3
+ export declare function registerEmailTools(server: McpServer, ctx: McpContext, track: (n: string) => string): void;
@@ -0,0 +1,3 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+ import { type McpContext } from '../../../core/index.js';
3
+ export declare function registerExpenseTools(server: McpServer, ctx: McpContext, track: (n: string) => string): void;
@@ -0,0 +1,3 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+ import { type McpContext } from '../../../core/index.js';
3
+ export declare function registerFocusTools(server: McpServer, ctx: McpContext, track: (n: string) => string): void;
@@ -0,0 +1,3 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+ import { type McpContext } from '../../../core/index.js';
3
+ export declare function registerLocationTools(server: McpServer, ctx: McpContext, track: (n: string) => string): void;
@@ -0,0 +1,3 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+ import { type McpContext } from '../../../core/index.js';
3
+ export declare function registerMeetingTools(server: McpServer, ctx: McpContext, track: (n: string) => string): void;
@@ -0,0 +1,3 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+ import { type McpContext } from '../../../core/index.js';
3
+ export declare function registerPomodoroTools(server: McpServer, ctx: McpContext, track: (n: string) => string): void;
@@ -0,0 +1,3 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+ import { type McpContext } from '../../../core/index.js';
3
+ export declare function registerProjectTools(server: McpServer, ctx: McpContext, track: (n: string) => string): void;
@@ -0,0 +1,3 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+ import { type McpContext } from '../../../core/index.js';
3
+ export declare function registerResourcingTools(server: McpServer, ctx: McpContext, track: (n: string) => string): void;
@@ -0,0 +1,23 @@
1
+ import { z } from 'zod';
2
+ export declare const ApprovalStatusEnum: z.ZodEnum<["PENDING", "APPROVED", "REJECTED", "REVISION_REQUESTED"]>;
3
+ export declare const ChannelStatusEnum: z.ZodEnum<["ACTIVE", "INACTIVE", "SETUP"]>;
4
+ export declare const ChannelTypeEnum: z.ZodEnum<["API", "BROWSER", "CALENDAR", "CLI", "CUSTOM", "DESKTOP", "IDE", "MOBILE"]>;
5
+ export declare const ExpenseStatusEnum: z.ZodEnum<["PENDING", "APPROVED", "REJECTED", "REIMBURSED"]>;
6
+ export declare const ExpenseOrderByFieldEnum: z.ZodEnum<["amount", "category", "createdAt", "date", "status", "updatedAt"]>;
7
+ export declare const GeofenceTriggerEnum: z.ZodEnum<["ENTER", "EXIT", "BOTH"]>;
8
+ export declare const GeofenceEventTypeEnum: z.ZodEnum<["ENTER", "EXIT"]>;
9
+ export declare const MeetingTypeEnum: z.ZodEnum<["STANDUP", "PLANNING", "REVIEW", "RETROSPECTIVE", "ONE_ON_ONE", "TEAM", "EXTERNAL"]>;
10
+ export declare const MeetingParticipantRoleEnum: z.ZodEnum<["ORGANIZER", "REQUIRED", "OPTIONAL"]>;
11
+ export declare const MeetingParticipantStatusEnum: z.ZodEnum<["PENDING", "ACCEPTED", "DECLINED", "TENTATIVE"]>;
12
+ export declare const MeetingActionItemStatusEnum: z.ZodEnum<["PENDING", "IN_PROGRESS", "COMPLETED", "CANCELLED"]>;
13
+ export declare const MeetingOrderByFieldEnum: z.ZodEnum<["cost", "createdAt", "duration", "endTime", "rating", "startTime", "updatedAt"]>;
14
+ export declare const PomodoroSessionTypeEnum: z.ZodEnum<["FOCUS", "SHORT_BREAK", "LONG_BREAK"]>;
15
+ export declare const PomodoroGoalTypeEnum: z.ZodEnum<["DAILY", "WEEKLY", "MONTHLY"]>;
16
+ export declare const PomodoroSessionOrderByFieldEnum: z.ZodEnum<["createdAt", "duration", "endTime", "startTime", "updatedAt"]>;
17
+ export declare const ConfigScopeEnum: z.ZodEnum<["GLOBAL", "WORKSPACE", "PROJECT", "USER"]>;
18
+ export declare const OrderDirectionEnum: z.ZodEnum<["ASC", "DESC"]>;
19
+ export declare const SortDirectionEnum: z.ZodEnum<["asc", "desc"]>;
20
+ export declare const TaskOrderFieldEnum: z.ZodEnum<["CREATED_AT", "DUE_DATE", "ORDER", "PRIORITY", "STATUS", "TITLE"]>;
21
+ export declare const TimeEntryOrderFieldEnum: z.ZodEnum<["CREATED_AT", "DESCRIPTION", "DURATION", "START_TIME"]>;
22
+ export declare const ProjectOrderFieldEnum: z.ZodEnum<["BUDGET", "CREATED_AT", "NAME", "STATUS", "TRACKED_HOURS"]>;
23
+ export declare const JsonObject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -0,0 +1,3 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+ import { type McpContext } from '../../../core/index.js';
3
+ export declare function registerTaskTools(server: McpServer, ctx: McpContext, track: (n: string) => string): void;
@@ -0,0 +1,3 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+ import { type McpContext } from '../../../core/index.js';
3
+ export declare function registerTimeEntryTools(server: McpServer, ctx: McpContext, track: (n: string) => string): void;
@@ -0,0 +1,3 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+ import { type McpContext } from '../../../core/index.js';
3
+ export declare function registerWorkPatternTools(server: McpServer, ctx: McpContext, track: (n: string) => string): void;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/core/errors.ts","../../../src/core/tool-name.ts","../../../src/core/result.ts","../../../src/modules/tours/operations.ts","../../../src/modules/tours/tools.ts","../../../src/modules/tours/index.ts"],"names":["z"],"mappings":";;;;;;;;;;;AA8BO,IAAM,gBAAA,GAAN,cAA+B,KAAA,CAAM;AAAA,EACjB,KAAA;AAAA,EAEzB,WAAA,CAAY,SAAiB,KAAA,EAAiB;AAC5C,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,IAAA,CAAK,IAAA,GAAO,kBAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AAAA,EACf;AACF,CAAA;;;AC1BA,IAAM,oBAAA,GAAuB,EAAA;AAE7B,SAAS,cAAA,CAAe,MAAc,IAAA,EAA8C;AAClF,EAAA,IAAuB,IAAA,CAAK,MAAA,GAAS,oBAAA,EAAsB;AACzD,IAAA,MAAM,IAAI,gBAAA;AAAA,MACR,CAAA,WAAA,EAAc,IAAI,CAAA,UAAA,EAAa,oBAAoB,CAAA,8CAAA;AAAA,KACrD;AAAA,EACF;AACA,EAAA,OAAO,IAAA;AACT;AAMO,SAAS,WAAA,CAAY,gBAAwB,KAAA,EAAyB;AAC3E,EAAA,IAAI,CAAC,WAAA,EAAa;AAChB,IAAA,MAAM,IAAI,iBAAiB,sCAAsC,CAAA;AAAA,EACnE;AACA,EAAA,MAAM,IAAA,GAAO,CAAC,WAAA,EAAa,GAAG,KAAK,EAAE,MAAA,CAAO,OAAO,CAAA,CAAE,IAAA,CAAK,GAAG,CAAA;AAC7D,EAAA,OAAO,cAAA,CAAe,IAAY,CAAA;AACpC;;;ACOO,SAAS,UAAA,CAAW,MAAe,UAAA,EAAkD;AAC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;AAAA,EACT,WAAA,EAAa,OAAA;AAAA,EACb,SAAA,EAAW,CAAC,MAAM,CAAA;AAAA,EAClB,YAAA,EAAc,EAAE,KAAA,EAAO,EAAC,EAAE;AAAA,EAE1B,QAAA,CAAS,QAAmB,GAAA,EAAqC;AAC/D,IAAA,MAAM,QAAkB,EAAC;AACzB,IAAA,MAAM,KAAA,GAAQ,CAAC,CAAA,KAAsB;AACnC,MAAA,KAAA,CAAM,KAAK,CAAC,CAAA;AACZ,MAAA,OAAO,CAAA;AAAA,IACT,CAAA;AAEA,IAAA,kBAAA,CAAmB,MAAA,EAAQ,KAAK,KAAK,CAAA;AAErC,IAAA,OAAO,EAAE,KAAA,EAAO,SAAA,EAAW,EAAC,EAAG,OAAA,EAAS,EAAC,EAAE;AAAA,EAC7C;AACF,CAAA;AAEA,IAAO,aAAA,GAAQ","file":"index.cjs","sourcesContent":["/**\n * Error classes for MCP SDK.\n *\n * Modules MUST throw these instead of throwing raw Errors. The registerTool\n * wrapper in result.ts catches and maps them to MCP-protocol-compliant\n * `{ isError: true, content: [...] }` responses.\n *\n * Throwing past the wrapper to the protocol surfaces as JSON-RPC -32603 to\n * the client and is a protocol bug.\n */\n\nexport class McpUserError extends Error {\n public readonly hint: string | undefined;\n\n constructor(message: string, opts?: { hint?: string }) {\n super(message);\n this.name = 'McpUserError';\n this.hint = opts?.hint;\n }\n}\n\nexport class McpAuthError extends McpUserError {\n constructor(message: string, opts?: { hint?: string }) {\n super(message, {\n hint: opts?.hint ?? 'Run the auth_login tool to authenticate.',\n });\n this.name = 'McpAuthError';\n }\n}\n\nexport class McpInternalError extends Error {\n public override readonly cause: unknown;\n\n constructor(message: string, cause?: unknown) {\n super(message);\n this.name = 'McpInternalError';\n this.cause = cause;\n }\n}\n","/**\n * Tool / resource / prompt naming helpers.\n *\n * Mandatory product prefix avoids collisions when Claude Desktop runs\n * multiple MCP servers concurrently (typical setup is ~6).\n *\n * Tool names are capped at 63 characters — Claude Desktop pre-1.x\n * truncated at 64 in some versions.\n */\n\nimport { McpInternalError } from './errors.js';\n\nconst MAX_TOOL_NAME_LENGTH = 63;\n\nfunction assertSafeName(name: string, kind: 'tool' | 'resource' | 'prompt'): string {\n if (kind === 'tool' && name.length > MAX_TOOL_NAME_LENGTH) {\n throw new McpInternalError(\n `Tool name '${name}' exceeds ${MAX_TOOL_NAME_LENGTH} characters (some MCP clients truncate at 64).`,\n );\n }\n return name;\n}\n\n/**\n * Build a tool name. Format: `<productName>_<...parts>` (snake_case).\n * Example: mcpToolName('vibecontrols', 'vibes', 'list') -> 'vibecontrols_vibes_list'\n */\nexport function mcpToolName(productName: string, ...parts: string[]): string {\n if (!productName) {\n throw new McpInternalError('mcpToolName: productName is required');\n }\n const name = [productName, ...parts].filter(Boolean).join('_');\n return assertSafeName(name, 'tool');\n}\n\n/**\n * Build a resource URI. Format: `<productName>://<...parts>`.\n * Example: mcpResourceUri('vibecontrols', 'schema') -> 'vibecontrols://schema'\n */\nexport function mcpResourceUri(productName: string, ...parts: string[]): string {\n if (!productName) {\n throw new McpInternalError('mcpResourceUri: productName is required');\n }\n return `${productName}://${parts.filter(Boolean).join('/')}`;\n}\n\n/**\n * Build a prompt name. Format: `<productName>-<...parts>` (kebab-case).\n * Example: mcpPromptName('vibecontrols', 'setup') -> 'vibecontrols-setup'\n */\nexport function mcpPromptName(productName: string, ...parts: string[]): string {\n if (!productName) {\n throw new McpInternalError('mcpPromptName: productName is required');\n }\n return [productName, ...parts].filter(Boolean).join('-');\n}\n\nexport const TOOL_NAME_LIMIT = MAX_TOOL_NAME_LENGTH;\n\n/**\n * Name-based hint heuristics for MCP `annotations` (readOnlyHint /\n * destructiveHint). Used by tool-governance.ts to auto-fill annotations for\n * the fleet of product modules that call `server.registerTool` directly\n * (bypassing the `registerTool()` core helper) and so never set them\n * explicitly today (BOFF-3903). Deliberately conservative — matched against\n * whole `_`-delimited segments so e.g. `timeentries_delete` and\n * `pomodoro_delete_goal` match, but a hypothetical `undeletable_check`\n * would not.\n *\n * A module can always override the inference by passing an explicit\n * `annotations` object to `registerTool()` / `server.registerTool()`.\n */\nconst DESTRUCTIVE_NAME_SEGMENT = /(?:^|_)delete(?:_|$)/i;\nconst READ_ONLY_NAME_SEGMENT = /(?:^|_)(?:list|get|search|check|read|count|stats|by_date)(?:_|$)/i;\n\n/** True when a tool name looks destructive (irreversibly deletes data) by naming convention. */\nexport function inferDestructiveHint(toolName: string): boolean {\n return DESTRUCTIVE_NAME_SEGMENT.test(toolName);\n}\n\n/**\n * True when a tool name looks read-only by naming convention. Never true for\n * a name that also looks destructive (a tool can't be both).\n */\nexport function inferReadOnlyHint(toolName: string): boolean {\n return !inferDestructiveHint(toolName) && READ_ONLY_NAME_SEGMENT.test(toolName);\n}\n","/**\n * MCP tool result helpers + central handler.\n *\n * Modules NEVER call server.registerTool directly — they use registerTool()\n * from this module so the central try/catch wraps the handler and:\n * - maps thrown McpUserError / McpAuthError / McpInternalError to\n * MCP-protocol-compliant `{ isError: true, content: [...] }` shapes\n * - threads `_meta.progressToken` into ctx.progress for long ops\n * - emits a structured log line on every error\n * - never leaks `cause` from McpInternalError to the client\n *\n * This is the analog of cli-sdk's createProgram() central error handler.\n */\n\nimport type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';\nimport type { ZodRawShape } from 'zod';\nimport type { McpContext } from './context.js';\nimport { McpAuthError, McpInternalError, McpUserError } from './errors.js';\nimport type { ToolAnnotations } from './tool-governance.js';\n\nexport interface ToolTextContent {\n type: 'text';\n text: string;\n [k: string]: unknown;\n}\n\nexport interface ToolResult {\n content: ToolTextContent[];\n isError?: boolean;\n structuredContent?: Record<string, unknown>;\n [k: string]: unknown;\n}\n\nexport interface ToolMeta {\n progressToken?: string | number;\n}\n\n/**\n * Build a successful tool result with JSON content (pretty-printed).\n */\nexport function jsonResult(data: unknown, structured?: Record<string, unknown>): ToolResult {\n const result: ToolResult = {\n content: [{ type: 'text', text: JSON.stringify(data, null, 2) }],\n };\n if (structured !== undefined) {\n result.structuredContent = structured;\n }\n return result;\n}\n\n/**\n * Build a successful tool result with plain text content.\n */\nexport function textResult(text: string): ToolResult {\n return { content: [{ type: 'text', text }] };\n}\n\n/**\n * Build an error tool result. Honors MCP's `{ isError: true, content }` shape.\n * Optional hint is appended on a new line so the LLM can react.\n */\nexport function errorResult(message: string, hint?: string): ToolResult {\n const text = hint ? `${message}\\n\\nHint: ${hint}` : message;\n return { content: [{ type: 'text', text }], isError: true };\n}\n\nexport interface ToolMetadata {\n title: string;\n description: string;\n inputSchema?: ZodRawShape;\n /**\n * Explicit MCP annotations (readOnlyHint / destructiveHint / ...). Optional\n * — when omitted, `wrapServerWithToolGovernance` (applied centrally in\n * `createMcpServer`) infers them from the tool name. Set this to override\n * the inference for a tool whose name doesn't match the naming convention.\n */\n annotations?: ToolAnnotations;\n}\n\nexport type ToolHandler<TArgs = Record<string, unknown>> = (\n args: TArgs,\n ctx: McpContext,\n meta: ToolMeta,\n) => Promise<unknown>;\n\n/**\n * Register a tool with the central error wrapper.\n *\n * The handler returns a plain value or void. The wrapper:\n * - wraps non-undefined returns in jsonResult()\n * - if the value already looks like a ToolResult (has `content`), passes through\n * - catches McpAuthError / McpUserError / McpInternalError / generic Error\n * - logs every error via ctx.logger.error\n */\nexport function registerTool<TArgs extends Record<string, unknown>>(\n server: McpServer,\n ctx: McpContext,\n name: string,\n metadata: ToolMetadata,\n handler: ToolHandler<TArgs>,\n): void {\n const sdkConfig = {\n title: metadata.title,\n description: metadata.description,\n ...(metadata.inputSchema ? { inputSchema: metadata.inputSchema } : {}),\n ...(metadata.annotations ? { annotations: metadata.annotations } : {}),\n };\n\n // The MCP SDK's registerTool signature is `(name, config, handler)`. The\n // handler arity depends on whether inputSchema is present (1-arg without,\n // 2-arg with). We accept a unified handler shape and dispatch at runtime.\n // The SDK's typing is strict and conditional on the inputSchema generic;\n // bypass with a cast since runtime acceptance is unconditional.\n const wrapped = async (...callbackArgs: unknown[]): Promise<ToolResult> => {\n const hasArgs = callbackArgs.length === 2;\n const args = (hasArgs ? callbackArgs[0] : {}) as TArgs;\n const extra = (hasArgs ? callbackArgs[1] : callbackArgs[0]) as\n { _meta?: { progressToken?: string | number } } | undefined;\n\n const progressToken = extra?._meta?.progressToken;\n const meta: ToolMeta = progressToken !== undefined ? { progressToken } : {};\n\n try {\n const result = await handler(args, ctx, meta);\n if (isToolResult(result)) return result;\n if (result === undefined) return textResult('OK');\n return jsonResult(result);\n } catch (error) {\n return mapErrorToResult(error, ctx, name);\n }\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (server as any).registerTool(name, sdkConfig, wrapped);\n}\n\nfunction isToolResult(value: unknown): value is ToolResult {\n return (\n !!value &&\n typeof value === 'object' &&\n 'content' in value &&\n Array.isArray((value as ToolResult).content)\n );\n}\n\nfunction mapErrorToResult(error: unknown, ctx: McpContext, toolName: string): ToolResult {\n if (error instanceof McpAuthError) {\n ctx.logger.warn(`${toolName}: auth required`, { message: error.message });\n return errorResult(error.message, error.hint);\n }\n if (error instanceof McpUserError) {\n ctx.logger.info(`${toolName}: user error`, { message: error.message });\n return errorResult(error.message, error.hint);\n }\n if (error instanceof McpInternalError) {\n ctx.logger.error(`${toolName}: internal error`, {\n message: error.message,\n cause: stringifyCause(error.cause),\n });\n return errorResult(`Internal error in ${toolName}.`);\n }\n const message = error instanceof Error ? error.message : String(error);\n ctx.logger.error(`${toolName}: unhandled error`, { message });\n return errorResult(`${toolName}: ${message}`);\n}\n\nfunction stringifyCause(cause: unknown): string | undefined {\n if (cause === undefined || cause === null) return undefined;\n if (cause instanceof Error) return cause.message;\n try {\n return JSON.stringify(cause);\n } catch {\n return String(cause);\n }\n}\n","export const LIST_TOURS = `\n query ListTours($filters: TourFilters, $pagination: TourPagination) {\n tours(filters: $filters, pagination: $pagination) {\n tours {\n id\n name\n slug\n description\n status\n isActive\n productId\n moduleId\n priority\n displayOrder\n createdAt\n updatedAt\n }\n total\n hasMore\n }\n }\n`;\n\nexport const GET_USER_TOUR_PROGRESS = `\n query GetUserTourProgress($userId: ID, $pagination: TourPagination) {\n userTourProgresses(userId: $userId, pagination: $pagination) {\n id\n tourId\n userId\n status\n currentStepId\n currentStepOrder\n completedSteps\n skippedSteps\n startedAt\n completedAt\n lastViewedAt\n }\n }\n`;\n\nexport const RESET_TOUR_PROGRESS = `\n mutation ResetTourProgress($tourId: ID!, $userId: ID!) {\n resetTourProgress(tourId: $tourId, userId: $userId) {\n id\n tourId\n status\n currentStepId\n currentStepOrder\n }\n }\n`;\n\nexport const COMPLETE_TOUR_STEP = `\n mutation CompleteTourStep($tourId: ID!, $stepId: ID!, $userId: ID!) {\n completeStep(tourId: $tourId, stepId: $stepId, userId: $userId) {\n id\n tourId\n userId\n status\n currentStepId\n currentStepOrder\n completedSteps\n lastViewedAt\n }\n }\n`;\n","import { z } from 'zod';\nimport { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';\nimport { jsonResult, errorResult, mcpToolName, type McpContext } from '../../core/index.js';\nimport {\n LIST_TOURS,\n GET_USER_TOUR_PROGRESS,\n RESET_TOUR_PROGRESS,\n COMPLETE_TOUR_STEP,\n} from './operations.js';\n\nexport function registerToursTools(\n server: McpServer,\n ctx: McpContext,\n track: (n: string) => string,\n): void {\n server.registerTool(\n track(mcpToolName(ctx.productName, 'tours_list')),\n {\n title: 'List Tours',\n description: 'List available product tours.',\n inputSchema: {\n productId: z.string().optional().describe('Filter by productId'),\n moduleId: z.string().optional().describe('Filter by moduleId'),\n status: z.string().optional().describe('Filter by status'),\n isActive: z.boolean().optional().describe('Only active tours'),\n limit: z.number().optional().describe('Page size'),\n offset: z.number().optional().describe('Offset for pagination'),\n },\n },\n async ({ productId, moduleId, status, isActive, limit, offset }) => {\n try {\n const filters: Record<string, unknown> = {};\n if (productId !== undefined) filters.productId = productId;\n if (moduleId !== undefined) filters.moduleId = moduleId;\n if (status !== undefined) filters.status = status.toUpperCase();\n if (isActive !== undefined) filters.isActive = isActive;\n const data = await ctx.gql.global.request<{ tours: unknown }>(LIST_TOURS, {\n filters: Object.keys(filters).length ? filters : undefined,\n pagination: { limit: limit ?? 50, offset: offset ?? 0 },\n });\n return jsonResult(data.tours);\n } catch (error) {\n ctx.logger.error('tours_list failed', { error: String(error) });\n return errorResult(\n `Failed to list tours: ${error instanceof Error ? error.message : String(error)}`,\n );\n }\n },\n );\n\n server.registerTool(\n track(mcpToolName(ctx.productName, 'tours_progress_get')),\n {\n title: 'Get Tour Progress',\n description: \"Get the current user's tour progress, optionally filtered by user id.\",\n inputSchema: {\n userId: z.string().optional().describe('User ID (defaults to current actor)'),\n limit: z.number().optional().describe('Page size'),\n offset: z.number().optional().describe('Offset for pagination'),\n },\n },\n async ({ userId, limit, offset }) => {\n try {\n const data = await ctx.gql.global.request<{ userTourProgresses: unknown }>(\n GET_USER_TOUR_PROGRESS,\n {\n userId,\n pagination: { limit: limit ?? 50, offset: offset ?? 0 },\n },\n );\n return jsonResult(data.userTourProgresses);\n } catch (error) {\n ctx.logger.error('tours_progress_get failed', { error: String(error) });\n return errorResult(\n `Failed to get tour progress: ${error instanceof Error ? error.message : String(error)}`,\n );\n }\n },\n );\n\n server.registerTool(\n track(mcpToolName(ctx.productName, 'tours_complete')),\n {\n title: 'Complete Tour Step',\n description:\n 'Mark a tour step as completed for the given user. The user can only complete steps for themselves — the gateway rejects mismatched userId. Returns the updated UserTourProgress.',\n inputSchema: {\n tourId: z.string().describe('Tour ID'),\n stepId: z.string().describe('Tour step ID'),\n userId: z\n .string()\n .describe(\n 'User ID to mark the step completed for (must match the authenticated actor at the gateway)',\n ),\n },\n },\n async ({ tourId, stepId, userId }) => {\n try {\n const data = await ctx.gql.global.request<{ completeStep: unknown }>(COMPLETE_TOUR_STEP, {\n tourId,\n stepId,\n userId,\n });\n return jsonResult(data.completeStep);\n } catch (error) {\n ctx.logger.error('tours_complete failed', { error: String(error) });\n return errorResult(\n `Failed to complete tour step: ${error instanceof Error ? error.message : String(error)}`,\n );\n }\n },\n );\n\n server.registerTool(\n track(mcpToolName(ctx.productName, 'tours_progress_reset')),\n {\n title: 'Reset Tour Progress',\n description: 'Reset tour progress for the given user (defaults to the current actor).',\n inputSchema: {\n tourId: z.string().describe('Tour ID'),\n userId: z.string().optional().describe('User ID (defaults to current actor)'),\n },\n },\n async ({ tourId, userId }) => {\n try {\n const resolvedUserId = userId ?? ctx.auth.getActorUserId();\n if (!resolvedUserId) {\n return errorResult(\n 'Unable to resolve user; pass userId or authenticate to a workspace first.',\n );\n }\n const data = await ctx.gql.global.request<{ resetTourProgress: unknown }>(\n RESET_TOUR_PROGRESS,\n { tourId, userId: resolvedUserId },\n );\n return jsonResult(data.resetTourProgress);\n } catch (error) {\n ctx.logger.error('tours_progress_reset failed', { error: String(error) });\n return errorResult(\n `Failed to reset tour progress: ${error instanceof Error ? error.message : String(error)}`,\n );\n }\n },\n );\n}\n","/**\n * Tours module — product tours + per-user progress.\n *\n * Tools:\n * <product>_tours_list\n * <product>_tours_progress_{get,reset}\n *\n * Backend: ~/products/global/tours/global-tours-svc/.\n */\n\nimport type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';\nimport type { McpContext, McpModule, ModuleRegistration } from '../../core/index.js';\nimport { registerToursTools } from './tools.js';\n\nconst toursModule: McpModule = {\n id: 'tours',\n version: '0.0.1',\n displayName: 'Tours',\n dependsOn: ['auth'],\n capabilities: { tools: {} },\n\n register(server: McpServer, ctx: McpContext): ModuleRegistration {\n const tools: string[] = [];\n const track = (n: string): string => {\n tools.push(n);\n return n;\n };\n\n registerToursTools(server, ctx, track);\n\n return { tools, resources: [], prompts: [] };\n },\n};\n\nexport default toursModule;\n"]}
1
+ {"version":3,"sources":["../../../src/core/errors.ts","../../../src/core/tool-name.ts","../../../src/core/result.ts","../../../src/modules/tours/operations.ts","../../../src/modules/tours/tools.ts","../../../src/modules/tours/index.ts"],"names":["z"],"mappings":";;;;;;;;;;;AA8BO,IAAM,gBAAA,GAAN,cAA+B,KAAA,CAAM;AAAA,EACjB,KAAA;AAAA,EAEzB,WAAA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,OAAO,EAAE,KAAA,EAAO,SAAA,EAAW,EAAC,EAAG,OAAA,EAAS,EAAC,EAAE;AAAA,EAC7C;AACF,CAAA;AAEA,IAAO,aAAA,GAAQ","file":"index.cjs","sourcesContent":["/**\n * Error classes for MCP SDK.\n *\n * Modules MUST throw these instead of throwing raw Errors. The registerTool\n * wrapper in result.ts catches and maps them to MCP-protocol-compliant\n * `{ isError: true, content: [...] }` responses.\n *\n * Throwing past the wrapper to the protocol surfaces as JSON-RPC -32603 to\n * the client and is a protocol bug.\n */\n\nexport class McpUserError extends Error {\n public readonly hint: string | undefined;\n\n constructor(message: string, opts?: { hint?: string }) {\n super(message);\n this.name = 'McpUserError';\n this.hint = opts?.hint;\n }\n}\n\nexport class McpAuthError extends McpUserError {\n constructor(message: string, opts?: { hint?: string }) {\n super(message, {\n hint: opts?.hint ?? 'Run the auth_login tool to authenticate.',\n });\n this.name = 'McpAuthError';\n }\n}\n\nexport class McpInternalError extends Error {\n public override readonly cause: unknown;\n\n constructor(message: string, cause?: unknown) {\n super(message);\n this.name = 'McpInternalError';\n this.cause = cause;\n }\n}\n","/**\n * Tool / resource / prompt naming helpers.\n *\n * Mandatory product prefix avoids collisions when Claude Desktop runs\n * multiple MCP servers concurrently (typical setup is ~6).\n *\n * Tool names are capped at 63 characters — Claude Desktop pre-1.x\n * truncated at 64 in some versions.\n */\n\nimport { McpInternalError } from './errors.js';\n\nconst MAX_TOOL_NAME_LENGTH = 63;\n\nfunction assertSafeName(name: string, kind: 'tool' | 'resource' | 'prompt'): string {\n if (kind === 'tool' && name.length > MAX_TOOL_NAME_LENGTH) {\n throw new McpInternalError(\n `Tool name '${name}' exceeds ${MAX_TOOL_NAME_LENGTH} characters (some MCP clients truncate at 64).`,\n );\n }\n return name;\n}\n\n/**\n * Build a tool name. Format: `<productName>_<...parts>` (snake_case).\n * Example: mcpToolName('vibecontrols', 'vibes', 'list') -> 'vibecontrols_vibes_list'\n */\nexport function mcpToolName(productName: string, ...parts: string[]): string {\n if (!productName) {\n throw new McpInternalError('mcpToolName: productName is required');\n }\n const name = [productName, ...parts].filter(Boolean).join('_');\n return assertSafeName(name, 'tool');\n}\n\n/**\n * Build a resource URI. Format: `<productName>://<...parts>`.\n * Example: mcpResourceUri('vibecontrols', 'schema') -> 'vibecontrols://schema'\n */\nexport function mcpResourceUri(productName: string, ...parts: string[]): string {\n if (!productName) {\n throw new McpInternalError('mcpResourceUri: productName is required');\n }\n return `${productName}://${parts.filter(Boolean).join('/')}`;\n}\n\n/**\n * Build a prompt name. Format: `<productName>-<...parts>` (kebab-case).\n * Example: mcpPromptName('vibecontrols', 'setup') -> 'vibecontrols-setup'\n */\nexport function mcpPromptName(productName: string, ...parts: string[]): string {\n if (!productName) {\n throw new McpInternalError('mcpPromptName: productName is required');\n }\n return [productName, ...parts].filter(Boolean).join('-');\n}\n\nexport const TOOL_NAME_LIMIT = MAX_TOOL_NAME_LENGTH;\n\n/**\n * Name-based hint heuristics for MCP `annotations` (readOnlyHint /\n * destructiveHint). Used by tool-governance.ts to auto-fill annotations for\n * the fleet of product modules that call `server.registerTool` directly\n * (bypassing the `registerTool()` core helper) and so never set them\n * explicitly today (BOFF-3903). Deliberately conservative — matched against\n * whole `_`-delimited segments so e.g. `timeentries_delete` and\n * `pomodoro_delete_goal` match, but a hypothetical `undeletable_check`\n * would not.\n *\n * The destructive verb set covers more than `delete`: stopping, killing or\n * terminating a running process, revoking or rotating a credential/share,\n * resetting settings and removing/purging/uninstalling are all actions an\n * MCP client must not auto-run without the user's intent (VC/FG parity G57 —\n * e.g. `vibecontrols_sessions_kill`, `vibecontrols_tunnels_rotate_credentials`\n * were previously reported as non-destructive).\n *\n * A module can always override the inference by passing an explicit\n * `annotations` object to `registerTool()` / `server.registerTool()` — do\n * that for the rare verb match that is harmless (e.g. a typing indicator's\n * `typing_stop`).\n */\nexport const DESTRUCTIVE_NAME_VERBS = [\n 'delete',\n 'destroy',\n 'erase',\n 'kill',\n 'purge',\n 'remove',\n 'reset',\n 'revoke',\n 'rotate',\n 'stop',\n 'terminate',\n 'uninstall',\n 'wipe',\n] as const;\nconst DESTRUCTIVE_NAME_SEGMENT = new RegExp(\n `(?:^|_)(?:${DESTRUCTIVE_NAME_VERBS.join('|')})(?:_|$)`,\n 'i',\n);\nconst READ_ONLY_NAME_SEGMENT = /(?:^|_)(?:list|get|search|check|read|count|stats|by_date)(?:_|$)/i;\n\n/** True when a tool name looks destructive (irreversibly deletes data) by naming convention. */\nexport function inferDestructiveHint(toolName: string): boolean {\n return DESTRUCTIVE_NAME_SEGMENT.test(toolName);\n}\n\n/**\n * True when a tool name looks read-only by naming convention. Never true for\n * a name that also looks destructive (a tool can't be both).\n */\nexport function inferReadOnlyHint(toolName: string): boolean {\n return !inferDestructiveHint(toolName) && READ_ONLY_NAME_SEGMENT.test(toolName);\n}\n","/**\n * MCP tool result helpers + central handler.\n *\n * Modules NEVER call server.registerTool directly — they use registerTool()\n * from this module so the central try/catch wraps the handler and:\n * - maps thrown McpUserError / McpAuthError / McpInternalError to\n * MCP-protocol-compliant `{ isError: true, content: [...] }` shapes\n * - threads `_meta.progressToken` into ctx.progress for long ops\n * - emits a structured log line on every error\n * - never leaks `cause` from McpInternalError to the client\n *\n * This is the analog of cli-sdk's createProgram() central error handler.\n */\n\nimport type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';\nimport type { ZodRawShape } from 'zod';\nimport type { McpContext } from './context.js';\nimport { McpAuthError, McpInternalError, McpUserError } from './errors.js';\nimport type { ToolAnnotations } from './tool-governance.js';\n\nexport interface ToolTextContent {\n type: 'text';\n text: string;\n [k: string]: unknown;\n}\n\nexport interface ToolResult {\n content: ToolTextContent[];\n isError?: boolean;\n structuredContent?: Record<string, unknown>;\n [k: string]: unknown;\n}\n\nexport interface ToolMeta {\n progressToken?: string | number;\n}\n\n/**\n * Build a successful tool result with JSON content (pretty-printed).\n */\nexport function jsonResult(data: unknown, structured?: Record<string, unknown>): ToolResult {\n const result: ToolResult = {\n content: [{ type: 'text', text: JSON.stringify(data, null, 2) }],\n };\n if (structured !== undefined) {\n result.structuredContent = structured;\n }\n return result;\n}\n\n/**\n * Build a successful tool result with plain text content.\n */\nexport function textResult(text: string): ToolResult {\n return { content: [{ type: 'text', text }] };\n}\n\n/**\n * Build an error tool result. Honors MCP's `{ isError: true, content }` shape.\n * Optional hint is appended on a new line so the LLM can react.\n */\nexport function errorResult(message: string, hint?: string): ToolResult {\n const text = hint ? `${message}\\n\\nHint: ${hint}` : message;\n return { content: [{ type: 'text', text }], isError: true };\n}\n\nexport interface ToolMetadata {\n title: string;\n description: string;\n inputSchema?: ZodRawShape;\n /**\n * Explicit MCP annotations (readOnlyHint / destructiveHint / ...). Optional\n * — when omitted, `wrapServerWithToolGovernance` (applied centrally in\n * `createMcpServer`) infers them from the tool name. Set this to override\n * the inference for a tool whose name doesn't match the naming convention.\n */\n annotations?: ToolAnnotations;\n}\n\nexport type ToolHandler<TArgs = Record<string, unknown>> = (\n args: TArgs,\n ctx: McpContext,\n meta: ToolMeta,\n) => Promise<unknown>;\n\n/**\n * Register a tool with the central error wrapper.\n *\n * The handler returns a plain value or void. The wrapper:\n * - wraps non-undefined returns in jsonResult()\n * - if the value already looks like a ToolResult (has `content`), passes through\n * - catches McpAuthError / McpUserError / McpInternalError / generic Error\n * - logs every error via ctx.logger.error\n */\nexport function registerTool<TArgs extends Record<string, unknown>>(\n server: McpServer,\n ctx: McpContext,\n name: string,\n metadata: ToolMetadata,\n handler: ToolHandler<TArgs>,\n): void {\n const sdkConfig = {\n title: metadata.title,\n description: metadata.description,\n ...(metadata.inputSchema ? { inputSchema: metadata.inputSchema } : {}),\n ...(metadata.annotations ? { annotations: metadata.annotations } : {}),\n };\n\n // The MCP SDK's registerTool signature is `(name, config, handler)`. The\n // handler arity depends on whether inputSchema is present (1-arg without,\n // 2-arg with). We accept a unified handler shape and dispatch at runtime.\n // The SDK's typing is strict and conditional on the inputSchema generic;\n // bypass with a cast since runtime acceptance is unconditional.\n const wrapped = async (...callbackArgs: unknown[]): Promise<ToolResult> => {\n const hasArgs = callbackArgs.length === 2;\n const args = (hasArgs ? callbackArgs[0] : {}) as TArgs;\n const extra = (hasArgs ? callbackArgs[1] : callbackArgs[0]) as\n { _meta?: { progressToken?: string | number } } | undefined;\n\n const progressToken = extra?._meta?.progressToken;\n const meta: ToolMeta = progressToken !== undefined ? { progressToken } : {};\n\n try {\n const result = await handler(args, ctx, meta);\n if (isToolResult(result)) return result;\n if (result === undefined) return textResult('OK');\n return jsonResult(result);\n } catch (error) {\n return mapErrorToResult(error, ctx, name);\n }\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (server as any).registerTool(name, sdkConfig, wrapped);\n}\n\nfunction isToolResult(value: unknown): value is ToolResult {\n return (\n !!value &&\n typeof value === 'object' &&\n 'content' in value &&\n Array.isArray((value as ToolResult).content)\n );\n}\n\nfunction mapErrorToResult(error: unknown, ctx: McpContext, toolName: string): ToolResult {\n if (error instanceof McpAuthError) {\n ctx.logger.warn(`${toolName}: auth required`, { message: error.message });\n return errorResult(error.message, error.hint);\n }\n if (error instanceof McpUserError) {\n ctx.logger.info(`${toolName}: user error`, { message: error.message });\n return errorResult(error.message, error.hint);\n }\n if (error instanceof McpInternalError) {\n ctx.logger.error(`${toolName}: internal error`, {\n message: error.message,\n cause: stringifyCause(error.cause),\n });\n return errorResult(`Internal error in ${toolName}.`);\n }\n const message = error instanceof Error ? error.message : String(error);\n ctx.logger.error(`${toolName}: unhandled error`, { message });\n return errorResult(`${toolName}: ${message}`);\n}\n\nfunction stringifyCause(cause: unknown): string | undefined {\n if (cause === undefined || cause === null) return undefined;\n if (cause instanceof Error) return cause.message;\n try {\n return JSON.stringify(cause);\n } catch {\n return String(cause);\n }\n}\n","export const LIST_TOURS = `\n query ListTours($filters: TourFilters, $pagination: TourPagination) {\n tours(filters: $filters, pagination: $pagination) {\n tours {\n id\n name\n slug\n description\n status\n isActive\n productId\n moduleId\n priority\n displayOrder\n createdAt\n updatedAt\n }\n total\n hasMore\n }\n }\n`;\n\nexport const GET_USER_TOUR_PROGRESS = `\n query GetUserTourProgress($userId: ID, $pagination: TourPagination) {\n userTourProgresses(userId: $userId, pagination: $pagination) {\n id\n tourId\n userId\n status\n currentStepId\n currentStepOrder\n completedSteps\n skippedSteps\n startedAt\n completedAt\n lastViewedAt\n }\n }\n`;\n\nexport const RESET_TOUR_PROGRESS = `\n mutation ResetTourProgress($tourId: ID!, $userId: ID!) {\n resetTourProgress(tourId: $tourId, userId: $userId) {\n id\n tourId\n status\n currentStepId\n currentStepOrder\n }\n }\n`;\n\nexport const COMPLETE_TOUR_STEP = `\n mutation CompleteTourStep($tourId: ID!, $stepId: ID!, $userId: ID!) {\n completeStep(tourId: $tourId, stepId: $stepId, userId: $userId) {\n id\n tourId\n userId\n status\n currentStepId\n currentStepOrder\n completedSteps\n lastViewedAt\n }\n }\n`;\n","import { z } from 'zod';\nimport { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';\nimport { jsonResult, errorResult, mcpToolName, type McpContext } from '../../core/index.js';\nimport {\n LIST_TOURS,\n GET_USER_TOUR_PROGRESS,\n RESET_TOUR_PROGRESS,\n COMPLETE_TOUR_STEP,\n} from './operations.js';\n\nexport function registerToursTools(\n server: McpServer,\n ctx: McpContext,\n track: (n: string) => string,\n): void {\n server.registerTool(\n track(mcpToolName(ctx.productName, 'tours_list')),\n {\n title: 'List Tours',\n description: 'List available product tours.',\n inputSchema: {\n productId: z.string().optional().describe('Filter by productId'),\n moduleId: z.string().optional().describe('Filter by moduleId'),\n status: z.string().optional().describe('Filter by status'),\n isActive: z.boolean().optional().describe('Only active tours'),\n limit: z.number().optional().describe('Page size'),\n offset: z.number().optional().describe('Offset for pagination'),\n },\n },\n async ({ productId, moduleId, status, isActive, limit, offset }) => {\n try {\n const filters: Record<string, unknown> = {};\n if (productId !== undefined) filters.productId = productId;\n if (moduleId !== undefined) filters.moduleId = moduleId;\n if (status !== undefined) filters.status = status.toUpperCase();\n if (isActive !== undefined) filters.isActive = isActive;\n const data = await ctx.gql.global.request<{ tours: unknown }>(LIST_TOURS, {\n filters: Object.keys(filters).length ? filters : undefined,\n pagination: { limit: limit ?? 50, offset: offset ?? 0 },\n });\n return jsonResult(data.tours);\n } catch (error) {\n ctx.logger.error('tours_list failed', { error: String(error) });\n return errorResult(\n `Failed to list tours: ${error instanceof Error ? error.message : String(error)}`,\n );\n }\n },\n );\n\n server.registerTool(\n track(mcpToolName(ctx.productName, 'tours_progress_get')),\n {\n title: 'Get Tour Progress',\n description: \"Get the current user's tour progress, optionally filtered by user id.\",\n inputSchema: {\n userId: z.string().optional().describe('User ID (defaults to current actor)'),\n limit: z.number().optional().describe('Page size'),\n offset: z.number().optional().describe('Offset for pagination'),\n },\n },\n async ({ userId, limit, offset }) => {\n try {\n const data = await ctx.gql.global.request<{ userTourProgresses: unknown }>(\n GET_USER_TOUR_PROGRESS,\n {\n userId,\n pagination: { limit: limit ?? 50, offset: offset ?? 0 },\n },\n );\n return jsonResult(data.userTourProgresses);\n } catch (error) {\n ctx.logger.error('tours_progress_get failed', { error: String(error) });\n return errorResult(\n `Failed to get tour progress: ${error instanceof Error ? error.message : String(error)}`,\n );\n }\n },\n );\n\n server.registerTool(\n track(mcpToolName(ctx.productName, 'tours_complete')),\n {\n title: 'Complete Tour Step',\n description:\n 'Mark a tour step as completed for the given user. The user can only complete steps for themselves — the gateway rejects mismatched userId. Returns the updated UserTourProgress.',\n inputSchema: {\n tourId: z.string().describe('Tour ID'),\n stepId: z.string().describe('Tour step ID'),\n userId: z\n .string()\n .describe(\n 'User ID to mark the step completed for (must match the authenticated actor at the gateway)',\n ),\n },\n },\n async ({ tourId, stepId, userId }) => {\n try {\n const data = await ctx.gql.global.request<{ completeStep: unknown }>(COMPLETE_TOUR_STEP, {\n tourId,\n stepId,\n userId,\n });\n return jsonResult(data.completeStep);\n } catch (error) {\n ctx.logger.error('tours_complete failed', { error: String(error) });\n return errorResult(\n `Failed to complete tour step: ${error instanceof Error ? error.message : String(error)}`,\n );\n }\n },\n );\n\n server.registerTool(\n track(mcpToolName(ctx.productName, 'tours_progress_reset')),\n {\n title: 'Reset Tour Progress',\n description: 'Reset tour progress for the given user (defaults to the current actor).',\n inputSchema: {\n tourId: z.string().describe('Tour ID'),\n userId: z.string().optional().describe('User ID (defaults to current actor)'),\n },\n },\n async ({ tourId, userId }) => {\n try {\n const resolvedUserId = userId ?? ctx.auth.getActorUserId();\n if (!resolvedUserId) {\n return errorResult(\n 'Unable to resolve user; pass userId or authenticate to a workspace first.',\n );\n }\n const data = await ctx.gql.global.request<{ resetTourProgress: unknown }>(\n RESET_TOUR_PROGRESS,\n { tourId, userId: resolvedUserId },\n );\n return jsonResult(data.resetTourProgress);\n } catch (error) {\n ctx.logger.error('tours_progress_reset failed', { error: String(error) });\n return errorResult(\n `Failed to reset tour progress: ${error instanceof Error ? error.message : String(error)}`,\n );\n }\n },\n );\n}\n","/**\n * Tours module — product tours + per-user progress.\n *\n * Tools:\n * <product>_tours_list\n * <product>_tours_progress_{get,reset}\n *\n * Backend: ~/products/global/tours/global-tours-svc/.\n */\n\nimport type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';\nimport type { McpContext, McpModule, ModuleRegistration } from '../../core/index.js';\nimport { registerToursTools } from './tools.js';\n\nconst toursModule: McpModule = {\n id: 'tours',\n version: '0.0.1',\n displayName: 'Tours',\n dependsOn: ['auth'],\n capabilities: { tools: {} },\n\n register(server: McpServer, ctx: McpContext): ModuleRegistration {\n const tools: string[] = [];\n const track = (n: string): string => {\n tools.push(n);\n return n;\n };\n\n registerToursTools(server, ctx, track);\n\n return { tools, resources: [], prompts: [] };\n },\n};\n\nexport default toursModule;\n"]}
@@ -1,8 +1,3 @@
1
- import { c as McpModule } from '../../module-VpgjAf8m.js';
2
- import '@modelcontextprotocol/sdk/server/mcp.js';
3
- import '../../context-DGO4h-Pd.js';
4
- import 'graphql-request';
5
-
1
+ import type { McpModule } from '../../core/index.js';
6
2
  declare const toursModule: McpModule;
7
-
8
- export { toursModule as default };
3
+ export default toursModule;
@@ -1,4 +1,4 @@
1
- import { mcpToolName, jsonResult, errorResult } from '../../chunk-G76DKEPI.js';
1
+ import { mcpToolName, jsonResult, errorResult } from '../../chunk-FHXCNP2U.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  // src/modules/tours/operations.ts
@@ -0,0 +1,4 @@
1
+ export declare const LIST_TOURS = "\n query ListTours($filters: TourFilters, $pagination: TourPagination) {\n tours(filters: $filters, pagination: $pagination) {\n tours {\n id\n name\n slug\n description\n status\n isActive\n productId\n moduleId\n priority\n displayOrder\n createdAt\n updatedAt\n }\n total\n hasMore\n }\n }\n";
2
+ export declare const GET_USER_TOUR_PROGRESS = "\n query GetUserTourProgress($userId: ID, $pagination: TourPagination) {\n userTourProgresses(userId: $userId, pagination: $pagination) {\n id\n tourId\n userId\n status\n currentStepId\n currentStepOrder\n completedSteps\n skippedSteps\n startedAt\n completedAt\n lastViewedAt\n }\n }\n";
3
+ export declare const RESET_TOUR_PROGRESS = "\n mutation ResetTourProgress($tourId: ID!, $userId: ID!) {\n resetTourProgress(tourId: $tourId, userId: $userId) {\n id\n tourId\n status\n currentStepId\n currentStepOrder\n }\n }\n";
4
+ export declare const COMPLETE_TOUR_STEP = "\n mutation CompleteTourStep($tourId: ID!, $stepId: ID!, $userId: ID!) {\n completeStep(tourId: $tourId, stepId: $stepId, userId: $userId) {\n id\n tourId\n userId\n status\n currentStepId\n currentStepOrder\n completedSteps\n lastViewedAt\n }\n }\n";
@@ -0,0 +1,3 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+ import { type McpContext } from '../../core/index.js';
3
+ export declare function registerToursTools(server: McpServer, ctx: McpContext, track: (n: string) => string): void;