@opencode/core 0.0.0-dev-21676 → 0.0.0-dev-21677
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{shell-0421tmwc.js → state-0421tmwc.js} +2 -2
- package/dist/chunks/{shell-ctdwq0jb.js → state-044qwh7v.js} +18 -18
- package/dist/chunks/{shell-yrab93vt.js → state-073kka4g.js} +19 -19
- package/dist/chunks/{shell-8fzmkc5d.js → state-07sd7cjb.js} +11 -11
- package/dist/chunks/{shell-pd641wyg.js → state-0gwh7h4t.js} +43 -43
- package/dist/chunks/{shell-1w59jp7z.js → state-0z6vy9th.js} +5 -5
- package/dist/chunks/{shell-9kfzqwtx.js → state-12qba4r3.js} +17 -17
- package/dist/chunks/{shell-cs7yvevk.js → state-14k2p94z.js} +6 -6
- package/dist/chunks/{shell-ta9qyare.js → state-14kme7tc.js} +33 -33
- package/dist/chunks/{shell-b5za93j9.js → state-16cjxvjr.js} +46 -46
- package/dist/chunks/{shell-4nfcmvhk.js → state-16tzwtzk.js} +18 -18
- package/dist/chunks/{shell-x4vc4qa8.js → state-172kwg3m.js} +15 -15
- package/dist/chunks/{shell-r9mr2fx2.js → state-1915y0wf.js} +14 -14
- package/dist/chunks/{shell-b3nb49ay.js → state-1bvftq1p.js} +13 -13
- package/dist/chunks/{shell-4e2nnt3c.js → state-1j60aste.js} +19 -19
- package/dist/chunks/{shell-dzwp3hcx.js → state-1myz4yam.js} +5 -5
- package/dist/chunks/{shell-wed5rh1m.js → state-1rfxem6r.js} +13 -13
- package/dist/chunks/{shell-1x2knyw4.js → state-1x2knyw4.js} +1 -1
- package/dist/chunks/{shell-5zrxpy3q.js → state-1yq9hg58.js} +5 -5
- package/dist/chunks/{shell-52apm2b7.js → state-1zryh94y.js} +12 -12
- package/dist/chunks/{shell-4b27svsp.js → state-2128mz7a.js} +48 -48
- package/dist/chunks/{shell-cybp101z.js → state-26rstsyj.js} +6 -6
- package/dist/chunks/{shell-1ep2p91f.js → state-27w5k9zf.js} +2 -2
- package/dist/chunks/state-2dkjcnxp.js +18 -0
- package/dist/chunks/{shell-wpjr39xp.js → state-2jta7gtx.js} +24 -24
- package/dist/chunks/{shell-2z1j29yd.js → state-2z1j29yd.js} +1 -1
- package/dist/chunks/{shell-4b4byd6t.js → state-330ptwd3.js} +331 -331
- package/dist/chunks/{shell-0k149xew.js → state-35gjm3y2.js} +3 -3
- package/dist/chunks/{shell-tb7p4ryh.js → state-35y8wyjz.js} +8 -8
- package/dist/chunks/{shell-ayjs7tqn.js → state-3cbjf1nt.js} +2 -2
- package/dist/chunks/{shell-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-ydpx6gyr.js → state-3jbgv2q6.js} +8 -8
- package/dist/chunks/{shell-3nnrz6f6.js → state-3nnrz6f6.js} +1 -1
- package/dist/chunks/{shell-y1hjbq0d.js → state-3vfjjjh8.js} +11 -11
- package/dist/chunks/{shell-40ttsd7n.js → state-3y5c7d8s.js} +47 -47
- package/dist/chunks/{shell-wn8cs04e.js → state-3zwfmt1r.js} +11 -11
- package/dist/chunks/{shell-w2eysc6j.js → state-40za9wsf.js} +9 -9
- package/dist/chunks/{shell-s9dwmje5.js → state-43znyb7f.js} +21 -21
- package/dist/chunks/{shell-1rarfw9s.js → state-44m02g6g.js} +32 -32
- package/dist/chunks/{shell-e145p2ha.js → state-49cvc3c9.js} +4 -4
- package/dist/chunks/{shell-te93dn38.js → state-49rs4jgp.js} +9 -9
- package/dist/chunks/{shell-mcszswe1.js → state-4dbr8w8g.js} +154 -154
- package/dist/chunks/{shell-wmy22jry.js → state-4jkzeynr.js} +23 -23
- package/dist/chunks/{shell-fbjqxkhq.js → state-4skqtp9p.js} +8 -8
- package/dist/chunks/{shell-4v008n1t.js → state-4v008n1t.js} +1 -1
- package/dist/chunks/{shell-3xqr0t2x.js → state-4vswmwyp.js} +35 -35
- package/dist/chunks/{shell-4xvmh7wp.js → state-4xvmh7wp.js} +3 -3
- package/dist/chunks/{shell-syjgkag2.js → state-4xy1pe9v.js} +18 -18
- package/dist/chunks/{shell-xccgq3qx.js → state-5292rdv0.js} +15 -15
- package/dist/chunks/{shell-vkfaa8pw.js → state-52y2wpbm.js} +9 -9
- package/dist/chunks/{shell-fa903x7f.js → state-56n8k00e.js} +17 -17
- package/dist/chunks/{shell-y7y0w8zn.js → state-5dy8ae48.js} +16 -16
- package/dist/chunks/{shell-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-ypzxf1by.js → state-5prd5q9g.js} +10 -10
- package/dist/chunks/{shell-f9jmr95f.js → state-5rya34s6.js} +24 -24
- package/dist/chunks/{shell-6n2c9nvr.js → state-617k3a07.js} +36 -36
- package/dist/chunks/{shell-xes9mfxx.js → state-67vajddp.js} +35 -35
- package/dist/chunks/{shell-d1x9sp18.js → state-697v9084.js} +13 -13
- package/dist/chunks/{shell-5h69x8yw.js → state-6bt41jr7.js} +13 -13
- package/dist/chunks/{shell-6esdw8yj.js → state-6esdw8yj.js} +1 -1
- package/dist/chunks/{shell-2z9d2exz.js → state-6g7wb8pj.js} +9 -9
- package/dist/chunks/{shell-6pjqjmy2.js → state-6pjqjmy2.js} +1 -1
- package/dist/chunks/{shell-pqyj7c3t.js → state-6q7w75th.js} +18 -18
- package/dist/chunks/{shell-gv59wj6b.js → state-6r7v16zt.js} +41 -41
- package/dist/chunks/{shell-76cb1hcw.js → state-76cb1hcw.js} +1 -1
- package/dist/chunks/{shell-xtxrze2j.js → state-77vk6v4z.js} +9 -9
- package/dist/chunks/{shell-revj3tw3.js → state-7b2q1d31.js} +38 -38
- package/dist/chunks/{shell-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-pyab3nm0.js → state-7k31ezqp.js} +12 -12
- package/dist/chunks/{shell-89tdhaej.js → state-7pbzmqpv.js} +2 -2
- package/dist/chunks/{shell-szcyxb54.js → state-7q9q1gy8.js} +7 -7
- package/dist/chunks/{shell-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
- package/dist/chunks/{shell-8pqzhdc3.js → state-85e2d6ej.js} +4 -4
- package/dist/chunks/{shell-2ah0g8wp.js → state-8cbvmr14.js} +5 -5
- package/dist/chunks/{shell-18pk5v5f.js → state-8g0yjqch.js} +47 -47
- package/dist/chunks/{shell-qjgzc4b4.js → state-8jztxfpf.js} +4 -4
- package/dist/chunks/{shell-jxf43kwy.js → state-8k817ta6.js} +6 -6
- package/dist/chunks/{shell-9g4cv0f3.js → state-8k8s1td8.js} +5 -5
- package/dist/chunks/{shell-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
- package/dist/chunks/{shell-495kryxw.js → state-8x5fa4pj.js} +13 -13
- package/dist/chunks/{shell-h5qan5zz.js → state-8ykqf5wm.js} +11 -11
- package/dist/chunks/{shell-kxa065gd.js → state-914jfpmk.js} +5 -5
- package/dist/chunks/{shell-91rj84md.js → state-91rj84md.js} +1 -1
- package/dist/chunks/{shell-bnjf1eky.js → state-93xm1b5s.js} +4 -4
- package/dist/chunks/{shell-bqrhmwq8.js → state-9d31p0t1.js} +30 -30
- package/dist/chunks/{shell-6w0nd92w.js → state-9f8ska64.js} +32 -32
- package/dist/chunks/{shell-bsrm4kv0.js → state-9nkjg9qd.js} +6 -6
- package/dist/chunks/{shell-bqwdyg2t.js → state-9r0x1bva.js} +2 -2
- package/dist/chunks/{shell-w0e5dcpe.js → state-a4bn6z71.js} +86 -86
- package/dist/chunks/{shell-034tev2y.js → state-aj7mw0zk.js} +2 -2
- package/dist/chunks/{shell-f5t8t5m7.js → state-ajd7a4ft.js} +20 -20
- package/dist/chunks/{shell-bjb78nd5.js → state-ancq0kt2.js} +25 -25
- package/dist/chunks/{shell-k18xgkct.js → state-aq0ejh1v.js} +29 -29
- package/dist/chunks/{shell-0q39ew5d.js → state-aw3jaa69.js} +184 -184
- package/dist/chunks/{shell-efacwc3z.js → state-axjjc5wn.js} +4 -4
- package/dist/chunks/{shell-gjp1trbb.js → state-ayw644re.js} +16 -16
- package/dist/chunks/{shell-b0mv4wxm.js → state-b0mv4wxm.js} +2 -2
- package/dist/chunks/{shell-xdq354nz.js → state-b5120fys.js} +6 -6
- package/dist/chunks/{shell-5nnwax6m.js → state-b6vsg801.js} +5 -5
- package/dist/chunks/{shell-a13nhj24.js → state-bjhzkqyk.js} +4 -4
- package/dist/chunks/{shell-bstexjd6.js → state-bstexjd6.js} +1 -1
- package/dist/chunks/{shell-rf4jwcas.js → state-c22sd85a.js} +24 -24
- package/dist/chunks/{shell-c3cfh5w6.js → state-c3cfh5w6.js} +2 -2
- package/dist/chunks/{shell-mtkfycnh.js → state-c9t2ty9q.js} +4 -4
- package/dist/chunks/{shell-kdxgykmr.js → state-cc3fa17z.js} +6 -6
- package/dist/chunks/{shell-0q213vj2.js → state-cfkc8wvf.js} +4 -4
- package/dist/chunks/{shell-tngq8s39.js → state-ct0qct1p.js} +29 -29
- package/dist/chunks/{shell-ceq71z2s.js → state-d1d7qngs.js} +33 -33
- package/dist/chunks/{shell-sfkj0ta1.js → state-d1r5081s.js} +5 -5
- package/dist/chunks/{shell-rm20pgxh.js → state-d47qntqb.js} +14 -14
- package/dist/chunks/{shell-d4v9tmah.js → state-d4v9tmah.js} +2 -2
- package/dist/chunks/{shell-wd6msta3.js → state-dbdfhpvc.js} +8 -8
- package/dist/chunks/{shell-afmnpta1.js → state-dbmp929s.js} +5 -5
- package/dist/chunks/{shell-y5nnnm2j.js → state-dc38nx3a.js} +20 -20
- package/dist/chunks/{shell-gdc8gtm1.js → state-dek4cct4.js} +25 -25
- package/dist/chunks/{shell-8rp0m0m0.js → state-dgmfjgtz.js} +1 -1
- package/dist/chunks/{shell-0a71s41t.js → state-dj5majz4.js} +11 -11
- package/dist/chunks/{shell-tgrj2fed.js → state-dkm83r25.js} +43 -43
- package/dist/chunks/{shell-0gka690g.js → state-dkq45v8d.js} +6 -6
- package/dist/chunks/{shell-4zqkcf57.js → state-dmq3ym5w.js} +2 -2
- package/dist/chunks/{shell-998yhzzq.js → state-dvj9ct8m.js} +3 -3
- package/dist/chunks/{shell-jentk5nx.js → state-dwh0pt33.js} +23 -23
- package/dist/chunks/{shell-5qd3pb7m.js → state-e3qxr5gk.js} +2 -2
- package/dist/chunks/{shell-9p9xqj3m.js → state-e5dqjz6v.js} +8 -8
- package/dist/chunks/{shell-hx6gesf1.js → state-e71bb87j.js} +8 -8
- package/dist/chunks/{shell-e834z07m.js → state-e834z07m.js} +1 -1
- package/dist/chunks/{shell-3vwgbyw7.js → state-e8w4nwgj.js} +11 -11
- package/dist/chunks/{shell-hecd99m2.js → state-ec2dc8dw.js} +1 -1
- package/dist/chunks/{shell-v40bhpkf.js → state-ee9c368m.js} +12 -12
- package/dist/chunks/{shell-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{shell-cfmjsj78.js → state-eh870njm.js} +23 -23
- package/dist/chunks/{shell-0v3xvz1q.js → state-en0q6wa2.js} +50 -50
- package/dist/chunks/{shell-ha4hgd8e.js → state-eqmkrg1f.js} +21 -21
- package/dist/chunks/{shell-hvzv56hn.js → state-eqr22vcz.js} +34 -34
- package/dist/chunks/{shell-c9fgk02w.js → state-err1h8pn.js} +46 -46
- package/dist/chunks/{shell-fvc4bqe2.js → state-es3s6s73.js} +5 -5
- package/dist/chunks/{shell-8k8atbvj.js → state-esj00h2k.js} +28 -28
- package/dist/chunks/{shell-81rwv4vy.js → state-ezbq2hxf.js} +3 -3
- package/dist/chunks/{shell-axmn5kjp.js → state-f4ng6gb6.js} +70 -70
- package/dist/chunks/{shell-c3g877z7.js → state-f4q3f8d1.js} +19 -19
- package/dist/chunks/{shell-fffv3p7h.js → state-fffv3p7h.js} +1 -1
- package/dist/chunks/{shell-j9v24vp1.js → state-fv3nkzgx.js} +18 -18
- package/dist/chunks/{shell-6dj066xs.js → state-fwm6gfkk.js} +11 -11
- package/dist/chunks/{shell-s85z3cra.js → state-fwp9mfc9.js} +4 -4
- package/dist/chunks/{shell-30xq731m.js → state-fy6jsj22.js} +6 -6
- package/dist/chunks/{shell-g5h9c0rr.js → state-g5h9c0rr.js} +2 -2
- package/dist/chunks/{shell-a4j9f8bt.js → state-gcn4eed3.js} +11 -11
- package/dist/chunks/{shell-20nwq5j7.js → state-gczz9yj9.js} +10 -10
- package/dist/chunks/{shell-bx6xdp1z.js → state-gn44pbev.js} +20 -20
- package/dist/chunks/{shell-f9nf7jc4.js → state-h24qrdq3.js} +13 -13
- package/dist/chunks/{shell-f82ybqrx.js → state-h5mfmrme.js} +5 -5
- package/dist/chunks/{shell-27037k44.js → state-haf5xzvt.js} +24 -24
- package/dist/chunks/{shell-th8jc8p0.js → state-hcgm01z1.js} +11 -11
- package/dist/chunks/{shell-5x4mtra2.js → state-hgk34cm5.js} +14 -14
- package/dist/chunks/{shell-ry17vq2q.js → state-hvcnescj.js} +7 -7
- package/dist/chunks/{shell-j113cymg.js → state-j113cymg.js} +1 -1
- package/dist/chunks/{shell-ybyct7vf.js → state-jcn8ehqj.js} +20 -20
- package/dist/chunks/{shell-gcf8bw3p.js → state-jgdcf8mk.js} +56 -56
- package/dist/chunks/{shell-cx0xwsw9.js → state-k1na0zkx.js} +26 -26
- package/dist/chunks/{shell-k4ggaqy8.js → state-k5yr72j3.js} +34 -34
- package/dist/chunks/{shell-k814nvkf.js → state-k814nvkf.js} +1 -1
- package/dist/chunks/{shell-kt2gry7f.js → state-k9b99h6a.js} +13 -13
- package/dist/chunks/{shell-t7e9twk7.js → state-kgtnj03x.js} +19 -19
- package/dist/chunks/{shell-cyeygnsd.js → state-kk6mskxb.js} +8 -8
- package/dist/chunks/{shell-j2a3kw55.js → state-kkfb8c0y.js} +14 -14
- package/dist/chunks/{shell-aeqacknm.js → state-kr19zgz3.js} +9 -9
- package/dist/chunks/{shell-qb45pfqr.js → state-ksn4rs0j.js} +37 -37
- package/dist/chunks/{shell-35s6a6dm.js → state-m0rn1g2h.js} +8 -8
- package/dist/chunks/{shell-m1714858.js → state-m1714858.js} +1 -1
- package/dist/chunks/{shell-vmfhgzt5.js → state-m37sd98t.js} +4 -4
- package/dist/chunks/{shell-7zt9x3hf.js → state-m3ssbqdv.js} +20 -20
- package/dist/chunks/{shell-074n756q.js → state-m5bvs3x7.js} +22 -22
- package/dist/chunks/{shell-j6r0nxf6.js → state-m9168hv5.js} +32 -32
- package/dist/chunks/{shell-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-maspj1v3.js → state-maspj1v3.js} +1 -1
- package/dist/chunks/{shell-tfhekx6w.js → state-mkh464f3.js} +15 -15
- package/dist/chunks/{shell-79vtmvb8.js → state-mpcws20e.js} +32 -32
- package/dist/chunks/{shell-99dgtdd3.js → state-msrrdpv7.js} +28 -28
- package/dist/chunks/{shell-tasvem1v.js → state-mt3ysty9.js} +6 -6
- package/dist/chunks/{shell-n0p0277s.js → state-n0p0277s.js} +1 -1
- package/dist/chunks/{shell-nah043kf.js → state-nah043kf.js} +1 -1
- package/dist/chunks/{shell-6dvkpyc2.js → state-nbyn5sh0.js} +3 -3
- package/dist/chunks/{shell-hsphd179.js → state-ncagyvky.js} +11 -11
- package/dist/chunks/{shell-gawdr880.js → state-njsbtr8g.js} +14 -14
- package/dist/chunks/{shell-sjrghj3a.js → state-nkh6rh9e.js} +12 -12
- package/dist/chunks/{shell-ss358qx3.js → state-nvxqht09.js} +3 -3
- package/dist/chunks/{shell-b5z61bee.js → state-nz16ptw2.js} +5 -5
- package/dist/chunks/{shell-p015t6z3.js → state-p015t6z3.js} +2 -2
- package/dist/chunks/{shell-jx89vj1k.js → state-pc1v25hk.js} +3 -3
- package/dist/chunks/{shell-0v6bwa58.js → state-pgz5fff2.js} +23 -23
- package/dist/chunks/{shell-fcngkh0c.js → state-phfzhb8b.js} +20 -20
- package/dist/chunks/{shell-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{shell-t12sb919.js → state-prtgnnd9.js} +30 -30
- package/dist/chunks/{shell-v4sbtd6b.js → state-psdm5k4e.js} +30 -30
- package/dist/chunks/{shell-3f6nh3fm.js → state-q036w687.js} +11 -11
- package/dist/chunks/{shell-yz8d3crg.js → state-q0m6jj65.js} +22 -22
- package/dist/chunks/{shell-ny4bcy2e.js → state-q18facvz.js} +1 -1
- package/dist/chunks/{shell-b2rkyjcn.js → state-q9dgbjd9.js} +7 -7
- package/dist/chunks/{shell-9hz3fran.js → state-q9gvrhhm.js} +23 -23
- package/dist/chunks/{shell-ey9szsmw.js → state-qcdew78b.js} +21 -21
- package/dist/chunks/{shell-53zfzs41.js → state-qdz8jb55.js} +11 -11
- package/dist/chunks/{shell-099mgyan.js → state-qek2023v.js} +30 -30
- package/dist/chunks/{shell-wmjzvx4b.js → state-qqg9c0kv.js} +4 -4
- package/dist/chunks/{shell-x0ra2npf.js → state-qzjk3zq0.js} +11 -11
- package/dist/chunks/{shell-r0yr0wbs.js → state-r0yr0wbs.js} +1 -1
- package/dist/chunks/{shell-9zxsqdn3.js → state-r8dac9hr.js} +29 -29
- package/dist/chunks/{shell-cd1jdth3.js → state-r9x1a239.js} +8 -8
- package/dist/chunks/{shell-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
- package/dist/chunks/{shell-hbg8agq7.js → state-rerepda3.js} +11 -11
- package/dist/chunks/{shell-1bprt56t.js → state-rt3cvzdv.js} +4 -4
- package/dist/chunks/{shell-rt5dr6hb.js → state-rt5dr6hb.js} +1 -1
- package/dist/chunks/{shell-sn2bmg30.js → state-s27kve8r.js} +9 -9
- package/dist/chunks/{shell-1exqj9pt.js → state-s2x7krsf.js} +11 -11
- package/dist/chunks/{shell-tfmz659n.js → state-s5kcmw61.js} +2 -2
- package/dist/chunks/{shell-wyrx21ay.js → state-s7ea1dqv.js} +5 -5
- package/dist/chunks/{shell-12pj2cn2.js → state-s7hry362.js} +88 -88
- package/dist/chunks/{shell-qv7y9773.js → state-s7kyse9r.js} +9 -9
- package/dist/chunks/{shell-ervpxwtf.js → state-sa0dwrka.js} +12 -12
- package/dist/chunks/{shell-1j6cffe2.js → state-sg11w837.js} +20 -20
- package/dist/chunks/{shell-c7j93mmt.js → state-sj5xbg4q.js} +8 -8
- package/dist/chunks/{shell-dvz1915h.js → state-smz3qfre.js} +20 -20
- package/dist/chunks/{shell-sqjzf8x2.js → state-sqjzf8x2.js} +1 -1
- package/dist/chunks/{shell-hj6y046f.js → state-srpk9j1a.js} +23 -23
- package/dist/chunks/{shell-5rsk1nq8.js → state-st7p3hwb.js} +2 -2
- package/dist/chunks/{shell-ammt9wv8.js → state-syh9frb4.js} +31 -31
- package/dist/chunks/{shell-trc09wwy.js → state-sz2ee4nr.js} +26 -26
- package/dist/chunks/{shell-83y10q5s.js → state-tc25ehwb.js} +13 -13
- package/dist/chunks/{shell-10jw5ygn.js → state-tc831k31.js} +25 -25
- package/dist/chunks/{shell-tczq8hjw.js → state-tczq8hjw.js} +1 -1
- package/dist/chunks/{shell-ydsespw1.js → state-tg1vr1qt.js} +8 -8
- package/dist/chunks/{shell-zsm4q6zj.js → state-thtr5m16.js} +34 -34
- package/dist/chunks/{shell-tw8zr1ps.js → state-tw8zr1ps.js} +1 -1
- package/dist/chunks/{shell-0wrn680p.js → state-twe99j6z.js} +43 -43
- package/dist/chunks/{shell-twv2r8f4.js → state-twv2r8f4.js} +2 -2
- package/dist/chunks/{shell-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
- package/dist/chunks/{shell-nkpw7cy5.js → state-v32krhk0.js} +4 -4
- package/dist/chunks/{shell-5qgzfdx6.js → state-v38w2q2a.js} +19 -19
- package/dist/chunks/{shell-ed0mtxnh.js → state-v3ntmnn8.js} +21 -21
- package/dist/chunks/{shell-hc7ans2w.js → state-v82fj2wn.js} +3 -3
- package/dist/chunks/{shell-vd3b3yk9.js → state-vd3b3yk9.js} +1 -1
- package/dist/chunks/{shell-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-0tzmkv2e.js → state-vm2jz6zq.js} +15 -15
- package/dist/chunks/{shell-czrdzzab.js → state-vqd344gs.js} +11 -11
- package/dist/chunks/{shell-vrcsa8qx.js → state-vrcsa8qx.js} +2 -2
- package/dist/chunks/{shell-p6xjr4s7.js → state-vrd3ahjy.js} +23 -23
- package/dist/chunks/{shell-f1e7k22r.js → state-vtxf8xbz.js} +4 -4
- package/dist/chunks/{shell-gt5g569e.js → state-vw0xqtsc.js} +35 -35
- package/dist/chunks/{shell-3sywvchv.js → state-vywg2bcd.js} +23 -23
- package/dist/chunks/state-w0dmea0f.js +26 -0
- package/dist/chunks/{shell-pg605kec.js → state-w3vrex7x.js} +12 -12
- package/dist/chunks/{shell-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-0pv52n9j.js → state-w60hkx9t.js} +12 -12
- package/dist/chunks/{shell-wakvkjy4.js → state-wakvkjy4.js} +1 -1
- package/dist/chunks/{shell-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{shell-gv55t52j.js → state-wr1xkt7e.js} +28 -28
- package/dist/chunks/{shell-wr3re1en.js → state-wr3re1en.js} +1 -1
- package/dist/chunks/{shell-9kh0htnp.js → state-xaknme5b.js} +16 -16
- package/dist/chunks/{shell-2jdqz29y.js → state-xavhsc1g.js} +14 -14
- package/dist/chunks/{shell-e00z28p8.js → state-xcq2y651.js} +16 -16
- package/dist/chunks/{shell-msft5056.js → state-xed0bk1y.js} +26 -26
- package/dist/chunks/{shell-pjxmvhc5.js → state-xfgh3jy3.js} +24 -24
- package/dist/chunks/{shell-xd25kzce.js → state-xhqrarz2.js} +9 -9
- package/dist/chunks/{shell-fjfaey98.js → state-xrdxc1gc.js} +39 -39
- package/dist/chunks/{shell-750jpgf2.js → state-xrsvkqaj.js} +27 -27
- package/dist/chunks/{shell-052hgm15.js → state-xyygv393.js} +1 -1
- package/dist/chunks/{shell-qq321qph.js → state-y0zshknz.js} +5 -5
- package/dist/chunks/{shell-nsqj0y1h.js → state-y5bgxahe.js} +25 -25
- package/dist/chunks/{shell-yb20nhc3.js → state-yb20nhc3.js} +1 -1
- package/dist/chunks/{shell-91vv7ayb.js → state-yfwy0123.js} +21 -21
- package/dist/chunks/{shell-wafjmk08.js → state-yh1v4sg4.js} +1 -1
- package/dist/chunks/{shell-t75rajx1.js → state-yhgkr2m9.js} +45 -45
- package/dist/chunks/{shell-1r91ydea.js → state-yr9cnj92.js} +4 -4
- package/dist/chunks/{shell-0vgge0e4.js → state-yws5p2hn.js} +21 -21
- package/dist/chunks/{shell-8cf452yy.js → state-yzq7xqav.js} +15 -15
- package/dist/chunks/{shell-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-z38nccrw.js → state-z38nccrw.js} +1 -1
- package/dist/chunks/{shell-19pped8k.js → state-z3zsr4pa.js} +15 -15
- package/dist/chunks/{shell-e3hyx3wp.js → state-z6vkvca5.js} +9 -9
- package/dist/chunks/{shell-88kypjvy.js → state-zfyb5tr4.js} +4 -4
- package/dist/chunks/{shell-zkg84ctx.js → state-zkg84ctx.js} +1 -1
- package/dist/chunks/{shell-c57tq9x6.js → state-zsyhkwp4.js} +14 -14
- package/dist/chunks/{shell-dx4aek7k.js → state-zztrcv6s.js} +6 -6
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/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 +90 -90
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +1 -1
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- 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 +93 -93
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +121 -121
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- 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 +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- 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 +123 -123
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- 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 +134 -134
- package/dist/session/context.js +164 -164
- 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 +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +95 -95
- 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 +4 -4
- 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 +128 -128
- package/dist/session/projector.js +89 -89
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +2 -2
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +93 -93
- 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 +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- 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/shell-2mqgqhm8.js +0 -26
- package/dist/chunks/shell-d77dj7jw.js +0 -18
- /package/dist/chunks/{shell-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → state-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5fjb7ams.js → state-5fjb7ams.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a058387c.js → state-a058387c.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → state-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jze0r7bz.js → state-jze0r7bz.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-pkyv6v7h.js → state-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wjj7prxr.js → state-wjj7prxr.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-dmq3ym5w.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service58,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node60,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service58 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service58, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node60 = LayerNode.unbound(Service58, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service58;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service58, node60, reload2, canonical3, exports_location_service_map };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service68,
|
|
8
|
+
node71
|
|
9
|
+
} from "./state-eqmkrg1f.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service67,
|
|
24
|
+
node: () => node70
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service67 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service68;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service67.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node70 = makeLocationNode({ service: Service67, layer, deps: [node71, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service67, node70, exports_ripgrep };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service86,
|
|
3
|
-
node90
|
|
4
|
-
} from "./shell-3f6nh3fm.js";
|
|
5
1
|
import {
|
|
6
2
|
Service85,
|
|
7
3
|
node89
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./state-q036w687.js";
|
|
5
|
+
import {
|
|
6
|
+
Service84,
|
|
7
|
+
node88
|
|
8
|
+
} from "./state-xcq2y651.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service46,
|
|
11
|
+
node48
|
|
12
|
+
} from "./state-ayw644re.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service45,
|
|
15
|
+
node47
|
|
16
|
+
} from "./state-9nkjg9qd.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./state-c9t2ty9q.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service42
|
|
26
|
+
} from "./state-fwp9mfc9.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service54,
|
|
29
|
+
node56
|
|
30
|
+
} from "./state-12qba4r3.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-1myz4yam.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./state-sz2ee4nr.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./state-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service41,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer17,
|
|
47
|
+
node: () => node44,
|
|
48
48
|
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service41 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,12 +59,12 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
67
|
-
const db = (yield*
|
|
62
|
+
var layer17 = Layer.effect(Service41, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service54;
|
|
64
|
+
const instances = yield* Service45;
|
|
65
|
+
const bus = yield* Service84;
|
|
66
|
+
const jobs = yield* Service46;
|
|
67
|
+
const db = (yield* Service85).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
70
70
|
commit: () => store.claim(sessionID)
|
|
@@ -76,14 +76,14 @@ var layer16 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service42.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make16({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer16 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service41.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer16 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node44 = makeGlobalNode({
|
|
127
|
+
service: Service41,
|
|
128
|
+
layer: layer17,
|
|
129
|
+
deps: [node56, node47, node88, node89, node48]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer2 = Layer.succeed(
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service41, Service41.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service33, Service33.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service41, terminal2, layer17, node44, noopLayer2, exports_execution };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./state-err1h8pn.js";
|
|
4
4
|
import {
|
|
5
5
|
Service39
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-h5mfmrme.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-6pjqjmy2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin19
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin19 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service70;
|
|
26
26
|
const image = yield* Service39;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
@@ -43,4 +43,4 @@ var Plugin3 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin19, exports_image };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./state-xcq2y651.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service35,
|
|
7
|
+
node38
|
|
8
|
+
} from "./state-2128mz7a.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-2z1j29yd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service53,
|
|
14
|
+
node55
|
|
15
|
+
} from "./state-jgdcf8mk.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service38,
|
|
18
|
+
node41
|
|
19
|
+
} from "./state-phfzhb8b.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service51,
|
|
22
|
+
node53
|
|
23
|
+
} from "./state-dj5majz4.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_MIMES2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./state-v38w2q2a.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./state-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/mcp.ts
|
|
32
32
|
var exports_mcp3 = {};
|
|
33
33
|
__export(exports_mcp3, {
|
|
34
34
|
McpTool: () => exports_mcp3,
|
|
35
|
-
Service: () =>
|
|
36
|
-
layer: () =>
|
|
37
|
-
name: () =>
|
|
35
|
+
Service: () => Service34,
|
|
36
|
+
layer: () => layer15,
|
|
37
|
+
name: () => name15,
|
|
38
38
|
namespace: () => namespace2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node37
|
|
40
40
|
});
|
|
41
41
|
import { ToolFailure } from "@opencode/ai";
|
|
42
42
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -45,16 +45,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
45
45
|
import { extension } from "mime-types";
|
|
46
46
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
47
47
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
48
|
-
var
|
|
48
|
+
var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service34 extends Context.Service()("@opencode/McpTool") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const mcp = yield*
|
|
54
|
-
const tools = yield*
|
|
55
|
-
const bus = yield*
|
|
56
|
-
const permission = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
52
|
+
var layer15 = Layer.effect(Service34, Effect.gen(function* () {
|
|
53
|
+
const mcp = yield* Service35;
|
|
54
|
+
const tools = yield* Service38;
|
|
55
|
+
const bus = yield* Service84;
|
|
56
|
+
const permission = yield* Service53;
|
|
57
|
+
const toolOutput = yield* Service51;
|
|
58
58
|
const lock = Semaphore.makeUnsafe(1);
|
|
59
59
|
let discovered = [];
|
|
60
60
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -69,7 +69,7 @@ var layer12 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
69
69
|
output: tool.outputSchema ?? {},
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
yield* permission.assert({
|
|
72
|
-
action:
|
|
72
|
+
action: name15(tool.server, tool.name),
|
|
73
73
|
resources: ["*"],
|
|
74
74
|
save: ["*"],
|
|
75
75
|
metadata: { input: input ?? {} },
|
|
@@ -111,7 +111,7 @@ var layer12 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
111
111
|
output: output(),
|
|
112
112
|
...content.length === 0 ? {} : { content }
|
|
113
113
|
};
|
|
114
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
114
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name15(tool.server, tool.name)}` })))
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
});
|
|
@@ -124,7 +124,7 @@ var layer12 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service34.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
129
|
var toContent = Effect.fnUntraced(function* (part, toolOutput) {
|
|
130
130
|
if (part.type === "text")
|
|
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
|
|
|
144
144
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
145
145
|
};
|
|
146
146
|
});
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
149
|
-
layer:
|
|
150
|
-
deps: [
|
|
147
|
+
var node37 = makeLocationNode({
|
|
148
|
+
service: Service34,
|
|
149
|
+
layer: layer15,
|
|
150
|
+
deps: [node41, node38, node88, node55, node53]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { namespace2,
|
|
153
|
+
export { namespace2, name15, Service34, layer15, node37, exports_mcp3 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./state-xcq2y651.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Event18
|
|
6
|
+
} from "./state-4vswmwyp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID14
|
|
9
|
+
} from "./state-14kme7tc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID13
|
|
12
|
+
} from "./state-44m02g6g.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/openai-context-caps.ts
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Stream } from "effect";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID14.make("openai");
|
|
18
18
|
var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
|
|
19
19
|
var legacyInput = 272000;
|
|
20
20
|
var currentInput = 500000;
|
|
21
21
|
var OpenAIContextCapsPlugin2 = define({
|
|
22
22
|
id: "opencode.provider.openai-context-caps",
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
24
|
-
const bus = yield*
|
|
24
|
+
const bus = yield* Service84;
|
|
25
25
|
let signedIn = false;
|
|
26
26
|
const load = Effect.fn("OpenAIContextCapsPlugin.load")(function* () {
|
|
27
27
|
const connection = yield* ctx.integration.connection.active(integrationID);
|
|
@@ -34,7 +34,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
34
34
|
yield* ctx.model.transform((models) => {
|
|
35
35
|
if (!signedIn)
|
|
36
36
|
return;
|
|
37
|
-
for (const model of models.list(
|
|
37
|
+
for (const model of models.list(ID13.openai)) {
|
|
38
38
|
models.update(model.providerID, model.id, (draft) => {
|
|
39
39
|
const input = cap(draft.modelID ?? draft.id);
|
|
40
40
|
if ((draft.limit.input || draft.limit.context) <= input)
|
|
@@ -43,7 +43,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
|
-
yield* bus.subscribe(
|
|
46
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
47
47
|
})
|
|
48
48
|
});
|
|
49
49
|
function cap(apiID) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-7q9q1gy8.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./state-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-d1r5081s.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-yh1v4sg4.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-26rstsyj.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|