@opencode/core 0.0.0-dev-20855 → 0.0.0-dev-20857
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/{git-tf3xpm8y.js → shell-0gkn8nvr.js} +9 -9
- package/dist/chunks/{git-7tckdk4e.js → shell-0hqe3qpg.js} +34 -34
- package/dist/chunks/{git-v8cjvzpc.js → shell-0j99dzqs.js} +25 -25
- package/dist/chunks/{git-k79tzb9n.js → shell-0jq9fyba.js} +5 -5
- package/dist/chunks/{git-d1savfr5.js → shell-0ktwtxn5.js} +30 -30
- package/dist/chunks/{git-0vbcp93d.js → shell-0vbcp93d.js} +2 -2
- package/dist/chunks/{git-hbndc0s3.js → shell-0xg4dbhf.js} +18 -18
- package/dist/chunks/{git-ww5t4en1.js → shell-118n48gh.js} +12 -12
- package/dist/chunks/{git-va283kzh.js → shell-11kenztd.js} +25 -25
- package/dist/chunks/{git-y3hwx580.js → shell-181x02k0.js} +33 -33
- package/dist/chunks/{git-7y7c38x7.js → shell-1akek5x1.js} +30 -30
- package/dist/chunks/{git-vwt3k39c.js → shell-1s00cqm4.js} +29 -29
- package/dist/chunks/{git-8c083yep.js → shell-1sj6n9gw.js} +21 -21
- package/dist/chunks/{git-9e3cg58h.js → shell-1yafhzvh.js} +47 -47
- package/dist/chunks/{git-8fjakxnd.js → shell-2468dt4m.js} +11 -11
- package/dist/chunks/{git-6mmnhtje.js → shell-28cbs3s9.js} +26 -26
- package/dist/chunks/{git-2g4z2dt5.js → shell-2c3zkedc.js} +7 -7
- package/dist/chunks/{git-76a0e4dm.js → shell-2jmthg8v.js} +12 -12
- package/dist/chunks/{git-0r7xzb0q.js → shell-2jqxqhvd.js} +24 -24
- package/dist/chunks/{git-zq7cphvd.js → shell-2k8k9dqx.js} +15 -15
- package/dist/chunks/{git-2k8khapm.js → shell-2k8khapm.js} +1 -1
- package/dist/chunks/{git-k1gkpfdk.js → shell-2ktf0ed2.js} +8 -8
- package/dist/chunks/{git-nkk0tr67.js → shell-2tpp7g1c.js} +15 -15
- package/dist/chunks/{git-2vvh33eb.js → shell-2vvh33eb.js} +2 -2
- package/dist/chunks/{git-dpnvgke3.js → shell-2wjcem9c.js} +5 -5
- package/dist/chunks/{git-h7s7r6s9.js → shell-31xfzrxg.js} +5 -5
- package/dist/chunks/{git-jfy9z8xx.js → shell-33t10hcv.js} +22 -22
- package/dist/chunks/{git-w15sr46h.js → shell-33vqne08.js} +38 -38
- package/dist/chunks/{git-stt931b8.js → shell-3a932jrg.js} +26 -26
- package/dist/chunks/{git-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-7059es7q.js → shell-3h23vtn4.js} +8 -8
- package/dist/chunks/{git-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-3hwn7j4h.js → shell-3hwn7j4h.js} +2 -2
- package/dist/chunks/{git-6hr81j96.js → shell-3nm0194b.js} +18 -18
- package/dist/chunks/{git-2tra2g96.js → shell-3pw25jfp.js} +11 -11
- package/dist/chunks/{git-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-56c6wnd1.js → shell-3vwa7tag.js} +1 -1
- package/dist/chunks/{git-rts9bskx.js → shell-3xz8c404.js} +13 -13
- package/dist/chunks/{git-3zsf4n22.js → shell-3zsf4n22.js} +1 -1
- package/dist/chunks/{git-0bwnrbmb.js → shell-47jkzegy.js} +5 -5
- package/dist/chunks/{git-jzbp3n60.js → shell-4bme9fsw.js} +4 -4
- package/dist/chunks/{git-wz37j79y.js → shell-4ny6ge39.js} +2 -2
- package/dist/chunks/{git-4ts7tf6z.js → shell-4ts7tf6z.js} +2 -2
- package/dist/chunks/{git-0sbak0n5.js → shell-53b2w85q.js} +43 -43
- package/dist/chunks/{git-b6mse9dx.js → shell-57q58vcn.js} +11 -11
- package/dist/chunks/{git-461nxmbv.js → shell-58hng72m.js} +5 -5
- package/dist/chunks/{git-ewr7n0rk.js → shell-5f4jfw0a.js} +14 -14
- package/dist/chunks/{git-nezz36ej.js → shell-5f5jqs5q.js} +22 -22
- package/dist/chunks/{git-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
- package/dist/chunks/{git-drpn449j.js → shell-5s7atwjr.js} +33 -33
- package/dist/chunks/{git-0sacbgq8.js → shell-5zaqnmf3.js} +11 -11
- package/dist/chunks/{git-bsxdctr3.js → shell-632pjh68.js} +8 -8
- package/dist/chunks/{git-nqxj0yn4.js → shell-63db42yp.js} +2 -2
- package/dist/chunks/{git-h2m97xd3.js → shell-64xe14bq.js} +9 -9
- package/dist/chunks/{git-w3ywv3a3.js → shell-67jmpk4a.js} +3 -3
- package/dist/chunks/{git-vvt5h08b.js → shell-682w9aj8.js} +32 -32
- package/dist/chunks/{git-mdj7v2xa.js → shell-68np1yjd.js} +51 -51
- package/dist/chunks/{git-pbfwh0cy.js → shell-6hh8tjw2.js} +7 -7
- package/dist/chunks/{git-6pc27hjz.js → shell-6pc27hjz.js} +2 -2
- package/dist/chunks/{git-6xb47vfp.js → shell-6xb47vfp.js} +1 -1
- package/dist/chunks/{git-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-v4yh7aey.js → shell-7cw62h38.js} +25 -25
- package/dist/chunks/{git-tp1cmem0.js → shell-7gy4tvah.js} +11 -11
- package/dist/chunks/{git-jwmzbdjc.js → shell-7jvqc6c6.js} +24 -24
- package/dist/chunks/{git-d6vx3t6f.js → shell-7q04ztt9.js} +11 -11
- package/dist/chunks/{git-86h2fe4m.js → shell-82bdeemj.js} +56 -56
- package/dist/chunks/{git-h3t0jr19.js → shell-841ny8t5.js} +3 -3
- package/dist/chunks/{git-84txncab.js → shell-84txncab.js} +1 -1
- package/dist/chunks/{git-rfy9ps7f.js → shell-87x2mn9m.js} +47 -47
- package/dist/chunks/{git-0tfc1krt.js → shell-88j1htk6.js} +3 -3
- package/dist/chunks/{git-d4pfzj95.js → shell-8bqqxrfh.js} +20 -20
- package/dist/chunks/{git-8m6m0r52.js → shell-8m6m0r52.js} +1 -1
- package/dist/chunks/{git-5brjvw20.js → shell-8rfck53x.js} +13 -13
- package/dist/chunks/{git-ffnafszy.js → shell-8wyr28s0.js} +24 -24
- package/dist/chunks/{git-3twan9xb.js → shell-8y8ypgde.js} +13 -13
- package/dist/chunks/{git-91qna3x0.js → shell-91qna3x0.js} +3 -3
- package/dist/chunks/{git-vmeg491z.js → shell-93jjqfz5.js} +6 -6
- package/dist/chunks/{git-3zhx6vq3.js → shell-983vvjqk.js} +18 -18
- package/dist/chunks/{git-vyd7f6xa.js → shell-9dnw0m4x.js} +25 -25
- package/dist/chunks/{git-n0s068st.js → shell-9e7yf4tn.js} +15 -15
- package/dist/chunks/{git-4f8jf7aw.js → shell-9qq9n83k.js} +8 -8
- package/dist/chunks/{git-vpzpy68h.js → shell-9sz12wvq.js} +42 -42
- package/dist/chunks/{git-mjhxg6bx.js → shell-9zkr33jc.js} +32 -32
- package/dist/chunks/{git-cfhnwxzp.js → shell-abx6ba1k.js} +11 -11
- package/dist/chunks/{git-926tyx0r.js → shell-arpm3677.js} +32 -32
- package/dist/chunks/{git-qcx0zrqn.js → shell-az60rtqd.js} +3 -3
- package/dist/chunks/{git-3kpefpfy.js → shell-b07bdj3t.js} +3 -3
- package/dist/chunks/{git-bjx1sjef.js → shell-bjx1sjef.js} +2 -2
- package/dist/chunks/{git-qbjzmtey.js → shell-bqwra9sc.js} +72 -72
- package/dist/chunks/{git-5deatqc9.js → shell-byxe4xe3.js} +30 -30
- package/dist/chunks/{git-afa6ffz5.js → shell-c2whqjrb.js} +46 -46
- package/dist/chunks/{git-a03capmy.js → shell-c3mck475.js} +13 -13
- package/dist/chunks/{git-c41wscbt.js → shell-c41wscbt.js} +2 -2
- package/dist/chunks/{git-8fc3932v.js → shell-c4c13zy6.js} +19 -19
- package/dist/chunks/{git-c8ax2afj.js → shell-c8ax2afj.js} +2 -2
- package/dist/chunks/{git-a0bsbzcf.js → shell-cf0jnzc0.js} +11 -11
- package/dist/chunks/{git-k4sdmdt1.js → shell-cpj79xmq.js} +23 -23
- package/dist/chunks/{git-3dn1k2ng.js → shell-cvkxtcs1.js} +8 -8
- package/dist/chunks/{git-jtvzz37v.js → shell-df6av868.js} +7 -7
- package/dist/chunks/{git-drwq78ky.js → shell-drwq78ky.js} +1 -1
- package/dist/chunks/{git-57fbsz4v.js → shell-dsdpa88b.js} +35 -35
- package/dist/chunks/{git-ytd9yp4r.js → shell-dtgwcqw4.js} +11 -11
- package/dist/chunks/{git-q2jea2xs.js → shell-e3hb41re.js} +6 -6
- package/dist/chunks/{git-tctnaszb.js → shell-e3ztwkqf.js} +21 -21
- package/dist/chunks/{git-e80seqcp.js → shell-e80seqcp.js} +1 -1
- package/dist/chunks/{git-j8s9ab9g.js → shell-e8vwfchq.js} +6 -6
- package/dist/chunks/{git-rhjbct0v.js → shell-eaj1djv9.js} +8 -8
- package/dist/chunks/{git-eej6y6fw.js → shell-eej6y6fw.js} +2 -2
- package/dist/chunks/{git-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-wegm6ayv.js → shell-entw2tdd.js} +16 -16
- package/dist/chunks/{git-0507tcep.js → shell-epmd2pwp.js} +11 -11
- package/dist/chunks/{git-kfc0rvq6.js → shell-eq7gpfag.js} +42 -42
- package/dist/chunks/{git-es1vcfrp.js → shell-es1vcfrp.js} +3 -3
- package/dist/chunks/{git-2e7wm9ed.js → shell-ev7b3fzk.js} +19 -19
- package/dist/chunks/{git-yrcj3v3g.js → shell-f29mbr7f.js} +4 -4
- package/dist/chunks/{git-1acjjqhc.js → shell-f2n192rq.js} +4 -4
- package/dist/chunks/{git-2ahfqzh4.js → shell-f6nebfwf.js} +7 -7
- package/dist/chunks/{git-k85dt8kq.js → shell-f6x208qp.js} +31 -31
- package/dist/chunks/{git-9tvsdr7t.js → shell-f8rnhecd.js} +11 -11
- package/dist/chunks/{git-46wakb3r.js → shell-faz53sv5.js} +5 -5
- package/dist/chunks/{git-vrpz8t5t.js → shell-fegk541e.js} +5 -5
- package/dist/chunks/{git-9j6d84g0.js → shell-ff1pt9vp.js} +4 -4
- package/dist/chunks/{git-ykyvj297.js → shell-fnf0t1mw.js} +4 -4
- package/dist/chunks/{git-djszqvmq.js → shell-ft3hqk2c.js} +9 -9
- package/dist/chunks/{git-aq79gce9.js → shell-fw4m26gt.js} +16 -16
- package/dist/chunks/{git-fbr6g0xj.js → shell-fw7y5174.js} +18 -18
- package/dist/chunks/{git-fxaymqdw.js → shell-fxaymqdw.js} +1 -1
- package/dist/chunks/{git-42ckfw2d.js → shell-g3mtxeza.js} +31 -31
- package/dist/chunks/{git-qws9cjef.js → shell-g6r2vvv3.js} +13 -13
- package/dist/chunks/{git-ma9pgrwm.js → shell-g8z8mf78.js} +20 -20
- package/dist/chunks/{git-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/shell-gk3sxse2.js +26 -0
- package/dist/chunks/{git-gk8qb678.js → shell-gk8qb678.js} +1 -1
- package/dist/chunks/{git-t436hq68.js → shell-gp9jqd59.js} +8 -8
- package/dist/chunks/{git-x661k3y3.js → shell-gqtdsdt7.js} +4 -4
- package/dist/chunks/{git-4hwpxgtm.js → shell-gz22y1bs.js} +32 -32
- package/dist/chunks/{git-at13drnh.js → shell-gzy6twtn.js} +30 -30
- package/dist/chunks/{git-3f8vadc7.js → shell-h0wknqx0.js} +20 -20
- package/dist/chunks/{git-1m0pjerw.js → shell-h1f6pjh7.js} +13 -13
- package/dist/chunks/{git-015a4dqt.js → shell-h6645hhn.js} +28 -28
- package/dist/chunks/{git-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-29qym6xz.js → shell-h9pnpq88.js} +4 -4
- package/dist/chunks/{git-17z3aqbw.js → shell-hcxmzztb.js} +6 -11
- package/dist/chunks/{git-hgz4x7wa.js → shell-hgz4x7wa.js} +1 -1
- package/dist/chunks/{git-r2v4c7r0.js → shell-hyay7qq8.js} +8 -8
- package/dist/chunks/{git-1bmjn0qh.js → shell-j2t2p12e.js} +8 -8
- package/dist/chunks/{git-hsb6eqnj.js → shell-j30cfxah.js} +20 -20
- package/dist/chunks/{git-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{git-c6dwa7bf.js → shell-j5wgpdyg.js} +4 -4
- package/dist/chunks/{git-2ryng5r3.js → shell-jdz4qjxc.js} +4 -4
- package/dist/chunks/{git-cncg8zgr.js → shell-jp4zc2gb.js} +17 -17
- package/dist/chunks/{git-n4r3xatb.js → shell-jvf3yq6v.js} +4 -4
- package/dist/chunks/{git-d9tzt3hs.js → shell-k03emvff.js} +5 -5
- package/dist/chunks/{git-fs8gar66.js → shell-k0sn68eq.js} +24 -24
- package/dist/chunks/{git-mcvs9s47.js → shell-k8bpgq9y.js} +6 -6
- package/dist/chunks/{git-s9zm5j57.js → shell-kf6psgf8.js} +17 -17
- package/dist/chunks/{git-pw2fp1nr.js → shell-kg25nbg7.js} +15 -15
- package/dist/chunks/{git-p2hzg5vc.js → shell-krn5wsz0.js} +15 -15
- package/dist/chunks/{git-3j594wz7.js → shell-ks02k8er.js} +15 -15
- package/dist/chunks/{git-11yf9web.js → shell-ktbyzt1t.js} +80 -80
- package/dist/chunks/{git-zc9jk7j0.js → shell-ktk04ca5.js} +6 -6
- package/dist/chunks/{git-fyyqsegk.js → shell-kx7rze29.js} +5 -5
- package/dist/chunks/{git-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-fb1z5mpg.js → shell-mah44h74.js} +25 -25
- package/dist/chunks/{git-sm965ndy.js → shell-mp6d0dty.js} +8 -8
- package/dist/chunks/{git-mv3hx7wz.js → shell-mqqhst8y.js} +4 -4
- package/dist/chunks/{git-yemq3d8b.js → shell-mqzwkyay.js} +6 -6
- package/dist/chunks/{git-wh6pa4pr.js → shell-mt35knet.js} +10 -10
- package/dist/chunks/{git-xkv3gwqa.js → shell-mttz8j9s.js} +11 -11
- package/dist/chunks/{git-7fq94f74.js → shell-mvd5p9bb.js} +13 -11
- package/dist/chunks/{git-ycjb11n5.js → shell-mx9vqzsb.js} +6 -6
- package/dist/chunks/{git-avgdyaqg.js → shell-nndebfwy.js} +5 -5
- package/dist/chunks/{git-5xtgfte3.js → shell-p37cw4rj.js} +4 -4
- package/dist/chunks/{git-2n87sa3g.js → shell-p92dhjvd.js} +27 -27
- package/dist/chunks/{git-9yvs1z09.js → shell-pf6q70e9.js} +171 -171
- package/dist/chunks/{git-w6cywe1q.js → shell-phfrfwqb.js} +36 -36
- package/dist/chunks/{git-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-rkg5c001.js → shell-pk6nmean.js} +17 -17
- package/dist/chunks/{git-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{git-rca2v11j.js → shell-pnxzm4kn.js} +45 -45
- package/dist/chunks/{git-75dhggww.js → shell-pq1zagfs.js} +50 -50
- package/dist/chunks/{git-gzgbem2w.js → shell-pqzzsrxq.js} +13 -13
- package/dist/chunks/{git-qysyrm72.js → shell-pv9sm355.js} +1 -1
- package/dist/chunks/{git-y0fzegg9.js → shell-pwmg338d.js} +4 -4
- package/dist/chunks/{git-q0xm7vwc.js → shell-q0xm7vwc.js} +2 -2
- package/dist/chunks/{git-ne5a57qj.js → shell-q1c758g9.js} +5 -5
- package/dist/chunks/{git-qahvqwnh.js → shell-q4pbgert.js} +8 -8
- package/dist/chunks/{git-pnzf6mjf.js → shell-q5e7cmwt.js} +1 -1
- package/dist/chunks/{git-y2cb6znx.js → shell-qgbx7jx4.js} +31 -30
- package/dist/chunks/{git-yjrwkh2f.js → shell-qh14mjfc.js} +25 -25
- package/dist/chunks/{git-a4dpjata.js → shell-qh6nb83h.js} +4 -4
- package/dist/chunks/{git-de0scr2g.js → shell-qmpmkqxw.js} +35 -35
- package/dist/chunks/{git-qnc92qwc.js → shell-qnc92qwc.js} +1 -1
- package/dist/chunks/{git-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{git-q9s130f6.js → shell-qsz061kc.js} +7 -5
- package/dist/chunks/{git-s3cjj4tp.js → shell-qt9fyfar.js} +92 -92
- package/dist/chunks/{git-c0cnwm62.js → shell-qtkjtvs8.js} +44 -44
- package/dist/chunks/{git-w71gx8xg.js → shell-r6wk3e1b.js} +9 -9
- package/dist/chunks/{git-3rxnbjq0.js → shell-r6zqzxy3.js} +10 -10
- package/dist/chunks/{git-g686f6pq.js → shell-r70na3yp.js} +9 -9
- package/dist/chunks/{git-g92ktdq1.js → shell-r8797p99.js} +2 -2
- package/dist/chunks/{git-54ma36ye.js → shell-r94pvvab.js} +4 -4
- package/dist/chunks/shell-rap9a73h.js +18 -0
- package/dist/chunks/{git-n7bcv3kq.js → shell-rates9x1.js} +14 -14
- package/dist/chunks/{git-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-x3j3h939.js → shell-rfxw09g8.js} +11 -11
- package/dist/chunks/{git-cqby8rft.js → shell-rpb33kad.js} +14 -14
- package/dist/chunks/{git-93k5n436.js → shell-rpzx8dkj.js} +26 -26
- package/dist/chunks/{git-j3b8kp3s.js → shell-rv5y0vmv.js} +16 -16
- package/dist/chunks/{git-nksgmehb.js → shell-rvmjpvff.js} +55 -55
- package/dist/chunks/{git-y36ex46c.js → shell-rzj4ym1h.js} +11 -11
- package/dist/chunks/{git-k65h458v.js → shell-s08px70s.js} +26 -26
- package/dist/chunks/{git-8s9k0xg9.js → shell-s0a13pd7.js} +9 -9
- package/dist/chunks/{git-dh2gf3ec.js → shell-s208y4th.js} +29 -29
- package/dist/chunks/{git-e4dqbc39.js → shell-s4vt6k96.js} +13 -13
- package/dist/chunks/{git-272pe9x0.js → shell-s80ty4qk.js} +21 -21
- package/dist/chunks/{git-7bs0ebpf.js → shell-sbfx8qse.js} +13 -13
- package/dist/chunks/{git-scgrse2b.js → shell-scgrse2b.js} +2 -2
- package/dist/chunks/{git-arz7hw7x.js → shell-ss358qx3.js} +3 -3
- package/dist/chunks/{git-6a78g3gj.js → shell-svcw9x3w.js} +12 -12
- package/dist/chunks/{git-dbbedjny.js → shell-svtyq4ac.js} +20 -20
- package/dist/chunks/{git-fxc77psm.js → shell-sw70p10z.js} +47 -47
- package/dist/chunks/{git-syv4x271.js → shell-syv4x271.js} +1 -1
- package/dist/chunks/{git-td8bcfh7.js → shell-t2gkmt3j.js} +152 -152
- package/dist/chunks/{git-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-t2w1zmvy.js → shell-tbt8nw36.js} +19 -19
- package/dist/chunks/{git-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
- package/dist/chunks/{git-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{git-p1t07zky.js → shell-tk5yhcbe.js} +1 -1
- package/dist/chunks/{git-tkb22qbm.js → shell-tkb22qbm.js} +2 -2
- package/dist/chunks/{git-tm0kqsz3.js → shell-tm0kqsz3.js} +1 -1
- package/dist/chunks/{git-7ja25jfg.js → shell-tpkp3zjz.js} +14 -14
- package/dist/chunks/{git-qz02d4gv.js → shell-ts860kc8.js} +13 -13
- package/dist/chunks/{git-tyytaxap.js → shell-tyytaxap.js} +1 -1
- package/dist/chunks/{git-v0es1rhs.js → shell-v0es1rhs.js} +2 -2
- package/dist/chunks/{git-9mqv0rn7.js → shell-v42vq798.js} +16 -16
- package/dist/chunks/{git-v7p4zvkq.js → shell-v7p4zvkq.js} +2 -2
- package/dist/chunks/{git-277eer69.js → shell-vbfgae2j.js} +4 -4
- package/dist/chunks/{git-tp5z8t7y.js → shell-vbskb40y.js} +18 -18
- package/dist/chunks/{git-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{git-g9yq0a3m.js → shell-vk1989fk.js} +2 -2
- package/dist/chunks/{git-dwtq5j93.js → shell-vn01hwr7.js} +37 -37
- package/dist/chunks/{git-vzs5sf6e.js → shell-vzs5sf6e.js} +1 -1
- package/dist/chunks/{git-h26n8ahy.js → shell-w3jswt4w.js} +25 -25
- package/dist/chunks/{git-h3jbf46r.js → shell-w3nh5stq.js} +321 -321
- package/dist/chunks/{git-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-99xmg50t.js → shell-w9g6mbyt.js} +21 -21
- package/dist/chunks/{git-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{git-5fykfdj7.js → shell-wh6zw745.js} +5 -5
- package/dist/chunks/{git-78a782z0.js → shell-wmhzr98j.js} +30 -30
- package/dist/chunks/{git-th29hxyd.js → shell-wpe961ww.js} +12 -12
- package/dist/chunks/{git-b49y660n.js → shell-wr1923h8.js} +33 -33
- package/dist/chunks/{git-qb1ddd4g.js → shell-xb9ncd0s.js} +10 -10
- package/dist/chunks/{git-7kn71q8k.js → shell-xd893mcj.js} +14 -14
- package/dist/chunks/{git-hbdbxv7m.js → shell-xdy68qwd.js} +24 -24
- package/dist/chunks/{git-vn7dbpgz.js → shell-xeajrh0t.js} +22 -22
- package/dist/chunks/{git-vt9897e0.js → shell-xmx6k93b.js} +5 -5
- package/dist/chunks/{git-g4xerzym.js → shell-xt19rdf3.js} +11 -11
- package/dist/chunks/{git-be2hac41.js → shell-y0mc46pw.js} +9 -9
- package/dist/chunks/{git-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-dpkg50ah.js → shell-y71avatq.js} +4 -4
- package/dist/chunks/{git-5cwe5vnp.js → shell-ybqgtr0n.js} +9 -9
- package/dist/chunks/{git-gy94hd3d.js → shell-ye89ra46.js} +22 -22
- package/dist/chunks/{git-1a70h6nq.js → shell-ymg992xw.js} +14 -14
- package/dist/chunks/{git-gjyy8qj1.js → shell-ysxfpacz.js} +7 -7
- package/dist/chunks/{git-t7h718h4.js → shell-yyrccqnw.js} +11 -11
- package/dist/chunks/{git-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-rbsr4vmr.js → shell-z8y202y4.js} +26 -26
- package/dist/chunks/{git-54pjwmms.js → shell-z9w42y3k.js} +32 -32
- package/dist/chunks/{git-x9j822t2.js → shell-zad8d2d9.js} +18 -18
- package/dist/chunks/{git-2z9v5mdy.js → shell-zj5zbbtb.js} +6 -6
- package/dist/chunks/{git-fz6sak3e.js → shell-zm45khrf.js} +15 -15
- package/dist/chunks/{git-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-xcmd13yj.js → shell-zv6d9m0q.js} +8 -8
- package/dist/chunks/{git-e1040pkq.js → shell-zvzcnbnd.js} +12 -12
- package/dist/chunks/{git-c6q1q6r3.js → shell-zw1fbe70.js} +11 -11
- package/dist/chunks/{git-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- 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 +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +92 -92
- 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 +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- 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 +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +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 +122 -122
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +120 -120
- 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/provider.d.ts +15 -0
- package/dist/types/v1/config/migrate.d.ts +4 -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 +4 -4
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/git-6295fbhk.js +0 -26
- package/dist/chunks/git-ht5y0zrb.js +0 -18
- /package/dist/chunks/{git-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2bv980vf.js → shell-2bv980vf.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3t0ybcrp.js → shell-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5qd3pb7m.js → shell-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{git-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{git-84wd9syh.js → shell-84wd9syh.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-bw78ga2c.js → shell-bw78ga2c.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jze0r7bz.js → shell-jze0r7bz.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-m18g726c.js → shell-m18g726c.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-pkyv6v7h.js → shell-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{git-pyv0edze.js → shell-pyv0edze.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./shell-cf0jnzc0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-es1vcfrp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
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: () => node36,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,13 +56,13 @@ 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) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make21({
|
|
65
|
+
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,8 +75,8 @@ 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(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service85;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service27, 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 node36 = makeLocationNode({ service: Service32, layer, deps: [node89] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node36, exports_instruction_entry };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-9zkr33jc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID8,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info16,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-qgbx7jx4.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID9.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID8.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info16.make({
|
|
98
|
+
...Info16.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID8.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-4ny6ge39.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service20,
|
|
10
|
+
node23
|
|
11
|
+
} from "./shell-tpkp3zjz.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-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: () => Options2,
|
|
25
|
+
Service: () => Service19,
|
|
26
|
+
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer10,
|
|
29
|
+
node: () => node22,
|
|
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 Options2 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service19 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(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service81;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service20;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service22, 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 Service19.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(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service81;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service22, 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 Service19.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service19.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer10 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service81;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -182,9 +182,9 @@ var layer11 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured2(options) {
|
|
186
|
+
return makeLocationNode({ service: Service19, layer: layer10(options), deps: [node85, node23] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node22 = configured2();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options2, Service19, ripgrepLayer2, fffLayer2, layer10, configured2, node22, exports_search };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node51
|
|
5
|
+
} from "./shell-f8rnhecd.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-f29mbr7f.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service80,
|
|
12
|
+
node84
|
|
13
|
+
} from "./shell-2ktf0ed2.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-rvmjpvff.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-5f4jfw0a.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error3
|
|
22
|
+
} from "./shell-k0sn68eq.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get4
|
|
25
|
+
} from "./shell-r94pvvab.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service31,
|
|
28
|
+
node35
|
|
29
|
+
} from "./shell-5zaqnmf3.js";
|
|
30
30
|
import {
|
|
31
31
|
make14
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./shell-drwq78ky.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./shell-q5e7cmwt.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./shell-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service29,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer13,
|
|
48
|
+
node: () => node32,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -155,11 +155,11 @@ var boundImages2 = (messages) => {
|
|
|
155
155
|
});
|
|
156
156
|
};
|
|
157
157
|
|
|
158
|
-
class
|
|
158
|
+
class Service29 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
159
159
|
}
|
|
160
|
-
var
|
|
161
|
-
const hooks = yield*
|
|
162
|
-
const transport = yield*
|
|
160
|
+
var layer13 = Layer.effect(Service29, Effect.gen(function* () {
|
|
161
|
+
const hooks = yield* Service80;
|
|
162
|
+
const transport = yield* Service31;
|
|
163
163
|
const app = yield* Metadata2;
|
|
164
164
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
165
165
|
const session = input.session;
|
|
@@ -167,7 +167,7 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
167
167
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
168
168
|
const tools = input.tools ?? {
|
|
169
169
|
definitions: [],
|
|
170
|
-
execute: () => new
|
|
170
|
+
execute: () => new Error3({ message: "Tools are not available for this request" })
|
|
171
171
|
};
|
|
172
172
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
173
173
|
const shaped = yield* shape({
|
|
@@ -185,7 +185,7 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
185
185
|
const entries = Object.entries(shaped.options);
|
|
186
186
|
const generation = Object.fromEntries(entries.filter(([k]) => GENERATION_KEYS.has(k)));
|
|
187
187
|
const providerOptions = Object.fromEntries(entries.filter(([k]) => !GENERATION_KEYS.has(k)));
|
|
188
|
-
const affinity =
|
|
188
|
+
const affinity = get4(session);
|
|
189
189
|
const base = LLM.request({
|
|
190
190
|
model: model.model,
|
|
191
191
|
http: {
|
|
@@ -264,17 +264,17 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
264
264
|
};
|
|
265
265
|
});
|
|
266
266
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
267
|
-
return
|
|
267
|
+
return Service29.of({
|
|
268
268
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
269
269
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
270
270
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
271
271
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
276
|
-
layer:
|
|
277
|
-
deps: [
|
|
274
|
+
var node32 = makeLocationNode({
|
|
275
|
+
service: Service29,
|
|
276
|
+
layer: layer13,
|
|
277
|
+
deps: [node84, node35, node51]
|
|
278
278
|
});
|
|
279
279
|
|
|
280
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
280
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service29, layer13, node32, exports_model_request };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-4ny6ge39.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./shell-e3ztwkqf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service54,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-sbfx8qse.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service21
|
|
14
|
+
} from "./shell-3pw25jfp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service76
|
|
17
|
+
} from "./shell-rvmjpvff.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service16,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-2k8k9dqx.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./shell-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input12,
|
|
34
|
+
Output: () => Output8,
|
|
35
|
+
Plugin: () => Plugin49,
|
|
36
|
+
name: () => name12
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name12 = "edit";
|
|
43
|
+
var Input12 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input3 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output8 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin49 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
196
|
+
const access = yield* Service16;
|
|
197
|
+
const fileMutation = yield* Service54;
|
|
198
|
+
const environment = yield* Service59;
|
|
199
|
+
const formatter = yield* Service21;
|
|
200
200
|
const location = yield* Service81;
|
|
201
|
-
const permission = yield*
|
|
201
|
+
const permission = yield* Service76;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name12,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input12,
|
|
207
|
+
output: Output8,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin19 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name12, Input12, Output8, Plugin49, exports_edit };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./shell-s208y4th.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./shell-rvmjpvff.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service17
|
|
14
|
+
} from "./shell-qh14mjfc.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input3,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin39,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name3
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name3 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input3 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin39 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service76;
|
|
53
|
+
const forms = yield* Service73;
|
|
54
|
+
const websearch = yield* Service17;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name3,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input3,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name3,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name3];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name3, NO_RESULTS2, description3, Input3, Plugin39, exports_websearch2 };
|