@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,59 +1,59 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service83,
|
|
3
|
-
node87
|
|
4
|
-
} from "./instance-dhrbrsm8.js";
|
|
5
1
|
import {
|
|
6
2
|
Service82,
|
|
7
3
|
node86
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
Service78,
|
|
11
|
-
node82
|
|
12
|
-
} from "./instance-6eacnpz5.js";
|
|
4
|
+
} from "./file-mutation-7b8rsjb2.js";
|
|
13
5
|
import {
|
|
14
|
-
Ref3,
|
|
15
6
|
Service77,
|
|
16
7
|
node81
|
|
17
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-7dfd4tpy.js";
|
|
9
|
+
import {
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./file-mutation-3d8bxjve.js";
|
|
13
|
+
import {
|
|
14
|
+
Ref4,
|
|
15
|
+
Service79,
|
|
16
|
+
node83
|
|
17
|
+
} from "./file-mutation-2yx7qcbq.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-03b168as.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service66,
|
|
26
|
+
node69
|
|
27
|
+
} from "./file-mutation-5x058zpe.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service20,
|
|
30
|
+
node23
|
|
31
|
+
} from "./file-mutation-bwqxw6t0.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service17,
|
|
41
|
+
node: () => node20
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service17 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
50
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service82;
|
|
52
|
+
const location = yield* Service79;
|
|
53
|
+
const permission = yield* Service66;
|
|
54
|
+
const forms = yield* Service77;
|
|
55
|
+
const rpc = yield* Service20;
|
|
56
|
+
const project = yield* Service80;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -72,18 +72,18 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
72
72
|
yield* forms.close;
|
|
73
73
|
yield* rpc.close;
|
|
74
74
|
yield* bus.publish(LocationEvent.Shutdown, {}, {
|
|
75
|
-
location:
|
|
75
|
+
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service17.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node20 = makeLocationNode({
|
|
84
|
+
service: Service17,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [
|
|
86
|
+
deps: [node86, node83, node69, node84, node81, node23]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service17, node20, exports_location_lifecycle };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./file-mutation-2yx7qcbq.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-s8d7rejh.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service25,
|
|
19
|
+
node: () => node28
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service25 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service79;
|
|
29
|
+
return Service25.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make21({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
make21({
|
|
41
41
|
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node28 = makeLocationNode({ service: Service25, layer, deps: [Global.node, node83] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service25, node28, exports_builtins };
|
|
@@ -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
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./file-mutation-2yx7qcbq.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Service74,
|
|
20
|
+
node78,
|
|
21
21
|
Event17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-mutation-2krkkzng.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -32,16 +32,16 @@ __export(exports_model2, {
|
|
|
32
32
|
Cost: () => Cost2,
|
|
33
33
|
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
35
|
+
ID: () => ID11,
|
|
36
36
|
Info: () => Info21,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service73,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node77,
|
|
45
45
|
parse: () => parse5
|
|
46
46
|
});
|
|
47
47
|
import { Model } from "@opencode/schema/model";
|
|
@@ -49,7 +49,7 @@ import { Context, Effect, Layer, Stream } from "effect";
|
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import { freeze } from "immer";
|
|
51
51
|
import { Event as Event16 } from "@opencode/schema/model";
|
|
52
|
-
var
|
|
52
|
+
var ID11 = Model.ID;
|
|
53
53
|
var VariantID2 = Model.VariantID;
|
|
54
54
|
var Family2 = Model.Family;
|
|
55
55
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -67,12 +67,12 @@ var Cost2 = Model.Cost;
|
|
|
67
67
|
var Ref2 = Model.Ref;
|
|
68
68
|
var Info21 = Model.Info;
|
|
69
69
|
|
|
70
|
-
class
|
|
70
|
+
class Service73 extends Context.Service()("@opencode/Model") {
|
|
71
71
|
}
|
|
72
|
-
var layer = Layer.effect(
|
|
73
|
-
const providers = yield*
|
|
74
|
-
const bus = yield*
|
|
75
|
-
const location = yield*
|
|
72
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
73
|
+
const providers = yield* Service74;
|
|
74
|
+
const bus = yield* Service82;
|
|
75
|
+
const location = yield* Service79;
|
|
76
76
|
let input;
|
|
77
77
|
const state = create3({
|
|
78
78
|
name: "model",
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
207
207
|
});
|
|
208
208
|
});
|
|
209
209
|
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
210
|
-
return
|
|
210
|
+
return Service73.of({
|
|
211
211
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
212
212
|
reload,
|
|
213
213
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -226,7 +226,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
226
226
|
})
|
|
227
227
|
});
|
|
228
228
|
}));
|
|
229
|
-
var
|
|
229
|
+
var node77 = makeLocationNode({ service: Service73, layer, deps: [node78, node86, node83] });
|
|
230
230
|
function compatibility2(input) {
|
|
231
231
|
if (typeof input === "string")
|
|
232
232
|
return { reasoningField: input };
|
|
@@ -237,9 +237,9 @@ function compatibility2(input) {
|
|
|
237
237
|
function parse5(input) {
|
|
238
238
|
const index = input.indexOf("/");
|
|
239
239
|
return {
|
|
240
|
-
providerID:
|
|
241
|
-
modelID:
|
|
240
|
+
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
241
|
+
modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
|
|
242
242
|
};
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
export {
|
|
245
|
+
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service73, node77, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-8n9x2wf6.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./file-mutation-7b8rsjb2.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
16
|
Event: () => Event11,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info14,
|
|
19
|
+
NotFoundError: () => NotFoundError7,
|
|
20
|
+
Service: () => Service61,
|
|
21
|
+
layer: () => layer22,
|
|
22
|
+
node: () => node63
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
import { Event as Event11 } from "@opencode/schema/command";
|
|
28
|
-
var
|
|
28
|
+
var Info14 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service61 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer22 = Layer.effect(Service61, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service82;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer21 = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info14.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service61.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer21 = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node63 = makeLocationNode({
|
|
75
|
+
service: Service61,
|
|
76
|
+
layer: layer22,
|
|
77
|
+
deps: [node86]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info14, NotFoundError7, ExecutionError2, Service61, layer22, node63, exports_command5, Event11 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service72,
|
|
3
|
+
node76
|
|
4
|
+
} from "./file-mutation-f9jr4tkt.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-8n9x2wf6.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service48,
|
|
20
|
+
make: () => make18,
|
|
21
|
+
node: () => node50
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service48 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make18 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service72;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -342,7 +342,7 @@ var make21 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service48.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make21 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service48, make18);
|
|
358
|
+
var node50 = makeGlobalNode({ service: Service48, layer, deps: [node76] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service48, make18, node50, exports_job };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
|
+
Info: () => Info11,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule2
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule2),
|
|
20
|
+
edit: Schema.optional(Rule2),
|
|
21
|
+
glob: Schema.optional(Rule2),
|
|
22
|
+
grep: Schema.optional(Rule2),
|
|
23
|
+
list: Schema.optional(Rule2),
|
|
24
|
+
bash: Schema.optional(Rule2),
|
|
25
|
+
task: Schema.optional(Rule2),
|
|
26
|
+
external_directory: Schema.optional(Rule2),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule2),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule2),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule2)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info11 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info11, exports_permission };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
10
|
+
configured: () => configured11,
|
|
11
|
+
layer: () => layer24,
|
|
12
12
|
make: () => make22,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node75,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
@@ -28,8 +28,8 @@ function make22(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer24 = (input) => Layer.succeed(Metadata2, make22(input));
|
|
32
|
+
var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
|
|
33
|
+
var node75 = configured11();
|
|
34
34
|
|
|
35
|
-
export { Metadata2, make22, useragent2,
|
|
35
|
+
export { Metadata2, make22, useragent2, layer24, configured11, node75, exports_app };
|