@wular/coder 0.4.12 → 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 +1 -1
- package/dist/actions-D12xDiQS.js +4 -0
- package/dist/{adapter-CVd5klMH.js → adapter-Bz0E-DAY.js} +2 -2
- package/dist/{adapter-CU9H4g6c.js → adapter-CsacmMmv.js} +1 -1
- package/dist/adapter-DzpdWewB.js +1 -0
- package/dist/{agent-BA6xr8QY.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-DuXnSNf9.js → auth-BhpnOCbn.js} +1 -1
- package/dist/builtin/coder/agent.json +0 -1
- package/dist/builtin/coder/system.md +1 -1
- package/dist/{chat-CgQdDRhs.js → chat-CSepnsrK.js} +1 -1
- package/dist/cli.js +13 -13
- 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/package.json +1 -1
- package/dist/dash/standalone/server/build-index.json +1 -1
- package/dist/dash/standalone/server/manifest.json +1281 -1261
- package/dist/dash/standalone/server/modules-server-server-react-server/src/agent/context/{turn.dac8eb211c500271.js → turn.6bb73458768e222e.js} +4 -16
- 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.c6efd5432c1a4a75.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.a795379254982121.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.a2cb6d1f1714259a.js → page.4b23e9df21433bd3.js} +9 -9
- 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.996172c951739b35.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.aa9e157d141481d7.js → agent-settings-form.ee0bb2dc4d403ec3.js} +8 -8
- 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.44d886e60ae04303.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.521c9e7b8d77f557.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.828cfb8112404792.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.dd11f2618e08becd.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.776856fe1ed1a642.js → editor.471af698b8060eba.js} +31 -20
- 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.7d84ef2b178b34d2.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.47cbb34ea8d2e33f.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.abed2a8424ef3da0.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.dc294bb94b7437e1.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.5072aacdce127689.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.0a1b5878dccd3b37.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.1162926f7498c732.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.1d687c986db53a73.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.d5d8cb5033823c9c.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-71685b2d5ad9f359.js → action-a76e495fb39a73d3.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{agent-pills-15da36c2cb81991b.js → agent-pills-4d3c6a2aa9eb1522.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{agent-settings-form-6e6a87d6e673daa8.js → agent-settings-form-f7231a66e391f6b6.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{agent-toggle-ca98586e3b4ce9ae.js → agent-toggle-d7d27123f2070f18.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{agents-grid-29c399e46b4e9e2b.js → agents-grid-185ecb3d86c6c447.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{back-fa9d6e37f9828093.js → back-e29cb10f5548ddae.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{combo-86f3e11d1f6f6cee.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-85e0ec7163ae18b7.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-c29a1db0130638d2.js → confirm-a78147b6ecef3847.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{connect-apps-b73490e04ae6398d.js → connect-apps-696726aedab42c96.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{connect-repositories-0de82daaf654b1d3.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-445c11202f136275.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-a0630599f907b30e.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-b82a0f895266791c.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-affaaeff366b1725.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-57db7a1f05b7308c.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-5cf575a5e6921a5d.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/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-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-b1c46587301ef397.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-21cb854e6a7108a7.js → versions-list-f8f2e71df691efda.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-576c06599e241231.js → pnext-client-6cd93f9bd4cf6ffd.js} +1 -1
- 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-c2c30dcb6dc31d60.js → pnext-client-eb62f461d0c32266.js} +1 -1
- package/dist/{discover-CPZdprlQ.js → discover-CHfF4cEz.js} +1 -1
- package/dist/{docs-x-l7gjFE.js → docs-KHc0_gFX.js} +1 -1
- package/dist/{drive-Y-ZlgiUW.js → drive-Bwl7Bjme.js} +1 -1
- 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 +1 -1
- package/dist/flow/builtin/review/index.js +3 -3
- 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/{index-BdkdNI1v.d.ts → index-ChcxzFdB.d.ts} +50 -185
- 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-BfxcatXH.js → maintenance-CKCIWOvn.js} +1 -1
- package/dist/{match-Bq4sDuCy.js → match-CufHAZQH.js} +1 -1
- package/dist/mcp-BkwmRHI9.js +2 -0
- package/dist/mcp-CGU7aoJ-.js +1 -0
- package/dist/{mcp-Bta09QCU.js → mcp-DAHbhfUh.js} +1 -1
- package/dist/models-CzggS7p2.js +1 -0
- package/dist/output-SNqdgh9A.js +17 -0
- package/dist/permission-MWFjKxqX.js +1 -0
- package/dist/{prompt-onpyIyXK.js → prompt-CIx4jwQF.js} +1 -1
- package/dist/refresh-CxsaX5R9.js +1 -0
- package/dist/remote-C9Hj2cby.js +2 -0
- package/dist/remote-HUZCWgfl.js +3 -0
- package/dist/{runner-CTFTuaz_.js → runner-DYysY1-G.js} +1 -1
- package/dist/runner.json +1 -1
- package/dist/runner.tgz +0 -0
- package/dist/runners-CfaGE0nV.js +36 -0
- package/dist/schema.js +1 -1
- package/dist/sdk.d.ts +285 -104
- 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-CM4UCsId.js → tools-FVop8XYG.js} +1 -1
- 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-JMNPv8f6.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 +1 -1
- package/docs/cli/agent.md +6 -6
- package/docs/cli/connection.md +5 -5
- package/docs/cli/flow.md +9 -9
- package/docs/cli/index.md +3 -3
- package/docs/cli/model.md +12 -10
- package/docs/cli/runner.md +1 -1
- package/docs/cli/server.md +2 -2
- package/docs/cli/task.md +23 -21
- package/docs/config.md +5 -15
- package/docs/flows.md +1 -1
- package/docs/models.md +7 -6
- package/docs/sdk.md +29 -29
- package/docs/self-host.md +25 -25
- package/package.json +2 -2
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/dist/actions-BT7_eKXm.js +0 -10
- package/dist/adapter-BT8ECcRG.js +0 -1
- package/dist/apps-D-v5sQJk.js +0 -367
- package/dist/args-CbO_Ck9Z.js +0 -11
- package/dist/async-XNO3nqum.js +0 -3
- package/dist/cmd-DX5ByXo3.js +0 -119
- package/dist/connection-DNxi2btM.js +0 -1
- package/dist/context-65bOofts.js +0 -7
- 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/composer-910bb87127972f62.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/composer-data-5fed6c271a4791ca.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/connections-list-c50f58b4b28d10bb.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/create-link-6d64a2d5f9ce6de0.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/credentials-list-bee95799b2319b3b.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/defaults-52f30e83d7666f7a.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/editor-b9951819f21b2e43.js +0 -6
- package/dist/dash/standalone/static/assets/chunks/engines-list-2720c3e8fa12b2f7.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/instructions-fd7402ac5aa8b50e.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/list-d918f79562d497eb.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/models-list-12bc7aceaa52f5b0.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/outcome-dialog-b219595be320108a.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/platform-actions-1d27d2ba7eee9ff1.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/platform-actions-dba96dcb0f6513db.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/runners-list-36f8c5ecfcf8e9ae.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/secrets-list-d7dbafd24dd18481.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/segmented-8f809ebe712e92a7.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/shared-init-cc13a835f3508618.js +0 -2
- package/dist/dash/standalone/static/assets/chunks/shared-init-f475017dd5811e33.js +0 -5
- package/dist/dash/standalone/static/assets/chunks/side-toggle-0aa237eba3dfe9c1.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/task-681061023bdf0a49.js +0 -5
- package/dist/dash/standalone/static/assets/chunks/task-actions-c9e46e81604e85c5.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/task-view-134186a544917ceb.js +0 -5
- package/dist/dash/standalone/static/assets/chunks/tasks-list-352a3222d878de0f.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-05df74b071ddb0b3.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-2c19cca257f78ae6.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-2db05dfa62642a65.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-36b0d6085a073880.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-6aa0f19a30d58d63.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-6b30b71f452f2f07.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-6ccb4d4fff812db3.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-74eb465defba421e.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-8c692d12b2fd90d6.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-92e17d39063a9ced.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-93246aea268c2682.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-9954dcbc0c579e0d.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-c0dfa1cdde9a9855.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-c28d38d4aafd4af6.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-dbf741073e11eac0.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-e29194a27280333f.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-f8a7e692b27caad9.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-fc5b8cfcba2a9f63.js +0 -1
- package/dist/env-B9JG6gwo.js +0 -1
- package/dist/errors-XBA-Ls4n.js +0 -10
- package/dist/exec-iFssTO5V.js +0 -3
- package/dist/executor-Dt2FFT-y.js +0 -11
- package/dist/http-BZfjbiov.js +0 -1
- package/dist/integrations-DyInAa5g.js +0 -2
- package/dist/load-zhcrwSRF.js +0 -2
- package/dist/local-D55UkW93.js +0 -5
- package/dist/log-view-CL3_S0IQ.js +0 -3
- package/dist/mcp-CUITALl1.js +0 -1
- package/dist/models-C1O2DrXx.js +0 -1
- package/dist/output-D95NoAA9.js +0 -16
- package/dist/prompts-B8pKhMcu.js +0 -4
- package/dist/refresh-D-0K9fo3.js +0 -1
- package/dist/remote-CDm0YUU3.js +0 -3
- package/dist/runners-CYTicTb7.js +0 -36
- package/dist/serve-Bzs_lEg-.js +0 -1
- package/dist/serve-CWtLyyTz.js +0 -12
- package/dist/serve-DE6A-rBk.js +0 -4
- package/dist/slack-Bo5l13Rs.js +0 -5
- package/dist/task-BU1JEK9X.js +0 -7
- package/dist/task-CPzBITsp.js +0 -1
- package/dist/tools-BMaKWTa6.js +0 -1
- package/dist/turn-DMvPfhb5.js +0 -3
- package/dist/types-D_xnfP7m.js +0 -1
- package/dist/views-DEdKqLm_.js +0 -5
- package/dist/worker-BuP_Lem1.js +0 -9
- package/dist/worker-C1tuzq5n.js +0 -1
- /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/dist/sdk.d.ts
CHANGED
|
@@ -1,20 +1,164 @@
|
|
|
1
|
-
import { A as flowSdk,
|
|
1
|
+
import { A as flowSdk, B as review, Ct as SinceMessage, Dt as McpConfigEntry, Et as Effort, F as archiveRuns, I as deleteRuns, J as DiscoveredFlow, L as RunOptions, M as readTask, N as CoderError, Ot as Permission, P as RunResult$1, Q as FlowStep, R as RunSummary, St as Preset, Tt as CustomModelConfig, V as readTurnResults, X as FlowRecord, Y as FlowEvent, _t as RunnerSpec, at as TurnResult, bt as TaskTurn, ct as AppSync, dt as LocalFolders, ft as ProbeResult, gt as RunnerRow, ht as RunnerPairing, it as Task, j as TaskResult, kt as config$1, l as ReviewResult, lt as ConnectionRow, mt as RunnerKind, nt as Approval, ot as TaskLogEntry, pt as RunnerInput, r as ReviewArgs, rt as Availability, st as TokenUsage, ut as LocalFolder, vt as RunnerTest, wt as CoderConfig, xt as PlatformEvent, yt as RunnerUpdate, z as StopSummary } from "./index-ChcxzFdB.js";
|
|
2
2
|
import "zod/mini";
|
|
3
|
-
//#region src/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
3
|
+
//#region src/agent/types.d.ts
|
|
4
|
+
/** Per-integration wiring in a definition. `events` list = default behavior, map = event -> flow. */
|
|
5
|
+
/** Event value in a definition map: a flow name, or options. */
|
|
6
|
+
interface AgentEventOptions {
|
|
7
|
+
/** Flow to run; omit for the default agent. */
|
|
8
|
+
flow?: string;
|
|
9
|
+
/** Regex the event text must match (e.g. keywords on Slack `message`). */
|
|
10
|
+
match?: string;
|
|
11
|
+
/** May only narrow the agent's default permission for this event. */
|
|
12
|
+
permissions?: Permission;
|
|
13
|
+
/** `requester`: the task acts with the linked requester's own platform token. */
|
|
14
|
+
actAs?: 'requester';
|
|
15
|
+
}
|
|
16
|
+
interface AgentDefinitionIntegration {
|
|
17
|
+
events?: string[] | Record<string, string | true | AgentEventOptions>;
|
|
18
|
+
}
|
|
19
|
+
/** What an agent IS: `.coder/agents/<id>/agent.json` beside its system.md. */
|
|
20
|
+
interface AgentDefinition {
|
|
21
|
+
/** Display name used in replies; defaults to the id. */
|
|
22
|
+
name?: string;
|
|
23
|
+
description?: string;
|
|
24
|
+
engine?: string;
|
|
25
|
+
runner?: string;
|
|
26
|
+
model?: string;
|
|
27
|
+
effort?: Effort;
|
|
28
|
+
permissions?: Permission;
|
|
29
|
+
/** Read-only or Read-write on its handles and connections; defaults to `write`. */
|
|
30
|
+
access?: Preset;
|
|
31
|
+
/** MCP servers every task of this agent attaches, in the `.mcp.json` entry shape. */
|
|
32
|
+
mcp?: Record<string, McpConfigEntry>;
|
|
33
|
+
integrations: Record<string, AgentDefinitionIntegration>;
|
|
34
|
+
}
|
|
35
|
+
/** Per-integration caps in usage: `allowedEvents` intersects the definition's. */
|
|
36
|
+
interface AgentUsageIntegration {
|
|
37
|
+
allowedEvents?: string[];
|
|
38
|
+
}
|
|
39
|
+
/** How a repo RUNS an agent: one entry under `agents` in .coder/config.json. */
|
|
40
|
+
interface AgentUsage {
|
|
41
|
+
engine?: string;
|
|
42
|
+
model?: string;
|
|
43
|
+
effort?: Effort;
|
|
44
|
+
permissions?: Permission;
|
|
45
|
+
/** May only lower the definition's access. */
|
|
46
|
+
access?: Preset;
|
|
47
|
+
integrations?: Record<string, AgentUsageIntegration>;
|
|
48
|
+
/** Connections its tasks may use, by id; absent allows every connection the task is granted. */
|
|
49
|
+
connections?: string[];
|
|
50
|
+
/** Off in this workspace; the other settings stay for when it is enabled again. */
|
|
51
|
+
disabled?: boolean;
|
|
52
|
+
}
|
|
53
|
+
interface Agent {
|
|
54
|
+
id: string;
|
|
55
|
+
/** definition.name ?? id. */
|
|
56
|
+
name: string;
|
|
57
|
+
definition: AgentDefinition;
|
|
58
|
+
usage?: AgentUsage;
|
|
59
|
+
/** Absolute folder path when the agent's body is on disk; remote agents have none. */
|
|
15
60
|
dir?: string;
|
|
16
|
-
/**
|
|
17
|
-
|
|
61
|
+
/** Stored agent body, including system.md, when there is no on-disk folder. */
|
|
62
|
+
files?: Record<string, string>;
|
|
63
|
+
builtin: boolean;
|
|
64
|
+
}
|
|
65
|
+
/** A platform event, already typed by its integration. */
|
|
66
|
+
interface AgentEvent extends PlatformEvent {
|
|
67
|
+
/** Whether the agent must answer: a mention, a 1:1 direct message, or a handle that answers every prompt. */
|
|
68
|
+
mustReply?: boolean;
|
|
69
|
+
/** The event's place in its conversation, gathered at dispatch; `more` counts messages past `since`'s cap. */
|
|
70
|
+
conversation?: {
|
|
71
|
+
index?: number;
|
|
72
|
+
since?: SinceMessage[];
|
|
73
|
+
more?: number;
|
|
74
|
+
/** Internal acknowledgement watermark of the recorded unseen snapshot. */
|
|
75
|
+
unseen?: {
|
|
76
|
+
version: number;
|
|
77
|
+
epoch?: string;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
/** Per-installation settings a user sets from the platform (`/setup` in Slack). */
|
|
82
|
+
interface InstallationSettings {
|
|
83
|
+
model?: string;
|
|
84
|
+
engine?: string;
|
|
85
|
+
effort?: string;
|
|
86
|
+
}
|
|
87
|
+
/** Where a task came from: a Coder surface, or the id of the integration whose event started it. */
|
|
88
|
+
type TaskSource = 'dashboard' | 'cli' | 'schedule' | (string & {});
|
|
89
|
+
interface AgentTask {
|
|
90
|
+
cwd?: string;
|
|
91
|
+
id: string;
|
|
92
|
+
name?: string;
|
|
93
|
+
source: TaskSource;
|
|
94
|
+
agent: string;
|
|
95
|
+
/** Flow name, or `default` for the built-in single-task behavior. */
|
|
96
|
+
flow: string;
|
|
97
|
+
runner: RunnerKind;
|
|
98
|
+
/** Registered `http` runner the task routes to. */
|
|
99
|
+
runnerId?: string;
|
|
100
|
+
/** Effective permission after host, usage, and event narrowing. */
|
|
101
|
+
permissions?: Permission;
|
|
102
|
+
/** The platform event, or for a dashboard or CLI task on a repo, that repo through its install. */
|
|
103
|
+
event?: AgentEvent;
|
|
104
|
+
/** What a dashboard or CLI task asks; the newest turn after a continue. */
|
|
105
|
+
prompt?: string;
|
|
106
|
+
/** Flow arguments given directly, instead of derived from the event. */
|
|
107
|
+
args?: Record<string, unknown>;
|
|
108
|
+
/** Workspace MCP servers the task attaches, by name. */
|
|
109
|
+
mcp?: string[];
|
|
110
|
+
/** Standing instructions appended to the task's system prompt. */
|
|
111
|
+
appendSystem?: string;
|
|
112
|
+
/** Absolute directories beyond cwd the task may reach, kept only for runners on the caller's machine. */
|
|
113
|
+
addDirs?: string[];
|
|
114
|
+
/** Connection ids granted when the task was made; secrets are resolved only when it starts. */
|
|
115
|
+
connections?: string[];
|
|
116
|
+
/** Handle the task posts as (GitHub `slug[bot]`, Slack bot user), so flows can trust only their own comments. */
|
|
117
|
+
author?: string;
|
|
118
|
+
definition: AgentDefinition;
|
|
119
|
+
/** Frozen id of the credential selected for this task. */
|
|
120
|
+
credential?: string;
|
|
121
|
+
/** The engine order for this task; a pinned engine has one entry. */
|
|
122
|
+
engineChain?: string[];
|
|
123
|
+
/** Applicable credentials frozen with the engine order, without their values. */
|
|
124
|
+
engineCredentials?: Record<string, string>;
|
|
125
|
+
/** Wular user who asked, when known; their personal credential comes first. */
|
|
126
|
+
requester?: string;
|
|
127
|
+
/** Stored agent body for runners whose checkout does not contain the agent. */
|
|
128
|
+
files?: Record<string, string>;
|
|
129
|
+
usage?: AgentUsage;
|
|
130
|
+
/** Effective tools per integration the agent declares, by its access mode; every installation of the agent's apps serves them. */
|
|
131
|
+
tools: Record<string, string[]>;
|
|
132
|
+
/** Context gathered by the receiver: notes for the turn and who asked. */
|
|
133
|
+
context?: TaskContext;
|
|
134
|
+
/** What the platform thread gets when the run fails without an answer. */
|
|
135
|
+
failureReply?: string;
|
|
136
|
+
/** The task's dashboard page, linked when the agent returns no reply where one is due. */
|
|
137
|
+
taskUrl?: string;
|
|
138
|
+
}
|
|
139
|
+
interface TaskContext {
|
|
140
|
+
outputSchema?: object;
|
|
141
|
+
/** Earlier turns a dashboard continuation pastes in, oldest first. */
|
|
142
|
+
messages?: Array<{
|
|
143
|
+
user: string;
|
|
144
|
+
text: string;
|
|
145
|
+
ts: string;
|
|
146
|
+
}>;
|
|
147
|
+
/** Completed turns of this task, kept across dashboard continuations. */
|
|
148
|
+
turns?: TaskTurn[];
|
|
149
|
+
/** Notes the receiver adds for the agent, such as a missing account connection. */
|
|
150
|
+
instructions?: string;
|
|
151
|
+
/** Whether this turn requires a reply. */
|
|
152
|
+
mustReply?: boolean;
|
|
153
|
+
/** The last conversation batch each kind admitted, by steer or resume. */
|
|
154
|
+
admissions?: Partial<Record<'batch' | 'reactions', string>>;
|
|
155
|
+
/** The Coder account behind the event's actor, when they connected it. */
|
|
156
|
+
user?: {
|
|
157
|
+
name: string;
|
|
158
|
+
email: string;
|
|
159
|
+
};
|
|
160
|
+
/** The task's escalations, answers included; a late answer resumes the task with them. */
|
|
161
|
+
approvals?: Approval[];
|
|
18
162
|
}
|
|
19
163
|
//#endregion
|
|
20
164
|
//#region ../node_modules/.bun/drizzle-orm@0.45.2+2a53ce3fb4b067cf/node_modules/drizzle-orm/entity.d.ts
|
|
@@ -4671,7 +4815,9 @@ interface TaskStatus {
|
|
|
4671
4815
|
archivedAt?: number;
|
|
4672
4816
|
/** Archived by the auto-archive sweep, which lists take up on their next read rather than as an event. */
|
|
4673
4817
|
autoArchived?: true;
|
|
4674
|
-
approval?:
|
|
4818
|
+
approval?: Approval;
|
|
4819
|
+
/** Derived for task rows returned by the server: `task.context.approvals`. */
|
|
4820
|
+
approvals?: Approval[];
|
|
4675
4821
|
/** Ask-sidecar answers in arrival order. */
|
|
4676
4822
|
answer?: unknown[];
|
|
4677
4823
|
createdAt: number;
|
|
@@ -5308,7 +5454,7 @@ declare const secret: PgTableWithColumns<{
|
|
|
5308
5454
|
tableName: "secret";
|
|
5309
5455
|
dataType: "string";
|
|
5310
5456
|
columnType: "PgText";
|
|
5311
|
-
data: "
|
|
5457
|
+
data: "runner" | "engine" | "installation" | "app";
|
|
5312
5458
|
driverParam: string;
|
|
5313
5459
|
notNull: true;
|
|
5314
5460
|
hasDefault: false;
|
|
@@ -5320,7 +5466,7 @@ declare const secret: PgTableWithColumns<{
|
|
|
5320
5466
|
identity: undefined;
|
|
5321
5467
|
generated: undefined;
|
|
5322
5468
|
}, {}, {
|
|
5323
|
-
$type: "
|
|
5469
|
+
$type: "runner" | "engine" | "installation" | "app";
|
|
5324
5470
|
}>;
|
|
5325
5471
|
iv: PgColumn<{
|
|
5326
5472
|
name: "iv";
|
|
@@ -6199,7 +6345,7 @@ declare const runner: PgTableWithColumns<{
|
|
|
6199
6345
|
tableName: "runner";
|
|
6200
6346
|
dataType: "string";
|
|
6201
6347
|
columnType: "PgText";
|
|
6202
|
-
data: "
|
|
6348
|
+
data: "workspace" | "personal";
|
|
6203
6349
|
driverParam: string;
|
|
6204
6350
|
notNull: true;
|
|
6205
6351
|
hasDefault: false;
|
|
@@ -6211,7 +6357,7 @@ declare const runner: PgTableWithColumns<{
|
|
|
6211
6357
|
identity: undefined;
|
|
6212
6358
|
generated: undefined;
|
|
6213
6359
|
}, {}, {
|
|
6214
|
-
$type: "
|
|
6360
|
+
$type: "workspace" | "personal";
|
|
6215
6361
|
}>;
|
|
6216
6362
|
config: PgColumn<{
|
|
6217
6363
|
name: "config";
|
|
@@ -6966,7 +7112,7 @@ declare const task$1: PgTableWithColumns<{
|
|
|
6966
7112
|
tableName: "task";
|
|
6967
7113
|
dataType: "json";
|
|
6968
7114
|
columnType: "PgJsonb";
|
|
6969
|
-
data:
|
|
7115
|
+
data: Approval;
|
|
6970
7116
|
driverParam: unknown;
|
|
6971
7117
|
notNull: false;
|
|
6972
7118
|
hasDefault: false;
|
|
@@ -6977,7 +7123,9 @@ declare const task$1: PgTableWithColumns<{
|
|
|
6977
7123
|
baseColumn: never;
|
|
6978
7124
|
identity: undefined;
|
|
6979
7125
|
generated: undefined;
|
|
6980
|
-
}, {}, {
|
|
7126
|
+
}, {}, {
|
|
7127
|
+
$type: Approval;
|
|
7128
|
+
}>;
|
|
6981
7129
|
answer: PgColumn<{
|
|
6982
7130
|
name: "answer";
|
|
6983
7131
|
tableName: "task";
|
|
@@ -7470,7 +7618,7 @@ declare const taskHistory: PgTableWithColumns<{
|
|
|
7470
7618
|
tableName: "task_history";
|
|
7471
7619
|
dataType: "string";
|
|
7472
7620
|
columnType: "PgText";
|
|
7473
|
-
data: "
|
|
7621
|
+
data: "codex" | "claude";
|
|
7474
7622
|
driverParam: string;
|
|
7475
7623
|
notNull: true;
|
|
7476
7624
|
hasDefault: false;
|
|
@@ -7482,7 +7630,7 @@ declare const taskHistory: PgTableWithColumns<{
|
|
|
7482
7630
|
identity: undefined;
|
|
7483
7631
|
generated: undefined;
|
|
7484
7632
|
}, {}, {
|
|
7485
|
-
$type: "
|
|
7633
|
+
$type: "codex" | "claude";
|
|
7486
7634
|
}>;
|
|
7487
7635
|
conversation: PgColumn<{
|
|
7488
7636
|
name: "conversation";
|
|
@@ -8634,7 +8782,7 @@ declare const tables: {
|
|
|
8634
8782
|
tableName: "secret";
|
|
8635
8783
|
dataType: "string";
|
|
8636
8784
|
columnType: "PgText";
|
|
8637
|
-
data: "
|
|
8785
|
+
data: "runner" | "engine" | "installation" | "app";
|
|
8638
8786
|
driverParam: string;
|
|
8639
8787
|
notNull: true;
|
|
8640
8788
|
hasDefault: false;
|
|
@@ -8646,7 +8794,7 @@ declare const tables: {
|
|
|
8646
8794
|
identity: undefined;
|
|
8647
8795
|
generated: undefined;
|
|
8648
8796
|
}, {}, {
|
|
8649
|
-
$type: "
|
|
8797
|
+
$type: "runner" | "engine" | "installation" | "app";
|
|
8650
8798
|
}>;
|
|
8651
8799
|
iv: PgColumn<{
|
|
8652
8800
|
name: "iv";
|
|
@@ -9521,7 +9669,7 @@ declare const tables: {
|
|
|
9521
9669
|
tableName: "runner";
|
|
9522
9670
|
dataType: "string";
|
|
9523
9671
|
columnType: "PgText";
|
|
9524
|
-
data: "
|
|
9672
|
+
data: "workspace" | "personal";
|
|
9525
9673
|
driverParam: string;
|
|
9526
9674
|
notNull: true;
|
|
9527
9675
|
hasDefault: false;
|
|
@@ -9533,7 +9681,7 @@ declare const tables: {
|
|
|
9533
9681
|
identity: undefined;
|
|
9534
9682
|
generated: undefined;
|
|
9535
9683
|
}, {}, {
|
|
9536
|
-
$type: "
|
|
9684
|
+
$type: "workspace" | "personal";
|
|
9537
9685
|
}>;
|
|
9538
9686
|
config: PgColumn<{
|
|
9539
9687
|
name: "config";
|
|
@@ -10287,7 +10435,7 @@ declare const tables: {
|
|
|
10287
10435
|
tableName: "task";
|
|
10288
10436
|
dataType: "json";
|
|
10289
10437
|
columnType: "PgJsonb";
|
|
10290
|
-
data:
|
|
10438
|
+
data: Approval;
|
|
10291
10439
|
driverParam: unknown;
|
|
10292
10440
|
notNull: false;
|
|
10293
10441
|
hasDefault: false;
|
|
@@ -10298,7 +10446,9 @@ declare const tables: {
|
|
|
10298
10446
|
baseColumn: never;
|
|
10299
10447
|
identity: undefined;
|
|
10300
10448
|
generated: undefined;
|
|
10301
|
-
}, {}, {
|
|
10449
|
+
}, {}, {
|
|
10450
|
+
$type: Approval;
|
|
10451
|
+
}>;
|
|
10302
10452
|
answer: PgColumn<{
|
|
10303
10453
|
name: "answer";
|
|
10304
10454
|
tableName: "task";
|
|
@@ -10788,7 +10938,7 @@ declare const tables: {
|
|
|
10788
10938
|
tableName: "task_history";
|
|
10789
10939
|
dataType: "string";
|
|
10790
10940
|
columnType: "PgText";
|
|
10791
|
-
data: "
|
|
10941
|
+
data: "codex" | "claude";
|
|
10792
10942
|
driverParam: string;
|
|
10793
10943
|
notNull: true;
|
|
10794
10944
|
hasDefault: false;
|
|
@@ -10800,7 +10950,7 @@ declare const tables: {
|
|
|
10800
10950
|
identity: undefined;
|
|
10801
10951
|
generated: undefined;
|
|
10802
10952
|
}, {}, {
|
|
10803
|
-
$type: "
|
|
10953
|
+
$type: "codex" | "claude";
|
|
10804
10954
|
}>;
|
|
10805
10955
|
conversation: PgColumn<{
|
|
10806
10956
|
name: "conversation";
|
|
@@ -11411,6 +11561,23 @@ declare const credentials: {
|
|
|
11411
11561
|
login: typeof loginCredential;
|
|
11412
11562
|
};
|
|
11413
11563
|
//#endregion
|
|
11564
|
+
//#region src/core/engines/codex/index.d.ts
|
|
11565
|
+
declare function getCodexAvailability(cwd: string): Availability;
|
|
11566
|
+
//#endregion
|
|
11567
|
+
//#region src/core/task/actions.d.ts
|
|
11568
|
+
/** How a steer was applied to a task. */
|
|
11569
|
+
type SteerOutcome = 'live' | 'queued' | 'resumed';
|
|
11570
|
+
/** Filters for the task list, mirroring the CLI flags. */
|
|
11571
|
+
interface ListOptions {
|
|
11572
|
+
running?: boolean;
|
|
11573
|
+
stopped?: boolean;
|
|
11574
|
+
archived?: boolean;
|
|
11575
|
+
/** Narrow to a workspace (matched by git root). */
|
|
11576
|
+
dir?: string;
|
|
11577
|
+
/** Max rows; 'all' or undefined means no limit. */
|
|
11578
|
+
limit?: number | 'all';
|
|
11579
|
+
}
|
|
11580
|
+
//#endregion
|
|
11414
11581
|
//#region src/core/task/index.d.ts
|
|
11415
11582
|
/** Where a task call runs: this machine's tasks under `cwd`, or the server named by `server`. */
|
|
11416
11583
|
type TaskOptions = {
|
|
@@ -11425,7 +11592,7 @@ interface TaskRunOptions {
|
|
|
11425
11592
|
effort?: string;
|
|
11426
11593
|
permissions?: string;
|
|
11427
11594
|
name?: string;
|
|
11428
|
-
|
|
11595
|
+
appendSystem?: string;
|
|
11429
11596
|
/** Extra directories the task may reach, resolved against cwd. */
|
|
11430
11597
|
addDirs?: string[];
|
|
11431
11598
|
/** MCP servers to attach, by name from config. */
|
|
@@ -11434,7 +11601,6 @@ interface TaskRunOptions {
|
|
|
11434
11601
|
connections?: string[];
|
|
11435
11602
|
/** Block until the task finishes, walking the engine chain when a turn fails to start. */
|
|
11436
11603
|
wait?: boolean;
|
|
11437
|
-
simulateApproval?: boolean;
|
|
11438
11604
|
/** Server tasks: the repository and runner to use. */
|
|
11439
11605
|
repo?: string;
|
|
11440
11606
|
runner?: string;
|
|
@@ -11446,8 +11612,6 @@ interface TaskRunOptions {
|
|
|
11446
11612
|
onNote?: (note: string) => void;
|
|
11447
11613
|
/** Each time a wait starts on a task id. */
|
|
11448
11614
|
onWaiting?: (taskId: string) => void;
|
|
11449
|
-
/** Server task log lines while waiting. */
|
|
11450
|
-
onLog?: (line: TaskLogLine) => void;
|
|
11451
11615
|
}
|
|
11452
11616
|
interface RunResult {
|
|
11453
11617
|
taskId: string;
|
|
@@ -11468,8 +11632,8 @@ interface TaskInspection {
|
|
|
11468
11632
|
turns: ReturnType<typeof readTurnResults>;
|
|
11469
11633
|
pendingApprovals: Array<{
|
|
11470
11634
|
id: string;
|
|
11471
|
-
|
|
11472
|
-
|
|
11635
|
+
reason: string;
|
|
11636
|
+
actions: string[];
|
|
11473
11637
|
}>;
|
|
11474
11638
|
/** While running: time since the last sign of life, and whether it looks stalled. */
|
|
11475
11639
|
idleMs?: number;
|
|
@@ -11494,25 +11658,47 @@ interface TaskRow {
|
|
|
11494
11658
|
flowRunId: string | null;
|
|
11495
11659
|
idleMs: number | null;
|
|
11496
11660
|
}
|
|
11661
|
+
/** One page of tasks; `next` continues it, and `archived` counts archived tasks when a default view is empty. */
|
|
11662
|
+
interface TaskPage {
|
|
11663
|
+
items: TaskRow[] & {
|
|
11664
|
+
archived: number;
|
|
11665
|
+
};
|
|
11666
|
+
next?: string;
|
|
11667
|
+
}
|
|
11497
11668
|
interface TaskWatch {
|
|
11498
|
-
task: Task
|
|
11669
|
+
task: Task;
|
|
11499
11670
|
/** Progress entries as they land, ending when the task is terminal. */
|
|
11500
|
-
events: AsyncGenerator<TaskLogEntry
|
|
11671
|
+
events: AsyncGenerator<TaskLogEntry>;
|
|
11501
11672
|
/** The task once the stream ends. */
|
|
11502
11673
|
final(): Promise<{
|
|
11503
11674
|
taskId: string;
|
|
11504
11675
|
status: string;
|
|
11505
11676
|
result: any;
|
|
11506
11677
|
task: Task;
|
|
11507
|
-
}
|
|
11678
|
+
}>;
|
|
11679
|
+
}
|
|
11680
|
+
interface SteerResult {
|
|
11681
|
+
taskId: string;
|
|
11682
|
+
steered: SteerOutcome;
|
|
11683
|
+
/** With `wait`, once a live or resumed turn finishes. */
|
|
11684
|
+
status?: string | null;
|
|
11685
|
+
finalMessage?: string | null;
|
|
11686
|
+
}
|
|
11687
|
+
/** Ask about a task through a read-only sidecar; its thread is never touched. */
|
|
11688
|
+
interface AskResult {
|
|
11689
|
+
taskId: string;
|
|
11690
|
+
answer: string | null;
|
|
11691
|
+
error?: string;
|
|
11692
|
+
ok: boolean;
|
|
11508
11693
|
}
|
|
11509
11694
|
interface ApprovalRow {
|
|
11510
11695
|
taskId: string;
|
|
11511
11696
|
id: string;
|
|
11512
|
-
|
|
11513
|
-
|
|
11697
|
+
reason: string;
|
|
11698
|
+
actions: string[];
|
|
11514
11699
|
createdAt?: string;
|
|
11515
|
-
answered?:
|
|
11700
|
+
answered?: 'accept' | 'decline' | 'closed' | null;
|
|
11701
|
+
deniedReason?: string | null;
|
|
11516
11702
|
}
|
|
11517
11703
|
//#endregion
|
|
11518
11704
|
//#region src/client/auth/session.d.ts
|
|
@@ -11682,6 +11868,7 @@ interface ModelWriteOptions {
|
|
|
11682
11868
|
baseUrl?: string;
|
|
11683
11869
|
model?: string;
|
|
11684
11870
|
envKey?: string;
|
|
11871
|
+
contextWindow?: number;
|
|
11685
11872
|
workspace?: boolean;
|
|
11686
11873
|
}
|
|
11687
11874
|
declare const models: {
|
|
@@ -11739,6 +11926,7 @@ declare const models: {
|
|
|
11739
11926
|
model: string;
|
|
11740
11927
|
envKey?: string | undefined;
|
|
11741
11928
|
wireApi?: "chat" | "responses" | undefined;
|
|
11929
|
+
contextWindow?: number | undefined;
|
|
11742
11930
|
disabled?: boolean | undefined;
|
|
11743
11931
|
name: string;
|
|
11744
11932
|
}[];
|
|
@@ -11748,7 +11936,7 @@ declare const models: {
|
|
|
11748
11936
|
workspace?: boolean;
|
|
11749
11937
|
cwd?: string;
|
|
11750
11938
|
}) => {
|
|
11751
|
-
provider: "
|
|
11939
|
+
provider: "codex" | "claude";
|
|
11752
11940
|
model: string;
|
|
11753
11941
|
effort?: "low" | "medium" | "high" | undefined;
|
|
11754
11942
|
disabled?: boolean | undefined;
|
|
@@ -11949,49 +12137,45 @@ interface DeclaredServer {
|
|
|
11949
12137
|
//#region src/sdk.d.ts
|
|
11950
12138
|
/** Run and control coder tasks. Mirrors `coder task`. */
|
|
11951
12139
|
declare const task: {
|
|
11952
|
-
run: (prompt: string, opts?: TaskRunOptions & TaskOptions) => Promise<RunResult
|
|
12140
|
+
run: (prompt: string, opts?: TaskRunOptions & TaskOptions) => Promise<RunResult>;
|
|
11953
12141
|
result: (id?: string, opts?: TaskOptions & {
|
|
11954
12142
|
wait?: boolean;
|
|
11955
12143
|
tail?: number | "all";
|
|
11956
12144
|
onWaiting?: (taskId: string) => void;
|
|
11957
|
-
}) => Promise<TaskInspection
|
|
11958
|
-
list: (opts?: TaskOptions & ListOptions
|
|
11959
|
-
|
|
11960
|
-
|
|
11961
|
-
}) | TaskStatus[]>;
|
|
12145
|
+
}) => Promise<TaskInspection>;
|
|
12146
|
+
list: (opts?: TaskOptions & ListOptions & {
|
|
12147
|
+
cursor?: string;
|
|
12148
|
+
}) => Promise<TaskPage>;
|
|
11962
12149
|
watch: (id?: string, opts?: TaskOptions & {
|
|
11963
12150
|
tail?: number | "all";
|
|
11964
12151
|
from?: number;
|
|
11965
12152
|
}) => Promise<TaskWatch>;
|
|
11966
12153
|
stream: (id?: string, opts?: TaskOptions & {
|
|
11967
12154
|
tail?: number | "all";
|
|
11968
|
-
}) => AsyncGenerator<
|
|
12155
|
+
}) => AsyncGenerator<TaskLogEntry, void, any>;
|
|
11969
12156
|
steer: (id: string, text: string, opts?: TaskOptions & {
|
|
11970
12157
|
model?: string;
|
|
11971
12158
|
effort?: string;
|
|
11972
12159
|
permissions?: string;
|
|
11973
12160
|
wait?: boolean;
|
|
11974
|
-
}) => Promise<
|
|
11975
|
-
taskId: string;
|
|
11976
|
-
steered: SteerOutcome;
|
|
11977
|
-
} | {
|
|
11978
|
-
status: TaskStatus$1 | null;
|
|
11979
|
-
finalMessage: any;
|
|
11980
|
-
taskId: string;
|
|
11981
|
-
steered: SteerOutcome;
|
|
11982
|
-
}>;
|
|
12161
|
+
}) => Promise<SteerResult>;
|
|
11983
12162
|
ask: (id: string, question: string, opts?: TaskOptions & {
|
|
11984
12163
|
model?: string;
|
|
11985
12164
|
effort?: string;
|
|
11986
12165
|
onAsking?: (taskId: string) => void;
|
|
11987
|
-
}) => Promise<
|
|
11988
|
-
approvals: (id?: string, opts?: TaskOptions
|
|
12166
|
+
}) => Promise<AskResult>;
|
|
12167
|
+
approvals: (id?: string, opts?: TaskOptions & {
|
|
12168
|
+
denied?: boolean;
|
|
12169
|
+
}) => Promise<ApprovalRow[]>;
|
|
11989
12170
|
approve: (reference: string | undefined, approvalId?: string, opts?: TaskOptions & {
|
|
11990
12171
|
deny?: boolean;
|
|
11991
|
-
|
|
12172
|
+
reason?: string;
|
|
12173
|
+
}) => Promise<{
|
|
12174
|
+
taskId: string;
|
|
12175
|
+
approvalId: string;
|
|
12176
|
+
decision: string;
|
|
12177
|
+
}>;
|
|
11992
12178
|
stop: (id?: string, opts?: TaskOptions) => Promise<{
|
|
11993
|
-
ok: true;
|
|
11994
|
-
} | {
|
|
11995
12179
|
taskId: string;
|
|
11996
12180
|
status: "cancelled";
|
|
11997
12181
|
interrupt: string;
|
|
@@ -11999,24 +12183,24 @@ declare const task: {
|
|
|
11999
12183
|
archive: (id?: string, opts?: TaskOptions & {
|
|
12000
12184
|
allStopped?: boolean;
|
|
12001
12185
|
}) => Promise<{
|
|
12002
|
-
archived: string[];
|
|
12003
|
-
count: number;
|
|
12004
|
-
taskId?: undefined;
|
|
12005
|
-
} | {
|
|
12006
12186
|
taskId: string;
|
|
12007
12187
|
archived: true;
|
|
12008
12188
|
count?: undefined;
|
|
12189
|
+
} | {
|
|
12190
|
+
archived: string[];
|
|
12191
|
+
count: number;
|
|
12192
|
+
taskId?: undefined;
|
|
12009
12193
|
}>;
|
|
12010
12194
|
delete: (id?: string, opts?: TaskOptions & {
|
|
12011
12195
|
allArchived?: boolean;
|
|
12012
12196
|
}) => Promise<{
|
|
12013
|
-
deleted: string[];
|
|
12014
|
-
count: number;
|
|
12015
|
-
taskId?: undefined;
|
|
12016
|
-
} | {
|
|
12017
12197
|
taskId: string;
|
|
12018
12198
|
deleted: true;
|
|
12019
12199
|
count?: undefined;
|
|
12200
|
+
} | {
|
|
12201
|
+
deleted: string[];
|
|
12202
|
+
count: number;
|
|
12203
|
+
taskId?: undefined;
|
|
12020
12204
|
}>;
|
|
12021
12205
|
};
|
|
12022
12206
|
/** Platform accounts, API keys and MCP servers tasks use, on this machine or a Coder server. Mirrors `coder connection`. */
|
|
@@ -12171,49 +12355,45 @@ declare const agent: {
|
|
|
12171
12355
|
};
|
|
12172
12356
|
declare const _default: {
|
|
12173
12357
|
task: {
|
|
12174
|
-
run: (prompt: string, opts?: TaskRunOptions & TaskOptions) => Promise<RunResult
|
|
12358
|
+
run: (prompt: string, opts?: TaskRunOptions & TaskOptions) => Promise<RunResult>;
|
|
12175
12359
|
result: (id?: string, opts?: TaskOptions & {
|
|
12176
12360
|
wait?: boolean;
|
|
12177
12361
|
tail?: number | "all";
|
|
12178
12362
|
onWaiting?: (taskId: string) => void;
|
|
12179
|
-
}) => Promise<TaskInspection
|
|
12180
|
-
list: (opts?: TaskOptions & ListOptions
|
|
12181
|
-
|
|
12182
|
-
|
|
12183
|
-
}) | TaskStatus[]>;
|
|
12363
|
+
}) => Promise<TaskInspection>;
|
|
12364
|
+
list: (opts?: TaskOptions & ListOptions & {
|
|
12365
|
+
cursor?: string;
|
|
12366
|
+
}) => Promise<TaskPage>;
|
|
12184
12367
|
watch: (id?: string, opts?: TaskOptions & {
|
|
12185
12368
|
tail?: number | "all";
|
|
12186
12369
|
from?: number;
|
|
12187
12370
|
}) => Promise<TaskWatch>;
|
|
12188
12371
|
stream: (id?: string, opts?: TaskOptions & {
|
|
12189
12372
|
tail?: number | "all";
|
|
12190
|
-
}) => AsyncGenerator<
|
|
12373
|
+
}) => AsyncGenerator<TaskLogEntry, void, any>;
|
|
12191
12374
|
steer: (id: string, text: string, opts?: TaskOptions & {
|
|
12192
12375
|
model?: string;
|
|
12193
12376
|
effort?: string;
|
|
12194
12377
|
permissions?: string;
|
|
12195
12378
|
wait?: boolean;
|
|
12196
|
-
}) => Promise<
|
|
12197
|
-
taskId: string;
|
|
12198
|
-
steered: SteerOutcome;
|
|
12199
|
-
} | {
|
|
12200
|
-
status: TaskStatus$1 | null;
|
|
12201
|
-
finalMessage: any;
|
|
12202
|
-
taskId: string;
|
|
12203
|
-
steered: SteerOutcome;
|
|
12204
|
-
}>;
|
|
12379
|
+
}) => Promise<SteerResult>;
|
|
12205
12380
|
ask: (id: string, question: string, opts?: TaskOptions & {
|
|
12206
12381
|
model?: string;
|
|
12207
12382
|
effort?: string;
|
|
12208
12383
|
onAsking?: (taskId: string) => void;
|
|
12209
|
-
}) => Promise<
|
|
12210
|
-
approvals: (id?: string, opts?: TaskOptions
|
|
12384
|
+
}) => Promise<AskResult>;
|
|
12385
|
+
approvals: (id?: string, opts?: TaskOptions & {
|
|
12386
|
+
denied?: boolean;
|
|
12387
|
+
}) => Promise<ApprovalRow[]>;
|
|
12211
12388
|
approve: (reference: string | undefined, approvalId?: string, opts?: TaskOptions & {
|
|
12212
12389
|
deny?: boolean;
|
|
12213
|
-
|
|
12390
|
+
reason?: string;
|
|
12391
|
+
}) => Promise<{
|
|
12392
|
+
taskId: string;
|
|
12393
|
+
approvalId: string;
|
|
12394
|
+
decision: string;
|
|
12395
|
+
}>;
|
|
12214
12396
|
stop: (id?: string, opts?: TaskOptions) => Promise<{
|
|
12215
|
-
ok: true;
|
|
12216
|
-
} | {
|
|
12217
12397
|
taskId: string;
|
|
12218
12398
|
status: "cancelled";
|
|
12219
12399
|
interrupt: string;
|
|
@@ -12221,24 +12401,24 @@ declare const _default: {
|
|
|
12221
12401
|
archive: (id?: string, opts?: TaskOptions & {
|
|
12222
12402
|
allStopped?: boolean;
|
|
12223
12403
|
}) => Promise<{
|
|
12224
|
-
archived: string[];
|
|
12225
|
-
count: number;
|
|
12226
|
-
taskId?: undefined;
|
|
12227
|
-
} | {
|
|
12228
12404
|
taskId: string;
|
|
12229
12405
|
archived: true;
|
|
12230
12406
|
count?: undefined;
|
|
12407
|
+
} | {
|
|
12408
|
+
archived: string[];
|
|
12409
|
+
count: number;
|
|
12410
|
+
taskId?: undefined;
|
|
12231
12411
|
}>;
|
|
12232
12412
|
delete: (id?: string, opts?: TaskOptions & {
|
|
12233
12413
|
allArchived?: boolean;
|
|
12234
12414
|
}) => Promise<{
|
|
12235
|
-
deleted: string[];
|
|
12236
|
-
count: number;
|
|
12237
|
-
taskId?: undefined;
|
|
12238
|
-
} | {
|
|
12239
12415
|
taskId: string;
|
|
12240
12416
|
deleted: true;
|
|
12241
12417
|
count?: undefined;
|
|
12418
|
+
} | {
|
|
12419
|
+
deleted: string[];
|
|
12420
|
+
count: number;
|
|
12421
|
+
taskId?: undefined;
|
|
12242
12422
|
}>;
|
|
12243
12423
|
};
|
|
12244
12424
|
flow: {
|
|
@@ -12312,6 +12492,7 @@ declare const _default: {
|
|
|
12312
12492
|
model: string;
|
|
12313
12493
|
envKey?: string | undefined;
|
|
12314
12494
|
wireApi?: "chat" | "responses" | undefined;
|
|
12495
|
+
contextWindow?: number | undefined;
|
|
12315
12496
|
disabled?: boolean | undefined;
|
|
12316
12497
|
name: string;
|
|
12317
12498
|
}[];
|
|
@@ -12320,7 +12501,7 @@ declare const _default: {
|
|
|
12320
12501
|
workspace?: boolean;
|
|
12321
12502
|
cwd?: string;
|
|
12322
12503
|
}) => {
|
|
12323
|
-
provider: "
|
|
12504
|
+
provider: "codex" | "claude";
|
|
12324
12505
|
model: string;
|
|
12325
12506
|
effort?: "low" | "medium" | "high" | undefined;
|
|
12326
12507
|
disabled?: boolean | undefined;
|