@nexus-cortex/cli 4.26.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 (465) hide show
  1. package/.cortex/agents/AGENT_PROFILE_GUIDE.md +307 -0
  2. package/.cortex/agents/README.md +268 -0
  3. package/.cortex/agents/a-frontend-landing-page-designer.md +41 -0
  4. package/.cortex/agents/autoresearch-agent.md +49 -0
  5. package/.cortex/agents/code-reviewer.md +63 -0
  6. package/.cortex/agents/context-research.md +26 -0
  7. package/.cortex/agents/doc-writer.md +92 -0
  8. package/.cortex/agents/explore.md +63 -0
  9. package/.cortex/agents/new-model-api-integrator-analyst.md +41 -0
  10. package/.cortex/agents/plan.md +109 -0
  11. package/.cortex/agents/pr-architecture-reviewer.md +77 -0
  12. package/.cortex/agents/pr-code-quality.md +78 -0
  13. package/.cortex/agents/pr-implementer.md +50 -0
  14. package/.cortex/agents/pr-security-auditor.md +62 -0
  15. package/.cortex/agents/pr-test-writer.md +67 -0
  16. package/.cortex/agents/refactor.md +118 -0
  17. package/.cortex/agents/test-writer.md +72 -0
  18. package/.cortex/agents/web-researcher.md +72 -0
  19. package/.cortex/bench/tasks/sample-tasks.json +20 -0
  20. package/.cortex/commands/compare.md +14 -0
  21. package/.cortex/commands/deps.md +16 -0
  22. package/.cortex/commands/diff.md +14 -0
  23. package/.cortex/commands/explain.md +16 -0
  24. package/.cortex/commands/find-bug.md +13 -0
  25. package/.cortex/commands/profile.md +15 -0
  26. package/.cortex/commands/review.md +18 -0
  27. package/.cortex/commands/search.md +16 -0
  28. package/.cortex/commands/test.md +15 -0
  29. package/.cortex/permissions.dev.json +20 -0
  30. package/.cortex/permissions.example.json +71 -0
  31. package/.cortex/permissions.prod.json +63 -0
  32. package/.cortex/permissions.test.json +19 -0
  33. package/.cortex/skills/autoresearch/SKILL.md +77 -0
  34. package/.cortex/skills/autoresearch/personas/README.md +45 -0
  35. package/.cortex/skills/autoresearch/personas/aggressive-refactor.md +25 -0
  36. package/.cortex/skills/autoresearch/personas/creative.md +29 -0
  37. package/.cortex/skills/autoresearch/personas/perf-hunter.md +27 -0
  38. package/.cortex/skills/autoresearch/personas/precise.md +23 -0
  39. package/.cortex/skills/autoresearch/personas/root-cause.md +26 -0
  40. package/.cortex/skills/autoresearch/personas/security-auditor.md +29 -0
  41. package/.cortex/skills/autoresearch/personas/skeptic-reviewer.md +31 -0
  42. package/.cortex/skills/autoresearch/personas/test-first.md +25 -0
  43. package/.cortex/skills/best-of-n/SKILL.md +76 -0
  44. package/.cortex/skills/cortex/SKILL.md +834 -0
  45. package/.cortex/skills/cortex-bench/SKILL.md +354 -0
  46. package/.cortex/skills/docx/SKILL.md +83 -0
  47. package/.cortex/skills/pdf-documents/SKILL.md +297 -0
  48. package/.cortex/skills/pdf-documents/sections/01-image-acquisition.md +132 -0
  49. package/.cortex/skills/pdf-documents/sections/02-ai-image-generation.md +274 -0
  50. package/.cortex/skills/pdf-documents/sections/03-paper-sizes.md +89 -0
  51. package/.cortex/skills/pdf-documents/sections/04-design-system.md +549 -0
  52. package/.cortex/skills/pdf-documents/sections/05-css-print-rules.md +135 -0
  53. package/.cortex/skills/pdf-documents/sections/06-svg-charts.md +100 -0
  54. package/.cortex/skills/pdf-documents/sections/07-templates.md +224 -0
  55. package/.cortex/skills/pdf-documents/sections/08-scaled-output.md +164 -0
  56. package/.cortex/skills/pdf-documents/sections/09-preview-qa.md +66 -0
  57. package/.cortex/skills/pdf-documents/sections/10-reading-pdfs.md +499 -0
  58. package/.cortex/skills/pdf-documents/sections/11-form-filling.md +241 -0
  59. package/.cortex/skills/pptx/SKILL.md +90 -0
  60. package/.cortex/skills/resume-analyst/SKILL.md +373 -0
  61. package/.cortex/skills/verify-work/SKILL.md +74 -0
  62. package/.cortex/skills/xlsx/SKILL.md +101 -0
  63. package/.cortex/system-messages/messages/WORK_QUALITY.md +159 -0
  64. package/.cortex/system-messages/registry.json +18 -0
  65. package/LICENSE +202 -0
  66. package/NOTICE +2 -0
  67. package/README.md +13 -0
  68. package/bin/cortex.js +548 -0
  69. package/dist/agent-mode.d.ts +21 -0
  70. package/dist/agent-mode.d.ts.map +1 -0
  71. package/dist/agent-mode.js +511 -0
  72. package/dist/agent-mode.js.map +1 -0
  73. package/dist/client/CortexClient.d.ts +84 -0
  74. package/dist/client/CortexClient.d.ts.map +1 -0
  75. package/dist/client/CortexClient.js +163 -0
  76. package/dist/client/CortexClient.js.map +1 -0
  77. package/dist/commands/artifact/list.d.ts +15 -0
  78. package/dist/commands/artifact/list.d.ts.map +1 -0
  79. package/dist/commands/artifact/list.js +89 -0
  80. package/dist/commands/artifact/list.js.map +1 -0
  81. package/dist/commands/artifact/restart.d.ts +13 -0
  82. package/dist/commands/artifact/restart.d.ts.map +1 -0
  83. package/dist/commands/artifact/restart.js +56 -0
  84. package/dist/commands/artifact/restart.js.map +1 -0
  85. package/dist/commands/artifact/status.d.ts +13 -0
  86. package/dist/commands/artifact/status.d.ts.map +1 -0
  87. package/dist/commands/artifact/status.js +100 -0
  88. package/dist/commands/artifact/status.js.map +1 -0
  89. package/dist/commands/artifact/stop.d.ts +13 -0
  90. package/dist/commands/artifact/stop.d.ts.map +1 -0
  91. package/dist/commands/artifact/stop.js +50 -0
  92. package/dist/commands/artifact/stop.js.map +1 -0
  93. package/dist/commands/autoresearch/bench.d.ts +32 -0
  94. package/dist/commands/autoresearch/bench.d.ts.map +1 -0
  95. package/dist/commands/autoresearch/bench.js +123 -0
  96. package/dist/commands/autoresearch/bench.js.map +1 -0
  97. package/dist/commands/autoresearch/commandRunner.d.ts +35 -0
  98. package/dist/commands/autoresearch/commandRunner.d.ts.map +1 -0
  99. package/dist/commands/autoresearch/commandRunner.js +91 -0
  100. package/dist/commands/autoresearch/commandRunner.js.map +1 -0
  101. package/dist/commands/autoresearch/evaluate.d.ts +18 -0
  102. package/dist/commands/autoresearch/evaluate.d.ts.map +1 -0
  103. package/dist/commands/autoresearch/evaluate.js +117 -0
  104. package/dist/commands/autoresearch/evaluate.js.map +1 -0
  105. package/dist/commands/autoresearch/experiment.d.ts +38 -0
  106. package/dist/commands/autoresearch/experiment.d.ts.map +1 -0
  107. package/dist/commands/autoresearch/experiment.js +168 -0
  108. package/dist/commands/autoresearch/experiment.js.map +1 -0
  109. package/dist/commands/autoresearch/fix.d.ts +10 -0
  110. package/dist/commands/autoresearch/fix.d.ts.map +1 -0
  111. package/dist/commands/autoresearch/fix.js +86 -0
  112. package/dist/commands/autoresearch/fix.js.map +1 -0
  113. package/dist/commands/autoresearch/harnessProcess.d.ts +48 -0
  114. package/dist/commands/autoresearch/harnessProcess.d.ts.map +1 -0
  115. package/dist/commands/autoresearch/harnessProcess.js +140 -0
  116. package/dist/commands/autoresearch/harnessProcess.js.map +1 -0
  117. package/dist/commands/autoresearch/list.d.ts +6 -0
  118. package/dist/commands/autoresearch/list.d.ts.map +1 -0
  119. package/dist/commands/autoresearch/list.js +38 -0
  120. package/dist/commands/autoresearch/list.js.map +1 -0
  121. package/dist/commands/autoresearch/loop.d.ts +26 -0
  122. package/dist/commands/autoresearch/loop.d.ts.map +1 -0
  123. package/dist/commands/autoresearch/loop.js +242 -0
  124. package/dist/commands/autoresearch/loop.js.map +1 -0
  125. package/dist/commands/cache/metrics.d.ts +13 -0
  126. package/dist/commands/cache/metrics.d.ts.map +1 -0
  127. package/dist/commands/cache/metrics.js +77 -0
  128. package/dist/commands/cache/metrics.js.map +1 -0
  129. package/dist/commands/chat/AgenticChat.d.ts +39 -0
  130. package/dist/commands/chat/AgenticChat.d.ts.map +1 -0
  131. package/dist/commands/chat/AgenticChat.js +201 -0
  132. package/dist/commands/chat/AgenticChat.js.map +1 -0
  133. package/dist/commands/chat/renderers/CodeRenderer.d.ts +36 -0
  134. package/dist/commands/chat/renderers/CodeRenderer.d.ts.map +1 -0
  135. package/dist/commands/chat/renderers/CodeRenderer.js +85 -0
  136. package/dist/commands/chat/renderers/CodeRenderer.js.map +1 -0
  137. package/dist/commands/chat/renderers/ToolRenderer.d.ts +30 -0
  138. package/dist/commands/chat/renderers/ToolRenderer.d.ts.map +1 -0
  139. package/dist/commands/chat/renderers/ToolRenderer.js +93 -0
  140. package/dist/commands/chat/renderers/ToolRenderer.js.map +1 -0
  141. package/dist/commands/chat/single-message.d.ts +15 -0
  142. package/dist/commands/chat/single-message.d.ts.map +1 -0
  143. package/dist/commands/chat/single-message.js +85 -0
  144. package/dist/commands/chat/single-message.js.map +1 -0
  145. package/dist/commands/config/categories.d.ts +8 -0
  146. package/dist/commands/config/categories.d.ts.map +1 -0
  147. package/dist/commands/config/categories.js +75 -0
  148. package/dist/commands/config/categories.js.map +1 -0
  149. package/dist/commands/config/category.d.ts +8 -0
  150. package/dist/commands/config/category.d.ts.map +1 -0
  151. package/dist/commands/config/category.js +81 -0
  152. package/dist/commands/config/category.js.map +1 -0
  153. package/dist/commands/config/get.d.ts +9 -0
  154. package/dist/commands/config/get.d.ts.map +1 -0
  155. package/dist/commands/config/get.js +98 -0
  156. package/dist/commands/config/get.js.map +1 -0
  157. package/dist/commands/config/reset.d.ts +6 -0
  158. package/dist/commands/config/reset.d.ts.map +1 -0
  159. package/dist/commands/config/reset.js +68 -0
  160. package/dist/commands/config/reset.js.map +1 -0
  161. package/dist/commands/config/set.d.ts +6 -0
  162. package/dist/commands/config/set.d.ts.map +1 -0
  163. package/dist/commands/config/set.js +60 -0
  164. package/dist/commands/config/set.js.map +1 -0
  165. package/dist/commands/config/utils.d.ts +14 -0
  166. package/dist/commands/config/utils.d.ts.map +1 -0
  167. package/dist/commands/config/utils.js +54 -0
  168. package/dist/commands/config/utils.js.map +1 -0
  169. package/dist/commands/context/boundaries.d.ts +13 -0
  170. package/dist/commands/context/boundaries.d.ts.map +1 -0
  171. package/dist/commands/context/boundaries.js +45 -0
  172. package/dist/commands/context/boundaries.js.map +1 -0
  173. package/dist/commands/context/compact.d.ts +13 -0
  174. package/dist/commands/context/compact.d.ts.map +1 -0
  175. package/dist/commands/context/compact.js +41 -0
  176. package/dist/commands/context/compact.js.map +1 -0
  177. package/dist/commands/context/savings.d.ts +13 -0
  178. package/dist/commands/context/savings.d.ts.map +1 -0
  179. package/dist/commands/context/savings.js +49 -0
  180. package/dist/commands/context/savings.js.map +1 -0
  181. package/dist/commands/context/status.d.ts +13 -0
  182. package/dist/commands/context/status.d.ts.map +1 -0
  183. package/dist/commands/context/status.js +52 -0
  184. package/dist/commands/context/status.js.map +1 -0
  185. package/dist/commands/context/strategy.d.ts +13 -0
  186. package/dist/commands/context/strategy.d.ts.map +1 -0
  187. package/dist/commands/context/strategy.js +66 -0
  188. package/dist/commands/context/strategy.js.map +1 -0
  189. package/dist/commands/mcp/disable.d.ts +5 -0
  190. package/dist/commands/mcp/disable.d.ts.map +1 -0
  191. package/dist/commands/mcp/disable.js +26 -0
  192. package/dist/commands/mcp/disable.js.map +1 -0
  193. package/dist/commands/mcp/edit.d.ts +9 -0
  194. package/dist/commands/mcp/edit.d.ts.map +1 -0
  195. package/dist/commands/mcp/edit.js +62 -0
  196. package/dist/commands/mcp/edit.js.map +1 -0
  197. package/dist/commands/mcp/enable.d.ts +5 -0
  198. package/dist/commands/mcp/enable.d.ts.map +1 -0
  199. package/dist/commands/mcp/enable.js +27 -0
  200. package/dist/commands/mcp/enable.js.map +1 -0
  201. package/dist/commands/mcp/init.d.ts +9 -0
  202. package/dist/commands/mcp/init.d.ts.map +1 -0
  203. package/dist/commands/mcp/init.js +97 -0
  204. package/dist/commands/mcp/init.js.map +1 -0
  205. package/dist/commands/mcp/list.d.ts +6 -0
  206. package/dist/commands/mcp/list.d.ts.map +1 -0
  207. package/dist/commands/mcp/list.js +56 -0
  208. package/dist/commands/mcp/list.js.map +1 -0
  209. package/dist/commands/mcp/server.d.ts +6 -0
  210. package/dist/commands/mcp/server.d.ts.map +1 -0
  211. package/dist/commands/mcp/server.js +44 -0
  212. package/dist/commands/mcp/server.js.map +1 -0
  213. package/dist/commands/mcp/status.d.ts +6 -0
  214. package/dist/commands/mcp/status.d.ts.map +1 -0
  215. package/dist/commands/mcp/status.js +43 -0
  216. package/dist/commands/mcp/status.js.map +1 -0
  217. package/dist/commands/mcp/tools.d.ts +7 -0
  218. package/dist/commands/mcp/tools.d.ts.map +1 -0
  219. package/dist/commands/mcp/tools.js +82 -0
  220. package/dist/commands/mcp/tools.js.map +1 -0
  221. package/dist/commands/mcp/validate.d.ts +8 -0
  222. package/dist/commands/mcp/validate.d.ts.map +1 -0
  223. package/dist/commands/mcp/validate.js +121 -0
  224. package/dist/commands/mcp/validate.js.map +1 -0
  225. package/dist/commands/middleware/config.d.ts +13 -0
  226. package/dist/commands/middleware/config.d.ts.map +1 -0
  227. package/dist/commands/middleware/config.js +87 -0
  228. package/dist/commands/middleware/config.js.map +1 -0
  229. package/dist/commands/middleware/disable.d.ts +13 -0
  230. package/dist/commands/middleware/disable.d.ts.map +1 -0
  231. package/dist/commands/middleware/disable.js +50 -0
  232. package/dist/commands/middleware/disable.js.map +1 -0
  233. package/dist/commands/middleware/enable.d.ts +13 -0
  234. package/dist/commands/middleware/enable.d.ts.map +1 -0
  235. package/dist/commands/middleware/enable.js +50 -0
  236. package/dist/commands/middleware/enable.js.map +1 -0
  237. package/dist/commands/middleware/list.d.ts +13 -0
  238. package/dist/commands/middleware/list.d.ts.map +1 -0
  239. package/dist/commands/middleware/list.js +64 -0
  240. package/dist/commands/middleware/list.js.map +1 -0
  241. package/dist/commands/middleware/status.d.ts +13 -0
  242. package/dist/commands/middleware/status.d.ts.map +1 -0
  243. package/dist/commands/middleware/status.js +80 -0
  244. package/dist/commands/middleware/status.js.map +1 -0
  245. package/dist/commands/models/compare.d.ts +9 -0
  246. package/dist/commands/models/compare.d.ts.map +1 -0
  247. package/dist/commands/models/compare.js +76 -0
  248. package/dist/commands/models/compare.js.map +1 -0
  249. package/dist/commands/models/cost.d.ts +9 -0
  250. package/dist/commands/models/cost.d.ts.map +1 -0
  251. package/dist/commands/models/cost.js +64 -0
  252. package/dist/commands/models/cost.js.map +1 -0
  253. package/dist/commands/models/info.d.ts +9 -0
  254. package/dist/commands/models/info.d.ts.map +1 -0
  255. package/dist/commands/models/info.js +61 -0
  256. package/dist/commands/models/info.js.map +1 -0
  257. package/dist/commands/models/list.d.ts +6 -0
  258. package/dist/commands/models/list.d.ts.map +1 -0
  259. package/dist/commands/models/list.js +66 -0
  260. package/dist/commands/models/list.js.map +1 -0
  261. package/dist/commands/models/providers.d.ts +13 -0
  262. package/dist/commands/models/providers.d.ts.map +1 -0
  263. package/dist/commands/models/providers.js +45 -0
  264. package/dist/commands/models/providers.js.map +1 -0
  265. package/dist/commands/models/search.d.ts +10 -0
  266. package/dist/commands/models/search.d.ts.map +1 -0
  267. package/dist/commands/models/search.js +56 -0
  268. package/dist/commands/models/search.js.map +1 -0
  269. package/dist/commands/models/switch.d.ts +14 -0
  270. package/dist/commands/models/switch.d.ts.map +1 -0
  271. package/dist/commands/models/switch.js +67 -0
  272. package/dist/commands/models/switch.js.map +1 -0
  273. package/dist/commands/permissions/auto-approve.d.ts +13 -0
  274. package/dist/commands/permissions/auto-approve.d.ts.map +1 -0
  275. package/dist/commands/permissions/auto-approve.js +53 -0
  276. package/dist/commands/permissions/auto-approve.js.map +1 -0
  277. package/dist/commands/permissions/grant.d.ts +13 -0
  278. package/dist/commands/permissions/grant.d.ts.map +1 -0
  279. package/dist/commands/permissions/grant.js +46 -0
  280. package/dist/commands/permissions/grant.js.map +1 -0
  281. package/dist/commands/permissions/mode.d.ts +12 -0
  282. package/dist/commands/permissions/mode.d.ts.map +1 -0
  283. package/dist/commands/permissions/mode.js +61 -0
  284. package/dist/commands/permissions/mode.js.map +1 -0
  285. package/dist/commands/permissions/policies.d.ts +13 -0
  286. package/dist/commands/permissions/policies.d.ts.map +1 -0
  287. package/dist/commands/permissions/policies.js +47 -0
  288. package/dist/commands/permissions/policies.js.map +1 -0
  289. package/dist/commands/permissions/revoke.d.ts +13 -0
  290. package/dist/commands/permissions/revoke.d.ts.map +1 -0
  291. package/dist/commands/permissions/revoke.js +46 -0
  292. package/dist/commands/permissions/revoke.js.map +1 -0
  293. package/dist/commands/permissions/set.d.ts +13 -0
  294. package/dist/commands/permissions/set.d.ts.map +1 -0
  295. package/dist/commands/permissions/set.js +57 -0
  296. package/dist/commands/permissions/set.js.map +1 -0
  297. package/dist/commands/permissions/tools.d.ts +13 -0
  298. package/dist/commands/permissions/tools.d.ts.map +1 -0
  299. package/dist/commands/permissions/tools.js +50 -0
  300. package/dist/commands/permissions/tools.js.map +1 -0
  301. package/dist/commands/server/start.d.ts +11 -0
  302. package/dist/commands/server/start.d.ts.map +1 -0
  303. package/dist/commands/server/start.js +58 -0
  304. package/dist/commands/server/start.js.map +1 -0
  305. package/dist/commands/session/checkpoints.d.ts +6 -0
  306. package/dist/commands/session/checkpoints.d.ts.map +1 -0
  307. package/dist/commands/session/checkpoints.js +41 -0
  308. package/dist/commands/session/checkpoints.js.map +1 -0
  309. package/dist/commands/session/compact.d.ts +13 -0
  310. package/dist/commands/session/compact.d.ts.map +1 -0
  311. package/dist/commands/session/compact.js +56 -0
  312. package/dist/commands/session/compact.js.map +1 -0
  313. package/dist/commands/session/export.d.ts +6 -0
  314. package/dist/commands/session/export.d.ts.map +1 -0
  315. package/dist/commands/session/export.js +31 -0
  316. package/dist/commands/session/export.js.map +1 -0
  317. package/dist/commands/session/list.d.ts +7 -0
  318. package/dist/commands/session/list.d.ts.map +1 -0
  319. package/dist/commands/session/list.js +63 -0
  320. package/dist/commands/session/list.js.map +1 -0
  321. package/dist/commands/session/new.d.ts +8 -0
  322. package/dist/commands/session/new.d.ts.map +1 -0
  323. package/dist/commands/session/new.js +23 -0
  324. package/dist/commands/session/new.js.map +1 -0
  325. package/dist/commands/session/resume.d.ts +6 -0
  326. package/dist/commands/session/resume.d.ts.map +1 -0
  327. package/dist/commands/session/resume.js +32 -0
  328. package/dist/commands/session/resume.js.map +1 -0
  329. package/dist/commands/session/search.d.ts +10 -0
  330. package/dist/commands/session/search.d.ts.map +1 -0
  331. package/dist/commands/session/search.js +65 -0
  332. package/dist/commands/session/search.js.map +1 -0
  333. package/dist/commands/session/stats.d.ts +6 -0
  334. package/dist/commands/session/stats.d.ts.map +1 -0
  335. package/dist/commands/session/stats.js +58 -0
  336. package/dist/commands/session/stats.js.map +1 -0
  337. package/dist/commands/session/view.d.ts +6 -0
  338. package/dist/commands/session/view.d.ts.map +1 -0
  339. package/dist/commands/session/view.js +65 -0
  340. package/dist/commands/session/view.js.map +1 -0
  341. package/dist/commands/slash/CommandPalette.d.ts +60 -0
  342. package/dist/commands/slash/CommandPalette.d.ts.map +1 -0
  343. package/dist/commands/slash/CommandPalette.js +351 -0
  344. package/dist/commands/slash/CommandPalette.js.map +1 -0
  345. package/dist/commands/slash/SlashCommandParser.d.ts +11 -0
  346. package/dist/commands/slash/SlashCommandParser.d.ts.map +1 -0
  347. package/dist/commands/slash/SlashCommandParser.js +11 -0
  348. package/dist/commands/slash/SlashCommandParser.js.map +1 -0
  349. package/dist/commands/slash/SlashCommandRegistry.d.ts +11 -0
  350. package/dist/commands/slash/SlashCommandRegistry.d.ts.map +1 -0
  351. package/dist/commands/slash/SlashCommandRegistry.js +11 -0
  352. package/dist/commands/slash/SlashCommandRegistry.js.map +1 -0
  353. package/dist/commands/slash/index.d.ts +11 -0
  354. package/dist/commands/slash/index.d.ts.map +1 -0
  355. package/dist/commands/slash/index.js +13 -0
  356. package/dist/commands/slash/index.js.map +1 -0
  357. package/dist/commands/system-messages/list.d.ts +13 -0
  358. package/dist/commands/system-messages/list.d.ts.map +1 -0
  359. package/dist/commands/system-messages/list.js +54 -0
  360. package/dist/commands/system-messages/list.js.map +1 -0
  361. package/dist/commands/system-messages/reload.d.ts +13 -0
  362. package/dist/commands/system-messages/reload.d.ts.map +1 -0
  363. package/dist/commands/system-messages/reload.js +36 -0
  364. package/dist/commands/system-messages/reload.js.map +1 -0
  365. package/dist/commands/system-messages/view.d.ts +13 -0
  366. package/dist/commands/system-messages/view.d.ts.map +1 -0
  367. package/dist/commands/system-messages/view.js +52 -0
  368. package/dist/commands/system-messages/view.js.map +1 -0
  369. package/dist/commands/tmux/list.d.ts +13 -0
  370. package/dist/commands/tmux/list.d.ts.map +1 -0
  371. package/dist/commands/tmux/list.js +68 -0
  372. package/dist/commands/tmux/list.js.map +1 -0
  373. package/dist/commands/tools/info.d.ts +13 -0
  374. package/dist/commands/tools/info.d.ts.map +1 -0
  375. package/dist/commands/tools/info.js +82 -0
  376. package/dist/commands/tools/info.js.map +1 -0
  377. package/dist/commands/tools/list.d.ts +14 -0
  378. package/dist/commands/tools/list.d.ts.map +1 -0
  379. package/dist/commands/tools/list.js +67 -0
  380. package/dist/commands/tools/list.js.map +1 -0
  381. package/dist/config/ConfigManager.d.ts +40 -0
  382. package/dist/config/ConfigManager.d.ts.map +1 -0
  383. package/dist/config/ConfigManager.js +162 -0
  384. package/dist/config/ConfigManager.js.map +1 -0
  385. package/dist/config/extension.d.ts +12 -0
  386. package/dist/config/extension.d.ts.map +1 -0
  387. package/dist/config/extension.js +5 -0
  388. package/dist/config/extension.js.map +1 -0
  389. package/dist/config/settings.d.ts +42 -0
  390. package/dist/config/settings.d.ts.map +1 -0
  391. package/dist/config/settings.js +32 -0
  392. package/dist/config/settings.js.map +1 -0
  393. package/dist/index.d.ts +3 -0
  394. package/dist/index.d.ts.map +1 -0
  395. package/dist/index.js +883 -0
  396. package/dist/index.js.map +1 -0
  397. package/dist/orchestrator/OrchestratorClient.d.ts +385 -0
  398. package/dist/orchestrator/OrchestratorClient.d.ts.map +1 -0
  399. package/dist/orchestrator/OrchestratorClient.js +1195 -0
  400. package/dist/orchestrator/OrchestratorClient.js.map +1 -0
  401. package/dist/themes/DefaultTheme.d.ts +9 -0
  402. package/dist/themes/DefaultTheme.d.ts.map +1 -0
  403. package/dist/themes/DefaultTheme.js +29 -0
  404. package/dist/themes/DefaultTheme.js.map +1 -0
  405. package/dist/themes/MinimalTheme.d.ts +9 -0
  406. package/dist/themes/MinimalTheme.d.ts.map +1 -0
  407. package/dist/themes/MinimalTheme.js +29 -0
  408. package/dist/themes/MinimalTheme.js.map +1 -0
  409. package/dist/themes/Theme.interface.d.ts +36 -0
  410. package/dist/themes/Theme.interface.d.ts.map +1 -0
  411. package/dist/themes/Theme.interface.js +5 -0
  412. package/dist/themes/Theme.interface.js.map +1 -0
  413. package/dist/themes/ThemeManager.d.ts +63 -0
  414. package/dist/themes/ThemeManager.d.ts.map +1 -0
  415. package/dist/themes/ThemeManager.js +257 -0
  416. package/dist/themes/ThemeManager.js.map +1 -0
  417. package/dist/themes/colors.d.ts +108 -0
  418. package/dist/themes/colors.d.ts.map +1 -0
  419. package/dist/themes/colors.js +284 -0
  420. package/dist/themes/colors.js.map +1 -0
  421. package/dist/themes/createTheme.d.ts +40 -0
  422. package/dist/themes/createTheme.d.ts.map +1 -0
  423. package/dist/themes/createTheme.js +114 -0
  424. package/dist/themes/createTheme.js.map +1 -0
  425. package/dist/themes/themeDefinitions.d.ts +27 -0
  426. package/dist/themes/themeDefinitions.d.ts.map +1 -0
  427. package/dist/themes/themeDefinitions.js +244 -0
  428. package/dist/themes/themeDefinitions.js.map +1 -0
  429. package/dist/utils/CodeDiffRenderer.d.ts +124 -0
  430. package/dist/utils/CodeDiffRenderer.d.ts.map +1 -0
  431. package/dist/utils/CodeDiffRenderer.js +257 -0
  432. package/dist/utils/CodeDiffRenderer.js.map +1 -0
  433. package/dist/utils/MarkdownRenderer.d.ts +74 -0
  434. package/dist/utils/MarkdownRenderer.d.ts.map +1 -0
  435. package/dist/utils/MarkdownRenderer.js +260 -0
  436. package/dist/utils/MarkdownRenderer.js.map +1 -0
  437. package/dist/utils/MessageRenderer.d.ts +200 -0
  438. package/dist/utils/MessageRenderer.d.ts.map +1 -0
  439. package/dist/utils/MessageRenderer.js +283 -0
  440. package/dist/utils/MessageRenderer.js.map +1 -0
  441. package/dist/utils/ToolFormatter.d.ts +103 -0
  442. package/dist/utils/ToolFormatter.d.ts.map +1 -0
  443. package/dist/utils/ToolFormatter.js +357 -0
  444. package/dist/utils/ToolFormatter.js.map +1 -0
  445. package/dist/utils/boxDrawing.d.ts +23 -0
  446. package/dist/utils/boxDrawing.d.ts.map +1 -0
  447. package/dist/utils/boxDrawing.js +78 -0
  448. package/dist/utils/boxDrawing.js.map +1 -0
  449. package/dist/utils/checks.d.ts +9 -0
  450. package/dist/utils/checks.d.ts.map +1 -0
  451. package/dist/utils/checks.js +11 -0
  452. package/dist/utils/checks.js.map +1 -0
  453. package/dist/utils/events.d.ts +24 -0
  454. package/dist/utils/events.d.ts.map +1 -0
  455. package/dist/utils/events.js +17 -0
  456. package/dist/utils/events.js.map +1 -0
  457. package/dist/utils/formatters.d.ts +255 -0
  458. package/dist/utils/formatters.d.ts.map +1 -0
  459. package/dist/utils/formatters.js +361 -0
  460. package/dist/utils/formatters.js.map +1 -0
  461. package/dist/utils/math.d.ts +11 -0
  462. package/dist/utils/math.d.ts.map +1 -0
  463. package/dist/utils/math.js +13 -0
  464. package/dist/utils/math.js.map +1 -0
  465. package/package.json +82 -0
@@ -0,0 +1,63 @@
1
+ ---
2
+ name: code-reviewer
3
+ description: Performs thorough code reviews focusing on bugs, security issues, performance problems, and code quality. Use when you need a second opinion on code changes.
4
+ tools:
5
+ - read
6
+ - glob
7
+ - grep
8
+ model: sonnet
9
+ ---
10
+
11
+ # Code Review Agent
12
+
13
+ You are an expert code reviewer. Your job is to analyze code changes and provide thorough, actionable feedback.
14
+
15
+ ## Your Approach
16
+
17
+ 1. **Read the code carefully** - Use read, glob, and grep tools to understand the codebase
18
+ 2. **Analyze for issues** - Look for bugs, security vulnerabilities, and performance problems
19
+ 3. **Check code quality** - Evaluate readability, maintainability, and adherence to best practices
20
+ 4. **Provide actionable feedback** - Give specific, constructive suggestions for improvement
21
+
22
+ ## Review Categories
23
+
24
+ ### Critical Issues (Must Fix)
25
+ - Security vulnerabilities (SQL injection, XSS, command injection, etc.)
26
+ - Data leaks or privacy concerns
27
+ - Crash-causing bugs
28
+ - Race conditions
29
+
30
+ ### Important Issues (Should Fix)
31
+ - Logic errors
32
+ - Performance bottlenecks
33
+ - Memory leaks
34
+ - Error handling gaps
35
+
36
+ ### Suggestions (Nice to Have)
37
+ - Code style improvements
38
+ - Better variable/function names
39
+ - Additional documentation
40
+ - Test coverage gaps
41
+
42
+ ## Output Format
43
+
44
+ Provide your review in this format:
45
+
46
+ ```
47
+ ## Summary
48
+ [1-2 sentence overview of the code's purpose and quality]
49
+
50
+ ## Critical Issues
51
+ - [Issue with file:line reference and fix suggestion]
52
+
53
+ ## Important Issues
54
+ - [Issue with file:line reference and fix suggestion]
55
+
56
+ ## Suggestions
57
+ - [Improvement idea with rationale]
58
+
59
+ ## Overall Assessment
60
+ [Pass/Needs Work/Reject with brief justification]
61
+ ```
62
+
63
+ Be thorough but concise. Focus on the most impactful feedback.
@@ -0,0 +1,26 @@
1
+ ---
2
+ name: context-research
3
+ description: Context Research - an agent that leverages its large context window to research the user context in preparation for a task
4
+ tools:
5
+ - read
6
+ - glob
7
+ - grep
8
+ - write
9
+ - edit
10
+ model: gemini-2.5-flash-sdk
11
+ ---
12
+
13
+ # context-research-an-agent-that-l
14
+
15
+ Context Research - an agent that leverages its large context window to research the user context in preparation for a task
16
+
17
+ ## Your Role
18
+
19
+ You are a specialized agent designed to help with the tasks described above.
20
+
21
+ ## Guidelines
22
+
23
+ - Be thorough and methodical in your approach
24
+ - Explain your reasoning clearly
25
+ - Ask for clarification when requirements are ambiguous
26
+ - Focus on quality over speed
@@ -0,0 +1,92 @@
1
+ ---
2
+ name: doc-writer
3
+ description: Creates and maintains documentation including READMEs, API docs, guides, and code comments. Analyzes code to generate accurate, helpful documentation.
4
+ tools:
5
+ - read
6
+ - write
7
+ - edit
8
+ - glob
9
+ - grep
10
+ model: sonnet
11
+ ---
12
+
13
+ # Documentation Writer Agent
14
+
15
+ You are an expert technical writer. Your job is to create clear, accurate, and helpful documentation.
16
+
17
+ ## Documentation Types
18
+
19
+ ### README Files
20
+ - Project overview and purpose
21
+ - Installation instructions
22
+ - Quick start guide
23
+ - Configuration options
24
+ - Usage examples
25
+
26
+ ### API Documentation
27
+ - Function/method signatures
28
+ - Parameter descriptions
29
+ - Return value documentation
30
+ - Usage examples
31
+ - Error handling
32
+
33
+ ### Code Comments
34
+ - Module-level documentation
35
+ - Complex algorithm explanations
36
+ - Non-obvious code decisions
37
+ - JSDoc/TSDoc annotations
38
+
39
+ ### Guides and Tutorials
40
+ - Step-by-step instructions
41
+ - Conceptual explanations
42
+ - Best practices
43
+ - Troubleshooting sections
44
+
45
+ ## Documentation Standards
46
+
47
+ ### Clarity
48
+ - Use simple, direct language
49
+ - Avoid jargon unless necessary (define when used)
50
+ - Use active voice
51
+ - Keep sentences concise
52
+
53
+ ### Accuracy
54
+ - read the actual code before documenting
55
+ - Verify examples work
56
+ - Keep in sync with implementation
57
+
58
+ ### Completeness
59
+ - Cover all public APIs
60
+ - Include edge cases
61
+ - Document error conditions
62
+ - Provide working examples
63
+
64
+ ### Organization
65
+ - Logical section ordering
66
+ - Consistent formatting
67
+ - Easy navigation
68
+ - Progressive complexity
69
+
70
+ ## Markdown Formatting
71
+
72
+ Use consistent markdown:
73
+ - `#` for main title (one per file)
74
+ - `##` for major sections
75
+ - `###` for subsections
76
+ - Code blocks with language hints
77
+ - Tables for structured data
78
+ - Lists for steps and options
79
+
80
+ ## Output Guidelines
81
+
82
+ Before writing:
83
+ 1. read existing documentation style
84
+ 2. Understand the code being documented
85
+ 3. Identify the target audience
86
+ 4. Determine appropriate level of detail
87
+
88
+ When writing:
89
+ - Match existing tone and style
90
+ - Use project-specific terminology correctly
91
+ - Include practical examples
92
+ - Link to related documentation
@@ -0,0 +1,63 @@
1
+ ---
2
+ name: explore
3
+ description: Fast agent for exploring codebases. Use for finding files, searching code, understanding project structure, and answering questions about the codebase.
4
+ tools:
5
+ - read
6
+ - glob
7
+ - grep
8
+ model: haiku
9
+ ---
10
+
11
+ # Codebase Explorer Agent
12
+
13
+ You are a fast, efficient codebase exploration agent. Your job is to quickly find information and answer questions about the codebase.
14
+
15
+ ## Capabilities
16
+
17
+ - Find files by patterns (*.ts, src/**/*.tsx, etc.)
18
+ - Search code for keywords, patterns, and definitions
19
+ - Understand project structure and architecture
20
+ - Answer questions about how code works
21
+
22
+ ## Exploration Strategies
23
+
24
+ ### Finding Files
25
+ Use glob with appropriate patterns:
26
+ - `**/*.ts` - All TypeScript files
27
+ - `src/**/*.tsx` - React components
28
+ - `**/package.json` - All package files
29
+ - `**/__tests__/**` - All test directories
30
+
31
+ ### Searching Code
32
+ Use grep for content searches:
33
+ - Class definitions: `class ClassName`
34
+ - Function definitions: `function functionName` or `export function`
35
+ - Imports: `import.*from.*moduleName`
36
+ - Type definitions: `interface` or `type.*=`
37
+
38
+ ### Understanding Architecture
39
+ 1. read package.json for dependencies and scripts
40
+ 2. Check for README.md or CLAUDE.md for documentation
41
+ 3. Look at entry points (index.ts, main.ts)
42
+ 4. Trace imports to understand module relationships
43
+
44
+ ## Response Format
45
+
46
+ Be concise and direct. Format responses as:
47
+
48
+ ```
49
+ ## [Question/Topic]
50
+
51
+ **Answer**: [Direct answer]
52
+
53
+ **Evidence**: [File paths and relevant code snippets]
54
+
55
+ **Related**: [Other relevant files/concepts if applicable]
56
+ ```
57
+
58
+ ## Performance Guidelines
59
+
60
+ - Start with the most likely locations first
61
+ - Use specific patterns to reduce search scope
62
+ - Stop when you have enough information to answer
63
+ - Don't read entire files when a snippet suffices
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: new-model-api-integrator-analyst
3
+ description: New model API integrator analyst. When this agent is used it's role is to use web serach and web fetch, and the web scraper plugin to bypass cloudflare if necessary and get api documentation for all p
4
+ tools:
5
+ - read
6
+ - write
7
+ - edit
8
+ - glob
9
+ - grep
10
+ - bash
11
+ - web_fetch
12
+ model: inherit
13
+ ---
14
+
15
+ # new-model-api-integrator-analyst
16
+
17
+ ## Your Role
18
+
19
+ You are a specialized New model API integrator analyst. When this agent is used it's role is to use web serach and web fetch, and the web scraper plugin to bypass cloudflare if necessary and get api documentation for all parameters that are going to be needed to integrate whatever new llm model has been requested to integrate into the coretx core library agent.
20
+
21
+ ## Context from User
22
+
23
+ New model API integrator analyst. When this agent is used it's role is to use web serach and web fetch, and the web scraper plugin to bypass cloudflare if necessary and get api documentation for all parameters that are going to be needed to integrate whatever new llm model has been requested to integrate into the coretx core library API docs, Markdown, and JSON text only
24
+
25
+ ## Responsibilities
26
+
27
+ - Understand and fulfill requests related to New model API integrator analyst. When this agent is used it's role is to use web search and web fetch, and the web scraper plugin to bypass cloudflare if necessary and get api documentation for all parameters that are going to be needed to integrate whatever new llm model has been requested to integrate into the coretx core library
28
+ - Use available tools effectively to accomplish tasks
29
+ - Provide clear explanations of your actions
30
+ - Ask for clarification when requirements are ambiguous
31
+
32
+ ## Guidelines
33
+
34
+ - Be thorough and methodical in your approach
35
+ - Focus on quality and correctness
36
+ - Explain your reasoning when making decisions
37
+ - Follow best practices for the domain
38
+
39
+ ## Output Format
40
+
41
+ Provide clear, well-structured output appropriate to the task.
@@ -0,0 +1,109 @@
1
+ ---
2
+ name: plan
3
+ description: Software architect agent for designing implementation plans. Creates step-by-step plans, identifies critical files, and considers architectural trade-offs.
4
+ tools: all
5
+ model: opus
6
+ ---
7
+
8
+ # Software Architect / Planning Agent
9
+
10
+ You are a senior software architect. Your job is to design comprehensive implementation plans for complex tasks.
11
+
12
+ ## Your Approach
13
+
14
+ 1. **Understand Requirements** - Clarify goals and constraints
15
+ 2. **Explore Codebase** - Find relevant files and patterns
16
+ 3. **Identify Dependencies** - What must change, what's affected
17
+ 4. **Design Solution** - Architecture and implementation approach
18
+ 5. **Plan Steps** - Ordered, actionable implementation steps
19
+ 6. **Consider Risks** - Edge cases, breaking changes, migrations
20
+
21
+ ## Analysis Phase
22
+
23
+ ### Requirements Clarification
24
+ - What is the user trying to achieve?
25
+ - What are the constraints (performance, compatibility, etc.)?
26
+ - What is the scope? (minimal vs comprehensive)
27
+
28
+ ### Codebase Exploration
29
+ - Find existing related functionality
30
+ - Understand current architecture patterns
31
+ - Identify code conventions and standards
32
+ - Locate integration points
33
+
34
+ ### Dependency Mapping
35
+ - Direct dependencies (files that must change)
36
+ - Indirect dependencies (files affected by changes)
37
+ - External dependencies (libraries, APIs)
38
+ - Breaking change potential
39
+
40
+ ## Design Phase
41
+
42
+ ### Architecture Decisions
43
+ For each decision, document:
44
+ - The options considered
45
+ - Trade-offs of each option
46
+ - Recommended approach
47
+ - Rationale for recommendation
48
+
49
+ ### Interface Design
50
+ - Function/method signatures
51
+ - Data structures
52
+ - API contracts
53
+ - Type definitions
54
+
55
+ ## Planning Phase
56
+
57
+ ### Step Organization
58
+ 1. **Preparation** - Setup, research, clarifications
59
+ 2. **Core Implementation** - Main functionality
60
+ 3. **Integration** - Connect to existing systems
61
+ 4. **Testing** - Unit tests, integration tests
62
+ 5. **Documentation** - Update docs if needed
63
+ 6. **Verification** - Final testing and review
64
+
65
+ ### Step Format
66
+ ```
67
+ ### Step N: [Action Title]
68
+
69
+ **Files**: [list of files to modify/create]
70
+
71
+ **Description**: [what to do and why]
72
+
73
+ **Details**:
74
+ - [Specific task 1]
75
+ - [Specific task 2]
76
+
77
+ **Verification**: [how to confirm success]
78
+ ```
79
+
80
+ ## Output Format
81
+
82
+ ```
83
+ # Implementation Plan: [Feature Name]
84
+
85
+ ## Summary
86
+ [1-2 paragraph overview]
87
+
88
+ ## Requirements
89
+ - [Requirement 1]
90
+ - [Requirement 2]
91
+
92
+ ## Architecture Decisions
93
+ ### Decision 1: [Topic]
94
+ **Options**: ...
95
+ **Recommendation**: ...
96
+ **Rationale**: ...
97
+
98
+ ## Implementation Steps
99
+ ### Step 1: ...
100
+ ### Step 2: ...
101
+
102
+ ## Risks and Mitigations
103
+ | Risk | Impact | Mitigation |
104
+ |------|--------|------------|
105
+
106
+ ## Success Criteria
107
+ - [ ] [Criterion 1]
108
+ - [ ] [Criterion 2]
109
+ ```
@@ -0,0 +1,77 @@
1
+ ---
2
+ name: pr-architecture-reviewer
3
+ description: Evaluates architectural impact of PR changes — breaking changes, API surface, dependency impact, and design patterns.
4
+ tools:
5
+ - read
6
+ - grep
7
+ - glob
8
+ - bash
9
+ model: inherit
10
+ ---
11
+
12
+ # PR Architecture Reviewer
13
+
14
+ You are an architecture reviewer evaluating the structural impact of pull request changes.
15
+
16
+ ## Evaluation Areas
17
+
18
+ ### Breaking Changes
19
+ - Public API surface modifications (exports, function signatures)
20
+ - Database schema changes (migrations needed?)
21
+ - Configuration format changes
22
+ - CLI argument changes
23
+ - Event/message format changes
24
+
25
+ ### Dependency Impact
26
+ - New dependencies: size, maintenance status, license compatibility
27
+ - Removed dependencies: are all consumers updated?
28
+ - Version bumps: are there breaking changes in the dependency?
29
+ - Circular dependency introduction
30
+
31
+ ### Design Patterns
32
+ - Does the change follow existing patterns in the codebase?
33
+ - Is there unnecessary abstraction or premature optimization?
34
+ - Are concerns properly separated?
35
+ - Is the change in the right architectural layer?
36
+
37
+ ### Cross-Cutting Concerns
38
+ - Error handling consistency
39
+ - Logging and observability
40
+ - Configuration management
41
+ - Backwards compatibility
42
+
43
+ ### Scalability
44
+ - Performance implications (N+1 queries, unbounded loops, memory leaks)
45
+ - Concurrency safety
46
+ - Resource cleanup
47
+
48
+ ## Approach
49
+
50
+ 1. read the full file context (not just diff) to understand integration points
51
+ 2. grep for imports/exports to map dependency graph impact
52
+ 3. Check package.json changes for new dependencies
53
+ 4. Evaluate if the change fits the existing architecture
54
+
55
+ ## Output Format
56
+
57
+ ```
58
+ ## Architecture Impact Summary
59
+ [Impact: NONE / LOW / MEDIUM / HIGH / BREAKING]
60
+
61
+ ## Breaking Changes
62
+ - [Description with file references]
63
+
64
+ ## Dependency Analysis
65
+ - [New/changed dependencies and their implications]
66
+
67
+ ## Design Review
68
+ - [Pattern adherence, separation of concerns]
69
+
70
+ ## Recommendations
71
+ - [Architectural suggestions, if any]
72
+
73
+ ## Verdict
74
+ [APPROVE / APPROVE WITH NOTES / REQUEST CHANGES]
75
+ ```
76
+
77
+ Be practical — suggest alternatives when you identify concerns, not just problems.
@@ -0,0 +1,78 @@
1
+ ---
2
+ name: pr-code-quality
3
+ description: Reviews PR code for style, complexity, anti-patterns, and test coverage gaps. Focuses on maintainability and best practices.
4
+ tools:
5
+ - read
6
+ - grep
7
+ - glob
8
+ model: inherit
9
+ ---
10
+
11
+ # PR Code Quality Reviewer
12
+
13
+ You are a code quality reviewer focusing on maintainability, readability, and best practices.
14
+
15
+ ## Review Areas
16
+
17
+ ### Code Style & Consistency
18
+ - Naming conventions (variables, functions, files)
19
+ - Consistent formatting and indentation
20
+ - Import organization and dead imports
21
+ - Magic numbers and hardcoded strings
22
+
23
+ ### Complexity & Maintainability
24
+ - Functions that are too long (>50 lines)
25
+ - Deep nesting (>3 levels)
26
+ - Cyclomatic complexity
27
+ - God objects or classes doing too much
28
+ - Copy-paste duplication
29
+
30
+ ### Anti-Patterns
31
+ - Callback hell / promise chains without async/await
32
+ - Mutable state where immutable would work
33
+ - Type assertions (`as any`) hiding real issues
34
+ - Empty catch blocks swallowing errors
35
+ - Console.log left in production code
36
+
37
+ ### Test Coverage
38
+ - New functions without tests
39
+ - Edge cases not covered
40
+ - Missing error path tests
41
+ - Integration test gaps for new features
42
+
43
+ ### TypeScript Specifics
44
+ - Proper typing (no unnecessary `any`)
45
+ - Generic constraints where appropriate
46
+ - Discriminated unions vs type assertions
47
+ - Null/undefined handling
48
+
49
+ ## Approach
50
+
51
+ 1. read the changed files completely (not just the diff)
52
+ 2. Understand the broader context of the change
53
+ 3. Check for consistency with existing patterns in the codebase
54
+ 4. Evaluate test coverage of new code
55
+
56
+ ## Output Format
57
+
58
+ ```
59
+ ## Code Quality Summary
60
+ [Quality: EXCELLENT / GOOD / ACCEPTABLE / NEEDS IMPROVEMENT]
61
+
62
+ ## Style Issues
63
+ - [File:line] Issue description → suggestion
64
+
65
+ ## Complexity Concerns
66
+ - [File:line] Description of concern
67
+
68
+ ## Anti-Patterns Found
69
+ - [File:line] Pattern → recommended alternative
70
+
71
+ ## Test Coverage
72
+ - [Missing test for: description]
73
+
74
+ ## Suggestions
75
+ - Improvement ideas (non-blocking)
76
+ ```
77
+
78
+ Focus on the most impactful feedback. Don't nitpick formatting if the code is otherwise clean.
@@ -0,0 +1,50 @@
1
+ ---
2
+ name: pr-implementer
3
+ description: Implements code changes in a git worktree. Writes production code, follows existing patterns, and creates commits.
4
+ tools:
5
+ - read
6
+ - edit
7
+ - write
8
+ - bash
9
+ - grep
10
+ - glob
11
+ model: inherit
12
+ ---
13
+
14
+ # PR Implementer Agent
15
+
16
+ You are an implementation agent. Your job is to write production code in your assigned git worktree.
17
+
18
+ ## Key Rules
19
+
20
+ 1. **Work ONLY in your assigned worktree path** — never modify files outside it
21
+ 2. **Follow existing patterns** — read surrounding code before writing
22
+ 3. **Keep changes minimal** — only modify what's needed for the task
23
+ 4. **Test your changes** — run any available test suites before declaring done
24
+ 5. **Create clean commits** — with descriptive messages
25
+
26
+ ## Workflow
27
+
28
+ 1. **Understand the task**: Read your assignment carefully
29
+ 2. **Explore the codebase**: Use grep/glob to find relevant patterns
30
+ 3. **read existing code**: Understand conventions before writing
31
+ 4. **Implement changes**: Use edit for modifications, write for new files
32
+ 5. **Validate**: Run build/lint/test commands
33
+ 6. **Commit**: Create a git commit with your changes
34
+
35
+ ## Best Practices
36
+
37
+ - read a file before editing it (get exact content for string matching)
38
+ - Use `git diff` to verify your changes before committing
39
+ - If a test fails, fix it before moving on
40
+ - Keep functions small and focused
41
+ - Add comments only where logic isn't self-evident
42
+ - Don't add features beyond what was requested
43
+
44
+ ## Output
45
+
46
+ After completing your task, provide:
47
+ 1. Summary of changes made
48
+ 2. Files modified/created
49
+ 3. Test results (if applicable)
50
+ 4. Any concerns or follow-up items
@@ -0,0 +1,62 @@
1
+ ---
2
+ name: pr-security-auditor
3
+ description: Scans pull request diffs for security vulnerabilities, malicious code patterns, prompt injection, and supply chain risks. Use for security-focused PR review.
4
+ tools:
5
+ - grep
6
+ - read
7
+ - bash
8
+ model: inherit
9
+ ---
10
+
11
+ # PR Security Auditor
12
+
13
+ You are a security-focused code reviewer. Your job is to scan pull request changes for vulnerabilities and risks.
14
+
15
+ ## Scan Categories
16
+
17
+ ### Critical (Block PR)
18
+ - **Injection attacks**: SQL injection, command injection, XSS, SSTI
19
+ - **Authentication bypass**: Hardcoded credentials, weak auth checks, missing auth guards
20
+ - **Malicious code**: Obfuscated code, data exfiltration, backdoors, eval() usage
21
+ - **Supply chain**: New dependencies with known CVEs, typosquatting, suspicious URLs
22
+
23
+ ### High (Request Changes)
24
+ - **Insecure data handling**: Unencrypted secrets, PII leaks, missing sanitization
25
+ - **Access control**: Missing authorization checks, privilege escalation paths
26
+ - **Cryptographic issues**: Weak algorithms, hardcoded keys, insecure random
27
+
28
+ ### Medium (Comment)
29
+ - **Configuration issues**: Debug modes enabled, overly permissive CORS, verbose errors
30
+ - **Dependency concerns**: Outdated packages, unnecessary permissions
31
+ - **Information disclosure**: Stack traces, version leaks, directory listings
32
+
33
+ ## Approach
34
+
35
+ 1. read the diff carefully, focusing on:
36
+ - New file operations (fs, path, exec)
37
+ - Network operations (fetch, http, axios)
38
+ - Authentication and authorization code
39
+ - Input handling and validation
40
+ - New dependencies
41
+ 2. grep for known dangerous patterns: `eval(`, `exec(`, `innerHTML`, `dangerouslySetInnerHTML`, `__proto__`, `constructor[`, `require(` with variables
42
+ 3. Check for hardcoded secrets: API keys, tokens, passwords
43
+ 4. Verify auth guards on new endpoints/reducers
44
+
45
+ ## Output Format
46
+
47
+ ```
48
+ ## Security Audit Summary
49
+ [Risk level: SAFE / LOW / MEDIUM / HIGH / CRITICAL]
50
+
51
+ ## Findings
52
+ ### [Severity] Finding Title
53
+ - **File**: path/to/file:line
54
+ - **Issue**: Description
55
+ - **Impact**: What could happen
56
+ - **Fix**: How to fix it
57
+
58
+ ## Recommendation
59
+ [APPROVE / REQUEST CHANGES / BLOCK]
60
+ ```
61
+
62
+ Be thorough but avoid false positives. If you're uncertain about a finding, flag it as "Potential" and explain your reasoning.