@wular/coder 0.4.9 → 0.4.10
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-C3Mgpl9J.js +2 -0
- package/dist/adapter-BeezVK-B.js +1 -0
- package/dist/{adapter-YCvP9H2n.js → adapter-ChaISKgI.js} +42 -42
- package/dist/{adapter-B2RXnvqt.js → adapter-MD6ahqPR.js} +6 -6
- package/dist/{add-CvBTpxgY.js → add-B26QSwPY.js} +2 -2
- package/dist/add-BbXuvqj1.js +1 -0
- package/dist/add-Bk8drM-8.js +1 -0
- package/dist/add-CD_L-WW8.js +2 -0
- package/dist/agent-B8ItyuHN.js +8 -0
- package/dist/{agent-vYm7Geh-.js → agent-DHpMqHVi.js} +1 -1
- package/dist/alias-CScCzXhS.js +2 -0
- package/dist/{app-CJPFaLIV.js → app-wHQJHu6N.js} +1 -1
- package/dist/approvals-BIGQBbCM.js +2 -0
- package/dist/{approve-CBuGu3du.js → approve-BnZ3v-3c.js} +1 -1
- package/dist/approve-DFSy7Z72.js +2 -0
- package/dist/apps-6BgpUsFh.js +372 -0
- package/dist/archive-CU0nhUeJ.js +4 -0
- package/dist/{archive-C89Z4kSx.js → archive-CY2lvp_c.js} +2 -2
- package/dist/args-BekfmD9t.js +1 -0
- package/dist/ask-CLDgHB_Y.js +4 -0
- package/dist/auth-C3KrIUf1.js +1 -0
- package/dist/auth-CGeSfgNb.js +1 -0
- package/dist/builtin/coder/agent.json +5 -9
- package/dist/chat-AbW-LOHo.js +13 -0
- package/dist/chat-bridge-WK-pKNfw.js +2 -0
- package/dist/chat-bwKd3y6V.js +1 -0
- package/dist/cli-Fp28pM4Y.js +9 -0
- package/dist/cli.js +1 -1
- package/dist/client-DzwzCsue.js +22 -0
- package/dist/config-DoVedq6T.js +3 -0
- package/dist/{connection-BtUZA2St.js → connection-5V8doFL7.js} +1 -1
- package/dist/connection-Cb0TK201.js +1 -0
- package/dist/conversation-DT-35cEt.js +1 -0
- package/dist/create-CrjRdQip.js +1 -0
- package/dist/credentials-DoL9w8D1.js +1 -0
- package/dist/dash/standalone/server/build-index.json +1 -1
- package/dist/dash/standalone/server/manifest.json +1317 -1303
- package/dist/dash/standalone/server/modules-server-server-react-server/src/client/{index.8e150ef2bc6a5f4e.js → index.843431e3538fd9a4.js} +7 -11
- 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.7ae462ef36271be8.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.806027fde54ab723.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/create/[id]/{page.90e312759b87cfa2.js → page.bd04d2d3eba00676.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.857748e260c691e3.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{page.1641da62504df30a.js → page.25153459858542f9.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.ff98573f362d76f3.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.8efd14bc39281da9.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.d1e67db29b12dc0a.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.0f7d5e3e42462870.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.05210ffa6038791f.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.19fe116c0f802cb1.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.f87fd8eb66f73af0.js} +37 -30
- 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.b6c3d3184e167d0b.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.28220621573033d7.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.2f7467868f599ebc.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.ec94096015346f2c.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.a92a36a8ce21088c.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.8935a5fe5c08bcf1.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.5b97ab6d40e2e639.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.bedcc1aba372fbce.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.14760e9eedd6ff8e.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.a6ee8bd882178e29.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.8be1dd4ea3ed6e17.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.59d89152fe845af2.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.77f68d431408745b.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.a7b01817a821819a.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.c4570fd80bdda68c.js} +11 -19
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{layout.6d2242d49ae9dd35.js → layout.19006c2d7dc8d114.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.d350a52d27f69fa6.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/{page.af19494c89ac62c0.js → page.4a652f5080c2b863.js} +8 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{page.c720853404d94114.js → page.d39f7a1719f50c6d.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.ff7e1dadcd4df17f.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.87a1f8ab71eb4bed.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.a535c9c6dd8b4cdf.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.29fffd07c1c3b771.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.0c87d55cf4ef382c.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.6fea9faddb8300bb.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.295245052b93af90.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.a4a38e54d834a1ec.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.50f487766f87383c.js} +23 -15
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{layout.567d27e39d42d719.js → layout.c42e0ab39cb2c0e0.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.6997506eaa1a4824.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.9458b49dc99bbaaa.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.77e402bb6e8e7f7e.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.fcda6f18c8207c99.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.d0f039221a27b8ef.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.f5f2016d2dc7f422.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.a292baa2410cdf64.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.2d4122eb33addbdd.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.021bdc2f3d90af2d.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.13f64b0836ae406b.js} +10 -10
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{page.cf74c55e6528c7c9.js → page.b78f0df100410db0.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.93c2306069c03c68.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.95a2468086aceb84.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{task-toasts.63f673632770924d.js → task-toasts.e1a484113e1df660.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.968bcab0f5e3665d.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{client.d25e6dcc6704eb60.js → client.189224c16057d7a1.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-410bdc82c416bc01.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/agent-pills-0c0b8d40b9bfc78f.js +2 -0
- package/dist/dash/standalone/static/assets/chunks/agent-settings-form-5a2601316e2ab283.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{agent-toggle-b2f2c22e63dedc1f.js → agent-toggle-5ede0c449e88cb9d.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/agents-grid-ffb18df48e951ecb.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{back-1d1b062f0e1b29b7.js → back-602db2cfdccf2e7f.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/combo-df2685e277db02c0.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/composer-08e49d49c0c3ee94.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/composer-data-5fed6c271a4791ca.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/composer-e1cefed81ea89b7e.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{confirm-1cb4d8df3974f34a.js → confirm-d163e6865d66dfab.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/connect-apps-ce3c9d049ebad459.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{connect-repositories-995d55b3f166337d.js → connect-repositories-0aa9abc77b9c3d48.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/connections-list-6eddeb8583ded10f.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{copy-c938369a1bfe75fd.js → copy-0cc00656953531be.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/create-link-bc365f8dfe88e6b3.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/credentials-list-1b6a81e9b4934dc8.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{custom-range-4eeb710748887f3a.js → custom-range-cae5567874db83ca.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/defaults-52f30e83d7666f7a.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/editor-d55d247a1d7de5f0.js +6 -0
- package/dist/dash/standalone/static/assets/chunks/engines-list-288559344de4d4b9.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{field-657227821326b5b3.js → field-693bb870ad0bdee8.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/format-a27067f0186e78ac.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/instructions-3f18e035338b0d0b.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/instructions-a3d7688e421f2a08.js +2 -0
- package/dist/dash/standalone/static/assets/chunks/list-2a59237cb7cb0a7c.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-5ed9ee02f9b66d98.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{notice-cd32ca98bbc10844.js → notice-7d84ffab32ff24ca.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/outcome-dialog-3cffe3507ea92af2.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/outcome-dialog-f6fb8c69efa66508.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/platform-actions-4dc31567d00c4cb2.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/platform-actions-ecd7200f7749c258.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/runners-list-984246a8f9450da1.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{runtime-e8b9eb1e537215ed-1.js → runtime-6e12333f12903a62-1.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/secrets-list-88f8b30abbab52f0.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{segmented-24da438244eedc8f.js → segmented-79c9c69b702e0b90.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/shared-init-6e12333f12903a62-2.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/shared-init-962398d15ee67c92.js +5 -0
- package/dist/dash/standalone/static/assets/chunks/shared-init-ae95a674d381c095.js +2 -0
- package/dist/dash/standalone/static/assets/chunks/side-toggle-7ada95cc7601eb49.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/tail-99e29a541a072002.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/task-95daa40d39de664f.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/task-actions-1cdca1e8d3eee490.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/task-view-fdcde0e31f63b737.js +5 -0
- package/dist/dash/standalone/static/assets/chunks/tasks-list-3ad1c93deff4fb2e.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-60ac4d8f715bf5f7.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{wular-pnext-e8b9eb1e537215ed-0.js → wular-pnext-6e12333f12903a62-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-0b3b70f1aefb9947.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-0d90849808b6eb05.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-12faa1754e3ef3be.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-23384b239b81a761.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-23e200dd9b7a79c0.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-2562299eef46e62c.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-3a4ada64991e6a40.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-71e7ecdfcf86be84.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-726c29bbb81054c0.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-825e9f5b63950ef4.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-894cff70289fb7a3.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-8f96a4b8a00ff460.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-9bc9b14c08020649.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-ab36b406301fd2a4.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-b8c585cae8da7778.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-bab4305b41abb15a.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-bd80926822b3993d.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-cd4c7b4318fa1846.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-db55344d00b7888f.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-eddcd5df2b28120f.js +1 -0
- package/dist/default-tTTSBdXq.js +1 -0
- package/dist/delete-DM2sA12f.js +2 -0
- package/dist/{delete-DS6P_fun.js → delete-DR37NTr1.js} +2 -2
- package/dist/disable-Dz_zLPX5.js +1 -0
- package/dist/{discover-pKrMDvpW.js → discover-CqabH4Fx.js} +2 -2
- package/dist/dispatch-BJZqI7sj.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-BV9SC67g.js +2 -0
- package/dist/{docs-sFUXzJbk.js → docs-b2mAKC8Z.js} +1 -1
- package/dist/drive-CU2HOCfR.js +1 -0
- package/dist/{enable-BWvDv7dP.js → enable-Cfeki-ne.js} +1 -1
- package/dist/env-DSddo-fz.js +1 -0
- package/dist/exec-DcWxZar6.js +3 -0
- package/dist/executor-LkokKTTd.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-BQcdyrVK.js +1 -0
- package/dist/history-D_A5odLI.js +8 -0
- package/dist/http-CXaW1e7x.js +1 -0
- package/dist/init-DU_S43NG.js +1 -0
- package/dist/integrations-DPxWtNnS.js +2 -0
- package/dist/integrations-Dwvxl7i2.js +1 -0
- package/dist/lib/broker.js +2 -2
- package/dist/{list-BDpYPbJF.js → list-7yd9K7d8.js} +1 -1
- package/dist/list-BJ0j5eP9.js +4 -0
- package/dist/list-Boaz5b5n.js +2 -0
- package/dist/{list-CaFQOnfI.js → list-CIS-GYO1.js} +1 -1
- package/dist/list-CR0_Emod2.js +4 -0
- package/dist/list-CnHZriYt.js +3 -0
- package/dist/list-_EH6c041.js +1 -0
- package/dist/list-i2r3Nlyz.js +1 -0
- package/dist/load-C-GZnuok.js +2 -0
- package/dist/local-Fs-dx_dP.js +5 -0
- package/dist/log-view-CL3_S0IQ.js +3 -0
- package/dist/{login-CpHx_RCq.js → login-CzD2EMD_.js} +1 -1
- package/dist/login-DISw6--d.js +1 -0
- package/dist/{logout-zSQBDPCK.js → logout-DMnc5yri.js} +1 -1
- package/dist/{maintenance-DuIspk-y.js → maintenance-BVDuG9Hg.js} +1 -1
- package/dist/match-BfjPZ7gJ.js +1 -0
- package/dist/mcp-B-hy3eM-.js +11 -0
- package/dist/mcp-CbN-QcpF.js +1 -0
- package/dist/mcp-server-DQqSgD3P.js +1 -0
- package/dist/model-Ckyoyji3.js +1 -0
- package/dist/models-VaiIYlOW.js +1 -0
- package/dist/prompt-DQyPCLUo.js +8 -0
- package/dist/prompts-CEf7z4i_.js +77 -0
- package/dist/push-BNomfHJ3.js +1 -0
- package/dist/reconnect-Bd_jna1M.js +1 -0
- package/dist/refresh-D-broYEx.js +1 -0
- package/dist/remote-f-uny3XZ.js +3 -0
- package/dist/remove-CCYHc1FN.js +1 -0
- package/dist/remove-DMTz_c25.js +1 -0
- package/dist/remove-DdcQ-6by.js +1 -0
- package/dist/{remove-BcewhH1U.js → remove-VtavIuGm.js} +1 -1
- package/dist/rename-CKMyelWN.js +1 -0
- package/dist/{result-Bg557zR6.js → result-CH3_tVXO.js} +2 -2
- package/dist/result-DvOqIwhh.js +18 -0
- package/dist/{resume-fnx4FUQF.js → resume-6j3RUpqa.js} +2 -2
- package/dist/{review-CAHDqPq8.js → review-B4ETH5ki.js} +2 -2
- package/dist/{index-vd37q3fn.d.ts → review-DDYD3Yvq.d.ts} +173 -74
- package/dist/{rotate-key-Dpx_WmuU.js → rotate-key-Byk_wI73.js} +1 -1
- package/dist/run-DKJW7qwy.js +2 -0
- package/dist/run-DkYzyUnp.js +5 -0
- package/dist/run-LCE1XiyU.js +2 -0
- package/dist/runner-CxtzTgVq.js +1 -0
- package/dist/runner-Dnu1Vx_i.js +1 -0
- package/dist/runner.json +1 -0
- package/dist/runner.tgz +0 -0
- package/dist/runners-vsoGeyuc.js +36 -0
- package/dist/schema-Brm7WIKd.js +8 -0
- package/dist/schema.d.ts +2 -2
- package/dist/schema.js +1 -1
- package/dist/{sdk-CWerLcF5.d.ts → sdk-CKTCrtGe.d.ts} +660 -376
- package/dist/sdk.d.ts +4 -5
- package/dist/sdk.js +1 -1
- package/dist/serve-C1zag2nr.js +1 -0
- package/dist/{serve-w-9qRCP1.js → serve-C6tsUF0D.js} +2 -2
- package/dist/serve-CCxSxXgv.js +1 -0
- package/dist/serve-D8J-sEqm.js +12 -0
- package/dist/{server-Bw_YmgCf.js → server-B4SRYM2L.js} +1 -1
- package/dist/setup-host-EaP4GPKB.js +6 -0
- package/dist/show-CjUG_aIp.js +1 -0
- package/dist/show-xdsqD6de.js +1 -0
- package/dist/slack-Kpj-G9FE.js +5 -0
- package/dist/{status-PO1YXbt4.js → status-BxV_ITeF.js} +1 -1
- package/dist/steer-DZ3nkHfC.js +4 -0
- package/dist/{stop-CkvoZEAH.js → stop-DGTUYxd6.js} +2 -2
- package/dist/stop-qDw_DjOB.js +1 -0
- package/dist/task-C506SkPR.js +1 -0
- package/dist/task-CQmx_2SI.js +7 -0
- package/dist/task-Ls_-kcSx.js +1 -0
- package/dist/test-DF_qVK6S.js +1 -0
- package/dist/tools-S3eRQOVm.js +1 -0
- package/dist/{types-C1tWi5lP.d.ts → types-8zO5Tc9c.d.ts} +91 -26
- package/dist/{types-B42Oh0zF.js → types-D_xnfP7m.js} +1 -1
- package/dist/unalias-CklkAN1B.js +1 -0
- package/dist/update-CZaFjwOJ.js +2 -0
- package/dist/upgrade-CUhFmPhl.js +2 -0
- package/dist/usage-DTAlb2rC.js +1 -0
- package/dist/views-LmbLfqpu.js +5 -0
- package/dist/watch-CJruitc6.js +5 -0
- package/dist/watch-p0j69fVA.js +9 -0
- package/dist/wire-DshFMRsS.js +1 -0
- package/dist/worker-BHXjDzRp.js +1 -0
- package/dist/worker-nyRZuq4g.js +2 -0
- package/dist/{workflow-BKxG9OUk.js → workflow-CJJUiSfv.js} +1 -1
- package/docs/agents/coder.md +7 -7
- package/docs/agents/index.md +17 -19
- package/docs/agents/prompt.md +220 -0
- package/docs/cli.md +2 -2
- package/docs/config.md +5 -3
- package/docs/mcp.md +1 -1
- 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/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-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
|
@@ -3,54 +3,40 @@ import "./editor.c496247a81ed832c.css.pnext-asset.js";
|
|
|
3
3
|
// The preview is the same card the agents list draws.
|
|
4
4
|
import "./@/app/dash/[org]/agents/(list)/page.81c825592da30a32.css.pnext-asset.js";
|
|
5
5
|
import { useEffect, useState } from "../../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
|
|
6
|
-
import { client } from "../../../../../utils/client.
|
|
7
|
-
import { useAction } from "../../../../../utils/action.
|
|
8
|
-
import { iDown, iPlus, iShuffle, iUpload } from "../../../../../comps/ui/icons.
|
|
6
|
+
import { client } from "../../../../../utils/client.189224c16057d7a1.js";
|
|
7
|
+
import { useAction } from "../../../../../utils/action.968bcab0f5e3665d.js";
|
|
8
|
+
import { iDown, iPlus, iShuffle, iUpload } from "../../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
9
9
|
import { useRouter } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/client-navigation.ts";
|
|
10
|
-
import { useOrg } from "../../../../../comps/nav/org.
|
|
10
|
+
import { useOrg } from "../../../../../comps/nav/org.572ad93c7707ab27.js";
|
|
11
11
|
import { Link } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/link.tsx";
|
|
12
|
-
import { BrandIcon, DisabledBadge, PlatformLine } from "../agent/agent-pills.
|
|
13
|
-
import { Hero } from "../agent/hero.
|
|
14
|
-
import { Back, PageHead } from "../../../../../comps/frame/page-head.
|
|
15
|
-
import { HEADS } from "../../../../../comps/frame/heads.
|
|
16
|
-
import { initial } from "../../../../../utils/format.
|
|
12
|
+
import { BrandIcon, DisabledBadge, PlatformLine } from "../agent/agent-pills.f987c12bcbc5c850.js";
|
|
13
|
+
import { Hero } from "../agent/hero.8be1dd4ea3ed6e17.js";
|
|
14
|
+
import { Back, PageHead } from "../../../../../comps/frame/page-head.85f15db7b648d48c.js";
|
|
15
|
+
import { HEADS } from "../../../../../comps/frame/heads.37e35439c02fc636.js";
|
|
16
|
+
import { initial } from "../../../../../utils/format.ceeaafa10a0563f3.js";
|
|
17
|
+
import { eventNames } from "../../../../../api/types.79f9092cdb5a00d1.js";
|
|
17
18
|
import { Field } from "../../../../../comps/ui/field.75588c33b72824a7.js";
|
|
18
|
-
import { showToast, toastError } from "../../../../../comps/frame/task-toasts.
|
|
19
|
-
import { Badge, Chip, Chips } from "../../../../../comps/ui/badge.
|
|
20
|
-
import { Button, LinkButton } from "../../../../../comps/ui/button.
|
|
19
|
+
import { showToast, toastError } from "../../../../../comps/frame/task-toasts.e1a484113e1df660.js";
|
|
20
|
+
import { Badge, Chip, Chips } from "../../../../../comps/ui/badge.c0bc352791a95fd6.js";
|
|
21
|
+
import { Button, LinkButton } from "../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
21
22
|
import { Icon } from "../../../../../comps/ui/icon.0874ca2f58f7db14.js";
|
|
22
|
-
import { Select } from "../../../../../comps/ui/select.
|
|
23
|
+
import { Select } from "../../../../../comps/ui/select.2eb33e5bea28d804.js";
|
|
23
24
|
import { Segmented } from "../../../../../comps/ui/segmented.a08dc08338d080e9.js";
|
|
24
|
-
import { Search } from "../../../../../comps/ui/toolbar.
|
|
25
|
-
import { ImportPicker } from "./import-picker.
|
|
26
|
-
import { markdown } from "../agent/instructions.
|
|
27
|
-
import { ENGINE_NAMES, defaultLabel, modelHeadings, modelOptions, modelValue, splitModel } from "../../settings/model-options.
|
|
25
|
+
import { Search } from "../../../../../comps/ui/toolbar.24036899654de6df.js";
|
|
26
|
+
import { ImportPicker } from "./import-picker.a7b01817a821819a.js";
|
|
27
|
+
import { markdown } from "../agent/instructions.85b1cd986a9edbb5.js";
|
|
28
|
+
import { EFFORTS, ENGINE_NAMES, PERMISSIONS, defaultLabel, modelHeadings, modelOptions, modelValue, splitModel } from "../../settings/model-options.a96c11d11674f598.js";
|
|
28
29
|
import { suggestName } from "./names.1ee5bba8d2b6ac41.js";
|
|
29
30
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
30
|
-
const PERMISSIONS = [
|
|
31
|
-
["read-only", "Read only"],
|
|
32
|
-
["workspace-write", "Edit files"],
|
|
33
|
-
["auto", "Auto"]
|
|
34
|
-
];
|
|
35
31
|
const PERMISSION_HINTS = {
|
|
36
32
|
"read-only": "reads the repository and changes nothing",
|
|
37
33
|
"workspace-write": "edits files inside the repository",
|
|
38
34
|
auto: "edits files, reaches the network, and asks when it needs more"
|
|
39
35
|
};
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
];
|
|
45
|
-
const PRESETS = [
|
|
46
|
-
"observe",
|
|
47
|
-
"comment",
|
|
48
|
-
"write"
|
|
49
|
-
];
|
|
50
|
-
const ACCESS = {
|
|
51
|
-
observe: ["Observe", "reads the platform only"],
|
|
52
|
-
comment: ["Comment", "also replies and reacts"],
|
|
53
|
-
write: ["Write", "also changes code there, like opening pull requests"]
|
|
36
|
+
const ACCESS = [["read", "Read-only"], ["write", "Read-write"]];
|
|
37
|
+
const ACCESS_HINTS = {
|
|
38
|
+
read: "reads its platforms and connections; replies and reacts in the conversation",
|
|
39
|
+
write: "also changes things there, like opening pull requests"
|
|
54
40
|
};
|
|
55
41
|
const TEMPLATES = [
|
|
56
42
|
[
|
|
@@ -73,7 +59,6 @@ const TEMPLATES = [
|
|
|
73
59
|
const SEARCH_FROM = 6;
|
|
74
60
|
const REVIEWER = "Review each pull request for bugs, risky changes and missing tests.\nComment on the lines that matter and keep it short.\nWhen mentioned, answer questions about the code and cite file paths.";
|
|
75
61
|
const HELPER = "Answer the team's questions in the thread.\nRead the code before you answer, cite file paths, and say when you are unsure.\nIf asked to change code, describe the change and stop.";
|
|
76
|
-
const eventNames = (events) => Array.isArray(events) ? events.map(String) : events && typeof events === "object" ? Object.keys(events) : [];
|
|
77
62
|
const slug = (value) => value.toLowerCase().replace(/[^a-z0-9_-]+/g, "-").replace(/^-+|-+$/g, "").slice(0, 40);
|
|
78
63
|
function draftOf(agent, suggested, catalog) {
|
|
79
64
|
const definition = agent?.definition;
|
|
@@ -84,7 +69,7 @@ function draftOf(agent, suggested, catalog) {
|
|
|
84
69
|
platforms: [],
|
|
85
70
|
events: {},
|
|
86
71
|
match: {},
|
|
87
|
-
|
|
72
|
+
access: definition?.access ?? "write",
|
|
88
73
|
permissions: definition?.permissions ?? "read-only",
|
|
89
74
|
systemPrompt: agent?.systemPrompt ?? "",
|
|
90
75
|
engine: definition?.engine ?? "",
|
|
@@ -100,7 +85,6 @@ function draftOf(agent, suggested, catalog) {
|
|
|
100
85
|
if (entry.events && !Array.isArray(entry.events)) {
|
|
101
86
|
for (const [name, options] of Object.entries(entry.events)) if (options && typeof options === "object" && "match" in options) draft.match[id][name] = String(options.match);
|
|
102
87
|
}
|
|
103
|
-
draft.tools[id] = entry.tools;
|
|
104
88
|
}
|
|
105
89
|
return draft;
|
|
106
90
|
}
|
|
@@ -113,7 +97,6 @@ function fromTemplate(template, catalog) {
|
|
|
113
97
|
return {
|
|
114
98
|
platforms,
|
|
115
99
|
events: Object.fromEntries(platforms.map((id) => [id, defaultEvents(catalog.find((info) => info.id === id))])),
|
|
116
|
-
tools: Object.fromEntries(platforms.map((id) => [id, "comment"])),
|
|
117
100
|
match: {}
|
|
118
101
|
};
|
|
119
102
|
};
|
|
@@ -130,7 +113,6 @@ function fromTemplate(template, catalog) {
|
|
|
130
113
|
return {
|
|
131
114
|
platforms: [],
|
|
132
115
|
events: {},
|
|
133
|
-
tools: {},
|
|
134
116
|
match: {},
|
|
135
117
|
description: "",
|
|
136
118
|
systemPrompt: ""
|
|
@@ -150,15 +132,6 @@ function eventsFor(previous, names, match) {
|
|
|
150
132
|
}));
|
|
151
133
|
return Object.values(built).every((value) => value === true) ? names : built;
|
|
152
134
|
}
|
|
153
|
-
const sameTools = (a = [], b = []) => a.length === b.length && a.every((tool) => b.includes(tool));
|
|
154
|
-
/** A platform's access presets that each grant more than the one before; a single one means it has no levels. */
|
|
155
|
-
function levelsOf(info) {
|
|
156
|
-
if (!info) return [];
|
|
157
|
-
const kept = PRESETS.filter((preset, at) => !at || !sameTools(info.presets[preset], info.presets[PRESETS[at - 1]]));
|
|
158
|
-
return kept.length > 1 ? kept : [];
|
|
159
|
-
}
|
|
160
|
-
/** The level a preset grants among `levels`: the highest one at or below it. */
|
|
161
|
-
const levelOf = (levels, preset) => levels.filter((level) => PRESETS.indexOf(level) <= PRESETS.indexOf(preset)).at(-1) ?? "";
|
|
162
135
|
/** Make a dashboard agent on one page, from a template or a repository, or edit one. Saving publishes a version. */
|
|
163
136
|
export function AgentEditor({ catalog, agent, suggested = "", section, models, defaults = {
|
|
164
137
|
engine: "",
|
|
@@ -185,13 +158,6 @@ export function AgentEditor({ catalog, agent, suggested = "", section, models, d
|
|
|
185
158
|
...current,
|
|
186
159
|
[key]: value
|
|
187
160
|
}));
|
|
188
|
-
const access = (id, tools = draft.tools[id]) => Array.isArray(tools) ? "custom" : tools ?? "observe";
|
|
189
|
-
const shared = draft.platforms.length ? access(draft.platforms[0]) : "comment";
|
|
190
|
-
const uniform = draft.platforms.every((id) => access(id) === shared);
|
|
191
|
-
const leveled = draft.platforms.map((id) => [id, levelsOf(catalog.find((entry) => entry.id === id))]).filter(([, kept]) => kept.length);
|
|
192
|
-
const levels = PRESETS.filter((preset) => leveled.some(([, kept]) => kept.includes(preset)));
|
|
193
|
-
const picked = new Set(leveled.map(([id]) => access(id)));
|
|
194
|
-
const level = picked.size === 1 ? levelOf(levels, [...picked][0]) : "";
|
|
195
161
|
const aliasOf = (engine, model) => Object.entries(defaults.builtin[engine] ?? {}).find(([, target]) => target === model)?.[0] ?? model;
|
|
196
162
|
const engine = draft.engine || defaults.engine;
|
|
197
163
|
const base = defaults.engines[engine] ?? {};
|
|
@@ -230,11 +196,7 @@ export function AgentEditor({ catalog, agent, suggested = "", section, models, d
|
|
|
230
196
|
events: on && !current.events[id]?.length ? {
|
|
231
197
|
...current.events,
|
|
232
198
|
[id]: defaultEvents(catalog.find((entry) => entry.id === id))
|
|
233
|
-
} : current.events
|
|
234
|
-
tools: on && !current.tools[id] ? {
|
|
235
|
-
...current.tools,
|
|
236
|
-
[id]: uniform && shared !== "custom" ? shared : "comment"
|
|
237
|
-
} : current.tools
|
|
199
|
+
} : current.events
|
|
238
200
|
};
|
|
239
201
|
});
|
|
240
202
|
const toggleEvent = (id, event, on) => setDraft((current) => {
|
|
@@ -269,14 +231,12 @@ export function AgentEditor({ catalog, agent, suggested = "", section, models, d
|
|
|
269
231
|
const silent = draft.platforms.find((id) => !draft.events[id]?.length);
|
|
270
232
|
if (silent) return toastError("Not published", `Pick at least one event on ${silent}, or turn ${silent} off.`);
|
|
271
233
|
const integrations = {};
|
|
272
|
-
for (const id of draft.platforms) integrations[id] = {
|
|
273
|
-
events: eventsFor(agent?.definition?.integrations?.[id], draft.events[id] ?? [], draft.match[id] ?? {}),
|
|
274
|
-
tools: draft.tools[id]
|
|
275
|
-
};
|
|
234
|
+
for (const id of draft.platforms) integrations[id] = { events: eventsFor(agent?.definition?.integrations?.[id], draft.events[id] ?? [], draft.match[id] ?? {}) };
|
|
276
235
|
const definition = {
|
|
277
236
|
...agent?.definition,
|
|
278
237
|
integrations,
|
|
279
|
-
permissions: draft.permissions
|
|
238
|
+
permissions: draft.permissions,
|
|
239
|
+
access: draft.access
|
|
280
240
|
};
|
|
281
241
|
for (const key of [
|
|
282
242
|
"name",
|
|
@@ -296,7 +256,7 @@ export function AgentEditor({ catalog, agent, suggested = "", section, models, d
|
|
|
296
256
|
const { apps = [] } = await client.agents.put(id, {
|
|
297
257
|
definition,
|
|
298
258
|
...files ? { files } : {},
|
|
299
|
-
systemPrompt: draft.systemPrompt
|
|
259
|
+
systemPrompt: draft.systemPrompt,
|
|
300
260
|
...name ? { name } : {},
|
|
301
261
|
...draft.description.trim() ? { description: draft.description.trim() } : {}
|
|
302
262
|
});
|
|
@@ -606,17 +566,17 @@ export function AgentEditor({ catalog, agent, suggested = "", section, models, d
|
|
|
606
566
|
children: "No platform matches."
|
|
607
567
|
})]
|
|
608
568
|
}),
|
|
609
|
-
|
|
610
|
-
label: "
|
|
611
|
-
hint:
|
|
569
|
+
/* @__PURE__ */ _jsx(Field, {
|
|
570
|
+
label: "Access",
|
|
571
|
+
hint: ACCESS_HINTS[draft.access],
|
|
612
572
|
group: true,
|
|
613
573
|
children: /* @__PURE__ */ _jsx(Segmented, {
|
|
614
|
-
label: "
|
|
615
|
-
options:
|
|
616
|
-
value:
|
|
617
|
-
onChange: (
|
|
574
|
+
label: "Access",
|
|
575
|
+
options: ACCESS,
|
|
576
|
+
value: draft.access,
|
|
577
|
+
onChange: (value) => set("access", value)
|
|
618
578
|
})
|
|
619
|
-
})
|
|
579
|
+
})
|
|
620
580
|
]
|
|
621
581
|
}),
|
|
622
582
|
/* @__PURE__ */ _jsxs("details", {
|
|
@@ -2,20 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
// app/dash/[org]/agents/editor/import-picker.tsx
|
|
4
4
|
import { useEffect, useRef, useState } from "../../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
|
|
5
|
-
import { client } from "../../../../../utils/client.
|
|
6
|
-
import { toastFailure, useAction } from "../../../../../utils/action.
|
|
7
|
-
import { iGit } from "../../../../../comps/ui/icons.
|
|
5
|
+
import { client } from "../../../../../utils/client.189224c16057d7a1.js";
|
|
6
|
+
import { toastFailure, useAction } from "../../../../../utils/action.968bcab0f5e3665d.js";
|
|
7
|
+
import { iGit } from "../../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
8
8
|
import { useRouter } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/client-navigation.ts";
|
|
9
|
-
import { useOrg } from "../../../../../comps/nav/org.
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { Loading } from "../../../../../comps/ui/card.c08471eaa0bc1cec.js";
|
|
9
|
+
import { useOrg } from "../../../../../comps/nav/org.572ad93c7707ab27.js";
|
|
10
|
+
import { Button } from "../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
11
|
+
import { Loading } from "../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
13
12
|
import { Icon } from "../../../../../comps/ui/icon.0874ca2f58f7db14.js";
|
|
14
|
-
import { Badge, Id } from "../../../../../comps/ui/badge.
|
|
15
|
-
import { MenuItem, MenuNote } from "../../../../../comps/ui/menu-items.
|
|
16
|
-
import { connectRepositories } from "./connect-repositories.
|
|
17
|
-
import { Search } from "../../../../../comps/ui/toolbar.
|
|
18
|
-
import { TunnelGuide } from "../../settings/tunnel-guide.
|
|
13
|
+
import { Badge, Id } from "../../../../../comps/ui/badge.c0bc352791a95fd6.js";
|
|
14
|
+
import { MenuItem, MenuNote } from "../../../../../comps/ui/menu-items.1d082ac4dae8f3d4.js";
|
|
15
|
+
import { connectRepositories } from "./connect-repositories.59d89152fe845af2.js";
|
|
16
|
+
import { Search } from "../../../../../comps/ui/toolbar.24036899654de6df.js";
|
|
17
|
+
import { TunnelGuide } from "../../settings/tunnel-guide.29eee1a0b1852168.js";
|
|
19
18
|
import { Notice } from "../../../../../comps/ui/notice.f395f231cbb96445.js";
|
|
20
19
|
import { Fragment, jsx, jsxs } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
21
20
|
var REPO = /^[\w.-]+\/[\w.-]+$/;
|
|
@@ -24,7 +23,7 @@ function Agents({ preview, onDone }) {
|
|
|
24
23
|
const [off, setOff] = useState(/* @__PURE__ */ new Set());
|
|
25
24
|
const action = useAction({ leaves: true });
|
|
26
25
|
if (preview.failed) return null;
|
|
27
|
-
if (!preview.agents) return /* @__PURE__ */ jsx(Loading, { label: `Reading ${preview.repo}`, h: 180 });
|
|
26
|
+
if (!preview.agents) return /* @__PURE__ */ jsx(Loading, { label: `Reading ${preview.repo}`, h: 180, late: true });
|
|
28
27
|
if (!preview.agents.length)
|
|
29
28
|
return /* @__PURE__ */ jsxs("p", { class: "muted", children: [
|
|
30
29
|
preview.repo,
|
|
@@ -105,7 +104,7 @@ function ImportPicker({
|
|
|
105
104
|
const opened = useRef("");
|
|
106
105
|
useEffect(() => {
|
|
107
106
|
if (!connected) return;
|
|
108
|
-
void client.repositories.list().then(
|
|
107
|
+
void client.repositories.list().then((rows) => setRepos(rows.map((row) => row.repo))).catch((reason) => {
|
|
109
108
|
setRepos([]);
|
|
110
109
|
toastFailure(reason);
|
|
111
110
|
});
|
|
@@ -113,7 +112,7 @@ function ImportPicker({
|
|
|
113
112
|
const open = (repo) => {
|
|
114
113
|
opened.current = repo;
|
|
115
114
|
setPreview({ repo });
|
|
116
|
-
void client.agents.preview(repo).then(
|
|
115
|
+
void client.agents.preview(repo).then(({ agents }) => opened.current === repo && setPreview({ repo, agents })).catch((reason) => {
|
|
117
116
|
if (opened.current !== repo) return;
|
|
118
117
|
setPreview({ repo, failed: true });
|
|
119
118
|
toastFailure(reason);
|
|
@@ -166,7 +165,7 @@ function ImportPicker({
|
|
|
166
165
|
}
|
|
167
166
|
)
|
|
168
167
|
] }),
|
|
169
|
-
connected ? /* @__PURE__ */ jsx("div", { class: "repo-list scroll-box", role: "list", children: !repos ? /* @__PURE__ */ jsx(Loading, { label: "Loading repositories", h: 240 }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
168
|
+
connected ? /* @__PURE__ */ jsx("div", { class: "repo-list scroll-box", role: "list", children: !repos ? /* @__PURE__ */ jsx(Loading, { label: "Loading repositories", h: 240, late: true }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
170
169
|
typed ? /* @__PURE__ */ jsx(
|
|
171
170
|
MenuItem,
|
|
172
171
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { HEADS } from "../../../../../comps/frame/heads.
|
|
2
|
-
import { Page, PageHead } from "../../../../../comps/frame/page-head.
|
|
3
|
-
import { OrgBack } from "../../../../../comps/nav/org.
|
|
4
|
-
import { Loading } from "../../../../../comps/ui/card.
|
|
5
|
-
import { Button } from "../../../../../comps/ui/button.
|
|
6
|
-
import { iPlus } from "../../../../../comps/ui/icons.
|
|
1
|
+
import { HEADS } from "../../../../../comps/frame/heads.37e35439c02fc636.js";
|
|
2
|
+
import { Page, PageHead } from "../../../../../comps/frame/page-head.85f15db7b648d48c.js";
|
|
3
|
+
import { OrgBack } from "../../../../../comps/nav/org.572ad93c7707ab27.js";
|
|
4
|
+
import { Loading } from "../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
5
|
+
import { Button } from "../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
6
|
+
import { iPlus } from "../../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
7
7
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
8
8
|
export default function NewAgentLoading() {
|
|
9
9
|
return /* @__PURE__ */ _jsxs(Page, { children: [/* @__PURE__ */ _jsx(PageHead, {
|
|
@@ -1,34 +1,30 @@
|
|
|
1
1
|
import { dynamic } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/dynamic.tsx";
|
|
2
|
-
import { load } from "../../../../../api/load.
|
|
3
|
-
import { Page } from "../../../../../comps/frame/page-head.
|
|
4
|
-
import { Settle } from "../../../../../comps/frame/stream.
|
|
5
|
-
import { needsTunnel } from "../../../../../api/types.
|
|
6
|
-
import { NO_MODELS, modelsByEngine } from "../../settings/model-options.2eacf7f8ac0032df.js";
|
|
2
|
+
import { load, loadRunDefaults } from "../../../../../api/load.7ae462ef36271be8.js";
|
|
3
|
+
import { Page } from "../../../../../comps/frame/page-head.85f15db7b648d48c.js";
|
|
4
|
+
import { Settle } from "../../../../../comps/frame/stream.95a2468086aceb84.js";
|
|
5
|
+
import { needsTunnel } from "../../../../../api/types.79f9092cdb5a00d1.js";
|
|
7
6
|
import { suggestName } from "../editor/names.1ee5bba8d2b6ac41.js";
|
|
8
|
-
import { DEFAULT_ENGINE } from "../../../../../../../core/defaults.e6ce0944639198a2.js";
|
|
9
7
|
import { jsx as _jsx } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
10
|
-
const AgentEditor = dynamic(() => import("../editor/editor.
|
|
8
|
+
const AgentEditor = dynamic(() => import("../editor/editor.77f68d431408745b.js").then((m) => m.AgentEditor), undefined, {
|
|
11
9
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../src/server/dash/app/dash/[org]/agents/editor/editor.tsx", import.meta.url).pathname),
|
|
12
10
|
"exportName": "AgentEditor",
|
|
13
|
-
"id": "c-
|
|
11
|
+
"id": "c-15e10c612c"
|
|
14
12
|
});
|
|
15
13
|
/** A new agent from a template, or imported from a repository. */
|
|
16
14
|
export default function NewAgentPage({ request }) {
|
|
17
15
|
if (!request) return null;
|
|
18
16
|
const url = new URL(request.url);
|
|
19
17
|
const catalog = load(request).integrations.list();
|
|
20
|
-
const
|
|
21
|
-
const config = load(request).config.get().catch(() => undefined);
|
|
18
|
+
const run = loadRunDefaults(request);
|
|
22
19
|
const installations = load(request).installations.list();
|
|
23
20
|
const me = load(request).me();
|
|
24
21
|
const asked = url.searchParams.get("template");
|
|
25
22
|
return /* @__PURE__ */ _jsx(Page, { children: /* @__PURE__ */ _jsx(Settle, { load: () => Promise.all([
|
|
26
23
|
catalog,
|
|
27
|
-
|
|
28
|
-
config,
|
|
24
|
+
run,
|
|
29
25
|
installations.catch(() => []),
|
|
30
26
|
me.catch(() => ({}))
|
|
31
|
-
]).then(([integrations,
|
|
27
|
+
]).then(([integrations, { models, defaults }, installed, who]) => {
|
|
32
28
|
const reach = integrations.filter((entry) => entry.repositories);
|
|
33
29
|
const connected = installed.some(({ value }) => !value.deletedAt && reach.some((entry) => entry.id === value.integration));
|
|
34
30
|
const template = [
|
|
@@ -40,12 +36,8 @@ export default function NewAgentPage({ request }) {
|
|
|
40
36
|
return /* @__PURE__ */ _jsx(AgentEditor, {
|
|
41
37
|
catalog: integrations,
|
|
42
38
|
suggested: suggestName(),
|
|
43
|
-
models
|
|
44
|
-
defaults
|
|
45
|
-
engine: shown?.effective.chain?.[0] ?? DEFAULT_ENGINE,
|
|
46
|
-
engines: shown?.effective.engines ?? {},
|
|
47
|
-
builtin: shape.builtin
|
|
48
|
-
},
|
|
39
|
+
models,
|
|
40
|
+
defaults,
|
|
49
41
|
template,
|
|
50
42
|
connected,
|
|
51
43
|
connectLabel: reach[0]?.installLabel ?? "Connect",
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import "./layout.a4efa8d807fe5416.css.pnext-asset.js";
|
|
2
|
-
import { CoderError } from "../../../../../core/errors.
|
|
2
|
+
import { CoderError } from "../../../../../core/errors.0a735590a5412ea6.js";
|
|
3
3
|
import { redirect } from "../../../../../../../../node_modules/@wular/pnext/src/api/navigation.ts";
|
|
4
4
|
import { AuthPanel } from "../../../comps/frame/auth-panel.5712a8d190b003b4.js";
|
|
5
|
-
import { iActivity, iAgent, iChart, iExternal, iKey, iMonitor, iMoon, iOut, iSliders, iSun, iUpdown, iUser, iUsers } from "../../../comps/ui/icons.
|
|
5
|
+
import { iActivity, iAgent, iChart, iExternal, iKey, iMonitor, iMoon, iOut, iSliders, iSun, iUpdown, iUser, iUsers } from "../../../comps/ui/icons.e36c72f54750663a.js";
|
|
6
6
|
import { Link } from "../../../../../../../../node_modules/@wular/pnext/src/api/link.tsx";
|
|
7
|
-
import { load, orgOf, signedOut } from "../../../api/load.
|
|
8
|
-
import { initial } from "../../../utils/format.
|
|
7
|
+
import { load, orgOf, signedOut } from "../../../api/load.7ae462ef36271be8.js";
|
|
8
|
+
import { initial } from "../../../utils/format.ceeaafa10a0563f3.js";
|
|
9
9
|
import { Icon, Mark } from "../../../comps/ui/icon.0874ca2f58f7db14.js";
|
|
10
|
-
import { ThemeChoices } from "../../../comps/frame/theme-choices.
|
|
11
|
-
import { Drawer } from "../../../comps/frame/drawer.
|
|
12
|
-
import { SignOut } from "./account/sign-out.
|
|
10
|
+
import { ThemeChoices } from "../../../comps/frame/theme-choices.85100ed66d6f9200.js";
|
|
11
|
+
import { Drawer } from "../../../comps/frame/drawer.d3e61538dbc8ec39.js";
|
|
12
|
+
import { SignOut } from "./account/sign-out.ff98573f362d76f3.js";
|
|
13
13
|
import { CurrentLink } from "../../../comps/nav/current-link.727b350a40b9ca13.js";
|
|
14
|
-
import { SideToggle } from "../../../comps/nav/side-toggle.
|
|
14
|
+
import { SideToggle } from "../../../comps/nav/side-toggle.489faf1a259479f7.js";
|
|
15
15
|
import { linkOf } from "../../../comps/nav/to.a2c840c09bd4bf4a.js";
|
|
16
|
-
import { Menu } from "../../../comps/ui/menu.
|
|
17
|
-
import { MenuHead, MenuItem, MenuLabel, MenuLink, MenuNote, MenuRadio } from "../../../comps/ui/menu-items.
|
|
18
|
-
import { Button } from "../../../comps/ui/button.
|
|
19
|
-
import { ActiveCount, TaskToasts } from "../../../comps/frame/task-toasts.
|
|
20
|
-
import { ForeignLink } from "../../../comps/frame/foreign-link.
|
|
16
|
+
import { Menu } from "../../../comps/ui/menu.ee45bace979944b6.js";
|
|
17
|
+
import { MenuHead, MenuItem, MenuLabel, MenuLink, MenuNote, MenuRadio } from "../../../comps/ui/menu-items.1d082ac4dae8f3d4.js";
|
|
18
|
+
import { Button } from "../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
19
|
+
import { ActiveCount, TaskToasts } from "../../../comps/frame/task-toasts.e1a484113e1df660.js";
|
|
20
|
+
import { ForeignLink } from "../../../comps/frame/foreign-link.1f4217895ff1e835.js";
|
|
21
21
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
22
22
|
// Four places; the workspace lives in the account menu.
|
|
23
23
|
const nav = (org) => [
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "./@/app/dash/[org]/agents/[slug]/(tabs)/platforms/page.944b02c09bbf6c22.css.pnext-asset.js";
|
|
3
3
|
import { useEffect, useId, useRef, useState } from "../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
|
|
4
|
-
import { client } from "../../../../utils/client.
|
|
5
|
-
import { toastFailure } from "../../../../utils/action.
|
|
6
|
-
import { ClientError } from "../../../../../../client/index.
|
|
7
|
-
import { Badge } from "../../../../comps/ui/badge.
|
|
4
|
+
import { client } from "../../../../utils/client.189224c16057d7a1.js";
|
|
5
|
+
import { toastFailure } from "../../../../utils/action.968bcab0f5e3665d.js";
|
|
6
|
+
import { ClientError } from "../../../../../../client/index.843431e3538fd9a4.js";
|
|
7
|
+
import { Badge } from "../../../../comps/ui/badge.c0bc352791a95fd6.js";
|
|
8
8
|
import { Field } from "../../../../comps/ui/field.75588c33b72824a7.js";
|
|
9
|
-
import { Button, IconButton } from "../../../../comps/ui/button.
|
|
10
|
-
import { iX } from "../../../../comps/ui/icons.
|
|
11
|
-
import { List, Row } from "../settings/[tab]/list.
|
|
9
|
+
import { Button, IconButton } from "../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
10
|
+
import { iX } from "../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
11
|
+
import { List, Row } from "../settings/[tab]/list.0c87d55cf4ef382c.js";
|
|
12
12
|
import { jsxs as _jsxs, jsx as _jsx, Fragment as _Fragment } from "../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
13
13
|
/** The set-up form for one platform's shared app, as a dialog like an agent's Create app. */
|
|
14
14
|
function SetUpDialog({ row, product, unreachable, onClose }) {
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import "./page.9002a449f872a10e.css.pnext-asset.js";
|
|
2
1
|
import "./@/app/dash/[org]/settings/[tab]/list.83f35dd8a36acdfd.css.pnext-asset.js";
|
|
3
|
-
import { ClientError } from "../../../../../../client/index.
|
|
2
|
+
import { ClientError } from "../../../../../../client/index.843431e3538fd9a4.js";
|
|
4
3
|
import { notFound } from "../../../../../../../../../node_modules/@wular/pnext/src/api/navigation.ts";
|
|
5
|
-
import { load } from "../../../../api/load.
|
|
6
|
-
import { Page, PageHead } from "../../../../comps/frame/page-head.
|
|
7
|
-
import { Button } from "../../../../comps/ui/button.
|
|
8
|
-
import { Card, FoldCard } from "../../../../comps/ui/card.
|
|
9
|
-
import { formatDate, reasonText, zoneOf } from "../../../../utils/format.
|
|
10
|
-
import { Row } from "../settings/[tab]/list.
|
|
11
|
-
import { OperatorApps } from "./operator-apps.
|
|
4
|
+
import { load } from "../../../../api/load.7ae462ef36271be8.js";
|
|
5
|
+
import { Page, PageHead } from "../../../../comps/frame/page-head.85f15db7b648d48c.js";
|
|
6
|
+
import { Button } from "../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
7
|
+
import { Card, FoldCard } from "../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
8
|
+
import { formatDate, reasonText, zoneOf } from "../../../../utils/format.ceeaafa10a0563f3.js";
|
|
9
|
+
import { Row } from "../settings/[tab]/list.0c87d55cf4ef382c.js";
|
|
10
|
+
import { OperatorApps } from "./operator-apps.d350a52d27f69fa6.js";
|
|
12
11
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
13
12
|
const SIGN_IN_ERRORS = {
|
|
14
13
|
stale: "That sign-in was not fresh enough. Sign in again.",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { redirect } from "../../../../../../../../node_modules/@wular/pnext/src/api/navigation.ts";
|
|
2
|
-
import { load, orgOf } from "../../../api/load.
|
|
3
|
-
import { localServer } from "../../../api/types.
|
|
2
|
+
import { load, orgOf } from "../../../api/load.7ae462ef36271be8.js";
|
|
3
|
+
import { localServer } from "../../../api/types.79f9092cdb5a00d1.js";
|
|
4
4
|
/** A local server lands on Tasks, a cloud one on Agents; an account that fails to load is the layout's to handle. */
|
|
5
5
|
export default async function DashboardHome({ request }) {
|
|
6
6
|
if (!request) return null;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "./connections-list.
|
|
2
|
+
import "./connections-list.46786fe36b121a43.css.pnext-asset.js";
|
|
3
3
|
import { useEffect, useRef, useState } from "../../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
|
|
4
|
-
import { client } from "../../../../../utils/client.
|
|
5
|
-
import { toastFailure, useAction } from "../../../../../utils/action.
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { reasonText } from "../../../../../utils/format.6a7d1beaf4d09d9c.js";
|
|
4
|
+
import { client } from "../../../../../utils/client.189224c16057d7a1.js";
|
|
5
|
+
import { toastFailure, useAction } from "../../../../../utils/action.968bcab0f5e3665d.js";
|
|
6
|
+
import { Card, Empty, FoldCard, Loading } from "../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
7
|
+
import { reasonText } from "../../../../../utils/format.ceeaafa10a0563f3.js";
|
|
9
8
|
import { Field } from "../../../../../comps/ui/field.75588c33b72824a7.js";
|
|
10
|
-
import { Badge } from "../../../../../comps/ui/badge.
|
|
11
|
-
import { MenuItem } from "../../../../../comps/ui/menu-items.
|
|
9
|
+
import { Badge } from "../../../../../comps/ui/badge.c0bc352791a95fd6.js";
|
|
10
|
+
import { MenuItem } from "../../../../../comps/ui/menu-items.1d082ac4dae8f3d4.js";
|
|
12
11
|
import { Icon } from "../../../../../comps/ui/icon.0874ca2f58f7db14.js";
|
|
13
|
-
import { iAlert } from "../../../../../comps/ui/icons.
|
|
14
|
-
import { Button, LinkButton } from "../../../../../comps/ui/button.
|
|
12
|
+
import { iAlert } from "../../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
13
|
+
import { Button, LinkButton } from "../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
15
14
|
import { Segmented } from "../../../../../comps/ui/segmented.a08dc08338d080e9.js";
|
|
16
|
-
import { Select } from "../../../../../comps/ui/select.
|
|
17
|
-
import { Search } from "../../../../../comps/ui/toolbar.
|
|
18
|
-
import { BrandIcon } from "../../agents/agent/agent-pills.
|
|
19
|
-
import { Row } from "./list.
|
|
20
|
-
import { useOrg } from "../../../../../comps/nav/org.
|
|
15
|
+
import { Select } from "../../../../../comps/ui/select.2eb33e5bea28d804.js";
|
|
16
|
+
import { Search } from "../../../../../comps/ui/toolbar.24036899654de6df.js";
|
|
17
|
+
import { BrandIcon } from "../../agents/agent/agent-pills.f987c12bcbc5c850.js";
|
|
18
|
+
import { Row } from "./list.0c87d55cf4ef382c.js";
|
|
19
|
+
import { useOrg } from "../../../../../comps/nav/org.572ad93c7707ab27.js";
|
|
21
20
|
import { Notice } from "../../../../../comps/ui/notice.f395f231cbb96445.js";
|
|
21
|
+
import { CONNECTION_SCOPES } from "../model-options.a96c11d11674f598.js";
|
|
22
22
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
23
23
|
/** Splits a typed command into words, keeping quoted paths whole. */
|
|
24
24
|
const shellWords = (text) => (text.match(/"[^"]*"|'[^']*'|(?:\{[^}]+\}|[^\s])+/g) ?? []).map((part) => part.replace(/^(["'])(.*)\1$/, "$2"));
|
|
@@ -34,9 +34,9 @@ const HELP = {
|
|
|
34
34
|
platform: "Sign in with OAuth, and tasks use the account through Coder’s own tools.",
|
|
35
35
|
mcp: "Search known servers, or paste a URL or command."
|
|
36
36
|
};
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
const
|
|
37
|
+
const DEFAULT = ["default", "Default"];
|
|
38
|
+
const READ_ONLY = ["read", "Read-only"];
|
|
39
|
+
const READ_WRITE = ["write", "Read-write"];
|
|
40
40
|
const STATUS = {
|
|
41
41
|
ok: {
|
|
42
42
|
tone: "ok",
|
|
@@ -85,20 +85,24 @@ function Who({ local, admin, value, onChange }) {
|
|
|
85
85
|
group: true,
|
|
86
86
|
children: /* @__PURE__ */ _jsx(Select, {
|
|
87
87
|
label: "Scope",
|
|
88
|
-
options:
|
|
88
|
+
options: CONNECTION_SCOPES,
|
|
89
89
|
value,
|
|
90
90
|
onChange
|
|
91
91
|
})
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
|
-
/** Read
|
|
94
|
+
/** Default (the agent's mode), Read-only or Read-write, as a dropdown like the scope beside it. */
|
|
95
95
|
function Access({ value, onChange, write }) {
|
|
96
96
|
return /* @__PURE__ */ _jsx(Field, {
|
|
97
97
|
label: "Access",
|
|
98
98
|
group: true,
|
|
99
99
|
children: /* @__PURE__ */ _jsx(Select, {
|
|
100
100
|
label: "Access",
|
|
101
|
-
options: write ? [READ_WRITE] : [
|
|
101
|
+
options: write ? [DEFAULT, READ_WRITE] : [
|
|
102
|
+
DEFAULT,
|
|
103
|
+
READ_ONLY,
|
|
104
|
+
READ_WRITE
|
|
105
|
+
],
|
|
102
106
|
value,
|
|
103
107
|
onChange
|
|
104
108
|
})
|
|
@@ -136,7 +140,7 @@ function AddPlatform({ catalog, rows, ...props }) {
|
|
|
136
140
|
const org = useOrg();
|
|
137
141
|
const platforms = catalog.filter((info) => info.personal);
|
|
138
142
|
const [id, setId] = useState(platforms[0]?.id ?? "");
|
|
139
|
-
const [access, setAccess] = useState("
|
|
143
|
+
const [access, setAccess] = useState("default");
|
|
140
144
|
const { busy, add, who } = useAdd(props);
|
|
141
145
|
const info = platforms.find((entry) => entry.id === id);
|
|
142
146
|
const mine = rows.find((row) => row.provider === id && row.mine);
|
|
@@ -148,7 +152,7 @@ function AddPlatform({ catalog, rows, ...props }) {
|
|
|
148
152
|
if (info?.connectable) add({
|
|
149
153
|
name: info.name,
|
|
150
154
|
provider: info.id,
|
|
151
|
-
access
|
|
155
|
+
...access === "default" ? {} : { access }
|
|
152
156
|
});
|
|
153
157
|
},
|
|
154
158
|
children: [
|
|
@@ -224,14 +228,14 @@ function AddMcp(props) {
|
|
|
224
228
|
const [target, setTarget] = useState("");
|
|
225
229
|
// A remote server's sign-in is found on Add; a key is asked for only when it needs one.
|
|
226
230
|
const [keyed, setKeyed] = useState(false);
|
|
227
|
-
const [access, setAccess] = useState("
|
|
231
|
+
const [access, setAccess] = useState("default");
|
|
228
232
|
const { busy, add, who } = useAdd(props);
|
|
229
233
|
const timer = useRef();
|
|
230
234
|
const form = useRef(null);
|
|
231
235
|
const url = !target.trim() || isUrl(target);
|
|
232
236
|
const asksKey = !url || keyed || secretsOf(picked).length > 0;
|
|
233
|
-
// A stdio server refuses Read
|
|
234
|
-
const level = url ? access : "
|
|
237
|
+
// A stdio server refuses Read-only without a tool list.
|
|
238
|
+
const level = url || access !== "read" ? access : "default";
|
|
235
239
|
const secrets = secretsOf(picked);
|
|
236
240
|
const secret = secrets.find((input) => input.required) ?? secrets[0];
|
|
237
241
|
const rest = secrets.filter((input) => input !== secret);
|
|
@@ -247,11 +251,11 @@ function AddMcp(props) {
|
|
|
247
251
|
void client.mcp.search("").then((items) => items.length && setFound((now) => now ?? {
|
|
248
252
|
q,
|
|
249
253
|
items
|
|
250
|
-
}), () =>
|
|
254
|
+
}), (reason) => console.error("coder dashboard: known servers", reason));
|
|
251
255
|
return;
|
|
252
256
|
}
|
|
253
257
|
setFound({ q });
|
|
254
|
-
void client.mcp.search(q.trim()).then(
|
|
258
|
+
void client.mcp.search(q.trim()).then((items) => setFound((now) => now?.q === q ? {
|
|
255
259
|
q,
|
|
256
260
|
items
|
|
257
261
|
} : now)).catch((reason) => setFound((now) => now?.q === q ? {
|
|
@@ -303,7 +307,7 @@ function AddMcp(props) {
|
|
|
303
307
|
add({
|
|
304
308
|
name: name.trim(),
|
|
305
309
|
provider: "mcp",
|
|
306
|
-
access: level,
|
|
310
|
+
...level === "default" ? {} : { access: level },
|
|
307
311
|
endpoint,
|
|
308
312
|
...key ? {
|
|
309
313
|
auth: "key",
|
|
@@ -361,7 +365,8 @@ function AddMcp(props) {
|
|
|
361
365
|
children: /* @__PURE__ */ _jsx(Loading, {
|
|
362
366
|
label: "Searching known servers",
|
|
363
367
|
inline: true,
|
|
364
|
-
dots: true
|
|
368
|
+
dots: true,
|
|
369
|
+
late: true
|
|
365
370
|
})
|
|
366
371
|
}) : found.items.length ? found.items.map((server) => /* @__PURE__ */ _jsx(MenuItem, {
|
|
367
372
|
onClick: () => pick(server),
|
|
@@ -597,7 +602,7 @@ export function ConnectionsList({ first, catalog, local, admin, operator }) {
|
|
|
597
602
|
class: "conn-badges",
|
|
598
603
|
children: [
|
|
599
604
|
/* @__PURE__ */ _jsx(Badge, { children: row.owner ? row.mine ? "yours" : "member" : "workspace" }),
|
|
600
|
-
|
|
605
|
+
/* @__PURE__ */ _jsx(Badge, { children: row.access === "read" ? "Read-only" : row.access ? "Read-write" : "Default" }),
|
|
601
606
|
/* @__PURE__ */ _jsx(Badge, {
|
|
602
607
|
tone: STATUS[row.status].tone,
|
|
603
608
|
children: STATUS[row.status].label
|