@wular/coder 0.4.11 → 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 +4 -2
- package/dist/actions-D12xDiQS.js +4 -0
- package/dist/{adapter-DYxjaefw.js → adapter-Bz0E-DAY.js} +2 -2
- package/dist/{adapter-CkL4PqXE.js → adapter-CsacmMmv.js} +1 -1
- package/dist/adapter-DzpdWewB.js +1 -0
- package/dist/{agent-6GooVMsq.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-BhpnOCbn.js +1 -0
- package/dist/base64url-CsVsW4Id.js +1 -0
- package/dist/builtin/coder/agent.json +0 -1
- package/dist/builtin/coder/system.md +1 -1
- package/dist/chat-CSepnsrK.js +13 -0
- package/dist/cli.js +19 -1
- package/dist/{client-sqXb-y09.js → client-C4QCT6cG.js} +2 -2
- 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/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 +1302 -1282
- package/dist/dash/standalone/server/modules-server-server-react-server/src/agent/context/turn.6bb73458768e222e.js +129 -0
- 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.5f88059c03cf82b4.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.b7392d534ce0410e.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.5aae24bbfd90c434.js → page.4b23e9df21433bd3.js} +10 -10
- 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.91c992fdd3b4a493.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.eb707a9e32718374.js → agent-settings-form.ee0bb2dc4d403ec3.js} +9 -9
- 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.9ec1ec08ba05da59.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.dd9088a4581b1d65.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.71dc042821133e82.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.e3179ddf20a7e55d.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.62cb8207218e6437.js → editor.471af698b8060eba.js} +32 -21
- 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.dffb05f2d256d81a.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.56520888d5270b88.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.25b29e72df84806b.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.f2e902c8208b2e78.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.b0bb1faaac8e0b6c.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.a0c68180db5fb4c1.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.b52a49fb5faeefd0.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.80f9c9a42ecae854.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.20b5c22658eae312.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-a76e495fb39a73d3.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{agent-pills-bd32cb89331aff7e.js → agent-pills-4d3c6a2aa9eb1522.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/agent-settings-form-f7231a66e391f6b6.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{agent-toggle-a45b95908d62f926.js → agent-toggle-d7d27123f2070f18.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{agents-grid-9f79b5074899c8be.js → agents-grid-185ecb3d86c6c447.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{back-b0cd2b85c9d8403e.js → back-e29cb10f5548ddae.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{combo-1050768988cd0347.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-87f138e21d68370d.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-01d5814b1c5f7721.js → confirm-a78147b6ecef3847.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/connect-apps-696726aedab42c96.js +1 -0
- package/dist/dash/standalone/static/assets/chunks/{connect-repositories-49098298b3a82647.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-5db9d328f8f65d82.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-fdf1946aac09cfc3.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-c530e261587d94df.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-3ea5afeea1992bf2.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-8939183c8a889bae.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-6323cb5300b6d3c9.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/{runtime-71b727f8f5906f08-1.js → runtime-6e12333f12903a62-1.js} +1 -1
- 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-6e12333f12903a62-2.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-81b69d49bfebfd4c.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-fbeed95c0b4e5f0f.js → versions-list-f8f2e71df691efda.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{wular-pnext-71b727f8f5906f08-0.js → wular-pnext-6e12333f12903a62-0.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-6cd93f9bd4cf6ffd.js +1 -0
- 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-e4c659a371f4cd79.js → pnext-client-eb62f461d0c32266.js} +1 -1
- package/dist/discover-CHfF4cEz.js +1 -0
- package/dist/docs-KHc0_gFX.js +2 -0
- package/dist/drive-Bwl7Bjme.js +1 -0
- 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 +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/hook-CIipj9MJ.js +1 -0
- package/dist/http-Cg8PSe-c.js +1 -0
- package/dist/{types-C6NAqGqn.d.ts → index-ChcxzFdB.d.ts} +734 -285
- 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-CKCIWOvn.js +1 -0
- package/dist/{match-BwcxeAZF.js → match-CufHAZQH.js} +1 -1
- package/dist/mcp-BkwmRHI9.js +2 -0
- package/dist/mcp-CGU7aoJ-.js +1 -0
- package/dist/mcp-DAHbhfUh.js +13 -0
- package/dist/models-CzggS7p2.js +1 -0
- package/dist/output-SNqdgh9A.js +17 -0
- package/dist/permission-MWFjKxqX.js +1 -0
- package/dist/prompt-CIx4jwQF.js +8 -0
- package/dist/refresh-CxsaX5R9.js +1 -0
- package/dist/remote-C9Hj2cby.js +2 -0
- package/dist/remote-HUZCWgfl.js +3 -0
- package/dist/runner-DYysY1-G.js +1 -0
- package/dist/runner.json +1 -1
- package/dist/runner.tgz +0 -0
- package/dist/runners-CfaGE0nV.js +36 -0
- package/dist/schema.d.ts +1 -1
- package/dist/schema.js +8 -1
- package/dist/sdk.d.ts +12733 -4
- 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-FVop8XYG.js +1 -0
- 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-nJ7sEi-M.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 +18 -20
- 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 +118 -0
- package/docs/cli/runner.md +92 -0
- package/docs/cli/server.md +89 -0
- package/docs/cli/task.md +273 -0
- package/docs/config.md +5 -15
- package/docs/flows.md +1 -7
- package/docs/mcp.md +8 -8
- package/docs/models.md +7 -6
- package/docs/review.md +4 -0
- package/docs/sdk.md +29 -29
- package/docs/self-host.md +25 -25
- 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-Cwe3IDVs.js +0 -2
- package/dist/adapter-Bi768A94.js +0 -1
- package/dist/add-B6vPKZEr.js +0 -1
- package/dist/add-n6c9OINP.js +0 -2
- package/dist/add-v1Pv00HX.js +0 -1
- package/dist/add-wC8ByRgM.js +0 -6
- package/dist/agent-BkxXgha0.js +0 -1
- package/dist/alias-A8ObWElH.js +0 -2
- package/dist/app-CaxTL1H3.js +0 -1
- package/dist/approvals-h5lytkey.js +0 -2
- package/dist/approve-BNhg0MLi.js +0 -2
- package/dist/approve-BiHM8kSo.js +0 -1
- package/dist/apps-BNe86LfS.js +0 -367
- package/dist/archive-CMHRsVYf.js +0 -4
- package/dist/archive-H2B7Me8E.js +0 -3
- package/dist/args-CURX44CA.js +0 -1
- package/dist/ask-D8TIVhPl.js +0 -4
- package/dist/auth-BSMPjhnz.js +0 -1
- package/dist/auth-D3quZAKT.js +0 -1
- package/dist/chat-3AvUDOwf.js +0 -13
- package/dist/chat-bridge-BmqYsASZ.js +0 -2
- package/dist/cli-BBlH53hA.js +0 -9
- package/dist/config-K6Rrjsee.js +0 -3
- package/dist/connection-B-IB8tlP.js +0 -1
- package/dist/connection-BXBDeoax.js +0 -1
- package/dist/create-CP_JmJnh.js +0 -1
- package/dist/credentials-BRFajC0d.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/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/action-fc8716cda7527d8c.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/agent-settings-form-f5576a2c50fce094.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/composer-8f0e8b1d07e74aad.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/composer-data-5fed6c271a4791ca.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/connect-apps-857dc9fa3f6f5bbc.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/connections-list-46d48443d8fc8a0d.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/create-link-6b6e9eeac436c4af.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/credentials-list-3cccc85ef335cb22.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/defaults-52f30e83d7666f7a.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/editor-d2460c315bb1fd32.js +0 -6
- package/dist/dash/standalone/static/assets/chunks/engines-list-0159c8baa0b3e711.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/instructions-d8884576a18e6cdb.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/list-b67ce61483dd6acb.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/models-list-98c956ba00913a73.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/outcome-dialog-be3fbe8c4b43d180.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/platform-actions-aafbf038008de64f.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/platform-actions-ed27388f722b4a4c.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/runners-list-a13d0f8f6583c6d2.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/secrets-list-53a0c079492199c9.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/segmented-a3642b8169857fb1.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/shared-init-6cad28f8cc696d91.js +0 -2
- package/dist/dash/standalone/static/assets/chunks/shared-init-71b727f8f5906f08-2.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/shared-init-94883db7bc70a5a8.js +0 -5
- package/dist/dash/standalone/static/assets/chunks/side-toggle-a2f67a8671a0309b.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/task-95daa40d39de664f.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/task-actions-25c70b47b5a53cd2.js +0 -1
- package/dist/dash/standalone/static/assets/chunks/task-view-e5ee0ada38552918.js +0 -5
- package/dist/dash/standalone/static/assets/chunks/tasks-list-d58f3063ae31d9d2.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-037852a9f274c8c8.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-10eac8df53f62104.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-12635905e9754177.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-12955733c71cc641.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-26999113ea61d5b9.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-27b6e4b7d1697094.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-34fec171024dd082.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-44eb6d4096f7e875.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-4c558a168b95d9b1.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-5d21f3dd3f4407af.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-5fe04a4e1dff28a3.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-88bbc009041aa776.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-b36106c6b8a6cd35.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-b47dda1cd4cfac04.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-b556f5611fdcf545.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-b8485144ca29d436.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-c5c3c90b3518c5a8.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-f139547dc55d7d76.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-fd280710b31af681.js +0 -1
- package/dist/default-Ojx5oFuw.js +0 -1
- package/dist/delete-D1hEPpsk.js +0 -2
- package/dist/delete-UyzcQPoG.js +0 -4
- package/dist/disable-Dml_Slph.js +0 -1
- package/dist/discover-CyIfIBGD.js +0 -3
- package/dist/dispatch-CFZ9Crvg.js +0 -8
- package/dist/docs-BUHKbQjM.js +0 -2
- package/dist/docs-CvjWiada.js +0 -2
- package/dist/drive-BqunNi9n.js +0 -1
- package/dist/enable-xye-Nanc.js +0 -1
- package/dist/env-BgE9ipvN.js +0 -1
- package/dist/exec-Cprez703.js +0 -3
- package/dist/executor-3QMa-XRY.js +0 -11
- package/dist/flow/builtin/review.d.ts +0 -2
- package/dist/flow/builtin/review.js +0 -12
- package/dist/flow-CtillCQY.js +0 -1
- package/dist/history-C53URBjs.js +0 -8
- package/dist/http-CDZKt5ln.js +0 -1
- package/dist/hub-B0WCXtsP.js +0 -2
- package/dist/init-HdSVUozH.js +0 -1
- package/dist/integrations-BdLs4W6o.js +0 -1
- package/dist/integrations-IGnXBrPw.js +0 -2
- package/dist/list-1IMeVNg3.js +0 -1
- package/dist/list-BTjIMvNs.js +0 -1
- package/dist/list-BlOB32n6.js +0 -4
- package/dist/list-CZGTVKcS.js +0 -4
- package/dist/list-CquHtsmW.js +0 -3
- package/dist/list-CxjPT0Il.js +0 -1
- package/dist/list-DvFVuGT_.js +0 -1
- package/dist/list-gFnOS9Hk.js +0 -2
- package/dist/load-Q9fL4VC6.js +0 -2
- package/dist/local-Bzdmzc1o.js +0 -5
- package/dist/log-view-CL3_S0IQ.js +0 -3
- package/dist/login-C723kHh6.js +0 -1
- package/dist/login-Dq3r6gh6.js +0 -1
- package/dist/logout-DEg0aTmq.js +0 -1
- package/dist/maintenance-DYOstY6V.js +0 -1
- package/dist/mcp-CKqinFkk.js +0 -1
- package/dist/mcp-Dsl3Xdd3.js +0 -13
- package/dist/mcp-server-BlP9lACI.js +0 -1
- package/dist/model-Bs27g5EX.js +0 -1
- package/dist/models-Cb0ZTKZ7.js +0 -1
- package/dist/output-BKeyLbvt.js +0 -5
- package/dist/prompt-PEgcMJO7.js +0 -8
- package/dist/prompts-Bj4Fbd_n.js +0 -78
- package/dist/push-DpEW4XbQ.js +0 -1
- package/dist/reconnect-BmP_XXDv.js +0 -1
- package/dist/refresh-SHNJq9Cx.js +0 -1
- package/dist/remote-D3JZ4MMQ.js +0 -3
- package/dist/remove-BZZgJq8Z.js +0 -1
- package/dist/remove-CId1EwPg.js +0 -1
- package/dist/remove-Ci87WQq0.js +0 -1
- package/dist/remove-DxCv9BB4.js +0 -1
- package/dist/rename-DJaf5SwH.js +0 -1
- package/dist/result-BesDQ-b1.js +0 -5
- package/dist/result-D0dpv2O_.js +0 -18
- package/dist/resume-2Y0uC5MM.js +0 -3
- package/dist/review-DIm9oK_W.js +0 -7
- package/dist/review-Dxs-idTn.d.ts +0 -566
- package/dist/rotate-key-CS1G6ReH.js +0 -1
- package/dist/run-BKUd6B8S.js +0 -2
- package/dist/run-DjTTb8oA.js +0 -5
- package/dist/run-UPW-7pKo.js +0 -2
- package/dist/runner-BLS_ReEw.js +0 -1
- package/dist/runner-BM_98EQl.js +0 -1
- package/dist/runners-DyLnqHKy.js +0 -36
- package/dist/schema-CjHmulYJ.js +0 -8
- package/dist/sdk-B4Cl0Hbw.d.ts +0 -12551
- package/dist/serve-BApfeXk8.js +0 -12
- package/dist/serve-DE1cKoGa.js +0 -1
- package/dist/serve-lF97RlpX.js +0 -2
- package/dist/serve-mXTjboT1.js +0 -1
- package/dist/server-CUsxAflx.js +0 -1
- package/dist/setup-host-tlsilI6C.js +0 -6
- package/dist/show-Dn7zTz-9.js +0 -1
- package/dist/show-uyUpeqa9.js +0 -1
- package/dist/slack-DhPhLuWb.js +0 -5
- package/dist/status-D_1VGn9F.js +0 -1
- package/dist/steer-CMp-a7v2.js +0 -4
- package/dist/stop-C7YjN2sB.js +0 -1
- package/dist/stop-D8G7AtdY.js +0 -3
- package/dist/task-DJ6nruuA.js +0 -1
- package/dist/task-DeFLNmQH.js +0 -1
- package/dist/task-bkoi8_NN.js +0 -7
- package/dist/test-BD9rvefN.js +0 -1
- package/dist/tools-CdWkwI1g.js +0 -1
- package/dist/types-D_xnfP7m.js +0 -1
- package/dist/unalias-bL5t8Isc.js +0 -1
- package/dist/update-DIYW08ME.js +0 -2
- package/dist/upgrade-3fH6dGJw.js +0 -2
- package/dist/usage-Dr8F0xt0.js +0 -1
- package/dist/views-CE2d9x6T.js +0 -5
- package/dist/watch-BiyN4NxE.js +0 -5
- package/dist/watch-DJXu13jK.js +0 -9
- package/dist/worker-CHD_OiQS.js +0 -1
- package/dist/worker-KfrTK_Dk.js +0 -2
- package/dist/workflow-C21qQ4rT.js +0 -1
- package/docs/agents/prompt.md +0 -231
- package/docs/cli.md +0 -155
- /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
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/** @jsxImportSource contextjsx */
|
|
2
|
+
/** An agent turn's messages: events, requests and history. */
|
|
3
|
+
import { Data, render } from "../../../../../node_modules/contextjsx/dist/index.mjs";
|
|
4
|
+
import { jsx as _jsx } 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
|
+
...message.isMention ? { mention: true } : {},
|
|
53
|
+
author: {
|
|
54
|
+
id: author.userId,
|
|
55
|
+
handle: author.userName,
|
|
56
|
+
name: author.fullName,
|
|
57
|
+
...author.isBot ? { bot: 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
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CoderError } from "../core/errors.
|
|
1
|
+
import { CoderError } from "../core/errors.1bd0542d832ae0c0.js";
|
|
2
2
|
export class ClientError extends CoderError {
|
|
3
3
|
authenticate;
|
|
4
4
|
needs;
|
|
@@ -203,19 +203,21 @@ export class ServerClient {
|
|
|
203
203
|
...options
|
|
204
204
|
}),
|
|
205
205
|
ask: (id, question) => this.post(`/admin/tasks/${encodeURIComponent(id)}/ask`, { question }),
|
|
206
|
-
approve: (id, approvalId, decision) => this.post(`/admin/tasks/${encodeURIComponent(id)}/approve`, {
|
|
206
|
+
approve: (id, approvalId, decision, options = {}) => this.post(`/admin/tasks/${encodeURIComponent(id)}/approve`, {
|
|
207
207
|
approvalId,
|
|
208
|
-
decision
|
|
208
|
+
decision,
|
|
209
|
+
...options
|
|
209
210
|
}),
|
|
210
211
|
archive: (id) => this.post(`/admin/tasks/${encodeURIComponent(id)}/archive`),
|
|
211
212
|
delete: (id) => this.request(`/admin/tasks/${encodeURIComponent(id)}`, { method: "DELETE" }),
|
|
212
213
|
/** Start a task from a prompt, or a flow with `flow` and `args`. */
|
|
213
214
|
create: (input) => this.post("/admin/tasks", input),
|
|
214
|
-
/** Follow the task's event stream until it ends; `onLog` sees each log line as it lands. */
|
|
215
|
+
/** Follow the task's event stream until it ends or waits on an approval; `onLog` sees each log line as it lands. */
|
|
215
216
|
wait: async (id, options = {}) => {
|
|
216
217
|
let after = -1;
|
|
217
218
|
for (;;) {
|
|
218
|
-
const
|
|
219
|
+
const abort = new AbortController();
|
|
220
|
+
const response = await this.tasks.stream(id, after, abort.signal);
|
|
219
221
|
if (!response.ok || !response.body) {
|
|
220
222
|
// `get` renews an expired token before the stream is asked again.
|
|
221
223
|
const status = await this.tasks.get(id);
|
|
@@ -229,8 +231,12 @@ export class ServerClient {
|
|
|
229
231
|
const line = JSON.parse(event.data);
|
|
230
232
|
after = line.seq;
|
|
231
233
|
options.onLog?.(line);
|
|
232
|
-
} else if (event.event === "end"
|
|
234
|
+
} else if (event.event === "end" || event.event === "approval") {
|
|
235
|
+
ended = true;
|
|
236
|
+
break;
|
|
237
|
+
}
|
|
233
238
|
}
|
|
239
|
+
// Leaving the loop cancels the body; aborting first surfaces as "This operation was aborted".
|
|
234
240
|
if (ended) return this.tasks.get(id);
|
|
235
241
|
}
|
|
236
242
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/** Built-in config every file and flag merges over; import-free so the shipped dashboard can read it. */
|
|
2
2
|
export const DEFAULT_CONFIG = {
|
|
3
|
-
conversationCompactTokens: 7e4,
|
|
4
3
|
// Agents are tried in order; the next one is the fallback when the previous
|
|
5
4
|
// fails to start (missing binary, auth, quota, rate limit).
|
|
6
5
|
chain: [
|
|
@@ -21,10 +20,7 @@ export const DEFAULT_CONFIG = {
|
|
|
21
20
|
}
|
|
22
21
|
},
|
|
23
22
|
models: {},
|
|
24
|
-
approvals: {
|
|
25
|
-
escalationTimeoutMs: 12e4,
|
|
26
|
-
allowedNetworkHosts: []
|
|
27
|
-
}
|
|
23
|
+
approvals: { allowedNetworkHosts: [] }
|
|
28
24
|
};
|
|
29
25
|
/** The engine an agent runs on when its settings name none. */
|
|
30
26
|
export const DEFAULT_ENGINE = DEFAULT_CONFIG.chain[0];
|
|
@@ -36,6 +32,8 @@ export const SKIPPED = "Skipped: the agent chose not to reply.";
|
|
|
36
32
|
export const EMPTY_MESSAGE_NOTICE = "The agent returned no reply.";
|
|
37
33
|
/** The default task list's groups: failed first, then active, then other stopped, then completed. */
|
|
38
34
|
export const listRank = (status) => status === "failed" ? 0 : status === "completed" ? 3 : status === "cancelled" ? 2 : 1;
|
|
35
|
+
/** Whether a task waits on a person: its turn waits, or an escalation is open whatever its turn does. */
|
|
36
|
+
export const awaitsApproval = (status, approvals) => status === "waiting" || Boolean(approvals?.some((approval) => !approval.response));
|
|
39
37
|
/** Ids in byte order, as Postgres `collate "C"` compares them. */
|
|
40
38
|
export const byId = (a, b) => a < b ? -1 : a > b ? 1 : 0;
|
|
41
39
|
/** The task list order: `listRank` groups, newest start first, ties broken by id. */
|
|
@@ -8,7 +8,12 @@ export function addTokens(a, b) {
|
|
|
8
8
|
total: a.total + b.total
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
-
export const isApproval = (kind) =>
|
|
11
|
+
export const isApproval = (kind) => [
|
|
12
|
+
"approval-escalated",
|
|
13
|
+
"approval-answered",
|
|
14
|
+
"approval-decision",
|
|
15
|
+
"auto-review"
|
|
16
|
+
].includes(kind);
|
|
12
17
|
const ANSI = /\x1b\[[0-9;?]*[ -/]*[@-~]|\x1b\][^\x07\x1b]*(?:\x07|\x1b\\)/g;
|
|
13
18
|
export function stripCwd(text, cwd) {
|
|
14
19
|
return cwd ? text.split(`${cwd}/`).join("").split(cwd).join(".") : text;
|
|
@@ -40,7 +45,6 @@ export class LogView {
|
|
|
40
45
|
openCalls = [];
|
|
41
46
|
// Engine invocation ids, so concurrent calls of one tool close with their own results.
|
|
42
47
|
callIds = new WeakMap();
|
|
43
|
-
approval;
|
|
44
48
|
approvals = new Map();
|
|
45
49
|
lastUsageTotal = 0;
|
|
46
50
|
constructor(cwd, opts = {}) {
|
|
@@ -54,7 +58,7 @@ export class LogView {
|
|
|
54
58
|
reduce(record) {
|
|
55
59
|
const entry = record.entry;
|
|
56
60
|
const sourceKind = entry ? String(entry.kind ?? "status") : "line";
|
|
57
|
-
const earlier = !entry ? undefined : sourceKind === "tool-result" ? this.close(record, entry) :
|
|
61
|
+
const earlier = !entry ? undefined : sourceKind === "tool-result" ? this.close(record, entry) : sourceKind === "approval-answered" ? this.decide(record, entry) : undefined;
|
|
58
62
|
if (earlier) {
|
|
59
63
|
this.prevKind = sourceKind;
|
|
60
64
|
return [earlier];
|
|
@@ -84,30 +88,41 @@ export class LogView {
|
|
|
84
88
|
this.lastUsageTotal = tokens.total;
|
|
85
89
|
row.kind = "usage";
|
|
86
90
|
row.tokens = tokens;
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
const
|
|
92
|
-
const name = method && !method.includes("/") ? method : this.openCalls.at(-1)?.tool;
|
|
93
|
-
const word = target.startsWith("{") ? "" : target.split(/\s+/)[0];
|
|
91
|
+
// The engine's last request is the context; the turn's summed input overstates it (codex counts cached input twice over).
|
|
92
|
+
const context = typeof entry.context === "number" ? entry.context : tokens.input + tokens.cachedInput;
|
|
93
|
+
row.title = `ctx ${tokenCount(context)} · out ${tokenCount(tokens.output)}`;
|
|
94
|
+
} else if (sourceKind === "approval-escalated") {
|
|
95
|
+
const actions = Array.isArray(entry.actions) ? entry.actions.map(String) : [];
|
|
94
96
|
const reason = stripCwd(entry.reason ? String(entry.reason) : "", this.cwd);
|
|
95
97
|
row.kind = "approval";
|
|
96
|
-
row.title = [
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
98
|
+
row.title = [
|
|
99
|
+
"Approval needed",
|
|
100
|
+
reason,
|
|
101
|
+
`${actions.length} action${actions.length === 1 ? "" : "s"}`
|
|
102
|
+
].filter(Boolean).join(" · ");
|
|
103
|
+
row.detail = stripCwd(actions.map((action, index) => `${index + 1}. ${action.replaceAll("\n", "\n ")}`).join("\n"), this.cwd);
|
|
104
|
+
row.state = "waiting";
|
|
105
|
+
this.approvals.set(String(entry.approvalId), row);
|
|
106
|
+
} else if (sourceKind === "approval-answered") {
|
|
107
|
+
row.kind = "approval";
|
|
108
|
+
row.title = "Approval";
|
|
109
|
+
Object.assign(row, settle(row, record, entry));
|
|
110
|
+
} else if (sourceKind === "approval-decision") {
|
|
111
|
+
const summary = stripCwd(entry.summary ? String(entry.summary) : "", this.cwd);
|
|
112
|
+
const allowed = entry.decision === "accept";
|
|
113
|
+
row.kind = "approval";
|
|
114
|
+
row.title = [allowed ? "Allowed as approved" : "Refused by the reviewer", summary].filter(Boolean).join(" · ");
|
|
115
|
+
row.detail = stripCwd(entry.reason ? String(entry.reason) : "", this.cwd);
|
|
116
|
+
if (!allowed) row.tone = "error";
|
|
117
|
+
} else if (sourceKind === "auto-review") {
|
|
102
118
|
row.kind = "approval";
|
|
103
|
-
const label = sourceKind === "sidecar-decision" ? "sidecar" : sourceKind === "auto-review" ? "auto-review" : "approval";
|
|
104
119
|
const risk = entry.riskLevel ? `(${String(entry.riskLevel)} risk)` : "";
|
|
105
120
|
const summary = stripCwd(entry.summary ? String(entry.summary) : "", this.cwd);
|
|
106
121
|
const target = summary.slice(summary.indexOf(": ") + 2);
|
|
107
122
|
const shown = summary && target && this.lastToolText.includes(target) ? "" : summary;
|
|
108
123
|
const method = shown ? "" : String(entry.method ?? "");
|
|
109
124
|
row.title = `${[
|
|
110
|
-
|
|
125
|
+
"auto-review",
|
|
111
126
|
String(entry.decision ?? ""),
|
|
112
127
|
risk,
|
|
113
128
|
method
|
|
@@ -172,46 +187,23 @@ export class LogView {
|
|
|
172
187
|
}
|
|
173
188
|
};
|
|
174
189
|
}
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
const accepted = entry.decision === "accept";
|
|
179
|
-
if (kind === "sidecar-decision" && this.approval) {
|
|
180
|
-
const reason = stripCwd(entry.reason ? String(entry.reason) : "", this.cwd);
|
|
181
|
-
const row = {
|
|
182
|
-
...this.approval,
|
|
183
|
-
detail: [this.approval.detail, reason && `Sidecar · ${reason}`].filter(Boolean).join("\n")
|
|
184
|
-
};
|
|
185
|
-
if (entry.decision === "escalate") return this.approval = row;
|
|
186
|
-
this.approval = undefined;
|
|
187
|
-
return settle(row, record, `${accepted ? "accepted" : "denied"} by sidecar`, accepted);
|
|
188
|
-
}
|
|
189
|
-
if (kind === "approval-escalated" && this.approval) {
|
|
190
|
-
const row = {
|
|
191
|
-
...this.approval,
|
|
192
|
-
state: "waiting"
|
|
193
|
-
};
|
|
194
|
-
this.approval = undefined;
|
|
195
|
-
this.approvals.set(id, row);
|
|
196
|
-
return row;
|
|
197
|
-
}
|
|
198
|
-
const open = this.approvals.get(id);
|
|
199
|
-
if (!open || kind !== "approval-answered" && kind !== "approval-timeout") return undefined;
|
|
200
|
-
this.approvals.delete(id);
|
|
201
|
-
return kind === "approval-timeout" ? settle(open, record, "timed out", false) : settle(open, record, `${accepted ? "accepted" : "denied"} by reviewer`, accepted);
|
|
190
|
+
decide(record, entry) {
|
|
191
|
+
const open = this.approvals.get(String(entry.approvalId));
|
|
192
|
+
return open ? settle(open, record, entry) : undefined;
|
|
202
193
|
}
|
|
203
194
|
output(text) {
|
|
204
195
|
return stripCwd(this.opts.keepAnsi ? text : text.replace(ANSI, ""), this.cwd);
|
|
205
196
|
}
|
|
206
197
|
}
|
|
207
|
-
function settle(row, record,
|
|
198
|
+
function settle(row, record, entry) {
|
|
199
|
+
const ok = entry.decision === "accept";
|
|
208
200
|
return {
|
|
209
201
|
...row,
|
|
210
|
-
state
|
|
202
|
+
state: `${ok ? "approved" : "denied"} ${entry.by ? `by ${String(entry.by)}` : "in Coder"}`,
|
|
211
203
|
result: {
|
|
212
204
|
ok,
|
|
213
205
|
durationMs: Math.max(0, record.at - row.at || 0),
|
|
214
|
-
detail: ""
|
|
206
|
+
detail: !ok && entry.reason ? String(entry.reason) : ""
|
|
215
207
|
}
|
|
216
208
|
};
|
|
217
209
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ServerClient, ClientError } from "../../../client/index.
|
|
2
|
-
import { CoderError } from "../../../core/errors.
|
|
3
|
-
import { DEFAULT_ENGINE } from "../../../core/defaults.
|
|
4
|
-
import { NO_MODELS, modelsByEngine } from "../app/dash/[org]/settings/model-options.
|
|
1
|
+
import { ServerClient, ClientError } from "../../../client/index.de1f1311bab4252f.js";
|
|
2
|
+
import { CoderError } from "../../../core/errors.1bd0542d832ae0c0.js";
|
|
3
|
+
import { DEFAULT_ENGINE } from "../../../core/defaults.e972c134a1ae918f.js";
|
|
4
|
+
import { NO_MODELS, modelsByEngine } from "../app/dash/[org]/settings/model-options.73f8d0d54f79d8e3.js";
|
|
5
5
|
export function encodeDefinition(definition) {
|
|
6
6
|
return Buffer.from(JSON.stringify(definition), "utf8").toString("base64url");
|
|
7
7
|
}
|
|
@@ -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.78267fa3d7905d17.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";
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { dynamic } from "../../../../../../../../node_modules/@wular/pnext/src/api/dynamic.tsx";
|
|
2
|
+
import { redirect } from "../../../../../../../../node_modules/@wular/pnext/src/api/navigation.ts";
|
|
3
|
+
import { load } from "../../../api/load.30ed8c28774a1a82.js";
|
|
2
4
|
import { AuthPanel } from "../../../comps/frame/auth-panel.5712a8d190b003b4.js";
|
|
5
|
+
import { Button, LinkButton } from "../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
3
6
|
import { Outcome, readOutcome } from "../../dash/[org]/setup/outcome.cbbc8cd1bbbee01b.js";
|
|
4
7
|
import { jsx as _jsx } from "../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
5
|
-
const CreateLink = dynamic(() => import("../../dash/[org]/setup/create-link.
|
|
8
|
+
const CreateLink = dynamic(() => import("../../dash/[org]/setup/create-link.19b4c50ef497aca1.js").then((m) => m.CreateLink), undefined, {
|
|
6
9
|
"file": decodeURIComponent(new URL("../../../../../../../../../../../src/server/dash/app/dash/[org]/setup/create-link.tsx", import.meta.url).pathname),
|
|
7
10
|
"exportName": "CreateLink",
|
|
8
|
-
"id": "c-
|
|
11
|
+
"id": "c-7f1dcf028e"
|
|
9
12
|
});
|
|
10
13
|
/** A signed link from `coder server app create`: its transaction alone authorizes it, with no workspace, and shows how it ended. */
|
|
11
14
|
export default async function ServerAppPage({ request, params }) {
|
|
@@ -14,13 +17,30 @@ export default async function ServerAppPage({ request, params }) {
|
|
|
14
17
|
const integration = Array.isArray(raw) ? raw[0] : raw;
|
|
15
18
|
const search = new URL(request.url).searchParams;
|
|
16
19
|
const outcome = readOutcome(search);
|
|
20
|
+
// Signed in: where the app is connected next; a link from the CLI may come without a session.
|
|
21
|
+
const me = outcome ? await load(request).me().catch(() => undefined) : undefined;
|
|
22
|
+
const org = me?.organization?.slug;
|
|
23
|
+
// An operator ends on the Operator page with the outcome as a dialog; the panel is for links opened without one.
|
|
24
|
+
if (outcome && org && me?.operator) {
|
|
25
|
+
const query = new URLSearchParams(search);
|
|
26
|
+
query.delete("tx");
|
|
27
|
+
redirect(`/dash/${encodeURIComponent(org)}/operator?${query}`);
|
|
28
|
+
}
|
|
17
29
|
return /* @__PURE__ */ _jsx(AuthPanel, {
|
|
18
30
|
tag: "server app",
|
|
19
31
|
title: "Create app",
|
|
20
32
|
lead: "This app is shared by every workspace on this server.",
|
|
21
33
|
children: outcome ? /* @__PURE__ */ _jsx(Outcome, {
|
|
22
34
|
outcome,
|
|
23
|
-
catalog: []
|
|
35
|
+
catalog: [],
|
|
36
|
+
children: org ? /* @__PURE__ */ _jsx(LinkButton, {
|
|
37
|
+
href: "/dash/[org]/agents",
|
|
38
|
+
params: { org },
|
|
39
|
+
children: "Connect it in your workspace"
|
|
40
|
+
}) : /* @__PURE__ */ _jsx(Button, {
|
|
41
|
+
href: "/dash",
|
|
42
|
+
children: "Open dashboard"
|
|
43
|
+
})
|
|
24
44
|
}) : /* @__PURE__ */ _jsx(CreateLink, {
|
|
25
45
|
integration,
|
|
26
46
|
state: Object.fromEntries(search)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Loading } from "../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
2
|
-
import { Page, PageHead } from "../../../../comps/frame/page-head.
|
|
2
|
+
import { Page, PageHead } from "../../../../comps/frame/page-head.87b92529dbb53ceb.js";
|
|
3
3
|
import { jsx as _jsx, jsxs as _jsxs } from "../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
4
4
|
export default function AccountLoading() {
|
|
5
5
|
return /* @__PURE__ */ _jsxs(Page, { children: [/* @__PURE__ */ _jsx(PageHead, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useEffect, useState } from "../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
|
|
3
|
-
import { NOTIFY } from "../../../../comps/frame/task-toasts.
|
|
3
|
+
import { NOTIFY } from "../../../../comps/frame/task-toasts.44075fa7e04575e8.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.30ed8c28774a1a82.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.
|
|
8
|
-
import { Page, PageHead } from "../../../../comps/frame/page-head.
|
|
7
|
+
import { SignOut } from "./sign-out.730aa96b086ac996.js";
|
|
8
|
+
import { Page, PageHead } from "../../../../comps/frame/page-head.87b92529dbb53ceb.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.98dfcd316c306258.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.78267fa3d7905d17.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,6 +1,6 @@
|
|
|
1
1
|
import { iAgent } from "../../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
2
2
|
import { LinkButton } from "../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
3
|
-
import { useOrg } from "../../../../../comps/nav/org.
|
|
3
|
+
import { useOrg } from "../../../../../comps/nav/org.d3abfd4053b711ce.js";
|
|
4
4
|
import { jsx as _jsx } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
5
5
|
/** Make a dashboard agent; importing from a repository starts from the same page. */
|
|
6
6
|
export function NewAgentMenu() {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { client } from "../../../../../utils/client.
|
|
2
|
+
import { client } from "../../../../../utils/client.78267fa3d7905d17.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";
|
|
6
6
|
import { editableAgent } from "../../../../../api/types.79f9092cdb5a00d1.js";
|
|
7
7
|
import { initial } from "../../../../../utils/format.ceeaafa10a0563f3.js";
|
|
8
|
-
import { AgentPills, BrandIcon, PlatformLine } from "../agent/agent-pills.
|
|
9
|
-
import { Filter } from "../../../../../comps/ui/filter.
|
|
10
|
-
import { NewAgentMenu } from "./agent-menu.
|
|
11
|
-
import { Search, Toolbar, queryOf, useFilters } from "../../../../../comps/ui/toolbar.
|
|
8
|
+
import { AgentPills, BrandIcon, PlatformLine } from "../agent/agent-pills.44e689e546fb042b.js";
|
|
9
|
+
import { Filter } from "../../../../../comps/ui/filter.81bb9a5c60cd1089.js";
|
|
10
|
+
import { NewAgentMenu } from "./agent-menu.1be5795272b245c8.js";
|
|
11
|
+
import { Search, Toolbar, queryOf, useFilters } from "../../../../../comps/ui/toolbar.8b3a460a65edf85a.js";
|
|
12
12
|
import { Tail } from "../../../../../comps/ui/tail.04132db0c5033d4f.js";
|
|
13
|
-
import { useOrg } from "../../../../../comps/nav/org.
|
|
13
|
+
import { useOrg } from "../../../../../comps/nav/org.d3abfd4053b711ce.js";
|
|
14
14
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
15
15
|
function AgentCard({ agent, catalog }) {
|
|
16
16
|
const org = useOrg();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { client } from "../../../../../utils/client.
|
|
3
|
-
import { useAction } from "../../../../../utils/action.
|
|
2
|
+
import { client } from "../../../../../utils/client.78267fa3d7905d17.js";
|
|
3
|
+
import { useAction } from "../../../../../utils/action.67dd6f8ab1ae067d.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";
|
|
7
|
-
import { useOrg } from "../../../../../comps/nav/org.
|
|
7
|
+
import { useOrg } from "../../../../../comps/nav/org.d3abfd4053b711ce.js";
|
|
8
8
|
import { Notice } from "../../../../../comps/ui/notice.f395f231cbb96445.js";
|
|
9
9
|
import { jsx as _jsx, jsxs as _jsxs } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
10
10
|
/** One click per built-in app not yet installed here; the platform returns to that app's agent's Platforms tab, which words the outcome. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HEADS } from "../../../../../comps/frame/heads.37e35439c02fc636.js";
|
|
2
2
|
import { iAgent } from "../../../../../comps/ui/icons.e36c72f54750663a.js";
|
|
3
|
-
import { Page } from "../../../../../comps/frame/page-head.
|
|
4
|
-
import { LoadingToolbar } from "../../../../../comps/frame/loading-card.
|
|
3
|
+
import { Page } from "../../../../../comps/frame/page-head.87b92529dbb53ceb.js";
|
|
4
|
+
import { LoadingToolbar } from "../../../../../comps/frame/loading-card.1cea8a722c10b998.js";
|
|
5
5
|
import { Loading } from "../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
|
|
6
6
|
import { jsx as _jsx, jsxs as _jsxs } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
|
|
7
7
|
/** The agents page before its list arrives. */
|
|
@@ -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.
|
|
4
|
-
import { Page } from "../../../../../comps/frame/page-head.
|
|
5
|
-
import { NeedsCredential } from "../../tasks/composer.
|
|
6
|
-
import { Settle } from "../../../../../comps/frame/stream.
|
|
7
|
-
import { credentialMissing } from "../../tasks/composer-data.
|
|
3
|
+
import { load } from "../../../../../api/load.30ed8c28774a1a82.js";
|
|
4
|
+
import { Page } from "../../../../../comps/frame/page-head.87b92529dbb53ceb.js";
|
|
5
|
+
import { NeedsCredential } from "../../tasks/composer.dbf06b05c5e2eba3.js";
|
|
6
|
+
import { Settle } from "../../../../../comps/frame/stream.c32d78562f75db25.js";
|
|
7
|
+
import { credentialMissing } from "../../tasks/composer-data.05fc39e1a7fd1ab7.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.2c30ace077893029.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-491cf764c7"
|
|
20
20
|
});
|
|
21
|
-
const ConnectApps = dynamic(() => import("./connect-apps.
|
|
21
|
+
const ConnectApps = dynamic(() => import("./connect-apps.8a20501ccb244421.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-14b1d4c8af"
|
|
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.
|
|
4
|
-
import { Back, Page } from "../../../../../../comps/frame/page-head.
|
|
3
|
+
import { load, orgOf } from "../../../../../../api/load.30ed8c28774a1a82.js";
|
|
4
|
+
import { Back, Page } from "../../../../../../comps/frame/page-head.87b92529dbb53ceb.js";
|
|
5
5
|
import { Button, LinkButton } from "../../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
|
|
6
|
-
import { Stream } from "../../../../../../comps/frame/stream.
|
|
7
|
-
import { LoadingTabs, Tabs } from "../../../../../../comps/ui/tabs.
|
|
6
|
+
import { Stream } from "../../../../../../comps/frame/stream.c32d78562f75db25.js";
|
|
7
|
+
import { LoadingTabs, Tabs } from "../../../../../../comps/ui/tabs.1600a0b563a5c7dd.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.9740a8e2f4b41f28.js";
|
|
10
|
+
import { loadAgent } from "../../../../../../api/load.30ed8c28774a1a82.js";
|
|
11
|
+
import { loadTasks } from "../../../tasks/list/tasks-section.36e70c93f7d0feee.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.dbf06b05c5e2eba3.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-a41dab3334"
|
|
17
17
|
});
|
|
18
18
|
function Actions({ agent, org }) {
|
|
19
19
|
return /* @__PURE__ */ _jsxs(_Fragment, { children: [editableAgent(agent) ? /* @__PURE__ */ _jsx(LinkButton, {
|