@wular/coder 0.4.12 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/actions-CkMAM1Km.js +3 -0
- package/dist/agent-Bi5nbUhA.js +1 -0
- package/dist/app-server-BTpa5GBV.js +6 -0
- package/dist/approvals-CRwkc9vB.js +5 -0
- package/dist/apps-B6mUToTa.js +18 -0
- package/dist/args-CJsHYWbt.js +66 -0
- package/dist/async-CNhQ4wyZ.js +3 -0
- package/dist/auth-oCvlHitk.js +1 -0
- package/dist/builtin/coder/agent.json +6 -7
- package/dist/builtin/coder/system.md +5 -6
- package/dist/chat-4AiZEqKh.js +13 -0
- package/dist/{chat-bwKd3y6V.js → chat-Bfu9XKRa.js} +1 -1
- package/dist/cli.js +16 -11
- package/dist/{client-C4QCT6cG.js → client-nBo9Mhsr.js} +4 -4
- package/dist/cmd-Cu3OquA_.js +122 -0
- package/dist/config-D_RuO6gX.js +5 -0
- package/dist/connection-BXjn7gCC.js +1 -0
- package/dist/connections-Cswv7r8Z.js +2 -0
- package/dist/context-CFrDYenS.js +6 -0
- package/dist/crypto-Ittsv-m4.js +1 -0
- package/dist/dash/standalone/server/build-index.json +1 -1
- package/dist/dash/standalone/server/manifest.json +1686 -1428
- package/dist/dash/standalone/server/modules-server-server-react-server/src/agent/event-json.856d33f567e58d0e.js +30 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/client/http.e78b470f4ecf125b.js +58 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/client/{index.0de14cb4e30bd70d.js → index.54c45900f2153d34.js} +57 -77
- package/dist/dash/standalone/server/modules-server-server-react-server/src/core/task/{log-view.60308a11f7001eb7.js → view.e20379d8f741754a.js} +78 -48
- package/dist/dash/standalone/server/modules-server-server-react-server/src/core/types.5bf5a41cedb54154.js +37 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/api/{load.be791a5eaf328738.js → load.252f972b42c690e2.js} +18 -11
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/create/[id]/{page.70913bd4075da914.js → page.11efd0e175db9053.js} +24 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{loading.e348ec45e9ed951b.js → loading.56c14183236be231.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{notify.61aab176baeefebd.js → notify.59ae138dc182d7c3.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{page.815371ed0d5dd4fa.js → page.e9386951cedea737.js} +9 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{sign-out.1d6af804f9ec043d.js → sign-out.713d3ec10951fde5.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{agent-menu.2ed0e66d131fc148.js → agent-menu.5c780867b82081b1.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{agents-grid.f43bcc1148ce3650.js → agents-grid.f989d6f2d9ece6e4.js} +9 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{loading.fac1132ad9c4248e.js → loading.0130f8533d8f1b1e.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/page.0f88720e52db99a2.js +48 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{layout.a795379254982121.js → layout.8d2f0997462fc958.js} +90 -33
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{loading.388aeaf0c2edf8f8.js → loading.90bf37c903ce6f0d.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{page.a2cb6d1f1714259a.js → page.bc93891522c8120d.js} +22 -88
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{loading.4da9e2ba3fea937f.js → loading.d56ef50b0694f975.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.cf5cf9afe38ab0e4.js} +51 -111
- 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.c44c7df7841719f2.js} +235 -109
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/platform-state.6b6132518ca61635.js +21 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/platform-step.6e90cbfe308f28a0.js +82 -0
- 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.61de585104c2be10.js} +44 -66
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{loading.ad1a4c9b000d269a.js → loading.2800c65e45a4a1d9.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.4d06f759984a63b3.js} +11 -11
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/tasks/{loading.521c9e7b8d77f557.js → loading.ea2925eab1d2e594.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.fb069bf82b727d27.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.3a615597ca648452.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/usage/{page.45e18b6dc3019af4.js → page.0a472a0e269b8c01.js} +6 -6
- 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.7ef7dfd5d8f5de43.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/edit/{loading.b1367e864b4fb406.js → loading.007326a04f05d46c.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/edit/{page.dd11f2618e08becd.js → page.a26aa7bc6ab655f0.js} +10 -10
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/platforms/[app]/app-cards.361918fe58349aa1.js +142 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/platforms/[app]/loading.f0d91d48e2b79e50.js +14 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/platforms/[app]/page.3f60cf67517d0d31.js +99 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{agent-pills.f987c12bcbc5c850.js → agent-pills.1012e04bfbc7bffd.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{agent-toggle.1579dc8acbaacf92.js → agent-toggle.ffbf9a8b8b2fbde7.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{hero.ad5cc342db794e5d.js → hero.0ae015a4fbe6321e.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{instructions.85b1cd986a9edbb5.js → instructions.1b8c9189961c5a4f.js} +13 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{connect-repositories.43b4b28f194ea842.js → connect-repositories.9abe365f0098d358.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.6548f8f757578f90.js} +164 -116
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{import-picker.eafa5b41a2ed571f.js → import-picker.577b1d84c7ab84e1.js} +11 -11
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/new/{loading.ee001af7a96e3972.js → loading.9b65a8c1cdc8346f.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/new/{page.7d84ef2b178b34d2.js → page.2b326d00ccef5544.js} +9 -8
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{layout.393cf7429eea189e.js → layout.45a09107b19f0a7e.js} +89 -26
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/operator-apps.f8d679f2d06b0ebc.js +155 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/{page.980adfb7c5714752.js → page.5aa3ddc669366703.js} +37 -10
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{page.24a1987405ed7b17.js → page.5a5188f0fc75dcd2.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/advanced-list.73cdadb2968a39d2.js +63 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/connection-add.353ec01fbb814f78.js +526 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/connections-list.cf4061ae909272c3.js +439 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{credentials-list.683476f62a9ecde7.js → credentials-list.fc4cff0289267551.js} +120 -103
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{credentials.b43dd3d97c536c2a.js → credentials.db01de2581ac65f3.js} +9 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/list.e7d6a422f6a869ea.js +201 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{loading.7ca95dcb4fb3362b.js → loading.71ca4f6c99a8a9d5.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/models-list.acb92b39cab1d11c.js +635 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{page.dfed4ae6ffc74434.js → page.95fe939e36e5be55.js} +67 -41
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{runners-list.3afa989490bbe77c.js → runners-list.5764eac3307d67cc.js} +42 -37
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{secrets-list.0d175ee815b22cd7.js → secrets-list.d316bb157f747f6c.js} +19 -17
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/chain-hint.65c4cc04c78e8bfd.js +18 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{layout.3e8289f888fa444c.js → layout.4eb70f2de8674f93.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/model-options.dc630cb6e2cbf83a.js +150 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/model-pick.a143e77f5ed5f9d3.js +160 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{page.06feaa5fbb06f1e6.js → page.70cad0e981c33fa5.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.004ced21e02ffa48.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{tunnel-guide.29eee1a0b1852168.js → tunnel-guide.1bc6bff9d8019098.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.18bd2b92cd23b73f.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{outcome-dialog.894c73f9abee3ce1.js → outcome-dialog.a74e686aaed0c584.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/outcome-toast.95f7be49430248eb.js +24 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{outcome.cbbc8cd1bbbee01b.js → outcome.22a83d756e4020a7.js} +3 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{page.f06fda0df59beeb5.js → page.e39ee9236664d043.js} +8 -8
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{activity.3c79cf14feff12bf.js → activity.441e82ab00344fb2.js} +12 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{loading.47cbb34ea8d2e33f.js → loading.779ecdd9c9d2ff09.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{page.abed2a8424ef3da0.js → page.24e121ea6eb578ba.js} +16 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/task-actions.4a4052a38db4bad3.js +408 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/task-missing.33ec27a4a5eafefe.js +27 -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.0cd3ec2655f44cc7.js} +53 -44
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{composer-data.309a194fc7fa34be.js → composer-data.73225456d60d63e3.js} +4 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{composer.5072aacdce127689.js → composer.ee326fbf5e526fb1.js} +114 -121
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/pending-approvals.7607998094780fdd.js +40 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/status.d2c05c397780b833.js +25 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{task.0a1b5878dccd3b37.js → task.a25847399a4dfb30.js} +14 -18
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-list.1162926f7498c732.js → tasks-list.e486cbd16ea3e963.js} +62 -39
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-section.1d687c986db53a73.js → tasks-section.01510523d1556d59.js} +16 -10
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{page.d5d8cb5033823c9c.js → page.ede64f82388f9480.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{custom-range.2e21c7f891966c15.js → custom-range.fe91164d7a311356.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{day-chart.261b6651df2d3966.js → day-chart.20faaaf57c81ad9e.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{loading.97d277dbab9c15cf.js → loading.5b973a8bb29197d5.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{page.fb21ebe90d49dac1.js → page.0499098badd3f5f8.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{range-bar.2197d8f43216d104.js → range-bar.0b9038e9df707843.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{top-agents.18fc469e781e2305.js → top-agents.93c916167299ffb6.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/{layout.185dbc99875e208a.js → layout.94ea3908b03bede6.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/login/{page.a82be2fd23e9ac67.js → page.4827d64c71c0690a.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{drawer.d3e61538dbc8ec39.js → drawer.1a08ff611df7fe38.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{foreign-link.1f4217895ff1e835.js → foreign-link.1d4f63a0379cbd1d.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{loading-card.cc76fc9708142525.js → loading-card.77bea8c5870b5d3c.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{page-head.85f15db7b648d48c.js → page-head.2eb1e0213eb50349.js} +5 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{stream.e2915852cf82c86b.js → stream.e3800e736f832124.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{task-toasts.0ed8ccaae81b9d53.js → task-toasts.3b7eeee29fc327de.js} +29 -19
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{theme-choices.85100ed66d6f9200.js → theme-choices.fc86071c1b634176.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{back.180765bdadf6d602.js → back.7aa0ae82dbec38cd.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{org.572ad93c7707ab27.js → org.853d173b55368728.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{side-toggle.489faf1a259479f7.js → side-toggle.be7d2a7529557435.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{badge.c0bc352791a95fd6.js → badge.9f63fd615cf0ee22.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{button.ce9e6cdb08ca86db.js → button.b62fa52e18fa338b.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{card.9f0d45b73bc78b4f.js → card.c0030eafd76587e3.js} +21 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{collapse.93e4d1b20c2873ed.js → collapse.eb578fdf42029754.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{combo.54270c0251466fda.js → combo.e4e08287494081a3.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{confirm.c1281f9b12854210.js → confirm.e21b7f5e486dafb8.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{copy.bd6fc1577a393965.js → copy.043e0695c08c72f9.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{filter.3a452a262f040973.js → filter.0730dccad6332327.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{icons.e36c72f54750663a.js → icons.f769275420d072ce.js} +4 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{menu-items.1d082ac4dae8f3d4.js → menu-items.759a1b1f7c5ee365.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{menu.ee45bace979944b6.js → menu.7f558c7c6f6345d5.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{modal.25d53e5b41b9c4e5.js → modal.08ac85d31f4c76c1.js} +8 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/modal.a533234c7c831be4.css.pnext-asset.js +0 -0
- 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/segmented.c6f30b839fd27f35.css.pnext-asset.js +0 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{select.2eb33e5bea28d804.js → select.0ee9e8f04ddd8b47.js} +9 -6
- 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/sentinel.d17e2bfcbeb9df31.css.pnext-asset.js +0 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/tabs.025b532d6cc51736.css.pnext-asset.js +0 -0
- 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/{tail.04132db0c5033d4f.js → tail.7eb303330802ac18.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/toolbar.cdbd0357f2c5e1fe.css.pnext-asset.js +0 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{toolbar.24036899654de6df.js → toolbar.ff8367c641d28c1e.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{action.b9a5c37272250e82.js → action.f22057e7dfac40fe.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{client.a3928fa2dcd27b75.js → client.c8d7efefb6194d7d.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/routes/http.394704f4f12ada08.js +165 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/utils/crypto.24a6439ff8d10d3d.js +11 -0
- package/dist/dash/standalone/static/assets/chunks/advanced-list-850a950afe4f6996.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/agent-pills-9f6fa120182db948.js +2 -0
- package/dist/dash/standalone/static/assets/chunks/agent-settings-form-a8ee12513a02b1c5.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/agent-toggle-521136f20a71400d.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/agents-grid-bcd13cd7a46224a6.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{back-fa9d6e37f9828093.js → back-2d67134b122334f4.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/chain-hint-53675e299a865420.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{combo-86f3e11d1f6f6cee.js → combo-cb2c62fe580a8903.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/composer-4a46a458495ce3ba.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/composer-92553de43276510b.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/composer-data-890f71bade4f0616.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{confirm-c29a1db0130638d2.js → confirm-d6b2c5b1deccd1e8.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{connect-repositories-0de82daaf654b1d3.js → connect-repositories-226bf70aa81c29d8.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/connections-list-a33d6637e2d52fcf.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{copy-445c11202f136275.js → copy-294c6052b3b69424.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/create-link-b2480a7601967e94.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/credentials-list-90fc1c6d202e1461.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/custom-range-efa1b6a71ba84597.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/editor-53a3e1a893644fff.js +6 -0
- package/dist/dash/standalone/static/assets/chunks/{field-b82a0f895266791c.js → field-4d374d5ed3f43d7e.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/instructions-734d21dfb8f6393e.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/instructions-d3dc01b2f90820db.js +2 -0
- package/dist/dash/standalone/static/assets/chunks/list-16247e39898cd20e.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/model-options-d29e934a3de20ab4.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/models-list-6d93523660503dfb.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{outcome-dialog-5cf575a5e6921a5d.js → outcome-dialog-755fc581cbc2836e.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/outcome-dialog-77e13c848000a3dc.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/outcome-toast-9d5e9713c23882f5.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/platform-actions-08e9b3816dcd62b1.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/platform-actions-832904f5694ef902.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/platform-step-29469fd4eaddc42a.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/platform-step-5881a8be1e761e00.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/runners-list-dd759d408c643a29.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{runtime-6e12333f12903a62-1.js → runtime-9b28886f3cbe0ed3-1.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/secrets-list-be1f634a1b077baa.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/segmented-f646bfa8aa0aa449.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/shared-init-926144b364908b3c.js +9 -0
- package/dist/dash/standalone/static/assets/chunks/shared-init-953965859f7bf6b9.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/shared-init-9b28886f3cbe0ed3-2.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/shared-init-b42d2c06c25d1e2b.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/side-toggle-8c21d39a1e284887.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{tail-b1c46587301ef397.js → tail-d13c4cc0cf11ffd1.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/task-423e6a3f2527f534.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/task-actions-5917357eac6504ca.js +3 -0
- package/dist/dash/standalone/static/assets/chunks/task-view-c6ee43d2ddb6db90.js +3 -0
- package/dist/dash/standalone/static/assets/chunks/tasks-list-2c5ce592e00fda45.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/versions-list-177ae397ad64dcea.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{wular-pnext-6e12333f12903a62-0.js → wular-pnext-9b28886f3cbe0ed3-0.js} +1 -1
- package/dist/dash/standalone/static/assets/create-param-id-2c72f3e32e7f8b8d.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-a7f30a8c5a6fa651.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-account-76fffb9337b633f2.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-cc5d59edfc3cf0b1.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-new-170499c849114150.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-00243b34eb094b95.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-edit-199a9991de1bf2d9.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-platforms-25ae07e0b3f5b252.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-platforms-param-app-a6d559f0e26bd01b.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-settings-9f8faa8f7d714699.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-tasks-129adcdc293ceac8.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-usage-0e037c66e3977f33.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-operator-8d5ef55834d8deba.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-settings-7138821f5422d087.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-settings-param-tab-586fec34f285e9cb.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-setup-67679c1f84f352cf.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-tasks-8a44e171984d32a1.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-tasks-param-id-b9d3a7a1bd1dd666.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-usage-c534db20ce538fd2.css +1 -0
- package/dist/dash/standalone/static/assets/global-df2c26ad15039e8a.css +1 -0
- package/dist/dash/standalone/static/assets/{login-9760b85feae40270.css → login-148795638d6ff5d4.css} +1 -1
- package/dist/dash/standalone/static/assets/pnext-client-095026242a079175.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-1dfeb8c3ef155f87.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-2358423351524403.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-28a6557216627768.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-31a4ee73945fee19.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-3dfdc76bb8712b82.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-4355ac87961d78c1.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-43c7a0046572e0c9.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-53dc7db68d67e0b1.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-5835cb35488bdf7f.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-638b390bc23ab1ae.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-67f832c6c51a66cd.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-6fc99f0abe77c2ea.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-7d99965f28ac7604.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-7ecbd7a0cbe4e231.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-8250bd3b86d038a3.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-bfd06805a43c6dee.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-ce2943f17e9d9ac3.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-ed31510d4615a5a5.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-f0496bf51e161ddd.js +1 -0
- package/dist/definition-4on4SG5J.js +1 -0
- package/dist/discover-DvzAbQvU.js +1 -0
- package/dist/dispatch-BaW2X6Sc.js +12 -0
- package/dist/{dist-DAnSqY1s.js → dist-B5qUdWUG.js} +35 -35
- package/dist/{dist-B2jiMMxZ.js → dist-Clxdruuu.js} +3 -3
- package/dist/{dist-ClCNj65n.js → dist-CymLGfHl.js} +4 -4
- package/dist/{adapter-CVd5klMH.js → dist-DX0JzVC6.js} +990 -990
- package/dist/{adapter-CU9H4g6c.js → dist-DfD9WmV8.js} +39 -39
- package/dist/dist-node-B8VIVzUc.js +20 -0
- package/dist/docs-CbgaMPvq.js +2 -0
- package/dist/drive-Tk6JvQK5.js +1 -0
- package/dist/drizzle-orm-CYU7WOQS.js +2 -0
- package/dist/emit-BgeqsCkC.js +11 -0
- package/dist/env-_AxrvBXP.js +1 -0
- package/dist/errors-DK_trCff.js +1 -0
- package/dist/exec-CAaYFJD1.js +3 -0
- package/dist/executor-Chc0zawh.js +11 -0
- package/dist/flow/builtin/review/index.d.ts +2 -2
- package/dist/flow/builtin/review/index.js +9 -9
- package/dist/flow/index.d.ts +1 -1
- package/dist/flow/index.js +1 -1
- package/dist/github-actions-2RjyRseX.js +36 -0
- package/dist/hook-COWDSO4a.js +1 -0
- package/dist/http-615JJgHo.js +5 -0
- package/dist/http-DRk8cDjf.js +1 -0
- package/dist/{index-BdkdNI1v.d.ts → index-ezhbF5wC.d.ts} +369 -413
- package/dist/integrations-BVmsk64f.js +9 -0
- package/dist/lib/broker.js +2 -2
- package/dist/load-PqaDHiHX.js +2 -0
- package/dist/local-BMGcCk8N.js +1 -0
- package/dist/local-BzZuOwgI.js +5 -0
- package/dist/login-BDKTNynK.js +8 -0
- package/dist/maintenance-d43Ml540.js +1 -0
- package/dist/mcp-BGam3G_B.js +1 -0
- package/dist/mcp-BGx48pyR.js +25 -0
- package/dist/mcp-BNz_l5TV2.js +1 -0
- package/dist/metadata-D_bBfr3H.js +1 -0
- package/dist/models-D1NXi6ni.js +1 -0
- package/dist/output-BKeyLbvt.js +5 -0
- package/dist/permission-BkYxjiFR.js +1 -0
- package/dist/prompt-CpwbsEWM.js +4 -0
- package/dist/refresh-yfEi5SQs.js +1 -0
- package/dist/remote-BbXx6S9P.js +1 -0
- package/dist/remote-rArUa01V.js +2 -0
- package/dist/runner-DG9jrX5H.js +1 -0
- package/dist/runner.json +1 -1
- package/dist/runner.tgz +0 -0
- package/dist/schema.d.ts +2 -2
- package/dist/schema.js +2 -3
- package/dist/sdk.d.ts +3264 -1601
- package/dist/sdk.js +1 -1
- package/dist/serve-B-5rDiZm.js +1 -0
- package/dist/serve-CvnrGAj7.js +12 -0
- package/dist/serve-DoYbHm_k.js +5 -0
- package/dist/session-Dtje9y-r.js +1 -0
- package/dist/sessions-DIz9fyRN.js +1 -0
- package/dist/shared--aE4olIO.js +1 -0
- package/dist/sign-in-wWkyaq5X.js +3 -0
- package/dist/state-Br-Fuaxg.js +6 -0
- package/dist/store-CzQLgCzt.js +352 -0
- package/dist/task-CFt85vTy.js +1 -0
- package/dist/task-N0qhnKpK.js +7 -0
- package/dist/tool-search-BkdgVolu.js +6 -0
- package/dist/tools-DNgEptor.js +1 -0
- package/dist/tools-oQvFAnh5.js +1 -0
- package/dist/tools-search-D1zArRyJ.js +1 -0
- package/dist/turn-Cc-v-eSy.js +3 -0
- package/dist/types-DHBqXFE2.js +1 -0
- package/dist/update-check-UyRob3yy.js +1 -0
- package/dist/view-D-rbQ1Kz.js +4 -0
- package/dist/views-3TxH367C.js +2 -0
- package/dist/worker-BMuKKiIa.js +1 -0
- package/dist/worker-CIHY9L42.js +7 -0
- package/dist/zod-_-snqfdO.js +1 -0
- package/dist/zod.js +65 -1
- package/docs/agents/coder.md +5 -12
- package/docs/agents/index.md +53 -82
- package/docs/approvals.md +47 -0
- package/docs/cli/agent.md +40 -19
- package/docs/cli/auth.md +1 -1
- package/docs/cli/connection.md +27 -26
- package/docs/cli/flow.md +9 -9
- package/docs/cli/index.md +17 -15
- package/docs/cli/model.md +23 -21
- package/docs/cli/runner.md +1 -1
- package/docs/cli/server.md +2 -2
- package/docs/cli/task.md +50 -50
- package/docs/config.md +37 -75
- package/docs/connections.md +80 -0
- package/docs/dash.md +23 -19
- package/docs/flows.md +46 -213
- package/docs/models.md +48 -77
- package/docs/review.md +20 -17
- package/docs/runners.md +49 -0
- package/docs/sdk.md +49 -73
- package/docs/self-host.md +79 -81
- package/package.json +4 -5
- package/plugins/agents/skills/coder/SKILL.md +3 -3
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/skills/dispatch/SKILL.md +3 -3
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/README.md +3 -3
- package/plugins/cursor/skills/coder/SKILL.md +3 -3
- package/dist/actions-BT7_eKXm.js +0 -10
- package/dist/adapter-BT8ECcRG.js +0 -1
- package/dist/agent-BA6xr8QY.js +0 -8
- 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/auth-DuXnSNf9.js +0 -1
- package/dist/base64url-CsVsW4Id.js +0 -1
- package/dist/chat-CgQdDRhs.js +0 -13
- package/dist/cmd-DX5ByXo3.js +0 -119
- package/dist/connection-DNxi2btM.js +0 -1
- package/dist/context-65bOofts.js +0 -7
- package/dist/conversation-DT-35cEt.js +0 -1
- package/dist/core-DwsAMCnL.js +0 -65
- package/dist/dash/standalone/node_modules/contextjsx/dist/index.mjs +0 -1
- package/dist/dash/standalone/node_modules/contextjsx/dist/jsx-runtime.mjs +0 -1
- package/dist/dash/standalone/node_modules/contextjsx/dist/src-BJ0QFeB8.mjs +0 -2
- package/dist/dash/standalone/node_modules/contextjsx/package.json +0 -70
- package/dist/dash/standalone/server/modules-server-server-react-server/src/agent/context/turn.dac8eb211c500271.js +0 -141
- package/dist/dash/standalone/server/modules-server-server-react-server/src/core/defaults.1b615366c56838a1.js +0 -57
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/auth/sign-in.661b3a4139af5bd7.js +0 -11
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/connect/page.0fbfdba5254f7ae5.js +0 -26
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/connect-apps.f3af8cc8540719d7.js +0 -36
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/page.c6efd5432c1a4a75.js +0 -65
- 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]/settings/[tab]/connections-list.21ec9dc73ce68656.js +0 -642
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/engines-list.9e116751bd34e2cc.js +0 -73
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/list.083f5c665df04b1b.js +0 -156
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/models-list.537f63f8e5dd085d.js +0 -410
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/model-options.a96c11d11674f598.js +0 -100
- 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/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/status.16190fdd5fd7daad.js +0 -16
- package/dist/dash/standalone/static/assets/chunks/action-71685b2d5ad9f359.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/agent-pills-15da36c2cb81991b.js +0 -2
- package/dist/dash/standalone/static/assets/chunks/agent-settings-form-6e6a87d6e673daa8.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/agent-toggle-ca98586e3b4ce9ae.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/agents-grid-29c399e46b4e9e2b.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/composer-85e0ec7163ae18b7.js +0 -1
- 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/connect-apps-b73490e04ae6398d.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/custom-range-a0630599f907b30e.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/format-a27067f0186e78ac.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/instructions-affaaeff366b1725.js +0 -2
- 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/model-options-8d2170eebe0d061d.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/models-list-12bc7aceaa52f5b0.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/notice-57db7a1f05b7308c.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-6e12333f12903a62-2.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/chunks/versions-list-21cb854e6a7108a7.js +0 -1
- package/dist/dash/standalone/static/assets/connect-a550b6f3a8c00186.css +0 -1
- package/dist/dash/standalone/static/assets/create-param-id-da3f7e20689fe51a.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-account-9471bec93c444232.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-bcfa3de29341d5ba.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-6d6902345d88a687.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-setup-173efecd7b990c2e.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/global-87e1762113874559.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-576c06599e241231.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-c2c30dcb6dc31d60.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/discover-CPZdprlQ.js +0 -1
- package/dist/dist-node-Bv1kCqyi.js +0 -20
- package/dist/docs-x-l7gjFE.js +0 -2
- package/dist/drive-Y-ZlgiUW.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/maintenance-BfxcatXH.js +0 -1
- package/dist/match-Bq4sDuCy.js +0 -1
- package/dist/mcp-Bta09QCU.js +0 -13
- package/dist/mcp-CUITALl1.js +0 -1
- package/dist/models-C1O2DrXx.js +0 -1
- package/dist/output-D95NoAA9.js +0 -16
- package/dist/prompt-onpyIyXK.js +0 -8
- package/dist/prompts-B8pKhMcu.js +0 -4
- package/dist/refresh-D-0K9fo3.js +0 -1
- package/dist/remote-CDm0YUU3.js +0 -3
- package/dist/runner-CTFTuaz_.js +0 -1
- 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/tools-CM4UCsId.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/wire-JMNPv8f6.js +0 -1
- package/dist/worker-BuP_Lem1.js +0 -9
- package/dist/worker-C1tuzq5n.js +0 -1
- package/dist/zod-BoqHoRCH.js +0 -1
- package/docs/mcp.md +0 -54
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/core/{errors.0a735590a5412ea6.js → errors.200335e62a9d9564.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{page.061f6006f2685f5e.css.pnext-asset.js → page.abe7a6d16eb15c41.css.pnext-asset.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.1c7947d6f79d6447.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{settings/agent-settings-form.ca926c58d15044aa.css.pnext-asset.js → platforms/platform-step.a722e3b8539a0f85.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 → [slug]/(tabs)/settings/agent-settings-form.bf5430862c505c55.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/{agent/instructions.446bccc375f30eeb.css.pnext-asset.js → [slug]/platforms/[app]/@/app/dash/[org]/agents/[slug]/(tabs)/platforms/page.db05694ed4113dab.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 → [slug]/platforms/[app]/app-cards.d2f5c8d620066e05.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{layout.a4efa8d807fe5416.css.pnext-asset.js → agents/agent/hero.243d85cac1f22df2.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{settings/[tab]/@/app/dash/[org]/setup/outcome.3ad5f7ec67e5238d.css.pnext-asset.js → agents/agent/instructions.4c31196fcbf9846c.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{settings/[tab]/connections-list.46786fe36b121a43.css.pnext-asset.js → agents/editor/editor.6b9a1d5c0a490153.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{settings/[tab]/credentials-list.f7c27f170ec1e868.css.pnext-asset.js → layout.52abe52dcfa736d7.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{engines-list.9927d602ebe9e7fc.css.pnext-asset.js → advanced-list.819e410e4178b328.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{list.8cbee173a5aff98d.css.pnext-asset.js → connections-list.87962937438296f1.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{runners-list.53c7ea80b6fb734c.css.pnext-asset.js → credentials-list.973f91751525bcb6.css.pnext-asset.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 → settings/[tab]/list.69d1b62c4066015b.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{tasks/composer.5b8687662e1629fa.css.pnext-asset.js → settings/[tab]/models-list.efd3f5781314c1d9.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 → settings/[tab]/runners-list.df35d33aba0c8b07.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 → dash/[org]/settings/model-pick.74fababc0cc0bba7.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/{responsive.ebc5f7d77b4b86a0.css.pnext-asset.js → dash/[org]/tasks/[id]/task-view.aae9fa481b9015d1.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 → app/dash/[org]/tasks/composer.33d49ad218253703.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/{comps/frame/task-toasts.d13d9f628e530552.css.pnext-asset.js → app/dash/[org]/tasks/list/pending-approvals.07e59a9cae7ccf29.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/{comps/ui/badge.0cb1513f8b077560.css.pnext-asset.js → app/dash/[org]/tasks/list/tasks-list.f3737549b4696cc8.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/{comps/ui/button.d7f4433f4e7faa80.css.pnext-asset.js → app/globals.3b53a3feaa1d72e1.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/{comps/ui/card.f80288cc42f9bcae.css.pnext-asset.js → app/responsive.2979ffa0161a5afd.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/{ui/filter.b53f21acc3e2cfef.css.pnext-asset.js → frame/page-head.9fcc49ddf7119d75.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/{ui/menu.25b184f68cba7b46.css.pnext-asset.js → frame/task-toasts.682322f6f729b33e.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 → badge.8e2a9842b28f44a6.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 → button.2b18ba19ae01e2bb.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 → card.4ab7ad42a0770726.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 → filter.6fdff1e7355aaa0e.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{toolbar.19e1ce5224a23acf.css.pnext-asset.js → menu.cd96fa0495fe0fde.css.pnext-asset.js} +0 -0
|
@@ -1,195 +1,6 @@
|
|
|
1
1
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
2
2
|
import * as z from "zod";
|
|
3
3
|
import * as z$1 from "zod/mini";
|
|
4
|
-
//#region src/core/config.d.ts
|
|
5
|
-
declare const engineSchema: z$1.ZodMiniEnum<{
|
|
6
|
-
custom: "custom";
|
|
7
|
-
claude: "claude";
|
|
8
|
-
codex: "codex";
|
|
9
|
-
}>;
|
|
10
|
-
declare const effortSchema: z$1.ZodMiniEnum<{
|
|
11
|
-
low: "low";
|
|
12
|
-
medium: "medium";
|
|
13
|
-
high: "high";
|
|
14
|
-
}>;
|
|
15
|
-
declare const permissionSchema: z$1.ZodMiniEnum<{
|
|
16
|
-
"read-only": "read-only";
|
|
17
|
-
"workspace-write": "workspace-write";
|
|
18
|
-
auto: "auto";
|
|
19
|
-
}>;
|
|
20
|
-
declare const customModelSchema: z$1.ZodMiniObject<{
|
|
21
|
-
baseUrl: z$1.ZodMiniURL;
|
|
22
|
-
model: z$1.ZodMiniString<string>;
|
|
23
|
-
envKey: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
24
|
-
wireApi: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
25
|
-
chat: "chat";
|
|
26
|
-
responses: "responses";
|
|
27
|
-
}>>;
|
|
28
|
-
disabled: z$1.ZodMiniOptional<z$1.ZodMiniBoolean<boolean>>;
|
|
29
|
-
}, z$1.core.$strict>;
|
|
30
|
-
/** The merged, effective shape (everything present after DEFAULT_CONFIG). */
|
|
31
|
-
declare const mcpEntrySchema: z$1.ZodMiniObject<{
|
|
32
|
-
connection: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
33
|
-
command: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
34
|
-
args: z$1.ZodMiniOptional<z$1.ZodMiniArray<z$1.ZodMiniString<string>>>;
|
|
35
|
-
env: z$1.ZodMiniOptional<z$1.ZodMiniRecord<z$1.ZodMiniString<string>, z$1.ZodMiniString<string>>>;
|
|
36
|
-
url: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
37
|
-
type: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
38
|
-
http: "http";
|
|
39
|
-
stdio: "stdio";
|
|
40
|
-
}>>;
|
|
41
|
-
headers: z$1.ZodMiniOptional<z$1.ZodMiniRecord<z$1.ZodMiniString<string>, z$1.ZodMiniString<string>>>;
|
|
42
|
-
tools: z$1.ZodMiniOptional<z$1.ZodMiniArray<z$1.ZodMiniString<string>>>;
|
|
43
|
-
description: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
44
|
-
}, z$1.core.$strict>;
|
|
45
|
-
declare const effectiveConfigSchema: z$1.ZodMiniObject<{
|
|
46
|
-
conversationCompactTokens: z$1.ZodMiniNumber<number>;
|
|
47
|
-
chain: z$1.ZodMiniArray<z$1.ZodMiniEnum<{
|
|
48
|
-
custom: "custom";
|
|
49
|
-
claude: "claude";
|
|
50
|
-
codex: "codex";
|
|
51
|
-
}>>;
|
|
52
|
-
engines: z$1.ZodMiniObject<{
|
|
53
|
-
codex: z$1.ZodMiniOptional<z$1.ZodMiniObject<{
|
|
54
|
-
model: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
55
|
-
effort: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
56
|
-
low: "low";
|
|
57
|
-
medium: "medium";
|
|
58
|
-
high: "high";
|
|
59
|
-
}>>;
|
|
60
|
-
permissions: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
61
|
-
"read-only": "read-only";
|
|
62
|
-
"workspace-write": "workspace-write";
|
|
63
|
-
auto: "auto";
|
|
64
|
-
}>>;
|
|
65
|
-
network: z$1.ZodMiniOptional<z$1.ZodMiniBoolean<boolean>>;
|
|
66
|
-
}, z$1.core.$strict>>;
|
|
67
|
-
claude: z$1.ZodMiniOptional<z$1.ZodMiniObject<{
|
|
68
|
-
model: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
69
|
-
effort: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
70
|
-
low: "low";
|
|
71
|
-
medium: "medium";
|
|
72
|
-
high: "high";
|
|
73
|
-
}>>;
|
|
74
|
-
permissions: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
75
|
-
"read-only": "read-only";
|
|
76
|
-
"workspace-write": "workspace-write";
|
|
77
|
-
auto: "auto";
|
|
78
|
-
}>>;
|
|
79
|
-
}, z$1.core.$strict>>;
|
|
80
|
-
custom: z$1.ZodMiniOptional<z$1.ZodMiniObject<{
|
|
81
|
-
model: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
82
|
-
effort: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
83
|
-
low: "low";
|
|
84
|
-
medium: "medium";
|
|
85
|
-
high: "high";
|
|
86
|
-
}>>;
|
|
87
|
-
permissions: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
88
|
-
"read-only": "read-only";
|
|
89
|
-
"workspace-write": "workspace-write";
|
|
90
|
-
auto: "auto";
|
|
91
|
-
}>>;
|
|
92
|
-
}, z$1.core.$strict>>;
|
|
93
|
-
}, z$1.core.$strict>;
|
|
94
|
-
models: z$1.ZodMiniOptional<z$1.ZodMiniRecord<z$1.ZodMiniString<string>, z$1.ZodMiniUnion<readonly [z$1.ZodMiniObject<{
|
|
95
|
-
baseUrl: z$1.ZodMiniURL;
|
|
96
|
-
model: z$1.ZodMiniString<string>;
|
|
97
|
-
envKey: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
98
|
-
wireApi: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
99
|
-
chat: "chat";
|
|
100
|
-
responses: "responses";
|
|
101
|
-
}>>;
|
|
102
|
-
disabled: z$1.ZodMiniOptional<z$1.ZodMiniBoolean<boolean>>;
|
|
103
|
-
}, z$1.core.$strict>, z$1.ZodMiniObject<{
|
|
104
|
-
provider: z$1.ZodMiniEnum<{
|
|
105
|
-
claude: "claude";
|
|
106
|
-
codex: "codex";
|
|
107
|
-
}>;
|
|
108
|
-
model: z$1.ZodMiniString<string>;
|
|
109
|
-
effort: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
110
|
-
low: "low";
|
|
111
|
-
medium: "medium";
|
|
112
|
-
high: "high";
|
|
113
|
-
}>>;
|
|
114
|
-
disabled: z$1.ZodMiniOptional<z$1.ZodMiniBoolean<boolean>>;
|
|
115
|
-
}, z$1.core.$strict>, z$1.ZodMiniObject<{
|
|
116
|
-
disabled: z$1.ZodMiniBoolean<boolean>;
|
|
117
|
-
}, z$1.core.$strict>]>>>;
|
|
118
|
-
agents: z$1.ZodMiniOptional<z$1.ZodMiniRecord<z$1.ZodMiniString<string>, z$1.ZodMiniUnion<readonly [z$1.ZodMiniBoolean<boolean>, z$1.ZodMiniObject<{
|
|
119
|
-
engine: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
120
|
-
model: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
121
|
-
effort: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
122
|
-
low: "low";
|
|
123
|
-
medium: "medium";
|
|
124
|
-
high: "high";
|
|
125
|
-
}>>;
|
|
126
|
-
permissions: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
127
|
-
"read-only": "read-only";
|
|
128
|
-
"workspace-write": "workspace-write";
|
|
129
|
-
auto: "auto";
|
|
130
|
-
}>>;
|
|
131
|
-
access: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
132
|
-
read: "read";
|
|
133
|
-
write: "write";
|
|
134
|
-
}>>;
|
|
135
|
-
runner: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
136
|
-
local: "local";
|
|
137
|
-
"local-docker": "local-docker";
|
|
138
|
-
"vercel-sandbox": "vercel-sandbox";
|
|
139
|
-
"github-actions": "github-actions";
|
|
140
|
-
}>>;
|
|
141
|
-
integrations: z$1.ZodMiniOptional<z$1.ZodMiniRecord<z$1.ZodMiniString<string>, z$1.ZodMiniObject<{
|
|
142
|
-
allowedEvents: z$1.ZodMiniOptional<z$1.ZodMiniArray<z$1.ZodMiniString<string>>>;
|
|
143
|
-
}, z$1.core.$strict>>>;
|
|
144
|
-
connections: z$1.ZodMiniOptional<z$1.ZodMiniArray<z$1.ZodMiniString<string>>>;
|
|
145
|
-
disabled: z$1.ZodMiniOptional<z$1.ZodMiniBoolean<boolean>>;
|
|
146
|
-
}, z$1.core.$strict>]>>>;
|
|
147
|
-
mcp: z$1.ZodMiniOptional<z$1.ZodMiniRecord<z$1.ZodMiniString<string>, z$1.ZodMiniObject<{
|
|
148
|
-
connection: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
149
|
-
command: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
150
|
-
args: z$1.ZodMiniOptional<z$1.ZodMiniArray<z$1.ZodMiniString<string>>>;
|
|
151
|
-
env: z$1.ZodMiniOptional<z$1.ZodMiniRecord<z$1.ZodMiniString<string>, z$1.ZodMiniString<string>>>;
|
|
152
|
-
url: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
153
|
-
type: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
154
|
-
http: "http";
|
|
155
|
-
stdio: "stdio";
|
|
156
|
-
}>>;
|
|
157
|
-
headers: z$1.ZodMiniOptional<z$1.ZodMiniRecord<z$1.ZodMiniString<string>, z$1.ZodMiniString<string>>>;
|
|
158
|
-
tools: z$1.ZodMiniOptional<z$1.ZodMiniArray<z$1.ZodMiniString<string>>>;
|
|
159
|
-
description: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
160
|
-
}, z$1.core.$strict>>>;
|
|
161
|
-
approvals: z$1.ZodMiniObject<{
|
|
162
|
-
escalationTimeoutMs: z$1.ZodMiniNumber<number>;
|
|
163
|
-
allowedNetworkHosts: z$1.ZodMiniArray<z$1.ZodMiniString<string>>;
|
|
164
|
-
}, z$1.core.$strict>;
|
|
165
|
-
}, z$1.core.$strict>;
|
|
166
|
-
type McpConfigEntry = z$1.infer<typeof mcpEntrySchema> & {
|
|
167
|
-
repository?: boolean;
|
|
168
|
-
};
|
|
169
|
-
type Engine = z$1.infer<typeof engineSchema>;
|
|
170
|
-
type Effort = z$1.infer<typeof effortSchema>;
|
|
171
|
-
type Permission = z$1.infer<typeof permissionSchema>;
|
|
172
|
-
type CustomModelConfig = z$1.infer<typeof customModelSchema>;
|
|
173
|
-
type CoderConfig = z$1.infer<typeof effectiveConfigSchema>;
|
|
174
|
-
declare const config: {
|
|
175
|
-
/** A config value by dotted key (or the whole effective config). */
|
|
176
|
-
get: (key?: string, opts?: {
|
|
177
|
-
cwd?: string;
|
|
178
|
-
}) => unknown;
|
|
179
|
-
/** Set a config value; `workspace` targets the repo file instead of the user file. */
|
|
180
|
-
set: (key: string, value: unknown, opts?: {
|
|
181
|
-
workspace?: boolean;
|
|
182
|
-
cwd?: string;
|
|
183
|
-
unset?: boolean;
|
|
184
|
-
}) => {
|
|
185
|
-
file: string;
|
|
186
|
-
key: string;
|
|
187
|
-
effective: unknown;
|
|
188
|
-
value?: unknown;
|
|
189
|
-
unset?: boolean;
|
|
190
|
-
};
|
|
191
|
-
};
|
|
192
|
-
//#endregion
|
|
193
4
|
//#region ../node_modules/.bun/@types+unist@3.0.3/node_modules/@types/unist/index.d.ts
|
|
194
5
|
// ## Interfaces
|
|
195
6
|
/**
|
|
@@ -1290,75 +1101,16 @@ interface SerializedThread {
|
|
|
1290
1101
|
*/
|
|
1291
1102
|
type ChannelVisibility = "private" | "workspace" | "external" | "unknown";
|
|
1292
1103
|
//#endregion
|
|
1293
|
-
//#region src/
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
flow?: string;
|
|
1300
|
-
/** Regex the event text must match (e.g. keywords on Slack `message`). */
|
|
1301
|
-
match?: string;
|
|
1302
|
-
/** May only narrow the agent's default permission for this event. */
|
|
1303
|
-
permissions?: Permission;
|
|
1304
|
-
/** `requester`: the task acts with the linked requester's own platform token. */
|
|
1305
|
-
actAs?: 'requester';
|
|
1306
|
-
}
|
|
1307
|
-
interface AgentDefinitionIntegration {
|
|
1308
|
-
events?: string[] | Record<string, string | true | AgentEventOptions>;
|
|
1309
|
-
}
|
|
1310
|
-
/** What an agent IS: `.coder/agents/<id>/agent.json` beside its system.md. */
|
|
1311
|
-
interface AgentDefinition {
|
|
1312
|
-
/** Display name used in replies; defaults to the id. */
|
|
1313
|
-
name?: string;
|
|
1314
|
-
description?: string;
|
|
1315
|
-
engine?: string;
|
|
1316
|
-
runner?: string;
|
|
1317
|
-
model?: string;
|
|
1318
|
-
effort?: Effort;
|
|
1319
|
-
permissions?: Permission;
|
|
1320
|
-
/** Read-only or Read-write on its handles and connections; defaults to `write`. */
|
|
1321
|
-
access?: Preset;
|
|
1322
|
-
/** MCP servers every task of this agent attaches, in the `.mcp.json` entry shape. */
|
|
1323
|
-
mcp?: Record<string, McpConfigEntry>;
|
|
1324
|
-
integrations: Record<string, AgentDefinitionIntegration>;
|
|
1325
|
-
}
|
|
1326
|
-
/** Per-integration caps in usage: `allowedEvents` intersects the definition's. */
|
|
1327
|
-
interface AgentUsageIntegration {
|
|
1328
|
-
allowedEvents?: string[];
|
|
1329
|
-
}
|
|
1330
|
-
/** How a repo RUNS an agent: one entry under `agents` in .coder/config.json. */
|
|
1331
|
-
interface AgentUsage {
|
|
1332
|
-
engine?: string;
|
|
1333
|
-
model?: string;
|
|
1334
|
-
effort?: Effort;
|
|
1335
|
-
permissions?: Permission;
|
|
1336
|
-
/** May only lower the definition's access. */
|
|
1337
|
-
access?: Preset;
|
|
1338
|
-
integrations?: Record<string, AgentUsageIntegration>;
|
|
1339
|
-
/** Connections its tasks may use, by id; absent allows every connection the task is granted. */
|
|
1340
|
-
connections?: string[];
|
|
1341
|
-
/** Off in this workspace; the other settings stay for when it is enabled again. */
|
|
1342
|
-
disabled?: boolean;
|
|
1343
|
-
}
|
|
1344
|
-
interface Agent {
|
|
1345
|
-
id: string;
|
|
1346
|
-
/** definition.name ?? id. */
|
|
1347
|
-
name: string;
|
|
1348
|
-
definition: AgentDefinition;
|
|
1349
|
-
usage?: AgentUsage;
|
|
1350
|
-
/** Absolute folder path when the agent's body is on disk; remote agents have none. */
|
|
1351
|
-
dir?: string;
|
|
1352
|
-
/** Stored agent body, including system.md, when there is no on-disk folder. */
|
|
1353
|
-
files?: Record<string, string>;
|
|
1354
|
-
builtin: boolean;
|
|
1355
|
-
}
|
|
1356
|
-
/** A platform event, already typed by its integration. */
|
|
1357
|
-
interface AgentEvent {
|
|
1104
|
+
//#region src/integrations/types.d.ts
|
|
1105
|
+
/** Access: read-only tools, or every tool with the engine's reviewer deciding what leaves the sandbox. */
|
|
1106
|
+
declare const ACCESS: readonly ["read-only", "auto"];
|
|
1107
|
+
type Access = (typeof ACCESS)[number];
|
|
1108
|
+
/** A platform event, typed by its integration. */
|
|
1109
|
+
interface PlatformEvent {
|
|
1358
1110
|
integration: string;
|
|
1359
1111
|
/** Catalog name, e.g. `pull_request` or `mention`. */
|
|
1360
1112
|
type: string;
|
|
1361
|
-
/** `
|
|
1113
|
+
/** `PlatformApp.id` the webhook was addressed to. */
|
|
1362
1114
|
appId: string;
|
|
1363
1115
|
installationId: string;
|
|
1364
1116
|
deliveryId: string;
|
|
@@ -1370,28 +1122,17 @@ interface AgentEvent {
|
|
|
1370
1122
|
};
|
|
1371
1123
|
/** Human text attached to the event: mention body, comment, PR title + body. */
|
|
1372
1124
|
text: string;
|
|
1373
|
-
/**
|
|
1374
|
-
|
|
1375
|
-
/** The
|
|
1376
|
-
|
|
1125
|
+
/** The text @-mentions the app, on an event with no chat message to say so (an opened GitHub issue). */
|
|
1126
|
+
mentioned?: true;
|
|
1127
|
+
/** The platform account it happened in (Slack team, GitHub org), for an installation that covers several. */
|
|
1128
|
+
account?: string;
|
|
1377
1129
|
/** The Chat SDK thread and message it happened in, without raw platform payloads; replies go to this thread. */
|
|
1378
1130
|
chat?: {
|
|
1379
1131
|
thread: SerializedThread;
|
|
1380
1132
|
message?: SerializedMessage;
|
|
1381
1133
|
};
|
|
1382
|
-
/**
|
|
1383
|
-
|
|
1384
|
-
/** The event's place in its conversation, gathered at dispatch; `more` counts messages past `since`'s cap. */
|
|
1385
|
-
conversation?: {
|
|
1386
|
-
index?: number;
|
|
1387
|
-
since?: SinceMessage[];
|
|
1388
|
-
more?: number;
|
|
1389
|
-
/** Internal acknowledgement watermark of the recorded unseen snapshot. */
|
|
1390
|
-
unseen?: {
|
|
1391
|
-
version: number;
|
|
1392
|
-
epoch?: string;
|
|
1393
|
-
};
|
|
1394
|
-
};
|
|
1134
|
+
/** Where it happened and who may see that place; unknown privacy counts as private. */
|
|
1135
|
+
space?: Space;
|
|
1395
1136
|
repo?: {
|
|
1396
1137
|
owner: string;
|
|
1397
1138
|
name: string;
|
|
@@ -1399,94 +1140,242 @@ interface AgentEvent {
|
|
|
1399
1140
|
defaultBranch: string;
|
|
1400
1141
|
};
|
|
1401
1142
|
}
|
|
1402
|
-
/**
|
|
1403
|
-
interface
|
|
1404
|
-
|
|
1405
|
-
engine?: string;
|
|
1406
|
-
effort?: string;
|
|
1407
|
-
}
|
|
1408
|
-
/** Where a task came from: a Coder surface, or the id of the integration whose event started it. */
|
|
1409
|
-
type TaskSource = 'dashboard' | 'cli' | 'schedule' | (string & {});
|
|
1410
|
-
interface AgentTask {
|
|
1411
|
-
cwd?: string;
|
|
1143
|
+
/** A place events come from: a channel (DMs too), a repository or a team; `private` is unknown until the platform told it. */
|
|
1144
|
+
interface Space {
|
|
1145
|
+
kind: 'channel' | 'repository' | 'team';
|
|
1412
1146
|
id: string;
|
|
1413
|
-
|
|
1414
|
-
source: TaskSource;
|
|
1415
|
-
agent: string;
|
|
1416
|
-
/** Flow name, or `default` for the built-in single-task behavior. */
|
|
1417
|
-
flow: string;
|
|
1418
|
-
runner: RunnerKind;
|
|
1419
|
-
/** Registered `http` runner the task routes to. */
|
|
1420
|
-
runnerId?: string;
|
|
1421
|
-
/** Effective permission after host, usage, and event narrowing. */
|
|
1422
|
-
permissions?: Permission;
|
|
1423
|
-
/** The platform event, or for a dashboard or CLI task on a repo, that repo through its install. */
|
|
1424
|
-
event?: AgentEvent;
|
|
1425
|
-
/** What a dashboard or CLI task asks; the newest turn after a continue. */
|
|
1426
|
-
prompt?: string;
|
|
1427
|
-
/** Flow arguments given directly, instead of derived from the event. */
|
|
1428
|
-
args?: Record<string, unknown>;
|
|
1429
|
-
/** Workspace MCP servers the task attaches, by name. */
|
|
1430
|
-
mcp?: string[];
|
|
1431
|
-
/** Connection ids granted when the task was made; secrets are resolved only when it starts. */
|
|
1432
|
-
connections?: string[];
|
|
1433
|
-
/** Handle the task posts as (GitHub `slug[bot]`, Slack bot user), so flows can trust only their own comments. */
|
|
1434
|
-
author?: string;
|
|
1435
|
-
definition: AgentDefinition;
|
|
1436
|
-
/** Frozen id of the credential selected for this task. */
|
|
1437
|
-
credential?: string;
|
|
1438
|
-
/** The engine order for this task; a pinned engine has one entry. */
|
|
1439
|
-
engineChain?: string[];
|
|
1440
|
-
/** Applicable credentials frozen with the engine order, without their values. */
|
|
1441
|
-
engineCredentials?: Record<string, string>;
|
|
1442
|
-
/** Wular user who asked, when known; their personal credential comes first. */
|
|
1443
|
-
requester?: string;
|
|
1444
|
-
/** Stored agent body for runners whose checkout does not contain the agent. */
|
|
1445
|
-
files?: Record<string, string>;
|
|
1446
|
-
usage?: AgentUsage;
|
|
1447
|
-
/** Effective tools per integration the agent declares, by its access mode; every installation of the agent's apps serves them. */
|
|
1448
|
-
tools: Record<string, string[]>;
|
|
1449
|
-
/** Context gathered by the receiver: notes for the turn and who asked. */
|
|
1450
|
-
context?: TaskContext;
|
|
1451
|
-
/** What the platform thread gets when the run fails without an answer. */
|
|
1452
|
-
failureReply?: string;
|
|
1453
|
-
/** The task's dashboard page, linked when the agent returns no reply where one is due. */
|
|
1454
|
-
taskUrl?: string;
|
|
1455
|
-
}
|
|
1456
|
-
interface TaskContext {
|
|
1457
|
-
outputSchema?: object;
|
|
1458
|
-
/** Earlier turns a dashboard continuation pastes in, oldest first. */
|
|
1459
|
-
messages?: Array<{
|
|
1460
|
-
user: string;
|
|
1461
|
-
text: string;
|
|
1462
|
-
ts: string;
|
|
1463
|
-
}>;
|
|
1464
|
-
/** Completed turns of this task, kept across dashboard continuations. */
|
|
1465
|
-
turns?: TaskTurn[];
|
|
1466
|
-
/** Notes the receiver adds for the agent, such as a missing account connection. */
|
|
1467
|
-
instructions?: string;
|
|
1468
|
-
/** Whether this turn requires a reply. */
|
|
1469
|
-
mustReply?: boolean;
|
|
1470
|
-
/** The last conversation batch each kind admitted, by steer or resume. */
|
|
1471
|
-
admissions?: Partial<Record<'batch' | 'reactions', string>>;
|
|
1472
|
-
/** The Coder account behind the event's actor, when they connected it. */
|
|
1473
|
-
user?: {
|
|
1474
|
-
name: string;
|
|
1475
|
-
email: string;
|
|
1476
|
-
};
|
|
1147
|
+
private?: boolean;
|
|
1477
1148
|
}
|
|
1478
|
-
//#endregion
|
|
1479
|
-
//#region src/integrations/types.d.ts
|
|
1480
1149
|
/** A message the agent did not get as a turn, as `since` lists it. */
|
|
1481
1150
|
interface SinceMessage {
|
|
1482
|
-
/** The platform's message id, so a message counts once
|
|
1151
|
+
/** The platform's message id, so a message counts once. */
|
|
1483
1152
|
id?: string;
|
|
1153
|
+
/** The id of the thread it was posted in. */
|
|
1154
|
+
thread?: string;
|
|
1484
1155
|
author: string;
|
|
1485
1156
|
text: string;
|
|
1486
1157
|
sentAt: string;
|
|
1487
1158
|
}
|
|
1488
1159
|
//#endregion
|
|
1160
|
+
//#region src/core/config.d.ts
|
|
1161
|
+
/**
|
|
1162
|
+
* Strict schema for a config object (a file's contents or the merged result).
|
|
1163
|
+
* Unknown keys and out-of-range values are errors, not warnings. These schemas
|
|
1164
|
+
* are the source of truth for the config domain types (types.ts re-exports the
|
|
1165
|
+
* z.infer'd types).
|
|
1166
|
+
*/
|
|
1167
|
+
declare const engineSchema: z$1.ZodMiniEnum<{
|
|
1168
|
+
custom: "custom";
|
|
1169
|
+
claude: "claude";
|
|
1170
|
+
codex: "codex";
|
|
1171
|
+
}>;
|
|
1172
|
+
declare const effortSchema: z$1.ZodMiniEnum<{
|
|
1173
|
+
low: "low";
|
|
1174
|
+
medium: "medium";
|
|
1175
|
+
high: "high";
|
|
1176
|
+
}>;
|
|
1177
|
+
declare const customModelSchema: z$1.ZodMiniObject<{
|
|
1178
|
+
baseUrl: z$1.ZodMiniURL;
|
|
1179
|
+
model: z$1.ZodMiniString<string>;
|
|
1180
|
+
envKey: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
1181
|
+
wireApi: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
1182
|
+
chat: "chat";
|
|
1183
|
+
responses: "responses";
|
|
1184
|
+
}>>;
|
|
1185
|
+
contextWindow: z$1.ZodMiniOptional<z$1.ZodMiniNumber<number>>;
|
|
1186
|
+
disabled: z$1.ZodMiniOptional<z$1.ZodMiniBoolean<boolean>>;
|
|
1187
|
+
}, z$1.core.$strict>;
|
|
1188
|
+
/** The merged, effective shape (everything present after DEFAULT_CONFIG). */
|
|
1189
|
+
declare const mcpEntrySchema: z$1.ZodMiniObject<{
|
|
1190
|
+
connection: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
1191
|
+
command: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
1192
|
+
args: z$1.ZodMiniOptional<z$1.ZodMiniArray<z$1.ZodMiniString<string>>>;
|
|
1193
|
+
env: z$1.ZodMiniOptional<z$1.ZodMiniRecord<z$1.ZodMiniString<string>, z$1.ZodMiniString<string>>>;
|
|
1194
|
+
url: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
1195
|
+
type: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
1196
|
+
stdio: "stdio";
|
|
1197
|
+
http: "http";
|
|
1198
|
+
}>>;
|
|
1199
|
+
headers: z$1.ZodMiniOptional<z$1.ZodMiniRecord<z$1.ZodMiniString<string>, z$1.ZodMiniString<string>>>;
|
|
1200
|
+
tools: z$1.ZodMiniOptional<z$1.ZodMiniArray<z$1.ZodMiniString<string>>>;
|
|
1201
|
+
description: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
1202
|
+
connect: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
1203
|
+
start: "start";
|
|
1204
|
+
"first-use": "first-use";
|
|
1205
|
+
}>>;
|
|
1206
|
+
}, z$1.core.$strict>;
|
|
1207
|
+
declare const effectiveConfigSchema: z$1.ZodMiniObject<{
|
|
1208
|
+
$schema: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
1209
|
+
version: z$1.ZodMiniLiteral<1>;
|
|
1210
|
+
chain: z$1.ZodMiniArray<z$1.ZodMiniString<string>>;
|
|
1211
|
+
reviewModel: z$1.ZodMiniString<string>;
|
|
1212
|
+
models: z$1.ZodMiniOptional<z$1.ZodMiniRecord<z$1.ZodMiniString<string>, z$1.ZodMiniUnion<readonly [z$1.ZodMiniString<string>, z$1.ZodMiniLiteral<false>, z$1.ZodMiniObject<{
|
|
1213
|
+
baseUrl: z$1.ZodMiniURL;
|
|
1214
|
+
model: z$1.ZodMiniString<string>;
|
|
1215
|
+
envKey: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
1216
|
+
wireApi: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
1217
|
+
chat: "chat";
|
|
1218
|
+
responses: "responses";
|
|
1219
|
+
}>>;
|
|
1220
|
+
contextWindow: z$1.ZodMiniOptional<z$1.ZodMiniNumber<number>>;
|
|
1221
|
+
disabled: z$1.ZodMiniOptional<z$1.ZodMiniBoolean<boolean>>;
|
|
1222
|
+
}, z$1.core.$strict>]>>>;
|
|
1223
|
+
agents: z$1.ZodMiniOptional<z$1.ZodMiniRecord<z$1.ZodMiniString<string>, z$1.ZodMiniUnion<readonly [z$1.ZodMiniBoolean<boolean>, z$1.ZodMiniObject<{
|
|
1224
|
+
model: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
1225
|
+
access: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
1226
|
+
"read-only": "read-only";
|
|
1227
|
+
auto: "auto";
|
|
1228
|
+
}>>;
|
|
1229
|
+
runner: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
1230
|
+
local: "local";
|
|
1231
|
+
"local-docker": "local-docker";
|
|
1232
|
+
"vercel-sandbox": "vercel-sandbox";
|
|
1233
|
+
"github-actions": "github-actions";
|
|
1234
|
+
}>>;
|
|
1235
|
+
integrations: z$1.ZodMiniOptional<z$1.ZodMiniRecord<z$1.ZodMiniString<string>, z$1.ZodMiniObject<{
|
|
1236
|
+
allowedEvents: z$1.ZodMiniOptional<z$1.ZodMiniArray<z$1.ZodMiniString<string>>>;
|
|
1237
|
+
}, z$1.core.$strict>>>;
|
|
1238
|
+
connections: z$1.ZodMiniOptional<z$1.ZodMiniArray<z$1.ZodMiniString<string>>>;
|
|
1239
|
+
disabled: z$1.ZodMiniOptional<z$1.ZodMiniBoolean<boolean>>;
|
|
1240
|
+
}, z$1.core.$strict>]>>>;
|
|
1241
|
+
mcp: z$1.ZodMiniOptional<z$1.ZodMiniRecord<z$1.ZodMiniString<string>, z$1.ZodMiniObject<{
|
|
1242
|
+
connection: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
1243
|
+
command: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
1244
|
+
args: z$1.ZodMiniOptional<z$1.ZodMiniArray<z$1.ZodMiniString<string>>>;
|
|
1245
|
+
env: z$1.ZodMiniOptional<z$1.ZodMiniRecord<z$1.ZodMiniString<string>, z$1.ZodMiniString<string>>>;
|
|
1246
|
+
url: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
1247
|
+
type: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
1248
|
+
stdio: "stdio";
|
|
1249
|
+
http: "http";
|
|
1250
|
+
}>>;
|
|
1251
|
+
headers: z$1.ZodMiniOptional<z$1.ZodMiniRecord<z$1.ZodMiniString<string>, z$1.ZodMiniString<string>>>;
|
|
1252
|
+
tools: z$1.ZodMiniOptional<z$1.ZodMiniArray<z$1.ZodMiniString<string>>>;
|
|
1253
|
+
description: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
1254
|
+
connect: z$1.ZodMiniOptional<z$1.ZodMiniEnum<{
|
|
1255
|
+
start: "start";
|
|
1256
|
+
"first-use": "first-use";
|
|
1257
|
+
}>>;
|
|
1258
|
+
}, z$1.core.$strict>>>;
|
|
1259
|
+
network: z$1.ZodMiniObject<{
|
|
1260
|
+
allowedHosts: z$1.ZodMiniArray<z$1.ZodMiniString<string>>;
|
|
1261
|
+
readOnlyTasks: z$1.ZodMiniOptional<z$1.ZodMiniBoolean<boolean>>;
|
|
1262
|
+
}, z$1.core.$strict>;
|
|
1263
|
+
}, z$1.core.$strict>;
|
|
1264
|
+
type McpConfigEntry = z$1.infer<typeof mcpEntrySchema> & {
|
|
1265
|
+
repository?: boolean;
|
|
1266
|
+
};
|
|
1267
|
+
type Engine = z$1.infer<typeof engineSchema>;
|
|
1268
|
+
type Effort = z$1.infer<typeof effortSchema>;
|
|
1269
|
+
type CustomModelConfig = z$1.infer<typeof customModelSchema>;
|
|
1270
|
+
type CoderConfig = z$1.infer<typeof effectiveConfigSchema>;
|
|
1271
|
+
declare const config: {
|
|
1272
|
+
/** A config value by dotted key (or the whole effective config). */
|
|
1273
|
+
get: (key?: string, opts?: {
|
|
1274
|
+
cwd?: string;
|
|
1275
|
+
}) => unknown;
|
|
1276
|
+
/** Set a config value; `workspace` targets the repo file instead of the user file. */
|
|
1277
|
+
set: (key: string, value: unknown, opts?: {
|
|
1278
|
+
workspace?: boolean;
|
|
1279
|
+
cwd?: string;
|
|
1280
|
+
unset?: boolean;
|
|
1281
|
+
}) => {
|
|
1282
|
+
file: string;
|
|
1283
|
+
key: string;
|
|
1284
|
+
effective: unknown;
|
|
1285
|
+
value?: unknown;
|
|
1286
|
+
unset?: boolean;
|
|
1287
|
+
};
|
|
1288
|
+
};
|
|
1289
|
+
//#endregion
|
|
1489
1290
|
//#region src/client/types.d.ts
|
|
1291
|
+
/** The parts of `agent.json` the dashboard shows or edits against. */
|
|
1292
|
+
interface AgentDefinition {
|
|
1293
|
+
name?: string;
|
|
1294
|
+
description?: string;
|
|
1295
|
+
model?: string;
|
|
1296
|
+
access?: Access;
|
|
1297
|
+
integrations?: Record<string, {
|
|
1298
|
+
events?: string[] | Record<string, unknown>;
|
|
1299
|
+
}>;
|
|
1300
|
+
}
|
|
1301
|
+
/** Organization overrides for one agent (`AgentUsage` on the server). */
|
|
1302
|
+
interface AgentSettings {
|
|
1303
|
+
engine?: string;
|
|
1304
|
+
model?: string;
|
|
1305
|
+
effort?: string;
|
|
1306
|
+
/** A registered runner id; unset follows the requester's default. */
|
|
1307
|
+
runner?: string;
|
|
1308
|
+
access?: Access;
|
|
1309
|
+
integrations?: Record<string, {
|
|
1310
|
+
allowedEvents?: string[];
|
|
1311
|
+
}>;
|
|
1312
|
+
/** Connections its tasks may use, by id; absent allows every granted one. */
|
|
1313
|
+
connections?: string[];
|
|
1314
|
+
/** Off in this workspace: no platform events, no new tasks. */
|
|
1315
|
+
disabled?: boolean;
|
|
1316
|
+
}
|
|
1317
|
+
interface AgentRow {
|
|
1318
|
+
id: string;
|
|
1319
|
+
name: string;
|
|
1320
|
+
description?: string;
|
|
1321
|
+
source: string;
|
|
1322
|
+
/** The agent a task runs when it names none. */
|
|
1323
|
+
default?: true;
|
|
1324
|
+
repo?: string;
|
|
1325
|
+
path?: string;
|
|
1326
|
+
/** Browser address of the tracked folder, for repository agents. */
|
|
1327
|
+
sourceUrl?: string;
|
|
1328
|
+
currentVersion: number;
|
|
1329
|
+
/** A local server's agent, which keeps no versions; `commit` is its folder's last commit. */
|
|
1330
|
+
local?: true;
|
|
1331
|
+
commit?: string;
|
|
1332
|
+
updatedAt?: number;
|
|
1333
|
+
definition?: AgentDefinition;
|
|
1334
|
+
systemPrompt?: string;
|
|
1335
|
+
files?: Record<string, string>;
|
|
1336
|
+
settings?: AgentSettings;
|
|
1337
|
+
versions?: VersionRow[];
|
|
1338
|
+
/** The names it answers to, one per app that wakes on mentions, with the platform's display name. */
|
|
1339
|
+
handles?: Array<{
|
|
1340
|
+
name: string;
|
|
1341
|
+
integration: string;
|
|
1342
|
+
platform: string;
|
|
1343
|
+
}>;
|
|
1344
|
+
/** Where its apps are installed: the platform, the account and the app's name. */
|
|
1345
|
+
installations?: Array<{
|
|
1346
|
+
integration: string;
|
|
1347
|
+
account: string;
|
|
1348
|
+
app: string;
|
|
1349
|
+
}>;
|
|
1350
|
+
/** Platform events it failed to handle in the last day, with the newest; absent when none. */
|
|
1351
|
+
deliveries?: {
|
|
1352
|
+
failed: number;
|
|
1353
|
+
recent: FailedDeliveryRow[];
|
|
1354
|
+
};
|
|
1355
|
+
/** The model it runs first for the caller, by name, and where its list runs for them. */
|
|
1356
|
+
model?: string;
|
|
1357
|
+
runsOn?: string;
|
|
1358
|
+
/** Nothing can run any of its models for the caller: no credential of theirs or the workspace's, no sign-in on this machine. */
|
|
1359
|
+
needsModel?: true;
|
|
1360
|
+
/** Engines, and custom models as `custom/<name>`, that no workspace credential runs, so its settings can't pick them. */
|
|
1361
|
+
unrunnable?: string[];
|
|
1362
|
+
/** Why its definition is invalid; it answers no events until fixed. */
|
|
1363
|
+
problems?: string[];
|
|
1364
|
+
/** Keys its definition has that Coder renamed, with their new name, or no longer reads. */
|
|
1365
|
+
stale?: {
|
|
1366
|
+
renamed?: Record<string, string>;
|
|
1367
|
+
unknown?: string[];
|
|
1368
|
+
};
|
|
1369
|
+
}
|
|
1370
|
+
/** A platform event Coder failed to handle. */
|
|
1371
|
+
interface FailedDeliveryRow {
|
|
1372
|
+
at: number;
|
|
1373
|
+
platform: string;
|
|
1374
|
+
type?: string;
|
|
1375
|
+
error: string;
|
|
1376
|
+
/** The thread or issue it came from. */
|
|
1377
|
+
url?: string;
|
|
1378
|
+
}
|
|
1490
1379
|
/** What publishing did to one of the agent's apps: pushed it, failed to, or found it needs changes on the platform. */
|
|
1491
1380
|
interface AppSync {
|
|
1492
1381
|
id: string;
|
|
@@ -1496,6 +1385,31 @@ interface AppSync {
|
|
|
1496
1385
|
error?: string;
|
|
1497
1386
|
drift?: true;
|
|
1498
1387
|
}
|
|
1388
|
+
interface VersionRow {
|
|
1389
|
+
version: number;
|
|
1390
|
+
createdAt: number;
|
|
1391
|
+
importedFrom?: string;
|
|
1392
|
+
commit?: string;
|
|
1393
|
+
}
|
|
1394
|
+
/** An alias's model spec, false for a name turned off, or a custom endpoint. */
|
|
1395
|
+
type ModelEntry = string | false | {
|
|
1396
|
+
baseUrl: string;
|
|
1397
|
+
model: string;
|
|
1398
|
+
envKey?: string;
|
|
1399
|
+
wireApi?: 'chat' | 'responses';
|
|
1400
|
+
contextWindow?: number;
|
|
1401
|
+
disabled?: boolean;
|
|
1402
|
+
};
|
|
1403
|
+
type Config = {
|
|
1404
|
+
version?: number;
|
|
1405
|
+
chain?: string[];
|
|
1406
|
+
reviewModel?: string;
|
|
1407
|
+
models?: Record<string, ModelEntry>;
|
|
1408
|
+
network?: {
|
|
1409
|
+
allowedHosts?: string[];
|
|
1410
|
+
readOnlyTasks?: boolean;
|
|
1411
|
+
};
|
|
1412
|
+
};
|
|
1499
1413
|
type RunnerKind = 'local' | 'local-docker' | 'vercel-sandbox' | 'github-actions' | 'http';
|
|
1500
1414
|
interface RunnerSpec {
|
|
1501
1415
|
kind: RunnerKind;
|
|
@@ -1547,11 +1461,20 @@ interface RunnerTest {
|
|
|
1547
1461
|
detail: string;
|
|
1548
1462
|
ms: number;
|
|
1549
1463
|
}
|
|
1464
|
+
type ModelsShape = {
|
|
1465
|
+
/** Built-in aliases, name -> model spec. */
|
|
1466
|
+
builtin: Record<string, string>;
|
|
1467
|
+
models: Record<string, ModelEntry>;
|
|
1468
|
+
/** Where each chain model and the review model run for the caller, by spec. */
|
|
1469
|
+
runsOn?: Record<string, string>;
|
|
1470
|
+
};
|
|
1550
1471
|
interface ProbeResult {
|
|
1551
1472
|
reachable: boolean;
|
|
1552
1473
|
modelListed: boolean | null;
|
|
1553
1474
|
/** Model ids the endpoint lists, or null when it has no list. */
|
|
1554
1475
|
models: string[] | null;
|
|
1476
|
+
/** Context window in tokens per model id, where the provider reports one. */
|
|
1477
|
+
contextWindows?: Record<string, number>;
|
|
1555
1478
|
detail: string;
|
|
1556
1479
|
}
|
|
1557
1480
|
/** One connection as the dashboard lists it; secrets never leave the server. */
|
|
@@ -1560,11 +1483,17 @@ interface ConnectionRow {
|
|
|
1560
1483
|
name: string;
|
|
1561
1484
|
/** `mcp`, `env` for an API key tasks read from `env`, or the integration id whose API it reaches. */
|
|
1562
1485
|
provider: string;
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1486
|
+
scope: 'personal' | 'workspace';
|
|
1487
|
+
/** Set on a member's own connection; `asker` when that member is the one asking. */
|
|
1488
|
+
owner?: {
|
|
1489
|
+
id: string;
|
|
1490
|
+
name?: string;
|
|
1491
|
+
};
|
|
1492
|
+
asker?: true;
|
|
1493
|
+
/** Set on an agent's app installation, managed on that agent's Platforms tab. */
|
|
1494
|
+
agent?: string;
|
|
1495
|
+
/** `read-only` exposes only its read-only tools; absent or `auto` follows the task. */
|
|
1496
|
+
access?: Access;
|
|
1568
1497
|
auth: 'none' | 'key' | 'oauth';
|
|
1569
1498
|
/** The remote server, or the stdio command, it is bound to. */
|
|
1570
1499
|
url?: string;
|
|
@@ -1572,8 +1501,10 @@ interface ConnectionRow {
|
|
|
1572
1501
|
/** The environment variable an `env` connection's key is in. */
|
|
1573
1502
|
env?: string;
|
|
1574
1503
|
account?: string;
|
|
1575
|
-
/** `
|
|
1576
|
-
status: '
|
|
1504
|
+
/** `needs-auth`: its sign-in is unfinished or its secret stopped working; `disabled`: not granted to the task listing it. */
|
|
1505
|
+
status: 'connected' | 'needs-auth' | 'disabled';
|
|
1506
|
+
/** The task's tool search name for it, when the task has it. */
|
|
1507
|
+
server?: string;
|
|
1577
1508
|
createdAt: number;
|
|
1578
1509
|
}
|
|
1579
1510
|
interface LocalFolder {
|
|
@@ -1600,9 +1531,11 @@ interface TaskTurn {
|
|
|
1600
1531
|
finishedAt?: number;
|
|
1601
1532
|
/** First log sequence after this turn. */
|
|
1602
1533
|
logSeq?: number;
|
|
1534
|
+
/** The approval whose decision this turn's prompt is: it shows as that decision, not as a prompt. */
|
|
1535
|
+
approval?: string;
|
|
1603
1536
|
}
|
|
1604
1537
|
//#endregion
|
|
1605
|
-
//#region src/core/task/
|
|
1538
|
+
//#region src/core/task/view.d.ts
|
|
1606
1539
|
interface TaskLogEntry {
|
|
1607
1540
|
at?: string;
|
|
1608
1541
|
message?: string;
|
|
@@ -1633,21 +1566,27 @@ interface AgentPromptParts {
|
|
|
1633
1566
|
};
|
|
1634
1567
|
/** Conversation tasks: the events the agent subscribes to. */
|
|
1635
1568
|
events?: string[];
|
|
1636
|
-
/** The agent's access
|
|
1637
|
-
access?:
|
|
1569
|
+
/** The agent's access. */
|
|
1570
|
+
access?: Access;
|
|
1638
1571
|
}
|
|
1639
1572
|
interface SystemPromptParts extends AgentPromptParts {
|
|
1640
|
-
/** The task's MCP servers as the worker renders them on each turn. */
|
|
1641
|
-
servers?: string;
|
|
1642
|
-
/** Coder's task tools this turn has, as the worker serves them. */
|
|
1643
|
-
tools?: string[];
|
|
1644
1573
|
cwd?: string;
|
|
1645
1574
|
/** A platform event's task, whose final message is a reply in a thread; otherwise a general task. */
|
|
1646
1575
|
conversation?: boolean;
|
|
1647
1576
|
/** The engine runs on this machine, not on a hosted runner. */
|
|
1648
1577
|
local?: boolean;
|
|
1649
|
-
/**
|
|
1650
|
-
|
|
1578
|
+
/** The task's scratch folder on the machine it runs on. */
|
|
1579
|
+
scratch?: string;
|
|
1580
|
+
/** Sandboxed commands reach only the hosts they declare (Claude auto). */
|
|
1581
|
+
declareHosts?: boolean;
|
|
1582
|
+
/** The task may write (auto). */
|
|
1583
|
+
writes?: boolean;
|
|
1584
|
+
/** `coder task run --append-system` text and flow instructions. */
|
|
1585
|
+
appendSystem?: string;
|
|
1586
|
+
/** The final message is JSON for a schema, not a summary. */
|
|
1587
|
+
structured?: boolean;
|
|
1588
|
+
/** The turn has platform servers, which act as the app or as the person asking. */
|
|
1589
|
+
connections?: boolean;
|
|
1651
1590
|
}
|
|
1652
1591
|
//#endregion
|
|
1653
1592
|
//#region src/core/types.d.ts
|
|
@@ -1672,18 +1611,31 @@ interface McpServerSpec {
|
|
|
1672
1611
|
env?: string;
|
|
1673
1612
|
header?: string;
|
|
1674
1613
|
};
|
|
1614
|
+
/** Where `connection`'s token goes; the tool search asks for it on first use. */
|
|
1615
|
+
credentialOnUse?: {
|
|
1616
|
+
env?: string;
|
|
1617
|
+
header?: string;
|
|
1618
|
+
};
|
|
1619
|
+
/** When `connection` was created; its token is given only to the same row at the same `url`. */
|
|
1620
|
+
connectionCreatedAt?: number;
|
|
1675
1621
|
/** Tool allowlist; omit or empty for every tool the server offers. */
|
|
1676
1622
|
tools?: string[];
|
|
1677
1623
|
/** Schemas load before the first prompt instead of behind tool search or the hub. */
|
|
1678
1624
|
alwaysLoad?: boolean;
|
|
1625
|
+
/** When the tool search connects it: at turn start, its instructions and tool names in the prompt, or on first use (default). */
|
|
1626
|
+
connect?: 'start' | 'first-use';
|
|
1679
1627
|
/** Only tools the server marks read-only may be called. */
|
|
1680
1628
|
readOnly?: boolean;
|
|
1681
1629
|
/** The integration a platform tool server reaches, and the account of its installation. */
|
|
1682
1630
|
integration?: string;
|
|
1683
1631
|
account?: string;
|
|
1684
|
-
/**
|
|
1632
|
+
/** A personal connection's member, as `Connection.owner`; its first use asks them. */
|
|
1633
|
+
owner?: string;
|
|
1634
|
+
/** One line naming the server's identity and what it reaches, as the tool search lists it. */
|
|
1685
1635
|
description?: string;
|
|
1686
|
-
|
|
1636
|
+
/** What the server's tools do; shown before the server's own instructions. On an `alwaysLoad` server, the instructions it serves. */
|
|
1637
|
+
instructions?: string;
|
|
1638
|
+
access?: Access;
|
|
1687
1639
|
}
|
|
1688
1640
|
type TaskStatus = 'queued' | 'running' | 'completed' | 'failed' | 'cancelled';
|
|
1689
1641
|
/** A persisted task record (task.json). Most fields accrete over the lifecycle. */
|
|
@@ -1697,25 +1649,20 @@ interface Task {
|
|
|
1697
1649
|
prompt?: string;
|
|
1698
1650
|
outputSchema?: object;
|
|
1699
1651
|
currentPrompt?: string | null;
|
|
1700
|
-
|
|
1701
|
-
promptParts?:
|
|
1652
|
+
appendSystem?: string | null;
|
|
1653
|
+
promptParts?: SystemPromptParts;
|
|
1702
1654
|
systemPrompt?: string;
|
|
1703
1655
|
model?: string | null;
|
|
1704
1656
|
effort?: Effort | null;
|
|
1705
|
-
|
|
1657
|
+
access?: Access;
|
|
1706
1658
|
resumeThreadId?: string | null;
|
|
1707
1659
|
cwd?: string;
|
|
1708
1660
|
pid?: number | null;
|
|
1709
1661
|
dispatchId?: string;
|
|
1710
1662
|
threadId?: string | null;
|
|
1711
1663
|
previousThreadIds?: string[];
|
|
1712
|
-
pendingRollover?: {
|
|
1713
|
-
summary: string;
|
|
1714
|
-
recent: string;
|
|
1715
|
-
exchanges: number;
|
|
1716
|
-
};
|
|
1717
|
-
rollingOver?: boolean;
|
|
1718
1664
|
steerClosed?: boolean;
|
|
1665
|
+
resumeOwner?: number;
|
|
1719
1666
|
conversation?: boolean;
|
|
1720
1667
|
turnId?: string | null;
|
|
1721
1668
|
steerEndpoint?: string | null;
|
|
@@ -1726,14 +1673,13 @@ interface Task {
|
|
|
1726
1673
|
resumedAt?: string;
|
|
1727
1674
|
error?: string;
|
|
1728
1675
|
fallbacks?: Array<{
|
|
1729
|
-
|
|
1676
|
+
model: string;
|
|
1730
1677
|
detail: string;
|
|
1731
|
-
next:
|
|
1678
|
+
next: string;
|
|
1732
1679
|
}>;
|
|
1733
1680
|
archived?: boolean;
|
|
1734
1681
|
archivedAt?: string;
|
|
1735
1682
|
autoArchived?: boolean;
|
|
1736
|
-
simulateApproval?: boolean;
|
|
1737
1683
|
flowRunId?: string;
|
|
1738
1684
|
agentId?: string;
|
|
1739
1685
|
source?: string;
|
|
@@ -1746,6 +1692,14 @@ interface Task {
|
|
|
1746
1692
|
nativeMcp?: boolean;
|
|
1747
1693
|
addDirs?: string[];
|
|
1748
1694
|
}
|
|
1695
|
+
/** Task options after resolving CLI flags against config defaults. */
|
|
1696
|
+
interface ResolvedTaskOptions {
|
|
1697
|
+
/** codex, claude, or custom. */
|
|
1698
|
+
engine: Engine;
|
|
1699
|
+
model: string | null;
|
|
1700
|
+
effort: Effort | null;
|
|
1701
|
+
access: Access;
|
|
1702
|
+
}
|
|
1749
1703
|
/** The outcome of running one engine turn. status 0 == success. */
|
|
1750
1704
|
interface TurnResult {
|
|
1751
1705
|
status: number;
|
|
@@ -1766,15 +1720,21 @@ interface Availability {
|
|
|
1766
1720
|
available: boolean;
|
|
1767
1721
|
detail: string;
|
|
1768
1722
|
}
|
|
1769
|
-
/** A
|
|
1723
|
+
/** A task's escalation and its answer, if any. */
|
|
1770
1724
|
interface Approval {
|
|
1771
1725
|
id: string;
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1726
|
+
/** One short sentence: what the actions are for. */
|
|
1727
|
+
reason: string;
|
|
1728
|
+
/** The exact commands; one answer covers them all. */
|
|
1729
|
+
actions: string[];
|
|
1775
1730
|
createdAt?: string;
|
|
1731
|
+
/** `by` names who answered; `deliveredAt` is set once the task has the decision; `closed` when the task was stopped first. */
|
|
1776
1732
|
response?: {
|
|
1777
|
-
decision:
|
|
1733
|
+
decision: 'accept' | 'decline' | 'closed';
|
|
1734
|
+
reason?: string;
|
|
1735
|
+
answeredAt?: string;
|
|
1736
|
+
by?: string;
|
|
1737
|
+
deliveredAt?: string;
|
|
1778
1738
|
} | null;
|
|
1779
1739
|
[key: string]: unknown;
|
|
1780
1740
|
}
|
|
@@ -1799,13 +1759,11 @@ interface GateResult {
|
|
|
1799
1759
|
}
|
|
1800
1760
|
/** Options shared with `coder run`, plus `returns`. */
|
|
1801
1761
|
interface FlowTaskOptions<T = unknown> {
|
|
1802
|
-
engine?: string;
|
|
1803
1762
|
model?: string;
|
|
1804
|
-
|
|
1805
|
-
permissions?: string;
|
|
1763
|
+
access?: Access;
|
|
1806
1764
|
mcp?: string | McpServerSpec[];
|
|
1807
1765
|
name?: string;
|
|
1808
|
-
|
|
1766
|
+
appendSystem?: string;
|
|
1809
1767
|
cwd?: string;
|
|
1810
1768
|
addDirs?: string[];
|
|
1811
1769
|
returns?: FlowSchema<T>;
|
|
@@ -1813,8 +1771,7 @@ interface FlowTaskOptions<T = unknown> {
|
|
|
1813
1771
|
/** Overrides for one more turn, as `coder task steer` takes them. */
|
|
1814
1772
|
interface FlowSteerOptions {
|
|
1815
1773
|
model?: string;
|
|
1816
|
-
|
|
1817
|
-
permissions?: string;
|
|
1774
|
+
access?: Access;
|
|
1818
1775
|
}
|
|
1819
1776
|
type FlowRunStatus = 'running' | 'completed' | 'failed' | 'stopped';
|
|
1820
1777
|
/** An event recorded by the flow runtime and delivered to its hooks and followers. */
|
|
@@ -1901,7 +1858,7 @@ interface DiscoveredFlow {
|
|
|
1901
1858
|
scope: 'workspace' | 'global' | 'builtin';
|
|
1902
1859
|
}
|
|
1903
1860
|
//#endregion
|
|
1904
|
-
//#region src/flow/
|
|
1861
|
+
//#region src/flow/runtime.d.ts
|
|
1905
1862
|
/**
|
|
1906
1863
|
* Prefix-order replay. A call matches the first unconsumed recorded entry with
|
|
1907
1864
|
* an identical fingerprint (fingerprint match rather than strict positional
|
|
@@ -1919,8 +1876,6 @@ declare class Journal {
|
|
|
1919
1876
|
replay(...fps: string[]): JournalEntry | null;
|
|
1920
1877
|
record(entry: Omit<JournalEntry, 'seq'>): void;
|
|
1921
1878
|
}
|
|
1922
|
-
//#endregion
|
|
1923
|
-
//#region src/flow/runtime.d.ts
|
|
1924
1879
|
/** Progress callbacks a foreground caller can attach to a run. */
|
|
1925
1880
|
interface FlowHooks {
|
|
1926
1881
|
/** Fired once the run is armed, with a stop handle for a SIGINT handler. */
|
|
@@ -1930,6 +1885,8 @@ interface FlowHooks {
|
|
|
1930
1885
|
runningIds: () => string[];
|
|
1931
1886
|
}) => void;
|
|
1932
1887
|
onEvent?: (event: FlowEvent) => void;
|
|
1888
|
+
/** A cloud runner's credentials for one model, best first; none skips the model. Unset runs on the process's own logins. */
|
|
1889
|
+
onModel?: (model: ResolvedTaskOptions) => Promise<NodeJS.ProcessEnv[]>;
|
|
1933
1890
|
}
|
|
1934
1891
|
interface RunContext {
|
|
1935
1892
|
runId: string;
|
|
@@ -1953,10 +1910,9 @@ interface RunContext {
|
|
|
1953
1910
|
env: Record<string, string>;
|
|
1954
1911
|
ids: string[];
|
|
1955
1912
|
};
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
};
|
|
1913
|
+
access?: Access;
|
|
1914
|
+
/** The credential each of its tasks runs on, by task id, so a steer resumes on it. */
|
|
1915
|
+
credentialEnv?: Map<string, NodeJS.ProcessEnv>;
|
|
1960
1916
|
}
|
|
1961
1917
|
declare class Semaphore {
|
|
1962
1918
|
limit: number;
|
|
@@ -2021,6 +1977,12 @@ interface TurnResultEntry {
|
|
|
2021
1977
|
[key: string]: unknown;
|
|
2022
1978
|
}
|
|
2023
1979
|
declare function readTurnResults(cwd: string, taskId: string): TurnResultEntry[];
|
|
1980
|
+
interface CacheMigration {
|
|
1981
|
+
cache: string;
|
|
1982
|
+
tasks: number;
|
|
1983
|
+
flows: number;
|
|
1984
|
+
files: number;
|
|
1985
|
+
}
|
|
2024
1986
|
//#endregion
|
|
2025
1987
|
//#region src/flow/executor.d.ts
|
|
2026
1988
|
interface RunOptions {
|
|
@@ -2033,11 +1995,8 @@ interface RunOptions {
|
|
|
2033
1995
|
/** Platform credential for built-in integrations; never persisted with the run. */
|
|
2034
1996
|
integrationToken?: string;
|
|
2035
1997
|
connections?: RunContext['connections'];
|
|
2036
|
-
/** The agent
|
|
2037
|
-
|
|
2038
|
-
agent: string;
|
|
2039
|
-
permissions: string;
|
|
2040
|
-
};
|
|
1998
|
+
/** The agent's access, which caps every task this run starts. */
|
|
1999
|
+
access?: Access;
|
|
2041
2000
|
}
|
|
2042
2001
|
interface RunSummary {
|
|
2043
2002
|
runId: string;
|
|
@@ -2110,10 +2069,10 @@ interface FallbackPayload {
|
|
|
2110
2069
|
fallback: {
|
|
2111
2070
|
action: 'run-native-subagent';
|
|
2112
2071
|
reason: 'no-engine-available';
|
|
2113
|
-
|
|
2072
|
+
access: string;
|
|
2114
2073
|
instructions: string;
|
|
2115
2074
|
note: string;
|
|
2116
|
-
|
|
2075
|
+
appendSystem?: string;
|
|
2117
2076
|
task: string;
|
|
2118
2077
|
};
|
|
2119
2078
|
}
|
|
@@ -2132,9 +2091,8 @@ declare class CoderError extends Error {
|
|
|
2132
2091
|
/** approval-pending: the approval to answer. */
|
|
2133
2092
|
approval?: {
|
|
2134
2093
|
id: string;
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
networkHost?: string | null;
|
|
2094
|
+
reason: string;
|
|
2095
|
+
actions: string[];
|
|
2138
2096
|
};
|
|
2139
2097
|
/** task-failed (flow task()): the failed task's result. */
|
|
2140
2098
|
result?: unknown;
|
|
@@ -2157,9 +2115,10 @@ interface TaskResult {
|
|
|
2157
2115
|
turns: TurnResultEntry[];
|
|
2158
2116
|
task: Task;
|
|
2159
2117
|
}
|
|
2160
|
-
/** Read a task's
|
|
2118
|
+
/** Read a task's state and result.json without waiting. `tail` fills `steps`; `task` is the snapshot to judge by (a wait's), so a next turn starting meanwhile does not hide the finished one's result. */
|
|
2161
2119
|
declare function readTask(cwd: string, taskId: string, opts?: {
|
|
2162
2120
|
tail?: number | 'all';
|
|
2121
|
+
task?: Task;
|
|
2163
2122
|
}): TaskResult;
|
|
2164
2123
|
//#endregion
|
|
2165
2124
|
//#region src/flow/index.d.ts
|
|
@@ -2210,9 +2169,8 @@ declare const args: z.ZodObject<{
|
|
|
2210
2169
|
author: z.ZodOptional<z.ZodString>;
|
|
2211
2170
|
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2212
2171
|
exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2213
|
-
engine: z.ZodOptional<z.ZodString>;
|
|
2214
2172
|
model: z.ZodOptional<z.ZodString>;
|
|
2215
|
-
|
|
2173
|
+
depth: z.ZodOptional<z.ZodEnum<{
|
|
2216
2174
|
low: "low";
|
|
2217
2175
|
medium: "medium";
|
|
2218
2176
|
high: "high";
|
|
@@ -2315,8 +2273,6 @@ interface ReviewAuth {
|
|
|
2315
2273
|
token?: string;
|
|
2316
2274
|
exec?: ReviewExec;
|
|
2317
2275
|
}
|
|
2318
|
-
/** The platform reviews post to; its tool server holds the token. */
|
|
2319
|
-
declare const REVIEW_PLATFORM = "github";
|
|
2320
2276
|
interface ReviewComment {
|
|
2321
2277
|
id: number;
|
|
2322
2278
|
body?: string | null;
|
|
@@ -2345,4 +2301,4 @@ declare function resolveReviewTarget(input: ReviewTargetInput, auth?: ReviewAuth
|
|
|
2345
2301
|
/** Post unseen findings and upsert the sticky summary through GitHub's integration. */
|
|
2346
2302
|
declare function postReview(input: ReviewPostInput, auth?: ReviewAuth): number;
|
|
2347
2303
|
//#endregion
|
|
2348
|
-
export { type FlowTaskOptions as $, type
|
|
2304
|
+
export { type FlowTaskOptions as $, type TaskResult as A, PlatformEvent as At, type CacheMigration as B, repositoryRules as C, TaskTurn as Ct, type reviewFingerprints as D, McpConfigEntry as Dt, type reviewCli as E, Effort as Et, type deleteRuns as F, type pipeline as G, type flow as H, type RunOptions as I, type DiscoveredFlow as J, type steer as K, type RunSummary as L, CoderError as M, type RunResult as N, type args$1 as O, config as Ot, type archiveRuns as P, type FlowStep as Q, type StopSummary as R, type renderReviewMarkdown as S, RunnerUpdate as St, type review as T, CustomModelConfig as Tt, type gate as U, type readTurnResults as V, type log as W, type FlowRecord as X, type FlowEvent as Y, type FlowSteerOptions as Z, type fingerprint as _, RunnerKind as _t, type ReviewPostFinding as a, type TurnResult as at, type parseGithubPr as b, RunnerSpec as bt, type ReviewResult as c, AgentRow as ct, type ReviewTarget as d, ConnectionRow as dt, FlowTaskResult as et, type ReviewTargetInput as f, LocalFolder as ft, type description as g, RunnerInput as gt, type concurrency as h, ProbeResult as ht, type ReviewExec as i, Task as it, type readTask as j, SinceMessage as jt, type flowSdk as k, Access as kt, type ReviewServices as l, AppSync as lt, changedLines as m, ModelsShape as mt, type ReviewArgs as n, Approval as nt, ReviewPostInput as o, TaskLogEntry as ot, args as p, LocalFolders as pt, task as q, ReviewAuth as r, Availability as rt, ReviewPostSummary as s, TokenUsage as st, Finding as t, GateResult as tt, ReviewSummary as u, Config as ut, lastReviewSummary as v, RunnerPairing as vt, type resolveReviewTarget as w, CoderConfig as wt, type postReview as x, RunnerTest as xt, type ownReviewComments as y, RunnerRow as yt, type review$1 as z };
|