@opencode/core 0.0.0-dev-20501 → 0.0.0-dev-20503
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{instance-eszxba4w.js → file-mutation-03b168as.js} +11 -11
- package/dist/chunks/{instance-6h1ernme.js → file-mutation-03xyy9gs.js} +11 -11
- package/dist/chunks/{instance-53sf8ahw.js → file-mutation-0bh8r4qe.js} +35 -35
- package/dist/chunks/{instance-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
- package/dist/chunks/{instance-0dhtgvh1.js → file-mutation-0wn236jq.js} +12 -12
- package/dist/chunks/{instance-9d7p7x83.js → file-mutation-14cybr47.js} +5 -5
- package/dist/chunks/{instance-0nm0dtbp.js → file-mutation-1a0w67hg.js} +10 -10
- package/dist/chunks/{instance-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-6k4ysq75.js → file-mutation-1gpac7dd.js} +11 -11
- package/dist/chunks/{instance-8n7g7z79.js → file-mutation-1p0f53xs.js} +188 -188
- package/dist/chunks/{instance-qfd1s3za.js → file-mutation-1vcx5agm.js} +50 -50
- package/dist/chunks/{instance-wj76ss2k.js → file-mutation-1y283654.js} +4 -4
- package/dist/chunks/{instance-mqmwrffs.js → file-mutation-283vt565.js} +21 -21
- package/dist/chunks/{instance-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-7bnqqk1p.js → file-mutation-2ftrkget.js} +12 -12
- package/dist/chunks/{instance-073t33qc.js → file-mutation-2krkkzng.js} +28 -28
- package/dist/chunks/{instance-jmeq8ftx.js → file-mutation-2y83zbxy.js} +20 -20
- package/dist/chunks/{instance-a8sv2ns2.js → file-mutation-2yx7qcbq.js} +17 -17
- package/dist/chunks/{instance-kqe62f8s.js → file-mutation-32j3tk0m.js} +19 -19
- package/dist/chunks/{instance-9gjqkjkx.js → file-mutation-34mqxceb.js} +14 -14
- package/dist/chunks/{instance-mvt7v0ss.js → file-mutation-384cp3nk.js} +9 -9
- package/dist/chunks/{instance-h2b79v29.js → file-mutation-3cegwx68.js} +2 -2
- package/dist/chunks/{instance-6eacnpz5.js → file-mutation-3d8bxjve.js} +47 -47
- package/dist/chunks/{instance-jvkq42h0.js → file-mutation-3f7cc1vb.js} +10 -10
- package/dist/chunks/{instance-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-21sj1dbf.js → file-mutation-3tads3hq.js} +28 -28
- package/dist/chunks/{instance-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-1mr47rx8.js → file-mutation-3wd534dz.js} +25 -25
- package/dist/chunks/{instance-j6r369hx.js → file-mutation-3wyjcsxj.js} +4 -4
- package/dist/chunks/{instance-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{instance-zvxm2h3r.js → file-mutation-40hhf25d.js} +17 -17
- package/dist/chunks/{instance-acbke728.js → file-mutation-48p0xart.js} +25 -25
- package/dist/chunks/{instance-pv07cs8g.js → file-mutation-4ghg5v1p.js} +23 -23
- package/dist/chunks/{instance-5nfh8h9s.js → file-mutation-4kdaq46n.js} +51 -51
- package/dist/chunks/{instance-k35swgt0.js → file-mutation-4krkq3fv.js} +6 -6
- package/dist/chunks/{instance-2ccvkpx1.js → file-mutation-4ts7tf6z.js} +2 -2
- package/dist/chunks/{instance-gqj5vzmg.js → file-mutation-4whbrktx.js} +18 -18
- package/dist/chunks/{instance-1awe5t4t.js → file-mutation-53ryxxkw.js} +18 -18
- package/dist/chunks/{instance-54ma36ye.js → file-mutation-54ma36ye.js} +1 -1
- package/dist/chunks/{instance-56gdpj1q.js → file-mutation-56gdpj1q.js} +2 -2
- package/dist/chunks/{instance-8knyp9d4.js → file-mutation-5apd6674.js} +7 -7
- package/dist/chunks/{instance-bafp7b24.js → file-mutation-5b2p38c7.js} +44 -44
- package/dist/chunks/{instance-rd93mfeb.js → file-mutation-5c7jdcqd.js} +20 -20
- package/dist/chunks/{instance-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-j3sa27c0.js → file-mutation-5eqgw8nb.js} +8 -8
- package/dist/chunks/{instance-kcmt7q8d.js → file-mutation-5j7yc26e.js} +30 -30
- package/dist/chunks/{instance-e3qxr5gk.js → file-mutation-5qd3pb7m.js} +2 -2
- package/dist/chunks/{instance-rcxk5wyw.js → file-mutation-5sktg2nb.js} +13 -13
- package/dist/chunks/{instance-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-5rgb6pjb.js → file-mutation-5t8k9hbq.js} +8 -8
- package/dist/chunks/{instance-kng091an.js → file-mutation-5x058zpe.js} +60 -60
- package/dist/chunks/{instance-qxmq78kv.js → file-mutation-61tnqj9c.js} +9 -9
- package/dist/chunks/{instance-fpsj9aca.js → file-mutation-621hzgfh.js} +38 -38
- package/dist/chunks/{instance-6hr9dd4j.js → file-mutation-6483dnt3.js} +24 -24
- package/dist/chunks/{instance-669tq793.js → file-mutation-669tq793.js} +1 -1
- package/dist/chunks/{instance-a5kdm1z9.js → file-mutation-6e4t62aa.js} +24 -24
- package/dist/chunks/{instance-ew0n250q.js → file-mutation-6fj7rg4c.js} +42 -42
- package/dist/chunks/{instance-dzwk3h89.js → file-mutation-6kg1vfnr.js} +6 -6
- package/dist/chunks/{instance-qx576nzr.js → file-mutation-6s6aqmb9.js} +11 -11
- package/dist/chunks/{instance-vhrxqn0p.js → file-mutation-6yg01ps7.js} +43 -43
- package/dist/chunks/{instance-f5gy8qwh.js → file-mutation-6ysrkrkr.js} +8 -8
- package/dist/chunks/{instance-r014ch08.js → file-mutation-76r92777.js} +31 -31
- package/dist/chunks/{instance-dhrbrsm8.js → file-mutation-7b8rsjb2.js} +16 -16
- package/dist/chunks/{instance-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-mpjjz0gc.js → file-mutation-7dfd4tpy.js} +26 -26
- package/dist/chunks/{instance-f1tjn5j3.js → file-mutation-7hx94mfk.js} +10 -10
- package/dist/chunks/{instance-pnsr0p42.js → file-mutation-7sga5tfj.js} +6 -6
- package/dist/chunks/{instance-1dvck2a7.js → file-mutation-84h8c373.js} +2 -2
- package/dist/chunks/{instance-84txncab.js → file-mutation-84txncab.js} +1 -1
- package/dist/chunks/{instance-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-86sgdxm7.js → file-mutation-8kr2nk9s.js} +13 -13
- package/dist/chunks/{instance-7jdsj2a9.js → file-mutation-8n9x2wf6.js} +3 -3
- package/dist/chunks/{instance-cfsekr6v.js → file-mutation-8sze2n9a.js} +6 -6
- package/dist/chunks/{instance-19ehbgqt.js → file-mutation-8zecg49j.js} +5 -5
- package/dist/chunks/{instance-4ad028th.js → file-mutation-954vm9zf.js} +6 -6
- package/dist/chunks/{instance-0hyer1dc.js → file-mutation-9cj6v09y.js} +10 -10
- package/dist/chunks/{instance-w567dcnj.js → file-mutation-9dsxywjb.js} +9 -9
- package/dist/chunks/{instance-d6gajd2w.js → file-mutation-9pms28ae.js} +23 -23
- package/dist/chunks/file-mutation-9sh4wc5j.js +18 -0
- package/dist/chunks/{instance-n3hbdm5h.js → file-mutation-9vepgddq.js} +13 -13
- package/dist/chunks/{instance-2y1kxeaf.js → file-mutation-a0m6mwa9.js} +17 -17
- package/dist/chunks/{instance-kqe0rhr8.js → file-mutation-a5nkqtq4.js} +23 -23
- package/dist/chunks/{instance-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-3y377wv9.js → file-mutation-addxnjmp.js} +4 -4
- package/dist/chunks/{instance-n515n8f1.js → file-mutation-aearsdrc.js} +11 -11
- package/dist/chunks/{instance-249b687a.js → file-mutation-ah6xfmj6.js} +48 -48
- package/dist/chunks/{instance-6vmbp2wc.js → file-mutation-aj7qh7fj.js} +37 -37
- package/dist/chunks/{instance-ap333n6k.js → file-mutation-ajzsbz6h.js} +11 -11
- package/dist/chunks/{instance-nchwjr9t.js → file-mutation-akm47gtx.js} +17 -17
- package/dist/chunks/{instance-y747swc2.js → file-mutation-awp6wegc.js} +14 -14
- package/dist/chunks/{instance-nz569jqt.js → file-mutation-axs6pdy0.js} +5 -5
- package/dist/chunks/{instance-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-ma48de29.js → file-mutation-b7v4cx43.js} +5 -5
- package/dist/chunks/{instance-0zvypgav.js → file-mutation-b8r216kk.js} +5 -5
- package/dist/chunks/{instance-qw20ezfp.js → file-mutation-bck2gesn.js} +3 -3
- package/dist/chunks/{instance-912vf9kc.js → file-mutation-bdeycrex.js} +20 -20
- package/dist/chunks/{instance-b67ek277.js → file-mutation-bpc56001.js} +22 -22
- package/dist/chunks/{instance-7ybxagra.js → file-mutation-bvb1wd89.js} +11 -11
- package/dist/chunks/{instance-mck1fd68.js → file-mutation-bwqxw6t0.js} +23 -23
- package/dist/chunks/{instance-hxxsxf4j.js → file-mutation-c4gkmjjm.js} +12 -12
- package/dist/chunks/{instance-x6bs9tvy.js → file-mutation-c55h9b9c.js} +27 -27
- package/dist/chunks/{instance-hhjnwsvv.js → file-mutation-cbvtcr2c.js} +5 -5
- package/dist/chunks/{instance-mz298h14.js → file-mutation-cj33ffch.js} +22 -22
- package/dist/chunks/{instance-8v6pyhej.js → file-mutation-cmwkp3r5.js} +8 -8
- package/dist/chunks/{instance-e88883fe.js → file-mutation-cn6yq4zj.js} +31 -31
- package/dist/chunks/{instance-tht9qyvh.js → file-mutation-cqrykep0.js} +26 -26
- package/dist/chunks/{instance-yyf6c41z.js → file-mutation-cshtx1th.js} +22 -22
- package/dist/chunks/{instance-xpyddbbb.js → file-mutation-ctg52dyk.js} +7 -7
- package/dist/chunks/{instance-2a6rn6yr.js → file-mutation-d1mtykxg.js} +6 -6
- package/dist/chunks/{instance-gwv0b3m7.js → file-mutation-d49kn6zd.js} +20 -20
- package/dist/chunks/{instance-47mhawg8.js → file-mutation-datbym9p.js} +34 -34
- package/dist/chunks/{instance-44pdqs77.js → file-mutation-dbv05mm3.js} +4 -4
- package/dist/chunks/{instance-zvt5dnpc.js → file-mutation-ddt2bs9e.js} +4 -4
- package/dist/chunks/{instance-52d6pge4.js → file-mutation-dg4kzjgv.js} +21 -21
- package/dist/chunks/{instance-c765mh8b.js → file-mutation-djszqvmq.js} +9 -9
- package/dist/chunks/{instance-3ksxxa34.js → file-mutation-dktq002j.js} +13 -13
- package/dist/chunks/{instance-nxm207yx.js → file-mutation-dpkg50ah.js} +4 -4
- package/dist/chunks/{instance-bq8tx5ht.js → file-mutation-dqbbafza.js} +9 -9
- package/dist/chunks/{instance-6v5ywg3j.js → file-mutation-dtv13hc7.js} +17 -17
- package/dist/chunks/file-mutation-dwvyxmfd.js +253 -0
- package/dist/chunks/{instance-d6khveb2.js → file-mutation-dz2srxaj.js} +13 -13
- package/dist/chunks/file-mutation-e4jqjrdf.js +507 -0
- package/dist/chunks/{instance-zz1j7hyd.js → file-mutation-e4r65b0s.js} +15 -15
- package/dist/chunks/{instance-wjdxx2rw.js → file-mutation-e5th8n74.js} +28 -28
- package/dist/chunks/{instance-hhw0pz70.js → file-mutation-e94kbae8.js} +13 -13
- package/dist/chunks/{instance-9vm4madw.js → file-mutation-eaac52dn.js} +5 -5
- package/dist/chunks/{instance-c1khhbwk.js → file-mutation-eb6by5fw.js} +19 -19
- package/dist/chunks/{instance-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{instance-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-37wq61k5.js → file-mutation-ex7a17jg.js} +11 -11
- package/dist/chunks/{instance-fd38q10j.js → file-mutation-ezex4zz3.js} +15 -15
- package/dist/chunks/{instance-6dckr1tg.js → file-mutation-f5qq0z73.js} +9 -9
- package/dist/chunks/{instance-71az546q.js → file-mutation-f75zav2x.js} +2 -2
- package/dist/chunks/{instance-pvxedqkv.js → file-mutation-f9jr4tkt.js} +13 -13
- package/dist/chunks/{instance-3s40wveb.js → file-mutation-fd1yny8f.js} +1 -1
- package/dist/chunks/{instance-htb3byfj.js → file-mutation-fj2avv8b.js} +8 -8
- package/dist/chunks/{instance-mhcp204s.js → file-mutation-fqcgpcra.js} +9 -9
- package/dist/chunks/{instance-bj0ngn53.js → file-mutation-g2d7gbby.js} +22 -22
- package/dist/chunks/{instance-xpj1cvsh.js → file-mutation-g7cq406x.js} +22 -22
- package/dist/chunks/{instance-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-w4x97csc.js → file-mutation-gfeycrp9.js} +15 -15
- package/dist/chunks/{instance-9x8p14w5.js → file-mutation-gmcpagzm.js} +15 -15
- package/dist/chunks/{instance-e8dkg8vp.js → file-mutation-gnz26a86.js} +15 -15
- package/dist/chunks/{instance-79mnhcfn.js → file-mutation-gs3s1a1g.js} +8 -8
- package/dist/chunks/{instance-wytzezcp.js → file-mutation-gthcz8z2.js} +4 -4
- package/dist/chunks/{instance-mnwggq08.js → file-mutation-gxd5h73n.js} +13 -13
- package/dist/chunks/{instance-05wy9jgz.js → file-mutation-h23k3th1.js} +5 -5
- package/dist/chunks/{instance-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-04ww6csf.js → file-mutation-hbz1qbx4.js} +11 -11
- package/dist/chunks/{instance-8czwgq6e.js → file-mutation-hf3dma57.js} +16 -16
- package/dist/chunks/{instance-55acn5hr.js → file-mutation-hhkvz8ms.js} +7 -7
- package/dist/chunks/{instance-we0zymgf.js → file-mutation-hjwd21e5.js} +4 -4
- package/dist/chunks/{instance-sjkzh95c.js → file-mutation-hmrtp4nr.js} +9 -9
- package/dist/chunks/{instance-qz5xevk1.js → file-mutation-hvpsxrjc.js} +44 -44
- package/dist/chunks/{instance-m9r1vv5e.js → file-mutation-j4gfp1rq.js} +20 -20
- package/dist/chunks/{instance-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-sspp8q54.js → file-mutation-j9kjg828.js} +24 -24
- package/dist/chunks/{instance-y59h08ch.js → file-mutation-j9qk85cx.js} +11 -11
- package/dist/chunks/{instance-ak9j1e21.js → file-mutation-jd31x3zp.js} +33 -33
- package/dist/chunks/{instance-hqz4f6re.js → file-mutation-jfcrxy8b.js} +13 -13
- package/dist/chunks/{instance-9e5bzkjp.js → file-mutation-kb9j3d72.js} +3 -3
- package/dist/chunks/{instance-bxbx8zp1.js → file-mutation-khp7n7hd.js} +36 -36
- package/dist/chunks/{instance-3cxaaryr.js → file-mutation-km6n45td.js} +16 -16
- package/dist/chunks/{instance-39yba0nf.js → file-mutation-kmnvca5z.js} +26 -26
- package/dist/chunks/{instance-nym3rvkn.js → file-mutation-kvycfk4x.js} +2 -2
- package/dist/chunks/{instance-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
- package/dist/chunks/{instance-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-ct5h5r02.js → file-mutation-mg9035r8.js} +26 -26
- package/dist/chunks/{instance-25j2et3j.js → file-mutation-mjjtmnz0.js} +16 -16
- package/dist/chunks/{instance-2pnhn36q.js → file-mutation-mjymc32g.js} +21 -21
- package/dist/chunks/{instance-pehxf3m4.js → file-mutation-mktej9kf.js} +8 -8
- package/dist/chunks/{instance-k14ky23s.js → file-mutation-mttyh05y.js} +37 -37
- package/dist/chunks/{instance-tazem05z.js → file-mutation-mvpaz0h1.js} +28 -28
- package/dist/chunks/{instance-f5tgv500.js → file-mutation-mysr5091.js} +18 -18
- package/dist/chunks/{instance-cq0e7jrz.js → file-mutation-n1n192bv.js} +4 -4
- package/dist/chunks/{instance-2sxsha92.js → file-mutation-n77a2t5y.js} +11 -11
- package/dist/chunks/{instance-8tvs17bz.js → file-mutation-n8k9q2ek.js} +40 -40
- package/dist/chunks/{instance-rcf6f608.js → file-mutation-ndxqta2r.js} +29 -29
- package/dist/chunks/{instance-0ff683gc.js → file-mutation-nemrx4g2.js} +4 -4
- package/dist/chunks/{instance-4srdg4qv.js → file-mutation-nhsw2qbx.js} +13 -13
- package/dist/chunks/{instance-59zzfr94.js → file-mutation-nr1r0tpc.js} +5 -5
- package/dist/chunks/{instance-78sc1d6s.js → file-mutation-ns3eape4.js} +1 -1
- package/dist/chunks/{instance-wc5zwjbd.js → file-mutation-p0s7m4kr.js} +16 -16
- package/dist/chunks/{instance-s5qe19hp.js → file-mutation-p0swatq2.js} +6 -6
- package/dist/chunks/{instance-srchk8xg.js → file-mutation-p99m56c0.js} +94 -94
- package/dist/chunks/{instance-ycqdrzp5.js → file-mutation-pjdpct4h.js} +21 -21
- package/dist/chunks/{instance-nrq8jwm2.js → file-mutation-pjrca08j.js} +15 -15
- package/dist/chunks/{instance-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{instance-c0kkjxwe.js → file-mutation-pnygdsj8.js} +6 -6
- package/dist/chunks/{instance-n6em7m46.js → file-mutation-pv7hrw8h.js} +32 -32
- package/dist/chunks/{instance-jzd1aavy.js → file-mutation-pzkaeccr.js} +17 -17
- package/dist/chunks/{instance-0j77ygfz.js → file-mutation-q0xm7vwc.js} +6 -6
- package/dist/chunks/{instance-vn7wz9nq.js → file-mutation-q1a5cy3r.js} +21 -21
- package/dist/chunks/{instance-fn52p9v5.js → file-mutation-q69z4fst.js} +5 -5
- package/dist/chunks/{instance-7dqw4kz8.js → file-mutation-qgn6gcr1.js} +5 -5
- package/dist/chunks/{instance-nhpfgpz7.js → file-mutation-qjcmz760.js} +21 -21
- package/dist/chunks/{instance-svht88am.js → file-mutation-qjg9a86k.js} +45 -45
- package/dist/chunks/{instance-a46v4e4v.js → file-mutation-qm0v3jhh.js} +7 -7
- package/dist/chunks/{instance-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
- package/dist/chunks/{instance-2agrb19h.js → file-mutation-qp4ctbap.js} +8 -8
- package/dist/chunks/{instance-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-rv2xbfet.js → file-mutation-qx387k8b.js} +25 -25
- package/dist/chunks/{instance-qxjc9qry.js → file-mutation-qxjc9qry.js} +3 -3
- package/dist/chunks/{instance-vrm90eh8.js → file-mutation-qyp0jhqn.js} +4 -4
- package/dist/chunks/{instance-x2e286r5.js → file-mutation-r3ymmbwh.js} +27 -27
- package/dist/chunks/{instance-az3agqsh.js → file-mutation-r44petzp.js} +12 -12
- package/dist/chunks/{instance-r5x6zcsm.js → file-mutation-r5x6zcsm.js} +1 -1
- package/dist/chunks/{instance-17hcg36f.js → file-mutation-rbwyh6bm.js} +7 -7
- package/dist/chunks/{instance-nazy378f.js → file-mutation-rcp5zreg.js} +3 -3
- package/dist/chunks/{instance-e4hs9sf1.js → file-mutation-rdr2vy9c.js} +11 -11
- package/dist/chunks/{instance-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{instance-0m2etne7.js → file-mutation-rfc8ewqs.js} +9 -9
- package/dist/chunks/{instance-zn5v3n4q.js → file-mutation-rghjtt8s.js} +9 -9
- package/dist/chunks/{instance-fgd8j31f.js → file-mutation-rkmze0np.js} +3 -3
- package/dist/chunks/{instance-gv66gg0x.js → file-mutation-rtathh62.js} +8 -8
- package/dist/chunks/{instance-gs8p34pz.js → file-mutation-rvqbftg0.js} +5 -5
- package/dist/chunks/{instance-2m8jawch.js → file-mutation-rx9ava5n.js} +4 -4
- package/dist/chunks/{instance-md3tt2c7.js → file-mutation-s3cbap25.js} +63 -63
- package/dist/chunks/{instance-fw7m44j9.js → file-mutation-s3drh7ax.js} +24 -24
- package/dist/chunks/{instance-t550f9t1.js → file-mutation-s8d7rejh.js} +4 -4
- package/dist/chunks/{instance-zx0sm25s.js → file-mutation-sbe9zx21.js} +62 -62
- package/dist/chunks/{instance-q1ee63dc.js → file-mutation-srq8z0b0.js} +9 -9
- package/dist/chunks/{instance-9bschec6.js → file-mutation-szq02q56.js} +36 -36
- package/dist/chunks/{instance-zvq3prv8.js → file-mutation-tageetvg.js} +24 -24
- package/dist/chunks/{instance-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-8fm1hyb7.js → file-mutation-tbk44sx2.js} +40 -40
- package/dist/chunks/{instance-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{instance-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{instance-s2nqg216.js → file-mutation-tg9gdv00.js} +22 -22
- package/dist/chunks/{instance-9n0g8pkp.js → file-mutation-tj9q9rgv.js} +12 -12
- package/dist/chunks/{instance-4ajxth2z.js → file-mutation-ttkjqnsm.js} +8 -8
- package/dist/chunks/{instance-4434d9q2.js → file-mutation-v0es1rhs.js} +9 -9
- package/dist/chunks/{instance-hhn4fj1z.js → file-mutation-v1evr0zq.js} +46 -46
- package/dist/chunks/{instance-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-msz2nrbm.js → file-mutation-vm6ygyff.js} +32 -32
- package/dist/chunks/{instance-39sw89r3.js → file-mutation-vn3q6yb7.js} +3 -3
- package/dist/chunks/{instance-pw3bd5w8.js → file-mutation-vnnfhr52.js} +19 -19
- package/dist/chunks/{instance-dh06npjf.js → file-mutation-vtrymep9.js} +1 -1
- package/dist/chunks/{instance-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instance-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-rz6wpjjq.js → file-mutation-wcmsdx6c.js} +16 -16
- package/dist/chunks/{instance-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{instance-wecqtg5s.js → file-mutation-wecqtg5s.js} +2 -2
- package/dist/chunks/{instance-4fq2zscz.js → file-mutation-wexnxbcm.js} +11 -11
- package/dist/chunks/{instance-6yz0wx8n.js → file-mutation-wh6zw745.js} +5 -5
- package/dist/chunks/{instance-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-h9enw16g.js → file-mutation-x1z5qghx.js} +29 -29
- package/dist/chunks/{instance-x3gqap9d.js → file-mutation-x3gqap9d.js} +1 -1
- package/dist/chunks/{instance-42dyfg6r.js → file-mutation-x5jxhyye.js} +89 -89
- package/dist/chunks/{instance-dd0sg13z.js → file-mutation-xca691zd.js} +8 -8
- package/dist/chunks/{instance-n63f2zk2.js → file-mutation-xdyz12rq.js} +5 -5
- package/dist/chunks/{instance-g5w8qwbj.js → file-mutation-xfkkasph.js} +4 -4
- package/dist/chunks/{instance-xkntkrq7.js → file-mutation-xkntkrq7.js} +2 -2
- package/dist/chunks/{instance-52qz3s8r.js → file-mutation-xsw82w62.js} +9 -9
- package/dist/chunks/{instance-3vgw85hf.js → file-mutation-xyq6fg0j.js} +8 -8
- package/dist/chunks/{instance-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-w8wmpvkk.js → file-mutation-y5hhygam.js} +11 -11
- package/dist/chunks/{instance-t89fqycx.js → file-mutation-y72zmemf.js} +8 -8
- package/dist/chunks/{instance-ts63fcek.js → file-mutation-y9zwf0zg.js} +27 -27
- package/dist/chunks/{instance-2k9fjx65.js → file-mutation-ygdna4kr.js} +5 -5
- package/dist/chunks/{instance-86qjnnqk.js → file-mutation-ygz1yfbt.js} +11 -11
- package/dist/chunks/{instance-r8xr0va3.js → file-mutation-yp2x3t23.js} +4 -4
- package/dist/chunks/{instance-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instance-xy6b16vx.js → file-mutation-yw99dmwz.js} +2 -2
- package/dist/chunks/{instance-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-m95rcb0h.js → file-mutation-z72z4m5h.js} +32 -32
- package/dist/chunks/{instance-rf5255yd.js → file-mutation-z7frznw9.js} +4 -4
- package/dist/chunks/{instance-2dahwpg2.js → file-mutation-zds900bd.js} +23 -23
- package/dist/chunks/{instance-d5pz8sbn.js → file-mutation-zesh45jt.js} +11 -11
- package/dist/chunks/{instance-8m0n3hzg.js → file-mutation-zks4r0br.js} +21 -21
- package/dist/chunks/{instance-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-agfwpwej.js → file-mutation-zvn3dagb.js} +3 -3
- package/dist/chunks/file-mutation-zwthxbkp.js +26 -0
- package/dist/chunks/{instance-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +121 -121
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +116 -116
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +70 -70
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +214 -214
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +99 -99
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- 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 +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +115 -115
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +113 -113
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -222
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- 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 +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/instance-7bpfefw8.js +0 -507
- package/dist/chunks/instance-7ywbx1qz.js +0 -253
- package/dist/chunks/instance-hc158aat.js +0 -26
- package/dist/chunks/instance-n95b3jav.js +0 -18
- /package/dist/chunks/{instance-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-34c7v6d4.js → file-mutation-34c7v6d4.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./file-mutation-2yx7qcbq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service13,
|
|
12
|
+
node15
|
|
13
|
+
} from "./file-mutation-cqrykep0.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -33,11 +33,11 @@ __export(exports_filesystem, {
|
|
|
33
33
|
Match: () => Match2,
|
|
34
34
|
NotFoundError: () => NotFoundError2,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service12,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node14
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -107,12 +107,12 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
107
107
|
}
|
|
108
108
|
var Event2 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service12 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service12, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service79;
|
|
115
|
+
const search = yield* Service13;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -129,7 +129,7 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
129
129
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
130
130
|
return { absolute, real, directory: location.directory };
|
|
131
131
|
});
|
|
132
|
-
return
|
|
132
|
+
return Service12.of({
|
|
133
133
|
find: search.find,
|
|
134
134
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
135
135
|
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
@@ -166,10 +166,10 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
166
166
|
})
|
|
167
167
|
});
|
|
168
168
|
}));
|
|
169
|
-
var
|
|
170
|
-
service:
|
|
169
|
+
var node14 = makeLocationNode({
|
|
170
|
+
service: Service12,
|
|
171
171
|
layer: baseLayer,
|
|
172
|
-
deps: [FSUtil.node,
|
|
172
|
+
deps: [FSUtil.node, node83, node15]
|
|
173
173
|
});
|
|
174
174
|
|
|
175
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2,
|
|
175
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service12, node14, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service63,
|
|
8
|
+
node65
|
|
9
|
+
} from "./file-mutation-j9kjg828.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service41,
|
|
24
|
+
node: () => node43
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service41 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service63;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service41.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node43 = makeLocationNode({ service: Service41, layer, deps: [node65, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error2, InvalidPatternError2,
|
|
180
|
+
export { Error2, InvalidPatternError2, Service41, node43, exports_ripgrep };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service79
|
|
13
|
+
} from "./file-mutation-2yx7qcbq.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-tageetvg.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: () => Plugin38,
|
|
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/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin38 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service79;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin38, exports_hg };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service84,
|
|
6
|
-
node88
|
|
7
|
-
} from "./instance-y59h08ch.js";
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
8
4
|
import {
|
|
9
5
|
Service83,
|
|
10
6
|
node87
|
|
11
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-j9qk85cx.js";
|
|
8
|
+
import {
|
|
9
|
+
Service82,
|
|
10
|
+
node86
|
|
11
|
+
} from "./file-mutation-7b8rsjb2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service81,
|
|
14
|
+
node85
|
|
15
|
+
} from "./file-mutation-r44petzp.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info29,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-v0es1rhs.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-mutation-3cegwx68.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-84h8c373.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info28,
|
|
41
|
+
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service80,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node84,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info28 = Info29;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service80 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,12 +95,12 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service81;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
|
-
const bus = yield*
|
|
103
|
-
const db = (yield*
|
|
102
|
+
const bus = yield* Service82;
|
|
103
|
+
const db = (yield* Service83).db;
|
|
104
104
|
const announcing = new Set;
|
|
105
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
106
106
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
145
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
146
|
projectID: item.projectID,
|
|
147
147
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID17.global,
|
|
149
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
150
|
}, {
|
|
151
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
168
168
|
time_updated: Date.now()
|
|
169
169
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
170
170
|
if (!row)
|
|
171
|
-
return yield* new
|
|
171
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event21.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
188
|
return;
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
195
195
|
const normalized = url(origin);
|
|
196
196
|
if (!normalized)
|
|
197
197
|
return;
|
|
198
|
-
return
|
|
198
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
199
|
});
|
|
200
200
|
function url(input) {
|
|
201
201
|
const value = input.trim();
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
220
220
|
}
|
|
221
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
223
|
+
return root ? ID17.make(root) : undefined;
|
|
224
224
|
});
|
|
225
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
236
236
|
return;
|
|
237
237
|
const node = result.stdout.toString("utf8").split(`
|
|
238
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
239
|
+
return node ? ID17.make(node) : undefined;
|
|
240
240
|
});
|
|
241
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
245
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
246
|
return {
|
|
247
247
|
previous,
|
|
248
|
-
id: id ??
|
|
248
|
+
id: id ?? ID17.global,
|
|
249
249
|
directory: worktree,
|
|
250
250
|
vcs: { type: "hg", store }
|
|
251
251
|
};
|
|
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
262
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
263
|
return yield* persist({
|
|
264
264
|
previous,
|
|
265
|
-
id: id ??
|
|
265
|
+
id: id ?? ID17.global,
|
|
266
266
|
directory: repo.worktree,
|
|
267
267
|
canonical,
|
|
268
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
return yield* persist({
|
|
279
|
-
id:
|
|
279
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service80.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node84 = makeGlobalNode({
|
|
288
|
+
service: Service80,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [
|
|
290
|
+
deps: [node86, node87, FSUtil.node, node85, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
293
|
+
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service79
|
|
13
|
+
} from "./file-mutation-2yx7qcbq.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-tageetvg.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin39,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin39 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service79;
|
|
35
35
|
if (location.vcs && location.vcs.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -475,4 +475,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
475
475
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
476
476
|
});
|
|
477
477
|
|
|
478
|
-
export {
|
|
478
|
+
export { Plugin39, exports_git };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./file-mutation-7b8rsjb2.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-s8d7rejh.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event6,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options5,
|
|
30
|
+
Service: () => Service47,
|
|
31
|
+
configured: () => configured5,
|
|
32
|
+
layer: () => layer19,
|
|
33
|
+
node: () => node49
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event6 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options5 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service47 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer19 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service82;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,9 +72,9 @@ var layer18 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make21({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer18 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service47.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer18 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured5(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service47,
|
|
110
|
+
layer: layer19(options),
|
|
111
|
+
deps: [node86]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node49 = configured5();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event6, Options5, Service47, layer19, configured5, node49, exports_instruction_discovery };
|