@opencode/core 2.0.30 → 2.0.32
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 +67 -67
- package/dist/aisdk-native.js +66 -66
- package/dist/aisdk.js +71 -71
- package/dist/app.js +9 -9
- package/dist/bus.js +58 -58
- package/dist/chunks/{instance-pv8bk7wt.js → instance-00hj6bjn.js} +33 -33
- package/dist/chunks/{instance-t550f9t1.js → instance-02nrjc1r.js} +7 -7
- package/dist/chunks/{instance-9vk391re.js → instance-0aedf7nq.js} +25 -25
- package/dist/chunks/instance-0e3j8fc0.js +257 -0
- package/dist/chunks/{instance-24jcxqcv.js → instance-0f5g2b67.js} +46 -46
- package/dist/chunks/{instance-ag1vmkq5.js → instance-0fhevdjt.js} +3 -3
- package/dist/chunks/{instance-vwh8akjg.js → instance-0x6zefqk.js} +4 -4
- package/dist/chunks/{instance-drnf6xwf.js → instance-127b9nq3.js} +1 -1
- package/dist/chunks/{instance-bwsrjyzy.js → instance-14q6b86s.js} +15 -15
- package/dist/chunks/{instance-9tgftdjr.js → instance-1e477vzc.js} +7 -7
- package/dist/chunks/{instance-7khw7vys.js → instance-1kn978n9.js} +43 -43
- package/dist/chunks/{instance-fxaymqdw.js → instance-1w2wqhfv.js} +3 -3
- package/dist/chunks/{instance-nz4k6rdb.js → instance-2j1fd8ns.js} +21 -21
- package/dist/chunks/{instance-7dqw4kz8.js → instance-2k8khapm.js} +4 -4
- package/dist/chunks/{instance-dhmh7aw6.js → instance-2vs2nh1n.js} +3 -3
- package/dist/chunks/{instance-krpr0985.js → instance-2wamsapc.js} +36 -26
- package/dist/chunks/{instance-e4ph37mk.js → instance-2ysm8pgm.js} +75 -53
- package/dist/chunks/{instance-j5j6nemg.js → instance-3mksxvab.js} +3 -3
- package/dist/chunks/{instance-efsrwh4r.js → instance-3x6psag0.js} +18 -18
- package/dist/chunks/{instance-n8vdnqrc.js → instance-47jkzegy.js} +3 -3
- package/dist/chunks/{instance-g92sbvmr.js → instance-4hxt5e23.js} +16 -16
- package/dist/chunks/{instance-4z58m4b4.js → instance-4j4tgtq5.js} +3 -3
- package/dist/chunks/{instance-7m78zzez.js → instance-4p9mf0mj.js} +8 -8
- package/dist/chunks/{instance-ve4f4wdb.js → instance-4q4vnebt.js} +6 -6
- package/dist/chunks/{instance-f0ftzx98.js → instance-4y7j986s.js} +7 -7
- package/dist/chunks/{instance-5gx9hkbw.js → instance-50a72dh7.js} +4 -4
- package/dist/chunks/{instance-eyhnzkb4.js → instance-52w29975.js} +3 -3
- package/dist/chunks/{instance-whdm53sh.js → instance-5408hnnb.js} +25 -25
- package/dist/chunks/{instance-r94pvvab.js → instance-54ma36ye.js} +3 -3
- package/dist/chunks/{instance-e3qxr5gk.js → instance-5qd3pb7m.js} +2 -2
- package/dist/chunks/{instance-kjh956ek.js → instance-5saajy9t.js} +9 -9
- package/dist/chunks/{instance-ew85sj6a.js → instance-5zbw8dq9.js} +19 -19
- package/dist/chunks/{instance-s0eg5ze8.js → instance-6btvgc07.js} +12 -12
- package/dist/chunks/{instance-9y7wfsj2.js → instance-6h1sgzxr.js} +30 -30
- package/dist/chunks/instance-6hkj46ta.js +26 -0
- package/dist/chunks/{instance-py3c7vzz.js → instance-6njkejes.js} +29 -29
- package/dist/chunks/{instance-n2456yrq.js → instance-6pn2td3v.js} +15 -15
- package/dist/chunks/{instance-eckn7hvg.js → instance-6tnrngrh.js} +7 -7
- package/dist/chunks/{instance-sst9p08r.js → instance-6vzwhms5.js} +33 -33
- package/dist/chunks/{instance-fx5e31t2.js → instance-71svxegq.js} +72 -72
- package/dist/chunks/{instance-r8zgbxzs.js → instance-74syfsk2.js} +9 -9
- package/dist/chunks/{instance-646vn7sd.js → instance-76an7qnj.js} +16 -16
- package/dist/chunks/{instance-ajnf4kf4.js → instance-79aanr6n.js} +20 -20
- package/dist/chunks/{instance-kwnyzz7d.js → instance-7c25kt5f.js} +9 -9
- package/dist/chunks/{instance-aw3nxxyh.js → instance-7kf7gnm7.js} +12 -12
- package/dist/chunks/{instance-vmvrq3v0.js → instance-7q6nqg1g.js} +7 -7
- package/dist/chunks/{instance-h969w5wg.js → instance-84caq58q.js} +12 -12
- package/dist/chunks/{instance-tcezcvh9.js → instance-89znhe33.js} +3 -3
- package/dist/chunks/{instance-8aap4tw6.js → instance-8dc76097.js} +26 -26
- package/dist/chunks/{instance-eyngvhkr.js → instance-8dp3pqp7.js} +5 -5
- package/dist/chunks/{instance-z4zqze96.js → instance-8j7djd22.js} +19 -19
- package/dist/chunks/{instance-njsm5atp.js → instance-8mprknbj.js} +32 -32
- package/dist/chunks/{instance-qk1jtr9h.js → instance-8q7cp091.js} +14 -14
- package/dist/chunks/{instance-dpctj94h.js → instance-8x4cb7ds.js} +20 -20
- package/dist/chunks/{instance-8dsgf78a.js → instance-94t3kz80.js} +21 -21
- package/dist/chunks/{instance-084aw373.js → instance-99kqc9z2.js} +1 -1
- package/dist/chunks/{instance-xe0aze4b.js → instance-9ar4pza7.js} +17 -17
- package/dist/chunks/{instance-387g8trv.js → instance-9b8s04gb.js} +17 -17
- package/dist/chunks/{instance-3t3ppxhb.js → instance-9jgxs1bn.js} +10 -10
- package/dist/chunks/{instance-89za3yyg.js → instance-9k44apjz.js} +4 -4
- package/dist/chunks/{instance-128xx7kp.js → instance-9mg0ha5m.js} +4 -4
- package/dist/chunks/{instance-ybw1dpzx.js → instance-9nypp77e.js} +12 -12
- package/dist/chunks/{instance-v3chy9qq.js → instance-9rd468vk.js} +31 -31
- package/dist/chunks/{instance-c1zyyjeb.js → instance-9s4s5645.js} +13 -13
- package/dist/chunks/{instance-4tp750a6.js → instance-9y6nqyzn.js} +5 -5
- package/dist/chunks/{instance-rscer41a.js → instance-a0r8rfmp.js} +7 -7
- package/dist/chunks/{instance-xjg9p4ge.js → instance-a2gdg3s5.js} +36 -36
- package/dist/chunks/{instance-gs0zmrt4.js → instance-a2pz59r9.js} +37 -37
- package/dist/chunks/{instance-sr5j7zs6.js → instance-a450qmf9.js} +8 -8
- package/dist/chunks/{instance-svgb3jrm.js → instance-a7p9m6vg.js} +20 -20
- package/dist/chunks/{instance-nve97s1q.js → instance-agt7xfc2.js} +19 -19
- package/dist/chunks/{instance-1azxtnvn.js → instance-asvc535p.js} +9 -9
- package/dist/chunks/{instance-c2zdvb4p.js → instance-azaahc9x.js} +17 -17
- package/dist/chunks/{instance-v73z6nkx.js → instance-b4gsa26k.js} +17 -17
- package/dist/chunks/{instance-wqvmb1h2.js → instance-b7n2911q.js} +27 -27
- package/dist/chunks/{instance-g1ntr7f2.js → instance-ba4zj86y.js} +24 -24
- package/dist/chunks/{instance-pkxbvvp1.js → instance-bcmzxatv.js} +4 -4
- package/dist/chunks/{instance-h1xayf8s.js → instance-bcrfy1e8.js} +10 -10
- package/dist/chunks/{instance-z733aene.js → instance-be7qvw84.js} +7 -7
- package/dist/chunks/{instance-vtqafnzr.js → instance-bg9pb3hs.js} +9 -9
- package/dist/chunks/{instance-e3658yqs.js → instance-bwe2bky2.js} +3 -3
- package/dist/chunks/{instance-6y11rvqm.js → instance-c01nkdt4.js} +14 -14
- package/dist/chunks/{instance-9f6w07v2.js → instance-c0jw7tng.js} +13 -13
- package/dist/chunks/{instance-erxpr3ta.js → instance-c4f3nvjn.js} +16 -16
- package/dist/chunks/{instance-0b5g1ynf.js → instance-c9wbyant.js} +1 -1
- package/dist/chunks/{instance-hkh1jdqf.js → instance-ckerv63d.js} +1 -1
- package/dist/chunks/{instance-zp59tdhe.js → instance-cqpz2z25.js} +20 -20
- package/dist/chunks/{instance-gzc7yqgf.js → instance-d4n7pc7j.js} +11 -11
- package/dist/chunks/{instance-m2je0bek.js → instance-dw46b8bx.js} +14 -14
- package/dist/chunks/{instance-r0d06n1c.js → instance-dy6575tn.js} +17 -17
- package/dist/chunks/{instance-5ha5er23.js → instance-e5wkangg.js} +44 -44
- package/dist/chunks/{instance-f4vpr7ft.js → instance-eb2yw134.js} +19 -19
- package/dist/chunks/{instance-w93dz47x.js → instance-ec8g0tcf.js} +42 -41
- package/dist/chunks/{instance-bh593mvy.js → instance-echrm7fx.js} +16 -10
- package/dist/chunks/{instance-x8fc36mw.js → instance-edhgwctf.js} +4 -4
- package/dist/chunks/{instance-3gn2397m.js → instance-egzk2yjk.js} +85 -85
- package/dist/chunks/{instance-w48fp5bf.js → instance-em3k6scw.js} +8 -8
- package/dist/chunks/{instance-7zjtannr.js → instance-enbw0gbw.js} +39 -39
- package/dist/chunks/{instance-y7e6sser.js → instance-f4mxpp6t.js} +61 -61
- package/dist/chunks/{instance-xmvkzca6.js → instance-f60ec8ph.js} +11 -11
- package/dist/chunks/{instance-eez13zz9.js → instance-fjz5gha3.js} +85 -85
- package/dist/chunks/{instance-20q3sypg.js → instance-ft79q47f.js} +4 -4
- package/dist/chunks/{instance-xtv1bm8z.js → instance-fww2ha2b.js} +8 -8
- package/dist/chunks/{instance-b3zzy7tw.js → instance-fxp0jy99.js} +36 -36
- package/dist/chunks/{instance-0mp499ze.js → instance-g2wa2e5b.js} +31 -14
- package/dist/chunks/{instance-rey5gbxv.js → instance-g6q9qykm.js} +7 -7
- package/dist/chunks/{instance-1mgrvebq.js → instance-g6vxq4t7.js} +12 -12
- package/dist/chunks/{instance-dfb3ggbz.js → instance-g95hkc6v.js} +35 -35
- package/dist/chunks/{instance-74rqx77g.js → instance-gea60fq5.js} +23 -23
- package/dist/chunks/{instance-3y377wv9.js → instance-gqtdsdt7.js} +3 -3
- package/dist/chunks/{instance-59zy69mk.js → instance-gvm6138t.js} +1 -1
- package/dist/chunks/{instance-7vr1nntc.js → instance-gxvgt8t9.js} +12 -12
- package/dist/chunks/{instance-652w1b7r.js → instance-h14remhy.js} +24 -24
- package/dist/chunks/{instance-ktqq3893.js → instance-h82zpv65.js} +8 -8
- package/dist/chunks/{instance-73wr0wn5.js → instance-h8wg6m6b.js} +8 -8
- package/dist/chunks/{instance-vz3edhsq.js → instance-hdb1y56n.js} +43 -43
- package/dist/chunks/{instance-hhbh25th.js → instance-hrtybn11.js} +3 -3
- package/dist/chunks/{instance-yxpkbsn2.js → instance-hy029169.js} +45 -45
- package/dist/chunks/{instance-5211rpnm.js → instance-hz56gd46.js} +14 -14
- package/dist/chunks/{instance-yccdg3qs.js → instance-hzzj1pg2.js} +22 -22
- package/dist/chunks/{instance-57gtfk2n.js → instance-j3ftvw7y.js} +1 -1
- package/dist/chunks/{instance-49r3emx4.js → instance-j4d2njm3.js} +11 -11
- package/dist/chunks/{instance-3stxt38w.js → instance-j5s48rss.js} +9 -9
- package/dist/chunks/{instance-8srf40xe.js → instance-jez41mts.js} +24 -24
- package/dist/chunks/{instance-nxf3zzt8.js → instance-jhx7q1qc.js} +16 -16
- package/dist/chunks/{instance-10ya1n95.js → instance-jxa04fe5.js} +10 -10
- package/dist/chunks/{instance-qvtb430p.js → instance-jxa15a22.js} +21 -21
- package/dist/chunks/{instance-gxf5jgrz.js → instance-k3e33c9f.js} +10 -10
- package/dist/chunks/{instance-pqm9awga.js → instance-k74v33jx.js} +22 -22
- package/dist/chunks/{instance-kj46zcys.js → instance-karq4mt3.js} +22 -22
- package/dist/chunks/{instance-p0qk8z8k.js → instance-kjpxk16h.js} +18 -18
- package/dist/chunks/{instance-h55420by.js → instance-kjzbdttd.js} +2 -2
- package/dist/chunks/{instance-1wwhh6tg.js → instance-kp7zea7r.js} +32 -32
- package/dist/chunks/{instance-7y33ce21.js → instance-ksbyxnj1.js} +20 -20
- package/dist/chunks/{instance-6g107h22.js → instance-kwb1v3vj.js} +19 -15
- package/dist/chunks/{instance-16rkhh34.js → instance-m7f5ga5x.js} +8 -8
- package/dist/chunks/{instance-k2wyjrxv.js → instance-m82ef0kx.js} +2 -2
- package/dist/chunks/{instance-ga72xv16.js → instance-m8p0bf8a.js} +1 -1
- package/dist/chunks/{instance-2bthg6ps.js → instance-mee8ct06.js} +1 -1
- package/dist/chunks/{instance-4ra0jzgx.js → instance-mn1n5f3s.js} +60 -13
- package/dist/chunks/{instance-my4zabxr.js → instance-mtpeagzc.js} +3 -3
- package/dist/chunks/{instance-zyqwfmwv.js → instance-n240m50y.js} +18 -18
- package/dist/chunks/{instance-7efvswca.js → instance-n7jnsjte.js} +25 -25
- package/dist/chunks/{instance-kehp7em2.js → instance-n86j2s3s.js} +6 -6
- package/dist/chunks/{instance-e914qee0.js → instance-n886b0hh.js} +13 -13
- package/dist/chunks/{instance-y1fe2wt7.js → instance-nbm6td7p.js} +9 -5
- package/dist/chunks/{instance-ts0yefbj.js → instance-nfnvba5x.js} +12 -12
- package/dist/chunks/{instance-y0ks4s6t.js → instance-ngdgjn5a.js} +13 -13
- package/dist/chunks/{instance-81fjg4yx.js → instance-nj7hqrdc.js} +14 -9
- package/dist/chunks/{instance-1vezjraj.js → instance-nnq6jpzr.js} +10 -10
- package/dist/chunks/{instance-93pem10m.js → instance-npg16c9q.js} +31 -31
- package/dist/chunks/{instance-6g0jnfpe.js → instance-nsdb0f42.js} +9 -9
- package/dist/chunks/{instance-vvgk372g.js → instance-p6p9qpe8.js} +47 -33
- package/dist/chunks/{instance-gvx299k3.js → instance-pbh24ypk.js} +6 -6
- package/dist/chunks/{instance-9kb2pehy.js → instance-pbjcynf2.js} +9 -9
- package/dist/chunks/{instance-whajmtxv.js → instance-prvmgnqy.js} +5 -5
- package/dist/chunks/{instance-fd3cesbe.js → instance-pwjs67dv.js} +6 -6
- package/dist/chunks/{instance-cxpwe6s4.js → instance-pwws2hp2.js} +11 -11
- package/dist/chunks/{instance-bvg8t9y0.js → instance-q3krtzxs.js} +20 -20
- package/dist/chunks/{instance-xtrd0rcy.js → instance-q97qe3v1.js} +20 -20
- package/dist/chunks/{instance-dgmj5nq6.js → instance-qxbyfn4m.js} +21 -21
- package/dist/chunks/{instance-9s02qxdw.js → instance-qzfs27nc.js} +18 -18
- package/dist/chunks/{instance-7v30ghwx.js → instance-r1d9yajz.js} +43 -43
- package/dist/chunks/{instance-w1vdttf2.js → instance-r730fk4b.js} +20 -20
- package/dist/chunks/{instance-4v7qdvcn.js → instance-rap9a73h.js} +4 -4
- package/dist/chunks/{instance-drvctdx3.js → instance-rq74kqrf.js} +7 -7
- package/dist/chunks/{instance-1jnacwd4.js → instance-rr384mgp.js} +11 -11
- package/dist/chunks/{instance-fm2qvscf.js → instance-ryr25ayn.js} +3 -3
- package/dist/chunks/{instance-e9t82wt6.js → instance-s1kmd63q.js} +9 -9
- package/dist/chunks/{instance-pkrkjz2y.js → instance-s1xtywav.js} +10 -10
- package/dist/chunks/{instance-ae24bvb0.js → instance-s3v8c45g.js} +29 -29
- package/dist/chunks/{instance-kmvkq3az.js → instance-s4bj6v34.js} +9 -9
- package/dist/chunks/{instance-01hxeeh0.js → instance-s5jrf6ry.js} +9 -9
- package/dist/chunks/{instance-rcxh9wm8.js → instance-s7ecmt2f.js} +27 -18
- package/dist/chunks/{instance-w919w76e.js → instance-s9w6dcwz.js} +7 -7
- package/dist/chunks/{instance-6hzf4208.js → instance-saq4k3ef.js} +32 -32
- package/dist/chunks/{instance-hfbp3x8a.js → instance-snpj5a6q.js} +13 -13
- package/dist/chunks/{instance-26g27jq4.js → instance-spnt6386.js} +30 -30
- package/dist/chunks/{instance-e80seqcp.js → instance-sxcaecc0.js} +2 -2
- package/dist/chunks/{instance-c8bydgjz.js → instance-sxzvkvgj.js} +5 -5
- package/dist/chunks/{instance-rkg4v3e5.js → instance-sz15zhhw.js} +8 -8
- package/dist/chunks/{instance-agyyzp1p.js → instance-sz70a389.js} +9 -9
- package/dist/chunks/{instance-ysgxa1w9.js → instance-t5d9whg0.js} +49 -49
- package/dist/chunks/{instance-82rf0sny.js → instance-tdjzh3mn.js} +12 -12
- package/dist/chunks/{instance-bacyadyn.js → instance-tfzngn12.js} +3 -3
- package/dist/chunks/{instance-svwmrgfz.js → instance-tx5jepxr.js} +49 -49
- package/dist/chunks/{instance-4434d9q2.js → instance-v0es1rhs.js} +7 -7
- package/dist/chunks/{instance-egqmz7mr.js → instance-v4640cdb.js} +329 -329
- package/dist/chunks/{instance-9413mpzz.js → instance-v5qm4ejs.js} +35 -35
- package/dist/chunks/instance-v742aeg8.js +66 -0
- package/dist/chunks/{instance-4jr7zcc0.js → instance-vcnzat6y.js} +28 -28
- package/dist/chunks/{instance-9d9vbnr3.js → instance-vd5a229f.js} +20 -20
- package/dist/chunks/{instance-rk7s9xkn.js → instance-vfjhn2wd.js} +3 -3
- package/dist/chunks/{instance-32g268rd.js → instance-vqtt4fqa.js} +11 -11
- package/dist/chunks/{instance-97233r0r.js → instance-vz3ca5nz.js} +1 -1
- package/dist/chunks/{instance-r56f0ccq.js → instance-wdgmgtm0.js} +10 -10
- package/dist/chunks/{instance-t64r4gaf.js → instance-wfmvav8k.js} +7 -7
- package/dist/chunks/{instance-tk14y25j.js → instance-wh6zw745.js} +3 -3
- package/dist/chunks/{instance-ywt8jp22.js → instance-wjr9rjd7.js} +4 -4
- package/dist/chunks/{instance-qr7wvshd.js → instance-wjsh9s1s.js} +32 -32
- package/dist/chunks/{instance-d454q9jw.js → instance-wmhjcbrh.js} +22 -22
- package/dist/chunks/{instance-rb1chcf1.js → instance-wndqf9wb.js} +9 -9
- package/dist/chunks/{instance-hnpn8713.js → instance-x20m8gm2.js} +27 -27
- package/dist/chunks/{instance-4eb7yy46.js → instance-xjvxx86v.js} +1 -1
- package/dist/chunks/{instance-d5fs7d09.js → instance-xn7k1yjr.js} +27 -27
- package/dist/chunks/{instance-aj8kt33w.js → instance-xnn7a7ef.js} +12 -12
- package/dist/chunks/{instance-gd0tnyjc.js → instance-xt4njr3s.js} +1 -1
- package/dist/chunks/{instance-qve4m158.js → instance-xvr6z0ms.js} +16 -16
- package/dist/chunks/{instance-89fs7e8f.js → instance-xzyvagpz.js} +28 -28
- package/dist/chunks/{instance-3rbmmj0g.js → instance-y0r048qb.js} +185 -185
- package/dist/chunks/{instance-xrpg47n6.js → instance-y56ehv6b.js} +7 -7
- package/dist/chunks/{instance-g686f6pq.js → instance-y7nndgyc.js} +7 -7
- package/dist/chunks/{instance-x287n01n.js → instance-ydjrys25.js} +11 -11
- package/dist/chunks/{instance-n9c20jj2.js → instance-ye119z04.js} +52 -52
- package/dist/chunks/{instance-1acjjqhc.js → instance-yp2x3t23.js} +3 -3
- package/dist/chunks/{instance-kkamx07x.js → instance-ypc4xgvm.js} +16 -16
- package/dist/chunks/{instance-q4cy6t51.js → instance-ypne3kk7.js} +18 -18
- package/dist/chunks/{instance-gbtx73hb.js → instance-yw8t9dwe.js} +7 -7
- package/dist/chunks/{instance-zfq801h6.js → instance-yx0rmv9r.js} +5 -5
- package/dist/chunks/{instance-5xaqq0zy.js → instance-z8epvsg6.js} +4 -4
- package/dist/chunks/{instance-zq4fxkvp.js → instance-zdhmwdxf.js} +22 -22
- package/dist/chunks/{instance-9q36pw28.js → instance-zr0n9bt7.js} +1 -1
- package/dist/chunks/{instance-qq3sn5ka.js → instance-zy2kjt51.js} +43 -43
- package/dist/chunks/{instance-scgrse2b.js → instance-zyk1yjk8.js} +3 -3
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +63 -63
- package/dist/config/discovery.js +61 -61
- package/dist/config/normalize.js +75 -75
- package/dist/config/plugin/agent.js +87 -89
- package/dist/config/plugin/command.js +166 -168
- package/dist/config/plugin/compaction.js +121 -123
- package/dist/config/plugin/compatibility.js +104 -106
- package/dist/config/plugin/formatter.js +88 -90
- package/dist/config/plugin/image.js +87 -89
- package/dist/config/plugin/instruction.js +88 -90
- package/dist/config/plugin/location-watcher.js +87 -89
- package/dist/config/plugin/mcp.js +93 -95
- package/dist/config/plugin/policy.js +88 -90
- package/dist/config/plugin/provider.js +87 -89
- package/dist/config/plugin/reference.js +88 -90
- package/dist/config/plugin/shell.js +87 -89
- package/dist/config/plugin/skill-file.js +74 -74
- package/dist/config/plugin/skill.js +105 -107
- package/dist/config/plugin/snapshot.js +87 -89
- package/dist/config/plugin/source.js +90 -92
- package/dist/config/plugin/tool-output.js +88 -90
- package/dist/config/plugin/websearch.js +86 -88
- package/dist/config/plugin/worktree.js +88 -90
- package/dist/config/variable.js +1 -3
- package/dist/config.js +93 -95
- package/dist/credential.js +67 -67
- package/dist/database/database.js +59 -59
- package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
- package/dist/database/drizzle.js +9 -9
- package/dist/database/migration.gen.js +41 -41
- package/dist/database/migration.js +43 -43
- package/dist/database/v1-migration.bun.js +12 -12
- package/dist/effect/app-node-builder.js +231 -232
- package/dist/environment/environment.js +67 -67
- package/dist/environment/index.js +69 -69
- package/dist/environment/unavailable.js +3 -3
- package/dist/event-logger.js +13 -13
- package/dist/file-access.js +77 -77
- package/dist/file-mutation.js +68 -68
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +179 -181
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +76 -76
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +14 -14
- package/dist/filesystem.js +79 -79
- package/dist/form.js +71 -71
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +64 -64
- package/dist/generate.js +78 -78
- package/dist/git.js +5 -5
- 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 +68 -68
- 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/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +309 -310
- package/dist/instruction-discovery.js +68 -68
- package/dist/instructions/builtins.js +64 -64
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +71 -71
- package/dist/job.js +61 -61
- package/dist/kv.js +58 -58
- package/dist/location-activity.js +53 -53
- package/dist/location-lifecycle.js +80 -80
- package/dist/location-service-map.js +59 -59
- package/dist/location-services.js +305 -306
- package/dist/location.js +66 -66
- package/dist/managed-policy.js +7 -7
- package/dist/mcp/client.js +17 -17
- package/dist/mcp/index.js +77 -77
- package/dist/mcp/instructions.js +94 -94
- package/dist/mcp/oauth.js +13 -13
- package/dist/mcp/stdio.js +64 -64
- package/dist/modal/models.js +68 -68
- package/dist/model-resolver.js +75 -75
- package/dist/model.js +77 -77
- package/dist/models-dev.js +83 -83
- package/dist/permission/saved.js +64 -64
- package/dist/permission.js +90 -90
- package/dist/persistent-pty/index.js +71 -71
- package/dist/persistent-pty.js +57 -57
- package/dist/plugin/agent.js +58 -58
- package/dist/plugin/command.js +74 -74
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +172 -174
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/internal.js +281 -283
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +72 -72
- package/dist/plugin/module.js +88 -90
- package/dist/plugin/plan.js +75 -75
- package/dist/plugin/provider/amazon-bedrock.js +67 -67
- package/dist/plugin/provider/azure.js +88 -90
- package/dist/plugin/provider/chatgpt.js +87 -89
- package/dist/plugin/provider/cloudflare-ai-gateway.js +85 -87
- package/dist/plugin/provider/cloudflare-workers-ai.js +85 -87
- package/dist/plugin/provider/configured.js +84 -86
- package/dist/plugin/provider/digitalocean.js +69 -69
- package/dist/plugin/provider/github-copilot.js +72 -72
- package/dist/plugin/provider/gitlab.js +69 -69
- package/dist/plugin/provider/google-vertex.js +85 -87
- package/dist/plugin/provider/llmgateway.js +60 -60
- package/dist/plugin/provider/lmstudio.js +93 -95
- package/dist/plugin/provider/local.js +92 -94
- package/dist/plugin/provider/modal.js +69 -69
- package/dist/plugin/provider/ollama.js +95 -97
- package/dist/plugin/provider/openai.js +87 -89
- package/dist/plugin/provider/opencode.js +74 -73
- package/dist/plugin/provider/openrouter.js +68 -68
- package/dist/plugin/provider/poe.js +60 -60
- package/dist/plugin/provider/sap-ai-core.js +67 -67
- package/dist/plugin/provider/snowflake-cortex.js +86 -88
- package/dist/plugin/provider/vercel.js +67 -67
- package/dist/plugin/provider/vllm.js +95 -97
- package/dist/plugin/provider/xai.js +68 -68
- package/dist/plugin/provider.js +132 -133
- package/dist/plugin/sdk.js +61 -61
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +105 -107
- package/dist/plugin/supervisor.js +298 -300
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +5 -5
- package/dist/plugin/vcs/git.js +63 -63
- package/dist/plugin/vcs/hg.js +63 -63
- package/dist/plugin/verbosity.js +70 -70
- package/dist/plugin/warming.js +86 -88
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +184 -186
- package/dist/project/schema.js +7 -7
- package/dist/project.js +67 -67
- package/dist/provider.js +80 -78
- package/dist/pty.js +75 -75
- package/dist/reference/instructions.js +67 -67
- package/dist/reference.js +65 -65
- package/dist/repository-cache.js +60 -60
- package/dist/ripgrep.js +68 -68
- package/dist/rpc.js +63 -63
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +58 -58
- package/dist/session/compaction.js +104 -104
- package/dist/session/context.js +119 -119
- package/dist/session/diff.js +63 -63
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +116 -118
- package/dist/session/execution.js +96 -96
- package/dist/session/generate.js +118 -118
- package/dist/session/history.js +8 -8
- package/dist/session/inbox.js +64 -64
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +55 -55
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +71 -71
- package/dist/session/model-request.js +91 -91
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +100 -100
- package/dist/session/projector.js +60 -60
- package/dist/session/prompt.js +77 -77
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +64 -64
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +182 -184
- package/dist/session/runner/model.js +75 -75
- package/dist/session/runner/publish-llm-event.js +85 -85
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +96 -96
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +128 -130
- package/dist/session/shell.js +99 -101
- package/dist/session/skill.js +78 -78
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +67 -67
- package/dist/session/subagent-job.js +167 -169
- package/dist/session/title.js +122 -122
- package/dist/session/to-session-error.js +84 -84
- package/dist/session/transfer.js +120 -119
- package/dist/session.js +179 -181
- package/dist/shell/parse.js +4 -4
- package/dist/shell/select.js +12 -12
- package/dist/shell.js +102 -104
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +80 -80
- package/dist/skill.js +81 -81
- package/dist/snapshot.js +66 -66
- package/dist/tool/mcp.js +95 -95
- package/dist/tool/plugin/edit.js +89 -89
- package/dist/tool/plugin/glob.js +93 -93
- package/dist/tool/plugin/grep.js +93 -93
- package/dist/tool/plugin/mcp-resource.js +87 -87
- package/dist/tool/plugin/opencode.js +80 -80
- package/dist/tool/plugin/patch.js +91 -91
- package/dist/tool/plugin/question.js +74 -74
- package/dist/tool/plugin/read.js +93 -93
- package/dist/tool/plugin/shell.js +171 -173
- package/dist/tool/plugin/skill.js +86 -86
- package/dist/tool/plugin/subagent.js +174 -176
- package/dist/tool/plugin/webfetch.js +84 -84
- package/dist/tool/plugin/websearch.js +83 -83
- package/dist/tool/plugin/write.js +89 -89
- package/dist/tool/read-filesystem.js +72 -72
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +11 -11
- package/dist/types/config/variable.d.ts +1 -43
- package/dist/types/instance.d.ts +2 -1
- package/dist/types/model.d.ts +3 -0
- package/dist/types/provider.d.ts +2 -0
- package/dist/types/v1/config/migrate.d.ts +7 -0
- package/dist/types/variant.d.ts +3 -0
- package/dist/types/voice.d.ts +29 -0
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +24 -6
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +70 -68
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/variant.js +72 -70
- package/dist/vcs.js +66 -66
- package/dist/voice.js +97 -0
- package/dist/websearch.js +65 -65
- package/dist/wellknown/plugin.js +59 -59
- package/dist/wellknown.js +64 -64
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +66 -66
- package/dist/worktree/git.js +2 -2
- package/dist/worktree/strategies.js +65 -65
- package/dist/worktree.js +73 -73
- package/package.json +8 -8
- package/dist/chunks/instance-0j77ygfz.js +0 -25
- package/dist/chunks/instance-9k954qnc.js +0 -253
- package/dist/chunks/instance-xkv0wwhy.js +0 -26
- /package/dist/chunks/{instance-vbbe25mn.js → instance-3cy08nae.js} +0 -0
- /package/dist/chunks/{instance-d9wzmzc3.js → instance-5nrew705.js} +0 -0
- /package/dist/chunks/{instance-j09zfasm.js → instance-91qna3x0.js} +0 -0
- /package/dist/chunks/{instance-8wvgy420.js → instance-j99dhamb.js} +0 -0
- /package/dist/chunks/{instance-h4mdy8pc.js → instance-m8qsgghe.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./instance-
|
|
2
|
+
Service82
|
|
3
|
+
} from "./instance-jhx7q1qc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./instance-
|
|
5
|
+
Service53
|
|
6
|
+
} from "./instance-t5d9whg0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./instance-
|
|
8
|
+
Service18
|
|
9
|
+
} from "./instance-snpj5a6q.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./instance-
|
|
11
|
+
make4
|
|
12
|
+
} from "./instance-sxcaecc0.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
15
|
} from "./instance-qsdy395h.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin2
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,14 +29,14 @@ 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 Plugin2 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service53;
|
|
36
|
+
const formatter = yield* Service18;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service82;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -44,7 +44,7 @@ var Plugin3 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make4({
|
|
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 { Plugin2, exports_formatter };
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
gitExecutable2
|
|
11
11
|
} from "./instance-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./instance-
|
|
13
|
+
Service82
|
|
14
|
+
} from "./instance-jhx7q1qc.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./instance-
|
|
17
|
+
} from "./instance-jxa15a22.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
20
|
} from "./instance-9rqn6x4v.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin21,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin21 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service82;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin21, exports_git };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./instance-
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./instance-c0jw7tng.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./instance-
|
|
8
|
+
Service67,
|
|
9
|
+
node70
|
|
10
|
+
} from "./instance-8mprknbj.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
13
|
} from "./instance-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./instance-
|
|
16
|
+
} from "./instance-gqtdsdt7.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./instance-
|
|
20
|
+
} from "./instance-xzyvagpz.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
23
|
} from "./instance-9rqn6x4v.js";
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event14,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID9,
|
|
41
|
+
Info: () => Info18,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
|
-
Ref: () =>
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
47
|
+
Ref: () => Ref3,
|
|
48
|
+
Service: () => Service66,
|
|
49
|
+
node: () => node69
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event14 } from "@opencode/schema/integration";
|
|
72
|
+
var ID9 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info18 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID9,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service66 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service67;
|
|
117
|
+
const bus = yield* Service85;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info18.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service66.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key3.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node69 = makeLocationNode({
|
|
633
|
+
service: Service66,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node70, node89, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info18, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service66, node69, exports_integration, Event14 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./instance-gxvgt8t9.js";
|
|
1
5
|
import {
|
|
2
6
|
Service85,
|
|
3
7
|
node89
|
|
4
|
-
} from "./instance-
|
|
5
|
-
import {
|
|
6
|
-
Service84,
|
|
7
|
-
node88
|
|
8
|
-
} from "./instance-9f6w07v2.js";
|
|
8
|
+
} from "./instance-c0jw7tng.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
11
|
} from "./instance-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./instance-
|
|
14
|
+
} from "./instance-9k44apjz.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
17
|
} from "./instance-ec1grn59.js";
|
|
@@ -20,77 +20,77 @@ import {
|
|
|
20
20
|
} from "./instance-c1fqxshp.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./instance-
|
|
23
|
+
} from "./instance-c9wbyant.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./instance-
|
|
26
|
+
} from "./instance-4j4tgtq5.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./instance-
|
|
30
|
+
} from "./instance-em3k6scw.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./instance-
|
|
32
|
+
Service70,
|
|
33
|
+
node73
|
|
34
|
+
} from "./instance-b4gsa26k.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./instance-
|
|
36
|
+
Service15,
|
|
37
|
+
node17
|
|
38
|
+
} from "./instance-v5qm4ejs.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
41
|
} from "./instance-775gj3j1.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./instance-
|
|
43
|
+
Service32,
|
|
44
|
+
node36
|
|
45
|
+
} from "./instance-pbjcynf2.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./instance-
|
|
48
|
+
} from "./instance-s3v8c45g.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./instance-
|
|
50
|
+
make5
|
|
51
|
+
} from "./instance-zyk1yjk8.js";
|
|
52
52
|
import {
|
|
53
53
|
toSessionError2
|
|
54
|
-
} from "./instance-
|
|
54
|
+
} from "./instance-prvmgnqy.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
Service7,
|
|
57
|
+
node9,
|
|
58
58
|
estimatePrompt2
|
|
59
|
-
} from "./instance-
|
|
59
|
+
} from "./instance-1kn978n9.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./instance-
|
|
61
|
+
Service27,
|
|
62
|
+
node30
|
|
63
|
+
} from "./instance-egzk2yjk.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./instance-
|
|
68
|
+
} from "./instance-vd5a229f.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service2,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./instance-
|
|
72
|
+
node3
|
|
73
|
+
} from "./instance-vcnzat6y.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./instance-
|
|
76
|
+
Service40
|
|
77
|
+
} from "./instance-2vs2nh1n.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./instance-
|
|
79
|
+
node58
|
|
80
|
+
} from "./instance-94t3kz80.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
} from "./instance-
|
|
82
|
+
node61
|
|
83
|
+
} from "./instance-h8wg6m6b.js";
|
|
84
84
|
import {
|
|
85
85
|
Outcome2,
|
|
86
|
-
|
|
87
|
-
} from "./instance-
|
|
86
|
+
make3
|
|
87
|
+
} from "./instance-dy6575tn.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./instance-
|
|
89
|
+
Service33
|
|
90
|
+
} from "./instance-rap9a73h.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
} from "./instance-
|
|
92
|
+
node23
|
|
93
|
+
} from "./instance-r730fk4b.js";
|
|
94
94
|
import {
|
|
95
95
|
MAX_STEPS_PROMPT2
|
|
96
96
|
} from "./instance-y44na4kk.js";
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
var exports_llm = {};
|
|
103
103
|
__export(exports_llm, {
|
|
104
104
|
SessionRunnerLLM: () => exports_llm,
|
|
105
|
-
node: () =>
|
|
105
|
+
node: () => node2
|
|
106
106
|
});
|
|
107
107
|
import { Message } from "@opencode/ai";
|
|
108
108
|
import { and, desc, eq, inArray, sql } from "drizzle-orm";
|
|
@@ -110,17 +110,17 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
|
110
110
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
111
111
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
112
112
|
var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
|
|
113
|
-
var layer = Layer.effect(
|
|
114
|
-
const bus = yield*
|
|
115
|
-
const lifecycle = yield*
|
|
116
|
-
const store = yield*
|
|
117
|
-
const context = yield*
|
|
118
|
-
const modelTransport = yield*
|
|
119
|
-
const db = (yield*
|
|
120
|
-
const compaction = yield*
|
|
121
|
-
const plugins = yield*
|
|
122
|
-
const title = yield*
|
|
123
|
-
const steps = yield*
|
|
113
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
114
|
+
const bus = yield* Service85;
|
|
115
|
+
const lifecycle = yield* Service15;
|
|
116
|
+
const store = yield* Service70;
|
|
117
|
+
const context = yield* Service27;
|
|
118
|
+
const modelTransport = yield* Service32;
|
|
119
|
+
const db = (yield* Service86).db;
|
|
120
|
+
const compaction = yield* Service7;
|
|
121
|
+
const plugins = yield* Service33;
|
|
122
|
+
const title = yield* Service2;
|
|
123
|
+
const steps = yield* make3;
|
|
124
124
|
const titles = yield* FiberMap.make();
|
|
125
125
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
126
126
|
const sessionID = input.sessionID;
|
|
@@ -241,7 +241,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
241
241
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
242
242
|
const sessionID = first.session.id;
|
|
243
243
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
244
|
-
const retry = yield*
|
|
244
|
+
const retry = yield* make5(bus, sessionID);
|
|
245
245
|
let initial = first;
|
|
246
246
|
let recoverOverflow = true;
|
|
247
247
|
let recoverContinuation = true;
|
|
@@ -373,25 +373,25 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
375
|
});
|
|
376
|
-
return
|
|
376
|
+
return Service40.of({ drain });
|
|
377
377
|
}));
|
|
378
|
-
var
|
|
379
|
-
service:
|
|
378
|
+
var node2 = makeLocationNode({
|
|
379
|
+
service: Service40,
|
|
380
380
|
layer,
|
|
381
381
|
deps: [
|
|
382
|
-
|
|
383
|
-
|
|
382
|
+
node89,
|
|
383
|
+
node17,
|
|
384
384
|
llmClient2,
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
385
|
+
node30,
|
|
386
|
+
node36,
|
|
387
|
+
node73,
|
|
388
|
+
node9,
|
|
389
|
+
node23,
|
|
390
|
+
node3,
|
|
391
|
+
node58,
|
|
392
|
+
node61,
|
|
393
|
+
node90
|
|
394
394
|
]
|
|
395
395
|
});
|
|
396
396
|
|
|
397
|
-
export {
|
|
397
|
+
export { node2, exports_llm };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./instance-
|
|
3
|
+
Service53
|
|
4
|
+
} from "./instance-t5d9whg0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./instance-
|
|
6
|
+
Service56
|
|
7
|
+
} from "./instance-94t3kz80.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
10
|
} from "./instance-qsdy395h.js";
|
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin11
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin11 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service53;
|
|
27
|
+
const snapshot = yield* Service56;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin17 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin11, exports_snapshot };
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
} from "./instance-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./instance-
|
|
6
|
+
} from "./instance-hy029169.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./instance-
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./instance-jhx7q1qc.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./instance-
|
|
12
|
+
Service69,
|
|
13
|
+
node72
|
|
14
|
+
} from "./instance-f4mxpp6t.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
17
|
} from "./instance-9rqn6x4v.js";
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service17,
|
|
26
|
+
node: () => node19,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service17 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service82;
|
|
55
|
+
const permission = yield* Service69;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service17.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node19 = makeLocationNode({ service: Service17, layer, deps: [FSUtil.node, node86, node72] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service17, resolvePath2, node19, exports_file_access };
|