prjct-cli 0.35.2 → 0.35.4

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 (406) hide show
  1. package/core/commands/analysis.ts +58 -32
  2. package/core/commands/command-data.ts +11 -50
  3. package/core/commands/commands.ts +18 -21
  4. package/core/commands/context.ts +238 -0
  5. package/core/commands/register.ts +7 -5
  6. package/core/commands/setup.ts +1 -17
  7. package/core/commands/workflow.ts +3 -2
  8. package/core/index.ts +2 -4
  9. package/core/services/index.ts +2 -0
  10. package/core/services/sync-service.ts +1080 -0
  11. package/core/types/commands.ts +0 -12
  12. package/core/types/index.ts +0 -1
  13. package/dist/bin/prjct.mjs +1219 -310
  14. package/package.json +2 -8
  15. package/templates/_bases/tracker-base.md +309 -0
  16. package/templates/agentic/agent-routing.md +22 -88
  17. package/templates/agentic/agents/uxui.md +42 -197
  18. package/templates/agentic/context-filtering.md +14 -56
  19. package/templates/agentic/orchestrator.md +31 -365
  20. package/templates/agentic/skill-integration.md +37 -289
  21. package/templates/agentic/subagent-generation.md +31 -104
  22. package/templates/agentic/task-fragmentation.md +39 -273
  23. package/templates/agents/AGENTS.md +32 -188
  24. package/templates/commands/bug.md +22 -520
  25. package/templates/commands/dash.md +26 -161
  26. package/templates/commands/done.md +19 -250
  27. package/templates/commands/enrich.md +21 -732
  28. package/templates/commands/github.md +9 -0
  29. package/templates/commands/history.md +296 -83
  30. package/templates/commands/idea.md +18 -160
  31. package/templates/commands/init.md +20 -209
  32. package/templates/commands/jira.md +9 -0
  33. package/templates/commands/linear.md +9 -0
  34. package/templates/commands/merge.md +21 -185
  35. package/templates/commands/monday.md +9 -0
  36. package/templates/commands/next.md +21 -103
  37. package/templates/commands/p.md +198 -63
  38. package/templates/commands/pause.md +21 -272
  39. package/templates/commands/resume.md +19 -348
  40. package/templates/commands/setup.md +0 -1
  41. package/templates/commands/ship.md +30 -627
  42. package/templates/commands/sync.md +11 -1345
  43. package/templates/commands/task.md +17 -439
  44. package/templates/commands/test.md +30 -259
  45. package/CLAUDE.md +0 -211
  46. package/packages/shared/node_modules/@types/bun/LICENSE +0 -21
  47. package/packages/shared/node_modules/@types/bun/README.md +0 -20
  48. package/packages/shared/node_modules/@types/bun/index.d.ts +0 -1
  49. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/CLAUDE.md +0 -105
  50. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/README.md +0 -33
  51. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/bun.d.ts +0 -7032
  52. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/bun.ns.d.ts +0 -5
  53. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/bundle.d.ts +0 -74
  54. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/deprecated.d.ts +0 -184
  55. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/devserver.d.ts +0 -187
  56. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/README.md +0 -28
  57. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/bytecode.mdx +0 -465
  58. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/css.mdx +0 -1024
  59. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/esbuild.mdx +0 -298
  60. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/executables.mdx +0 -1277
  61. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/fullstack.mdx +0 -1086
  62. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/hot-reloading.mdx +0 -229
  63. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/html-static.mdx +0 -488
  64. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/index.mdx +0 -1604
  65. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/loaders.mdx +0 -451
  66. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/macros.mdx +0 -328
  67. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/minifier.mdx +0 -1286
  68. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/plugins.mdx +0 -425
  69. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/feedback.mdx +0 -75
  70. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-array.mdx +0 -29
  71. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-blob.mdx +0 -26
  72. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-buffer.mdx +0 -27
  73. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-string.mdx +0 -17
  74. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-typedarray.mdx +0 -41
  75. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-arraybuffer.mdx +0 -16
  76. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-dataview.mdx +0 -16
  77. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-stream.mdx +0 -16
  78. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-string.mdx +0 -17
  79. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-typedarray.mdx +0 -16
  80. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-arraybuffer.mdx +0 -16
  81. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-blob.mdx +0 -16
  82. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-readablestream.mdx +0 -43
  83. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-string.mdx +0 -27
  84. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-typedarray.mdx +0 -16
  85. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/dataview-to-string.mdx +0 -17
  86. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-arraybuffer.mdx +0 -27
  87. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-blob.mdx +0 -18
  88. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-buffer.mdx +0 -16
  89. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-dataview.mdx +0 -16
  90. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-readablestream.mdx +0 -43
  91. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-string.mdx +0 -18
  92. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/aws-lambda.mdx +0 -204
  93. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/digital-ocean.mdx +0 -161
  94. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/google-cloud-run.mdx +0 -194
  95. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/railway.mdx +0 -145
  96. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/render.mdx +0 -82
  97. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/vercel.mdx +0 -97
  98. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/astro.mdx +0 -82
  99. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/discordjs.mdx +0 -80
  100. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/docker.mdx +0 -151
  101. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/drizzle.mdx +0 -195
  102. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/elysia.mdx +0 -31
  103. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/express.mdx +0 -43
  104. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/gel.mdx +0 -261
  105. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/hono.mdx +0 -47
  106. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/mongoose.mdx +0 -92
  107. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/neon-drizzle.mdx +0 -234
  108. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/neon-serverless-postgres.mdx +0 -60
  109. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/nextjs.mdx +0 -103
  110. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/nuxt.mdx +0 -96
  111. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/pm2.mdx +0 -55
  112. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/prisma-postgres.mdx +0 -169
  113. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/prisma.mdx +0 -164
  114. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/qwik.mdx +0 -114
  115. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/react.mdx +0 -52
  116. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/remix.mdx +0 -97
  117. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/sentry.mdx +0 -54
  118. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/solidstart.mdx +0 -62
  119. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/ssr-react.mdx +0 -49
  120. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/stric.mdx +0 -54
  121. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/sveltekit.mdx +0 -138
  122. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/systemd.mdx +0 -114
  123. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/tanstack-start.mdx +0 -791
  124. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/upstash.mdx +0 -87
  125. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/vite.mdx +0 -77
  126. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/html-rewriter/extract-links.mdx +0 -71
  127. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/html-rewriter/extract-social-meta.mdx +0 -97
  128. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/cluster.mdx +0 -69
  129. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/fetch-unix.mdx +0 -35
  130. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/fetch.mdx +0 -26
  131. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/file-uploads.mdx +0 -97
  132. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/hot.mdx +0 -28
  133. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/proxy.mdx +0 -50
  134. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/server.mdx +0 -48
  135. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/simple.mdx +0 -20
  136. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/stream-file.mdx +0 -50
  137. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/stream-iterator.mdx +0 -49
  138. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/stream-node-streams-in-bun.mdx +0 -22
  139. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/tls.mdx +0 -32
  140. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/index.mdx +0 -10
  141. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-dev.mdx +0 -28
  142. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-git.mdx +0 -40
  143. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-optional.mdx +0 -27
  144. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-peer.mdx +0 -45
  145. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-tarball.mdx +0 -35
  146. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add.mdx +0 -44
  147. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/azure-artifacts.mdx +0 -76
  148. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/cicd.mdx +0 -43
  149. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/custom-registry.mdx +0 -32
  150. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/from-npm-install-to-bun-install.mdx +0 -230
  151. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/git-diff-bun-lockfile.mdx +0 -48
  152. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/jfrog-artifactory.mdx +0 -28
  153. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/npm-alias.mdx +0 -25
  154. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/registry-scope.mdx +0 -40
  155. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/trusted.mdx +0 -52
  156. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/workspaces.mdx +0 -70
  157. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/yarnlock.mdx +0 -51
  158. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/argv.mdx +0 -66
  159. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/ctrl-c.mdx +0 -18
  160. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/ipc.mdx +0 -69
  161. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/nanoseconds.mdx +0 -15
  162. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/os-signals.mdx +0 -31
  163. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/spawn-stderr.mdx +0 -34
  164. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/spawn-stdout.mdx +0 -28
  165. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/spawn.mdx +0 -43
  166. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/stdin.mdx +0 -62
  167. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/arraybuffer.mdx +0 -30
  168. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/buffer.mdx +0 -21
  169. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/exists.mdx +0 -18
  170. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/json.mdx +0 -19
  171. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/mime.mdx +0 -22
  172. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/stream.mdx +0 -28
  173. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/string.mdx +0 -24
  174. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/uint8array.mdx +0 -23
  175. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/watch.mdx +0 -66
  176. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/build-time-constants.mdx +0 -295
  177. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/cicd.mdx +0 -45
  178. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/codesign-macos-executable.mdx +0 -61
  179. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/define-constant.mdx +0 -149
  180. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/delete-directory.mdx +0 -39
  181. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/delete-file.mdx +0 -21
  182. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/heap-snapshot.mdx +0 -28
  183. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-html.mdx +0 -15
  184. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-json.mdx +0 -46
  185. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-toml.mdx +0 -32
  186. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-yaml.mdx +0 -104
  187. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/read-env.mdx +0 -37
  188. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/set-env.mdx +0 -51
  189. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/shell.mdx +0 -42
  190. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/timezone.mdx +0 -38
  191. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/tsconfig-paths.mdx +0 -31
  192. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/typescript.mdx +0 -51
  193. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/vscode-debugger.mdx +0 -47
  194. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/web-debugger.mdx +0 -103
  195. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-arraybuffer.mdx +0 -13
  196. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-blob.mdx +0 -13
  197. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-json.mdx +0 -14
  198. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-string.mdx +0 -14
  199. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-uint8array.mdx +0 -13
  200. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-array.mdx +0 -16
  201. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-arraybuffer.mdx +0 -16
  202. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-blob.mdx +0 -16
  203. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-buffer.mdx +0 -17
  204. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-json.mdx +0 -16
  205. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-string.mdx +0 -16
  206. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-typedarray.mdx +0 -24
  207. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/bail.mdx +0 -24
  208. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/concurrent-test-glob.mdx +0 -146
  209. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/coverage-threshold.mdx +0 -67
  210. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/coverage.mdx +0 -49
  211. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/happy-dom.mdx +0 -73
  212. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/migrate-from-jest.mdx +0 -125
  213. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/mock-clock.mdx +0 -50
  214. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/mock-functions.mdx +0 -70
  215. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/rerun-each.mdx +0 -16
  216. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/run-tests.mdx +0 -116
  217. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/skip-tests.mdx +0 -43
  218. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/snapshot.mdx +0 -102
  219. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/spy-on.mdx +0 -49
  220. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/svelte-test.mdx +0 -113
  221. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/testing-library.mdx +0 -93
  222. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/timeout.mdx +0 -17
  223. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/todo-tests.mdx +0 -74
  224. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/update-snapshots.mdx +0 -49
  225. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/watch-mode.mdx +0 -24
  226. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/base64.mdx +0 -17
  227. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/deep-equals.mdx +0 -41
  228. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/deflate.mdx +0 -20
  229. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/detect-bun.mdx +0 -28
  230. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/entrypoint.mdx +0 -19
  231. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/escape-html.mdx +0 -24
  232. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/file-url-to-path.mdx +0 -16
  233. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/gzip.mdx +0 -20
  234. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/hash-a-password.mdx +0 -56
  235. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/import-meta-dir.mdx +0 -15
  236. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/import-meta-file.mdx +0 -15
  237. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/import-meta-path.mdx +0 -15
  238. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/javascript-uuid.mdx +0 -25
  239. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/main.mdx +0 -43
  240. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/path-to-file-url.mdx +0 -16
  241. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/sleep.mdx +0 -24
  242. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/upgrade.mdx +0 -93
  243. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/version.mdx +0 -23
  244. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/which-path-to-executable-bin.mdx +0 -17
  245. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/compression.mdx +0 -33
  246. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/context.mdx +0 -79
  247. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/pubsub.mdx +0 -43
  248. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/simple.mdx +0 -38
  249. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/append.mdx +0 -54
  250. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/basic.mdx +0 -46
  251. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/blob.mdx +0 -30
  252. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/cat.mdx +0 -19
  253. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/file-cp.mdx +0 -18
  254. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/filesink.mdx +0 -54
  255. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/response.mdx +0 -19
  256. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/stdout.mdx +0 -23
  257. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/stream.mdx +0 -19
  258. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/unlink.mdx +0 -18
  259. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/index.mdx +0 -133
  260. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/installation.mdx +0 -365
  261. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/bunx.mdx +0 -91
  262. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/catalogs.mdx +0 -292
  263. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/add.mdx +0 -179
  264. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/audit.mdx +0 -60
  265. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/info.mdx +0 -70
  266. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/install.mdx +0 -606
  267. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/link.mdx +0 -61
  268. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/outdated.mdx +0 -197
  269. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/patch.mdx +0 -69
  270. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/pm.mdx +0 -323
  271. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/publish.mdx +0 -131
  272. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/remove.mdx +0 -16
  273. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/update.mdx +0 -140
  274. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/why.mdx +0 -84
  275. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/filter.mdx +0 -102
  276. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/global-cache.mdx +0 -72
  277. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/isolated-installs.mdx +0 -220
  278. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/lifecycle.mdx +0 -64
  279. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/lockfile.mdx +0 -64
  280. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/npmrc.mdx +0 -111
  281. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/overrides.mdx +0 -83
  282. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/scopes-registries.mdx +0 -35
  283. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/security-scanner-api.mdx +0 -95
  284. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/workspaces.mdx +0 -115
  285. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/benchmarking.mdx +0 -241
  286. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/bindgen.mdx +0 -223
  287. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/building-windows.mdx +0 -133
  288. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/contributing.mdx +0 -388
  289. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/feedback.mdx +0 -20
  290. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/license.mdx +0 -78
  291. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/roadmap.mdx +0 -8
  292. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/quickstart.mdx +0 -251
  293. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/auto-install.mdx +0 -97
  294. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/binary-data.mdx +0 -846
  295. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/bun-apis.mdx +0 -59
  296. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/bunfig.mdx +0 -723
  297. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/c-compiler.mdx +0 -204
  298. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/child-process.mdx +0 -659
  299. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/color.mdx +0 -267
  300. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/console.mdx +0 -67
  301. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/cookies.mdx +0 -454
  302. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/debugger.mdx +0 -335
  303. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/environment-variables.mdx +0 -231
  304. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/ffi.mdx +0 -565
  305. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/file-io.mdx +0 -306
  306. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/file-system-router.mdx +0 -118
  307. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/file-types.mdx +0 -435
  308. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/glob.mdx +0 -181
  309. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/globals.mdx +0 -72
  310. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/hashing.mdx +0 -315
  311. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/html-rewriter.mdx +0 -333
  312. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/cookies.mdx +0 -79
  313. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/error-handling.mdx +0 -40
  314. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/metrics.mdx +0 -36
  315. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/routing.mdx +0 -289
  316. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/server.mdx +0 -645
  317. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/tls.mdx +0 -101
  318. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/websockets.mdx +0 -414
  319. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/index.mdx +0 -223
  320. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/jsx.mdx +0 -115
  321. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/module-resolution.mdx +0 -374
  322. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/dns.mdx +0 -111
  323. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/fetch.mdx +0 -484
  324. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/tcp.mdx +0 -239
  325. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/udp.mdx +0 -129
  326. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/node-api.mdx +0 -19
  327. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/nodejs-compat.mdx +0 -468
  328. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/plugins.mdx +0 -419
  329. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/redis.mdx +0 -583
  330. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/s3.mdx +0 -863
  331. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/secrets.mdx +0 -340
  332. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/semver.mdx +0 -57
  333. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/shell.mdx +0 -637
  334. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/sql.mdx +0 -1404
  335. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/sqlite.mdx +0 -721
  336. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/streams.mdx +0 -232
  337. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/templating/create.mdx +0 -269
  338. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/templating/init.mdx +0 -58
  339. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/transpiler.mdx +0 -288
  340. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/typescript.mdx +0 -58
  341. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/utils.mdx +0 -922
  342. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/watch-mode.mdx +0 -161
  343. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/web-apis.mdx +0 -29
  344. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/workers.mdx +0 -314
  345. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/yaml.mdx +0 -469
  346. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/add.mdx +0 -166
  347. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/build.mdx +0 -196
  348. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/bunx.mdx +0 -49
  349. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/feedback.mdx +0 -17
  350. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/init.mdx +0 -84
  351. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/install.mdx +0 -173
  352. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/link.mdx +0 -163
  353. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/outdated.mdx +0 -140
  354. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/patch.mdx +0 -171
  355. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/publish.mdx +0 -198
  356. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/remove.mdx +0 -146
  357. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/run.mdx +0 -293
  358. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/test.mdx +0 -100
  359. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/update.mdx +0 -144
  360. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/code-coverage.mdx +0 -409
  361. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/configuration.mdx +0 -514
  362. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/dates-times.mdx +0 -129
  363. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/discovery.mdx +0 -90
  364. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/dom.mdx +0 -226
  365. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/index.mdx +0 -380
  366. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/lifecycle.mdx +0 -366
  367. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/mocks.mdx +0 -637
  368. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/reporters.mdx +0 -126
  369. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/runtime-behavior.mdx +0 -342
  370. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/snapshots.mdx +0 -434
  371. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/writing-tests.mdx +0 -672
  372. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/typescript.mdx +0 -54
  373. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/extensions.d.ts +0 -35
  374. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/fetch.d.ts +0 -79
  375. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/ffi.d.ts +0 -1154
  376. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/globals.d.ts +0 -2067
  377. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/html-rewriter.d.ts +0 -186
  378. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/index.d.ts +0 -32
  379. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/jsc.d.ts +0 -233
  380. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/overrides.d.ts +0 -376
  381. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/package.json +0 -37
  382. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/redis.d.ts +0 -3352
  383. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/s3.d.ts +0 -1299
  384. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/security.d.ts +0 -101
  385. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/serve.d.ts +0 -1296
  386. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/shell.d.ts +0 -380
  387. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/sql.d.ts +0 -887
  388. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/sqlite.d.ts +0 -1321
  389. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/test-globals.d.ts +0 -22
  390. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/test.d.ts +0 -2391
  391. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/branding.d.ts +0 -283
  392. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/index.d.ts +0 -1207
  393. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/messages.d.ts +0 -395
  394. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/overloads.d.ts +0 -669
  395. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/utils.d.ts +0 -431
  396. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/wasm.d.ts +0 -193
  397. package/packages/shared/node_modules/@types/bun/package.json +0 -53
  398. package/packages/shared/package.json +0 -29
  399. package/packages/shared/src/index.ts +0 -10
  400. package/packages/shared/src/schemas.ts +0 -124
  401. package/packages/shared/src/types.ts +0 -187
  402. package/packages/shared/src/unified.ts +0 -174
  403. package/packages/shared/src/utils.ts +0 -148
  404. package/packages/shared/tsconfig.json +0 -18
  405. package/templates/commands/redo.md +0 -144
  406. package/templates/commands/undo.md +0 -154
@@ -16,6 +16,7 @@ import {
16
16
  import analyzer from '../domain/analyzer'
17
17
  import { generateContext } from '../context/generator'
18
18
  import commandInstaller from '../infrastructure/command-installer'
19
+ import { syncService } from '../services'
19
20
 
20
21
  export class AnalysisCommands extends PrjctCommandsBase {
21
22
  /**
@@ -189,58 +190,83 @@ export class AnalysisCommands extends PrjctCommandsBase {
189
190
  }
190
191
 
191
192
  /**
192
- * /p:sync - Sync project state with raw data for Claude to analyze
193
+ * /p:sync - Comprehensive project sync
193
194
  *
194
- * AGENTIC: This command gathers RAW data and puts it in CLAUDE.md
195
- * Claude then reads the data and decides what agents to create.
196
- * NO hardcoded if/else logic for technology detection.
195
+ * Uses syncService to do ALL operations in one TypeScript execution:
196
+ * - Git analysis
197
+ * - Project stats
198
+ * - Agent generation
199
+ * - Context file generation
200
+ * - Skill configuration
201
+ * - State updates
202
+ *
203
+ * This eliminates the need for Claude to make 50+ individual tool calls.
197
204
  */
198
205
  async sync(projectPath: string = process.cwd()): Promise<CommandResult> {
199
206
  try {
200
207
  const initResult = await this.ensureProjectInit(projectPath)
201
208
  if (!initResult.success) return initResult
202
209
 
203
- await this.initializeAgent()
204
-
205
- console.log('🔄 Syncing project state...\n')
210
+ console.log('🔄 Syncing project...\n')
206
211
 
207
- // 1. Run analysis to gather raw data
208
- console.log('📊 Running analysis...')
209
- const analysisResult = await this.analyze({}, projectPath)
212
+ // Use syncService to do EVERYTHING in one call
213
+ const result = await syncService.sync(projectPath)
210
214
 
211
- if (!analysisResult.success) {
212
- console.error('❌ Analysis failed')
213
- return analysisResult
215
+ if (!result.success) {
216
+ console.error('❌ Sync failed:', result.error)
217
+ return { success: false, error: result.error }
214
218
  }
215
219
 
216
- const projectId = await configManager.getProjectId(projectPath)
217
-
218
- // 2. Generate CLAUDE.md with RAW DATA (no processing)
219
- // Claude will read this and decide what to do
220
- await generateContext(projectId!, projectPath)
221
-
222
- // 3. Update global config
220
+ // Update global config
223
221
  const globalConfigResult = await commandInstaller.installGlobalConfig()
224
222
  if (globalConfigResult.success) {
225
223
  console.log('📝 Updated ~/.claude/CLAUDE.md')
226
224
  }
227
225
 
228
- // 4. Log to memory
229
- await this.logToMemory(projectPath, 'sync_complete', {
230
- timestamp: dateHelper.getTimestamp(),
231
- projectId,
232
- })
226
+ // Format output
227
+ console.log(`🔄 Project synced to prjct v${result.cliVersion}\n`)
233
228
 
234
- console.log('\n✅ Sync complete!\n')
235
- console.log('📝 Context: ~/.prjct-cli/projects/' + projectId + '/CLAUDE.md')
236
- console.log('\n📋 CLAUDE.md contains RAW project data.')
237
- console.log('💡 Claude reads this data and decides what specialists to create.\n')
238
- console.log('Next steps:')
239
- console.log('• Read CLAUDE.md to see project data')
240
- console.log(' /p:feature → Add a feature')
229
+ console.log('📊 Project Stats')
230
+ console.log(`├── Files: ~${result.stats.fileCount}`)
231
+ console.log(`├── Commits: ${result.git.commits}`)
232
+ console.log(`├── Version: ${result.stats.version}`)
233
+ console.log(`└── Stack: ${result.stats.ecosystem}\n`)
234
+
235
+ console.log('🌿 Git Status')
236
+ console.log(`├── Branch: ${result.git.branch}`)
237
+ console.log(`├── Uncommitted: ${result.git.hasChanges ? 'Yes' : 'Clean'}`)
238
+ console.log(`└── Recent: ${result.git.weeklyCommits} commits this week\n`)
239
+
240
+ console.log('📁 Context Updated')
241
+ for (const file of result.contextFiles) {
242
+ console.log(`├── ${file}`)
243
+ }
244
+ console.log('')
245
+
246
+ const workflowAgents = result.agents.filter(a => a.type === 'workflow').map(a => a.name)
247
+ const domainAgents = result.agents.filter(a => a.type === 'domain').map(a => a.name)
248
+
249
+ console.log(`🤖 Agents Regenerated (${result.agents.length})`)
250
+ console.log(`├── Workflow: ${workflowAgents.join(', ')}`)
251
+ console.log(`└── Domain: ${domainAgents.join(', ') || 'none'}\n`)
252
+
253
+ if (result.skills.length > 0) {
254
+ console.log('📦 Skills Configured')
255
+ for (const skill of result.skills) {
256
+ console.log(`├── ${skill.agent}.md → ${skill.skill}`)
257
+ }
258
+ console.log('')
259
+ }
260
+
261
+ if (result.git.hasChanges) {
262
+ console.log('⚠️ You have uncommitted changes\n')
263
+ } else {
264
+ console.log('✨ Repository is clean!\n')
265
+ }
241
266
 
242
267
  return {
243
268
  success: true,
269
+ data: result,
244
270
  }
245
271
  } catch (error) {
246
272
  console.error('❌ Error:', (error as Error).message)
@@ -62,17 +62,6 @@ export const COMMANDS: CommandMeta[] = [
62
62
  requiresProject: true,
63
63
  features: ['Agentic type classification', '7-phase workflow', 'Git branch management', 'Task breakdown'],
64
64
  },
65
- {
66
- name: 'feature',
67
- group: 'core',
68
- description: 'DEPRECATED - Use /p:task instead',
69
- usage: { claude: '/p:task "<description>"', terminal: 'prjct task "<description>"' },
70
- params: '<description>',
71
- implemented: true,
72
- hasTemplate: true,
73
- requiresProject: true,
74
- deprecated: true,
75
- },
76
65
  {
77
66
  name: 'spec',
78
67
  group: 'core',
@@ -83,28 +72,6 @@ export const COMMANDS: CommandMeta[] = [
83
72
  hasTemplate: true,
84
73
  requiresProject: true,
85
74
  },
86
- {
87
- name: 'now',
88
- group: 'core',
89
- description: 'DEPRECATED - Use /p:task instead',
90
- usage: { claude: '/p:task "<description>"', terminal: 'prjct task "<description>"' },
91
- params: '[task]',
92
- implemented: true,
93
- hasTemplate: true,
94
- requiresProject: true,
95
- deprecated: true,
96
- },
97
- {
98
- name: 'work',
99
- group: 'core',
100
- description: 'DEPRECATED - Use /p:task instead',
101
- usage: { claude: '/p:task "<description>"', terminal: 'prjct task "<description>"' },
102
- params: '[task]',
103
- implemented: true,
104
- hasTemplate: true,
105
- requiresProject: true,
106
- deprecated: true,
107
- },
108
75
  {
109
76
  name: 'pause',
110
77
  group: 'core',
@@ -328,16 +295,6 @@ export const COMMANDS: CommandMeta[] = [
328
295
  hasTemplate: true,
329
296
  requiresProject: true,
330
297
  },
331
- {
332
- name: 'migrate-all',
333
- group: 'setup',
334
- description: 'Migrate all legacy projects to UUID format',
335
- usage: { claude: '/p:migrate-all', terminal: 'prjct migrate-all' },
336
- params: '[--deep-scan] [--dry-run]',
337
- implemented: true,
338
- hasTemplate: true,
339
- requiresProject: false,
340
- },
341
298
  {
342
299
  name: 'auth',
343
300
  group: 'setup',
@@ -348,12 +305,16 @@ export const COMMANDS: CommandMeta[] = [
348
305
  hasTemplate: true,
349
306
  requiresProject: false,
350
307
  },
308
+ {
309
+ name: 'context',
310
+ group: 'setup',
311
+ description: 'Get project context as JSON for Claude templates',
312
+ usage: { claude: null, terminal: 'prjct context <command> [args]' },
313
+ params: '<command> [args]',
314
+ implemented: true,
315
+ hasTemplate: false,
316
+ requiresProject: true,
317
+ features: ['Returns JSON with project context', 'Runs orchestrator', 'Loads agents and skills'],
318
+ },
351
319
  ]
352
320
 
353
- // Legacy compatibility - category field mapping
354
- export function getCommandsWithCategory(): Array<CommandMeta & { category: string }> {
355
- return COMMANDS.map(cmd => ({
356
- ...cmd,
357
- category: cmd.group, // Map group to category for backward compat
358
- }))
359
- }
@@ -3,14 +3,15 @@
3
3
  *
4
4
  * MD-First Architecture - All state in Markdown files.
5
5
  *
6
- * COMMANDS (22 total):
7
- * - Workflow (5): work, done, next, pause, resume
8
- * - Planning (5): init, feature, bug, idea, spec
9
- * - Shipping (1): ship
10
- * - Analytics (2): dash, help
11
- * - Maintenance (5): cleanup, design, recover, undo, redo, history
12
- * - Analysis (2): analyze, sync
13
- * - Setup (3): start, setup, migrateAll
6
+ * COMMANDS:
7
+ * - Workflow: done, next, pause, resume
8
+ * - Planning: init, bug, idea, spec
9
+ * - Shipping: ship
10
+ * - Analytics: dash, help
11
+ * - Maintenance: cleanup, design, recover, undo, redo, history
12
+ * - Analysis: analyze, sync
13
+ * - Setup: start, setup
14
+ * - Context: context
14
15
  */
15
16
 
16
17
  import { WorkflowCommands } from './workflow'
@@ -20,6 +21,7 @@ import { AnalyticsCommands } from './analytics'
20
21
  import { MaintenanceCommands } from './maintenance'
21
22
  import { AnalysisCommands } from './analysis'
22
23
  import { SetupCommands } from './setup'
24
+ import { ContextCommands } from './context'
23
25
 
24
26
  import type {
25
27
  CommandResult,
@@ -28,7 +30,6 @@ import type {
28
30
  DesignOptions,
29
31
  CleanupOptions,
30
32
  SetupOptions,
31
- MigrateOptions,
32
33
  AnalyzeOptions
33
34
  } from '../types'
34
35
 
@@ -45,6 +46,7 @@ class PrjctCommands {
45
46
  private maintenance: MaintenanceCommands
46
47
  private analysis: AnalysisCommands
47
48
  private setupCmds: SetupCommands
49
+ private contextCmds: ContextCommands
48
50
 
49
51
  // Shared state
50
52
  agent: unknown
@@ -60,6 +62,7 @@ class PrjctCommands {
60
62
  this.maintenance = new MaintenanceCommands()
61
63
  this.analysis = new AnalysisCommands()
62
64
  this.setupCmds = new SetupCommands()
65
+ this.contextCmds = new ContextCommands()
63
66
 
64
67
  this.agent = null
65
68
  this.agentInfo = null
@@ -69,10 +72,6 @@ class PrjctCommands {
69
72
 
70
73
  // ========== Workflow Commands ==========
71
74
 
72
- async work(task: string | null = null, projectPath: string = process.cwd()): Promise<CommandResult> {
73
- return this.workflow.now(task, projectPath)
74
- }
75
-
76
75
  async done(projectPath: string = process.cwd()): Promise<CommandResult> {
77
76
  return this.workflow.done(projectPath)
78
77
  }
@@ -95,10 +94,6 @@ class PrjctCommands {
95
94
  return this.planning.init(idea, projectPath)
96
95
  }
97
96
 
98
- async feature(description: string, projectPath: string = process.cwd()): Promise<CommandResult> {
99
- return this.planning.feature(description, projectPath)
100
- }
101
-
102
97
  async bug(description: string, projectPath: string = process.cwd()): Promise<CommandResult> {
103
98
  return this.planning.bug(description, projectPath)
104
99
  }
@@ -163,6 +158,12 @@ class PrjctCommands {
163
158
  return this.analysis.sync(projectPath)
164
159
  }
165
160
 
161
+ // ========== Context Commands ==========
162
+
163
+ async context(input: string | null = null, projectPath: string = process.cwd()): Promise<CommandResult> {
164
+ return this.contextCmds.context(input, projectPath)
165
+ }
166
+
166
167
  // ========== Setup Commands ==========
167
168
 
168
169
  async start(): Promise<CommandResult> {
@@ -173,10 +174,6 @@ class PrjctCommands {
173
174
  return this.setupCmds.setup(options)
174
175
  }
175
176
 
176
- async migrateAll(options: MigrateOptions = {}): Promise<CommandResult> {
177
- return this.setupCmds.migrateAll(options)
178
- }
179
-
180
177
  async installStatusLine(): Promise<{ success: boolean; error?: string }> {
181
178
  return this.setupCmds.installStatusLine()
182
179
  }
@@ -0,0 +1,238 @@
1
+ /**
2
+ * Context Commands - Exposes orchestrator context to Claude
3
+ *
4
+ * The `context` command runs the orchestrator and returns JSON with everything
5
+ * Claude needs to execute workflows:
6
+ * - projectId and globalPath for file operations
7
+ * - detected domains from task description
8
+ * - loaded agents with file paths and previews
9
+ * - current task state (if any)
10
+ * - repo analysis data
11
+ *
12
+ * This bridges the gap between TypeScript orchestration and Claude Code templates.
13
+ *
14
+ * @module commands/context
15
+ * @version 1.0.0
16
+ */
17
+
18
+ import fs from 'fs/promises'
19
+ import path from 'path'
20
+ import configManager from '../infrastructure/config-manager'
21
+ import pathManager from '../infrastructure/path-manager'
22
+ import { stateStorage } from '../storage'
23
+ import orchestratorExecutor from '../agentic/orchestrator-executor'
24
+ import { isNotFoundError } from '../types/fs'
25
+ import type { CommandResult } from '../types'
26
+
27
+ // =============================================================================
28
+ // Types
29
+ // =============================================================================
30
+
31
+ export interface ContextOutput {
32
+ projectId: string
33
+ globalPath: string
34
+ currentTask: {
35
+ id: string
36
+ description: string
37
+ startedAt: string
38
+ subtasks?: Array<{
39
+ id: string
40
+ description: string
41
+ status: string
42
+ domain: string
43
+ }>
44
+ currentSubtaskIndex?: number
45
+ } | null
46
+ domains: string[]
47
+ primaryDomain: string | null
48
+ agents: Array<{
49
+ name: string
50
+ domain: string
51
+ filePath: string
52
+ skills: string[]
53
+ preview: string
54
+ }>
55
+ subtasks: Array<{
56
+ id: string
57
+ description: string
58
+ domain: string
59
+ agent: string
60
+ status: string
61
+ order: number
62
+ }> | null
63
+ repoAnalysis: {
64
+ ecosystem: string
65
+ frameworks: string[]
66
+ hasTests: boolean
67
+ technologies: string[]
68
+ }
69
+ }
70
+
71
+ // =============================================================================
72
+ // Context Commands Class
73
+ // =============================================================================
74
+
75
+ export class ContextCommands {
76
+ /**
77
+ * Get full project context for Claude
78
+ *
79
+ * Usage:
80
+ * prjct context task "add user auth"
81
+ * prjct context done
82
+ * prjct context ship
83
+ *
84
+ * Returns JSON with all orchestrator data.
85
+ */
86
+ async context(
87
+ input: string | null = null,
88
+ projectPath: string = process.cwd()
89
+ ): Promise<CommandResult> {
90
+ try {
91
+ // Parse input: first word is command, rest is arguments
92
+ const parts = (input || '').trim().split(/\s+/)
93
+ const command = parts[0] || 'task'
94
+ const taskDescription = parts.slice(1).join(' ')
95
+
96
+ // Get project info
97
+ const config = await configManager.readConfig(projectPath)
98
+ if (!config || !config.projectId) {
99
+ const output: Partial<ContextOutput> = {
100
+ projectId: '',
101
+ globalPath: '',
102
+ currentTask: null,
103
+ domains: [],
104
+ primaryDomain: null,
105
+ agents: [],
106
+ subtasks: null,
107
+ repoAnalysis: {
108
+ ecosystem: 'unknown',
109
+ frameworks: [],
110
+ hasTests: false,
111
+ technologies: [],
112
+ },
113
+ }
114
+ console.log(JSON.stringify(output, null, 2))
115
+ return {
116
+ success: false,
117
+ message: 'No prjct project. Run `p. init` first.',
118
+ }
119
+ }
120
+
121
+ const projectId = config.projectId
122
+ const globalPath = pathManager.getGlobalProjectPath(projectId)
123
+
124
+ // Get current task state
125
+ const state = await stateStorage.read(projectId)
126
+ const currentTask = state?.currentTask
127
+ ? {
128
+ id: state.currentTask.id,
129
+ description: state.currentTask.description,
130
+ startedAt: state.currentTask.startedAt,
131
+ subtasks: state.currentTask.subtasks?.map((st) => ({
132
+ id: st.id,
133
+ description: st.description,
134
+ status: st.status,
135
+ domain: st.domain,
136
+ })),
137
+ currentSubtaskIndex: state.currentTask.currentSubtaskIndex,
138
+ }
139
+ : null
140
+
141
+ // Run orchestrator if we have a task description
142
+ let orchestratorContext = null
143
+ if (taskDescription) {
144
+ try {
145
+ orchestratorContext = await orchestratorExecutor.execute(
146
+ command,
147
+ taskDescription,
148
+ projectPath
149
+ )
150
+ } catch (error) {
151
+ // Orchestration failed - continue without it
152
+ console.error(`Warning: Orchestrator failed: ${(error as Error).message}`)
153
+ }
154
+ }
155
+
156
+ // Load repo analysis
157
+ const repoAnalysis = await this.loadRepoAnalysis(globalPath)
158
+
159
+ // Build output
160
+ const output: ContextOutput = {
161
+ projectId,
162
+ globalPath,
163
+ currentTask,
164
+ domains: orchestratorContext?.detectedDomains || [],
165
+ primaryDomain: orchestratorContext?.primaryDomain || null,
166
+ agents:
167
+ orchestratorContext?.agents.map((a) => ({
168
+ name: a.name,
169
+ domain: a.domain,
170
+ filePath: a.filePath,
171
+ skills: a.skills,
172
+ preview: a.content.substring(0, 500),
173
+ })) || [],
174
+ subtasks:
175
+ orchestratorContext?.subtasks?.map((st) => ({
176
+ id: st.id,
177
+ description: st.description,
178
+ domain: st.domain,
179
+ agent: st.agent,
180
+ status: st.status,
181
+ order: st.order,
182
+ })) || null,
183
+ repoAnalysis: {
184
+ ecosystem: repoAnalysis?.ecosystem || 'unknown',
185
+ frameworks: repoAnalysis?.frameworks || [],
186
+ hasTests: repoAnalysis?.hasTests || false,
187
+ technologies: repoAnalysis?.technologies || [],
188
+ },
189
+ }
190
+
191
+ // Output JSON to stdout
192
+ console.log(JSON.stringify(output, null, 2))
193
+
194
+ return {
195
+ success: true,
196
+ message: '', // Empty message - JSON output is the result
197
+ }
198
+ } catch (error) {
199
+ return {
200
+ success: false,
201
+ message: `Context error: ${(error as Error).message}`,
202
+ }
203
+ }
204
+ }
205
+
206
+ /**
207
+ * Load repo analysis from analysis/repo-analysis.json
208
+ */
209
+ private async loadRepoAnalysis(globalPath: string): Promise<{
210
+ ecosystem: string
211
+ frameworks: string[]
212
+ hasTests: boolean
213
+ technologies: string[]
214
+ } | null> {
215
+ try {
216
+ const analysisPath = path.join(globalPath, 'analysis', 'repo-analysis.json')
217
+ const content = await fs.readFile(analysisPath, 'utf-8')
218
+ const data = JSON.parse(content)
219
+ return {
220
+ ecosystem: data.ecosystem || 'unknown',
221
+ frameworks: data.frameworks || [],
222
+ hasTests: data.hasTests ?? false,
223
+ technologies: data.technologies || [],
224
+ }
225
+ } catch (error) {
226
+ if (isNotFoundError(error)) return null
227
+ return null
228
+ }
229
+ }
230
+ }
231
+
232
+ // =============================================================================
233
+ // Exports
234
+ // =============================================================================
235
+
236
+ const contextCommands = new ContextCommands()
237
+ export default contextCommands
238
+ export { contextCommands }
@@ -17,6 +17,7 @@ import { AnalyticsCommands } from './analytics'
17
17
  import { MaintenanceCommands } from './maintenance'
18
18
  import { AnalysisCommands } from './analysis'
19
19
  import { SetupCommands } from './setup'
20
+ import { ContextCommands } from './context'
20
21
 
21
22
  // Singleton instances of command groups
22
23
  const workflow = new WorkflowCommands()
@@ -26,6 +27,7 @@ const analytics = new AnalyticsCommands()
26
27
  const maintenance = new MaintenanceCommands()
27
28
  const analysis = new AnalysisCommands()
28
29
  const setup = new SetupCommands()
30
+ const context = new ContextCommands()
29
31
 
30
32
  /**
31
33
  * Register categories
@@ -50,8 +52,6 @@ export function registerAllCommands(): void {
50
52
  const getMeta = (name: string) => COMMANDS.find(c => c.name === name)
51
53
 
52
54
  // Workflow commands
53
- commandRegistry.registerMethod('work', workflow, 'now', getMeta('work'))
54
- commandRegistry.registerMethod('now', workflow, 'now', getMeta('now'))
55
55
  commandRegistry.registerMethod('done', workflow, 'done', getMeta('done'))
56
56
  commandRegistry.registerMethod('next', workflow, 'next', getMeta('next'))
57
57
  commandRegistry.registerMethod('pause', workflow, 'pause', getMeta('pause'))
@@ -59,7 +59,6 @@ export function registerAllCommands(): void {
59
59
 
60
60
  // Planning commands
61
61
  commandRegistry.registerMethod('init', planning, 'init', getMeta('init'))
62
- commandRegistry.registerMethod('feature', planning, 'feature', getMeta('feature'))
63
62
  commandRegistry.registerMethod('bug', planning, 'bug', getMeta('bug'))
64
63
  commandRegistry.registerMethod('idea', planning, 'idea', getMeta('idea'))
65
64
  commandRegistry.registerMethod('spec', planning, 'spec', getMeta('spec'))
@@ -86,7 +85,9 @@ export function registerAllCommands(): void {
86
85
  // Setup commands
87
86
  commandRegistry.registerMethod('start', setup, 'start', getMeta('start'))
88
87
  commandRegistry.registerMethod('setup', setup, 'setup', getMeta('setup'))
89
- commandRegistry.registerMethod('migrateAll', setup, 'migrateAll', getMeta('migrate-all'))
88
+
89
+ // Context command (for Claude templates)
90
+ commandRegistry.registerMethod('context', context, 'context', getMeta('context'))
90
91
  }
91
92
 
92
93
  // Auto-register on import
@@ -100,5 +101,6 @@ export {
100
101
  analytics,
101
102
  maintenance,
102
103
  analysis,
103
- setup
104
+ setup,
105
+ context
104
106
  }
@@ -8,7 +8,7 @@ import chalk from 'chalk'
8
8
 
9
9
  import commandInstaller from '../infrastructure/command-installer'
10
10
  import pathManager from '../infrastructure/path-manager'
11
- import type { CommandResult, SetupOptions, MigrateOptions } from '../types'
11
+ import type { CommandResult, SetupOptions } from '../types'
12
12
  import { PrjctCommandsBase } from './base'
13
13
  import { VERSION } from '../utils/version'
14
14
 
@@ -254,20 +254,4 @@ echo "⚡ prjct"
254
254
  console.log('')
255
255
  }
256
256
 
257
- /**
258
- * Migrate all projects to UUID format
259
- */
260
- async migrateAll(_options: MigrateOptions = {}): Promise<CommandResult> {
261
- console.log('🔄 Migrating all projects to UUID format...\n')
262
-
263
- // TODO: Implement full migration logic
264
- // For now, return success as this is a stub
265
- console.log('✅ Migration complete (no projects needed migration)\n')
266
-
267
- return {
268
- success: true,
269
- message: 'Migration complete',
270
- }
271
- }
272
-
273
257
  }
@@ -81,12 +81,13 @@ export class WorkflowCommands extends PrjctCommandsBase {
81
81
  })
82
82
 
83
83
  return {
84
+ // Include full CommandExecutor result first (orchestratorContext, prompt, etc.)
85
+ ...result,
86
+ // Then override with our specific values
84
87
  success: true,
85
88
  task,
86
89
  agenticMode: true,
87
90
  availableAgents,
88
- // Include full CommandExecutor result (orchestratorContext, prompt, etc.)
89
- ...result,
90
91
  }
91
92
  } else {
92
93
  // Read from storage (JSON is source of truth)
package/core/index.ts CHANGED
@@ -90,21 +90,17 @@ async function main(): Promise<void> {
90
90
  result = await commands.cleanup(options)
91
91
  } else if (commandName === 'setup') {
92
92
  result = await commands.setup(options)
93
- } else if (commandName === 'migrate-all') {
94
- result = await commands.migrateAll(options)
95
93
  } else {
96
94
  // Standard commands - type-safe invocation
97
95
  const param = parsedArgs.join(' ') || null
98
96
  const standardCommands: Record<string, (p: string | null) => Promise<CommandResult>> = {
99
97
  // Core workflow
100
- work: (p) => commands.work(p),
101
98
  done: () => commands.done(),
102
99
  next: () => commands.next(),
103
100
  pause: (p) => commands.pause(p || ''),
104
101
  resume: (p) => commands.resume(p),
105
102
  // Planning
106
103
  init: (p) => commands.init(p),
107
- feature: (p) => commands.feature(p || ''),
108
104
  bug: (p) => commands.bug(p || ''),
109
105
  idea: (p) => commands.idea(p || ''),
110
106
  spec: (p) => commands.spec(p),
@@ -120,6 +116,8 @@ async function main(): Promise<void> {
120
116
  // Setup
121
117
  sync: () => commands.sync(),
122
118
  start: () => commands.start(),
119
+ // Context (for Claude templates)
120
+ context: (p) => commands.context(p),
123
121
  }
124
122
 
125
123
  const handler = standardCommands[commandName]
@@ -9,6 +9,8 @@ export { agentService, AgentService } from './agent-service'
9
9
  export { projectService, ProjectService } from './project-service'
10
10
  export { memoryService, MemoryService } from './memory-service'
11
11
  export { breakdownService, BreakdownService } from './breakdown-service'
12
+ export { syncService, SyncService } from './sync-service'
13
+ export type { SyncResult } from './sync-service'
12
14
 
13
15
  // Re-export types from canonical source
14
16
  export type {