@wular/coder 0.4.1 → 0.4.2
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 +69 -70
- package/dist/{add-ej0X9e3a.js → add-C2y-mVzl.js} +1 -1
- package/dist/{add-U-pty9qJ.js → add-CLYTF_up.js} +1 -1
- package/dist/{add-CE-70LFs.js → add-DRsPpQFl.js} +1 -1
- package/dist/{add-BxpLHnvD.js → add-DkpUwhtO.js} +1 -1
- package/dist/{add-json-CEa-6luW.js → add-json-5uPnWPoD.js} +1 -1
- package/dist/{agent-BsYx3Odz.js → agent-hw3zKw8y.js} +1 -1
- package/dist/{agent-JdtZozvP.js → agent-r5mMcehf.js} +1 -1
- package/dist/{alias-DX-Bm86x.js → alias-_0Rwf2cA.js} +1 -1
- package/dist/{app-BT5f7zL5.js → app-oE8G1-bi.js} +1 -1
- package/dist/{approvals-C-AvFt6s.js → approvals-DbVrsxec.js} +1 -1
- package/dist/{approve-DOmpQRNd.js → approve-DeAhFL-m.js} +1 -1
- package/dist/{apps-CjfrZyM5.js → apps-eujHiNca.js} +1 -1
- package/dist/{archive-BziJ1rQ-.js → archive-BCUfymIB.js} +1 -1
- package/dist/{archive-BUB8gFKD.js → archive-DZ6vpMHb.js} +1 -1
- package/dist/{archive-sweep-CtBcARgN.js → archive-sweep-Cxbh8yAI.js} +1 -1
- package/dist/{ask-dE3U3ss2.js → ask-BU2WVxVM.js} +1 -1
- package/dist/auth-CBWTmAPA.js +1 -0
- package/dist/{auth-BFny--17.js → auth-Dmn2U7rr.js} +1 -1
- package/dist/{cli-BilSDkvE.js → cli-DWCR7iqa.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/{config-Da_cwoxI.js → config-12pK4qW7.js} +1 -1
- package/dist/{create-C_iMJV4Y.js → create-D3f6q0Yq.js} +1 -1
- package/dist/credentials-l6dsrZLL.js +1 -0
- package/dist/dash/manifest.json +744 -858
- package/dist/dash/public/assets/chunks/{agent-pills-c9c4ac4d4a10df83.js → agent-pills-dd0b7643e125bbf1.js} +1 -1
- package/dist/dash/public/assets/chunks/{agent-settings-form-8be2ddab074aba6d.js → agent-settings-form-45ae6aeaaed2b568.js} +1 -1
- package/dist/dash/public/assets/chunks/{agents-grid-951584b6f4c4314e.js → agents-grid-b906da80c31fc035.js} +1 -1
- package/dist/dash/public/assets/chunks/{combo-41234c24668b1db1.js → combo-952a457d52360d88.js} +1 -1
- package/dist/dash/public/assets/chunks/{composer-d10d4b1d54c4f751.js → composer-49f9e7c5c4dfda3b.js} +1 -1
- package/dist/dash/public/assets/chunks/{composer-5534be50bc12385e.js → composer-f331d00837143aee.js} +1 -1
- package/dist/dash/public/assets/chunks/{connect-apps-aa2a3d82e48ed8c3.js → connect-apps-661f3b3a85f1776a.js} +1 -1
- package/dist/dash/public/assets/chunks/{credentials-list-bc5bfcab058176c5.js → credentials-list-e6177d0943517929.js} +2 -2
- package/dist/dash/public/assets/chunks/{custom-range-4761ab14f05149df.js → custom-range-03ba6fb2ade7d282.js} +1 -1
- package/dist/dash/public/assets/chunks/{editor-bfe8cd854f8001be.js → editor-34cb529d6d8a4b09.js} +1 -1
- package/dist/dash/public/assets/chunks/{engines-list-f1191390f5715b39.js → engines-list-2f1acee3ecc8461a.js} +1 -1
- package/dist/dash/public/assets/chunks/{heads-f3bcd289663d48fa.js → heads-1570a3a6db331979.js} +1 -1
- package/dist/dash/public/assets/chunks/{list-1d259660d7612c5f.js → list-87b359bebd26986a.js} +1 -1
- package/dist/dash/public/assets/chunks/{mcp-list-e3bebbbe831393b8.js → mcp-list-b42f0d2ee463b37d.js} +1 -1
- package/dist/dash/public/assets/chunks/{models-list-44f857a469ca04d5.js → models-list-0669d26fd662aec3.js} +1 -1
- package/dist/dash/public/assets/chunks/{platform-actions-d1426602049926d2.js → platform-actions-c92ca3c6198a9387.js} +1 -1
- package/dist/dash/public/assets/chunks/{runners-list-1901af8a5dea1f09.js → runners-list-9fffa50432c470c9.js} +1 -1
- package/dist/dash/public/assets/chunks/{select-7ae25fd8a7d6c338.js → select-1013702bdfb1ade4.js} +1 -1
- package/dist/dash/public/assets/chunks/shared-init-20e199043ff5d00f.js +2 -0
- package/dist/dash/public/assets/chunks/{task-actions-8e1d93c788d001df.js → task-actions-a9603d520434baab.js} +1 -1
- package/dist/dash/public/assets/chunks/{task-view-6d7618d2820a5cb4.js → task-view-f7039cb330bcb0b5.js} +3 -3
- package/dist/dash/public/assets/chunks/{tasks-list-f4784e5cbd0ed785.js → tasks-list-2a905b4a0c3a9042.js} +1 -1
- package/dist/dash/public/assets/chunks/{toolbar-a75d2570f07cbb70.js → toolbar-f964fa864699f095.js} +1 -1
- package/dist/dash/public/assets/dash-49ca85b59ac65c20.css +1 -0
- package/dist/dash/public/assets/dash-account-96fc41be318839fa.css +1 -0
- package/dist/dash/public/assets/dash-agents-290a7b21c7dc0c92.css +1 -0
- package/dist/dash/public/assets/dash-agents-new-a7a07bf4ebda24c2.css +1 -0
- package/dist/dash/public/assets/dash-agents-param-slug-69a72fb0bbd14cc2.css +1 -0
- package/dist/dash/public/assets/dash-agents-param-slug-edit-397bdfb2f0ca328c.css +1 -0
- package/dist/dash/public/assets/dash-agents-param-slug-platforms-a7b3b7247c27f1d2.css +1 -0
- package/dist/dash/public/assets/dash-agents-param-slug-settings-8389b7d0555e8ccf.css +1 -0
- package/dist/dash/public/assets/dash-agents-param-slug-tasks-5987b8aea5e8f30d.css +1 -0
- package/dist/dash/public/assets/dash-agents-param-slug-usage-19abc69e1d4e6b0a.css +1 -0
- package/dist/dash/public/assets/dash-settings-53b8e6a8f656fa1a.css +1 -0
- package/dist/dash/public/assets/dash-settings-param-tab-ac61fdfdd6fd533f.css +1 -0
- package/dist/dash/public/assets/dash-tasks-cc0b1d32874b731c.css +1 -0
- package/dist/dash/public/assets/dash-tasks-param-id-02b8c7bd99cc1090.css +1 -0
- package/dist/dash/public/assets/dash-usage-884943221f76ad93.css +1 -0
- package/dist/dash/public/assets/pnext-client-17ba55bb57a1f4da.js +1 -0
- package/dist/dash/public/assets/{pnext-client-1b9ab0963a8ff77b.js → pnext-client-1afa4148bea69ad2.js} +1 -1
- package/dist/dash/public/assets/pnext-client-2693db10b197ade1.js +1 -0
- package/dist/dash/public/assets/pnext-client-43f52a07f8067b1b.js +1 -0
- package/dist/dash/public/assets/pnext-client-4594b693fe612835.js +1 -0
- package/dist/dash/public/assets/pnext-client-73f73e24f8141fb6.js +1 -0
- package/dist/dash/public/assets/pnext-client-7574da4651b40eae.js +1 -0
- package/dist/dash/public/assets/pnext-client-7b3a2c1092cbbb02.js +1 -0
- package/dist/dash/public/assets/pnext-client-816fe5fc96d3f768.js +1 -0
- package/dist/dash/public/assets/pnext-client-86cb956b448b0887.js +1 -0
- package/dist/dash/public/assets/pnext-client-8b64e3c030164288.js +1 -0
- package/dist/dash/public/assets/pnext-client-8f6161084c595a22.js +1 -0
- package/dist/dash/public/assets/pnext-client-9203ec11926e5d04.js +1 -0
- package/dist/dash/public/assets/pnext-client-a38b446f941d44df.js +1 -0
- package/dist/dash/public/assets/pnext-client-bd8d51aaa095e8a4.js +1 -0
- package/dist/dash/public/assets/pnext-client-e9821d1f1bdb281d.js +1 -0
- package/dist/dash/server/bundle-0.1.6-b29ec45cb963d47f/entry.js +2 -0
- package/dist/{default-vYPT26DR.js → default-CwQXCtoB.js} +1 -1
- package/dist/{default-Bobztoxf.js → default-De8FXiWz.js} +1 -1
- package/dist/{delete-z1_86nf6.js → delete-BD6AnCLg.js} +1 -1
- package/dist/{delete-D8gEwoOj.js → delete-cS01oOIb.js} +1 -1
- package/dist/{disable-DVKd-0Xb.js → disable-BMWWeYFQ.js} +1 -1
- package/dist/{discover-Df-a8K4R.js → discover-Cfx5RPU7.js} +1 -1
- package/dist/{docs-DKJnqZqt.js → docs-DWegDRiu.js} +1 -1
- package/dist/{enable-C8Zf_wpN.js → enable-Cfzeau2x.js} +1 -1
- package/dist/{flow-17k25MHt.js → flow-kAxxVOiR.js} +1 -1
- package/dist/{init-CoMfFxbG.js → init-C4tDFH4G.js} +1 -1
- package/dist/integrations-D-L3uQRj.js +1 -0
- package/dist/{list-BYiG8Zav.js → list-5Ljf9TxF.js} +2 -2
- package/dist/{list-BAKvxSbh.js → list-COAo7eZd.js} +1 -1
- package/dist/{list-DX-z3SBp.js → list-DuPqU3fk.js} +1 -1
- package/dist/{list-C5w01-8q.js → list-DzGuMkQy.js} +1 -1
- package/dist/{list-VToARh3C.js → list-J8d_zh-o.js} +1 -1
- package/dist/{list-BxEywhHU.js → list-vOvIpbOH.js} +1 -1
- package/dist/{list-CIW2joV1.js → list-vpyS-hv8.js} +1 -1
- package/dist/{list-DpCf4G-H.js → list-way5oLO0.js} +1 -1
- package/dist/{login-DkkslfBx.js → login-BBw95-S3.js} +1 -1
- package/dist/{login-BFxX4jJy.js → login-CNmeRAL7.js} +1 -1
- package/dist/{logout-BHAtw4Z8.js → logout-j0dTo_Ib.js} +1 -1
- package/dist/{maintenance-C5FklUw3.js → maintenance-DkLVtqM7.js} +1 -1
- package/dist/{mcp-CCZOAo06.js → mcp-CsmBtlW9.js} +1 -1
- package/dist/{migrate-C4vM7DQN.js → migrate-D4nzYhk8.js} +1 -1
- package/dist/{model-Bs1StDo3.js → model-B79MFtRV.js} +1 -1
- package/dist/{push-CUC55Bqd.js → push-DbdnbZYt.js} +1 -1
- package/dist/{queue-6io_NOP3.js → queue-C9fSdE_X.js} +27 -27
- package/dist/refresh-BDmap1RA.js +1 -0
- package/dist/{remove-B93LNkZI.js → remove-BNzbUhaK.js} +1 -1
- package/dist/{remove-eQ8y5C5p.js → remove-CLpL12Ya.js} +1 -1
- package/dist/{remove-CuH8a3L9.js → remove-CaYH9Cna.js} +1 -1
- package/dist/{remove-C5_xggx7.js → remove-D-QeeZQL.js} +1 -1
- package/dist/{rename-CYfy03FE.js → rename-Bhcb4t9F.js} +1 -1
- package/dist/{result-BEtQZHaY.js → result-BfTfJayl.js} +1 -1
- package/dist/{result-BzaM3inj.js → result-D8DsvJDu.js} +1 -1
- package/dist/{resume-DYzKvyEw.js → resume-aZ8yWDBh.js} +1 -1
- package/dist/{review-oIBeECZE.js → review-BEhDcX4b.js} +1 -1
- package/dist/{rotate-key-IdMYH7gg.js → rotate-key-BqnKhTK8.js} +1 -1
- package/dist/{run-CTtd0Znc.js → run-BWbabvub.js} +1 -1
- package/dist/{run-CawRGnOg.js → run-BdPjxaZU.js} +1 -1
- package/dist/{run-BDYl0CKl.js → run-Dqe38jX8.js} +1 -1
- package/dist/runner-BPpiJvHx.js +1 -0
- package/dist/sdk.js +1 -1
- package/dist/{serve-CPnmrKyf.js → serve-C0WC-QrV.js} +2 -2
- package/dist/{serve-GmRO89s5.js → serve-CcObDKKQ.js} +1 -1
- package/dist/{serve-CE8YV2e9.js → serve-Ck95047c.js} +1 -1
- package/dist/{serve-CQKZxzFE.js → serve-DA5I2qXj.js} +2 -2
- package/dist/{server-Kb22cWfF.js → server-BxLFZL80.js} +1 -1
- package/dist/{setup-host-GFTUzzZJ.js → setup-host-DLd_j2Uw.js} +1 -1
- package/dist/{shared-DVtzWhUT.js → shared-BLkGRKty.js} +1 -1
- package/dist/{show-COTZEYgc.js → show-DzoQIs75.js} +1 -1
- package/dist/{show-CMUg8SJu.js → show-FC3dJcD-.js} +1 -1
- package/dist/{status-D26U--p8.js → status-BU3DR1XU.js} +1 -1
- package/dist/{steer-C6uARLp5.js → steer-P_38hRRD.js} +1 -1
- package/dist/{stop-BrGI3hSS.js → stop-BJGDRPsp.js} +1 -1
- package/dist/{stop-ByCAlbmN.js → stop-BWY6k6v5.js} +1 -1
- package/dist/{store-DzqXS2wT.js → store-B3ZHoBJY.js} +4 -4
- package/dist/{store-B94tSate.js → store-BLi19UDE.js} +1 -1
- package/dist/{task-CgOKgkEG.js → task-b2BK481M.js} +1 -1
- package/dist/{test-NEbhlxvo.js → test-BrSrhop9.js} +1 -1
- package/dist/{tools-D0Zfs8Hx.js → tools-CgswhJzh.js} +1 -1
- package/dist/{unalias-C9NqmSDq.js → unalias-mMHXqok7.js} +1 -1
- package/dist/{update-BTxYQj7Z.js → update-DbOWToPy.js} +1 -1
- package/dist/{upgrade-hA0yWBvx.js → upgrade-D6oC9HQI.js} +2 -2
- package/dist/{usage-BhqoCjvE.js → usage-Cb8Dtv9V.js} +1 -1
- package/dist/{usage-C4d9X2Uq.js → usage-DMs-IIJC.js} +1 -1
- package/dist/{watch-DtRuC0Wc.js → watch-BcMQXGYO.js} +1 -1
- package/dist/{watch-CSdj24ct.js → watch-eE2XiwsC.js} +1 -1
- package/dist/{worker-DX7P9kWl.js → worker-DrucI22w.js} +1 -1
- package/dist/{workflow-Dcmdooi8.js → workflow-Cshghoas.js} +1 -1
- package/docs/cli.md +145 -0
- package/package.json +3 -2
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/src/core/defaults.ts +25 -0
- package/src/server/dash/app/dash/layout.css +58 -1
- package/src/server/dash/app/dash/layout.tsx +16 -4
- package/src/server/dash/app/dash/settings/[tab]/page.tsx +1 -1
- package/src/server/dash/comps/nav/side-toggle.tsx +1 -1
- package/src/server/dash/comps/ui/menu.tsx +5 -1
- package/src/server/dash/comps/ui/toast.css +3 -2
- package/dist/auth-DWHIzqbA.js +0 -1
- package/dist/credentials-B1jv6dkg.js +0 -1
- package/dist/dash/public/assets/chunks/shared-init-ffb3397e494137c9.js +0 -2
- package/dist/dash/public/assets/dash-9e02d5d1a6d42ee3.css +0 -1
- package/dist/dash/public/assets/dash-account-04859899c1838ada.css +0 -1
- package/dist/dash/public/assets/dash-agents-9e678137267dec07.css +0 -1
- package/dist/dash/public/assets/dash-agents-new-26fa27b17ef9b8d8.css +0 -1
- package/dist/dash/public/assets/dash-agents-param-slug-b975c48f8abf3444.css +0 -1
- package/dist/dash/public/assets/dash-agents-param-slug-edit-e13fda599bb04843.css +0 -1
- package/dist/dash/public/assets/dash-agents-param-slug-platforms-70292932cb27bc96.css +0 -1
- package/dist/dash/public/assets/dash-agents-param-slug-settings-71f9a86251723fcc.css +0 -1
- package/dist/dash/public/assets/dash-agents-param-slug-tasks-fb8eb2ed71006601.css +0 -1
- package/dist/dash/public/assets/dash-agents-param-slug-usage-7c8740f1cdd52c71.css +0 -1
- package/dist/dash/public/assets/dash-settings-8eb818da462227e8.css +0 -1
- package/dist/dash/public/assets/dash-settings-param-tab-849a1a9542e273f5.css +0 -1
- package/dist/dash/public/assets/dash-tasks-81e510e0b6931b42.css +0 -1
- package/dist/dash/public/assets/dash-tasks-param-id-bbd2a83342f2ec10.css +0 -1
- package/dist/dash/public/assets/dash-usage-8e0259e03eaed1bd.css +0 -1
- package/dist/dash/public/assets/pnext-client-03b03b254e525e82.js +0 -1
- package/dist/dash/public/assets/pnext-client-1c7859bb888f4ef0.js +0 -1
- package/dist/dash/public/assets/pnext-client-3c748afe963fb05d.js +0 -1
- package/dist/dash/public/assets/pnext-client-4f47c2cae220f107.js +0 -1
- package/dist/dash/public/assets/pnext-client-6ab9fd9b53b794d2.js +0 -1
- package/dist/dash/public/assets/pnext-client-6c241786342498e4.js +0 -1
- package/dist/dash/public/assets/pnext-client-80b56d420f02b808.js +0 -1
- package/dist/dash/public/assets/pnext-client-83135c17bae850a3.js +0 -1
- package/dist/dash/public/assets/pnext-client-8e6fa4302ae0396f.js +0 -1
- package/dist/dash/public/assets/pnext-client-932c9d8cc0717fc8.js +0 -1
- package/dist/dash/public/assets/pnext-client-a42ae63d4de113f9.js +0 -1
- package/dist/dash/public/assets/pnext-client-d2ee6f8c1e337032.js +0 -1
- package/dist/dash/public/assets/pnext-client-d513f65ec23b7f20.js +0 -1
- package/dist/dash/public/assets/pnext-client-ecb88e2a8a109954.js +0 -1
- package/dist/dash/public/assets/pnext-client-f1545ee6270bbf9a.js +0 -1
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/boot-B2MFTRO2.js +0 -30
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/build-tier-XJJSL5FR.js +0 -2704
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-2HFY3DQT.js +0 -208
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-2ICEVELW.js +0 -834
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-3UPROT2C.js +0 -35
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-4P5CMIYT.js +0 -1582
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-4TKZKZ3Q.js +0 -131
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-5RDEILQB.js +0 -437
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-62KEQM43.js +0 -25
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-6KQSWT6D.js +0 -831
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-7DCNCW6O.js +0 -724
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-B4THCTQP.js +0 -22
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-C2LIV2MM.js +0 -172
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-CCATPVTW.js +0 -378
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-COXJAPTU.js +0 -89
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-E6IXL2NJ.js +0 -6270
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-FLGRBFAH.js +0 -1198
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-FTJVHFWD.js +0 -61
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-H523KSIH.js +0 -5151
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-HT6KKX6A.js +0 -20
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-JESFYECC.js +0 -438
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-JRPJM2XY.js +0 -17
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-L2IWDUXG.js +0 -107
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-L5P4Y4UC.js +0 -183
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-NQE46AZN.js +0 -647
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-PA4QEARJ.js +0 -129
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-PZ5AXOLW.js +0 -7146
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-SNVPTULL.js +0 -2397
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-T3QZT3PG.js +0 -220
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-VC5O2SDP.js +0 -72
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-WZX4V6CM.js +0 -231
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-XUUIDXY5.js +0 -627
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-ZHFDO3PR.js +0 -265
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/compile-CE2DN7ZA.js +0 -18
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/config-UREY7XJT.js +0 -16
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/config-loader-UI2XE3PZ.js +0 -17
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/entry.js +0 -219
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/generate-I2PPTDFD.js +0 -16
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/modules-UVOCE4C2.js +0 -48
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/pipeline-UW47K537.js +0 -963
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/proxy-ITGOVJBW.js +0 -26
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/register-4SA55SWT.js +0 -12579
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/router-JNKHLBCZ.js +0 -505
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/routes-PD6J2NXW.js +0 -54
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/tsconfig-defaults-ZXEH7RQK.js +0 -15
- package/dist/integrations-5xCaXSd-.js +0 -1
- package/dist/refresh-BIrmrWYq.js +0 -1
- package/dist/runner-D7ScbIHJ.js +0 -1
- package/src/server/dash/app/dash/token-from-hash.tsx +0 -17
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as l}from"./chunks/sentinel-c972a33dc69a5135.js";import{$2a as e,$2b as m,$2c as r,$2d as c,$2f as f}from"./chunks/shared-init-20e199043ff5d00f.js";import{$0e as p}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/wular-pnext-246221e985d863e5-0.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import{$4a as s,$4c as d}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$0c as i}from"./chunks/shared-init-246221e985d863e5-2.js";import{$1i as a}from"./chunks/shared-init-246221e985d863e5-2.js";import{$0a as t,$0b as n}from"./chunks/shared-init-8f2ac936c95a7f7b.js";import"./chunks/shared-init-8f2ac936c95a7f7b.js";var{mountRoute:u,remountRoute:L,unmountRoute:I}=t({islands:[{id:"c-1651f8f6e9",Component:e},{id:"c-42bae1b880",Component:m},{id:"c-5aa432df9a",Component:r},{id:"c-5ba8b82352",options:{},load:()=>import("./chunks/composer-f331d00837143aee.js").then(o=>o.NewTaskButton)},{id:"c-625eafb058",Component:s},{id:"c-949b5c21fe",options:{load:"visible",ssr:!0},load:()=>import("./chunks/tasks-list-2a905b4a0c3a9042.js").then(o=>o.TasksList)},{id:"c-9ec6affa21",options:{},load:()=>import("./chunks/platform-actions-c92ca3c6198a9387.js").then(o=>o.PlatformActions)},{id:"c-a3a89c6beb",Component:p},{id:"c-a5d33c27a1",Component:n},{id:"c-aaad3ed56d",Component:d},{id:"c-c15babe342",Component:c},{id:"c-c4f89ef2c3",Component:l},{id:"c-ee454d3c90",Component:f}]});i();a()||u();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:u,unmountRoute:I});export{u as mountRoute,L as remountRoute,I as unmountRoute};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as u}from"./chunks/field-901f1f35c18c39c9.js";import{g as p}from"./chunks/format-eb03fc9d9744d960.js";import{$1b as f}from"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$0b as m}from"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$2a as t}from"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$0a as c,$0b as d}from"./chunks/shared-init-8f2ac936c95a7f7b.js";import{$1g as i}from"./chunks/shared-init-8f2ac936c95a7f7b.js";function h({tag:e,title:a,lead:o,children:r}){return t("section",{class:"auth",children:t("div",{class:"auth-side",children:[t("div",{class:"auth-frame frame",children:[t("div",{class:"bar",children:[t("a",{class:"brand",href:"/",children:[t(f,{}),t("span",{class:"lockup",children:["coder ",t("small",{children:"wular"})]})]}),t("span",{class:"tag",children:e})]}),t("div",{class:"auth-body",children:[t("h1",{children:a}),o?t("p",{class:"lead",children:o}):null,r]})]}),t("nav",{class:"auth-links",children:[t("a",{href:"https://wular.ai",children:"wular.ai"}),t("a",{href:"https://coder.wular.ai",children:"hosted service"})]})]})})}function l(){let[e,a]=i(""),[o,r]=i(""),v=typeof location>"u"?"":new URLSearchParams(location.search).get("token")??"";return t(h,{tag:"connect",title:"Connect your account",lead:o||"Link this platform identity to your signed-in Coder account.",children:[o?null:t("button",{type:"button",class:"btn wide",onClick:()=>void m.linkAccount(v).then(n=>r(`${n.platform} account ${n.platformUserId} is connected.`)).catch(n=>a(p(n))),children:"Connect"}),t(u,{value:e})]})}var{mountRoute:_,remountRoute:M,unmountRoute:R}=c({islands:[{id:"c-
|
|
1
|
+
import{b as u}from"./chunks/field-901f1f35c18c39c9.js";import{g as p}from"./chunks/format-eb03fc9d9744d960.js";import{$1b as f}from"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$0b as m}from"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$2a as t}from"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$0a as c,$0b as d}from"./chunks/shared-init-8f2ac936c95a7f7b.js";import{$1g as i}from"./chunks/shared-init-8f2ac936c95a7f7b.js";function h({tag:e,title:a,lead:o,children:r}){return t("section",{class:"auth",children:t("div",{class:"auth-side",children:[t("div",{class:"auth-frame frame",children:[t("div",{class:"bar",children:[t("a",{class:"brand",href:"/",children:[t(f,{}),t("span",{class:"lockup",children:["coder ",t("small",{children:"wular"})]})]}),t("span",{class:"tag",children:e})]}),t("div",{class:"auth-body",children:[t("h1",{children:a}),o?t("p",{class:"lead",children:o}):null,r]})]}),t("nav",{class:"auth-links",children:[t("a",{href:"https://wular.ai",children:"wular.ai"}),t("a",{href:"https://coder.wular.ai",children:"hosted service"})]})]})})}function l(){let[e,a]=i(""),[o,r]=i(""),v=typeof location>"u"?"":new URLSearchParams(location.search).get("token")??"";return t(h,{tag:"connect",title:"Connect your account",lead:o||"Link this platform identity to your signed-in Coder account.",children:[o?null:t("button",{type:"button",class:"btn wide",onClick:()=>void m.linkAccount(v).then(n=>r(`${n.platform} account ${n.platformUserId} is connected.`)).catch(n=>a(p(n))),children:"Connect"}),t(u,{value:e})]})}var{mountRoute:_,remountRoute:M,unmountRoute:R}=c({islands:[{id:"c-a5d33c27a1",Component:d}],Page:l});(window.__PNEXT_ROUTER_IMPORTS__??0)>0||_();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:_,unmountRoute:R});export{_ as mountRoute,M as remountRoute,R as unmountRoute};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$0c as i}from"./chunks/shared-init-246221e985d863e5-2.js";import{$1i as r}from"./chunks/shared-init-246221e985d863e5-2.js";import{$0a as o,$0b as t}from"./chunks/shared-init-8f2ac936c95a7f7b.js";import"./chunks/shared-init-8f2ac936c95a7f7b.js";var{mountRoute:m,remountRoute:a,unmountRoute:n}=o({islands:[{id:"c-a5d33c27a1",Component:t}]});i();r()||m();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:m,unmountRoute:n});export{m as mountRoute,a as remountRoute,n as unmountRoute};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as l}from"./chunks/composer-49f9e7c5c4dfda3b.js";import"./chunks/connect-repositories-5389ec8701a3deac.js";import"./chunks/composer-data-6f7608fed13f3dd7.js";import"./chunks/model-options-15c53331a2f28a4f.js";import"./chunks/select-1013702bdfb1ade4.js";import"./chunks/task-fa8b82e95e771c4a.js";import"./chunks/card-e0901d68b79dfa93.js";import"./chunks/field-901f1f35c18c39c9.js";import"./chunks/format-eb03fc9d9744d960.js";import{a as f}from"./chunks/sentinel-c972a33dc69a5135.js";import{$2a as a,$2b as m,$2c as r,$2d as p,$2f as c}from"./chunks/shared-init-20e199043ff5d00f.js";import{$0e as s}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/wular-pnext-246221e985d863e5-0.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import{$4a as d}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$0c as i}from"./chunks/shared-init-246221e985d863e5-2.js";import{$1i as e}from"./chunks/shared-init-246221e985d863e5-2.js";import{$0a as n,$0b as t}from"./chunks/shared-init-8f2ac936c95a7f7b.js";import"./chunks/shared-init-8f2ac936c95a7f7b.js";var{mountRoute:u,remountRoute:G,unmountRoute:C}=n({islands:[{id:"c-1651f8f6e9",Component:a},{id:"c-25b14faaa5",options:{},load:()=>import("./chunks/connect-apps-661f3b3a85f1776a.js").then(o=>o.ConnectApps)},{id:"c-42bae1b880",Component:m},{id:"c-500ea9859b",Component:l},{id:"c-58db81de84",options:{load:"visible",ssr:!0},load:()=>import("./chunks/agents-grid-b906da80c31fc035.js").then(o=>o.AgentsGrid)},{id:"c-5aa432df9a",Component:r},{id:"c-625eafb058",Component:d},{id:"c-a3a89c6beb",Component:s},{id:"c-a5d33c27a1",Component:t},{id:"c-c15babe342",Component:p},{id:"c-c4f89ef2c3",Component:f},{id:"c-ee454d3c90",Component:c}]});i();e()||u();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:u,unmountRoute:C});export{u as mountRoute,G as remountRoute,C as unmountRoute};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as l}from"./chunks/sentinel-c972a33dc69a5135.js";import{$2a as a,$2b as s,$2c as r,$2d as p,$2f as c}from"./chunks/shared-init-20e199043ff5d00f.js";import{$0e as d}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/wular-pnext-246221e985d863e5-0.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import{$4a as m}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$0c as e}from"./chunks/shared-init-246221e985d863e5-2.js";import{$1i as i}from"./chunks/shared-init-246221e985d863e5-2.js";import{$0a as t,$0b as n}from"./chunks/shared-init-8f2ac936c95a7f7b.js";import"./chunks/shared-init-8f2ac936c95a7f7b.js";var{mountRoute:f,remountRoute:v,unmountRoute:u}=t({islands:[{id:"c-1651f8f6e9",Component:a},{id:"c-42bae1b880",Component:s},{id:"c-5aa432df9a",Component:r},{id:"c-5ba8b82352",options:{},load:()=>import("./chunks/composer-f331d00837143aee.js").then(o=>o.NewTaskButton)},{id:"c-625eafb058",Component:m},{id:"c-6ac3841c1f",options:{},load:()=>import("./chunks/instructions-d0a4b0d95009c262.js").then(o=>o.Instructions)},{id:"c-949b5c21fe",options:{load:"visible",ssr:!0},load:()=>import("./chunks/tasks-list-2a905b4a0c3a9042.js").then(o=>o.TasksList)},{id:"c-a093235be4",options:{load:"visible",ssr:!0},load:()=>import("./chunks/versions-list-fc2e0d2a7382e049.js").then(o=>o.VersionsList)},{id:"c-a3a89c6beb",Component:d},{id:"c-a5d33c27a1",Component:n},{id:"c-c15babe342",Component:p},{id:"c-c4f89ef2c3",Component:l},{id:"c-ee454d3c90",Component:c}]});e();i()||f();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:f,unmountRoute:u});export{f as mountRoute,v as remountRoute,u as unmountRoute};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as f}from"./chunks/sentinel-c972a33dc69a5135.js";import{$2a as a,$2b as m,$2c as r,$2d as p,$2f as c}from"./chunks/shared-init-20e199043ff5d00f.js";import{$0e as d}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/wular-pnext-246221e985d863e5-0.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import{$4a as s}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$0c as i}from"./chunks/shared-init-246221e985d863e5-2.js";import{$1i as e}from"./chunks/shared-init-246221e985d863e5-2.js";import{$0a as t,$0b as n}from"./chunks/shared-init-8f2ac936c95a7f7b.js";import"./chunks/shared-init-8f2ac936c95a7f7b.js";var{mountRoute:l,remountRoute:g,unmountRoute:u}=t({islands:[{id:"c-1651f8f6e9",Component:a},{id:"c-42bae1b880",Component:m},{id:"c-5aa432df9a",Component:r},{id:"c-5ba8b82352",options:{},load:()=>import("./chunks/composer-f331d00837143aee.js").then(o=>o.NewTaskButton)},{id:"c-625eafb058",Component:s},{id:"c-949b5c21fe",options:{load:"visible",ssr:!0},load:()=>import("./chunks/tasks-list-2a905b4a0c3a9042.js").then(o=>o.TasksList)},{id:"c-a3a89c6beb",Component:d},{id:"c-a5d33c27a1",Component:n},{id:"c-c15babe342",Component:p},{id:"c-c4f89ef2c3",Component:f},{id:"c-ee454d3c90",Component:c}]});i();e()||l();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:l,unmountRoute:u});export{l as mountRoute,g as remountRoute,u as unmountRoute};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as C}from"./chunks/sentinel-c972a33dc69a5135.js";import{$2a as p,$2b as u,$2c as I,$2d as h,$2f as g}from"./chunks/shared-init-20e199043ff5d00f.js";import{$0b as t,$0e as b}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/wular-pnext-246221e985d863e5-0.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import{$4a as N}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$2a as e}from"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$0c as l}from"./chunks/shared-init-246221e985d863e5-2.js";import{$1i as f}from"./chunks/shared-init-246221e985d863e5-2.js";import{$0a as c,$0b as d}from"./chunks/shared-init-8f2ac936c95a7f7b.js";import{$1g as a,$1i as m}from"./chunks/shared-init-8f2ac936c95a7f7b.js";function T(){let[_,s]=a(!1),[r,i]=a(!1);m(()=>{if(typeof Notification>"u")return i(!0);i(Notification.permission==="denied"),s(localStorage.getItem(t)==="1"&&Notification.permission==="granted")},[]);let k=async o=>{o.checked&&Notification.permission==="default"&&await Notification.requestPermission();let n=o.checked&&Notification.permission==="granted";n?localStorage.setItem(t,"1"):localStorage.removeItem(t),o.checked=n,s(n),i(Notification.permission==="denied")};return e("label",{class:"notify",children:[e("input",{type:"checkbox",role:"switch",class:"switch",checked:_,disabled:r,onChange:o=>void k(o.currentTarget)}),r?"Notifications are blocked in this browser":"Notify me when a task finishes"]})}var{mountRoute:w,remountRoute:Z,unmountRoute:S}=c({islands:[{id:"c-1651f8f6e9",Component:p},{id:"c-42bae1b880",Component:u},{id:"c-45ae77700e",Component:T},{id:"c-5aa432df9a",Component:I},{id:"c-625eafb058",Component:N},{id:"c-a3a89c6beb",Component:b},{id:"c-a5d33c27a1",Component:d},{id:"c-c15babe342",Component:h},{id:"c-c4f89ef2c3",Component:C},{id:"c-ee454d3c90",Component:g}]});l();f()||w();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:w,unmountRoute:S});export{w as mountRoute,Z as remountRoute,S as unmountRoute};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as f}from"./chunks/sentinel-c972a33dc69a5135.js";import{$2a as a,$2b as m,$2c as r,$2d as p,$2f as c}from"./chunks/shared-init-20e199043ff5d00f.js";import{$0e as d}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/wular-pnext-246221e985d863e5-0.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import{$4a as s}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$0c as i}from"./chunks/shared-init-246221e985d863e5-2.js";import{$1i as e}from"./chunks/shared-init-246221e985d863e5-2.js";import{$0a as t,$0b as n}from"./chunks/shared-init-8f2ac936c95a7f7b.js";import"./chunks/shared-init-8f2ac936c95a7f7b.js";var{mountRoute:l,remountRoute:k,unmountRoute:u}=t({islands:[{id:"c-1651f8f6e9",Component:a},{id:"c-42bae1b880",Component:m},{id:"c-5aa432df9a",Component:r},{id:"c-5ba8b82352",options:{},load:()=>import("./chunks/composer-f331d00837143aee.js").then(o=>o.NewTaskButton)},{id:"c-625eafb058",Component:s},{id:"c-949b5c21fe",options:{load:"visible",ssr:!0},load:()=>import("./chunks/tasks-list-2a905b4a0c3a9042.js").then(o=>o.TasksList)},{id:"c-9c2932fcba",options:{},load:()=>import("./chunks/agent-settings-form-45ae6aeaaed2b568.js").then(o=>o.AgentSettingsForm)},{id:"c-a3a89c6beb",Component:d},{id:"c-a5d33c27a1",Component:n},{id:"c-c15babe342",Component:p},{id:"c-c4f89ef2c3",Component:f},{id:"c-ee454d3c90",Component:c}]});i();e()||l();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:l,unmountRoute:u});export{l as mountRoute,k as remountRoute,u as unmountRoute};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c}from"./chunks/sentinel-c972a33dc69a5135.js";import{$2a as m,$2b as i,$2c as r,$2d as s,$2f as p}from"./chunks/shared-init-20e199043ff5d00f.js";import{$0e as d}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/wular-pnext-246221e985d863e5-0.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import{$4a as a}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$0c as e}from"./chunks/shared-init-246221e985d863e5-2.js";import{$1i as n}from"./chunks/shared-init-246221e985d863e5-2.js";import{$0a as o,$0b as t}from"./chunks/shared-init-8f2ac936c95a7f7b.js";import"./chunks/shared-init-8f2ac936c95a7f7b.js";var{mountRoute:f,remountRoute:k,unmountRoute:u}=o({islands:[{id:"c-1651f8f6e9",Component:m},{id:"c-42bae1b880",Component:i},{id:"c-4c3cffe9e8",options:{},load:()=>import("./chunks/editor-34cb529d6d8a4b09.js").then(l=>l.AgentEditor)},{id:"c-5aa432df9a",Component:r},{id:"c-625eafb058",Component:a},{id:"c-a3a89c6beb",Component:d},{id:"c-a5d33c27a1",Component:t},{id:"c-c15babe342",Component:s},{id:"c-c4f89ef2c3",Component:c},{id:"c-ee454d3c90",Component:p}]});e();n()||f();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:f,unmountRoute:u});export{f as mountRoute,k as remountRoute,u as unmountRoute};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c}from"./chunks/sentinel-c972a33dc69a5135.js";import{$2a as m,$2b as i,$2c as a,$2d as s,$2f as p}from"./chunks/shared-init-20e199043ff5d00f.js";import{$0e as d}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/wular-pnext-246221e985d863e5-0.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import{$4a as r}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$0c as e}from"./chunks/shared-init-246221e985d863e5-2.js";import{$1i as t}from"./chunks/shared-init-246221e985d863e5-2.js";import{$0a as o,$0b as n}from"./chunks/shared-init-8f2ac936c95a7f7b.js";import"./chunks/shared-init-8f2ac936c95a7f7b.js";var{mountRoute:f,remountRoute:k,unmountRoute:u}=o({islands:[{id:"c-1651f8f6e9",Component:m},{id:"c-42bae1b880",Component:i},{id:"c-4cb60b9d05",options:{},load:()=>import("./chunks/task-view-f7039cb330bcb0b5.js").then(l=>l.TaskView)},{id:"c-5aa432df9a",Component:a},{id:"c-625eafb058",Component:r},{id:"c-a3a89c6beb",Component:d},{id:"c-a5d33c27a1",Component:n},{id:"c-c15babe342",Component:s},{id:"c-c4f89ef2c3",Component:c},{id:"c-ee454d3c90",Component:p}]});e();t()||f();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:f,unmountRoute:u});export{f as mountRoute,k as remountRoute,u as unmountRoute};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c}from"./chunks/custom-range-03ba6fb2ade7d282.js";import{a as f}from"./chunks/sentinel-c972a33dc69a5135.js";import{$2a as a,$2b as e,$2c as r,$2d as d,$2f as p}from"./chunks/shared-init-20e199043ff5d00f.js";import{$0e as s}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/wular-pnext-246221e985d863e5-0.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import{$4a as i}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$0c as m}from"./chunks/shared-init-246221e985d863e5-2.js";import{$1i as t}from"./chunks/shared-init-246221e985d863e5-2.js";import{$0a as o,$0b as n}from"./chunks/shared-init-8f2ac936c95a7f7b.js";import"./chunks/shared-init-8f2ac936c95a7f7b.js";var{mountRoute:l,remountRoute:v,unmountRoute:u}=o({islands:[{id:"c-1651f8f6e9",Component:a},{id:"c-42bae1b880",Component:e},{id:"c-5aa432df9a",Component:r},{id:"c-625eafb058",Component:i},{id:"c-a1fcd4baa8",Component:c},{id:"c-a3a89c6beb",Component:s},{id:"c-a5d33c27a1",Component:n},{id:"c-c15babe342",Component:d},{id:"c-c4f89ef2c3",Component:f},{id:"c-ee454d3c90",Component:p}]});m();t()||l();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:l,unmountRoute:u});export{l as mountRoute,v as remountRoute,u as unmountRoute};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as l}from"./chunks/sentinel-c972a33dc69a5135.js";import{$2a as a,$2b as d,$2c as m,$2d as p,$2f as c}from"./chunks/shared-init-20e199043ff5d00f.js";import{$0e as s}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/wular-pnext-246221e985d863e5-0.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import{$4a as r}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$0c as e}from"./chunks/shared-init-246221e985d863e5-2.js";import{$1i as i}from"./chunks/shared-init-246221e985d863e5-2.js";import{$0a as t,$0b as n}from"./chunks/shared-init-8f2ac936c95a7f7b.js";import"./chunks/shared-init-8f2ac936c95a7f7b.js";var{mountRoute:f,remountRoute:N,unmountRoute:u}=t({islands:[{id:"c-00cd3428a0",options:{},load:()=>import("./chunks/runners-list-9fffa50432c470c9.js").then(o=>o.RunnersList)},{id:"c-1651f8f6e9",Component:a},{id:"c-42bae1b880",Component:d},{id:"c-48f8d21bb9",options:{},load:()=>import("./chunks/credentials-list-e6177d0943517929.js").then(o=>o.EngineLogins)},{id:"c-5aa432df9a",Component:m},{id:"c-625eafb058",Component:r},{id:"c-6cdf8251ab",options:{},load:()=>import("./chunks/mcp-list-b42f0d2ee463b37d.js").then(o=>o.McpList)},{id:"c-795a206983",options:{},load:()=>import("./chunks/models-list-0669d26fd662aec3.js").then(o=>o.ModelsList)},{id:"c-a3a89c6beb",Component:s},{id:"c-a5d33c27a1",Component:n},{id:"c-c15babe342",Component:p},{id:"c-c200a7023c",options:{},load:()=>import("./chunks/credentials-list-e6177d0943517929.js").then(o=>o.CredentialsList)},{id:"c-c4f89ef2c3",Component:l},{id:"c-ee454d3c90",Component:c},{id:"c-eed2156b9a",options:{},load:()=>import("./chunks/engines-list-2f1acee3ecc8461a.js").then(o=>o.EnginesList)}]});e();i()||f();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:f,unmountRoute:u});export{f as mountRoute,N as remountRoute,u as unmountRoute};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as f}from"./chunks/sentinel-c972a33dc69a5135.js";import{$2a as m,$2b as a,$2c as r,$2d as d,$2f as p}from"./chunks/shared-init-20e199043ff5d00f.js";import{$0e as s}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/wular-pnext-246221e985d863e5-0.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import{$4a as i}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$0c as e}from"./chunks/shared-init-246221e985d863e5-2.js";import{$1i as t}from"./chunks/shared-init-246221e985d863e5-2.js";import{$0a as o,$0b as n}from"./chunks/shared-init-8f2ac936c95a7f7b.js";import"./chunks/shared-init-8f2ac936c95a7f7b.js";var{mountRoute:c,remountRoute:h,unmountRoute:l}=o({islands:[{id:"c-1651f8f6e9",Component:m},{id:"c-42bae1b880",Component:a},{id:"c-5aa432df9a",Component:r},{id:"c-625eafb058",Component:i},{id:"c-a3a89c6beb",Component:s},{id:"c-a5d33c27a1",Component:n},{id:"c-c15babe342",Component:d},{id:"c-c4f89ef2c3",Component:f},{id:"c-ee454d3c90",Component:p}]});e();t()||c();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:c,unmountRoute:l});export{c as mountRoute,h as remountRoute,l as unmountRoute};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as l}from"./chunks/custom-range-03ba6fb2ade7d282.js";import{a as f}from"./chunks/sentinel-c972a33dc69a5135.js";import{$2a as i,$2b as m,$2c as r,$2d as p,$2f as c}from"./chunks/shared-init-20e199043ff5d00f.js";import{$0e as d}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/wular-pnext-246221e985d863e5-0.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import{$4a as s}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$0c as e}from"./chunks/shared-init-246221e985d863e5-2.js";import{$1i as a}from"./chunks/shared-init-246221e985d863e5-2.js";import{$0a as t,$0b as n}from"./chunks/shared-init-8f2ac936c95a7f7b.js";import"./chunks/shared-init-8f2ac936c95a7f7b.js";var{mountRoute:u,remountRoute:G,unmountRoute:b}=t({islands:[{id:"c-1651f8f6e9",Component:i},{id:"c-42bae1b880",Component:m},{id:"c-5aa432df9a",Component:r},{id:"c-5ba8b82352",options:{},load:()=>import("./chunks/composer-f331d00837143aee.js").then(o=>o.NewTaskButton)},{id:"c-625eafb058",Component:s},{id:"c-949b5c21fe",options:{load:"visible",ssr:!0},load:()=>import("./chunks/tasks-list-2a905b4a0c3a9042.js").then(o=>o.TasksList)},{id:"c-a1fcd4baa8",Component:l},{id:"c-a3a89c6beb",Component:d},{id:"c-a5d33c27a1",Component:n},{id:"c-c15babe342",Component:p},{id:"c-c4f89ef2c3",Component:f},{id:"c-ee454d3c90",Component:c}]});e();a()||u();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:u,unmountRoute:b});export{u as mountRoute,G as remountRoute,b as unmountRoute};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as l}from"./chunks/composer-49f9e7c5c4dfda3b.js";import"./chunks/connect-repositories-5389ec8701a3deac.js";import"./chunks/composer-data-6f7608fed13f3dd7.js";import"./chunks/model-options-15c53331a2f28a4f.js";import"./chunks/select-1013702bdfb1ade4.js";import"./chunks/task-fa8b82e95e771c4a.js";import"./chunks/card-e0901d68b79dfa93.js";import"./chunks/field-901f1f35c18c39c9.js";import"./chunks/format-eb03fc9d9744d960.js";import{a as f}from"./chunks/sentinel-c972a33dc69a5135.js";import{$2a as m,$2b as a,$2c as r,$2d as p,$2f as c}from"./chunks/shared-init-20e199043ff5d00f.js";import{$0e as d}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/wular-pnext-246221e985d863e5-0.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import{$4a as s}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$0c as i}from"./chunks/shared-init-246221e985d863e5-2.js";import{$1i as e}from"./chunks/shared-init-246221e985d863e5-2.js";import{$0a as t,$0b as n}from"./chunks/shared-init-8f2ac936c95a7f7b.js";import"./chunks/shared-init-8f2ac936c95a7f7b.js";var{mountRoute:u,remountRoute:L,unmountRoute:C}=t({islands:[{id:"c-1651f8f6e9",Component:m},{id:"c-42bae1b880",Component:a},{id:"c-5aa432df9a",Component:r},{id:"c-625eafb058",Component:s},{id:"c-949b5c21fe",options:{load:"visible",ssr:!0},load:()=>import("./chunks/tasks-list-2a905b4a0c3a9042.js").then(o=>o.TasksList)},{id:"c-a000dd2279",Component:l},{id:"c-a3a89c6beb",Component:d},{id:"c-a5d33c27a1",Component:n},{id:"c-c15babe342",Component:p},{id:"c-c4f89ef2c3",Component:f},{id:"c-e1807a5884",options:{},load:()=>import("./chunks/composer-f331d00837143aee.js").then(o=>o.Composer)},{id:"c-ee454d3c90",Component:c}]});i();e()||u();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:u,unmountRoute:C});export{u as mountRoute,L as remountRoute,C as unmountRoute};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$2a as e,$2b as a,$2c as r,$2d as d,$2f as p}from"./chunks/shared-init-20e199043ff5d00f.js";import{$0e as s}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/wular-pnext-246221e985d863e5-0.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import{$4a as i}from"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-20e199043ff5d00f.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import"./chunks/shared-init-88cce66bb3cfe1e5.js";import{$0c as m}from"./chunks/shared-init-246221e985d863e5-2.js";import{$1i as n}from"./chunks/shared-init-246221e985d863e5-2.js";import{$0a as o,$0b as t}from"./chunks/shared-init-8f2ac936c95a7f7b.js";import"./chunks/shared-init-8f2ac936c95a7f7b.js";var{mountRoute:f,remountRoute:S,unmountRoute:c}=o({islands:[{id:"c-1651f8f6e9",Component:e},{id:"c-42bae1b880",Component:a},{id:"c-5aa432df9a",Component:r},{id:"c-625eafb058",Component:i},{id:"c-a3a89c6beb",Component:s},{id:"c-a5d33c27a1",Component:t},{id:"c-c15babe342",Component:d},{id:"c-ee454d3c90",Component:p}]});m();n()||f();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:f,unmountRoute:c});export{f as mountRoute,S as remountRoute,c as unmountRoute};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,t}from"./cli-
|
|
1
|
+
import{i as e,t}from"./cli-DWCR7iqa.js";import{p as n}from"./output-BKeyLbvt.js";import{credentialOptions as r,missingLabel as i}from"./remove-CLpL12Ya.js";import a from"node:process";const o=e({name:`credentials default`,globalFlags:{cwd:!1},help:{usage:`coder credentials default <label> [--workspace] [--server [url]] [--json]`,flags:[[`--workspace`,`the workspace credential of that label`],t]},options:r,args:1,async run({options:e,args:[t]}){let{connect:n}=await import(`./remote-miQNTVRa.js`).then(e=>e.a);if(!t)throw i();return n(e).credentials.setDefault(t,e)},print:(e,{args:[t]})=>a.stdout.write(`Made default ${n.bold(t)}.\n`)});export{o as commandCredentialsDefault};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{xt as e}from"./dispatch-BKeAch9E.js";import{i as t,t as n}from"./cli-
|
|
1
|
+
import{xt as e}from"./dispatch-BKeAch9E.js";import{i as t,t as n}from"./cli-DWCR7iqa.js";import{runnerOptions as r}from"./remove-BNzbUhaK.js";import i from"node:process";const a=t({name:`runner default`,globalFlags:{cwd:!1},args:1,help:{usage:`coder runner default <id> [--server [url]] [--json]`,summary:`Use this runner by default within its scope.`,flags:[n]},options:r,async run({options:t,args:[n]}){if(!n)throw new e(`invalid-option`,`Missing runner id.`);let{updateRunner:r}=await import(`./runner-sUpWJ_k0.js`).then(e=>e.a);return r(n,{default:!0},t)},print:e=>i.stdout.write(`Default runner ${e.name}.\n`)});export{a as commandRunnerDefault};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{i as e,r as t}from"./cli-
|
|
1
|
+
import{i as e,r as t}from"./cli-DWCR7iqa.js";import{p as n}from"./output-BKeyLbvt.js";import{i as r,n as i,s as a,t as o}from"./args-BOEEdpWk.js";import{plural as s}from"./archive-DZ6vpMHb.js";import c from"node:process";const l={server:r,workspace:a,yes:i},u=e({name:`task delete`,help:{usage:`coder task delete <task-id> | coder task delete --all-archived [--server [url]]`,summary:`Delete a task's session from disk. This is permanent. Pass --all-archived to
|
|
2
2
|
delete every archived task at once. A running task must be stopped first.`,flags:[[`--all-archived`,`delete every archived task`],t]},options:{...o,"all-archived":i,...l},args:1,run:async({options:e,args:[t]})=>{let{tasks:n}=await import(`./task-C6VAg5WU.js`).then(e=>e.t);return n.delete(t,{...e,organization:e.workspace,allArchived:e[`all-archived`]})},print(e,{options:t}){if(e.count===void 0)return void c.stdout.write(`Deleted task ${n.cyan(e.taskId)}.\n`);c.stdout.write(t.server===void 0?e.count?`Deleted ${e.count} archived task${s(e.count)}.\n`:`${n.dim(`No archived tasks to delete.`)}\n`:`Deleted ${e.count} server task${s(e.count)}.\n`)}});export{u as commandDelete};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as e}from"./cli-
|
|
1
|
+
import{i as e}from"./cli-DWCR7iqa.js";import{p as t}from"./output-BKeyLbvt.js";import{n,t as r}from"./args-BOEEdpWk.js";import{plural as i}from"./archive-BCUfymIB.js";import a from"node:process";const o=e({name:`flow delete`,help:{usage:`coder flow delete <run-id> | coder flow delete --all-archived`,summary:`Delete a flow run's record from disk (its journal, events, and logs). This is
|
|
2
2
|
permanent; the run's tasks are ordinary tasks and are not touched. Pass
|
|
3
3
|
--all-archived to delete every archived run at once. A running run must be
|
|
4
4
|
stopped first.`,flags:[[`--all-archived`,`delete every archived run`]]},options:{...r,"all-archived":n},args:1,run:async({options:e,args:[t]})=>{let{deleteRuns:n}=await import(`./executor-BvAA7Cgw.js`).then(e=>e.y);return n(t,{allArchived:e[`all-archived`]})},print(e){if(!(`count`in e))return void a.stdout.write(`Deleted run ${t.cyan(e.runId)}.\n`);a.stdout.write(e.count?`Deleted ${e.count} archived run${i(e.count)}.\n`:`${t.dim(`No archived runs to delete.`)}\n`)}});export{o as commandDelete};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e}from"./cli-
|
|
1
|
+
import{i as e}from"./cli-DWCR7iqa.js";import{a as t}from"./models-_5LVGC3m.js";import{n}from"./add-CLYTF_up.js";import{t as r}from"./remove-D-QeeZQL.js";const i=(i,a)=>e({name:`model ${i?`disable`:`enable`}`,help:a,options:n,args:1,run:({options:e,args:[n],cwd:r})=>t(r,n,i,e),json:({name:e,file:t})=>({[i?`disabled`:`enabled`]:e,file:t}),print:({name:e,file:t})=>r(i?`disabled`:`enabled`,e,t)}),a=i(!0,{usage:`coder model disable <name> [--workspace]`,summary:`Disable a model - built-in, custom, or alias. Requests for it fail until re-enabled.`,flags:[[`--workspace`,`target <repo>/.coder/config.json instead of the user file`]]});export{a as commandModelDisable,i as toggle};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{i as e}from"./cli-
|
|
1
|
+
import{i as e}from"./cli-DWCR7iqa.js";import{g as t,p as n,s as r}from"./output-BKeyLbvt.js";import{t as i}from"./args-BOEEdpWk.js";import a from"node:path";import o from"node:process";import s from"node:os";const c=e({name:`flow discover`,help:{usage:`coder flow discover [--json]`,summary:`List every flow discoverable from the current directory: workspace flows in
|
|
2
2
|
.coder/flows/ (walking up to the repo root) and global flows in ~/.coder/flows/.`},options:i,run:async({cwd:e})=>{let{discoverFlows:t}=await import(`./discover-Dvr_3_Xr.js`).then(e=>e.r);return t(e)},print:(e,{cwd:t})=>l(e,t)});function l(e,i){if(!e.length){o.stdout.write(`No flows found in .coder/flows/ (workspace) or ~/.coder/flows/ (global).
|
|
3
3
|
`),o.stdout.write(`\n${r([`Authoring guide: coder docs flows`],n)}\n`);return}let c=n;o.stdout.write(t([{header:`name`,value:e=>e.name,paint:e=>c.cyan(e)},{header:`scope`,value:e=>e.scope,paint:e=>c.light(e)},{header:`path`,value:e=>e.scope===`workspace`?a.relative(i,e.path)||e.path:e.path.replace(s.homedir(),`~`),paint:e=>c.light(e)}],e,c)),o.stdout.write(`\n${r([`Run one: coder flow run <name>`,`Recent runs: coder flow list`],c)}\n`)}export{c as commandDiscover};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{i as e}from"./cli-
|
|
1
|
+
import{i as e}from"./cli-DWCR7iqa.js";import{g as t,p as n,s as r}from"./output-BKeyLbvt.js";import{n as i}from"./args-BOEEdpWk.js";import{t as a}from"./docs-BX65z2Iu.js";import o from"node:process";const s=e({name:`docs`,globalFlags:{cwd:!1},help:{usage:`coder docs [topic] [--json]`,summary:"Print bundled documentation. With no topic, list the available topics; with a\ntopic, print that doc's raw markdown to stdout (unstyled, for an agent to\nconsume). Topics with sub-pages list them as `<topic>/<page>` (also accepted as\n`<topic>-<page>`). `coder docs skill` prints the host skill so an engine can\nload it once per session (--claude for the Claude Code flavor).",flags:[[`--claude`,`with the skill topic: print the Claude Code flavor`]],examples:[[`coder docs`,`list the available topics`],[`coder docs flows`,`print the Flows doc`],[`coder docs review`,`print the Review doc`]]},options:{json:i,claude:i},args:1,run:({options:e,args:[t]})=>a(t,e),print:e=>o.stdout.write(`content`in e?e.content.endsWith(`
|
|
2
2
|
`)?e.content:`${e.content}\n`:c(e.topics))});function c(e){let i=n,a=e=>e.includes(`/`)?` ${e}`:e;return t([{header:`topic`,value:e=>a(e.name),paint:e=>i.cyan(e)},{header:`about`,value:e=>e.description,paint:e=>i.light(e)}],e,i)+`\n${r([`Read a topic: coder docs <topic>`],i)}\n`}export{s as commandDocs};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{toggle as e}from"./disable-
|
|
1
|
+
import{toggle as e}from"./disable-BMWWeYFQ.js";const t=e(!1,{usage:`coder model enable <name> [--workspace]`,summary:`Re-enable a disabled model.`,flags:[[`--workspace`,`target <repo>/.coder/config.json instead of the user file`]]});export{t as commandModelEnable};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as e}from"./cli-
|
|
1
|
+
import{s as e}from"./cli-DWCR7iqa.js";const t=e(`flow`,{run:async()=>(await import(`./run-BWbabvub.js`)).commandRun,list:async()=>(await import(`./list-way5oLO0.js`)).commandList,ls:async()=>(await import(`./list-way5oLO0.js`)).commandList,discover:async()=>(await import(`./discover-Cfx5RPU7.js`)).commandDiscover,result:async()=>(await import(`./result-BfTfJayl.js`)).commandResult,watch:async()=>(await import(`./watch-eE2XiwsC.js`)).commandWatch,stream:async()=>(await import(`./watch-eE2XiwsC.js`)).commandWatch,stop:async()=>(await import(`./stop-BWY6k6v5.js`)).commandStop,resume:async()=>(await import(`./resume-aZ8yWDBh.js`)).commandResume,archive:async()=>(await import(`./archive-BCUfymIB.js`)).commandArchive,delete:async()=>(await import(`./delete-cS01oOIb.js`)).commandDelete},{menu:[{usage:`run <name|path> [--wait] [--args ...]`,blurb:`run a flow in the background (--wait to follow it live)`},{usage:`list`,blurb:`recent flow runs (by default running + just stopped)`},{usage:`discover`,blurb:`list flows runnable here (workspace + global)`},{usage:`result [run-id]`,blurb:`progress and result of a run`},{usage:`watch [run-id]`,blurb:`watch a run live (replay + follow)`},{usage:`stop [run-id]`,blurb:`stop a run and its still-running tasks`},{usage:`resume [run-id]`,blurb:`continue a stopped or edited run`},{usage:`archive <run-id> | --all-stopped`,blurb:`hide a run (or all stopped) from the list`},{usage:`delete <run-id> | --all-archived`,blurb:`delete a run's record (or all archived)`}],description:[`Orchestrate many coder tasks with a plain TypeScript file: dispatch, gates,`,`concurrency, journaling, and resume. Flows live in .coder/flows/ (workspace)`,"or ~/.coder/flows/ (global). See `coder docs flows`."]},{aliases:{stream:`watch`,ls:`list`},hint:`Run a flow: coder flow run <name>`});export{t as commandFlow};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,n as t,o as n,r}from"./prompt-CEuBMNhk.js";import{i}from"./cli-
|
|
1
|
+
import{a as e,n as t,o as n,r}from"./prompt-CEuBMNhk.js";import{i}from"./cli-DWCR7iqa.js";import{p as a,s as o}from"./output-BKeyLbvt.js";import{n as s,s as c,t as l}from"./args-BOEEdpWk.js";import u from"node:path";import d from"node:process";const f={observe:`read the platform only`,comment:`also post replies and reactions`,write:`also push, branch, and open or merge pull requests`};function p(e,t){let n=a,{id:r,samples:i,integrations:s}=e;d.stdout.write(`Created ${n.cyan(t)}.\n`);let c=s.length?[`1. Write ${t}/system.md. Try it with no server: coder task run --agent ${r} "<task>"`,`2. Run it on a server: coder dash on this machine reads it from this repo; a cloud server imports it from the dashboard or with coder agent push.`,`3. On the dashboard, create the agent's app on each platform it uses (${s.join(`, `)}) from its Platforms tab, and install it.`,`4. Fire an event by hand, or leave --server out to run it offline: coder agent run ${r} ${i[0]??`<event.json>`} --server <url>`,`Guide: https://github.com/muzam1l/coder/blob/main/docs/agents/index.md`,`Agents: coder docs agents`]:[`1. Write ${t}/system.md. Try it with no server: coder task run --agent ${r} "<task>"`,`2. Give the agent a platform under "integrations" in ${t}/agent.json, then run init again or follow the guide: coder agent integrations list`,`Guide: https://github.com/muzam1l/coder/blob/main/docs/agents/index.md`,`Agents: coder docs agents`];d.stdout.write(`\n${o(c,n)}\n`)}async function m(r){let{regexError:i}=await import(`./agent-hw3zKw8y.js`).then(e=>e.t),{INTEGRATIONS:o}=await import(`./integrations-BAgdVDhj.js`).then(e=>e.r),{PRESETS:s}=await import(`./types-D0q15RJa.js`).then(e=>e.n),c=a;d.stdout.write(`Creating ${c.cyan(`.coder/agents/${r}`)}. Pick what the agent listens to and what it may do; flags skip these questions.\n\n`);let l=await e({title:`Integrations`,hint:`Platforms the agent listens to and acts on. Add or remove them later in agent.json.`,multi:!0,selected:[Object.keys(o)[0]],options:Object.values(o).map(e=>({value:e.id,hint:e.description}))}),u={},p={};for(let e of l){let t=o[e],r=Object.keys(t.events),a=await n({title:`${e} events`,hint:`What wakes the agent on ${e}; each event runs the agent with that event as its prompt.`,multi:!0,required:!0,selected:[r.includes(`mention`)?`mention`:r[0]],options:Object.entries(t.events).map(([e,t])=>({value:e,hint:t.description,...t.noisy?{input:{label:`match`,value:`^help\\b`,placeholder:`tab to add a match`,validate:i}}:{}}))});u[e]=a.values,p[e]=a.inputs}let[m]=l.length?await e({title:`Tools`,hint:`What the agent may do on its platforms; comment suits most agents.`,selected:[`comment`],options:s.map(e=>({value:e,hint:f[e]}))}):[`comment`],h=await t(`Display name`,r,void 0,`Shown in replies and app names.`);return{...h===r?{}:{name:h},integrations:l,events:u,matches:p,tools:m}}const h=i({name:`agent init`,help:{usage:`coder agent init [id] [--integrations a,b] [--triggers a,b] [--tools <preset>] [--name <text>] [--description <text>] [--permissions <mode>] [--yes]`,summary:"Create .coder/agents/<id>/ with an agent.json built from the integration catalog, a system.md to write the prompt in, and one sample event per integration for `coder agent run`. Asks for the id, integrations, events, and tools when run in a terminal without them.",flags:[[`--integrations <a,b>`,`platforms the agent listens to (see coder agent integrations list)`],[`--triggers <a,b>`,`events that start tasks, applied to each integration that has them (default: mention)`],[`--tools <preset>`,`observe, comment, or write (default: comment)`],[`--name <text>`,`display name used in replies (default: the id)`],[`--description <text>`,`one line for agent list`],[`--permissions <mode>`,`engine permission mode (default: read-only)`],[`--yes`,`skip the questions and take the defaults`]],examples:[[`coder agent init`,`answer the questions, id included`],[`coder agent init triage --integrations github --triggers issue,mention --tools comment`,`no questions`]]},options:{...l,name:c,description:c,integrations:c,triggers:c,tools:c,permissions:c,match:c,yes:s},args:1,run:async({options:e,args:[n],cwd:i})=>{let{agents:a}=await import(`./agent-hw3zKw8y.js`).then(e=>e.t),o=r()&&!e.yes;return a.init(n,{...e,cwd:i,permissions:e.permissions,...o?{askId:e=>t(`Agent id`,``,e,`Folder name under .coder/agents and the name used in commands.`)}:{},...o&&!e.integrations?{askPicks:m}:{}})},json:(e,{cwd:t})=>({id:e.id,dir:u.relative(t,e.dir),files:e.files,samples:e.samples}),print:(e,{cwd:t})=>p(e,u.relative(t,e.dir))});export{h as commandAgentInit};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{s as e}from"./cli-DWCR7iqa.js";const t=e(`agent integrations`,{list:async()=>(await import(`./list-J8d_zh-o.js`)).commandIntegrationsList,ls:async()=>(await import(`./list-J8d_zh-o.js`)).commandIntegrationsList,show:async()=>(await import(`./show-DzoQIs75.js`)).commandIntegrationsShow},{menu:[{usage:`list`,blurb:`list integrations with their events and tools`},{usage:`show <id>`,blurb:`events and tools of one integration`}],description:[`The platforms an agent can listen to and act on: their events and tool presets.`]},{aliases:{ls:`list`}});export{t as commandAgentIntegrations};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{i as e,r as t}from"./cli-
|
|
2
|
-
`);let a=r;l.stdout.write(n([{header:`id`,value:e=>e.id,paint:e=>a.cyan(e)},{header:`name`,value:e=>e.name},{header:`source`,value:e=>e.source,paint:e=>a.light(e)},...t?[{header:`version`,value:e=>String(e.version)}]:[],{header:`description`,value:e=>e.description??`-`}],e,a)),!t&&l.stdout.write(`\n${i([`An agent's settings, triggers, and tools: coder agent show <id>`,`Scaffold a new agent in this repo: coder agent init <id>`],a)}\n`)}const m=e({name:`agent list`,help:{usage:`coder agent list [--server [url]] [--json] [--cwd <dir>]`,summary:`Without --server, one row per built-in and workspace agent. With --server, list the agent records and current versions owned by that Coder server.`,flags:[t]},options:{...c,...u},run:async({options:e,cwd:t})=>{let{agents:n}=await import(`./agent-
|
|
1
|
+
import{i as e,r as t}from"./cli-DWCR7iqa.js";import{g as n,p as r,s as i}from"./output-BKeyLbvt.js";import{i as a,n as o,s,t as c}from"./args-BOEEdpWk.js";import l from"node:process";const u={server:a,workspace:s,yes:o},d=e=>`builtin`in e,f=e=>e.map(e=>d(e)?{id:e.id,name:e.name,source:e.builtin?`builtin`:`repo`,description:e.definition.description??null}:{id:e.id,name:e.name,source:e.source,version:e.currentVersion,description:e.description??null});function p(e,t){if(!e.length)return void l.stdout.write(`No agents configured.
|
|
2
|
+
`);let a=r;l.stdout.write(n([{header:`id`,value:e=>e.id,paint:e=>a.cyan(e)},{header:`name`,value:e=>e.name},{header:`source`,value:e=>e.source,paint:e=>a.light(e)},...t?[{header:`version`,value:e=>String(e.version)}]:[],{header:`description`,value:e=>e.description??`-`}],e,a)),!t&&l.stdout.write(`\n${i([`An agent's settings, triggers, and tools: coder agent show <id>`,`Scaffold a new agent in this repo: coder agent init <id>`],a)}\n`)}const m=e({name:`agent list`,help:{usage:`coder agent list [--server [url]] [--json] [--cwd <dir>]`,summary:`Without --server, one row per built-in and workspace agent. With --server, list the agent records and current versions owned by that Coder server.`,flags:[t]},options:{...c,...u},run:async({options:e,cwd:t})=>{let{agents:n}=await import(`./agent-hw3zKw8y.js`).then(e=>e.t);return n.list({...e,cwd:t,organization:e.workspace})},json:e=>f(e),print:(e,{options:t})=>p(f(e),t.server!==void 0)});export{m as commandAgentList,d as isLocal};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./dispatch-BKeAch9E.js";import{i as e,r as t}from"./cli-
|
|
1
|
+
import"./dispatch-BKeAch9E.js";import{i as e,r as t}from"./cli-DWCR7iqa.js";import{a as n,g as r,m as i,p as a,s as o}from"./output-BKeyLbvt.js";import{i as s,n as c,r as l,s as u}from"./args-BOEEdpWk.js";import{replyOf as d,statusStyle as f}from"./result-D8DsvJDu.js";import p from"node:path";import m from"node:process";const h={server:s,workspace:u,yes:c};function g(e){if(!e.length)return void m.stdout.write(`No server tasks.
|
|
2
2
|
`);let t=a;m.stdout.write(r([{header:`task-id`,value:e=>e.task.id,paint:e=>t.cyan(e)},{header:`status`,value:e=>e.status,paint:e=>f(e,t)},{header:`agent`,value:e=>e.task.agent},{header:`source`,value:e=>e.task.source},{header:`request`,value:e=>(e.task.prompt??(e.task.event?`${e.task.event.type}: ${e.task.event.text}`:`-`)).slice(0,80)},{header:`reply`,value:e=>d(e)??`-`}],e,t))}function _(e,t,s){let c=a;if(!e.length){let n=t.archived?`archived tasks`:t.running?`running tasks`:t.stopped?`recently stopped tasks`:`recent tasks`;m.stdout.write(`No ${n}.\n`),e.archived&&m.stdout.write(`\n${o([`${e.archived} archived: coder task list --archived [--limit N]`],c)}\n`);return}let l=[{header:`task-id`,value:e=>e.taskId,paint:e=>c.cyan(e),max:28},{header:`status`,value:e=>e.status,paint:(e,t)=>i(t.status,e.length),max:16},{header:`engine`,value:e=>(e.engine===`custom`&&e.model?e.model:(e.engine??`-`)+(e.model?`/${e.model}`:``))+(e.effort?`/${e.effort}`:``),paint:e=>c.light(e),max:26},{header:`cwd`,value:e=>e.cwd?p.basename(e.cwd):`-`,paint:e=>c.light(e),max:24},{header:`name`,value:e=>{let t=e.archived?` ${c.dim(`(archived)`)}`:``;return`${e.name?e.name:c.light(e.prompt)}${e.idleMs!==null&&e.idleMs>=12e4?` ${(e.idleMs>6e5?c.red:c.dim)(`· idle ${n(e.idleMs)}`)}`:``}${t}`}}],u=[],d=new Map;for(let t of e){if(!t.flowRunId){let e=u.at(-1);e&&!e.header?e.rows.push(t):u.push({rows:[t]});continue}let e=d.get(t.flowRunId);if(!e){let n=s(t.flowRunId);e={header:n?`(${c.bold(t.flowRunId)} ${n.status}. Flow ${n.name})`:`(${c.bold(t.flowRunId)} flow)`,rows:[]},d.set(t.flowRunId,e),u.push(e)}e.rows.push(t)}m.stdout.write(r(l,u,c)),e.clipped&&m.stdout.write(c.dim(`\n... ${e.clipped} more not shown (--limit ${t.limit===`all`?void 0:t.limit})\n`));let f=[`Result: coder task result <task-id>`];t.archived||f.push(`Older tasks: coder task list --archived [--limit N]`),m.stdout.write(`\n${o(f,c)}\n`)}const v=e({name:`task list`,help:{usage:`coder task list [--running] [--stopped] [--archived [--limit N]] [--server [url]]`,summary:`List recent tasks across all workspaces, most recent first: running tasks plus
|
|
3
3
|
ones stopped within the last 10 minutes. Older stopped tasks auto-archive and
|
|
4
4
|
move to --archived. Shortcut: \`coder list\`.`,flags:[[`--running`,`show only running tasks`],[`--stopped`,`show only recently stopped tasks (not yet archived)`],[`--archived`,`show only archived tasks (auto-archived or via task archive)`],[`--limit <n|all>`,`show at most n tasks (default all)`],[`--dir <dir>`,`only tasks launched in that workspace`],t]},options:{cwd:u,dir:u,limit:l,json:c,running:c,stopped:c,archived:c,...h},run:async({options:e})=>{let{tasks:t}=await import(`./task-C6VAg5WU.js`).then(e=>e.t);return t.list({...e,organization:e.workspace})},async print(e,{options:t}){if(t.server!==void 0)return g(e);let{readFlowRecord:n}=await import(`./executor-BvAA7Cgw.js`).then(e=>e.y);_(e,t,n)}});export{v as commandTasks};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{i as e,n as t}from"./cli-
|
|
1
|
+
import{i as e,n as t}from"./cli-DWCR7iqa.js";import{p as n,s as r}from"./output-BKeyLbvt.js";import{r as i}from"./models-_5LVGC3m.js";import{n as a}from"./add-CLYTF_up.js";import o from"node:process";const s=e({name:`model list`,help:{usage:`coder model list [--json]`,summary:`List built-in aliases, configured custom models, and user aliases. Only custom\nmodels are probed.\n\n${t}`},options:a,run:({cwd:e})=>i(e),print:c});function c(e){let i=n,a=e=>e?` ${i.dim(`(disabled)`)}`:``,s=[],c=(e,t)=>{s.push(i.bold(e));for(let e of t)`overrides`in e?s.push(` ${e.disabled?i.dim(`∅`):i.cyan(`↳`)} ${e.alias.padEnd(14)} ${i.dim(`-> ${e.spec} (overrides ${e.overrides})`)}${a(e.disabled)}`):`builtin`in e?s.push(` ${e.disabled?i.dim(`∅`):i.green(`✔`)} ${e.alias.padEnd(14)} ${i.dim(`-> ${e.model}`)}${a(e.disabled)}`):s.push(` ${e.disabled?i.dim(`∅`):i.cyan(`↳`)} ${e.alias.padEnd(14)} ${i.dim(`-> ${e.spec}`)}${a(e.disabled)}`);s.push(``)};c(`Codex models`,e.codex),c(`Claude models`,e.claude),s.push(i.bold(`Custom models`),``),e.custom.length||s.push(i.dim(` None.`));for(let{name:t,probe:n,...r}of e.custom){let e=r.disabled?i.dim(`∅`):n.reachable?i.green(`✔`):i.red(`✘`);s.push(` ${e} ${t.padEnd(14)} ${r.model} ${i.dim(`@ ${r.baseUrl}. ${n.detail}`)}${a(r.disabled)}`)}if(s.push(``),e.toggles){s.push(i.bold(`Other`),``);for(let t of e.toggles)s.push(` ${t.disabled?i.dim(`∅`):i.green(`✔`)} ${t.name.padEnd(14)} ${i.dim(`raw model id`)}${a(t.disabled)}`);s.push(``)}s.push(...t.split(`
|
|
2
2
|
`),``,r([`Add a custom model: coder model add <name> --base-url <url> --model <id> [--env-key VAR]`,`Alias a model, e.g. fast codex:luna: coder model alias <name> <spec>`,`Run with a model: coder run --model <name> "<task>"`],i)),o.stdout.write(`${s.join(`
|
|
3
3
|
`)}\n`)}export{s as commandModelList};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,t}from"./cli-
|
|
1
|
+
import{i as e,t}from"./cli-DWCR7iqa.js";import{g as n,p as r}from"./output-BKeyLbvt.js";import{runnerOptions as i}from"./remove-BNzbUhaK.js";import a from"node:process";function o({items:e}){if(!e.length)return void a.stdout.write(`${r.dim(`No runners.`)}\n`);a.stdout.write(`${n([{header:`id`,value:e=>e.id,paint:e=>r.cyan(e)},{header:`name`,value:e=>e.name},{header:`scope`,value:e=>e.scope},{header:`status`,value:e=>e.online?`online`:`offline`},{header:`kind`,value:e=>e.kind},{header:`default`,value:e=>e.default?`yes`:``}],e,r)}\n`)}const s=e({name:`runner list`,globalFlags:{cwd:!1},help:{usage:`coder runner list [--server [url]] [--json]`,flags:[t]},options:i,run:async({options:e})=>{let{listRunners:t}=await import(`./runner-sUpWJ_k0.js`).then(e=>e.a);return t(e)},print:o});export{s as commandRunnerList};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e}from"./cli-
|
|
1
|
+
import{i as e}from"./cli-DWCR7iqa.js";import{g as t,p as n,s as r}from"./output-BKeyLbvt.js";import{n as i}from"./args-BOEEdpWk.js";import a from"node:process";function o(e){let i=n;a.stdout.write(t([{header:`id`,value:e=>e.id,paint:e=>i.cyan(e)},{header:`description`,value:e=>e.description},{header:`events`,value:e=>e.events.join(`, `)},{header:`tools`,value:e=>e.tools.join(`, `)}],e,{style:i,border:!0})),a.stdout.write(`\n${r([`Event descriptions and the tools each preset allows: coder agent integrations show <id>`],i)}\n`)}const s=e({name:`agent integrations list`,globalFlags:{cwd:!1},help:{usage:`coder agent integrations list [--json]`,summary:"One row per integration: its id, the events an agent can wire, and every tool it offers; `show` splits the tools by preset."},options:{json:i},run:async()=>{let{agents:e}=await import(`./agent-hw3zKw8y.js`).then(e=>e.t);return e.integrations.list()},print:o});export{s as commandIntegrationsList};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,t}from"./cli-
|
|
1
|
+
import{i as e,t}from"./cli-DWCR7iqa.js";import{g as n,p as r}from"./output-BKeyLbvt.js";import{n as i,o as a}from"./args-BOEEdpWk.js";import o from"node:process";function s(e){if(!e.length)return void o.stdout.write(`${r.dim(`No engine credentials.`)}\n`);o.stdout.write(`${n([{header:`label`,value:e=>e.label,paint:e=>r.cyan(e)},{header:`engine`,value:e=>e.engine},{header:`scope`,value:e=>e.scope},{header:`default`,value:e=>e.isDefault?`✔`:``},{header:`value`,value:e=>e.masked},{header:`account`,value:e=>[e.account?.email,e.account?.plan].filter(Boolean).join(` `)}],e,r)}\n`)}const c=e({name:`credentials list`,globalFlags:{cwd:!1},help:{usage:`coder credentials list [--server [url]] [--json]`,flags:[t]},options:{json:i,server:a,yes:i},run:async({options:e})=>{let{connect:t}=await import(`./remote-miQNTVRa.js`).then(e=>e.a);return t(e).credentials.list()},print:s});export{c as commandCredentialsList};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ot as e}from"./dispatch-BKeAch9E.js";import{i as t}from"./cli-
|
|
1
|
+
import{ot as e}from"./dispatch-BKeAch9E.js";import{i as t}from"./cli-DWCR7iqa.js";import{g as n,p as r,s as i}from"./output-BKeyLbvt.js";import{t as a}from"./args-BOEEdpWk.js";import o from"node:process";const s=t({name:`mcp list`,help:{usage:`coder mcp list [--json] [--cwd <dir>]`,summary:`List MCP servers from the merged user and repo config.`},options:a,run:({cwd:t})=>e(t),print:c});function c(e){let t=r,a=Object.keys(e);if(!a.length)return void o.stdout.write(`No MCP servers configured.\n\n${i([`Add a server: coder mcp add <name> -- <command>`],t)}\n`);o.stdout.write(n([{header:`name`,value:e=>e.name,paint:e=>t.cyan(e)},{header:`target`,value:e=>e.entry.url??[e.entry.command,...e.entry.args??[]].join(` `),paint:e=>t.light(e)},{header:`tools`,value:e=>e.entry.tools?.join(`, `)??`-`,paint:e=>t.light(e)}],a.map(t=>({name:t,entry:e[t]})),t))}export{s as commandMcpList};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{wt as e}from"./dispatch-BKeAch9E.js";import{i as t}from"./cli-
|
|
1
|
+
import{wt as e}from"./dispatch-BKeAch9E.js";import{i as t}from"./cli-DWCR7iqa.js";import{a as n,l as r,m as i,n as a,p as o,s}from"./output-BKeyLbvt.js";import{n as c,r as l,t as u}from"./args-BOEEdpWk.js";import d from"node:process";const f=t({name:`flow list`,help:{usage:`coder flow list [--archived] [--limit N] [--json]`,summary:`List recent flow runs, most recent first: running runs plus ones that ended
|
|
2
2
|
within the last 10 minutes. Older runs auto-archive and move to --archived.`,flags:[[`--archived`,`show archived runs (auto-archived or via flow archive)`],[`--limit <n|all>`,`show at most n runs (default all)`]]},options:{...u,archived:c,limit:l},run:async({options:e})=>{let{collectFlowRuns:t}=await import(`./executor-BvAA7Cgw.js`).then(e=>e.y);return t(e)},json:e=>e.runs,print:(e,{options:t})=>p(e,t)});function p({runs:t,clipped:c},l){if(!t.length){d.stdout.write(l.archived?`No archived flow runs.
|
|
3
3
|
`:`No recent flow runs.
|
|
4
4
|
`),d.stdout.write(`\n${s([`Run one: coder flow run <name>`,`Runnable flows: coder flow discover`],o)}\n`);return}let u=o,f=(e,t,n)=>Math.min(t,Math.max(e,...n.map(e=>e.length))),p={id:f(6,28,t.map(e=>e.runId)),name:f(4,30,t.map(e=>e.name))};d.stdout.write(u.bold(u.light(`${`run-id`.padEnd(p.id)} ${`name`.padEnd(p.name)} ${`status`.padEnd(10)} ${`tasks`.padEnd(9)} ${`tokens`.padEnd(10)} age\n`)));for(let o of t){let t=Object.values(o.ledger).reduce((e,t)=>e+t.total,0);d.stdout.write(`${u.cyan(a(o.runId,p.id))} ${a(o.name,p.name)} ${i(o.status,10)} ${u.light(a(`${o.taskCount} tasks`,9))} ${u.light(a(t?`${r(t)} tok`:`-`,10))} ${u.light(n(e(o.startedAt)))}\n`)}c&&d.stdout.write(u.dim(`\n... ${c} more not shown (--limit ${l.limit})\n`)),d.stdout.write(`\n${s([`Result: coder flow result <run-id>`,`Tasks: coder list`,`Runnable flows: coder flow discover`],u)}\n`)}export{f as commandList};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,t}from"./cli-
|
|
1
|
+
import{i as e,t}from"./cli-DWCR7iqa.js";import{p as n,r,s as i}from"./output-BKeyLbvt.js";import{n as a,o}from"./args-BOEEdpWk.js";import s from"node:process";import c from"node:readline/promises";function l(e){e.url&&s.stderr.write(`Open ${n.cyan(e.url)}\n`),e.code&&s.stderr.write(`Enter the code ${n.bold(e.code)}\n`)}async function u(){let e=c.createInterface({input:s.stdin,output:s.stderr}),t=(await e.question(`Paste the code from the sign-in page `)).trim();return e.close(),t}function d(e){if(e.state===`failed`)return void s.stderr.write(`${r.red(e.error??`Sign-in failed.`)}\n\n${i([`Try again`],r)}\n`);s.stdout.write(`Signed in. Personal credential ${n.bold(e.label??e.engine)} is your ${e.engine} default.\n`)}const f=e({name:`credentials login`,globalFlags:{cwd:!1},help:{usage:`coder credentials login <claude|codex> [--server [url]] [--json]`,summary:`Runs the official claude or codex sign-in on the server's runner, prints the sign-in link or device code, and waits. Claude asks you to paste the code the sign-in page shows. The result is your personal default for that engine. Needs CLAUDE_SUBSCRIPTIONS=1 or CODEX_SUBSCRIPTIONS=1 on the server.`,flags:[t]},options:{json:a,server:o,yes:a},args:1,run:async({options:e,args:[t]})=>{let{loginCredential:n}=await import(`./remote-miQNTVRa.js`).then(e=>e.a);return n(t,{...e,onStart:e=>s.once(`SIGINT`,()=>void e().finally(()=>s.exit(130))),onOpen:l,code:u})},print:d,exit:(e,{options:t})=>!t.json&&e.state===`failed`?1:void 0});export{f as commandCredentialsLogin};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{xt as e}from"./dispatch-BKeAch9E.js";import{a as t,i as n,r}from"./prompt-CEuBMNhk.js";import{i,r as a}from"./cli-
|
|
1
|
+
import{xt as e}from"./dispatch-BKeAch9E.js";import{a as t,i as n,r}from"./prompt-CEuBMNhk.js";import{i,r as a}from"./cli-DWCR7iqa.js";import{p as o}from"./output-BKeyLbvt.js";import{i as s,n as c,s as l}from"./args-BOEEdpWk.js";import u from"node:process";const d=t=>{throw t instanceof e&&t.code===`login-failed`?new e(`invalid-option`,t.message,t.hint?{hint:t.hint}:{}):t},f=i({name:`auth login`,globalFlags:{cwd:!1},help:{usage:`coder auth login [--server [url]] [--workspace <slug>] [--device] [--json]`,summary:`Sign in with Wular Auth in your browser. The CLI keeps the tokens in ~/.coder/session.json, and commands that talk to a server then act as you.`,flags:[a,[`--device`,`show a code to approve on another device; the default without a local browser`]],env:[[`CODER_SERVER`,`the server to use instead of https://coder.wular.ai`]],examples:[[`coder auth login`,`sign in to the hosted service`],[`coder auth login --server https://agents.example.com`,`sign in to a self-hosted server`]]},options:{json:c,server:s,workspace:l,yes:c,device:c},run:async({options:e})=>{let{hasBrowser:i,sessions:a}=await import(`./remote-miQNTVRa.js`).then(e=>e.c);return a.login({server:e.server,yes:e.yes,device:e.device||!i(),open:e=>{u.stdout.write(`Opening your browser to sign in. If it does not open, visit\n${o.light(e)}\n`),n(e)},onCode:(e,t)=>u.stdout.write(`Confirm this code in your browser: ${o.bold(e)}\n${o.light(t)}\n`),organization:e.workspace,...r()?{chooseOrganization:async e=>{let[n]=await t({title:`Workspace`,hint:`Commands for this server use this workspace by default.`,options:e.map(e=>({value:e.slug,label:e.name,hint:e.slug}))});return n}}:{}}).catch(d)},json:e=>({server:e.server,user:e.user,organization:e.organization}),print:e=>{let t=o;u.stdout.write(`${t.green(`✔`)} Signed in to ${t.bold(e.server)} as ${e.user.email}${e.organization?` ${t.dim(`· ${e.organization.name}`)}`:``}\n`)}});export{f as commandLogin,d as ownHint};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,r as t}from"./cli-
|
|
1
|
+
import{i as e,r as t}from"./cli-DWCR7iqa.js";import{i as n,n as r}from"./args-BOEEdpWk.js";import{ownHint as i}from"./login-CNmeRAL7.js";import a from"node:process";const o=e({name:`auth logout`,globalFlags:{cwd:!1},help:{usage:`coder auth logout [--server [url]] [--json]`,summary:`Revoke the saved session for that server at Wular Auth and forget its tokens.`,flags:[t]},options:{json:r,server:n,yes:r},run:async({options:e})=>{let{sessions:t}=await import(`./remote-miQNTVRa.js`).then(e=>e.c);return t.logout(e).catch(i)},print:e=>a.stdout.write(`Signed out of ${e.server}.\n`)});export{o as commandLogout};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./rolldown-runtime-DT7IzrpZ.js";import{xt as t}from"./dispatch-BKeAch9E.js";import{In as n,Ln as r,Pn as i,Rn as a,n as o,t as s,ut as c}from"./store-
|
|
1
|
+
import{t as e}from"./rolldown-runtime-DT7IzrpZ.js";import{xt as t}from"./dispatch-BKeAch9E.js";import{In as n,Ln as r,Pn as i,Rn as a,n as o,t as s,ut as c}from"./store-B3ZHoBJY.js";import{n as l}from"./env-CRf6wkM2.js";import{c as u,d,i as f}from"./schema-CU2iFkp8.js";import{n as p,t as m}from"./migrate-N-85_N7J.js";import{v as h}from"./shared-BLkGRKty.js";import g from"node:process";import{eq as _,isNotNull as v,like as y}from"drizzle-orm";var b=e({migrate:()=>S,rotateKey:()=>C});async function x(e){try{return await e()}catch(e){throw e instanceof t?e:new t(`server`,e instanceof Error?e.message:String(e))}}function S(e={}){return x(async()=>{let n=l(e.env??g.env);if(!n.databaseUrl)throw new t(`invalid-option`,`No database to migrate.`,{hint:`Set DATABASE_URL to the Postgres the server uses.`});let r=await o(n);try{return await p(r,m(n.databaseUrl))}finally{await r.close()}})}function C(e={}){return x(async()=>{let o=l(e.env??g.env);if(!o.encryptionKey)throw new t(`invalid-option`,`SERVER_ENCRYPTION_KEY is required to rotate keys.`,{hint:`Set the new key in SERVER_ENCRYPTION_KEY and the old key in SERVER_ENCRYPTION_KEY_PREVIOUS.`});let p=await s(o);try{let e=new Set([p.defaultOrganizationId]);if(p.connection){let t=p.connection.db,[n,r]=await Promise.all([t.selectDistinct({id:d.organizationId}).from(d),t.select({key:f.key}).from(f).where(y(f.key,`o:%,"config"]:workspace`))]);for(let t of n)e.add(t.id);for(let t of r){let n;try{n=JSON.parse(t.key.slice(2,-10))}catch{continue}Array.isArray(n)&&n.length===2&&typeof n[0]==`string`&&n[1]===`config`&&t.key===h(n[0],`config`,`workspace`)&&e.add(n[0])}}let t=0;for(let n of e)t+=await c(p.store(n),o);let s=p.connection?.db,l=r(o.encryptionKey);for(let e of s?await s.select().from(u).where(v(u.token)):[])a(o,e.token)!==l&&(await s.update(u).set({token:n(o,i(o,e.token))}).where(_(u.id,e.id)),t++);return{moved:t}}finally{await p.close()}})}export{S as n,C as r,b as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as e}from"./cli-
|
|
1
|
+
import{s as e}from"./cli-DWCR7iqa.js";const t=e(`mcp`,{serve:async()=>(await import(`./serve-CcObDKKQ.js`)).commandMcp,add:async()=>(await import(`./add-DRsPpQFl.js`)).commandMcpAdd,"add-json":async()=>(await import(`./add-json-5uPnWPoD.js`)).commandMcpAddJson,list:async()=>(await import(`./list-vpyS-hv8.js`)).commandMcpList,ls:async()=>(await import(`./list-vpyS-hv8.js`)).commandMcpList,rm:async()=>(await import(`./remove-CaYH9Cna.js`)).commandMcpRemove,remove:async()=>(await import(`./remove-CaYH9Cna.js`)).commandMcpRemove},{menu:[{usage:`add <name> (--url <url> | -- <command> [args])`,blurb:`add a server`},{usage:`add-json <name> '<json>'`,blurb:`add a server from a .mcp.json entry`},{usage:`list`,blurb:`list configured servers`},{usage:`rm <name>`,blurb:`remove a server`}],details:!0},{aliases:{ls:`list`,remove:`rm`},help:{usage:`coder mcp <add|add-json|list|rm>`,summary:"Manage the `mcp` map in .coder/config.json (or ~/.coder with --user). Entries use the .mcp.json shape (stdio command or remote url) plus an optional tools allowlist; attach them with `coder task run --mcp <names|all>`.",examples:[[`coder mcp add docs -- npx -y docs-mcp`,`add a stdio server from its command line`],[`coder mcp add linear --url https://mcp.linear.app/mcp`,`add a remote server; the engine handles its OAuth login`],[`coder mcp add-json github '{"url":"https://api.githubcopilot.com/mcp/","headers":{"Authorization":"Bearer \${GH_TOKEN}"}}'`,`paste an entry from any .mcp.json`],[`coder run --mcp docs,linear "find why uploads fail"`,`attach by name`]],seeAlso:`task run`}});export{t as commandMcpConfig};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{i as e}from"./cli-
|
|
1
|
+
import{i as e}from"./cli-DWCR7iqa.js";import{n as t}from"./args-BOEEdpWk.js";import n from"node:process";const r=e({name:`server migrate`,globalFlags:{cwd:!1},help:{usage:`coder server migrate [--json]`,summary:`Create or update the tables in the Postgres at DATABASE_URL. Run it before the first start and after every upgrade; the server only warns when it is behind.`,env:[[`DATABASE_URL`,`the Postgres to migrate`]],examples:[[`DATABASE_URL=postgres://... coder server migrate`,`bring a database up to date`]]},options:{json:t},run:async()=>{let{migrate:e}=await import(`./maintenance-DkLVtqM7.js`).then(e=>e.t);return e()},json:({applied:e})=>({ok:!0,applied:e}),print:({applied:e})=>n.stdout.write(e?`Applied ${e} migration${e===1?``:`s`}.\n`:`Database is up to date.
|
|
2
2
|
`)});export{r as commandServerMigrate};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as e}from"./cli-
|
|
1
|
+
import{s as e}from"./cli-DWCR7iqa.js";const t=e(`model`,{list:async()=>(await import(`./list-DuPqU3fk.js`)).commandModelList,ls:async()=>(await import(`./list-DuPqU3fk.js`)).commandModelList,add:async()=>(await import(`./add-CLYTF_up.js`).then(e=>e.t)).commandModelAdd,setup:async()=>(await import(`./add-CLYTF_up.js`).then(e=>e.t)).commandModelAdd,update:async()=>(await import(`./update-DbOWToPy.js`)).commandModelUpdate,remove:async()=>(await import(`./remove-D-QeeZQL.js`).then(e=>e.n)).commandModelRemove,disable:async()=>(await import(`./disable-BMWWeYFQ.js`)).commandModelDisable,enable:async()=>(await import(`./enable-Cfzeau2x.js`)).commandModelEnable,alias:async()=>(await import(`./alias-_0Rwf2cA.js`)).commandModelAlias,unalias:async()=>(await import(`./unalias-mMHXqok7.js`)).commandModelUnalias},{menu:[{usage:`list`,blurb:`list built-ins, custom models, and aliases`},{usage:`add <name> --base-url <url> --model <id> [--env-key VAR]`,blurb:`connect a model (alias: setup)`},{usage:`update <name> [--base-url|--model|--env-key]`,blurb:`change a model in place`},{usage:`remove <name>`,blurb:`delete a custom model`},{usage:`disable <name>`,blurb:`turn off a model (built-in, custom, or alias)`},{usage:`enable <name>`,blurb:`re-enable a disabled model`},{usage:`alias <name> <spec>`,blurb:`name a spec, e.g. fast codex:luna`},{usage:`unalias <name>`,blurb:`remove an alias`}],description:["Manage the models coder can dispatch to. `add` connects any OpenAI-compatible",`endpoint (Ollama, vLLM, OpenRouter, ...) as the custom engine, alongside the`,"built-in codex/claude models. Name your own shortcuts with `alias`",`(e.g. fast -> codex:luna); disable/enable turns any model off and on.`]});export{t as commandModel};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,r as t}from"./cli-
|
|
1
|
+
import{i as e,r as t}from"./cli-DWCR7iqa.js";import{p as n}from"./output-BKeyLbvt.js";import{i as r,n as i,s as a,t as o}from"./args-BOEEdpWk.js";import s from"node:process";const c=e({name:`agent push`,help:{usage:`coder agent push [id] [--server [url]] [--json] [--cwd <dir>]`,summary:`Upload one workspace agent, or every agent in .coder/agents when no id is given. The server creates a new immutable version only when its definition, prompt, or files changed.`,flags:[t],examples:[[`coder agent push helper`,`upload helper`]]},options:{...o,server:r,workspace:a,yes:i},args:1,run:async({options:e,args:[t],cwd:n})=>{let{agents:r}=await import(`./agent-hw3zKw8y.js`).then(e=>e.t);return r.push(t,{...e,cwd:n,organization:e.workspace})},print:e=>{for(let t of e)s.stdout.write(t.unchanged?`Pushed ${n.bold(t.id)} unchanged (version ${t.version})\n`:`Pushed ${n.bold(t.id)} as version ${t.version}\n`)}});export{c as commandAgentPush};
|