@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
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./file-mutation-2yx7qcbq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service57
|
|
9
|
+
} from "./file-mutation-4whbrktx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service7
|
|
12
|
+
} from "./file-mutation-cshtx1th.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service8
|
|
27
|
+
} from "./file-mutation-gmcpagzm.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input2,
|
|
36
|
+
Plugin: () => Plugin21,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name2,
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name2 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input2 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin21 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service8;
|
|
62
|
+
const access = yield* Service57;
|
|
63
|
+
const sessionInstructions = yield* Service7;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name2,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input2,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin30 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent2 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name2, Input2, Plugin21, toModelContent2, exports_read };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./file-mutation-2yx7qcbq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
|
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service79;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service45,
|
|
6
|
+
node47
|
|
7
|
+
} from "./file-mutation-hvpsxrjc.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service40,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
|
+
layer: () => layer16,
|
|
20
|
+
node: () => node42
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
28
28
|
}) {
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
32
32
|
message: Schema.String,
|
|
33
33
|
service: Schema.optional(Schema.String)
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service40 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer16 = Layer.effect(Service40, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service45;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -48,7 +48,7 @@ var layer19 = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
48
48
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
49
49
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
50
50
|
], (error) => {
|
|
51
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
51
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
52
52
|
return Effect.fail(mapped);
|
|
53
53
|
}));
|
|
54
54
|
if (!resolved)
|
|
@@ -59,21 +59,21 @@ var layer19 = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
59
59
|
model: resolved.model,
|
|
60
60
|
prompt: input.prompt,
|
|
61
61
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
62
|
-
})).pipe(Effect.mapError((error) => new
|
|
62
|
+
})).pipe(Effect.mapError((error) => new UnavailableError2({
|
|
63
63
|
message: error.message,
|
|
64
64
|
service: resolved.ref.providerID
|
|
65
65
|
})));
|
|
66
66
|
return response.text;
|
|
67
67
|
});
|
|
68
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
68
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service40.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node42 = makeLocationNode({
|
|
74
|
+
service: Service40,
|
|
75
|
+
layer: layer16,
|
|
76
|
+
deps: [node47, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError2, Service40, layer16, node42, exports_generate2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node7
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node7 = makeLocationNode({
|
|
19
|
+
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service5, node7, bound2, exports_instance2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node75
|
|
5
|
+
} from "./file-mutation-mktej9kf.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-n1n192bv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service69,
|
|
12
|
+
node72
|
|
13
|
+
} from "./file-mutation-gs3s1a1g.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-5x058zpe.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-ctg52dyk.js";
|
|
20
20
|
import {
|
|
21
21
|
Error3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-mutation-tg9gdv00.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-mutation-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service27,
|
|
28
|
+
node30
|
|
29
|
+
} from "./file-mutation-ex7a17jg.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make15
|
|
32
|
+
} from "./file-mutation-xfkkasph.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-mutation-ns3eape4.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service26,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer10,
|
|
48
|
+
node: () => node29,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
|
|
|
82
82
|
return {
|
|
83
83
|
providerMetadataKey,
|
|
84
84
|
system: [
|
|
85
|
-
input.agent.system ? input.agent.system :
|
|
85
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
86
86
|
input.initial
|
|
87
87
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
88
88
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -151,11 +151,11 @@ var boundImages2 = (messages) => {
|
|
|
151
151
|
});
|
|
152
152
|
};
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service26 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const hooks = yield*
|
|
158
|
-
const transport = yield*
|
|
156
|
+
var layer10 = Layer.effect(Service26, Effect.gen(function* () {
|
|
157
|
+
const hooks = yield* Service69;
|
|
158
|
+
const transport = yield* Service27;
|
|
159
159
|
const app = yield* Metadata2;
|
|
160
160
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
161
161
|
const session = input.session;
|
|
@@ -260,17 +260,17 @@ var layer12 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
260
260
|
};
|
|
261
261
|
});
|
|
262
262
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
263
|
-
return
|
|
263
|
+
return Service26.of({
|
|
264
264
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
265
265
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
266
266
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
267
267
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
268
268
|
});
|
|
269
269
|
}));
|
|
270
|
-
var
|
|
271
|
-
service:
|
|
272
|
-
layer:
|
|
273
|
-
deps: [
|
|
270
|
+
var node29 = makeLocationNode({
|
|
271
|
+
service: Service26,
|
|
272
|
+
layer: layer10,
|
|
273
|
+
deps: [node72, node30, node75]
|
|
274
274
|
});
|
|
275
275
|
|
|
276
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
276
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service26, layer10, node29, exports_model_request };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./file-mutation-2yx7qcbq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service41,
|
|
10
|
+
node43
|
|
11
|
+
} from "./file-mutation-34mqxceb.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
24
|
Options: () => Options2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service13,
|
|
26
26
|
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer7,
|
|
29
|
+
node: () => node15,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ var Options2 = Schema.Struct({
|
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service13 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service13, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service79;
|
|
63
|
+
const ripgrep = yield* Service41;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service13.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service13, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service79;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service13.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service13.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,8 +174,8 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer7 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service79;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
@@ -183,8 +183,8 @@ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
185
|
function configured2(options) {
|
|
186
|
-
return makeLocationNode({ service:
|
|
186
|
+
return makeLocationNode({ service: Service13, layer: layer7(options), deps: [node83, node43] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node15 = configured2();
|
|
189
189
|
|
|
190
|
-
export { Options2,
|
|
190
|
+
export { Options2, Service13, ripgrepLayer2, fffLayer2, layer7, configured2, node15, exports_search };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./file-mutation-7b8rsjb2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./file-mutation-2yx7qcbq.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service67,
|
|
14
|
+
node70
|
|
15
|
+
} from "./file-mutation-dtv13hc7.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service7,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node9
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service7 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service82;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service67;
|
|
41
|
+
const location = yield* Service79;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service7.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node9 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node86, FSUtil.node, node83, node70]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service7, node9, exports_instructions };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./file-mutation-7dfd4tpy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./file-mutation-5x058zpe.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service77;
|
|
57
|
+
const permission = yield* Service66;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service39,
|
|
10
|
+
node: () => node41
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service39 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node41 = LayerNode.unbound(Service39, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service39, node41, exports_service2 };
|