@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,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./model-wwncb6zf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./model-qy52ep8z.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service49
|
|
9
|
+
} from "./model-c8bydgjz.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service43
|
|
16
|
+
} from "./model-nfh0qqsf.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-1gpb38yh.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-c1fqxshp.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,12 +41,12 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
45
|
-
const database = yield*
|
|
46
|
-
const bus = yield*
|
|
44
|
+
const instances = yield* Service49;
|
|
45
|
+
const database = yield* Service83;
|
|
46
|
+
const bus = yield* Service82;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
49
|
-
const original = input.session.revert?.snapshot ?
|
|
48
|
+
const snapshot = yield* Service43;
|
|
49
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
52
52
|
if (original) {
|
|
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
77
|
-
const bus = yield*
|
|
76
|
+
const instances = yield* Service49;
|
|
77
|
+
const bus = yield* Service82;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service43;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
|
-
const original = session.revert.snapshot ?
|
|
82
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
83
83
|
if (original)
|
|
84
84
|
yield* snapshot.restore({
|
|
85
85
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
110
110
|
continue;
|
|
111
111
|
for (const file of message.snapshot.files ?? [])
|
|
112
112
|
if (!files.has(file))
|
|
113
|
-
files.set(file,
|
|
113
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
114
114
|
}
|
|
115
115
|
return files;
|
|
116
116
|
});
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./model-wwncb6zf.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
22
|
-
configured: () =>
|
|
21
|
+
Service: () => Service82,
|
|
22
|
+
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node86,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service82 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service82,
|
|
84
|
+
deps: [node87],
|
|
85
|
+
layer: Layer.effect(Service82, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -93,7 +93,7 @@ function configured11(options) {
|
|
|
93
93
|
const projectors = new Map;
|
|
94
94
|
const listeners = new Array;
|
|
95
95
|
const durableLocks = makeUnsafe2();
|
|
96
|
-
const { db } = yield*
|
|
96
|
+
const { db } = yield* Service83;
|
|
97
97
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
98
98
|
const persist = options?.persist ?? false;
|
|
99
99
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured11(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service82.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured11(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node86 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service82, configured12, node86, exports_bus };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
ID11,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-228yc791.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
11
|
var exports_agent2 = {};
|
|
12
12
|
__export(exports_agent2, {
|
|
13
13
|
AgentPlugin: () => exports_agent2,
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin49
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -81,7 +81,7 @@ Rules:
|
|
|
81
81
|
- Never ask questions or add new questions
|
|
82
82
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
83
83
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
84
|
-
var
|
|
84
|
+
var Plugin49 = define({
|
|
85
85
|
id: "opencode.agent",
|
|
86
86
|
effect: Effect.fn(function* (ctx) {
|
|
87
87
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -127,4 +127,4 @@ var Plugin35 = define({
|
|
|
127
127
|
})
|
|
128
128
|
});
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { Plugin49, exports_agent2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./model-ff251rbv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service56
|
|
9
|
+
} from "./model-5e81dfca.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service20
|
|
12
|
+
} from "./model-g5ppxhgr.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/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin19
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin19 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service56;
|
|
34
|
+
const location = yield* Service79;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service20;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin17 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin19, exports_worktree };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./model-ff251rbv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service56
|
|
9
|
+
} from "./model-5e81dfca.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-p3mytphf.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin16
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin16 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service56;
|
|
35
|
+
const location = yield* Service79;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin16, exports_reference };
|
|
@@ -1,33 +1,33 @@
|
|
|
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
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
15
|
ID14,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-r7ka9ch8.js";
|
|
18
18
|
import {
|
|
19
19
|
ID13,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service71
|
|
22
|
+
} from "./model-nf4ty3xq.js";
|
|
23
23
|
import {
|
|
24
24
|
ID12,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Info21
|
|
26
|
+
} from "./model-1dds5gcz.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -57,8 +57,8 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
61
|
-
const bus = yield*
|
|
60
|
+
const providers = yield* Service71;
|
|
61
|
+
const bus = yield* Service82;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
64
64
|
const loaded = {};
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info21.default(providerID, ID12.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./model-qy52ep8z.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service74,
|
|
9
|
+
node78
|
|
10
|
+
} from "./model-5s0x098x.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-addxnjmp.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-4zjcfn6g.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event18,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
40
|
ID: () => ID14,
|
|
41
|
-
Info: () =>
|
|
41
|
+
Info: () => Info23,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service72,
|
|
49
|
+
node: () => node76
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
71
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
72
72
|
var ID14 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info23 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -107,14 +107,14 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service72 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service74;
|
|
117
|
+
const bus = yield* Service82;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info23.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service72.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node76 = makeLocationNode({
|
|
633
|
+
service: Service72,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node78, node86, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2,
|
|
638
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service72, node76, exports_integration, Event18 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-rj3eygr5.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,37 +1,37 @@
|
|
|
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
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
15
|
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-r7ka9ch8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service84
|
|
21
|
+
} from "./model-wk6sqcc5.js";
|
|
22
22
|
import {
|
|
23
23
|
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-nf4ty3xq.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-1dds5gcz.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID3,
|
|
32
32
|
Input13,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-b1et22ex.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
57
57
|
var RemoteResponse = Schema.Struct({
|
|
58
58
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
59
59
|
websearch: Schema.Struct({
|
|
60
|
-
providerID:
|
|
60
|
+
providerID: ID3
|
|
61
61
|
}).pipe(Schema.optional),
|
|
62
62
|
mcp: Schema.Struct({
|
|
63
63
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -172,10 +172,10 @@ function oauth(http) {
|
|
|
172
172
|
var OpencodePlugin2 = define({
|
|
173
173
|
id: "opencode.provider.opencode",
|
|
174
174
|
effect: Effect.fn(function* (ctx) {
|
|
175
|
-
const bus = yield*
|
|
175
|
+
const bus = yield* Service82;
|
|
176
176
|
const client = yield* HttpClient.HttpClient;
|
|
177
177
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
178
|
-
const managed = yield*
|
|
178
|
+
const managed = yield* Service84;
|
|
179
179
|
const scope = yield* Scope.Scope;
|
|
180
180
|
const loading = Semaphore.makeUnsafe(1);
|
|
181
181
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -397,7 +397,7 @@ var OpencodePlugin2 = define({
|
|
|
397
397
|
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
398
398
|
});
|
|
399
399
|
yield* guard(snapshot);
|
|
400
|
-
yield* bus.subscribe(
|
|
400
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
401
401
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
402
402
|
})
|
|
403
403
|
});
|