@wular/coder 0.4.5 → 0.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-Bz8uaOcu.js → add-8Z5bNm74.js} +1 -1
- package/dist/{add-DTwoL7vJ.js → add-B3zygDO5.js} +1 -1
- package/dist/{add-Bffwutko.js → add-DiwLZmjp.js} +1 -1
- package/dist/{add-cdKdz3K0.js → add-DpsjB8Mp.js} +1 -1
- package/dist/{add-json-BIcbE3Nf.js → add-json-wOUPHwUD.js} +1 -1
- package/dist/{agent-DQK_S1PE.js → agent-B69nSuTY.js} +1 -1
- package/dist/{agent-BcXXkOmD.js → agent-D0pQ_ewc.js} +1 -1
- package/dist/{alias-KQ85bphl.js → alias-CZjD1F0F.js} +1 -1
- package/dist/{app-DaccLHrx.js → app-CE5j7IDN.js} +1 -1
- package/dist/{approvals-CZt_aPCy.js → approvals-Gv7x14u3.js} +1 -1
- package/dist/{approve-DxjyXd66.js → approve-D5Dkw1Lo.js} +1 -1
- package/dist/{apps-eueTmHR5.js → apps-CaHoLNE7.js} +1 -1
- package/dist/{archive-C9yrU4Wg.js → archive-Br2eM_A2.js} +1 -1
- package/dist/{archive-C3JazQuo.js → archive-RBPoB4cr.js} +1 -1
- package/dist/{archive-sweep-CHbOP-p6.js → archive-sweep-jE6TPk2F.js} +1 -1
- package/dist/{ask-DdYrvsTk.js → ask-zjX8kQz0.js} +1 -1
- package/dist/{auth-q8CROpG-.js → auth-DSE3SIuI.js} +1 -1
- package/dist/auth-DsxfkPsx.js +1 -0
- package/dist/{cli-msOzZFXW.js → cli-DtTdpTy3.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/{config-BllYHi8S.js → config-BAkyRxp-.js} +1 -1
- package/dist/{create-BYki3g42.js → create-BF6VHUst.js} +1 -1
- package/dist/credentials-6PHXj8k7.js +1 -0
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{boot-bhemypxz.js → boot-8aj7efqk.js} +8 -8
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{build-tier-0a96kmx3.js → build-tier-qrkpfsk1.js} +17 -17
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{config-0tvz03a6.js → config-7h84p6q8.js} +3 -3
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{generate-myw9hef7.js → generate-d8vb1d21.js} +3 -3
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-kdhxpwyq.js → index-0qt2vapb.js} +3 -3
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-b7j671dj.js → index-0wm2p3ks.js} +1 -1
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-n629dy38.js → index-1y0cesgn.js} +4 -4
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-gkndxkxf.js → index-26gwrm07.js} +2 -2
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-jn9rbhrx.js → index-3r6qpe8a.js} +4 -4
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-yrjkqtfj.js → index-42fef2rv.js} +2 -2
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-11xpbfej.js → index-47gx7trn.js} +1 -1
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-4da76t62.js → index-4qsce64w.js} +1 -1
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-9hz3s0m8.js → index-6tb725m8.js} +1 -1
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-0yjv5v47.js → index-912z4mfx.js} +3 -3
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-8ct7rqy3.js → index-aarf1brn.js} +1 -1
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-nf3df4jy.js → index-cqcwwxfp.js} +3 -3
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-he6n2bvp.js → index-e176wk6x.js} +1 -1
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-hdbwtdv2.js → index-fpghsgb4.js} +1 -1
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-rgj5mx84.js → index-jexsy9a8.js} +1 -1
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-29pq0kax.js → index-jjppzw0s.js} +2 -2
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-dgr390q7.js → index-kpdph69z.js} +23 -23
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-gcmj16xy.js → index-md5jchzy.js} +1 -1
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-3e075kny.js → index-n814hcky.js} +1 -1
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-j681c48a.js → index-qjrh7w2g.js} +1 -1
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-qcrvt6er.js → index-s61bx2aj.js} +2 -2
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-cn86z041.js → index-veycp46e.js} +1 -1
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-3ycf5ckv.js → index-vqs3rebe.js} +3 -3
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-d158y67j.js → index-xrsg0041.js} +3 -3
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-xh1nbk46.js → index-xs3411qh.js} +7 -7
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-cvr4z22m.js → index-y9bygr95.js} +1 -1
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-x2m17v9c.js → index-yghskk8w.js} +9 -9
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-tq3b39a5.js → index-yzcpr3yw.js} +4 -4
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{index-71885zaq.js → index-zedjt25v.js} +4 -4
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{pipeline-4t9q43ht.js → pipeline-yjdnwbhm.js} +11 -11
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{proxy-config-60gprphe.js → proxy-config-9r9e0jvn.js} +5 -5
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{proxy-gfhmktbk.js → proxy-pnevsbfd.js} +7 -7
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{router-xnrva921.js → router-rzge0vz8.js} +4 -4
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{routes-ht868pdc.js → routes-0x8wjvcj.js} +7 -7
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/_chunks/{tsconfig-defaults-bcn34eqb.js → tsconfig-defaults-qe9wd6ne.js} +3 -3
- package/dist/dash/standalone/node_modules/@wular/pnext/dist/server/cli/start.js +5 -5
- package/dist/dash/standalone/node_modules/@wular/pnext/package.json +1 -1
- package/dist/dash/standalone/server/build-index.json +1 -1
- package/dist/dash/standalone/server/manifest.json +755 -755
- package/dist/dash/standalone/server/modules-server-server-react-server/src/client/{index.2feb1c162fab6033.js → index.b7c6e5f49704993d.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/api/{load.bdbf17006af803d1.js → load.35be1b07171553e7.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/connect/{page.0a054a6c9dda53b3.js → page.72b248cd95237fb6.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/account/{loading.02d57ab48022f8d8.js → loading.fce966caba9308e4.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/account/{notify.b7451fdf9c3bb62a.js → notify.fc4ba1b51ee26296.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/account/{page.f9ab6ed02876880e.js → page.6c8e958aeab2678e.js} +10 -10
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/account/{sign-out.3368aed882d8f1ac.js → sign-out.5d3bca9efecd6f70.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/(list)/{agent-menu.e4b6d486442476b5.js → agent-menu.6d3339a02f02460d.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/(list)/{agents-grid.0dbc57156286a18e.js → agents-grid.0813591f217e9dbb.js} +9 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/(list)/{connect-apps.3a5673bcd9aa57d9.js → connect-apps.8d218b96f9939819.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/(list)/{loading.8df9f4459410cfaa.js → loading.02dd47fe59680cc8.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/(list)/{page.8f85fbaff456c5fe.js → page.e0ad2df8b7c9a0af.js} +11 -11
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/{layout.d3aec63db0f5230d.js → layout.f2464375e393c96e.js} +13 -13
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/{loading.d53d174ffe56aab3.js → loading.b27b95d8ccf0581e.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/{page.7fd1bfcf08e25919.js → page.1ba2497fa9116713.js} +13 -13
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/platforms/{loading.849dc6e6050a7e21.js → loading.572d3404b984b163.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/platforms/{page.31687af871d75d39.js → page.9b30598fa84dd0df.js} +15 -15
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/platforms/{platform-actions.754eff65aec1ab59.js → platform-actions.bc640252ecf046c6.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/settings/{agent-settings-form.861ed9832cbe89c1.js → agent-settings-form.d3e6dc6bcfcfc928.js} +8 -8
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/settings/{loading.2ec7a3b893925df0.js → loading.a55efbdbdd995213.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/settings/{page.1ed5379637860fab.js → page.44eabcf6cf9fbfbd.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/tasks/{loading.20a52282c5806719.js → loading.f5c0c1c727da9f57.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/tasks/{page.4fd369ba79ed9943.js → page.9324e2d909d55c6f.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/usage/{loading.43b58c5eef3d4253.js → loading.5e1f922969ab7016.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/usage/{page.78bf188a8077c64e.js → page.30a31e2464417a08.js} +12 -12
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/{versions-list.0c6811b66b2fcc49.js → versions-list.e2427d618decaf7a.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/edit/{loading.a18042397ffeaf55.js → loading.21eb60e655c125c7.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/edit/{page.1798dbd9cd334e8f.js → page.057807354396ea77.js} +10 -10
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/agent/{agent-pills.c5710a4f634f9d6a.js → agent-pills.6a0eea1ec99dffd7.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/agent/{hero.e5c5af2f9fab6a63.js → hero.9af8c50df6487ca5.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/agent/{instructions.403838f7cb218391.js → instructions.2f4229d42e7c99ef.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/editor/{connect-repositories.6c7088fd2fcd54f4.js → connect-repositories.329ac182c8242a67.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/editor/{editor.4b164e6eb19daa2f.js → editor.d28d4afe11d7ff71.js} +19 -19
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/editor/{import-picker.4bff9b5642aeab17.js → import-picker.5e76549e7934b718.js} +10 -10
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/new/{loading.72e1b274c475e39a.js → loading.02e30b3a7f1ab9f1.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/new/{page.44f60b1a32344f70.js → page.c3396459a9ba5c13.js} +8 -8
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/{layout.96376d18592adfa9.js → layout.53a8a3b0e4a7917f.js} +14 -14
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/{page.669f5926ae12d101.js → page.a4be8e0779589f4e.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/settings/[tab]/{credentials-list.3fbc413d972a0447.js → credentials-list.c25242f7f4ef6399.js} +13 -13
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/settings/[tab]/{credentials.6423846391b20446.js → credentials.a62d1642ca580836.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/settings/[tab]/{engines-list.5bad79f0d4e12e07.js → engines-list.6c02a7e6d3c965cc.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/settings/[tab]/{list.2cafbe93b7b2dc0f.js → list.db2e212e3c8b5d32.js} +9 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/settings/[tab]/{loading.1a810cc50ea61706.js → loading.f4024074bf71b11b.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/settings/[tab]/{mcp-list.1fc0f6165dd85b8c.js → mcp-list.0ce34ed7d7e756a7.js} +9 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/settings/[tab]/{models-list.520cb30b291794c3.js → models-list.052f3ccc66833937.js} +10 -10
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/settings/[tab]/{page.04b07f9c365be073.js → page.3458e42728e30f54.js} +20 -20
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/settings/[tab]/{runners-list.67786d7d51692d19.js → runners-list.b5296983ba8007aa.js} +12 -12
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/settings/{layout.a619ac4fe999d1b5.js → layout.85946d20d7e48767.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/settings/{settings-head.d726e31e4dd04d60.js → settings-head.d0f5ac9cbf170a77.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/settings/{tunnel-guide.22448081e9e042d6.js → tunnel-guide.f6685b045ccccdcd.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/tasks/[id]/{activity.b23683e6be363068.js → activity.4aeb0734da711e10.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/tasks/[id]/{loading.a8f2aa099bd76606.js → loading.d88d1139ea3ff52a.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/tasks/[id]/{page.d1ded90712ca586f.js → page.e5b562dd47e19043.js} +7 -7
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/tasks/[id]/{task-actions.f2be118dd5a02896.js → task-actions.ee523c68a38a7975.js} +9 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/tasks/[id]/{task-view.97433b52e6f7175c.js → task-view.1c54f267d127f4e3.js} +21 -21
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/tasks/{composer-data.e2d442d6ecbaa6d3.js → composer-data.5f12d8ef1db38026.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/tasks/{composer.78b7d3000d615c7c.js → composer.f232cc1bf2d7b08a.js} +15 -15
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/tasks/list/{status.d78e769ff1411932.js → status.b90b76ffa62e957a.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/tasks/list/{task.674ebeabafa0a7e1.js → task.465c2af602cce783.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/tasks/list/{tasks-list.9698bdff71c3b3c7.js → tasks-list.2a0e1eb5c396be42.js} +26 -26
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/tasks/list/{tasks-section.c77194f05c3f58fb.js → tasks-section.2cbc1550d723661d.js} +9 -9
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/tasks/{page.157ac3a0938206b0.js → page.107706655a927e59.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/usage/{custom-range.9343f6115e244cb4.js → custom-range.d85de32fb6ec4fe6.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/usage/{day-chart.c7f6c8981a7acb15.js → day-chart.5e716070459d785c.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/usage/loading.8aabf89dabaf1c3f.js +15 -0
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/usage/{metric.5481ab0e025e218e.js → metric.ca0466e33225f184.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/usage/{page.4159d729e8aa0439.js → page.c2b88b495780b12a.js} +15 -15
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/usage/{range-bar.8c9b18116c8eb5f0.js → range-bar.76e3de97583e6eab.js} +8 -8
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/usage/{stats.7b8db8c56920b311.js → stats.4793e81a32ea5e8f.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/usage/{top-agents.8af5d53eb64bae9c.js → top-agents.b228062d012dc17b.js} +6 -6
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/{layout.77960a272f19bf24.js → layout.c762b39aafb84a1f.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/login/{page.33464bce52044759.js → page.3ddaa1a675a04c5a.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{auth-panel.3e020d19aa5ab464.js → auth-panel.5712a8d190b003b4.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{drawer.cf0eb4936a2c7222.js → drawer.b337ce209ff621e9.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{loading-card.9648c7782502babc.js → loading-card.bf58af8330a78704.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{page-head.857951b5dc1ad827.js → page-head.a2336c95004aed4b.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{stream.4c04416dab6ffc52.js → stream.77a2ec038d97b2b8.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{task-toasts.b14bb1f66ed75e75.js → task-toasts.10b46a8b8db1791f.js} +4 -4
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{theme-choices.60d3a5adbd49989f.js → theme-choices.ea23f57dd753683f.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{current-link.87758179b507850c.js → current-link.844899810531977f.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{side-toggle.581456c353d76d67.js → side-toggle.55d3e6c43ca5e1f9.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{badge.e52db98d78836f9a.js → badge.5abdef72e9189fdc.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{card.e6876039e375b849.js → card.b0873d38765c9d20.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{collapse.730d674a8f7eeeae.js → collapse.dab7f208cbbe6a33.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{combo.d478120a76502dd1.js → combo.ca0efacf2ce15578.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{confirm.cd23ea20bdf120d2.js → confirm.1328a7ede6c27bb9.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{field.37f93068217e1470.js → field.7b2a2075ee8c6e29.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{filter.3e8df59ca8abf397.js → filter.f19b6d5ebd6a3c2b.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{icon.93605083edf7efe3.js → icon.0874ca2f58f7db14.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{menu.3b3026ecd4dc31f0.js → menu.a4dd9fb9f566689a.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{segmented.620f07f6b949d7f1.js → segmented.5ac52bb38fb64ae5.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{select.14e820c8a26ab8b5.js → select.f036fdc3fce02b92.js} +3 -3
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{sentinel.50afec82b0fd53a1.js → sentinel.d3d29747fe976f88.js} +1 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{tabs.051c87be5bbb7f2b.js → tabs.d00fc01ad9c1b91e.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{tail.2d57d68076cef3e1.js → tail.9377d261fe9e91df.js} +2 -2
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{toolbar.32503820243ede06.js → toolbar.b2c59c5fc015d08d.js} +5 -5
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{client.f37a313f4811ddb8.js → client.a8205c524e63d4a9.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{agent-pills-0163fdf910179991.js → agent-pills-c5d56f60f9e17aea.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{agent-settings-form-b1fcd9a5236b1fc7.js → agent-settings-form-738f9ac4b9fb67ef.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{agents-grid-1d8f0ec6cf8c797e.js → agents-grid-37e2e7f7a37b7a35.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{combo-0d55fb62af761ac5.js → combo-8aa7545cfda42090.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{composer-8abfcac26339cc99.js → composer-a969037cf22215c7.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{composer-44516934e5619d32.js → composer-f433a2e64648633a.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{connect-apps-3e8b55a43315f58a.js → connect-apps-97c10fa6e35ccae6.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{credentials-list-518af85578eacf6d.js → credentials-list-08cd5dfe29f42bf2.js} +2 -2
- package/dist/dash/standalone/static/assets/chunks/{custom-range-e8977f0d9699c1e6.js → custom-range-63f577240e5d5d85.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{editor-75d6d2d01f4fc35a.js → editor-9752c8ab26ebd328.js} +2 -2
- package/dist/dash/standalone/static/assets/chunks/{engines-list-2f6b8b3f2e873e4d.js → engines-list-dab79c4e3e22eefe.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{filter-55618648fc10c377.js → filter-02bba5796258deb0.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{heads-1326669bdce3da2f.js → heads-8f40675f508ebe33.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{list-90a47c07c4dd932e.js → list-591905f0aaa57629.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{mcp-list-735e401c60ab51a3.js → mcp-list-bae4d2186f67849e.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{models-list-999f54c76ca31379.js → models-list-c758db0c40f5173f.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{platform-actions-4592c82f72b21b1a.js → platform-actions-4454493d02a1c172.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{runners-list-ab64a5fb01d5eef8.js → runners-list-9d27c76eed33cb05.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{select-591ca78b6ae29bd8.js → select-adccc9ac86ac833f.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{shared-init-8a34c730aabe942d.js → shared-init-3a95c0e0cc27e0cb.js} +2 -2
- package/dist/dash/standalone/static/assets/chunks/{task-actions-26ad7f7c937f2589.js → task-actions-189775b88ef7ada4.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{task-view-0d085ce407e8511e.js → task-view-0b3d7ea9cc41888b.js} +4 -4
- package/dist/dash/standalone/static/assets/chunks/{tasks-list-e9e914cf5dd959e9.js → tasks-list-1b0195e3fd68714f.js} +1 -1
- package/dist/dash/standalone/static/assets/chunks/{toolbar-a99d36b4b6f05bb1.js → toolbar-035d33d1e7ad11bf.js} +1 -1
- package/dist/dash/standalone/static/assets/pnext-client-105d2264e4064f32.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-140064bc22718639.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-2825c0ea7bfa1240.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-39ac7ac446e20cfb.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-43cbb846cb4c167f.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-7d88eb36e6e3c301.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-9172198a969bd1e1.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-9c9c88e5c2fe31bc.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-a629391487c4b8e3.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-aace561f07b06542.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-b7d6355b1323fff1.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-c4be2f807668e35c.js +1 -0
- package/dist/dash/standalone/static/assets/{pnext-client-899f9625435988dd.js → pnext-client-ce83b85e9562a049.js} +1 -1
- package/dist/dash/standalone/static/assets/pnext-client-dd2046446844a78b.js +1 -0
- package/dist/dash/standalone/static/assets/pnext-client-e62f31aae8ce2c3b.js +1 -0
- package/dist/dash/standalone/static/assets/{pnext-client-4ed05f9a51f559a3.js → pnext-client-ffab25199333314f.js} +1 -1
- package/dist/{default-fMaQH1wm.js → default-B3ValFJp.js} +1 -1
- package/dist/{default-aLeIO8IR.js → default-DgP-hBmn.js} +1 -1
- package/dist/{delete-Cj16PYaw.js → delete-6T7ujDtY.js} +1 -1
- package/dist/{delete-DNj3leWA.js → delete-k7pxp5B6.js} +1 -1
- package/dist/{disable-CQg5Vybq.js → disable-BJXxuJ9s.js} +1 -1
- package/dist/{discover-bVM8EJEz.js → discover-CRUU1hdS.js} +1 -1
- package/dist/{docs-CqeYenUp.js → docs-PmFB2aMA.js} +1 -1
- package/dist/{enable-8m3z7i3i.js → enable-DZ7rw7iL.js} +1 -1
- package/dist/{flow-DeCL3x2p.js → flow-D8T71fyu.js} +1 -1
- package/dist/{init-BujliQ7q.js → init-BfXdsU46.js} +1 -1
- package/dist/integrations-DNz6PHFV.js +1 -0
- package/dist/{list-DbY1jyj3.js → list-CJhHYVb2.js} +2 -2
- package/dist/{list-QLTjk5SN.js → list-CO8x2rgz.js} +1 -1
- package/dist/{list-DyqtSWvn.js → list-Cr4c8mT6.js} +1 -1
- package/dist/{list-CXu4cr8D.js → list-DedQA2pn.js} +1 -1
- package/dist/{list-DGoVY-ao.js → list-F-PN6ieH.js} +1 -1
- package/dist/{list-DhVfqr0A.js → list-NtMN55g0.js} +1 -1
- package/dist/{list-vKOTwd4G.js → list-erdHI-w9.js} +1 -1
- package/dist/{list-BdiYneg5.js → list-yoGxyIlx.js} +1 -1
- package/dist/{login-otJB9SYu.js → login-CJjcqCg4.js} +1 -1
- package/dist/{login-BzdlmD_o.js → login-p2VknR9f.js} +1 -1
- package/dist/{logout-DOrRoxDV.js → logout-B7mHWeWr.js} +1 -1
- package/dist/{maintenance-Bg_FzXSq.js → maintenance-C02_cNLp.js} +1 -1
- package/dist/{mcp-xSvAWiXX.js → mcp--MIvjMWZ.js} +1 -1
- package/dist/{migrate-CN-fdMV9.js → migrate-CSwkAInI.js} +1 -1
- package/dist/migrate-rwTojdkz.js +1 -0
- package/dist/{model-BJ-Sokha.js → model-Cti-OOdV.js} +1 -1
- package/dist/{push-Cg7-XT5h.js → push-D3vxfhc_.js} +1 -1
- package/dist/{queue-yo-Z8TaE.js → queue-EvplGOuk.js} +2 -2
- package/dist/refresh-BFuahSFK.js +1 -0
- package/dist/{remove-BuaShRZ3.js → remove-7y1b_gHT.js} +1 -1
- package/dist/{remove-DgMg_OOu.js → remove-BRj1kPYm.js} +1 -1
- package/dist/{remove-C8Rm8KP-.js → remove-C57QDigT.js} +1 -1
- package/dist/{remove-CcMma1x3.js → remove-UVD3W2OE.js} +1 -1
- package/dist/{rename-C0vNcl8e.js → rename-CCv5pca3.js} +1 -1
- package/dist/{result-C6ovl_Dn.js → result-BWrYnt0u.js} +1 -1
- package/dist/{result-oQey_hdw.js → result-DtVw6XYk.js} +1 -1
- package/dist/{resume-T_TXWfqE.js → resume-D7XcEIbu.js} +1 -1
- package/dist/{review-CCs6XUSO.js → review-DZGyNO5h.js} +1 -1
- package/dist/{rotate-key-CYimsQR5.js → rotate-key-pIfcaeCd.js} +1 -1
- package/dist/{run-BFYg-zZt.js → run-B-2NnW4r.js} +1 -1
- package/dist/{run-hiPyO7js.js → run-BlXCPJzq.js} +1 -1
- package/dist/{run-D7F7JPV6.js → run-Co36tfya.js} +1 -1
- package/dist/runner-DRgQvMiZ.js +1 -0
- package/dist/sdk.js +1 -1
- package/dist/serve-CcqX_2qk.js +8 -0
- package/dist/{serve-K3BVTcDI.js → serve-Ci0AFWtY.js} +2 -2
- package/dist/{serve-C-AD60Wa.js → serve-DeX0lpXj.js} +1 -1
- package/dist/{serve-BgGXjT_O.js → serve-SWjydoBC.js} +1 -1
- package/dist/{server-DQTGc55C.js → server-CWbtW4W_.js} +1 -1
- package/dist/{setup-host-By8-gv_v.js → setup-host-ON6zJGqS.js} +1 -1
- package/dist/{shared-TznJgMFW.js → shared-D64pQ0XU.js} +1 -1
- package/dist/{show-o4yXzSWZ.js → show-U0XPh927.js} +1 -1
- package/dist/{show-C9ojrH5W.js → show-jdaVKG0f.js} +1 -1
- package/dist/{status-BBW7Qyde.js → status-BO1jm6NW.js} +1 -1
- package/dist/{steer-D47cuggj.js → steer-DwSAYYqb.js} +1 -1
- package/dist/{stop-CD2JW6dI.js → stop-B-dQ2-Gm.js} +1 -1
- package/dist/{stop-7brPdki9.js → stop-BS2MB4CQ.js} +1 -1
- package/dist/{store-BCBTo0rl.js → store-B0RLMUR9.js} +1 -1
- package/dist/{store-qp7UE2ES.js → store-Cxc2GYyj.js} +2 -2
- package/dist/{task-CyrDqqf8.js → task-gKnlLOGe.js} +1 -1
- package/dist/{test-BcFQUHRo.js → test-TvJAUf4S.js} +1 -1
- package/dist/{tools-D20XYPnO.js → tools-BQQfMQB9.js} +1 -1
- package/dist/{unalias-G3sM8fVw.js → unalias-DpkgCs_c.js} +1 -1
- package/dist/{update-JvgB6Xws.js → update-ChIiUO1Z.js} +1 -1
- package/dist/{upgrade-DN3hXDdo.js → upgrade-Cq24oWFZ.js} +2 -2
- package/dist/{usage-DR3wWtYD.js → usage-Bw7fQeFC.js} +1 -1
- package/dist/{usage-C1oN2W9c.js → usage-CazoINYM.js} +1 -1
- package/dist/{watch-DDmHonTf.js → watch-B3gAEK1N.js} +1 -1
- package/dist/{watch-DYkC6Q2q.js → watch-DJATTJw_.js} +1 -1
- package/dist/{worker-CaNTsqcD.js → worker-C3dzIzd3.js} +1 -1
- package/dist/{workflow-7rqzHHWZ.js → workflow-BOPHazbM.js} +1 -1
- package/docs/self-host.md +1 -1
- package/package.json +2 -2
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/dist/auth-FTKev9__.js +0 -1
- package/dist/credentials-DLMuf9OT.js +0 -1
- package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/usage/loading.1716941ff725f152.js +0 -15
- package/dist/dash/standalone/static/assets/pnext-client-1473d0349f242421.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-195f74ae46e817da.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-2b5532ce488c9391.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-2d3ea662f22db27f.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-43c0166e51dce87f.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-652affde71fecdf7.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-82beeebf704714a6.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-ad1fab64ee1a5b30.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-b2dccebfff1465f5.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-c8a42c9bfeded4e4.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-d04d2ffbb491564c.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-d060565c4d80b60e.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-dce6e1b84ee02f09.js +0 -1
- package/dist/dash/standalone/static/assets/pnext-client-e753846e298d2403.js +0 -1
- package/dist/integrations-6kXL9hRo.js +0 -1
- package/dist/migrate-DAC6sFgg.js +0 -1
- package/dist/refresh-CmBQALAW.js +0 -1
- package/dist/runner-D5jaEfhG.js +0 -1
- package/dist/serve-GIK3fqKA.js +0 -8
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/core/{defaults.f8b4eee28e030eda.js → defaults.36612942475445c3.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/core/{errors.5e991e43e42bd943.js → errors.e10960fe4c66b9d8.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/core/task/{log-view.d6aae19495a81adb.js → log-view.58ba9a3d545808d7.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/auth/{sign-in.7ee1680af722840f.js → sign-in.661b3a4139af5bd7.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/api/{types.0cf02e7714d7c1a2.js → types.9f59e6c761d6aac4.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/account/{page.1df2bb5150dd9575.css.pnext-asset.js → page.78ecdcf250ebe4bd.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/(list)/{page.9ea9df9d5f80f310.css.pnext-asset.js → page.c2085e3ab40a8b66.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/{page.3120ea9ec90cb9cc.css.pnext-asset.js → page.31a5f9731d946f4f.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/platforms/{page.143668a9c21806d6.css.pnext-asset.js → page.b036494aace45edf.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/settings/{agent-settings-form.d6de90cb40c3bd46.css.pnext-asset.js → agent-settings-form.204e3ec0b23d58c7.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/usage/@/app/dash/usage/{range-bar.4408a4e0ee81b7b6.css.pnext-asset.js → range-bar.034280ed1ab2616b.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/usage/@/comps/ui/{segmented.ded4aa5c0cd2c608.css.pnext-asset.js → segmented.4db9cac358865634.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/[slug]/(tabs)/usage/{page.ae5cbdfc43af6658.css.pnext-asset.js → page.6bf93d41ec4a1fab.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/agent/{agent-pills.dcf7e785044cc900.css.pnext-asset.js → agent-pills.1708253f0232e88e.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/agent/{hero.a794a01218c5c9ce.css.pnext-asset.js → hero.8dd7556828e78b07.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/agent/{instructions.2176859ec1028fc0.css.pnext-asset.js → instructions.532dc545ddb11e88.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/editor/@/app/dash/agents/(list)/{page.f2e88eb443d45a74.css.pnext-asset.js → page.1e19c72828fbd611.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/editor/{editor.6b13621790a6d5d6.css.pnext-asset.js → editor.52403b9719fb5157.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/agents/editor/{names.cf9e376a918a5341.js → names.afb112f2a5a6f0f5.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/{layout.946ec7c4ebb1d7c6.css.pnext-asset.js → layout.4b31e7e60256f6d1.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/settings/[tab]/{credentials-list.3bd27b14c0d60e48.css.pnext-asset.js → credentials-list.0953506d95c86a2f.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/settings/[tab]/{engines-list.39cd71b7dc568516.css.pnext-asset.js → engines-list.c04c712adfc0ca48.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/settings/[tab]/{list.2a204889b73638d9.css.pnext-asset.js → list.4835150fd34d0c4f.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/settings/[tab]/{mcp-list.d743e37cd6dc85d8.css.pnext-asset.js → mcp-list.a2b3bf3c7c5fa42e.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/settings/[tab]/{runners-list.3dac92fb9f64e2be.css.pnext-asset.js → runners-list.0e2d8a76197cde60.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/settings/{model-options.2ca6c87aedf3588c.js → model-options.bccfaced52fc0c00.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/settings/{page.5edeae58f2154a50.js → page.9d2087e0e33d57f8.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/tasks/[id]/{task-view.c2288044c9032a89.css.pnext-asset.js → task-view.2110bc4a16798cde.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/tasks/{composer.41721fb98004e79e.css.pnext-asset.js → composer.80a979f079b29681.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/tasks/list/{status.9516cc22cbd5d84b.css.pnext-asset.js → status.d71a946ed749ca30.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/tasks/list/{tasks-list.55fa11c945f9c6db.css.pnext-asset.js → tasks-list.291e81e56d54513c.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/usage/@/app/dash/usage/{range-bar.72f0c7c440fb34af.css.pnext-asset.js → range-bar.53967f3261c8387e.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/usage/@/comps/ui/{segmented.81631cafb8e3b260.css.pnext-asset.js → segmented.2ca6fee7dd2830ad.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/usage/{day-chart.c7b7d04403f0fc79.css.pnext-asset.js → day-chart.c566c1a55d15bf58.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/usage/{range-bar.671afdd0798f4de9.css.pnext-asset.js → range-bar.5504dd2c591a3056.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/usage/{stats.3b02ee8317b9c4e3.css.pnext-asset.js → stats.cd1d20f46f1347bf.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/usage/{top-agents.441006da5b4eae17.css.pnext-asset.js → top-agents.47aecd65c0c8fa2e.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/usage/{usage.d6df7cb6980171ce.css.pnext-asset.js → usage.0f646568d57d13e8.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/{globals.89a59affc5df947b.css.pnext-asset.js → globals.e9ce0eb6697f992d.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/login/{page.f852a09edc8b6b44.css.pnext-asset.js → page.57e5198339e9ca28.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/{page.7e7f8611a9bb7b22.js → page.2c6a0a292ea8ab67.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/{responsive.1fd73ea94977bfc0.css.pnext-asset.js → responsive.82549d958fae8f00.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/{zone.66f36b17e74cf5f8.js → zone.dbc84f981415d8f7.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/@/comps/ui/{toast.8d599c6821860a1c.css.pnext-asset.js → toast.a4c3e977997216cf.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{auth-panel.e5af611567239b13.css.pnext-asset.js → auth-panel.c6e05b4540b3d555.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{drawer.9090aa789dffa730.css.pnext-asset.js → drawer.e8201d78154045bc.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{heads.5407f7793f985b16.js → heads.fa2157b3b36647f3.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{page-head.53db3a3d313c0473.css.pnext-asset.js → page-head.a6e3c4204ca45e94.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{to.248665fde7daaf07.js → to.0116bedfbe5f1133.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{badge.d21391f2f8573db8.css.pnext-asset.js → badge.0cb1513f8b077560.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{card.4f9265213510ffd3.css.pnext-asset.js → card.146f70c7049b5b31.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{collapse.60c9038c70fb9c46.css.pnext-asset.js → collapse.fb687b120ea60247.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{confirm.fc6d4da835b75a30.css.pnext-asset.js → confirm.fb57a29a70e9df56.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{field.8db4420dfb447e42.css.pnext-asset.js → field.7e73edc204cd38df.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{filter.9311d535531caaf3.css.pnext-asset.js → filter.e20fbd035f24ed01.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{icon.476b846e39908951.css.pnext-asset.js → icon.424a21694f121010.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{icons.e17bdd0b5504787f.js → icons.1777c0350d5d215e.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{menu.d412af459c187b41.css.pnext-asset.js → menu.6341c87b5bec4256.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{segmented.171b067d7cb36977.css.pnext-asset.js → segmented.0bd8652fdbc05eb0.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{select.5dbceaae2ba7ace4.css.pnext-asset.js → select.03a695573b914d6f.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{sentinel.332fb99b3a214f0e.css.pnext-asset.js → sentinel.bcff411a9f2355ec.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{tabs.87bc5cdfc4d1b85e.css.pnext-asset.js → tabs.ca13e40ff54128d0.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{tail.25fd24d6cd0564b7.css.pnext-asset.js → tail.0a5f3c0595e68610.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{toolbar.5e35e79f4d575452.css.pnext-asset.js → toolbar.40284b41c03c5dcb.css.pnext-asset.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{format.ba382c381ea40e77.js → format.6a7d1beaf4d09d9c.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{paged.64ead375df845ff2.js → paged.7e5713a82abf0211.js} +0 -0
- /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{range.f0a5ef1763ff3cb9.js → range.f73ba9cac0a60af1.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{a as Yt}from"./task-actions-26ad7f7c937f2589.js";import{a as zt}from"./confirm-be929e2de15876a6.js";import{a as Ut}from"./filter-55618648fc10c377.js";import{a as rt}from"./agent-pills-0163fdf910179991.js";import{a as Gt}from"./tail-74153aeac1f0baec.js";import{a as jt,b as Ht,c as Kt,d as Vt}from"./toolbar-a99d36b4b6f05bb1.js";import{b as Ft,e as ot}from"./paged-3ddb6077bef42752.js";import{c as Bt}from"./badge-9984d2fd0e7f995d.js";import{a as qt}from"./composer-8abfcac26339cc99.js";import"./connect-repositories-8864a63f83ffd411.js";import"./composer-data-6f7608fed13f3dd7.js";import"./model-options-15c53331a2f28a4f.js";import"./select-591ca78b6ae29bd8.js";import{a as Et,b as xt,c as _t,d as nt,e as It,f as Lt,g as Mt,h as Nt,i as Ot,j as $t}from"./task-ddfddeaf07fb684c.js";import{a as At,b as et}from"./card-818c7a0d580e2e0d.js";import{b as ut}from"./field-43fea54c1c287e30.js";import{a as mt,c as ft,d as pt,e as z,g as ht}from"./format-b19b8eec331414f4.js";import"./sentinel-b4c91a38a5d79219.js";import{$4a as St,$4f as Rt}from"./shared-init-8a34c730aabe942d.js";import{$5a as Pt}from"./shared-init-8a34c730aabe942d.js";import"./wular-pnext-37175329f2865f15-0.js";import{$1a as Dt}from"./shared-init-8a34c730aabe942d.js";import"./shared-init-8a34c730aabe942d.js";import{$6a as Ct,$6b as B}from"./shared-init-8a34c730aabe942d.js";import{$3A as Tt,$3a as tt,$3i as yt,$3q as gt,$3r as bt,$3x as kt,$3y as wt,$3z as vt}from"./shared-init-8a34c730aabe942d.js";import{$0a as F}from"./shared-init-17c1fd399ac53851.js";import{$1b as R}from"./shared-init-17c1fd399ac53851.js";import{$2a as t}from"./shared-init-17c1fd399ac53851.js";import"./shared-init-37175329f2865f15-2.js";import"./shared-init-37175329f2865f15-2.js";import{$1b as f,$1c as $,$1d as lt,$1g as T,$1i as q,$1j as Z,$1k as u}from"./shared-init-8f2ac936c95a7f7b.js";var oe=Symbol.for("pnext.dynamic");function Wt(n,o={},c){let a=null,m=null,s=!1,g=typeof n=="string"?()=>{throw new Error(`dynamic(${JSON.stringify(n)}) was not compiled by PNext.`)}:n,k=()=>(m??=Promise.resolve(g()).then(d=>(a=typeof d=="function"?d:d.default,a)),m);function A(d){let i=u(null),[M,C]=T(0);if(Z(()=>{i.current?.hasAttribute("data-pnext-loading")&&C(1)},[]),a)return f("pnext-dynamic",{key:M,ref:i,style:Qt},f(a,d));let E=o.loading;if(s)return f("pnext-dynamic",{ref:i,style:Qt,"data-pnext-loading":""},E?f(E,d):null);throw typeof window>"u"?k().then(()=>{},()=>{s=!0}):k()}function v(d){let[i,M]=T(null),[C,E]=T(()=>o.load!=="visible"),K=u(null);if(Z(()=>{a&&M(()=>a)},[]),q(()=>{if(i||C)return;let P=K.current;if(!P||typeof IntersectionObserver>"u"){E(!0);return}let b=new IntersectionObserver(x=>{x.some(N=>N.isIntersecting)&&(b.disconnect(),E(!0))},{rootMargin:o.rootMargin,threshold:o.threshold});return b.observe(P),()=>b.disconnect()},[i,C]),q(()=>{if(i||!C)return;let P=!1;return k().then(b=>{P||M(()=>b)}),()=>{P=!0}},[i,C]),i)return f(i,d);let D=o.loading;return o.load==="visible"?f("div",{ref:K},D?f(D,d):null):D?f(D,d):null}let l=o.ssr===!1||o.load==="visible"?v:d=>typeof window>"u"?f(A,d):f(st,{fallback:o.loading?f(o.loading,d):null},f(A,d));return l[oe]={load:k,target:c},l}var Qt={display:"contents"},re=32,st=class extends lt{__c(o,c){this.setState({waiting:!0,held:(c.__u&re)!==0}),o.then(()=>this.setState({waiting:!1}))}componentDidCatch(o){if(!(o instanceof Promise))throw o;this.__c(o,this.__v.__k[0])}shouldComponentUpdate(o,c){return!(c.waiting&&c.held)}render(){return this.state.waiting&&!this.state.held?this.props.fallback:this.props.children}};var se=Wt(()=>import("./composer-44516934e5619d32.js").then(n=>n.NewTaskButton),{loading:()=>t("button",{type:"button",class:"btn new-task",disabled:!0,children:[t(F,{d:bt}),"New task"]})}),ie={dashboard:yt,cli:kt,schedule:vt},Xt=n=>ie[n]??Tt;function ae(n,o,c){let a=Math.round((o-n)/6e4);return a<1?"just now":a<60?`${a} min ago`:a<1440?`${Math.round(a/60)} h ago`:ft(n,c)}function de({task:n,brand:o,back:c,scoped:a,tz:m,now:s,onDone:g,onError:k}){let A=n.startedAt===void 0?void 0:(n.finishedAt??s)-n.startedAt,v=n.task.event?.integration??n.task.source??"dashboard",l=n.task.event?.type??(n.task.flow==="default"?void 0:n.task.flow);return t("tr",{children:[t("td",{children:[t(Dt,{class:"cover",href:"/dash/tasks/[id]",params:{id:n.task.id},search:c?{back:c}:void 0,children:Ot(n)}),t("span",{class:"sub",children:[a?null:t($,{children:[t(F,{d:tt}),`${n.task.agent} \xB7 `]}),t(Bt,{value:n.task.id}),l?` \xB7 ${l}`:null,n.task.cwd?t($,{children:[" \xB7 ",t("span",{title:n.task.cwd,children:[t(F,{d:wt}),$t(n.task.cwd)]})]}):null]})]}),t("td",{children:t(St,{status:n.status})}),t("td",{class:"when",title:mt(n.createdAt,m),children:ae(n.createdAt,s,m)}),t("td",{class:"num",children:pt(A)}),t("td",{children:[t("span",{class:"source",title:nt(v),children:[o?t(rt,{brand:o}):t(F,{d:Xt(v)}),nt(v)]}),t("span",{class:"row-acts",children:t(ce,{task:n,onDone:g,onError:k})})]})]})}function ce({task:n,onDone:o,onError:c}){let[a,m]=T(),s=(g,k)=>{c(""),(g==="approve"?R.tasks.approve(n.task.id,Yt(n.approval).id??"",k??"decline"):g==="delete"?R.tasks.delete(n.task.id):R.tasks[g](n.task.id)).then(()=>o(g),v=>c(ht(v))).finally(()=>m(void 0))};return t($,{children:[t(Ct,{summary:t(F,{d:gt}),summaryClass:"icon-btn",label:"Task actions",align:"right",children:[n.approval?t(B,{title:"Approve",onClick:()=>s("approve","accept")}):null,n.approval?t(B,{title:"Deny",onClick:()=>s("approve","decline")}):null,It(n)?t(B,{title:"Stop",onClick:()=>s("cancel")}):null,n.archivedAt?null:t(B,{title:"Archive",onClick:()=>s("archive")}),t(B,{title:"Delete",danger:!0,onClick:()=>m("ask")})]}),t(zt,{open:!!a,title:"Delete this task?",body:"Its conversation, activity and diff go with it.",confirmLabel:"Delete",busy:a==="busy",onConfirm:()=>{m("busy"),s("delete")},onClose:()=>m(void 0)})]})}function Ve({first:n,platforms:o,brands:c={},agents:a=[],filters:m,agent:s,head:g,missing:k,tz:A,now:v}){let{values:l,set:d,query:i}=Ht(m),M=jt(m),C=s?`&agent=${encodeURIComponent(s)}`:"",E=s?`/dash/agents/${encodeURIComponent(s)}/tasks`:"/dash/tasks",K=i||s?`${E}${i?`?${i}`:""}`:void 0,D={limit:ot,summary:!0,counts:!0,...xt(l),agent:s??l.agent},P=[{key:"status",label:"Status",options:Et,inline:!0},{key:"source",label:"Source",options:[..._t,...o],icon:e=>c[e]?t(rt,{brand:c[e]}):Xt(e)}];s||P.push({key:"agent",label:"Agent",options:a,icon:()=>tt,search:(e,p)=>R.agents.list({cursor:"",limit:p,q:e}).then(r=>r.items.map(h=>[h.id,h.name]))});let b=Ft({name:`tasks${C}`,fetchPage:e=>R.tasks.list({...D,cursor:e}),query:i,first:n,initial:M}),[x,N]=T({rows:{},added:[]}),[Zt,_]=T([]);q(()=>_([]),[i]);let[te,ee]=T(""),V=Nt(b.rows,x.query===i?x.added:[],x.rows).filter(e=>!Zt.includes(e.task.id)),I=(x.query===i?x.counts:void 0)??b.meta.counts,U=u(),j=u(!1),Y=u(!1),it=u(),at=u(!1),J=u(0),Q=u(0),G=u({}),W=u(!1),O=(e=!1)=>{if(W.current||=e,document.visibilityState==="hidden")return void(Y.current=!0);if(U.current)return void(j.current=!0);let p=U.current=Date.now(),r=Q.current,h=W.current?V:[];W.current=!1,(async()=>{let w=await R.tasks.list({...D,limit:Math.min(200,Math.max(ot,h.length)),cursor:""}),S=w,H=[...w.items];for(;S.next&&H.length<h.length;)S=await R.tasks.list({...D,limit:200,cursor:S.next}),H.push(...S.items);return{...S,items:H,counts:w.counts}})().then(w=>{if(Q.current!==r)return;let S=w.items.at(-1),H=new Set(w.items.map(y=>y.task.id)),ct=h.filter(y=>!H.has(y.task.id)&&(G.current[y.task.id]??0)<=p&&(!w.next||S&&Lt(y,S)<0));ct.length&&_(y=>[...y,...ct.map(L=>L.task.id)]),N(y=>({rows:{...y.rows,...Object.fromEntries(w.items.filter(L=>(G.current[L.task.id]??0)<=p).map(L=>[L.task.id,{...y.rows[L.task.id],...L}]))},added:Mt(y.query===i?y.added:[],w.items),counts:w.counts,query:i})),J.current=0}).catch(()=>{J.current++,j.current=!0}).finally(()=>{if(!at.current){if(!j.current)return void(U.current=void 0);j.current=!1,it.current=setTimeout(()=>{U.current=void 0,X.current()},Math.min(3e4,1e3*2**J.current))}})},X=u(O);X.current=O,q(()=>{let e=()=>{document.visibilityState!=="visible"||!Y.current||(Y.current=!1,X.current())};return addEventListener("visibilitychange",e),()=>{removeEventListener("visibilitychange",e),clearTimeout(it.current),at.current=!0}},[]);let ne=Pt();return Rt(e=>{let p=V.find(r=>r.task.id===e.id);if(!p){e.deleted||e.archivedAt&&l.status!=="archived"?_(r=>[...r,e.id]):_(r=>r.includes(e.id)?r.filter(h=>h!==e.id):r),N(r=>{let{[e.id]:h,...dt}=r.rows;return h?{...r,rows:dt}:r}),(e.deleted||(s||l.agent||e.agent)===e.agent)&&O();return}if(G.current[e.id]=Date.now(),U.current&&(j.current=!0),(e.deleted||e.status!==p.status||!!e.archivedAt!=!!p.archivedAt)&&O(),e.deleted||e.archivedAt&&l.status!=="archived")return _(r=>[...r,e.id]);N(r=>{let h=r.rows[e.id]??p;return{...r,rows:{...r.rows,[e.id]:{...h,status:e.status,approval:e.approval??void 0,archivedAt:e.archivedAt,startedAt:e.startedAt,finishedAt:e.finishedAt}}}})},()=>{Q.current++,G.current={},N({rows:{},added:[]}),_([]),ne.refresh()},()=>O(!0)),t($,{children:[t(Vt,{head:g,action:g?t(se,{}):void 0,children:[t(Kt,{value:l.q,label:"Search tasks",onInput:e=>d("q",e,250)}),t(Ut,{name:"tasks",facets:P,values:l,onChange:d})]}),k?t(qt,{}):null,t(At,{title:"Tasks",count:I?z(I.all):void 0,actions:I?t($,{children:[t(ut,{value:te}),I.active?t("button",{type:"button",class:"badge acc",onClick:()=>d("status","active"),children:[z(I.active)," active"]}):null,I.waiting?t("button",{type:"button",class:"badge warn",onClick:()=>d("status","waiting"),children:[z(I.waiting)," awaiting approval"]}):null]}):void 0,children:[V.length?t("div",{class:"table-scroll",children:t("table",{class:"rows tasks stacked","aria-busy":b.stale,children:[t("thead",{children:t("tr",{children:[t("th",{children:"Task"}),t("th",{children:"Status"}),t("th",{children:"Created"}),t("th",{class:"num",children:"Duration"}),t("th",{children:"Source"})]})}),t("tbody",{children:V.map(e=>t(de,{task:e,brand:c[e.task.event?.integration??e.task.source],back:K,scoped:!!s,tz:A,now:v,onError:ee,onDone:p=>{(p==="delete"||p==="archive"&&l.status!=="archived")&&_(r=>[...r,e.task.id]),O()}},e.task.id))})]})}):b.stale?null:i?t(et,{title:"No tasks match",children:"Try another search or filter."}):t(et,{title:"No tasks yet",children:s?"Tasks appear here as this agent runs.":"Start one with New task. Tasks from the dashboard, the CLI and platforms like GitHub show up here, newest first."}),t(Gt,{noun:"tasks",...b})]})]})}export{Ve as TasksList};
|
|
1
|
+
"use client";import{a as Yt}from"./task-actions-189775b88ef7ada4.js";import{a as zt}from"./confirm-be929e2de15876a6.js";import{a as Ut}from"./filter-02bba5796258deb0.js";import{a as rt}from"./agent-pills-c5d56f60f9e17aea.js";import{a as Gt}from"./tail-74153aeac1f0baec.js";import{a as jt,b as Ht,c as Kt,d as Vt}from"./toolbar-035d33d1e7ad11bf.js";import{b as Ft,e as ot}from"./paged-3ddb6077bef42752.js";import{c as Bt}from"./badge-9984d2fd0e7f995d.js";import{a as qt}from"./composer-a969037cf22215c7.js";import"./connect-repositories-8864a63f83ffd411.js";import"./composer-data-6f7608fed13f3dd7.js";import"./model-options-15c53331a2f28a4f.js";import"./select-adccc9ac86ac833f.js";import{a as Et,b as xt,c as _t,d as nt,e as It,f as Lt,g as Mt,h as Nt,i as Ot,j as $t}from"./task-ddfddeaf07fb684c.js";import{a as At,b as et}from"./card-818c7a0d580e2e0d.js";import{b as ut}from"./field-43fea54c1c287e30.js";import{a as mt,c as ft,d as pt,e as z,g as ht}from"./format-b19b8eec331414f4.js";import"./sentinel-b4c91a38a5d79219.js";import{$5a as Pt,$5f as St}from"./shared-init-3a95c0e0cc27e0cb.js";import{$6a as yt}from"./shared-init-3a95c0e0cc27e0cb.js";import"./wular-pnext-37175329f2865f15-0.js";import{$3a as Dt}from"./shared-init-3a95c0e0cc27e0cb.js";import"./shared-init-3a95c0e0cc27e0cb.js";import{$2a as Rt,$2b as B}from"./shared-init-3a95c0e0cc27e0cb.js";import{$4A as Ct,$4a as tt,$4i as gt,$4q as bt,$4r as kt,$4x as wt,$4y as vt,$4z as Tt}from"./shared-init-3a95c0e0cc27e0cb.js";import{$0a as F}from"./shared-init-17c1fd399ac53851.js";import{$1b as R}from"./shared-init-17c1fd399ac53851.js";import{$2a as t}from"./shared-init-17c1fd399ac53851.js";import"./shared-init-37175329f2865f15-2.js";import"./shared-init-37175329f2865f15-2.js";import{$1b as f,$1c as $,$1d as lt,$1g as T,$1i as q,$1j as Z,$1k as u}from"./shared-init-8f2ac936c95a7f7b.js";var oe=Symbol.for("pnext.dynamic");function Wt(n,o={},c){let a=null,m=null,s=!1,g=typeof n=="string"?()=>{throw new Error(`dynamic(${JSON.stringify(n)}) was not compiled by PNext.`)}:n,k=()=>(m??=Promise.resolve(g()).then(d=>(a=typeof d=="function"?d:d.default,a)),m);function A(d){let i=u(null),[M,C]=T(0);if(Z(()=>{i.current?.hasAttribute("data-pnext-loading")&&C(1)},[]),a)return f("pnext-dynamic",{key:M,ref:i,style:Qt},f(a,d));let E=o.loading;if(s)return f("pnext-dynamic",{ref:i,style:Qt,"data-pnext-loading":""},E?f(E,d):null);throw typeof window>"u"?k().then(()=>{},()=>{s=!0}):k()}function v(d){let[i,M]=T(null),[C,E]=T(()=>o.load!=="visible"),K=u(null);if(Z(()=>{a&&M(()=>a)},[]),q(()=>{if(i||C)return;let P=K.current;if(!P||typeof IntersectionObserver>"u"){E(!0);return}let b=new IntersectionObserver(x=>{x.some(N=>N.isIntersecting)&&(b.disconnect(),E(!0))},{rootMargin:o.rootMargin,threshold:o.threshold});return b.observe(P),()=>b.disconnect()},[i,C]),q(()=>{if(i||!C)return;let P=!1;return k().then(b=>{P||M(()=>b)}),()=>{P=!0}},[i,C]),i)return f(i,d);let D=o.loading;return o.load==="visible"?f("div",{ref:K},D?f(D,d):null):D?f(D,d):null}let l=o.ssr===!1||o.load==="visible"?v:d=>typeof window>"u"?f(A,d):f(st,{fallback:o.loading?f(o.loading,d):null},f(A,d));return l[oe]={load:k,target:c},l}var Qt={display:"contents"},re=32,st=class extends lt{__c(o,c){this.setState({waiting:!0,held:(c.__u&re)!==0}),o.then(()=>this.setState({waiting:!1}))}componentDidCatch(o){if(!(o instanceof Promise))throw o;this.__c(o,this.__v.__k[0])}shouldComponentUpdate(o,c){return!(c.waiting&&c.held)}render(){return this.state.waiting&&!this.state.held?this.props.fallback:this.props.children}};var se=Wt(()=>import("./composer-f433a2e64648633a.js").then(n=>n.NewTaskButton),{loading:()=>t("button",{type:"button",class:"btn new-task",disabled:!0,children:[t(F,{d:kt}),"New task"]})}),ie={dashboard:gt,cli:wt,schedule:Tt},Xt=n=>ie[n]??Ct;function ae(n,o,c){let a=Math.round((o-n)/6e4);return a<1?"just now":a<60?`${a} min ago`:a<1440?`${Math.round(a/60)} h ago`:ft(n,c)}function de({task:n,brand:o,back:c,scoped:a,tz:m,now:s,onDone:g,onError:k}){let A=n.startedAt===void 0?void 0:(n.finishedAt??s)-n.startedAt,v=n.task.event?.integration??n.task.source??"dashboard",l=n.task.event?.type??(n.task.flow==="default"?void 0:n.task.flow);return t("tr",{children:[t("td",{children:[t(Dt,{class:"cover",href:"/dash/tasks/[id]",params:{id:n.task.id},search:c?{back:c}:void 0,children:Ot(n)}),t("span",{class:"sub",children:[a?null:t($,{children:[t(F,{d:tt}),`${n.task.agent} \xB7 `]}),t(Bt,{value:n.task.id}),l?` \xB7 ${l}`:null,n.task.cwd?t($,{children:[" \xB7 ",t("span",{title:n.task.cwd,children:[t(F,{d:vt}),$t(n.task.cwd)]})]}):null]})]}),t("td",{children:t(Pt,{status:n.status})}),t("td",{class:"when",title:mt(n.createdAt,m),children:ae(n.createdAt,s,m)}),t("td",{class:"num",children:pt(A)}),t("td",{children:[t("span",{class:"source",title:nt(v),children:[o?t(rt,{brand:o}):t(F,{d:Xt(v)}),nt(v)]}),t("span",{class:"row-acts",children:t(ce,{task:n,onDone:g,onError:k})})]})]})}function ce({task:n,onDone:o,onError:c}){let[a,m]=T(),s=(g,k)=>{c(""),(g==="approve"?R.tasks.approve(n.task.id,Yt(n.approval).id??"",k??"decline"):g==="delete"?R.tasks.delete(n.task.id):R.tasks[g](n.task.id)).then(()=>o(g),v=>c(ht(v))).finally(()=>m(void 0))};return t($,{children:[t(Rt,{summary:t(F,{d:bt}),summaryClass:"icon-btn",label:"Task actions",align:"right",children:[n.approval?t(B,{title:"Approve",onClick:()=>s("approve","accept")}):null,n.approval?t(B,{title:"Deny",onClick:()=>s("approve","decline")}):null,It(n)?t(B,{title:"Stop",onClick:()=>s("cancel")}):null,n.archivedAt?null:t(B,{title:"Archive",onClick:()=>s("archive")}),t(B,{title:"Delete",danger:!0,onClick:()=>m("ask")})]}),t(zt,{open:!!a,title:"Delete this task?",body:"Its conversation, activity and diff go with it.",confirmLabel:"Delete",busy:a==="busy",onConfirm:()=>{m("busy"),s("delete")},onClose:()=>m(void 0)})]})}function Ve({first:n,platforms:o,brands:c={},agents:a=[],filters:m,agent:s,head:g,missing:k,tz:A,now:v}){let{values:l,set:d,query:i}=Ht(m),M=jt(m),C=s?`&agent=${encodeURIComponent(s)}`:"",E=s?`/dash/agents/${encodeURIComponent(s)}/tasks`:"/dash/tasks",K=i||s?`${E}${i?`?${i}`:""}`:void 0,D={limit:ot,summary:!0,counts:!0,...xt(l),agent:s??l.agent},P=[{key:"status",label:"Status",options:Et,inline:!0},{key:"source",label:"Source",options:[..._t,...o],icon:e=>c[e]?t(rt,{brand:c[e]}):Xt(e)}];s||P.push({key:"agent",label:"Agent",options:a,icon:()=>tt,search:(e,p)=>R.agents.list({cursor:"",limit:p,q:e}).then(r=>r.items.map(h=>[h.id,h.name]))});let b=Ft({name:`tasks${C}`,fetchPage:e=>R.tasks.list({...D,cursor:e}),query:i,first:n,initial:M}),[x,N]=T({rows:{},added:[]}),[Zt,_]=T([]);q(()=>_([]),[i]);let[te,ee]=T(""),V=Nt(b.rows,x.query===i?x.added:[],x.rows).filter(e=>!Zt.includes(e.task.id)),I=(x.query===i?x.counts:void 0)??b.meta.counts,U=u(),j=u(!1),Y=u(!1),it=u(),at=u(!1),J=u(0),Q=u(0),G=u({}),W=u(!1),O=(e=!1)=>{if(W.current||=e,document.visibilityState==="hidden")return void(Y.current=!0);if(U.current)return void(j.current=!0);let p=U.current=Date.now(),r=Q.current,h=W.current?V:[];W.current=!1,(async()=>{let w=await R.tasks.list({...D,limit:Math.min(200,Math.max(ot,h.length)),cursor:""}),S=w,H=[...w.items];for(;S.next&&H.length<h.length;)S=await R.tasks.list({...D,limit:200,cursor:S.next}),H.push(...S.items);return{...S,items:H,counts:w.counts}})().then(w=>{if(Q.current!==r)return;let S=w.items.at(-1),H=new Set(w.items.map(y=>y.task.id)),ct=h.filter(y=>!H.has(y.task.id)&&(G.current[y.task.id]??0)<=p&&(!w.next||S&&Lt(y,S)<0));ct.length&&_(y=>[...y,...ct.map(L=>L.task.id)]),N(y=>({rows:{...y.rows,...Object.fromEntries(w.items.filter(L=>(G.current[L.task.id]??0)<=p).map(L=>[L.task.id,{...y.rows[L.task.id],...L}]))},added:Mt(y.query===i?y.added:[],w.items),counts:w.counts,query:i})),J.current=0}).catch(()=>{J.current++,j.current=!0}).finally(()=>{if(!at.current){if(!j.current)return void(U.current=void 0);j.current=!1,it.current=setTimeout(()=>{U.current=void 0,X.current()},Math.min(3e4,1e3*2**J.current))}})},X=u(O);X.current=O,q(()=>{let e=()=>{document.visibilityState!=="visible"||!Y.current||(Y.current=!1,X.current())};return addEventListener("visibilitychange",e),()=>{removeEventListener("visibilitychange",e),clearTimeout(it.current),at.current=!0}},[]);let ne=yt();return St(e=>{let p=V.find(r=>r.task.id===e.id);if(!p){e.deleted||e.archivedAt&&l.status!=="archived"?_(r=>[...r,e.id]):_(r=>r.includes(e.id)?r.filter(h=>h!==e.id):r),N(r=>{let{[e.id]:h,...dt}=r.rows;return h?{...r,rows:dt}:r}),(e.deleted||(s||l.agent||e.agent)===e.agent)&&O();return}if(G.current[e.id]=Date.now(),U.current&&(j.current=!0),(e.deleted||e.status!==p.status||!!e.archivedAt!=!!p.archivedAt)&&O(),e.deleted||e.archivedAt&&l.status!=="archived")return _(r=>[...r,e.id]);N(r=>{let h=r.rows[e.id]??p;return{...r,rows:{...r.rows,[e.id]:{...h,status:e.status,approval:e.approval??void 0,archivedAt:e.archivedAt,startedAt:e.startedAt,finishedAt:e.finishedAt}}}})},()=>{Q.current++,G.current={},N({rows:{},added:[]}),_([]),ne.refresh()},()=>O(!0)),t($,{children:[t(Vt,{head:g,action:g?t(se,{}):void 0,children:[t(Kt,{value:l.q,label:"Search tasks",onInput:e=>d("q",e,250)}),t(Ut,{name:"tasks",facets:P,values:l,onChange:d})]}),k?t(qt,{}):null,t(At,{title:"Tasks",count:I?z(I.all):void 0,actions:I?t($,{children:[t(ut,{value:te}),I.active?t("button",{type:"button",class:"badge acc",onClick:()=>d("status","active"),children:[z(I.active)," active"]}):null,I.waiting?t("button",{type:"button",class:"badge warn",onClick:()=>d("status","waiting"),children:[z(I.waiting)," awaiting approval"]}):null]}):void 0,children:[V.length?t("div",{class:"table-scroll",children:t("table",{class:"rows tasks stacked","aria-busy":b.stale,children:[t("thead",{children:t("tr",{children:[t("th",{children:"Task"}),t("th",{children:"Status"}),t("th",{children:"Created"}),t("th",{class:"num",children:"Duration"}),t("th",{children:"Source"})]})}),t("tbody",{children:V.map(e=>t(de,{task:e,brand:c[e.task.event?.integration??e.task.source],back:K,scoped:!!s,tz:A,now:v,onError:ee,onDone:p=>{(p==="delete"||p==="archive"&&l.status!=="archived")&&_(r=>[...r,e.task.id]),O()}},e.task.id))})]})}):b.stale?null:i?t(et,{title:"No tasks match",children:"Try another search or filter."}):t(et,{title:"No tasks yet",children:s?"Tasks appear here as this agent runs.":"Start one with New task. Tasks from the dashboard, the CLI and platforms like GitHub show up here, newest first."}),t(Gt,{noun:"tasks",...b})]})]})}export{Ve as TasksList};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as T,d as b}from"./paged-3ddb6077bef42752.js";import{a as y}from"./sentinel-b4c91a38a5d79219.js";import{$
|
|
1
|
+
import{c as T,d as b}from"./paged-3ddb6077bef42752.js";import{a as y}from"./sentinel-b4c91a38a5d79219.js";import{$4v as h}from"./shared-init-3a95c0e0cc27e0cb.js";import{$0a as g}from"./shared-init-17c1fd399ac53851.js";import{$2a as e}from"./shared-init-17c1fd399ac53851.js";import{$1c as f,$1g as c,$1i as u,$1k as v}from"./shared-init-8f2ac936c95a7f7b.js";var C=t=>new URLSearchParams(Object.entries(t).filter(([,r])=>r)).toString();function L(t){let[r,s]=c(t),[l,p]=c(t),i=v();return u(()=>{let n=b(Object.keys(t));Object.keys(t).some(o=>n[o]!==t[o])&&(s(n),p(n))},[]),u(()=>()=>clearTimeout(i.current),[]),{values:r,set:(n,o,d=0)=>{let a={...r,[n]:o};s(a),clearTimeout(i.current);let m=()=>{p(a),T(a)};d?i.current=setTimeout(m,d):m()},query:C(l)}}function Q({value:t,label:r,onInput:s}){return e("label",{class:"search",children:[e(g,{d:h}),e("input",{type:"search",value:t,placeholder:r,"aria-label":r,onInput:l=>s(l.currentTarget.value)})]})}function U({head:t,action:r,children:s}){return t?e(f,{children:[e(y,{}),e("header",{class:"head tools",children:[e("div",{children:[e("h1",{children:t.title}),t.lead?e("p",{class:"lead",children:t.lead}):null]}),e("div",{class:"filters",children:s}),r?e("div",{class:"actions",children:r}):null]})]}):e("div",{class:"filters",children:[s,r?e("span",{class:"end",children:r}):null]})}export{C as a,L as b,Q as c,U as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as f}from"./chunks/sentinel-b4c91a38a5d79219.js";import{$0a as m,$0b as s,$0d as a,$0e as p,$0f as c}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$5g as r}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/wular-pnext-37175329f2865f15-0.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$2a as d}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import{$1c as e}from"./chunks/shared-init-37175329f2865f15-2.js";import{$0i as i}from"./chunks/shared-init-37175329f2865f15-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-0824f8e785",Component:f},{id:"c-1819c7eef5",options:{load:"visible",ssr:!0},load:()=>import("./chunks/tasks-list-1b0195e3fd68714f.js").then(o=>o.TasksList)},{id:"c-26b2a32d8a",Component:m},{id:"c-2cfb5c118d",Component:r},{id:"c-2f39143d38",Component:s},{id:"c-34c96f4c56",Component:n},{id:"c-3562f7cd24",Component:a},{id:"c-39db89e6a1",Component:d},{id:"c-67b5383ad3",Component:p},{id:"c-7441e4d326",options:{},load:()=>import("./chunks/composer-f433a2e64648633a.js").then(o=>o.NewTaskButton)},{id:"c-ea656259bc",Component:c}]});e();i()||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 f}from"./chunks/custom-range-63f577240e5d5d85.js";import{a as c}from"./chunks/sentinel-b4c91a38a5d79219.js";import{$0a as r,$0b as i,$0d as a,$0e as s,$0f as p}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$5g as e}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/wular-pnext-37175329f2865f15-0.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$2a as d}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import{$1c as m}from"./chunks/shared-init-37175329f2865f15-2.js";import{$0i as t}from"./chunks/shared-init-37175329f2865f15-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-0824f8e785",Component:c},{id:"c-26b2a32d8a",Component:r},{id:"c-2cfb5c118d",Component:e},{id:"c-2f39143d38",Component:i},{id:"c-34c96f4c56",Component:n},{id:"c-3562f7cd24",Component:a},{id:"c-39db89e6a1",Component:d},{id:"c-67b5383ad3",Component:s},{id:"c-d9e42b1374",Component:f},{id:"c-ea656259bc",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 f}from"./chunks/sentinel-b4c91a38a5d79219.js";import{$0a as d,$0b as r,$0d as s,$0e as p,$0f as c}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$5g as m}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/wular-pnext-37175329f2865f15-0.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$2a as a}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import{$1c as e}from"./chunks/shared-init-37175329f2865f15-2.js";import{$0i as i}from"./chunks/shared-init-37175329f2865f15-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:N,unmountRoute:u}=t({islands:[{id:"c-0824f8e785",Component:f},{id:"c-26b2a32d8a",Component:d},{id:"c-2cfb5c118d",Component:m},{id:"c-2f39143d38",Component:r},{id:"c-34c96f4c56",Component:n},{id:"c-3562f7cd24",Component:s},{id:"c-39db89e6a1",Component:a},{id:"c-3acf145303",options:{},load:()=>import("./chunks/credentials-list-08cd5dfe29f42bf2.js").then(o=>o.EngineLogins)},{id:"c-3d4f646942",options:{},load:()=>import("./chunks/models-list-c758db0c40f5173f.js").then(o=>o.ModelsList)},{id:"c-67b5383ad3",Component:p},{id:"c-914b397ba5",options:{},load:()=>import("./chunks/engines-list-dab79c4e3e22eefe.js").then(o=>o.EnginesList)},{id:"c-e35a149e11",options:{},load:()=>import("./chunks/credentials-list-08cd5dfe29f42bf2.js").then(o=>o.CredentialsList)},{id:"c-ea656259bc",Component:c},{id:"c-f0cf975d16",options:{},load:()=>import("./chunks/mcp-list-bae4d2186f67849e.js").then(o=>o.McpList)},{id:"c-f8cb94e579",options:{},load:()=>import("./chunks/runners-list-9d27c76eed33cb05.js").then(o=>o.RunnersList)}]});e();i()||l();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:l,unmountRoute:u});export{l as mountRoute,N as remountRoute,u as unmountRoute};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c}from"./chunks/sentinel-b4c91a38a5d79219.js";import{$0a as m,$0b as r,$0d as s,$0e as d,$0f as p}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$5g as e}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/wular-pnext-37175329f2865f15-0.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$2a as a}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import{$1c as i}from"./chunks/shared-init-37175329f2865f15-2.js";import{$0i as n}from"./chunks/shared-init-37175329f2865f15-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-0824f8e785",Component:c},{id:"c-1819c7eef5",options:{load:"visible",ssr:!0},load:()=>import("./chunks/tasks-list-1b0195e3fd68714f.js").then(l=>l.TasksList)},{id:"c-26b2a32d8a",Component:m},{id:"c-2cfb5c118d",Component:e},{id:"c-2f39143d38",Component:r},{id:"c-34c96f4c56",Component:t},{id:"c-3562f7cd24",Component:s},{id:"c-39db89e6a1",Component:a},{id:"c-67b5383ad3",Component:d},{id:"c-ea656259bc",Component:p}]});i();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 l}from"./chunks/sentinel-b4c91a38a5d79219.js";import{$0a as s,$0b as m,$0d as a,$0e as p,$0f as c}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$5g as r}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/wular-pnext-37175329f2865f15-0.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$2a as d}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import{$1c as e}from"./chunks/shared-init-37175329f2865f15-2.js";import{$0i as i}from"./chunks/shared-init-37175329f2865f15-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-0824f8e785",Component:l},{id:"c-1819c7eef5",options:{load:"visible",ssr:!0},load:()=>import("./chunks/tasks-list-1b0195e3fd68714f.js").then(o=>o.TasksList)},{id:"c-22a2687aca",options:{},load:()=>import("./chunks/instructions-f3ecfb5c50f270c2.js").then(o=>o.Instructions)},{id:"c-26b2a32d8a",Component:s},{id:"c-2cfb5c118d",Component:r},{id:"c-2f39143d38",Component:m},{id:"c-34c96f4c56",Component:n},{id:"c-3562f7cd24",Component:a},{id:"c-39db89e6a1",Component:d},{id:"c-67b5383ad3",Component:p},{id:"c-7441e4d326",options:{},load:()=>import("./chunks/composer-f433a2e64648633a.js").then(o=>o.NewTaskButton)},{id:"c-91b99482e6",options:{load:"visible",ssr:!0},load:()=>import("./chunks/versions-list-875a9a0ebb3f7d08.js").then(o=>o.VersionsList)},{id:"c-ea656259bc",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 c}from"./chunks/sentinel-b4c91a38a5d79219.js";import{$0a as i,$0b as e,$0d as a,$0e as s,$0f as p}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$5g as r}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/wular-pnext-37175329f2865f15-0.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$2a as d}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import{$1c as m}from"./chunks/shared-init-37175329f2865f15-2.js";import{$0i as t}from"./chunks/shared-init-37175329f2865f15-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-0824f8e785",Component:c},{id:"c-26b2a32d8a",Component:i},{id:"c-2cfb5c118d",Component:r},{id:"c-2f39143d38",Component:e},{id:"c-34c96f4c56",Component:n},{id:"c-3562f7cd24",Component:a},{id:"c-39db89e6a1",Component:d},{id:"c-67b5383ad3",Component:s},{id:"c-c94427b1a7",options:{},load:()=>import("./chunks/task-view-0b3d7ea9cc41888b.js").then(l=>l.TaskView)},{id:"c-ea656259bc",Component:p}]});m();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 l}from"./chunks/sentinel-b4c91a38a5d79219.js";import{$0a as m,$0b as s,$0d as d,$0e as p,$0f as c}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$5g as r}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/wular-pnext-37175329f2865f15-0.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$2a as a}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import{$1c as e}from"./chunks/shared-init-37175329f2865f15-2.js";import{$0i as i}from"./chunks/shared-init-37175329f2865f15-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:k,unmountRoute:u}=t({islands:[{id:"c-0824f8e785",Component:l},{id:"c-1819c7eef5",options:{load:"visible",ssr:!0},load:()=>import("./chunks/tasks-list-1b0195e3fd68714f.js").then(o=>o.TasksList)},{id:"c-26b2a32d8a",Component:m},{id:"c-2cfb5c118d",Component:r},{id:"c-2f39143d38",Component:s},{id:"c-34c96f4c56",Component:n},{id:"c-3562f7cd24",Component:d},{id:"c-39db89e6a1",Component:a},{id:"c-5650e42951",options:{},load:()=>import("./chunks/agent-settings-form-738f9ac4b9fb67ef.js").then(o=>o.AgentSettingsForm)},{id:"c-67b5383ad3",Component:p},{id:"c-7441e4d326",options:{},load:()=>import("./chunks/composer-f433a2e64648633a.js").then(o=>o.NewTaskButton)},{id:"c-ea656259bc",Component:c}]});e();i()||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 l}from"./chunks/composer-a969037cf22215c7.js";import"./chunks/connect-repositories-8864a63f83ffd411.js";import"./chunks/composer-data-6f7608fed13f3dd7.js";import"./chunks/model-options-15c53331a2f28a4f.js";import"./chunks/select-adccc9ac86ac833f.js";import"./chunks/task-ddfddeaf07fb684c.js";import"./chunks/card-818c7a0d580e2e0d.js";import"./chunks/field-43fea54c1c287e30.js";import"./chunks/format-b19b8eec331414f4.js";import{a as f}from"./chunks/sentinel-b4c91a38a5d79219.js";import{$0a as m,$0b as d,$0d as a,$0e as p,$0f as c}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$5g as r}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/wular-pnext-37175329f2865f15-0.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$2a as s}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import{$1c as i}from"./chunks/shared-init-37175329f2865f15-2.js";import{$0i as e}from"./chunks/shared-init-37175329f2865f15-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-0824f8e785",Component:f},{id:"c-26b2a32d8a",Component:m},{id:"c-2cfb5c118d",Component:r},{id:"c-2f39143d38",Component:d},{id:"c-34c96f4c56",Component:t},{id:"c-3562f7cd24",Component:a},{id:"c-384b712f48",options:{load:"visible",ssr:!0},load:()=>import("./chunks/agents-grid-37e2e7f7a37b7a35.js").then(o=>o.AgentsGrid)},{id:"c-39db89e6a1",Component:s},{id:"c-67b5383ad3",Component:p},{id:"c-8abdf16cfe",options:{},load:()=>import("./chunks/connect-apps-97c10fa6e35ccae6.js").then(o=>o.ConnectApps)},{id:"c-ad4e2a70f0",Component:l},{id:"c-ea656259bc",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-b4c91a38a5d79219.js";import{$0a as m,$0b as d,$0d as s,$0e as c,$0f as f}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$5g as r}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/wular-pnext-37175329f2865f15-0.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$2a as a,$2c as p}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import{$1c as e}from"./chunks/shared-init-37175329f2865f15-2.js";import{$0i as i}from"./chunks/shared-init-37175329f2865f15-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-0824f8e785",Component:l},{id:"c-1819c7eef5",options:{load:"visible",ssr:!0},load:()=>import("./chunks/tasks-list-1b0195e3fd68714f.js").then(o=>o.TasksList)},{id:"c-26b2a32d8a",Component:m},{id:"c-2cfb5c118d",Component:r},{id:"c-2f39143d38",Component:d},{id:"c-34c96f4c56",Component:n},{id:"c-3562f7cd24",Component:s},{id:"c-39db89e6a1",Component:a},{id:"c-67b5383ad3",Component:c},{id:"c-7441e4d326",options:{},load:()=>import("./chunks/composer-f433a2e64648633a.js").then(o=>o.NewTaskButton)},{id:"c-ce751855ed",Component:p},{id:"c-d49f435a4e",options:{},load:()=>import("./chunks/platform-actions-4454493d02a1c172.js").then(o=>o.PlatformActions)},{id:"c-ea656259bc",Component:f}]});e();i()||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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c}from"./chunks/sentinel-b4c91a38a5d79219.js";import{$0a as r,$0b as e,$0d as a,$0e as s,$0f as p}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$5g as i}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/wular-pnext-37175329f2865f15-0.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$2a as d}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import{$1c as m}from"./chunks/shared-init-37175329f2865f15-2.js";import{$0i as t}from"./chunks/shared-init-37175329f2865f15-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:h,unmountRoute:l}=o({islands:[{id:"c-0824f8e785",Component:c},{id:"c-26b2a32d8a",Component:r},{id:"c-2cfb5c118d",Component:i},{id:"c-2f39143d38",Component:e},{id:"c-34c96f4c56",Component:n},{id:"c-3562f7cd24",Component:a},{id:"c-39db89e6a1",Component:d},{id:"c-67b5383ad3",Component:s},{id:"c-ea656259bc",Component:p}]});m();t()||f();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:f,unmountRoute:l});export{f as mountRoute,h as remountRoute,l as unmountRoute};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as l}from"./chunks/custom-range-63f577240e5d5d85.js";import{a as f}from"./chunks/sentinel-b4c91a38a5d79219.js";import{$0a as m,$0b as s,$0d as a,$0e as p,$0f as c}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$5g as r}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/wular-pnext-37175329f2865f15-0.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$2a as d}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import{$1c as e}from"./chunks/shared-init-37175329f2865f15-2.js";import{$0i as i}from"./chunks/shared-init-37175329f2865f15-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:C}=t({islands:[{id:"c-0824f8e785",Component:f},{id:"c-1819c7eef5",options:{load:"visible",ssr:!0},load:()=>import("./chunks/tasks-list-1b0195e3fd68714f.js").then(o=>o.TasksList)},{id:"c-26b2a32d8a",Component:m},{id:"c-2cfb5c118d",Component:r},{id:"c-2f39143d38",Component:s},{id:"c-34c96f4c56",Component:n},{id:"c-3562f7cd24",Component:a},{id:"c-39db89e6a1",Component:d},{id:"c-67b5383ad3",Component:p},{id:"c-7441e4d326",options:{},load:()=>import("./chunks/composer-f433a2e64648633a.js").then(o=>o.NewTaskButton)},{id:"c-d9e42b1374",Component:l},{id:"c-ea656259bc",Component:c}]});e();i()||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 C}from"./chunks/sentinel-b4c91a38a5d79219.js";import{$0a as p,$0b as I,$0d as N,$0e as b,$0f as g}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$5b as t,$5g as u}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/wular-pnext-37175329f2865f15-0.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$2a as h}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import{$2a as e}from"./chunks/shared-init-17c1fd399ac53851.js";import{$1c as l}from"./chunks/shared-init-37175329f2865f15-2.js";import{$0i as f}from"./chunks/shared-init-37175329f2865f15-2.js";import{$0a as c,$0b as d}from"./chunks/shared-init-8f2ac936c95a7f7b.js";import{$1g as s,$1i as m}from"./chunks/shared-init-8f2ac936c95a7f7b.js";function T(){let[_,a]=s(!1),[r,i]=s(!1);m(()=>{if(typeof Notification>"u")return i(!0);i(Notification.permission==="denied"),a(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,a(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-0824f8e785",Component:C},{id:"c-26b2a32d8a",Component:p},{id:"c-2cfb5c118d",Component:u},{id:"c-2f39143d38",Component:I},{id:"c-34c96f4c56",Component:d},{id:"c-3562f7cd24",Component:N},{id:"c-39db89e6a1",Component:h},{id:"c-4d3a64746a",Component:T},{id:"c-67b5383ad3",Component:b},{id:"c-ea656259bc",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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as u}from"./chunks/field-43fea54c1c287e30.js";import{g as p}from"./chunks/format-b19b8eec331414f4.js";import{$0b as f}from"./chunks/shared-init-17c1fd399ac53851.js";import{$1b as m}from"./chunks/shared-init-17c1fd399ac53851.js";import{$2a as t}from"./chunks/shared-init-17c1fd399ac53851.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-43fea54c1c287e30.js";import{g as p}from"./chunks/format-b19b8eec331414f4.js";import{$0b as f}from"./chunks/shared-init-17c1fd399ac53851.js";import{$1b as m}from"./chunks/shared-init-17c1fd399ac53851.js";import{$2a as t}from"./chunks/shared-init-17c1fd399ac53851.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-34c96f4c56",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{$0a as r,$0b as e,$0d as a,$0e as s,$0f as p}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$5g as i}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/wular-pnext-37175329f2865f15-0.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$2a as d}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import{$1c as m}from"./chunks/shared-init-37175329f2865f15-2.js";import{$0i as n}from"./chunks/shared-init-37175329f2865f15-2.js";import{$0a as o,$0b as t}from"./chunks/shared-init-8f2ac936c95a7f7b.js";import"./chunks/shared-init-8f2ac936c95a7f7b.js";var{mountRoute:c,remountRoute:S,unmountRoute:f}=o({islands:[{id:"c-26b2a32d8a",Component:r},{id:"c-2cfb5c118d",Component:i},{id:"c-2f39143d38",Component:e},{id:"c-34c96f4c56",Component:t},{id:"c-3562f7cd24",Component:a},{id:"c-39db89e6a1",Component:d},{id:"c-67b5383ad3",Component:s},{id:"c-ea656259bc",Component:p}]});m();n()||c();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:c,unmountRoute:f});export{c as mountRoute,S as remountRoute,f as unmountRoute};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c}from"./chunks/sentinel-b4c91a38a5d79219.js";import{$0a as i,$0b as e,$0d as d,$0e as s,$0f as p}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$5g as r}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/wular-pnext-37175329f2865f15-0.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import{$2a as a}from"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-3a95c0e0cc27e0cb.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import"./chunks/shared-init-17c1fd399ac53851.js";import{$1c as m}from"./chunks/shared-init-37175329f2865f15-2.js";import{$0i as n}from"./chunks/shared-init-37175329f2865f15-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-00c11152f2",options:{},load:()=>import("./chunks/editor-9752c8ab26ebd328.js").then(l=>l.AgentEditor)},{id:"c-0824f8e785",Component:c},{id:"c-26b2a32d8a",Component:i},{id:"c-2cfb5c118d",Component:r},{id:"c-2f39143d38",Component:e},{id:"c-34c96f4c56",Component:t},{id:"c-3562f7cd24",Component:d},{id:"c-39db89e6a1",Component:a},{id:"c-67b5383ad3",Component:s},{id:"c-ea656259bc",Component:p}]});m();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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$1c as i}from"./chunks/shared-init-37175329f2865f15-2.js";import{$0i as r}from"./chunks/shared-init-37175329f2865f15-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:p,unmountRoute:n}=o({islands:[{id:"c-
|
|
1
|
+
import{$1c as i}from"./chunks/shared-init-37175329f2865f15-2.js";import{$0i as r}from"./chunks/shared-init-37175329f2865f15-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:p,unmountRoute:n}=o({islands:[{id:"c-34c96f4c56",Component:t}]});i();r()||m();window.__PNEXT_REGISTER_ENTRY__&&window.__PNEXT_REGISTER_ENTRY__(import.meta.url,{mountRoute:m,unmountRoute:n});export{m as mountRoute,p as remountRoute,n as unmountRoute};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,t}from"./cli-
|
|
1
|
+
import{i as e,t}from"./cli-DtTdpTy3.js";import{p as n}from"./output-BKeyLbvt.js";import{credentialOptions as r,missingLabel as i}from"./remove-BRj1kPYm.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-AcWWfKVS.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{St as e}from"./dispatch-YW1aqjEg.js";import{i as t,t as n}from"./cli-
|
|
1
|
+
import{St as e}from"./dispatch-YW1aqjEg.js";import{i as t,t as n}from"./cli-DtTdpTy3.js";import{runnerOptions as r}from"./remove-UVD3W2OE.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-c-2w6Eoj.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-DtTdpTy3.js";import{p as n}from"./output-BKeyLbvt.js";import{i as r,n as i,s as a,t as o}from"./args-DEMOfLz2.js";import{plural as s}from"./archive-Br2eM_A2.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-DEp3GHwH.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-DtTdpTy3.js";import{p as t}from"./output-BKeyLbvt.js";import{n,t as r}from"./args-DEMOfLz2.js";import{plural as i}from"./archive-RBPoB4cr.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-HWnIIYUL.js`).then(e=>e.b);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-DtTdpTy3.js";import{a as t}from"./models-DGPrMV51.js";import{n}from"./add-DpsjB8Mp.js";import{t as r}from"./remove-C57QDigT.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-DtTdpTy3.js";import{g as t,p as n,s as r}from"./output-BKeyLbvt.js";import{t as i}from"./args-DEMOfLz2.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-CaAtyC0h.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-DtTdpTy3.js";import{g as t,p as n,s as r}from"./output-BKeyLbvt.js";import{n as i}from"./args-DEMOfLz2.js";import{t as a}from"./docs-Byrpar10.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-BJXxuJ9s.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-DtTdpTy3.js";const t=e(`flow`,{run:async()=>(await import(`./run-B-2NnW4r.js`)).commandRun,list:async()=>(await import(`./list-erdHI-w9.js`)).commandList,ls:async()=>(await import(`./list-erdHI-w9.js`)).commandList,discover:async()=>(await import(`./discover-CRUU1hdS.js`)).commandDiscover,result:async()=>(await import(`./result-BWrYnt0u.js`)).commandResult,watch:async()=>(await import(`./watch-B3gAEK1N.js`)).commandWatch,stream:async()=>(await import(`./watch-B3gAEK1N.js`)).commandWatch,stop:async()=>(await import(`./stop-B-dQ2-Gm.js`)).commandStop,resume:async()=>(await import(`./resume-D7XcEIbu.js`)).commandResume,archive:async()=>(await import(`./archive-RBPoB4cr.js`)).commandArchive,delete:async()=>(await import(`./delete-k7pxp5B6.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-K7-bKcTC.js";import{i}from"./cli-
|
|
1
|
+
import{a as e,n as t,o as n,r}from"./prompt-K7-bKcTC.js";import{i}from"./cli-DtTdpTy3.js";import{p as a,s as o}from"./output-BKeyLbvt.js";import{n as s,s as c,t as l}from"./args-DEMOfLz2.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-D0pQ_ewc.js`).then(e=>e.t),{INTEGRATIONS:o}=await import(`./integrations-B2CavXR1.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-D0pQ_ewc.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-DtTdpTy3.js";const t=e(`agent integrations`,{list:async()=>(await import(`./list-NtMN55g0.js`)).commandIntegrationsList,ls:async()=>(await import(`./list-NtMN55g0.js`)).commandIntegrationsList,show:async()=>(await import(`./show-jdaVKG0f.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-DtTdpTy3.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-DEMOfLz2.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-D0pQ_ewc.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,3 +1,3 @@
|
|
|
1
|
-
import{i as e,n as t}from"./cli-
|
|
1
|
+
import{i as e,n as t}from"./cli-DtTdpTy3.js";import{p as n,s as r}from"./output-BKeyLbvt.js";import{r as i}from"./models-DGPrMV51.js";import{n as a}from"./add-DpsjB8Mp.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{at as e}from"./dispatch-YW1aqjEg.js";import{i as t}from"./cli-
|
|
1
|
+
import{at as e}from"./dispatch-YW1aqjEg.js";import{i as t}from"./cli-DtTdpTy3.js";import{g as n,p as r,s as i}from"./output-BKeyLbvt.js";import{t as a}from"./args-DEMOfLz2.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"./dispatch-YW1aqjEg.js";import{i as e,r as t}from"./cli-
|
|
1
|
+
import"./dispatch-YW1aqjEg.js";import{i as e,r as t}from"./cli-DtTdpTy3.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-DEMOfLz2.js";import{c as d,o as f}from"./result-DtVw6XYk.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=>d(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=>f(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 30 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-DEp3GHwH.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-HWnIIYUL.js`).then(e=>e.b);_(e,t,n)}});export{v as commandTasks};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,t}from"./cli-
|
|
1
|
+
import{i as e,t}from"./cli-DtTdpTy3.js";import{g as n,p as r}from"./output-BKeyLbvt.js";import{n as i,o as a}from"./args-DEMOfLz2.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-AcWWfKVS.js`).then(e=>e.a);return t(e).credentials.list()},print:s});export{c as commandCredentialsList};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e}from"./cli-
|
|
1
|
+
import{i as e}from"./cli-DtTdpTy3.js";import{g as t,p as n,s as r}from"./output-BKeyLbvt.js";import{n as i}from"./args-DEMOfLz2.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-D0pQ_ewc.js`).then(e=>e.t);return e.integrations.list()},print:o});export{s as commandIntegrationsList};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Tt as e}from"./dispatch-YW1aqjEg.js";import{i as t}from"./cli-
|
|
1
|
+
import{Tt as e}from"./dispatch-YW1aqjEg.js";import{i as t}from"./cli-DtTdpTy3.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-DEMOfLz2.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 30 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-HWnIIYUL.js`).then(e=>e.b);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-DtTdpTy3.js";import{g as n,p as r}from"./output-BKeyLbvt.js";import{runnerOptions as i}from"./remove-UVD3W2OE.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-c-2w6Eoj.js`).then(e=>e.a);return t(e)},print:o});export{s as commandRunnerList};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,t}from"./cli-
|
|
1
|
+
import{i as e,t}from"./cli-DtTdpTy3.js";import{p as n,r,s as i}from"./output-BKeyLbvt.js";import{n as a,o}from"./args-DEMOfLz2.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-AcWWfKVS.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{St as e}from"./dispatch-YW1aqjEg.js";import{a as t,i as n,r}from"./prompt-K7-bKcTC.js";import{i,r as a}from"./cli-
|
|
1
|
+
import{St as e}from"./dispatch-YW1aqjEg.js";import{a as t,i as n,r}from"./prompt-K7-bKcTC.js";import{i,r as a}from"./cli-DtTdpTy3.js";import{p as o}from"./output-BKeyLbvt.js";import{i as s,n as c,s as l}from"./args-DEMOfLz2.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-AcWWfKVS.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-DtTdpTy3.js";import{i as n,n as r}from"./args-DEMOfLz2.js";import{ownHint as i}from"./login-p2VknR9f.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-AcWWfKVS.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{St as t}from"./dispatch-YW1aqjEg.js";import{Bn as n,In as r,Rn as i,ft as a,n as o,t as s,zn as c}from"./store-
|
|
1
|
+
import{t as e}from"./rolldown-runtime-DT7IzrpZ.js";import{St as t}from"./dispatch-YW1aqjEg.js";import{Bn as n,In as r,Rn as i,ft as a,n as o,t as s,zn as c}from"./store-Cxc2GYyj.js";import{n as l}from"./env-LsVTi18f.js";import{c as u,d,i as f}from"./schema-DoNO0dPh.js";import{n as p,t as m}from"./migrate-rwTojdkz.js";import{v as h}from"./shared-D64pQ0XU.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 a(p.store(n),o);let s=p.connection?.db,l=c(o.encryptionKey);for(let e of s?await s.select().from(u).where(v(u.token)):[])n(o,e.token)!==l&&(await s.update(u).set({token:i(o,r(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-DtTdpTy3.js";const t=e(`mcp`,{serve:async()=>(await import(`./serve-DeX0lpXj.js`)).commandMcp,add:async()=>(await import(`./add-DiwLZmjp.js`)).commandMcpAdd,"add-json":async()=>(await import(`./add-json-wOUPHwUD.js`)).commandMcpAddJson,list:async()=>(await import(`./list-Cr4c8mT6.js`)).commandMcpList,ls:async()=>(await import(`./list-Cr4c8mT6.js`)).commandMcpList,rm:async()=>(await import(`./remove-7y1b_gHT.js`)).commandMcpRemove,remove:async()=>(await import(`./remove-7y1b_gHT.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-DtTdpTy3.js";import{n as t}from"./args-DEMOfLz2.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-C02_cNLp.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Cn as e}from"./dispatch-YW1aqjEg.js";import{i as t}from"./client-31YzOj-i.js";import n from"node:path";import{fileURLToPath as r}from"node:url";import i from"node:fs";import{sql as a}from"drizzle-orm";import{migrate as o}from"drizzle-orm/postgres-js/migrator";const s=r(new URL(`../migrations`,import.meta.url)),c=i.existsSync(s)?s:n.join(e,`migrations`);async function l(e,n){let r=await t(e,()=>e.execute(n));return Array.isArray(r)?r:r.rows}async function u(e){try{let t=await l(e,a`select count(*)::text as n from drizzle.__drizzle_migrations`);return Number(t[0]?.n??0)}catch{return 0}}function d(e){try{let t=new URL(e);return`${t.hostname}${t.pathname}`}catch{return`the database`}}async function f(e,t){if(await u(e))return;let n=(await l(e,a`select table_name as name from information_schema.tables where table_schema = 'coder' order by 1`)).map(e=>e.name);if(n.length)throw Error(`${t} already has a "coder" schema with tables (${n.slice(0,5).join(`, `)}${n.length>5?`, …`:``}) that Coder did not create. Point DATABASE_URL elsewhere or drop that schema.`)}async function p(e){let t=JSON.parse(i.readFileSync(n.join(c,`meta`,`_journal.json`),`utf8`)),r=await l(e,a`select count(*)::text as n, max(created_at)::text as at from drizzle.__drizzle_migrations`).catch(()=>[]),o=Number(r[0]?.n??0),s=Number(r[0]?.at??0);return{applied:o,pending:t.entries.filter(e=>e.when>s).length,total:t.entries.length}}async function m(e,t=`the database`){await f(e.db,t);let n=await u(e.db);try{await o(e.db,{migrationsFolder:c})}catch(e){let n=e instanceof Error&&`cause`in e&&e.cause instanceof Error?e.cause:e;throw Error(`Could not migrate ${t}: ${n instanceof Error?n.message:String(n)}`)}return{applied:await u(e.db)-n}}export{m as n,p as r,d as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as e}from"./cli-
|
|
1
|
+
import{s as e}from"./cli-DtTdpTy3.js";const t=e(`model`,{list:async()=>(await import(`./list-CO8x2rgz.js`)).commandModelList,ls:async()=>(await import(`./list-CO8x2rgz.js`)).commandModelList,add:async()=>(await import(`./add-DpsjB8Mp.js`).then(e=>e.t)).commandModelAdd,setup:async()=>(await import(`./add-DpsjB8Mp.js`).then(e=>e.t)).commandModelAdd,update:async()=>(await import(`./update-ChIiUO1Z.js`)).commandModelUpdate,remove:async()=>(await import(`./remove-C57QDigT.js`).then(e=>e.n)).commandModelRemove,disable:async()=>(await import(`./disable-BJXxuJ9s.js`)).commandModelDisable,enable:async()=>(await import(`./enable-DZ7rw7iL.js`)).commandModelEnable,alias:async()=>(await import(`./alias-CZjD1F0F.js`)).commandModelAlias,unalias:async()=>(await import(`./unalias-DpkgCs_c.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-DtTdpTy3.js";import{p as n}from"./output-BKeyLbvt.js";import{i as r,n as i,s as a,t as o}from"./args-DEMOfLz2.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-D0pQ_ewc.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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Ct as e,pn as t,xt as n}from"./dispatch-YW1aqjEg.js";import{Hn as r,a as i,u as a}from"./store-
|
|
1
|
+
import{Ct as e,pn as t,xt as n}from"./dispatch-YW1aqjEg.js";import{Hn as r,a as i,u as a}from"./store-Cxc2GYyj.js";import{_ as o,g as s,h as c,i as l,m as u,o as d,p as f,s as p}from"./schema-DoNO0dPh.js";import{i as m,r as h,t as g}from"./client-31YzOj-i.js";import{b as _,c as v,f as y,m as b,v as x,y as S}from"./shared-D64pQ0XU.js";import{randomBytes as C}from"node:crypto";import{and as w,asc as T,desc as E,eq as D,getTableColumns as O,gt as k,ilike as A,inArray as j,isNotNull as M,isNull as N,lt as P,or as F,sql as I}from"drizzle-orm";import{CasingCache as L}from"drizzle-orm/casing";function R(e,t){if(typeof t==`number`)return I`to_jsonb(coalesce(case when jsonb_typeof(${e}) = 'number' then (${e} #>> '{}')::numeric end, 0) + ${t}::numeric)`;if(!t||typeof t!=`object`||Array.isArray(t))return e;let n=Object.entries(t).map(([t,n])=>I`${t}::text, ${R(I`(${e} -> ${t}::text)`,n)}`);return I`(case when jsonb_typeof(${e}) = 'object' then ${e} else '{}'::jsonb end || jsonb_build_object(${I.join(n,I`, `)}))`}const z=e=>I`(case ${e} ${I.join([...i,...t].map(e=>I`when ${e} then ${I.raw(String(n(e)))}`),I` `)} end)`,B=e=>I`date_trunc('milliseconds', ${e})`,V=e=>[T(z(e.status)),E(B(e.createdAt)),E(e.publicId)];var H=class{db;constructor(e){this.db=e}async metrics(e,t){let n=await this.db.select({status:f.status,total:I`count(*)::int`,recent:I`count(*) filter (where ${f.createdAt} >= ${new Date(t).toISOString()}::timestamptz)::int`}).from(f).where(D(f.organizationId,e)).groupBy(f.status),r={tasks:{queued:0,running:0,waiting:0,completed:0,failed:0,cancelled:0},queueDepth:0};for(let e of n)r.tasks[e.status]=e.recent,e.status===`queued`&&(r.queueDepth=e.total);return r}where(e,t){return w(D(f.organizationId,e),D(f.publicId,t))}fence(e,t,n={}){return w(this.where(e,t),n.generation===void 0?void 0:D(f.generation,n.generation),n.attempts===void 0?void 0:D(f.attempts,n.attempts),n.tokenHash===void 0?void 0:n.tokenHash===null?N(f.tokenHash):D(f.tokenHash,n.tokenHash),n.handle===void 0?void 0:n.handle===null?N(f.handle):D(f.handle,n.handle),n.lastSeenAt===void 0?void 0:n.lastSeenAt===null?N(f.lastSeenAt):D(f.lastSeenAt,new Date(n.lastSeenAt)),n.updatedAt===void 0?void 0:D(f.updatedAt,new Date(n.updatedAt)),n.statuses?j(f.status,n.statuses):void 0)}async enqueue(e,t,n,r,i){let a=this.insertion(e,t,n,r,i),[o]=i===void 0?await b(this.db,a):await h(this.db,[I`select pg_advisory_xact_lock(1, hashtext(${e}))`],a);if(!o?.allowed)throw Error(`Organization task queue is full`);return!!o.inserted}insertion(e,t,n,r,i,a){let o=t.event,s=new Date(n).toISOString(),c=e=>I`${e===void 0?null:JSON.stringify(e)}::jsonb`,m=r?I`
|
|
2
2
|
receipt as (
|
|
3
3
|
insert into ${l} (key, value, expires_at)
|
|
4
4
|
select ${x(e,`delivery`,r.key)}, ${c({at:n})}, ${new Date(n+r.ttlMs).toISOString()}::timestamptz
|
|
@@ -48,7 +48,7 @@ import{Ct as e,pn as t,xt as n}from"./dispatch-YW1aqjEg.js";import{Hn as r,a as
|
|
|
48
48
|
from picked where ${f.id} = picked.id returning ${f}.*
|
|
49
49
|
) select to_jsonb(claimed) as record, exists (select 1 from ${f} where status = 'queued' and id <> claimed.id
|
|
50
50
|
and ${i===void 0?I`true`:I`(select count(*) from ${f} active where active.organization_id = ${f.organizationId} and active.status in ('running', 'waiting')) + case when ${f.organizationId} = claimed.organization_id then 1 else 0 end < ${i}`})
|
|
51
|
-
and ${t===void 0?I`true`:I`(select count(*) from ${f} where status in ('running', 'waiting')) + 1 < ${t}`} as more from claimed`,[l]=await h(this.db,t===void 0&&i===void 0?[]:[I`select pg_advisory_xact_lock(2, 0)`],c);if(!l)return;let u=new L(g),d=Object.fromEntries(Object.entries(O(f)).map(([e,t])=>{let n=l.record[u.getColumnCasing(t)];return[e,n===null?null:t.mapFromDriverValue(n)]}));return{organizationId:d.organizationId,status:_(d),token:r(d.publicId,d.organizationId,d.attempts,o).token,more:l.more}}async touch(e,t,n,r,i,a=!1){let o=j(f.status,[`running`,`waiting`]),s=new Date(i).toISOString(),[c]=await this.db.update(f).set({lastSeenAt:I`case when ${o} then ${s}::timestamptz else ${f.lastSeenAt} end`,updatedAt:I`case when ${o} then ${s}::timestamptz else ${f.updatedAt} end`}).where(this.fence(e,t,{tokenHash:n,attempts:r,statuses:a?[`running`,`waiting`,`completed`,`failed`,`cancelled`]:[`running`,`waiting`]})).returning();return c&&_(c)}async patchTask(e,t,n,r,i={}){let{answer:a,archivedAt:o,autoArchived:s,lastSeenAt:c,...l}=n,[u]=await this.db.update(f).set({...Object.fromEntries(Object.entries(l).map(([e,t])=>[e,t??null])),...a===void 0?{}:{answer:I`coalesce(${f.answer}, '[]'::jsonb) || ${JSON.stringify([a])}::jsonb`},...Object.hasOwn(n,`archivedAt`)?{archivedAt:o===void 0?null:new Date(o)}:{},...Object.hasOwn(n,`lastSeenAt`)?{lastSeenAt:c===void 0?null:new Date(c)}:{},updatedAt:new Date(r)}).where(this.fence(e,t,i)).returning({id:f.id});return!!u}async archiveStopped(n,r,i){await this.db.update(f).set({archivedAt:new Date(r)}).where(w(D(f.organizationId,n),i?j(f.publicId,i):void 0,N(f.archivedAt),j(f.status,[...t]),P(I`coalesce(${f.finishedAt}, ${f.updatedAt})`,new Date(r-e))))}async requeue(e,t,n,r={}){let[i]=await this.db.update(f).set({status:`queued`,lockedAt:null,handle:null,tokenHash:null,lastSeenAt:null,updatedAt:new Date(n)}).where(this.fence(e,t,{...r,statuses:[`running`,`waiting`]})).returning({id:f.id});return!!i}async finish(e,t,n,r,i={}){let a=new Date(r),[o]=await this.db.update(f).set({status:n.status,result:n.result??null,error:n.error??null,tokens:n.tokens??null,lastSeenAt:a,lockedAt:null,finishedAt:a,updatedAt:a}).where(this.fence(e,t,{...i,statuses:[`queued`,`running`,`waiting`]})).returning({id:f.id});return!!o}async continueTask(e,t,n,r,i){let a=I`(select value from ${l} where key = ${S(e,`note`)} ||
|
|
51
|
+
and ${t===void 0?I`true`:I`(select count(*) from ${f} where status in ('running', 'waiting')) + 1 < ${t}`} as more from claimed`,[l]=await h(this.db,t===void 0&&i===void 0?[]:[I`select pg_advisory_xact_lock(2, 0)`],c);if(!l)return;let u=new L(g),d=Object.fromEntries(Object.entries(O(f)).map(([e,t])=>{let n=l.record[u.getColumnCasing(t)];return[e,n===null?null:t.mapFromDriverValue(n)]}));return{organizationId:d.organizationId,status:_(d),token:r(d.publicId,d.organizationId,d.attempts,o).token,more:l.more}}async touch(e,t,n,r,i,a=!1){let o=j(f.status,[`running`,`waiting`]),s=new Date(i).toISOString(),[c]=await this.db.update(f).set({lastSeenAt:I`case when ${o} then ${s}::timestamptz else ${f.lastSeenAt} end`,updatedAt:I`case when ${o} then ${s}::timestamptz else ${f.updatedAt} end`}).where(this.fence(e,t,{tokenHash:n,attempts:r,statuses:a?[`running`,`waiting`,`completed`,`failed`,`cancelled`]:[`running`,`waiting`]})).returning();return c&&_(c)}async patchTask(e,t,n,r,i={}){let{answer:a,archivedAt:o,autoArchived:s,lastSeenAt:c,...l}=n,[u]=await this.db.update(f).set({...Object.fromEntries(Object.entries(l).map(([e,t])=>[e,t??null])),...a===void 0?{}:{answer:I`coalesce(${f.answer}, '[]'::jsonb) || ${JSON.stringify([a])}::jsonb`},...Object.hasOwn(n,`archivedAt`)?{archivedAt:o===void 0?null:new Date(o)}:{},...Object.hasOwn(n,`lastSeenAt`)?{lastSeenAt:c===void 0?null:new Date(c)}:{},updatedAt:new Date(r)}).where(this.fence(e,t,i)).returning({id:f.id});return!!u}async archiveStopped(n,r,i){await this.db.update(f).set({archivedAt:new Date(r)}).where(w(D(f.organizationId,n),i?j(f.publicId,i):void 0,N(f.archivedAt),j(f.status,[...t]),P(I`coalesce(${f.finishedAt}, ${f.updatedAt})`,I`${new Date(r-e).toISOString()}::timestamptz`)))}async requeue(e,t,n,r={}){let[i]=await this.db.update(f).set({status:`queued`,lockedAt:null,handle:null,tokenHash:null,lastSeenAt:null,updatedAt:new Date(n)}).where(this.fence(e,t,{...r,statuses:[`running`,`waiting`]})).returning({id:f.id});return!!i}async finish(e,t,n,r,i={}){let a=new Date(r),[o]=await this.db.update(f).set({status:n.status,result:n.result??null,error:n.error??null,tokens:n.tokens??null,lastSeenAt:a,lockedAt:null,finishedAt:a,updatedAt:a}).where(this.fence(e,t,{...i,statuses:[`queued`,`running`,`waiting`]})).returning({id:f.id});return!!o}async continueTask(e,t,n,r,i){let a=I`(select value from ${l} where key = ${S(e,`note`)} ||
|
|
52
52
|
case when ${f.source} = ${f.event}->>'integration' then
|
|
53
53
|
(${f.event}->>'appId') || ':' || (${f.event}->>'installationId') || ':' || coalesce(${f.event}->'chat'->'thread'->>'id', ${f.event}->>'deliveryId')
|
|
54
54
|
else 'task:' || ${f.publicId} end
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{E as e,wn as t}from"./dispatch-YW1aqjEg.js";import{i as n}from"./cli-DtTdpTy3.js";const r=n({name:`upgrade refresh`,options:{},run:()=>e(t())});export{r as commandRefreshUpdate};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ot as e}from"./dispatch-YW1aqjEg.js";import{i as t}from"./cli-
|
|
1
|
+
import{ot as e}from"./dispatch-YW1aqjEg.js";import{i as t}from"./cli-DtTdpTy3.js";import{n,t as r}from"./args-DEMOfLz2.js";import i from"node:process";const a=t({name:`mcp remove`,helpName:`mcp rm`,help:{usage:`coder mcp rm <name> [--user] [--cwd <dir>]`,summary:"Remove `mcp.<name>` from the repo config (or the user config with --user).",flags:[[`--user`,`edit ~/.coder config`]]},options:{...r,user:n},args:1,run:({options:t,args:[n],cwd:r})=>e(r,n,t),print:({name:e,file:t})=>i.stdout.write(`Removed MCP server "${e}" from ${t}.\n`)});export{a as commandMcpRemove};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{St as e}from"./dispatch-YW1aqjEg.js";import{i as t,t as n}from"./cli-
|
|
1
|
+
import{St as e}from"./dispatch-YW1aqjEg.js";import{i as t,t as n}from"./cli-DtTdpTy3.js";import{p as r}from"./output-BKeyLbvt.js";import{n as i,o as a}from"./args-DEMOfLz2.js";import o from"node:process";const s={json:i,server:a,workspace:i,yes:i},c=()=>new e(`invalid-option`,`Missing credential label.`),l=t({name:`credentials remove`,globalFlags:{cwd:!1},help:{usage:`coder credentials remove <label> [--workspace] [--server [url]] [--json]`,flags:[[`--workspace`,`the workspace credential of that label`],n]},options:s,args:1,async run({options:e,args:[t]}){let{connect:n}=await import(`./remote-AcWWfKVS.js`).then(e=>e.a);if(!t)throw c();return n(e).credentials.remove(t,e)},print:(e,{args:[t]})=>o.stdout.write(`Removed ${r.bold(t)}.\n`)});export{l as commandCredentialsRemove,s as credentialOptions,c as missingLabel};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./rolldown-runtime-DT7IzrpZ.js";import{i as t}from"./cli-
|
|
1
|
+
import{t as e}from"./rolldown-runtime-DT7IzrpZ.js";import{i as t}from"./cli-DtTdpTy3.js";import{p as n}from"./output-BKeyLbvt.js";import{i as r}from"./models-DGPrMV51.js";import{n as i}from"./add-DpsjB8Mp.js";import a from"node:process";var o=e({commandModelRemove:()=>s,printModelChange:()=>c});const s=t({name:`model remove`,help:{usage:`coder model remove <name>`,summary:`Remove a configured custom model.`,flags:[[`--workspace`,`target <repo>/.coder/config.json instead of the user file`]]},options:i,args:1,run:({options:e,args:[t],cwd:n})=>r(n,t,e),print:e=>c(`removed`,e.removed,e.file)});function c(e,t,r){a.stdout.write(`${e} ${n.cyan(t)} ${n.dim(`(${r})`)}\n`)}export{o as n,c as t};
|