@opencode/core 0.0.0-dev-19501 → 0.0.0-dev-19504
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/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{job-rbr1ba9y.js → state-020j3mp2.js} +6 -6
- package/dist/chunks/{job-bra6p34v.js → state-02r6fh77.js} +32 -32
- package/dist/chunks/{job-x09ggfgh.js → state-0h5yhx5j.js} +13 -13
- package/dist/chunks/{job-9f8x733p.js → state-0j4ba8d2.js} +11 -11
- package/dist/chunks/{job-nep8tjkt.js → state-0kcg9p5c.js} +14 -14
- package/dist/chunks/{job-dw9ftjz0.js → state-0mtbxaje.js} +5 -5
- package/dist/chunks/{job-njffw8q5.js → state-0nds4myn.js} +16 -16
- package/dist/chunks/{job-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-0q0f95c6.js → state-0q0f95c6.js} +1 -1
- package/dist/chunks/{job-arjbbgf8.js → state-17zkjcfx.js} +6 -6
- package/dist/chunks/{job-z75d3rsp.js → state-1av7y6ck.js} +4 -4
- package/dist/chunks/{job-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{job-w1ad28wa.js → state-1fcrsx1q.js} +8 -8
- package/dist/chunks/{job-vtzwx9w7.js → state-1xrbsc5y.js} +41 -41
- package/dist/chunks/{job-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{job-g5bqepvr.js → state-22yx3c6v.js} +11 -11
- package/dist/chunks/{job-6h73sxmp.js → state-2402vzrj.js} +5 -5
- package/dist/chunks/{job-nmbjd050.js → state-24c7t6kx.js} +28 -28
- package/dist/chunks/{job-z63w68vq.js → state-29x78va6.js} +6 -6
- package/dist/chunks/{job-dgvf7yhf.js → state-2a3r6032.js} +15 -15
- package/dist/chunks/{job-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-gsx0ryk4.js → state-2bt6bea8.js} +9 -9
- package/dist/chunks/{job-mty3s5k3.js → state-2jpz28ss.js} +10 -10
- package/dist/chunks/{job-0jwsre1p.js → state-2k8khapm.js} +5 -5
- package/dist/chunks/{job-53f31axm.js → state-395j3mj5.js} +32 -32
- package/dist/chunks/{job-s673h22a.js → state-3cdpbzjx.js} +15 -15
- package/dist/chunks/{job-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-jce26jfm.js → state-3h7zsync.js} +13 -13
- package/dist/chunks/{job-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-q2b1ymqp.js → state-3j8sdtpz.js} +4 -4
- package/dist/chunks/{job-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-v8s8zax1.js → state-3vc92cpq.js} +28 -28
- package/dist/chunks/{job-tz2bjj40.js → state-3w2b2yj4.js} +5 -5
- package/dist/chunks/{job-byn59v6m.js → state-3zevfmxv.js} +1 -1
- package/dist/chunks/{job-ckw6gep2.js → state-3zre7qs9.js} +15 -15
- package/dist/chunks/{job-d4dr9rb7.js → state-4127wp21.js} +6 -6
- package/dist/chunks/{job-ajchncqw.js → state-474mxxx0.js} +8 -8
- package/dist/chunks/{job-t2k8w6x7.js → state-480wnwqj.js} +11 -11
- package/dist/chunks/{job-0ajdgxne.js → state-4y66k410.js} +5 -5
- package/dist/chunks/{job-zc07dx4z.js → state-51wwr1cb.js} +7 -7
- package/dist/chunks/{job-6z4emzs5.js → state-567n0deq.js} +46 -46
- package/dist/chunks/{job-1ygqh575.js → state-56gdpj1q.js} +9 -9
- package/dist/chunks/{job-z8pb3dnf.js → state-5ahh7ntp.js} +5 -5
- package/dist/chunks/{job-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{job-tm3xrft6.js → state-5gg839bz.js} +22 -22
- package/dist/chunks/{job-rnp9kzat.js → state-5m22982g.js} +5 -5
- package/dist/chunks/{job-k5nz7jxc.js → state-5p8mw0dr.js} +24 -24
- package/dist/chunks/{job-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{job-g190xswt.js → state-5wtwrezn.js} +21 -21
- package/dist/chunks/{job-0b3ppf0m.js → state-60vppwb8.js} +8 -8
- package/dist/chunks/{job-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{job-39s00pmn.js → state-6b54yabr.js} +22 -22
- package/dist/chunks/{job-a28srp6z.js → state-6cdctt69.js} +20 -20
- package/dist/chunks/{job-vgd8tbfn.js → state-6cqjqb7p.js} +66 -66
- package/dist/chunks/{job-rs5tj728.js → state-6h1zhsq5.js} +16 -16
- package/dist/chunks/{job-nv5vn7qx.js → state-6kyz0a76.js} +4 -4
- package/dist/chunks/{job-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{job-r7yyze0b.js → state-6v46vta9.js} +37 -37
- package/dist/chunks/{job-pe61x464.js → state-6vzv0tsa.js} +9 -9
- package/dist/chunks/{job-eza9v3bf.js → state-6x116pq4.js} +18 -18
- package/dist/chunks/{job-71q4at8m.js → state-71q4at8m.js} +1 -1
- package/dist/chunks/{job-nsnkpgmw.js → state-72417vrk.js} +29 -29
- package/dist/chunks/{job-8xr8aj9a.js → state-73v7pdd7.js} +8 -8
- package/dist/chunks/{job-ek00w5t7.js → state-76fbqq5t.js} +23 -23
- package/dist/chunks/{job-990ev2kv.js → state-79w795fr.js} +1 -1
- package/dist/chunks/{job-844ef7ks.js → state-7b15y959.js} +8 -8
- package/dist/chunks/{job-k9h3bn14.js → state-7b9bpmhc.js} +17 -17
- package/dist/chunks/{job-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-c649dwfa.js → state-7f4vqfyd.js} +19 -19
- package/dist/chunks/{job-ebrpajgw.js → state-7mjs49hv.js} +7 -7
- package/dist/chunks/{job-a80mwyht.js → state-7p0agkh3.js} +19 -19
- package/dist/chunks/{job-yxjbx3ws.js → state-7rntk513.js} +12 -12
- package/dist/chunks/{job-377tdzm5.js → state-7w99qc9d.js} +3 -3
- package/dist/chunks/{job-fqtw9snj.js → state-7z0hag3q.js} +9 -9
- package/dist/chunks/{job-9rw2238w.js → state-87shza1g.js} +26 -26
- package/dist/chunks/{job-8ctqdr62.js → state-8c0s05bc.js} +23 -23
- package/dist/chunks/{job-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{job-4vda8ndh.js → state-8dx2amnv.js} +47 -47
- package/dist/chunks/{job-818pfwc9.js → state-8hgfhrm0.js} +11 -11
- package/dist/chunks/{job-dj2t23y0.js → state-8p4f9s12.js} +2 -2
- package/dist/chunks/{job-7w0m1cr7.js → state-8qt13rrk.js} +11 -11
- package/dist/chunks/{job-x2xn2ag0.js → state-8zfw07st.js} +12 -12
- package/dist/chunks/{job-wycsdkc3.js → state-99630avw.js} +11 -11
- package/dist/chunks/{job-y0j58446.js → state-9e1pnjm1.js} +13 -13
- package/dist/chunks/{job-1fjxzwkh.js → state-9jnamvjf.js} +27 -27
- package/dist/chunks/{job-jc02vnth.js → state-9yth8x6d.js} +18 -18
- package/dist/chunks/{job-5c4hm403.js → state-a1bz86dw.js} +3 -3
- package/dist/chunks/{job-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{job-dhmh7aw6.js → state-ag4rn41e.js} +4 -4
- package/dist/chunks/{job-qbds1c0x.js → state-agndh9mm.js} +3 -3
- package/dist/chunks/{job-6ksr27c4.js → state-awmfrrxt.js} +15 -15
- package/dist/chunks/{job-77ry477k.js → state-ays70j4r.js} +30 -30
- package/dist/chunks/{job-483bcsj8.js → state-azk23wr2.js} +9 -9
- package/dist/chunks/{job-h1frrkv0.js → state-b1bqv7zk.js} +24 -24
- package/dist/chunks/{job-qk5tp4kc.js → state-b1qcv6s7.js} +36 -36
- package/dist/chunks/{job-htveh2m9.js → state-b2vqmjat.js} +1 -1
- package/dist/chunks/{job-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-msq0jde0.js → state-bccb6npm.js} +4 -4
- package/dist/chunks/{job-k070sa49.js → state-bgmc37vk.js} +298 -298
- package/dist/chunks/{job-jzy4mkh2.js → state-bjmdedkt.js} +9 -9
- package/dist/chunks/{job-wpqm8tgx.js → state-bz250d8h.js} +15 -15
- package/dist/chunks/{job-e9gb6pdy.js → state-bz97kxjr.js} +6 -6
- package/dist/chunks/state-c54z827e.js +247 -0
- package/dist/chunks/{job-m0jqrx5p.js → state-cfpkc3c9.js} +2 -2
- package/dist/chunks/{job-nvn8ehym.js → state-cq37gk0t.js} +4 -4
- package/dist/chunks/{job-a8hcp5ng.js → state-csx0xmef.js} +18 -18
- package/dist/chunks/{job-gd7fndfc.js → state-cwd529yg.js} +50 -50
- package/dist/chunks/{job-af0peg3t.js → state-cz2f50e6.js} +23 -23
- package/dist/chunks/{job-qjgw82pv.js → state-czcnay43.js} +33 -33
- package/dist/chunks/{job-jwx4y25k.js → state-d09006c3.js} +9 -9
- package/dist/chunks/{job-hwbs7xck.js → state-d0j044cp.js} +43 -43
- package/dist/chunks/{job-hkfg6fzm.js → state-d2aac7k2.js} +5 -5
- package/dist/chunks/{job-9mrxmr8h.js → state-d3tbzqxc.js} +18 -18
- package/dist/chunks/{job-2evyaa68.js → state-d8nc1xcx.js} +4 -4
- package/dist/chunks/{job-j1ydb14k.js → state-daf1qynx.js} +27 -27
- package/dist/chunks/{job-v5w9803s.js → state-ddx3tg71.js} +8 -8
- package/dist/chunks/{job-223d1qz3.js → state-dexh071n.js} +33 -33
- package/dist/chunks/{job-2vtsxqdn.js → state-dfem2sdx.js} +2 -2
- package/dist/chunks/{job-y71avatq.js → state-dpkg50ah.js} +4 -4
- package/dist/chunks/{job-61mnds12.js → state-drtnac5g.js} +5 -5
- package/dist/chunks/{job-4jegdd7h.js → state-dsn4nv59.js} +11 -11
- package/dist/chunks/{job-5fesm737.js → state-dw22x083.js} +172 -172
- package/dist/chunks/{job-39s66enp.js → state-dwepz7tb.js} +12 -12
- package/dist/chunks/{job-fteascj8.js → state-dwmj5nv1.js} +4 -4
- package/dist/chunks/{job-5cyrhyve.js → state-e3wbf25j.js} +9 -9
- package/dist/chunks/{job-nhy5jxhy.js → state-e82z9tr0.js} +7 -7
- package/dist/chunks/{job-r56v5vzb.js → state-ea29dqtj.js} +22 -22
- package/dist/chunks/{job-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{job-1acjjqhc.js → state-f2n192rq.js} +4 -4
- package/dist/chunks/{job-05znt9a9.js → state-f76jjjy7.js} +17 -17
- package/dist/chunks/{job-hdnk95c8.js → state-f828m53h.js} +2 -2
- package/dist/chunks/{job-tqjwy6mf.js → state-fkd2ewj5.js} +12 -12
- package/dist/chunks/{job-85wb28z4.js → state-fm9p4f6k.js} +4 -4
- package/dist/chunks/{job-2wyjv582.js → state-frwpyczr.js} +4 -4
- package/dist/chunks/{job-xs8d25ev.js → state-fwqtep5n.js} +11 -11
- package/dist/chunks/{job-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
- package/dist/chunks/{job-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-zmwpq63m.js → state-gezceyq7.js} +14 -14
- package/dist/chunks/{job-vm7fznsz.js → state-ghbh3tzz.js} +29 -29
- package/dist/chunks/{job-4hc1kxpa.js → state-gp1cy6hf.js} +10 -10
- package/dist/chunks/{job-w5rgr3ed.js → state-gqazmv2c.js} +9 -9
- package/dist/chunks/{job-xwdfg3dx.js → state-gqrsst1j.js} +5 -5
- package/dist/chunks/{job-bcxexh6n.js → state-gtdtpweg.js} +22 -22
- package/dist/chunks/{job-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/{job-w63wt874.js → state-gy2qaxq4.js} +50 -50
- package/dist/chunks/{job-h03wrkyp.js → state-h03wrkyp.js} +2 -2
- package/dist/chunks/state-h47he10w.js +4 -0
- package/dist/chunks/{job-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-s3287qar.js → state-h93d5vc1.js} +37 -37
- package/dist/chunks/{job-4z62xtfw.js → state-hrtt5x04.js} +25 -25
- package/dist/chunks/{job-e2535fdq.js → state-hzm9egg4.js} +11 -11
- package/dist/chunks/{job-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{job-fe1tayzh.js → state-j7hrck8q.js} +17 -17
- package/dist/chunks/{job-paphc93g.js → state-j935v87r.js} +2 -2
- package/dist/chunks/{job-42c662mh.js → state-jajsdnd6.js} +6 -6
- package/dist/chunks/{job-r863235s.js → state-jdzvy3yq.js} +17 -17
- package/dist/chunks/{job-agy1jr6g.js → state-jgar8g47.js} +32 -32
- package/dist/chunks/{job-0rkcyjmh.js → state-jk1nvzjp.js} +15 -15
- package/dist/chunks/{job-x3nm3630.js → state-jkhk5v10.js} +16 -16
- package/dist/chunks/{job-t96gcqea.js → state-js4jadbf.js} +4 -4
- package/dist/chunks/{job-6m8cgtnn.js → state-kb4h31ft.js} +59 -59
- package/dist/chunks/{job-t0wy8e3x.js → state-kez3kbfw.js} +37 -37
- package/dist/chunks/{job-kg06axw8.js → state-kg06axw8.js} +1 -1
- package/dist/chunks/{job-b5hzpkv8.js → state-kjmahcfy.js} +22 -22
- package/dist/chunks/{job-e99y237x.js → state-ks9k8xvt.js} +11 -11
- package/dist/chunks/{job-zsh8a2sh.js → state-m370rjbg.js} +23 -23
- package/dist/chunks/{job-8tq8zswb.js → state-m6v0m1sd.js} +30 -30
- package/dist/chunks/{job-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-sbvbgwj3.js → state-mcqvnant.js} +24 -24
- package/dist/chunks/{job-t7wpzaak.js → state-mdzsfjay.js} +21 -21
- package/dist/chunks/{job-wvdszsq1.js → state-mjmpm5gf.js} +43 -43
- package/dist/chunks/{job-qcqr6c42.js → state-mkgf31e5.js} +4 -4
- package/dist/chunks/{job-y8p3zjbc.js → state-mvfdckk2.js} +4 -4
- package/dist/chunks/{job-8pccszvy.js → state-mwjh8pk4.js} +10 -10
- package/dist/chunks/{job-ykw20yhg.js → state-mwyv3scv.js} +23 -23
- package/dist/chunks/state-my545s4e.js +22 -0
- package/dist/chunks/{job-zecnhp4y.js → state-n36sd619.js} +47 -47
- package/dist/chunks/{job-p69wsv11.js → state-n78mb8y2.js} +13 -13
- package/dist/chunks/{job-bscb95cy.js → state-n8c291r7.js} +6 -6
- package/dist/chunks/{job-rs9dtcm6.js → state-nhf2dmd1.js} +24 -24
- package/dist/chunks/{job-d16qd7aj.js → state-nng2ktcm.js} +2 -2
- package/dist/chunks/{job-e23dc7d8.js → state-nrs119em.js} +17 -17
- package/dist/chunks/{job-s8afmmt2.js → state-nyp6vdzn.js} +17 -17
- package/dist/chunks/{job-h3376zec.js → state-nztktr68.js} +10 -10
- package/dist/chunks/{job-62kn995j.js → state-p1pqv18t.js} +13 -13
- package/dist/chunks/{job-w4dt659t.js → state-pd4btrn7.js} +1 -1
- package/dist/chunks/{job-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{job-fgzdzk1h.js → state-pmy40cdq.js} +31 -31
- package/dist/chunks/{job-hezdnza5.js → state-q1ayw5n1.js} +10 -10
- package/dist/chunks/{job-9ywjwkc3.js → state-q82h00rj.js} +46 -46
- package/dist/chunks/{job-xgte56ee.js → state-q85bd21y.js} +27 -27
- package/dist/chunks/{job-qjnctwjf.js → state-qfbccd5t.js} +5 -5
- package/dist/chunks/{job-jf27y05g.js → state-qjc5s0tw.js} +16 -16
- package/dist/chunks/{job-rhx683sy.js → state-qqtwvk4z.js} +6 -6
- package/dist/chunks/{job-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{job-xdw78xdg.js → state-qtkzm0vp.js} +8 -8
- package/dist/chunks/{job-73tb2d7t.js → state-r5x6zcsm.js} +3 -3
- package/dist/chunks/{job-r9mregkx.js → state-r9mregkx.js} +2 -2
- package/dist/chunks/{job-fdv30zvt.js → state-ratrq7cm.js} +7 -7
- package/dist/chunks/{job-09wpk6vq.js → state-rf90sz53.js} +4 -4
- package/dist/chunks/{job-qzb9gbxh.js → state-rgadkmpr.js} +37 -37
- package/dist/chunks/{job-4w1yen7k.js → state-rgqj86dy.js} +42 -42
- package/dist/chunks/{job-athype10.js → state-rhjbct0v.js} +8 -8
- package/dist/chunks/{job-81swgkk7.js → state-rk0rec3h.js} +9 -9
- package/dist/chunks/{job-yrznvahk.js → state-s4enseaf.js} +2 -2
- package/dist/chunks/{job-b7v4cx43.js → state-s857ash9.js} +5 -5
- package/dist/chunks/{job-7msm4rwz.js → state-s9x7wzdz.js} +16 -16
- package/dist/chunks/{job-efs7hy0y.js → state-sbsepnww.js} +14 -14
- package/dist/chunks/{job-gx6t3jfd.js → state-sbv6zvrh.js} +43 -43
- package/dist/chunks/{job-z5tggqpm.js → state-sc497s7j.js} +3 -3
- package/dist/chunks/{job-26x13ny0.js → state-seh8ndws.js} +11 -11
- package/dist/chunks/{job-t3g6f9dq.js → state-semaaj5d.js} +17 -17
- package/dist/chunks/{job-cfx5nnhv.js → state-sjr35f5n.js} +18 -18
- package/dist/chunks/{job-2yhcctmw.js → state-sndc8avh.js} +23 -23
- package/dist/chunks/{job-eg1ta683.js → state-sr06zkx8.js} +26 -26
- package/dist/chunks/{job-vbj8td05.js → state-sshbytzt.js} +59 -59
- package/dist/chunks/{job-ws5qfxv9.js → state-sygp3w95.js} +9 -9
- package/dist/chunks/{job-fjmrr6sh.js → state-t0x5rdq8.js} +9 -9
- package/dist/chunks/{job-8awsthtr.js → state-t1pxv65t.js} +5 -5
- package/dist/chunks/{job-p33ejz0k.js → state-t23qze4t.js} +1 -1
- package/dist/chunks/{job-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-89znhe33.js → state-tcezcvh9.js} +4 -4
- package/dist/chunks/{job-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{job-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{job-jgd9689z.js → state-txxgpxvq.js} +6 -6
- package/dist/chunks/{job-bbqjtvjt.js → state-tz09nfgs.js} +86 -86
- package/dist/chunks/{job-2ye9hrzq.js → state-v0q79tc7.js} +11 -11
- package/dist/chunks/{job-6dpf0sr6.js → state-v6697qd3.js} +11 -11
- package/dist/chunks/{job-qjqwssjd.js → state-v7vg1ys9.js} +7 -7
- package/dist/chunks/{job-61k5jphj.js → state-v8fxnnqy.js} +18 -18
- package/dist/chunks/{job-pe5bkq7z.js → state-vahdp9z8.js} +30 -30
- package/dist/chunks/{job-57spzpgt.js → state-vb1kjdsx.js} +23 -23
- package/dist/chunks/{job-4yqpz7cw.js → state-ven90c16.js} +23 -23
- package/dist/chunks/{job-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{job-va3rkdfa.js → state-vmkrf3gm.js} +34 -34
- package/dist/chunks/{job-e6hmchc5.js → state-vmq7ehpy.js} +5 -5
- package/dist/chunks/state-vnkjks7b.js +18 -0
- package/dist/chunks/{job-gjjtys5r.js → state-vt73cr5y.js} +32 -32
- package/dist/chunks/{job-89yh578v.js → state-vtzq9px0.js} +9 -9
- package/dist/chunks/{job-dfdvek0b.js → state-vv4zqvpf.js} +28 -28
- package/dist/chunks/{job-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{job-89wjbkgr.js → state-w1sbw24p.js} +32 -32
- package/dist/chunks/{job-a880hm1k.js → state-w3thrybb.js} +77 -77
- package/dist/chunks/{job-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-wbe59x29.js → state-w6pwrz03.js} +16 -16
- package/dist/chunks/{job-j9eftr55.js → state-w9m3yqhf.js} +6 -6
- package/dist/chunks/{job-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{job-dwv6k166.js → state-wgpywka8.js} +28 -28
- package/dist/chunks/{job-v8jfbz3g.js → state-wmnxc830.js} +6 -6
- package/dist/chunks/{job-mth96381.js → state-wqgnyshj.js} +1 -1
- package/dist/chunks/{job-2jf2j74m.js → state-wsyr7wz2.js} +19 -19
- package/dist/chunks/{job-kwn7s3xs.js → state-ww2wa7se.js} +28 -28
- package/dist/chunks/{job-wh2dv1v9.js → state-wyxd6c79.js} +35 -35
- package/dist/chunks/{job-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-2hbyh6nn.js → state-x1rq2d5e.js} +15 -15
- package/dist/chunks/{job-4v6fnmv6.js → state-x3cpe7dn.js} +11 -11
- package/dist/chunks/{job-50bdtw13.js → state-x58wvrnc.js} +10 -10
- package/dist/chunks/{job-n5pt8tbc.js → state-x6fpxd14.js} +13 -13
- package/dist/chunks/{job-53d4v5pk.js → state-xc0y5txa.js} +1 -1
- package/dist/chunks/{job-rasx6tva.js → state-xnqxh1k4.js} +6 -6
- package/dist/chunks/{job-z9mc2c5r.js → state-xvssc1kt.js} +11 -11
- package/dist/chunks/{job-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-470v6bvq.js → state-y38bkm5v.js} +28 -28
- package/dist/chunks/{job-q1wsye3c.js → state-y6fqbdb6.js} +2 -2
- package/dist/chunks/{job-9edb9jbp.js → state-y8swrd1p.js} +17 -17
- package/dist/chunks/{job-4dmhzvqh.js → state-y8w077mg.js} +24 -24
- package/dist/chunks/{job-bxw8ngxp.js → state-yfdtkgec.js} +5 -5
- package/dist/chunks/{job-tpj9kemf.js → state-yjy17zka.js} +6 -6
- package/dist/chunks/{job-fegsmc0t.js → state-ym3mvm7f.js} +25 -25
- package/dist/chunks/{job-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{job-fwr4kp6g.js → state-ysz0c65e.js} +11 -11
- package/dist/chunks/{job-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-kb49dwdy.js → state-z6cnzstw.js} +9 -9
- package/dist/chunks/{job-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{job-ejsrqr7m.js → state-zgew93s5.js} +4 -4
- package/dist/chunks/{job-2j14t725.js → state-zjcnng30.js} +25 -25
- package/dist/chunks/{job-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +89 -89
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +94 -94
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +349 -349
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +10 -10
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +83 -83
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +144 -144
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +74 -74
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +87 -87
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +118 -118
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +104 -104
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/job-0mesazry.js +0 -4
- package/dist/chunks/job-2d79k4yp.js +0 -247
- package/dist/chunks/job-45th5jwr.js +0 -18
- package/dist/chunks/job-pa9n1am2.js +0 -22
- /package/dist/chunks/{job-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{job-hrnqkpcd.js → state-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-twg0f83k.js → state-twg0f83k.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./state-w6pwrz03.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
node80
|
|
8
|
-
} from "./job-05znt9a9.js";
|
|
9
|
-
import {
|
|
10
|
-
Service73,
|
|
6
|
+
Service72,
|
|
11
7
|
node77
|
|
12
|
-
} from "./
|
|
8
|
+
} from "./state-f76jjjy7.js";
|
|
9
|
+
import {
|
|
10
|
+
Service69,
|
|
11
|
+
node73
|
|
12
|
+
} from "./state-5p8mw0dr.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service71,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node76
|
|
20
|
+
} from "./state-mdzsfjay.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service68,
|
|
23
|
+
node72
|
|
24
|
+
} from "./state-ddx3tg71.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service62,
|
|
27
|
+
node66
|
|
28
|
+
} from "./state-qtkzm0vp.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./state-7w99qc9d.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service64,
|
|
35
|
+
node68
|
|
36
|
+
} from "./state-8dx2amnv.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./state-fkd2ewj5.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./state-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError8,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service61,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node65
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError8 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service61 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
91
|
-
const location = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service61, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service79;
|
|
91
|
+
const location = yield* Service72;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service71;
|
|
94
|
+
const environment = yield* Service69;
|
|
95
|
+
const hooks = yield* Service68;
|
|
96
|
+
const environments = yield* Service62;
|
|
97
|
+
const config = yield* Service64;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError8({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError8({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service61.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node65 = makeLocationNode({
|
|
320
|
+
service: Service61,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
|
|
324
|
-
node80,
|
|
325
|
-
Global.node,
|
|
326
|
-
node35,
|
|
323
|
+
node84,
|
|
327
324
|
node77,
|
|
325
|
+
Global.node,
|
|
326
|
+
node76,
|
|
327
|
+
node73,
|
|
328
|
+
node72,
|
|
329
|
+
node66,
|
|
328
330
|
node68,
|
|
329
|
-
node34,
|
|
330
|
-
node41,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError8, RETENTION2, DIRECTORY2, Service61, cleanup2, node65, exports_shell4 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service79,
|
|
4
|
+
node84
|
|
5
|
+
} from "./state-w6pwrz03.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service67,
|
|
8
|
+
node71
|
|
9
|
+
} from "./state-9e1pnjm1.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event15,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service66,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node70,
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service66 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event15 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service67;
|
|
81
|
+
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event15.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service66.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event15.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event15.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node70 = makeGlobalNode({ service: Service66, layer, deps: [httpClient, node71, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service66, Event15, inspect2, resolve2, node70, exports_wellknown };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./state-w6pwrz03.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./state-mwjh8pk4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service72,
|
|
11
|
+
node77
|
|
12
|
+
} from "./state-f76jjjy7.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-vnkjks7b.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service65,
|
|
18
|
+
node69
|
|
19
|
+
} from "./state-y8w077mg.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node16
|
|
22
|
+
} from "./state-ea29dqtj.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service12,
|
|
25
|
+
node15
|
|
26
|
+
} from "./state-t0x5rdq8.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./state-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service3,
|
|
36
|
+
node: () => node4
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service3 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service72;
|
|
47
|
+
const watcher = yield* Service65;
|
|
48
|
+
const bus = yield* Service79;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service74;
|
|
51
|
+
const policy = yield* Service12;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service3.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node4 = makeLocationNode({
|
|
106
|
+
service: Service3,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node69, FSUtil.node, node77, node79, node84, node16, node15]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service3, node4, exports_location_watcher };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service7,
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service7 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service7.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node10 = makeGlobalNode({ service: Service7, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service7, node10, exports_update };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID17,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
loadPackage2,
|
|
6
6
|
nativeSettings2,
|
|
7
7
|
mergeOverlay2,
|
|
8
8
|
mergeHeaders2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-xnqxh1k4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service50,
|
|
12
|
+
node54
|
|
13
|
+
} from "./state-v6697qd3.js";
|
|
14
14
|
import {
|
|
15
15
|
map2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-y6fqbdb6.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID16,
|
|
19
19
|
VariantID2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Ref4
|
|
21
|
+
} from "./state-0kcg9p5c.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
23
|
+
ID14,
|
|
24
|
+
Service76,
|
|
25
|
+
node81
|
|
26
|
+
} from "./state-395j3mj5.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service75,
|
|
29
|
+
node80
|
|
30
|
+
} from "./state-wgpywka8.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/model-resolver.ts
|
|
36
36
|
var exports_model_resolver = {};
|
|
@@ -39,14 +39,14 @@ __export(exports_model_resolver, {
|
|
|
39
39
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
40
40
|
ModelInitializationError: () => ModelInitializationError3,
|
|
41
41
|
ModelResolver: () => exports_model_resolver,
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service49,
|
|
43
43
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
44
44
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
45
45
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
46
46
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
47
47
|
fromCatalogModel: () => fromCatalogModel2,
|
|
48
48
|
hasPackage: () => hasPackage2,
|
|
49
|
-
layer: () =>
|
|
49
|
+
layer: () => layer20,
|
|
50
50
|
node: () => node53,
|
|
51
51
|
resolveModel: () => resolveModel2,
|
|
52
52
|
withVariant: () => withVariant2
|
|
@@ -57,8 +57,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
57
57
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
58
58
|
import { Npm } from "@opencode/util/npm";
|
|
59
59
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
60
|
-
providerID:
|
|
61
|
-
modelID:
|
|
60
|
+
providerID: ID17,
|
|
61
|
+
modelID: ID16,
|
|
62
62
|
variant: VariantID2
|
|
63
63
|
}) {
|
|
64
64
|
get message() {
|
|
@@ -67,8 +67,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
70
|
-
providerID:
|
|
71
|
-
modelID:
|
|
70
|
+
providerID: ID17,
|
|
71
|
+
modelID: ID16,
|
|
72
72
|
package: Schema.String
|
|
73
73
|
}) {
|
|
74
74
|
get message() {
|
|
@@ -78,8 +78,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
78
78
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
79
79
|
|
|
80
80
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
81
|
-
providerID:
|
|
82
|
-
modelID:
|
|
81
|
+
providerID: ID17,
|
|
82
|
+
modelID: ID16,
|
|
83
83
|
package: Schema.String,
|
|
84
84
|
detail: Schema.String
|
|
85
85
|
}) {
|
|
@@ -89,8 +89,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
92
|
-
providerID:
|
|
93
|
-
modelID:
|
|
92
|
+
providerID: ID17,
|
|
93
|
+
modelID: ID16,
|
|
94
94
|
package: Schema.String,
|
|
95
95
|
phase: InitializationPhase2,
|
|
96
96
|
detail: Schema.String
|
|
@@ -101,8 +101,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
104
|
-
providerID:
|
|
105
|
-
modelID:
|
|
104
|
+
providerID: ID17,
|
|
105
|
+
modelID: ID16,
|
|
106
106
|
variables: Schema.Array(Schema.String)
|
|
107
107
|
}) {
|
|
108
108
|
get message() {
|
|
@@ -111,8 +111,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
114
|
-
providerID:
|
|
115
|
-
modelID:
|
|
114
|
+
providerID: ID17,
|
|
115
|
+
modelID: ID16,
|
|
116
116
|
route: Schema.String
|
|
117
117
|
}) {
|
|
118
118
|
get message() {
|
|
@@ -120,7 +120,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
class
|
|
123
|
+
class Service49 extends Context.Service()("@opencode/ModelResolver") {
|
|
124
124
|
}
|
|
125
125
|
var withVariant2 = (model, variantID) => {
|
|
126
126
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -268,14 +268,14 @@ var causeMessage = (cause) => {
|
|
|
268
268
|
};
|
|
269
269
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
270
270
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
271
|
-
var
|
|
272
|
-
const catalog = yield*
|
|
273
|
-
const integrations = yield*
|
|
271
|
+
var layer20 = Layer.effect(Service49, Effect.gen(function* () {
|
|
272
|
+
const catalog = yield* Service75;
|
|
273
|
+
const integrations = yield* Service76;
|
|
274
274
|
const npm = yield* Npm.Service;
|
|
275
|
-
const aisdk = yield*
|
|
275
|
+
const aisdk = yield* Service50;
|
|
276
276
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
277
277
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
278
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
278
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
279
279
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
280
280
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
281
281
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -285,7 +285,7 @@ var layer22 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
285
285
|
const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
|
|
286
286
|
return {
|
|
287
287
|
model: runtime,
|
|
288
|
-
ref:
|
|
288
|
+
ref: Ref4.make({
|
|
289
289
|
id: selected.id,
|
|
290
290
|
providerID: selected.providerID,
|
|
291
291
|
...variant === undefined ? {} : { variant }
|
|
@@ -297,7 +297,7 @@ var layer22 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
297
297
|
websocket: selected.websocket ?? false
|
|
298
298
|
};
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service49.of({
|
|
301
301
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
302
302
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
303
303
|
if (!selected)
|
|
@@ -315,9 +315,9 @@ function usesAPIKeyAuth(packageName) {
|
|
|
315
315
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
316
316
|
}
|
|
317
317
|
var node53 = makeLocationNode({
|
|
318
|
-
service:
|
|
319
|
-
layer:
|
|
320
|
-
deps: [
|
|
318
|
+
service: Service49,
|
|
319
|
+
layer: layer20,
|
|
320
|
+
deps: [node80, node81, Npm.node, node54]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
323
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service49, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node53, exports_model_resolver };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info18,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info18 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info18, exports_mcp5 };
|