@wular/coder 0.4.10 → 0.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/actions-BT7_eKXm.js +10 -0
- package/dist/{adapter-BeezVK-B.js → adapter-BT8ECcRG.js} +1 -1
- package/dist/{adapter-ChaISKgI.js → adapter-CU9H4g6c.js} +1 -1
- package/dist/{adapter-MD6ahqPR.js → adapter-CVd5klMH.js} +1 -1
- package/dist/{agent-B8ItyuHN.js → agent-BA6xr8QY.js} +2 -2
- package/dist/apps-D-v5sQJk.js +367 -0
- package/dist/args-CbO_Ck9Z.js +11 -0
- package/dist/async-XNO3nqum.js +3 -0
- package/dist/auth-DuXnSNf9.js +1 -0
- package/dist/base64url-CsVsW4Id.js +1 -0
- package/dist/chat-CgQdDRhs.js +13 -0
- package/dist/cli.js +19 -1
- package/dist/{client-DzwzCsue.js → client-C4QCT6cG.js} +2 -2
- package/dist/cmd-DX5ByXo3.js +119 -0
- package/dist/connection-DNxi2btM.js +1 -0
- package/dist/context-65bOofts.js +7 -0
- package/dist/dash/standalone/node_modules/contextjsx/dist/index.mjs +1 -0
- package/dist/dash/standalone/node_modules/contextjsx/dist/jsx-runtime.mjs +1 -0
- package/dist/dash/standalone/node_modules/contextjsx/dist/src-BJ0QFeB8.mjs +2 -0
- package/dist/dash/standalone/node_modules/contextjsx/package.json +70 -0
- package/dist/dash/standalone/server/build-index.json +1 -1
- package/dist/dash/standalone/server/manifest.json +1187 -1187
- package/dist/dash/standalone/server/modules-server-server-react-server/src/agent/context/turn.dac8eb211c500271.js +141 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/client/{index.843431e3538fd9a4.js → index.0de14cb4e30bd70d.js} +1 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/api/{load.7ae462ef36271be8.js → load.be791a5eaf328738.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/connect/{page.806027fde54ab723.js → page.0fbfdba5254f7ae5.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/create/[id]/{page.bd04d2d3eba00676.js → page.70913bd4075da914.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{notify.857748e260c691e3.js → notify.61aab176baeefebd.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{page.25153459858542f9.js → page.815371ed0d5dd4fa.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{sign-out.ff98573f362d76f3.js → sign-out.1d6af804f9ec043d.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{agents-grid.8efd14bc39281da9.js → agents-grid.f43bcc1148ce3650.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{connect-apps.d1e67db29b12dc0a.js → connect-apps.f3af8cc8540719d7.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{page.0f7d5e3e42462870.js → page.c6efd5432c1a4a75.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{layout.05210ffa6038791f.js → layout.a795379254982121.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{page.19fe116c0f802cb1.js → page.a2cb6d1f1714259a.js} +8 -8
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{page.f87fd8eb66f73af0.js → page.996172c951739b35.js} +12 -16
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{platform-actions.b6c3d3184e167d0b.js → platform-actions.8e7ca54dd1821e98.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{agent-settings-form.28220621573033d7.js → agent-settings-form.aa9e157d141481d7.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{page.2f7467868f599ebc.js → page.44d886e60ae04303.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/tasks/{loading.ec94096015346f2c.js → loading.521c9e7b8d77f557.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/tasks/{page.a92a36a8ce21088c.js → page.828cfb8112404792.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/usage/{page.8935a5fe5c08bcf1.js → page.45e18b6dc3019af4.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{versions-list.5b97ab6d40e2e639.js → versions-list.c8d76988c734dda2.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/edit/{loading.bedcc1aba372fbce.js → loading.b1367e864b4fb406.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/edit/{page.14760e9eedd6ff8e.js → page.dd11f2618e08becd.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{agent-toggle.a6ee8bd882178e29.js → agent-toggle.1579dc8acbaacf92.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{hero.8be1dd4ea3ed6e17.js → hero.ad5cc342db794e5d.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{connect-repositories.59d89152fe845af2.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.77f68d431408745b.js → editor.776856fe1ed1a642.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{import-picker.a7b01817a821819a.js → import-picker.eafa5b41a2ed571f.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/new/{page.c4570fd80bdda68c.js → page.7d84ef2b178b34d2.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{layout.19006c2d7dc8d114.js → layout.393cf7429eea189e.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/{operator-apps.d350a52d27f69fa6.js → operator-apps.a244f3199e7cf09c.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/{page.4a652f5080c2b863.js → page.980adfb7c5714752.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{page.d39f7a1719f50c6d.js → page.24a1987405ed7b17.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{connections-list.ff7e1dadcd4df17f.js → connections-list.21ec9dc73ce68656.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{credentials-list.87a1f8ab71eb4bed.js → credentials-list.683476f62a9ecde7.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{credentials.a535c9c6dd8b4cdf.js → credentials.b43dd3d97c536c2a.js} +8 -8
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{engines-list.29fffd07c1c3b771.js → engines-list.9e116751bd34e2cc.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{list.0c87d55cf4ef382c.js → list.083f5c665df04b1b.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{models-list.6fea9faddb8300bb.js → models-list.537f63f8e5dd085d.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{page.295245052b93af90.js → page.dfed4ae6ffc74434.js} +12 -12
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{runners-list.a4a38e54d834a1ec.js → runners-list.3afa989490bbe77c.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{secrets-list.50f487766f87383c.js → secrets-list.0d175ee815b22cd7.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{layout.c42e0ab39cb2c0e0.js → layout.3e8289f888fa444c.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{page.6997506eaa1a4824.js → page.06feaa5fbb06f1e6.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{create-link.9458b49dc99bbaaa.js → create-link.ff95e4b6977d0474.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{page.77e402bb6e8e7f7e.js → page.f06fda0df59beeb5.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{activity.fcda6f18c8207c99.js → activity.3c79cf14feff12bf.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{loading.56520888d5270b88.js → loading.47cbb34ea8d2e33f.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{page.d0f039221a27b8ef.js → page.abed2a8424ef3da0.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-actions.f5f2016d2dc7f422.js → task-actions.587da79d68ab8d14.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-view.a292baa2410cdf64.js → task-view.dc294bb94b7437e1.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{composer.2d4122eb33addbdd.js → composer.5072aacdce127689.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{task.a0c68180db5fb4c1.js → task.0a1b5878dccd3b37.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-list.021bdc2f3d90af2d.js → tasks-list.1162926f7498c732.js} +10 -10
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-section.13f64b0836ae406b.js → tasks-section.1d687c986db53a73.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{page.b78f0df100410db0.js → page.d5d8cb5033823c9c.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{page.93c2306069c03c68.js → page.fb21ebe90d49dac1.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{stream.95a2468086aceb84.js → stream.e2915852cf82c86b.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{task-toasts.e1a484113e1df660.js → task-toasts.0ed8ccaae81b9d53.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{action.968bcab0f5e3665d.js → action.b9a5c37272250e82.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{client.189224c16057d7a1.js → client.a3928fa2dcd27b75.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{action-410bdc82c416bc01.js → action-71685b2d5ad9f359.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{agent-pills-0c0b8d40b9bfc78f.js → agent-pills-15da36c2cb81991b.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/agent-settings-form-6e6a87d6e673daa8.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{agent-toggle-5ede0c449e88cb9d.js → agent-toggle-ca98586e3b4ce9ae.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{agents-grid-ffb18df48e951ecb.js → agents-grid-29c399e46b4e9e2b.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{back-602db2cfdccf2e7f.js → back-fa9d6e37f9828093.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{combo-df2685e277db02c0.js → combo-86f3e11d1f6f6cee.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{composer-e1cefed81ea89b7e.js → composer-85e0ec7163ae18b7.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/composer-910bb87127972f62.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{confirm-d163e6865d66dfab.js → confirm-c29a1db0130638d2.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{connect-apps-ce3c9d049ebad459.js → connect-apps-b73490e04ae6398d.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{connect-repositories-0aa9abc77b9c3d48.js → connect-repositories-0de82daaf654b1d3.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{connections-list-6eddeb8583ded10f.js → connections-list-c50f58b4b28d10bb.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{copy-0cc00656953531be.js → copy-445c11202f136275.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/create-link-6d64a2d5f9ce6de0.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{credentials-list-1b6a81e9b4934dc8.js → credentials-list-bee95799b2319b3b.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{custom-range-cae5567874db83ca.js → custom-range-a0630599f907b30e.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{editor-d55d247a1d7de5f0.js → editor-b9951819f21b2e43.js} +2 -2
- package/dist/dash/standalone/static/assets/chunks/{engines-list-288559344de4d4b9.js → engines-list-2720c3e8fa12b2f7.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{field-693bb870ad0bdee8.js → field-b82a0f895266791c.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{instructions-a3d7688e421f2a08.js → instructions-affaaeff366b1725.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/instructions-fd7402ac5aa8b50e.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{list-2a59237cb7cb0a7c.js → list-d918f79562d497eb.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{models-list-5ed9ee02f9b66d98.js → models-list-12bc7aceaa52f5b0.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{notice-7d84ffab32ff24ca.js → notice-57db7a1f05b7308c.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{outcome-dialog-3cffe3507ea92af2.js → outcome-dialog-5cf575a5e6921a5d.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/outcome-dialog-b219595be320108a.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/platform-actions-1d27d2ba7eee9ff1.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{platform-actions-4dc31567d00c4cb2.js → platform-actions-dba96dcb0f6513db.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{runners-list-984246a8f9450da1.js → runners-list-36f8c5ecfcf8e9ae.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{secrets-list-88f8b30abbab52f0.js → secrets-list-d7dbafd24dd18481.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{segmented-79c9c69b702e0b90.js → segmented-8f809ebe712e92a7.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/shared-init-cc13a835f3508618.js +2 -0
- package/dist/dash/standalone/static/assets/chunks/shared-init-f475017dd5811e33.js +5 -0
- package/dist/dash/standalone/static/assets/chunks/side-toggle-0aa237eba3dfe9c1.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{tail-99e29a541a072002.js → tail-b1c46587301ef397.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/task-681061023bdf0a49.js +5 -0
- package/dist/dash/standalone/static/assets/chunks/{task-actions-1cdca1e8d3eee490.js → task-actions-c9e46e81604e85c5.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{task-view-fdcde0e31f63b737.js → task-view-134186a544917ceb.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{tasks-list-3ad1c93deff4fb2e.js → tasks-list-352a3222d878de0f.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{versions-list-60ac4d8f715bf5f7.js → versions-list-21cb854e6a7108a7.js} +1 -1
- package/dist/dash/standalone/static/assets/pnext-client-05df74b071ddb0b3.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-2c19cca257f78ae6.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-2db05dfa62642a65.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-36b0d6085a073880.js +1 -0
- package/dist/dash/standalone/static/assets/{pnext-client-0b3b70f1aefb9947.js → pnext-client-576c06599e241231.js} +1 -1
- package/dist/dash/standalone/static/assets/pnext-client-6aa0f19a30d58d63.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-6b30b71f452f2f07.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-6ccb4d4fff812db3.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-74eb465defba421e.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-8c692d12b2fd90d6.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-92e17d39063a9ced.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-93246aea268c2682.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-9954dcbc0c579e0d.js +1 -0
- package/dist/dash/standalone/static/assets/{pnext-client-8f96a4b8a00ff460.js → pnext-client-c0dfa1cdde9a9855.js} +1 -1
- package/dist/dash/standalone/static/assets/pnext-client-c28d38d4aafd4af6.js +1 -0
- package/dist/dash/standalone/static/assets/{pnext-client-ab36b406301fd2a4.js → pnext-client-c2c30dcb6dc31d60.js} +1 -1
- package/dist/dash/standalone/static/assets/pnext-client-dbf741073e11eac0.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-e29194a27280333f.js +1 -0
- package/dist/dash/standalone/static/assets/{pnext-client-0d90849808b6eb05.js → pnext-client-f8a7e692b27caad9.js} +1 -1
- package/dist/dash/standalone/static/assets/pnext-client-fc5b8cfcba2a9f63.js +1 -0
- package/dist/discover-CPZdprlQ.js +1 -0
- package/dist/docs-x-l7gjFE.js +2 -0
- package/dist/drive-Y-ZlgiUW.js +1 -0
- package/dist/env-B9JG6gwo.js +1 -0
- package/dist/errors-XBA-Ls4n.js +10 -0
- package/dist/exec-iFssTO5V.js +3 -0
- package/dist/executor-Dt2FFT-y.js +11 -0
- package/dist/flow/builtin/review/index.d.ts +2 -0
- package/dist/flow/builtin/review/index.js +16 -0
- package/dist/flow/index.d.ts +1 -1
- package/dist/flow/index.js +1 -1
- package/dist/http-BZfjbiov.js +1 -0
- package/dist/{types-8zO5Tc9c.d.ts → index-BdkdNI1v.d.ts} +710 -137
- package/dist/{integrations-DPxWtNnS.js → integrations-DyInAa5g.js} +2 -2
- package/dist/lib/broker.js +2 -2
- package/dist/load-zhcrwSRF.js +2 -0
- package/dist/local-D55UkW93.js +5 -0
- package/dist/maintenance-BfxcatXH.js +1 -0
- package/dist/{match-BfjPZ7gJ.js → match-Bq4sDuCy.js} +1 -1
- package/dist/mcp-Bta09QCU.js +13 -0
- package/dist/mcp-CUITALl1.js +1 -0
- package/dist/models-C1O2DrXx.js +1 -0
- package/dist/output-D95NoAA9.js +16 -0
- package/dist/prompt-onpyIyXK.js +8 -0
- package/dist/prompts-B8pKhMcu.js +4 -0
- package/dist/refresh-D-0K9fo3.js +1 -0
- package/dist/{remote-f-uny3XZ.js → remote-CDm0YUU3.js} +1 -1
- package/dist/runner-CTFTuaz_.js +1 -0
- package/dist/runner.json +1 -1
- package/dist/runner.tgz +0 -0
- package/dist/{runners-vsoGeyuc.js → runners-CYTicTb7.js} +3 -3
- package/dist/schema.d.ts +1 -1
- package/dist/schema.js +8 -1
- package/dist/sdk.d.ts +12552 -4
- package/dist/sdk.js +1 -1
- package/dist/serve-Bzs_lEg-.js +1 -0
- package/dist/serve-CWtLyyTz.js +12 -0
- package/dist/serve-DE6A-rBk.js +4 -0
- package/dist/{slack-Kpj-G9FE.js → slack-Bo5l13Rs.js} +4 -4
- package/dist/task-BU1JEK9X.js +7 -0
- package/dist/task-CPzBITsp.js +1 -0
- package/dist/tools-BMaKWTa6.js +1 -0
- package/dist/tools-CM4UCsId.js +1 -0
- package/dist/turn-DMvPfhb5.js +3 -0
- package/dist/{views-LmbLfqpu.js → views-DEdKqLm_.js} +1 -1
- package/dist/{wire-DshFMRsS.js → wire-JMNPv8f6.js} +1 -1
- package/dist/worker-BuP_Lem1.js +9 -0
- package/dist/worker-C1tuzq5n.js +1 -0
- package/docs/agents/index.md +19 -21
- package/docs/cli/agent.md +137 -0
- package/docs/cli/auth.md +48 -0
- package/docs/cli/connection.md +89 -0
- package/docs/cli/credentials.md +58 -0
- package/docs/cli/flow.md +158 -0
- package/docs/cli/index.md +139 -0
- package/docs/cli/model.md +116 -0
- package/docs/cli/runner.md +92 -0
- package/docs/cli/server.md +89 -0
- package/docs/cli/task.md +271 -0
- package/docs/flows.md +0 -6
- package/docs/mcp.md +8 -8
- package/docs/review.md +4 -0
- package/package.json +3 -1
- package/plugins/agents/skills/coder/SKILL.md +16 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/.mcp.json +5 -0
- package/plugins/claude/skills/dispatch/SKILL.md +16 -1
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/skills/coder/SKILL.md +16 -1
- package/dist/actions-C3Mgpl9J.js +0 -2
- package/dist/add-B26QSwPY.js +0 -6
- package/dist/add-BbXuvqj1.js +0 -1
- package/dist/add-Bk8drM-8.js +0 -1
- package/dist/add-CD_L-WW8.js +0 -2
- package/dist/agent-DHpMqHVi.js +0 -1
- package/dist/alias-CScCzXhS.js +0 -2
- package/dist/app-wHQJHu6N.js +0 -1
- package/dist/approvals-BIGQBbCM.js +0 -2
- package/dist/approve-BnZ3v-3c.js +0 -1
- package/dist/approve-DFSy7Z72.js +0 -2
- package/dist/apps-6BgpUsFh.js +0 -372
- package/dist/archive-CU0nhUeJ.js +0 -4
- package/dist/archive-CY2lvp_c.js +0 -3
- package/dist/args-BekfmD9t.js +0 -1
- package/dist/ask-CLDgHB_Y.js +0 -4
- package/dist/auth-C3KrIUf1.js +0 -1
- package/dist/auth-CGeSfgNb.js +0 -1
- package/dist/chat-AbW-LOHo.js +0 -13
- package/dist/chat-bridge-WK-pKNfw.js +0 -2
- package/dist/cli-Fp28pM4Y.js +0 -9
- package/dist/config-DoVedq6T.js +0 -3
- package/dist/connection-5V8doFL7.js +0 -1
- package/dist/connection-Cb0TK201.js +0 -1
- package/dist/create-CrjRdQip.js +0 -1
- package/dist/credentials-DoL9w8D1.js +0 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/core/event-prompt.87f064ca0141e796.js +0 -30
- package/dist/dash/standalone/static/assets/chunks/agent-settings-form-5a2601316e2ab283.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/composer-08e49d49c0c3ee94.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/create-link-bc365f8dfe88e6b3.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/instructions-3f18e035338b0d0b.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/outcome-dialog-f6fb8c69efa66508.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/platform-actions-ecd7200f7749c258.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/shared-init-962398d15ee67c92.js +0 -5
- package/dist/dash/standalone/static/assets/chunks/shared-init-ae95a674d381c095.js +0 -2
- package/dist/dash/standalone/static/assets/chunks/side-toggle-7ada95cc7601eb49.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/task-95daa40d39de664f.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-12faa1754e3ef3be.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-23384b239b81a761.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-23e200dd9b7a79c0.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-2562299eef46e62c.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-3a4ada64991e6a40.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-71e7ecdfcf86be84.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-726c29bbb81054c0.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-825e9f5b63950ef4.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-894cff70289fb7a3.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-9bc9b14c08020649.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-b8c585cae8da7778.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-bab4305b41abb15a.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-bd80926822b3993d.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-cd4c7b4318fa1846.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-db55344d00b7888f.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-eddcd5df2b28120f.js +0 -1
- package/dist/default-tTTSBdXq.js +0 -1
- package/dist/delete-DM2sA12f.js +0 -2
- package/dist/delete-DR37NTr1.js +0 -4
- package/dist/disable-Dz_zLPX5.js +0 -1
- package/dist/discover-CqabH4Fx.js +0 -3
- package/dist/dispatch-BJZqI7sj.js +0 -8
- package/dist/docs-BV9SC67g.js +0 -2
- package/dist/docs-b2mAKC8Z.js +0 -2
- package/dist/drive-CU2HOCfR.js +0 -1
- package/dist/enable-Cfeki-ne.js +0 -1
- package/dist/env-DSddo-fz.js +0 -1
- package/dist/exec-DcWxZar6.js +0 -3
- package/dist/executor-LkokKTTd.js +0 -11
- package/dist/flow/builtin/review.d.ts +0 -2
- package/dist/flow/builtin/review.js +0 -12
- package/dist/flow-BQcdyrVK.js +0 -1
- package/dist/history-D_A5odLI.js +0 -8
- package/dist/http-CXaW1e7x.js +0 -1
- package/dist/init-DU_S43NG.js +0 -1
- package/dist/integrations-Dwvxl7i2.js +0 -1
- package/dist/list-7yd9K7d8.js +0 -1
- package/dist/list-BJ0j5eP9.js +0 -4
- package/dist/list-Boaz5b5n.js +0 -2
- package/dist/list-CIS-GYO1.js +0 -1
- package/dist/list-CR0_Emod2.js +0 -4
- package/dist/list-CnHZriYt.js +0 -3
- package/dist/list-_EH6c041.js +0 -1
- package/dist/list-i2r3Nlyz.js +0 -1
- package/dist/load-C-GZnuok.js +0 -2
- package/dist/local-Fs-dx_dP.js +0 -5
- package/dist/login-CzD2EMD_.js +0 -1
- package/dist/login-DISw6--d.js +0 -1
- package/dist/logout-DMnc5yri.js +0 -1
- package/dist/maintenance-BVDuG9Hg.js +0 -1
- package/dist/mcp-B-hy3eM-.js +0 -11
- package/dist/mcp-CbN-QcpF.js +0 -1
- package/dist/mcp-server-DQqSgD3P.js +0 -1
- package/dist/model-Ckyoyji3.js +0 -1
- package/dist/models-VaiIYlOW.js +0 -1
- package/dist/output-BKeyLbvt.js +0 -5
- package/dist/prompt-DQyPCLUo.js +0 -8
- package/dist/prompts-CEf7z4i_.js +0 -77
- package/dist/push-BNomfHJ3.js +0 -1
- package/dist/reconnect-Bd_jna1M.js +0 -1
- package/dist/refresh-D-broYEx.js +0 -1
- package/dist/remove-CCYHc1FN.js +0 -1
- package/dist/remove-DMTz_c25.js +0 -1
- package/dist/remove-DdcQ-6by.js +0 -1
- package/dist/remove-VtavIuGm.js +0 -1
- package/dist/rename-CKMyelWN.js +0 -1
- package/dist/result-CH3_tVXO.js +0 -5
- package/dist/result-DvOqIwhh.js +0 -18
- package/dist/resume-6j3RUpqa.js +0 -3
- package/dist/review-B4ETH5ki.js +0 -7
- package/dist/review-DDYD3Yvq.d.ts +0 -566
- package/dist/rotate-key-Byk_wI73.js +0 -1
- package/dist/run-DKJW7qwy.js +0 -2
- package/dist/run-DkYzyUnp.js +0 -5
- package/dist/run-LCE1XiyU.js +0 -2
- package/dist/runner-CxtzTgVq.js +0 -1
- package/dist/runner-Dnu1Vx_i.js +0 -1
- package/dist/schema-Brm7WIKd.js +0 -8
- package/dist/sdk-CKTCrtGe.d.ts +0 -12655
- package/dist/serve-C1zag2nr.js +0 -1
- package/dist/serve-C6tsUF0D.js +0 -2
- package/dist/serve-CCxSxXgv.js +0 -1
- package/dist/serve-D8J-sEqm.js +0 -12
- package/dist/server-B4SRYM2L.js +0 -1
- package/dist/setup-host-EaP4GPKB.js +0 -6
- package/dist/show-CjUG_aIp.js +0 -1
- package/dist/show-xdsqD6de.js +0 -1
- package/dist/status-BxV_ITeF.js +0 -1
- package/dist/steer-DZ3nkHfC.js +0 -4
- package/dist/stop-DGTUYxd6.js +0 -3
- package/dist/stop-qDw_DjOB.js +0 -1
- package/dist/task-C506SkPR.js +0 -1
- package/dist/task-CQmx_2SI.js +0 -7
- package/dist/task-Ls_-kcSx.js +0 -1
- package/dist/test-DF_qVK6S.js +0 -1
- package/dist/tools-S3eRQOVm.js +0 -1
- package/dist/unalias-CklkAN1B.js +0 -1
- package/dist/update-CZaFjwOJ.js +0 -2
- package/dist/upgrade-CUhFmPhl.js +0 -2
- package/dist/usage-DTAlb2rC.js +0 -1
- package/dist/watch-CJruitc6.js +0 -5
- package/dist/watch-p0j69fVA.js +0 -9
- package/dist/worker-BHXjDzRp.js +0 -1
- package/dist/worker-nyRZuq4g.js +0 -2
- package/dist/workflow-CJJUiSfv.js +0 -1
- package/docs/agents/prompt.md +0 -220
- package/docs/cli.md +0 -155
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/** @jsxImportSource contextjsx */
|
|
2
|
+
/** An agent turn's messages: events, requests, history and rollover. */
|
|
3
|
+
import { Data, render } from "../../../../../node_modules/contextjsx/dist/index.mjs";
|
|
4
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../node_modules/contextjsx/dist/jsx-runtime.mjs";
|
|
5
|
+
export const unxml = (text) => text.replace(/&(amp|lt|gt);/g, (_, name) => ({
|
|
6
|
+
amp: "&",
|
|
7
|
+
lt: "<",
|
|
8
|
+
gt: ">"
|
|
9
|
+
})[name]);
|
|
10
|
+
/** Read event JSON, optionally alongside a turn's history or other text. */
|
|
11
|
+
export function eventJsons(prompt = "", embedded = false) {
|
|
12
|
+
const event = /<event>\n([^]*?)\n<\/event>/g;
|
|
13
|
+
if (!embedded && (!prompt.trimStart().startsWith("<event>") || prompt.replace(event, "").trim())) return;
|
|
14
|
+
const events = [];
|
|
15
|
+
for (const [, body] of prompt.matchAll(event)) {
|
|
16
|
+
try {
|
|
17
|
+
const json = JSON.parse(unxml(body));
|
|
18
|
+
if (!json || typeof json !== "object" || Array.isArray(json)) {
|
|
19
|
+
if (!embedded) return;
|
|
20
|
+
continue;
|
|
21
|
+
}
|
|
22
|
+
events.push(json);
|
|
23
|
+
} catch (error) {
|
|
24
|
+
console.error("coder: unreadable event prompt", error);
|
|
25
|
+
if (!embedded) return;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
return events.length ? events : undefined;
|
|
29
|
+
}
|
|
30
|
+
/** Any event in a turn or its live steers can require a reply. */
|
|
31
|
+
export function replyRequired(prompt, fallback, steers = []) {
|
|
32
|
+
const asks = [prompt ?? "", ...steers].flatMap((text) => (eventJsons(text, true) ?? []).flatMap((json) => typeof json.mustReply === "boolean" ? [json.mustReply] : []));
|
|
33
|
+
return asks.length ? asks.includes(true) : fallback;
|
|
34
|
+
}
|
|
35
|
+
/** `since` holds at most this many messages; past that the agent is told how many more there are. */
|
|
36
|
+
export const SINCE_LIMIT = 50;
|
|
37
|
+
/** One message as the event JSON carries it: id, position, text with the address removed, author, time. */
|
|
38
|
+
function messageJson(event) {
|
|
39
|
+
const message = event.chat?.message;
|
|
40
|
+
if (!message) return {
|
|
41
|
+
text: event.text,
|
|
42
|
+
author: {
|
|
43
|
+
id: event.actor.id,
|
|
44
|
+
...event.actor.login ? { handle: event.actor.login } : {}
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
const { author, metadata } = message;
|
|
48
|
+
return {
|
|
49
|
+
id: message.id,
|
|
50
|
+
...event.conversation?.index !== undefined ? { index: event.conversation.index } : {},
|
|
51
|
+
text: event.text,
|
|
52
|
+
mention: message.isMention === true,
|
|
53
|
+
author: {
|
|
54
|
+
id: author.userId,
|
|
55
|
+
handle: author.userName,
|
|
56
|
+
name: author.fullName,
|
|
57
|
+
bot: author.isBot === true
|
|
58
|
+
},
|
|
59
|
+
sentAt: metadata.dateSent,
|
|
60
|
+
...metadata.edited ? { edited: true } : {},
|
|
61
|
+
...message.attachments.length ? { attachments: message.attachments.map(({ type, url, name }) => ({
|
|
62
|
+
type,
|
|
63
|
+
...url ? { url } : {},
|
|
64
|
+
...name ? { name } : {}
|
|
65
|
+
})) } : {},
|
|
66
|
+
...message.links?.length ? { links: message.links.map(({ url, title }) => ({
|
|
67
|
+
url,
|
|
68
|
+
...title ? { title } : {}
|
|
69
|
+
})) } : {}
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
/** The JSON of one turn: the newest event names the conversation, every event in the turn is a message. */
|
|
73
|
+
export function eventJson(events, user) {
|
|
74
|
+
const event = events.at(-1);
|
|
75
|
+
const thread = event.chat?.thread;
|
|
76
|
+
const mustReply = events.some((each) => each.mustReply);
|
|
77
|
+
// Every event's unseen messages once, without the turn's own.
|
|
78
|
+
const seen = new Set(events.flatMap((each) => each.chat?.message?.id ?? []));
|
|
79
|
+
const unseen = events.flatMap((each) => each.conversation?.since ?? []).filter(({ id, ...message }) => {
|
|
80
|
+
const key = id ?? JSON.stringify(message);
|
|
81
|
+
return !seen.has(key) && Boolean(seen.add(key));
|
|
82
|
+
});
|
|
83
|
+
const since = unseen.slice(0, SINCE_LIMIT).map(({ id: _id, ...message }) => message);
|
|
84
|
+
const more = events.reduce((total, each) => total + (each.conversation?.more ?? 0), 0) + unseen.length - since.length;
|
|
85
|
+
return {
|
|
86
|
+
handle: event.integration,
|
|
87
|
+
event: event.type,
|
|
88
|
+
...event.mustReply === undefined && events.length === 1 ? {} : { mustReply },
|
|
89
|
+
...event.repo ? { repository: `${event.repo.owner}/${event.repo.name}` } : {},
|
|
90
|
+
...thread ? { conversation: {
|
|
91
|
+
id: thread.id,
|
|
92
|
+
dm: thread.isDM,
|
|
93
|
+
...thread.channelVisibility ? { visibility: thread.channelVisibility } : {}
|
|
94
|
+
} } : {},
|
|
95
|
+
...events.length === 1 ? { message: messageJson(event) } : { messages: events.map(messageJson) },
|
|
96
|
+
...event.promptContext ? { context: event.promptContext } : {},
|
|
97
|
+
...since.length ? { since } : {},
|
|
98
|
+
...more ? { more } : {},
|
|
99
|
+
...user ? { requester: user } : {}
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
// Turn messages (agent/exec, server/tasks).
|
|
103
|
+
/** The user prompt of a platform turn: one `<event>` holding the turn's JSON. */
|
|
104
|
+
export function eventPrompt(events, user) {
|
|
105
|
+
return render(/* @__PURE__ */ _jsx("event", { children: /* @__PURE__ */ _jsx(Data, { children: JSON.stringify(eventJson(events, user)) }) }));
|
|
106
|
+
}
|
|
107
|
+
/** Reactions gathered while a task runs, as one turn: emoji, who, and the message they are on. */
|
|
108
|
+
export function reactionsPrompt(event, reactions) {
|
|
109
|
+
const { message: _message, ...base } = eventJson([event]);
|
|
110
|
+
const json = {
|
|
111
|
+
...base,
|
|
112
|
+
event: "reactions",
|
|
113
|
+
mustReply: false,
|
|
114
|
+
reactions
|
|
115
|
+
};
|
|
116
|
+
return render(/* @__PURE__ */ _jsx("event", { children: /* @__PURE__ */ _jsx(Data, { children: JSON.stringify(json) }) }));
|
|
117
|
+
}
|
|
118
|
+
/** A dashboard or CLI prompt; its repository leads it, and a selected pull request is named for the tools. */
|
|
119
|
+
export function requestPrompt(prompt, repo, pr) {
|
|
120
|
+
if (!repo) return prompt;
|
|
121
|
+
const pull = pr === undefined ? "" : `\n**Pull request:** ${repo.owner}/${repo.name}#${pr}`;
|
|
122
|
+
return `**Repo:** ${repo.owner}/${repo.name}${pull}\n\n${prompt}`;
|
|
123
|
+
}
|
|
124
|
+
/** Earlier messages pasted before a turn when the engine conversation holding them is gone. */
|
|
125
|
+
export function historyPrompt(messages, prompt) {
|
|
126
|
+
if (!messages.length) return prompt;
|
|
127
|
+
const earlier = render(/* @__PURE__ */ _jsx("history", { children: /* @__PURE__ */ _jsx(Data, { children: messages.map((m) => `${m.user}: ${m.text}`).join("\n") }) }));
|
|
128
|
+
return `${earlier}\n\n${prompt}`;
|
|
129
|
+
}
|
|
130
|
+
// Conversation rollover (core/task/worker).
|
|
131
|
+
/** The private turn that asks the old conversation for its summary. */
|
|
132
|
+
export const SUMMARY_REQUEST = render(/* @__PURE__ */ _jsx("summary-request", { children: [
|
|
133
|
+
"Summarize this conversation so a new engine conversation can continue it. Return only the summary: no tools, no reply to the platform.",
|
|
134
|
+
"Use these headings in order, each even if empty: Goal; Decisions; Preferences and constraints; Files and PRs touched; Open items.",
|
|
135
|
+
"Name who asked for or decided each thing. Keep durable facts, including any earlier summary. Leave out details a speaker asked to forget, without quoting them."
|
|
136
|
+
].filter(Boolean).join("\n") }));
|
|
137
|
+
/** The new conversation's first turn: the summary and the recent turns word for word, then the turn itself. */
|
|
138
|
+
export function rolloverPrompt(rollover, prompt) {
|
|
139
|
+
const earlier = render(/* @__PURE__ */ _jsxs(_Fragment, { children: [/* @__PURE__ */ _jsx("summary", { children: /* @__PURE__ */ _jsx(Data, { children: rollover.summary }) }), /* @__PURE__ */ _jsx("recent", { children: /* @__PURE__ */ _jsx(Data, { children: rollover.recent }) })] }));
|
|
140
|
+
return `${earlier}\n\n${prompt}`;
|
|
141
|
+
}
|
|
@@ -269,11 +269,7 @@ list: (agent) => this.request(queryPath("/admin/integrations", { agent })) };
|
|
|
269
269
|
};
|
|
270
270
|
apps = {
|
|
271
271
|
list: (agent) => this.request(queryPath("/admin/apps", { agent })),
|
|
272
|
-
|
|
273
|
-
install: (id, back, link) => this.post(queryPath(`/admin/apps/${encodeURIComponent(id)}/install`, {
|
|
274
|
-
back,
|
|
275
|
-
link
|
|
276
|
-
})),
|
|
272
|
+
install: (id, back) => this.post(queryPath(`/admin/apps/${encodeURIComponent(id)}/install`, { back })),
|
|
277
273
|
/** Forgets a workspace app and its installs; the app itself stays on the platform. */
|
|
278
274
|
remove: (id) => this.request(`/admin/apps/${encodeURIComponent(id)}`, { method: "DELETE" }),
|
|
279
275
|
/** Pushes a workspace app to its platform as its agent needs it now, or records that its values were entered there by hand. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServerClient, ClientError } from "../../../client/index.
|
|
1
|
+
import { ServerClient, ClientError } from "../../../client/index.0de14cb4e30bd70d.js";
|
|
2
2
|
import { CoderError } from "../../../core/errors.0a735590a5412ea6.js";
|
|
3
3
|
import { DEFAULT_ENGINE } from "../../../core/defaults.1b615366c56838a1.js";
|
|
4
4
|
import { NO_MODELS, modelsByEngine } from "../app/dash/[org]/settings/model-options.a96c11d11674f598.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useState } from "../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
|
|
3
|
-
import { client } from "../../utils/client.
|
|
3
|
+
import { client } from "../../utils/client.a3928fa2dcd27b75.js";
|
|
4
4
|
import { reasonText } from "../../utils/format.ceeaafa10a0563f3.js";
|
|
5
5
|
import { AuthPanel } from "../../comps/frame/auth-panel.5712a8d190b003b4.js";
|
|
6
6
|
import { Button } from "../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
@@ -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-1b8b8de475"
|
|
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,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
2
|
import { iKey } from "../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
3
|
-
import { load } from "../../../../api/load.
|
|
3
|
+
import { load } from "../../../../api/load.be791a5eaf328738.js";
|
|
4
4
|
import { initial, reasonText } from "../../../../utils/format.ceeaafa10a0563f3.js";
|
|
5
5
|
import { Badge } from "../../../../comps/ui/badge.c0bc352791a95fd6.js";
|
|
6
6
|
import { Button } from "../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
7
|
-
import { SignOut } from "./sign-out.
|
|
7
|
+
import { SignOut } from "./sign-out.1d6af804f9ec043d.js";
|
|
8
8
|
import { Page, PageHead } from "../../../../comps/frame/page-head.85f15db7b648d48c.js";
|
|
9
9
|
import { Icon } from "../../../../comps/ui/icon.0874ca2f58f7db14.js";
|
|
10
10
|
import { Card } from "../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
11
|
-
import { NotifySwitch } from "./notify.
|
|
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,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { signOut } from "../../../../utils/client.
|
|
2
|
+
import { signOut } from "../../../../utils/client.a3928fa2dcd27b75.js";
|
|
3
3
|
import { iOut } from "../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
4
4
|
import { Button } from "../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
5
5
|
import { MenuItem } from "../../../../comps/ui/menu-items.1d082ac4dae8f3d4.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
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
4
|
import { usePaged } from "../../../../../utils/paged.0e54c3044f8ca567.js";
|
|
5
5
|
import { Empty } from "../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { client } from "../../../../../utils/client.
|
|
3
|
-
import { useAction } from "../../../../../utils/action.
|
|
2
|
+
import { client } from "../../../../../utils/client.a3928fa2dcd27b75.js";
|
|
3
|
+
import { useAction } from "../../../../../utils/action.b9a5c37272250e82.js";
|
|
4
4
|
import { iPlus } from "../../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
5
5
|
import { Icon } from "../../../../../comps/ui/icon.0874ca2f58f7db14.js";
|
|
6
6
|
import { Button } from "../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
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.
|
|
3
|
+
import { load } from "../../../../../api/load.be791a5eaf328738.js";
|
|
4
4
|
import { Page } from "../../../../../comps/frame/page-head.85f15db7b648d48c.js";
|
|
5
|
-
import { NeedsCredential } from "../../tasks/composer.
|
|
6
|
-
import { Settle } from "../../../../../comps/frame/stream.
|
|
5
|
+
import { NeedsCredential } from "../../tasks/composer.5072aacdce127689.js";
|
|
6
|
+
import { Settle } from "../../../../../comps/frame/stream.e2915852cf82c86b.js";
|
|
7
7
|
import { credentialMissing } from "../../tasks/composer-data.309a194fc7fa34be.js";
|
|
8
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-9f972f9b73"
|
|
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-61c01e3efe"
|
|
25
25
|
});
|
|
26
26
|
/** Built-in apps this workspace has not installed, labelled in each platform's words. */
|
|
27
27
|
function connectable(apps, integrations) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { dynamic } from "../../../../../../../../../../../node_modules/@wular/pnext/src/api/dynamic.tsx";
|
|
2
2
|
import { iGit, iPencil, iPlus } from "../../../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
3
|
-
import { load, orgOf } from "../../../../../../api/load.
|
|
3
|
+
import { load, orgOf } from "../../../../../../api/load.be791a5eaf328738.js";
|
|
4
4
|
import { Back, Page } from "../../../../../../comps/frame/page-head.85f15db7b648d48c.js";
|
|
5
5
|
import { Button, LinkButton } from "../../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
6
|
-
import { Stream } from "../../../../../../comps/frame/stream.
|
|
6
|
+
import { Stream } from "../../../../../../comps/frame/stream.e2915852cf82c86b.js";
|
|
7
7
|
import { LoadingTabs, Tabs } from "../../../../../../comps/ui/tabs.66b2e54963f6901b.js";
|
|
8
8
|
import { editableAgent } from "../../../../../../api/types.79f9092cdb5a00d1.js";
|
|
9
|
-
import { LoadingHero, Hero } from "../../agent/hero.
|
|
10
|
-
import { loadAgent } from "../../../../../../api/load.
|
|
11
|
-
import { loadTasks } from "../../../tasks/list/tasks-section.
|
|
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.1d687c986db53a73.js";
|
|
12
12
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
13
|
-
const NewTaskButton = dynamic(() => import("../../../tasks/composer.
|
|
13
|
+
const NewTaskButton = dynamic(() => import("../../../tasks/composer.5072aacdce127689.js").then((m) => m.NewTaskButton), undefined, {
|
|
14
14
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../../src/server/dash/app/dash/[org]/tasks/composer.tsx", import.meta.url).pathname),
|
|
15
15
|
"exportName": "NewTaskButton",
|
|
16
|
-
"id": "c-
|
|
16
|
+
"id": "c-6520696115"
|
|
17
17
|
});
|
|
18
18
|
function Actions({ agent, org }) {
|
|
19
19
|
return /* @__PURE__ */ _jsxs(_Fragment, { children: [editableAgent(agent) ? /* @__PURE__ */ _jsx(LinkButton, {
|
|
@@ -3,31 +3,31 @@ import { Fragment } from "../../../../../../../../../../../node_modules/preact/d
|
|
|
3
3
|
import { dynamic } from "../../../../../../../../../../../node_modules/@wular/pnext/src/api/dynamic.tsx";
|
|
4
4
|
import { formatDay, zoneOf } from "../../../../../../utils/format.ceeaafa10a0563f3.js";
|
|
5
5
|
import { Button, LinkButton } from "../../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
6
|
-
import { load, orgOf } from "../../../../../../api/load.
|
|
6
|
+
import { load, orgOf } from "../../../../../../api/load.be791a5eaf328738.js";
|
|
7
7
|
import { Card, Empty } from "../../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
8
|
-
import { Settle } from "../../../../../../comps/frame/stream.
|
|
9
|
-
import { loadAgent } from "../../../../../../api/load.
|
|
8
|
+
import { Settle } from "../../../../../../comps/frame/stream.e2915852cf82c86b.js";
|
|
9
|
+
import { loadAgent } from "../../../../../../api/load.be791a5eaf328738.js";
|
|
10
10
|
import { editableAgent } from "../../../../../../api/types.79f9092cdb5a00d1.js";
|
|
11
11
|
import { LIST_PAGE } from "../../../../../../utils/paged.0e54c3044f8ca567.js";
|
|
12
12
|
import { defaultLabel } from "../../../settings/model-options.a96c11d11674f598.js";
|
|
13
13
|
import { DEFAULT_ENGINE } from "../../../../../../../../core/defaults.1b615366c56838a1.js";
|
|
14
|
-
import { NeedsCredential } from "../../../tasks/composer.
|
|
14
|
+
import { NeedsCredential } from "../../../tasks/composer.5072aacdce127689.js";
|
|
15
15
|
import { Notice } from "../../../../../../comps/ui/notice.f395f231cbb96445.js";
|
|
16
16
|
import { Icon } from "../../../../../../comps/ui/icon.0874ca2f58f7db14.js";
|
|
17
17
|
import { iAlert } from "../../../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
18
18
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
19
|
-
const VersionsList = dynamic(() => import("./versions-list.
|
|
19
|
+
const VersionsList = dynamic(() => import("./versions-list.c8d76988c734dda2.js").then((m) => m.VersionsList), {
|
|
20
20
|
load: "visible",
|
|
21
21
|
ssr: true
|
|
22
22
|
}, {
|
|
23
23
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../../src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/versions-list.tsx", import.meta.url).pathname),
|
|
24
24
|
"exportName": "VersionsList",
|
|
25
|
-
"id": "c-
|
|
25
|
+
"id": "c-d2258f48fe"
|
|
26
26
|
});
|
|
27
27
|
const Instructions = dynamic(() => import("../../agent/instructions.85b1cd986a9edbb5.js").then((m) => m.Instructions), undefined, {
|
|
28
28
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../../src/server/dash/app/dash/[org]/agents/agent/instructions.tsx", import.meta.url).pathname),
|
|
29
29
|
"exportName": "Instructions",
|
|
30
|
-
"id": "c-
|
|
30
|
+
"id": "c-270e7c98c3"
|
|
31
31
|
});
|
|
32
32
|
const KIND = {
|
|
33
33
|
builtin: "Built-in agent",
|
|
@@ -90,7 +90,7 @@ function OverviewBody({ agent, org, history, defaults, tz }) {
|
|
|
90
90
|
/* @__PURE__ */ _jsxs("div", { children: [/* @__PURE__ */ _jsx("dt", { children: "Engine" }), /* @__PURE__ */ _jsx("dd", { children: engine ?? defaultLabel("first available engine") })] }),
|
|
91
91
|
/* @__PURE__ */ _jsxs("div", { children: [/* @__PURE__ */ _jsx("dt", { children: "Model" }), /* @__PURE__ */ _jsx("dd", { children: agent.settings?.model ?? definition?.model ?? defaultLabel(base?.model) })] }),
|
|
92
92
|
/* @__PURE__ */ _jsxs("div", { children: [/* @__PURE__ */ _jsx("dt", { children: "Effort" }), /* @__PURE__ */ _jsx("dd", { children: agent.settings?.effort ?? definition?.effort ?? defaultLabel(base?.effort) })] }),
|
|
93
|
-
/* @__PURE__ */ _jsxs("div", { children: [/* @__PURE__ */ _jsx("dt", { children: "Permissions" }), /* @__PURE__ */ _jsx("dd", { children: agent.settings?.permissions ?? definition?.permissions ?? defaultLabel("
|
|
93
|
+
/* @__PURE__ */ _jsxs("div", { children: [/* @__PURE__ */ _jsx("dt", { children: "Permissions" }), /* @__PURE__ */ _jsx("dd", { children: agent.settings?.permissions ?? definition?.permissions ?? defaultLabel("auto") })] }),
|
|
94
94
|
agent.local ? agent.commit && /* @__PURE__ */ _jsxs("div", { children: [/* @__PURE__ */ _jsx("dt", { children: "Commit" }), /* @__PURE__ */ _jsx("dd", { children: agent.commit.slice(0, 7) })] }) : /* @__PURE__ */ _jsxs("div", { children: [/* @__PURE__ */ _jsx("dt", { children: "Version" }), /* @__PURE__ */ _jsxs("dd", { children: [
|
|
95
95
|
"v",
|
|
96
96
|
agent.currentVersion,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "./page.c811938ae8a8f1df.css.pnext-asset.js";
|
|
2
2
|
import { dynamic } from "../../../../../../../../../../../../node_modules/@wular/pnext/src/api/dynamic.tsx";
|
|
3
|
-
import { encodeDefinition, load, orgOf, unwrap } from "../../../../../../../api/load.
|
|
3
|
+
import { encodeDefinition, load, orgOf, unwrap } from "../../../../../../../api/load.be791a5eaf328738.js";
|
|
4
4
|
import { Card, Empty } from "../../../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
5
5
|
import { Badge, Chips } from "../../../../../../../comps/ui/badge.c0bc352791a95fd6.js";
|
|
6
6
|
import { Button, LinkButton } from "../../../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
7
7
|
import { Icon } from "../../../../../../../comps/ui/icon.0874ca2f58f7db14.js";
|
|
8
8
|
import { iAlert } from "../../../../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
9
9
|
import { InfoTip, MoreList } from "../../../../../../../comps/ui/menu.ee45bace979944b6.js";
|
|
10
|
-
import { Settle } from "../../../../../../../comps/frame/stream.
|
|
11
|
-
import { loadAgent } from "../../../../../../../api/load.
|
|
10
|
+
import { Settle } from "../../../../../../../comps/frame/stream.e2915852cf82c86b.js";
|
|
11
|
+
import { loadAgent } from "../../../../../../../api/load.be791a5eaf328738.js";
|
|
12
12
|
import { needsTunnel } from "../../../../../../../api/types.79f9092cdb5a00d1.js";
|
|
13
13
|
import { editableAgent, eventNames } from "../../../../../../../api/types.79f9092cdb5a00d1.js";
|
|
14
14
|
import { TunnelGuide } from "../../../../settings/tunnel-guide.29eee1a0b1852168.js";
|
|
@@ -16,28 +16,28 @@ import { Platform } from "../../../agent/agent-pills.f987c12bcbc5c850.js";
|
|
|
16
16
|
import { outcomeName, outcomeText, outcomeTitle, readOutcome, succeeded } from "../../../../setup/outcome.cbbc8cd1bbbee01b.js";
|
|
17
17
|
import { ConnectionsLine, Lead } from "./loading.4da9e2ba3fea937f.js";
|
|
18
18
|
import { Notice } from "../../../../../../../comps/ui/notice.f395f231cbb96445.js";
|
|
19
|
-
import { NeedsCredential } from "../../../../tasks/composer.
|
|
19
|
+
import { NeedsCredential } from "../../../../tasks/composer.5072aacdce127689.js";
|
|
20
20
|
import { CredentialsLink } from "../../../../../../../comps/nav/back.180765bdadf6d602.js";
|
|
21
21
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
22
|
-
const PlatformActions = dynamic(() => import("./platform-actions.
|
|
22
|
+
const PlatformActions = dynamic(() => import("./platform-actions.8e7ca54dd1821e98.js").then((m) => m.PlatformActions), undefined, {
|
|
23
23
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../../../src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/platform-actions.tsx", import.meta.url).pathname),
|
|
24
24
|
"exportName": "PlatformActions",
|
|
25
|
-
"id": "c-
|
|
25
|
+
"id": "c-a7239cabd6"
|
|
26
26
|
});
|
|
27
|
-
const InstallButton = dynamic(() => import("./platform-actions.
|
|
27
|
+
const InstallButton = dynamic(() => import("./platform-actions.8e7ca54dd1821e98.js").then((m) => m.InstallButton), undefined, {
|
|
28
28
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../../../src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/platform-actions.tsx", import.meta.url).pathname),
|
|
29
29
|
"exportName": "InstallButton",
|
|
30
|
-
"id": "c-
|
|
30
|
+
"id": "c-aafc8bda2d"
|
|
31
31
|
});
|
|
32
|
-
const DriftQueue = dynamic(() => import("./platform-actions.
|
|
32
|
+
const DriftQueue = dynamic(() => import("./platform-actions.8e7ca54dd1821e98.js").then((m) => m.DriftQueue), undefined, {
|
|
33
33
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../../../src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/platform-actions.tsx", import.meta.url).pathname),
|
|
34
34
|
"exportName": "DriftQueue",
|
|
35
|
-
"id": "c-
|
|
35
|
+
"id": "c-20aaa4afd2"
|
|
36
36
|
});
|
|
37
37
|
const OutcomeDialog = dynamic(() => import("../../../../setup/outcome-dialog.894c73f9abee3ce1.js").then((m) => m.OutcomeDialog), undefined, {
|
|
38
38
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../../../src/server/dash/app/dash/[org]/setup/outcome-dialog.tsx", import.meta.url).pathname),
|
|
39
39
|
"exportName": "OutcomeDialog",
|
|
40
|
-
"id": "c-
|
|
40
|
+
"id": "c-d85dcffeb9"
|
|
41
41
|
});
|
|
42
42
|
/** Outcomes the person fixes by installing again. */
|
|
43
43
|
const RETRY = new Set([
|
|
@@ -133,11 +133,7 @@ function Platforms({ agent, org, apps, installations, catalog, operator = false,
|
|
|
133
133
|
entry.uninstalled && "uninstalled",
|
|
134
134
|
entry.account.type?.toLowerCase(),
|
|
135
135
|
entry.covers && `${entry.covers.length} ${info?.covered ?? "account"}${entry.covers.length === 1 ? "" : "s"}`,
|
|
136
|
-
[
|
|
137
|
-
entry.settings?.configRepo,
|
|
138
|
-
entry.settings?.engine,
|
|
139
|
-
entry.settings?.effort
|
|
140
|
-
].filter(Boolean).join(", ")
|
|
136
|
+
[entry.settings?.engine, entry.settings?.effort].filter(Boolean).join(", ")
|
|
141
137
|
].filter(Boolean).join(" · ") || "account"
|
|
142
138
|
})]
|
|
143
139
|
}, entry.id);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useEffect, useRef, useState } from "../../../../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
|
|
3
3
|
import { useRouter } from "../../../../../../../../../../../../node_modules/@wular/pnext/src/api/client-navigation.ts";
|
|
4
|
-
import { client } from "../../../../../../../utils/client.
|
|
5
|
-
import { useAction } from "../../../../../../../utils/action.
|
|
4
|
+
import { client } from "../../../../../../../utils/client.a3928fa2dcd27b75.js";
|
|
5
|
+
import { useAction } from "../../../../../../../utils/action.b9a5c37272250e82.js";
|
|
6
6
|
import { iDots, iDown, iOut, iPlus, iSpark, iSteer, iUpload, iX } from "../../../../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
7
7
|
import { Modal } from "../../../../../../../comps/ui/modal.25d53e5b41b9c4e5.js";
|
|
8
8
|
import { reasonText } from "../../../../../../../utils/format.ceeaafa10a0563f3.js";
|
|
@@ -16,7 +16,7 @@ import { Menu } from "../../../../../../../comps/ui/menu.ee45bace979944b6.js";
|
|
|
16
16
|
import { MenuItem } from "../../../../../../../comps/ui/menu-items.1d082ac4dae8f3d4.js";
|
|
17
17
|
import { Segmented } from "../../../../../../../comps/ui/segmented.a08dc08338d080e9.js";
|
|
18
18
|
import { Select } from "../../../../../../../comps/ui/select.2eb33e5bea28d804.js";
|
|
19
|
-
import { showToast, toastError } from "../../../../../../../comps/frame/task-toasts.
|
|
19
|
+
import { showToast, toastError } from "../../../../../../../comps/frame/task-toasts.0ed8ccaae81b9d53.js";
|
|
20
20
|
import { OutcomeDialog } from "../../../../setup/outcome-dialog.894c73f9abee3ce1.js";
|
|
21
21
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
22
22
|
/** Who can install a new app, as the create link's `public`, with what owning it then means. */
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "./agent-settings-form.ca926c58d15044aa.css.pnext-asset.js";
|
|
3
3
|
import { useLayoutEffect, useRef, useState } from "../../../../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
|
|
4
|
-
import { client } from "../../../../../../../utils/client.
|
|
5
|
-
import { useAction } from "../../../../../../../utils/action.
|
|
4
|
+
import { client } from "../../../../../../../utils/client.a3928fa2dcd27b75.js";
|
|
5
|
+
import { useAction } from "../../../../../../../utils/action.b9a5c37272250e82.js";
|
|
6
6
|
import { useRouter } from "../../../../../../../../../../../../node_modules/@wular/pnext/src/api/client-navigation.ts";
|
|
7
7
|
import { useOrg } from "../../../../../../../comps/nav/org.572ad93c7707ab27.js";
|
|
8
8
|
import { Link } from "../../../../../../../../../../../../node_modules/@wular/pnext/src/api/link.tsx";
|
|
9
9
|
import { editableAgent, eventNames } from "../../../../../../../api/types.79f9092cdb5a00d1.js";
|
|
10
10
|
import { ConfirmDialog } from "../../../../../../../comps/ui/confirm.c1281f9b12854210.js";
|
|
11
11
|
import { BrandIcon } from "../../../agent/agent-pills.f987c12bcbc5c850.js";
|
|
12
|
-
import { AgentToggle } from "../../../agent/agent-toggle.
|
|
12
|
+
import { AgentToggle } from "../../../agent/agent-toggle.1579dc8acbaacf92.js";
|
|
13
13
|
import { Field } from "../../../../../../../comps/ui/field.75588c33b72824a7.js";
|
|
14
14
|
import { Button } from "../../../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
15
15
|
import { Select } from "../../../../../../../comps/ui/select.2eb33e5bea28d804.js";
|
|
@@ -184,7 +184,7 @@ export function AgentSettingsForm({ agent, catalog, models, defaults, runners, c
|
|
|
184
184
|
hint: "what the runner may change in the checkout",
|
|
185
185
|
value: settings.permissions,
|
|
186
186
|
options: PERMISSIONS,
|
|
187
|
-
blank: defaultLabel(own?.permissions ?? "
|
|
187
|
+
blank: defaultLabel(own?.permissions ?? "auto")
|
|
188
188
|
}),
|
|
189
189
|
/* @__PURE__ */ _jsx(Choice, {
|
|
190
190
|
name: "access",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { dynamic } from "../../../../../../../../../../../../node_modules/@wular/pnext/src/api/dynamic.tsx";
|
|
2
|
-
import { load } from "../../../../../../../api/load.
|
|
3
|
-
import { Settle } from "../../../../../../../comps/frame/stream.
|
|
4
|
-
import { loadAgent, loadRunDefaults } from "../../../../../../../api/load.
|
|
2
|
+
import { load } from "../../../../../../../api/load.be791a5eaf328738.js";
|
|
3
|
+
import { Settle } from "../../../../../../../comps/frame/stream.e2915852cf82c86b.js";
|
|
4
|
+
import { loadAgent, loadRunDefaults } from "../../../../../../../api/load.be791a5eaf328738.js";
|
|
5
5
|
import { runnerOptions } from "../../../../tasks/composer-data.309a194fc7fa34be.js";
|
|
6
|
-
import { NeedsCredential } from "../../../../tasks/composer.
|
|
6
|
+
import { NeedsCredential } from "../../../../tasks/composer.5072aacdce127689.js";
|
|
7
7
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
8
|
-
const AgentSettingsForm = dynamic(() => import("./agent-settings-form.
|
|
8
|
+
const AgentSettingsForm = dynamic(() => import("./agent-settings-form.aa9e157d141481d7.js").then((m) => m.AgentSettingsForm), undefined, {
|
|
9
9
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../../../src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/agent-settings-form.tsx", import.meta.url).pathname),
|
|
10
10
|
"exportName": "AgentSettingsForm",
|
|
11
|
-
"id": "c-
|
|
11
|
+
"id": "c-118b215fcd"
|
|
12
12
|
});
|
|
13
13
|
export default async function AgentSettingsPage({ request, params }) {
|
|
14
14
|
if (!request) return null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TasksLoading } from "../../../../tasks/list/tasks-section.
|
|
1
|
+
import { TasksLoading } from "../../../../tasks/list/tasks-section.1d687c986db53a73.js";
|
|
2
2
|
import { jsx as _jsx } from "../../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
3
3
|
export default function AgentTasksLoading() {
|
|
4
4
|
return /* @__PURE__ */ _jsx(TasksLoading, {});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TasksSection, loadTasks } from "../../../../tasks/list/tasks-section.
|
|
1
|
+
import { TasksSection, loadTasks } from "../../../../tasks/list/tasks-section.1d687c986db53a73.js";
|
|
2
2
|
import { jsx as _jsx } from "../../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
3
3
|
export default async function AgentTasksPage({ request, params }) {
|
|
4
4
|
if (!request) return null;
|
|
@@ -3,11 +3,11 @@ import "./@/app/dash/[org]/usage/range-bar.e8f6f0c7ee443262.css.pnext-asset.js";
|
|
|
3
3
|
import "./page.80adb3d2ea31d080.css.pnext-asset.js";
|
|
4
4
|
import { formatCompact, formatCount, formatDate, formatDuration, zoneOf } from "../../../../../../../utils/format.ceeaafa10a0563f3.js";
|
|
5
5
|
import { daysIn, rangeFor } from "../../../../../../../utils/range.f73ba9cac0a60af1.js";
|
|
6
|
-
import { load, loadAgent, orgOf } from "../../../../../../../api/load.
|
|
6
|
+
import { load, loadAgent, orgOf } from "../../../../../../../api/load.be791a5eaf328738.js";
|
|
7
7
|
import { Card, Empty } from "../../../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
8
8
|
import { Stat, Stats } from "../../../../usage/stats.de820599cf126120.js";
|
|
9
|
-
import { Settle } from "../../../../../../../comps/frame/stream.
|
|
10
|
-
import { unwrap } from "../../../../../../../api/load.
|
|
9
|
+
import { Settle } from "../../../../../../../comps/frame/stream.e2915852cf82c86b.js";
|
|
10
|
+
import { unwrap } from "../../../../../../../api/load.be791a5eaf328738.js";
|
|
11
11
|
import { DayChart } from "../../../../usage/day-chart.261b6651df2d3966.js";
|
|
12
12
|
import { RangeBar } from "../../../../usage/range-bar.2197d8f43216d104.js";
|
|
13
13
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { client } from "../../../../../../utils/client.
|
|
2
|
+
import { client } from "../../../../../../utils/client.a3928fa2dcd27b75.js";
|
|
3
3
|
import { formatDate } from "../../../../../../utils/format.ceeaafa10a0563f3.js";
|
|
4
4
|
import { usePaged } from "../../../../../../utils/paged.0e54c3044f8ca567.js";
|
|
5
5
|
import { Badge } from "../../../../../../comps/ui/badge.c0bc352791a95fd6.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { iUpload } from "../../../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
2
2
|
import { LoadingCard } from "../../../../../../comps/frame/loading-card.cc76fc9708142525.js";
|
|
3
|
-
import { LoadingHero } from "../../agent/hero.
|
|
3
|
+
import { LoadingHero } from "../../agent/hero.ad5cc342db794e5d.js";
|
|
4
4
|
import { LoadingBack, Page } from "../../../../../../comps/frame/page-head.85f15db7b648d48c.js";
|
|
5
5
|
import { Button } from "../../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
6
6
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { dynamic } from "../../../../../../../../../../../node_modules/@wular/pnext/src/api/dynamic.tsx";
|
|
2
|
-
import { load, orgOf } from "../../../../../../api/load.
|
|
2
|
+
import { load, orgOf } from "../../../../../../api/load.be791a5eaf328738.js";
|
|
3
3
|
import { Card } from "../../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
4
4
|
import { Back, Page } from "../../../../../../comps/frame/page-head.85f15db7b648d48c.js";
|
|
5
|
-
import { Settle } from "../../../../../../comps/frame/stream.
|
|
6
|
-
import { Hero } from "../../agent/hero.
|
|
7
|
-
import { loadAgent, loadRunDefaults } from "../../../../../../api/load.
|
|
5
|
+
import { Settle } from "../../../../../../comps/frame/stream.e2915852cf82c86b.js";
|
|
6
|
+
import { Hero } from "../../agent/hero.ad5cc342db794e5d.js";
|
|
7
|
+
import { loadAgent, loadRunDefaults } from "../../../../../../api/load.be791a5eaf328738.js";
|
|
8
8
|
import { editableAgent } from "../../../../../../api/types.79f9092cdb5a00d1.js";
|
|
9
9
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
10
|
-
const AgentEditor = dynamic(() => import("../../editor/editor.
|
|
10
|
+
const AgentEditor = dynamic(() => import("../../editor/editor.776856fe1ed1a642.js").then((m) => m.AgentEditor), undefined, {
|
|
11
11
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../../src/server/dash/app/dash/[org]/agents/editor/editor.tsx", import.meta.url).pathname),
|
|
12
12
|
"exportName": "AgentEditor",
|
|
13
|
-
"id": "c-
|
|
13
|
+
"id": "c-0f449496a8"
|
|
14
14
|
});
|
|
15
15
|
function EditedElsewhere({ agent }) {
|
|
16
16
|
return /* @__PURE__ */ _jsx(Card, {
|