@opencode/core 0.0.0-dev-20524 → 0.0.0-dev-20526
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 +79 -79
- 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/{location-9ff0w96a.js → mime-0c6yq8cp.js} +11 -11
- package/dist/chunks/{location-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-wgwhfkbb.js → mime-0pdhpgys.js} +9 -9
- package/dist/chunks/{location-gj71zhbs.js → mime-0r3c1bmw.js} +5 -5
- package/dist/chunks/{location-1z8f34et.js → mime-0t3vddyb.js} +35 -35
- package/dist/chunks/{location-ajhd3z57.js → mime-0th6fty1.js} +11 -11
- package/dist/chunks/{location-0vbcp93d.js → mime-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-fd6ys4ef.js → mime-0zgyafam.js} +8 -8
- package/dist/chunks/{location-ms3jqqqf.js → mime-108bw82g.js} +42 -42
- package/dist/chunks/{location-d79sqymb.js → mime-15t5vs8z.js} +9 -9
- package/dist/chunks/{location-4zmtjtds.js → mime-16nrxpzh.js} +22 -22
- package/dist/chunks/{location-1wtt5xjz.js → mime-16p8624c.js} +13 -13
- package/dist/chunks/{location-rhraev7y.js → mime-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-n3kq2dxg.js → mime-1d9m2a5b.js} +21 -21
- package/dist/chunks/{location-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-1dvck2a7.js → mime-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-yqkgc340.js → mime-20cs2f2v.js} +13 -13
- package/dist/chunks/{location-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-nqrfg00y.js → mime-2g40h5tz.js} +5 -5
- package/dist/chunks/{location-0g9bh3xt.js → mime-2g8e9x92.js} +4 -4
- package/dist/chunks/{location-wr1eej9h.js → mime-2h7ysm63.js} +3 -3
- package/dist/chunks/{location-pfkmmn9w.js → mime-2hy5grvm.js} +35 -35
- package/dist/chunks/{location-7dqw4kz8.js → mime-2k8khapm.js} +5 -5
- package/dist/chunks/{location-qrrr3p9w.js → mime-2q2r0hje.js} +31 -31
- package/dist/chunks/{location-dwenb9k0.js → mime-2xdd25f7.js} +24 -24
- package/dist/chunks/{location-z1443vyh.js → mime-3a1zngsq.js} +5 -5
- package/dist/chunks/{location-e6ef6n62.js → mime-3eb0edj5.js} +41 -41
- package/dist/chunks/{location-636dm4w1.js → mime-3eg14x28.js} +14 -14
- package/dist/chunks/{location-z0aj456m.js → mime-3ewed21c.js} +4 -4
- package/dist/chunks/{location-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-0ehkg06n.js → mime-3g92af4t.js} +30 -30
- package/dist/chunks/{location-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-2qwkx9g6.js → mime-3n1988wa.js} +9 -9
- package/dist/chunks/{location-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-ap12zef0.js → mime-3v3z8g8b.js} +46 -46
- package/dist/chunks/{location-7y82cyha.js → mime-3y2j8cb3.js} +22 -22
- package/dist/chunks/{location-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-w6ftey9k.js → mime-43aqaj6z.js} +16 -16
- package/dist/chunks/{location-a28a4nf5.js → mime-4a0vena2.js} +15 -15
- package/dist/chunks/{location-psyghn60.js → mime-4dkxmh69.js} +3 -3
- package/dist/chunks/{location-rx4c2z1d.js → mime-4rskew4a.js} +25 -25
- package/dist/chunks/{location-4ts7tf6z.js → mime-4ts7tf6z.js} +2 -2
- package/dist/chunks/mime-4v7qdvcn.js +18 -0
- package/dist/chunks/{location-9m2qa8s4.js → mime-4vc0ehpv.js} +27 -27
- package/dist/chunks/{location-gnwsk10c.js → mime-4wdayzmh.js} +16 -16
- package/dist/chunks/{location-6xsxbhd8.js → mime-4wv1d4kf.js} +11 -11
- package/dist/chunks/{location-bw9zjykr.js → mime-51f5btjf.js} +6 -6
- package/dist/chunks/{location-tm7bvtyg.js → mime-523e74da.js} +13 -13
- package/dist/chunks/{location-54ma36ye.js → mime-54ma36ye.js} +1 -1
- package/dist/chunks/{location-33w4ejhs.js → mime-56gdpj1q.js} +6 -6
- package/dist/chunks/{location-4xpgt2w9.js → mime-57myy5jh.js} +5 -5
- package/dist/chunks/{location-cwa6csj7.js → mime-5d607bsg.js} +9 -9
- package/dist/chunks/{location-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{location-4v2wjxb9.js → mime-5g1wsd0f.js} +9 -9
- package/dist/chunks/{location-gccjnz6h.js → mime-5pyjqqve.js} +2 -2
- package/dist/chunks/{location-67a0sc12.js → mime-5rgss48q.js} +8 -8
- package/dist/chunks/{location-66fqs2ya.js → mime-5rnnm2b5.js} +9 -9
- package/dist/chunks/{location-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-b2k62zq4.js → mime-5x7bbgzr.js} +15 -15
- package/dist/chunks/{location-6t32vnd6.js → mime-5z44n1zm.js} +10 -10
- package/dist/chunks/{location-7rdt2je6.js → mime-613axv8y.js} +27 -27
- package/dist/chunks/{location-3am4x91f.js → mime-618j7cty.js} +30 -30
- package/dist/chunks/{location-9w42hdr1.js → mime-63jk1vmm.js} +21 -21
- package/dist/chunks/{location-hzm7e63r.js → mime-65rtbs6q.js} +31 -31
- package/dist/chunks/{location-669tq793.js → mime-669tq793.js} +1 -1
- package/dist/chunks/{location-wh2htdx5.js → mime-68t36xwj.js} +22 -22
- package/dist/chunks/{location-d0sddd9t.js → mime-69ejy697.js} +18 -18
- package/dist/chunks/{location-ht20w0bm.js → mime-6azy7pm5.js} +17 -17
- package/dist/chunks/{location-dktchxzp.js → mime-6pbfkrn8.js} +9 -9
- package/dist/chunks/{location-g4et1qt7.js → mime-6pm4tc4k.js} +3 -3
- package/dist/chunks/{location-f5gy8qwh.js → mime-6ysrkrkr.js} +8 -8
- package/dist/chunks/{location-71az546q.js → mime-71az546q.js} +2 -2
- package/dist/chunks/{location-ht2vmafg.js → mime-71c2tdcf.js} +14 -14
- package/dist/chunks/{location-agam1dvb.js → mime-71t26km0.js} +11 -11
- package/dist/chunks/{location-d39pa2qm.js → mime-787mccs8.js} +24 -24
- package/dist/chunks/{location-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-726nj29k.js → mime-7v89zxnz.js} +30 -30
- package/dist/chunks/{location-bwwx913g.js → mime-7x3zazyt.js} +17 -17
- package/dist/chunks/{location-84txncab.js → mime-84txncab.js} +1 -1
- package/dist/chunks/{location-m5fmzmxa.js → mime-8654st4n.js} +12 -12
- package/dist/chunks/{location-n3zff3hk.js → mime-86vxxqtm.js} +6 -6
- package/dist/chunks/{location-97ywwqre.js → mime-86zp6h1p.js} +13 -13
- package/dist/chunks/{location-ma8dv7tn.js → mime-898dwsbb.js} +8 -8
- package/dist/chunks/{location-amm0z9fx.js → mime-89p27cv2.js} +15 -15
- package/dist/chunks/{location-xcst2118.js → mime-8ccws1rf.js} +28 -28
- package/dist/chunks/{location-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-htjw9qza.js → mime-8qh6anns.js} +6 -6
- package/dist/chunks/{location-sdm6ehx7.js → mime-8t32jfb4.js} +16 -16
- package/dist/chunks/{location-pdq7zx76.js → mime-8ybym829.js} +10 -10
- package/dist/chunks/{location-aw2g9fp0.js → mime-8z6q4zg3.js} +1 -1
- package/dist/chunks/{location-gakk3ey9.js → mime-90b8eqf4.js} +11 -11
- package/dist/chunks/{location-9be5v5fz.js → mime-92dck0g3.js} +17 -17
- package/dist/chunks/{location-r8aax1cg.js → mime-944pe8w2.js} +8 -8
- package/dist/chunks/{location-em3h5ktn.js → mime-96ctqc5x.js} +4 -4
- package/dist/chunks/{location-jqskptrr.js → mime-98rkmnx4.js} +3 -3
- package/dist/chunks/{location-9e5bzkjp.js → mime-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-z6z545q9.js → mime-9mpafgh5.js} +46 -46
- package/dist/chunks/{location-47pbmbvq.js → mime-9n437wmn.js} +40 -40
- package/dist/chunks/{location-89136qfr.js → mime-9shrky9m.js} +22 -22
- package/dist/chunks/{location-qwpeqn3j.js → mime-9t111gh9.js} +3 -3
- package/dist/chunks/{location-4e8vs6eh.js → mime-9y0w708y.js} +8 -8
- package/dist/chunks/{location-4x2d6zk6.js → mime-9y5n1c4v.js} +23 -23
- package/dist/chunks/{location-xjthv5h5.js → mime-a2wvdp5g.js} +15 -15
- package/dist/chunks/{location-4ag0xmg6.js → mime-a7v9wceq.js} +12 -12
- package/dist/chunks/{location-kanq2qcn.js → mime-a9qg49ta.js} +14 -14
- package/dist/chunks/{location-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{location-fvcnt3t4.js → mime-ab66fk0a.js} +1 -1
- package/dist/chunks/{location-tzpqvdng.js → mime-abg70evd.js} +7 -7
- package/dist/chunks/{location-6maatk71.js → mime-ac8xbrkv.js} +41 -41
- package/dist/chunks/{location-addxnjmp.js → mime-addxnjmp.js} +1 -1
- package/dist/chunks/{location-vqgj6vfx.js → mime-ag0cyztb.js} +13 -13
- package/dist/chunks/{location-wb6g3839.js → mime-aj015p4r.js} +6 -6
- package/dist/chunks/{location-mkderzf3.js → mime-apmtag91.js} +35 -35
- package/dist/chunks/{location-6bgcwd53.js → mime-awmqyyvb.js} +37 -37
- package/dist/chunks/{location-k8hpw67k.js → mime-axs6pdy0.js} +5 -5
- package/dist/chunks/{location-scgrse2b.js → mime-b3f8fkhc.js} +5 -5
- package/dist/chunks/{location-0sesqsvn.js → mime-b5nk4gnq.js} +6 -6
- package/dist/chunks/{location-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-wk3dfdmh.js → mime-bhg4bmfs.js} +10 -10
- package/dist/chunks/{location-9zhh23v8.js → mime-bsprd9wx.js} +3 -3
- package/dist/chunks/{location-nb85r331.js → mime-bwkkkbxh.js} +11 -11
- package/dist/chunks/{location-er3ye3qa.js → mime-c5tpfa0r.js} +15 -15
- package/dist/chunks/{location-9s14hbtr.js → mime-c83dc2pg.js} +13 -13
- package/dist/chunks/{location-t5saaaxp.js → mime-cegsa1ts.js} +39 -39
- package/dist/chunks/{location-py3kkmfq.js → mime-cfsekr6v.js} +2 -2
- package/dist/chunks/{location-69h1251q.js → mime-ckbnwpw7.js} +11 -11
- package/dist/chunks/{location-vbtjb3bz.js → mime-d47gva27.js} +8 -8
- package/dist/chunks/{location-gp96s3k1.js → mime-d4ttvd2m.js} +31 -31
- package/dist/chunks/{location-dxc4ayrt.js → mime-dhda0sfg.js} +15 -15
- package/dist/chunks/{location-y7dx63g1.js → mime-dk6462jd.js} +16 -16
- package/dist/chunks/{location-0b1net69.js → mime-dk90hdkx.js} +8 -8
- package/dist/chunks/{location-dpkg50ah.js → mime-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-ns15zm60.js → mime-e0vtkr8g.js} +6 -6
- package/dist/chunks/{location-ybsbay28.js → mime-e3yr13n7.js} +22 -22
- package/dist/chunks/{location-xy5gggj8.js → mime-e4t8r070.js} +15 -15
- package/dist/chunks/{location-bn6j2djw.js → mime-e76pw870.js} +32 -32
- package/dist/chunks/{location-ss70ch0k.js → mime-ec5havvq.js} +5 -5
- package/dist/chunks/{location-pmv361z8.js → mime-eeg0gr3a.js} +30 -30
- package/dist/chunks/{location-3dcfmx41.js → mime-ef0w8kcj.js} +23 -23
- package/dist/chunks/{location-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-73tb2d7t.js → mime-eq1pz5kg.js} +3 -3
- package/dist/chunks/{location-p28awedh.js → mime-eqn2j9ra.js} +21 -21
- package/dist/chunks/{location-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-pghs4qq9.js → mime-eyasq7v2.js} +18 -18
- package/dist/chunks/{location-5yzzbxa7.js → mime-eys57y9b.js} +8 -8
- package/dist/chunks/{location-np07ctdw.js → mime-ffhkx1j7.js} +5 -5
- package/dist/chunks/{location-5pnewhce.js → mime-fjq9394b.js} +29 -29
- package/dist/chunks/{location-gbjeyn0t.js → mime-fm03cyjv.js} +15 -15
- package/dist/chunks/{location-w8bcfg26.js → mime-fy5c28xk.js} +23 -23
- package/dist/chunks/{location-1f1tf6tc.js → mime-g2b71yqp.js} +18 -18
- package/dist/chunks/{location-xfkkasph.js → mime-g5w8qwbj.js} +4 -4
- package/dist/chunks/mime-g7w798jn.js +26 -0
- package/dist/chunks/{location-w255jkmj.js → mime-g8gztt5b.js} +41 -41
- package/dist/chunks/{location-fasbsk8t.js → mime-gc6269q7.js} +20 -20
- package/dist/chunks/{location-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-ymhgr8h4.js → mime-grrv6e2y.js} +11 -11
- package/dist/chunks/{location-h2b79v29.js → mime-h2b79v29.js} +2 -2
- package/dist/chunks/mime-h2ckq0fq.js +253 -0
- package/dist/chunks/{location-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-c7bcgwck.js → mime-hc47jsp6.js} +75 -75
- package/dist/chunks/{location-kh9sx4kg.js → mime-hpfvhvya.js} +8 -8
- package/dist/chunks/{location-8x661jfs.js → mime-hsnr0pdx.js} +21 -21
- package/dist/chunks/{location-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{location-adjgd6nn.js → mime-jfgsppse.js} +16 -16
- package/dist/chunks/{location-g7j3mj99.js → mime-jgdpgqgj.js} +4 -4
- package/dist/chunks/{location-72n52cxe.js → mime-jpr19x4b.js} +14 -14
- package/dist/chunks/{location-ykk9be0k.js → mime-jt46dgte.js} +18 -18
- package/dist/chunks/{location-4b027wpp.js → mime-jvnht3j4.js} +76 -76
- package/dist/chunks/{location-jtchp687.js → mime-k8v4d5hq.js} +22 -22
- package/dist/chunks/{location-r9w3djhf.js → mime-kdq8v965.js} +9 -9
- package/dist/chunks/{location-efsmb0h4.js → mime-kphdywnf.js} +16 -16
- package/dist/chunks/{location-70bshhhx.js → mime-ktzfshgy.js} +8 -8
- package/dist/chunks/{location-ha10f5ag.js → mime-kwy4nt5m.js} +22 -22
- package/dist/chunks/{location-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-8gcqp34a.js → mime-m4k0yg9x.js} +4 -4
- package/dist/chunks/{location-4405jfbf.js → mime-m54tfmvb.js} +13 -13
- package/dist/chunks/{location-53r5d07r.js → mime-m6d4j3h9.js} +4 -4
- package/dist/chunks/{location-mfq58xys.js → mime-m7ydhh7t.js} +7 -7
- package/dist/chunks/{location-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-a8bn8zg0.js → mime-magykp64.js} +4 -4
- package/dist/chunks/{location-d6jdpt9s.js → mime-mbmw6p79.js} +22 -22
- package/dist/chunks/{location-rz7hjw9a.js → mime-me85bt6d.js} +4 -4
- package/dist/chunks/{location-xk5qmycy.js → mime-mgz7mky6.js} +36 -36
- package/dist/chunks/{location-t0kkw9j8.js → mime-mz8gnksm.js} +3 -3
- package/dist/chunks/{location-mfns49dk.js → mime-n1hw437h.js} +11 -11
- package/dist/chunks/{location-zsr4wwhv.js → mime-n1n192bv.js} +4 -4
- package/dist/chunks/{location-g31erja1.js → mime-n8sna2wb.js} +9 -9
- package/dist/chunks/{location-am9fw9ch.js → mime-n9hpjtfs.js} +30 -30
- package/dist/chunks/{location-vmtrkad0.js → mime-njq320dc.js} +10 -10
- package/dist/chunks/{location-dvqjns4f.js → mime-nq3cpa63.js} +27 -27
- package/dist/chunks/{location-ncnm8wen.js → mime-ns3eape4.js} +1 -1
- package/dist/chunks/{location-qjhbzp1x.js → mime-nz3b0w12.js} +11 -11
- package/dist/chunks/{location-fa7rx1rj.js → mime-p0jxbjmq.js} +11 -11
- package/dist/chunks/{location-krdch7pj.js → mime-p558d1j2.js} +8 -8
- package/dist/chunks/{location-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{location-j87v20fg.js → mime-pyq30meh.js} +5 -5
- package/dist/chunks/{location-q0xm7vwc.js → mime-q0xm7vwc.js} +2 -2
- package/dist/chunks/{location-0d1d2768.js → mime-q3e7ejxm.js} +29 -29
- package/dist/chunks/{location-vxp3kcg3.js → mime-q4fmv0xv.js} +5 -5
- package/dist/chunks/{location-4xmdng9e.js → mime-q7q1dj79.js} +12 -12
- package/dist/chunks/{location-kryy92pc.js → mime-qdhzfkrq.js} +33 -33
- package/dist/chunks/{location-2xvr5rzx.js → mime-qeayp8bq.js} +5 -5
- package/dist/chunks/{location-trcdmqx3.js → mime-qfxvgh06.js} +10 -10
- package/dist/chunks/{location-1956heqa.js → mime-qm7jrdpz.js} +5 -5
- package/dist/chunks/{location-qnc92qwc.js → mime-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-50w664pd.js → mime-qrdpeksr.js} +22 -22
- package/dist/chunks/{location-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{location-xyafkbt0.js → mime-qxjc9qry.js} +3 -3
- package/dist/chunks/{location-rfnzz8gp.js → mime-qztw7pyw.js} +13 -13
- package/dist/chunks/{location-rrpq0de9.js → mime-r44petzp.js} +12 -12
- package/dist/chunks/{location-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-s8d7rejh.js → mime-rhjbct0v.js} +4 -4
- package/dist/chunks/{location-73beahz8.js → mime-rjm2fn4k.js} +6 -6
- package/dist/chunks/{location-51jr6g9e.js → mime-rjt2bsyt.js} +18 -18
- package/dist/chunks/{location-j4vxd5gc.js → mime-rnp3p4gd.js} +28 -28
- package/dist/chunks/{location-fqb2p7cx.js → mime-ryr25ayn.js} +4 -4
- package/dist/chunks/{location-z4ggt3ag.js → mime-s08q7c06.js} +20 -20
- package/dist/chunks/{location-zfs8ae4p.js → mime-s0b7t9fd.js} +4 -4
- package/dist/chunks/mime-s0xt187s.js +507 -0
- package/dist/chunks/{location-qknp1kwt.js → mime-s3d46ba8.js} +20 -20
- package/dist/chunks/{location-13xr13rz.js → mime-s4kq9h0g.js} +24 -24
- package/dist/chunks/{location-x1xn1kyr.js → mime-s5666wwp.js} +21 -21
- package/dist/chunks/{location-pg7b5kmm.js → mime-sd7az2cx.js} +4 -4
- package/dist/chunks/{location-5sn2jfj9.js → mime-sesb8crn.js} +24 -24
- package/dist/chunks/{location-03g2y37q.js → mime-sfgte76k.js} +11 -11
- package/dist/chunks/{location-29waf03z.js → mime-shh3msea.js} +3 -3
- package/dist/chunks/{location-4p2rvbap.js → mime-spvja0zg.js} +15 -15
- package/dist/chunks/{location-0hp6n8qm.js → mime-sq5xvr65.js} +87 -87
- package/dist/chunks/{location-dmq45pp6.js → mime-sy2k7xk8.js} +47 -47
- package/dist/chunks/{location-wbavqyay.js → mime-t74a4f50.js} +4 -4
- package/dist/chunks/{location-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{location-kdnkv6vg.js → mime-tt3ha5ks.js} +24 -24
- package/dist/chunks/{location-v0es1rhs.js → mime-v0es1rhs.js} +2 -2
- package/dist/chunks/{location-c6t0g6n9.js → mime-vapg3z9n.js} +3 -3
- package/dist/chunks/{location-ses0sfa7.js → mime-vd4e7scs.js} +6 -6
- package/dist/chunks/{location-h4ckqw4f.js → mime-vdn23gb8.js} +8 -8
- package/dist/chunks/{location-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{location-mpa2g5zd.js → mime-vj8yzvgx.js} +32 -32
- package/dist/chunks/{location-hmp1x13k.js → mime-vks5txr6.js} +2 -2
- package/dist/chunks/{location-58072hz9.js → mime-vx3jgdek.js} +3 -3
- package/dist/chunks/{location-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-3q2mb5aa.js → mime-w16xktph.js} +148 -148
- package/dist/chunks/{location-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{location-txa3gs2n.js → mime-wnm2730d.js} +24 -24
- package/dist/chunks/{location-tqwy6r45.js → mime-wnw44jfj.js} +3 -3
- package/dist/chunks/{location-ryxsgh7t.js → mime-ww52myg8.js} +14 -14
- package/dist/chunks/{location-5e34y3kq.js → mime-wyja02d2.js} +29 -29
- package/dist/chunks/{location-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-rkj7dp5f.js → mime-x339f5qa.js} +12 -12
- package/dist/chunks/{location-0d2m1esc.js → mime-xdb2at9q.js} +18 -18
- package/dist/chunks/{location-jdjpygpn.js → mime-xgp0qdrr.js} +1 -1
- package/dist/chunks/{location-xkntkrq7.js → mime-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-9cfz2ss6.js → mime-xnyz6zyr.js} +18 -18
- package/dist/chunks/{location-nz9vh4f0.js → mime-xxkch54m.js} +48 -48
- package/dist/chunks/{location-3sqv75dt.js → mime-xztw10wv.js} +10 -10
- package/dist/chunks/{location-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-vsya7gwe.js → mime-y5pysmm8.js} +5 -5
- package/dist/chunks/{location-ve85v3xb.js → mime-y5rf7nzv.js} +4 -4
- package/dist/chunks/{location-sfyepjcn.js → mime-y6w2b009.js} +10 -10
- package/dist/chunks/{location-5c2c9fqf.js → mime-y968wptn.js} +20 -20
- package/dist/chunks/{location-ac3w4tg1.js → mime-ygz1yfbt.js} +11 -11
- package/dist/chunks/{location-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-y3tn1ts5.js → mime-yxj72d5f.js} +37 -37
- package/dist/chunks/{location-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-9refcsmz.js → mime-z1p8jhdj.js} +26 -26
- package/dist/chunks/{location-z72ax6ks.js → mime-zbfa0p50.js} +9 -9
- package/dist/chunks/{location-zee1rnkq.js → mime-zcrspsvn.js} +4 -4
- package/dist/chunks/{location-435mrn8p.js → mime-zgyaz76r.js} +32 -32
- package/dist/chunks/{location-7z9jfkyh.js → mime-zr0r55n7.js} +11 -11
- package/dist/chunks/{location-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-hznqgj95.js → mime-zz8ge4b6.js} +6 -6
- 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 +81 -81
- 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 +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- 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 +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- 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 +73 -73
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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 +1 -1
- 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 +95 -95
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +91 -91
- 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 +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +77 -77
- package/dist/job.js +76 -76
- 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 +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +98 -98
- package/dist/models-dev.js +95 -95
- 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 +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- 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 +117 -117
- 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 +93 -93
- 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 +115 -115
- 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 +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +87 -87
- 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 +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- 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 +224 -224
- 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 +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- 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 +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- 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 +121 -121
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +14 -14
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- 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 +78 -78
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-619r8v3y.js +0 -18
- package/dist/chunks/location-drek8w4c.js +0 -253
- package/dist/chunks/location-h5vnjv2h.js +0 -507
- package/dist/chunks/location-qf4hcvb6.js +0 -26
- /package/dist/chunks/{location-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3t0ybcrp.js → mime-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5qd3pb7m.js → mime-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service84,
|
|
3
|
-
node88
|
|
4
|
-
} from "./location-qjhbzp1x.js";
|
|
5
1
|
import {
|
|
6
2
|
Service83,
|
|
7
3
|
node87
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./mime-nz3b0w12.js";
|
|
9
5
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./mime-jfgsppse.js";
|
|
9
|
+
import {
|
|
10
|
+
Service44,
|
|
11
|
+
node46
|
|
12
|
+
} from "./mime-51f5btjf.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node84
|
|
20
|
+
} from "./mime-fy5c28xk.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-jpr19x4b.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service51,
|
|
26
|
+
node54
|
|
27
|
+
} from "./mime-3n1988wa.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-gftt206x.js";
|
|
31
31
|
import {
|
|
32
32
|
NotFoundError9
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-bsprd9wx.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./mime-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service41
|
|
39
|
+
} from "./mime-zcrspsvn.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service63,
|
|
42
|
+
node66
|
|
43
|
+
} from "./mime-spvja0zg.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service42,
|
|
48
|
+
node44,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./mime-3g92af4t.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service40,
|
|
53
|
+
node43
|
|
54
|
+
} from "./mime-108bw82g.js";
|
|
55
55
|
import {
|
|
56
56
|
node32
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./mime-s3d46ba8.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./mime-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -88,14 +88,14 @@ class Service28 extends Context.Service()("@opencode/SessionMove") {
|
|
|
88
88
|
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
91
|
+
const projects = yield* Service80;
|
|
92
|
+
const locations = yield* Service51;
|
|
93
|
+
const store = yield* Service63;
|
|
94
|
+
const execution = yield* Service40;
|
|
95
|
+
const instances = yield* Service44;
|
|
96
|
+
const admission = yield* Service42;
|
|
97
|
+
const database = yield* Service83;
|
|
98
|
+
const bus = yield* Service82;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
@@ -131,7 +131,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service41.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
136
|
return Service28.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
@@ -169,14 +169,14 @@ var node31 = makeGlobalNode({
|
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
node72,
|
|
175
|
-
node64,
|
|
172
|
+
node84,
|
|
173
|
+
node54,
|
|
176
174
|
node66,
|
|
177
|
-
|
|
178
|
-
|
|
175
|
+
node43,
|
|
176
|
+
node46,
|
|
177
|
+
node44,
|
|
179
178
|
node87,
|
|
179
|
+
node86,
|
|
180
180
|
node32
|
|
181
181
|
]
|
|
182
182
|
});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-s4kq9h0g.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-wyja02d2.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./mime-jfgsppse.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-fy5c28xk.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service79,
|
|
15
|
+
node83
|
|
16
|
+
} from "./mime-jpr19x4b.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./mime-rdw6cm16.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info10,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service52,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node55
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info10, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service52 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const bus = yield*
|
|
61
|
+
const location = yield* Service79;
|
|
62
|
+
const bus = yield* Service82;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
65
65
|
const vcs = location.vcs;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info10));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service52.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node55 = makeLocationNode({
|
|
191
|
+
service: Service52,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node83, node86]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info10, Mode2, DiffError2, InitializeError2, Service52, node55, exports_vcs };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./mime-s4kq9h0g.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.integration.transform((editor) => {
|
|
20
20
|
editor.method.update({
|
|
21
|
-
integrationID:
|
|
21
|
+
integrationID: ID13.amazonBedrock,
|
|
22
22
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./mime-jfgsppse.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -82,7 +82,7 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
82
82
|
class Service78 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
84
|
var layer25 = Layer.effect(Service78, Effect.gen(function* () {
|
|
85
|
-
const bus = yield*
|
|
85
|
+
const bus = yield* Service82;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
@@ -164,7 +164,7 @@ var layer25 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
165
|
return Service78.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var node82 = makeLocationNode({ service: Service78, layer: layer25, deps: [
|
|
167
|
+
var node82 = makeLocationNode({ service: Service78, layer: layer25, deps: [node86] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info15
|
|
6
|
+
} from "./mime-magykp64.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info12
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info15)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info12 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info12, exports_agent3 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./mime-wnm2730d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service17,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-m54tfmvb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service70
|
|
11
|
+
} from "./mime-5x7bbgzr.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service61
|
|
14
|
+
} from "./mime-9mpafgh5.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service14
|
|
17
|
+
} from "./mime-xdb2at9q.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./mime-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input2,
|
|
29
|
+
Output: () => Output2,
|
|
30
|
+
Plugin: () => Plugin2,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name2,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name2 = "write";
|
|
39
|
+
var Input2 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output2 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin2 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service14;
|
|
56
|
+
const fileMutation = yield* Service17;
|
|
57
|
+
const environment = yield* Service66;
|
|
58
|
+
const formatter = yield* Service70;
|
|
59
|
+
const permission = yield* Service61;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name2,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input2,
|
|
69
|
+
output: Output2,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name2, Input2, Output2, toModelContent2, Plugin2, exports_write };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-m7ydhh7t.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID11 = Session.ID;
|
|
5
|
+
var Info20 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID11, Info20, SessionSchema2 };
|