@opencode/core 0.0.0-dev-19986 → 0.0.0-dev-19989
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{model-sv1t6xhr.js → integration-02e8rxmk.js} +11 -11
- package/dist/chunks/{model-ajmr5gq8.js → integration-03j9b3jk.js} +47 -47
- package/dist/chunks/{model-ze5v0a14.js → integration-05xfxpq7.js} +6 -6
- package/dist/chunks/{model-mrkn01vt.js → integration-09narjj3.js} +18 -18
- package/dist/chunks/{model-6xvp8w0a.js → integration-0fpecbz0.js} +18 -18
- package/dist/chunks/{model-2k8khapm.js → integration-0jwsre1p.js} +5 -5
- package/dist/chunks/{model-0paq2nw3.js → integration-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-0q0f95c6.js → integration-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-rw2zfnw1.js → integration-0tdteykj.js} +43 -43
- package/dist/chunks/{model-qeaksvd1.js → integration-182k75zp.js} +10 -10
- package/dist/chunks/{model-3aq06pgr.js → integration-187bvr26.js} +22 -22
- package/dist/chunks/{model-ts2x07a1.js → integration-19w9qk9n.js} +1 -1
- package/dist/chunks/{model-r8xr0va3.js → integration-1acjjqhc.js} +4 -4
- package/dist/chunks/{model-x6348xh2.js → integration-1cx00bqb.js} +9 -9
- package/dist/chunks/{model-1dazxqgg.js → integration-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-gcd43y7x.js → integration-1fhwmga5.js} +18 -18
- package/dist/chunks/{model-a2ew8a62.js → integration-1g7epwpd.js} +7 -7
- package/dist/chunks/{model-1kf1zw0p.js → integration-1hmf3n9v.js} +24 -24
- package/dist/chunks/{model-4817rykz.js → integration-1w0ze9ww.js} +10 -10
- package/dist/chunks/integration-1x11rq2a.js +18 -0
- package/dist/chunks/{model-1ygqh575.js → integration-1ygqh575.js} +2 -2
- package/dist/chunks/{model-2jxgcw4v.js → integration-20bc4xwk.js} +8 -8
- package/dist/chunks/{model-21r38tys.js → integration-21r38tys.js} +1 -1
- package/dist/chunks/{model-b0g5qfh4.js → integration-21x81dn7.js} +9 -9
- package/dist/chunks/{model-6h73sxmp.js → integration-2402vzrj.js} +5 -5
- package/dist/chunks/{model-ebdyxsk8.js → integration-24pra0tb.js} +16 -16
- package/dist/chunks/{model-2a5m3afh.js → integration-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-80vk4pbp.js → integration-2c7hjkzv.js} +16 -16
- package/dist/chunks/{model-pm021q3e.js → integration-2e1bjvsf.js} +9 -9
- package/dist/chunks/{model-x9hs8p79.js → integration-2egga9pe.js} +16 -16
- package/dist/chunks/{model-ce5fknq2.js → integration-2hg7qvzt.js} +5 -5
- package/dist/chunks/{model-mjqa7j4g.js → integration-2trq3hb0.js} +19 -19
- package/dist/chunks/{model-7fafv5n6.js → integration-2v69z2tf.js} +30 -30
- package/dist/chunks/{model-r097esf4.js → integration-2vf4e947.js} +17 -17
- package/dist/chunks/{model-38zbz3tv.js → integration-2z2t85b8.js} +7 -7
- package/dist/chunks/integration-377qe2jc.js +503 -0
- package/dist/chunks/{model-1vnz04j6.js → integration-37nf6pc6.js} +83 -83
- package/dist/chunks/{model-xngczjm7.js → integration-389yye29.js} +30 -30
- package/dist/chunks/{model-zbpatq1k.js → integration-38wtynka.js} +23 -23
- package/dist/chunks/{model-gjrpp66z.js → integration-39nmrk64.js} +8 -8
- package/dist/chunks/{model-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-qdbakdjh.js → integration-3j9bgvtg.js} +5 -5
- package/dist/chunks/{model-m5hyj67z.js → integration-3px23hty.js} +10 -10
- package/dist/chunks/{model-w1gdqckm.js → integration-3py9tntd.js} +6 -6
- package/dist/chunks/{model-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-fkjmw100.js → integration-3tq5qxbk.js} +4 -4
- package/dist/chunks/{model-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-vp67155v.js → integration-3xy8va9h.js} +9 -9
- package/dist/chunks/{model-0hna2yy5.js → integration-3yac4whj.js} +47 -47
- package/dist/chunks/{model-b5yj1c48.js → integration-40syfmqs.js} +15 -15
- package/dist/chunks/{model-zkj5scrh.js → integration-43t7v33g.js} +1 -1
- package/dist/chunks/{model-7e8yzj3r.js → integration-48j2zt1v.js} +11 -11
- package/dist/chunks/{model-wgczap0h.js → integration-4922jtsz.js} +4 -4
- package/dist/chunks/{model-911xaqx0.js → integration-4c4kdbcc.js} +24 -24
- package/dist/chunks/{model-43y4pgnj.js → integration-4qawj64e.js} +1 -1
- package/dist/chunks/{model-r76rkyqz.js → integration-4wda806b.js} +4 -4
- package/dist/chunks/{model-cbyzv88m.js → integration-4wjgkdq6.js} +11 -11
- package/dist/chunks/{model-drwq78ky.js → integration-57b9ws8p.js} +5 -5
- package/dist/chunks/{model-5c4hm403.js → integration-5c4hm403.js} +3 -3
- package/dist/chunks/{model-5daktx2q.js → integration-5daktx2q.js} +1 -1
- package/dist/chunks/{model-fm317nwr.js → integration-5dfqdsj7.js} +11 -11
- package/dist/chunks/{model-ky3seynh.js → integration-5frpvc34.js} +2 -2
- package/dist/chunks/{model-jea9yeya.js → integration-5j0yb59s.js} +32 -32
- package/dist/chunks/{model-kbsrxwde.js → integration-5p1rfdyq.js} +16 -16
- package/dist/chunks/{model-e3qxr5gk.js → integration-5qd3pb7m.js} +2 -2
- package/dist/chunks/{model-3r1htj1f.js → integration-5rdwjsjt.js} +24 -24
- package/dist/chunks/{model-2qp6y8xf.js → integration-5sj81wm5.js} +5 -5
- package/dist/chunks/{model-5t3nmthw.js → integration-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-9hn6k4tm.js → integration-5yzzbxa7.js} +8 -8
- package/dist/chunks/{model-h9dz8fj7.js → integration-656y7mct.js} +30 -30
- package/dist/chunks/{model-669tq793.js → integration-669tq793.js} +1 -1
- package/dist/chunks/{model-7v1f06d3.js → integration-67bv38kp.js} +15 -15
- package/dist/chunks/{model-s05x4jm2.js → integration-68n7hrte.js} +20 -20
- package/dist/chunks/{model-09ez71p6.js → integration-6gya8kk4.js} +8 -8
- package/dist/chunks/{model-11dqjexa.js → integration-6hjx5zpb.js} +9 -9
- package/dist/chunks/{model-kt6y54za.js → integration-6kwbg8wh.js} +11 -11
- package/dist/chunks/{model-6msgmcgs.js → integration-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-9ga41e26.js → integration-6prmm348.js} +17 -17
- package/dist/chunks/{model-ry0fdc19.js → integration-6qm6swf7.js} +1 -1
- package/dist/chunks/{model-3ythc6yv.js → integration-6rjq4ad6.js} +4 -4
- package/dist/chunks/{model-zmekhh4v.js → integration-6ryjh4tb.js} +9 -9
- package/dist/chunks/{model-x3eddfcp.js → integration-6t859kwb.js} +11 -11
- package/dist/chunks/{model-22dh126j.js → integration-72m6hkvd.js} +6 -6
- package/dist/chunks/{model-4rdqryht.js → integration-75j49bre.js} +5 -5
- package/dist/chunks/{model-0arxtjdz.js → integration-770a54sa.js} +7 -7
- package/dist/chunks/{model-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-7w3s9kd0.js → integration-7s6gk46a.js} +7 -7
- package/dist/chunks/{model-kwrjnxj7.js → integration-7xk93j5g.js} +9 -9
- package/dist/chunks/{model-mgtgxz5r.js → integration-7ycq9z6v.js} +7 -7
- package/dist/chunks/{model-csf2jhsg.js → integration-81czwxpn.js} +4 -4
- package/dist/chunks/{model-f50x3b3s.js → integration-87zr47vs.js} +13 -13
- package/dist/chunks/{model-sjb5616m.js → integration-8ca7gxyh.js} +22 -22
- package/dist/chunks/{model-510m7gjw.js → integration-8cmvxv2n.js} +5 -5
- package/dist/chunks/{model-8d7r5vzw.js → integration-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-xxynqx5z.js → integration-8q7cq0y1.js} +3 -3
- package/dist/chunks/{model-4x08tbr8.js → integration-9d2414c3.js} +14 -14
- package/dist/chunks/{model-40k8kmwx.js → integration-9dh77anx.js} +7 -7
- package/dist/chunks/{model-8rps6qd7.js → integration-a0zk2rzn.js} +18 -18
- package/dist/chunks/{model-qwh6hz7y.js → integration-a2t1w91b.js} +5 -5
- package/dist/chunks/{model-hmw3pr0d.js → integration-a400dzpg.js} +3 -3
- package/dist/chunks/{model-gfvsdv7e.js → integration-a4j0h1fs.js} +6 -6
- package/dist/chunks/{model-kst9mf61.js → integration-a7cjve08.js} +27 -27
- package/dist/chunks/{model-aaet6srn.js → integration-aaet6srn.js} +2 -2
- package/dist/chunks/{model-1kpjy7fz.js → integration-aqjh8shd.js} +27 -27
- package/dist/chunks/{model-s5kb3k8e.js → integration-as71pn4z.js} +12 -12
- package/dist/chunks/{model-tygxfmr3.js → integration-asb0e5kp.js} +12 -12
- package/dist/chunks/{model-acyp9nmy.js → integration-b2p7bkwd.js} +4 -4
- package/dist/chunks/{model-b6gygkdw.js → integration-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-jxd6phk9.js → integration-b6vw8m9y.js} +3 -3
- package/dist/chunks/{model-3nyzas2y.js → integration-b6xep9de.js} +2 -2
- package/dist/chunks/{model-agxh3jj7.js → integration-b8zd1dgj.js} +17 -17
- package/dist/chunks/{model-rdm5x9bh.js → integration-btbt01w5.js} +3 -3
- package/dist/chunks/{model-yh63eb9v.js → integration-bzmfcsv9.js} +22 -22
- package/dist/chunks/{model-z1hxv11z.js → integration-c0r6f7mm.js} +25 -25
- package/dist/chunks/{model-b1rwpjt2.js → integration-c4dzwhsa.js} +44 -44
- package/dist/chunks/{model-yhhb1kw1.js → integration-c6zy8edb.js} +25 -25
- package/dist/chunks/{model-mg0wqdec.js → integration-cccfnh5a.js} +21 -21
- package/dist/chunks/{model-h9x5fspw.js → integration-cjjah1w8.js} +16 -16
- package/dist/chunks/{model-2hj9r0q6.js → integration-cpkwkf9h.js} +43 -43
- package/dist/chunks/{model-cpneeje0.js → integration-cwa6csj7.js} +9 -9
- package/dist/chunks/{model-0hf9g8pg.js → integration-d0k1g5nx.js} +6 -6
- package/dist/chunks/{model-376qmtdk.js → integration-d2wn45h0.js} +16 -16
- package/dist/chunks/{model-3c2za3af.js → integration-d7wd0fc3.js} +24 -24
- package/dist/chunks/{model-81swgkk7.js → integration-d9s573fh.js} +7 -7
- package/dist/chunks/{model-t1fsmxc3.js → integration-d9zdz2z2.js} +21 -21
- package/dist/chunks/{model-99ggta0x.js → integration-dcgqazna.js} +148 -148
- package/dist/chunks/{model-nxhqveyz.js → integration-ddj0ymwc.js} +5 -5
- package/dist/chunks/{model-k7kjyac2.js → integration-df3df5tx.js} +1 -1
- package/dist/chunks/{model-b00xhfda.js → integration-dfmjf6m5.js} +7 -7
- package/dist/chunks/{model-dj2t23y0.js → integration-dj2t23y0.js} +2 -2
- package/dist/chunks/{model-a6zskm12.js → integration-dm45fdp1.js} +28 -28
- package/dist/chunks/{model-tnvaxyve.js → integration-dn0hfwjd.js} +25 -25
- package/dist/chunks/{model-f5gy8qwh.js → integration-dpja50vx.js} +8 -8
- package/dist/chunks/{model-dr7gxcgm.js → integration-dyny52wp.js} +5 -5
- package/dist/chunks/{model-1984k6t2.js → integration-dz9vhg1s.js} +15 -15
- package/dist/chunks/{model-9xwr79ss.js → integration-e0x1410n.js} +16 -16
- package/dist/chunks/{model-0vqy8ggk.js → integration-e8cxnywm.js} +49 -49
- package/dist/chunks/{model-ef5x83kb.js → integration-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-efdt01wf.js → integration-eq3wzp13.js} +20 -20
- package/dist/chunks/{model-821c2grm.js → integration-eqpk1bdp.js} +12 -12
- package/dist/chunks/{model-erw5rpbs.js → integration-erw5rpbs.js} +2 -2
- package/dist/chunks/{model-etq0c3wd.js → integration-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-fab8hzt3.js → integration-evq6r5pz.js} +4 -4
- package/dist/chunks/{model-prkj3g34.js → integration-f5wf4yvx.js} +18 -18
- package/dist/chunks/{model-k1eqknct.js → integration-f8pfj2sc.js} +15 -15
- package/dist/chunks/{model-1dvkw6kv.js → integration-fc3y0cf9.js} +27 -27
- package/dist/chunks/{model-rq7amxn9.js → integration-fdhrvswx.js} +20 -20
- package/dist/chunks/{model-9dnmtttn.js → integration-fnmgnefe.js} +13 -13
- package/dist/chunks/{model-szsw9c27.js → integration-fthkkkhg.js} +1 -1
- package/dist/chunks/{model-fxbjtjnd.js → integration-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-bba39dcq.js → integration-fza5jp61.js} +24 -24
- package/dist/chunks/{model-m0ecvezt.js → integration-g26xt907.js} +22 -22
- package/dist/chunks/{model-xnr76jvj.js → integration-g3ggp856.js} +23 -23
- package/dist/chunks/{model-hzvbkkwq.js → integration-g3nv7gdt.js} +5 -5
- package/dist/chunks/{model-dpwc31n5.js → integration-g53y8d7p.js} +17 -17
- package/dist/chunks/{model-j3s2z371.js → integration-g74mfj6n.js} +9 -9
- package/dist/chunks/{model-vkvppane.js → integration-g99b61ts.js} +6 -6
- package/dist/chunks/{model-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-4dgbcxzg.js → integration-h6r3nrb9.js} +4 -4
- package/dist/chunks/{model-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-b05n7962.js → integration-h7kye0w6.js} +27 -27
- package/dist/chunks/{model-hdnk95c8.js → integration-hdnk95c8.js} +2 -2
- package/dist/chunks/{model-mphgtbj1.js → integration-hes1j7ga.js} +9 -9
- package/dist/chunks/{model-5bqdc31q.js → integration-hf35qd4r.js} +6 -6
- package/dist/chunks/{model-jpeemenq.js → integration-hkxx6036.js} +4 -4
- package/dist/chunks/{model-0y5n2msm.js → integration-hm85x9m1.js} +5 -5
- package/dist/chunks/{model-2kpwbvjk.js → integration-hp4jmy1m.js} +22 -22
- package/dist/chunks/{model-fh25xc84.js → integration-hrsemg44.js} +20 -20
- package/dist/chunks/{model-wb2crypr.js → integration-hs2a3b3x.js} +7 -7
- package/dist/chunks/{model-yw7r4j3y.js → integration-hx34f59r.js} +3 -3
- package/dist/chunks/{model-cpy6gm2a.js → integration-j15mfg1p.js} +4 -4
- package/dist/chunks/{model-j56e64zr.js → integration-j56e64zr.js} +1 -1
- package/dist/chunks/{model-rwy8m34b.js → integration-j6n5stzb.js} +3 -3
- package/dist/chunks/{model-4ywpd5fw.js → integration-jbj3etk1.js} +20 -20
- package/dist/chunks/{model-5z7mvqc9.js → integration-jf5sdrr3.js} +18 -18
- package/dist/chunks/{model-bt0xyq03.js → integration-jjvrgtbx.js} +11 -11
- package/dist/chunks/{model-jxdt7bj1.js → integration-jx4jx4s1.js} +2 -2
- package/dist/chunks/{model-nzks3jc8.js → integration-k3c624dm.js} +3 -3
- package/dist/chunks/{model-c4szcb1p.js → integration-kannkt6w.js} +8 -8
- package/dist/chunks/{model-tj1f8e25.js → integration-kb52ax7j.js} +11 -11
- package/dist/chunks/{model-n3khnxxm.js → integration-kfj975qw.js} +22 -22
- package/dist/chunks/{model-gdnmvhtd.js → integration-kpn6yc1h.js} +24 -24
- package/dist/chunks/{model-3trq1tgd.js → integration-kw3768dw.js} +13 -13
- package/dist/chunks/{model-m0jqrx5p.js → integration-m0jqrx5p.js} +2 -2
- package/dist/chunks/{model-m3fdjcah.js → integration-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-09bq7etx.js → integration-m6yfnwxk.js} +17 -17
- package/dist/chunks/{model-02x3fxhb.js → integration-m9tffrca.js} +16 -16
- package/dist/chunks/{model-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-3n7m2hk2.js → integration-mawajdgt.js} +19 -19
- package/dist/chunks/{model-5tpwjqwz.js → integration-mbhr9f82.js} +28 -28
- package/dist/chunks/{model-1bbkgx8g.js → integration-mhkvc446.js} +3 -3
- package/dist/chunks/{model-axmvebxj.js → integration-mjymc32g.js} +21 -21
- package/dist/chunks/{model-cjwramev.js → integration-mvfdckk2.js} +4 -4
- package/dist/chunks/{model-744mfh37.js → integration-mw2fg6pj.js} +35 -35
- package/dist/chunks/{model-xfjax5kj.js → integration-n0pywpq4.js} +6 -6
- package/dist/chunks/{model-cdpzgvn4.js → integration-n9xbr5qs.js} +9 -9
- package/dist/chunks/{model-qwjmgwmn.js → integration-ngts6ef0.js} +8 -8
- package/dist/chunks/{model-85qenhzt.js → integration-nh0mjxp7.js} +35 -35
- package/dist/chunks/{model-0h34xgtp.js → integration-nq9f2sea.js} +23 -23
- package/dist/chunks/integration-nqcy5pz9.js +26 -0
- package/dist/chunks/{model-ynv8jnc3.js → integration-nzkapjrr.js} +6 -6
- package/dist/chunks/{model-tbz0fdvh.js → integration-p28j5sbe.js} +5 -5
- package/dist/chunks/{model-k9a0313z.js → integration-p6kr751s.js} +11 -11
- package/dist/chunks/{model-gwc5p263.js → integration-pc2a84et.js} +1 -1
- package/dist/chunks/{model-szck2fw2.js → integration-pdpyb20r.js} +6 -6
- package/dist/chunks/{model-vbfgae2j.js → integration-ph842b28.js} +4 -4
- package/dist/chunks/{model-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{model-kqsk5bay.js → integration-ps52ddqb.js} +15 -15
- package/dist/chunks/{model-8xb42w3d.js → integration-pxb2vxqa.js} +66 -66
- package/dist/chunks/{model-z1eznz97.js → integration-pz751ev0.js} +30 -30
- package/dist/chunks/integration-qapv375x.js +4 -0
- package/dist/chunks/{model-y3ss1vq6.js → integration-qb18929a.js} +10 -10
- package/dist/chunks/{model-0qxdwqj8.js → integration-qckd8gyq.js} +18 -18
- package/dist/chunks/{model-233tjdzm.js → integration-qcnxzm3p.js} +4 -4
- package/dist/chunks/{model-qnttz4bc.js → integration-qhqcr1gh.js} +13 -13
- package/dist/chunks/{model-36tt9758.js → integration-qmgpwst3.js} +15 -15
- package/dist/chunks/{model-qsdy395h.js → integration-qsdy395h.js} +1 -1
- package/dist/chunks/{model-8dn5gfvq.js → integration-qw358esm.js} +10 -10
- package/dist/chunks/{model-gr7kh44d.js → integration-qzm805mn.js} +11 -11
- package/dist/chunks/{model-rf8gwv68.js → integration-r0jaxdnm.js} +6 -6
- package/dist/chunks/{model-rdw6cm16.js → integration-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-vnrw16qp.js → integration-resym6eg.js} +12 -12
- package/dist/chunks/{model-rhjbct0v.js → integration-rhjbct0v.js} +1 -1
- package/dist/chunks/{model-baaqp4zd.js → integration-rpg9c19m.js} +4 -4
- package/dist/chunks/{model-zeh9ct20.js → integration-rq775frq.js} +2 -2
- package/dist/chunks/{model-7rqh2ctm.js → integration-rwmpkape.js} +11 -11
- package/dist/chunks/{model-yynber98.js → integration-s4naetvv.js} +11 -11
- package/dist/chunks/{model-pdbha7qx.js → integration-s6s23k6p.js} +42 -42
- package/dist/chunks/{model-6drgx612.js → integration-s9taesah.js} +8 -8
- package/dist/chunks/{model-jck6t8kb.js → integration-ses997a2.js} +47 -47
- package/dist/chunks/{model-r014f9z3.js → integration-sk5xsj6r.js} +293 -293
- package/dist/chunks/{model-y1qqcj8h.js → integration-sm965ndy.js} +8 -8
- package/dist/chunks/{model-ey7qv34p.js → integration-sszbt98e.js} +26 -26
- package/dist/chunks/{model-7n4gz87d.js → integration-swrygd8g.js} +12 -12
- package/dist/chunks/{model-5k87bj0k.js → integration-t2saf4f4.js} +34 -34
- package/dist/chunks/{model-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-tcezcvh9.js → integration-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-zrsgf04b.js → integration-tcpv6fet.js} +8 -8
- package/dist/chunks/{model-tdstcens.js → integration-tdstcens.js} +1 -1
- package/dist/chunks/{model-68y7phbn.js → integration-tgcnk5sw.js} +5 -5
- package/dist/chunks/{model-tvtrv512.js → integration-tvtrv512.js} +1 -1
- package/dist/chunks/{model-ac4jjyh9.js → integration-v3fhj47b.js} +20 -20
- package/dist/chunks/{model-bn88dpwe.js → integration-v3pr8qqf.js} +2 -2
- package/dist/chunks/{model-f32czd11.js → integration-v8nsmxgn.js} +11 -11
- package/dist/chunks/{model-nqkhhm1a.js → integration-v9w25wjm.js} +11 -11
- package/dist/chunks/{model-yv2nec7k.js → integration-vanf8egc.js} +13 -13
- package/dist/chunks/{model-0asf0tv2.js → integration-vc0087w5.js} +29 -29
- package/dist/chunks/{model-veqvce7d.js → integration-veqvce7d.js} +1 -1
- package/dist/chunks/{model-hckbve9z.js → integration-vh11gp7b.js} +31 -31
- package/dist/chunks/{model-r98e92ep.js → integration-vncycja5.js} +4 -4
- package/dist/chunks/integration-vww0cb17.js +252 -0
- package/dist/chunks/{model-vzcthcp8.js → integration-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{model-qdkgm6eb.js → integration-wfhatf27.js} +26 -26
- package/dist/chunks/{model-j7ym9e45.js → integration-wnys78fq.js} +3 -3
- package/dist/chunks/{model-0kxajatb.js → integration-wyhfv9gp.js} +8 -8
- package/dist/chunks/{model-x1ezjp6w.js → integration-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-9r166ngg.js → integration-x2vsx718.js} +3 -3
- package/dist/chunks/{model-ctmp0cgk.js → integration-x8dsmyvq.js} +30 -30
- package/dist/chunks/{model-mh1qkymb.js → integration-x9mtwtp0.js} +4 -4
- package/dist/chunks/{model-te4j4s1y.js → integration-xp22rsqd.js} +33 -33
- package/dist/chunks/{model-y94sa969.js → integration-xpdazfxb.js} +28 -28
- package/dist/chunks/{model-q91y1k20.js → integration-xq41t9za.js} +6 -6
- package/dist/chunks/{model-2kkjm1by.js → integration-xt1tdxgr.js} +33 -33
- package/dist/chunks/{model-x816vrn9.js → integration-y0kek7d1.js} +32 -32
- package/dist/chunks/{model-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-as3fcxs1.js → integration-y6kc6tp4.js} +82 -82
- package/dist/chunks/{model-dpkg50ah.js → integration-y71avatq.js} +4 -4
- package/dist/chunks/{model-0w0pfv64.js → integration-y8wrs88g.js} +6 -6
- package/dist/chunks/{model-yrhqyw5v.js → integration-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-mxx22ze4.js → integration-yrkehnw4.js} +17 -17
- package/dist/chunks/{model-s4enseaf.js → integration-yrznvahk.js} +2 -2
- package/dist/chunks/{model-gv6a8nnw.js → integration-yyb7tjpc.js} +2 -2
- package/dist/chunks/{model-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-29x78va6.js → integration-z63w68vq.js} +6 -6
- package/dist/chunks/{model-qvm8zske.js → integration-z7dhyn6r.js} +41 -41
- package/dist/chunks/{model-g7q8d3rw.js → integration-zgdfctg1.js} +13 -13
- package/dist/chunks/{model-7zc7y866.js → integration-zm909a0b.js} +27 -27
- package/dist/chunks/{model-zy42tfqg.js → integration-zqkb6vnp.js} +9 -9
- package/dist/chunks/{model-zr2ceqn5.js → integration-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-fawkavha.js → integration-zzh81dpa.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +91 -91
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- 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 +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +128 -128
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- 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 +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +122 -122
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/model-0mesazry.js +0 -4
- package/dist/chunks/model-7z8m4jdr.js +0 -26
- package/dist/chunks/model-h2z4ejvh.js +0 -252
- package/dist/chunks/model-hk86mw2f.js +0 -503
- package/dist/chunks/model-vsdyktar.js +0 -18
- /package/dist/chunks/{model-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → integration-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3w5fmr99.js → integration-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-922hggd3.js → integration-922hggd3.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → integration-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-fxgpk5d8.js → integration-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → integration-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hjbc5kem.js → integration-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-sk3qaz4a.js → integration-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-twg0f83k.js → integration-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8cydn3q.js → integration-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → integration-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → integration-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → integration-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service39
|
|
7
|
+
} from "./integration-z7dhyn6r.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
14
|
-
import {
|
|
15
|
-
Service56
|
|
16
|
-
} from "./model-1984k6t2.js";
|
|
12
|
+
Service70
|
|
13
|
+
} from "./integration-fza5jp61.js";
|
|
17
14
|
import {
|
|
18
15
|
Service57
|
|
19
|
-
} from "./
|
|
16
|
+
} from "./integration-dz9vhg1s.js";
|
|
17
|
+
import {
|
|
18
|
+
Service58
|
|
19
|
+
} from "./integration-e8cxnywm.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service18,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./integration-f5wf4yvx.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./integration-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service41,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./integration-g26xt907.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service37
|
|
37
|
+
} from "./integration-3yac4whj.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service21
|
|
40
|
+
} from "./integration-37nf6pc6.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./integration-hkxx6036.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./integration-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input9,
|
|
53
|
+
Plugin: () => Plugin45,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name9
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name9 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input9 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin45 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service21;
|
|
122
|
+
const jobs = yield* Service57;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service70;
|
|
125
|
+
const access = yield* Service18;
|
|
126
|
+
const shell = yield* Service37;
|
|
127
|
+
const shellSelect = yield* Service41;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service58;
|
|
130
|
+
const config = yield* Service39;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin41 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name9,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin41 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name9,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input9,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin41 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name9,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name9];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin45, exports_shell2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service12,
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service12.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service12, node14, exports_location_watcher_policy };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service54,
|
|
10
|
+
node: () => node57
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service54 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node57 = LayerNode.unbound(Service54, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service54, node57, exports_service2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service44,
|
|
3
|
+
node47
|
|
4
|
+
} from "./integration-dm45fdp1.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make20,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions5 = {};
|
|
17
|
+
__export(exports_instructions5, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
+
Service: () => Service33,
|
|
20
|
+
node: () => node36
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,11 +57,11 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service33 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service44;
|
|
64
|
+
return Service33.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node36 = makeLocationNode({ service: Service33, layer, deps: [node47] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service33, node36, exports_instructions5 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-mjymc32g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info9
|
|
9
|
+
} from "./integration-v8nsmxgn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info12
|
|
12
|
+
} from "./integration-5sj81wm5.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info16
|
|
15
|
+
} from "./integration-1g7epwpd.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info10
|
|
18
|
+
} from "./integration-ddj0ymwc.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./integration-0jwsre1p.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info8
|
|
24
|
+
} from "./integration-8cmvxv2n.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info7
|
|
27
|
+
} from "./integration-0tdteykj.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./integration-qcnxzm3p.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./integration-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info7.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info12, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info16, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info9, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info9, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info10, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info8, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
12
|
+
Event: () => Event21,
|
|
13
13
|
ID: () => ID18,
|
|
14
|
-
Info: () =>
|
|
14
|
+
Info: () => Info34,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
@@ -20,12 +20,12 @@ import { Schema } from "effect";
|
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
21
|
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info34 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event21 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export { ID18, Current3,
|
|
31
|
+
export { ID18, Current3, Info34, UpdateInput4, Event21, Vcs3, exports_schema };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./integration-m9tffrca.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service20,
|
|
12
|
+
node23
|
|
13
|
+
} from "./integration-pz751ev0.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_filesystem, {
|
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
Entry: () => Entry2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event5,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
@@ -31,11 +31,11 @@ __export(exports_filesystem, {
|
|
|
31
31
|
Match: () => Match2,
|
|
32
32
|
NotFoundError: () => NotFoundError4,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service19,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node22
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event5 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service19 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service19, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service80;
|
|
95
|
+
const search = yield* Service20;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,7 +103,7 @@ var baseLayer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service19.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
109
|
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node22 = makeLocationNode({
|
|
144
|
+
service: Service19,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node84, node23]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event5, Service19, node22, exports_filesystem, Entry2, Match2, Submatch2 };
|