@opencode/core 0.0.0-dev-20963 → 0.0.0-dev-20966
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{shell-ve88pny4.js → worktree-00bpreyp.js} +8 -8
- package/dist/chunks/{shell-eh6bjn4d.js → worktree-047x8gkn.js} +9 -9
- package/dist/chunks/{shell-k78pesf8.js → worktree-0a99m7qb.js} +11 -11
- package/dist/chunks/{shell-wg81ww38.js → worktree-0b5g1ynf.js} +4 -4
- package/dist/chunks/{shell-581vpqv4.js → worktree-0c8z4cs3.js} +2 -2
- package/dist/chunks/{shell-q0xm7vwc.js → worktree-0j77ygfz.js} +6 -6
- package/dist/chunks/{shell-y7cpgp7g.js → worktree-0k9zmgbm.js} +9 -9
- package/dist/chunks/{shell-rnb1qrc6.js → worktree-0ns114n3.js} +9 -9
- package/dist/chunks/{shell-jcj1bmag.js → worktree-0p4seb2j.js} +4 -4
- package/dist/chunks/{shell-g7m968y7.js → worktree-0s8710ya.js} +4 -4
- package/dist/chunks/{shell-0vbcp93d.js → worktree-0vbcp93d.js} +2 -2
- package/dist/chunks/{shell-vbbqdsb5.js → worktree-0y76yggw.js} +30 -30
- package/dist/chunks/{shell-4h9dcm6c.js → worktree-11g55wky.js} +34 -34
- package/dist/chunks/{shell-wr25njaj.js → worktree-13qy106w.js} +10 -10
- package/dist/chunks/{shell-7v6tfra1.js → worktree-14mhcz0z.js} +44 -44
- package/dist/chunks/{shell-hjc1ceqg.js → worktree-15xqyjtq.js} +23 -23
- package/dist/chunks/{shell-3qk9t3x6.js → worktree-1cz5vd6m.js} +9 -9
- package/dist/chunks/{shell-h0e6ckft.js → worktree-1g6fppr6.js} +11 -11
- package/dist/chunks/{shell-madaqa6m.js → worktree-1g706jtd.js} +30 -30
- package/dist/chunks/{shell-v5dkyp31.js → worktree-1g7epwpd.js} +7 -7
- package/dist/chunks/{shell-xbmfcccm.js → worktree-1pc1gjj0.js} +8 -8
- package/dist/chunks/{shell-27c30v4z.js → worktree-1yt7rx9k.js} +4 -4
- package/dist/chunks/{shell-5ktfwzc4.js → worktree-23wx4d1f.js} +3 -3
- package/dist/chunks/{shell-y2krtm0y.js → worktree-2641fc7s.js} +32 -32
- package/dist/chunks/{shell-thm71zfy.js → worktree-273zw8zg.js} +20 -20
- package/dist/chunks/{shell-jvx5q19z.js → worktree-28b65eap.js} +9 -9
- package/dist/chunks/{shell-syyseabp.js → worktree-2csbwcjg.js} +11 -11
- package/dist/chunks/{shell-g3dscn4m.js → worktree-2g49c99y.js} +20 -20
- package/dist/chunks/{shell-qgn6gcr1.js → worktree-2k8khapm.js} +5 -5
- package/dist/chunks/{shell-0z8m0m4h.js → worktree-2mmjvpe1.js} +20 -20
- package/dist/chunks/{shell-jn0tk1mz.js → worktree-2n295dmf.js} +8 -8
- package/dist/chunks/{shell-3q0fsfmr.js → worktree-2pn6kxez.js} +15 -15
- package/dist/chunks/{shell-9r91ygdr.js → worktree-31v8j1ma.js} +6 -6
- package/dist/chunks/{shell-kjnabd3m.js → worktree-32npmyat.js} +25 -25
- package/dist/chunks/{shell-8gt23cqe.js → worktree-352md1ar.js} +10 -10
- package/dist/chunks/{shell-qxbyczs9.js → worktree-36sqq72v.js} +13 -13
- package/dist/chunks/{shell-f1vyadhg.js → worktree-39z47dss.js} +20 -20
- package/dist/chunks/{shell-8tfctm8b.js → worktree-3dak6s47.js} +1 -1
- package/dist/chunks/{shell-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{shell-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-3hwn7j4h.js → worktree-3hwn7j4h.js} +2 -2
- package/dist/chunks/{shell-9v00wf8w.js → worktree-3mpe3zgf.js} +3 -3
- package/dist/chunks/{shell-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-26yabc0c.js → worktree-3yes92cn.js} +28 -28
- package/dist/chunks/{shell-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
- package/dist/chunks/{shell-9hwaqfsw.js → worktree-47jkzegy.js} +5 -5
- package/dist/chunks/{shell-ss358qx3.js → worktree-4a7gy6vj.js} +3 -3
- package/dist/chunks/{shell-4bm5ja14.js → worktree-4bm5ja14.js} +1 -1
- package/dist/chunks/{shell-3bmbvt4t.js → worktree-4h91jvx1.js} +18 -18
- package/dist/chunks/{shell-kear05v1.js → worktree-4w8247ap.js} +11 -11
- package/dist/chunks/{shell-9e1k0p0p.js → worktree-547mgkha.js} +16 -16
- package/dist/chunks/{shell-54ma36ye.js → worktree-54ma36ye.js} +1 -1
- package/dist/chunks/{shell-9m3vrp61.js → worktree-57676ctm.js} +13 -13
- package/dist/chunks/{shell-gw7cjrad.js → worktree-5dkn69vz.js} +4 -4
- package/dist/chunks/{shell-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-rs2ws33g.js → worktree-5rq05eez.js} +5 -5
- package/dist/chunks/{shell-a844rf5t.js → worktree-5wbbhyy2.js} +21 -21
- package/dist/chunks/{shell-3qsetew1.js → worktree-5x9t471j.js} +31 -31
- package/dist/chunks/worktree-619r8v3y.js +18 -0
- package/dist/chunks/{shell-c3tx72rc.js → worktree-63xqm307.js} +18 -18
- package/dist/chunks/{shell-ms2s8vsz.js → worktree-6f79fvzy.js} +7 -7
- package/dist/chunks/{shell-jk540des.js → worktree-6g107h22.js} +2 -2
- package/dist/chunks/{shell-85hrc257.js → worktree-6mgx7xe7.js} +8 -8
- package/dist/chunks/{shell-3vbe8drf.js → worktree-6r3dthtv.js} +17 -17
- package/dist/chunks/{shell-6xb47vfp.js → worktree-6xb47vfp.js} +1 -1
- package/dist/chunks/{shell-tsw7ksqw.js → worktree-713nkfes.js} +57 -57
- package/dist/chunks/{shell-v9qnex70.js → worktree-72f2khbq.js} +12 -12
- package/dist/chunks/{shell-775gj3j1.js → worktree-775gj3j1.js} +2 -2
- package/dist/chunks/{shell-e4pfvawk.js → worktree-7ac80gxj.js} +7 -7
- package/dist/chunks/{shell-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-rkprpv83.js → worktree-7fkffz83.js} +4 -4
- package/dist/chunks/{shell-2r93mh4x.js → worktree-7gra0nqm.js} +5 -5
- package/dist/chunks/{shell-pzjjnj3p.js → worktree-7j49d4k9.js} +20 -20
- package/dist/chunks/{shell-391cfmew.js → worktree-7svw2p5b.js} +24 -24
- package/dist/chunks/{shell-84txncab.js → worktree-84txncab.js} +1 -1
- package/dist/chunks/{shell-0ma0nq8c.js → worktree-8dc9ddds.js} +11 -11
- package/dist/chunks/{shell-vxrv5hh3.js → worktree-8e27w5a6.js} +16 -16
- package/dist/chunks/{shell-8m6m0r52.js → worktree-8m6m0r52.js} +1 -1
- package/dist/chunks/{shell-4f51v5sg.js → worktree-8tbg6stw.js} +15 -15
- package/dist/chunks/{shell-45pdesb8.js → worktree-919ps8m3.js} +17 -17
- package/dist/chunks/{shell-91qna3x0.js → worktree-91qna3x0.js} +3 -3
- package/dist/chunks/{shell-rcyemfe8.js → worktree-9a3zed70.js} +25 -25
- package/dist/chunks/{shell-64cf81kt.js → worktree-9heq1gfm.js} +1 -1
- package/dist/chunks/{shell-tkh3fds9.js → worktree-9jyxv9wv.js} +5 -5
- package/dist/chunks/{shell-2ybg1hpp.js → worktree-9qyart7b.js} +11 -11
- package/dist/chunks/{shell-p54fbf41.js → worktree-9t1h6qm2.js} +41 -41
- package/dist/chunks/{shell-djhktcme.js → worktree-9wqr0z3w.js} +1 -1
- package/dist/chunks/{shell-nevcxnwb.js → worktree-9y8rfr9p.js} +27 -27
- package/dist/chunks/{shell-4556yem3.js → worktree-a2g5zc1h.js} +2 -2
- package/dist/chunks/{shell-nf7ndftz.js → worktree-a6avbjvq.js} +6 -6
- package/dist/chunks/{shell-e27kdmva.js → worktree-akwfsdqq.js} +19 -19
- package/dist/chunks/{shell-zw2hpfmh.js → worktree-azwe5p1w.js} +4 -4
- package/dist/chunks/{shell-ty36jfe3.js → worktree-ba964zp9.js} +3 -3
- package/dist/chunks/{shell-7e4t0x2w.js → worktree-bc8zjgdy.js} +3 -3
- package/dist/chunks/{shell-35nypx3d.js → worktree-bf1tsaws.js} +10 -10
- package/dist/chunks/{shell-a2v9h5m6.js → worktree-bk4fykk5.js} +10 -10
- package/dist/chunks/{shell-nnaw3fcy.js → worktree-bpn8wa0j.js} +26 -26
- package/dist/chunks/{shell-mkzhp1bm.js → worktree-bw54z2dz.js} +26 -26
- package/dist/chunks/{shell-c1fqxshp.js → worktree-c1fqxshp.js} +3 -3
- package/dist/chunks/{shell-rsx40xcc.js → worktree-c1pn2cak.js} +40 -40
- package/dist/chunks/{shell-8k6wbd9c.js → worktree-c6kyp2vd.js} +21 -21
- package/dist/chunks/{shell-jnp9hjdf.js → worktree-c7m8ew2s.js} +20 -20
- package/dist/chunks/{shell-yxas0qqg.js → worktree-cfwkm2sy.js} +42 -42
- package/dist/chunks/{shell-6c6ws8b5.js → worktree-cj2pe107.js} +13 -13
- package/dist/chunks/{shell-5zht2kc9.js → worktree-ck9w7hsc.js} +29 -29
- package/dist/chunks/{shell-rya5831r.js → worktree-cmchd7hs.js} +3 -3
- package/dist/chunks/{shell-g0445xdp.js → worktree-cmwkp3r5.js} +4 -4
- package/dist/chunks/{shell-57dhfqk6.js → worktree-cnnb9061.js} +14 -14
- package/dist/chunks/{shell-cwa6csj7.js → worktree-d4he2qe1.js} +9 -9
- package/dist/chunks/{shell-efqe6sj8.js → worktree-d4qs2yq9.js} +4 -4
- package/dist/chunks/{shell-1s8yq1pa.js → worktree-d784a9zz.js} +25 -25
- package/dist/chunks/{shell-vxq2jpwc.js → worktree-d7zx0zg5.js} +9 -9
- package/dist/chunks/{shell-tqxsz11v.js → worktree-d9bwsjmy.js} +8 -8
- package/dist/chunks/{shell-0nbt10ra.js → worktree-dkhangmk.js} +31 -31
- package/dist/chunks/{shell-dqxsqydv.js → worktree-dqxsqydv.js} +1 -1
- package/dist/chunks/{shell-t79s17n5.js → worktree-dvep9rg9.js} +9 -9
- package/dist/chunks/{shell-f2mw6jyj.js → worktree-dx0ahrbs.js} +11 -11
- package/dist/chunks/{shell-fpx4scaj.js → worktree-e2s224y0.js} +24 -24
- package/dist/chunks/{shell-5qd3pb7m.js → worktree-e3qxr5gk.js} +2 -2
- package/dist/chunks/{shell-3v7889rv.js → worktree-e6p3a57j.js} +24 -24
- package/dist/chunks/{shell-q3ggeavs.js → worktree-eb78yqxb.js} +18 -18
- package/dist/chunks/{shell-sxcaecc0.js → worktree-ed1g29hy.js} +3 -3
- package/dist/chunks/{shell-eej6y6fw.js → worktree-eej6y6fw.js} +2 -2
- package/dist/chunks/{shell-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{shell-rgjqxtx5.js → worktree-efamztt7.js} +13 -13
- package/dist/chunks/{shell-kwrrngyp.js → worktree-ewzsx78j.js} +15 -15
- package/dist/chunks/{shell-t52226va.js → worktree-f0znm7sz.js} +11 -11
- package/dist/chunks/{shell-7behcjme.js → worktree-f3x7gcm5.js} +29 -29
- package/dist/chunks/{shell-scpphhc2.js → worktree-f6qqz66d.js} +16 -16
- package/dist/chunks/{shell-y4xcjaps.js → worktree-faaxxfm8.js} +33 -33
- package/dist/chunks/{shell-nq3k23th.js → worktree-fc8788t2.js} +29 -29
- package/dist/chunks/{shell-1m9wmnwz.js → worktree-fj9ny8gn.js} +7 -7
- package/dist/chunks/{shell-bxd16f08.js → worktree-fv1gh5kw.js} +5 -5
- package/dist/chunks/{shell-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-jq1dp0qh.js → worktree-gga122km.js} +11 -11
- package/dist/chunks/{shell-4jk4aq57.js → worktree-gkj5fv17.js} +29 -29
- package/dist/chunks/{shell-cq1305b6.js → worktree-gr62y671.js} +5 -5
- package/dist/chunks/{shell-b0d6v0n3.js → worktree-gvrzmcf4.js} +14 -14
- package/dist/chunks/{shell-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-31xfzrxg.js → worktree-h7s7r6s9.js} +5 -5
- package/dist/chunks/{shell-k18ytf7m.js → worktree-had4kgfk.js} +6 -6
- package/dist/chunks/{shell-e7ydkzjj.js → worktree-heq1a16y.js} +7 -7
- package/dist/chunks/{shell-52m64jpm.js → worktree-hex4f5x3.js} +15 -15
- package/dist/chunks/{shell-0taqq77a.js → worktree-hfhhdy4d.js} +318 -318
- package/dist/chunks/{shell-hgz4x7wa.js → worktree-hgz4x7wa.js} +1 -1
- package/dist/chunks/{shell-sn3c8r3b.js → worktree-hsgza3cm.js} +13 -13
- package/dist/chunks/{shell-g8cahxem.js → worktree-ht3mx19x.js} +18 -18
- package/dist/chunks/{shell-t0vjqmv0.js → worktree-hxn427s8.js} +11 -11
- package/dist/chunks/{shell-hztpe0eh.js → worktree-hzmhka1f.js} +31 -31
- package/dist/chunks/{shell-xfprvm58.js → worktree-hzsf6k88.js} +15 -15
- package/dist/chunks/{shell-3par9n16.js → worktree-j1c4j6vn.js} +17 -17
- package/dist/chunks/{shell-51qfnm8m.js → worktree-j8xvyka0.js} +8 -8
- package/dist/chunks/{shell-73eqt8rc.js → worktree-jdks16ag.js} +36 -36
- package/dist/chunks/{shell-7zt5x37y.js → worktree-jhdf29st.js} +1 -1
- package/dist/chunks/{shell-d22s4b17.js → worktree-jhyqneq0.js} +10 -10
- package/dist/chunks/{shell-ctb4gfyw.js → worktree-jjv1jct9.js} +4 -4
- package/dist/chunks/{shell-qjx1ax0j.js → worktree-k1n0z3hy.js} +5 -5
- package/dist/chunks/{shell-a6gaz7hm.js → worktree-k368h1bw.js} +16 -16
- package/dist/chunks/{shell-yfyt8pq3.js → worktree-k8pbnrry.js} +13 -13
- package/dist/chunks/{shell-7q4a5kz0.js → worktree-k8y2vxwm.js} +3 -3
- package/dist/chunks/{shell-707fqczt.js → worktree-kada6eax.js} +3 -3
- package/dist/chunks/{shell-khmqacep.js → worktree-khmqacep.js} +1 -1
- package/dist/chunks/{shell-400wmb2h.js → worktree-m0xm5t79.js} +5 -5
- package/dist/chunks/{shell-mxf5phsa.js → worktree-m9qsaj22.js} +8 -8
- package/dist/chunks/{shell-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-maspj1v3.js → worktree-maspj1v3.js} +1 -1
- package/dist/chunks/{shell-w3gpx58x.js → worktree-mj4h5zyy.js} +9 -9
- package/dist/chunks/{shell-wmc7nyv0.js → worktree-mr8m5p48.js} +22 -22
- package/dist/chunks/{shell-6wm1hp0a.js → worktree-n3g5pdec.js} +26 -26
- package/dist/chunks/{shell-5r60h0nw.js → worktree-nd3zr4qw.js} +20 -20
- package/dist/chunks/{shell-g686f6pq.js → worktree-nd4tfyg0.js} +9 -9
- package/dist/chunks/{shell-ysgsvzag.js → worktree-ndq62nn0.js} +82 -82
- package/dist/chunks/{shell-04byth4q.js → worktree-nhe6bk5v.js} +5 -5
- package/dist/chunks/{shell-e8vwfchq.js → worktree-nq09r4dh.js} +9 -9
- package/dist/chunks/{shell-e85yb5dh.js → worktree-nvpcjjwg.js} +14 -14
- package/dist/chunks/{shell-7mt5vk4q.js → worktree-nwz3xn1w.js} +4 -4
- package/dist/chunks/{shell-10wd51gp.js → worktree-p2w8rnj5.js} +41 -41
- package/dist/chunks/{shell-ywm7vzgw.js → worktree-pd760nvw.js} +6 -6
- package/dist/chunks/{shell-cnysgr4d.js → worktree-phgh38vw.js} +25 -25
- package/dist/chunks/{shell-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{shell-4s7t0d7n.js → worktree-q11w256c.js} +26 -26
- package/dist/chunks/{shell-1dc5khew.js → worktree-q28ks4kq.js} +32 -32
- package/dist/chunks/{shell-2ktf0ed2.js → worktree-qby9dwvd.js} +8 -8
- package/dist/chunks/{shell-tmheqabc.js → worktree-qcfhvs9f.js} +37 -37
- package/dist/chunks/{shell-aq536rhp.js → worktree-qjnp8kth.js} +11 -11
- package/dist/chunks/{shell-hsktkk0f.js → worktree-qk5v6yqg.js} +20 -20
- package/dist/chunks/{shell-qnc92qwc.js → worktree-qnc92qwc.js} +1 -1
- package/dist/chunks/{shell-gbbztpf6.js → worktree-qpzrnwb7.js} +17 -17
- package/dist/chunks/{shell-drwq78ky.js → worktree-qqeeq2t9.js} +7 -7
- package/dist/chunks/{shell-aqqsezw7.js → worktree-qrmef7q5.js} +9 -9
- package/dist/chunks/{shell-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-tc11merm.js → worktree-qsf3y1ew.js} +10 -10
- package/dist/chunks/{shell-kz59s07d.js → worktree-r7x64v0s.js} +50 -50
- package/dist/chunks/{shell-whgyx68z.js → worktree-r8bsfb7y.js} +5 -5
- package/dist/chunks/{shell-3e182vtd.js → worktree-raem8mh3.js} +9 -9
- package/dist/chunks/{shell-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{shell-afpfqmz0.js → worktree-rec41zv7.js} +8 -8
- package/dist/chunks/{shell-rert0e01.js → worktree-rert0e01.js} +2 -2
- package/dist/chunks/{shell-rj3eygr5.js → worktree-rj3eygr5.js} +2 -2
- package/dist/chunks/{shell-waskdk5r.js → worktree-rkg4v3e5.js} +9 -9
- package/dist/chunks/{shell-0p5336y4.js → worktree-rrnkc0yz.js} +45 -45
- package/dist/chunks/{shell-vgfz6n1v.js → worktree-rzj0vt9r.js} +17 -17
- package/dist/chunks/{shell-0jq9fyba.js → worktree-s1kvmffy.js} +9 -9
- package/dist/chunks/{shell-pgtf3vy0.js → worktree-s4z024b2.js} +48 -48
- package/dist/chunks/{shell-sa8ekw3f.js → worktree-sa8ekw3f.js} +2 -2
- package/dist/chunks/{shell-ysg6tmpd.js → worktree-sjbmsh99.js} +23 -23
- package/dist/chunks/{shell-4q3ypj72.js → worktree-sq2wxdf8.js} +70 -70
- package/dist/chunks/{shell-3wn9yz2z.js → worktree-svwvq4d5.js} +50 -50
- package/dist/chunks/{shell-syv4x271.js → worktree-syv4x271.js} +1 -1
- package/dist/chunks/{shell-pt9gxkrz.js → worktree-t1bzqew3.js} +9 -9
- package/dist/chunks/{shell-eaj1djv9.js → worktree-t550f9t1.js} +8 -8
- package/dist/chunks/{shell-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-x27mxbrv.js → worktree-tbvqj3dg.js} +4 -4
- package/dist/chunks/{shell-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{shell-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{shell-sbmvftyn.js → worktree-tk5h2yrb.js} +27 -27
- package/dist/chunks/{shell-tm0kqsz3.js → worktree-tm0kqsz3.js} +1 -1
- package/dist/chunks/{shell-n5z9s4t6.js → worktree-tp1s2539.js} +9 -9
- package/dist/chunks/{shell-fgqh1qmr.js → worktree-tthj469c.js} +23 -23
- package/dist/chunks/{shell-tyytaxap.js → worktree-tyytaxap.js} +1 -1
- package/dist/chunks/{shell-v0es1rhs.js → worktree-v0es1rhs.js} +2 -2
- package/dist/chunks/{shell-bz1yjczd.js → worktree-v2fecqa2.js} +13 -13
- package/dist/chunks/{shell-v7p4zvkq.js → worktree-v7p4zvkq.js} +2 -2
- package/dist/chunks/{shell-e9976c3q.js → worktree-v9erzek1.js} +5 -5
- package/dist/chunks/{shell-b65nhnwn.js → worktree-vb3pk5gr.js} +30 -30
- package/dist/chunks/{shell-4hefcvh1.js → worktree-vckqakrf.js} +17 -17
- package/dist/chunks/{shell-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-ecehawjj.js → worktree-vmvc3m0d.js} +21 -21
- package/dist/chunks/{shell-363vj7mg.js → worktree-vnmj6pqx.js} +26 -26
- package/dist/chunks/{shell-j5w2yx54.js → worktree-vvccsdf3.js} +6 -6
- package/dist/chunks/{shell-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
- package/dist/chunks/{shell-63db42yp.js → worktree-w0tfgnf2.js} +2 -2
- package/dist/chunks/{shell-10sz6pap.js → worktree-w2fd5jxd.js} +3 -3
- package/dist/chunks/{shell-dys7k0s0.js → worktree-w3smsxn0.js} +9 -9
- package/dist/chunks/{shell-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-8y31xnqm.js → worktree-w8xr7nv8.js} +5 -5
- package/dist/chunks/{shell-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{shell-b3f8fkhc.js → worktree-wecqtg5s.js} +5 -5
- package/dist/chunks/{shell-ay0ekvpz.js → worktree-wgkrc4gf.js} +22 -22
- package/dist/chunks/{shell-1pxz8ven.js → worktree-wh6zw745.js} +5 -5
- package/dist/chunks/{shell-b2yrfxs6.js → worktree-wmvxw9n2.js} +85 -85
- package/dist/chunks/{shell-tyw8kzck.js → worktree-wsss038a.js} +16 -16
- package/dist/chunks/{shell-2yw8nqee.js → worktree-wwj18gnb.js} +30 -30
- package/dist/chunks/{shell-8she8qcx.js → worktree-wxdrkwee.js} +181 -181
- package/dist/chunks/{shell-3mmbhv3p.js → worktree-wyp5t2nv.js} +4 -4
- package/dist/chunks/{shell-ga2cfdh6.js → worktree-wzwj114h.js} +44 -44
- package/dist/chunks/{shell-rk7s9xkn.js → worktree-x3gqap9d.js} +4 -4
- package/dist/chunks/{shell-78tt1mra.js → worktree-x4yqgpdn.js} +19 -19
- package/dist/chunks/{shell-0zese7xv.js → worktree-x7eaanfs.js} +3 -3
- package/dist/chunks/{shell-kdg9j66c.js → worktree-xa33bmm9.js} +9 -9
- package/dist/chunks/{shell-qm4dc04g.js → worktree-xeyk6e5c.js} +17 -17
- package/dist/chunks/{shell-hyw1cebe.js → worktree-xfw881m1.js} +10 -10
- package/dist/chunks/{shell-gbqksffw.js → worktree-xmsn35g9.js} +12 -12
- package/dist/chunks/{shell-v1m17hdy.js → worktree-xnpybbqa.js} +21 -21
- package/dist/chunks/{shell-71m8tjwq.js → worktree-xrd6m33g.js} +24 -24
- package/dist/chunks/{shell-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-y71avatq.js → worktree-y71avatq.js} +1 -1
- package/dist/chunks/{shell-nvc3dar1.js → worktree-y73tf1nx.js} +19 -19
- package/dist/chunks/{shell-qpr3rbpg.js → worktree-yhgqt7b2.js} +28 -28
- package/dist/chunks/{shell-f2n192rq.js → worktree-yp2x3t23.js} +4 -4
- package/dist/chunks/{shell-rgk41p4k.js → worktree-ysq9cvk3.js} +8 -8
- package/dist/chunks/worktree-yvbfxc2q.js +253 -0
- package/dist/chunks/{shell-ywt8jp22.js → worktree-ywt8jp22.js} +2 -2
- package/dist/chunks/{shell-4901z81j.js → worktree-yypbz2n6.js} +20 -20
- package/dist/chunks/{shell-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-85f8cexg.js → worktree-z0jrkcpk.js} +4 -4
- package/dist/chunks/{shell-8jr8q571.js → worktree-z4tt41b4.js} +11 -11
- package/dist/chunks/{shell-wj85kac7.js → worktree-z5cvsch1.js} +9 -9
- package/dist/chunks/{shell-1djtherc.js → worktree-z8ads2fd.js} +21 -21
- package/dist/chunks/{shell-dewtd1t5.js → worktree-zjvj18av.js} +11 -11
- package/dist/chunks/{shell-ej3rmm9y.js → worktree-zpkap1h9.js} +5 -5
- package/dist/chunks/{shell-jadf9tmz.js → worktree-zpt8t96v.js} +26 -26
- package/dist/chunks/{shell-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-x4y1kf2t.js → worktree-zvmksf0w.js} +20 -20
- package/dist/chunks/{shell-ca7w653e.js → worktree-zvt5dnpc.js} +4 -4
- package/dist/chunks/{shell-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +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 +118 -118
- 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 +118 -118
- 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 +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- 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 +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- 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 +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- 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 +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +100 -100
- package/dist/models-dev.js +101 -101
- 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 +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +1 -1
- 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 +104 -104
- 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 +118 -118
- 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 +125 -125
- 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 +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- 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 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +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 +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- 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 +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +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 +4 -4
- 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 +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +9 -9
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +95 -95
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +118 -118
- 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 +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +122 -122
- 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 +16 -16
- 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 +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- 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 +8 -8
- 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/shell-ej0mtf17.js +0 -253
- package/dist/chunks/shell-pf31ssb9.js +0 -18
- /package/dist/chunks/{shell-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → worktree-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3t0ybcrp.js → worktree-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → worktree-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jze0r7bz.js → worktree-jze0r7bz.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → worktree-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-pkyv6v7h.js → worktree-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{shell-pyv0edze.js → worktree-pyv0edze.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wjj7prxr.js → worktree-wjj7prxr.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-azwe5p1w.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-0p4seb2j.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./worktree-1g706jtd.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-wwj18gnb.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service67
|
|
20
|
+
} from "./worktree-gkj5fv17.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID10
|
|
23
|
+
} from "./worktree-zpt8t96v.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./worktree-mr8m5p48.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-bk4fykk5.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID9
|
|
33
|
+
} from "./worktree-xrd6m33g.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./worktree-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID13.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
166
|
+
const providers = yield* Service67;
|
|
167
167
|
const bus = yield* Service84;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID12.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load2(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID12.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(
|
|
234
|
-
models.update(
|
|
233
|
+
if (models.get(ID12.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
|
|
234
|
+
models.update(ID12.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
|
|
235
235
|
model.enabled = false;
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(
|
|
240
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
|
-
if (evt.model.providerID !==
|
|
243
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
244
244
|
return;
|
|
245
245
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
246
246
|
return;
|
|
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
250
|
}));
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
|
-
if (evt.model.providerID !==
|
|
252
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
253
253
|
return;
|
|
254
254
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
255
255
|
return;
|
|
@@ -259,13 +259,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
259
259
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
260
260
|
if (interaction !== "conversation-agent")
|
|
261
261
|
evt.headers["x-initiator"] = "agent";
|
|
262
|
-
}), { providerID:
|
|
262
|
+
}), { providerID: ID12.githubCopilot });
|
|
263
263
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
264
|
-
if (evt.model.providerID !==
|
|
264
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
276
276
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
277
277
|
return;
|
|
278
278
|
}));
|
|
279
|
-
}), { providerID:
|
|
279
|
+
}), { providerID: ID12.githubCopilot });
|
|
280
280
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
281
|
-
if (evt.model.providerID !==
|
|
281
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
282
282
|
return;
|
|
283
283
|
const token = evt.request.headers.get("x-api-key");
|
|
284
284
|
if (!token)
|
|
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
286
286
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
287
287
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
288
288
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
289
|
-
}), { providerID:
|
|
289
|
+
}), { providerID: ID12.githubCopilot });
|
|
290
290
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
292
292
|
return;
|
|
293
293
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
294
294
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-0c8z4cs3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID10,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-zpt8t96v.js";
|
|
8
8
|
import {
|
|
9
9
|
Service60
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-hzmhka1f.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service79
|
|
13
|
+
} from "./worktree-c6kyp2vd.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-khmqacep.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-z0jrkcpk.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -33,7 +33,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
35
|
const config = yield* Service60;
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service79);
|
|
37
37
|
const location = yield* Effect.serviceOption(Service81);
|
|
38
38
|
const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID10.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./worktree-gkj5fv17.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-z0jrkcpk.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID12.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-pyv0edze.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin49,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin49 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin49, exports_tool_input_repair };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service65,
|
|
3
|
+
node68
|
|
4
|
+
} from "./worktree-xfw881m1.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-4a7gy6vj.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service50,
|
|
20
|
+
make: () => make18,
|
|
21
|
+
node: () => node53
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service50 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make18 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service65;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -342,7 +342,7 @@ var make17 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service50.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make17 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service50, make18);
|
|
358
|
+
var node53 = makeGlobalNode({ service: Service50, layer, deps: [node68] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service50, make18, node53, exports_job };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-0c8z4cs3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service60
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-hzmhka1f.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service74
|
|
9
|
+
} from "./worktree-8dc9ddds.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make5
|
|
12
|
+
} from "./worktree-ed1g29hy.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin27
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,11 +29,11 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin27 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const config = yield* Service60;
|
|
36
|
-
const formatter = yield*
|
|
36
|
+
const formatter = yield* Service74;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const location = yield* Service81;
|
|
@@ -44,7 +44,7 @@ var Plugin4 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make5({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin27, exports_formatter };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-heq1a16y.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-3dak6s47.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-7gra0nqm.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./worktree-gkj5fv17.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -35,15 +35,15 @@ var AmazonBedrockPlugin2 = define({
|
|
|
35
35
|
})))).filter(Boolean).toSorted();
|
|
36
36
|
yield* ctx.integration.transform((editor) => {
|
|
37
37
|
editor.method.update({
|
|
38
|
-
integrationID:
|
|
38
|
+
integrationID: ID12.amazonBedrock,
|
|
39
39
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
40
40
|
});
|
|
41
41
|
editor.method.update({
|
|
42
|
-
integrationID:
|
|
42
|
+
integrationID: ID12.amazonBedrock,
|
|
43
43
|
method: { type: "key", label: "Bedrock API key" }
|
|
44
44
|
});
|
|
45
45
|
editor.method.update({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID12.amazonBedrock,
|
|
47
47
|
method: {
|
|
48
48
|
id: "aws-profile",
|
|
49
49
|
type: "external",
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-bk4fykk5.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin37,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin37 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin38 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin38 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin37, exports_tavily };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./worktree-vvccsdf3.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-619r8v3y.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-nq09r4dh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service38
|
|
12
|
+
} from "./worktree-bpn8wa0j.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service47;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service38), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|