@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,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID6,
|
|
9
9
|
Name2,
|
|
10
10
|
available3,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service51,
|
|
12
|
+
node53
|
|
13
|
+
} from "./model-k83c78af.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
19
|
var exports_instructions2 = {};
|
|
20
20
|
__export(exports_instructions2, {
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service36,
|
|
22
22
|
SkillInstructions: () => exports_instructions2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node40
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID6,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,14 +60,14 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service36 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service51;
|
|
67
|
+
return Service36.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
-
return
|
|
70
|
+
return make21({
|
|
71
71
|
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node40 = makeLocationNode({ service: Service36, layer, deps: [node53] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service36, node40, exports_instructions2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options8,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options8 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options8, Spec2, exports_plugin3 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./model-qy52ep8z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./model-ff251rbv.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service65,
|
|
14
|
+
node69
|
|
15
|
+
} from "./model-tyawky02.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service6,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node8
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service6 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service82;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service65;
|
|
41
|
+
const location = yield* Service79;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service6.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node8 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node86, FSUtil.node, node83, node69]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service6, node8, exports_instructions };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service72
|
|
4
|
+
} from "./model-r7ka9ch8.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service72;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service60,
|
|
3
|
+
node63
|
|
4
|
+
} from "./model-wr3xabqx.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-my4zabxr.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service50,
|
|
20
|
+
make: () => make18,
|
|
21
|
+
node: () => node52
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service50 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make18 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service60;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -342,7 +342,7 @@ var make17 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service50.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make17 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service50, make18);
|
|
358
|
+
var node52 = makeGlobalNode({ service: Service50, layer, deps: [node63] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service50, make18, node52, exports_job };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./model-qy52ep8z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node77
|
|
8
|
+
} from "./model-4zjcfn6g.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./model-jmkbrx6z.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service79,
|
|
16
|
+
node83
|
|
17
|
+
} from "./model-ff251rbv.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-rpxwryvh.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service64,
|
|
26
|
+
node68
|
|
27
|
+
} from "./model-9dk8dbn0.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service28,
|
|
30
|
+
node31
|
|
31
|
+
} from "./model-j142m76w.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service25,
|
|
41
|
+
node: () => node28
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service25 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
50
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service82;
|
|
52
|
+
const location = yield* Service79;
|
|
53
|
+
const permission = yield* Service64;
|
|
54
|
+
const forms = yield* Service73;
|
|
55
|
+
const rpc = yield* Service28;
|
|
56
|
+
const project = yield* Service80;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service25.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node28 = makeLocationNode({
|
|
89
|
+
service: Service25,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [
|
|
91
|
+
deps: [node86, node83, node68, node84, node77, node31]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service25, node28, exports_location_lifecycle };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./model-tat11k01.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./model-c8bydgjz.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-f81tjggh.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service77
|
|
15
|
+
} from "./model-2eegacq4.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-1gpb38yh.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service51
|
|
23
|
+
} from "./model-k83c78af.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service49;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service77;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service51;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service76;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-jmkbrx6z.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node83
|
|
10
|
+
} from "./model-ff251rbv.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service64,
|
|
13
|
+
node68
|
|
14
|
+
} from "./model-9dk8dbn0.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service14,
|
|
26
|
+
node: () => node16,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service14 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service79;
|
|
55
|
+
const permission = yield* Service64;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service14.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node16 = makeLocationNode({ service: Service14, layer, deps: [FSUtil.node, node83, node68] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service14, resolvePath2, node16, exports_file_access };
|