@opencode/core 0.0.0-dev-21120 → 0.0.0-dev-21143
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{form-1n0bfcwe.js → model-032ktewz.js} +12 -12
- package/dist/chunks/{form-0b5g1ynf.js → model-0b5g1ynf.js} +4 -4
- package/dist/chunks/{form-w2tzvf5x.js → model-0p2v4pma.js} +27 -27
- package/dist/chunks/{form-3xge87wm.js → model-0pkr3k7y.js} +13 -13
- package/dist/chunks/model-0qdvnyhc.js +26 -0
- package/dist/chunks/{form-d8kzd1vm.js → model-0tz7w237.js} +5 -5
- package/dist/chunks/{form-0vbcp93d.js → model-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-1ehpw3ez.js → model-11aq9g4k.js} +29 -29
- package/dist/chunks/{form-cmk6452m.js → model-1p7ncxxa.js} +16 -16
- package/dist/chunks/{form-94ek2262.js → model-1rxgbc2t.js} +36 -36
- package/dist/chunks/{form-1x11rq2a.js → model-1x11rq2a.js} +1 -1
- package/dist/chunks/{form-fhcatk08.js → model-2e6zpqas.js} +15 -15
- package/dist/chunks/{form-4tbbbz73.js → model-2kd2p7qs.js} +9 -9
- package/dist/chunks/{form-s67b5pc2.js → model-2rj07jxf.js} +36 -36
- package/dist/chunks/{form-69vnnpp1.js → model-2s6bjp6v.js} +11 -11
- package/dist/chunks/{form-axtj0483.js → model-2taq7fdd.js} +19 -19
- package/dist/chunks/{form-b674v2dg.js → model-2xdh0w28.js} +5 -5
- package/dist/chunks/{form-rtgzv76w.js → model-2zzk95jc.js} +24 -24
- package/dist/chunks/{form-4fqmf91y.js → model-30qnvgsd.js} +31 -31
- package/dist/chunks/{form-bj33n5vb.js → model-32qa6vbj.js} +3 -3
- package/dist/chunks/{form-wz5ft07p.js → model-34596wkg.js} +4 -4
- package/dist/chunks/{form-4rb32yc9.js → model-34gry8w8.js} +4 -4
- package/dist/chunks/{form-3fc6dm20.js → model-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-9vshxhvj.js → model-3ftn6mbn.js} +13 -13
- package/dist/chunks/{form-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3hwn7j4h.js → model-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-33dzmsr1.js → model-3m1hm5sp.js} +7 -7
- package/dist/chunks/{form-kpcf1b87.js → model-3rccn82p.js} +29 -29
- package/dist/chunks/{form-n1n192bv.js → model-3sj8yt8v.js} +4 -4
- package/dist/chunks/{form-3smtnn6g.js → model-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-j1mj860n.js → model-3z0hjn58.js} +9 -9
- package/dist/chunks/{form-3zsf4n22.js → model-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-k333419k.js → model-47sz30n1.js} +335 -335
- package/dist/chunks/{form-g3jc3zyj.js → model-49fqqd4r.js} +24 -24
- package/dist/chunks/{form-w4f31n8a.js → model-4egvh0ae.js} +32 -32
- package/dist/chunks/{form-ffv63511.js → model-4p6nr7v2.js} +40 -40
- package/dist/chunks/{form-9x68eagp.js → model-50db7yry.js} +13 -13
- package/dist/chunks/{form-54ma36ye.js → model-54ma36ye.js} +1 -1
- package/dist/chunks/{form-b7emz3hp.js → model-56xs2vdn.js} +7 -7
- package/dist/chunks/{form-jb7fysj4.js → model-5gy05hhs.js} +35 -35
- package/dist/chunks/{form-5m9w47nd.js → model-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-jhzkqfpf.js → model-5mgf4sgt.js} +23 -23
- package/dist/chunks/{form-p6gbx0cx.js → model-5mmxse3m.js} +37 -37
- package/dist/chunks/{form-gmbcpvjg.js → model-5n2cq17m.js} +3 -3
- package/dist/chunks/{form-6rkygt3p.js → model-5pjt3m7t.js} +12 -12
- package/dist/chunks/model-5qat1gp6.js +257 -0
- package/dist/chunks/{form-3ppcjp0j.js → model-5qd8vb6z.js} +9 -9
- package/dist/chunks/{form-g0q7h1tf.js → model-5qj6jx0q.js} +23 -23
- package/dist/chunks/{form-3g8j9he4.js → model-5w9yjztw.js} +1 -1
- package/dist/chunks/{form-v09ncz0g.js → model-5x0sq0pb.js} +6 -6
- package/dist/chunks/{form-yqsddj0x.js → model-5xtfwz69.js} +47 -47
- package/dist/chunks/{form-w06t27q8.js → model-636h7cea.js} +14 -14
- package/dist/chunks/{form-m1mm5rkg.js → model-66prbn3s.js} +32 -32
- package/dist/chunks/{form-dqxsqydv.js → model-6827pfxn.js} +2 -2
- package/dist/chunks/{form-dzwaywhv.js → model-6a8atva2.js} +21 -21
- package/dist/chunks/{form-2qafjmnj.js → model-6caww4kb.js} +22 -22
- package/dist/chunks/{form-yd0za7w0.js → model-6hexesxg.js} +36 -36
- package/dist/chunks/{form-gz7dz21v.js → model-6nqxxja9.js} +14 -14
- package/dist/chunks/{form-3v1tz15k.js → model-6qgfysr7.js} +22 -22
- package/dist/chunks/{form-rp1tfkyg.js → model-6rgqsnph.js} +18 -18
- package/dist/chunks/{form-4v7wavzh.js → model-6x34hzzw.js} +23 -23
- package/dist/chunks/{form-6xb47vfp.js → model-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-hg8tkm75.js → model-6ytk35w5.js} +8 -8
- package/dist/chunks/{form-3vkhc6vb.js → model-70pmzrba.js} +90 -90
- package/dist/chunks/{form-atmfma9d.js → model-72y14xv9.js} +6 -6
- package/dist/chunks/{form-mybv2j83.js → model-74p5kxdx.js} +4 -4
- package/dist/chunks/{form-775gj3j1.js → model-775gj3j1.js} +2 -2
- package/dist/chunks/{form-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-mjagy123.js → model-7d2a7xbs.js} +5 -5
- package/dist/chunks/{form-5wcx3hhf.js → model-7tj55yx8.js} +4 -4
- package/dist/chunks/{form-d04ep358.js → model-86qjnnqk.js} +11 -11
- package/dist/chunks/{form-89znhe33.js → model-89znhe33.js} +1 -1
- package/dist/chunks/{form-333hg9k9.js → model-8bfncd3g.js} +9 -9
- package/dist/chunks/{form-8m6m0r52.js → model-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-554ykhdd.js → model-8q8yj50y.js} +21 -21
- package/dist/chunks/{form-fqb2p7cx.js → model-8rqycdgd.js} +7 -7
- package/dist/chunks/{form-t829z9jw.js → model-8w8ydh14.js} +35 -35
- package/dist/chunks/{form-zyw6q66r.js → model-8ye8phve.js} +8 -8
- package/dist/chunks/{form-91qna3x0.js → model-91qna3x0.js} +3 -3
- package/dist/chunks/{form-bmr56wjg.js → model-97aeaand.js} +4 -4
- package/dist/chunks/{form-4jfg48cr.js → model-9ajnrktk.js} +34 -31
- package/dist/chunks/{form-tpw6cwsb.js → model-9hn6k4tm.js} +8 -8
- package/dist/chunks/{form-06bcre1z.js → model-9mga5c27.js} +80 -71
- package/dist/chunks/{form-f3kxjqbq.js → model-a0xsjpa6.js} +20 -20
- package/dist/chunks/{form-mfztmbmt.js → model-ab191amw.js} +19 -19
- package/dist/chunks/{form-fww2ha2b.js → model-am1tmpj5.js} +9 -9
- package/dist/chunks/{form-ve8v04jh.js → model-am4qcv70.js} +19 -19
- package/dist/chunks/{form-n7vvwh41.js → model-asaf6qxa.js} +79 -79
- package/dist/chunks/{form-waz3pgke.js → model-ay5x56j0.js} +24 -24
- package/dist/chunks/{form-x661k3y3.js → model-azwe5p1w.js} +4 -4
- package/dist/chunks/{form-8fectmjz.js → model-b2b6kptg.js} +17 -17
- package/dist/chunks/{form-9bbnj2zh.js → model-b4nzaj04.js} +5 -5
- package/dist/chunks/{form-pstx6q5y.js → model-b6eebr36.js} +13 -13
- package/dist/chunks/{form-1ffvrpkg.js → model-bjx1sjef.js} +6 -6
- package/dist/chunks/{form-aes5zrkf.js → model-bmnyjmah.js} +3 -3
- package/dist/chunks/{form-wzf0w051.js → model-bnk7cdjh.js} +23 -23
- package/dist/chunks/{form-7abp57pr.js → model-bpkktk07.js} +15 -15
- package/dist/chunks/{form-7eh5v8ez.js → model-bpxfg8jv.js} +18 -18
- package/dist/chunks/{form-0feh7jv8.js → model-bvnyck97.js} +40 -40
- package/dist/chunks/{form-n69hbyzs.js → model-bx8wf0xt.js} +8 -8
- package/dist/chunks/model-bzeyqsqd.js +42 -0
- package/dist/chunks/{form-c1fqxshp.js → model-c1fqxshp.js} +3 -3
- package/dist/chunks/{form-hmdb8984.js → model-c2dc41sf.js} +13 -13
- package/dist/chunks/{form-5c9yfenh.js → model-c2qhap2q.js} +46 -46
- package/dist/chunks/{form-0x2yja72.js → model-c975tyge.js} +10 -10
- package/dist/chunks/{form-2vs2nh1n.js → model-ca7w653e.js} +4 -4
- package/dist/chunks/{form-cwcdd0av.js → model-cc6y7f3e.js} +27 -27
- package/dist/chunks/{form-t6avjg5v.js → model-ceq2fdbr.js} +38 -38
- package/dist/chunks/{form-t50fpkdp.js → model-chb9np0b.js} +9 -9
- package/dist/chunks/{form-p62ee12v.js → model-cjr1yvem.js} +15 -15
- package/dist/chunks/{form-74dmt1g2.js → model-cr0kavpg.js} +45 -45
- package/dist/chunks/{form-q90t3wzh.js → model-cs7jztnn.js} +15 -15
- package/dist/chunks/{form-1a7h6j0e.js → model-ctr5jdva.js} +11 -11
- package/dist/chunks/{form-rphwv4yx.js → model-cxjn1h7n.js} +13 -13
- package/dist/chunks/{form-gjgtcntp.js → model-cykvf63n.js} +23 -23
- package/dist/chunks/{form-vge4anhq.js → model-d1mb5amx.js} +6 -6
- package/dist/chunks/{form-fs1azxqq.js → model-d924vz02.js} +8 -8
- package/dist/chunks/{form-4tr9sj3s.js → model-de12mgtc.js} +6 -6
- package/dist/chunks/{form-4z11seec.js → model-dm7v99da.js} +35 -35
- package/dist/chunks/{form-t4kaa0s4.js → model-dqcawr84.js} +41 -41
- package/dist/chunks/{form-drwq78ky.js → model-drwq78ky.js} +1 -1
- package/dist/chunks/{form-dssbfrwz.js → model-dssbfrwz.js} +2 -2
- package/dist/chunks/{form-kyyrwnve.js → model-dtg8b4t8.js} +15 -15
- package/dist/chunks/{form-g3vh8g83.js → model-dtncpdvy.js} +50 -50
- package/dist/chunks/{form-8s9kfkjy.js → model-e09dskc3.js} +5 -5
- package/dist/chunks/{form-e80seqcp.js → model-e80seqcp.js} +1 -1
- package/dist/chunks/{form-80scg3y3.js → model-eahhehpg.js} +4 -4
- package/dist/chunks/{form-5ds1zhb7.js → model-ecktab1z.js} +21 -24
- package/dist/chunks/{form-eej6y6fw.js → model-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-ef5x83kb.js → model-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-aed95ak0.js → model-egcq7ve1.js} +23 -23
- package/dist/chunks/{form-jhfk9r6y.js → model-ehh902hv.js} +4 -4
- package/dist/chunks/{form-yp2x3t23.js → model-f2n192rq.js} +4 -4
- package/dist/chunks/{form-m9zsqxg5.js → model-f5q4m7s3.js} +14 -14
- package/dist/chunks/{form-fcy631f0.js → model-fcy631f0.js} +1 -1
- package/dist/chunks/{form-y56ehv6b.js → model-fdms3n6w.js} +9 -9
- package/dist/chunks/{form-1jnpdffm.js → model-fqab621c.js} +18 -18
- package/dist/chunks/{form-t89fqycx.js → model-fqhbsnr5.js} +8 -8
- package/dist/chunks/{form-z9h1rc8q.js → model-fqze90fq.js} +36 -36
- package/dist/chunks/{form-664gcsch.js → model-fts609s6.js} +11 -11
- package/dist/chunks/{form-2er8rx28.js → model-fygryk8m.js} +52 -52
- package/dist/chunks/{form-reqh9cx6.js → model-g2c9rtgb.js} +16 -16
- package/dist/chunks/{form-31q47af7.js → model-g4cgpsn5.js} +48 -48
- package/dist/chunks/{form-e0jchqh8.js → model-g70vnkxp.js} +5 -5
- package/dist/chunks/{form-c636ws1y.js → model-gatvqhtb.js} +33 -33
- package/dist/chunks/{form-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-w3qw7gwn.js → model-gj0f7hmv.js} +11 -11
- package/dist/chunks/{form-mxqwvtmd.js → model-gm6kgtxz.js} +5 -5
- package/dist/chunks/{form-pqqr3ecp.js → model-grz7zy3r.js} +28 -28
- package/dist/chunks/{form-krf9n45e.js → model-h2ebcmnw.js} +5 -5
- package/dist/chunks/{form-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-h7s7r6s9.js → model-h7s7r6s9.js} +2 -2
- package/dist/chunks/{form-2pdg46mn.js → model-h9mky73t.js} +7 -7
- package/dist/chunks/{form-fn9t717r.js → model-hbb7npd7.js} +3 -3
- package/dist/chunks/{form-s1y651v9.js → model-hc9nn3cp.js} +14 -14
- package/dist/chunks/{form-hgz4x7wa.js → model-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-9jawj32g.js → model-j3j05rer.js} +183 -183
- package/dist/chunks/{form-sxzvkvgj.js → model-j5w2yx54.js} +6 -6
- package/dist/chunks/{form-8a49hcsj.js → model-j8d907hd.js} +18 -18
- package/dist/chunks/{form-88yqk75g.js → model-jykakyyr.js} +11 -11
- package/dist/chunks/{form-2pjqf92f.js → model-k2qw8yh0.js} +12 -12
- package/dist/chunks/{form-80937yaf.js → model-kabzph0t.js} +32 -32
- package/dist/chunks/{form-ztk35ksq.js → model-kd2wz8ak.js} +38 -31
- package/dist/chunks/{form-fennk6fh.js → model-kftbgjt8.js} +8 -8
- package/dist/chunks/{form-3bxqa92y.js → model-kgyb2az8.js} +7 -7
- package/dist/chunks/{form-1mfmeq55.js → model-kj32e9g7.js} +40 -40
- package/dist/chunks/{form-4w995ebs.js → model-krxbrekj.js} +5 -5
- package/dist/chunks/{form-kwb1v3vj.js → model-kwb1v3vj.js} +1 -1
- package/dist/chunks/{form-my4zabxr.js → model-m5jcjszt.js} +3 -3
- package/dist/chunks/{form-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-p7k79t7z.js → model-ma6nsz3a.js} +11 -11
- package/dist/chunks/{form-maspj1v3.js → model-maspj1v3.js} +1 -1
- package/dist/chunks/{form-1ttfrgdq.js → model-mevcanmy.js} +14 -14
- package/dist/chunks/{form-zvb12tdz.js → model-mkj1vhfj.js} +17 -14
- package/dist/chunks/{form-2jt8ayr1.js → model-mnzjzk6s.js} +14 -14
- package/dist/chunks/{form-8ythymq7.js → model-mscbxc3d.js} +31 -31
- package/dist/chunks/{form-q451vyqz.js → model-mvnjff55.js} +32 -32
- package/dist/chunks/{form-3kpb0c37.js → model-mvtf3rh0.js} +18 -18
- package/dist/chunks/{form-vs2g7a9j.js → model-mx47rfmj.js} +23 -23
- package/dist/chunks/{form-55bcgx89.js → model-n44feps9.js} +21 -21
- package/dist/chunks/{form-bfegkxfd.js → model-n61013np.js} +8 -8
- package/dist/chunks/{form-2b3c5nqp.js → model-nbyfmbp2.js} +14 -14
- package/dist/chunks/{form-j5bzaa60.js → model-nfjdydxw.js} +23 -23
- package/dist/chunks/{form-22sd1qqc.js → model-ngts6ef0.js} +8 -8
- package/dist/chunks/{form-ysxjwpsm.js → model-nkeqdcfk.js} +11 -11
- package/dist/chunks/{form-m2ek90pq.js → model-npf2me51.js} +5 -5
- package/dist/chunks/{form-q2ksexwc.js → model-ntfc07z9.js} +11 -11
- package/dist/chunks/{form-hq3c8me3.js → model-ny8edt06.js} +4 -4
- package/dist/chunks/{form-x09p8ad2.js → model-p97a26wd.js} +11 -11
- package/dist/chunks/{form-pwzwe7dv.js → model-pdkwkcft.js} +29 -29
- package/dist/chunks/{form-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{form-cfp9fxgn.js → model-ppmprt3f.js} +15 -15
- package/dist/chunks/{form-mz1vdvay.js → model-pqjw7jp7.js} +9 -9
- package/dist/chunks/{form-9z093brs.js → model-px34zb81.js} +2 -2
- package/dist/chunks/{form-e9yvmpm5.js → model-q4k2r7g2.js} +11 -11
- package/dist/chunks/{form-qgn6gcr1.js → model-qgn6gcr1.js} +1 -1
- package/dist/chunks/{form-qnc92qwc.js → model-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{form-djszqvmq.js → model-r2m716tb.js} +9 -9
- package/dist/chunks/{form-wms60x7z.js → model-r2v4c7r0.js} +5 -5
- package/dist/chunks/{form-yx0rmv9r.js → model-r7nsrefv.js} +6 -6
- package/dist/chunks/{form-dmrxm2pd.js → model-r9jx05x6.js} +9 -9
- package/dist/chunks/{form-g686f6pq.js → model-ra67jj04.js} +9 -9
- package/dist/chunks/{form-rdw6cm16.js → model-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-rert0e01.js → model-rert0e01.js} +2 -2
- package/dist/chunks/{form-k6j8svq6.js → model-rfvt5x14.js} +27 -27
- package/dist/chunks/{form-e041byh6.js → model-rgkx77sa.js} +28 -28
- package/dist/chunks/{form-rj3eygr5.js → model-rj3eygr5.js} +2 -2
- package/dist/chunks/{form-rkprpv83.js → model-rkprpv83.js} +2 -2
- package/dist/chunks/{form-nn6k0wxf.js → model-rmjpaj98.js} +6 -6
- package/dist/chunks/{form-b63pserc.js → model-rnv29cyz.js} +4 -4
- package/dist/chunks/{form-ve45bn9x.js → model-s09wpg7e.js} +6 -6
- package/dist/chunks/{form-a5yn418x.js → model-s0hxh50y.js} +11 -11
- package/dist/chunks/{form-k09r0tzf.js → model-s21aqrjm.js} +13 -13
- package/dist/chunks/{form-m61wtnyd.js → model-s5f94422.js} +27 -27
- package/dist/chunks/{form-vmvgn89g.js → model-s93qc9vz.js} +14 -14
- package/dist/chunks/{form-sa8ekw3f.js → model-sa8ekw3f.js} +2 -2
- package/dist/chunks/{form-8xtmt7my.js → model-shqwqces.js} +24 -24
- package/dist/chunks/{form-ece89xmg.js → model-ss6w8dzv.js} +23 -23
- package/dist/chunks/{form-knhpxb3z.js → model-sxgptqgt.js} +10 -10
- package/dist/chunks/{form-syv4x271.js → model-syv4x271.js} +1 -1
- package/dist/chunks/{form-t550f9t1.js → model-t550f9t1.js} +1 -1
- package/dist/chunks/{form-17te1rrs.js → model-t83nhy2t.js} +22 -22
- package/dist/chunks/{form-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-83xwerep.js → model-tbtt1cd4.js} +5 -5
- package/dist/chunks/{form-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{form-k1nc15sv.js → model-tebnytv8.js} +23 -23
- package/dist/chunks/{form-tm0kqsz3.js → model-tm0kqsz3.js} +1 -1
- package/dist/chunks/{form-1sbc6zvw.js → model-tp9z584j.js} +13 -13
- package/dist/chunks/{form-e19ks7qx.js → model-tyrv786q.js} +33 -33
- package/dist/chunks/{form-tyytaxap.js → model-tyytaxap.js} +1 -1
- package/dist/chunks/{form-v0es1rhs.js → model-v0es1rhs.js} +2 -2
- package/dist/chunks/{form-drnf6xwf.js → model-v0xmac3n.js} +2 -2
- package/dist/chunks/{form-qzby9085.js → model-v1thw1q0.js} +14 -14
- package/dist/chunks/{form-y3446w5g.js → model-v37eec1m.js} +11 -11
- package/dist/chunks/{form-skvzaa2b.js → model-v6ffca6r.js} +1 -1
- package/dist/chunks/{form-v7p4zvkq.js → model-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-6rm5yzkt.js → model-v7z2bvyd.js} +4 -4
- package/dist/chunks/{form-mye47qdq.js → model-v9hfyz1s.js} +33 -33
- package/dist/chunks/{form-5730ttxm.js → model-vbyty4xy.js} +1 -1
- package/dist/chunks/{form-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{form-3h6nrbc0.js → model-vhjrr7mk.js} +32 -32
- package/dist/chunks/{form-kveec270.js → model-vn3rjt1z.js} +8 -8
- package/dist/chunks/{form-vjkkm7c0.js → model-vqwxx78m.js} +14 -14
- package/dist/chunks/{form-0fwvyrmx.js → model-vrxmxsaq.js} +67 -67
- package/dist/chunks/{form-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-yk7byskd.js → model-w0vvr4mg.js} +45 -45
- package/dist/chunks/{form-84txncab.js → model-w1eejvng.js} +5 -5
- package/dist/chunks/{form-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-9rygk3cj.js → model-wa72q8a5.js} +9 -9
- package/dist/chunks/{form-f6trqzxt.js → model-wcgc3hss.js} +1 -1
- package/dist/chunks/{form-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{form-p7jjw840.js → model-wdcfxsan.js} +19 -19
- package/dist/chunks/{form-3jctmxfg.js → model-wjcs86hs.js} +17 -17
- package/dist/chunks/{form-feth2w2p.js → model-wr7n6jz0.js} +24 -24
- package/dist/chunks/{form-fab12qp9.js → model-x32pgb56.js} +3 -3
- package/dist/chunks/{form-gs1bdhkb.js → model-x3mzkak9.js} +28 -28
- package/dist/chunks/{form-0mzckxrk.js → model-x3vxrdp4.js} +5 -5
- package/dist/chunks/{form-tqv0zfn4.js → model-xcf9g4kc.js} +27 -27
- package/dist/chunks/{form-y1z10p5c.js → model-xe9tpf1b.js} +7 -7
- package/dist/chunks/{form-j1nkd3qs.js → model-xnj83fhm.js} +28 -28
- package/dist/chunks/{form-v02w65x3.js → model-xp2z857k.js} +15 -15
- package/dist/chunks/{form-yw35snb5.js → model-xp70dzpx.js} +5 -5
- package/dist/chunks/{form-6rs5f4ws.js → model-xsa8njxy.js} +31 -31
- package/dist/chunks/{form-jcbnvqks.js → model-xxqg5re6.js} +17 -17
- package/dist/chunks/{form-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-dpkg50ah.js → model-y71avatq.js} +4 -4
- package/dist/chunks/{form-0dkm2nh8.js → model-y9kpd8s3.js} +13 -13
- package/dist/chunks/{form-hg537jnq.js → model-yh1hagv9.js} +11 -11
- package/dist/chunks/{form-7bzx8g05.js → model-yjb5b1g6.js} +58 -58
- package/dist/chunks/{form-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-cd64y48y.js → model-z5exdbxr.js} +32 -32
- package/dist/chunks/{form-nj7hqrdc.js → model-z8y91tz7.js} +12 -12
- package/dist/chunks/{form-4ydny63g.js → model-zmgnvkkw.js} +6 -6
- package/dist/chunks/{form-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-pj2hapcd.js → model-zssgvwvv.js} +15 -15
- package/dist/chunks/{form-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- 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 +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -134
- 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 +123 -123
- 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 +10 -0
- package/dist/config/plugin/skill.js +138 -137
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -359
- package/dist/instruction-discovery.js +80 -80
- 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 +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- 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 +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -330
- 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 +2 -2
- 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 +114 -114
- 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 +123 -123
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- 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 +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -349
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- 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 +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +95 -95
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- 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 +211 -211
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/config/plugin/skill-scan.d.ts +5 -0
- package/dist/types/skill.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- 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/form-7snhtx2p.js +0 -257
- package/dist/chunks/form-8ad1xt0e.js +0 -26
- /package/dist/chunks/{form-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → model-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → model-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5qd3pb7m.js → model-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → model-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → model-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → model-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → model-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → model-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-pyv0edze.js → model-pyv0edze.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → model-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wjj7prxr.js → model-wjj7prxr.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service37
|
|
3
|
+
} from "./model-3z0hjn58.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service36
|
|
6
|
+
} from "./model-j5w2yx54.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-1x11rq2a.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service62
|
|
15
|
+
} from "./model-ngts6ef0.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-de12mgtc.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service47
|
|
23
|
+
} from "./model-kd2wz8ak.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service36;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service62;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service47;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service37;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service43
|
|
7
|
+
} from "./model-c2qhap2q.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service73
|
|
13
|
+
} from "./model-2zzk95jc.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service45
|
|
16
|
+
} from "./model-636h7cea.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service58
|
|
19
|
+
} from "./model-fygryk8m.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service57,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-fqab621c.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service76,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-dtg8b4t8.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError3,
|
|
36
|
+
Service41
|
|
37
|
+
} from "./model-9mga5c27.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service18
|
|
40
|
+
} from "./model-70pmzrba.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
scan3
|
|
43
|
+
} from "./model-xe9tpf1b.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./model-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input12,
|
|
53
|
+
Plugin: () => Plugin49,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name12
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name12 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input12 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin49 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service18;
|
|
124
|
+
const jobs = yield* Service45;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service73;
|
|
127
|
+
const access = yield* Service57;
|
|
128
|
+
const shell = yield* Service41;
|
|
129
|
+
const shellSelect = yield* Service76;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service58;
|
|
132
|
+
const config = yield* Service43;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -140,7 +140,7 @@ var Plugin8 = {
|
|
|
140
140
|
invocation.cwd = target.absolute;
|
|
141
141
|
const timeout = invocation.timeout;
|
|
142
142
|
const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
|
|
143
|
-
const parsed = yield*
|
|
143
|
+
const parsed = yield* scan3(invocation.command, invocation.shell, target.absolute, { portable });
|
|
144
144
|
const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
|
|
145
145
|
path: resolvePath2(target.absolute, directory),
|
|
146
146
|
kind: "directory"
|
|
@@ -148,7 +148,7 @@ var Plugin8 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name12,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin8 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name12,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input12,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin8 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError3({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name12,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name12];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin49, exports_shell2 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-wcgc3hss.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-zmgnvkkw.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-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: () => make23,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./model-k2qw8yh0.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-azwe5p1w.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID12,
|
|
14
|
+
Service65,
|
|
15
|
+
node68,
|
|
16
|
+
Event14
|
|
17
|
+
} from "./model-pdkwkcft.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service80,
|
|
20
|
+
node84
|
|
21
|
+
} from "./model-f5q4m7s3.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -39,13 +39,13 @@ __export(exports_provider3, {
|
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
42
|
+
Event: () => Event13,
|
|
43
|
+
ID: () => ID11,
|
|
44
|
+
Info: () => Info19,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
47
|
Request: () => Request3,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service64,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -57,7 +57,7 @@ __export(exports_provider3, {
|
|
|
57
57
|
mergeOverlay: () => mergeOverlay2,
|
|
58
58
|
modelSettings: () => modelSettings2,
|
|
59
59
|
nativeSettings: () => nativeSettings2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node67,
|
|
61
61
|
packageName: () => packageName2,
|
|
62
62
|
timeout: () => timeout2,
|
|
63
63
|
timeouts: () => timeouts2
|
|
@@ -71,8 +71,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
71
71
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
|
-
import { Event as
|
|
75
|
-
var
|
|
74
|
+
import { Event as Event13 } from "@opencode/schema/provider";
|
|
75
|
+
var ID11 = Provider.ID;
|
|
76
76
|
var AISDK_PREFIX2 = "aisdk:";
|
|
77
77
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
78
78
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -283,9 +283,9 @@ var Request3 = Provider.Request;
|
|
|
283
283
|
var Compaction3 = Provider.Compaction;
|
|
284
284
|
var Transport2 = Provider.Transport;
|
|
285
285
|
var Settings2 = Provider.Settings;
|
|
286
|
-
var
|
|
286
|
+
var Info19 = Provider.Info;
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Service64 extends Context.Service()("@opencode/Provider") {
|
|
289
289
|
}
|
|
290
290
|
var definitions = new WeakMap;
|
|
291
291
|
function index(providerID, models) {
|
|
@@ -298,10 +298,10 @@ function index(providerID, models) {
|
|
|
298
298
|
definitions.set(models, indexes);
|
|
299
299
|
return result;
|
|
300
300
|
}
|
|
301
|
-
var layer = Layer.effect(
|
|
302
|
-
const bus = yield*
|
|
303
|
-
const integrations = yield*
|
|
304
|
-
const location = yield*
|
|
301
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
302
|
+
const bus = yield* Service82;
|
|
303
|
+
const integrations = yield* Service65;
|
|
304
|
+
const location = yield* Service80;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "provider",
|
|
307
307
|
initial: () => new Map,
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
312
312
|
const current = records.get(id);
|
|
313
313
|
if (current)
|
|
314
314
|
return current;
|
|
315
|
-
const added = { provider:
|
|
315
|
+
const added = { provider: Info19.empty(id), models: new Map };
|
|
316
316
|
records.set(id, added);
|
|
317
317
|
maps.add(added.models);
|
|
318
318
|
return added;
|
|
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
393
393
|
const available = Array.from(records.values()).filter((record) => {
|
|
394
394
|
if (record.provider.activation === "disabled")
|
|
395
395
|
return false;
|
|
396
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
396
|
+
const integration = byID.get(record.provider.integrationID ?? ID12.make(record.provider.id));
|
|
397
397
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
398
398
|
return false;
|
|
399
399
|
if (record.provider.activation === "enabled")
|
|
@@ -419,8 +419,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
419
419
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
420
420
|
});
|
|
421
421
|
});
|
|
422
|
-
yield* bus.subscribe([
|
|
423
|
-
return
|
|
422
|
+
yield* bus.subscribe([Event14.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
423
|
+
return Service64.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
429
429
|
snapshot
|
|
430
430
|
});
|
|
431
431
|
}));
|
|
432
|
-
var
|
|
432
|
+
var node67 = makeLocationNode({ service: Service64, layer, deps: [node86, node68, node84] });
|
|
433
433
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
434
434
|
const module = yield* Effect.tryPromise({
|
|
435
435
|
try: () => {
|
|
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
699
699
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
700
700
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
701
701
|
|
|
702
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
702
|
+
export { rewrite2, native2, exports_aisdk_native, ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info19, Service64, node67, exports_provider3, Event13 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service28,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node31
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service28 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service28.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node31 = makeGlobalNode({ service: Service28, layer: layer13, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service28, makeLayer2, layer13, node31, exports_model_transport };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./model-f5q4m7s3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
|
|
|
54
54
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service80;
|
|
58
58
|
const system = (() => {
|
|
59
59
|
if (options?.system === false)
|
|
60
60
|
return;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node84
|
|
7
|
+
} from "./model-f5q4m7s3.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service72,
|
|
10
|
+
node75
|
|
11
|
+
} from "./model-v1thw1q0.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names4
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-89znhe33.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options9,
|
|
25
|
+
Service: () => Service71,
|
|
26
|
+
configured: () => configured9,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
28
|
layer: () => layer28,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node74,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options9 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service71 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service71, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service80;
|
|
63
|
+
const ripgrep = yield* Service72;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service71.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service71, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service80;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service71.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service71.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -175,16 +175,16 @@ var fffLayer2 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
177
|
var layer28 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
-
const location = yield*
|
|
178
|
+
const location = yield* Service80;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured9(options) {
|
|
186
|
+
return makeLocationNode({ service: Service71, layer: layer28(options), deps: [node84, node75] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node74 = configured9();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options9, Service71, ripgrepLayer2, fffLayer2, layer28, configured9, node74, exports_search };
|