@opencode-ai/core 0.0.0-dev-19142 → 0.0.0-dev-19145
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{app-6z2bsf6d.js → file-mutation-01vtss9b.js} +7 -7
- package/dist/chunks/{app-z8emj02k.js → file-mutation-06zhcttw.js} +7 -7
- package/dist/chunks/{app-0e0xafbb.js → file-mutation-0e0xafbb.js} +2 -2
- package/dist/chunks/{app-8y09mrx6.js → file-mutation-0egemd82.js} +6 -6
- package/dist/chunks/{app-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-0s9ayhjt.js → file-mutation-0s9ayhjt.js} +1 -1
- package/dist/chunks/{app-6dsrej2r.js → file-mutation-0tqc2v94.js} +3 -3
- package/dist/chunks/{app-qp4easfw.js → file-mutation-0vyk9fdn.js} +45 -45
- package/dist/chunks/{app-2548brk4.js → file-mutation-119my715.js} +13 -13
- package/dist/chunks/{app-7wq0tnvg.js → file-mutation-13fpjj1h.js} +23 -23
- package/dist/chunks/{app-qg8529j6.js → file-mutation-17yyz20s.js} +27 -27
- package/dist/chunks/{app-1ct4r87x.js → file-mutation-1ct4r87x.js} +1 -1
- package/dist/chunks/{app-pycndmcz.js → file-mutation-1kvgva6x.js} +24 -24
- package/dist/chunks/{app-11ayww28.js → file-mutation-1ypdbbt4.js} +37 -37
- package/dist/chunks/{app-21r38tys.js → file-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{app-tcszm0ed.js → file-mutation-22xjknbc.js} +20 -20
- package/dist/chunks/{app-6h73sxmp.js → file-mutation-2402vzrj.js} +5 -5
- package/dist/chunks/{app-29x78va6.js → file-mutation-29x78va6.js} +2 -2
- package/dist/chunks/{app-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-w39xyyj8.js → file-mutation-2c009s0k.js} +29 -29
- package/dist/chunks/{app-gm0famdj.js → file-mutation-2ed8104q.js} +46 -46
- package/dist/chunks/{app-2ht70gj7.js → file-mutation-2ht70gj7.js} +1 -1
- package/dist/chunks/{app-2jqmte8w.js → file-mutation-2jqmte8w.js} +2 -2
- package/dist/chunks/{app-e6xjfqn1.js → file-mutation-2kq45tcm.js} +12 -12
- package/dist/chunks/{app-ggw8ryqa.js → file-mutation-2s6dtgtx.js} +37 -37
- package/dist/chunks/{app-3hgkq37t.js → file-mutation-2sk5e31d.js} +32 -32
- package/dist/chunks/{app-d904segq.js → file-mutation-2t77ycv7.js} +24 -24
- package/dist/chunks/{app-4k4vxknf.js → file-mutation-326th3fr.js} +7 -7
- package/dist/chunks/{app-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{app-6wk3pvpa.js → file-mutation-3gvz0573.js} +15 -15
- package/dist/chunks/{app-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-k4jdan51.js → file-mutation-3ks4yd53.js} +9 -9
- package/dist/chunks/{app-3qzbfqsy.js → file-mutation-3qzbfqsy.js} +2 -2
- package/dist/chunks/{app-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-y78qtzg5.js → file-mutation-3tv1tpm6.js} +49 -49
- package/dist/chunks/{app-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-rdgg5j33.js → file-mutation-3ty3h0mk.js} +6 -6
- package/dist/chunks/{app-711hfp6y.js → file-mutation-3x6030n9.js} +2 -2
- package/dist/chunks/{app-h3y6t4a9.js → file-mutation-440fe95r.js} +25 -25
- package/dist/chunks/{app-454k5vzh.js → file-mutation-454k5vzh.js} +1 -1
- package/dist/chunks/{app-r8vaxre5.js → file-mutation-45a3e49b.js} +6 -6
- package/dist/chunks/{app-tqfvardz.js → file-mutation-45b1kca6.js} +23 -23
- package/dist/chunks/{app-2q46cvfz.js → file-mutation-4b1sg654.js} +13 -13
- package/dist/chunks/{app-h0v7sv0t.js → file-mutation-4d0qyyca.js} +32 -32
- package/dist/chunks/{app-70a7nh0p.js → file-mutation-4j4x9s5w.js} +27 -27
- package/dist/chunks/{app-c1g9mjxb.js → file-mutation-4kda9sbw.js} +7 -7
- package/dist/chunks/{app-sd7f8jwe.js → file-mutation-4nf6feq9.js} +12 -12
- package/dist/chunks/{app-4r2nyarf.js → file-mutation-4r2nyarf.js} +1 -1
- package/dist/chunks/{app-11nb5kwh.js → file-mutation-4wbn6k17.js} +9 -9
- package/dist/chunks/{app-w2t62r7y.js → file-mutation-4y9q5fy2.js} +5 -5
- package/dist/chunks/{app-3xe1zpzw.js → file-mutation-52exjygq.js} +17 -17
- package/dist/chunks/{app-9mtkw4g3.js → file-mutation-5aa0x91g.js} +32 -32
- package/dist/chunks/{app-92c4reck.js → file-mutation-5c2dffx6.js} +29 -29
- package/dist/chunks/{app-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{app-epd5s80n.js → file-mutation-5dh6cndq.js} +16 -16
- package/dist/chunks/{app-ecn9jhng.js → file-mutation-5es8c9fg.js} +4 -4
- package/dist/chunks/{app-5fmxt4p5.js → file-mutation-5fmxt4p5.js} +1 -1
- package/dist/chunks/{app-5jvc5tg2.js → file-mutation-5jvc5tg2.js} +1 -1
- package/dist/chunks/{app-7mdbrk5c.js → file-mutation-5xeyd98q.js} +15 -15
- package/dist/chunks/{app-6qb1jm5z.js → file-mutation-64z8z5x5.js} +6 -6
- package/dist/chunks/{app-6abnk40k.js → file-mutation-6abnk40k.js} +2 -2
- package/dist/chunks/{app-r64qmg5x.js → file-mutation-6dqhqmxd.js} +10 -10
- package/dist/chunks/{app-rrmnk23p.js → file-mutation-6h02bg3y.js} +17 -17
- package/dist/chunks/{app-rnbmyxw3.js → file-mutation-6kza5psa.js} +28 -28
- package/dist/chunks/{app-dkkesp2b.js → file-mutation-6nd37hr3.js} +13 -13
- package/dist/chunks/{app-72nftnjy.js → file-mutation-72nftnjy.js} +2 -2
- package/dist/chunks/{app-76r8xxxn.js → file-mutation-73dc4en3.js} +9 -9
- package/dist/chunks/{app-ttsb85y1.js → file-mutation-76smfv87.js} +7 -7
- package/dist/chunks/{app-1ayxneq2.js → file-mutation-7bh11fvr.js} +24 -24
- package/dist/chunks/{app-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-7w74e5nf.js → file-mutation-7cnkxtbd.js} +9 -9
- package/dist/chunks/{app-2k8khapm.js → file-mutation-7dqw4kz8.js} +5 -5
- package/dist/chunks/{app-wwr3ad35.js → file-mutation-7ng7exzm.js} +1 -1
- package/dist/chunks/{app-kkm1c4fb.js → file-mutation-7nxyxket.js} +1 -1
- package/dist/chunks/{app-srsjt1nn.js → file-mutation-7ry09vv5.js} +3 -3
- package/dist/chunks/{app-dsmcg9zs.js → file-mutation-7rzac2j8.js} +16 -16
- package/dist/chunks/{app-j5208yae.js → file-mutation-7w3s9kd0.js} +4 -4
- package/dist/chunks/file-mutation-7zk4hah4.js +4 -0
- package/dist/chunks/{app-a247e3as.js → file-mutation-81x7eskd.js} +6 -6
- package/dist/chunks/{app-51amr62k.js → file-mutation-8xta96ty.js} +6 -6
- package/dist/chunks/{app-7rq73qz7.js → file-mutation-91x3tn6q.js} +15 -15
- package/dist/chunks/{app-8w717yyx.js → file-mutation-9295dqc9.js} +11 -11
- package/dist/chunks/{app-evfdbawk.js → file-mutation-986p65m9.js} +5 -5
- package/dist/chunks/{app-a9zfrvqc.js → file-mutation-99vgbsyy.js} +5 -5
- package/dist/chunks/{app-7vjwf2sx.js → file-mutation-9g2qkkxg.js} +29 -29
- package/dist/chunks/{app-10crkvny.js → file-mutation-9ghjyck9.js} +22 -22
- package/dist/chunks/{app-w91bf5kg.js → file-mutation-9pk3p303.js} +8 -8
- package/dist/chunks/{app-ztfeypd4.js → file-mutation-9rye7j78.js} +3 -3
- package/dist/chunks/{app-q4msk40h.js → file-mutation-9stdvdcq.js} +18 -18
- package/dist/chunks/{app-pzjyfgzz.js → file-mutation-9vjz8vaq.js} +26 -26
- package/dist/chunks/{app-ag6ev01p.js → file-mutation-9xpfpwey.js} +10 -10
- package/dist/chunks/{app-hjwfeaa1.js → file-mutation-9zg8we79.js} +20 -20
- package/dist/chunks/{app-25m4ah6t.js → file-mutation-a2ew8a62.js} +7 -7
- package/dist/chunks/{app-drxmcvep.js → file-mutation-a975ej57.js} +28 -28
- package/dist/chunks/{app-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{app-67ztqkdy.js → file-mutation-apjnhj61.js} +3 -3
- package/dist/chunks/{app-12m25a1r.js → file-mutation-av1j229j.js} +4 -4
- package/dist/chunks/{app-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-b89s2553.js → file-mutation-b8ae5phz.js} +13 -13
- package/dist/chunks/{app-b9wsbatv.js → file-mutation-b9wsbatv.js} +1 -1
- package/dist/chunks/{app-9asqdat1.js → file-mutation-ba9wjnjy.js} +8 -8
- package/dist/chunks/{app-r3j4zcsz.js → file-mutation-babn4frh.js} +11 -11
- package/dist/chunks/{app-stachqf2.js → file-mutation-bbngg50h.js} +20 -20
- package/dist/chunks/{app-ftp1bkne.js → file-mutation-bby8cgbn.js} +5 -5
- package/dist/chunks/{app-43mprarq.js → file-mutation-bgt6msk1.js} +2 -2
- package/dist/chunks/{app-y4nzzd5t.js → file-mutation-bxnxw8jj.js} +5 -5
- package/dist/chunks/{app-3699wah4.js → file-mutation-c2sa0bfw.js} +8 -8
- package/dist/chunks/{app-z9yjs9a7.js → file-mutation-c47pbdfk.js} +30 -30
- package/dist/chunks/{app-3v6hx42c.js → file-mutation-cdra1vae.js} +11 -11
- package/dist/chunks/file-mutation-chcw50cn.js +460 -0
- package/dist/chunks/{app-0b9a3syv.js → file-mutation-cpy6gm2a.js} +6 -6
- package/dist/chunks/{app-5gx2hdkx.js → file-mutation-cq35m6me.js} +3 -3
- package/dist/chunks/{app-49r12z1f.js → file-mutation-cq7p734r.js} +20 -20
- package/dist/chunks/{app-bvy2akch.js → file-mutation-crdp7enc.js} +25 -25
- package/dist/chunks/{app-qf33an78.js → file-mutation-cv89hz1h.js} +39 -39
- package/dist/chunks/{app-eb93zemk.js → file-mutation-d2peqda8.js} +28 -28
- package/dist/chunks/{app-s6sc7xsb.js → file-mutation-dek5y14m.js} +4 -4
- package/dist/chunks/{app-an7cqtb7.js → file-mutation-dfe8djrf.js} +4 -4
- package/dist/chunks/{app-emesvkpm.js → file-mutation-dkvwewr4.js} +28 -28
- package/dist/chunks/{app-0pnstday.js → file-mutation-dkyd48ce.js} +33 -33
- package/dist/chunks/{app-abzfqj08.js → file-mutation-dnys7mv6.js} +3 -3
- package/dist/chunks/{app-73sszyh7.js → file-mutation-dsstwbg7.js} +16 -16
- package/dist/chunks/file-mutation-dxj72tfx.js +18 -0
- package/dist/chunks/{app-gy8r63zv.js → file-mutation-dyqxbeha.js} +9 -9
- package/dist/chunks/{app-arefmjbx.js → file-mutation-e6v427vd.js} +2 -2
- package/dist/chunks/{app-hqbzdwyf.js → file-mutation-eesgpqrv.js} +16 -16
- package/dist/chunks/{app-bawrj3b9.js → file-mutation-enamxrz2.js} +2 -2
- package/dist/chunks/{app-hw7r5c7p.js → file-mutation-etamtscj.js} +2 -2
- package/dist/chunks/{app-1mrma768.js → file-mutation-ev7pq6rs.js} +5 -5
- package/dist/chunks/{app-ez5b8bq3.js → file-mutation-ez5b8bq3.js} +1 -1
- package/dist/chunks/{app-6wpk4jm3.js → file-mutation-f12kng77.js} +11 -11
- package/dist/chunks/{app-d8wfxvdg.js → file-mutation-f36g7wv5.js} +16 -16
- package/dist/chunks/{app-rs7d7ay9.js → file-mutation-f9x6rp1j.js} +1 -1
- package/dist/chunks/{app-jfzd9m53.js → file-mutation-fmf5kng9.js} +27 -27
- package/dist/chunks/{app-k1xbqk76.js → file-mutation-fmhb14bc.js} +9 -9
- package/dist/chunks/{app-s9ng70hv.js → file-mutation-fmthvvtq.js} +37 -37
- package/dist/chunks/{app-6axwcwgk.js → file-mutation-ftvhvnyg.js} +82 -82
- package/dist/chunks/{app-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{app-fxypknc8.js → file-mutation-fxypknc8.js} +1 -1
- package/dist/chunks/{app-m5045k8y.js → file-mutation-fz1pdqz4.js} +9 -9
- package/dist/chunks/{app-k39vhxmz.js → file-mutation-g20rb2e2.js} +7 -7
- package/dist/chunks/{app-g2dy4bvs.js → file-mutation-g2dy4bvs.js} +3 -3
- package/dist/chunks/{app-g2gt0w0k.js → file-mutation-g2gt0w0k.js} +2 -2
- package/dist/chunks/{app-znp4r3b7.js → file-mutation-g75qfjc9.js} +47 -47
- package/dist/chunks/{app-gj4y5m52.js → file-mutation-gb73cz2w.js} +23 -23
- package/dist/chunks/{app-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-4qfdps26.js → file-mutation-gq2dhm0f.js} +6 -6
- package/dist/chunks/{app-p6mzzxr3.js → file-mutation-gvqp5mcx.js} +15 -15
- package/dist/chunks/{app-jhw2yzs0.js → file-mutation-h6hfrtqv.js} +17 -17
- package/dist/chunks/{app-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-heyhwy2w.js → file-mutation-heyhwy2w.js} +1 -1
- package/dist/chunks/{app-bskj9zs2.js → file-mutation-hfr11a94.js} +9 -9
- package/dist/chunks/{app-djybk775.js → file-mutation-hgeb4s25.js} +1 -1
- package/dist/chunks/{app-y2cqme3r.js → file-mutation-hhpzk61m.js} +5 -5
- package/dist/chunks/{app-hnyf01b0.js → file-mutation-hnyf01b0.js} +2 -2
- package/dist/chunks/{app-tppvcy65.js → file-mutation-hpbtcqba.js} +9 -9
- package/dist/chunks/{app-cmc3px63.js → file-mutation-hx63qw1f.js} +52 -52
- package/dist/chunks/{app-m9nbq4j3.js → file-mutation-j67hz4sr.js} +37 -37
- package/dist/chunks/{app-2z4bcakw.js → file-mutation-j8swj2w1.js} +17 -17
- package/dist/chunks/{app-7pd6f52x.js → file-mutation-jc9sh6gt.js} +21 -21
- package/dist/chunks/{app-8q83hqdf.js → file-mutation-js2ntk6a.js} +13 -13
- package/dist/chunks/{app-jwcy2c2z.js → file-mutation-jwcy2c2z.js} +1 -1
- package/dist/chunks/{app-6n3kqnmf.js → file-mutation-jzvq323k.js} +64 -64
- package/dist/chunks/{app-qb0tn3m5.js → file-mutation-k0g96r8n.js} +4 -4
- package/dist/chunks/{app-ytqhcam2.js → file-mutation-k0wt6c02.js} +15 -15
- package/dist/chunks/{app-k4bwy1x5.js → file-mutation-k4bwy1x5.js} +1 -1
- package/dist/chunks/{app-qa6tzkyt.js → file-mutation-k7g5btme.js} +175 -175
- package/dist/chunks/{app-w4600456.js → file-mutation-k8feg6vv.js} +4 -4
- package/dist/chunks/{app-r1m5m6n7.js → file-mutation-k9tare26.js} +26 -26
- package/dist/chunks/file-mutation-kahasfee.js +247 -0
- package/dist/chunks/{app-kg06axw8.js → file-mutation-kg06axw8.js} +1 -1
- package/dist/chunks/{app-5fmjy2xb.js → file-mutation-kh3skkyd.js} +11 -11
- package/dist/chunks/{app-4w9tmb1q.js → file-mutation-kkxc5154.js} +4 -4
- package/dist/chunks/{app-kvsjn1dr.js → file-mutation-kvsjn1dr.js} +2 -2
- package/dist/chunks/{app-x1z8np8d.js → file-mutation-kx181zyf.js} +51 -51
- package/dist/chunks/{app-7bpzgkas.js → file-mutation-kx4bd44t.js} +6 -6
- package/dist/chunks/{app-9v7rjn4h.js → file-mutation-kxnt8qcg.js} +5 -5
- package/dist/chunks/{app-c6gpbsrj.js → file-mutation-m7a9j46m.js} +31 -31
- package/dist/chunks/{app-bkc8hw0t.js → file-mutation-m7xx730c.js} +13 -13
- package/dist/chunks/{app-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-42jtes1n.js → file-mutation-mcx7a78c.js} +12 -12
- package/dist/chunks/{app-rz31k017.js → file-mutation-mfv0zw27.js} +9 -9
- package/dist/chunks/{app-qavd1wvc.js → file-mutation-mfzandgw.js} +22 -22
- package/dist/chunks/{app-xechrp4q.js → file-mutation-mpsa3nes.js} +12 -12
- package/dist/chunks/{app-28pcbh69.js → file-mutation-mtcjf44p.js} +4 -4
- package/dist/chunks/{app-wcevzh1p.js → file-mutation-mv29cp6n.js} +31 -31
- package/dist/chunks/{app-mvfsc1pv.js → file-mutation-mvfsc1pv.js} +1 -1
- package/dist/chunks/{app-jv7yt568.js → file-mutation-n29tzj9t.js} +23 -23
- package/dist/chunks/{app-1cnz31nk.js → file-mutation-n79tw2ag.js} +10 -10
- package/dist/chunks/{app-nrcsyr73.js → file-mutation-n9bnhgwz.js} +19 -19
- package/dist/chunks/{app-n6mjpdbf.js → file-mutation-ntfpb4pt.js} +11 -11
- package/dist/chunks/{app-ng75afqg.js → file-mutation-nx7brarr.js} +4 -4
- package/dist/chunks/{app-2jfbx11t.js → file-mutation-pcsdq11k.js} +14 -14
- package/dist/chunks/{app-9cfwdcc0.js → file-mutation-pd4v9smd.js} +13 -13
- package/dist/chunks/{app-1eg3ajsc.js → file-mutation-pez43mez.js} +9 -9
- package/dist/chunks/{app-4dxz6g2t.js → file-mutation-pjvn5h54.js} +14 -14
- package/dist/chunks/{app-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{app-jxqq6ybj.js → file-mutation-ptrtafvx.js} +11 -11
- package/dist/chunks/{app-6mbbwrj4.js → file-mutation-pv0a80ht.js} +31 -31
- package/dist/chunks/{app-yfthbyyg.js → file-mutation-pv1dbmgw.js} +14 -14
- package/dist/chunks/{app-gndgrf2p.js → file-mutation-q1v8m6jv.js} +11 -11
- package/dist/chunks/{app-1g3sbppe.js → file-mutation-q732cfnv.js} +17 -17
- package/dist/chunks/{app-ah84y693.js → file-mutation-qbyj8qxd.js} +1 -1
- package/dist/chunks/{app-xeq5x5py.js → file-mutation-qhmvtman.js} +6 -6
- package/dist/chunks/{app-9svx6tw9.js → file-mutation-qrpj1s4j.js} +31 -31
- package/dist/chunks/{app-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{app-qvbcabdc.js → file-mutation-qvbcabdc.js} +2 -2
- package/dist/chunks/{app-p6pyb1k7.js → file-mutation-qzgw1bvz.js} +22 -22
- package/dist/chunks/{app-je94mgw6.js → file-mutation-r062cge9.js} +43 -43
- package/dist/chunks/{app-yy80zasr.js → file-mutation-r3xt2kax.js} +18 -18
- package/dist/chunks/{app-r8dhm0tv.js → file-mutation-r8dhm0tv.js} +1 -1
- package/dist/chunks/{app-m4535t75.js → file-mutation-rae26gbb.js} +8 -8
- package/dist/chunks/{app-6ryd33xm.js → file-mutation-raxt0ax7.js} +9 -9
- package/dist/chunks/{app-x20jfd50.js → file-mutation-rx48f0w5.js} +39 -39
- package/dist/chunks/{app-5b58gzej.js → file-mutation-s4z7bqeh.js} +61 -61
- package/dist/chunks/{app-sba4qhjf.js → file-mutation-sba4qhjf.js} +1 -1
- package/dist/chunks/{app-b5gjhjfs.js → file-mutation-sbnvhk9g.js} +4 -4
- package/dist/chunks/{app-b75ft6nf.js → file-mutation-shfaz11f.js} +4 -4
- package/dist/chunks/{app-63daw84a.js → file-mutation-shp7mea9.js} +7 -7
- package/dist/chunks/{app-wgdphb3s.js → file-mutation-sjnqgbe6.js} +10 -10
- package/dist/chunks/{app-93wzm26s.js → file-mutation-sm2vbrgr.js} +8 -8
- package/dist/chunks/{app-6rzv01zx.js → file-mutation-sr4h8txr.js} +4 -4
- package/dist/chunks/{app-sxhwk0c0.js → file-mutation-sxhwk0c0.js} +1 -1
- package/dist/chunks/{app-6yh4f6fv.js → file-mutation-t0h3w515.js} +11 -11
- package/dist/chunks/{app-jtkad9sr.js → file-mutation-t2ddn6kb.js} +32 -32
- package/dist/chunks/{app-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-1jdc2svp.js → file-mutation-tbhfrc53.js} +16 -16
- package/dist/chunks/{app-89znhe33.js → file-mutation-tcezcvh9.js} +4 -4
- package/dist/chunks/{app-c5c0bz0t.js → file-mutation-tdpndm1c.js} +5 -5
- package/dist/chunks/{app-tjykrgmx.js → file-mutation-tjykrgmx.js} +1 -1
- package/dist/chunks/{app-z729fpb2.js → file-mutation-tmd7jntm.js} +43 -43
- package/dist/chunks/{app-g02688sb.js → file-mutation-tnxkc6a0.js} +37 -37
- package/dist/chunks/{app-prkjxx16.js → file-mutation-ts6w764v.js} +11 -11
- package/dist/chunks/{app-khe7zx09.js → file-mutation-ttq12bnp.js} +17 -17
- package/dist/chunks/{app-5vv1ktcy.js → file-mutation-txaenkad.js} +25 -25
- package/dist/chunks/{app-kght2vh2.js → file-mutation-txs58e9j.js} +36 -36
- package/dist/chunks/{app-g1gppypj.js → file-mutation-txtxjcd6.js} +20 -20
- package/dist/chunks/{app-cp79y1v1.js → file-mutation-v28ws7kz.js} +13 -13
- package/dist/chunks/{app-9k8ga460.js → file-mutation-v8gy3pjr.js} +1 -1
- package/dist/chunks/{app-wwwks56p.js → file-mutation-vaqgp3x5.js} +12 -12
- package/dist/chunks/{app-z3xgatyd.js → file-mutation-vep9yay1.js} +4 -4
- package/dist/chunks/{app-28dgmzze.js → file-mutation-vjwmbaty.js} +26 -26
- package/dist/chunks/{app-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-wz8xxayn.js → file-mutation-w9q489q5.js} +25 -25
- package/dist/chunks/{app-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/file-mutation-wsejc6g3.js +22 -0
- package/dist/chunks/{app-kbs3ytgs.js → file-mutation-ww2ebcpy.js} +7 -7
- package/dist/chunks/{app-5xfb8tt8.js → file-mutation-wwr3ap19.js} +28 -28
- package/dist/chunks/{app-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{app-7tw3q1zv.js → file-mutation-xdff1234.js} +54 -54
- package/dist/chunks/{app-1jynzpaq.js → file-mutation-xkc72jxy.js} +12 -12
- package/dist/chunks/{app-jg5w4ckf.js → file-mutation-xqne8rgr.js} +8 -8
- package/dist/chunks/{app-7n7dggr2.js → file-mutation-xspyb9m3.js} +8 -8
- package/dist/chunks/{app-yd4mva7c.js → file-mutation-xw0r27ex.js} +4 -4
- package/dist/chunks/{app-1ac4g41n.js → file-mutation-xz6pmd8f.js} +17 -17
- package/dist/chunks/{app-mc6f4wmg.js → file-mutation-y07pc62d.js} +11 -11
- package/dist/chunks/{app-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-3xxzp3nh.js → file-mutation-y3f9wfx6.js} +22 -22
- package/dist/chunks/{app-cy44mvmp.js → file-mutation-y724s5yt.js} +4 -4
- package/dist/chunks/{app-yfbd16n1.js → file-mutation-yfbd16n1.js} +2 -2
- package/dist/chunks/{app-yg7sb877.js → file-mutation-yg7sb877.js} +2 -2
- package/dist/chunks/file-mutation-yhtqjkzd.js +20 -0
- package/dist/chunks/{app-gcvg6c9v.js → file-mutation-ykv0c0be.js} +34 -34
- package/dist/chunks/{app-hncf1b4v.js → file-mutation-yp0nmk3h.js} +22 -22
- package/dist/chunks/{app-z1k01bn4.js → file-mutation-z1k01bn4.js} +2 -2
- package/dist/chunks/{app-h3e45e1k.js → file-mutation-z3s9j4q6.js} +18 -18
- package/dist/chunks/{app-wq38yxfv.js → file-mutation-z48dvxa8.js} +1 -1
- package/dist/chunks/{app-xtx2skvw.js → file-mutation-z7e42eas.js} +23 -23
- package/dist/chunks/{app-46f0x6q8.js → file-mutation-z7zpek7w.js} +11 -11
- package/dist/chunks/{app-5qs502xj.js → file-mutation-zc50sfb7.js} +11 -11
- package/dist/chunks/{app-j8wswpkz.js → file-mutation-zez4nnyf.js} +7 -7
- package/dist/chunks/{app-19zwchw3.js → file-mutation-zset28aw.js} +93 -93
- package/dist/chunks/{app-cbzzwm6t.js → file-mutation-zwj404z1.js} +30 -30
- package/dist/chunks/{app-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/chunks/{app-j3pby61b.js → file-mutation-zzjwypeh.js} +6 -6
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +110 -110
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-mutation.js +89 -89
- 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 +214 -214
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +78 -78
- package/dist/generate.js +88 -88
- 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 +7 -7
- 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 +7 -7
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +91 -91
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +114 -114
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +1 -1
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +2 -2
- package/dist/plugin/vcs/git.js +80 -80
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- 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 +94 -94
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +110 -110
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +221 -221
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +117 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +143 -143
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +86 -86
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- 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 +2 -2
- package/dist/v1/config/formatter.js +3 -3
- 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 +3 -3
- 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 +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +336 -336
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/app-3ksgtvjj.js +0 -460
- package/dist/chunks/app-4y2hpfj1.js +0 -20
- package/dist/chunks/app-77jnt7s6.js +0 -247
- package/dist/chunks/app-9zwhrd2p.js +0 -4
- package/dist/chunks/app-bwt7bpgq.js +0 -18
- package/dist/chunks/app-h16f3rt9.js +0 -22
- /package/dist/chunks/{app-0fabt78z.js → file-mutation-0fabt78z.js} +0 -0
- /package/dist/chunks/{app-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3t738kvx.js → file-mutation-3t738kvx.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-41nvscxy.js → file-mutation-41nvscxy.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-982e01ww.js → file-mutation-982e01ww.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a1tpkmh4.js → file-mutation-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mntxs535.js → file-mutation-mntxs535.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-p8qxwesx.js → file-mutation-p8qxwesx.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-se0s1eqw.js → file-mutation-se0s1eqw.js} +0 -0
- /package/dist/chunks/{app-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x1b8g1yb.js → file-mutation-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
- /package/dist/chunks/{app-zbjnn3ac.js → file-mutation-zbjnn3ac.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-982e01ww.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-cq35m6me.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_error, {
|
|
|
22
22
|
MessageNotAssistantError: () => MessageNotAssistantError2,
|
|
23
23
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
24
24
|
MessageToolIncompleteError: () => MessageToolIncompleteError2,
|
|
25
|
-
NotFoundError: () =>
|
|
25
|
+
NotFoundError: () => NotFoundError6,
|
|
26
26
|
PromptConflictError: () => PromptConflictError2,
|
|
27
27
|
SessionErrors: () => exports_error,
|
|
28
28
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -35,7 +35,7 @@ import { Agent } from "@opencode-ai/schema/agent";
|
|
|
35
35
|
import { Skill } from "@opencode-ai/schema/skill";
|
|
36
36
|
import { SessionError } from "@opencode-ai/schema/session-error";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class NotFoundError6 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
39
39
|
sessionID: SessionSchema2.ID
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
@@ -144,4 +144,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
144
144
|
}) {
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { NotFoundError6, MessageNotFoundError2, MessageNotAssistantError2, MessageIncompleteError2, MessageToolIncompleteError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID18,
|
|
3
|
+
Service77
|
|
4
|
+
} from "./file-mutation-4j4x9s5w.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service67
|
|
7
|
+
} from "./file-mutation-6h02bg3y.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service56
|
|
10
|
+
} from "./file-mutation-0vyk9fdn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service60,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-4b1sg654.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service20
|
|
17
|
+
} from "./file-mutation-zset28aw.js";
|
|
18
18
|
import {
|
|
19
19
|
make6
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-c2sa0bfw.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command = {};
|
|
30
30
|
__export(exports_command, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin18
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode-ai/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin18 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service56;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,11 +54,11 @@ var Plugin31 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service67;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
59
|
+
const shell = yield* Service60;
|
|
60
|
+
const sessions = yield* Service20;
|
|
61
|
+
const agents = yield* Service77;
|
|
62
62
|
const subagents = yield* make6;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
@@ -80,7 +80,7 @@ var Plugin31 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID18.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin18, exports_command };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options10,
|
|
15
|
+
Service: () => Service60,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
18
|
configured: () => configured9,
|
|
@@ -21,7 +21,7 @@ __export(exports_select, {
|
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node63,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options10 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service60 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service60.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin))
|
|
206
206
|
});
|
|
207
207
|
}));
|
|
208
208
|
function configured9(options) {
|
|
209
|
-
return makeLocationNode({ service:
|
|
209
|
+
return makeLocationNode({ service: Service60, layer: layer(options), deps: [Global.node] });
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var node63 = configured9();
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Options10, Service60, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured9, node63, exports_select };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service69,
|
|
9
|
+
node74
|
|
10
|
+
} from "./file-mutation-6dqhqmxd.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service67,
|
|
13
|
+
node72
|
|
14
|
+
} from "./file-mutation-6h02bg3y.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error4,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service41,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node44,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode-ai/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode-ai/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode-ai/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service41 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service69;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service67;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service41.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node44 = makeLocationNode({
|
|
139
|
+
service: Service41,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node74, Global.node, node72]
|
|
142
142
|
});
|
|
143
|
-
var noopLayer3 = Layer.succeed(
|
|
143
|
+
var noopLayer3 = Layer.succeed(Service41, Service41.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service50, Service50.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error4({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID5, Error4, Service41, node44, noopLayer3, exports_snapshot2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./file-mutation-dsstwbg7.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event20,
|
|
18
|
+
ID: () => ID18,
|
|
19
|
+
Info: () => Info32,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service77,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node82
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode-ai/schema/agent";
|
|
29
29
|
import { Global } from "@opencode-ai/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event20 } from "@opencode-ai/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID18 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID18.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info32 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service77 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service78;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info32.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID18.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service77.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID18.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID18.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node82 = makeLocationNode({ service: Service77, layer, deps: [node83, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID18, Name3, defaultID2, Color2, Info32, Service77, node82, exports_agent4, Event20 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-pjvn5h54.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service56
|
|
7
|
+
} from "./file-mutation-0vyk9fdn.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-ww2ebcpy.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service56;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
catalog.model.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID16.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./file-mutation-dsstwbg7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service59,
|
|
6
|
+
Event14
|
|
7
|
+
} from "./file-mutation-bbngg50h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin44,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin44 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service78;
|
|
24
|
+
const wellknown = yield* Service59;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin2 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin44, exports_plugin };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./file-mutation-6h02bg3y.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
deletePatch2,
|
|
11
11
|
countPatch2,
|
|
12
12
|
chunksByFile2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-tazgh4e4.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-n29tzj9t.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin31,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin31 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service67;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin31, exports_hg };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9295dqc9.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin37,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
13
|
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin37 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin36 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint4,
|
|
80
|
+
export { endpoint4, Plugin37, exports_tavily };
|