@wular/coder 0.4.11 → 0.4.13
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.
- package/README.md +4 -2
- package/dist/actions-D12xDiQS.js +4 -0
- package/dist/{adapter-DYxjaefw.js → adapter-Bz0E-DAY.js} +2 -2
- package/dist/{adapter-CkL4PqXE.js → adapter-CsacmMmv.js} +1 -1
- package/dist/adapter-DzpdWewB.js +1 -0
- package/dist/{agent-6GooVMsq.js → agent-JJStALIx.js} +2 -2
- package/dist/apps-Bnk7F3A2.js +379 -0
- package/dist/args-Dqf5Y1RP.js +1 -0
- package/dist/async-Tj4zKHXR.js +3 -0
- package/dist/auth-BhpnOCbn.js +1 -0
- package/dist/base64url-CsVsW4Id.js +1 -0
- package/dist/builtin/coder/agent.json +0 -1
- package/dist/builtin/coder/system.md +1 -1
- package/dist/chat-CSepnsrK.js +13 -0
- package/dist/cli.js +19 -1
- package/dist/{client-sqXb-y09.js → client-C4QCT6cG.js} +2 -2
- package/dist/cmd-BHZwhrfa.js +118 -0
- package/dist/connection-BkYTuJjV.js +1 -0
- package/dist/context-zhSlmXOp.js +7 -0
- package/dist/dash/standalone/node_modules/contextjsx/dist/index.mjs +1 -0
- package/dist/dash/standalone/node_modules/contextjsx/dist/jsx-runtime.mjs +1 -0
- package/dist/dash/standalone/node_modules/contextjsx/dist/src-BJ0QFeB8.mjs +2 -0
- package/dist/dash/standalone/node_modules/contextjsx/package.json +70 -0
- package/dist/dash/standalone/server/build-index.json +1 -1
- package/dist/dash/standalone/server/manifest.json +1302 -1282
- package/dist/dash/standalone/server/modules-server-server-react-server/src/agent/context/turn.6bb73458768e222e.js +129 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/client/{index.0de14cb4e30bd70d.js → index.de1f1311bab4252f.js} +12 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/core/{defaults.1b615366c56838a1.js → defaults.e972c134a1ae918f.js} +3 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/core/task/{log-view.60308a11f7001eb7.js → log-view.ec6391dbf3063330.js} +40 -48
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/api/{load.be791a5eaf328738.js → load.30ed8c28774a1a82.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/connect/{page.0fbfdba5254f7ae5.js → page.04762872666a6f0a.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/create/[id]/{page.70913bd4075da914.js → page.118a70787eff1761.js} +23 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{loading.e348ec45e9ed951b.js → loading.fcdfd50c21031895.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{notify.61aab176baeefebd.js → notify.98dfcd316c306258.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{page.815371ed0d5dd4fa.js → page.74c59322f5fe8a2c.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{sign-out.1d6af804f9ec043d.js → sign-out.730aa96b086ac996.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{agent-menu.2ed0e66d131fc148.js → agent-menu.1be5795272b245c8.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{agents-grid.f43bcc1148ce3650.js → agents-grid.2c30ace077893029.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{connect-apps.f3af8cc8540719d7.js → connect-apps.8a20501ccb244421.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{loading.fac1132ad9c4248e.js → loading.733f0acc2af5ceda.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{page.5f88059c03cf82b4.js → page.d066b77dd3187026.js} +9 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{layout.b7392d534ce0410e.js → layout.b26006f060cd48f0.js} +9 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{page.5aae24bbfd90c434.js → page.4b23e9df21433bd3.js} +10 -10
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{loading.4da9e2ba3fea937f.js → loading.e06845585ca67abc.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{page.91c992fdd3b4a493.js → page.4048048acb374c67.js} +35 -23
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{platform-actions.8e7ca54dd1821e98.js → platform-actions.000f2f87a48bfbc6.js} +36 -10
- 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.ee0bb2dc4d403ec3.js} +9 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{loading.ad1a4c9b000d269a.js → loading.0e3641f3e4abaa7c.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{page.9ec1ec08ba05da59.js → page.649b4ba135ded99b.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/tasks/{loading.dd9088a4581b1d65.js → loading.195e168e8e41d797.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/tasks/{page.71dc042821133e82.js → page.96f7573208644f40.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/usage/{loading.8f998a9c511e1fb3.js → loading.905293c9aa9afbc9.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/usage/{page.45e18b6dc3019af4.js → page.5f2b8585db8b27ad.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{versions-list.c8d76988c734dda2.js → versions-list.8700f0106f4e8c15.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/edit/{loading.b1367e864b4fb406.js → loading.f94b2f9ab04aaf21.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/edit/{page.e3179ddf20a7e55d.js → page.e898c4b5ef16ecb0.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{agent-pills.f987c12bcbc5c850.js → agent-pills.44e689e546fb042b.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{agent-toggle.1579dc8acbaacf92.js → agent-toggle.4c67dfbb7d28a416.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{hero.ad5cc342db794e5d.js → hero.9740a8e2f4b41f28.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{connect-repositories.43b4b28f194ea842.js → connect-repositories.ff8b78a03153239b.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{editor.62cb8207218e6437.js → editor.471af698b8060eba.js} +32 -21
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{import-picker.eafa5b41a2ed571f.js → import-picker.b7b5c89e618e8f89.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/new/{loading.ee001af7a96e3972.js → loading.ecb9dfd4d0f9d107.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/new/{page.dffb05f2d256d81a.js → page.880bdac7fe843635.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{layout.393cf7429eea189e.js → layout.81f7e055829854a3.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/operator-apps.09bf294d753ee9d7.js +115 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/{page.980adfb7c5714752.js → page.8f8697b1b6b34ad7.js} +36 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{page.24a1987405ed7b17.js → page.fe608b8e661aba1d.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{connections-list.21ec9dc73ce68656.js → connections-list.97381888bfdd711b.js} +8 -8
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{credentials-list.683476f62a9ecde7.js → credentials-list.a4d8338c7f6a5702.js} +10 -8
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{credentials.b43dd3d97c536c2a.js → credentials.1443bbed1ff1d441.js} +8 -8
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{engines-list.9e116751bd34e2cc.js → engines-list.d47db60d7dc01ebd.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{list.083f5c665df04b1b.js → list.a5b273558fb7f0f0.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{models-list.537f63f8e5dd085d.js → models-list.31d369f1b7ab45da.js} +66 -32
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{page.dfed4ae6ffc74434.js → page.805d0f8a2c5817d6.js} +15 -15
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{runners-list.3afa989490bbe77c.js → runners-list.1e83449aa6593224.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{secrets-list.0d175ee815b22cd7.js → secrets-list.17ac06593005b8ba.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{layout.3e8289f888fa444c.js → layout.8c4a2b31b194ba3e.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{page.06feaa5fbb06f1e6.js → page.a77996786278cda0.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{settings-head.bbc7ced8dd5491eb.js → settings-head.705be0b1129b97af.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{create-link.ff95e4b6977d0474.js → create-link.19b4c50ef497aca1.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{outcome-dialog.894c73f9abee3ce1.js → outcome-dialog.18cf32fa42247b91.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{page.f06fda0df59beeb5.js → page.616f0b36bf7925bc.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{activity.3c79cf14feff12bf.js → activity.a911169a820ba604.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{loading.56520888d5270b88.js → loading.76f851da5cc5268d.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{page.25b29e72df84806b.js → page.ddb594bb6567ee13.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/task-actions.51fbeac76459433a.js +240 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-view.f2e902c8208b2e78.js → task-view.3276538e8306fd8a.js} +28 -28
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{composer-data.309a194fc7fa34be.js → composer-data.05fc39e1a7fd1ab7.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{composer.b0bb1faaac8e0b6c.js → composer.dbf06b05c5e2eba3.js} +9 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{status.16190fdd5fd7daad.js → status.cb704b48ce86cc7d.js} +6 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{task.a0c68180db5fb4c1.js → task.f089c1c122ed6dd2.js} +17 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-list.b52a49fb5faeefd0.js → tasks-list.5a00d69851dae119.js} +37 -22
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-section.80f9c9a42ecae854.js → tasks-section.36e70c93f7d0feee.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{page.20b5c22658eae312.js → page.185b1ba0c803db3f.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{loading.97d277dbab9c15cf.js → loading.a7e0ec01bfa769e3.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{page.fb21ebe90d49dac1.js → page.d41fea7676e37bfc.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{range-bar.2197d8f43216d104.js → range-bar.69e68c9dae09f238.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/{layout.185dbc99875e208a.js → layout.296d70b95894209f.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{foreign-link.1f4217895ff1e835.js → foreign-link.8c6adf9c5a6f467c.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{loading-card.cc76fc9708142525.js → loading-card.1cea8a722c10b998.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{page-head.85f15db7b648d48c.js → page-head.87b92529dbb53ceb.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{stream.e2915852cf82c86b.js → stream.c32d78562f75db25.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{task-toasts.0ed8ccaae81b9d53.js → task-toasts.44075fa7e04575e8.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{back.180765bdadf6d602.js → back.d6109e72fbd04b45.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{org.572ad93c7707ab27.js → org.d3abfd4053b711ce.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{confirm.c1281f9b12854210.js → confirm.29e198be34578222.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{filter.3a452a262f040973.js → filter.81bb9a5c60cd1089.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{modal.25d53e5b41b9c4e5.js → modal.0b69c7fd9db025b9.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{segmented.a08dc08338d080e9.js → segmented.633abe26ff760e37.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{sentinel.17cffebfc3103b9f.js → sentinel.0ddf515b8f09ef9f.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{tabs.66b2e54963f6901b.js → tabs.1600a0b563a5c7dd.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{toolbar.24036899654de6df.js → toolbar.8b3a460a65edf85a.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{action.b9a5c37272250e82.js → action.67dd6f8ab1ae067d.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{client.a3928fa2dcd27b75.js → client.78267fa3d7905d17.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/action-a76e495fb39a73d3.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{agent-pills-bd32cb89331aff7e.js → agent-pills-4d3c6a2aa9eb1522.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/agent-settings-form-f7231a66e391f6b6.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{agent-toggle-a45b95908d62f926.js → agent-toggle-d7d27123f2070f18.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{agents-grid-9f79b5074899c8be.js → agents-grid-185ecb3d86c6c447.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{back-b0cd2b85c9d8403e.js → back-e29cb10f5548ddae.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{combo-1050768988cd0347.js → combo-702c94817bf6ac17.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/composer-56ebf36d63400423.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{composer-87f138e21d68370d.js → composer-a686289a79f64bae.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/composer-data-f46a9bc7a14b4f9a.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{confirm-01d5814b1c5f7721.js → confirm-a78147b6ecef3847.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/connect-apps-696726aedab42c96.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{connect-repositories-49098298b3a82647.js → connect-repositories-7770ab805160028d.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/connections-list-07559f145f3e3da3.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{copy-5db9d328f8f65d82.js → copy-bdc60bdafe336316.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/create-link-426b0a5871ee41dd.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/credentials-list-f07d090410104148.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{custom-range-fdf1946aac09cfc3.js → custom-range-6618f32ef6cd4e80.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/editor-0860e370cbfc6b03.js +6 -0
- package/dist/dash/standalone/static/assets/chunks/engines-list-31b9bb7885924b05.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{field-c530e261587d94df.js → field-bb8191aa02d07282.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/instructions-06b63e558f879da5.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{instructions-3ea5afeea1992bf2.js → instructions-2d9fbcbfadac4f40.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/list-2773686bf8df64c7.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/models-list-03611e64b6a07efe.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{notice-8939183c8a889bae.js → notice-d14fdac28139c0a8.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/outcome-dialog-d3ba8ef89c59f801.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{outcome-dialog-6323cb5300b6d3c9.js → outcome-dialog-fde11a52c282301d.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/platform-actions-2a71c62b9f7eaef3.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/platform-actions-70600c9943320152.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/runners-list-edf536eb8003eab5.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{runtime-71b727f8f5906f08-1.js → runtime-6e12333f12903a62-1.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/secrets-list-e86122f73525ff95.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/segmented-0b6dc6b93c35e0f5.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/shared-init-6e12333f12903a62-2.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/shared-init-b281027d465e004f.js +5 -0
- package/dist/dash/standalone/static/assets/chunks/shared-init-c3bd249cf1eca6d1.js +2 -0
- package/dist/dash/standalone/static/assets/chunks/side-toggle-9b3af821cfe4c824.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{tail-81b69d49bfebfd4c.js → tail-f8804b80cf32f8d0.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/task-a37e7c26e82eb77d.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/task-actions-705395565f2d83b8.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/task-view-cb21169f38b56d15.js +6 -0
- package/dist/dash/standalone/static/assets/chunks/tasks-list-d7dccfd7e0623ae0.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{versions-list-fbeed95c0b4e5f0f.js → versions-list-f8f2e71df691efda.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{wular-pnext-71b727f8f5906f08-0.js → wular-pnext-6e12333f12903a62-0.js} +1 -1
- package/dist/dash/standalone/static/assets/create-param-id-c2c756f652f2fc30.css +1 -0
- package/dist/dash/standalone/static/assets/{dash-param-org-account-9471bec93c444232.css → dash-param-org-account-702f8a1b213e4026.css} +1 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-aad2f9f93c06e9ab.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-new-f9dcbcec36586f2b.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-8ff47f5d622c1f9b.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-edit-907036d553cfeb36.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-platforms-5cc77badad15f00c.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-settings-705d7c15868b4fd6.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-tasks-04e189c045098772.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-usage-76fcd1ce7b3dae71.css +1 -0
- package/dist/dash/standalone/static/assets/{dash-param-org-bcfa3de29341d5ba.css → dash-param-org-eccb6bb9297a53e6.css} +1 -1
- package/dist/dash/standalone/static/assets/dash-param-org-operator-635a121f7a9a95bd.css +1 -0
- package/dist/dash/standalone/static/assets/{dash-param-org-settings-6d6902345d88a687.css → dash-param-org-settings-a3297dc4d9e0c961.css} +1 -1
- package/dist/dash/standalone/static/assets/dash-param-org-settings-param-tab-bcb06f81d9e8268d.css +1 -0
- package/dist/dash/standalone/static/assets/{dash-param-org-setup-173efecd7b990c2e.css → dash-param-org-setup-df4be8b188b9777f.css} +1 -1
- package/dist/dash/standalone/static/assets/dash-param-org-tasks-16f9866a1b4801cd.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-tasks-param-id-02ae551dcd852b57.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-usage-f2175403069aab99.css +1 -0
- package/dist/dash/standalone/static/assets/{global-87e1762113874559.css → global-e1de614478b64717.css} +1 -1
- package/dist/dash/standalone/static/assets/pnext-client-0dc829ba60df5c26.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-14d191f7f1da6602.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-169eaa63783b71fd.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-1e34cfefafa70fac.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-285d61f00a80f40b.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-35b89c3ba23ee845.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-6c42784e005d4b87.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-6cd93f9bd4cf6ffd.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-7355f473fade532d.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-815c3c297f75efb0.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-87fe73c10a4dc33c.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-98b56a142d441260.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-b4bafe68a40f720b.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-bf61ff39bdc0db48.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-c9fa86c244813f74.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-d2e7a75e16221224.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-d34e774405ea8da8.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-d511822afdb41d1d.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-e113aa2f25ecfe01.js +1 -0
- package/dist/dash/standalone/static/assets/{pnext-client-e4c659a371f4cd79.js → pnext-client-eb62f461d0c32266.js} +1 -1
- package/dist/discover-CHfF4cEz.js +1 -0
- package/dist/docs-KHc0_gFX.js +2 -0
- package/dist/drive-Bwl7Bjme.js +1 -0
- package/dist/emit-BrkJJPUE.js +11 -0
- package/dist/env-6Y-NNnYD.js +1 -0
- package/dist/errors-DO_IltpP.js +16 -0
- package/dist/exec-BmTa0vcO.js +4 -0
- package/dist/executor-ufWRqhdS.js +11 -0
- package/dist/flow/builtin/review/index.d.ts +2 -0
- package/dist/flow/builtin/review/index.js +16 -0
- package/dist/flow/index.d.ts +1 -1
- package/dist/flow/index.js +1 -1
- package/dist/hook-CIipj9MJ.js +1 -0
- package/dist/http-Cg8PSe-c.js +1 -0
- package/dist/{types-C6NAqGqn.d.ts → index-ChcxzFdB.d.ts} +734 -285
- package/dist/integrations-I7fRDk_l.js +4 -0
- package/dist/lib/broker.js +2 -2
- package/dist/load-BDlEFetB.js +2 -0
- package/dist/local-COlczLwI.js +5 -0
- package/dist/log-view-CfX9lakH.js +4 -0
- package/dist/maintenance-CKCIWOvn.js +1 -0
- package/dist/{match-BwcxeAZF.js → match-CufHAZQH.js} +1 -1
- package/dist/mcp-BkwmRHI9.js +2 -0
- package/dist/mcp-CGU7aoJ-.js +1 -0
- package/dist/mcp-DAHbhfUh.js +13 -0
- package/dist/models-CzggS7p2.js +1 -0
- package/dist/output-SNqdgh9A.js +17 -0
- package/dist/permission-MWFjKxqX.js +1 -0
- package/dist/prompt-CIx4jwQF.js +8 -0
- package/dist/refresh-CxsaX5R9.js +1 -0
- package/dist/remote-C9Hj2cby.js +2 -0
- package/dist/remote-HUZCWgfl.js +3 -0
- package/dist/runner-DYysY1-G.js +1 -0
- package/dist/runner.json +1 -1
- package/dist/runner.tgz +0 -0
- package/dist/runners-CfaGE0nV.js +36 -0
- package/dist/schema.d.ts +1 -1
- package/dist/schema.js +8 -1
- package/dist/sdk.d.ts +12733 -4
- package/dist/sdk.js +1 -1
- package/dist/serve-DdAdw7Su.js +4 -0
- package/dist/serve-NQykWAKV.js +1 -0
- package/dist/serve-vKNqVaVy.js +12 -0
- package/dist/slack-BtKvW_4v.js +5 -0
- package/dist/task-CFxs0E_J.js +1 -0
- package/dist/task-iuYQ0zAK.js +7 -0
- package/dist/tools-B6ZxcqRi.js +2 -0
- package/dist/tools-FVop8XYG.js +1 -0
- package/dist/tools-search-kjKKolwp.js +1 -0
- package/dist/turn-DQ13lkPF.js +2 -0
- package/dist/types-DPtbvoo3.js +1 -0
- package/dist/types-DmThhjcW.js +1 -0
- package/dist/views-CMHXBMJp.js +3 -0
- package/dist/{wire-nJ7sEi-M.js → wire-C9CupY_A.js} +1 -1
- package/dist/worker-BQpx1dPr.js +9 -0
- package/dist/worker-sTJL2eoe.js +1 -0
- package/docs/access.md +33 -0
- package/docs/agents/coder.md +0 -11
- package/docs/agents/index.md +18 -20
- package/docs/cli/agent.md +137 -0
- package/docs/cli/auth.md +48 -0
- package/docs/cli/connection.md +89 -0
- package/docs/cli/credentials.md +58 -0
- package/docs/cli/flow.md +158 -0
- package/docs/cli/index.md +139 -0
- package/docs/cli/model.md +118 -0
- package/docs/cli/runner.md +92 -0
- package/docs/cli/server.md +89 -0
- package/docs/cli/task.md +273 -0
- package/docs/config.md +5 -15
- package/docs/flows.md +1 -7
- package/docs/mcp.md +8 -8
- package/docs/models.md +7 -6
- package/docs/review.md +4 -0
- package/docs/sdk.md +29 -29
- package/docs/self-host.md +25 -25
- package/package.json +3 -1
- package/plugins/agents/skills/coder/SKILL.md +16 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/.mcp.json +5 -0
- package/plugins/claude/skills/dispatch/SKILL.md +16 -1
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/skills/coder/SKILL.md +16 -1
- package/dist/actions-Cwe3IDVs.js +0 -2
- package/dist/adapter-Bi768A94.js +0 -1
- package/dist/add-B6vPKZEr.js +0 -1
- package/dist/add-n6c9OINP.js +0 -2
- package/dist/add-v1Pv00HX.js +0 -1
- package/dist/add-wC8ByRgM.js +0 -6
- package/dist/agent-BkxXgha0.js +0 -1
- package/dist/alias-A8ObWElH.js +0 -2
- package/dist/app-CaxTL1H3.js +0 -1
- package/dist/approvals-h5lytkey.js +0 -2
- package/dist/approve-BNhg0MLi.js +0 -2
- package/dist/approve-BiHM8kSo.js +0 -1
- package/dist/apps-BNe86LfS.js +0 -367
- package/dist/archive-CMHRsVYf.js +0 -4
- package/dist/archive-H2B7Me8E.js +0 -3
- package/dist/args-CURX44CA.js +0 -1
- package/dist/ask-D8TIVhPl.js +0 -4
- package/dist/auth-BSMPjhnz.js +0 -1
- package/dist/auth-D3quZAKT.js +0 -1
- package/dist/chat-3AvUDOwf.js +0 -13
- package/dist/chat-bridge-BmqYsASZ.js +0 -2
- package/dist/cli-BBlH53hA.js +0 -9
- package/dist/config-K6Rrjsee.js +0 -3
- package/dist/connection-B-IB8tlP.js +0 -1
- package/dist/connection-BXBDeoax.js +0 -1
- package/dist/create-CP_JmJnh.js +0 -1
- package/dist/credentials-BRFajC0d.js +0 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/core/event-prompt.87f064ca0141e796.js +0 -30
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/operator-apps.a244f3199e7cf09c.js +0 -144
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/task-actions.587da79d68ab8d14.js +0 -151
- package/dist/dash/standalone/static/assets/chunks/action-fc8716cda7527d8c.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/agent-settings-form-f5576a2c50fce094.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/composer-8f0e8b1d07e74aad.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/composer-data-5fed6c271a4791ca.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/connect-apps-857dc9fa3f6f5bbc.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/connections-list-46d48443d8fc8a0d.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/create-link-6b6e9eeac436c4af.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/credentials-list-3cccc85ef335cb22.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/defaults-52f30e83d7666f7a.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/editor-d2460c315bb1fd32.js +0 -6
- package/dist/dash/standalone/static/assets/chunks/engines-list-0159c8baa0b3e711.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/instructions-d8884576a18e6cdb.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/list-b67ce61483dd6acb.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/models-list-98c956ba00913a73.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/outcome-dialog-be3fbe8c4b43d180.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/platform-actions-aafbf038008de64f.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/platform-actions-ed27388f722b4a4c.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/runners-list-a13d0f8f6583c6d2.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/secrets-list-53a0c079492199c9.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/segmented-a3642b8169857fb1.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/shared-init-6cad28f8cc696d91.js +0 -2
- package/dist/dash/standalone/static/assets/chunks/shared-init-71b727f8f5906f08-2.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/shared-init-94883db7bc70a5a8.js +0 -5
- package/dist/dash/standalone/static/assets/chunks/side-toggle-a2f67a8671a0309b.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/task-95daa40d39de664f.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/task-actions-25c70b47b5a53cd2.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/task-view-e5ee0ada38552918.js +0 -5
- package/dist/dash/standalone/static/assets/chunks/tasks-list-d58f3063ae31d9d2.js +0 -1
- package/dist/dash/standalone/static/assets/create-param-id-da3f7e20689fe51a.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-64500e78caae32df.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-new-c067c22928a2d7cc.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-9dec87710e04f949.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-edit-779c474301e04440.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-platforms-c7d594b5232630c2.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-settings-a80e62570716fdb9.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-tasks-ce278252012297b9.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-usage-d3b6d701eb8e1403.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-operator-b7bc6447cc27c9ce.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-settings-param-tab-85c7af9a89eef06e.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-tasks-ae0bc03f468e63cc.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-tasks-param-id-7325d8cff5be3592.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-usage-517b2a7ae462ac57.css +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-037852a9f274c8c8.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-10eac8df53f62104.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-12635905e9754177.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-12955733c71cc641.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-26999113ea61d5b9.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-27b6e4b7d1697094.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-34fec171024dd082.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-44eb6d4096f7e875.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-4c558a168b95d9b1.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-5d21f3dd3f4407af.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-5fe04a4e1dff28a3.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-88bbc009041aa776.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-b36106c6b8a6cd35.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-b47dda1cd4cfac04.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-b556f5611fdcf545.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-b8485144ca29d436.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-c5c3c90b3518c5a8.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-f139547dc55d7d76.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-fd280710b31af681.js +0 -1
- package/dist/default-Ojx5oFuw.js +0 -1
- package/dist/delete-D1hEPpsk.js +0 -2
- package/dist/delete-UyzcQPoG.js +0 -4
- package/dist/disable-Dml_Slph.js +0 -1
- package/dist/discover-CyIfIBGD.js +0 -3
- package/dist/dispatch-CFZ9Crvg.js +0 -8
- package/dist/docs-BUHKbQjM.js +0 -2
- package/dist/docs-CvjWiada.js +0 -2
- package/dist/drive-BqunNi9n.js +0 -1
- package/dist/enable-xye-Nanc.js +0 -1
- package/dist/env-BgE9ipvN.js +0 -1
- package/dist/exec-Cprez703.js +0 -3
- package/dist/executor-3QMa-XRY.js +0 -11
- package/dist/flow/builtin/review.d.ts +0 -2
- package/dist/flow/builtin/review.js +0 -12
- package/dist/flow-CtillCQY.js +0 -1
- package/dist/history-C53URBjs.js +0 -8
- package/dist/http-CDZKt5ln.js +0 -1
- package/dist/hub-B0WCXtsP.js +0 -2
- package/dist/init-HdSVUozH.js +0 -1
- package/dist/integrations-BdLs4W6o.js +0 -1
- package/dist/integrations-IGnXBrPw.js +0 -2
- package/dist/list-1IMeVNg3.js +0 -1
- package/dist/list-BTjIMvNs.js +0 -1
- package/dist/list-BlOB32n6.js +0 -4
- package/dist/list-CZGTVKcS.js +0 -4
- package/dist/list-CquHtsmW.js +0 -3
- package/dist/list-CxjPT0Il.js +0 -1
- package/dist/list-DvFVuGT_.js +0 -1
- package/dist/list-gFnOS9Hk.js +0 -2
- package/dist/load-Q9fL4VC6.js +0 -2
- package/dist/local-Bzdmzc1o.js +0 -5
- package/dist/log-view-CL3_S0IQ.js +0 -3
- package/dist/login-C723kHh6.js +0 -1
- package/dist/login-Dq3r6gh6.js +0 -1
- package/dist/logout-DEg0aTmq.js +0 -1
- package/dist/maintenance-DYOstY6V.js +0 -1
- package/dist/mcp-CKqinFkk.js +0 -1
- package/dist/mcp-Dsl3Xdd3.js +0 -13
- package/dist/mcp-server-BlP9lACI.js +0 -1
- package/dist/model-Bs27g5EX.js +0 -1
- package/dist/models-Cb0ZTKZ7.js +0 -1
- package/dist/output-BKeyLbvt.js +0 -5
- package/dist/prompt-PEgcMJO7.js +0 -8
- package/dist/prompts-Bj4Fbd_n.js +0 -78
- package/dist/push-DpEW4XbQ.js +0 -1
- package/dist/reconnect-BmP_XXDv.js +0 -1
- package/dist/refresh-SHNJq9Cx.js +0 -1
- package/dist/remote-D3JZ4MMQ.js +0 -3
- package/dist/remove-BZZgJq8Z.js +0 -1
- package/dist/remove-CId1EwPg.js +0 -1
- package/dist/remove-Ci87WQq0.js +0 -1
- package/dist/remove-DxCv9BB4.js +0 -1
- package/dist/rename-DJaf5SwH.js +0 -1
- package/dist/result-BesDQ-b1.js +0 -5
- package/dist/result-D0dpv2O_.js +0 -18
- package/dist/resume-2Y0uC5MM.js +0 -3
- package/dist/review-DIm9oK_W.js +0 -7
- package/dist/review-Dxs-idTn.d.ts +0 -566
- package/dist/rotate-key-CS1G6ReH.js +0 -1
- package/dist/run-BKUd6B8S.js +0 -2
- package/dist/run-DjTTb8oA.js +0 -5
- package/dist/run-UPW-7pKo.js +0 -2
- package/dist/runner-BLS_ReEw.js +0 -1
- package/dist/runner-BM_98EQl.js +0 -1
- package/dist/runners-DyLnqHKy.js +0 -36
- package/dist/schema-CjHmulYJ.js +0 -8
- package/dist/sdk-B4Cl0Hbw.d.ts +0 -12551
- package/dist/serve-BApfeXk8.js +0 -12
- package/dist/serve-DE1cKoGa.js +0 -1
- package/dist/serve-lF97RlpX.js +0 -2
- package/dist/serve-mXTjboT1.js +0 -1
- package/dist/server-CUsxAflx.js +0 -1
- package/dist/setup-host-tlsilI6C.js +0 -6
- package/dist/show-Dn7zTz-9.js +0 -1
- package/dist/show-uyUpeqa9.js +0 -1
- package/dist/slack-DhPhLuWb.js +0 -5
- package/dist/status-D_1VGn9F.js +0 -1
- package/dist/steer-CMp-a7v2.js +0 -4
- package/dist/stop-C7YjN2sB.js +0 -1
- package/dist/stop-D8G7AtdY.js +0 -3
- package/dist/task-DJ6nruuA.js +0 -1
- package/dist/task-DeFLNmQH.js +0 -1
- package/dist/task-bkoi8_NN.js +0 -7
- package/dist/test-BD9rvefN.js +0 -1
- package/dist/tools-CdWkwI1g.js +0 -1
- package/dist/types-D_xnfP7m.js +0 -1
- package/dist/unalias-bL5t8Isc.js +0 -1
- package/dist/update-DIYW08ME.js +0 -2
- package/dist/upgrade-3fH6dGJw.js +0 -2
- package/dist/usage-Dr8F0xt0.js +0 -1
- package/dist/views-CE2d9x6T.js +0 -5
- package/dist/watch-BiyN4NxE.js +0 -5
- package/dist/watch-DJXu13jK.js +0 -9
- package/dist/worker-CHD_OiQS.js +0 -1
- package/dist/worker-KfrTK_Dk.js +0 -2
- package/dist/workflow-C21qQ4rT.js +0 -1
- package/docs/agents/prompt.md +0 -231
- package/docs/cli.md +0 -155
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/core/{errors.0a735590a5412ea6.js → errors.1bd0542d832ae0c0.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{page.c811938ae8a8f1df.css.pnext-asset.js → page.107e622830bff31d.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{hero.1bef5dca89b5942c.css.pnext-asset.js → hero.243d85cac1f22df2.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{editor.c496247a81ed832c.css.pnext-asset.js → editor.1eb1bce282b289c9.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{model-options.a96c11d11674f598.js → model-options.73f8d0d54f79d8e3.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-view.57990cfd2bdf5c11.css.pnext-asset.js → task-view.42337a0d7c6ad0b6.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-list.abbbc9ace4d866e5.css.pnext-asset.js → tasks-list.2f90c4410f843fff.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/{globals.c8fd2b8b01e7077b.css.pnext-asset.js → globals.f8ac779f0ebf888b.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{page-head.364ec93a8e7857b3.css.pnext-asset.js → page-head.9fcc49ddf7119d75.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{modal.9db07d368dcf5981.css.pnext-asset.js → modal.a533234c7c831be4.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{segmented.0bd8652fdbc05eb0.css.pnext-asset.js → segmented.c6f30b839fd27f35.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{sentinel.1e3ec9bd6008d811.css.pnext-asset.js → sentinel.d17e2bfcbeb9df31.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{tabs.ca13e40ff54128d0.css.pnext-asset.js → tabs.025b532d6cc51736.css.pnext-asset.js} +0 -0
package/docs/self-host.md
CHANGED
|
@@ -21,7 +21,7 @@ Required variables carry a *.
|
|
|
21
21
|
| `HOST` | address | `127.0.0.1` without a database, else all | Listen address. A local server listens on loopback only ([Modes](#modes)) |
|
|
22
22
|
| `ADMIN_TOKEN` | string | minted and printed per run | Local and memory servers. The bearer the CLI and dashboard use, accepted from loopback only. Ignored with Postgres |
|
|
23
23
|
| `CODER_CACHE_HOME` | path | OS cache directory for `wular-coder` | Archived tasks, flows and usage |
|
|
24
|
-
| `WORK_DIR` | path |
|
|
24
|
+
| `WORK_DIR` | path | `~/.coder/state/global/server-tasks` | Where the local runner keeps each task's work folder: its working directory, or its checkout with a repository. The folder stays across turns and goes with `task delete` |
|
|
25
25
|
| `SERVER_NAME` | string | `Coder` | What the dashboard calls this server, in its sidebar server menu |
|
|
26
26
|
| `ISSUES_URL` | URL | `https://github.com/muzam1l/coder/issues/new` | Where the dashboard sends bug reports from its Report issue button |
|
|
27
27
|
| `SERVER_LIMITS` | JSON | `{}` | Request rates and task slots ([Limits and monitoring](#limits-and-monitoring)) |
|
|
@@ -32,7 +32,7 @@ Required variables carry a *.
|
|
|
32
32
|
| `TASK_TIMEOUT` | ms | `1800000` (30 minutes) | Longest a task may run |
|
|
33
33
|
| `TASK_STALL` | ms | `300000` (5 minutes) | Silence before the runner is asked whether the task is still alive |
|
|
34
34
|
| `TASK_ATTEMPTS` | number | `2` | Times a runner start is retried |
|
|
35
|
-
| `SERVER_INTEGRATIONS` | comma-separated ids | every platform | The platforms this server offers, from `github`, `slack` and `linear`.
|
|
35
|
+
| `SERVER_INTEGRATIONS` | comma-separated ids | every platform | The platforms this server offers, from `github`, `slack` and `linear`. Others get no webhook, catalog entry or app creation. An unknown id stops the server |
|
|
36
36
|
| `SERVER_OPERATORS` | comma-separated Wular Auth user ids | none | Postgres servers. Who may open the operator area. Only this variable grants it |
|
|
37
37
|
|
|
38
38
|
Settings, sign-in, pairings and live tasks live in ~/.coder (CODER_HOME). Archived tasks, flows and usage live in the OS cache directory, ~/Library/Caches/wular-coder on macOS, ~/.cache/wular-coder on Linux (CODER_CACHE_HOME overrides). Nothing is ever pruned.
|
|
@@ -124,28 +124,28 @@ A platform user who addresses an agent must be linked to a member of the workspa
|
|
|
124
124
|
|
|
125
125
|
`RUNNER_CONFIG` is a JSON object read by the chosen runner. Every field is optional unless marked.
|
|
126
126
|
|
|
127
|
-
| Runner | Field | Default
|
|
128
|
-
| ---------------- | ------------------- |
|
|
129
|
-
| `local` | |
|
|
127
|
+
| Runner | Field | Default | Purpose |
|
|
128
|
+
| ---------------- | ------------------- | ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
129
|
+
| `local` | | | none |
|
|
130
130
|
| `local-docker` | `image` | `ghcr.io/muzam1l/coder-runner:latest` | Image the task runs in |
|
|
131
|
-
| | `memory` | `4g`
|
|
132
|
-
| | `cpus` | `2`
|
|
133
|
-
| | `pidsLimit` | `512`
|
|
134
|
-
| | `network` | `bridge`
|
|
135
|
-
| `vercel-sandbox` | `image` | the SDK's default image
|
|
136
|
-
| | `token` | deployment OIDC
|
|
137
|
-
| | `team` | `VERCEL_TEAM_ID`
|
|
138
|
-
| | `projectId` | `VERCEL_PROJECT_ID`
|
|
139
|
-
| | `region` | the database's region
|
|
140
|
-
| | `timeoutMs` | `1800000`
|
|
141
|
-
| | `vcpus` | `1`
|
|
142
|
-
| `github-actions` | `token` (required) |
|
|
143
|
-
| | `repo` | the event's repository
|
|
144
|
-
| | `workflow` | `coder-agent.yml`
|
|
145
|
-
| | `ref` | the repository's default branch
|
|
146
|
-
| `http` | `url` (required) |
|
|
147
|
-
| | `secret` (required) |
|
|
148
|
-
| | `headers` | `{}`
|
|
131
|
+
| | `memory` | `4g` | `--memory` |
|
|
132
|
+
| | `cpus` | `2` | `--cpus` |
|
|
133
|
+
| | `pidsLimit` | `512` | `--pids-limit` |
|
|
134
|
+
| | `network` | `bridge` | `--network` |
|
|
135
|
+
| `vercel-sandbox` | `image` | the SDK's default image | Image the task starts from |
|
|
136
|
+
| | `token` | deployment OIDC | Vercel access token for Sandbox; install `@vercel/sandbox` in the adapter app |
|
|
137
|
+
| | `team` | `VERCEL_TEAM_ID` | Team ID for access-token authentication |
|
|
138
|
+
| | `projectId` | `VERCEL_PROJECT_ID` | Project ID for access-token authentication |
|
|
139
|
+
| | `region` | the database's region | Sandbox region; inferred from an AWS region in the database host, else Vercel's default |
|
|
140
|
+
| | `timeoutMs` | `1800000` | Sandbox lifetime |
|
|
141
|
+
| | `vcpus` | `1` | Sandbox size |
|
|
142
|
+
| `github-actions` | `token` (required) | | GitHub token that may dispatch the workflow and read its status |
|
|
143
|
+
| | `repo` | the event's repository | `owner/name` holding the workflow |
|
|
144
|
+
| | `workflow` | `coder-agent.yml` | Workflow file to dispatch (`coder server workflow` prints it) |
|
|
145
|
+
| | `ref` | the repository's default branch | Branch to dispatch on |
|
|
146
|
+
| `http` | `url` (required) | | Your controller's base URL; it implements `POST /start`, `POST /messages/<handle>`, `GET /status/<handle>`, `POST /stop/<handle>` |
|
|
147
|
+
| | `secret` (required) | | Shared secret that signs every request over body, timestamp, and nonce |
|
|
148
|
+
| | `headers` | `{}` | Extra headers sent with every request |
|
|
149
149
|
|
|
150
150
|
`local-docker` and `github-actions` run in the runner image, which holds the engines and tools. A custom `image` needs `node`, `bun`, `git`, `curl`, `tar`, `claude`, `codex` and `github-mcp-server`.
|
|
151
151
|
|
|
@@ -165,7 +165,7 @@ A runner adapter declares delivery support through its optional `push` method. T
|
|
|
165
165
|
|
|
166
166
|
### Your own machine
|
|
167
167
|
|
|
168
|
-
A member runs the server's tasks on their own machine with `coder runner serve`. It uses the machine's own `claude` and `codex` logins, so no credential is needed. Expose its port with any tunnel, such as `cloudflared tunnel --url http://localhost:4100`, `ngrok http 4100`, `tailscale funnel 4100` or a public VS Code port, and pass the tunnel's address with `--url`. Each start registers the current address with the server as you (`coder auth login`), and stopping marks the runner offline, so a changing tunnel address is fine. Every request to it is signed with its own secret, kept in `~/.coder/runners.json`.
|
|
168
|
+
A member runs the server's tasks on their own machine with `coder runner serve`. It uses the machine's own `claude` and `codex` logins, so no credential is needed. Expose its port with any tunnel, such as `cloudflared tunnel --url http://localhost:4100`, `ngrok http 4100`, `tailscale funnel 4100` or a public VS Code port, and pass the tunnel's address with `--url`. Each start registers the current address with the server as you (`coder auth login`), and stopping marks the runner offline, so a changing tunnel address is fine. Every request to it is signed with its own secret, kept in `~/.coder/runners.json`. Each task keeps one work folder in `~/.coder/state/global/server-tasks/<task id>/work` across turns; deleting the task removes it at the runner's next registration, within a minute while it runs.
|
|
169
169
|
|
|
170
170
|
A runner runs only its owner's tasks. An owner or admin can register one with `--workspace` for every member. A task runs on the runner it names, else its agent's runner, the requester's default, the workspace default, then `RUNNER`. Choose a default with `coder runner default <id>`. `coder runner list`, `rename` and `remove`, and the dashboard's Settings, manage them.
|
|
171
171
|
|
|
@@ -182,7 +182,7 @@ The server only verifies, dedupes, and dispatches; agents run in the runner with
|
|
|
182
182
|
| `limits.principalPerMinute` | `300` | Requests per minute for each signed-in user, the memory server's admin token, or an authenticated runner |
|
|
183
183
|
| `limits.ipPerMinute` | `60` | Requests per minute for each unauthenticated IP |
|
|
184
184
|
| `limits.authPerMinute` | `20` | Sign-in, token and login requests per minute for each IP, on top of `ipPerMinute` |
|
|
185
|
-
| `limits.registerPerMinute` | `10` | Runner registrations per minute for each IP; includes pairing and returning-runner heartbeats
|
|
185
|
+
| `limits.registerPerMinute` | `10` | Runner registrations per minute for each IP; includes pairing and returning-runner heartbeats |
|
|
186
186
|
| `limits.pairingPerMinute` | `5` | Pairing tokens per minute for each principal at `/admin/runners/pair` |
|
|
187
187
|
| `limits.concurrentTasks` | `10` | Active task slots per workspace in cloud mode, or per server in local and memory modes |
|
|
188
188
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wular/coder",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.13",
|
|
4
4
|
"description": "Delegating coding-agent runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/sdk.js",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "bun scripts/build.ts",
|
|
27
|
+
"emit": "bun scripts/emit.ts",
|
|
27
28
|
"build:dash": "bun scripts/build.ts dash",
|
|
28
29
|
"deploy:vercel": "bun scripts/deploy-vercel.ts",
|
|
29
30
|
"dev:dash": "pnext dev src/server/dash",
|
|
@@ -69,6 +70,7 @@
|
|
|
69
70
|
"@types/node": "^26.1.2",
|
|
70
71
|
"@wular/pnext": "0.1.9",
|
|
71
72
|
"chat": "4.41.1",
|
|
73
|
+
"contextjsx": "0.2.3",
|
|
72
74
|
"drizzle-kit": "0.31.11",
|
|
73
75
|
"drizzle-orm": "0.45.2",
|
|
74
76
|
"jose": "6.2.12",
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: coder
|
|
3
|
-
description: Use Coder for coding, implementation, or investigation tasks - features, fixes, refactors, debugging, tests, code questions - one coder per focused goal, fanned out in parallel, waiting on each task. Use it when asked, when a task needs another engine (Claude, Codex, custom), or when a subagent is sufficient or required for the task.
|
|
3
|
+
description: "Use Coder for coding, implementation, or investigation tasks - features, fixes, refactors, debugging, tests, code questions - one coder per focused goal, fanned out in parallel, waiting on each task. Use it when asked, when a task needs another engine (Claude, Codex, custom), or when a subagent is sufficient or required for the task."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
<!-- Generated by contextjsx from definitions. Edit the source, not this file. -->
|
|
7
|
+
|
|
6
8
|
# Coder dispatch
|
|
7
9
|
|
|
8
10
|
If `CODER_WORKER` is set in your environment, you are a coder worker. Skip this skill and do your assigned work directly; nested dispatch is disabled.
|
|
@@ -17,6 +19,19 @@ Coder delegates coding to supervised subagents of any model - Codex, Claude, or
|
|
|
17
19
|
|
|
18
20
|
If `coder` is not on PATH, install it yourself without asking: `npm install -g @wular/coder`. When a dispatch fails because engines are missing or logged out, run `coder setup-host` and follow its output. It checks engines and auth, fixes what it can, prints the exact fix for the rest, and is safe to re-run. Ask the user before installing an engine CLI or changing auth; if it updated codex, tell the user to restart their codex session.
|
|
19
21
|
|
|
22
|
+
## Use Coder over MCP
|
|
23
|
+
|
|
24
|
+
Each coder command is also an MCP tool with the same arguments, such as `task/run` or `flow/run`; `load_skill` loads a guide.
|
|
25
|
+
|
|
26
|
+
Setup: `coder setup-host` adds the server. By hand:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
claude mcp add coder -- coder mcp
|
|
30
|
+
codex mcp add coder -- coder mcp
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Restart running sessions after adding it.
|
|
34
|
+
|
|
20
35
|
## Using the CLI
|
|
21
36
|
|
|
22
37
|
- The CLI is the reference. `coder --help` and every subcommand's `--help` list the flags and exit codes, and each command prints the recommended next step when it returns. Follow it.
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: dispatch
|
|
3
|
-
description: Use Coder for coding, implementation, or investigation tasks - features, fixes, refactors, debugging, tests, code questions - one coder per focused goal, fanned out in parallel, waiting on each task. Use it when asked, when a task needs another engine (Claude, Codex, custom), or when a subagent is sufficient or required for the task.
|
|
3
|
+
description: "Use Coder for coding, implementation, or investigation tasks - features, fixes, refactors, debugging, tests, code questions - one coder per focused goal, fanned out in parallel, waiting on each task. Use it when asked, when a task needs another engine (Claude, Codex, custom), or when a subagent is sufficient or required for the task."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
<!-- Generated by contextjsx from definitions. Edit the source, not this file. -->
|
|
7
|
+
|
|
6
8
|
# Coder dispatch (Claude host)
|
|
7
9
|
|
|
8
10
|
If `CODER_WORKER` is set in your environment, you are a coder worker. Skip this skill and do your assigned work directly; nested dispatch is disabled.
|
|
@@ -17,6 +19,19 @@ Coder delegates coding to supervised subagents of any model - Codex, Claude, or
|
|
|
17
19
|
|
|
18
20
|
If `coder` is not on PATH, install it yourself without asking: `npm install -g @wular/coder`. When a dispatch fails because engines are missing or logged out, run `coder setup-host claude` and follow its output. It checks engines and auth, fixes what it can, prints the exact fix for the rest, and is safe to re-run. Ask the user before installing an engine CLI or changing auth; if it updated codex, tell the user to restart their codex session. For a guided setup, suggest `/coder:setup`.
|
|
19
21
|
|
|
22
|
+
## Use Coder over MCP
|
|
23
|
+
|
|
24
|
+
Each coder command is also an MCP tool with the same arguments, such as `task/run` or `flow/run`; `load_skill` loads a guide.
|
|
25
|
+
|
|
26
|
+
Setup: `coder setup-host` adds the server. By hand:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
claude mcp add coder -- coder mcp
|
|
30
|
+
codex mcp add coder -- coder mcp
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Restart running sessions after adding it.
|
|
34
|
+
|
|
20
35
|
## Using the CLI
|
|
21
36
|
|
|
22
37
|
- The CLI is the reference. `coder --help` and every subcommand's `--help` list the flags and exit codes, and each command prints the recommended next step when it returns. Follow it.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coder",
|
|
3
3
|
"displayName": "Coder",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.13",
|
|
5
5
|
"description": "Delegate coding tasks to supervised Coder subagents running on Codex, Claude, or any OpenAI-compatible model. Your main context stays clean.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "muzam1l"
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: coder
|
|
3
|
-
description: Use Coder for coding, implementation, or investigation tasks - features, fixes, refactors, debugging, tests, code questions - one coder per focused goal, fanned out in parallel, waiting on each task. Use it when asked, when a task needs another engine (Claude, Codex, custom), or when a subagent is sufficient or required for the task.
|
|
3
|
+
description: "Use Coder for coding, implementation, or investigation tasks - features, fixes, refactors, debugging, tests, code questions - one coder per focused goal, fanned out in parallel, waiting on each task. Use it when asked, when a task needs another engine (Claude, Codex, custom), or when a subagent is sufficient or required for the task."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
<!-- Generated by contextjsx from definitions. Edit the source, not this file. -->
|
|
7
|
+
|
|
6
8
|
# Coder dispatch (Cursor host)
|
|
7
9
|
|
|
8
10
|
If `CODER_WORKER` is set in your environment, you are a coder worker. Skip this skill and do your assigned work directly; nested dispatch is disabled.
|
|
@@ -17,6 +19,19 @@ Coder delegates coding to supervised subagents of any model - Codex, Claude, or
|
|
|
17
19
|
|
|
18
20
|
If `coder` is not on PATH, install it yourself without asking: `npm install -g @wular/coder`. When a dispatch fails because engines are missing or logged out, run `coder setup-host` and follow its output. It checks engines and auth, fixes what it can, prints the exact fix for the rest, and is safe to re-run. Ask the user before installing an engine CLI or changing auth; if it updated codex, tell the user to restart their codex session.
|
|
19
21
|
|
|
22
|
+
## Use Coder over MCP
|
|
23
|
+
|
|
24
|
+
Each coder command is also an MCP tool with the same arguments, such as `task/run` or `flow/run`; `load_skill` loads a guide.
|
|
25
|
+
|
|
26
|
+
Setup: `coder setup-host` adds the server. By hand:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
claude mcp add coder -- coder mcp
|
|
30
|
+
codex mcp add coder -- coder mcp
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Restart running sessions after adding it.
|
|
34
|
+
|
|
20
35
|
## Using the CLI
|
|
21
36
|
|
|
22
37
|
- The CLI is the reference. `coder --help` and every subcommand's `--help` list the flags and exit codes, and each command prints the recommended next step when it returns. Follow it.
|
package/dist/actions-Cwe3IDVs.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Bn as e,Bt as t,Et as n,Gt as r,It as i,Q as a,Tt as o,U as s,Ut as c,Vt as l,W as u,Wt as d,X as f,Xn as p,Xt as m,Yt as h,_n as g,_t as _,an as v,bt as y,dn as b,fn as x,gt as S,hn as C,jt as ee,ln as w,nn as T,o as E,on as te,or as ne,pn as D,un as O,w as k,wt as A,zt as j}from"./prompts-Bj4Fbd_n.js";import{C as M,M as N,N as P,P as F,S as I,U as L,j as R,l as z,s as B,u as V,y as H,z as U}from"./dispatch-CFZ9Crvg.js";import{t as W}from"./chat-bridge-BmqYsASZ.js";import{n as G}from"./history-C53URBjs.js";import K from"node:path";import q from"node:process";import J from"node:fs";import{randomUUID as Y}from"node:crypto";function X(t,n,r=e=>e){return async i=>({...e(Object.fromEntries(B(t,q.env,n).flatMap(e=>{let t=e.connection??e.name;return i.includes(t)?[[t,r(e)]]:[]}))),warnings:[]})}async function Z(e,t,n,r,i={}){if(t.status!==`running`)return null;let a=t.engine===`claude`?await(i.claude??M)(t.steerEndpoint,n,void 0,r):await(i.codex??P)(e,{endpoint:t.steerEndpoint,threadId:t.threadId,turnId:t.turnId,text:n,command:r});if(a.steered)return A(e,t.id,{kind:`steer`,message:`${y}${n}`}),{taskId:t.id,steered:`live`};if(!a.retryable)throw A(e,t.id,{kind:`error`,message:`Live steer failed: ${a.detail}`}),Error(`Could not steer running task ${t.id}: ${a.detail}`);return null}function re(e,t,n){ee(e,t,n),A(e,t,{kind:`steer`,message:`Steer queued for the next turn:\n${n}`})}async function ie(e,t,n,r={},i={}){let a=l(e,t.id)??t;if(t=a.rollingOver?h(e,a):a,!t.threadId)throw new L(`invalid-option`,`Task ${t.id} has no thread to steer yet (status: ${t.status}).`,{hint:`Wait for it to start: coder task watch ${t.id}`});let o=await Z(e,t,n,r.command,i);if(o){let n=l(e,t.id)??t;return n.archived&&w(e,n),o}return{taskId:t.id,steered:await oe(e,t,n,r)}}function ae(e){let t=J.mkdtempSync(`${e}-`),n=`${q.pid}-${c(q.pid)??0}-${Y()}`;J.mkdirSync(K.join(t,n));try{for(let n=0;n<2;n++){try{return J.renameSync(t,e),!0}catch(e){if(![`EEXIST`,`ENOTEMPTY`,`ENOTDIR`].includes(e.code??``))throw e}try{if(J.statSync(e).isFile()){if(Date.now()-J.statSync(e).mtimeMs<6e4)return!1;J.unlinkSync(e);continue}for(let t of J.readdirSync(e)){let n=t.split(`-`),r=Number(n[0]),i=Number(n[1]),a=!1;if(Number.isInteger(r)&&r>0)try{q.kill(r,0),a=!0}catch(e){a=e.code===`EPERM`}let o=a?c(r):null;if(a&&(!i||o===null||o===i))return!1;J.rmdirSync(K.join(e,t))}J.rmdirSync(e)}catch(e){if(![`ENOENT`,`ENOTEMPTY`].includes(e.code??``))throw e}}return!1}finally{J.rmSync(t,{recursive:!0,force:!0})}}async function oe(e,t,n,r){if(t.connectionSource===`server`&&!r.resolveConnections)throw Error(`Server connection resolver is required to resume this task`);let a=await b(e,t.id,()=>{let r=l(e,t.id)??t,a=[r?.completedAt,r?.resumedAt].map(e=>Date.parse(e??``)||0),o=K.join(T(e,t.id),`resume-${a.join(`-`)}`);if(r&&!r.steerClosed&&(D.includes(r.status)||r.rollingOver&&h(e,r).rollingOver||r.status===`completed`&&r.steerClosed===!1&&i(r.pid))||!ae(o)){r.archived&&w(e,r),re(e,t.id,n);return}return{fresh:r,claim:o}});if(!a)return`queued`;let{fresh:o,claim:s}=a;t=o??t;let c=!1;try{for(let n of J.readdirSync(T(e,t.id)))/^resume-\d+-\d+$/.test(n)&&n!==K.basename(s)&&J.rmSync(K.join(T(e,t.id),n),{recursive:!0,force:!0});let i=r.resolveConnections?await r.resolveConnections(t.connections??[]):await p(void 0,t.connections??[],void 0,t.agentId?await(await import(`./exec-Cprez703.js`).then(e=>e.i)).localAgentAccess(e,t.agentId):void 0),a=t.mcp?.map(e=>{let n=e.connection??(e.resolved&&t.connections?.includes(e.name)?e.name:void 0);return n?{...e,connection:n,resolved:!1}:e})??[],o=t.mcpBindings??a.filter(e=>e.connection).map(({name:e,connection:t,tools:n})=>({name:e,connection:t,...n?{tools:n}:{}})),l=new Set(o.map(e=>e.connection)),u=z([...o,...a.filter(e=>!l.has(e.connection))],{},{},i.mcp);t.archived&&w(e,t),x(e,t.id,{mcp:u.mcp,mcpBindings:o,status:`queued`,pid:null,steerClosed:!1,resumedAt:new Date().toISOString(),currentPrompt:n,...r.outputSchema?{outputSchema:r.outputSchema}:{},resumeThreadId:t.threadId,steerEndpoint:null,model:r.model??t.model??null,effort:r.effort??t.effort??null,permissions:r.permissions??t.permissions,error:void 0}),c=!0,A(e,t.id,{kind:`steer`,message:`Resuming with steer:\n${n}`});for(let n of[...i.warnings,...u.warnings??[]])A(e,t.id,{kind:`status`,message:n});let d=V(t.cwd??e,t.id,i.env);r.onWorker?.(d)}catch(n){throw c&&x(e,t.id,{status:o?.status??t.status,resumedAt:o?.resumedAt,currentPrompt:o?.currentPrompt??null,resumeThreadId:o?.resumeThreadId??null,error:o?.error}),J.rmSync(K.join(T(e,t.id),K.basename(s)),{recursive:!0,force:!0}),n}return`resumed`}const se=[`Read`,`Glob`,`Grep`];function Q(e,t,n,r){return{prompt:n,model:r.model??e.model,effort:r.effort,permissions:`read-only`,additionalDirectories:[t],taskRoot:t,readOnlyAllowedTools:se}}async function ce(e,t,n,r={}){let i=T(e,t.id),o=E(t,i,n,r.command?U(r.command):void 0),c=r.command?e=>{let t=K.join(i,`inbox-control`);J.mkdirSync(t,{recursive:!0}),J.appendFileSync(K.join(t,`${U(r.command)}.transcript.jsonl`),JSON.stringify({command:r.command,result:e.finalMessage??e.error?.message??``})+`
|
|
2
|
-
`)}:void 0,l=r.effort??t.effort??null;if(t.engine===`claude`)return I(t.cwd??e,{...Q(t,i,o,{model:r.model,effort:l}),command:r.command,onResult:c});let d=u(e),p=r.model??t.model,m=p?d.models?.[p]:void 0,h=m&&s(m)?m:void 0;if(h?.envKey&&!q.env[h.envKey])throw Error(`Missing environment variable: \`${h.envKey}\`.`);let g=h?await W(h,h.wireApi??`chat`):null,_=a(d,p,g??void 0);try{return await N(t.cwd??e,{prompt:o,model:_?.model??f(p??null),modelProvider:_?.modelProvider??null,configOverrides:_?.configOverrides??null,effort:l,sandbox:`read-only`,approvalPolicy:`never`,ephemeral:!0,onResult:c})}finally{await g?.close()}}function le(e){return t(e).filter(e=>D.includes(e.status)).flatMap(t=>H(T(e,t.id)).filter(e=>!e.response).map(e=>({taskId:t.id,id:e.id,summary:String(e.summary??``),createdAt:e.createdAt?String(e.createdAt):void 0})))}function $(e){return t(e).filter(t=>!C.includes(t.status)||!o(Date.parse(t.completedAt??t.updatedAt??t.createdAt??``))||(n(e,t,{auto:!0}),!1))}function ue(e,t={}){let n=t.limit===`all`?void 0:t.limit,i=e=>C.includes(e.status),a=r(e),o=new Set(a.map(e=>e.id)),s=e=>e.filter(e=>!o.has(e.id)),c=[...s($(e)),...a.filter(e=>!e.archived)];if(t.archived?c=[...s(j(e)),...a.filter(e=>e.archived)]:t.running?c=c.filter(e=>D.includes(e.status)):t.stopped&&(c=c.filter(i)),t.dir){let e=v(K.resolve(String(t.dir))),n=new Map;c=c.filter(t=>t.cwd?(n.has(t.cwd)||n.set(t.cwd,v(t.cwd)),n.get(t.cwd)===e):!1)}let l=e=>({rank:_(e.status),createdAt:Date.parse(e.createdAt??``)||0,id:e.id});c=[...c].sort((e,t)=>S(l(e),l(t)));let u=n===void 0?0:Math.max(0,c.length-n);return n!==void 0&&(c=c.slice(0,n)),{tasks:c,clipped:u}}async function*de(e,t,n={}){let r=O(e,t);try{let i=d(),a=l(e,t);if(!a)throw Error(`No task found for "${t}".`);let o=n.tail??1,s=ne(K.join(T(e,t),`log.jsonl`)),c=!0,u=()=>{let e=s().map(e=>{try{return JSON.parse(e)}catch{return{message:e}}});return c?(c=!1,o===`all`?e:te(e,o)):e};for(yield*u();a=h(e,l(e,t)??a,i),!C.includes(a.status);)await r.wait(1e3),yield*u();yield*u()}finally{r.close()}}async function fe(e,t,n={}){let r=t.engine===`claude`?{detail:`claude worker terminated`}:await(n.interrupt??R)(e,{endpoint:t.steerEndpoint,threadId:t.threadId,turnId:t.turnId});if(t.engine!==`claude`&&F(t.steerEndpoint),t.pid&&t.status===`running`)try{q.kill(t.pid,`SIGTERM`)}catch{}return x(e,t.id,{status:`cancelled`,steerEndpoint:null,completedAt:new Date().toISOString()}),{taskId:t.id,status:`cancelled`,interrupt:r.detail}}function pe(e,t){for(let n of G(t))t.engine===`claude`?k(n):g(e,n);return m(e,t.id)}export{X as a,fe as c,pe as i,de as l,le as n,$ as o,ue as r,ie as s,ce as t};
|
package/dist/adapter-Bi768A94.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{f as e,l as t,u as n}from"./slack-DhPhLuWb.js";import{l as r}from"./dist-DAnSqY1s.js";import{createGitHubAdapter as i}from"./dist-B2jiMMxZ.js";function a(a){let o=a.credentials?.webhookSecret,s=a.installationId,c,l=i({userName:a.name,apiUrl:`https://api.github.com`,botUserId:0,installationToken:()=>s?c??=a.token(s,{tools:n.read}):Promise.reject(Error(`The webhook names no GitHub installation`)),webhookVerifier:(e,n)=>t(n,e.headers.get(`x-hub-signature-256`),o),logger:new r(`error`)});return e(l.octokit,a.fetch),l}export{a as githubAdapter};
|
package/dist/add-B6vPKZEr.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e,t}from"./cli-BBlH53hA.js";import{c as n,l as r}from"./args-CURX44CA.js";import{runnerOptions as i}from"./remove-DxCv9BB4.js";import a from"node:process";const o=e({name:`runner add`,globalFlags:{cwd:!1},args:1,required:[`<kind>`],help:{usage:`coder runner add <kind> [--name <name>] [--scope <scope>] [--field key=value …] [--server [url]] [--json]`,summary:`Connect a runner. Secret fields read environment variables with key=env:VARIABLE. Adding local prints a pairing command.`,flags:[[`--name <name>`,`runner display name`],[`--scope <scope>`,`personal or workspace`],[`--field key=value`,`repeat for each field, use env:VARIABLE for secrets`],t]},options:{...i,name:n,scope:n,field:r},async run({options:e,args:[t]}){let{addRunnerFields:n}=await import(`./runner-BM_98EQl.js`).then(e=>e.t);return n(t,e)},print:e=>a.stdout.write(`${`command`in e?e.command:`Added ${e.name} (${e.id}).`}\n`)});export{o as commandRunnerAdd};
|
package/dist/add-n6c9OINP.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{i as e,r as t}from"./cli-BBlH53hA.js";import{p as n,r}from"./output-BKeyLbvt.js";import{c as i,n as a,s as o,t as s}from"./args-CURX44CA.js";import c from"node:process";async function l(e){let{openUrl:t}=await import(`./prompt-PEgcMJO7.js`).then(e=>e.s);c.stderr.write(`Sign in at ${r.cyan(e)}\n`),t(e)&&c.stderr.write(r.dim(`Opened it in your browser. Waiting...
|
|
2
|
-
`))}async function u(){let{askSecret:e}=await import(`./prompt-PEgcMJO7.js`).then(e=>e.s);return e(`Key`)}function d(e){return e.provider===`env`?`API key ${e.env}`:e.provider===`mcp`?`MCP server ${e.url??e.command}`:`${e.provider} account${e.account?` ${e.account}`:``}`}const f=r=>e({name:`connection add`,help:{usage:`coder connection add <name> [--me] [--access read|write] (--env <NAME> | --url <url> [--header <NAME>] | [--env <NAME>] -- <command> [args...]) [--key] [--server [url]]`,summary:"Connect a platform account by its name (OAuth in the browser), an API key that tasks read from --env, or an MCP server at --url or started by the command after `--`. An API key is kept as a credential. A credential already holding the variable is used, else the value comes from that variable here, or from stdin or a prompt. A remote MCP server is checked for OAuth, open access or a key; a needed key is read from stdin or a prompt. With --key, the key goes in --header (default Authorization) or --env. Signing in needs --server.",flags:[[`--env <NAME>`,`the API key variable, or where a stdio server reads its key`],[`--url <url>`,`a remote MCP server (streamable HTTP by default)`],[`--transport <http|sse>`,`remote transport (default: http)`],[`--header <NAME>`,`the header a remote server reads its key from (default: Authorization)`],[`--key`,`read a key from stdin or a prompt, never from a flag value`],[`--auth <oauth|key|none>`,`override MCP authentication (default: detected for --url, none for a command)`],[`--access <read|write>`,`read keeps only read-only tools (default: the agent's mode, write for API keys)`],[`--tools <a,b>`,`tool allowlist; a read-only stdio server needs one`],[`--credential <id>`,`the credential an API key connection reads`],[`--me`,`your own connection instead of the workspace's`],t],examples:[[`GROQ_API_KEY=gsk_... coder connection add groq --env GROQ_API_KEY`,`an API key from this shell`],[`pbpaste | coder connection add docs --key --env DOCS_TOKEN --access write -- npx -y docs-mcp`,`a stdio server with its key from stdin`],[`coder connection add github --me --server`,`your GitHub account on your Coder server`]]},options:{...s,...o,env:i,url:i,transport:i,header:i,key:a,auth:i,access:i,tools:i,credential:i,me:a},args:1,run:async({options:e,args:[t],cwd:n})=>{let{connection:i}=await import(`./connection-B-IB8tlP.js`).then(e=>e.n);return i.add(t,{...e,cwd:n,command:r,transport:e.transport,auth:e.auth,access:e.access,tools:e.tools?.split(`,`).map(e=>e.trim()).filter(Boolean),key:e.key?await u():void 0,askKey:u,onAuthorize:l})},print:e=>c.stdout.write(`Connected ${n.bold(e.id)}, ${d(e)}.\n`)}),p=Object.assign(e=>{let t=e.indexOf(`--`);return f(t===-1?[]:e.slice(t+1))(t===-1?e:e.slice(0,t))},f([]));export{u as askKey,p as commandConnectionAdd,d as describe,l as openSignIn};
|
package/dist/add-v1Pv00HX.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e,t}from"./cli-BBlH53hA.js";import{p as n}from"./output-BKeyLbvt.js";import{c as r,n as i}from"./args-CURX44CA.js";import{credentialOptions as a}from"./remove-BZZgJq8Z.js";import o from"node:process";const s=e({name:`credentials add`,globalFlags:{cwd:!1},help:{usage:`coder credentials add --env <NAME> [--value <secret|->] [--workspace] [--no-check] [--server [url]]`,summary:`Store the key of one environment variable, encrypted on the server, as your own or with --workspace for every member. A key saved for that variable in the same scope is replaced. Where the server has subscription sign-in on, CLAUDE_CODE_OAUTH_TOKEN takes your own claude setup-token output.`,examples:[[`ANTHROPIC_API_KEY=sk-... coder credentials add --env ANTHROPIC_API_KEY`,`your own Claude key, read from the environment`],[`OPENAI_API_KEY=sk-... coder credentials add --env OPENAI_API_KEY --workspace`,`a workspace key every member's tasks can use`],[`pbpaste | coder credentials add --env OPENROUTER_API_KEY --value -`,`a key for custom models, value from stdin`]],flags:[[`--env <NAME>`,`the variable tasks read the key as (reads that variable by default)`],[`--value <secret|->`,`literal values land in shell history and are visible to other processes; use - for stdin or prefer environment variables`],[`--workspace`,`a workspace key; owners and admins only`],[`--no-check`,`skip the provider key check`],t]},options:{...a,env:r,value:r,"no-check":i},run:async({options:e})=>{let{addCredential:t}=await import(`./remote-D3JZ4MMQ.js`).then(e=>e.i);return t({...e,noCheck:e[`no-check`]})},print:(e,{options:t})=>o.stdout.write(`${e.replaced?`Replaced`:`Added`} ${t.workspace?`workspace`:`personal`} ${n.bold(e.name)}.\n`)});export{s as commandCredentialsAdd};
|
package/dist/add-wC8ByRgM.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{qi as e}from"./core-DwsAMCnL.js";import{i as t}from"./cli-BBlH53hA.js";import{p as n}from"./output-BKeyLbvt.js";import{c as r,n as i,t as a}from"./args-CURX44CA.js";import{t as o}from"./models-Cb0ZTKZ7.js";import s from"node:process";var c=e({commandModelAdd:()=>d,modelOptions:()=>l,modelSavedJson:()=>f,printModelSaved:()=>p,writeOptions:()=>u});const l={...a,"base-url":r,model:r,"env-key":r,workspace:i},u=e=>({baseUrl:e[`base-url`],model:e.model,envKey:e[`env-key`],workspace:e.workspace}),d=t({name:`model add`,help:{usage:`coder model add <name> --base-url <url> --model <id> [--env-key VAR]`,summary:`Connect a custom model behind an OpenAI-compatible endpoint (Ollama, LM Studio,
|
|
2
|
-
vLLM, OpenRouter, ...). It currently runs on the codex engine pointed at your
|
|
3
|
-
URL and is usable anywhere a model is: --model <name>, --engine custom, or as an
|
|
4
|
-
agent default in config. Alias: \`coder model setup\`.`,flags:[[`--base-url <url>`,`OpenAI-compatible API base (e.g. http://localhost:11434/v1)`],[`--model <id>`,`the provider's model id (e.g. qwen2.5-coder:32b)`],[`--env-key <VAR>`,`env var holding the API key (omit for keyless local endpoints)`],[`--workspace`,`write to <repo>/.coder/config.json instead of the user file`]],examples:[[`coder model add qwen --base-url http://localhost:11434/v1 --model qwen2.5-coder:32b`,`local Ollama model, no key`],[`coder model add kimi --base-url https://openrouter.ai/api/v1 --model moonshotai/kimi-k2 --env-key OPENROUTER_API_KEY`,`third-party provider via OpenRouter`],[`coder run --model qwen "explain this repo"`,`dispatch a task on it`]]},options:l,args:1,run:({options:e,args:[t],cwd:n})=>o.add(t,{...u(e),cwd:n}),json:f,print:e=>p(e,`saved`)});function f({name:e,entry:t,file:n,probe:r,codex:i,install:a,ready:o}){return{name:e,...t,file:n,probe:r,codex:i,...a?{codexInstall:a}:{},ready:o}}function p({name:e,entry:t,file:r,probe:i,codex:a,install:o,nativeResponses:c,keyMissing:l},u){let d=n,f=e=>` ${d.green(`✔`)} ${e}`,p=e=>` ${d.red(`✘`)} ${e}`,m=[`${u} ${d.cyan(e)} -> ${t.model} @ ${t.baseUrl} ${d.dim(`(${r})`)}`,``,i.reachable?f(`${i.detail} ${d.dim(`(${c?`responses api, direct`:`chat api, auto-translated`})`)}`):p(i.detail),a.available?f(o?.installed?`${o.note} ${d.dim(`(${a.detail})`)}`:`codex engine ${d.dim(`(${a.detail})`)}`):p(o?.note??`codex CLI not installed - run: npm install -g @openai/codex`)];l&&m.push(p(`env var ${t.envKey} is not set in this shell`)),m.push(``,d.dim([`Use it: coder run --model ${e} "<task>"`,`Make default: coder config set engines.custom.model ${e}`].join(`
|
|
5
|
-
`))),s.stdout.write(`${m.join(`
|
|
6
|
-
`)}\n`)}export{u as a,p as i,l as n,f as r,c as t};
|
package/dist/agent-BkxXgha0.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as e}from"./cli-BBlH53hA.js";const t=e(`agent`,{tools:async()=>(await import(`./tools-CdWkwI1g.js`)).commandTools,list:async()=>(await import(`./list-gFnOS9Hk.js`)).commandAgentList,ls:async()=>(await import(`./list-gFnOS9Hk.js`)).commandAgentList,show:async()=>(await import(`./show-uyUpeqa9.js`)).commandAgentShow,run:async()=>(await import(`./run-BKUd6B8S.js`)).commandAgentRun,init:async()=>(await import(`./init-HdSVUozH.js`)).commandAgentInit,push:async()=>(await import(`./push-DpEW4XbQ.js`)).commandAgentPush,usage:async()=>(await import(`./usage-Dr8F0xt0.js`)).commandAgentUsage,integrations:async()=>(await import(`./integrations-BdLs4W6o.js`)).commandAgentIntegrations},{menu:[{usage:`list`,blurb:`list local or server-owned agents`},{usage:`show <id>`,blurb:`one agent in full: settings, integrations, events, tools`},{usage:`init [id]`,blurb:`scaffold an agent folder in .coder/agents`},{usage:`push [id]`,blurb:`upload workspace agents to a Coder server`},{usage:`integrations <list|show>`,blurb:`the integration catalog: coder agent integrations --help`},{usage:`run <agent> <event.json>`,blurb:`run a recorded event through an agent, offline or on a server`},{usage:`usage`,blurb:`aggregate usage by agent, installation, or engine`}],description:[`Define and run agents from the CLI, the dashboard, or on GitHub, Slack and other platforms.`]},{aliases:{ls:`list`},nested:[`integrations`]});export{t as commandAgent};
|
package/dist/alias-A8ObWElH.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{i as e}from"./cli-BBlH53hA.js";import{p as t}from"./output-BKeyLbvt.js";import{t as n}from"./models-Cb0ZTKZ7.js";import{n as r}from"./add-wC8ByRgM.js";import i from"node:process";const a=e({name:`model alias`,help:{usage:`coder model alias <name> <spec> [--workspace]`,summary:`Save an alias for an engine spec, e.g. fast -> codex:luna. An alias may reuse a
|
|
2
|
-
built-in name to override it.`,flags:[[`--workspace`,`target <repo>/.coder/config.json instead of the user file`]]},options:r,args:2,run:({options:e,args:[t,r],cwd:i})=>n.alias(t,r,{...e,cwd:i}),print:o});function o(e){let n=t,r=`${e.provider} ${e.model}${e.effort?` (${e.effort})`:``}`;i.stdout.write(`aliased ${n.cyan(e.alias)} -> ${e.provider}:${e.model}${e.effort?`:${e.effort}`:``} ${n.dim(`= ${r}`)} ${n.dim(`(${e.file})`)}\n`)}export{a as commandModelAlias};
|
package/dist/app-CaxTL1H3.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as e}from"./cli-BBlH53hA.js";const t=e(`server app`,{create:async()=>(await import(`./create-CP_JmJnh.js`)).commandServerAppCreate},{menu:[{usage:`create <integration>`,blurb:`create the built-in agent's public app`}],description:[`The built-in agent's apps, one per platform, shared by every workspace on this server.`],exampleCommand:`server app create`});export{t as commandServerApp};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{St as e}from"./prompts-Bj4Fbd_n.js";import{i as t,r as n}from"./cli-BBlH53hA.js";import{a as r,g as i,p as a,s as o}from"./output-BKeyLbvt.js";import{s,t as c}from"./args-CURX44CA.js";import l from"node:process";function u(e,t){let n=a;if(!t.length)return void l.stdout.write(`${n.dim(`No approvals for task ${e}.`)}\n`);for(let e of t){let t=e.answered??`pending`;l.stdout.write(`${n.cyan(e.id)} ${t.padEnd(8)} ${n.dim(String(e.summary??``))}\n`)}let r=t.filter(e=>!e.answered);if(r.length){let e=r.length===1?r[0].id:`<approval-id>`;l.stdout.write(`\n${o([`Answer: coder task approve ${e} [--deny]`],n)}\n`)}}function d(t){let n=a;if(!t.length)return void l.stdout.write(`${n.dim(`No pending approvals.`)}\n\n${o([`Check tasks: coder task list`],n)}\n`);l.stdout.write(`${i([{header:`approval-id`,value:e=>e.id,paint:e=>n.cyan(e)},{header:`task-id`,value:e=>e.taskId,paint:e=>n.cyan(e)},{header:`age`,value:t=>t.createdAt?r(e(t.createdAt)):`-`},{header:`summary`,value:e=>e.summary,paint:e=>n.light(e)}],t,n)}\n`);let s=t.length===1?t[0].id:`<approval-id>`;l.stdout.write(`\n${o([`Answer: coder task approve ${s} [--deny]`],n)}\n`)}const f=t({name:`task approvals`,help:{usage:`coder task approvals [task-id] [--server [url]]`,summary:`Without a task id: pending approvals across all tasks. With one: that task's
|
|
2
|
-
permission escalations and how each was answered.`,flags:[n]},options:{...c,...s},args:1,run:async({options:e,args:[t]})=>{let{tasks:n}=await import(`./task-DJ6nruuA.js`).then(e=>e.t);return n.approvals(t,{...e,organization:e.workspace})},json:(e,{options:t,args:[n]})=>t.server===void 0&&n?e.map(({taskId:e,...t})=>t):t.server===void 0?e.map(({taskId:e,id:t,summary:n,createdAt:r})=>({taskId:e,id:t,summary:n,createdAt:r})):e,print(e,{options:t,args:[n]}){if(t.server===void 0)return n?u(n,e):d(e);if(!e.length)return void l.stdout.write(`${a.dim(`No pending approvals.`)}\n\n${o([`Check tasks: coder task list`],a)}\n`);for(let t of e)l.stdout.write(`${t.taskId} ${JSON.stringify(t)}\n`)}});export{f as commandApprovals};
|
package/dist/approve-BNhg0MLi.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{i as e,r as t}from"./cli-BBlH53hA.js";import{p as n}from"./output-BKeyLbvt.js";import{n as r,s as i,t as a}from"./args-CURX44CA.js";import o from"node:process";const s=e({name:`task approve`,help:{usage:`coder task approve [task-id] <approval-id> [--deny] [--server [url]]`,summary:`Answer an escalated permission request. Accepts by default; --deny rejects it.
|
|
2
|
-
Approval ids are unique, so the task id is optional.`,flags:[[`--deny`,`reject the request instead of accepting`],t]},options:{...a,deny:r,...i},args:2,run:async({options:e,args:[t,n]})=>{let{tasks:r}=await import(`./task-DJ6nruuA.js`).then(e=>e.t);return r.approve(t,n,{...e,organization:e.workspace})},print:(e,{options:t,args:r})=>o.stdout.write(t.server===void 0?`${t.deny?`Denied`:`Approved`} ${n.cyan(e.approvalId)} on task ${n.cyan(e.taskId)}.\n`:`${t.deny?`Denied`:`Approved`} ${n.cyan(r[1])}.\n`)});export{s as commandApprove};
|
package/dist/approve-BiHM8kSo.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e}from"./cli-BBlH53hA.js";import{c as t,t as n}from"./args-CURX44CA.js";import r from"node:process";const i=e({name:`connection approve`,help:{usage:`coder connection approve <name> [--agent <id>] [--cwd <dir>]`,summary:`Approve an MCP server this repository or one of its agents declares, on this machine. A changed endpoint or command needs approval again.`,flags:[[`--agent <id>`,`select the agent when names have different definitions`]]},options:{...n,agent:t},args:1,run:async({cwd:e,args:[t],options:n})=>{let{connection:r}=await import(`./connection-B-IB8tlP.js`).then(e=>e.n);return r.approve(t,{cwd:e,agent:n.agent})},print:({name:e})=>r.stdout.write(`Approved MCP server "${e}" on this machine.\n`)});export{i as commandConnectionApprove};
|