@opencode/core 0.0.0-dev-875 → 0.0.0-dev-877
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/agent.js +70 -70
- package/dist/aisdk-native.js +70 -70
- package/dist/aisdk.js +75 -75
- package/dist/app.js +7 -7
- package/dist/artifact.js +188 -188
- package/dist/bus.js +59 -59
- package/dist/chunks/{git-0jwmsjqf.js → git-00varkfn.js} +10 -10
- package/dist/chunks/{git-mdmbsy22.js → git-03bqgv3d.js} +13 -13
- package/dist/chunks/{git-xjbsd7zy.js → git-04whjz6n.js} +7 -7
- package/dist/chunks/{git-afarzbax.js → git-0frc0r1x.js} +25 -25
- package/dist/chunks/{git-ykm2zcsg.js → git-0gqnrxt9.js} +22 -22
- package/dist/chunks/{git-1etmrnss.js → git-0jb5754p.js} +16 -16
- package/dist/chunks/{git-k5kff2d4.js → git-0m3b16eq.js} +13 -13
- package/dist/chunks/{git-ctfdew44.js → git-0q8f2k41.js} +10 -10
- package/dist/chunks/{git-fq65x449.js → git-0qak39qg.js} +9 -9
- package/dist/chunks/{git-tnb4xd20.js → git-0x3y91hs.js} +11 -11
- package/dist/chunks/{git-sj2acvnz.js → git-0z761sfe.js} +12 -12
- package/dist/chunks/{git-2648h344.js → git-1d9m9zxv.js} +24 -24
- package/dist/chunks/{git-wsakdcx3.js → git-1djj0b5c.js} +7 -7
- package/dist/chunks/{git-jv21w6k5.js → git-1ecdfnj3.js} +2 -2
- package/dist/chunks/{git-27w5k9zf.js → git-1ep2p91f.js} +1 -1
- package/dist/chunks/{git-5m6a7xby.js → git-1mjfhd2z.js} +5 -5
- package/dist/chunks/{git-yqh7xrf3.js → git-1r07hmxk.js} +1 -1
- package/dist/chunks/{git-p5tk1xdz.js → git-1xckstgy.js} +9 -9
- package/dist/chunks/{git-77rvnvng.js → git-20hs46rx.js} +1 -1
- package/dist/chunks/{git-4w21cvg1.js → git-20sbf82m.js} +5 -5
- package/dist/chunks/{git-8b3vzgkx.js → git-25h84942.js} +3 -3
- package/dist/chunks/{git-yk0cqbcw.js → git-2dahv1c9.js} +4 -4
- package/dist/chunks/{git-98b8cv9y.js → git-2eze3ev9.js} +10 -10
- package/dist/chunks/{git-v7sjzkrq.js → git-2g9wma4e.js} +45 -45
- package/dist/chunks/{git-g98stj40.js → git-2h7yn6a1.js} +1 -1
- package/dist/chunks/{git-msj4425n.js → git-2pvm1zmp.js} +3 -3
- package/dist/chunks/{git-6f6jm3cp.js → git-31avdb49.js} +3 -3
- package/dist/chunks/{git-nd8b88b8.js → git-394p07bv.js} +16 -16
- package/dist/chunks/{git-0mgprbja.js → git-39sgvy3e.js} +2 -2
- package/dist/chunks/{git-fepyqj80.js → git-3ewxmk4s.js} +13 -13
- package/dist/chunks/{git-rcbjwvze.js → git-3gv0spa2.js} +3 -3
- package/dist/chunks/{git-z65p847k.js → git-3zz32vjr.js} +25 -25
- package/dist/chunks/{git-3ntrdxkx.js → git-41q5jgkh.js} +1 -1
- package/dist/chunks/{git-p8rrjbrm.js → git-44h066km.js} +12 -12
- package/dist/chunks/{git-4jze6zp5.js → git-49433ye1.js} +7 -7
- package/dist/chunks/{git-gbeqs22t.js → git-4a6d9e1s.js} +3 -3
- package/dist/chunks/{git-nkx9v1k7.js → git-4cbycqt3.js} +5 -5
- package/dist/chunks/{git-r7yxfaj3.js → git-4ckwpsmh.js} +10 -10
- package/dist/chunks/{git-8z9ny10k.js → git-4csvnawe.js} +9 -9
- package/dist/chunks/{git-dr3qbmxv.js → git-4k4h4j8h.js} +6 -6
- package/dist/chunks/{git-5m6y62w0.js → git-4rbegt9x.js} +18 -18
- package/dist/chunks/{git-mzdr9h9h.js → git-4s2fjq3h.js} +10 -10
- package/dist/chunks/{git-tann50kq.js → git-4t2sgz32.js} +12 -12
- package/dist/chunks/{git-4w3a3h6m.js → git-4vsk53av.js} +22 -22
- package/dist/chunks/{git-20wrxdg1.js → git-4y1dkp2x.js} +9 -9
- package/dist/chunks/{git-v305347d.js → git-53yc0731.js} +5 -5
- package/dist/chunks/{git-40za9wsf.js → git-5enarcya.js} +4 -4
- package/dist/chunks/{git-wjpb9sqw.js → git-5pf1s9ew.js} +36 -36
- package/dist/chunks/{git-1vb9a70p.js → git-5ssd9z4k.js} +6 -6
- package/dist/chunks/{git-0kfj05k0.js → git-5z0ewh0k.js} +33 -33
- package/dist/chunks/{git-vktteb34.js → git-60tvtmqn.js} +7 -7
- package/dist/chunks/{git-nwdgk0aq.js → git-611b2d5d.js} +1 -1
- package/dist/chunks/{git-jv5ccajn.js → git-61qraad9.js} +3 -3
- package/dist/chunks/{git-xmx7xj34.js → git-63xym3gh.js} +3 -3
- package/dist/chunks/{git-2ms591wd.js → git-6795q8e3.js} +9 -9
- package/dist/chunks/{git-t1rtcvv4.js → git-6a8yk7g9.js} +2 -2
- package/dist/chunks/{git-4etb0gbj.js → git-6gmb6c3p.js} +10 -10
- package/dist/chunks/{git-y4n6pw34.js → git-6ss6ngz0.js} +3 -3
- package/dist/chunks/{git-bd06yyhm.js → git-6t40r86m.js} +8 -8
- package/dist/chunks/{git-5b8n7syd.js → git-7862g246.js} +24 -24
- package/dist/chunks/{git-7hyppg7q.js → git-78q90azy.js} +10 -10
- package/dist/chunks/{git-e880cd0j.js → git-7b03s8dy.js} +20 -20
- package/dist/chunks/{git-530xg6vw.js → git-7ke2z32d.js} +1 -1
- package/dist/chunks/{git-rsacfx58.js → git-7ms6p5ct.js} +29 -29
- package/dist/chunks/{git-st082zzh.js → git-7twge7vh.js} +7 -7
- package/dist/chunks/{git-6s1f67sn.js → git-7z34tv57.js} +13 -13
- package/dist/chunks/{git-z0qgjq7p.js → git-83shbj64.js} +16 -16
- package/dist/chunks/{git-mv65g5kx.js → git-8kpj8dgw.js} +40 -40
- package/dist/chunks/{git-bb3mmwvh.js → git-8sxe6kv8.js} +1 -1
- package/dist/chunks/{git-trbj5262.js → git-8v80kk81.js} +75 -75
- package/dist/chunks/{git-z7d1se52.js → git-8wyfgy84.js} +44 -44
- package/dist/chunks/{git-67wwskyb.js → git-8xz27cp9.js} +3 -3
- package/dist/chunks/{git-45drd1ny.js → git-91pq3adq.js} +2 -2
- package/dist/chunks/{git-4y8cj6a6.js → git-92x12kkd.js} +9 -9
- package/dist/chunks/{git-azsc1wyq.js → git-92y7h8dm.js} +3 -3
- package/dist/chunks/{git-jpeh7dbr.js → git-97d9kncm.js} +10 -10
- package/dist/chunks/{git-c1fpb6ys.js → git-98j9v5dh.js} +361 -361
- package/dist/chunks/{git-1zcg1m2c.js → git-9b3g47fp.js} +13 -13
- package/dist/chunks/{git-8j9jb473.js → git-9cgrg5sn.js} +36 -36
- package/dist/chunks/{git-yzndy881.js → git-9csbj8z0.js} +5 -5
- package/dist/chunks/{git-a4cdtn27.js → git-9d9y7nf6.js} +8 -8
- package/dist/chunks/{git-h7new7c4.js → git-9j9dggvf.js} +15 -15
- package/dist/chunks/{git-kppgs101.js → git-9n47qn5z.js} +23 -23
- package/dist/chunks/{git-g4w2r3gg.js → git-9trbd0dd.js} +7 -7
- package/dist/chunks/{git-xsawa0je.js → git-9vmsqv1h.js} +3 -3
- package/dist/chunks/{git-5km8j6qy.js → git-9ycj3fcq.js} +13 -13
- package/dist/chunks/{git-xzaka5a0.js → git-9zxzvr8s.js} +30 -30
- package/dist/chunks/{git-mmzs51g0.js → git-a4h8tact.js} +3 -3
- package/dist/chunks/{git-djmxqttn.js → git-abgnc9fg.js} +15 -15
- package/dist/chunks/{git-mjysxtvk.js → git-aqsf8b5y.js} +6 -6
- package/dist/chunks/{git-3cbjf1nt.js → git-ayjs7tqn.js} +1 -1
- package/dist/chunks/{git-rqb5tm54.js → git-azzq76h2.js} +22 -22
- package/dist/chunks/{git-md1v6sgb.js → git-b5h8zkmc.js} +13 -13
- package/dist/chunks/{git-ky67gy21.js → git-b8ba6mjn.js} +4 -4
- package/dist/chunks/{git-1f4ehbcj.js → git-bfef7565.js} +31 -31
- package/dist/chunks/{git-bmw1c1w2.js → git-bqzcd44k.js} +7 -7
- package/dist/chunks/{git-drdkqb7r.js → git-bvtjjqvm.js} +32 -32
- package/dist/chunks/{git-7fjscqpw.js → git-bwrw929x.js} +7 -7
- package/dist/chunks/{git-2m9kne9v.js → git-bx2ghzcj.js} +28 -28
- package/dist/chunks/{git-xeqnzmnf.js → git-bybkjpkj.js} +17 -17
- package/dist/chunks/{git-49ytdyqv.js → git-c019f3c1.js} +48 -48
- package/dist/chunks/{git-y7aayjrc.js → git-c4zh2v72.js} +6 -6
- package/dist/chunks/{git-m8sd3wmf.js → git-cp6k9vjq.js} +4 -4
- package/dist/chunks/{git-jr4vmd28.js → git-cqa12jg5.js} +12 -12
- package/dist/chunks/{git-3ay6yzp4.js → git-cr44ae3x.js} +3 -3
- package/dist/chunks/{git-pg5vpynd.js → git-cshqytk6.js} +30 -30
- package/dist/chunks/{git-9h06ddcp.js → git-cvs0tqag.js} +6 -6
- package/dist/chunks/{git-ynan9jk6.js → git-d5z6mkpf.js} +6 -6
- package/dist/chunks/{git-s4kt4hv1.js → git-dkhpjg5z.js} +9 -9
- package/dist/chunks/{git-kq0yfxbt.js → git-e388bv6v.js} +6 -6
- package/dist/chunks/{git-3fxf21pt.js → git-e8m9b6pv.js} +7 -7
- package/dist/chunks/{git-z1vvxzc0.js → git-eb8qw4j6.js} +19 -19
- package/dist/chunks/{git-gp6yxnrc.js → git-ec3jn864.js} +5 -5
- package/dist/chunks/{git-gpdrfecg.js → git-ew421enx.js} +27 -27
- package/dist/chunks/{git-bd51gcj4.js → git-ezh572rb.js} +27 -27
- package/dist/chunks/{git-0jphaf65.js → git-f4pvszhr.js} +14 -14
- package/dist/chunks/{git-h7kp09kc.js → git-f8y715rk.js} +23 -23
- package/dist/chunks/{git-2bnxrx9g.js → git-f9zhf18s.js} +7 -7
- package/dist/chunks/git-fcwwbh22.js +26 -0
- package/dist/chunks/{git-4h897baf.js → git-fd7zzepq.js} +1 -1
- package/dist/chunks/{git-rhd4ef66.js → git-fekv06st.js} +23 -23
- package/dist/chunks/{git-gwz5xkxn.js → git-fhagczq0.js} +14 -14
- package/dist/chunks/{git-7fxw094p.js → git-fjydg50v.js} +1 -1
- package/dist/chunks/{git-jc740628.js → git-fmz0vg6g.js} +15 -15
- package/dist/chunks/{git-xj1ksz36.js → git-fnx943sm.js} +3 -3
- package/dist/chunks/{git-hrs2gzzj.js → git-fregt7rm.js} +2 -2
- package/dist/chunks/{git-fczy16rh.js → git-frv9eft2.js} +33 -33
- package/dist/chunks/{git-2n444ktb.js → git-fyfzbt3s.js} +3 -3
- package/dist/chunks/{git-mkxaysvp.js → git-fyg08hs0.js} +5 -5
- package/dist/chunks/{git-6kpc0nwt.js → git-g1s7606r.js} +11 -11
- package/dist/chunks/{git-55ngdm5m.js → git-g4sh17b8.js} +39 -39
- package/dist/chunks/{git-m4w5ebb9.js → git-g5ysjf19.js} +12 -12
- package/dist/chunks/{git-1x6fq9p1.js → git-g71ss1xn.js} +8 -8
- package/dist/chunks/{git-g1k61010.js → git-gb1g2x4k.js} +25 -25
- package/dist/chunks/{git-ckn0kvtp.js → git-ggx84v7x.js} +3 -3
- package/dist/chunks/{git-me215f18.js → git-gnkmn8c6.js} +1 -1
- package/dist/chunks/{git-x219w6te.js → git-gr3xza4k.js} +5 -5
- package/dist/chunks/{git-818t107x.js → git-gtxqc62w.js} +19 -19
- package/dist/chunks/{git-w2z1zxee.js → git-gvr1wrwc.js} +15 -15
- package/dist/chunks/{git-2zarbs9g.js → git-gw8qytxn.js} +33 -33
- package/dist/chunks/{git-ra40zrct.js → git-gwv2mpj6.js} +30 -30
- package/dist/chunks/{git-s08m6qw8.js → git-h1x2z473.js} +28 -28
- package/dist/chunks/{git-x0v7ycvc.js → git-h3bkzmev.js} +6 -6
- package/dist/chunks/{git-4qvfwaq6.js → git-h9bh2nqk.js} +2 -2
- package/dist/chunks/{git-nphhqmd7.js → git-h9jz8k2w.js} +41 -41
- package/dist/chunks/{git-dvnqv6yn.js → git-hced1q2j.js} +3 -3
- package/dist/chunks/{git-vq7vv3nk.js → git-hh6wnwm8.js} +16 -16
- package/dist/chunks/{git-ckh9py1e.js → git-hkaenk79.js} +9 -9
- package/dist/chunks/{git-ddj8zy88.js → git-hrav46rw.js} +17 -17
- package/dist/chunks/{git-jfj792ae.js → git-hvqp069m.js} +10 -10
- package/dist/chunks/{git-7tpyp9vw.js → git-hw621kav.js} +7 -7
- package/dist/chunks/{git-7g2gp4mw.js → git-j384620m.js} +15 -15
- package/dist/chunks/{git-mr00pmf2.js → git-j3kswyhf.js} +3 -3
- package/dist/chunks/{git-neheaczg.js → git-j41w8xdk.js} +13 -13
- package/dist/chunks/{git-wn1h7kga.js → git-jfw03jt9.js} +3 -3
- package/dist/chunks/{git-e7vcsbw8.js → git-jp5e8g4e.js} +28 -28
- package/dist/chunks/{git-mwymqehm.js → git-jsc8ycs5.js} +7 -7
- package/dist/chunks/{git-7bvve1ef.js → git-jtsrwzj5.js} +4 -4
- package/dist/chunks/{git-jk3rwvc2.js → git-jw32pn92.js} +10 -10
- package/dist/chunks/{git-hwwe2nrh.js → git-jxqms9w4.js} +11 -11
- package/dist/chunks/{git-sxmggh6x.js → git-kj8281nx.js} +4 -4
- package/dist/chunks/{git-vzn2aggs.js → git-kk89jyzz.js} +20 -20
- package/dist/chunks/{git-txdsg1gc.js → git-kq493ejx.js} +15 -15
- package/dist/chunks/{git-caz22v9f.js → git-kqnb2wzg.js} +23 -23
- package/dist/chunks/{git-258sxg8z.js → git-kv1m4r0t.js} +9 -9
- package/dist/chunks/{git-bj78ahtb.js → git-kvmx4gfp.js} +6 -6
- package/dist/chunks/{git-gkn9gevw.js → git-kwhhx56s.js} +12 -12
- package/dist/chunks/{git-nhhy2sd3.js → git-kxhqpggx.js} +19 -19
- package/dist/chunks/{git-vpsy2dmg.js → git-kzva7xr5.js} +24 -24
- package/dist/chunks/{git-wc036jqw.js → git-m3m5k6hy.js} +12 -12
- package/dist/chunks/{git-4krr2nde.js → git-m8zx2yvr.js} +1 -1
- package/dist/chunks/{git-8z6m94af.js → git-mb7mbhnz.js} +1 -1
- package/dist/chunks/{git-4hwr469f.js → git-mbk8h3wg.js} +7 -7
- package/dist/chunks/{git-pqyke20e.js → git-md69vhb1.js} +15 -15
- package/dist/chunks/{git-8cg9c955.js → git-mm27w63f.js} +7 -7
- package/dist/chunks/{git-bqa8ney4.js → git-mrpnjyvf.js} +7 -7
- package/dist/chunks/{git-8pezm2ch.js → git-nbkgmrnq.js} +8 -8
- package/dist/chunks/{git-4erkqbak.js → git-nf2d1zh5.js} +28 -28
- package/dist/chunks/{git-v9xnb7wg.js → git-nh2md1vs.js} +6 -6
- package/dist/chunks/{git-q98zat53.js → git-nteew1ty.js} +17 -17
- package/dist/chunks/{git-ecj07vsr.js → git-ntzzxe9p.js} +3 -3
- package/dist/chunks/{git-czwy3yzx.js → git-nyxvvj5y.js} +6 -6
- package/dist/chunks/{git-qxtarq3x.js → git-p0tjaf5p.js} +72 -72
- package/dist/chunks/{git-xkbbmxj3.js → git-p29q87c6.js} +8 -8
- package/dist/chunks/{git-nmgr0jfg.js → git-p7kjdt1b.js} +6 -6
- package/dist/chunks/{git-san51twj.js → git-p82q7yen.js} +18 -18
- package/dist/chunks/{git-6kkmdptb.js → git-p9605bcp.js} +8 -8
- package/dist/chunks/{git-z5sqz1zb.js → git-pavzvnye.js} +25 -25
- package/dist/chunks/{git-b0cfyxc9.js → git-pb9ydyhq.js} +25 -25
- package/dist/chunks/{git-y88xvhfg.js → git-pcyqp9fj.js} +19 -19
- package/dist/chunks/{git-6wmkrcd0.js → git-pekb3kta.js} +30 -30
- package/dist/chunks/{git-2g7023vw.js → git-pnvbew7m.js} +20 -20
- package/dist/chunks/{git-yj3dqh2s.js → git-pty4hktj.js} +18 -18
- package/dist/chunks/{git-1v2g13eq.js → git-pxrqm68d.js} +4 -4
- package/dist/chunks/{git-859r5hwh.js → git-q0yp49a8.js} +33 -33
- package/dist/chunks/{git-94g9nn05.js → git-q9z2tc81.js} +33 -33
- package/dist/chunks/{git-70jrmdyd.js → git-qax158c6.js} +4 -4
- package/dist/chunks/{git-mxz29pf6.js → git-qaytk5qx.js} +17 -17
- package/dist/chunks/{git-pgzkxqxx.js → git-qz8etm46.js} +2 -2
- package/dist/chunks/{git-fyhpthh4.js → git-r0jctb9s.js} +1 -1
- package/dist/chunks/{git-43tepy49.js → git-r169pjrs.js} +2 -2
- package/dist/chunks/{git-26yz0n4z.js → git-r4ra5fvg.js} +16 -16
- package/dist/chunks/{git-qkc4txyr.js → git-r6z5xtd7.js} +6 -6
- package/dist/chunks/{git-t62dywgn.js → git-r7zrbnjn.js} +3 -3
- package/dist/chunks/{git-gdqvcj7q.js → git-rfyfdpdh.js} +19 -19
- package/dist/chunks/{git-mr371stg.js → git-rk1rnymw.js} +10 -10
- package/dist/chunks/{git-18xfhrya.js → git-rsfbxv4d.js} +16 -16
- package/dist/chunks/{git-3k4vaw3h.js → git-rt18gyq5.js} +16 -16
- package/dist/chunks/{git-anvcme1c.js → git-rzg6y5rp.js} +3 -3
- package/dist/chunks/{git-vmxsyvj6.js → git-s26c8eb5.js} +3 -3
- package/dist/chunks/{git-8dp1pxha.js → git-s2t1sdmb.js} +11 -11
- package/dist/chunks/{git-tr70arys.js → git-s49mjxh7.js} +8 -8
- package/dist/chunks/{git-m683gbeq.js → git-s8xvt5rk.js} +5 -5
- package/dist/chunks/{git-z9j96w8z.js → git-scfsrjt6.js} +12 -12
- package/dist/chunks/{git-pcb441r4.js → git-sj3sd7dm.js} +8 -8
- package/dist/chunks/{git-shbascdy.js → git-sjj4ev8f.js} +13 -13
- package/dist/chunks/{git-j0p3wt22.js → git-sp3g7ra2.js} +7 -7
- package/dist/chunks/{git-0j7gp832.js → git-sqjzf8x2.js} +3 -3
- package/dist/chunks/{git-kzdam8c6.js → git-sx27c7qs.js} +3 -3
- package/dist/chunks/{git-zwrnq9k1.js → git-tcp6xf8t.js} +13 -13
- package/dist/chunks/{git-knwt2rnc.js → git-tn46mmh5.js} +1 -1
- package/dist/chunks/{git-6efgt9fr.js → git-tp0ex5xf.js} +20 -20
- package/dist/chunks/{git-0xvpbdhz.js → git-tq5mrxsw.js} +4 -4
- package/dist/chunks/{git-qsm149em.js → git-tqqy5sm4.js} +18 -18
- package/dist/chunks/{git-ny4jqg6h.js → git-tsz3kxr2.js} +12 -12
- package/dist/chunks/{git-w79nt68w.js → git-v0t96s7a.js} +3 -3
- package/dist/chunks/{git-26wfx3k0.js → git-v4bj6baw.js} +3 -3
- package/dist/chunks/{git-40km7fwj.js → git-v56pf686.js} +29 -29
- package/dist/chunks/{git-29avq3cp.js → git-v758rt9q.js} +7 -7
- package/dist/chunks/{git-97858afg.js → git-va4hdphv.js} +24 -24
- package/dist/chunks/{git-5d9f9s81.js → git-vevq54rd.js} +21 -21
- package/dist/chunks/{git-ne21ayb1.js → git-vgrhwy1q.js} +27 -27
- package/dist/chunks/{git-wt4esca3.js → git-vk5ee1tp.js} +15 -15
- package/dist/chunks/{git-qfz6bxfd.js → git-vmqe41cb.js} +3 -3
- package/dist/chunks/{git-yraf8ad8.js → git-vs8t80zk.js} +7 -7
- package/dist/chunks/{git-px7qpgcn.js → git-vt2d6wap.js} +3 -3
- package/dist/chunks/{git-3crhqrgy.js → git-vveecbvg.js} +10 -10
- package/dist/chunks/{git-sah8y7c0.js → git-w4vxjk9w.js} +45 -45
- package/dist/chunks/{git-wr3re1en.js → git-w687dnns.js} +3 -3
- package/dist/chunks/{git-nx4vzyjd.js → git-wegkxhrn.js} +1 -1
- package/dist/chunks/{git-srk7je24.js → git-wer643hq.js} +4 -4
- package/dist/chunks/{git-qa8wq1bx.js → git-wgz5mth4.js} +7 -7
- package/dist/chunks/{git-hz2mz9x2.js → git-wjxd5znf.js} +10 -10
- package/dist/chunks/{git-yx3b9wnq.js → git-wq7h4fzf.js} +13 -13
- package/dist/chunks/{git-rh17qn9g.js → git-ws6bkvx4.js} +11 -11
- package/dist/chunks/{git-c7cw818c.js → git-wt99tj4q.js} +3 -3
- package/dist/chunks/{git-vq1mwpzf.js → git-wtr4aekm.js} +18 -18
- package/dist/chunks/{git-spqq7br9.js → git-x2cyss11.js} +15 -15
- package/dist/chunks/{git-mnb0gnk7.js → git-x7p75687.js} +4 -4
- package/dist/chunks/{git-hmwwhwz5.js → git-x95n2smq.js} +17 -17
- package/dist/chunks/{git-3p2s76hn.js → git-x9aygtt9.js} +8 -8
- package/dist/chunks/{git-gm52mcbv.js → git-x9g5m248.js} +9 -9
- package/dist/chunks/{git-fhmv9g5t.js → git-xsskj9ss.js} +6 -6
- package/dist/chunks/{git-atj4teez.js → git-xtevw68n.js} +12 -12
- package/dist/chunks/{git-xjr6c8m4.js → git-xxschbft.js} +3 -3
- package/dist/chunks/{git-t48jrnqq.js → git-y1n277rb.js} +2 -2
- package/dist/chunks/{git-ctmpqb7w.js → git-y9x9m3cp.js} +7 -7
- package/dist/chunks/git-yczr3d9p.js +265 -0
- package/dist/chunks/{git-t64cy5gr.js → git-ye3hegqv.js} +87 -87
- package/dist/chunks/{git-s94p9e0n.js → git-yhwpy9x1.js} +151 -151
- package/dist/chunks/{git-81b37fex.js → git-yjs4xt5n.js} +9 -9
- package/dist/chunks/{git-a9j2s6ks.js → git-ykerj1ry.js} +31 -31
- package/dist/chunks/{git-pqfjz2pw.js → git-yxvhnmhq.js} +1 -1
- package/dist/chunks/{git-a3fn0gmm.js → git-z0c26qk4.js} +1 -1
- package/dist/chunks/{git-smvx4crh.js → git-znw5ah2c.js} +20 -20
- package/dist/chunks/{git-86bhhzhr.js → git-zpzp6d8n.js} +5 -5
- package/dist/chunks/{git-hw99hsx1.js → git-zx9gjdah.js} +14 -14
- package/dist/chunks/{git-j2a6e62b.js → git-zy7phst8.js} +7 -7
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +107 -107
- package/dist/codemode/instructions.js +10 -10
- package/dist/codemode/tool.js +114 -114
- package/dist/command.js +72 -72
- package/dist/config/discovery.js +67 -67
- package/dist/config/normalize.js +79 -79
- package/dist/config/plugin/agent.js +93 -93
- package/dist/config/plugin/command.js +190 -190
- package/dist/config/plugin/compaction.js +129 -129
- package/dist/config/plugin/compatibility.js +110 -110
- package/dist/config/plugin/formatter.js +92 -92
- package/dist/config/plugin/image.js +91 -91
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +93 -93
- package/dist/config/plugin/mcp.js +103 -103
- package/dist/config/plugin/policy.js +91 -91
- package/dist/config/plugin/provider.js +91 -91
- package/dist/config/plugin/reference.js +92 -92
- package/dist/config/plugin/shell.js +91 -91
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill.js +113 -113
- package/dist/config/plugin/snapshot.js +91 -91
- package/dist/config/plugin/source.js +94 -94
- package/dist/config/plugin/tool-output.js +91 -91
- package/dist/config/plugin/websearch.js +90 -90
- package/dist/config/plugin/worktree.js +92 -92
- package/dist/config.js +95 -95
- package/dist/console-access.js +7 -7
- package/dist/credential.js +70 -70
- package/dist/database/database.js +58 -58
- package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +6 -6
- package/dist/database/drizzle/index.js +8 -8
- package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
- package/dist/database/drizzle.js +8 -8
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +57 -57
- package/dist/database/v1-migration.bun.js +16 -16
- package/dist/effect/app-node-builder.js +281 -281
- package/dist/environment/environment.js +74 -74
- package/dist/environment/index.js +76 -76
- package/dist/environment/unavailable.js +3 -3
- package/dist/event-logger.js +9 -9
- package/dist/file-access.js +118 -118
- package/dist/file-mutation.js +76 -76
- package/dist/file-write.js +121 -121
- package/dist/filesystem/file-watch.js +14 -14
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +205 -205
- package/dist/filesystem/search.js +79 -79
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +84 -84
- package/dist/flag.js +91 -91
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +71 -71
- package/dist/generate.js +88 -88
- package/dist/git.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +80 -80
- package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
- package/dist/image/notice.js +3 -3
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +365 -365
- package/dist/instruction-discovery.js +71 -71
- package/dist/instructions/builtins.js +72 -72
- package/dist/instructions/index.js +3 -3
- package/dist/integration.js +66 -66
- package/dist/job/list.js +3 -3
- package/dist/job/recovery.js +2 -2
- package/dist/job.js +68 -68
- package/dist/kv.js +63 -63
- package/dist/location-activity.js +79 -79
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +71 -71
- package/dist/location-services.js +364 -364
- package/dist/location.js +72 -72
- package/dist/mcp/client.js +54 -54
- package/dist/mcp/connection.js +72 -72
- package/dist/mcp/index.js +84 -84
- package/dist/mcp/instructions.js +142 -142
- package/dist/mcp/oauth.js +13 -13
- package/dist/mcp/pool.js +78 -78
- package/dist/mcp/stdio.js +115 -115
- package/dist/modal/models.js +80 -80
- package/dist/model-resolver.js +79 -79
- package/dist/model.js +75 -75
- package/dist/models-dev.js +81 -81
- package/dist/permission/saved.js +72 -72
- package/dist/permission/sql.js +3 -3
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/index.js +69 -69
- package/dist/persistent-pty.js +61 -61
- package/dist/plugin/agent.js +65 -65
- package/dist/plugin/command.js +83 -83
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +196 -196
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +90 -90
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +108 -108
- package/dist/plugin/provider/amazon-bedrock.js +74 -74
- package/dist/plugin/provider/azure.js +95 -95
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/claude-agent/aisdk.js +83 -83
- package/dist/plugin/provider/claude-agent/claude/query-options.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/sessions.js +11 -11
- package/dist/plugin/provider/claude-agent/claude/status.js +6 -6
- package/dist/plugin/provider/claude-agent/index.js +105 -105
- package/dist/plugin/provider/claude-agent/instructions.js +79 -79
- package/dist/plugin/provider/claude-agent/integration.js +80 -80
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +5 -5
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +5 -5
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +77 -77
- package/dist/plugin/provider/claude-agent/session.js +80 -80
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +92 -92
- package/dist/plugin/provider/cloudflare-workers-ai.js +92 -92
- package/dist/plugin/provider/configured.js +88 -88
- package/dist/plugin/provider/credential-settings.js +63 -63
- package/dist/plugin/provider/digitalocean.js +76 -76
- package/dist/plugin/provider/github-copilot.js +78 -78
- package/dist/plugin/provider/gitlab.js +76 -76
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/llmgateway.js +63 -63
- package/dist/plugin/provider/lmstudio.js +98 -98
- package/dist/plugin/provider/local.js +95 -95
- package/dist/plugin/provider/modal.js +76 -76
- package/dist/plugin/provider/ollama.js +98 -98
- package/dist/plugin/provider/openai-context-caps.js +74 -74
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +116 -116
- package/dist/plugin/provider/openrouter.js +72 -72
- package/dist/plugin/provider/poe.js +63 -63
- package/dist/plugin/provider/refresh.js +62 -62
- package/dist/plugin/provider/sap-ai-core.js +71 -71
- package/dist/plugin/provider/snowflake-cortex.js +92 -92
- package/dist/plugin/provider/vllm.js +98 -98
- package/dist/plugin/provider/xai.js +72 -72
- package/dist/plugin/provider.js +183 -183
- package/dist/plugin/sdk.js +66 -66
- package/dist/plugin/skill.js +111 -111
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +5 -5
- package/dist/plugin/vcs/git.js +70 -70
- package/dist/plugin/vcs/hg.js +70 -70
- package/dist/plugin/verbosity.js +74 -74
- package/dist/plugin/warming.js +92 -92
- 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 +3 -3
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +199 -199
- package/dist/project/icon.js +3 -3
- package/dist/project/sql.js +2 -2
- package/dist/project.js +65 -65
- package/dist/provider.js +74 -74
- package/dist/pty.js +80 -80
- package/dist/reference/instructions.js +72 -72
- package/dist/reference.js +70 -70
- package/dist/repository-cache.js +66 -66
- package/dist/ripgrep.js +76 -76
- package/dist/rpc.js +71 -71
- package/dist/schedule/check.js +200 -200
- package/dist/schedule/sql.js +4 -4
- package/dist/schedule.js +206 -206
- package/dist/session/blob.js +92 -92
- package/dist/session/command.js +62 -62
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +159 -159
- package/dist/session/diff.js +71 -71
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +2 -2
- package/dist/session/execution/restart.js +131 -131
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +160 -160
- package/dist/session/history.js +98 -98
- package/dist/session/inbox.js +109 -109
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +69 -69
- package/dist/session/instruction-state.js +5 -5
- package/dist/session/instructions.js +103 -103
- package/dist/session/message-updater.js +3 -3
- package/dist/session/model-request.js +127 -127
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +128 -128
- package/dist/session/projector.js +104 -104
- package/dist/session/prompt.js +108 -108
- package/dist/session/revert.js +101 -101
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +208 -208
- package/dist/session/runner/model.js +80 -80
- package/dist/session/runner/publish-llm-event.js +112 -112
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +99 -99
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +139 -139
- package/dist/session/shell.js +101 -101
- package/dist/session/skill.js +108 -108
- package/dist/session/sql.js +3 -3
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +104 -104
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +185 -185
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +162 -162
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +122 -122
- package/dist/session.js +196 -196
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +2 -2
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +104 -104
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +111 -111
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +73 -73
- package/dist/tool/mcp.js +139 -139
- package/dist/tool/plugin/artifact.js +187 -187
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/glob.js +130 -130
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/image-generate.js +197 -197
- package/dist/tool/plugin/mcp-resource.js +125 -125
- package/dist/tool/plugin/opencode.js +122 -122
- package/dist/tool/plugin/patch.js +128 -128
- package/dist/tool/plugin/question.js +108 -108
- package/dist/tool/plugin/read.js +131 -131
- package/dist/tool/plugin/schedule.js +205 -205
- package/dist/tool/plugin/shell.js +192 -192
- package/dist/tool/plugin/skill.js +117 -117
- package/dist/tool/plugin/subagent.js +196 -196
- package/dist/tool/plugin/todo.js +114 -114
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +76 -76
- package/dist/tool/search.js +75 -75
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +122 -122
- package/dist/usage-limits.js +74 -74
- package/dist/v1/config/agent.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +72 -72
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/variant.js +72 -72
- package/dist/vcs.js +73 -73
- package/dist/voice.js +73 -73
- package/dist/websearch.js +71 -71
- package/dist/wellknown/plugin.js +64 -64
- package/dist/wellknown.js +65 -65
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +71 -71
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/sql.js +3 -3
- package/dist/worktree/strategies.js +72 -72
- package/dist/worktree.js +78 -78
- package/package.json +9 -9
- package/dist/chunks/git-bs1vm4fj.js +0 -26
- package/dist/chunks/git-vrtat2e8.js +0 -265
- /package/dist/chunks/{git-aj7mw0zk.js → git-034tev2y.js} +0 -0
- /package/dist/chunks/{git-ed9p54rh.js → git-0cty9tzn.js} +0 -0
- /package/dist/chunks/{git-gb4bpkf1.js → git-36qg6swj.js} +0 -0
- /package/dist/chunks/{git-qdh3dv6a.js → git-a96kghqz.js} +0 -0
- /package/dist/chunks/{git-s9193vtn.js → git-dfsy2zcm.js} +0 -0
- /package/dist/chunks/{git-7f3a4d73.js → git-nyjexfs1.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node95
|
|
4
|
-
} from "./git-
|
|
4
|
+
} from "./git-fjydg50v.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
} from "./git-n320gsn2.js";
|
|
12
12
|
import {
|
|
13
13
|
ID18,
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
Service85,
|
|
15
|
+
node89,
|
|
16
16
|
Event18
|
|
17
|
-
} from "./git-
|
|
17
|
+
} from "./git-9j9dggvf.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./git-
|
|
19
|
+
Service88,
|
|
20
|
+
node92
|
|
21
|
+
} from "./git-0x3y91hs.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./git-9rqn6x4v.js";
|
|
@@ -37,7 +37,7 @@ __export(exports_provider5, {
|
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider5,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service84,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider5, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node88,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -579,7 +579,7 @@ var Transport2 = Provider.Transport;
|
|
|
579
579
|
var Settings2 = Provider.Settings;
|
|
580
580
|
var Info25 = Provider.Info;
|
|
581
581
|
|
|
582
|
-
class
|
|
582
|
+
class Service84 extends Context.Service()("@opencode/Provider") {
|
|
583
583
|
}
|
|
584
584
|
var definitions = new WeakMap;
|
|
585
585
|
function index(providerID, models) {
|
|
@@ -592,10 +592,10 @@ function index(providerID, models) {
|
|
|
592
592
|
definitions.set(models, indexes);
|
|
593
593
|
return result;
|
|
594
594
|
}
|
|
595
|
-
var layer = Layer.effect(
|
|
595
|
+
var layer = Layer.effect(Service84, Effect2.gen(function* () {
|
|
596
596
|
const bus = yield* Service91;
|
|
597
|
-
const integrations = yield*
|
|
598
|
-
const location = yield*
|
|
597
|
+
const integrations = yield* Service85;
|
|
598
|
+
const location = yield* Service88;
|
|
599
599
|
const state = create4({
|
|
600
600
|
name: "provider",
|
|
601
601
|
initial: () => new Map,
|
|
@@ -714,7 +714,7 @@ var layer = Layer.effect(Service81, Effect2.gen(function* () {
|
|
|
714
714
|
});
|
|
715
715
|
});
|
|
716
716
|
yield* bus.subscribe([Event18.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
717
|
-
return
|
|
717
|
+
return Service84.of({
|
|
718
718
|
transform: state.transform,
|
|
719
719
|
reload: state.reload,
|
|
720
720
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -723,7 +723,7 @@ var layer = Layer.effect(Service81, Effect2.gen(function* () {
|
|
|
723
723
|
snapshot
|
|
724
724
|
});
|
|
725
725
|
}));
|
|
726
|
-
var
|
|
726
|
+
var node88 = makeLocationNode({ service: Service84, layer, deps: [node95, node89, node92] });
|
|
727
727
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
728
728
|
const module = yield* Effect2.tryPromise({
|
|
729
729
|
try: () => {
|
|
@@ -745,4 +745,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
745
745
|
return module;
|
|
746
746
|
});
|
|
747
747
|
|
|
748
|
-
export { rewrite2, native2, exports_aisdk_native, ID17, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info25,
|
|
748
|
+
export { rewrite2, native2, exports_aisdk_native, ID17, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info25, Service84, node88, exports_provider5, Event17 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./git-
|
|
2
|
+
make11
|
|
3
|
+
} from "./git-1xckstgy.js";
|
|
4
4
|
import {
|
|
5
5
|
HEADER2,
|
|
6
6
|
SESSION_HEADER2,
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
AGENT_OPTION2,
|
|
11
11
|
INSTRUCTIONS_OPTION2,
|
|
12
|
-
|
|
12
|
+
make14,
|
|
13
13
|
utility2
|
|
14
|
-
} from "./git-
|
|
14
|
+
} from "./git-vmqe41cb.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
17
|
} from "./git-9rqn6x4v.js";
|
|
@@ -56,8 +56,8 @@ class Model2 {
|
|
|
56
56
|
const sessionID = primary ? session : undefined;
|
|
57
57
|
const sourceID = primary ? headers[FORK_HEADER2] : branch ? session : undefined;
|
|
58
58
|
const offered = primary || branch ? tools : [];
|
|
59
|
-
const convert =
|
|
60
|
-
const system = primary || branch ?
|
|
59
|
+
const convert = make11(offered);
|
|
60
|
+
const system = primary || branch ? make14(agent, instructions) : utility2(options.prompt);
|
|
61
61
|
let cancelled = false;
|
|
62
62
|
let task;
|
|
63
63
|
const stream = new ReadableStream({
|
|
@@ -20,7 +20,7 @@ __export(exports_instructions7, {
|
|
|
20
20
|
hash: () => hash2,
|
|
21
21
|
join: () => join2,
|
|
22
22
|
listUpdate: () => listUpdate2,
|
|
23
|
-
make: () =>
|
|
23
|
+
make: () => make30,
|
|
24
24
|
read: () => read5,
|
|
25
25
|
removed: () => removed2,
|
|
26
26
|
renderInitial: () => renderInitial2,
|
|
@@ -52,7 +52,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
var empty3 = [];
|
|
55
|
-
function
|
|
55
|
+
function make30(source) {
|
|
56
56
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
57
57
|
const encode = Schema.encodeSync(source.codec);
|
|
58
58
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -213,4 +213,4 @@ function requireText(key, kind, text) {
|
|
|
213
213
|
return text;
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
216
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make30, combine2, read5, diff2, renderInitial2, join2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, listUpdate2, exports_instructions7 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node95
|
|
4
|
-
} from "./git-
|
|
4
|
+
} from "./git-fjydg50v.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create4
|
|
@@ -14,21 +14,21 @@ import {
|
|
|
14
14
|
var exports_command4 = {};
|
|
15
15
|
__export(exports_command4, {
|
|
16
16
|
Command: () => exports_command4,
|
|
17
|
-
Event: () =>
|
|
17
|
+
Event: () => Event7,
|
|
18
18
|
ExecutionError: () => ExecutionError2,
|
|
19
|
-
Info: () =>
|
|
20
|
-
NotFoundError: () =>
|
|
21
|
-
Service: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
Info: () => Info9,
|
|
20
|
+
NotFoundError: () => NotFoundError6,
|
|
21
|
+
Service: () => Service41,
|
|
22
|
+
layer: () => layer18,
|
|
23
|
+
node: () => node44
|
|
24
24
|
});
|
|
25
25
|
import { Command } from "@opencode/schema/command";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event7 } from "@opencode/schema/command";
|
|
29
|
+
var Info9 = Command.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
32
32
|
command: Schema.String,
|
|
33
33
|
message: Schema.String
|
|
34
34
|
}) {
|
|
@@ -40,11 +40,11 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service41 extends Context.Service()("@opencode/Command") {
|
|
44
44
|
}
|
|
45
|
-
var
|
|
45
|
+
var layer18 = Layer.effect(Service41, Effect.gen(function* () {
|
|
46
46
|
const bus = yield* Service91;
|
|
47
|
-
const info = (definition) =>
|
|
47
|
+
const info = (definition) => Info9.make({
|
|
48
48
|
name: definition.name,
|
|
49
49
|
description: definition.description
|
|
50
50
|
});
|
|
@@ -56,7 +56,7 @@ var layer17 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
56
56
|
}),
|
|
57
57
|
notify: changes2((commands) => Array.from(commands.values(), info), () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid))
|
|
58
58
|
});
|
|
59
|
-
return
|
|
59
|
+
return Service41.of({
|
|
60
60
|
reload: state.reload,
|
|
61
61
|
transform: state.transform,
|
|
62
62
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -67,14 +67,14 @@ var layer17 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
67
67
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
68
68
|
const definition = state.get().get(input.name);
|
|
69
69
|
if (!definition)
|
|
70
|
-
return yield* new
|
|
70
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
71
71
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
72
72
|
})
|
|
73
73
|
});
|
|
74
74
|
}));
|
|
75
|
-
var
|
|
76
|
-
service:
|
|
77
|
-
layer:
|
|
75
|
+
var node44 = makeLocationNode({
|
|
76
|
+
service: Service41,
|
|
77
|
+
layer: layer18,
|
|
78
78
|
deps: [node95]
|
|
79
79
|
});
|
|
80
80
|
function errorMessage(error) {
|
|
@@ -87,4 +87,4 @@ function errorMessage(error) {
|
|
|
87
87
|
return "Command execution failed";
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Info9, NotFoundError6, ExecutionError2, Service41, layer18, node44, exports_command4, Event7 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91
|
|
3
|
-
} from "./git-
|
|
3
|
+
} from "./git-fjydg50v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./git-
|
|
5
|
+
ID20,
|
|
6
|
+
Event20,
|
|
7
|
+
Service87
|
|
8
|
+
} from "./git-3zz32vjr.js";
|
|
9
9
|
import {
|
|
10
10
|
ID17
|
|
11
|
-
} from "./git-
|
|
11
|
+
} from "./git-r4ra5fvg.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./git-
|
|
14
|
+
} from "./git-aqsf8b5y.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
43
43
|
id: "opencode.provider.google.vertex",
|
|
44
44
|
effect: Effect.fn(function* (ctx) {
|
|
45
45
|
const fs = yield* FSUtil.Service;
|
|
46
|
-
const credentials = yield*
|
|
46
|
+
const credentials = yield* Service87;
|
|
47
47
|
const bus = yield* Service91;
|
|
48
48
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
49
49
|
return;
|
|
@@ -68,7 +68,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
68
68
|
]));
|
|
69
69
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active(ID17.googleVertex);
|
|
71
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
71
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID20.make(connection.id)) : undefined;
|
|
72
72
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
73
73
|
return {};
|
|
74
74
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -159,7 +159,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
});
|
|
162
|
-
yield* bus.subscribe([
|
|
162
|
+
yield* bus.subscribe([Event20.Updated, Event20.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
163
163
|
const next = yield* load();
|
|
164
164
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
165
165
|
return;
|
|
@@ -2,25 +2,25 @@ import {
|
|
|
2
2
|
AbsolutePath2
|
|
3
3
|
} from "./git-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./git-
|
|
5
|
+
Service79
|
|
6
|
+
} from "./git-g4sh17b8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Info7,
|
|
9
|
+
ID7,
|
|
10
10
|
Name2
|
|
11
|
-
} from "./git-
|
|
11
|
+
} from "./git-kxhqpggx.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
14
|
} from "./git-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin31,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -430,20 +430,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
430
|
var ReportContent2 = report_default;
|
|
431
431
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
432
432
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
433
|
-
var
|
|
433
|
+
var Plugin31 = define({
|
|
434
434
|
id: "opencode.skill",
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
439
|
-
id:
|
|
438
|
+
editor.add(Info7.make({
|
|
439
|
+
id: ID7.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
442
|
path: AbsolutePath2.make("skill://opencode/SKILL.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
|
-
editor.add(
|
|
446
|
-
id:
|
|
445
|
+
editor.add(Info7.make({
|
|
446
|
+
id: ID7.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
449
449
|
path: AbsolutePath2.make("skill://report/SKILL.md"),
|
|
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
472
|
`);
|
|
473
473
|
});
|
|
474
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service79;
|
|
476
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
477
|
});
|
|
478
478
|
function terminal() {
|
|
@@ -486,4 +486,4 @@ function shell() {
|
|
|
486
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin31, exports_skill2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make30,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./git-
|
|
6
|
+
} from "./git-r7zrbnjn.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
} from "./git-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
22
|
-
update: () =>
|
|
17
|
+
var exports_instructions4 = {};
|
|
18
|
+
__export(exports_instructions4, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions4,
|
|
20
|
+
make: () => make23,
|
|
21
|
+
render: () => render2,
|
|
22
|
+
update: () => update2
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Before calling a tool that is not list
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Code Mode tools (call only inside \`execute\`)`;
|
|
35
|
-
function
|
|
35
|
+
function render2(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -43,10 +43,10 @@ function render3(catalog) {
|
|
|
43
43
|
${tools.join(`
|
|
44
44
|
`)}`;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function update2(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render2(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -111,18 +111,18 @@ ${render3(current)}`;
|
|
|
111
111
|
}
|
|
112
112
|
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make23 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make30({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
122
|
-
changed:
|
|
121
|
+
initial: render2,
|
|
122
|
+
changed: update2,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render2, update2, make23, exports_instructions4 };
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
var exports_claude_agent_error = {};
|
|
7
7
|
__export(exports_claude_agent_error, {
|
|
8
8
|
ClaudeAgentError: () => exports_claude_agent_error,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make13
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
function make13() {
|
|
12
12
|
let code;
|
|
13
13
|
let rejected;
|
|
14
14
|
return (message) => {
|
|
@@ -40,4 +40,4 @@ function make8() {
|
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make13, exports_claude_agent_error };
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
ToolHooks: () => exports_hooks,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
function make16(pending) {
|
|
12
12
|
const before = async (input) => {
|
|
13
13
|
if (input.hook_event_name === "PreToolUse")
|
|
14
14
|
pending.before(input.tool_use_id, input.tool_name);
|
|
@@ -28,4 +28,4 @@ function make11(pending) {
|
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make16, exports_hooks };
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
RelativePath2
|
|
5
5
|
} from "./git-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./git-
|
|
7
|
+
Service77,
|
|
8
|
+
node80
|
|
9
|
+
} from "./git-qaytk5qx.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
12
|
} from "./git-tbpn7jtk.js";
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service76,
|
|
24
|
+
node: () => node79
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -59,13 +59,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
59
59
|
}) {
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
class
|
|
62
|
+
class Service76 extends Context.Service()("@opencode/Ripgrep") {
|
|
63
63
|
}
|
|
64
64
|
var failure = (message, cause) => new Error4({ message, cause });
|
|
65
65
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
66
66
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
67
|
-
var layer = Layer.effect(
|
|
68
|
-
const environment = yield*
|
|
67
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
68
|
+
const environment = yield* Service77;
|
|
69
69
|
const binary = yield* RipgrepBinary2.Service;
|
|
70
70
|
const run = (input) => {
|
|
71
71
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -93,7 +93,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
93
93
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
94
94
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
95
95
|
};
|
|
96
|
-
return
|
|
96
|
+
return Service76.of({
|
|
97
97
|
glob: (input) => run({
|
|
98
98
|
cwd: input.cwd,
|
|
99
99
|
limit: input.limit,
|
|
@@ -179,6 +179,6 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
179
179
|
}))))
|
|
180
180
|
});
|
|
181
181
|
}));
|
|
182
|
-
var
|
|
182
|
+
var node79 = makeLocationNode({ service: Service76, layer, deps: [node80, RipgrepBinary2.node] });
|
|
183
183
|
|
|
184
|
-
export { Error4, InvalidPatternError2,
|
|
184
|
+
export { Error4, InvalidPatternError2, Service76, node79, exports_ripgrep };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2
|
|
3
|
-
} from "./git-
|
|
3
|
+
} from "./git-60tvtmqn.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./git-
|
|
6
|
+
Service79
|
|
7
|
+
} from "./git-g4sh17b8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
10
|
} from "./git-9rqn6x4v.js";
|
|
@@ -16,7 +16,7 @@ __export(exports_flag, {
|
|
|
16
16
|
Overrides: () => Overrides2,
|
|
17
17
|
all: () => all2,
|
|
18
18
|
enabled: () => enabled3,
|
|
19
|
-
resolve: () =>
|
|
19
|
+
resolve: () => resolve3,
|
|
20
20
|
resolver: () => resolver2
|
|
21
21
|
});
|
|
22
22
|
import { Context, Effect, Option, Record } from "effect";
|
|
@@ -25,7 +25,7 @@ var Overrides2 = Context.Reference("@opencode/Flag/Overrides", {
|
|
|
25
25
|
defaultValue: () => process.env.OPENCODE_FLAGS
|
|
26
26
|
});
|
|
27
27
|
var onByDefault = (channel) => channel === "local" || channel === "dev";
|
|
28
|
-
function
|
|
28
|
+
function resolve3(input) {
|
|
29
29
|
const env = new Map((input.overrides ?? "").split(",").map((item) => item.trim()).filter(Boolean).map((item) => item.startsWith("-") ? [item.slice(1), false] : [item, true]));
|
|
30
30
|
const all = env.get(ConfigFlag.wildcard) === true;
|
|
31
31
|
const experimental = latest2(input.entries, "experimental");
|
|
@@ -40,14 +40,14 @@ function resolve4(input) {
|
|
|
40
40
|
var resolver2 = Effect.gen(function* () {
|
|
41
41
|
const app = yield* Metadata2;
|
|
42
42
|
const overrides = yield* Overrides2;
|
|
43
|
-
return (entries) =>
|
|
43
|
+
return (entries) => resolve3({ entries, channel: app.channel, overrides });
|
|
44
44
|
});
|
|
45
45
|
var all2 = Effect.gen(function* () {
|
|
46
|
-
const config = yield* Effect.serviceOption(
|
|
46
|
+
const config = yield* Effect.serviceOption(Service79);
|
|
47
47
|
const entries = Option.isSome(config) ? yield* config.value.entries() : [];
|
|
48
48
|
const read = yield* resolver2;
|
|
49
49
|
return read(entries);
|
|
50
50
|
});
|
|
51
51
|
var enabled3 = (key) => all2.pipe(Effect.map((flags) => flags[key].enabled));
|
|
52
52
|
|
|
53
|
-
export { Overrides2,
|
|
53
|
+
export { Overrides2, resolve3, resolver2, all2, enabled3, exports_flag };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./git-
|
|
4
|
+
} from "./git-7ke2z32d.js";
|
|
5
5
|
import {
|
|
6
6
|
AuthorizationError2
|
|
7
|
-
} from "./git-
|
|
7
|
+
} from "./git-9j9dggvf.js";
|
|
8
8
|
import {
|
|
9
9
|
CorrectedError2,
|
|
10
10
|
BlockedError2
|
|
11
|
-
} from "./git-
|
|
11
|
+
} from "./git-h9jz8k2w.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,14 +16,14 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./git-
|
|
19
|
+
} from "./git-ew421enx.js";
|
|
20
20
|
import {
|
|
21
21
|
isUnreachable2
|
|
22
22
|
} from "./git-2fc7eemy.js";
|
|
23
23
|
import {
|
|
24
24
|
ModelNotSelectedError2,
|
|
25
25
|
ModelUnavailableError2
|
|
26
|
-
} from "./git-
|
|
26
|
+
} from "./git-83shbj64.js";
|
|
27
27
|
|
|
28
28
|
// src/session/to-session-error.ts
|
|
29
29
|
import { AIError, ToolFailure } from "@opencode/ai/effect";
|