@wular/coder 0.4.9 → 0.4.11
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/dist/actions-Cwe3IDVs.js +2 -0
- package/dist/adapter-Bi768A94.js +1 -0
- package/dist/{adapter-YCvP9H2n.js → adapter-CkL4PqXE.js} +42 -42
- package/dist/{adapter-B2RXnvqt.js → adapter-DYxjaefw.js} +6 -6
- package/dist/add-B6vPKZEr.js +1 -0
- package/dist/add-n6c9OINP.js +2 -0
- package/dist/add-v1Pv00HX.js +1 -0
- package/dist/{add-CvBTpxgY.js → add-wC8ByRgM.js} +2 -2
- package/dist/agent-6GooVMsq.js +8 -0
- package/dist/{agent-vYm7Geh-.js → agent-BkxXgha0.js} +1 -1
- package/dist/alias-A8ObWElH.js +2 -0
- package/dist/{app-CJPFaLIV.js → app-CaxTL1H3.js} +1 -1
- package/dist/approvals-h5lytkey.js +2 -0
- package/dist/approve-BNhg0MLi.js +2 -0
- package/dist/{approve-CBuGu3du.js → approve-BiHM8kSo.js} +1 -1
- package/dist/apps-BNe86LfS.js +367 -0
- package/dist/archive-CMHRsVYf.js +4 -0
- package/dist/{archive-C89Z4kSx.js → archive-H2B7Me8E.js} +2 -2
- package/dist/args-CURX44CA.js +1 -0
- package/dist/ask-D8TIVhPl.js +4 -0
- package/dist/auth-BSMPjhnz.js +1 -0
- package/dist/auth-D3quZAKT.js +1 -0
- package/dist/builtin/coder/agent.json +5 -9
- package/dist/chat-3AvUDOwf.js +13 -0
- package/dist/chat-bridge-BmqYsASZ.js +2 -0
- package/dist/chat-bwKd3y6V.js +1 -0
- package/dist/cli-BBlH53hA.js +9 -0
- package/dist/cli.js +1 -1
- package/dist/client-sqXb-y09.js +22 -0
- package/dist/config-K6Rrjsee.js +3 -0
- package/dist/connection-B-IB8tlP.js +1 -0
- package/dist/{connection-BtUZA2St.js → connection-BXBDeoax.js} +1 -1
- package/dist/conversation-DT-35cEt.js +1 -0
- package/dist/create-CP_JmJnh.js +1 -0
- package/dist/credentials-BRFajC0d.js +1 -0
- package/dist/dash/standalone/server/build-index.json +1 -1
- package/dist/dash/standalone/server/manifest.json +1321 -1307
- package/dist/dash/standalone/server/modules-server-server-react-server/src/client/{index.8e150ef2bc6a5f4e.js → index.0de14cb4e30bd70d.js} +8 -16
- package/dist/dash/standalone/server/modules-server-server-react-server/src/core/{defaults.e6ce0944639198a2.js → defaults.1b615366c56838a1.js} +27 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/core/event-prompt.87f064ca0141e796.js +30 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/core/task/{log-view.871cbff2605b5cfd.js → log-view.60308a11f7001eb7.js} +10 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/api/{load.4f942c7f68b2e273.js → load.be791a5eaf328738.js} +15 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/api/{types.9f59e6c761d6aac4.js → types.79f9092cdb5a00d1.js} +4 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/connect/{page.a2a16ead424b2185.js → page.0fbfdba5254f7ae5.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/create/[id]/{page.90e312759b87cfa2.js → page.70913bd4075da914.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{loading.787d09fb0b2b6b57.js → loading.e348ec45e9ed951b.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{notify.5fc5e4346dcbfc32.js → notify.61aab176baeefebd.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{page.1641da62504df30a.js → page.815371ed0d5dd4fa.js} +9 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{sign-out.5dac3bf780c74354.js → sign-out.1d6af804f9ec043d.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{agent-menu.f1dacbfebc27a656.js → agent-menu.2ed0e66d131fc148.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{agents-grid.5da78e9a741b028a.js → agents-grid.f43bcc1148ce3650.js} +22 -13
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{connect-apps.722bc3e4ec1f9fad.js → connect-apps.f3af8cc8540719d7.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{loading.2815a010098aa676.js → loading.fac1132ad9c4248e.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{page.b01992337eeca2dc.js → page.5f88059c03cf82b4.js} +15 -20
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{layout.8aeb0fddffe22ad5.js → layout.b7392d534ce0410e.js} +19 -19
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{loading.50692149df9abb28.js → loading.388aeaf0c2edf8f8.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{page.e2e23101c05b9548.js → page.5aae24bbfd90c434.js} +80 -30
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{loading.31d2c13229ae9222.js → loading.4da9e2ba3fea937f.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{page.11c7b50d6119efe6.js → page.91c992fdd3b4a493.js} +38 -35
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{platform-actions.92ac7aa258e706a4.js → platform-actions.8e7ca54dd1821e98.js} +68 -41
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{agent-settings-form.fc530622fa2292a0.js → agent-settings-form.eb707a9e32718374.js} +47 -72
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{loading.bf17bd39f41db826.js → loading.ad1a4c9b000d269a.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{page.6e95dfe07dfebf4b.js → page.9ec1ec08ba05da59.js} +15 -21
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/tasks/{loading.7b17368ee81275ab.js → loading.dd9088a4581b1d65.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/tasks/{page.0bd3da9b3227b12f.js → page.71dc042821133e82.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/usage/{loading.d2cc33cf044a92a3.js → loading.8f998a9c511e1fb3.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/usage/{page.91c43fbc54e37646.js → page.45e18b6dc3019af4.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{versions-list.23e4131cdf71daa5.js → versions-list.c8d76988c734dda2.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/edit/{loading.47c4c8f31b4f17cc.js → loading.b1367e864b4fb406.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/edit/{page.cbd2bad8fede6fef.js → page.e3179ddf20a7e55d.js} +13 -24
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{agent-pills.d8e785c45f5410a6.js → agent-pills.f987c12bcbc5c850.js} +13 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{agent-toggle.a6e27ac4171bfdb0.js → agent-toggle.1579dc8acbaacf92.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{hero.96bdca9762ff3e2e.js → hero.ad5cc342db794e5d.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{instructions.ca0c09d4849bfc30.js → instructions.85b1cd986a9edbb5.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{connect-repositories.258f6c2c5f1b1b17.js → connect-repositories.43b4b28f194ea842.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{editor.20c42102ed262db7.js → editor.62cb8207218e6437.js} +36 -76
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{import-picker.b8093a7ca97656a5.js → import-picker.eafa5b41a2ed571f.js} +15 -16
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/new/{loading.6012b36c10c68657.js → loading.ee001af7a96e3972.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/new/{page.1ebdb0247922fc14.js → page.dffb05f2d256d81a.js} +11 -19
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{layout.6d2242d49ae9dd35.js → layout.393cf7429eea189e.js} +13 -13
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/{operator-apps.a56516bc0ba79187.js → operator-apps.a244f3199e7cf09c.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/{page.af19494c89ac62c0.js → page.980adfb7c5714752.js} +8 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{page.c720853404d94114.js → page.24a1987405ed7b17.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{connections-list.9b96914a4fa4e2a9.js → connections-list.21ec9dc73ce68656.js} +36 -31
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{credentials-list.dbaa8f3d82445b90.js → credentials-list.683476f62a9ecde7.js} +204 -240
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{credentials.c4b01484d183549d.js → credentials.b43dd3d97c536c2a.js} +10 -11
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{engines-list.5c03e83663a6a9b7.js → engines-list.9e116751bd34e2cc.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{list.df5ee5d74bec0f5b.js → list.083f5c665df04b1b.js} +43 -33
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{loading.480b8f915bae18c1.js → loading.7ca95dcb4fb3362b.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{models-list.2835a48d1edeb6d1.js → models-list.537f63f8e5dd085d.js} +147 -137
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{page.1d53415d55e77fee.js → page.dfed4ae6ffc74434.js} +23 -23
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{runners-list.bf5746f48e3f78f5.js → runners-list.3afa989490bbe77c.js} +18 -19
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{secrets-list.b0dedc1567efc09f.js → secrets-list.0d175ee815b22cd7.js} +23 -15
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{layout.567d27e39d42d719.js → layout.3e8289f888fa444c.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{model-options.2eacf7f8ac0032df.js → model-options.a96c11d11674f598.js} +13 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{page.bac05d6e87953d0e.js → page.06feaa5fbb06f1e6.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{settings-head.5e2dff2550b3b73e.js → settings-head.bbc7ced8dd5491eb.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{tunnel-guide.d6fae1c5d62f2c74.js → tunnel-guide.29eee1a0b1852168.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{create-link.03989d2f7585a045.js → create-link.ff95e4b6977d0474.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{outcome-dialog.4debc1a8c644df4b.js → outcome-dialog.894c73f9abee3ce1.js} +5 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{page.43c969f59a710781.js → page.f06fda0df59beeb5.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{activity.3755ae6065c3fc28.js → activity.3c79cf14feff12bf.js} +22 -27
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{loading.9efbed6531879838.js → loading.56520888d5270b88.js} +6 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{page.7b92dcd08095b934.js → page.25b29e72df84806b.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-actions.62422b873f98ee8e.js → task-actions.587da79d68ab8d14.js} +14 -12
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-view.ae0e9c9dffe0ff9f.js → task-view.f2e902c8208b2e78.js} +129 -66
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{composer-data.ff108c0ef82a4d7b.js → composer-data.309a194fc7fa34be.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{composer.fdad306647cbaa59.js → composer.b0bb1faaac8e0b6c.js} +29 -41
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{task.af5001e51d2f612b.js → task.a0c68180db5fb4c1.js} +26 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-list.952f37a9486aebe7.js → tasks-list.b52a49fb5faeefd0.js} +34 -31
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-section.1247d4765d0e1bdc.js → tasks-section.80f9c9a42ecae854.js} +10 -10
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{page.cf74c55e6528c7c9.js → page.20b5c22658eae312.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{custom-range.2d55812ec086b540.js → custom-range.2e21c7f891966c15.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{day-chart.08d378cca93d3ab1.js → day-chart.261b6651df2d3966.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{loading.7aed78a276b08a4f.js → loading.97d277dbab9c15cf.js} +4 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{metric.ada350d2b7449b39.js → metric.5ff3636065481c44.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{page.fed9345ebac3e1b3.js → page.fb21ebe90d49dac1.js} +11 -18
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{range-bar.b1296c2378128472.js → range-bar.2197d8f43216d104.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{top-agents.e215d44e00192271.js → top-agents.18fc469e781e2305.js} +6 -10
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/{layout.b7e3af142b17941b.js → layout.185dbc99875e208a.js} +11 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/login/{page.226544940a39fd3a.js → page.a82be2fd23e9ac67.js} +2 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/zone.0515a688ee5ff6ca.js +17 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{drawer.8287e5a02144e4f1.js → drawer.d3e61538dbc8ec39.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{foreign-link.86f0cc228353da6e.js → foreign-link.1f4217895ff1e835.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/heads.37e35439c02fc636.js +16 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{loading-card.0c6ac62ff3ccf38a.js → loading-card.cc76fc9708142525.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{page-head.bd54e52ac4a7a89c.js → page-head.85f15db7b648d48c.js} +4 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{stream.1cc355a530dcc5e3.js → stream.e2915852cf82c86b.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{task-toasts.63f673632770924d.js → task-toasts.0ed8ccaae81b9d53.js} +11 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{theme-choices.5f59814a635caeec.js → theme-choices.85100ed66d6f9200.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{back.5681714d0cf45454.js → back.180765bdadf6d602.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{org.4d84ad0ac340fbe2.js → org.572ad93c7707ab27.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{side-toggle.249400957d6a7527.js → side-toggle.489faf1a259479f7.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{badge.0851f234f300c694.js → badge.c0bc352791a95fd6.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{button.983daea9e687fc5d.js → button.ce9e6cdb08ca86db.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{card.c08471eaa0bc1cec.js → card.9f0d45b73bc78b4f.js} +9 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{collapse.762eba56417214ca.js → collapse.93e4d1b20c2873ed.js} +13 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{combo.efb84f0cca771948.js → combo.54270c0251466fda.js} +3 -22
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{confirm.53edc755945b0563.js → confirm.c1281f9b12854210.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{copy.0b23d7dc05757df5.js → copy.bd6fc1577a393965.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{filter.1983b85dd0679af6.js → filter.3a452a262f040973.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{icons.a34176f37808cd66.js → icons.e36c72f54750663a.js} +0 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{menu-items.a8e580a0c90631ff.js → menu-items.1d082ac4dae8f3d4.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{menu.a41edd5cde1c90cf.js → menu.ee45bace979944b6.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{modal.b5f74ebf59590fa6.js → modal.25d53e5b41b9c4e5.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{select.36c6f21ce6aa720f.js → select.2eb33e5bea28d804.js} +28 -23
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{tail.a8a951c757376590.js → tail.04132db0c5033d4f.js} +4 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{toolbar.9621ef221a896a8e.js → toolbar.24036899654de6df.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{action.1a6356d5b722cafb.js → action.b9a5c37272250e82.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{client.d25e6dcc6704eb60.js → client.a3928fa2dcd27b75.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/follow.bfb9bcff3c1366d7.js +32 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{format.6a7d1beaf4d09d9c.js → format.ceeaafa10a0563f3.js} +1 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{paged.18f5872fc5aebe96.js → paged.0e54c3044f8ca567.js} +1 -7
- package/dist/dash/standalone/static/assets/chunks/action-fc8716cda7527d8c.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/agent-pills-bd32cb89331aff7e.js +2 -0
- package/dist/dash/standalone/static/assets/chunks/agent-settings-form-f5576a2c50fce094.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{agent-toggle-b2f2c22e63dedc1f.js → agent-toggle-a45b95908d62f926.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/agents-grid-9f79b5074899c8be.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{back-1d1b062f0e1b29b7.js → back-b0cd2b85c9d8403e.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/combo-1050768988cd0347.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/composer-87f138e21d68370d.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/composer-8f0e8b1d07e74aad.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/composer-data-5fed6c271a4791ca.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{confirm-1cb4d8df3974f34a.js → confirm-01d5814b1c5f7721.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/connect-apps-857dc9fa3f6f5bbc.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{connect-repositories-995d55b3f166337d.js → connect-repositories-49098298b3a82647.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/connections-list-46d48443d8fc8a0d.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{copy-c938369a1bfe75fd.js → copy-5db9d328f8f65d82.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/create-link-6b6e9eeac436c4af.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/credentials-list-3cccc85ef335cb22.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{custom-range-4eeb710748887f3a.js → custom-range-fdf1946aac09cfc3.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/defaults-52f30e83d7666f7a.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/editor-d2460c315bb1fd32.js +6 -0
- package/dist/dash/standalone/static/assets/chunks/engines-list-0159c8baa0b3e711.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{field-657227821326b5b3.js → field-c530e261587d94df.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/format-a27067f0186e78ac.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/instructions-3ea5afeea1992bf2.js +2 -0
- package/dist/dash/standalone/static/assets/chunks/instructions-d8884576a18e6cdb.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/list-b67ce61483dd6acb.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/model-options-8d2170eebe0d061d.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/models-list-98c956ba00913a73.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{notice-cd32ca98bbc10844.js → notice-8939183c8a889bae.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/outcome-dialog-6323cb5300b6d3c9.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/outcome-dialog-be3fbe8c4b43d180.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/platform-actions-aafbf038008de64f.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/platform-actions-ed27388f722b4a4c.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/runners-list-a13d0f8f6583c6d2.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{runtime-e8b9eb1e537215ed-1.js → runtime-71b727f8f5906f08-1.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/secrets-list-53a0c079492199c9.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{segmented-24da438244eedc8f.js → segmented-a3642b8169857fb1.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/shared-init-6cad28f8cc696d91.js +2 -0
- package/dist/dash/standalone/static/assets/chunks/shared-init-71b727f8f5906f08-2.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/shared-init-94883db7bc70a5a8.js +5 -0
- package/dist/dash/standalone/static/assets/chunks/side-toggle-a2f67a8671a0309b.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/tail-81b69d49bfebfd4c.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/task-95daa40d39de664f.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/task-actions-25c70b47b5a53cd2.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/task-view-e5ee0ada38552918.js +5 -0
- package/dist/dash/standalone/static/assets/chunks/tasks-list-d58f3063ae31d9d2.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/types-3eca2c7f47c46054.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{versions-list-31f31eb1923a0ded.js → versions-list-fbeed95c0b4e5f0f.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{wular-pnext-e8b9eb1e537215ed-0.js → wular-pnext-71b727f8f5906f08-0.js} +1 -1
- package/dist/dash/standalone/static/assets/create-param-id-da3f7e20689fe51a.css +1 -0
- package/dist/dash/standalone/static/assets/{dash-param-org-account-3f646d473e3bd795.css → dash-param-org-account-9471bec93c444232.css} +1 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-64500e78caae32df.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-new-c067c22928a2d7cc.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-9dec87710e04f949.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-edit-779c474301e04440.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-platforms-c7d594b5232630c2.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-settings-a80e62570716fdb9.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-tasks-ce278252012297b9.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-usage-d3b6d701eb8e1403.css +1 -0
- package/dist/dash/standalone/static/assets/{dash-param-org-67f7811b1343c064.css → dash-param-org-bcfa3de29341d5ba.css} +1 -1
- package/dist/dash/standalone/static/assets/dash-param-org-operator-b7bc6447cc27c9ce.css +1 -0
- package/dist/dash/standalone/static/assets/{dash-param-org-settings-a851a659784d94b5.css → dash-param-org-settings-6d6902345d88a687.css} +1 -1
- package/dist/dash/standalone/static/assets/dash-param-org-settings-param-tab-85c7af9a89eef06e.css +1 -0
- package/dist/dash/standalone/static/assets/{dash-param-org-setup-1b708aa5bb2f83ef.css → dash-param-org-setup-173efecd7b990c2e.css} +1 -1
- package/dist/dash/standalone/static/assets/dash-param-org-tasks-ae0bc03f468e63cc.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-tasks-param-id-7325d8cff5be3592.css +1 -0
- package/dist/dash/standalone/static/assets/{dash-param-org-operator-56742192a9aafc19.css → dash-param-org-usage-517b2a7ae462ac57.css} +1 -1
- package/dist/dash/standalone/static/assets/global-87e1762113874559.css +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-037852a9f274c8c8.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-10eac8df53f62104.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-12635905e9754177.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-12955733c71cc641.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-26999113ea61d5b9.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-27b6e4b7d1697094.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-34fec171024dd082.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-44eb6d4096f7e875.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-4c558a168b95d9b1.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-5d21f3dd3f4407af.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-5fe04a4e1dff28a3.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-88bbc009041aa776.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-b36106c6b8a6cd35.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-b47dda1cd4cfac04.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-b556f5611fdcf545.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-b8485144ca29d436.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-c5c3c90b3518c5a8.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-e4c659a371f4cd79.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-f139547dc55d7d76.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-fd280710b31af681.js +1 -0
- package/dist/default-Ojx5oFuw.js +1 -0
- package/dist/delete-D1hEPpsk.js +2 -0
- package/dist/{delete-DS6P_fun.js → delete-UyzcQPoG.js} +2 -2
- package/dist/disable-Dml_Slph.js +1 -0
- package/dist/{discover-pKrMDvpW.js → discover-CyIfIBGD.js} +2 -2
- package/dist/dispatch-CFZ9Crvg.js +8 -0
- package/dist/{dist-C3wD7GfG.js → dist-B2jiMMxZ.js} +2 -2
- package/dist/{dist-DkATuPBB.js → dist-ClCNj65n.js} +2 -2
- package/dist/{dist-BTornX7Y.js → dist-DAnSqY1s.js} +2 -2
- package/dist/{docs-sFUXzJbk.js → docs-BUHKbQjM.js} +1 -1
- package/dist/docs-CvjWiada.js +2 -0
- package/dist/drive-BqunNi9n.js +1 -0
- package/dist/{enable-BWvDv7dP.js → enable-xye-Nanc.js} +1 -1
- package/dist/env-BgE9ipvN.js +1 -0
- package/dist/exec-Cprez703.js +3 -0
- package/dist/executor-3QMa-XRY.js +11 -0
- package/dist/flow/builtin/review.d.ts +2 -2
- package/dist/flow/builtin/review.js +7 -14
- package/dist/flow/index.d.ts +1 -1
- package/dist/flow/index.js +1 -1
- package/dist/flow-CtillCQY.js +1 -0
- package/dist/history-C53URBjs.js +8 -0
- package/dist/http-CDZKt5ln.js +1 -0
- package/dist/hub-B0WCXtsP.js +2 -0
- package/dist/init-HdSVUozH.js +1 -0
- package/dist/integrations-BdLs4W6o.js +1 -0
- package/dist/integrations-IGnXBrPw.js +2 -0
- package/dist/lib/broker.js +2 -2
- package/dist/list-1IMeVNg3.js +1 -0
- package/dist/{list-CaFQOnfI.js → list-BTjIMvNs.js} +1 -1
- package/dist/list-BlOB32n6.js +4 -0
- package/dist/list-CZGTVKcS.js +4 -0
- package/dist/list-CquHtsmW.js +3 -0
- package/dist/list-CxjPT0Il.js +1 -0
- package/dist/{list-BDpYPbJF.js → list-DvFVuGT_.js} +1 -1
- package/dist/list-gFnOS9Hk.js +2 -0
- package/dist/load-Q9fL4VC6.js +2 -0
- package/dist/local-Bzdmzc1o.js +5 -0
- package/dist/log-view-CL3_S0IQ.js +3 -0
- package/dist/login-C723kHh6.js +1 -0
- package/dist/{login-CpHx_RCq.js → login-Dq3r6gh6.js} +1 -1
- package/dist/{logout-zSQBDPCK.js → logout-DEg0aTmq.js} +1 -1
- package/dist/{maintenance-DuIspk-y.js → maintenance-DYOstY6V.js} +1 -1
- package/dist/match-BwcxeAZF.js +1 -0
- package/dist/mcp-CKqinFkk.js +1 -0
- package/dist/mcp-Dsl3Xdd3.js +13 -0
- package/dist/mcp-server-BlP9lACI.js +1 -0
- package/dist/model-Bs27g5EX.js +1 -0
- package/dist/models-Cb0ZTKZ7.js +1 -0
- package/dist/prompt-PEgcMJO7.js +8 -0
- package/dist/prompts-Bj4Fbd_n.js +78 -0
- package/dist/push-DpEW4XbQ.js +1 -0
- package/dist/reconnect-BmP_XXDv.js +1 -0
- package/dist/refresh-SHNJq9Cx.js +1 -0
- package/dist/remote-D3JZ4MMQ.js +3 -0
- package/dist/remove-BZZgJq8Z.js +1 -0
- package/dist/remove-CId1EwPg.js +1 -0
- package/dist/remove-Ci87WQq0.js +1 -0
- package/dist/remove-DxCv9BB4.js +1 -0
- package/dist/rename-DJaf5SwH.js +1 -0
- package/dist/{result-Bg557zR6.js → result-BesDQ-b1.js} +2 -2
- package/dist/result-D0dpv2O_.js +18 -0
- package/dist/{resume-fnx4FUQF.js → resume-2Y0uC5MM.js} +2 -2
- package/dist/{review-CAHDqPq8.js → review-DIm9oK_W.js} +2 -2
- package/dist/{index-vd37q3fn.d.ts → review-Dxs-idTn.d.ts} +173 -74
- package/dist/{rotate-key-Dpx_WmuU.js → rotate-key-CS1G6ReH.js} +1 -1
- package/dist/run-BKUd6B8S.js +2 -0
- package/dist/run-DjTTb8oA.js +5 -0
- package/dist/run-UPW-7pKo.js +2 -0
- package/dist/runner-BLS_ReEw.js +1 -0
- package/dist/runner-BM_98EQl.js +1 -0
- package/dist/runner.json +1 -0
- package/dist/runner.tgz +0 -0
- package/dist/runners-DyLnqHKy.js +36 -0
- package/dist/schema-CjHmulYJ.js +8 -0
- package/dist/schema.d.ts +2 -2
- package/dist/schema.js +1 -1
- package/dist/{sdk-CWerLcF5.d.ts → sdk-B4Cl0Hbw.d.ts} +665 -485
- package/dist/sdk.d.ts +4 -5
- package/dist/sdk.js +1 -1
- package/dist/serve-BApfeXk8.js +12 -0
- package/dist/serve-DE1cKoGa.js +1 -0
- package/dist/{serve-w-9qRCP1.js → serve-lF97RlpX.js} +2 -2
- package/dist/serve-mXTjboT1.js +1 -0
- package/dist/{server-Bw_YmgCf.js → server-CUsxAflx.js} +1 -1
- package/dist/setup-host-tlsilI6C.js +6 -0
- package/dist/show-Dn7zTz-9.js +1 -0
- package/dist/show-uyUpeqa9.js +1 -0
- package/dist/slack-DhPhLuWb.js +5 -0
- package/dist/{status-PO1YXbt4.js → status-D_1VGn9F.js} +1 -1
- package/dist/steer-CMp-a7v2.js +4 -0
- package/dist/stop-C7YjN2sB.js +1 -0
- package/dist/{stop-CkvoZEAH.js → stop-D8G7AtdY.js} +2 -2
- package/dist/task-DJ6nruuA.js +1 -0
- package/dist/task-DeFLNmQH.js +1 -0
- package/dist/task-bkoi8_NN.js +7 -0
- package/dist/test-BD9rvefN.js +1 -0
- package/dist/tools-CdWkwI1g.js +1 -0
- package/dist/{types-C1tWi5lP.d.ts → types-C6NAqGqn.d.ts} +96 -42
- package/dist/{types-B42Oh0zF.js → types-D_xnfP7m.js} +1 -1
- package/dist/unalias-bL5t8Isc.js +1 -0
- package/dist/update-DIYW08ME.js +2 -0
- package/dist/upgrade-3fH6dGJw.js +2 -0
- package/dist/usage-Dr8F0xt0.js +1 -0
- package/dist/views-CE2d9x6T.js +5 -0
- package/dist/watch-BiyN4NxE.js +5 -0
- package/dist/watch-DJXu13jK.js +9 -0
- package/dist/wire-nJ7sEi-M.js +1 -0
- package/dist/worker-CHD_OiQS.js +1 -0
- package/dist/worker-KfrTK_Dk.js +2 -0
- package/dist/{workflow-BKxG9OUk.js → workflow-C21qQ4rT.js} +1 -1
- package/docs/agents/coder.md +7 -7
- package/docs/agents/index.md +17 -19
- package/docs/agents/prompt.md +231 -0
- package/docs/cli.md +2 -2
- package/docs/config.md +5 -3
- package/docs/mcp.md +2 -2
- package/docs/review.md +1 -1
- package/docs/sdk.md +1 -1
- package/docs/self-host.md +7 -9
- package/package.json +2 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/dist/actions-5TDwmn_z.js +0 -20
- package/dist/adapter-sKt1J1Cm.js +0 -1
- package/dist/add-BftLUw05.js +0 -1
- package/dist/add-CXAGrCnC.js +0 -1
- package/dist/add-Ck_y_nKX.js +0 -2
- package/dist/agent-ChnedLBv.js +0 -8
- package/dist/alias-BpgVDY6_.js +0 -2
- package/dist/approvals-CE8dXZhE.js +0 -2
- package/dist/approve-dWW4qt76.js +0 -2
- package/dist/apps-B60OpAHX.js +0 -242
- package/dist/archive-CmRVm4iS.js +0 -4
- package/dist/archive-sweep-EiiXIqjr.js +0 -1
- package/dist/args-CxsMr9Un.js +0 -1
- package/dist/ask-Bou8zg-4.js +0 -4
- package/dist/auth-CImjIcG5.js +0 -1
- package/dist/auth-CWzSsiSC.js +0 -1
- package/dist/chat-Bbzlea60.js +0 -1
- package/dist/chat-Djps0Seg.js +0 -13
- package/dist/chat-bridge-CvspGKBc.js +0 -2
- package/dist/cli-ZUdhZnuW.js +0 -9
- package/dist/config-CF3_A3NX.js +0 -3
- package/dist/config-D2FxHWwi.js +0 -14
- package/dist/connection-BCRJHTgp.js +0 -1
- package/dist/create-Z0QxarzN.js +0 -1
- package/dist/credentials-Dt2uP3AQ.js +0 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/responsive.82549d958fae8f00.css.pnext-asset.js +0 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/zone.dbc84f981415d8f7.js +0 -10
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/heads.20414ddcb2d08bcd.js +0 -51
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/card.15f7435f202831c3.css.pnext-asset.js +0 -0
- package/dist/dash/standalone/static/assets/chunks/action-977f2355e308d7d0.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/agent-pills-e75e6ac80d515ffc.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/agent-settings-form-09f23ed893d441c7.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/agents-grid-bb4f3e4d38b2f459.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/combo-126d5709a0b3a5bd.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/composer-6bf94d1087a6e6a6.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/composer-9c1fe67a0de73997.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/connect-apps-32c169b6e00711ff.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/connections-list-a102e909edff14d4.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/create-link-a147953f343355ec.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/credentials-list-31e0fbc1ef0d003e.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/defaults-dcc0eccad4e8585b.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/editor-79560c0f91cfc2f6.js +0 -7
- package/dist/dash/standalone/static/assets/chunks/engines-list-d22f50040e6842ae.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/format-b19b8eec331414f4.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/instructions-a08bb02650dedb8d.js +0 -2
- package/dist/dash/standalone/static/assets/chunks/instructions-a1f10bc3c2866e3f.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/list-a0cc9bdb05fc71d4.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/model-options-3a57918eaa4a2a82.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/models-list-63ab774de3bf3788.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/outcome-dialog-4ab62d613bee243a.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/platform-actions-40824017c7b5b910.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/platform-actions-a515643f341df568.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/runners-list-a9f4f71695f7b376.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/secrets-list-34e09c332363564c.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/shared-init-02aaa49ed4606a76.js +0 -2
- package/dist/dash/standalone/static/assets/chunks/shared-init-03e620f936463465.js +0 -5
- package/dist/dash/standalone/static/assets/chunks/shared-init-6f8c76316a2cd9da.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/shared-init-e8b9eb1e537215ed-2.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/side-toggle-8563e6056e862225.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/tail-ebdefca4d5c23266.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/task-6ae2bb4f1b384140.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/task-actions-462507b76bda4657.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/task-view-341d79730a341007.js +0 -5
- package/dist/dash/standalone/static/assets/chunks/tasks-list-6037ecd098332564.js +0 -1
- package/dist/dash/standalone/static/assets/create-param-id-8fa3e9101430f26a.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-0ddb989cab5b0fbf.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-new-504d1a906feabb6f.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-edit-7cd987a1a42a3b44.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-fcdddf2dc26453ce.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-platforms-26b84d659dbca7f4.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-settings-97ff652f9fe5979d.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-tasks-d47377c0f877c5c0.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-usage-6a09580f11d669b7.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-settings-param-tab-06283106fffbd5c6.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-tasks-9cb2bb12389c9a04.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-tasks-param-id-a87fa0eaa02e4008.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-usage-786c91a7640542e6.css +0 -1
- package/dist/dash/standalone/static/assets/global-eee296f070a9bb95.css +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-17c3ee29b7487596.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-1eaa8deb5395345f.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-29e2b964470f6587.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-2a1e756934e7be1a.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-31e64d49f6132b26.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-3d13328ad0b1148b.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-4ac29d3e9f1a91be.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-7d479b3375e3c07e.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-9eac45990b233b55.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-a8c9c169322e7e3d.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-b622d087a38b1b77.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-b7fea94dfda72453.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-cc8e5e6c95040688.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-d16e2a42b0a274c0.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-dbccfef0cbb6b18d.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-e74706ae238018e5.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-ebe7c9692619ea00.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-ef8d348060493085.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-fcdfa8b2c8824449.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-ff36e2f8a0522759.js +0 -1
- package/dist/default-DcYwZCnl.js +0 -1
- package/dist/default-EXRzdZUY.js +0 -1
- package/dist/delete-Bmn2_TiV.js +0 -2
- package/dist/disable-CnCxTC3X.js +0 -1
- package/dist/discover-CBP4Uw0N.js +0 -1
- package/dist/dispatch-D3Dqxijf.js +0 -8
- package/dist/docs-3SW1O9iS.js +0 -2
- package/dist/env-C_DoQYl5.js +0 -1
- package/dist/exec-BsXFIdTl.js +0 -11
- package/dist/executor-5j-Ewzzb.js +0 -11
- package/dist/flow-CuUq-MDm.js +0 -1
- package/dist/http-Cg_wYcZT.js +0 -1
- package/dist/init-Dgj6V-aS.js +0 -1
- package/dist/integrations-D3OgJk6Y.js +0 -1
- package/dist/integrations-DsFX2KCq.js +0 -1
- package/dist/list-B6lwbCEp.js +0 -1
- package/dist/list-BE3xmX_4.js +0 -1
- package/dist/list-BVIAyAAE.js +0 -4
- package/dist/list-Bggy3HZY.js +0 -4
- package/dist/list-CLtqMYPK.js +0 -2
- package/dist/list-DkO78ZEF.js +0 -3
- package/dist/load-CRmQB1LD.js +0 -2
- package/dist/local-ccKBhpQc.js +0 -1
- package/dist/log-view-DB4nXHXO.js +0 -3
- package/dist/login-BCdXHQ7z.js +0 -1
- package/dist/match-Kt3vFTl1.js +0 -1
- package/dist/mcp-O8VTfzdL.js +0 -12
- package/dist/mcp-YhyTUMIM.js +0 -11
- package/dist/mcp-server-DGzme0YX.js +0 -1
- package/dist/model-Bzpwl_95.js +0 -1
- package/dist/models-CdvmuaLv.js +0 -1
- package/dist/prompt-C--TI1qn.js +0 -8
- package/dist/push-vt81gcxD.js +0 -1
- package/dist/reconnect-BfghDbl1.js +0 -1
- package/dist/refresh-yXJ13FAf.js +0 -1
- package/dist/remote-oQs6My_3.js +0 -1
- package/dist/remove-5iAM2aTO.js +0 -1
- package/dist/remove-BZCA-gdU.js +0 -1
- package/dist/remove-BcewhH1U.js +0 -1
- package/dist/remove-BwhcR6ig.js +0 -1
- package/dist/rename-lyssPQfD.js +0 -1
- package/dist/result-jeiRJTzA.js +0 -18
- package/dist/review-CJS59vO-.d.ts +0 -157
- package/dist/run-CLy9a2MO.js +0 -2
- package/dist/run-DU4G8gNw.js +0 -2
- package/dist/run-D_pl9GF_.js +0 -5
- package/dist/runner-DME7ohjt.js +0 -1
- package/dist/runner-zT5Oyrfr.js +0 -1
- package/dist/runners-CNhxPjg8.js +0 -36
- package/dist/schema-BSlHRFSP.js +0 -8
- package/dist/serve-FG2LgXxM.js +0 -9
- package/dist/serve-UE1fcf4t.js +0 -1
- package/dist/serve-wQgyxwdY.js +0 -1
- package/dist/setup-host-BsbDs4lJ.js +0 -6
- package/dist/show-Cajmf606.js +0 -1
- package/dist/show-D0qTuXRU.js +0 -1
- package/dist/slack-C_RlVDz7.js +0 -3
- package/dist/steer-i6w87g_t.js +0 -4
- package/dist/stop-CJ0PHvKp.js +0 -1
- package/dist/task-DTN_fIGC.js +0 -1
- package/dist/task-DXHKWB_J.js +0 -5
- package/dist/task-IoBYe7ok.js +0 -1
- package/dist/test-BTkKFbnx.js +0 -1
- package/dist/tools-B-2oi2wI.js +0 -1
- package/dist/unalias-Cqx7i_L0.js +0 -1
- package/dist/update-MNyeVXyy.js +0 -2
- package/dist/upgrade-CGSkY0FY.js +0 -2
- package/dist/usage-sx-FR0bz.js +0 -1
- package/dist/views-BhsnL0nr.js +0 -5
- package/dist/watch-IL2eEgwD.js +0 -9
- package/dist/watch-qfr7aSfo.js +0 -5
- package/dist/wire-B5rc5Av6.js +0 -1
- package/dist/worker-BBZ36xL0.js +0 -1
- package/dist/worker-D2csFtoH.js +0 -9
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/core/{errors.5954bd9bd05e8230.js → errors.0a735590a5412ea6.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{page.76589c15dee1732d.css.pnext-asset.js → page.cf7460a024706f75.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.3ffef848a0b0dda3.css.pnext-asset.js → page.c811938ae8a8f1df.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.2d19ea3a4d380e0d.css.pnext-asset.js → agent-settings-form.ca926c58d15044aa.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.13019680f38b0630.css.pnext-asset.js → hero.1bef5dca89b5942c.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{operator/page.9002a449f872a10e.css.pnext-asset.js → settings/[tab]/connections-list.46786fe36b121a43.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.f742847e4887f072.css.pnext-asset.js → credentials-list.f7c27f170ec1e868.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.98e0b34932a6ee4c.css.pnext-asset.js → list.8cbee173a5aff98d.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.e0ce46919b75ef76.css.pnext-asset.js → runners-list.53c7ea80b6fb734c.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.a835c9a264cf8903.css.pnext-asset.js → tasks/[id]/task-view.57990cfd2bdf5c11.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.38b1b7ef3976ba71.css.pnext-asset.js → composer.5b8687662e1629fa.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{composer.79c015348f861749.css.pnext-asset.js → list/tasks-list.abbbc9ace4d866e5.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.2282a7cef8b15bd8.css.pnext-asset.js → globals.c8fd2b8b01e7077b.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/{dash/[org]/usage/usage.775df2f43187c487.css.pnext-asset.js → responsive.ebc5f7d77b4b86a0.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/{app/globals.dccea8b03fa4b6d2.css.pnext-asset.js → comps/ui/card.f80288cc42f9bcae.css.pnext-asset.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CoderError } from "../core/errors.
|
|
1
|
+
import { CoderError } from "../core/errors.0a735590a5412ea6.js";
|
|
2
2
|
export class ClientError extends CoderError {
|
|
3
3
|
authenticate;
|
|
4
4
|
needs;
|
|
@@ -30,7 +30,6 @@ export function validateUrl(raw) {
|
|
|
30
30
|
if (url.username || url.password || url.search || url.hash) throw new CoderError("invalid-option", "The server must be an origin without credentials, query, or fragment.");
|
|
31
31
|
return url.toString().replace(/\/+$/, "");
|
|
32
32
|
}
|
|
33
|
-
const credentialPath = (label, suffix, workspace) => `/admin/credentials/${encodeURIComponent(label)}${suffix}${workspace ? "?workspace" : ""}`;
|
|
34
33
|
const queryPath = (path, options) => {
|
|
35
34
|
const query = new URLSearchParams();
|
|
36
35
|
if ("cursor" in options && typeof options.cursor === "string") query.set("cursor", options.cursor);
|
|
@@ -173,7 +172,6 @@ export class ServerClient {
|
|
|
173
172
|
pick: () => this.post("/admin/folders/pick", {})
|
|
174
173
|
};
|
|
175
174
|
tasks = {
|
|
176
|
-
run: (input) => this.post("/admin/tasks", input),
|
|
177
175
|
list: (options) => this.request(queryPath("/admin/tasks", {
|
|
178
176
|
limit: 20,
|
|
179
177
|
...options,
|
|
@@ -240,10 +238,9 @@ export class ServerClient {
|
|
|
240
238
|
credentials = {
|
|
241
239
|
list: (options) => this.request(queryPath("/admin/credentials", options ?? {})),
|
|
242
240
|
add: (input) => this.post("/admin/credentials", input),
|
|
243
|
-
remove: (
|
|
244
|
-
setDefault: (label, { workspace } = {}) => this.post(credentialPath(label, "/default", workspace)),
|
|
241
|
+
remove: (name, { workspace } = {}) => this.request(`/admin/credentials/${encodeURIComponent(name)}${workspace ? "?workspace" : ""}`, { method: "DELETE" }),
|
|
245
242
|
login: (engine) => this.post("/admin/logins", { engine }),
|
|
246
|
-
loginStatus: (id) => this.request(`/admin/logins/${encodeURIComponent(id)}`),
|
|
243
|
+
loginStatus: (id, state) => this.request(`/admin/logins/${encodeURIComponent(id)}${state ? `?state=${encodeURIComponent(state)}` : ""}`),
|
|
247
244
|
loginCode: (id, code) => this.post(`/admin/logins/${encodeURIComponent(id)}`, { code }),
|
|
248
245
|
cancelLogin: (id) => this.request(`/admin/logins/${encodeURIComponent(id)}`, { method: "DELETE" })
|
|
249
246
|
};
|
|
@@ -272,11 +269,7 @@ list: (agent) => this.request(queryPath("/admin/integrations", { agent })) };
|
|
|
272
269
|
};
|
|
273
270
|
apps = {
|
|
274
271
|
list: (agent) => this.request(queryPath("/admin/apps", { agent })),
|
|
275
|
-
|
|
276
|
-
install: (id, back, link) => this.post(queryPath(`/admin/apps/${encodeURIComponent(id)}/install`, {
|
|
277
|
-
back,
|
|
278
|
-
link
|
|
279
|
-
})),
|
|
272
|
+
install: (id, back) => this.post(queryPath(`/admin/apps/${encodeURIComponent(id)}/install`, { back })),
|
|
280
273
|
/** Forgets a workspace app and its installs; the app itself stays on the platform. */
|
|
281
274
|
remove: (id) => this.request(`/admin/apps/${encodeURIComponent(id)}`, { method: "DELETE" }),
|
|
282
275
|
/** Pushes a workspace app to its platform as its agent needs it now, or records that its values were entered there by hand. */
|
|
@@ -309,7 +302,10 @@ list: (agent) => this.request(queryPath("/admin/integrations", { agent })) };
|
|
|
309
302
|
...options.active ? { active: 1 } : {}
|
|
310
303
|
})) };
|
|
311
304
|
connections = {
|
|
312
|
-
list: (authorization) => this.request(queryPath("/admin/connections", {
|
|
305
|
+
list: (authorization, wait) => this.request(queryPath("/admin/connections", {
|
|
306
|
+
authorization,
|
|
307
|
+
wait
|
|
308
|
+
})),
|
|
313
309
|
/** `authorize` is where the browser goes next for an OAuth connection. */
|
|
314
310
|
add: (body) => this.post("/admin/connections", body),
|
|
315
311
|
update: (id, body) => this.request(`/admin/connections/${encodeURIComponent(id)}`, {
|
|
@@ -322,10 +318,6 @@ list: (agent) => this.request(queryPath("/admin/integrations", { agent })) };
|
|
|
322
318
|
};
|
|
323
319
|
config = {
|
|
324
320
|
get: () => this.request("/admin/config"),
|
|
325
|
-
put: (body) => this.request("/admin/config", {
|
|
326
|
-
method: "PUT",
|
|
327
|
-
body: JSON.stringify(body)
|
|
328
|
-
}),
|
|
329
321
|
patch: (body) => this.request("/admin/config", {
|
|
330
322
|
method: "PATCH",
|
|
331
323
|
headers: { "content-type": "application/merge-patch+json" },
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
/** Built-in config every file and flag merges over; import-free so the shipped dashboard can read it. */
|
|
2
2
|
export const DEFAULT_CONFIG = {
|
|
3
|
+
conversationCompactTokens: 7e4,
|
|
3
4
|
// Agents are tried in order; the next one is the fallback when the previous
|
|
4
5
|
// fails to start (missing binary, auth, quota, rate limit).
|
|
5
|
-
chain: [
|
|
6
|
+
chain: [
|
|
7
|
+
"codex",
|
|
8
|
+
"claude",
|
|
9
|
+
"custom"
|
|
10
|
+
],
|
|
6
11
|
engines: {
|
|
7
12
|
codex: {
|
|
8
13
|
model: "gpt-6.1-sol",
|
|
@@ -23,9 +28,30 @@ export const DEFAULT_CONFIG = {
|
|
|
23
28
|
};
|
|
24
29
|
/** The engine an agent runs on when its settings name none. */
|
|
25
30
|
export const DEFAULT_ENGINE = DEFAULT_CONFIG.chain[0];
|
|
31
|
+
/** The final message that posts nothing. */
|
|
32
|
+
export const EMPTY_MESSAGE = "__EMPTY__";
|
|
33
|
+
/** The task log line when the agent declined to reply. */
|
|
34
|
+
export const SKIPPED = "Skipped: the agent chose not to reply.";
|
|
35
|
+
/** What the platform gets when the agent declined a reply that was due. */
|
|
36
|
+
export const EMPTY_MESSAGE_NOTICE = "The agent returned no reply.";
|
|
26
37
|
/** The default task list's groups: failed first, then active, then other stopped, then completed. */
|
|
27
38
|
export const listRank = (status) => status === "failed" ? 0 : status === "completed" ? 3 : status === "cancelled" ? 2 : 1;
|
|
28
39
|
/** Ids in byte order, as Postgres `collate "C"` compares them. */
|
|
29
40
|
export const byId = (a, b) => a < b ? -1 : a > b ? 1 : 0;
|
|
30
41
|
/** The task list order: `listRank` groups, newest start first, ties broken by id. */
|
|
31
42
|
export const byListKey = (a, b) => a.rank - b.rank || b.createdAt - a.createdAt || byId(b.id, a.id);
|
|
43
|
+
/** RFC 7396 merge patch: objects merge, null deletes, anything else replaces; `__proto__` stays a plain key. */
|
|
44
|
+
export function mergePatch(target, patch) {
|
|
45
|
+
if (!patch || typeof patch !== "object" || Array.isArray(patch)) return patch;
|
|
46
|
+
const result = target && typeof target === "object" && !Array.isArray(target) ? Object.fromEntries(Object.entries(target)) : {};
|
|
47
|
+
for (const [key, value] of Object.entries(patch)) {
|
|
48
|
+
if (value === null) delete result[key];
|
|
49
|
+
else Object.defineProperty(result, key, {
|
|
50
|
+
value: mergePatch(Object.hasOwn(result, key) ? result[key] : undefined, value),
|
|
51
|
+
writable: true,
|
|
52
|
+
enumerable: true,
|
|
53
|
+
configurable: true
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
return result;
|
|
57
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export const unxml = (text) => text.replace(/&(amp|lt|gt);/g, (_, name) => ({
|
|
2
|
+
amp: "&",
|
|
3
|
+
lt: "<",
|
|
4
|
+
gt: ">"
|
|
5
|
+
})[name]);
|
|
6
|
+
/** Read event JSON, optionally alongside a turn's history or other text. */
|
|
7
|
+
export function eventJsons(prompt = "", embedded = false) {
|
|
8
|
+
const event = /<event>\n([^]*?)\n<\/event>/g;
|
|
9
|
+
if (!embedded && (!prompt.trimStart().startsWith("<event>") || prompt.replace(event, "").trim())) return;
|
|
10
|
+
const events = [];
|
|
11
|
+
for (const [, body] of prompt.matchAll(event)) {
|
|
12
|
+
try {
|
|
13
|
+
const json = JSON.parse(unxml(body));
|
|
14
|
+
if (!json || typeof json !== "object" || Array.isArray(json)) {
|
|
15
|
+
if (!embedded) return;
|
|
16
|
+
continue;
|
|
17
|
+
}
|
|
18
|
+
events.push(json);
|
|
19
|
+
} catch (error) {
|
|
20
|
+
console.error("coder: unreadable event prompt", error);
|
|
21
|
+
if (!embedded) return;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return events.length ? events : undefined;
|
|
25
|
+
}
|
|
26
|
+
/** Any event in a turn or its live steers can require a reply. */
|
|
27
|
+
export function replyRequired(prompt, fallback, steers = []) {
|
|
28
|
+
const asks = [prompt ?? "", ...steers].flatMap((text) => (eventJsons(text, true) ?? []).flatMap((json) => typeof json.mustReply === "boolean" ? [json.mustReply] : []));
|
|
29
|
+
return asks.length ? asks.includes(true) : fallback;
|
|
30
|
+
}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
export function addTokens(a, b) {
|
|
2
|
+
if (!b) return a;
|
|
3
|
+
if (!a) return { ...b };
|
|
4
|
+
return {
|
|
5
|
+
input: a.input + b.input,
|
|
6
|
+
cachedInput: a.cachedInput + b.cachedInput,
|
|
7
|
+
output: a.output + b.output,
|
|
8
|
+
total: a.total + b.total
|
|
9
|
+
};
|
|
10
|
+
}
|
|
1
11
|
export const isApproval = (kind) => kind.includes("approval") || kind === "sidecar-decision" || kind === "auto-review";
|
|
2
12
|
const ANSI = /\x1b\[[0-9;?]*[ -/]*[@-~]|\x1b\][^\x07\x1b]*(?:\x07|\x1b\\)/g;
|
|
3
13
|
export function stripCwd(text, cwd) {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { ServerClient, ClientError } from "../../../client/index.
|
|
2
|
-
import { CoderError } from "../../../core/errors.
|
|
1
|
+
import { ServerClient, ClientError } from "../../../client/index.0de14cb4e30bd70d.js";
|
|
2
|
+
import { CoderError } from "../../../core/errors.0a735590a5412ea6.js";
|
|
3
|
+
import { DEFAULT_ENGINE } from "../../../core/defaults.1b615366c56838a1.js";
|
|
4
|
+
import { NO_MODELS, modelsByEngine } from "../app/dash/[org]/settings/model-options.a96c11d11674f598.js";
|
|
3
5
|
export function encodeDefinition(definition) {
|
|
4
6
|
return Buffer.from(JSON.stringify(definition), "utf8").toString("base64url");
|
|
5
7
|
}
|
|
@@ -48,3 +50,14 @@ export function loadAgent(request, slug) {
|
|
|
48
50
|
handles: true
|
|
49
51
|
});
|
|
50
52
|
}
|
|
53
|
+
/** Each engine's models, and what an agent runs with when it sets nothing. */
|
|
54
|
+
export function loadRunDefaults(request) {
|
|
55
|
+
return Promise.all([load(request).models.list().catch(() => NO_MODELS), load(request).config.get().catch(() => undefined)]).then(([shape, shown]) => ({
|
|
56
|
+
models: modelsByEngine(shape),
|
|
57
|
+
defaults: {
|
|
58
|
+
engine: shown?.effective.chain?.[0] ?? DEFAULT_ENGINE,
|
|
59
|
+
engines: shown?.effective.engines ?? {},
|
|
60
|
+
builtin: shape.builtin
|
|
61
|
+
}
|
|
62
|
+
}));
|
|
63
|
+
}
|
|
@@ -2,4 +2,8 @@
|
|
|
2
2
|
export const localServer = (me) => me.mode === "local";
|
|
3
3
|
/** A server on this machine that platforms cannot reach yet: no public PUBLIC_URL. */
|
|
4
4
|
export const needsTunnel = (me) => localServer(me) && !/^https:\/\/(?!localhost|127\.|\[::1\])/.test(me.server?.url ?? "");
|
|
5
|
+
/** A workspace owner or admin, or the admin token, which has no user. */
|
|
6
|
+
export const isAdmin = (me) => !me.user || me.organization?.role === "owner" || me.organization?.role === "admin";
|
|
7
|
+
/** An integration's declared events: a list, or an object keyed by event. */
|
|
8
|
+
export const eventNames = (events) => Array.isArray(events) ? events.map(String) : events && typeof events === "object" ? Object.keys(events) : [];
|
|
5
9
|
export const editableAgent = (agent) => agent.source === "upload" || agent.source === "home" || agent.local && agent.source === "repo";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useState } from "../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
|
|
3
|
-
import { client } from "../../utils/client.
|
|
4
|
-
import { reasonText } from "../../utils/format.
|
|
3
|
+
import { client } from "../../utils/client.a3928fa2dcd27b75.js";
|
|
4
|
+
import { reasonText } from "../../utils/format.ceeaafa10a0563f3.js";
|
|
5
5
|
import { AuthPanel } from "../../comps/frame/auth-panel.5712a8d190b003b4.js";
|
|
6
|
-
import { Button } from "../../comps/ui/button.
|
|
6
|
+
import { Button } from "../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
7
7
|
import { jsx as _jsx, jsxs as _jsxs } from "../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
8
8
|
export default function LinkPage() {
|
|
9
9
|
const [error, setError] = useState("");
|
|
@@ -2,10 +2,10 @@ import { dynamic } from "../../../../../../../../node_modules/@wular/pnext/src/a
|
|
|
2
2
|
import { AuthPanel } from "../../../comps/frame/auth-panel.5712a8d190b003b4.js";
|
|
3
3
|
import { Outcome, readOutcome } from "../../dash/[org]/setup/outcome.cbbc8cd1bbbee01b.js";
|
|
4
4
|
import { jsx as _jsx } from "../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
5
|
-
const CreateLink = dynamic(() => import("../../dash/[org]/setup/create-link.
|
|
5
|
+
const CreateLink = dynamic(() => import("../../dash/[org]/setup/create-link.ff95e4b6977d0474.js").then((m) => m.CreateLink), undefined, {
|
|
6
6
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../src/server/dash/app/dash/[org]/setup/create-link.tsx", import.meta.url).pathname),
|
|
7
7
|
"exportName": "CreateLink",
|
|
8
|
-
"id": "c-
|
|
8
|
+
"id": "c-d9fccf0000"
|
|
9
9
|
});
|
|
10
10
|
/** A signed link from `coder server app create`: its transaction alone authorizes it, with no workspace, and shows how it ended. */
|
|
11
11
|
export default async function ServerAppPage({ request, params }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Loading } from "../../../../comps/ui/card.
|
|
2
|
-
import { Page, PageHead } from "../../../../comps/frame/page-head.
|
|
1
|
+
import { Loading } from "../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
2
|
+
import { Page, PageHead } from "../../../../comps/frame/page-head.85f15db7b648d48c.js";
|
|
3
3
|
import { jsx as _jsx, jsxs as _jsxs } from "../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
4
4
|
export default function AccountLoading() {
|
|
5
5
|
return /* @__PURE__ */ _jsxs(Page, { children: [/* @__PURE__ */ _jsx(PageHead, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useEffect, useState } from "../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
|
|
3
|
-
import { NOTIFY } from "../../../../comps/frame/task-toasts.
|
|
3
|
+
import { NOTIFY } from "../../../../comps/frame/task-toasts.0ed8ccaae81b9d53.js";
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
5
5
|
/** Browser notifications for watched tasks, off until asked for; the permission prompt shows once. */
|
|
6
6
|
export function NotifySwitch() {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "./page.061f6006f2685f5e.css.pnext-asset.js";
|
|
2
|
-
import { iKey } from "../../../../comps/ui/icons.
|
|
3
|
-
import { load } from "../../../../api/load.
|
|
4
|
-
import { initial, reasonText } from "../../../../utils/format.
|
|
5
|
-
import { Badge } from "../../../../comps/ui/badge.
|
|
6
|
-
import { Button } from "../../../../comps/ui/button.
|
|
7
|
-
import { SignOut } from "./sign-out.
|
|
8
|
-
import { Page, PageHead } from "../../../../comps/frame/page-head.
|
|
2
|
+
import { iKey } from "../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
3
|
+
import { load } from "../../../../api/load.be791a5eaf328738.js";
|
|
4
|
+
import { initial, reasonText } from "../../../../utils/format.ceeaafa10a0563f3.js";
|
|
5
|
+
import { Badge } from "../../../../comps/ui/badge.c0bc352791a95fd6.js";
|
|
6
|
+
import { Button } from "../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
7
|
+
import { SignOut } from "./sign-out.1d6af804f9ec043d.js";
|
|
8
|
+
import { Page, PageHead } from "../../../../comps/frame/page-head.85f15db7b648d48c.js";
|
|
9
9
|
import { Icon } from "../../../../comps/ui/icon.0874ca2f58f7db14.js";
|
|
10
|
-
import { Card } from "../../../../comps/ui/card.
|
|
11
|
-
import { NotifySwitch } from "./notify.
|
|
10
|
+
import { Card } from "../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
11
|
+
import { NotifySwitch } from "./notify.61aab176baeefebd.js";
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
13
13
|
function Row({ label, hint, children }) {
|
|
14
14
|
return /* @__PURE__ */ _jsxs("div", { children: [/* @__PURE__ */ _jsxs("div", {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { signOut } from "../../../../utils/client.
|
|
3
|
-
import { iOut } from "../../../../comps/ui/icons.
|
|
4
|
-
import { Button } from "../../../../comps/ui/button.
|
|
5
|
-
import { MenuItem } from "../../../../comps/ui/menu-items.
|
|
2
|
+
import { signOut } from "../../../../utils/client.a3928fa2dcd27b75.js";
|
|
3
|
+
import { iOut } from "../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
4
|
+
import { Button } from "../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
5
|
+
import { MenuItem } from "../../../../comps/ui/menu-items.1d082ac4dae8f3d4.js";
|
|
6
6
|
import { jsx as _jsx } from "../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
7
7
|
/** Ends this browser session; `menu` makes it the account menu's item. */
|
|
8
8
|
export function SignOut({ menu }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { iAgent } from "../../../../../comps/ui/icons.
|
|
2
|
-
import { LinkButton } from "../../../../../comps/ui/button.
|
|
3
|
-
import { useOrg } from "../../../../../comps/nav/org.
|
|
1
|
+
import { iAgent } from "../../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
2
|
+
import { LinkButton } from "../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
3
|
+
import { useOrg } from "../../../../../comps/nav/org.572ad93c7707ab27.js";
|
|
4
4
|
import { jsx as _jsx } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
5
5
|
/** Make a dashboard agent; importing from a repository starts from the same page. */
|
|
6
6
|
export function NewAgentMenu() {
|
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { client } from "../../../../../utils/client.
|
|
2
|
+
import { client } from "../../../../../utils/client.a3928fa2dcd27b75.js";
|
|
3
3
|
import { Link } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/link.tsx";
|
|
4
|
-
import { usePaged } from "../../../../../utils/paged.
|
|
5
|
-
import { Empty } from "../../../../../comps/ui/card.
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
4
|
+
import { usePaged } from "../../../../../utils/paged.0e54c3044f8ca567.js";
|
|
5
|
+
import { Empty } from "../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
6
|
+
import { editableAgent } from "../../../../../api/types.79f9092cdb5a00d1.js";
|
|
7
|
+
import { initial } from "../../../../../utils/format.ceeaafa10a0563f3.js";
|
|
8
|
+
import { AgentPills, BrandIcon, PlatformLine } from "../agent/agent-pills.f987c12bcbc5c850.js";
|
|
9
|
+
import { Filter } from "../../../../../comps/ui/filter.3a452a262f040973.js";
|
|
10
|
+
import { NewAgentMenu } from "./agent-menu.2ed0e66d131fc148.js";
|
|
11
|
+
import { Search, Toolbar, queryOf, useFilters } from "../../../../../comps/ui/toolbar.24036899654de6df.js";
|
|
12
|
+
import { Tail } from "../../../../../comps/ui/tail.04132db0c5033d4f.js";
|
|
13
|
+
import { useOrg } from "../../../../../comps/nav/org.572ad93c7707ab27.js";
|
|
13
14
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
14
15
|
function AgentCard({ agent, catalog }) {
|
|
15
16
|
const org = useOrg();
|
|
17
|
+
const page = `/dash/${org}/agents/${encodeURIComponent(agent.id)}`;
|
|
18
|
+
// Where a broken definition is fixed: the editor, its repository, or its workspace settings.
|
|
19
|
+
const fix = editableAgent(agent) ? { href: `${page}/edit?section=platforms` } : agent.source === "repo" && agent.sourceUrl ? {
|
|
20
|
+
href: agent.sourceUrl,
|
|
21
|
+
external: true
|
|
22
|
+
} : { href: `${page}/settings` };
|
|
16
23
|
return /* @__PURE__ */ _jsxs("li", {
|
|
17
24
|
class: "agent-card",
|
|
18
25
|
children: [
|
|
@@ -33,13 +40,16 @@ function AgentCard({ agent, catalog }) {
|
|
|
33
40
|
children: agent.name
|
|
34
41
|
}) }), /* @__PURE__ */ _jsx("span", {
|
|
35
42
|
class: "pills",
|
|
36
|
-
children: /* @__PURE__ */ _jsx(AgentPills, {
|
|
43
|
+
children: /* @__PURE__ */ _jsx(AgentPills, {
|
|
44
|
+
agent,
|
|
45
|
+
fix
|
|
46
|
+
})
|
|
37
47
|
})]
|
|
38
48
|
})]
|
|
39
49
|
}),
|
|
40
50
|
/* @__PURE__ */ _jsx("div", {
|
|
41
51
|
class: "lead-clamp",
|
|
42
|
-
children: /* @__PURE__ */ _jsx("span", { children: agent.description ?? "No description yet." })
|
|
52
|
+
children: /* @__PURE__ */ _jsx("span", { children: agent.problems?.length ? agent.problems.join(" ") : agent.description ?? "No description yet." })
|
|
43
53
|
}),
|
|
44
54
|
agent.platforms.length ? /* @__PURE__ */ _jsx(PlatformLine, {
|
|
45
55
|
platforms: agent.platforms,
|
|
@@ -52,7 +62,6 @@ function AgentCard({ agent, catalog }) {
|
|
|
52
62
|
]
|
|
53
63
|
});
|
|
54
64
|
}
|
|
55
|
-
/** Every agent in pages, searched and filtered on the server. */
|
|
56
65
|
/** Agent kinds a list filters by. */
|
|
57
66
|
export const KINDS = [
|
|
58
67
|
["", "All agents"],
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { client } from "../../../../../utils/client.
|
|
3
|
-
import { useAction } from "../../../../../utils/action.
|
|
4
|
-
import { iPlus } from "../../../../../comps/ui/icons.
|
|
2
|
+
import { client } from "../../../../../utils/client.a3928fa2dcd27b75.js";
|
|
3
|
+
import { useAction } from "../../../../../utils/action.b9a5c37272250e82.js";
|
|
4
|
+
import { iPlus } from "../../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
5
5
|
import { Icon } from "../../../../../comps/ui/icon.0874ca2f58f7db14.js";
|
|
6
|
-
import { Button } from "../../../../../comps/ui/button.
|
|
7
|
-
import { useOrg } from "../../../../../comps/nav/org.
|
|
6
|
+
import { Button } from "../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
7
|
+
import { useOrg } from "../../../../../comps/nav/org.572ad93c7707ab27.js";
|
|
8
8
|
import { Notice } from "../../../../../comps/ui/notice.f395f231cbb96445.js";
|
|
9
9
|
import { jsx as _jsx, jsxs as _jsxs } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
10
10
|
/** One click per built-in app not yet installed here; the platform returns to that app's agent's Platforms tab, which words the outcome. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { HEADS } from "../../../../../comps/frame/heads.
|
|
2
|
-
import { iAgent } from "../../../../../comps/ui/icons.
|
|
3
|
-
import { Page } from "../../../../../comps/frame/page-head.
|
|
4
|
-
import { LoadingToolbar } from "../../../../../comps/frame/loading-card.
|
|
5
|
-
import { Loading } from "../../../../../comps/ui/card.
|
|
1
|
+
import { HEADS } from "../../../../../comps/frame/heads.37e35439c02fc636.js";
|
|
2
|
+
import { iAgent } from "../../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
3
|
+
import { Page } from "../../../../../comps/frame/page-head.85f15db7b648d48c.js";
|
|
4
|
+
import { LoadingToolbar } from "../../../../../comps/frame/loading-card.cc76fc9708142525.js";
|
|
5
|
+
import { Loading } from "../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
6
6
|
import { jsx as _jsx, jsxs as _jsxs } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
7
7
|
/** The agents page before its list arrives. */
|
|
8
8
|
export default function AgentsLoading() {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import "./page.
|
|
1
|
+
import "./page.cf7460a024706f75.css.pnext-asset.js";
|
|
2
2
|
import { dynamic } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/dynamic.tsx";
|
|
3
|
-
import { load } from "../../../../../api/load.
|
|
4
|
-
import { Page } from "../../../../../comps/frame/page-head.
|
|
5
|
-
import { NeedsCredential } from "../../tasks/composer.
|
|
6
|
-
import { Settle } from "../../../../../comps/frame/stream.
|
|
7
|
-
import {
|
|
8
|
-
import { HEADS } from "../../../../../comps/frame/heads.
|
|
3
|
+
import { load } from "../../../../../api/load.be791a5eaf328738.js";
|
|
4
|
+
import { Page } from "../../../../../comps/frame/page-head.85f15db7b648d48c.js";
|
|
5
|
+
import { NeedsCredential } from "../../tasks/composer.b0bb1faaac8e0b6c.js";
|
|
6
|
+
import { Settle } from "../../../../../comps/frame/stream.e2915852cf82c86b.js";
|
|
7
|
+
import { credentialMissing } from "../../tasks/composer-data.309a194fc7fa34be.js";
|
|
8
|
+
import { HEADS } from "../../../../../comps/frame/heads.37e35439c02fc636.js";
|
|
9
9
|
import { jsx as _jsx, jsxs as _jsxs } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
10
10
|
/** Agent cards per page: whole rows of two or three. */
|
|
11
11
|
const AGENT_PAGE = 18;
|
|
12
12
|
// Rows arrive rendered; paging and search hydrate once the list is in view.
|
|
13
|
-
const AgentsGrid = dynamic(() => import("./agents-grid.
|
|
13
|
+
const AgentsGrid = dynamic(() => import("./agents-grid.f43bcc1148ce3650.js").then((m) => m.AgentsGrid), {
|
|
14
14
|
load: "visible",
|
|
15
15
|
ssr: true
|
|
16
16
|
}, {
|
|
17
17
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../src/server/dash/app/dash/[org]/agents/(list)/agents-grid.tsx", import.meta.url).pathname),
|
|
18
18
|
"exportName": "AgentsGrid",
|
|
19
|
-
"id": "c-
|
|
19
|
+
"id": "c-93f8f1416f"
|
|
20
20
|
});
|
|
21
|
-
const ConnectApps = dynamic(() => import("./connect-apps.
|
|
21
|
+
const ConnectApps = dynamic(() => import("./connect-apps.f3af8cc8540719d7.js").then((m) => m.ConnectApps), undefined, {
|
|
22
22
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../src/server/dash/app/dash/[org]/agents/(list)/connect-apps.tsx", import.meta.url).pathname),
|
|
23
23
|
"exportName": "ConnectApps",
|
|
24
|
-
"id": "c-
|
|
24
|
+
"id": "c-a325e54133"
|
|
25
25
|
});
|
|
26
26
|
/** Built-in apps this workspace has not installed, labelled in each platform's words. */
|
|
27
27
|
function connectable(apps, integrations) {
|
|
@@ -45,18 +45,13 @@ export default function AgentsPage({ request }) {
|
|
|
45
45
|
connect: true,
|
|
46
46
|
...filters
|
|
47
47
|
});
|
|
48
|
-
const
|
|
49
|
-
cursor: "",
|
|
50
|
-
limit: 1,
|
|
51
|
-
fields: "id"
|
|
52
|
-
});
|
|
53
|
-
const me = load(request).me();
|
|
48
|
+
const missing = credentialMissing(load(request));
|
|
54
49
|
const catalog = load(request).integrations.list();
|
|
55
50
|
return /* @__PURE__ */ _jsx(Page, { children: /* @__PURE__ */ _jsx(Settle, { load: () => Promise.all([
|
|
56
51
|
agents,
|
|
57
|
-
|
|
52
|
+
missing,
|
|
58
53
|
catalog.catch(() => [])
|
|
59
|
-
]).then(([first,
|
|
54
|
+
]).then(([first, needsCredential, integrations]) => {
|
|
60
55
|
const connect = connectable(first.connectable ?? [], integrations);
|
|
61
56
|
return /* @__PURE__ */ _jsxs(AgentsGrid, {
|
|
62
57
|
limit: AGENT_PAGE,
|
|
@@ -64,7 +59,7 @@ export default function AgentsPage({ request }) {
|
|
|
64
59
|
filters,
|
|
65
60
|
catalog: integrations,
|
|
66
61
|
head: HEADS.agents,
|
|
67
|
-
children: [connect.length ? /* @__PURE__ */ _jsx(ConnectApps, { apps: connect }) : null,
|
|
62
|
+
children: [connect.length ? /* @__PURE__ */ _jsx(ConnectApps, { apps: connect }) : null, needsCredential ? /* @__PURE__ */ _jsx(NeedsCredential, { reason: "Agents need a model credential to run." }) : null]
|
|
68
63
|
});
|
|
69
64
|
}) }) });
|
|
70
65
|
}
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { dynamic } from "../../../../../../../../../../../node_modules/@wular/pnext/src/api/dynamic.tsx";
|
|
2
|
-
import { iGit, iPencil, iPlus } from "../../../../../../comps/ui/icons.
|
|
3
|
-
import { load, orgOf } from "../../../../../../api/load.
|
|
4
|
-
import { Back, Page } from "../../../../../../comps/frame/page-head.
|
|
5
|
-
import { Button, LinkButton } from "../../../../../../comps/ui/button.
|
|
6
|
-
import { Stream } from "../../../../../../comps/frame/stream.
|
|
2
|
+
import { iGit, iPencil, iPlus } from "../../../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
3
|
+
import { load, orgOf } from "../../../../../../api/load.be791a5eaf328738.js";
|
|
4
|
+
import { Back, Page } from "../../../../../../comps/frame/page-head.85f15db7b648d48c.js";
|
|
5
|
+
import { Button, LinkButton } from "../../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
6
|
+
import { Stream } from "../../../../../../comps/frame/stream.e2915852cf82c86b.js";
|
|
7
7
|
import { LoadingTabs, Tabs } from "../../../../../../comps/ui/tabs.66b2e54963f6901b.js";
|
|
8
|
-
import { editableAgent } from "../../../../../../api/types.
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { loadTasks } from "../../../tasks/list/tasks-section.1247d4765d0e1bdc.js";
|
|
8
|
+
import { editableAgent } from "../../../../../../api/types.79f9092cdb5a00d1.js";
|
|
9
|
+
import { LoadingHero, Hero } from "../../agent/hero.ad5cc342db794e5d.js";
|
|
10
|
+
import { loadAgent } from "../../../../../../api/load.be791a5eaf328738.js";
|
|
11
|
+
import { loadTasks } from "../../../tasks/list/tasks-section.80f9c9a42ecae854.js";
|
|
13
12
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
14
|
-
const NewTaskButton = dynamic(() => import("../../../tasks/composer.
|
|
13
|
+
const NewTaskButton = dynamic(() => import("../../../tasks/composer.b0bb1faaac8e0b6c.js").then((m) => m.NewTaskButton), undefined, {
|
|
15
14
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../../src/server/dash/app/dash/[org]/tasks/composer.tsx", import.meta.url).pathname),
|
|
16
15
|
"exportName": "NewTaskButton",
|
|
17
|
-
"id": "c-
|
|
16
|
+
"id": "c-8419d00b21"
|
|
18
17
|
});
|
|
19
18
|
function Actions({ agent, org }) {
|
|
20
19
|
return /* @__PURE__ */ _jsxs(_Fragment, { children: [editableAgent(agent) ? /* @__PURE__ */ _jsx(LinkButton, {
|
|
@@ -65,7 +64,7 @@ function LoadingAgentHead({ back }) {
|
|
|
65
64
|
})
|
|
66
65
|
}), /* @__PURE__ */ _jsx(LoadingTabs, { labels: TABS.map(([, label]) => label) })] });
|
|
67
66
|
}
|
|
68
|
-
function AgentHead({ agent, org, tasks,
|
|
67
|
+
function AgentHead({ agent, org, tasks, backPath, back }) {
|
|
69
68
|
const counts = {
|
|
70
69
|
"/dash/[org]/agents/[slug]/platforms": Object.keys(agent.definition?.integrations ?? {}).length,
|
|
71
70
|
"/dash/[org]/agents/[slug]/tasks": tasks?.counts?.all
|
|
@@ -85,7 +84,7 @@ function AgentHead({ agent, org, tasks, from, back }) {
|
|
|
85
84
|
org,
|
|
86
85
|
slug: agent.id
|
|
87
86
|
},
|
|
88
|
-
search:
|
|
87
|
+
search: backPath ? { back: backPath } : undefined,
|
|
89
88
|
label,
|
|
90
89
|
count: counts[href]
|
|
91
90
|
}))
|
|
@@ -98,19 +97,20 @@ export default function AgentTabsLayout({ request, children }) {
|
|
|
98
97
|
// Read from the address, not the params promise, so the layout renders with the loading frame.
|
|
99
98
|
const org = orgOf(request);
|
|
100
99
|
const slug = decodeURIComponent(url.pathname.split("/")[4]);
|
|
101
|
-
const
|
|
102
|
-
const back = /* @__PURE__ */ _jsx(Back, {
|
|
100
|
+
const backPath = url.searchParams.get("back");
|
|
101
|
+
const back = /* @__PURE__ */ _jsx(Back, {
|
|
103
102
|
href: "/dash/[org]/agents",
|
|
104
103
|
params: { org },
|
|
105
|
-
label: "Agents"
|
|
106
|
-
|
|
104
|
+
label: "Agents",
|
|
105
|
+
back: backPath
|
|
106
|
+
});
|
|
107
107
|
return /* @__PURE__ */ _jsxs(Page, { children: [/* @__PURE__ */ _jsx(Stream, {
|
|
108
108
|
fallback: /* @__PURE__ */ _jsx(LoadingAgentHead, { back }),
|
|
109
109
|
load: () => Promise.all([loadAgent(request, slug), (url.pathname.endsWith("/tasks") ? loadTasks(request, slug).first : lastTask(request, slug)).catch(() => undefined)]).then(([agent, tasks]) => /* @__PURE__ */ _jsx(AgentHead, {
|
|
110
110
|
agent,
|
|
111
111
|
org,
|
|
112
112
|
tasks,
|
|
113
|
-
|
|
113
|
+
backPath,
|
|
114
114
|
back
|
|
115
115
|
}))
|
|
116
116
|
}), /* @__PURE__ */ _jsx("div", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Loading } from "../../../../../../comps/ui/card.
|
|
1
|
+
import { Loading } from "../../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
2
2
|
import { jsx as _jsx } from "../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
3
3
|
export default function AgentOverviewLoading() {
|
|
4
4
|
return /* @__PURE__ */ _jsx(Loading, { label: "Loading agent" });
|