@opencode/core 0.0.0-dev-20980 → 0.0.0-dev-20982
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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{instruction-discovery-adj0y46e.js → model-04ym1fwe.js} +3 -3
- package/dist/chunks/{instruction-discovery-wge0rces.js → model-0fjeggm9.js} +11 -11
- package/dist/chunks/{instruction-discovery-3ayj9jt9.js → model-0m0wxxk9.js} +32 -32
- package/dist/chunks/{instruction-discovery-2zbvwph8.js → model-0njq27v6.js} +25 -25
- package/dist/chunks/{instruction-discovery-f4x5znq6.js → model-0ppgc59f.js} +2 -2
- package/dist/chunks/{instruction-discovery-0vbcp93d.js → model-0vbcp93d.js} +2 -2
- package/dist/chunks/{instruction-discovery-cjfc4zg3.js → model-13wqnzak.js} +5 -5
- package/dist/chunks/{instruction-discovery-can8zmgz.js → model-16nrxpzh.js} +19 -19
- package/dist/chunks/{instruction-discovery-r6az68db.js → model-1a5352wv.js} +3 -3
- package/dist/chunks/{instruction-discovery-qs0dkwe7.js → model-1bwe3qwc.js} +9 -9
- package/dist/chunks/{instruction-discovery-jh9zn31c.js → model-1dds5gcz.js} +30 -30
- package/dist/chunks/{instruction-discovery-fygrr2q0.js → model-1gpb38yh.js} +6 -6
- package/dist/chunks/{instruction-discovery-4v1nr47h.js → model-1qreg6w5.js} +32 -32
- package/dist/chunks/{instruction-discovery-khmqacep.js → model-1w2wqhfv.js} +4 -4
- package/dist/chunks/{instruction-discovery-8kmn0s6y.js → model-1wv6ewf4.js} +12 -12
- package/dist/chunks/{instruction-discovery-y6mhz57t.js → model-1y283654.js} +4 -4
- package/dist/chunks/{instruction-discovery-20ft3ad2.js → model-20zrxk89.js} +14 -14
- package/dist/chunks/{instruction-discovery-0hv5mzy6.js → model-228yc791.js} +18 -18
- package/dist/chunks/{instruction-discovery-n2frhsze.js → model-249n4y23.js} +4 -4
- package/dist/chunks/{instruction-discovery-zrq8kphx.js → model-2eegacq4.js} +8 -8
- package/dist/chunks/{instruction-discovery-qxqfvsd1.js → model-2gft9see.js} +17 -17
- package/dist/chunks/{instruction-discovery-qgn6gcr1.js → model-2k8khapm.js} +5 -5
- package/dist/chunks/{instruction-discovery-v3dbshaa.js → model-30ezw4dz.js} +22 -22
- package/dist/chunks/{instruction-discovery-hqhmhqr8.js → model-30x88qrh.js} +3 -3
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → model-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-pnzf6mjf.js → model-3g8j9he4.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hwn7j4h.js → model-3hwn7j4h.js} +2 -2
- package/dist/chunks/{instruction-discovery-hdffjq87.js → model-3n54exg3.js} +16 -16
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → model-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-7x56t60v.js → model-3vhfphj7.js} +36 -36
- package/dist/chunks/{instruction-discovery-dssmfc6p.js → model-3xvck7mv.js} +16 -16
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → model-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-yacamhry.js → model-41k1h118.js} +18 -18
- package/dist/chunks/{instruction-discovery-t0pyhqcw.js → model-453djzx7.js} +11 -11
- package/dist/chunks/{instruction-discovery-1rbag4ep.js → model-4e171ha0.js} +1 -1
- package/dist/chunks/{instruction-discovery-3eywyvsc.js → model-4kca7kha.js} +33 -33
- package/dist/chunks/{instruction-discovery-35mmehdk.js → model-4p1qn5j9.js} +1 -1
- package/dist/chunks/{instruction-discovery-ecw7fykc.js → model-4z3vwhnt.js} +10 -10
- package/dist/chunks/{instruction-discovery-vdhzzhph.js → model-4zjcfn6g.js} +19 -19
- package/dist/chunks/{instruction-discovery-54ma36ye.js → model-54ma36ye.js} +1 -1
- package/dist/chunks/{instruction-discovery-p90n1rcw.js → model-568arzm9.js} +4 -4
- package/dist/chunks/{instruction-discovery-g6yfr6ja.js → model-57myy5jh.js} +5 -5
- package/dist/chunks/{instruction-discovery-hdhk5mdn.js → model-5a7z4yxf.js} +7 -7
- package/dist/chunks/{instruction-discovery-hxs09j78.js → model-5e81dfca.js} +48 -48
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → model-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-eq3y7d0c.js → model-5s0x098x.js} +34 -34
- package/dist/chunks/{instruction-discovery-x4r63ps6.js → model-5xzyc826.js} +23 -23
- package/dist/chunks/{instruction-discovery-8kn3drkf.js → model-61sfa1aj.js} +27 -27
- package/dist/chunks/{instruction-discovery-16pw9hqr.js → model-6897dy4y.js} +8 -8
- package/dist/chunks/model-68yh2fx3.js +513 -0
- package/dist/chunks/{instruction-discovery-hhyxj8hd.js → model-6eadky4a.js} +47 -47
- package/dist/chunks/{instruction-discovery-pzc8xadv.js → model-6epe09p4.js} +43 -43
- package/dist/chunks/{instruction-discovery-zs8btqv5.js → model-6exrpman.js} +34 -34
- package/dist/chunks/{instruction-discovery-fkbksr7k.js → model-6hh0p4jj.js} +11 -11
- package/dist/chunks/{instruction-discovery-frz8dvr7.js → model-6kg1vfnr.js} +6 -6
- package/dist/chunks/{instruction-discovery-y3nv0j8p.js → model-6nsfmgdp.js} +27 -27
- package/dist/chunks/model-6vb0jgt0.js +26 -0
- package/dist/chunks/{instruction-discovery-bmm2z2b8.js → model-6w1q88cy.js} +9 -9
- package/dist/chunks/{instruction-discovery-51myfx81.js → model-6x53d5fk.js} +15 -15
- package/dist/chunks/{instruction-discovery-6xb47vfp.js → model-6xb47vfp.js} +1 -1
- package/dist/chunks/{instruction-discovery-vnwmzs4a.js → model-6xw3seg4.js} +5 -5
- package/dist/chunks/{instruction-discovery-775gj3j1.js → model-775gj3j1.js} +2 -2
- package/dist/chunks/{instruction-discovery-zmhzecev.js → model-782zrs06.js} +5 -5
- package/dist/chunks/{instruction-discovery-f704av7q.js → model-79rwpvn4.js} +43 -43
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-re6sq3tz.js → model-7hbcydxm.js} +32 -32
- package/dist/chunks/{instruction-discovery-8vf1790x.js → model-7j4s1nts.js} +17 -17
- package/dist/chunks/{instruction-discovery-g41pw203.js → model-7nh8f0wn.js} +24 -24
- package/dist/chunks/{instruction-discovery-t90gh92e.js → model-7pw8yz1b.js} +11 -11
- package/dist/chunks/{instruction-discovery-g6wnswc5.js → model-7x0qfkxs.js} +13 -13
- package/dist/chunks/{instruction-discovery-52dvyt3a.js → model-81njmjsm.js} +11 -11
- package/dist/chunks/{instruction-discovery-645zsrqe.js → model-866gnewa.js} +14 -14
- package/dist/chunks/{instruction-discovery-zm3tm09f.js → model-868thhtj.js} +30 -30
- package/dist/chunks/{instruction-discovery-b3ncq8pw.js → model-8beabzaw.js} +11 -11
- package/dist/chunks/{instruction-discovery-17qyy1k2.js → model-8bv2d044.js} +23 -23
- package/dist/chunks/{instruction-discovery-rrgjcs3x.js → model-8kamc0n0.js} +8 -8
- package/dist/chunks/{instruction-discovery-8m6m0r52.js → model-8m6m0r52.js} +1 -1
- package/dist/chunks/{instruction-discovery-40eh5hkx.js → model-8rez7pc9.js} +5 -5
- package/dist/chunks/{instruction-discovery-7fkffz83.js → model-8sze2n9a.js} +8 -8
- package/dist/chunks/{instruction-discovery-ntwvzxgf.js → model-918hk0p8.js} +15 -15
- package/dist/chunks/{instruction-discovery-91qna3x0.js → model-91qna3x0.js} +3 -3
- package/dist/chunks/{instruction-discovery-6cqsp3p0.js → model-97868axb.js} +16 -16
- package/dist/chunks/{instruction-discovery-fjr11dxt.js → model-9dk8dbn0.js} +43 -43
- package/dist/chunks/{instruction-discovery-tcw60jxy.js → model-9jryrv3a.js} +13 -13
- package/dist/chunks/{instruction-discovery-kf9ckja1.js → model-9m88xfvv.js} +37 -37
- package/dist/chunks/{instruction-discovery-wby3r2te.js → model-9syxb0r3.js} +11 -11
- package/dist/chunks/{instruction-discovery-jy7d7tq3.js → model-ac9zsgge.js} +14 -14
- package/dist/chunks/{instruction-discovery-x661k3y3.js → model-addxnjmp.js} +4 -4
- package/dist/chunks/{instruction-discovery-39z47dss.js → model-ajzsbz6h.js} +13 -13
- package/dist/chunks/{instruction-discovery-vzvxg30s.js → model-ap7d67yw.js} +44 -44
- package/dist/chunks/{instruction-discovery-v5gv9wk1.js → model-apnwk0zd.js} +11 -11
- package/dist/chunks/{instruction-discovery-mhp4r1fx.js → model-aspgww5t.js} +96 -96
- package/dist/chunks/{instruction-discovery-neex6wye.js → model-avj7e4e4.js} +9 -9
- package/dist/chunks/{instruction-discovery-4gdbjryk.js → model-b1et22ex.js} +26 -26
- package/dist/chunks/{instruction-discovery-wssr56ga.js → model-b3dw1nxt.js} +17 -17
- package/dist/chunks/{instruction-discovery-x8ya236d.js → model-bcffw6zz.js} +46 -46
- package/dist/chunks/{instruction-discovery-02e2vmeg.js → model-bpxpvztg.js} +16 -16
- package/dist/chunks/{instruction-discovery-ee0d9h97.js → model-bq5355gp.js} +43 -43
- package/dist/chunks/{instruction-discovery-9hn6k4tm.js → model-br0tr5aq.js} +8 -8
- package/dist/chunks/{instruction-discovery-z3e4xn2c.js → model-bsqtyhzw.js} +35 -35
- package/dist/chunks/{instruction-discovery-c1fqxshp.js → model-c1fqxshp.js} +3 -3
- package/dist/chunks/{instruction-discovery-4mwpykj0.js → model-c8bydgjz.js} +6 -6
- package/dist/chunks/{instruction-discovery-3mw9y1qv.js → model-cazcby7s.js} +24 -24
- package/dist/chunks/{instruction-discovery-m9nq6w72.js → model-csjk4z4y.js} +27 -27
- package/dist/chunks/{instruction-discovery-ad6wmjem.js → model-dbz9e5sv.js} +21 -21
- package/dist/chunks/{instruction-discovery-1wyv9252.js → model-dd5e861g.js} +2 -2
- package/dist/chunks/{instruction-discovery-j761hrkt.js → model-dexdmn7s.js} +61 -61
- package/dist/chunks/{instruction-discovery-5wfjpcbk.js → model-dhfmk2zr.js} +10 -10
- package/dist/chunks/{instruction-discovery-2vs2nh1n.js → model-dhmh7aw6.js} +4 -4
- package/dist/chunks/{instruction-discovery-cpneeje0.js → model-djszqvmq.js} +9 -9
- package/dist/chunks/{instruction-discovery-z9660960.js → model-dm0nfydx.js} +9 -9
- package/dist/chunks/{instruction-discovery-jwcy2c2z.js → model-dpkg50ah.js} +4 -4
- package/dist/chunks/{instruction-discovery-dqxsqydv.js → model-dqxsqydv.js} +1 -1
- package/dist/chunks/{instruction-discovery-007agb8z.js → model-drnf6xwf.js} +2 -2
- package/dist/chunks/{instruction-discovery-yr24gfvb.js → model-dxw5vmgr.js} +18 -18
- package/dist/chunks/{instruction-discovery-rj9cxdgr.js → model-e01gj4cd.js} +79 -79
- package/dist/chunks/{instruction-discovery-nma959mg.js → model-ed1g29hy.js} +3 -3
- package/dist/chunks/{instruction-discovery-eej6y6fw.js → model-eej6y6fw.js} +2 -2
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → model-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-nfvn86m3.js → model-efjxf17k.js} +26 -26
- package/dist/chunks/{instruction-discovery-famwqens.js → model-ekw32q82.js} +6 -6
- package/dist/chunks/{instruction-discovery-ykwtcyme.js → model-es9h6wy0.js} +4 -4
- package/dist/chunks/{instruction-discovery-wrzhbybp.js → model-exwpqpdy.js} +3 -3
- package/dist/chunks/{instruction-discovery-s399pnar.js → model-f6fz9g7x.js} +14 -14
- package/dist/chunks/{instruction-discovery-3wmmf17s.js → model-f6j4pfw7.js} +15 -15
- package/dist/chunks/model-f81tjggh.js +18 -0
- package/dist/chunks/{instruction-discovery-c7fad6cp.js → model-ff251rbv.js} +14 -14
- package/dist/chunks/{instruction-discovery-dvj9k6y5.js → model-fjb8erg1.js} +7 -7
- package/dist/chunks/{instruction-discovery-apxpv0x8.js → model-fng1q3a6.js} +20 -20
- package/dist/chunks/{instruction-discovery-8nbmfhwf.js → model-fqcgpcra.js} +9 -9
- package/dist/chunks/{instruction-discovery-dw0mz69p.js → model-g5ppxhgr.js} +21 -21
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-21e5qkn3.js → model-gj1adh3k.js} +21 -21
- package/dist/chunks/{instruction-discovery-6kzp9tjq.js → model-gj71zhbs.js} +5 -5
- package/dist/chunks/{instruction-discovery-eezpspv5.js → model-gs2he756.js} +145 -145
- package/dist/chunks/{instruction-discovery-qgfd232f.js → model-gtr46jpy.js} +13 -13
- package/dist/chunks/{instruction-discovery-e64s9qs7.js → model-h3cseehx.js} +31 -31
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-h7s7r6s9.js → model-h7s7r6s9.js} +2 -2
- package/dist/chunks/{instruction-discovery-n61013np.js → model-hcv80w8f.js} +8 -8
- package/dist/chunks/{instruction-discovery-hgz4x7wa.js → model-hgz4x7wa.js} +1 -1
- package/dist/chunks/{instruction-discovery-734ajrkc.js → model-hh74v2b0.js} +16 -16
- package/dist/chunks/{instruction-discovery-a0qzz03b.js → model-hjd8wwja.js} +17 -17
- package/dist/chunks/{instruction-discovery-0b5g1ynf.js → model-hkffa77z.js} +4 -4
- package/dist/chunks/{instruction-discovery-sea3ty2w.js → model-hvh251q6.js} +12 -12
- package/dist/chunks/{instruction-discovery-2yd2et72.js → model-hz9wj0ed.js} +4 -4
- package/dist/chunks/{instruction-discovery-1at4269a.js → model-j142m76w.js} +18 -18
- package/dist/chunks/{instruction-discovery-5bv4tcrc.js → model-jcgcvvgv.js} +24 -24
- package/dist/chunks/{instruction-discovery-jkm498h6.js → model-jj9d5szw.js} +14 -14
- package/dist/chunks/{instruction-discovery-jk540des.js → model-jk540des.js} +2 -2
- package/dist/chunks/{instruction-discovery-sbzzv78h.js → model-jmkbrx6z.js} +27 -27
- package/dist/chunks/{instruction-discovery-ncfz1prk.js → model-jvjaj5rz.js} +11 -11
- package/dist/chunks/{instruction-discovery-hqj81z0j.js → model-jwwy4gf7.js} +8 -8
- package/dist/chunks/{instruction-discovery-z2antamf.js → model-k4h0p2n0.js} +13 -13
- package/dist/chunks/{instruction-discovery-mskd129c.js → model-k6fa6tfe.js} +22 -22
- package/dist/chunks/{instruction-discovery-wswcvck5.js → model-k83c78af.js} +28 -28
- package/dist/chunks/{instruction-discovery-abe32gf4.js → model-khxmfjj5.js} +50 -50
- package/dist/chunks/{instruction-discovery-cvf8v20t.js → model-kkjc9dy5.js} +15 -15
- package/dist/chunks/{instruction-discovery-n1dycymc.js → model-kvw3mq9v.js} +7 -7
- package/dist/chunks/{instruction-discovery-z5ksaxbh.js → model-kx1gjmzp.js} +1 -1
- package/dist/chunks/{instruction-discovery-59nd36mx.js → model-m0b7pkkd.js} +37 -37
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-maspj1v3.js → model-maspj1v3.js} +1 -1
- package/dist/chunks/{instruction-discovery-sjgsw2hk.js → model-my4zabxr.js} +2 -2
- package/dist/chunks/{instruction-discovery-yrcj3v3g.js → model-n1n192bv.js} +4 -4
- package/dist/chunks/{instruction-discovery-87c5yjg0.js → model-n5n1zjbv.js} +35 -35
- package/dist/chunks/{instruction-discovery-67bfrky3.js → model-n724kc2b.js} +6 -6
- package/dist/chunks/{instruction-discovery-a2zyc4xb.js → model-n7gz5fxy.js} +7 -7
- package/dist/chunks/{instruction-discovery-s9jbw2sz.js → model-n8ja6an3.js} +9 -9
- package/dist/chunks/{instruction-discovery-mvtky1xd.js → model-nd7vcjm8.js} +13 -13
- package/dist/chunks/{instruction-discovery-nzpz7x33.js → model-nf4ty3xq.js} +29 -29
- package/dist/chunks/{instruction-discovery-azm183br.js → model-nf63sdyz.js} +24 -24
- package/dist/chunks/{instruction-discovery-rtbfvas5.js → model-nfh0qqsf.js} +33 -33
- package/dist/chunks/{instruction-discovery-xe9d9hrp.js → model-nftsbvkz.js} +27 -27
- package/dist/chunks/{instruction-discovery-x8y695va.js → model-npyp060g.js} +11 -11
- package/dist/chunks/{instruction-discovery-y945vb8n.js → model-npypc4rd.js} +8 -8
- package/dist/chunks/{instruction-discovery-5cam778c.js → model-nzs7qp78.js} +6 -6
- package/dist/chunks/{instruction-discovery-pb70a0vn.js → model-p2c1p7fg.js} +1 -1
- package/dist/chunks/{instruction-discovery-15zt2ms4.js → model-p3mytphf.js} +29 -29
- package/dist/chunks/{instruction-discovery-05tjcprd.js → model-p7jr90hv.js} +13 -13
- package/dist/chunks/{instruction-discovery-btbmdjwj.js → model-pg3d8dpb.js} +4 -4
- package/dist/chunks/{instruction-discovery-8hxtpvs0.js → model-phz50fbd.js} +9 -9
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-aw6nxpd0.js → model-pk4brtys.js} +35 -35
- package/dist/chunks/{instruction-discovery-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-fycdfzqr.js → model-pyz1vfrp.js} +21 -21
- package/dist/chunks/{instruction-discovery-q0xm7vwc.js → model-q0xm7vwc.js} +2 -2
- package/dist/chunks/{instruction-discovery-5egny073.js → model-q2736rqt.js} +17 -17
- package/dist/chunks/{instruction-discovery-5k6qpa6q.js → model-q504mf2g.js} +4 -4
- package/dist/chunks/{instruction-discovery-1xc3wfx9.js → model-q81gz903.js} +8 -8
- package/dist/chunks/{instruction-discovery-g6t3gcv0.js → model-qbfqzset.js} +10 -10
- package/dist/chunks/{instruction-discovery-6b6k7abr.js → model-qjcj5bxx.js} +11 -11
- package/dist/chunks/{instruction-discovery-qnc92qwc.js → model-qnc92qwc.js} +1 -1
- package/dist/chunks/{instruction-discovery-wt106fwp.js → model-qpzj3qa9.js} +5 -5
- package/dist/chunks/{instruction-discovery-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-h5vpj2wa.js → model-qwsskq9g.js} +25 -25
- package/dist/chunks/{instruction-discovery-ts4vywfy.js → model-qy52ep8z.js} +18 -18
- package/dist/chunks/{instruction-discovery-a7n4fjp0.js → model-r2a53ztr.js} +5 -5
- package/dist/chunks/{instruction-discovery-b5ehbfw0.js → model-r35mg9et.js} +15 -15
- package/dist/chunks/{instruction-discovery-gtpdjcym.js → model-r6734q5n.js} +13 -13
- package/dist/chunks/{instruction-discovery-het7f9pf.js → model-r6xwq2vk.js} +16 -16
- package/dist/chunks/{instruction-discovery-m50vyjfa.js → model-r7ka9ch8.js} +26 -26
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → model-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-rert0e01.js → model-rert0e01.js} +2 -2
- package/dist/chunks/{instruction-discovery-0twtf243.js → model-rgqhra37.js} +17 -17
- package/dist/chunks/{instruction-discovery-zfvgh7g4.js → model-rh2yf6b2.js} +10 -10
- package/dist/chunks/{instruction-discovery-rj3eygr5.js → model-rj3eygr5.js} +2 -2
- package/dist/chunks/{instruction-discovery-ps61xchc.js → model-rpxwryvh.js} +9 -9
- package/dist/chunks/{instruction-discovery-j7f522p2.js → model-rsswyzw7.js} +13 -13
- package/dist/chunks/{instruction-discovery-r2v05330.js → model-rzn7k92n.js} +6 -6
- package/dist/chunks/{instruction-discovery-w12v8wsy.js → model-s4q167yz.js} +22 -22
- package/dist/chunks/{instruction-discovery-t550f9t1.js → model-s8d7rejh.js} +4 -4
- package/dist/chunks/{instruction-discovery-sa8ekw3f.js → model-sa8ekw3f.js} +2 -2
- package/dist/chunks/{instruction-discovery-96egseya.js → model-sffa00cj.js} +23 -23
- package/dist/chunks/{instruction-discovery-edbdmv9d.js → model-sfj6zb2f.js} +87 -87
- package/dist/chunks/{instruction-discovery-fjjeg207.js → model-sjyz1h2d.js} +25 -25
- package/dist/chunks/{instruction-discovery-0j4gg6cd.js → model-sk663hk0.js} +29 -29
- package/dist/chunks/{instruction-discovery-ksb6m1z3.js → model-sxkxnm8w.js} +6 -6
- package/dist/chunks/{instruction-discovery-qm0v3jhh.js → model-sxz6gkc3.js} +4 -4
- package/dist/chunks/{instruction-discovery-syv4x271.js → model-syv4x271.js} +1 -1
- package/dist/chunks/{instruction-discovery-kw9xdzv2.js → model-tat11k01.js} +9 -9
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → model-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-tm0kqsz3.js → model-tm0kqsz3.js} +1 -1
- package/dist/chunks/{instruction-discovery-h1xjbvyz.js → model-ts98378q.js} +3 -3
- package/dist/chunks/{instruction-discovery-97aeaand.js → model-txm3e8qz.js} +4 -4
- package/dist/chunks/{instruction-discovery-eg3ay3en.js → model-tyawky02.js} +17 -17
- package/dist/chunks/{instruction-discovery-tyytaxap.js → model-tyytaxap.js} +1 -1
- package/dist/chunks/{instruction-discovery-v0es1rhs.js → model-v0es1rhs.js} +2 -2
- package/dist/chunks/{instruction-discovery-v7p4zvkq.js → model-v7p4zvkq.js} +2 -2
- package/dist/chunks/{instruction-discovery-117p8yad.js → model-v9sgcpv9.js} +22 -22
- package/dist/chunks/{instruction-discovery-7cehs1kv.js → model-v9vx4ha1.js} +8 -8
- package/dist/chunks/{instruction-discovery-rk1xncpn.js → model-vbktcqf2.js} +25 -25
- package/dist/chunks/{instruction-discovery-jdh4236e.js → model-vdqx43ex.js} +2 -2
- package/dist/chunks/{instruction-discovery-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-25cs5cen.js → model-vgx6weyf.js} +8 -8
- package/dist/chunks/{instruction-discovery-wjfhhfnd.js → model-vpdcaygd.js} +40 -40
- package/dist/chunks/{instruction-discovery-hg1vd9sg.js → model-vta2cxva.js} +12 -12
- package/dist/chunks/{instruction-discovery-51ngn3xq.js → model-vtdgthxf.js} +26 -26
- package/dist/chunks/{instruction-discovery-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instruction-discovery-84txncab.js → model-w1eejvng.js} +5 -5
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-b3f8fkhc.js → model-wecqtg5s.js} +5 -5
- package/dist/chunks/{instruction-discovery-tkp1z9t0.js → model-wj5z0n6a.js} +17 -17
- package/dist/chunks/{instruction-discovery-7m79y2cx.js → model-wk6sqcc5.js} +10 -10
- package/dist/chunks/model-wk815h5a.js +253 -0
- package/dist/chunks/{instruction-discovery-jx30z4t4.js → model-wr3xabqx.js} +13 -13
- package/dist/chunks/{instruction-discovery-j3bfrw3e.js → model-wwhqjdsn.js} +18 -18
- package/dist/chunks/{instruction-discovery-e615m3e0.js → model-wwncb6zf.js} +13 -13
- package/dist/chunks/{instruction-discovery-9hgz5zt1.js → model-wzf7q3t7.js} +26 -26
- package/dist/chunks/{instruction-discovery-d5zwx2kt.js → model-wzvjkcye.js} +19 -19
- package/dist/chunks/{instruction-discovery-dh5hanh7.js → model-x04pqkrt.js} +3 -3
- package/dist/chunks/{instruction-discovery-bf1qn413.js → model-xea223yn.js} +1 -1
- package/dist/chunks/{instruction-discovery-qqeeq2t9.js → model-xfkkasph.js} +7 -7
- package/dist/chunks/{instruction-discovery-9gmr6bxx.js → model-xmk3nhga.js} +18 -18
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-fwcg5fsb.js → model-y9yrahrn.js} +22 -22
- package/dist/chunks/{instruction-discovery-f2n192rq.js → model-yp2x3t23.js} +4 -4
- package/dist/chunks/{instruction-discovery-wjr9rjd7.js → model-ywt8jp22.js} +6 -6
- package/dist/chunks/{instruction-discovery-tyx4f3fs.js → model-yxebmv17.js} +23 -23
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-c59szsab.js → model-z164wy97.js} +18 -18
- package/dist/chunks/{instruction-discovery-dd54azn9.js → model-z1j5fswa.js} +4 -4
- package/dist/chunks/{instruction-discovery-7r9102fx.js → model-z4526mx1.js} +17 -17
- package/dist/chunks/{instruction-discovery-sytkrzw9.js → model-z5d5yc96.js} +30 -30
- package/dist/chunks/{instruction-discovery-vcm6vpd2.js → model-zm0hys1r.js} +14 -14
- package/dist/chunks/{instruction-discovery-c0cfdp4s.js → model-zmfgr60r.js} +9 -9
- package/dist/chunks/{instruction-discovery-761rjm1r.js → model-zmtn6p76.js} +15 -15
- package/dist/chunks/{instruction-discovery-95da1wya.js → model-znj2jcy4.js} +6 -6
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-jk3kpnhe.js → model-zr2nq6gp.js} +3 -3
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- package/dist/chunks/{instruction-discovery-vt3zax7x.js → model-zzdhwppw.js} +49 -49
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +74 -74
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +101 -101
- 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 +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- 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-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- 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 +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- 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 +94 -94
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-0fddm2n4.js +0 -253
- package/dist/chunks/instruction-discovery-jqh9b0xq.js +0 -18
- package/dist/chunks/instruction-discovery-qq90v7dz.js +0 -26
- package/dist/chunks/instruction-discovery-rde98dnc.js +0 -513
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → model-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2bv980vf.js → model-2bv980vf.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → model-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-84wd9syh.js → model-84wd9syh.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → model-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hcxmzztb.js → model-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jze0r7bz.js → model-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-m18g726c.js → model-m18g726c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-pyv0edze.js → model-pyv0edze.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ve7vex1e.js → model-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wjj7prxr.js → model-wjj7prxr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./model-hvh251q6.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-w1eejvng.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service60,
|
|
16
|
+
node63
|
|
17
|
+
} from "./model-wr3xabqx.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service52,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node54,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service52 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service81;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service60;
|
|
110
|
+
return Service52.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node54 = makeGlobalNode({
|
|
171
|
+
service: Service52,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node63]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service52, isError2, validateBranch2, node54, exports_repository_cache };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./model-wwncb6zf.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-c1fqxshp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service32 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make21({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,8 +75,8 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service83;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service32.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node36 = makeLocationNode({ service: Service32, layer, deps: [node87] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node36, exports_instruction_entry };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name15,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-16nrxpzh.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./model-ff251rbv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./model-5e81dfca.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service78
|
|
9
|
+
} from "./model-kkjc9dy5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make5
|
|
12
|
+
} from "./model-ed1g29hy.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin29
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin29 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service56;
|
|
36
|
+
const formatter = yield* Service78;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service79;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -44,7 +44,7 @@ var Plugin13 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make5({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin29, exports_formatter };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./model-ff251rbv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service17,
|
|
12
|
+
node19
|
|
13
|
+
} from "./model-jcgcvvgv.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
|
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event3,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
ListInput: () => ListInput2,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError2,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service16,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node18
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event3 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service16 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service79;
|
|
115
|
+
const search = yield* Service17;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
122
122
|
}));
|
|
123
123
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
124
124
|
if (input.includes("\x00"))
|
|
125
|
-
return yield* Effect.fail(new
|
|
125
|
+
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
126
126
|
const absolute = path.resolve(location.directory, input);
|
|
127
127
|
if (!FSUtil.contains(location.directory, absolute))
|
|
128
|
-
return yield* Effect.fail(new
|
|
129
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
128
|
+
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
129
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input })), (_, error) => Effect.die(error)));
|
|
130
130
|
if (!FSUtil.contains(root, real))
|
|
131
|
-
return yield* Effect.fail(new
|
|
131
|
+
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
132
132
|
return { absolute, real, directory: location.directory };
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service16.of({
|
|
135
135
|
find: search.find,
|
|
136
136
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
137
137
|
const target = yield* resolve(input.path);
|
|
138
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
138
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "File")
|
|
140
|
-
return yield* Effect.fail(new
|
|
140
|
+
return yield* Effect.fail(new NotFoundError2({ path: input.path }));
|
|
141
141
|
return {
|
|
142
142
|
mime: FSUtil.mimeType(target.real),
|
|
143
143
|
size: Number(info.size),
|
|
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
147
147
|
}),
|
|
148
148
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
149
149
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
150
|
-
const missing = new
|
|
150
|
+
const missing = new NotFoundError2({ path: RelativePath2.make(input.path ?? ".") });
|
|
151
151
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
152
152
|
if (info.type !== "Directory")
|
|
153
153
|
return yield* missing;
|
|
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}));
|
|
174
|
-
var
|
|
175
|
-
service:
|
|
174
|
+
var node18 = makeLocationNode({
|
|
175
|
+
service: Service16,
|
|
176
176
|
layer: baseLayer,
|
|
177
|
-
deps: [FSUtil.node,
|
|
177
|
+
deps: [FSUtil.node, node83, node19]
|
|
178
178
|
});
|
|
179
179
|
|
|
180
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
180
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service16, node18, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9syxb0r3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./model-qy52ep8z.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./model-5s0x098x.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-r7ka9ch8.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
20
|
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-nf4ty3xq.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-54ma36ye.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-sxkxnm8w.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -165,10 +165,10 @@ var headless = (app) => ({
|
|
|
165
165
|
}),
|
|
166
166
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
167
167
|
});
|
|
168
|
-
var
|
|
168
|
+
var OpenAIPlugin3 = define({
|
|
169
169
|
id: "opencode.provider.openai",
|
|
170
170
|
effect: Effect.fn(function* (ctx) {
|
|
171
|
-
const bus = yield*
|
|
171
|
+
const bus = yield* Service82;
|
|
172
172
|
const loading = Semaphore.makeUnsafe(1);
|
|
173
173
|
let chatgpt;
|
|
174
174
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -243,7 +243,7 @@ var OpenAIPlugin2 = define({
|
|
|
243
243
|
for (const name of ["context", "compaction"])
|
|
244
244
|
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
|
|
245
245
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
246
|
-
yield* bus.subscribe(
|
|
246
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
function headers(contentType, app) {
|
|
@@ -334,4 +334,4 @@ function claim(token) {
|
|
|
334
334
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
335
335
|
}
|
|
336
336
|
|
|
337
|
-
export {
|
|
337
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./model-c8bydgjz.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-f81tjggh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./model-6eadky4a.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service49;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service54), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node65
|
|
9
|
+
} from "./model-cazcby7s.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-z5d5yc96.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service5,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node7,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service62;
|
|
335
|
+
return Service5.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node7 = makeLocationNode({ service: Service5, layer, deps: [node65] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node7, exports_read_filesystem };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9syxb0r3.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-ywt8jp22.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin33,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
16
|
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin33 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -93,4 +93,4 @@ var Plugin20 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export { endpoint2,
|
|
96
|
+
export { endpoint2, Plugin33, exports_parallel };
|