prjct-cli 0.28.3 → 0.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (430) hide show
  1. package/CHANGELOG.md +26 -118
  2. package/CLAUDE.md +170 -0
  3. package/README.md +14 -1
  4. package/core/agentic/agent-router.ts +0 -15
  5. package/core/agentic/command-executor.ts +5 -53
  6. package/core/agentic/index.ts +1 -11
  7. package/core/agentic/prompt-builder.ts +2 -83
  8. package/core/agentic/template-loader.ts +32 -107
  9. package/core/commands/command-data.ts +33 -0
  10. package/core/commands/commands.ts +12 -4
  11. package/core/commands/registry.ts +37 -0
  12. package/core/domain/agent-loader.ts +9 -7
  13. package/core/domain/context-estimator.ts +15 -15
  14. package/core/index.ts +2 -0
  15. package/core/infrastructure/config-manager.ts +4 -25
  16. package/core/infrastructure/setup.ts +182 -86
  17. package/core/integrations/issue-tracker/enricher.ts +281 -0
  18. package/core/integrations/issue-tracker/index.ts +8 -0
  19. package/core/integrations/issue-tracker/manager.ts +284 -0
  20. package/core/integrations/issue-tracker/types.ts +321 -0
  21. package/core/integrations/linear/client.ts +375 -0
  22. package/core/integrations/linear/index.ts +6 -0
  23. package/core/integrations/notion/client.ts +413 -0
  24. package/core/integrations/notion/index.ts +46 -0
  25. package/core/integrations/notion/setup.ts +235 -0
  26. package/core/integrations/notion/sync.ts +818 -0
  27. package/core/integrations/notion/templates.ts +246 -0
  28. package/core/plugin/builtin/notion.ts +178 -0
  29. package/core/schemas/enriched-task.ts +278 -0
  30. package/core/schemas/outcomes.ts +471 -14
  31. package/core/schemas/prd.ts +437 -0
  32. package/core/schemas/roadmap.ts +188 -4
  33. package/core/server/index.ts +1 -0
  34. package/core/server/routes-extended.ts +544 -0
  35. package/core/server/server.ts +10 -0
  36. package/core/session/session-log-manager.ts +0 -17
  37. package/core/types/config.ts +1 -1
  38. package/core/types/index.ts +2 -0
  39. package/core/types/integrations.ts +56 -20
  40. package/core/types/storage.ts +8 -0
  41. package/core/types/task.ts +4 -0
  42. package/dist/bin/prjct.mjs +1457 -765
  43. package/package.json +2 -1
  44. package/packages/shared/node_modules/@types/bun/LICENSE +21 -0
  45. package/packages/shared/node_modules/@types/bun/README.md +20 -0
  46. package/packages/shared/node_modules/@types/bun/index.d.ts +1 -0
  47. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/CLAUDE.md +105 -0
  48. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/README.md +33 -0
  49. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/bun.d.ts +7032 -0
  50. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/bun.ns.d.ts +5 -0
  51. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/bundle.d.ts +74 -0
  52. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/deprecated.d.ts +184 -0
  53. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/devserver.d.ts +187 -0
  54. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/README.md +28 -0
  55. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/bytecode.mdx +465 -0
  56. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/css.mdx +1024 -0
  57. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/esbuild.mdx +298 -0
  58. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/executables.mdx +1277 -0
  59. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/fullstack.mdx +1086 -0
  60. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/hot-reloading.mdx +229 -0
  61. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/html-static.mdx +488 -0
  62. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/index.mdx +1604 -0
  63. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/loaders.mdx +451 -0
  64. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/macros.mdx +328 -0
  65. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/minifier.mdx +1286 -0
  66. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/plugins.mdx +425 -0
  67. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/feedback.mdx +75 -0
  68. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-array.mdx +29 -0
  69. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-blob.mdx +26 -0
  70. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-buffer.mdx +27 -0
  71. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-string.mdx +17 -0
  72. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-typedarray.mdx +41 -0
  73. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-arraybuffer.mdx +16 -0
  74. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-dataview.mdx +16 -0
  75. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-stream.mdx +16 -0
  76. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-string.mdx +17 -0
  77. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-typedarray.mdx +16 -0
  78. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-arraybuffer.mdx +16 -0
  79. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-blob.mdx +16 -0
  80. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-readablestream.mdx +43 -0
  81. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-string.mdx +27 -0
  82. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-typedarray.mdx +16 -0
  83. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/dataview-to-string.mdx +17 -0
  84. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-arraybuffer.mdx +27 -0
  85. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-blob.mdx +18 -0
  86. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-buffer.mdx +16 -0
  87. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-dataview.mdx +16 -0
  88. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-readablestream.mdx +43 -0
  89. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-string.mdx +18 -0
  90. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/aws-lambda.mdx +204 -0
  91. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/digital-ocean.mdx +161 -0
  92. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/google-cloud-run.mdx +194 -0
  93. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/railway.mdx +145 -0
  94. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/render.mdx +82 -0
  95. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/vercel.mdx +97 -0
  96. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/astro.mdx +82 -0
  97. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/discordjs.mdx +80 -0
  98. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/docker.mdx +151 -0
  99. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/drizzle.mdx +195 -0
  100. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/elysia.mdx +31 -0
  101. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/express.mdx +43 -0
  102. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/gel.mdx +261 -0
  103. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/hono.mdx +47 -0
  104. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/mongoose.mdx +92 -0
  105. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/neon-drizzle.mdx +234 -0
  106. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/neon-serverless-postgres.mdx +60 -0
  107. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/nextjs.mdx +103 -0
  108. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/nuxt.mdx +96 -0
  109. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/pm2.mdx +55 -0
  110. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/prisma-postgres.mdx +169 -0
  111. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/prisma.mdx +164 -0
  112. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/qwik.mdx +114 -0
  113. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/react.mdx +52 -0
  114. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/remix.mdx +97 -0
  115. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/sentry.mdx +54 -0
  116. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/solidstart.mdx +62 -0
  117. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/ssr-react.mdx +49 -0
  118. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/stric.mdx +54 -0
  119. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/sveltekit.mdx +138 -0
  120. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/systemd.mdx +114 -0
  121. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/tanstack-start.mdx +791 -0
  122. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/upstash.mdx +87 -0
  123. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/vite.mdx +77 -0
  124. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/html-rewriter/extract-links.mdx +71 -0
  125. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/html-rewriter/extract-social-meta.mdx +97 -0
  126. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/cluster.mdx +69 -0
  127. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/fetch-unix.mdx +35 -0
  128. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/fetch.mdx +26 -0
  129. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/file-uploads.mdx +97 -0
  130. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/hot.mdx +28 -0
  131. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/proxy.mdx +50 -0
  132. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/server.mdx +48 -0
  133. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/simple.mdx +20 -0
  134. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/stream-file.mdx +50 -0
  135. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/stream-iterator.mdx +49 -0
  136. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/stream-node-streams-in-bun.mdx +22 -0
  137. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/tls.mdx +32 -0
  138. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/index.mdx +10 -0
  139. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-dev.mdx +28 -0
  140. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-git.mdx +40 -0
  141. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-optional.mdx +27 -0
  142. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-peer.mdx +45 -0
  143. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-tarball.mdx +35 -0
  144. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add.mdx +44 -0
  145. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/azure-artifacts.mdx +76 -0
  146. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/cicd.mdx +43 -0
  147. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/custom-registry.mdx +32 -0
  148. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/from-npm-install-to-bun-install.mdx +230 -0
  149. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/git-diff-bun-lockfile.mdx +48 -0
  150. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/jfrog-artifactory.mdx +28 -0
  151. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/npm-alias.mdx +25 -0
  152. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/registry-scope.mdx +40 -0
  153. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/trusted.mdx +52 -0
  154. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/workspaces.mdx +70 -0
  155. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/yarnlock.mdx +51 -0
  156. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/argv.mdx +66 -0
  157. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/ctrl-c.mdx +18 -0
  158. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/ipc.mdx +69 -0
  159. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/nanoseconds.mdx +15 -0
  160. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/os-signals.mdx +31 -0
  161. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/spawn-stderr.mdx +34 -0
  162. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/spawn-stdout.mdx +28 -0
  163. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/spawn.mdx +43 -0
  164. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/stdin.mdx +62 -0
  165. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/arraybuffer.mdx +30 -0
  166. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/buffer.mdx +21 -0
  167. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/exists.mdx +18 -0
  168. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/json.mdx +19 -0
  169. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/mime.mdx +22 -0
  170. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/stream.mdx +28 -0
  171. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/string.mdx +24 -0
  172. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/uint8array.mdx +23 -0
  173. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/watch.mdx +66 -0
  174. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/build-time-constants.mdx +295 -0
  175. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/cicd.mdx +45 -0
  176. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/codesign-macos-executable.mdx +61 -0
  177. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/define-constant.mdx +149 -0
  178. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/delete-directory.mdx +39 -0
  179. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/delete-file.mdx +21 -0
  180. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/heap-snapshot.mdx +28 -0
  181. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-html.mdx +15 -0
  182. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-json.mdx +46 -0
  183. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-toml.mdx +32 -0
  184. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-yaml.mdx +104 -0
  185. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/read-env.mdx +37 -0
  186. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/set-env.mdx +51 -0
  187. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/shell.mdx +42 -0
  188. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/timezone.mdx +38 -0
  189. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/tsconfig-paths.mdx +31 -0
  190. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/typescript.mdx +51 -0
  191. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/vscode-debugger.mdx +47 -0
  192. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/web-debugger.mdx +103 -0
  193. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-arraybuffer.mdx +13 -0
  194. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-blob.mdx +13 -0
  195. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-json.mdx +14 -0
  196. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-string.mdx +14 -0
  197. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-uint8array.mdx +13 -0
  198. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-array.mdx +16 -0
  199. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-arraybuffer.mdx +16 -0
  200. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-blob.mdx +16 -0
  201. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-buffer.mdx +17 -0
  202. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-json.mdx +16 -0
  203. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-string.mdx +16 -0
  204. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-typedarray.mdx +24 -0
  205. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/bail.mdx +24 -0
  206. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/concurrent-test-glob.mdx +146 -0
  207. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/coverage-threshold.mdx +67 -0
  208. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/coverage.mdx +49 -0
  209. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/happy-dom.mdx +73 -0
  210. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/migrate-from-jest.mdx +125 -0
  211. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/mock-clock.mdx +50 -0
  212. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/mock-functions.mdx +70 -0
  213. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/rerun-each.mdx +16 -0
  214. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/run-tests.mdx +116 -0
  215. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/skip-tests.mdx +43 -0
  216. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/snapshot.mdx +102 -0
  217. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/spy-on.mdx +49 -0
  218. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/svelte-test.mdx +113 -0
  219. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/testing-library.mdx +93 -0
  220. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/timeout.mdx +17 -0
  221. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/todo-tests.mdx +74 -0
  222. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/update-snapshots.mdx +49 -0
  223. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/watch-mode.mdx +24 -0
  224. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/base64.mdx +17 -0
  225. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/deep-equals.mdx +41 -0
  226. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/deflate.mdx +20 -0
  227. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/detect-bun.mdx +28 -0
  228. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/entrypoint.mdx +19 -0
  229. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/escape-html.mdx +24 -0
  230. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/file-url-to-path.mdx +16 -0
  231. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/gzip.mdx +20 -0
  232. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/hash-a-password.mdx +56 -0
  233. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/import-meta-dir.mdx +15 -0
  234. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/import-meta-file.mdx +15 -0
  235. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/import-meta-path.mdx +15 -0
  236. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/javascript-uuid.mdx +25 -0
  237. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/main.mdx +43 -0
  238. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/path-to-file-url.mdx +16 -0
  239. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/sleep.mdx +24 -0
  240. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/upgrade.mdx +93 -0
  241. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/version.mdx +23 -0
  242. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/which-path-to-executable-bin.mdx +17 -0
  243. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/compression.mdx +33 -0
  244. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/context.mdx +79 -0
  245. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/pubsub.mdx +43 -0
  246. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/simple.mdx +38 -0
  247. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/append.mdx +54 -0
  248. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/basic.mdx +46 -0
  249. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/blob.mdx +30 -0
  250. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/cat.mdx +19 -0
  251. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/file-cp.mdx +18 -0
  252. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/filesink.mdx +54 -0
  253. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/response.mdx +19 -0
  254. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/stdout.mdx +23 -0
  255. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/stream.mdx +19 -0
  256. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/unlink.mdx +18 -0
  257. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/index.mdx +133 -0
  258. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/installation.mdx +365 -0
  259. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/bunx.mdx +91 -0
  260. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/catalogs.mdx +292 -0
  261. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/add.mdx +179 -0
  262. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/audit.mdx +60 -0
  263. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/info.mdx +70 -0
  264. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/install.mdx +606 -0
  265. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/link.mdx +61 -0
  266. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/outdated.mdx +197 -0
  267. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/patch.mdx +69 -0
  268. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/pm.mdx +323 -0
  269. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/publish.mdx +131 -0
  270. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/remove.mdx +16 -0
  271. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/update.mdx +140 -0
  272. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/why.mdx +84 -0
  273. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/filter.mdx +102 -0
  274. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/global-cache.mdx +72 -0
  275. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/isolated-installs.mdx +220 -0
  276. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/lifecycle.mdx +64 -0
  277. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/lockfile.mdx +64 -0
  278. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/npmrc.mdx +111 -0
  279. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/overrides.mdx +83 -0
  280. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/scopes-registries.mdx +35 -0
  281. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/security-scanner-api.mdx +95 -0
  282. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/workspaces.mdx +115 -0
  283. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/benchmarking.mdx +241 -0
  284. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/bindgen.mdx +223 -0
  285. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/building-windows.mdx +133 -0
  286. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/contributing.mdx +388 -0
  287. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/feedback.mdx +20 -0
  288. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/license.mdx +78 -0
  289. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/roadmap.mdx +8 -0
  290. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/quickstart.mdx +251 -0
  291. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/auto-install.mdx +97 -0
  292. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/binary-data.mdx +846 -0
  293. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/bun-apis.mdx +59 -0
  294. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/bunfig.mdx +723 -0
  295. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/c-compiler.mdx +204 -0
  296. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/child-process.mdx +659 -0
  297. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/color.mdx +267 -0
  298. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/console.mdx +67 -0
  299. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/cookies.mdx +454 -0
  300. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/debugger.mdx +335 -0
  301. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/environment-variables.mdx +231 -0
  302. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/ffi.mdx +565 -0
  303. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/file-io.mdx +306 -0
  304. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/file-system-router.mdx +118 -0
  305. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/file-types.mdx +435 -0
  306. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/glob.mdx +181 -0
  307. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/globals.mdx +72 -0
  308. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/hashing.mdx +315 -0
  309. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/html-rewriter.mdx +333 -0
  310. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/cookies.mdx +79 -0
  311. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/error-handling.mdx +40 -0
  312. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/metrics.mdx +36 -0
  313. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/routing.mdx +289 -0
  314. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/server.mdx +645 -0
  315. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/tls.mdx +101 -0
  316. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/websockets.mdx +414 -0
  317. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/index.mdx +223 -0
  318. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/jsx.mdx +115 -0
  319. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/module-resolution.mdx +374 -0
  320. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/dns.mdx +111 -0
  321. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/fetch.mdx +484 -0
  322. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/tcp.mdx +239 -0
  323. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/udp.mdx +129 -0
  324. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/node-api.mdx +19 -0
  325. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/nodejs-compat.mdx +468 -0
  326. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/plugins.mdx +419 -0
  327. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/redis.mdx +583 -0
  328. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/s3.mdx +863 -0
  329. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/secrets.mdx +340 -0
  330. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/semver.mdx +57 -0
  331. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/shell.mdx +637 -0
  332. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/sql.mdx +1404 -0
  333. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/sqlite.mdx +721 -0
  334. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/streams.mdx +232 -0
  335. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/templating/create.mdx +269 -0
  336. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/templating/init.mdx +58 -0
  337. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/transpiler.mdx +288 -0
  338. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/typescript.mdx +58 -0
  339. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/utils.mdx +922 -0
  340. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/watch-mode.mdx +161 -0
  341. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/web-apis.mdx +29 -0
  342. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/workers.mdx +314 -0
  343. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/yaml.mdx +469 -0
  344. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/add.mdx +166 -0
  345. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/build.mdx +196 -0
  346. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/bunx.mdx +49 -0
  347. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/feedback.mdx +17 -0
  348. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/init.mdx +84 -0
  349. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/install.mdx +173 -0
  350. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/link.mdx +163 -0
  351. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/outdated.mdx +140 -0
  352. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/patch.mdx +171 -0
  353. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/publish.mdx +198 -0
  354. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/remove.mdx +146 -0
  355. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/run.mdx +293 -0
  356. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/test.mdx +100 -0
  357. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/update.mdx +144 -0
  358. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/code-coverage.mdx +409 -0
  359. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/configuration.mdx +514 -0
  360. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/dates-times.mdx +129 -0
  361. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/discovery.mdx +90 -0
  362. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/dom.mdx +226 -0
  363. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/index.mdx +380 -0
  364. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/lifecycle.mdx +366 -0
  365. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/mocks.mdx +637 -0
  366. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/reporters.mdx +126 -0
  367. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/runtime-behavior.mdx +342 -0
  368. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/snapshots.mdx +434 -0
  369. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/writing-tests.mdx +672 -0
  370. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/typescript.mdx +54 -0
  371. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/extensions.d.ts +35 -0
  372. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/fetch.d.ts +79 -0
  373. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/ffi.d.ts +1154 -0
  374. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/globals.d.ts +2067 -0
  375. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/html-rewriter.d.ts +186 -0
  376. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/index.d.ts +32 -0
  377. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/jsc.d.ts +233 -0
  378. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/overrides.d.ts +376 -0
  379. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/package.json +37 -0
  380. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/redis.d.ts +3352 -0
  381. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/s3.d.ts +1299 -0
  382. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/security.d.ts +101 -0
  383. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/serve.d.ts +1296 -0
  384. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/shell.d.ts +380 -0
  385. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/sql.d.ts +887 -0
  386. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/sqlite.d.ts +1321 -0
  387. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/test-globals.d.ts +22 -0
  388. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/test.d.ts +2391 -0
  389. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/branding.d.ts +283 -0
  390. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/index.d.ts +1207 -0
  391. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/messages.d.ts +395 -0
  392. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/overloads.d.ts +669 -0
  393. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/utils.d.ts +431 -0
  394. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/wasm.d.ts +193 -0
  395. package/packages/shared/node_modules/@types/bun/package.json +53 -0
  396. package/scripts/postinstall.js +69 -0
  397. package/templates/agentic/agents/uxui.md +218 -0
  398. package/templates/agentic/subagent-generation.md +81 -241
  399. package/templates/commands/cleanup.md +0 -5
  400. package/templates/commands/dashboard.md +686 -0
  401. package/templates/commands/enrich.md +345 -0
  402. package/templates/commands/feature.md +46 -0
  403. package/templates/commands/impact.md +864 -0
  404. package/templates/commands/init.md +44 -1
  405. package/templates/commands/linear.md +287 -0
  406. package/templates/commands/now.md +53 -0
  407. package/templates/commands/plan.md +696 -0
  408. package/templates/commands/prd.md +356 -0
  409. package/templates/commands/ship.md +81 -111
  410. package/templates/commands/sync.md +640 -154
  411. package/templates/commands/task.md +128 -55
  412. package/templates/context/dashboard.md +256 -0
  413. package/templates/context/roadmap.md +221 -0
  414. package/templates/global/CLAUDE.md +35 -166
  415. package/templates/mcp-config.json +46 -23
  416. package/templates/skills/notion-push.md +116 -0
  417. package/templates/skills/notion-setup.md +199 -0
  418. package/templates/skills/notion-sync.md +290 -0
  419. package/templates/subagents/domain/backend.md +106 -0
  420. package/templates/subagents/domain/database.md +118 -0
  421. package/templates/subagents/domain/devops.md +149 -0
  422. package/templates/subagents/domain/frontend.md +100 -0
  423. package/templates/subagents/domain/testing.md +166 -0
  424. package/templates/subagents/pm-expert.md +366 -0
  425. package/templates/subagents/workflow/chief-architect.md +657 -0
  426. package/core/agentic/token-estimator.ts +0 -264
  427. package/core/infrastructure/slash-command-registry.ts +0 -176
  428. package/templates/guides/agent-generation.md +0 -164
  429. package/templates/guides/integrations.md +0 -149
  430. package/templates/shared/validation.md +0 -75
@@ -0,0 +1,220 @@
1
+ ---
2
+ title: "Isolated installs"
3
+ description: "Strict dependency isolation similar to pnpm's approach"
4
+ ---
5
+
6
+ Bun provides an alternative package installation strategy called **isolated installs** that creates strict dependency isolation similar to pnpm's approach. This mode prevents phantom dependencies and ensures reproducible, deterministic builds.
7
+
8
+ This is the default installation strategy for **new** workspace/monorepo projects (with `configVersion = 1` in the lockfile). Existing projects continue using hoisted installs unless explicitly configured.
9
+
10
+ ## What are isolated installs?
11
+
12
+ Isolated installs create a non-hoisted dependency structure where packages can only access their explicitly declared dependencies. This differs from the traditional "hoisted" installation strategy used by npm and Yarn, where dependencies are flattened into a shared `node_modules` directory.
13
+
14
+ ### Key benefits
15
+
16
+ - **Prevents phantom dependencies** — Packages cannot accidentally import dependencies they haven't declared
17
+ - **Deterministic resolution** — Same dependency tree regardless of what else is installed
18
+ - **Better for monorepos** — Workspace isolation prevents cross-contamination between packages
19
+ - **Reproducible builds** — More predictable resolution behavior across environments
20
+
21
+ ## Using isolated installs
22
+
23
+ ### Command line
24
+
25
+ Use the `--linker` flag to specify the installation strategy:
26
+
27
+ ```bash terminal icon="terminal"
28
+ # Use isolated installs
29
+ bun install --linker isolated
30
+
31
+ # Use traditional hoisted installs
32
+ bun install --linker hoisted
33
+ ```
34
+
35
+ ### Configuration file
36
+
37
+ Set the default linker strategy in your `bunfig.toml` or globally in `$HOME/.bunfig.toml`:
38
+
39
+ ```toml bunfig.toml icon="settings"
40
+ [install]
41
+ linker = "isolated"
42
+ ```
43
+
44
+ ### Default behavior
45
+
46
+ The default linker strategy depends on your project's lockfile `configVersion`:
47
+
48
+ | `configVersion` | Using workspaces? | Default Linker |
49
+ | --------------- | ----------------- | -------------- |
50
+ | `1` | ✅ | `isolated` |
51
+ | `1` | ❌ | `hoisted` |
52
+ | `0` | ✅ | `hoisted` |
53
+ | `0` | ❌ | `hoisted` |
54
+
55
+ **New projects**: Default to `configVersion = 1`. In workspaces, v1 uses the isolated linker by default; otherwise it uses hoisted linking.
56
+
57
+ **Existing Bun projects (made pre-v1.3.2)**: If your existing lockfile doesn't have a version yet, Bun sets `configVersion = 0` when you run `bun install`, preserving the previous hoisted linker default.
58
+
59
+ **Migrations from other package managers**:
60
+
61
+ - From pnpm: `configVersion = 1` (using isolated installs in workspaces)
62
+ - From npm or yarn: `configVersion = 0` (using hoisted installs)
63
+
64
+ You can override the default behavior by explicitly specifying the `--linker` flag or setting it in your configuration file.
65
+
66
+ ## How isolated installs work
67
+
68
+ ### Directory structure
69
+
70
+ Instead of hoisting dependencies, isolated installs create a two-tier structure:
71
+
72
+ ```bash tree layout of node_modules icon="list-tree"
73
+ node_modules/
74
+ ├── .bun/ # Central package store
75
+ │ ├── package@1.0.0/ # Versioned package installations
76
+ │ │ └── node_modules/
77
+ │ │ └── package/ # Actual package files
78
+ │ ├── @scope+package@2.1.0/ # Scoped packages (+ replaces /)
79
+ │ │ └── node_modules/
80
+ │ │ └── @scope/
81
+ │ │ └── package/
82
+ │ └── ...
83
+ └── package-name -> .bun/package@1.0.0/node_modules/package # Symlinks
84
+ ```
85
+
86
+ ### Resolution algorithm
87
+
88
+ 1. **Central store** — All packages are installed in `node_modules/.bun/package@version/` directories
89
+ 2. **Symlinks** — Top-level `node_modules` contains symlinks pointing to the central store
90
+ 3. **Peer resolution** — Complex peer dependencies create specialized directory names
91
+ 4. **Deduplication** — Packages with identical package IDs and peer dependency sets are shared
92
+
93
+ ### Workspace handling
94
+
95
+ In monorepos, workspace dependencies are handled specially:
96
+
97
+ - **Workspace packages** — Symlinked directly to their source directories, not the store
98
+ - **Workspace dependencies** — Can access other workspace packages in the monorepo
99
+ - **External dependencies** — Installed in the isolated store with proper isolation
100
+
101
+ ## Comparison with hoisted installs
102
+
103
+ | Aspect | Hoisted (npm/Yarn) | Isolated (pnpm-like) |
104
+ | ------------------------- | ------------------------------------------ | --------------------------------------- |
105
+ | **Dependency access** | Packages can access any hoisted dependency | Packages only see declared dependencies |
106
+ | **Phantom dependencies** | ❌ Possible | ✅ Prevented |
107
+ | **Disk usage** | ✅ Lower (shared installs) | ✅ Similar (uses symlinks) |
108
+ | **Determinism** | ❌ Less deterministic | ✅ More deterministic |
109
+ | **Node.js compatibility** | ✅ Standard behavior | ✅ Compatible via symlinks |
110
+ | **Best for** | Single projects, legacy code | Monorepos, strict dependency management |
111
+
112
+ ## Advanced features
113
+
114
+ ### Peer dependency handling
115
+
116
+ Isolated installs handle peer dependencies through sophisticated resolution:
117
+
118
+ ```bash tree layout of node_modules icon="list-tree"
119
+ # Package with peer dependencies creates specialized paths
120
+ node_modules/.bun/package@1.0.0_react@18.2.0/
121
+ ```
122
+
123
+ The directory name encodes both the package version and its peer dependency versions, ensuring each unique combination gets its own installation.
124
+
125
+ ### Backend strategies
126
+
127
+ Bun uses different file operation strategies for performance:
128
+
129
+ - **Clonefile** (macOS) — Copy-on-write filesystem clones for maximum efficiency
130
+ - **Hardlink** (Linux/Windows) — Hardlinks to save disk space
131
+ - **Copyfile** (fallback) — Full file copies when other methods aren't available
132
+
133
+ ### Debugging isolated installs
134
+
135
+ Enable verbose logging to understand the installation process:
136
+
137
+ ```bash terminal icon="terminal"
138
+ bun install --linker isolated --verbose
139
+ ```
140
+
141
+ This shows:
142
+
143
+ - Store entry creation
144
+ - Symlink operations
145
+ - Peer dependency resolution
146
+ - Deduplication decisions
147
+
148
+ ## Troubleshooting
149
+
150
+ ### Compatibility issues
151
+
152
+ Some packages may not work correctly with isolated installs due to:
153
+
154
+ - **Hardcoded paths** — Packages that assume a flat `node_modules` structure
155
+ - **Dynamic imports** — Runtime imports that don't follow Node.js resolution
156
+ - **Build tools** — Tools that scan `node_modules` directly
157
+
158
+ If you encounter issues, you can:
159
+
160
+ 1. **Switch to hoisted mode** for specific projects:
161
+
162
+ ```bash terminal icon="terminal"
163
+ bun install --linker hoisted
164
+ ```
165
+
166
+ 2. **Report compatibility issues** to help improve isolated install support
167
+
168
+ ### Performance considerations
169
+
170
+ - **Install time** — May be slightly slower due to symlink operations
171
+ - **Disk usage** — Similar to hoisted (uses symlinks, not file copies)
172
+ - **Memory usage** — Higher during install due to complex peer resolution
173
+
174
+ ## Migration guide
175
+
176
+ ### From npm/Yarn
177
+
178
+ ```bash terminal icon="terminal"
179
+ # Remove existing node_modules and lockfiles
180
+ rm -rf node_modules package-lock.json yarn.lock
181
+
182
+ # Install with isolated linker
183
+ bun install --linker isolated
184
+ ```
185
+
186
+ ### From pnpm
187
+
188
+ Isolated installs are conceptually similar to pnpm, so migration should be straightforward:
189
+
190
+ ```bash terminal icon="terminal"
191
+ # Remove pnpm files
192
+ $ rm -rf node_modules pnpm-lock.yaml
193
+
194
+ # Install with Bun's isolated linker
195
+ bun install --linker isolated
196
+ ```
197
+
198
+ The main difference is that Bun uses symlinks in `node_modules` while pnpm uses a global store with symlinks.
199
+
200
+ ## When to use isolated installs
201
+
202
+ **Use isolated installs when:**
203
+
204
+ - Working in monorepos with multiple packages
205
+ - Strict dependency management is required
206
+ - Preventing phantom dependencies is important
207
+ - Building libraries that need deterministic dependencies
208
+
209
+ **Use hoisted installs when:**
210
+
211
+ - Working with legacy code that assumes flat `node_modules`
212
+ - Compatibility with existing build tools is required
213
+ - Working in environments where symlinks aren't well supported
214
+ - You prefer the simpler traditional npm behavior
215
+
216
+ ## Related documentation
217
+
218
+ - [Package manager > Workspaces](/docs/pm/workspaces) — Monorepo workspace management
219
+ - [Package manager > Lockfile](/docs/pm/lockfile) — Understanding Bun's lockfile format
220
+ - [CLI > install](/docs/pm/cli/install) — Complete `bun install` command reference
@@ -0,0 +1,64 @@
1
+ ---
2
+ title: "Lifecycle scripts"
3
+ description: "How Bun handles package lifecycle scripts securely"
4
+ ---
5
+
6
+ Packages on `npm` can define _lifecycle scripts_ in their `package.json`. Some of the most common are below, but there are [many others](https://docs.npmjs.com/cli/v10/using-npm/scripts).
7
+
8
+ - `preinstall`: Runs before the package is installed
9
+ - `postinstall`: Runs after the package is installed
10
+ - `preuninstall`: Runs before the package is uninstalled
11
+ - `prepublishOnly`: Runs before the package is published
12
+
13
+ These scripts are arbitrary shell commands that the package manager is expected to read and execute at the appropriate time. But executing arbitrary scripts represents a potential security risk, so—unlike other `npm` clients—Bun does not execute arbitrary lifecycle scripts by default.
14
+
15
+ ---
16
+
17
+ ## `postinstall`
18
+
19
+ The `postinstall` script is particularly important. It's widely used to build or install platform-specific binaries for packages that are implemented as [native Node.js add-ons](https://nodejs.org/api/addons.html). For example, `node-sass` is a popular package that uses `postinstall` to build a native binary for Sass.
20
+
21
+ ```json package.json icon="file-json"
22
+ {
23
+ "name": "my-app",
24
+ "version": "1.0.0",
25
+ "dependencies": {
26
+ "node-sass": "^6.0.1"
27
+ }
28
+ }
29
+ ```
30
+
31
+ ---
32
+
33
+ ## `trustedDependencies`
34
+
35
+ Instead of executing arbitrary scripts, Bun uses a "default-secure" approach. You can add certain packages to an allow list, and Bun will execute lifecycle scripts for those packages. To tell Bun to allow lifecycle scripts for a particular package, add the package name to `trustedDependencies` array in your `package.json`.
36
+
37
+ ```json package.json icon="file-json"
38
+ {
39
+ "name": "my-app",
40
+ "version": "1.0.0",
41
+ "trustedDependencies": ["node-sass"] // [!code ++]
42
+ }
43
+ ```
44
+
45
+ Once added to `trustedDependencies`, install/re-install the package. Bun will read this field and run lifecycle scripts for `my-trusted-package`.
46
+
47
+ The top 500 npm packages with lifecycle scripts are allowed by default. You can see the full list [here](https://github.com/oven-sh/bun/blob/main/src/install/default-trusted-dependencies.txt).
48
+
49
+ <Note>
50
+ The default trusted dependencies list only applies to packages installed from npm. For packages from other sources
51
+ (such as `file:`, `link:`, `git:`, or `github:` dependencies), you must explicitly add them to `trustedDependencies`
52
+ to run their lifecycle scripts, even if the package name matches an entry in the default list. This prevents malicious
53
+ packages from spoofing trusted package names through local file paths or git repositories.
54
+ </Note>
55
+
56
+ ---
57
+
58
+ ## `--ignore-scripts`
59
+
60
+ To disable lifecycle scripts for all packages, use the `--ignore-scripts` flag.
61
+
62
+ ```bash terminal icon="terminal"
63
+ bun install --ignore-scripts
64
+ ```
@@ -0,0 +1,64 @@
1
+ ---
2
+ title: "Lockfile"
3
+ description: "Bun's lockfile format and configuration"
4
+ ---
5
+
6
+ Running `bun install` will create a lockfile called `bun.lock`.
7
+
8
+ #### Should it be committed to git?
9
+
10
+ Yes
11
+
12
+ #### Generate a lockfile without installing?
13
+
14
+ To generate a lockfile without installing to `node_modules` you can use the `--lockfile-only` flag. The lockfile will always be saved to disk, even if it is up-to-date with the `package.json`(s) for your project.
15
+
16
+ ```bash terminal icon="terminal"
17
+ bun install --lockfile-only
18
+ ```
19
+
20
+ <Note>
21
+ Using `--lockfile-only` will still populate the global install cache with registry metadata and git/tarball
22
+ dependencies.
23
+ </Note>
24
+
25
+ #### Can I opt out?
26
+
27
+ To install without creating a lockfile:
28
+
29
+ ```bash terminal icon="terminal"
30
+ bun install --no-save
31
+ ```
32
+
33
+ To install a Yarn lockfile _in addition_ to `bun.lock`.
34
+
35
+ <CodeGroup>
36
+
37
+ ```bash terminal icon="terminal"
38
+ bun install --yarn
39
+ ```
40
+
41
+ ```toml bunfig.toml icon="settings"
42
+ [install.lockfile]
43
+ # whether to save a non-Bun lockfile alongside bun.lock
44
+ # only "yarn" is supported
45
+ print = "yarn"
46
+ ```
47
+
48
+ </CodeGroup>
49
+
50
+ #### Text-based lockfile
51
+
52
+ Bun v1.2 changed the default lockfile format to the text-based `bun.lock`. Existing binary `bun.lockb` lockfiles can be migrated to the new format by running `bun install --save-text-lockfile --frozen-lockfile --lockfile-only` and deleting `bun.lockb`.
53
+
54
+ More information about the new lockfile format can be found on [our blogpost](https://bun.com/blog/bun-lock-text-lockfile).
55
+
56
+ #### Automatic lockfile migration
57
+
58
+ When running `bun install` in a project without a `bun.lock`, Bun automatically migrates existing lockfiles:
59
+
60
+ - `yarn.lock` (v1)
61
+ - `package-lock.json` (npm)
62
+ - `pnpm-lock.yaml` (pnpm)
63
+
64
+ The original lockfile is preserved and can be removed manually after verification.
@@ -0,0 +1,111 @@
1
+ ---
2
+ title: .npmrc support
3
+ description:
4
+ ---
5
+
6
+ Bun supports loading configuration options from [`.npmrc`](https://docs.npmjs.com/cli/v10/configuring-npm/npmrc) files, allowing you to reuse existing registry/scope configurations.
7
+
8
+ <Note>
9
+ We recommend migrating your `.npmrc` file to Bun's [`bunfig.toml`](/docs/runtime/bunfig) format, as it provides more
10
+ flexible options and can let you configure Bun-specific options.
11
+ </Note>
12
+
13
+ ---
14
+
15
+ ## Supported options
16
+
17
+ ### Set the default registry
18
+
19
+ The default registry is used to resolve packages, its default value is `npm`'s official registry (`https://registry.npmjs.org/`).
20
+
21
+ To change it, you can set the `registry` option in `.npmrc`:
22
+
23
+ ```ini .npmrc icon="npm"
24
+ registry=http://localhost:4873/
25
+ ```
26
+
27
+ The equivalent `bunfig.toml` option is [`install.registry`](/docs/runtime/bunfig#install-registry):
28
+
29
+ ```toml bunfig.toml icon="settings"
30
+ install.registry = "http://localhost:4873/"
31
+ ```
32
+
33
+ ### Set the registry for a specific scope
34
+
35
+ `@<scope>:registry` allows you to set the registry for a specific scope:
36
+
37
+ ```ini .npmrc icon="npm"
38
+ @myorg:registry=http://localhost:4873/
39
+ ```
40
+
41
+ The equivalent `bunfig.toml` option is to add a key in [`install.scopes`](/docs/runtime/bunfig#install-registry):
42
+
43
+ ```toml bunfig.toml icon="settings"
44
+ [install.scopes]
45
+ myorg = "http://localhost:4873/"
46
+ ```
47
+
48
+ ### Configure options for a specific registry
49
+
50
+ `//<registry_url>/:<key>=<value>` allows you to set options for a specific registry:
51
+
52
+ ```ini .npmrc icon="npm"
53
+ # set an auth token for the registry
54
+ # ${...} is a placeholder for environment variables
55
+ //http://localhost:4873/:_authToken=${NPM_TOKEN}
56
+
57
+
58
+ # or you could set a username and password
59
+ # note that the password is base64 encoded
60
+ //http://localhost:4873/:username=myusername
61
+
62
+ //http://localhost:4873/:_password=${NPM_PASSWORD}
63
+
64
+ # or use _auth, which is your username and password
65
+ # combined into a single string, which is then base 64 encoded
66
+ //http://localhost:4873/:_auth=${NPM_AUTH}
67
+ ```
68
+
69
+ The following options are supported:
70
+
71
+ - `_authToken`
72
+ - `username`
73
+ - `_password` (base64 encoded password)
74
+ - `_auth` (base64 encoded username:password, e.g. `btoa(username + ":" + password)`)
75
+
76
+ The equivalent `bunfig.toml` option is to add a key in [`install.scopes`](/docs/runtime/bunfig#install-registry):
77
+
78
+ ```toml bunfig.toml icon="settings"
79
+ [install.scopes]
80
+ myorg = { url = "http://localhost:4873/", username = "myusername", password = "$NPM_PASSWORD" }
81
+ ```
82
+
83
+ ### `link-workspace-packages`: Control workspace package installation
84
+
85
+ Controls how workspace packages are installed when available locally:
86
+
87
+ ```ini .npmrc icon="npm"
88
+ link-workspace-packages=true
89
+ ```
90
+
91
+ The equivalent `bunfig.toml` option is [`install.linkWorkspacePackages`](/docs/runtime/bunfig#install-linkworkspacepackages):
92
+
93
+ ```toml bunfig.toml icon="settings"
94
+ [install]
95
+ linkWorkspacePackages = true
96
+ ```
97
+
98
+ ### `save-exact`: Save exact versions
99
+
100
+ Always saves exact versions without the `^` prefix:
101
+
102
+ ```ini .npmrc icon="npm"
103
+ save-exact=true
104
+ ```
105
+
106
+ The equivalent `bunfig.toml` option is [`install.exact`](/docs/runtime/bunfig#install-exact):
107
+
108
+ ```toml bunfig.toml icon="settings"
109
+ [install]
110
+ exact = true
111
+ ```
@@ -0,0 +1,83 @@
1
+ ---
2
+ title: "Overrides and resolutions"
3
+ description: "Control metadependency versions with npm overrides and Yarn resolutions"
4
+ ---
5
+
6
+ Bun supports npm's `"overrides"` and Yarn's `"resolutions"` in `package.json`. These are mechanisms for specifying a version range for _metadependencies_—the dependencies of your dependencies.
7
+
8
+ {/* prettier-ignore */}
9
+ ```json package.json icon="file-json"
10
+ {
11
+ "name": "my-app",
12
+ "dependencies": {
13
+ "foo": "^2.0.0"
14
+ },
15
+ "overrides": { // [!code ++]
16
+ "bar": "~4.4.0" // [!code ++]
17
+ } // [!code ++]
18
+ }
19
+ ```
20
+
21
+ By default, Bun will install the latest version of all dependencies and metadependencies, according to the ranges specified in each package's `package.json`. Let's say you have a project with one dependency, `foo`, which in turn has a dependency on `bar`. This means `bar` is a _metadependency_ of our project.
22
+
23
+ ```json package.json icon="file-json"
24
+ {
25
+ "name": "my-app",
26
+ "dependencies": {
27
+ "foo": "^2.0.0"
28
+ }
29
+ }
30
+ ```
31
+
32
+ When you run `bun install`, Bun will install the latest versions of each package.
33
+
34
+ ```txt tree layout of node_modules icon="list-tree"
35
+ node_modules
36
+ ├── foo@1.2.3
37
+ └── bar@4.5.6
38
+ ```
39
+
40
+ But what if a security vulnerability was introduced in `bar@4.5.6`? We may want a way to pin `bar` to an older version that doesn't have the vulnerability. This is where `"overrides"`/`"resolutions"` come in.
41
+
42
+ ---
43
+
44
+ ## `"overrides"`
45
+
46
+ Add `bar` to the `"overrides"` field in `package.json`. Bun will defer to the specified version range when determining which version of `bar` to install, whether it's a dependency or a metadependency.
47
+
48
+ <Note>
49
+ Bun currently only supports top-level `"overrides"`. [Nested
50
+ overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides) are not supported.
51
+ </Note>
52
+
53
+ {/* prettier-ignore */}
54
+ ```json package.json icon="file-json"
55
+ {
56
+ "name": "my-app",
57
+ "dependencies": {
58
+ "foo": "^2.0.0"
59
+ },
60
+ "overrides": { // [!code ++]
61
+ "bar": "~4.4.0" // [!code ++]
62
+ } // [!code ++]
63
+ }
64
+ ```
65
+
66
+ ## `"resolutions"`
67
+
68
+ The syntax is similar for `"resolutions"`, which is Yarn's alternative to `"overrides"`. Bun supports this feature to make migration from Yarn easier.
69
+
70
+ As with `"overrides"`, _nested resolutions_ are not currently supported.
71
+
72
+ {/* prettier-ignore */}
73
+ ```json package.json icon="file-json"
74
+ {
75
+ "name": "my-app",
76
+ "dependencies": {
77
+ "foo": "^2.0.0"
78
+ },
79
+ "resolutions": { // [!code ++]
80
+ "bar": "~4.4.0" // [!code ++]
81
+ } // [!code ++]
82
+ }
83
+ ```
@@ -0,0 +1,35 @@
1
+ ---
2
+ title: "Scopes and registries"
3
+ description: "Configure private registries and scoped packages"
4
+ ---
5
+
6
+ The default registry is `registry.npmjs.org`. This can be globally configured in `bunfig.toml`:
7
+
8
+ ```toml bunfig.toml icon="settings"
9
+ [install]
10
+ # set default registry as a string
11
+ registry = "https://registry.npmjs.org"
12
+ # set a token
13
+ registry = { url = "https://registry.npmjs.org", token = "123456" }
14
+ # set a username/password
15
+ registry = "https://username:password@registry.npmjs.org"
16
+ ```
17
+
18
+ To configure a private registry scoped to a particular organization:
19
+
20
+ ```toml bunfig.toml icon="settings"
21
+ [install.scopes]
22
+ # registry as string
23
+ "@myorg1" = "https://username:password@registry.myorg.com/"
24
+
25
+ # registry with username/password
26
+ # you can reference environment variables
27
+ "@myorg2" = { username = "myusername", password = "$NPM_PASS", url = "https://registry.myorg.com/" }
28
+
29
+ # registry with token
30
+ "@myorg3" = { token = "$npm_token", url = "https://registry.myorg.com/" }
31
+ ```
32
+
33
+ ### `.npmrc`
34
+
35
+ Bun also reads `.npmrc` files, [learn more](/docs/pm/npmrc).
@@ -0,0 +1,95 @@
1
+ ---
2
+ title: Security Scanner API
3
+ description:
4
+ ---
5
+
6
+ Bun's package manager can scan packages for security vulnerabilities before installation, helping protect your applications from supply chain attacks and known vulnerabilities.
7
+
8
+ ---
9
+
10
+ ## Quick Start
11
+
12
+ Configure a security scanner in your `bunfig.toml`:
13
+
14
+ ```toml bunfig.toml icon="settings"
15
+ [install.security]
16
+ scanner = "@acme/bun-security-scanner"
17
+ ```
18
+
19
+ When configured, Bun will:
20
+
21
+ - Scan all packages before installation
22
+ - Display security warnings and advisories
23
+ - Cancel installation if critical vulnerabilities are found
24
+ - Automatically disable auto-install for security
25
+
26
+ ---
27
+
28
+ ## How It Works
29
+
30
+ Security scanners analyze packages during `bun install`, `bun add`, and other package operations. They can detect:
31
+
32
+ - Known security vulnerabilities (CVEs)
33
+ - Malicious packages
34
+ - License compliance issues
35
+ - ...and more!
36
+
37
+ ### Security Levels
38
+
39
+ Scanners report issues at two severity levels:
40
+
41
+ - **`fatal`** - Installation stops immediately, exits with non-zero code
42
+ - **`warn`** - In interactive terminals, prompts to continue; in CI, exits immediately
43
+
44
+ ---
45
+
46
+ ## Using Pre-built Scanners
47
+
48
+ Many security companies publish Bun security scanners as npm packages that you can install and use immediately.
49
+
50
+ ### Installing a Scanner
51
+
52
+ Install a security scanner from npm:
53
+
54
+ ```bash terminal icon="terminal"
55
+ bun add -d @acme/bun-security-scanner
56
+ ```
57
+
58
+ <Note>
59
+ Consult your security scanner's documentation for their specific package name and installation instructions. Most
60
+ scanners will be installed with `bun add`.
61
+ </Note>
62
+
63
+ ### Configuring the Scanner
64
+
65
+ After installation, configure it in your `bunfig.toml`:
66
+
67
+ ```toml bunfig.toml icon="settings"
68
+ [install.security]
69
+ scanner = "@acme/bun-security-scanner"
70
+ ```
71
+
72
+ ### Enterprise Configuration
73
+
74
+ Some enterprise scanners might support authentication and/or configuration through environment variables:
75
+
76
+ ```bash terminal icon="terminal"
77
+ # This might go in ~/.bashrc, for example
78
+ export SECURITY_API_KEY="your-api-key"
79
+
80
+ # The scanner will now use these credentials automatically
81
+ bun install
82
+ ```
83
+
84
+ Consult your security scanner's documentation to learn which environment variables to set and if any additional configuration is required.
85
+
86
+ ### Authoring your own scanner
87
+
88
+ For a complete example with tests and CI setup, see the official template:
89
+ [github.com/oven-sh/security-scanner-template](https://github.com/oven-sh/security-scanner-template)
90
+
91
+ ## Related
92
+
93
+ - [Configuration (bunfig.toml)](/docs/runtime/bunfig#install-security-scanner)
94
+ - [Package Manager](/docs/installation)
95
+ - [Security Scanner Template](https://github.com/oven-sh/security-scanner-template)