@opencode/core 0.0.0-dev-20188 → 0.0.0-dev-20194
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 +77 -77
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{worktree-pqjrvzcw.js → reference-0b8npddv.js} +11 -11
- package/dist/chunks/{worktree-9me17b34.js → reference-0f9b925g.js} +26 -26
- package/dist/chunks/{worktree-mc8dzm2m.js → reference-0gg825j3.js} +6 -6
- package/dist/chunks/{worktree-rfb9sreq.js → reference-0h711vda.js} +42 -42
- package/dist/chunks/{worktree-mkw5hrks.js → reference-0jq9fyba.js} +9 -9
- package/dist/chunks/{worktree-jq2khwfm.js → reference-0kfypxfq.js} +20 -20
- package/dist/chunks/{worktree-be2558nw.js → reference-0m9cq689.js} +18 -18
- package/dist/chunks/{worktree-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-4xwskevg.js → reference-0z2rg4rm.js} +41 -41
- package/dist/chunks/{worktree-j26sntzs.js → reference-11pm3r9v.js} +12 -12
- package/dist/chunks/{worktree-n6yw1bmz.js → reference-14794zc1.js} +6 -6
- package/dist/chunks/{worktree-kqa3zwqq.js → reference-156a9j9s.js} +24 -24
- package/dist/chunks/{worktree-jt1zekb2.js → reference-177cmxdg.js} +13 -13
- package/dist/chunks/{worktree-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-2hf6az8f.js → reference-1f5yd8z2.js} +75 -75
- package/dist/chunks/{worktree-bp18y4ry.js → reference-1jsptwm6.js} +6 -6
- package/dist/chunks/{worktree-5gpad69q.js → reference-1qadeb1c.js} +12 -12
- package/dist/chunks/{worktree-33w4ejhs.js → reference-1ygqh575.js} +6 -6
- package/dist/chunks/{worktree-qzzxwa2f.js → reference-1zys84da.js} +11 -11
- package/dist/chunks/{worktree-21r38tys.js → reference-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-gy767g1q.js → reference-24mjcg6m.js} +8 -8
- package/dist/chunks/{worktree-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-czczktcr.js → reference-2e6dphxw.js} +9 -9
- package/dist/chunks/{worktree-qgn6gcr1.js → reference-2k8khapm.js} +5 -5
- package/dist/chunks/{worktree-32m0rg18.js → reference-2t8jpbpj.js} +9 -9
- package/dist/chunks/{worktree-n1f7dk7k.js → reference-31ywrma3.js} +11 -11
- package/dist/chunks/{worktree-34rkz0x9.js → reference-34rkz0x9.js} +1 -1
- package/dist/chunks/{worktree-vdgcnvxy.js → reference-3b3jy36q.js} +13 -13
- package/dist/chunks/{worktree-3t5az78k.js → reference-3e8yqhxk.js} +8 -8
- package/dist/chunks/{worktree-na68e3aj.js → reference-3eexfaf4.js} +8 -8
- package/dist/chunks/{worktree-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-fgq08y9p.js → reference-3jq6wq7y.js} +5 -5
- package/dist/chunks/{worktree-v38nc8kc.js → reference-3s9dhbpg.js} +15 -15
- package/dist/chunks/{worktree-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-8z6bjbtb.js → reference-3sph9hsg.js} +20 -20
- package/dist/chunks/{worktree-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-8cv5adkj.js → reference-3v9eaqqc.js} +8 -8
- package/dist/chunks/{worktree-yvppbn9c.js → reference-3yzf73xp.js} +9 -9
- package/dist/chunks/{worktree-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
- package/dist/chunks/{worktree-janr2w61.js → reference-44zaxtg7.js} +10 -10
- package/dist/chunks/{worktree-ra57bp20.js → reference-4a6kxgsg.js} +9 -9
- package/dist/chunks/{worktree-3pe3bqaw.js → reference-4azmnb77.js} +11 -11
- package/dist/chunks/{worktree-56dkfrzf.js → reference-4j4tgtq5.js} +24 -7
- package/dist/chunks/reference-4wvg2h98.js +252 -0
- package/dist/chunks/{worktree-p44d8wdy.js → reference-4xz89tjk.js} +5 -5
- package/dist/chunks/{worktree-ttf2sjfk.js → reference-4yner5sa.js} +18 -18
- package/dist/chunks/{worktree-sxzvkvgj.js → reference-51f5btjf.js} +6 -6
- package/dist/chunks/{worktree-ckecvw8r.js → reference-54tcyq79.js} +2 -2
- package/dist/chunks/{worktree-xhsn75b2.js → reference-587j3zfx.js} +7 -7
- package/dist/chunks/{worktree-vf3zqv76.js → reference-5958cd08.js} +25 -25
- package/dist/chunks/{worktree-5daktx2q.js → reference-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-vfkxywyq.js → reference-5hqxtq21.js} +20 -20
- package/dist/chunks/{worktree-ke9wcgg9.js → reference-5jrh7n3y.js} +6 -6
- package/dist/chunks/reference-5kveh0cp.js +26 -0
- package/dist/chunks/{worktree-f2t31f47.js → reference-5na37vb4.js} +22 -22
- package/dist/chunks/{worktree-3w0fmcng.js → reference-5sj81wm5.js} +5 -5
- package/dist/chunks/{worktree-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-s4bg3x1g.js → reference-5vyyh9tt.js} +37 -37
- package/dist/chunks/{worktree-669tq793.js → reference-669tq793.js} +1 -1
- package/dist/chunks/{worktree-2w3tjptc.js → reference-67f3c5a6.js} +5 -5
- package/dist/chunks/{worktree-4p0mh606.js → reference-6e87vakz.js} +14 -14
- package/dist/chunks/{worktree-484bq32a.js → reference-6fmnkfnr.js} +18 -18
- package/dist/chunks/{worktree-2402vzrj.js → reference-6h73sxmp.js} +5 -5
- package/dist/chunks/{worktree-1rrnyw52.js → reference-6hqe4q59.js} +13 -13
- package/dist/chunks/{worktree-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-n2fgpkxf.js → reference-7vvdj7v1.js} +15 -15
- package/dist/chunks/{worktree-11qj5279.js → reference-7zg2wc6k.js} +41 -41
- package/dist/chunks/{worktree-n8epb2f3.js → reference-81bye27z.js} +22 -22
- package/dist/chunks/{worktree-89bb6baa.js → reference-8aaqm6qj.js} +8 -8
- package/dist/chunks/{worktree-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-1h80sv90.js → reference-8ha6ga5e.js} +8 -8
- package/dist/chunks/{worktree-st0wxvz0.js → reference-8pn44ehn.js} +11 -11
- package/dist/chunks/{worktree-e4jktww8.js → reference-8rw29dk0.js} +20 -20
- package/dist/chunks/{worktree-ma48de29.js → reference-8ryk0bb9.js} +5 -5
- package/dist/chunks/{worktree-x0sgcbm0.js → reference-8vsk6s2a.js} +22 -22
- package/dist/chunks/{worktree-k15ab44n.js → reference-96p72y45.js} +6 -6
- package/dist/chunks/{worktree-jxben73j.js → reference-9j56qjm9.js} +11 -11
- package/dist/chunks/{worktree-czx3r0mk.js → reference-9m59q143.js} +11 -11
- package/dist/chunks/{worktree-qz02d4gv.js → reference-9qb76avw.js} +14 -14
- package/dist/chunks/{worktree-t2h3929f.js → reference-9qs04gms.js} +20 -20
- package/dist/chunks/{worktree-ky3seynh.js → reference-a3r4dcrj.js} +2 -2
- package/dist/chunks/{worktree-7ebfd3s5.js → reference-a6fdbjg5.js} +11 -11
- package/dist/chunks/{worktree-aaet6srn.js → reference-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-begby2a8.js → reference-afq9djet.js} +20 -20
- package/dist/chunks/{worktree-31ywg3jd.js → reference-aqeafnz7.js} +11 -11
- package/dist/chunks/{worktree-mdskkmyq.js → reference-as35gwv2.js} +13 -13
- package/dist/chunks/{worktree-y2d6hc89.js → reference-avbsach8.js} +14 -14
- package/dist/chunks/{worktree-s61wkdxb.js → reference-axd321tm.js} +7 -7
- package/dist/chunks/{worktree-37z41h2b.js → reference-b15rjjj6.js} +27 -27
- package/dist/chunks/{worktree-mvksx64m.js → reference-b2a4mx33.js} +4 -4
- package/dist/chunks/{worktree-j9ayj4zc.js → reference-b4tbyby1.js} +31 -31
- package/dist/chunks/{worktree-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-pewkkx94.js → reference-ba38qkz5.js} +10 -10
- package/dist/chunks/{worktree-vyqn3nqs.js → reference-bdqrk2vk.js} +4 -4
- package/dist/chunks/{worktree-gjd67er9.js → reference-be7pa3qf.js} +8 -8
- package/dist/chunks/{worktree-1hj8qdg9.js → reference-bf7x6yrd.js} +28 -28
- package/dist/chunks/{worktree-p4ngywjt.js → reference-bg7sr6g1.js} +3 -3
- package/dist/chunks/{worktree-yhqrd6s3.js → reference-bhvqvkry.js} +12 -12
- package/dist/chunks/{worktree-z07pqspn.js → reference-bjtzbw4r.js} +3 -3
- package/dist/chunks/{worktree-3z2pry7k.js → reference-bk2c8kx1.js} +10 -10
- package/dist/chunks/{worktree-naew6wv7.js → reference-bkyy3065.js} +37 -37
- package/dist/chunks/{worktree-zz9f7sca.js → reference-bqszwq89.js} +6 -6
- package/dist/chunks/{worktree-5qwkxp89.js → reference-bsqx64w4.js} +4 -4
- package/dist/chunks/{worktree-ps7587j7.js → reference-c35p20hr.js} +16 -16
- package/dist/chunks/{worktree-x5qaxq4m.js → reference-c4989wfm.js} +11 -11
- package/dist/chunks/{worktree-mxjy4sk4.js → reference-cab88dx5.js} +12 -12
- package/dist/chunks/{worktree-qt2a2r7m.js → reference-chweyq95.js} +4 -4
- package/dist/chunks/{worktree-fvanntqq.js → reference-cpy6gm2a.js} +4 -4
- package/dist/chunks/{worktree-7v9khnky.js → reference-cyww2hg1.js} +8 -8
- package/dist/chunks/{worktree-x2fe1d14.js → reference-d7mqv6pa.js} +3 -3
- package/dist/chunks/{worktree-57ez7d0k.js → reference-d9s573fh.js} +2 -2
- package/dist/chunks/{worktree-kmntd6fa.js → reference-ddg1q8r0.js} +8 -8
- package/dist/chunks/{worktree-qmqgtz8f.js → reference-djszqvmq.js} +9 -9
- package/dist/chunks/{worktree-xkntkrq7.js → reference-dmqcgk4z.js} +5 -5
- package/dist/chunks/{worktree-0pa72kx5.js → reference-dv36yjgc.js} +1 -1
- package/dist/chunks/reference-dxj72tfx.js +18 -0
- package/dist/chunks/{worktree-b6bm2ck9.js → reference-e12g3w7z.js} +16 -16
- package/dist/chunks/{worktree-ecfe7b91.js → reference-ecfe7b91.js} +2 -2
- package/dist/chunks/{worktree-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-73tb2d7t.js → reference-eq1pz5kg.js} +3 -3
- package/dist/chunks/{worktree-cahryj50.js → reference-eqy59tqm.js} +12 -12
- package/dist/chunks/{worktree-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-gvx64vq2.js → reference-f26ddygf.js} +82 -82
- package/dist/chunks/{worktree-6bh1zc7k.js → reference-f6rweyq9.js} +1 -1
- package/dist/chunks/{worktree-x6pndzmr.js → reference-faj6f0em.js} +11 -11
- package/dist/chunks/{worktree-73rm0k6w.js → reference-fgbgrse6.js} +1 -1
- package/dist/chunks/{worktree-sfntmzm9.js → reference-fh8xxmnr.js} +1 -1
- package/dist/chunks/{worktree-hbt46k8x.js → reference-fmfggwz4.js} +11 -11
- package/dist/chunks/{worktree-ykpsr87k.js → reference-fqjhatxe.js} +21 -21
- package/dist/chunks/{worktree-pe8mbhm6.js → reference-fxb44a1q.js} +11 -11
- package/dist/chunks/{worktree-b24016yy.js → reference-fxpk8e1k.js} +39 -39
- package/dist/chunks/{worktree-b2d04wat.js → reference-fydrzrkb.js} +11 -11
- package/dist/chunks/{worktree-2vjymgz4.js → reference-fzts1kpm.js} +11 -11
- package/dist/chunks/{worktree-9f3zk6vx.js → reference-g4x6f0m8.js} +14 -14
- package/dist/chunks/{worktree-nscznvay.js → reference-g74mfj6n.js} +9 -9
- package/dist/chunks/{worktree-7s451enq.js → reference-gbtx73hb.js} +4 -4
- package/dist/chunks/{worktree-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-94ek1h2f.js → reference-gfvb90ym.js} +2 -2
- package/dist/chunks/{worktree-qzdhq6gs.js → reference-h3h6bw0z.js} +21 -21
- package/dist/chunks/{worktree-h6r3nrb9.js → reference-h6r3nrb9.js} +1 -1
- package/dist/chunks/{worktree-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-tb1cafh6.js → reference-h9pnpq88.js} +4 -4
- package/dist/chunks/{worktree-xnrrqkxx.js → reference-hkcbg3z4.js} +7 -7
- package/dist/chunks/{worktree-29w74my6.js → reference-hmmwrfz7.js} +4 -4
- package/dist/chunks/{worktree-2a6vj052.js → reference-hs32c6fx.js} +8 -8
- package/dist/chunks/{worktree-e7pxnx0w.js → reference-htqg6e4e.js} +13 -13
- package/dist/chunks/{worktree-qfhs05fv.js → reference-hxg08g5j.js} +6 -6
- package/dist/chunks/{worktree-m6f3t844.js → reference-hz0q9sdq.js} +8 -8
- package/dist/chunks/{worktree-j56e64zr.js → reference-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-xxynqx5z.js → reference-jexxy024.js} +2 -2
- package/dist/chunks/{worktree-nx4vh8py.js → reference-jkcb4v42.js} +13 -13
- package/dist/chunks/{worktree-28dctkqw.js → reference-jm5a5pey.js} +21 -21
- package/dist/chunks/{worktree-h0syphj7.js → reference-jqcdp112.js} +23 -23
- package/dist/chunks/{worktree-06x8he3q.js → reference-jvf3yq6v.js} +4 -4
- package/dist/chunks/{worktree-hgnyvjm7.js → reference-jxxs5s4h.js} +323 -323
- package/dist/chunks/{worktree-k3c624dm.js → reference-k3c624dm.js} +3 -3
- package/dist/chunks/{worktree-020j3mp2.js → reference-kb3wdknj.js} +6 -6
- package/dist/chunks/{worktree-0rvaxq3r.js → reference-kgajg4t2.js} +15 -15
- package/dist/chunks/{worktree-5rbhaw37.js → reference-knx0mxy4.js} +17 -17
- package/dist/chunks/{worktree-vwwmtnca.js → reference-krnctd4r.js} +19 -19
- package/dist/chunks/{worktree-m3fdjcah.js → reference-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-pkbn8ntv.js → reference-m655g54e.js} +2 -2
- package/dist/chunks/{worktree-bk66cvw8.js → reference-m77p9bps.js} +8 -8
- package/dist/chunks/{worktree-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-bbp6pymt.js → reference-ma2yn7zc.js} +31 -31
- package/dist/chunks/{worktree-5m20xtfs.js → reference-mev7xm92.js} +20 -20
- package/dist/chunks/{worktree-cavr175a.js → reference-mjymc32g.js} +4 -4
- package/dist/chunks/{worktree-txhsw5z1.js → reference-mnkndwyg.js} +10 -10
- package/dist/chunks/{worktree-sf02ybzk.js → reference-n11m6crk.js} +35 -35
- package/dist/chunks/{worktree-n093hytc.js → reference-n2bd736z.js} +67 -67
- package/dist/chunks/{worktree-5445nesp.js → reference-nc0myf7t.js} +14 -14
- package/dist/chunks/{worktree-kwyat364.js → reference-nezp3nh3.js} +29 -29
- package/dist/chunks/{worktree-n99xb23m.js → reference-ngffvtk2.js} +17 -17
- package/dist/chunks/{worktree-fknhp1f0.js → reference-nqw1h68k.js} +17 -17
- package/dist/chunks/{worktree-mwtjvb3s.js → reference-nrc70r1t.js} +52 -52
- package/dist/chunks/{worktree-gy2xc5tx.js → reference-nx90x7kt.js} +22 -22
- package/dist/chunks/{worktree-tpw6cwsb.js → reference-p37cw4rj.js} +8 -8
- package/dist/chunks/{worktree-p9g6edyn.js → reference-p9g6edyn.js} +2 -2
- package/dist/chunks/{worktree-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-8k7kyfyn.js → reference-pk3z8zwb.js} +7 -7
- package/dist/chunks/{worktree-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-kgkh60qc.js → reference-pmjz3wtp.js} +17 -17
- package/dist/chunks/{worktree-z0aj456m.js → reference-pmwpe40e.js} +4 -4
- package/dist/chunks/{worktree-be4hb00e.js → reference-pnde1qtn.js} +6 -6
- package/dist/chunks/{worktree-pp758716.js → reference-pntwmbjc.js} +9 -9
- package/dist/chunks/{worktree-s3sfgg05.js → reference-ps6kahe0.js} +1 -1
- package/dist/chunks/{worktree-wd3x2cqz.js → reference-psazpmmj.js} +2 -2
- package/dist/chunks/{worktree-jnbt5kke.js → reference-pwehtxr6.js} +22 -22
- package/dist/chunks/{worktree-rkprpv83.js → reference-py3kkmfq.js} +2 -2
- package/dist/chunks/{worktree-mbycs7xn.js → reference-q2s2wz1h.js} +8 -8
- package/dist/chunks/{worktree-bh2nsqp8.js → reference-q6cph699.js} +25 -25
- package/dist/chunks/{worktree-pjzg4rs2.js → reference-q72jbytn.js} +4 -4
- package/dist/chunks/{worktree-hcpeyj26.js → reference-qb1aeqnr.js} +26 -26
- package/dist/chunks/{worktree-k8hpw67k.js → reference-qdbakdjh.js} +5 -5
- package/dist/chunks/{worktree-x7a8dc8r.js → reference-qevex4z1.js} +31 -31
- package/dist/chunks/{worktree-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-6wqfvy1r.js → reference-qwkdrh69.js} +27 -27
- package/dist/chunks/{worktree-ezkyf0b6.js → reference-r4453y51.js} +26 -26
- package/dist/chunks/{worktree-r7thwgs5.js → reference-r9e31c0d.js} +12 -12
- package/dist/chunks/{worktree-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-75w1k5vs.js → reference-rer9h1m0.js} +14 -14
- package/dist/chunks/{worktree-zeh9ct20.js → reference-rq775frq.js} +2 -2
- package/dist/chunks/{worktree-cd6xvapc.js → reference-rr9dycgk.js} +7 -7
- package/dist/chunks/{worktree-70b2t1mc.js → reference-rxyp0enr.js} +120 -120
- package/dist/chunks/{worktree-3521mr9s.js → reference-s31h5w29.js} +26 -26
- package/dist/chunks/{worktree-2ffy1121.js → reference-s3adcg6q.js} +27 -27
- package/dist/chunks/{worktree-tkv06rt5.js → reference-sc1tzy0m.js} +8 -8
- package/dist/chunks/{worktree-q3eynse1.js → reference-se4rjrwe.js} +9 -9
- package/dist/chunks/{worktree-kw9xdzv2.js → reference-sqmzwr9m.js} +9 -9
- package/dist/chunks/{worktree-9zvrdw08.js → reference-ssrktsty.js} +18 -18
- package/dist/chunks/{worktree-87cgy5hv.js → reference-sv8w0sp0.js} +3 -3
- package/dist/chunks/{worktree-sx1n432n.js → reference-sx1n432n.js} +1 -1
- package/dist/chunks/{worktree-bqkvb2j5.js → reference-t265p2pq.js} +4 -4
- package/dist/chunks/{worktree-7p71tqc9.js → reference-t2j5vcca.js} +9 -9
- package/dist/chunks/{worktree-9kr90avb.js → reference-t4btr8yn.js} +19 -19
- package/dist/chunks/{worktree-sg55x592.js → reference-t4m9kaws.js} +48 -48
- package/dist/chunks/{worktree-rhjbct0v.js → reference-t550f9t1.js} +4 -4
- package/dist/chunks/{worktree-720pgjf4.js → reference-t7y3dpm9.js} +27 -27
- package/dist/chunks/{worktree-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-w1j9nm09.js → reference-td3sphkw.js} +10 -10
- package/dist/chunks/{worktree-d1v6nj19.js → reference-tdkwvqdy.js} +30 -30
- package/dist/chunks/{worktree-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-20zz1ang.js → reference-tgcnk5sw.js} +8 -8
- package/dist/chunks/{worktree-pcsd5hvp.js → reference-thddb0yg.js} +28 -28
- package/dist/chunks/{worktree-y3ntbath.js → reference-thjmag0n.js} +9 -9
- package/dist/chunks/{worktree-tvtrv512.js → reference-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-wkx5ts7j.js → reference-v1h7jmyp.js} +1 -1
- package/dist/chunks/{worktree-hnr5yq9h.js → reference-v5hpcsb0.js} +5 -5
- package/dist/chunks/{worktree-za9cx4qh.js → reference-v8nsmxgn.js} +8 -8
- package/dist/chunks/{worktree-kvdx9qh0.js → reference-v9cwmph0.js} +20 -20
- package/dist/chunks/{worktree-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-cp4cyprf.js → reference-vgr5e0ea.js} +3 -3
- package/dist/chunks/{worktree-1vezjmp5.js → reference-vhfvd2jp.js} +20 -20
- package/dist/chunks/{worktree-dwn1dze5.js → reference-vvfvm01x.js} +9 -9
- package/dist/chunks/{worktree-pmpthfvp.js → reference-vwfyqj1a.js} +18 -18
- package/dist/chunks/{worktree-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
- package/dist/chunks/{worktree-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-29hn33b2.js → reference-w6yg8354.js} +13 -13
- package/dist/chunks/{worktree-c2pw6yvc.js → reference-wbrq6ka8.js} +4 -4
- package/dist/chunks/{worktree-8695v8ev.js → reference-wd5k3756.js} +21 -21
- package/dist/chunks/{worktree-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-0kvqmx4f.js → reference-wnys78fq.js} +6 -6
- package/dist/chunks/{worktree-d9j01kt6.js → reference-wqkzg7sy.js} +11 -11
- package/dist/chunks/{worktree-89z5ntxh.js → reference-ws016w0z.js} +3 -3
- package/dist/chunks/{worktree-ajt6jt3w.js → reference-wsrgfmp7.js} +10 -10
- package/dist/chunks/{worktree-y6yanky9.js → reference-ww5pdtvn.js} +25 -25
- package/dist/chunks/{worktree-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-2jvd2xkt.js → reference-x5rq2qdm.js} +42 -42
- package/dist/chunks/{worktree-7wndjkhp.js → reference-x5xe0bd0.js} +38 -38
- package/dist/chunks/{worktree-drwq78ky.js → reference-xfkkasph.js} +4 -4
- package/dist/chunks/{worktree-6q03a5wq.js → reference-xg0dkexn.js} +16 -16
- package/dist/chunks/{worktree-mfhjs9pf.js → reference-xkxsh21d.js} +4 -4
- package/dist/chunks/{worktree-9tefhynz.js → reference-xp3d2160.js} +14 -14
- package/dist/chunks/{worktree-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-rk8vfsg9.js → reference-y2r3h4fb.js} +15 -15
- package/dist/chunks/{worktree-7k4j4fqt.js → reference-y560y7p4.js} +22 -22
- package/dist/chunks/{worktree-jwcy2c2z.js → reference-y71avatq.js} +4 -4
- package/dist/chunks/{worktree-mwz6j41z.js → reference-ybhbtxjg.js} +6 -6
- package/dist/chunks/{worktree-fwbkdqa5.js → reference-yead9t7b.js} +6 -6
- package/dist/chunks/{worktree-z4nhvzkj.js → reference-yf72js65.js} +13 -13
- package/dist/chunks/{worktree-8w5jxq7f.js → reference-yfxpx2t9.js} +9 -9
- package/dist/chunks/{worktree-newx50ce.js → reference-yfz2gavf.js} +3 -3
- package/dist/chunks/{worktree-m08wkhy0.js → reference-yjvnj1zk.js} +11 -11
- package/dist/chunks/{worktree-fgxhpymv.js → reference-ykprmxnv.js} +2 -2
- package/dist/chunks/{worktree-f2n192rq.js → reference-yp2x3t23.js} +4 -4
- package/dist/chunks/{worktree-gesdtaaj.js → reference-ypd49sxc.js} +9 -9
- package/dist/chunks/{worktree-kdw1p45x.js → reference-ypp73q3k.js} +16 -16
- package/dist/chunks/{worktree-2320a07y.js → reference-yqa20cga.js} +32 -32
- package/dist/chunks/{worktree-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-yrznvahk.js → reference-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-w17508vf.js → reference-ysh0bc3c.js} +12 -12
- package/dist/chunks/{worktree-n79fjaqn.js → reference-yw63brvc.js} +16 -16
- package/dist/chunks/{worktree-vz9haa5b.js → reference-yws4pbzc.js} +14 -14
- package/dist/chunks/{worktree-gv6a8nnw.js → reference-yyb7tjpc.js} +2 -2
- package/dist/chunks/{worktree-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-5pc61bqy.js → reference-z4470vjq.js} +19 -19
- package/dist/chunks/{worktree-z63w68vq.js → reference-z63w68vq.js} +2 -2
- package/dist/chunks/{worktree-dh8jqdrh.js → reference-z98sedxz.js} +1 -1
- package/dist/chunks/{worktree-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-z2q1945k.js → reference-zvteq2sz.js} +31 -31
- package/dist/chunks/{worktree-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +98 -98
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +8 -8
- 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 +91 -91
- 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/id/id.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 +363 -363
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +78 -78
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +3 -3
- 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 +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +91 -91
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +220 -220
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +3 -3
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +127 -127
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +83 -83
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/worktree-37xvps52.js +0 -26
- package/dist/chunks/worktree-4v7qdvcn.js +0 -18
- package/dist/chunks/worktree-hq0gjsme.js +0 -252
- /package/dist/chunks/{worktree-0mesazry.js → reference-0mesazry.js} +0 -0
- /package/dist/chunks/{worktree-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-34c7v6d4.js → reference-34c7v6d4.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5qd3pb7m.js → reference-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → reference-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-axd321tm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service73
|
|
11
|
+
} from "./reference-8vsk6s2a.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service18
|
|
14
|
+
} from "./reference-w6yg8354.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service72,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-htqg6e4e.js";
|
|
20
20
|
import {
|
|
21
21
|
Service67
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./reference-r4453y51.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service66,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./reference-g4x6f0m8.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./reference-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./reference-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
|
+
Output: () => Output8,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin50,
|
|
42
|
+
name: () => name12,
|
|
43
|
+
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name12 = "patch";
|
|
89
|
+
var Input12 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output8 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent6 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin50 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service73;
|
|
112
|
+
const access = yield* Service66;
|
|
113
|
+
const fileMutation = yield* Service72;
|
|
114
|
+
const formatter = yield* Service18;
|
|
115
115
|
const location = yield* Service80;
|
|
116
116
|
const permission = yield* Service67;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name12,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input12,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin7 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent6(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name12, Input12, Applied2, Output8, toModelContent6, Plugin50, exports_patch };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-eqy59tqm.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service50
|
|
8
|
+
} from "./reference-bkyy3065.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
resolve2
|
|
11
|
+
} from "./reference-0gg825j3.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./reference-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin23
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin23 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service50;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -177,7 +177,7 @@ var Plugin33 = define({
|
|
|
177
177
|
if (config.variants === undefined && !source?.base)
|
|
178
178
|
models.update(providerID, id, (model) => {
|
|
179
179
|
model.variants = [
|
|
180
|
-
...
|
|
180
|
+
...resolve2({
|
|
181
181
|
...model,
|
|
182
182
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
183
183
|
})
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin23, exports_provider };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node88
|
|
4
|
+
} from "./reference-faj6f0em.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-bjtzbw4r.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service32 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make19({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service32.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node35 = makeLocationNode({ service: Service32, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node35, exports_instruction_entry };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-h6r3nrb9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-31ywrma3.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./reference-nezp3nh3.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-r9e31c0d.js";
|
|
15
15
|
import {
|
|
16
16
|
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
19
|
Service76
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./reference-eqy59tqm.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID6
|
|
23
|
+
} from "./reference-ww5pdtvn.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./reference-pntwmbjc.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./reference-fzts1kpm.js";
|
|
31
31
|
import {
|
|
32
32
|
ID10
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./reference-1qadeb1c.js";
|
|
34
34
|
|
|
35
35
|
// src/plugin/provider/github-copilot.ts
|
|
36
36
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -219,14 +219,14 @@ var GithubCopilotPlugin2 = define({
|
|
|
219
219
|
}
|
|
220
220
|
});
|
|
221
221
|
yield* ctx.model.transform((models) => {
|
|
222
|
-
if (models.get(ID13.githubCopilot,
|
|
223
|
-
models.update(ID13.githubCopilot,
|
|
222
|
+
if (models.get(ID13.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
223
|
+
models.update(ID13.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
224
224
|
model.enabled = false;
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
227
|
});
|
|
228
228
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
229
|
-
yield* bus.subscribe(
|
|
229
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
230
230
|
yield* refresh().pipe(Effect.forkScoped);
|
|
231
231
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
232
232
|
if (evt.model.providerID !== ID13.githubCopilot)
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID10,
|
|
3
3
|
Service70
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-1qadeb1c.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-axd321tm.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service50
|
|
10
|
+
} from "./reference-bkyy3065.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service62,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-nqw1h68k.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service26
|
|
17
|
+
} from "./reference-f26ddygf.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make10
|
|
20
|
+
} from "./reference-yjvnj1zk.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./reference-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command2 = {};
|
|
30
30
|
__export(exports_command2, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin30
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin30 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service50;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -56,10 +56,10 @@ var Plugin46 = define({
|
|
|
56
56
|
});
|
|
57
57
|
const location = yield* Service80;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
59
|
+
const shell = yield* Service62;
|
|
60
|
+
const sessions = yield* Service26;
|
|
61
61
|
const agents = yield* Service70;
|
|
62
|
-
const subagents = yield*
|
|
62
|
+
const subagents = yield* make10;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin30, exports_command2 };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
3
|
Service77,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node81
|
|
5
|
+
} from "./reference-r9e31c0d.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -13,22 +13,22 @@ import {
|
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
15
|
Service76,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node80
|
|
17
|
+
} from "./reference-eqy59tqm.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service75,
|
|
20
|
+
node79
|
|
21
|
+
} from "./reference-ypd49sxc.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID6,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service55,
|
|
27
|
+
node57
|
|
28
|
+
} from "./reference-ww5pdtvn.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./reference-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError3,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service54,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
44
44
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer21,
|
|
48
|
+
node: () => node56,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -56,7 +56,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
57
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
58
|
providerID: ID13,
|
|
59
|
-
modelID:
|
|
59
|
+
modelID: ID6,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -66,7 +66,7 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
66
66
|
|
|
67
67
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
68
|
providerID: ID13,
|
|
69
|
-
modelID:
|
|
69
|
+
modelID: ID6,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -77,7 +77,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
|
77
77
|
|
|
78
78
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
79
|
providerID: ID13,
|
|
80
|
-
modelID:
|
|
80
|
+
modelID: ID6,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -88,7 +88,7 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
88
88
|
|
|
89
89
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
90
|
providerID: ID13,
|
|
91
|
-
modelID:
|
|
91
|
+
modelID: ID6,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -100,7 +100,7 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
100
100
|
|
|
101
101
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
102
|
providerID: ID13,
|
|
103
|
-
modelID:
|
|
103
|
+
modelID: ID6,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -110,7 +110,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
110
110
|
|
|
111
111
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
112
|
providerID: ID13,
|
|
113
|
-
modelID:
|
|
113
|
+
modelID: ID6,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service54 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,12 +258,12 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
261
|
+
var layer21 = Layer.effect(Service54, Effect.gen(function* () {
|
|
262
262
|
const providers = yield* Service76;
|
|
263
|
-
const models = yield*
|
|
263
|
+
const models = yield* Service55;
|
|
264
264
|
const integrations = yield* Service77;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service75;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
269
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
@@ -293,7 +293,7 @@ var layer17 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
293
293
|
chunkTimeout: provider?.settings?.chunkTimeout
|
|
294
294
|
};
|
|
295
295
|
});
|
|
296
|
-
return
|
|
296
|
+
return Service54.of({
|
|
297
297
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
298
298
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
299
299
|
if (!selected)
|
|
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
310
310
|
const name = packageName2(packageName);
|
|
311
311
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
312
312
|
}
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
315
|
-
layer:
|
|
316
|
-
deps: [
|
|
313
|
+
var node56 = makeLocationNode({
|
|
314
|
+
service: Service54,
|
|
315
|
+
layer: layer21,
|
|
316
|
+
deps: [node80, node57, node81, Npm.node, node79]
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
319
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service54, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node56, exports_model_resolver };
|