@wular/coder 0.4.11 → 0.4.12

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 (329) hide show
  1. package/README.md +3 -1
  2. package/dist/actions-BT7_eKXm.js +10 -0
  3. package/dist/{adapter-Bi768A94.js → adapter-BT8ECcRG.js} +1 -1
  4. package/dist/{adapter-CkL4PqXE.js → adapter-CU9H4g6c.js} +1 -1
  5. package/dist/{adapter-DYxjaefw.js → adapter-CVd5klMH.js} +1 -1
  6. package/dist/{agent-6GooVMsq.js → agent-BA6xr8QY.js} +2 -2
  7. package/dist/apps-D-v5sQJk.js +367 -0
  8. package/dist/args-CbO_Ck9Z.js +11 -0
  9. package/dist/async-XNO3nqum.js +3 -0
  10. package/dist/auth-DuXnSNf9.js +1 -0
  11. package/dist/base64url-CsVsW4Id.js +1 -0
  12. package/dist/chat-CgQdDRhs.js +13 -0
  13. package/dist/cli.js +19 -1
  14. package/dist/{client-sqXb-y09.js → client-C4QCT6cG.js} +2 -2
  15. package/dist/cmd-DX5ByXo3.js +119 -0
  16. package/dist/connection-DNxi2btM.js +1 -0
  17. package/dist/context-65bOofts.js +7 -0
  18. package/dist/dash/standalone/node_modules/contextjsx/dist/index.mjs +1 -0
  19. package/dist/dash/standalone/node_modules/contextjsx/dist/jsx-runtime.mjs +1 -0
  20. package/dist/dash/standalone/node_modules/contextjsx/dist/src-BJ0QFeB8.mjs +2 -0
  21. package/dist/dash/standalone/node_modules/contextjsx/package.json +70 -0
  22. package/dist/dash/standalone/server/build-index.json +1 -1
  23. package/dist/dash/standalone/server/manifest.json +1310 -1310
  24. package/dist/dash/standalone/server/modules-server-server-react-server/src/agent/context/turn.dac8eb211c500271.js +141 -0
  25. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/create/[id]/page.70913bd4075da914.js +1 -1
  26. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{page.5f88059c03cf82b4.js → page.c6efd5432c1a4a75.js} +3 -3
  27. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{layout.b7392d534ce0410e.js → layout.a795379254982121.js} +3 -3
  28. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{page.5aae24bbfd90c434.js → page.a2cb6d1f1714259a.js} +4 -4
  29. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{page.91c992fdd3b4a493.js → page.996172c951739b35.js} +5 -5
  30. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{agent-settings-form.eb707a9e32718374.js → agent-settings-form.aa9e157d141481d7.js} +1 -1
  31. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{page.9ec1ec08ba05da59.js → page.44d886e60ae04303.js} +3 -3
  32. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/tasks/{loading.dd9088a4581b1d65.js → loading.521c9e7b8d77f557.js} +1 -1
  33. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/tasks/{page.71dc042821133e82.js → page.828cfb8112404792.js} +1 -1
  34. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/edit/{page.e3179ddf20a7e55d.js → page.dd11f2618e08becd.js} +2 -2
  35. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{editor.62cb8207218e6437.js → editor.776856fe1ed1a642.js} +1 -1
  36. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/new/{page.dffb05f2d256d81a.js → page.7d84ef2b178b34d2.js} +2 -2
  37. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/credentials.b43dd3d97c536c2a.js +3 -3
  38. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/page.dfed4ae6ffc74434.js +5 -5
  39. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/page.f06fda0df59beeb5.js +1 -1
  40. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{loading.56520888d5270b88.js → loading.47cbb34ea8d2e33f.js} +1 -1
  41. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{page.25b29e72df84806b.js → page.abed2a8424ef3da0.js} +2 -2
  42. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-view.f2e902c8208b2e78.js → task-view.dc294bb94b7437e1.js} +1 -1
  43. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{composer.b0bb1faaac8e0b6c.js → composer.5072aacdce127689.js} +1 -1
  44. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{task.a0c68180db5fb4c1.js → task.0a1b5878dccd3b37.js} +1 -1
  45. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-list.b52a49fb5faeefd0.js → tasks-list.1162926f7498c732.js} +6 -6
  46. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-section.80f9c9a42ecae854.js → tasks-section.1d687c986db53a73.js} +3 -3
  47. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{page.20b5c22658eae312.js → page.d5d8cb5033823c9c.js} +1 -1
  48. package/dist/dash/standalone/static/assets/chunks/action-71685b2d5ad9f359.js +1 -0
  49. package/dist/dash/standalone/static/assets/chunks/{agent-pills-bd32cb89331aff7e.js → agent-pills-15da36c2cb81991b.js} +1 -1
  50. package/dist/dash/standalone/static/assets/chunks/agent-settings-form-6e6a87d6e673daa8.js +1 -0
  51. package/dist/dash/standalone/static/assets/chunks/{agent-toggle-a45b95908d62f926.js → agent-toggle-ca98586e3b4ce9ae.js} +1 -1
  52. package/dist/dash/standalone/static/assets/chunks/{agents-grid-9f79b5074899c8be.js → agents-grid-29c399e46b4e9e2b.js} +1 -1
  53. package/dist/dash/standalone/static/assets/chunks/{back-b0cd2b85c9d8403e.js → back-fa9d6e37f9828093.js} +1 -1
  54. package/dist/dash/standalone/static/assets/chunks/{combo-1050768988cd0347.js → combo-86f3e11d1f6f6cee.js} +1 -1
  55. package/dist/dash/standalone/static/assets/chunks/{composer-87f138e21d68370d.js → composer-85e0ec7163ae18b7.js} +1 -1
  56. package/dist/dash/standalone/static/assets/chunks/composer-910bb87127972f62.js +1 -0
  57. package/dist/dash/standalone/static/assets/chunks/{confirm-01d5814b1c5f7721.js → confirm-c29a1db0130638d2.js} +1 -1
  58. package/dist/dash/standalone/static/assets/chunks/connect-apps-b73490e04ae6398d.js +1 -0
  59. package/dist/dash/standalone/static/assets/chunks/{connect-repositories-49098298b3a82647.js → connect-repositories-0de82daaf654b1d3.js} +1 -1
  60. package/dist/dash/standalone/static/assets/chunks/{connections-list-46d48443d8fc8a0d.js → connections-list-c50f58b4b28d10bb.js} +1 -1
  61. package/dist/dash/standalone/static/assets/chunks/{copy-5db9d328f8f65d82.js → copy-445c11202f136275.js} +1 -1
  62. package/dist/dash/standalone/static/assets/chunks/create-link-6d64a2d5f9ce6de0.js +1 -0
  63. package/dist/dash/standalone/static/assets/chunks/{credentials-list-3cccc85ef335cb22.js → credentials-list-bee95799b2319b3b.js} +1 -1
  64. package/dist/dash/standalone/static/assets/chunks/{custom-range-fdf1946aac09cfc3.js → custom-range-a0630599f907b30e.js} +1 -1
  65. package/dist/dash/standalone/static/assets/chunks/{editor-d2460c315bb1fd32.js → editor-b9951819f21b2e43.js} +2 -2
  66. package/dist/dash/standalone/static/assets/chunks/{engines-list-0159c8baa0b3e711.js → engines-list-2720c3e8fa12b2f7.js} +1 -1
  67. package/dist/dash/standalone/static/assets/chunks/{field-c530e261587d94df.js → field-b82a0f895266791c.js} +1 -1
  68. package/dist/dash/standalone/static/assets/chunks/{instructions-3ea5afeea1992bf2.js → instructions-affaaeff366b1725.js} +1 -1
  69. package/dist/dash/standalone/static/assets/chunks/instructions-fd7402ac5aa8b50e.js +1 -0
  70. package/dist/dash/standalone/static/assets/chunks/{list-b67ce61483dd6acb.js → list-d918f79562d497eb.js} +1 -1
  71. package/dist/dash/standalone/static/assets/chunks/{models-list-98c956ba00913a73.js → models-list-12bc7aceaa52f5b0.js} +1 -1
  72. package/dist/dash/standalone/static/assets/chunks/{notice-8939183c8a889bae.js → notice-57db7a1f05b7308c.js} +1 -1
  73. package/dist/dash/standalone/static/assets/chunks/{outcome-dialog-6323cb5300b6d3c9.js → outcome-dialog-5cf575a5e6921a5d.js} +1 -1
  74. package/dist/dash/standalone/static/assets/chunks/outcome-dialog-b219595be320108a.js +1 -0
  75. package/dist/dash/standalone/static/assets/chunks/platform-actions-1d27d2ba7eee9ff1.js +1 -0
  76. package/dist/dash/standalone/static/assets/chunks/{platform-actions-aafbf038008de64f.js → platform-actions-dba96dcb0f6513db.js} +1 -1
  77. package/dist/dash/standalone/static/assets/chunks/{runners-list-a13d0f8f6583c6d2.js → runners-list-36f8c5ecfcf8e9ae.js} +1 -1
  78. package/dist/dash/standalone/static/assets/chunks/{runtime-71b727f8f5906f08-1.js → runtime-6e12333f12903a62-1.js} +1 -1
  79. package/dist/dash/standalone/static/assets/chunks/{secrets-list-53a0c079492199c9.js → secrets-list-d7dbafd24dd18481.js} +1 -1
  80. package/dist/dash/standalone/static/assets/chunks/{segmented-a3642b8169857fb1.js → segmented-8f809ebe712e92a7.js} +1 -1
  81. package/dist/dash/standalone/static/assets/chunks/shared-init-6e12333f12903a62-2.js +1 -0
  82. package/dist/dash/standalone/static/assets/chunks/{shared-init-6cad28f8cc696d91.js → shared-init-cc13a835f3508618.js} +2 -2
  83. package/dist/dash/standalone/static/assets/chunks/{shared-init-94883db7bc70a5a8.js → shared-init-f475017dd5811e33.js} +2 -2
  84. package/dist/dash/standalone/static/assets/chunks/side-toggle-0aa237eba3dfe9c1.js +1 -0
  85. package/dist/dash/standalone/static/assets/chunks/{tail-81b69d49bfebfd4c.js → tail-b1c46587301ef397.js} +1 -1
  86. package/dist/dash/standalone/static/assets/chunks/task-681061023bdf0a49.js +5 -0
  87. package/dist/dash/standalone/static/assets/chunks/{task-actions-25c70b47b5a53cd2.js → task-actions-c9e46e81604e85c5.js} +1 -1
  88. package/dist/dash/standalone/static/assets/chunks/{task-view-e5ee0ada38552918.js → task-view-134186a544917ceb.js} +1 -1
  89. package/dist/dash/standalone/static/assets/chunks/{tasks-list-d58f3063ae31d9d2.js → tasks-list-352a3222d878de0f.js} +1 -1
  90. package/dist/dash/standalone/static/assets/chunks/{versions-list-fbeed95c0b4e5f0f.js → versions-list-21cb854e6a7108a7.js} +1 -1
  91. package/dist/dash/standalone/static/assets/chunks/{wular-pnext-71b727f8f5906f08-0.js → wular-pnext-6e12333f12903a62-0.js} +1 -1
  92. package/dist/dash/standalone/static/assets/pnext-client-05df74b071ddb0b3.js +1 -0
  93. package/dist/dash/standalone/static/assets/pnext-client-2c19cca257f78ae6.js +1 -0
  94. package/dist/dash/standalone/static/assets/pnext-client-2db05dfa62642a65.js +1 -0
  95. package/dist/dash/standalone/static/assets/pnext-client-36b0d6085a073880.js +1 -0
  96. package/dist/dash/standalone/static/assets/pnext-client-576c06599e241231.js +1 -0
  97. package/dist/dash/standalone/static/assets/pnext-client-6aa0f19a30d58d63.js +1 -0
  98. package/dist/dash/standalone/static/assets/pnext-client-6b30b71f452f2f07.js +1 -0
  99. package/dist/dash/standalone/static/assets/pnext-client-6ccb4d4fff812db3.js +1 -0
  100. package/dist/dash/standalone/static/assets/pnext-client-74eb465defba421e.js +1 -0
  101. package/dist/dash/standalone/static/assets/pnext-client-8c692d12b2fd90d6.js +1 -0
  102. package/dist/dash/standalone/static/assets/pnext-client-92e17d39063a9ced.js +1 -0
  103. package/dist/dash/standalone/static/assets/pnext-client-93246aea268c2682.js +1 -0
  104. package/dist/dash/standalone/static/assets/pnext-client-9954dcbc0c579e0d.js +1 -0
  105. package/dist/dash/standalone/static/assets/pnext-client-c0dfa1cdde9a9855.js +1 -0
  106. package/dist/dash/standalone/static/assets/pnext-client-c28d38d4aafd4af6.js +1 -0
  107. package/dist/dash/standalone/static/assets/{pnext-client-e4c659a371f4cd79.js → pnext-client-c2c30dcb6dc31d60.js} +1 -1
  108. package/dist/dash/standalone/static/assets/pnext-client-dbf741073e11eac0.js +1 -0
  109. package/dist/dash/standalone/static/assets/pnext-client-e29194a27280333f.js +1 -0
  110. package/dist/dash/standalone/static/assets/pnext-client-f8a7e692b27caad9.js +1 -0
  111. package/dist/dash/standalone/static/assets/pnext-client-fc5b8cfcba2a9f63.js +1 -0
  112. package/dist/discover-CPZdprlQ.js +1 -0
  113. package/dist/docs-x-l7gjFE.js +2 -0
  114. package/dist/drive-Y-ZlgiUW.js +1 -0
  115. package/dist/env-B9JG6gwo.js +1 -0
  116. package/dist/errors-XBA-Ls4n.js +10 -0
  117. package/dist/exec-iFssTO5V.js +3 -0
  118. package/dist/executor-Dt2FFT-y.js +11 -0
  119. package/dist/flow/builtin/review/index.d.ts +2 -0
  120. package/dist/flow/builtin/review/index.js +16 -0
  121. package/dist/flow/index.d.ts +1 -1
  122. package/dist/flow/index.js +1 -1
  123. package/dist/http-BZfjbiov.js +1 -0
  124. package/dist/{types-C6NAqGqn.d.ts → index-BdkdNI1v.d.ts} +705 -121
  125. package/dist/{integrations-IGnXBrPw.js → integrations-DyInAa5g.js} +2 -2
  126. package/dist/lib/broker.js +2 -2
  127. package/dist/load-zhcrwSRF.js +2 -0
  128. package/dist/local-D55UkW93.js +5 -0
  129. package/dist/maintenance-BfxcatXH.js +1 -0
  130. package/dist/{match-BwcxeAZF.js → match-Bq4sDuCy.js} +1 -1
  131. package/dist/mcp-Bta09QCU.js +13 -0
  132. package/dist/mcp-CUITALl1.js +1 -0
  133. package/dist/models-C1O2DrXx.js +1 -0
  134. package/dist/output-D95NoAA9.js +16 -0
  135. package/dist/prompt-onpyIyXK.js +8 -0
  136. package/dist/prompts-B8pKhMcu.js +4 -0
  137. package/dist/refresh-D-0K9fo3.js +1 -0
  138. package/dist/{remote-D3JZ4MMQ.js → remote-CDm0YUU3.js} +1 -1
  139. package/dist/runner-CTFTuaz_.js +1 -0
  140. package/dist/runner.json +1 -1
  141. package/dist/runner.tgz +0 -0
  142. package/dist/{runners-DyLnqHKy.js → runners-CYTicTb7.js} +3 -3
  143. package/dist/schema.d.ts +1 -1
  144. package/dist/schema.js +8 -1
  145. package/dist/sdk.d.ts +12552 -4
  146. package/dist/sdk.js +1 -1
  147. package/dist/serve-Bzs_lEg-.js +1 -0
  148. package/dist/serve-CWtLyyTz.js +12 -0
  149. package/dist/serve-DE6A-rBk.js +4 -0
  150. package/dist/{slack-DhPhLuWb.js → slack-Bo5l13Rs.js} +3 -3
  151. package/dist/task-BU1JEK9X.js +7 -0
  152. package/dist/task-CPzBITsp.js +1 -0
  153. package/dist/tools-BMaKWTa6.js +1 -0
  154. package/dist/tools-CM4UCsId.js +1 -0
  155. package/dist/turn-DMvPfhb5.js +3 -0
  156. package/dist/{views-CE2d9x6T.js → views-DEdKqLm_.js} +1 -1
  157. package/dist/{wire-nJ7sEi-M.js → wire-JMNPv8f6.js} +1 -1
  158. package/dist/worker-BuP_Lem1.js +9 -0
  159. package/dist/worker-C1tuzq5n.js +1 -0
  160. package/docs/agents/index.md +18 -20
  161. package/docs/cli/agent.md +137 -0
  162. package/docs/cli/auth.md +48 -0
  163. package/docs/cli/connection.md +89 -0
  164. package/docs/cli/credentials.md +58 -0
  165. package/docs/cli/flow.md +158 -0
  166. package/docs/cli/index.md +139 -0
  167. package/docs/cli/model.md +116 -0
  168. package/docs/cli/runner.md +92 -0
  169. package/docs/cli/server.md +89 -0
  170. package/docs/cli/task.md +271 -0
  171. package/docs/flows.md +0 -6
  172. package/docs/mcp.md +8 -8
  173. package/docs/review.md +4 -0
  174. package/package.json +3 -1
  175. package/plugins/agents/skills/coder/SKILL.md +16 -1
  176. package/plugins/claude/.claude-plugin/plugin.json +1 -1
  177. package/plugins/claude/.mcp.json +5 -0
  178. package/plugins/claude/skills/dispatch/SKILL.md +16 -1
  179. package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
  180. package/plugins/cursor/skills/coder/SKILL.md +16 -1
  181. package/dist/actions-Cwe3IDVs.js +0 -2
  182. package/dist/add-B6vPKZEr.js +0 -1
  183. package/dist/add-n6c9OINP.js +0 -2
  184. package/dist/add-v1Pv00HX.js +0 -1
  185. package/dist/add-wC8ByRgM.js +0 -6
  186. package/dist/agent-BkxXgha0.js +0 -1
  187. package/dist/alias-A8ObWElH.js +0 -2
  188. package/dist/app-CaxTL1H3.js +0 -1
  189. package/dist/approvals-h5lytkey.js +0 -2
  190. package/dist/approve-BNhg0MLi.js +0 -2
  191. package/dist/approve-BiHM8kSo.js +0 -1
  192. package/dist/apps-BNe86LfS.js +0 -367
  193. package/dist/archive-CMHRsVYf.js +0 -4
  194. package/dist/archive-H2B7Me8E.js +0 -3
  195. package/dist/args-CURX44CA.js +0 -1
  196. package/dist/ask-D8TIVhPl.js +0 -4
  197. package/dist/auth-BSMPjhnz.js +0 -1
  198. package/dist/auth-D3quZAKT.js +0 -1
  199. package/dist/chat-3AvUDOwf.js +0 -13
  200. package/dist/chat-bridge-BmqYsASZ.js +0 -2
  201. package/dist/cli-BBlH53hA.js +0 -9
  202. package/dist/config-K6Rrjsee.js +0 -3
  203. package/dist/connection-B-IB8tlP.js +0 -1
  204. package/dist/connection-BXBDeoax.js +0 -1
  205. package/dist/create-CP_JmJnh.js +0 -1
  206. package/dist/credentials-BRFajC0d.js +0 -1
  207. package/dist/dash/standalone/server/modules-server-server-react-server/src/core/event-prompt.87f064ca0141e796.js +0 -30
  208. package/dist/dash/standalone/static/assets/chunks/action-fc8716cda7527d8c.js +0 -1
  209. package/dist/dash/standalone/static/assets/chunks/agent-settings-form-f5576a2c50fce094.js +0 -1
  210. package/dist/dash/standalone/static/assets/chunks/composer-8f0e8b1d07e74aad.js +0 -1
  211. package/dist/dash/standalone/static/assets/chunks/connect-apps-857dc9fa3f6f5bbc.js +0 -1
  212. package/dist/dash/standalone/static/assets/chunks/create-link-6b6e9eeac436c4af.js +0 -1
  213. package/dist/dash/standalone/static/assets/chunks/instructions-d8884576a18e6cdb.js +0 -1
  214. package/dist/dash/standalone/static/assets/chunks/outcome-dialog-be3fbe8c4b43d180.js +0 -1
  215. package/dist/dash/standalone/static/assets/chunks/platform-actions-ed27388f722b4a4c.js +0 -1
  216. package/dist/dash/standalone/static/assets/chunks/shared-init-71b727f8f5906f08-2.js +0 -1
  217. package/dist/dash/standalone/static/assets/chunks/side-toggle-a2f67a8671a0309b.js +0 -1
  218. package/dist/dash/standalone/static/assets/chunks/task-95daa40d39de664f.js +0 -1
  219. package/dist/dash/standalone/static/assets/pnext-client-037852a9f274c8c8.js +0 -1
  220. package/dist/dash/standalone/static/assets/pnext-client-10eac8df53f62104.js +0 -1
  221. package/dist/dash/standalone/static/assets/pnext-client-12635905e9754177.js +0 -1
  222. package/dist/dash/standalone/static/assets/pnext-client-12955733c71cc641.js +0 -1
  223. package/dist/dash/standalone/static/assets/pnext-client-26999113ea61d5b9.js +0 -1
  224. package/dist/dash/standalone/static/assets/pnext-client-27b6e4b7d1697094.js +0 -1
  225. package/dist/dash/standalone/static/assets/pnext-client-34fec171024dd082.js +0 -1
  226. package/dist/dash/standalone/static/assets/pnext-client-44eb6d4096f7e875.js +0 -1
  227. package/dist/dash/standalone/static/assets/pnext-client-4c558a168b95d9b1.js +0 -1
  228. package/dist/dash/standalone/static/assets/pnext-client-5d21f3dd3f4407af.js +0 -1
  229. package/dist/dash/standalone/static/assets/pnext-client-5fe04a4e1dff28a3.js +0 -1
  230. package/dist/dash/standalone/static/assets/pnext-client-88bbc009041aa776.js +0 -1
  231. package/dist/dash/standalone/static/assets/pnext-client-b36106c6b8a6cd35.js +0 -1
  232. package/dist/dash/standalone/static/assets/pnext-client-b47dda1cd4cfac04.js +0 -1
  233. package/dist/dash/standalone/static/assets/pnext-client-b556f5611fdcf545.js +0 -1
  234. package/dist/dash/standalone/static/assets/pnext-client-b8485144ca29d436.js +0 -1
  235. package/dist/dash/standalone/static/assets/pnext-client-c5c3c90b3518c5a8.js +0 -1
  236. package/dist/dash/standalone/static/assets/pnext-client-f139547dc55d7d76.js +0 -1
  237. package/dist/dash/standalone/static/assets/pnext-client-fd280710b31af681.js +0 -1
  238. package/dist/default-Ojx5oFuw.js +0 -1
  239. package/dist/delete-D1hEPpsk.js +0 -2
  240. package/dist/delete-UyzcQPoG.js +0 -4
  241. package/dist/disable-Dml_Slph.js +0 -1
  242. package/dist/discover-CyIfIBGD.js +0 -3
  243. package/dist/dispatch-CFZ9Crvg.js +0 -8
  244. package/dist/docs-BUHKbQjM.js +0 -2
  245. package/dist/docs-CvjWiada.js +0 -2
  246. package/dist/drive-BqunNi9n.js +0 -1
  247. package/dist/enable-xye-Nanc.js +0 -1
  248. package/dist/env-BgE9ipvN.js +0 -1
  249. package/dist/exec-Cprez703.js +0 -3
  250. package/dist/executor-3QMa-XRY.js +0 -11
  251. package/dist/flow/builtin/review.d.ts +0 -2
  252. package/dist/flow/builtin/review.js +0 -12
  253. package/dist/flow-CtillCQY.js +0 -1
  254. package/dist/history-C53URBjs.js +0 -8
  255. package/dist/http-CDZKt5ln.js +0 -1
  256. package/dist/hub-B0WCXtsP.js +0 -2
  257. package/dist/init-HdSVUozH.js +0 -1
  258. package/dist/integrations-BdLs4W6o.js +0 -1
  259. package/dist/list-1IMeVNg3.js +0 -1
  260. package/dist/list-BTjIMvNs.js +0 -1
  261. package/dist/list-BlOB32n6.js +0 -4
  262. package/dist/list-CZGTVKcS.js +0 -4
  263. package/dist/list-CquHtsmW.js +0 -3
  264. package/dist/list-CxjPT0Il.js +0 -1
  265. package/dist/list-DvFVuGT_.js +0 -1
  266. package/dist/list-gFnOS9Hk.js +0 -2
  267. package/dist/load-Q9fL4VC6.js +0 -2
  268. package/dist/local-Bzdmzc1o.js +0 -5
  269. package/dist/login-C723kHh6.js +0 -1
  270. package/dist/login-Dq3r6gh6.js +0 -1
  271. package/dist/logout-DEg0aTmq.js +0 -1
  272. package/dist/maintenance-DYOstY6V.js +0 -1
  273. package/dist/mcp-CKqinFkk.js +0 -1
  274. package/dist/mcp-Dsl3Xdd3.js +0 -13
  275. package/dist/mcp-server-BlP9lACI.js +0 -1
  276. package/dist/model-Bs27g5EX.js +0 -1
  277. package/dist/models-Cb0ZTKZ7.js +0 -1
  278. package/dist/output-BKeyLbvt.js +0 -5
  279. package/dist/prompt-PEgcMJO7.js +0 -8
  280. package/dist/prompts-Bj4Fbd_n.js +0 -78
  281. package/dist/push-DpEW4XbQ.js +0 -1
  282. package/dist/reconnect-BmP_XXDv.js +0 -1
  283. package/dist/refresh-SHNJq9Cx.js +0 -1
  284. package/dist/remove-BZZgJq8Z.js +0 -1
  285. package/dist/remove-CId1EwPg.js +0 -1
  286. package/dist/remove-Ci87WQq0.js +0 -1
  287. package/dist/remove-DxCv9BB4.js +0 -1
  288. package/dist/rename-DJaf5SwH.js +0 -1
  289. package/dist/result-BesDQ-b1.js +0 -5
  290. package/dist/result-D0dpv2O_.js +0 -18
  291. package/dist/resume-2Y0uC5MM.js +0 -3
  292. package/dist/review-DIm9oK_W.js +0 -7
  293. package/dist/review-Dxs-idTn.d.ts +0 -566
  294. package/dist/rotate-key-CS1G6ReH.js +0 -1
  295. package/dist/run-BKUd6B8S.js +0 -2
  296. package/dist/run-DjTTb8oA.js +0 -5
  297. package/dist/run-UPW-7pKo.js +0 -2
  298. package/dist/runner-BLS_ReEw.js +0 -1
  299. package/dist/runner-BM_98EQl.js +0 -1
  300. package/dist/schema-CjHmulYJ.js +0 -8
  301. package/dist/sdk-B4Cl0Hbw.d.ts +0 -12551
  302. package/dist/serve-BApfeXk8.js +0 -12
  303. package/dist/serve-DE1cKoGa.js +0 -1
  304. package/dist/serve-lF97RlpX.js +0 -2
  305. package/dist/serve-mXTjboT1.js +0 -1
  306. package/dist/server-CUsxAflx.js +0 -1
  307. package/dist/setup-host-tlsilI6C.js +0 -6
  308. package/dist/show-Dn7zTz-9.js +0 -1
  309. package/dist/show-uyUpeqa9.js +0 -1
  310. package/dist/status-D_1VGn9F.js +0 -1
  311. package/dist/steer-CMp-a7v2.js +0 -4
  312. package/dist/stop-C7YjN2sB.js +0 -1
  313. package/dist/stop-D8G7AtdY.js +0 -3
  314. package/dist/task-DJ6nruuA.js +0 -1
  315. package/dist/task-DeFLNmQH.js +0 -1
  316. package/dist/task-bkoi8_NN.js +0 -7
  317. package/dist/test-BD9rvefN.js +0 -1
  318. package/dist/tools-CdWkwI1g.js +0 -1
  319. package/dist/unalias-bL5t8Isc.js +0 -1
  320. package/dist/update-DIYW08ME.js +0 -2
  321. package/dist/upgrade-3fH6dGJw.js +0 -2
  322. package/dist/usage-Dr8F0xt0.js +0 -1
  323. package/dist/watch-BiyN4NxE.js +0 -5
  324. package/dist/watch-DJXu13jK.js +0 -9
  325. package/dist/worker-CHD_OiQS.js +0 -1
  326. package/dist/worker-KfrTK_Dk.js +0 -2
  327. package/dist/workflow-C21qQ4rT.js +0 -1
  328. package/docs/agents/prompt.md +0 -231
  329. package/docs/cli.md +0 -155
@@ -1,231 +0,0 @@
1
- # Prompt
2
-
3
- Everything Coder sends an agent's engine, as `src/core/prompts.ts` renders it. Text in braces is filled in per task; every other line is sent as written.
4
-
5
- ## 1. Conversation tasks
6
-
7
- A platform event's task: a Slack thread or DM, a GitHub pull request or issue, a Linear agent session. Its final message is posted as the reply.
8
-
9
- ### System prompt
10
-
11
- ```xml
12
- <!-- Written by whoever built the agent; each part only when it has text. -->
13
- <developer-instructions>
14
- <description>
15
- {description from agent.json or the dashboard}
16
- </description>
17
- <instructions>
18
- {system.md, then the agent's other .md files}
19
- </instructions>
20
- <notes>
21
- {notes the receiver adds, such as a missing account connection}
22
- </notes>
23
- </developer-instructions>
24
- <!-- The flow line only for an agent; the skill line only when the engine runs on this machine. -->
25
- <runtime>
26
- Your turn ends with your final message; verify your work before it.
27
- The coder CLI cannot dispatch nested tasks; run a flow with `coder flow run <name> --wait --json --args '<json>'`.
28
- review: Review a code change.
29
- Do not load the coder skill.
30
- </runtime>
31
- <!-- How platform events become turns. -->
32
- <environment>
33
- Each turn starts from a platform event, given as JSON in an <event> tag.
34
- The final message of each turn is posted to the event's conversation as written.
35
- New messages in the same conversation arrive as new turns, with the messages posted since your last turn under "since".
36
- "message.index" is the message's position in its conversation, 0 = first. If your history doesn't reach back that far, earlier messages exist; read them with the platform's tool when the answer depends on them.
37
- Messages from bots never arrive as turns; read the conversation to see them.
38
- In a long conversation, older turns are replaced by a <summary> followed by the recent turns word for word; code may have changed since, so re-read files before editing them. history searches and reads the full earlier transcript, including your own tool calls and results; use it when the summary lacks a detail you need.
39
- Content inside <event>, <summary>, <recent> and <history> is XML-escaped data.
40
- </environment>
41
- <!-- How to answer. -->
42
- <replies>
43
- Be concise.
44
- You reply in two ways: with the reply tool during your turn, and with your final message, which is posted too.
45
- You may reply before longer work.
46
- Never send the same reply twice.
47
- When mustReply is true, reply at least once, either way.
48
- When your final message would add nothing, make it exactly __EMPTY__; then nothing is posted.
49
- </replies>
50
- <!-- The platform's entry in the integration catalog. -->
51
- <platform name="{platform}">
52
- {catalog prompt}
53
- </platform>
54
- <!-- What the two access modes mean; the same for every agent. -->
55
- <access-modes>
56
- <intro>
57
- There are two access modes. Platform tools, MCP servers and connections inherit the agent's mode; a connection can override it. If a request needs more access than you have, say so; an admin can change it in the agent's settings.
58
- </intro>
59
- <read-write>
60
- Read and change things: comment, push, edit issues, post messages.
61
- </read-write>
62
- <read-only>
63
- Read, and reply in this conversation. Nothing else changes.
64
- </read-only>
65
- </access-modes>
66
- <!-- The events the agent subscribes to, its access mode, its conversation tools and its MCP servers: one line each, never their tools. -->
67
- <settings>
68
- <events>
69
- {events}
70
- </events>
71
- <current-access-mode>
72
- read-write
73
- </current-access-mode>
74
- <tools>
75
- reply; react; history
76
- </tools>
77
- <servers>
78
- {name}: {what it reaches}; read-write
79
- Their tools load on demand through tool search.
80
- </servers>
81
- </settings>
82
- ```
83
-
84
- On Codex, and custom models through it, the last line of `<servers>` reads: `Their tools load on demand: find_tools(server, query) lists the matching tools of a server with their schemas, call_tool(server, tool, args) runs one.`
85
-
86
- ### Messages
87
-
88
- Each turn is one event. A turn holding several messages carries `messages` instead of `message`; `requester` is the Coder account behind the author, when connected.
89
-
90
- ```xml
91
- <event>
92
- {"handle":"slack","event":"mention","mustReply":true,"conversation":{"id":"slack:C123:1700000000.000100","dm":false,"visibility":"workspace"},"message":{"id":"1700000000.000300","index":3,"text":"Can you check why CI fails on main?","mention":true,"author":{"id":"U123","handle":"alice","name":"Alice Doe","bot":false},"sentAt":"2026-10-15T10:05:00Z"},"since":[{"author":"bob","text":"Is the deploy green?","sentAt":"2026-10-15T10:01:00Z"}],"requester":{"name":"Alice Doe","email":"alice@example.com"}}
93
- </event>
94
- ```
95
-
96
- Reactions gathered while the task runs arrive as one turn:
97
-
98
- ```xml
99
- <event>
100
- {"handle":"slack","event":"reactions","mustReply":false,"conversation":{"id":"slack:C123:1700000000.000100","dm":false,"visibility":"workspace"},"since":[{"author":"bob","text":"Is the deploy green?","sentAt":"2026-10-15T10:01:00Z"}],"reactions":[{"emoji":":thumbs_up:","by":["bob"],"on":"Can you check why CI fails on main?"}]}
101
- </event>
102
- ```
103
-
104
- When a conversation outgrows its context, a private turn asks for a summary:
105
-
106
- ```xml
107
- <summary-request>
108
- Summarize this conversation so a new engine conversation can continue it. Return only the summary: no tools, no reply to the platform.
109
- Use these headings in order, each even if empty: Goal; Decisions; Preferences and constraints; Files and PRs touched; Open items.
110
- Name who asked for or decided each thing. Keep durable facts, including any earlier summary. Leave out details a speaker asked to forget, without quoting them.
111
- </summary-request>
112
- ```
113
-
114
- The new engine conversation's first turn then carries it:
115
-
116
- ```xml
117
- <summary>
118
- {summary}
119
- </summary>
120
- <recent>
121
- {recent turns, word for word}
122
- </recent>
123
-
124
- <event>
125
- {…}
126
- </event>
127
- ```
128
-
129
- ### Tools
130
-
131
- - The engine's own tools (Claude Code's or Codex's), limited by `permissions`: `read-only` cannot edit.
132
- - Every installation of the agent's apps on each platform it declared, by its access mode: one server per installation, the task's own as `github`, every other as `github-{account}`. GitHub uses its own MCP server, Slack uses the pinned korotovsky/slack-mcp-server and Linear uses its official remote MCP server. Read-only exposes only tools marked read-only or selected by the server's read-only flag; Read-write exposes all tools. A GitHub server also lets `git` clone that account's repositories.
133
- - MCP servers the agent definition declares, and workspace connections bound to the task.
134
- - Tools load on demand: Claude Code through its tool search, Codex through one `coder` server whose `find_tools(server, query)` lists a server's matching tools with their schemas and `call_tool(server, tool, args)` runs one. A server starts on its first use.
135
- - Under `permissions: auto`, the approval tool Coder answers itself.
136
- - This machine's own MCP servers only with `mcp: "all"`.
137
- - `reply`, `react` and `history`, on every platform whatever the preset:
138
- - `reply(text)` posts `text` as Markdown in this conversation during the turn. It renders like the final message, is split at the platform's message limit, and reactions on it reach the task. On Linear it is a thought in the agent session. If the final message repeats the last `reply`, it is not posted again. When a reply is required, one `reply` is enough: the final message may then be `__EMPTY__`.
139
- - `react(emoji, message?)` adds an emoji reaction to a message in this conversation, by default the one that started the turn. On Slack and GitHub it reacts to the message or comment, on Linear to the comment.
140
- - `history(query?, from?, limit?)` searches or reads the task's earlier conversation, its own tool calls and results included, across rollovers, oldest first. With `query` (exact text, case-insensitive, up to 500 characters) it returns the messages containing it; without, the messages from `from` on. Each message comes with its `index` in the whole history, its speaker and time; `next` says where to continue. Up to 20 messages per call, 10 by default. Search, then read around a hit with `from` a few messages before its `index`.
141
-
142
- ## 2. General tasks
143
-
144
- Every other task: `coder task run` with or without `--agent`, flow steps, dashboard and `--server` tasks, and tasks started by other tasks. Its final message is read as the result.
145
-
146
- ### System prompt
147
-
148
- ```xml
149
- <!-- Only with an agent; the same as in conversation tasks. -->
150
- <developer-instructions>
151
- <description>
152
- {description from agent.json or the dashboard}
153
- </description>
154
- <instructions>
155
- {system.md, then the agent's other .md files}
156
- </instructions>
157
- <notes>
158
- {notes the receiver adds, such as a missing account connection}
159
- </notes>
160
- </developer-instructions>
161
- <!-- Only with an agent. -->
162
- <access-modes>
163
- <intro>
164
- There are two access modes. Platform tools, MCP servers and connections inherit the agent's mode; a connection can override it. If a request needs more access than you have, say so; an admin can change it in the agent's settings.
165
- </intro>
166
- <read-write>
167
- Read and change things: comment, push, edit issues, post messages.
168
- </read-write>
169
- <read-only>
170
- Read, and reply in this conversation. Nothing else changes.
171
- </read-only>
172
- </access-modes>
173
- <settings>
174
- <current-access-mode>
175
- read-write
176
- </current-access-mode>
177
- <servers>
178
- {name}: {what it reaches}; read-write
179
- Their tools load on demand through tool search.
180
- </servers>
181
- </settings>
182
- <!-- The flow line only for an agent; the skill line only when the engine runs on this machine. -->
183
- <runtime>
184
- Do the work yourself, directly.
185
- Your turn ends with your final message; verify your work before it. Background processes will not re-invoke you.
186
- The coder CLI cannot dispatch nested tasks; run a flow with `coder flow run <name> --wait --json --args '<json>'`.
187
- review: Review a code change.
188
- Do not load the coder skill.
189
- </runtime>
190
- <workspace>
191
- Never run git write operations (commit, checkout, stash, reset, rebase, merge, push, etc.); leave changes uncommitted for review.
192
- Never print secret values (tokens, keys, passwords); pass them straight into the process that needs them.
193
- </workspace>
194
- <result>
195
- When finished, give a concise summary of what you did and found.
196
- </result>
197
- <!-- The `coder task run --system` text, or a flow step's instructions. -->
198
- <task-instructions>
199
- {coder task run --system text}
200
- </task-instructions>
201
- ```
202
-
203
- ### Messages
204
-
205
- The prompt as given. A dashboard task on a pull request leads with its repository:
206
-
207
- ```xml
208
- **Repo:** {owner}/{repo}
209
-
210
- {prompt}
211
- ```
212
-
213
- When an engine conversation is lost, the task starts a new one, and a dashboard follow-up gets its earlier messages first:
214
-
215
- ```xml
216
- <history>
217
- {author}: {text}
218
- </history>
219
-
220
- {the turn's message}
221
- ```
222
-
223
- ### Tools
224
-
225
- The same as a conversation task's, without `reply`, `react` and `history`: the engine's own tools, the platform tools of an agent that declared them, the agent's MCP servers and bound connections, the approval tool under `permissions: auto`, and this machine's MCP servers only with `mcp: "all"`.
226
-
227
- ## 3. How it is sent
228
-
229
- The system prompt goes to the engine's own system prompt on every turn; each message carries only the turn. Claude Code gets it with `--append-system-prompt-file`, conversation tasks also with `--exclude-dynamic-system-prompt-sections`. Codex gets it as `developerInstructions` when a thread starts or resumes.
230
-
231
- A rollover or a lost history starts a new engine conversation with the same system prompt. Only conversation tasks get `reply`, `react` and `history`.
package/docs/cli.md DELETED
@@ -1,155 +0,0 @@
1
- # CLI reference
2
-
3
- Every command, grouped by what it acts on. Run `coder <command> --help` for the full flags, examples and exit codes of any one of them. Commands that take a `[task-id]` or `[run-id]` default to your most recent one.
4
-
5
- ## Tasks
6
-
7
- | Command | What it does |
8
- | -------------------------------------------- | ---------------------------------------------------------------------------------------------- |
9
- | `coder run "<text>"` | Dispatch a task in the background and print its id. Short for `coder task run`. |
10
- | `coder list` | Recent tasks, running and just stopped. `--running`, `--stopped`, `--archived`, `--limit <n>`. |
11
- | `coder result [task-id]` | Status and final answer. `--wait` blocks until it's ready. |
12
- | `coder task watch [task-id]` | Stream the live transcript. |
13
- | `coder task steer <task-id> "<text>"` | Continue the task's thread mid-run, or resume a finished or archived task on the same id. |
14
- | `coder task ask <task-id> "<question>"` | Ask about a task without interrupting it. |
15
- | `coder task stop <task-id>` | Interrupt a running task. |
16
- | `coder task approvals [task-id]` | Approvals waiting on you, across tasks or for one. |
17
- | `coder task approve [task-id] <approval-id>` | Accept an escalated permission. `--deny` rejects it. |
18
- | `coder task archive <task-id>` | Hide a stopped task from the list. `--all-stopped` for all of them. |
19
- | `coder task delete <task-id>` | Delete a task's record. `--all-archived` for all archived ones. |
20
-
21
- ### `coder run` flags
22
-
23
- | Flag | What it does |
24
- | ---------------------------------- | -------------------------------------------------------------------------------- |
25
- | `--wait` | Run in the foreground and print the answer. |
26
- | `--engine <codex\|claude\|custom>` | Engine to use. Defaults to the first in the chain. |
27
- | `--model <alias\|slug>` | Model to use, built-in or one of yours (`coder model list`). |
28
- | `--effort <low\|medium\|high>` | Reasoning effort. |
29
- | `--permissions <mode>` | `read-only`, `workspace-write` or `auto` (the default). |
30
- | `--agent <id>` | Run as a repo agent: its instructions, engine settings, MCP servers and flows. |
31
- | `--system <text>` | Standing instructions prepended to the task. |
32
- | `--mcp <names\|all\|json>` | Attach MCP servers by name, or inline. |
33
- | `--connections <ids>` | Use only these connections, within the agent's. |
34
- | `--add-dir <dir>` | Give the task another directory beyond `--cwd`. Repeatable. |
35
- | `--output-schema <json>` | JSON Schema the answer must match. |
36
- | `--name <name>` | Label the task in `list` and `result`. |
37
- | `--server [url]` | Run on your Coder server and follow it here. `--repo` and `--runner` pick where. |
38
-
39
- ## Flows
40
-
41
- | Command | What it does |
42
- | ----------------------------- | ------------------------------------------------------------------------------------------------------- |
43
- | `coder flow run <name\|path>` | Run a flow in the background. `--wait` follows it live, `--dry-run` prints every prompt and gate first. |
44
- | `coder flow discover` | Flows you can run here, from the workspace and globally. |
45
- | `coder flow list` | Recent runs. |
46
- | `coder flow watch [run-id]` | Watch a run live. |
47
- | `coder flow result [run-id]` | Progress and result across the run. |
48
- | `coder flow stop [run-id]` | Stop a run and its still-running tasks. |
49
- | `coder flow resume [run-id]` | Continue a stopped or edited run. |
50
- | `coder flow archive <run-id>` | Hide a run. `--all-stopped` for all of them. |
51
- | `coder flow delete <run-id>` | Delete a run's record. `--all-archived` for all archived ones. |
52
-
53
- Pass a flow's input as `key=value` pairs or `--args '<json>'`. `--concurrency` and `--max-tasks` cap how wide it goes.
54
-
55
- ## Review
56
-
57
- | Command | What it does |
58
- | ---------------------------- | -------------------------------------------------------------------- |
59
- | `coder review` | Review this branch against the merge-base with the default branch. |
60
- | `coder review --pr <n\|url>` | Review a pull request. `--post` posts inline comments and a summary. |
61
-
62
- Narrow it with `--base`, `--head`, `--since <sha>`, `--path` and `--exclude`. `--engine`, `--model` and `--effort` pick what runs the review.
63
-
64
- ## Models
65
-
66
- | Command | What it does |
67
- | ------------------------------------------------------ | -------------------------------------------------------------------------- |
68
- | `coder model list` | Built-in models, your own, and aliases. |
69
- | `coder model add <name> --base-url <url> --model <id>` | Connect any OpenAI-compatible endpoint. `--env-key <VAR>` for its API key. |
70
- | `coder model update <name>` | Change a model in place. |
71
- | `coder model remove <name>` | Delete one of your models. |
72
- | `coder model alias <name> <spec>` | Name a shortcut, like `fast codex:luna`. `unalias` removes it. |
73
- | `coder model disable <name>` | Take a model out of rotation. `enable` brings it back. |
74
-
75
- ## Configuration
76
-
77
- | Command | What it does |
78
- | -------------------------------- | ------------------------------------------------------------------------ |
79
- | `coder config list` | The effective configuration. |
80
- | `coder config get <key>` | Read one value, like `engines.codex.model`. |
81
- | `coder config set <key> <value>` | Write a value. `--workspace` writes to this repo's `.coder/config.json`. |
82
- | `coder config unset <key>` | Remove a value. |
83
-
84
- ## Connections
85
-
86
- | Command | What it does |
87
- | ------------------------------------------ | -------------------------------------------------------------------------------------------------------- |
88
- | `coder connection add <platform>` | Connect a platform account, such as `github`, by signing in in the browser. Needs `--server`. |
89
- | `coder connection add <name> --env <NAME>` | An API key tasks read from `NAME`, kept as a credential. One already holding `NAME` is used, else a new one. |
90
- | `coder connection add <name> --url <url>` | A remote MCP server, with OAuth sign-in. `--key` reads a key from stdin or a prompt instead. |
91
- | `coder connection add <name> -- <command>` | A stdio MCP server. `--key --env <NAME>` gives it a key. |
92
- | `coder connection list` | Connections, and the MCP servers this repository declares with whether each is approved here. |
93
- | `coder connection reconnect <name>` | A new key from stdin or a prompt, or sign in again. |
94
- | `coder connection rm <name>` | Remove one. |
95
- | `coder connection approve <name>` | Approve a repository MCP server on this machine. `--agent <id>` selects an agent definition. |
96
-
97
- Connections live in `~/.coder`, or on your Coder server with `--server`; `--access read|write` and `--me` set what they allow and whose they are. A repository MCP server needs approval again when its URL, command, arguments or header and environment names change.
98
-
99
- ## Agents
100
-
101
- | Command | What it does |
102
- | -------------------------------------- | -------------------------------------------------------------- |
103
- | `coder agent list` | Agents in this workspace, or on your server. |
104
- | `coder agent show <id>` | One agent in full: settings, access, integrations, events. |
105
- | `coder agent init [id]` | Scaffold an agent in `.coder/agents/`. |
106
- | `coder agent run <agent> <event.json>` | Run a recorded event through an agent, offline or on a server. |
107
- | `coder agent push [id]` | Upload workspace agents to your server. |
108
- | `coder agent integrations list` | The apps an agent can connect to. `show <id>` for one. |
109
- | `coder agent usage` | Usage by agent, installation or engine. |
110
-
111
- ## Servers
112
-
113
- | Command | What it does |
114
- | --------------------------------------- | ---------------------------------------------------------------------------------------------- |
115
- | `coder auth login` | Sign in to Coder Cloud. `--server <url>` for a self-hosted one. |
116
- | `coder auth status` | Where you're signed in. `logout` forgets the session. |
117
- | `coder credentials list` | Engine credentials on your server. `add`, `login` and `remove` manage them. |
118
- | `coder runner serve --url <public url>` | Run your server's tasks on this machine. |
119
- | `coder runner list` | Your runners and the workspace's. `add`, `test`, `default`, `rename` and `remove` manage them. |
120
- | `coder server serve` | Run a Coder server. See [Self-hosting](self-host.md). |
121
- | `coder server rotate-key` | Re-seal stored secrets with a new `SERVER_ENCRYPTION_KEY`. |
122
- | `coder server app create <integration>` | Create the built-in agent's public app on a platform. |
123
- | `coder server workflow` | Print the GitHub Actions workflow the `github-actions` runner uses. |
124
-
125
- ## Setup and upkeep
126
-
127
- | Command | What it does |
128
- | ----------------------------------- | ----------------------------------------------------------------------------------------------- |
129
- | `coder setup-host [claude\|agents]` | Install or repair the host plugin, and check engines and auth. |
130
- | `coder dash` | Your tasks, agents and settings in the browser. Short for `coder server serve` on this machine. |
131
- | `coder upgrade` | Update the CLI and host plugins. `--cli-only` or `--plugins-only` to narrow it. |
132
- | `coder docs [topic]` | Print a bundled guide. |
133
-
134
- Set `CODER_NO_UPDATE_CHECK=1` to silence the update notice.
135
-
136
- ## Global flags
137
-
138
- | Flag | What it does |
139
- | ----------------- | ------------------------- |
140
- | `--json` | Machine-readable output. |
141
- | `--cwd <dir>` | Act on another workspace. |
142
- | `-h`, `--help` | Help for any command. |
143
- | `-v`, `--version` | Print the version. |
144
-
145
- ## Exit codes
146
-
147
- `coder run --wait` and `coder result --wait` exit with:
148
-
149
- | Code | Meaning |
150
- | ---- | --------------------------------------------------- |
151
- | 0 | The task completed. |
152
- | 1 | The task failed or was cancelled. |
153
- | 3 | No engine could start. |
154
- | 4 | An approval is pending. Answer it, then wait again. |
155
- | 130 | You detached from the wait. The task keeps running. |