@opencode/core 0.0.0-dev-21673 → 0.0.0-dev-21676
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 +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{project-034tev2y.js → shell-034tev2y.js} +2 -2
- package/dist/chunks/{project-vgk61ywp.js → shell-0421tmwc.js} +9 -9
- package/dist/chunks/{project-ws4j3s0e.js → shell-052hgm15.js} +4 -4
- package/dist/chunks/{project-zpc2hwcg.js → shell-074n756q.js} +20 -20
- package/dist/chunks/{project-1zw7gc13.js → shell-099mgyan.js} +27 -27
- package/dist/chunks/{project-cky18ayb.js → shell-0a71s41t.js} +11 -11
- package/dist/chunks/{project-dkq45v8d.js → shell-0gka690g.js} +6 -6
- package/dist/chunks/{project-f14tnanx.js → shell-0k149xew.js} +3 -3
- package/dist/chunks/{project-yv12yyqt.js → shell-0pv52n9j.js} +12 -12
- package/dist/chunks/{project-n39q19g8.js → shell-0q213vj2.js} +4 -4
- package/dist/chunks/{project-7p97jbeh.js → shell-0q39ew5d.js} +187 -187
- package/dist/chunks/{project-cxk0zn9v.js → shell-0tzmkv2e.js} +17 -17
- package/dist/chunks/{project-8daav2af.js → shell-0v3xvz1q.js} +50 -50
- package/dist/chunks/{project-84em95zf.js → shell-0v6bwa58.js} +28 -28
- package/dist/chunks/{project-vecebjw1.js → shell-0vgge0e4.js} +21 -21
- package/dist/chunks/{project-rhzb5sgv.js → shell-0wrn680p.js} +43 -43
- package/dist/chunks/{project-kx3xq9yx.js → shell-10jw5ygn.js} +25 -25
- package/dist/chunks/{project-24ex7jtb.js → shell-12pj2cn2.js} +90 -90
- package/dist/chunks/{project-cqkh3ysm.js → shell-18pk5v5f.js} +51 -51
- package/dist/chunks/{project-0yrbxed6.js → shell-19pped8k.js} +15 -15
- package/dist/chunks/{project-s5kv2cn0.js → shell-1bprt56t.js} +4 -4
- package/dist/chunks/{project-1ep2p91f.js → shell-1ep2p91f.js} +2 -2
- package/dist/chunks/{project-nrf42yrn.js → shell-1exqj9pt.js} +11 -11
- package/dist/chunks/{project-z0pkw490.js → shell-1j6cffe2.js} +20 -20
- package/dist/chunks/{project-qaxt5sce.js → shell-1r91ydea.js} +4 -4
- package/dist/chunks/{project-bt69sbx0.js → shell-1rarfw9s.js} +35 -35
- package/dist/chunks/{project-abz5va8s.js → shell-1w59jp7z.js} +5 -5
- package/dist/chunks/{project-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
- package/dist/chunks/{project-5hvygcnt.js → shell-20nwq5j7.js} +10 -10
- package/dist/chunks/{project-me2jyc9e.js → shell-27037k44.js} +17 -17
- package/dist/chunks/{project-n32atgs2.js → shell-2ah0g8wp.js} +3 -3
- package/dist/chunks/{project-1fqeg8az.js → shell-2jdqz29y.js} +16 -16
- package/dist/chunks/shell-2mqgqhm8.js +26 -0
- package/dist/chunks/{project-2z1j29yd.js → shell-2z1j29yd.js} +1 -1
- package/dist/chunks/{project-35a94sfp.js → shell-2z9d2exz.js} +9 -9
- package/dist/chunks/{project-vpgvrtdm.js → shell-30xq731m.js} +6 -6
- package/dist/chunks/{project-8tb7jz03.js → shell-35s6a6dm.js} +5 -5
- package/dist/chunks/{project-b2naxwvt.js → shell-3f6nh3fm.js} +13 -13
- package/dist/chunks/{project-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{project-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
- package/dist/chunks/{project-pdn1jn4w.js → shell-3sywvchv.js} +21 -21
- package/dist/chunks/{project-pwk354ja.js → shell-3vwgbyw7.js} +14 -14
- package/dist/chunks/{project-97kra8sc.js → shell-3xqr0t2x.js} +33 -33
- package/dist/chunks/{project-svf80yc0.js → shell-40ttsd7n.js} +47 -47
- package/dist/chunks/{project-amz5fvp1.js → shell-495kryxw.js} +13 -13
- package/dist/chunks/{project-9zn1tp8t.js → shell-4b27svsp.js} +51 -51
- package/dist/chunks/{project-rabtnz7e.js → shell-4b4byd6t.js} +340 -340
- package/dist/chunks/{project-dvbbs10e.js → shell-4e2nnt3c.js} +11 -11
- package/dist/chunks/{project-avrygwsy.js → shell-4nfcmvhk.js} +35 -35
- package/dist/chunks/{project-4v008n1t.js → shell-4v008n1t.js} +1 -1
- package/dist/chunks/{project-4xvmh7wp.js → shell-4xvmh7wp.js} +3 -3
- package/dist/chunks/{project-3rs19bb4.js → shell-4zqkcf57.js} +16 -16
- package/dist/chunks/{project-3asb4mz5.js → shell-52apm2b7.js} +14 -14
- package/dist/chunks/{project-avt17yc9.js → shell-53zfzs41.js} +9 -9
- package/dist/chunks/{project-pbck7hjv.js → shell-5h69x8yw.js} +15 -15
- package/dist/chunks/{project-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
- package/dist/chunks/{project-5nnwax6m.js → shell-5nnwax6m.js} +2 -2
- package/dist/chunks/{project-e3qxr5gk.js → shell-5qd3pb7m.js} +2 -2
- package/dist/chunks/{project-g2r9we7k.js → shell-5qgzfdx6.js} +19 -19
- package/dist/chunks/{project-27bs79w9.js → shell-5rsk1nq8.js} +2 -2
- package/dist/chunks/{project-kn0rqzkh.js → shell-5x4mtra2.js} +9 -9
- package/dist/chunks/{project-v9ez2kgh.js → shell-5zrxpy3q.js} +5 -5
- package/dist/chunks/{project-5kvmfnk6.js → shell-6dj066xs.js} +15 -15
- package/dist/chunks/{project-brgvyzq9.js → shell-6dvkpyc2.js} +3 -3
- package/dist/chunks/{project-6esdw8yj.js → shell-6esdw8yj.js} +1 -1
- package/dist/chunks/{project-vgw2z44b.js → shell-6n2c9nvr.js} +42 -42
- package/dist/chunks/{project-6pjqjmy2.js → shell-6pjqjmy2.js} +1 -1
- package/dist/chunks/{project-sjbapc6a.js → shell-6w0nd92w.js} +32 -32
- package/dist/chunks/{project-237j14t0.js → shell-750jpgf2.js} +21 -21
- package/dist/chunks/{project-76cb1hcw.js → shell-76cb1hcw.js} +1 -1
- package/dist/chunks/{project-e4hjbd03.js → shell-79vtmvb8.js} +35 -35
- package/dist/chunks/{project-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{project-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
- package/dist/chunks/{project-zgqyyky3.js → shell-7zt9x3hf.js} +13 -13
- package/dist/chunks/{project-nnpg8337.js → shell-81rwv4vy.js} +5 -5
- package/dist/chunks/{project-ymtfe6ys.js → shell-83y10q5s.js} +13 -13
- package/dist/chunks/{project-r96ere88.js → shell-88kypjvy.js} +4 -4
- package/dist/chunks/{project-e614209m.js → shell-89tdhaej.js} +2 -2
- package/dist/chunks/{project-eapz8twa.js → shell-8cf452yy.js} +33 -33
- package/dist/chunks/{project-sy1zgpba.js → shell-8fzmkc5d.js} +11 -11
- package/dist/chunks/{project-c618cpra.js → shell-8k8atbvj.js} +29 -29
- package/dist/chunks/{project-qq1647kk.js → shell-8pqzhdc3.js} +4 -4
- package/dist/chunks/{project-rdyeje7b.js → shell-8rp0m0m0.js} +4 -4
- package/dist/chunks/{project-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
- package/dist/chunks/{project-91rj84md.js → shell-91rj84md.js} +1 -1
- package/dist/chunks/{project-f00hk273.js → shell-91vv7ayb.js} +18 -18
- package/dist/chunks/{project-998yhzzq.js → shell-998yhzzq.js} +3 -3
- package/dist/chunks/{project-aqxp75b5.js → shell-99dgtdd3.js} +25 -25
- package/dist/chunks/{project-ex2ghmgq.js → shell-9g4cv0f3.js} +5 -5
- package/dist/chunks/{project-ve21yh3e.js → shell-9hz3fran.js} +25 -25
- package/dist/chunks/{project-1z530119.js → shell-9kfzqwtx.js} +17 -17
- package/dist/chunks/{project-qn7gt9tf.js → shell-9kh0htnp.js} +13 -13
- package/dist/chunks/{project-9p9xqj3m.js → shell-9p9xqj3m.js} +1 -1
- package/dist/chunks/{project-n2n972dz.js → shell-9zxsqdn3.js} +21 -21
- package/dist/chunks/{project-bjhzkqyk.js → shell-a13nhj24.js} +4 -4
- package/dist/chunks/{project-prwsxbm1.js → shell-a4j9f8bt.js} +13 -13
- package/dist/chunks/{project-krhbb1d7.js → shell-aeqacknm.js} +11 -11
- package/dist/chunks/{project-6y263vp8.js → shell-afmnpta1.js} +5 -5
- package/dist/chunks/{project-ryyfth3r.js → shell-ammt9wv8.js} +31 -31
- package/dist/chunks/{project-1awzgpvc.js → shell-axmn5kjp.js} +72 -72
- package/dist/chunks/{project-ayjs7tqn.js → shell-ayjs7tqn.js} +2 -2
- package/dist/chunks/{project-b0mv4wxm.js → shell-b0mv4wxm.js} +2 -2
- package/dist/chunks/{project-e3t0s7gt.js → shell-b2rkyjcn.js} +7 -7
- package/dist/chunks/{project-rnvbgrrs.js → shell-b3nb49ay.js} +13 -13
- package/dist/chunks/{project-wzr5z9r3.js → shell-b5z61bee.js} +5 -5
- package/dist/chunks/{project-5n01dcds.js → shell-b5za93j9.js} +59 -59
- package/dist/chunks/{project-qre60qsh.js → shell-bjb78nd5.js} +25 -25
- package/dist/chunks/{project-0zmsqe55.js → shell-bnjf1eky.js} +7 -7
- package/dist/chunks/{project-mrfk2h0w.js → shell-bqrhmwq8.js} +36 -36
- package/dist/chunks/{project-vzmjdaw1.js → shell-bqwdyg2t.js} +9 -9
- package/dist/chunks/{project-p9jvgf3w.js → shell-bsrm4kv0.js} +6 -6
- package/dist/chunks/{project-bstexjd6.js → shell-bstexjd6.js} +1 -1
- package/dist/chunks/{project-z7r3dw85.js → shell-bx6xdp1z.js} +20 -20
- package/dist/chunks/{project-e2x7gzav.js → shell-c3cfh5w6.js} +5 -5
- package/dist/chunks/{project-7x0wbv1r.js → shell-c3g877z7.js} +22 -22
- package/dist/chunks/{project-psxnrejk.js → shell-c57tq9x6.js} +11 -11
- package/dist/chunks/{project-yvjpmm8d.js → shell-c7j93mmt.js} +8 -8
- package/dist/chunks/{project-83hm2hev.js → shell-c9fgk02w.js} +49 -49
- package/dist/chunks/{project-v8d3mx5z.js → shell-cd1jdth3.js} +10 -10
- package/dist/chunks/{project-jvrybeq8.js → shell-ceq71z2s.js} +21 -21
- package/dist/chunks/{project-h4a90mfm.js → shell-cfmjsj78.js} +32 -32
- package/dist/chunks/{project-5499276f.js → shell-cs7yvevk.js} +6 -6
- package/dist/chunks/{project-z928tvaj.js → shell-ctdwq0jb.js} +18 -18
- package/dist/chunks/{project-csp9wjvb.js → shell-cx0xwsw9.js} +28 -28
- package/dist/chunks/{project-edejzvfw.js → shell-cybp101z.js} +3 -3
- package/dist/chunks/{project-x2djvzav.js → shell-cyeygnsd.js} +8 -8
- package/dist/chunks/{project-r44hbkey.js → shell-czrdzzab.js} +9 -9
- package/dist/chunks/{project-4d5zmrjg.js → shell-d1x9sp18.js} +13 -13
- package/dist/chunks/{project-d4v9tmah.js → shell-d4v9tmah.js} +2 -2
- package/dist/chunks/shell-d77dj7jw.js +18 -0
- package/dist/chunks/{project-aws0phmy.js → shell-dvz1915h.js} +18 -18
- package/dist/chunks/{project-nrtw1kat.js → shell-dx4aek7k.js} +6 -6
- package/dist/chunks/{project-mtxm79q0.js → shell-dzwp3hcx.js} +5 -5
- package/dist/chunks/{project-s1hccf1w.js → shell-e00z28p8.js} +16 -16
- package/dist/chunks/{project-aay9q4a1.js → shell-e145p2ha.js} +4 -4
- package/dist/chunks/{project-tqwv9q63.js → shell-e3hyx3wp.js} +9 -9
- package/dist/chunks/{project-e834z07m.js → shell-e834z07m.js} +1 -1
- package/dist/chunks/{project-f29nb3rh.js → shell-ed0mtxnh.js} +24 -24
- package/dist/chunks/{project-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
- package/dist/chunks/{project-ftmc5s4e.js → shell-efacwc3z.js} +4 -4
- package/dist/chunks/{project-6q8sqnyr.js → shell-ervpxwtf.js} +14 -14
- package/dist/chunks/{project-n810t9ja.js → shell-ey9szsmw.js} +24 -24
- package/dist/chunks/{project-avcx7cx1.js → shell-f1e7k22r.js} +4 -4
- package/dist/chunks/{project-0yqx85sf.js → shell-f5t8t5m7.js} +20 -20
- package/dist/chunks/{project-e17k0hsv.js → shell-f82ybqrx.js} +9 -9
- package/dist/chunks/{project-zq38syqk.js → shell-f9jmr95f.js} +27 -27
- package/dist/chunks/{project-gn0ser4y.js → shell-f9nf7jc4.js} +13 -13
- package/dist/chunks/{project-9gmhk2dr.js → shell-fa903x7f.js} +17 -17
- package/dist/chunks/{project-5r72z9dp.js → shell-fbjqxkhq.js} +8 -8
- package/dist/chunks/{project-rva2q560.js → shell-fcngkh0c.js} +22 -22
- package/dist/chunks/{project-fffv3p7h.js → shell-fffv3p7h.js} +1 -1
- package/dist/chunks/{project-6eanynha.js → shell-fjfaey98.js} +41 -41
- package/dist/chunks/{project-pacbbjc0.js → shell-fvc4bqe2.js} +5 -5
- package/dist/chunks/{project-g5h9c0rr.js → shell-g5h9c0rr.js} +2 -2
- package/dist/chunks/{project-756mjj2v.js → shell-gawdr880.js} +16 -16
- package/dist/chunks/{project-s0kjfseb.js → shell-gcf8bw3p.js} +57 -57
- package/dist/chunks/{project-v3bag9qh.js → shell-gdc8gtm1.js} +16 -16
- package/dist/chunks/{project-rr10qkmh.js → shell-gjp1trbb.js} +16 -16
- package/dist/chunks/{project-76zwaa62.js → shell-gt5g569e.js} +35 -35
- package/dist/chunks/{project-5n9pkk4a.js → shell-gv55t52j.js} +28 -28
- package/dist/chunks/{project-dkhtsk1k.js → shell-gv59wj6b.js} +41 -41
- package/dist/chunks/{project-704d1ccs.js → shell-h5qan5zz.js} +11 -11
- package/dist/chunks/{project-hwtw9fqj.js → shell-ha4hgd8e.js} +24 -24
- package/dist/chunks/{project-4xr8w5a9.js → shell-hbg8agq7.js} +11 -11
- package/dist/chunks/{project-wheq58gc.js → shell-hc7ans2w.js} +3 -3
- package/dist/chunks/{project-mpq7vr27.js → shell-hecd99m2.js} +4 -4
- package/dist/chunks/{project-vdpnyne0.js → shell-hj6y046f.js} +23 -23
- package/dist/chunks/{project-dns528vs.js → shell-hsphd179.js} +11 -11
- package/dist/chunks/{project-z111sdr0.js → shell-hvzv56hn.js} +33 -33
- package/dist/chunks/{project-j43y3xqp.js → shell-hx6gesf1.js} +8 -8
- package/dist/chunks/{project-j113cymg.js → shell-j113cymg.js} +1 -1
- package/dist/chunks/{project-bg8ynzhc.js → shell-j2a3kw55.js} +18 -18
- package/dist/chunks/{project-8e1dptnb.js → shell-j6r0nxf6.js} +30 -30
- package/dist/chunks/{project-hgaqcch1.js → shell-j9v24vp1.js} +21 -21
- package/dist/chunks/{project-tx1skdes.js → shell-jentk5nx.js} +23 -23
- package/dist/chunks/{project-pc1v25hk.js → shell-jx89vj1k.js} +3 -3
- package/dist/chunks/{project-dwrjgvf7.js → shell-jxf43kwy.js} +6 -6
- package/dist/chunks/{project-r3sapc0f.js → shell-k18xgkct.js} +16 -16
- package/dist/chunks/{project-wtzytv8z.js → shell-k4ggaqy8.js} +36 -36
- package/dist/chunks/{project-k814nvkf.js → shell-k814nvkf.js} +1 -1
- package/dist/chunks/{project-bgn46r2r.js → shell-kdxgykmr.js} +9 -9
- package/dist/chunks/{project-pr80rsms.js → shell-kt2gry7f.js} +13 -13
- package/dist/chunks/{project-1q3jvbda.js → shell-kxa065gd.js} +5 -5
- package/dist/chunks/{project-m1714858.js → shell-m1714858.js} +1 -1
- package/dist/chunks/{project-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{project-maspj1v3.js → shell-maspj1v3.js} +1 -1
- package/dist/chunks/shell-mcszswe1.js +257 -0
- package/dist/chunks/{project-6m3233am.js → shell-msft5056.js} +29 -29
- package/dist/chunks/{project-d2887f8n.js → shell-mtkfycnh.js} +4 -4
- package/dist/chunks/{project-n0p0277s.js → shell-n0p0277s.js} +1 -1
- package/dist/chunks/{project-770pw0s1.js → shell-nah043kf.js} +4 -4
- package/dist/chunks/{project-pmebwkpn.js → shell-nkpw7cy5.js} +4 -4
- package/dist/chunks/{project-3w089d6d.js → shell-nsqj0y1h.js} +27 -27
- package/dist/chunks/{project-9q84888z.js → shell-ny4bcy2e.js} +1 -1
- package/dist/chunks/{project-p015t6z3.js → shell-p015t6z3.js} +2 -2
- package/dist/chunks/{project-12t1dx64.js → shell-p6xjr4s7.js} +23 -23
- package/dist/chunks/{project-q6byt1vy.js → shell-pd641wyg.js} +49 -49
- package/dist/chunks/{project-yd39ydqg.js → shell-pg605kec.js} +12 -12
- package/dist/chunks/{project-v8axt5a9.js → shell-pjxmvhc5.js} +19 -19
- package/dist/chunks/{project-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{project-fy0rchc1.js → shell-pqyj7c3t.js} +14 -14
- package/dist/chunks/{project-5wfhjcjp.js → shell-pyab3nm0.js} +12 -12
- package/dist/chunks/{project-hg0cvh6j.js → shell-qb45pfqr.js} +37 -37
- package/dist/chunks/{project-qjgzc4b4.js → shell-qjgzc4b4.js} +1 -1
- package/dist/chunks/{project-t95shdbt.js → shell-qq321qph.js} +5 -5
- package/dist/chunks/{project-s7kyse9r.js → shell-qv7y9773.js} +9 -9
- package/dist/chunks/{project-r0yr0wbs.js → shell-r0yr0wbs.js} +1 -1
- package/dist/chunks/{project-srg5xmqx.js → shell-r9mr2fx2.js} +18 -18
- package/dist/chunks/{project-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
- package/dist/chunks/{project-jpf3p7ma.js → shell-revj3tw3.js} +34 -34
- package/dist/chunks/{project-8s5m2r2h.js → shell-rf4jwcas.js} +24 -24
- package/dist/chunks/{project-ktvnvra2.js → shell-rm20pgxh.js} +14 -14
- package/dist/chunks/{project-rt5dr6hb.js → shell-rt5dr6hb.js} +1 -1
- package/dist/chunks/{project-ce3vjht6.js → shell-ry17vq2q.js} +9 -9
- package/dist/chunks/{project-jns4gqy7.js → shell-s85z3cra.js} +4 -4
- package/dist/chunks/{project-6dbzns9q.js → shell-s9dwmje5.js} +24 -24
- package/dist/chunks/{project-66r9f6z1.js → shell-sfkj0ta1.js} +5 -5
- package/dist/chunks/{project-4wfnas2w.js → shell-sjrghj3a.js} +12 -12
- package/dist/chunks/{project-f607rzmc.js → shell-sn2bmg30.js} +9 -9
- package/dist/chunks/{project-sqjzf8x2.js → shell-sqjzf8x2.js} +1 -1
- package/dist/chunks/{project-vx3jgdek.js → shell-ss358qx3.js} +3 -3
- package/dist/chunks/{project-efv89yt1.js → shell-syjgkag2.js} +18 -18
- package/dist/chunks/{project-dkm5gnst.js → shell-szcyxb54.js} +7 -7
- package/dist/chunks/{project-40v8dpjy.js → shell-t12sb919.js} +32 -32
- package/dist/chunks/{project-p9aq54br.js → shell-t75rajx1.js} +45 -45
- package/dist/chunks/{project-h98gx716.js → shell-t7e9twk7.js} +19 -19
- package/dist/chunks/{project-ywn1tvqn.js → shell-ta9qyare.js} +29 -29
- package/dist/chunks/{project-c8666r4c.js → shell-tasvem1v.js} +6 -6
- package/dist/chunks/{project-nad4mkqt.js → shell-tb7p4ryh.js} +8 -8
- package/dist/chunks/{project-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
- package/dist/chunks/{project-ennfa1r2.js → shell-te93dn38.js} +9 -9
- package/dist/chunks/{project-haqddkbz.js → shell-tfhekx6w.js} +17 -17
- package/dist/chunks/{project-grtakk98.js → shell-tfmz659n.js} +2 -2
- package/dist/chunks/{project-9w7p9nvj.js → shell-tgrj2fed.js} +39 -39
- package/dist/chunks/{project-qq16f8az.js → shell-th8jc8p0.js} +9 -9
- package/dist/chunks/{project-a7p6ajz7.js → shell-tngq8s39.js} +27 -27
- package/dist/chunks/{project-arr0esyr.js → shell-trc09wwy.js} +24 -24
- package/dist/chunks/{project-tw8zr1ps.js → shell-tw8zr1ps.js} +1 -1
- package/dist/chunks/{project-twv2r8f4.js → shell-twv2r8f4.js} +2 -2
- package/dist/chunks/{project-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
- package/dist/chunks/{project-fwte2t7r.js → shell-v40bhpkf.js} +12 -12
- package/dist/chunks/{project-r7gv03kz.js → shell-v4sbtd6b.js} +35 -35
- package/dist/chunks/{project-vd3b3yk9.js → shell-vd3b3yk9.js} +1 -1
- package/dist/chunks/{project-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{project-r77dtqge.js → shell-vkfaa8pw.js} +9 -9
- package/dist/chunks/{project-m37sd98t.js → shell-vmfhgzt5.js} +4 -4
- package/dist/chunks/{project-gcjdgkn2.js → shell-vrcsa8qx.js} +9 -9
- package/dist/chunks/{project-war36t1a.js → shell-w0e5dcpe.js} +94 -94
- package/dist/chunks/{project-40za9wsf.js → shell-w2eysc6j.js} +9 -9
- package/dist/chunks/{project-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{project-89jcpgd4.js → shell-wafjmk08.js} +1 -1
- package/dist/chunks/{project-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
- package/dist/chunks/{project-d4d7sshf.js → shell-wd6msta3.js} +11 -11
- package/dist/chunks/{project-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{project-0ge19jyf.js → shell-wed5rh1m.js} +13 -13
- package/dist/chunks/{project-3ryz99p0.js → shell-wmjzvx4b.js} +4 -4
- package/dist/chunks/{project-j8b1q04x.js → shell-wmy22jry.js} +21 -21
- package/dist/chunks/{project-0qaw3rsr.js → shell-wn8cs04e.js} +14 -14
- package/dist/chunks/{project-6fcww07n.js → shell-wpjr39xp.js} +25 -25
- package/dist/chunks/{project-fznmdakp.js → shell-wr3re1en.js} +4 -4
- package/dist/chunks/{project-0d7fk1v9.js → shell-wyrx21ay.js} +5 -5
- package/dist/chunks/{project-k4dxaq26.js → shell-x0ra2npf.js} +10 -10
- package/dist/chunks/{project-xybskrbg.js → shell-x4vc4qa8.js} +17 -17
- package/dist/chunks/{project-y5s18w2x.js → shell-xccgq3qx.js} +15 -15
- package/dist/chunks/{project-nfmgtk0z.js → shell-xd25kzce.js} +14 -14
- package/dist/chunks/{project-w9zvebzj.js → shell-xdq354nz.js} +6 -6
- package/dist/chunks/{project-ww91z9j1.js → shell-xes9mfxx.js} +30 -30
- package/dist/chunks/{project-3j2bx2e1.js → shell-xtxrze2j.js} +11 -11
- package/dist/chunks/{project-1qc61ek6.js → shell-y1hjbq0d.js} +11 -11
- package/dist/chunks/{project-739vedpf.js → shell-y5nnnm2j.js} +16 -16
- package/dist/chunks/{project-y7y0w8zn.js → shell-y7y0w8zn.js} +3 -3
- package/dist/chunks/{project-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
- package/dist/chunks/{project-hv9wbna8.js → shell-ybyct7vf.js} +20 -20
- package/dist/chunks/{project-q5zq6djh.js → shell-ydpx6gyr.js} +8 -8
- package/dist/chunks/{project-hy8c1z76.js → shell-ydsespw1.js} +8 -8
- package/dist/chunks/{project-ycnyt74c.js → shell-ypzxf1by.js} +10 -10
- package/dist/chunks/{project-z7tg6gqn.js → shell-yrab93vt.js} +19 -19
- package/dist/chunks/{project-7045vmc6.js → shell-yz8d3crg.js} +22 -22
- package/dist/chunks/{project-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{project-z38nccrw.js → shell-z38nccrw.js} +1 -1
- package/dist/chunks/{project-zkg84ctx.js → shell-zkg84ctx.js} +1 -1
- package/dist/chunks/{project-ytb85x07.js → shell-zsm4q6zj.js} +34 -34
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- 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 +118 -118
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- 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 +117 -117
- 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 +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 +92 -92
- 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 +1 -1
- 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 +95 -95
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +88 -88
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- 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 +89 -89
- 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 +138 -138
- package/dist/mcp/oauth.js +89 -83
- 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 +119 -119
- 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 +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 +117 -117
- 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 +125 -125
- 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 +125 -125
- 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 +125 -125
- 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 +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 +114 -114
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- 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 +138 -138
- 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 +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +93 -93
- 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 +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- 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 +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- 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 +87 -87
- 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 +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +126 -126
- 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 +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- 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 +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- 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/project-2dkjcnxp.js +0 -18
- package/dist/chunks/project-kw5jcj1m.js +0 -26
- package/dist/chunks/project-sgz1ehav.js +0 -257
- /package/dist/chunks/{project-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{project-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{project-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{project-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{project-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{project-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{project-2bv980vf.js → shell-2bv980vf.js} +0 -0
- /package/dist/chunks/{project-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{project-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{project-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{project-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{project-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{project-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{project-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{project-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{project-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{project-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{project-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{project-5fjb7ams.js → shell-5fjb7ams.js} +0 -0
- /package/dist/chunks/{project-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{project-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{project-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{project-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{project-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{project-84wd9syh.js → shell-84wd9syh.js} +0 -0
- /package/dist/chunks/{project-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{project-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{project-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
- /package/dist/chunks/{project-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{project-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{project-a058387c.js → shell-a058387c.js} +0 -0
- /package/dist/chunks/{project-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{project-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{project-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{project-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{project-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{project-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{project-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{project-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{project-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{project-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{project-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{project-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{project-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{project-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{project-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{project-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{project-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{project-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{project-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{project-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{project-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{project-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{project-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{project-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{project-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{project-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{project-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{project-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{project-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
- /package/dist/chunks/{project-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{project-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{project-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{project-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{project-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{project-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{project-jze0r7bz.js → shell-jze0r7bz.js} +0 -0
- /package/dist/chunks/{project-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{project-m18g726c.js → shell-m18g726c.js} +0 -0
- /package/dist/chunks/{project-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{project-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{project-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{project-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{project-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{project-pkyv6v7h.js → shell-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{project-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{project-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{project-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{project-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{project-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{project-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{project-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{project-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{project-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{project-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{project-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
- /package/dist/chunks/{project-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{project-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{project-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{project-wjj7prxr.js → shell-wjj7prxr.js} +0 -0
- /package/dist/chunks/{project-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{project-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{project-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{project-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{project-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{project-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{project-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{project-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{project-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./shell-e00z28p8.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-8cf452yy.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service82,
|
|
15
|
+
node86
|
|
16
|
+
} from "./shell-4zqkcf57.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./shell-vd3b3yk9.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shell-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info5,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service32,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node35
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service32 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const bus = yield*
|
|
61
|
+
const location = yield* Service82;
|
|
62
|
+
const bus = yield* Service85;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
65
65
|
const vcs = location.vcs;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service32.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node35 = makeLocationNode({
|
|
191
|
+
service: Service32,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node86, node89]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2, Service32, node35, exports_vcs };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./shell-ha4hgd8e.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service59;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./shell-bx6xdp1z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./shell-c9fgk02w.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-xdq354nz.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
scan2
|
|
13
|
+
} from "./shell-nah043kf.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/config/plugin/compatibility.ts
|
|
19
19
|
var exports_compatibility = {};
|
|
20
20
|
__export(exports_compatibility, {
|
|
21
21
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin14
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
26
26
|
import path from "path";
|
|
27
27
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin14 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service61;
|
|
32
32
|
const fs = yield* FSUtil.Service;
|
|
33
|
-
const watcher = yield*
|
|
33
|
+
const watcher = yield* Service62;
|
|
34
34
|
const watches = yield* FiberMap.make();
|
|
35
35
|
const changes = yield* PubSub.sliding(1);
|
|
36
36
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -51,7 +51,7 @@ var Plugin45 = define({
|
|
|
51
51
|
if (!resolved)
|
|
52
52
|
continue;
|
|
53
53
|
yield* watch(resolved, "directory");
|
|
54
|
-
for (const filepath of yield*
|
|
54
|
+
for (const filepath of yield* scan2(resolved)) {
|
|
55
55
|
const content = yield* fs.readFileStringSafe(filepath).pipe(Effect.orElseSucceed(() => {
|
|
56
56
|
return;
|
|
57
57
|
}));
|
|
@@ -76,4 +76,4 @@ var Plugin45 = define({
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export {
|
|
79
|
+
export { Plugin14, exports_compatibility };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-2z1j29yd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./shell-gcf8bw3p.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_MARKDOWN_BYTES2,
|
|
9
9
|
convertHTMLToMarkdown2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-4vcrnpx2.js";
|
|
11
11
|
import {
|
|
12
12
|
collectBoundedResponseBody2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-3v8g72cx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/webfetch.ts
|
|
19
19
|
var exports_webfetch = {};
|
|
20
20
|
__export(exports_webfetch, {
|
|
21
21
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
22
|
-
Input: () =>
|
|
23
|
-
MAX_RESPONSE_BYTES: () =>
|
|
22
|
+
Input: () => Input3,
|
|
23
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
24
24
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin22,
|
|
26
26
|
WebFetchTool: () => exports_webfetch,
|
|
27
27
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
28
|
-
description: () =>
|
|
28
|
+
description: () => description3,
|
|
29
29
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
30
|
-
name: () =>
|
|
30
|
+
name: () => name3
|
|
31
31
|
});
|
|
32
32
|
import { ToolFailure } from "@opencode/ai";
|
|
33
33
|
import { Duration, Effect, Schema } from "effect";
|
|
34
34
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
35
35
|
import { Parser } from "htmlparser2";
|
|
36
|
-
var
|
|
37
|
-
var
|
|
36
|
+
var name3 = "webfetch";
|
|
37
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
38
38
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
39
39
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
40
|
-
var
|
|
40
|
+
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
41
41
|
|
|
42
42
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
43
43
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
44
|
-
var
|
|
44
|
+
var Input3 = Schema.Struct({
|
|
45
45
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
46
46
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
47
47
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -51,7 +51,7 @@ var Input6 = Schema.Struct({
|
|
|
51
51
|
var Output = Schema.Struct({
|
|
52
52
|
url: Schema.String,
|
|
53
53
|
contentType: Schema.String,
|
|
54
|
-
format:
|
|
54
|
+
format: Input3.fields.format,
|
|
55
55
|
output: Schema.String
|
|
56
56
|
});
|
|
57
57
|
var acceptHeader = (format) => {
|
|
@@ -82,7 +82,7 @@ var assertHttpUrl = (url) => {
|
|
|
82
82
|
throw new Error("URL must use http:// or https://");
|
|
83
83
|
};
|
|
84
84
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
85
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
85
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
86
86
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
87
87
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
88
88
|
var convert = (content, contentType, format) => {
|
|
@@ -94,16 +94,16 @@ var convert = (content, contentType, format) => {
|
|
|
94
94
|
return extractTextFromHTML2(content);
|
|
95
95
|
return content;
|
|
96
96
|
};
|
|
97
|
-
var
|
|
97
|
+
var Plugin22 = {
|
|
98
98
|
id: "opencode.tool.webfetch",
|
|
99
99
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
100
100
|
const http = yield* HttpClient.HttpClient;
|
|
101
|
-
const permission = yield*
|
|
101
|
+
const permission = yield* Service77;
|
|
102
102
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
103
|
-
name:
|
|
103
|
+
name: name3,
|
|
104
104
|
options: { codemode: false },
|
|
105
|
-
description:
|
|
106
|
-
input:
|
|
105
|
+
description: description3,
|
|
106
|
+
input: Input3,
|
|
107
107
|
output: Output,
|
|
108
108
|
execute: (input, context) => Effect.gen(function* () {
|
|
109
109
|
yield* Effect.try({
|
|
@@ -111,7 +111,7 @@ var Plugin23 = {
|
|
|
111
111
|
catch: (error) => error
|
|
112
112
|
});
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name3,
|
|
115
115
|
resources: [input.url],
|
|
116
116
|
save: ["*"],
|
|
117
117
|
metadata: input,
|
|
@@ -169,4 +169,4 @@ function extractTextFromHTML2(html) {
|
|
|
169
169
|
parser.end();
|
|
170
170
|
return text.trim();
|
|
171
171
|
}
|
|
172
|
-
export {
|
|
172
|
+
export { name3, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input3, Plugin22, extractTextFromHTML2, exports_webfetch };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-j113cymg.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-1rarfw9s.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-79vtmvb8.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID15
|
|
3
|
+
} from "./shell-10jw5ygn.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info14
|
|
9
|
+
} from "./shell-h5qan5zz.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-f1e7k22r.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service61
|
|
16
|
+
} from "./shell-c9fgk02w.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-e834z07m.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./shell-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin2
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info14);
|
|
44
44
|
var pathActions = ["external_directory", "read", "edit"];
|
|
45
45
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
46
46
|
var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
47
|
-
var
|
|
47
|
+
var Plugin2 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service61;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin40 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID15.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID15.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -163,4 +163,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
163
163
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
164
164
|
});
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { Plugin2, exports_agent };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-vd3b3yk9.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service39,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node41
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service39 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service39.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node41 = makeLocationNode({ service: Service39, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service39, node41, exports_image2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service62,
|
|
3
|
+
node66
|
|
4
|
+
} from "./shell-bx6xdp1z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./shell-4zqkcf57.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node65
|
|
12
|
+
} from "./shell-c9fgk02w.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-6esdw8yj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service2,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer4,
|
|
28
|
+
node: () => node3
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service61;
|
|
40
|
+
const watcher = yield* Service62;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service82;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service2.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node3 = makeLocationNode({
|
|
74
|
+
service: Service2,
|
|
75
|
+
layer: layer4,
|
|
76
|
+
deps: [node65, FSUtil.node, node66, node86]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service2,
|
|
80
|
+
layer: Layer.succeed(Service2, Service2.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service2, layer4, node3, empty2, exports_source };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service59,
|
|
6
|
+
node62
|
|
7
|
+
} from "./shell-ha4hgd8e.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service14,
|
|
17
|
+
node: () => node16,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service14 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service59;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service14.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node16 = makeLocationNode({ service: Service14, layer, deps: [node62] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service14, readText2, syncTextBom2, node16, exports_file_mutation };
|