@wular/coder 0.4.12 → 0.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/actions-D12xDiQS.js +4 -0
- package/dist/{adapter-CVd5klMH.js → adapter-Bz0E-DAY.js} +2 -2
- package/dist/{adapter-CU9H4g6c.js → adapter-CsacmMmv.js} +1 -1
- package/dist/adapter-DzpdWewB.js +1 -0
- package/dist/{agent-BA6xr8QY.js → agent-JJStALIx.js} +2 -2
- package/dist/apps-Bnk7F3A2.js +379 -0
- package/dist/args-Dqf5Y1RP.js +1 -0
- package/dist/async-Tj4zKHXR.js +3 -0
- package/dist/{auth-DuXnSNf9.js → auth-BhpnOCbn.js} +1 -1
- package/dist/builtin/coder/agent.json +0 -1
- package/dist/builtin/coder/system.md +1 -1
- package/dist/{chat-CgQdDRhs.js → chat-CSepnsrK.js} +1 -1
- package/dist/cli.js +13 -13
- package/dist/cmd-BHZwhrfa.js +118 -0
- package/dist/connection-BkYTuJjV.js +1 -0
- package/dist/context-zhSlmXOp.js +7 -0
- package/dist/dash/standalone/node_modules/contextjsx/package.json +1 -1
- package/dist/dash/standalone/server/build-index.json +1 -1
- package/dist/dash/standalone/server/manifest.json +1281 -1261
- package/dist/dash/standalone/server/modules-server-server-react-server/src/agent/context/{turn.dac8eb211c500271.js → turn.6bb73458768e222e.js} +4 -16
- package/dist/dash/standalone/server/modules-server-server-react-server/src/client/{index.0de14cb4e30bd70d.js → index.de1f1311bab4252f.js} +12 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/core/{defaults.1b615366c56838a1.js → defaults.e972c134a1ae918f.js} +3 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/core/task/{log-view.60308a11f7001eb7.js → log-view.ec6391dbf3063330.js} +40 -48
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/api/{load.be791a5eaf328738.js → load.30ed8c28774a1a82.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/connect/{page.0fbfdba5254f7ae5.js → page.04762872666a6f0a.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/create/[id]/{page.70913bd4075da914.js → page.118a70787eff1761.js} +23 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{loading.e348ec45e9ed951b.js → loading.fcdfd50c21031895.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{notify.61aab176baeefebd.js → notify.98dfcd316c306258.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{page.815371ed0d5dd4fa.js → page.74c59322f5fe8a2c.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{sign-out.1d6af804f9ec043d.js → sign-out.730aa96b086ac996.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{agent-menu.2ed0e66d131fc148.js → agent-menu.1be5795272b245c8.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{agents-grid.f43bcc1148ce3650.js → agents-grid.2c30ace077893029.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{connect-apps.f3af8cc8540719d7.js → connect-apps.8a20501ccb244421.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{loading.fac1132ad9c4248e.js → loading.733f0acc2af5ceda.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{page.c6efd5432c1a4a75.js → page.d066b77dd3187026.js} +9 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{layout.a795379254982121.js → layout.b26006f060cd48f0.js} +9 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{page.a2cb6d1f1714259a.js → page.4b23e9df21433bd3.js} +9 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{loading.4da9e2ba3fea937f.js → loading.e06845585ca67abc.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{page.996172c951739b35.js → page.4048048acb374c67.js} +35 -23
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{platform-actions.8e7ca54dd1821e98.js → platform-actions.000f2f87a48bfbc6.js} +36 -10
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{agent-settings-form.aa9e157d141481d7.js → agent-settings-form.ee0bb2dc4d403ec3.js} +8 -8
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{loading.ad1a4c9b000d269a.js → loading.0e3641f3e4abaa7c.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{page.44d886e60ae04303.js → page.649b4ba135ded99b.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/tasks/{loading.521c9e7b8d77f557.js → loading.195e168e8e41d797.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/tasks/{page.828cfb8112404792.js → page.96f7573208644f40.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/usage/{loading.8f998a9c511e1fb3.js → loading.905293c9aa9afbc9.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/usage/{page.45e18b6dc3019af4.js → page.5f2b8585db8b27ad.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{versions-list.c8d76988c734dda2.js → versions-list.8700f0106f4e8c15.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/edit/{loading.b1367e864b4fb406.js → loading.f94b2f9ab04aaf21.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/edit/{page.dd11f2618e08becd.js → page.e898c4b5ef16ecb0.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{agent-pills.f987c12bcbc5c850.js → agent-pills.44e689e546fb042b.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{agent-toggle.1579dc8acbaacf92.js → agent-toggle.4c67dfbb7d28a416.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{hero.ad5cc342db794e5d.js → hero.9740a8e2f4b41f28.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{connect-repositories.43b4b28f194ea842.js → connect-repositories.ff8b78a03153239b.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{editor.776856fe1ed1a642.js → editor.471af698b8060eba.js} +31 -20
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{import-picker.eafa5b41a2ed571f.js → import-picker.b7b5c89e618e8f89.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/new/{loading.ee001af7a96e3972.js → loading.ecb9dfd4d0f9d107.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/new/{page.7d84ef2b178b34d2.js → page.880bdac7fe843635.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{layout.393cf7429eea189e.js → layout.81f7e055829854a3.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/operator-apps.09bf294d753ee9d7.js +115 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/{page.980adfb7c5714752.js → page.8f8697b1b6b34ad7.js} +36 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{page.24a1987405ed7b17.js → page.fe608b8e661aba1d.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{connections-list.21ec9dc73ce68656.js → connections-list.97381888bfdd711b.js} +8 -8
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{credentials-list.683476f62a9ecde7.js → credentials-list.a4d8338c7f6a5702.js} +10 -8
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{credentials.b43dd3d97c536c2a.js → credentials.1443bbed1ff1d441.js} +8 -8
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{engines-list.9e116751bd34e2cc.js → engines-list.d47db60d7dc01ebd.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{list.083f5c665df04b1b.js → list.a5b273558fb7f0f0.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{models-list.537f63f8e5dd085d.js → models-list.31d369f1b7ab45da.js} +66 -32
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{page.dfed4ae6ffc74434.js → page.805d0f8a2c5817d6.js} +15 -15
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{runners-list.3afa989490bbe77c.js → runners-list.1e83449aa6593224.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{secrets-list.0d175ee815b22cd7.js → secrets-list.17ac06593005b8ba.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{layout.3e8289f888fa444c.js → layout.8c4a2b31b194ba3e.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{page.06feaa5fbb06f1e6.js → page.a77996786278cda0.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{settings-head.bbc7ced8dd5491eb.js → settings-head.705be0b1129b97af.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{create-link.ff95e4b6977d0474.js → create-link.19b4c50ef497aca1.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{outcome-dialog.894c73f9abee3ce1.js → outcome-dialog.18cf32fa42247b91.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{page.f06fda0df59beeb5.js → page.616f0b36bf7925bc.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{activity.3c79cf14feff12bf.js → activity.a911169a820ba604.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{loading.47cbb34ea8d2e33f.js → loading.76f851da5cc5268d.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{page.abed2a8424ef3da0.js → page.ddb594bb6567ee13.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/task-actions.51fbeac76459433a.js +240 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-view.dc294bb94b7437e1.js → task-view.3276538e8306fd8a.js} +28 -28
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{composer-data.309a194fc7fa34be.js → composer-data.05fc39e1a7fd1ab7.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{composer.5072aacdce127689.js → composer.dbf06b05c5e2eba3.js} +9 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{status.16190fdd5fd7daad.js → status.cb704b48ce86cc7d.js} +6 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{task.0a1b5878dccd3b37.js → task.f089c1c122ed6dd2.js} +17 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-list.1162926f7498c732.js → tasks-list.5a00d69851dae119.js} +37 -22
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-section.1d687c986db53a73.js → tasks-section.36e70c93f7d0feee.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{page.d5d8cb5033823c9c.js → page.185b1ba0c803db3f.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{loading.97d277dbab9c15cf.js → loading.a7e0ec01bfa769e3.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{page.fb21ebe90d49dac1.js → page.d41fea7676e37bfc.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{range-bar.2197d8f43216d104.js → range-bar.69e68c9dae09f238.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/{layout.185dbc99875e208a.js → layout.296d70b95894209f.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{foreign-link.1f4217895ff1e835.js → foreign-link.8c6adf9c5a6f467c.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{loading-card.cc76fc9708142525.js → loading-card.1cea8a722c10b998.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{page-head.85f15db7b648d48c.js → page-head.87b92529dbb53ceb.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{stream.e2915852cf82c86b.js → stream.c32d78562f75db25.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{task-toasts.0ed8ccaae81b9d53.js → task-toasts.44075fa7e04575e8.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{back.180765bdadf6d602.js → back.d6109e72fbd04b45.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{org.572ad93c7707ab27.js → org.d3abfd4053b711ce.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{confirm.c1281f9b12854210.js → confirm.29e198be34578222.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{filter.3a452a262f040973.js → filter.81bb9a5c60cd1089.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{modal.25d53e5b41b9c4e5.js → modal.0b69c7fd9db025b9.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{segmented.a08dc08338d080e9.js → segmented.633abe26ff760e37.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{sentinel.17cffebfc3103b9f.js → sentinel.0ddf515b8f09ef9f.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{tabs.66b2e54963f6901b.js → tabs.1600a0b563a5c7dd.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{toolbar.24036899654de6df.js → toolbar.8b3a460a65edf85a.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{action.b9a5c37272250e82.js → action.67dd6f8ab1ae067d.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{client.a3928fa2dcd27b75.js → client.78267fa3d7905d17.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{action-71685b2d5ad9f359.js → action-a76e495fb39a73d3.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{agent-pills-15da36c2cb81991b.js → agent-pills-4d3c6a2aa9eb1522.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{agent-settings-form-6e6a87d6e673daa8.js → agent-settings-form-f7231a66e391f6b6.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{agent-toggle-ca98586e3b4ce9ae.js → agent-toggle-d7d27123f2070f18.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{agents-grid-29c399e46b4e9e2b.js → agents-grid-185ecb3d86c6c447.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{back-fa9d6e37f9828093.js → back-e29cb10f5548ddae.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{combo-86f3e11d1f6f6cee.js → combo-702c94817bf6ac17.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/composer-56ebf36d63400423.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{composer-85e0ec7163ae18b7.js → composer-a686289a79f64bae.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/composer-data-f46a9bc7a14b4f9a.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{confirm-c29a1db0130638d2.js → confirm-a78147b6ecef3847.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{connect-apps-b73490e04ae6398d.js → connect-apps-696726aedab42c96.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{connect-repositories-0de82daaf654b1d3.js → connect-repositories-7770ab805160028d.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/connections-list-07559f145f3e3da3.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{copy-445c11202f136275.js → copy-bdc60bdafe336316.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/create-link-426b0a5871ee41dd.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/credentials-list-f07d090410104148.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{custom-range-a0630599f907b30e.js → custom-range-6618f32ef6cd4e80.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/editor-0860e370cbfc6b03.js +6 -0
- package/dist/dash/standalone/static/assets/chunks/engines-list-31b9bb7885924b05.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{field-b82a0f895266791c.js → field-bb8191aa02d07282.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/instructions-06b63e558f879da5.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{instructions-affaaeff366b1725.js → instructions-2d9fbcbfadac4f40.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/list-2773686bf8df64c7.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/models-list-03611e64b6a07efe.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{notice-57db7a1f05b7308c.js → notice-d14fdac28139c0a8.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/outcome-dialog-d3ba8ef89c59f801.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{outcome-dialog-5cf575a5e6921a5d.js → outcome-dialog-fde11a52c282301d.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/platform-actions-2a71c62b9f7eaef3.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/platform-actions-70600c9943320152.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/runners-list-edf536eb8003eab5.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/secrets-list-e86122f73525ff95.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/segmented-0b6dc6b93c35e0f5.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/shared-init-b281027d465e004f.js +5 -0
- package/dist/dash/standalone/static/assets/chunks/shared-init-c3bd249cf1eca6d1.js +2 -0
- package/dist/dash/standalone/static/assets/chunks/side-toggle-9b3af821cfe4c824.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{tail-b1c46587301ef397.js → tail-f8804b80cf32f8d0.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/task-a37e7c26e82eb77d.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/task-actions-705395565f2d83b8.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/task-view-cb21169f38b56d15.js +6 -0
- package/dist/dash/standalone/static/assets/chunks/tasks-list-d7dccfd7e0623ae0.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{versions-list-21cb854e6a7108a7.js → versions-list-f8f2e71df691efda.js} +1 -1
- package/dist/dash/standalone/static/assets/create-param-id-c2c756f652f2fc30.css +1 -0
- package/dist/dash/standalone/static/assets/{dash-param-org-account-9471bec93c444232.css → dash-param-org-account-702f8a1b213e4026.css} +1 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-aad2f9f93c06e9ab.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-new-f9dcbcec36586f2b.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-8ff47f5d622c1f9b.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-edit-907036d553cfeb36.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-platforms-5cc77badad15f00c.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-settings-705d7c15868b4fd6.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-tasks-04e189c045098772.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-usage-76fcd1ce7b3dae71.css +1 -0
- package/dist/dash/standalone/static/assets/{dash-param-org-bcfa3de29341d5ba.css → dash-param-org-eccb6bb9297a53e6.css} +1 -1
- package/dist/dash/standalone/static/assets/dash-param-org-operator-635a121f7a9a95bd.css +1 -0
- package/dist/dash/standalone/static/assets/{dash-param-org-settings-6d6902345d88a687.css → dash-param-org-settings-a3297dc4d9e0c961.css} +1 -1
- package/dist/dash/standalone/static/assets/dash-param-org-settings-param-tab-bcb06f81d9e8268d.css +1 -0
- package/dist/dash/standalone/static/assets/{dash-param-org-setup-173efecd7b990c2e.css → dash-param-org-setup-df4be8b188b9777f.css} +1 -1
- package/dist/dash/standalone/static/assets/dash-param-org-tasks-16f9866a1b4801cd.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-tasks-param-id-02ae551dcd852b57.css +1 -0
- package/dist/dash/standalone/static/assets/dash-param-org-usage-f2175403069aab99.css +1 -0
- package/dist/dash/standalone/static/assets/{global-87e1762113874559.css → global-e1de614478b64717.css} +1 -1
- package/dist/dash/standalone/static/assets/pnext-client-0dc829ba60df5c26.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-14d191f7f1da6602.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-169eaa63783b71fd.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-1e34cfefafa70fac.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-285d61f00a80f40b.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-35b89c3ba23ee845.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-6c42784e005d4b87.js +1 -0
- package/dist/dash/standalone/static/assets/{pnext-client-576c06599e241231.js → pnext-client-6cd93f9bd4cf6ffd.js} +1 -1
- package/dist/dash/standalone/static/assets/pnext-client-7355f473fade532d.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-815c3c297f75efb0.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-87fe73c10a4dc33c.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-98b56a142d441260.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-b4bafe68a40f720b.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-bf61ff39bdc0db48.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-c9fa86c244813f74.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-d2e7a75e16221224.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-d34e774405ea8da8.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-d511822afdb41d1d.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-e113aa2f25ecfe01.js +1 -0
- package/dist/dash/standalone/static/assets/{pnext-client-c2c30dcb6dc31d60.js → pnext-client-eb62f461d0c32266.js} +1 -1
- package/dist/{discover-CPZdprlQ.js → discover-CHfF4cEz.js} +1 -1
- package/dist/{docs-x-l7gjFE.js → docs-KHc0_gFX.js} +1 -1
- package/dist/{drive-Y-ZlgiUW.js → drive-Bwl7Bjme.js} +1 -1
- package/dist/emit-BrkJJPUE.js +11 -0
- package/dist/env-6Y-NNnYD.js +1 -0
- package/dist/errors-DO_IltpP.js +16 -0
- package/dist/exec-BmTa0vcO.js +4 -0
- package/dist/executor-ufWRqhdS.js +11 -0
- package/dist/flow/builtin/review/index.d.ts +1 -1
- package/dist/flow/builtin/review/index.js +3 -3
- package/dist/flow/index.d.ts +1 -1
- package/dist/flow/index.js +1 -1
- package/dist/hook-CIipj9MJ.js +1 -0
- package/dist/http-Cg8PSe-c.js +1 -0
- package/dist/{index-BdkdNI1v.d.ts → index-ChcxzFdB.d.ts} +50 -185
- package/dist/integrations-I7fRDk_l.js +4 -0
- package/dist/lib/broker.js +2 -2
- package/dist/load-BDlEFetB.js +2 -0
- package/dist/local-COlczLwI.js +5 -0
- package/dist/log-view-CfX9lakH.js +4 -0
- package/dist/{maintenance-BfxcatXH.js → maintenance-CKCIWOvn.js} +1 -1
- package/dist/{match-Bq4sDuCy.js → match-CufHAZQH.js} +1 -1
- package/dist/mcp-BkwmRHI9.js +2 -0
- package/dist/mcp-CGU7aoJ-.js +1 -0
- package/dist/{mcp-Bta09QCU.js → mcp-DAHbhfUh.js} +1 -1
- package/dist/models-CzggS7p2.js +1 -0
- package/dist/output-SNqdgh9A.js +17 -0
- package/dist/permission-MWFjKxqX.js +1 -0
- package/dist/{prompt-onpyIyXK.js → prompt-CIx4jwQF.js} +1 -1
- package/dist/refresh-CxsaX5R9.js +1 -0
- package/dist/remote-C9Hj2cby.js +2 -0
- package/dist/remote-HUZCWgfl.js +3 -0
- package/dist/{runner-CTFTuaz_.js → runner-DYysY1-G.js} +1 -1
- package/dist/runner.json +1 -1
- package/dist/runner.tgz +0 -0
- package/dist/runners-CfaGE0nV.js +36 -0
- package/dist/schema.js +1 -1
- package/dist/sdk.d.ts +285 -104
- package/dist/sdk.js +1 -1
- package/dist/serve-DdAdw7Su.js +4 -0
- package/dist/serve-NQykWAKV.js +1 -0
- package/dist/serve-vKNqVaVy.js +12 -0
- package/dist/slack-BtKvW_4v.js +5 -0
- package/dist/task-CFxs0E_J.js +1 -0
- package/dist/task-iuYQ0zAK.js +7 -0
- package/dist/tools-B6ZxcqRi.js +2 -0
- package/dist/{tools-CM4UCsId.js → tools-FVop8XYG.js} +1 -1
- package/dist/tools-search-kjKKolwp.js +1 -0
- package/dist/turn-DQ13lkPF.js +2 -0
- package/dist/types-DPtbvoo3.js +1 -0
- package/dist/types-DmThhjcW.js +1 -0
- package/dist/views-CMHXBMJp.js +3 -0
- package/dist/{wire-JMNPv8f6.js → wire-C9CupY_A.js} +1 -1
- package/dist/worker-BQpx1dPr.js +9 -0
- package/dist/worker-sTJL2eoe.js +1 -0
- package/docs/access.md +33 -0
- package/docs/agents/coder.md +0 -11
- package/docs/agents/index.md +1 -1
- package/docs/cli/agent.md +6 -6
- package/docs/cli/connection.md +5 -5
- package/docs/cli/flow.md +9 -9
- package/docs/cli/index.md +3 -3
- package/docs/cli/model.md +12 -10
- package/docs/cli/runner.md +1 -1
- package/docs/cli/server.md +2 -2
- package/docs/cli/task.md +23 -21
- package/docs/config.md +5 -15
- package/docs/flows.md +1 -1
- package/docs/models.md +7 -6
- package/docs/sdk.md +29 -29
- package/docs/self-host.md +25 -25
- package/package.json +2 -2
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/dist/actions-BT7_eKXm.js +0 -10
- package/dist/adapter-BT8ECcRG.js +0 -1
- package/dist/apps-D-v5sQJk.js +0 -367
- package/dist/args-CbO_Ck9Z.js +0 -11
- package/dist/async-XNO3nqum.js +0 -3
- package/dist/cmd-DX5ByXo3.js +0 -119
- package/dist/connection-DNxi2btM.js +0 -1
- package/dist/context-65bOofts.js +0 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/operator-apps.a244f3199e7cf09c.js +0 -144
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/task-actions.587da79d68ab8d14.js +0 -151
- package/dist/dash/standalone/static/assets/chunks/composer-910bb87127972f62.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/composer-data-5fed6c271a4791ca.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/connections-list-c50f58b4b28d10bb.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/create-link-6d64a2d5f9ce6de0.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/credentials-list-bee95799b2319b3b.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/defaults-52f30e83d7666f7a.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/editor-b9951819f21b2e43.js +0 -6
- package/dist/dash/standalone/static/assets/chunks/engines-list-2720c3e8fa12b2f7.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/instructions-fd7402ac5aa8b50e.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/list-d918f79562d497eb.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/models-list-12bc7aceaa52f5b0.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/outcome-dialog-b219595be320108a.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/platform-actions-1d27d2ba7eee9ff1.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/platform-actions-dba96dcb0f6513db.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/runners-list-36f8c5ecfcf8e9ae.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/secrets-list-d7dbafd24dd18481.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/segmented-8f809ebe712e92a7.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/shared-init-cc13a835f3508618.js +0 -2
- package/dist/dash/standalone/static/assets/chunks/shared-init-f475017dd5811e33.js +0 -5
- package/dist/dash/standalone/static/assets/chunks/side-toggle-0aa237eba3dfe9c1.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/task-681061023bdf0a49.js +0 -5
- package/dist/dash/standalone/static/assets/chunks/task-actions-c9e46e81604e85c5.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/task-view-134186a544917ceb.js +0 -5
- package/dist/dash/standalone/static/assets/chunks/tasks-list-352a3222d878de0f.js +0 -1
- package/dist/dash/standalone/static/assets/create-param-id-da3f7e20689fe51a.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-64500e78caae32df.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-new-c067c22928a2d7cc.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-9dec87710e04f949.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-edit-779c474301e04440.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-platforms-c7d594b5232630c2.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-settings-a80e62570716fdb9.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-tasks-ce278252012297b9.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-usage-d3b6d701eb8e1403.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-operator-b7bc6447cc27c9ce.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-settings-param-tab-85c7af9a89eef06e.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-tasks-ae0bc03f468e63cc.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-tasks-param-id-7325d8cff5be3592.css +0 -1
- package/dist/dash/standalone/static/assets/dash-param-org-usage-517b2a7ae462ac57.css +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-05df74b071ddb0b3.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-2c19cca257f78ae6.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-2db05dfa62642a65.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-36b0d6085a073880.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-6aa0f19a30d58d63.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-6b30b71f452f2f07.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-6ccb4d4fff812db3.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-74eb465defba421e.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-8c692d12b2fd90d6.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-92e17d39063a9ced.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-93246aea268c2682.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-9954dcbc0c579e0d.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-c0dfa1cdde9a9855.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-c28d38d4aafd4af6.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-dbf741073e11eac0.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-e29194a27280333f.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-f8a7e692b27caad9.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-fc5b8cfcba2a9f63.js +0 -1
- package/dist/env-B9JG6gwo.js +0 -1
- package/dist/errors-XBA-Ls4n.js +0 -10
- package/dist/exec-iFssTO5V.js +0 -3
- package/dist/executor-Dt2FFT-y.js +0 -11
- package/dist/http-BZfjbiov.js +0 -1
- package/dist/integrations-DyInAa5g.js +0 -2
- package/dist/load-zhcrwSRF.js +0 -2
- package/dist/local-D55UkW93.js +0 -5
- package/dist/log-view-CL3_S0IQ.js +0 -3
- package/dist/mcp-CUITALl1.js +0 -1
- package/dist/models-C1O2DrXx.js +0 -1
- package/dist/output-D95NoAA9.js +0 -16
- package/dist/prompts-B8pKhMcu.js +0 -4
- package/dist/refresh-D-0K9fo3.js +0 -1
- package/dist/remote-CDm0YUU3.js +0 -3
- package/dist/runners-CYTicTb7.js +0 -36
- package/dist/serve-Bzs_lEg-.js +0 -1
- package/dist/serve-CWtLyyTz.js +0 -12
- package/dist/serve-DE6A-rBk.js +0 -4
- package/dist/slack-Bo5l13Rs.js +0 -5
- package/dist/task-BU1JEK9X.js +0 -7
- package/dist/task-CPzBITsp.js +0 -1
- package/dist/tools-BMaKWTa6.js +0 -1
- package/dist/turn-DMvPfhb5.js +0 -3
- package/dist/types-D_xnfP7m.js +0 -1
- package/dist/views-DEdKqLm_.js +0 -5
- package/dist/worker-BuP_Lem1.js +0 -9
- package/dist/worker-C1tuzq5n.js +0 -1
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/core/{errors.0a735590a5412ea6.js → errors.1bd0542d832ae0c0.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{page.c811938ae8a8f1df.css.pnext-asset.js → page.107e622830bff31d.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{hero.1bef5dca89b5942c.css.pnext-asset.js → hero.243d85cac1f22df2.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{editor.c496247a81ed832c.css.pnext-asset.js → editor.1eb1bce282b289c9.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{model-options.a96c11d11674f598.js → model-options.73f8d0d54f79d8e3.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-view.57990cfd2bdf5c11.css.pnext-asset.js → task-view.42337a0d7c6ad0b6.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-list.abbbc9ace4d866e5.css.pnext-asset.js → tasks-list.2f90c4410f843fff.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/{globals.c8fd2b8b01e7077b.css.pnext-asset.js → globals.f8ac779f0ebf888b.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{page-head.364ec93a8e7857b3.css.pnext-asset.js → page-head.9fcc49ddf7119d75.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{modal.9db07d368dcf5981.css.pnext-asset.js → modal.a533234c7c831be4.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{segmented.0bd8652fdbc05eb0.css.pnext-asset.js → segmented.c6f30b839fd27f35.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{sentinel.1e3ec9bd6008d811.css.pnext-asset.js → sentinel.d17e2bfcbeb9df31.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{tabs.ca13e40ff54128d0.css.pnext-asset.js → tabs.025b532d6cc51736.css.pnext-asset.js} +0 -0
|
@@ -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.1bd0542d832ae0c0.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
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.
|
|
7
|
+
import { load, orgOf, signedOut } from "../../../api/load.30ed8c28774a1a82.js";
|
|
8
8
|
import { initial } from "../../../utils/format.ceeaafa10a0563f3.js";
|
|
9
9
|
import { Icon, Mark } from "../../../comps/ui/icon.0874ca2f58f7db14.js";
|
|
10
10
|
import { ThemeChoices } from "../../../comps/frame/theme-choices.85100ed66d6f9200.js";
|
|
11
11
|
import { Drawer } from "../../../comps/frame/drawer.d3e61538dbc8ec39.js";
|
|
12
|
-
import { SignOut } from "./account/sign-out.
|
|
12
|
+
import { SignOut } from "./account/sign-out.730aa96b086ac996.js";
|
|
13
13
|
import { CurrentLink } from "../../../comps/nav/current-link.727b350a40b9ca13.js";
|
|
14
14
|
import { SideToggle } from "../../../comps/nav/side-toggle.489faf1a259479f7.js";
|
|
15
15
|
import { linkOf } from "../../../comps/nav/to.a2c840c09bd4bf4a.js";
|
|
16
16
|
import { Menu } from "../../../comps/ui/menu.ee45bace979944b6.js";
|
|
17
17
|
import { MenuHead, MenuItem, MenuLabel, MenuLink, MenuNote, MenuRadio } from "../../../comps/ui/menu-items.1d082ac4dae8f3d4.js";
|
|
18
18
|
import { Button } from "../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
19
|
-
import { ActiveCount, TaskToasts } from "../../../comps/frame/task-toasts.
|
|
20
|
-
import { ForeignLink } from "../../../comps/frame/foreign-link.
|
|
19
|
+
import { ActiveCount, TaskToasts } from "../../../comps/frame/task-toasts.44075fa7e04575e8.js";
|
|
20
|
+
import { ForeignLink } from "../../../comps/frame/foreign-link.8c6adf9c5a6f467c.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) => [
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "./@/app/dash/[org]/agents/[slug]/(tabs)/platforms/page.944b02c09bbf6c22.css.pnext-asset.js";
|
|
3
|
+
import { useState } from "../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
|
|
4
|
+
import { client } from "../../../../utils/client.78267fa3d7905d17.js";
|
|
5
|
+
import { toastFailure } from "../../../../utils/action.67dd6f8ab1ae067d.js";
|
|
6
|
+
import { ClientError } from "../../../../../../client/index.de1f1311bab4252f.js";
|
|
7
|
+
import { Badge } from "../../../../comps/ui/badge.c0bc352791a95fd6.js";
|
|
8
|
+
import { Field } from "../../../../comps/ui/field.75588c33b72824a7.js";
|
|
9
|
+
import { Button } from "../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
10
|
+
import { iOut } from "../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
11
|
+
import { Modal } from "../../../../comps/ui/modal.0b69c7fd9db025b9.js";
|
|
12
|
+
import { List, Row } from "../settings/[tab]/list.a5b273558fb7f0f0.js";
|
|
13
|
+
import { jsxs as _jsxs, jsx as _jsx, Fragment as _Fragment } from "../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
14
|
+
/** The set-up form for one platform's shared app, as a dialog like an agent's Create app. */
|
|
15
|
+
function SetUpDialog({ row, product, unreachable, onClose }) {
|
|
16
|
+
const [busy, setBusy] = useState(false);
|
|
17
|
+
const submit = (event) => {
|
|
18
|
+
event.preventDefault();
|
|
19
|
+
const form = new FormData(event.currentTarget);
|
|
20
|
+
const value = (key) => String(form.get(key) ?? "").trim() || undefined;
|
|
21
|
+
setBusy(true);
|
|
22
|
+
void client.operator.setUp(row.integration, {
|
|
23
|
+
name: value("name"),
|
|
24
|
+
owner: value("owner")
|
|
25
|
+
}).then(({ url }) => {
|
|
26
|
+
location.href = url;
|
|
27
|
+
}).catch((reason) => {
|
|
28
|
+
// Operator mode ended; the page signs in again.
|
|
29
|
+
if (reason instanceof ClientError && reason.status === 401) return location.assign(location.pathname);
|
|
30
|
+
setBusy(false);
|
|
31
|
+
toastFailure(reason);
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
return /* @__PURE__ */ _jsxs(Modal, {
|
|
35
|
+
class: "create-dialog",
|
|
36
|
+
title: `Set up shared ${row.name} app`,
|
|
37
|
+
dismiss: true,
|
|
38
|
+
busy,
|
|
39
|
+
onSubmit: submit,
|
|
40
|
+
onClose,
|
|
41
|
+
actions: /* @__PURE__ */ _jsxs(Button, {
|
|
42
|
+
type: "submit",
|
|
43
|
+
rightIcon: iOut,
|
|
44
|
+
disabled: unreachable,
|
|
45
|
+
loading: busy,
|
|
46
|
+
children: ["Continue on ", row.name]
|
|
47
|
+
}),
|
|
48
|
+
children: [
|
|
49
|
+
unreachable ? /* @__PURE__ */ _jsxs("p", {
|
|
50
|
+
class: "flash err",
|
|
51
|
+
children: [
|
|
52
|
+
row.name,
|
|
53
|
+
" cannot reach this server yet. Set a public address first: run the server with PUBLIC_URL set to an address ",
|
|
54
|
+
row.name,
|
|
55
|
+
" can reach."
|
|
56
|
+
]
|
|
57
|
+
}) : null,
|
|
58
|
+
/* @__PURE__ */ _jsxs("p", {
|
|
59
|
+
class: "muted",
|
|
60
|
+
children: [
|
|
61
|
+
"One app on ",
|
|
62
|
+
row.name,
|
|
63
|
+
" serves the built-in agent in every workspace. People see its name on consent screens, as in ",
|
|
64
|
+
product,
|
|
65
|
+
" wants to connect."
|
|
66
|
+
]
|
|
67
|
+
}),
|
|
68
|
+
/* @__PURE__ */ _jsx(Field, {
|
|
69
|
+
label: "App name",
|
|
70
|
+
children: /* @__PURE__ */ _jsx("input", {
|
|
71
|
+
name: "name",
|
|
72
|
+
defaultValue: product,
|
|
73
|
+
autocomplete: "off",
|
|
74
|
+
required: true
|
|
75
|
+
})
|
|
76
|
+
}),
|
|
77
|
+
row.organizationApps ? /* @__PURE__ */ _jsx(Field, {
|
|
78
|
+
label: `${row.name} organization`,
|
|
79
|
+
hint: "owns the app; leave empty to own it on your personal account",
|
|
80
|
+
children: /* @__PURE__ */ _jsx("input", {
|
|
81
|
+
name: "owner",
|
|
82
|
+
placeholder: "your-org",
|
|
83
|
+
autocomplete: "off"
|
|
84
|
+
})
|
|
85
|
+
}) : null
|
|
86
|
+
]
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
/** One shared app per platform for the built-in agent in every workspace; Set up opens its create dialog. */
|
|
90
|
+
export function OperatorApps({ first }) {
|
|
91
|
+
const [open, setOpen] = useState();
|
|
92
|
+
return /* @__PURE__ */ _jsxs(_Fragment, { children: [/* @__PURE__ */ _jsx(List, {
|
|
93
|
+
title: "Built-in apps",
|
|
94
|
+
count: first.platforms.length,
|
|
95
|
+
children: first.platforms.map((row) => /* @__PURE__ */ _jsx(Row, {
|
|
96
|
+
title: row.name,
|
|
97
|
+
badges: row.app ? /* @__PURE__ */ _jsx(Badge, {
|
|
98
|
+
tone: "ok",
|
|
99
|
+
children: "set up"
|
|
100
|
+
}) : null,
|
|
101
|
+
sub: row.app ? row.app.name : "Not set up. Workspaces cannot add the built-in agent here.",
|
|
102
|
+
actions: row.app ? null : /* @__PURE__ */ _jsx(Button, {
|
|
103
|
+
variant: "secondary",
|
|
104
|
+
size: "sm",
|
|
105
|
+
onClick: () => setOpen(row),
|
|
106
|
+
children: "Set up"
|
|
107
|
+
})
|
|
108
|
+
}, row.integration))
|
|
109
|
+
}), open ? /* @__PURE__ */ _jsx(SetUpDialog, {
|
|
110
|
+
row: open,
|
|
111
|
+
product: first.name,
|
|
112
|
+
unreachable: first.unreachable,
|
|
113
|
+
onClose: () => setOpen(undefined)
|
|
114
|
+
}) : null] });
|
|
115
|
+
}
|
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
import "./@/app/dash/[org]/settings/[tab]/list.83f35dd8a36acdfd.css.pnext-asset.js";
|
|
2
|
-
import { ClientError } from "../../../../../../client/index.
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { ClientError } from "../../../../../../client/index.de1f1311bab4252f.js";
|
|
3
|
+
import { dynamic } from "../../../../../../../../../node_modules/@wular/pnext/src/api/dynamic.tsx";
|
|
4
|
+
import { notFound, redirect } from "../../../../../../../../../node_modules/@wular/pnext/src/api/navigation.ts";
|
|
5
|
+
import { load } from "../../../../api/load.30ed8c28774a1a82.js";
|
|
6
|
+
import { Page, PageHead } from "../../../../comps/frame/page-head.87b92529dbb53ceb.js";
|
|
7
|
+
import { Button, LinkButton } from "../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
7
8
|
import { Card, FoldCard } from "../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
8
9
|
import { formatDate, reasonText, zoneOf } from "../../../../utils/format.ceeaafa10a0563f3.js";
|
|
9
|
-
import { Row } from "../settings/[tab]/list.
|
|
10
|
-
import {
|
|
10
|
+
import { Row } from "../settings/[tab]/list.a5b273558fb7f0f0.js";
|
|
11
|
+
import { outcomeText, outcomeTitle, readOutcome, succeeded } from "../setup/outcome.cbbc8cd1bbbee01b.js";
|
|
12
|
+
import { OperatorApps } from "./operator-apps.09bf294d753ee9d7.js";
|
|
11
13
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
14
|
+
const OutcomeDialog = dynamic(() => import("../setup/outcome-dialog.18cf32fa42247b91.js").then((m) => m.OutcomeDialog), undefined, {
|
|
15
|
+
"file": decodeURIComponent(new URL("../../../../../../../../../../../../src/server/dash/app/dash/[org]/setup/outcome-dialog.tsx", import.meta.url).pathname),
|
|
16
|
+
"exportName": "OutcomeDialog",
|
|
17
|
+
"id": "c-d6a383147e"
|
|
18
|
+
});
|
|
12
19
|
const SIGN_IN_ERRORS = {
|
|
13
20
|
stale: "That sign-in was not fresh enough. Sign in again.",
|
|
14
|
-
denied: "That account is not an operator of this server, or not the one signed in here."
|
|
21
|
+
denied: "That account is not an operator of this server, or not the one signed in here.",
|
|
22
|
+
lost: "You signed in, but operator mode did not start. Sign in again."
|
|
15
23
|
};
|
|
16
24
|
function SignInAgain({ error }) {
|
|
17
25
|
return /* @__PURE__ */ _jsx(Card, {
|
|
@@ -46,9 +54,24 @@ export default async function OperatorPage({ request }) {
|
|
|
46
54
|
try {
|
|
47
55
|
const [apps, audit] = await Promise.all([load(request).operator.apps(), load(request).operator.audit()]);
|
|
48
56
|
const tz = zoneOf(request);
|
|
57
|
+
// Back from creating a shared app on its platform.
|
|
58
|
+
const outcome = readOutcome(new URL(request.url).searchParams);
|
|
59
|
+
const name = apps.platforms.find((row) => row.integration === outcome?.platform)?.name ?? outcome?.platform ?? "the platform";
|
|
60
|
+
const org = me.organization?.slug;
|
|
49
61
|
return /* @__PURE__ */ _jsxs(Page, { children: [
|
|
50
62
|
head,
|
|
51
63
|
/* @__PURE__ */ _jsx(OperatorApps, { first: apps }),
|
|
64
|
+
outcome ? /* @__PURE__ */ _jsx(OutcomeDialog, {
|
|
65
|
+
ok: succeeded(outcome),
|
|
66
|
+
title: outcomeTitle(outcome, name),
|
|
67
|
+
text: outcomeText(outcome, name),
|
|
68
|
+
issues: me.server?.issuesUrl,
|
|
69
|
+
children: succeeded(outcome) && org ? /* @__PURE__ */ _jsx(LinkButton, {
|
|
70
|
+
href: "/dash/[org]/agents",
|
|
71
|
+
params: { org },
|
|
72
|
+
children: "Connect it in your workspace"
|
|
73
|
+
}) : null
|
|
74
|
+
}) : null,
|
|
52
75
|
/* @__PURE__ */ _jsx(FoldCard, {
|
|
53
76
|
title: /* @__PURE__ */ _jsxs(_Fragment, { children: ["Audit log", /* @__PURE__ */ _jsx("span", {
|
|
54
77
|
class: "n",
|
|
@@ -72,7 +95,11 @@ export default async function OperatorPage({ request }) {
|
|
|
72
95
|
})
|
|
73
96
|
] });
|
|
74
97
|
} catch (error) {
|
|
75
|
-
|
|
98
|
+
const params = new URL(request.url).searchParams;
|
|
99
|
+
const signInError = params.get("error") ?? (params.has("entered") ? "lost" : null);
|
|
100
|
+
// Operator mode ended: sign in again at once, unless a sign-in just returned here, so it never loops.
|
|
101
|
+
if (error instanceof ClientError && error.status === 401 && !signInError) redirect("/api/auth/sign-in?operator=1");
|
|
102
|
+
return /* @__PURE__ */ _jsxs(Page, { children: [head, error instanceof ClientError && error.status === 401 ? /* @__PURE__ */ _jsx(SignInAgain, { error: signInError }) : /* @__PURE__ */ _jsx(Card, {
|
|
76
103
|
tone: "danger",
|
|
77
104
|
children: /* @__PURE__ */ _jsx("p", {
|
|
78
105
|
class: "body prose",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { redirect } from "../../../../../../../../node_modules/@wular/pnext/src/api/navigation.ts";
|
|
2
|
-
import { load, orgOf } from "../../../api/load.
|
|
2
|
+
import { load, orgOf } from "../../../api/load.30ed8c28774a1a82.js";
|
|
3
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 }) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
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.
|
|
4
|
+
import { client } from "../../../../../utils/client.78267fa3d7905d17.js";
|
|
5
|
+
import { toastFailure, useAction } from "../../../../../utils/action.67dd6f8ab1ae067d.js";
|
|
6
6
|
import { Card, Empty, FoldCard, Loading } from "../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
7
7
|
import { reasonText } from "../../../../../utils/format.ceeaafa10a0563f3.js";
|
|
8
8
|
import { Field } from "../../../../../comps/ui/field.75588c33b72824a7.js";
|
|
@@ -11,14 +11,14 @@ import { MenuItem } from "../../../../../comps/ui/menu-items.1d082ac4dae8f3d4.js
|
|
|
11
11
|
import { Icon } from "../../../../../comps/ui/icon.0874ca2f58f7db14.js";
|
|
12
12
|
import { iAlert } from "../../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
13
13
|
import { Button, LinkButton } from "../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
14
|
-
import { Segmented } from "../../../../../comps/ui/segmented.
|
|
14
|
+
import { Segmented } from "../../../../../comps/ui/segmented.633abe26ff760e37.js";
|
|
15
15
|
import { Select } from "../../../../../comps/ui/select.2eb33e5bea28d804.js";
|
|
16
|
-
import { Search } from "../../../../../comps/ui/toolbar.
|
|
17
|
-
import { BrandIcon } from "../../agents/agent/agent-pills.
|
|
18
|
-
import { Row } from "./list.
|
|
19
|
-
import { useOrg } from "../../../../../comps/nav/org.
|
|
16
|
+
import { Search } from "../../../../../comps/ui/toolbar.8b3a460a65edf85a.js";
|
|
17
|
+
import { BrandIcon } from "../../agents/agent/agent-pills.44e689e546fb042b.js";
|
|
18
|
+
import { Row } from "./list.a5b273558fb7f0f0.js";
|
|
19
|
+
import { useOrg } from "../../../../../comps/nav/org.d3abfd4053b711ce.js";
|
|
20
20
|
import { Notice } from "../../../../../comps/ui/notice.f395f231cbb96445.js";
|
|
21
|
-
import { CONNECTION_SCOPES } from "../model-options.
|
|
21
|
+
import { CONNECTION_SCOPES } from "../model-options.73f8d0d54f79d8e3.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"));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "./credentials-list.f7c27f170ec1e868.css.pnext-asset.js";
|
|
3
3
|
import { useEffect, useRef, useState } from "../../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
|
|
4
|
-
import { client, usePoll } from "../../../../../utils/client.
|
|
5
|
-
import { toastFailure, useAction } from "../../../../../utils/action.
|
|
4
|
+
import { client, usePoll } from "../../../../../utils/client.78267fa3d7905d17.js";
|
|
5
|
+
import { toastFailure, useAction } from "../../../../../utils/action.67dd6f8ab1ae067d.js";
|
|
6
6
|
import { iCheck } from "../../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
7
7
|
import { useRouter } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/client-navigation.ts";
|
|
8
8
|
import { Card, Loading } from "../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
9
|
-
import { Modal } from "../../../../../comps/ui/modal.
|
|
9
|
+
import { Modal } from "../../../../../comps/ui/modal.0b69c7fd9db025b9.js";
|
|
10
10
|
import { reasonText } from "../../../../../utils/format.ceeaafa10a0563f3.js";
|
|
11
11
|
import { Badge } from "../../../../../comps/ui/badge.c0bc352791a95fd6.js";
|
|
12
12
|
import { Button } from "../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
@@ -15,10 +15,10 @@ import { Icon } from "../../../../../comps/ui/icon.0874ca2f58f7db14.js";
|
|
|
15
15
|
import { MenuItem } from "../../../../../comps/ui/menu-items.1d082ac4dae8f3d4.js";
|
|
16
16
|
import { Select } from "../../../../../comps/ui/select.2eb33e5bea28d804.js";
|
|
17
17
|
import { Combo } from "../../../../../comps/ui/combo.54270c0251466fda.js";
|
|
18
|
-
import { Row, replaceTitle, useReplace } from "./list.
|
|
19
|
-
import { useOrg } from "../../../../../comps/nav/org.
|
|
18
|
+
import { Row, replaceTitle, useReplace } from "./list.a5b273558fb7f0f0.js";
|
|
19
|
+
import { useOrg } from "../../../../../comps/nav/org.d3abfd4053b711ce.js";
|
|
20
20
|
import { isAdmin } from "../../../../../api/types.79f9092cdb5a00d1.js";
|
|
21
|
-
import { CUSTOM_PROVIDERS, SCOPES } from "../model-options.
|
|
21
|
+
import { CUSTOM_PROVIDERS, SCOPES } from "../model-options.73f8d0d54f79d8e3.js";
|
|
22
22
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
23
23
|
const ENGINES = [{
|
|
24
24
|
id: "claude",
|
|
@@ -447,13 +447,15 @@ export function CredentialsList({ rows, me, focus }) {
|
|
|
447
447
|
/* @__PURE__ */ _jsxs("p", {
|
|
448
448
|
class: "muted cred-note",
|
|
449
449
|
children: [
|
|
450
|
-
"Tasks read each key as its variable. Claude uses ANTHROPIC_API_KEY, Codex uses OPENAI_API_KEY, and a
|
|
450
|
+
"Tasks read each key as its variable. Claude uses ANTHROPIC_API_KEY, Codex uses OPENAI_API_KEY, and a",
|
|
451
|
+
" ",
|
|
451
452
|
/* @__PURE__ */ _jsx("a", {
|
|
452
453
|
class: "link",
|
|
453
454
|
href: `/dash/${org}/settings/models`,
|
|
454
455
|
children: "custom model"
|
|
455
456
|
}),
|
|
456
|
-
"
|
|
457
|
+
" ",
|
|
458
|
+
"uses the one it names."
|
|
457
459
|
]
|
|
458
460
|
}),
|
|
459
461
|
keys.length ? /* @__PURE__ */ _jsx("table", {
|
|
@@ -1,23 +1,23 @@
|
|
|
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.
|
|
2
|
+
import { load } from "../../../../../api/load.30ed8c28774a1a82.js";
|
|
3
|
+
import { Settle } from "../../../../../comps/frame/stream.c32d78562f75db25.js";
|
|
4
4
|
import { isAdmin, localServer } from "../../../../../api/types.79f9092cdb5a00d1.js";
|
|
5
5
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
6
6
|
// Hydrates as soon as the page does, so its sign-in buttons are live at once.
|
|
7
|
-
const CredentialsList = dynamic(() => import("./credentials-list.
|
|
7
|
+
const CredentialsList = dynamic(() => import("./credentials-list.a4d8338c7f6a5702.js").then((m) => m.CredentialsList), undefined, {
|
|
8
8
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../src/server/dash/app/dash/[org]/settings/[tab]/credentials-list.tsx", import.meta.url).pathname),
|
|
9
9
|
"exportName": "CredentialsList",
|
|
10
|
-
"id": "c-
|
|
10
|
+
"id": "c-fdac92ecd0"
|
|
11
11
|
});
|
|
12
|
-
const EngineLogins = dynamic(() => import("./credentials-list.
|
|
12
|
+
const EngineLogins = dynamic(() => import("./credentials-list.a4d8338c7f6a5702.js").then((m) => m.EngineLogins), undefined, {
|
|
13
13
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../src/server/dash/app/dash/[org]/settings/[tab]/credentials-list.tsx", import.meta.url).pathname),
|
|
14
14
|
"exportName": "EngineLogins",
|
|
15
|
-
"id": "c-
|
|
15
|
+
"id": "c-cd65ccc6a7"
|
|
16
16
|
});
|
|
17
|
-
const TaskSecrets = dynamic(() => import("./secrets-list.
|
|
17
|
+
const TaskSecrets = dynamic(() => import("./secrets-list.17ac06593005b8ba.js").then((m) => m.TaskSecrets), undefined, {
|
|
18
18
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../src/server/dash/app/dash/[org]/settings/[tab]/secrets-list.tsx", import.meta.url).pathname),
|
|
19
19
|
"exportName": "TaskSecrets",
|
|
20
|
-
"id": "c-
|
|
20
|
+
"id": "c-4284e09a04"
|
|
21
21
|
});
|
|
22
22
|
/** The credentials settings tab. */
|
|
23
23
|
export function Credentials({ request }) {
|
|
@@ -5,8 +5,8 @@ import { Badge } from "../../../../../comps/ui/badge.c0bc352791a95fd6.js";
|
|
|
5
5
|
import { Button } from "../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
6
6
|
import { MenuItem } from "../../../../../comps/ui/menu-items.1d082ac4dae8f3d4.js";
|
|
7
7
|
import { Select } from "../../../../../comps/ui/select.2eb33e5bea28d804.js";
|
|
8
|
-
import { EFFORTS, ENGINES, ENGINE_NAMES, PERMISSIONS, defaultLabel } from "../model-options.
|
|
9
|
-
import { useConfig, List, Row, AddRow } from "./list.
|
|
8
|
+
import { EFFORTS, ENGINES, ENGINE_NAMES, PERMISSIONS, defaultLabel } from "../model-options.73f8d0d54f79d8e3.js";
|
|
9
|
+
import { useConfig, List, Row, AddRow } from "./list.a5b273558fb7f0f0.js";
|
|
10
10
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
11
11
|
/** Each engine's defaults, the order tasks try them, and the hosts tasks may reach. */
|
|
12
12
|
export function EnginesList({ first, defaults }) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "./list.8cbee173a5aff98d.css.pnext-asset.js";
|
|
3
3
|
import { useRef, useState } from "../../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
|
|
4
|
-
import { client } from "../../../../../utils/client.
|
|
5
|
-
import { toastFailure } from "../../../../../utils/action.
|
|
6
|
-
import { mergePatch } from "../../../../../../../core/defaults.
|
|
4
|
+
import { client } from "../../../../../utils/client.78267fa3d7905d17.js";
|
|
5
|
+
import { toastFailure } from "../../../../../utils/action.67dd6f8ab1ae067d.js";
|
|
6
|
+
import { mergePatch } from "../../../../../../../core/defaults.e972c134a1ae918f.js";
|
|
7
7
|
import { iDots } from "../../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
8
8
|
import { Button } from "../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
9
9
|
import { Card } from "../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
10
10
|
import { Icon } from "../../../../../comps/ui/icon.0874ca2f58f7db14.js";
|
|
11
11
|
import { Menu } from "../../../../../comps/ui/menu.ee45bace979944b6.js";
|
|
12
12
|
import { MenuItem } from "../../../../../comps/ui/menu-items.1d082ac4dae8f3d4.js";
|
|
13
|
-
import { ConfirmDialog } from "../../../../../comps/ui/confirm.
|
|
13
|
+
import { ConfirmDialog } from "../../../../../comps/ui/confirm.29e198be34578222.js";
|
|
14
14
|
import { jsx as _jsx, jsxs as _jsxs } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
15
15
|
/** Config edits shown at once and sent as merge patches; the newest answer wins and a failure rolls back. */
|
|
16
16
|
export function useConfig(first) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { client } from "../../../../../utils/client.
|
|
2
|
+
import { client } from "../../../../../utils/client.78267fa3d7905d17.js";
|
|
3
3
|
import { useRef, useState } from "../../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
|
|
4
4
|
import { FoldCard, Loading } from "../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
5
5
|
import { Field } from "../../../../../comps/ui/field.75588c33b72824a7.js";
|
|
@@ -8,10 +8,11 @@ import { Button } from "../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
|
8
8
|
import { MenuItem } from "../../../../../comps/ui/menu-items.1d082ac4dae8f3d4.js";
|
|
9
9
|
import { Select } from "../../../../../comps/ui/select.2eb33e5bea28d804.js";
|
|
10
10
|
import { Combo } from "../../../../../comps/ui/combo.54270c0251466fda.js";
|
|
11
|
-
import { CUSTOM_PROVIDERS, EFFORTS, ENGINES, ENGINE_NAMES, SCOPES, defaultLabel } from "../model-options.
|
|
11
|
+
import { CUSTOM_PROVIDERS, EFFORTS, ENGINES, ENGINE_NAMES, SCOPES, defaultLabel } from "../model-options.73f8d0d54f79d8e3.js";
|
|
12
12
|
import { reasonText } from "../../../../../utils/format.ceeaafa10a0563f3.js";
|
|
13
|
-
import { useAction } from "../../../../../utils/action.
|
|
14
|
-
import {
|
|
13
|
+
import { useAction } from "../../../../../utils/action.67dd6f8ab1ae067d.js";
|
|
14
|
+
import { toastError } from "../../../../../comps/frame/task-toasts.44075fa7e04575e8.js";
|
|
15
|
+
import { List, Row, replaceTitle, useConfig, useReplace } from "./list.a5b273558fb7f0f0.js";
|
|
15
16
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
16
17
|
const KINDS = [["endpoint", "Endpoint"], ["alias", "Engine alias"]];
|
|
17
18
|
const ALIAS_ENGINES = [["claude", "Claude"], ["codex", "Codex"]];
|
|
@@ -62,7 +63,8 @@ function AddModel({ builtin, credentials, admin, taken, efforts, onAdd }) {
|
|
|
62
63
|
name: values.name,
|
|
63
64
|
baseUrl: values.baseUrl,
|
|
64
65
|
model: values.model,
|
|
65
|
-
envKey
|
|
66
|
+
envKey,
|
|
67
|
+
...values.contextWindow ? { contextWindow: Number(values.contextWindow) } : {}
|
|
66
68
|
});
|
|
67
69
|
});
|
|
68
70
|
setBusy(false);
|
|
@@ -158,7 +160,11 @@ function CustomFields({ kind, credentials, admin, busy }) {
|
|
|
158
160
|
const [scope, setScope] = useState(admin ? "workspace" : "personal");
|
|
159
161
|
const [probe, setProbe] = useState(null);
|
|
160
162
|
const latest = useRef(0);
|
|
163
|
+
// One toast per failure; a probe that works again clears it.
|
|
164
|
+
const failed = useRef("");
|
|
161
165
|
const [model, setModel] = useState("");
|
|
166
|
+
const [contextWindow, setContextWindow] = useState(null);
|
|
167
|
+
const reported = probe?.contextWindows?.[model];
|
|
162
168
|
const has = (name, where) => Boolean(name) && Boolean(credentials?.some((row) => row.name === name && row.scope === where));
|
|
163
169
|
// The scope whose saved key a model would use; a member's tasks fall back to the workspace's.
|
|
164
170
|
const saved = (name, where = scope) => has(name, where) ? where : !admin && has(name, "workspace") ? "workspace" : undefined;
|
|
@@ -186,6 +192,9 @@ function CustomFields({ kind, credentials, admin, busy }) {
|
|
|
186
192
|
...result,
|
|
187
193
|
models: [...result.models].sort()
|
|
188
194
|
} : result);
|
|
195
|
+
const failure = result.reachable ? "" : /HTTP 40[13]/.test(result.detail) ? "The API key was rejected." : `${url.trim()} isn't reachable.`;
|
|
196
|
+
if (failure && failure !== failed.current) toastError("Models not listed", failure);
|
|
197
|
+
failed.current = failure;
|
|
189
198
|
});
|
|
190
199
|
};
|
|
191
200
|
// Typing settles for 250 ms before a probe, like the registry search.
|
|
@@ -193,7 +202,8 @@ function CustomFields({ kind, credentials, admin, busy }) {
|
|
|
193
202
|
clearTimeout(timer.current);
|
|
194
203
|
timer.current = setTimeout(() => check(url, name, typed), 250);
|
|
195
204
|
};
|
|
196
|
-
|
|
205
|
+
// Only what the endpoint lists; an unreachable one just offers no suggestions.
|
|
206
|
+
const status = probe?.models ? `${probe.models.length} listed` : undefined;
|
|
197
207
|
const keyRow = preset.needsKey && credentials ? /* @__PURE__ */ _jsxs("div", {
|
|
198
208
|
class: "add-grid",
|
|
199
209
|
children: [/* @__PURE__ */ _jsx(Field, {
|
|
@@ -246,8 +256,12 @@ function CustomFields({ kind, credentials, admin, busy }) {
|
|
|
246
256
|
setPreset(next);
|
|
247
257
|
setBaseUrl(next.baseUrl);
|
|
248
258
|
setEnvKey(next.envKey);
|
|
259
|
+
// The model and a typed key belong to the previous provider.
|
|
260
|
+
setModel("");
|
|
261
|
+
setContextWindow(null);
|
|
262
|
+
setKey("");
|
|
249
263
|
setProbe(null);
|
|
250
|
-
if (
|
|
264
|
+
if (saved(next.envKey) || !next.needsKey) check(next.baseUrl, next.envKey, "");
|
|
251
265
|
}
|
|
252
266
|
})
|
|
253
267
|
}),
|
|
@@ -268,7 +282,10 @@ function CustomFields({ kind, credentials, admin, busy }) {
|
|
|
268
282
|
options: probe?.models ?? [],
|
|
269
283
|
placeholder: probe?.models?.[0] ?? "qwen3-coder",
|
|
270
284
|
value: model,
|
|
271
|
-
onChange:
|
|
285
|
+
onChange: (next) => {
|
|
286
|
+
setModel(next);
|
|
287
|
+
setContextWindow(null);
|
|
288
|
+
}
|
|
272
289
|
})
|
|
273
290
|
}),
|
|
274
291
|
/* @__PURE__ */ _jsx(Field, {
|
|
@@ -299,31 +316,48 @@ function CustomFields({ kind, credentials, admin, busy }) {
|
|
|
299
316
|
open: preset.id === "other" || undefined,
|
|
300
317
|
children: [/* @__PURE__ */ _jsx("summary", { children: "Advanced" }), /* @__PURE__ */ _jsxs("div", {
|
|
301
318
|
class: "add-grid",
|
|
302
|
-
children: [
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
319
|
+
children: [
|
|
320
|
+
/* @__PURE__ */ _jsx(Field, {
|
|
321
|
+
label: "Base URL",
|
|
322
|
+
children: /* @__PURE__ */ _jsx("input", {
|
|
323
|
+
name: "baseUrl",
|
|
324
|
+
type: "url",
|
|
325
|
+
placeholder: "http://localhost:11434/v1",
|
|
326
|
+
autocomplete: "off",
|
|
327
|
+
value: baseUrl,
|
|
328
|
+
onInput: (event) => {
|
|
329
|
+
setBaseUrl(event.currentTarget.value);
|
|
330
|
+
checkSoon(event.currentTarget.value, envKey, key);
|
|
331
|
+
}
|
|
332
|
+
})
|
|
333
|
+
}),
|
|
334
|
+
/* @__PURE__ */ _jsx(Field, {
|
|
335
|
+
label: "Key variable",
|
|
336
|
+
children: /* @__PURE__ */ _jsx("input", {
|
|
337
|
+
name: "envKey",
|
|
338
|
+
class: "mono",
|
|
339
|
+
placeholder: "OPENAI_API_KEY",
|
|
340
|
+
autocomplete: "off",
|
|
341
|
+
pattern: "[A-Za-z_][A-Za-z0-9_]*",
|
|
342
|
+
value: envKey,
|
|
343
|
+
onInput: (event) => setEnvKey(event.currentTarget.value)
|
|
344
|
+
})
|
|
345
|
+
}),
|
|
346
|
+
/* @__PURE__ */ _jsx(Field, {
|
|
347
|
+
label: "Context window",
|
|
348
|
+
hint: "tokens; empty uses Codex's default, 272000",
|
|
349
|
+
children: /* @__PURE__ */ _jsx("input", {
|
|
350
|
+
name: "contextWindow",
|
|
351
|
+
type: "number",
|
|
352
|
+
min: "1",
|
|
353
|
+
step: "1",
|
|
354
|
+
placeholder: "272000",
|
|
355
|
+
autocomplete: "off",
|
|
356
|
+
value: contextWindow ?? (reported ? String(reported) : ""),
|
|
357
|
+
onInput: (event) => setContextWindow(event.currentTarget.value)
|
|
358
|
+
})
|
|
325
359
|
})
|
|
326
|
-
|
|
360
|
+
]
|
|
327
361
|
})]
|
|
328
362
|
}), /* @__PURE__ */ _jsx(Button, {
|
|
329
363
|
type: "submit",
|
|
@@ -6,14 +6,14 @@ import "./list.8cbee173a5aff98d.css.pnext-asset.js";
|
|
|
6
6
|
import "./@/app/dash/[org]/setup/outcome.3ad5f7ec67e5238d.css.pnext-asset.js";
|
|
7
7
|
import { dynamic } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/dynamic.tsx";
|
|
8
8
|
import { notFound } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/navigation.ts";
|
|
9
|
-
import { DEFAULT_CONFIG } from "../../../../../../../core/defaults.
|
|
10
|
-
import { load } from "../../../../../api/load.
|
|
11
|
-
import { Settle, Stream } from "../../../../../comps/frame/stream.
|
|
9
|
+
import { DEFAULT_CONFIG } from "../../../../../../../core/defaults.e972c134a1ae918f.js";
|
|
10
|
+
import { load } from "../../../../../api/load.30ed8c28774a1a82.js";
|
|
11
|
+
import { Settle, Stream } from "../../../../../comps/frame/stream.c32d78562f75db25.js";
|
|
12
12
|
import { Loading } from "../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
13
|
-
import { SETTINGS } from "../settings-head.
|
|
13
|
+
import { SETTINGS } from "../settings-head.705be0b1129b97af.js";
|
|
14
14
|
import { isAdmin, localServer } from "../../../../../api/types.79f9092cdb5a00d1.js";
|
|
15
15
|
import { outcomeName, outcomeText, outcomeTitle, readOutcome, succeeded } from "../../setup/outcome.cbbc8cd1bbbee01b.js";
|
|
16
|
-
import { Credentials } from "./credentials.
|
|
16
|
+
import { Credentials } from "./credentials.1443bbed1ff1d441.js";
|
|
17
17
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
18
18
|
const ADMIN_ROLES = new Set(["owner", "admin"]);
|
|
19
19
|
/** What a connection's sign-in says when it comes back with `outcome`. */
|
|
@@ -24,30 +24,30 @@ const SIGN_IN = {
|
|
|
24
24
|
failed: SIGN_IN_FAILED,
|
|
25
25
|
"invalid-state": "This sign-in link expired or was already used. Try Reconnect."
|
|
26
26
|
};
|
|
27
|
-
const ModelsList = dynamic(() => import("./models-list.
|
|
27
|
+
const ModelsList = dynamic(() => import("./models-list.31d369f1b7ab45da.js").then((m) => m.ModelsList), undefined, {
|
|
28
28
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../src/server/dash/app/dash/[org]/settings/[tab]/models-list.tsx", import.meta.url).pathname),
|
|
29
29
|
"exportName": "ModelsList",
|
|
30
|
-
"id": "c-
|
|
30
|
+
"id": "c-eb838a4d62"
|
|
31
31
|
});
|
|
32
|
-
const ConnectionsList = dynamic(() => import("./connections-list.
|
|
32
|
+
const ConnectionsList = dynamic(() => import("./connections-list.97381888bfdd711b.js").then((m) => m.ConnectionsList), undefined, {
|
|
33
33
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../src/server/dash/app/dash/[org]/settings/[tab]/connections-list.tsx", import.meta.url).pathname),
|
|
34
34
|
"exportName": "ConnectionsList",
|
|
35
|
-
"id": "c-
|
|
35
|
+
"id": "c-f019ede53d"
|
|
36
36
|
});
|
|
37
|
-
const OutcomeDialog = dynamic(() => import("../../setup/outcome-dialog.
|
|
37
|
+
const OutcomeDialog = dynamic(() => import("../../setup/outcome-dialog.18cf32fa42247b91.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-d6a383147e"
|
|
41
41
|
});
|
|
42
|
-
const EnginesList = dynamic(() => import("./engines-list.
|
|
42
|
+
const EnginesList = dynamic(() => import("./engines-list.d47db60d7dc01ebd.js").then((m) => m.EnginesList), undefined, {
|
|
43
43
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../src/server/dash/app/dash/[org]/settings/[tab]/engines-list.tsx", import.meta.url).pathname),
|
|
44
44
|
"exportName": "EnginesList",
|
|
45
|
-
"id": "c-
|
|
45
|
+
"id": "c-3d56b900ab"
|
|
46
46
|
});
|
|
47
|
-
const RunnersList = dynamic(() => import("./runners-list.
|
|
47
|
+
const RunnersList = dynamic(() => import("./runners-list.1e83449aa6593224.js").then((m) => m.RunnersList), undefined, {
|
|
48
48
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../../../src/server/dash/app/dash/[org]/settings/[tab]/runners-list.tsx", import.meta.url).pathname),
|
|
49
49
|
"exportName": "RunnersList",
|
|
50
|
-
"id": "c-
|
|
50
|
+
"id": "c-211bc78b0f"
|
|
51
51
|
});
|
|
52
52
|
/** One settings tab. */
|
|
53
53
|
export default async function SettingsTabPage({ request, params }) {
|