@opencode/core 0.0.0-dev-21023 → 0.0.0-dev-21026
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{permission-m9c2yzp8.js → model-01rfddxe.js} +42 -42
- package/dist/chunks/{permission-2ryng5r3.js → model-0b5g1ynf.js} +4 -4
- package/dist/chunks/{permission-djxpjw65.js → model-0cqcz89e.js} +9 -9
- package/dist/chunks/{permission-6q5me1ng.js → model-0g9exnkr.js} +11 -11
- package/dist/chunks/{permission-1s9zyj6r.js → model-0grnp236.js} +4 -4
- package/dist/chunks/{permission-0xvfz0d9.js → model-0hmbxfvk.js} +21 -21
- package/dist/chunks/{permission-7dqw4kz8.js → model-0jwsre1p.js} +5 -5
- package/dist/chunks/{permission-tx3p4c1h.js → model-0k9wf2hg.js} +11 -11
- package/dist/chunks/{permission-e4t4m9wx.js → model-0kgrmwp0.js} +14 -14
- package/dist/chunks/{permission-0vbcp93d.js → model-0vbcp93d.js} +2 -2
- package/dist/chunks/{permission-xnrwq8hx.js → model-124s7jg1.js} +4 -4
- package/dist/chunks/{permission-tn9kj30j.js → model-15cj51dt.js} +23 -23
- package/dist/chunks/model-19rpp6m5.js +253 -0
- package/dist/chunks/{permission-rj13zmb6.js → model-1hc858k7.js} +5 -5
- package/dist/chunks/{permission-8ewbkqjs.js → model-1pgs1s3m.js} +11 -11
- package/dist/chunks/{permission-5fk5prd3.js → model-1ttk16ha.js} +8 -8
- package/dist/chunks/{permission-z99r91g9.js → model-20f5kd3r.js} +46 -46
- package/dist/chunks/{permission-s6m7wfzt.js → model-21xby13n.js} +20 -20
- package/dist/chunks/{permission-zggjzm3b.js → model-21yyccfm.js} +3 -3
- package/dist/chunks/{permission-q6phcmgv.js → model-2aegfh2p.js} +11 -11
- package/dist/chunks/{permission-h7s7r6s9.js → model-31xfzrxg.js} +5 -5
- package/dist/chunks/{permission-2vhphq2x.js → model-31zph7gx.js} +32 -32
- package/dist/chunks/{permission-va0v5gef.js → model-358yc98n.js} +1 -1
- package/dist/chunks/{permission-sw5a1q9a.js → model-36sc5tph.js} +46 -46
- package/dist/chunks/{permission-g6y5maz5.js → model-3855cc73.js} +46 -46
- package/dist/chunks/{permission-shq4beby.js → model-3cqwnyj9.js} +8 -8
- package/dist/chunks/{permission-3fc6dm20.js → model-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-3hwn7j4h.js → model-3hwn7j4h.js} +2 -2
- package/dist/chunks/{permission-hf80ks7v.js → model-3mvas6ge.js} +3 -3
- package/dist/chunks/{permission-3smtnn6g.js → model-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-3zsf4n22.js → model-3zsf4n22.js} +1 -1
- package/dist/chunks/{permission-fkaf0mbg.js → model-40fe41y2.js} +33 -33
- package/dist/chunks/{permission-78s3r0bw.js → model-40sbw5pj.js} +34 -34
- package/dist/chunks/{permission-nnmmcjtc.js → model-43xeh9aq.js} +4 -4
- package/dist/chunks/{permission-8w2cnjsp.js → model-454sa7n0.js} +11 -11
- package/dist/chunks/{permission-n86bj756.js → model-45mc4at0.js} +11 -11
- package/dist/chunks/{permission-89sqfr9e.js → model-46mt6x8j.js} +14 -14
- package/dist/chunks/{permission-ef4d86wb.js → model-4acmj4he.js} +7 -7
- package/dist/chunks/{permission-7q28eq2j.js → model-4dbz3zxd.js} +85 -85
- package/dist/chunks/{permission-3w1g5pmr.js → model-4q7c2z0k.js} +4 -4
- package/dist/chunks/{permission-eect42cy.js → model-4qa4eb2f.js} +5 -5
- package/dist/chunks/{permission-092eae9t.js → model-559cv5mq.js} +45 -45
- package/dist/chunks/{permission-a01j9zgm.js → model-58hng72m.js} +5 -5
- package/dist/chunks/{permission-80v8rtq2.js → model-5bcww33d.js} +11 -11
- package/dist/chunks/{permission-4dzm2vgm.js → model-5deaz9jv.js} +4 -4
- package/dist/chunks/{permission-24js1q9e.js → model-5gagafpw.js} +6 -6
- package/dist/chunks/{permission-zp7ch8at.js → model-5m24e1bs.js} +23 -23
- package/dist/chunks/{permission-5m9w47nd.js → model-5m9w47nd.js} +1 -1
- package/dist/chunks/{permission-e3qxr5gk.js → model-5qd3pb7m.js} +2 -2
- package/dist/chunks/{permission-0q7h3m0r.js → model-6b06eyw5.js} +12 -12
- package/dist/chunks/{permission-p2mj82dr.js → model-6g25qtd6.js} +3 -3
- package/dist/chunks/{permission-3msvj1np.js → model-6jxha2sg.js} +27 -27
- package/dist/chunks/{permission-xhm4b58r.js → model-6vvy3pkk.js} +14 -14
- package/dist/chunks/{permission-6xb47vfp.js → model-6xb47vfp.js} +1 -1
- package/dist/chunks/{permission-yqc6bamn.js → model-6xcvt31d.js} +1 -1
- package/dist/chunks/{permission-mb46117y.js → model-70spc8zb.js} +20 -20
- package/dist/chunks/{permission-775gj3j1.js → model-775gj3j1.js} +2 -2
- package/dist/chunks/{permission-59rbqqpw.js → model-77bypgyx.js} +2 -2
- package/dist/chunks/{permission-wkr77wxw.js → model-79vjxwag.js} +17 -17
- package/dist/chunks/{permission-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-p691epkf.js → model-7ca3xte1.js} +10 -10
- package/dist/chunks/{permission-6cvxkkb7.js → model-7cmh32yw.js} +25 -25
- package/dist/chunks/{permission-4dg124c5.js → model-7d2a7xbs.js} +5 -5
- package/dist/chunks/{permission-qrw8efy6.js → model-7kesx33y.js} +52 -52
- package/dist/chunks/{permission-a98p1s0p.js → model-7pvy9pzv.js} +11 -11
- package/dist/chunks/{permission-tcz7t3f6.js → model-7rxph2nn.js} +13 -13
- package/dist/chunks/{permission-89znhe33.js → model-89znhe33.js} +1 -1
- package/dist/chunks/{permission-nhzj3rkj.js → model-8fh9asg7.js} +12 -12
- package/dist/chunks/{permission-04x4ngvz.js → model-8hdm4x97.js} +8 -8
- package/dist/chunks/{permission-tdr6v81y.js → model-8kfrjq0p.js} +27 -27
- package/dist/chunks/{permission-8m6m0r52.js → model-8m6m0r52.js} +1 -1
- package/dist/chunks/{permission-zrq8kphx.js → model-8mbscqky.js} +8 -8
- package/dist/chunks/{permission-zst6p8bn.js → model-8ng4acg9.js} +6 -6
- package/dist/chunks/{permission-xd46p04h.js → model-8rw8yr2z.js} +28 -28
- package/dist/chunks/{permission-k5m01s9x.js → model-8x2j076n.js} +55 -55
- package/dist/chunks/{permission-7b794baq.js → model-8y6qxnd2.js} +32 -32
- package/dist/chunks/{permission-j09zfasm.js → model-91qna3x0.js} +3 -3
- package/dist/chunks/{permission-c70wgqnt.js → model-99wq20s7.js} +16 -16
- package/dist/chunks/{permission-tcay1cqt.js → model-9ae44cfy.js} +6 -6
- package/dist/chunks/{permission-w9zc1j69.js → model-9nthj2st.js} +2 -2
- package/dist/chunks/{permission-zkzq42m7.js → model-9sbgnbhh.js} +19 -19
- package/dist/chunks/{permission-h692q3hg.js → model-9xc4s1wq.js} +36 -36
- package/dist/chunks/{permission-8b5wx0er.js → model-a3s2mkkw.js} +37 -37
- package/dist/chunks/{permission-9m2tpsz1.js → model-a4r1667r.js} +10 -10
- package/dist/chunks/{permission-62fbspee.js → model-afb9wseb.js} +17 -17
- package/dist/chunks/{permission-k53yy7pw.js → model-am4dv7bb.js} +26 -26
- package/dist/chunks/{permission-rmc0d8tn.js → model-b096sb2f.js} +13 -13
- package/dist/chunks/{permission-yjxce2nx.js → model-b0w22pfr.js} +17 -17
- package/dist/chunks/model-b54ntt24.js +26 -0
- package/dist/chunks/{permission-6jzanskr.js → model-b77ja0wt.js} +27 -27
- package/dist/chunks/{permission-rbt4m20h.js → model-bbnjt3hf.js} +14 -14
- package/dist/chunks/{permission-56psxqzf.js → model-bd498wnj.js} +14 -14
- package/dist/chunks/{permission-1h1q22qe.js → model-bf8cw6nk.js} +18 -18
- package/dist/chunks/{permission-qhp59fkk.js → model-bfh1r411.js} +13 -13
- package/dist/chunks/{permission-e3rhhtj9.js → model-bhdyt95r.js} +20 -20
- package/dist/chunks/{permission-1ffvrpkg.js → model-bjx1sjef.js} +6 -6
- package/dist/chunks/{permission-4vr5rdhf.js → model-bxp5y3gq.js} +17 -17
- package/dist/chunks/{permission-7vs17q0t.js → model-c0q9byrh.js} +3 -3
- package/dist/chunks/{permission-es1vcfrp.js → model-c1fqxshp.js} +3 -3
- package/dist/chunks/{permission-a465vq1g.js → model-c3arycbm.js} +14 -14
- package/dist/chunks/{permission-3gv8v2v9.js → model-cc080dhf.js} +32 -32
- package/dist/chunks/{permission-602xwz5w.js → model-csjs0rgm.js} +18 -18
- package/dist/chunks/{permission-jery7aj9.js → model-ctn84etg.js} +24 -24
- package/dist/chunks/{permission-sz143kbc.js → model-d022x100.js} +8 -8
- package/dist/chunks/{permission-j7z3fkjv.js → model-d70j4vcr.js} +49 -49
- package/dist/chunks/{permission-d9gevvpm.js → model-d7bz7cyc.js} +82 -82
- package/dist/chunks/{permission-mxvxcxwy.js → model-db2wf4at.js} +4 -4
- package/dist/chunks/{permission-35ja2k0w.js → model-dqvv6bdz.js} +2 -2
- package/dist/chunks/{permission-dqxsqydv.js → model-dqxsqydv.js} +1 -1
- package/dist/chunks/{permission-57b9ws8p.js → model-drwq78ky.js} +5 -5
- package/dist/chunks/{permission-4ece66pg.js → model-dz1h6v1j.js} +20 -20
- package/dist/chunks/{permission-ra99svef.js → model-e70pe916.js} +24 -24
- package/dist/chunks/{permission-r2z489rp.js → model-e80seqcp.js} +3 -3
- package/dist/chunks/{permission-q1ftaqkm.js → model-e9ap395p.js} +27 -27
- package/dist/chunks/{permission-b27vhd2z.js → model-edrmdtr5.js} +7 -7
- package/dist/chunks/{permission-eej6y6fw.js → model-eej6y6fw.js} +2 -2
- package/dist/chunks/{permission-ef5x83kb.js → model-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-t5m9xkgn.js → model-f0d2hz6a.js} +10 -10
- package/dist/chunks/{permission-vxadv7hv.js → model-f2dsq0sx.js} +30 -30
- package/dist/chunks/{permission-yp2x3t23.js → model-f2n192rq.js} +4 -4
- package/dist/chunks/{permission-w40fwtt5.js → model-fd5g32kx.js} +6 -6
- package/dist/chunks/{permission-y56ehv6b.js → model-fdms3n6w.js} +9 -9
- package/dist/chunks/{permission-w80p8xjq.js → model-fs5hygsn.js} +12 -12
- package/dist/chunks/{permission-7ybv8rt8.js → model-fx9ycnc9.js} +3 -3
- package/dist/chunks/{permission-q4x97hvd.js → model-g0d965vs.js} +4 -4
- package/dist/chunks/{permission-86kb2rqt.js → model-g5y76h12.js} +28 -28
- package/dist/chunks/{permission-zh17qtwe.js → model-gb2d0a3q.js} +36 -36
- package/dist/chunks/{permission-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-ftymc9fb.js → model-gd6gh308.js} +142 -142
- package/dist/chunks/{permission-nxy4phdy.js → model-gnngpsss.js} +30 -30
- package/dist/chunks/{permission-ptmeq6fb.js → model-gpdxzypf.js} +333 -333
- package/dist/chunks/{permission-pgp1nwjn.js → model-h6310vsd.js} +4 -4
- package/dist/chunks/{permission-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-1h655jtg.js → model-h99738j4.js} +10 -10
- package/dist/chunks/{permission-kg0yqcjm.js → model-hgqgzfp7.js} +13 -13
- package/dist/chunks/{permission-hgz4x7wa.js → model-hgz4x7wa.js} +1 -1
- package/dist/chunks/{permission-7z0yjmdb.js → model-ht3067rw.js} +20 -20
- package/dist/chunks/{permission-g3p48v6a.js → model-jfw34q2z.js} +9 -9
- package/dist/chunks/{permission-vzfbn5hk.js → model-jhr8jnrw.js} +16 -16
- package/dist/chunks/{permission-6g107h22.js → model-jk540des.js} +2 -2
- package/dist/chunks/{permission-1egd8tfm.js → model-jke95dby.js} +14 -14
- package/dist/chunks/{permission-rhww208c.js → model-k1ck9wgq.js} +14 -14
- package/dist/chunks/{permission-ve8ym7hj.js → model-k4xvcd80.js} +50 -50
- package/dist/chunks/{permission-4ca9k2k9.js → model-kfrz2jxp.js} +3 -3
- package/dist/chunks/{permission-t5fwpa4s.js → model-kt26yds1.js} +15 -15
- package/dist/chunks/{permission-6mq77kn0.js → model-kwjpkb26.js} +15 -15
- package/dist/chunks/{permission-5cmbdvrd.js → model-m2y34ngg.js} +15 -15
- package/dist/chunks/{permission-eaebrh2a.js → model-m9m2bw1x.js} +69 -69
- package/dist/chunks/{permission-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-maspj1v3.js → model-maspj1v3.js} +1 -1
- package/dist/chunks/{permission-c44thn5s.js → model-md6a2bpm.js} +6 -6
- package/dist/chunks/{permission-wtedc2ez.js → model-mm2924pv.js} +35 -35
- package/dist/chunks/{permission-xzmvz71f.js → model-mnypcc0v.js} +9 -9
- package/dist/chunks/{permission-kn8spddv.js → model-mp3rbb49.js} +5 -5
- package/dist/chunks/{permission-eae131xq.js → model-mq6shjb6.js} +9 -9
- package/dist/chunks/{permission-bbn1dcba.js → model-mrpe8yp5.js} +32 -32
- package/dist/chunks/{permission-nhpttcny.js → model-mw0c0vj6.js} +17 -17
- package/dist/chunks/{permission-7c9k9v5a.js → model-mz8as577.js} +3 -3
- package/dist/chunks/{permission-nzw6j1y2.js → model-n52gv0t2.js} +20 -20
- package/dist/chunks/{permission-zfa7ynd8.js → model-nms2wt4g.js} +18 -18
- package/dist/chunks/{permission-kymaazr1.js → model-nw1b9wk3.js} +2 -2
- package/dist/chunks/{permission-h9wp8z5w.js → model-nxe4pcap.js} +4 -4
- package/dist/chunks/{permission-c7wy2byy.js → model-nxj57cfn.js} +4 -4
- package/dist/chunks/{permission-fxaymqdw.js → model-ny8edt06.js} +4 -4
- package/dist/chunks/{permission-tkcrbpkc.js → model-nym9wyb3.js} +6 -6
- package/dist/chunks/{permission-rc677eqa.js → model-p1pg3s4t.js} +15 -15
- package/dist/chunks/{permission-bjbqwag1.js → model-p2x1ybm5.js} +22 -22
- package/dist/chunks/{permission-5xtgfte3.js → model-p37cw4rj.js} +4 -4
- package/dist/chunks/{permission-3rtxz4nr.js → model-pakcngh0.js} +8 -8
- package/dist/chunks/{permission-x22rbv90.js → model-pcpm970h.js} +28 -28
- package/dist/chunks/model-pf31ssb9.js +18 -0
- package/dist/chunks/{permission-t5e0qftg.js → model-pg3yv55e.js} +17 -17
- package/dist/chunks/{permission-gfffhgfj.js → model-pj9xvhw4.js} +1 -1
- package/dist/chunks/{permission-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{permission-czdnbs3v.js → model-pqrr6518.js} +40 -40
- package/dist/chunks/{permission-4z7aqr9p.js → model-pt8t6bwe.js} +15 -15
- package/dist/chunks/{permission-nvxqht09.js → model-pyzjd10w.js} +2 -2
- package/dist/chunks/{permission-845dwr63.js → model-pzhd9fhs.js} +21 -21
- package/dist/chunks/{permission-0j77ygfz.js → model-q0xm7vwc.js} +6 -6
- package/dist/chunks/{permission-kxqnpj86.js → model-q45w12d8.js} +24 -24
- package/dist/chunks/{permission-7dhxgjnh.js → model-q8smq9rm.js} +26 -26
- package/dist/chunks/{permission-jzm320fm.js → model-q9z6c42s.js} +9 -9
- package/dist/chunks/{permission-fz45jk9b.js → model-qfxf707x.js} +14 -14
- package/dist/chunks/{permission-qnc92qwc.js → model-qnc92qwc.js} +1 -1
- package/dist/chunks/{permission-0cgs9dz5.js → model-qq8gj99e.js} +14 -14
- package/dist/chunks/{permission-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-d2jkdthw.js → model-qxfsh50a.js} +16 -16
- package/dist/chunks/{permission-52cjarja.js → model-qysp5m4p.js} +15 -15
- package/dist/chunks/{permission-qmqgtz8f.js → model-r2m716tb.js} +9 -9
- package/dist/chunks/{permission-sdymsmch.js → model-r7wmahnz.js} +25 -25
- package/dist/chunks/{permission-vhjr3aps.js → model-r85h4k88.js} +34 -34
- package/dist/chunks/{permission-54ma36ye.js → model-r94pvvab.js} +4 -4
- package/dist/chunks/{permission-nw04411h.js → model-r9jzxqvq.js} +22 -22
- package/dist/chunks/{permission-nd4tfyg0.js → model-ra67jj04.js} +9 -9
- package/dist/chunks/{permission-y3pjwe43.js → model-rd1cgpxp.js} +20 -20
- package/dist/chunks/{permission-rdw6cm16.js → model-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-tkb22qbm.js → model-rert0e01.js} +2 -2
- package/dist/chunks/{permission-sr538j3y.js → model-rffh3mqk.js} +16 -16
- package/dist/chunks/{permission-c41wscbt.js → model-rj3eygr5.js} +2 -2
- package/dist/chunks/{permission-w92k2e0p.js → model-rkprpv83.js} +8 -8
- package/dist/chunks/{permission-829m196e.js → model-rp09h2a9.js} +18 -18
- package/dist/chunks/{permission-qk3m6f42.js → model-rx4wz1w4.js} +10 -10
- package/dist/chunks/{permission-kkxq1rvg.js → model-s13c7292.js} +27 -27
- package/dist/chunks/{permission-kqv3x6rj.js → model-s2z0d44b.js} +9 -9
- package/dist/chunks/{permission-c8ax2afj.js → model-sa8ekw3f.js} +2 -2
- package/dist/chunks/{permission-b3f8fkhc.js → model-scgrse2b.js} +5 -5
- package/dist/chunks/{permission-fvebqfs2.js → model-scgz3sns.js} +24 -24
- package/dist/chunks/{permission-2evnpasp.js → model-sp1bq8t5.js} +4 -4
- package/dist/chunks/{permission-xazx5qmq.js → model-stpcs325.js} +11 -11
- package/dist/chunks/{permission-syv4x271.js → model-syv4x271.js} +1 -1
- package/dist/chunks/{permission-embw8kgh.js → model-t2az9yje.js} +4 -4
- package/dist/chunks/{permission-rhjbct0v.js → model-t550f9t1.js} +4 -4
- package/dist/chunks/{permission-k7myrtme.js → model-t79s17n5.js} +9 -9
- package/dist/chunks/{permission-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-53nebdj4.js → model-tbkx8g7m.js} +7 -7
- package/dist/chunks/{permission-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{permission-fpecnkgp.js → model-tg7bkhef.js} +5 -5
- package/dist/chunks/{permission-tm0kqsz3.js → model-tm0kqsz3.js} +1 -1
- package/dist/chunks/{permission-f54vpcxy.js → model-trrs9qjc.js} +13 -13
- package/dist/chunks/{permission-2dryst3t.js → model-trya7axm.js} +8 -8
- package/dist/chunks/{permission-b2vdwqgm.js → model-ty6kwv90.js} +19 -19
- package/dist/chunks/{permission-tyytaxap.js → model-tyytaxap.js} +1 -1
- package/dist/chunks/{permission-99m7qm8b.js → model-v6wtv6sh.js} +14 -14
- package/dist/chunks/{permission-v7p4zvkq.js → model-v7p4zvkq.js} +2 -2
- package/dist/chunks/{permission-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-7d0ykqmj.js → model-vfw5w8v2.js} +15 -15
- package/dist/chunks/{permission-z23bwpym.js → model-vppcbm3y.js} +10 -10
- package/dist/chunks/{permission-00apgy02.js → model-vq4kdd46.js} +18 -18
- package/dist/chunks/{permission-23xej63c.js → model-vqk1e85q.js} +9 -9
- package/dist/chunks/{permission-kjdm35cs.js → model-vrrq7v3g.js} +5 -5
- package/dist/chunks/{permission-gvg3qxq8.js → model-vw126e4d.js} +17 -17
- package/dist/chunks/{permission-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
- package/dist/chunks/{permission-84txncab.js → model-w1eejvng.js} +5 -5
- package/dist/chunks/{permission-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-xy8zxf3a.js → model-w4j701p4.js} +11 -11
- package/dist/chunks/{permission-z47mhk4h.js → model-w6h1y6dq.js} +9 -9
- package/dist/chunks/{permission-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{permission-e1w47gxy.js → model-wdz250da.js} +22 -22
- package/dist/chunks/{permission-g5nfb62w.js → model-wfq6jpmw.js} +29 -29
- package/dist/chunks/{permission-ec8nysdw.js → model-wmcaf8ca.js} +33 -33
- package/dist/chunks/{permission-ft5ccetf.js → model-wp97teag.js} +17 -17
- package/dist/chunks/{permission-9srxgycv.js → model-wr1ewhk4.js} +5 -5
- package/dist/chunks/{permission-fdk5j20n.js → model-wt6b9xn1.js} +1 -1
- package/dist/chunks/{permission-becrz2zd.js → model-wtqshrcq.js} +6 -6
- package/dist/chunks/{permission-p6p40emm.js → model-x17e2yyb.js} +20 -20
- package/dist/chunks/{permission-wnvag7bd.js → model-x2jnxxy0.js} +23 -23
- package/dist/chunks/{permission-z55y8ceb.js → model-x5ay7k0w.js} +9 -9
- package/dist/chunks/{permission-aq0qtksj.js → model-xbnpeec3.js} +34 -34
- package/dist/chunks/{permission-6w011226.js → model-xfrnbqxb.js} +7 -7
- package/dist/chunks/{permission-4w212fwn.js → model-xgwqb5jk.js} +26 -26
- package/dist/chunks/{permission-3drzayab.js → model-xs3x383r.js} +14 -14
- package/dist/chunks/{permission-nb9p6b26.js → model-xxxym934.js} +4 -4
- package/dist/chunks/{permission-gv6wxqss.js → model-y0ymffas.js} +28 -28
- package/dist/chunks/{permission-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-s3cppfsb.js → model-y2kcrf7q.js} +9 -9
- package/dist/chunks/{permission-h5wejvtq.js → model-y52pq506.js} +24 -24
- package/dist/chunks/{permission-9sgsjpgv.js → model-y6cwq76b.js} +11 -11
- package/dist/chunks/{permission-ks04pcd7.js → model-y6xhfxcm.js} +23 -23
- package/dist/chunks/{permission-dpkg50ah.js → model-y71avatq.js} +4 -4
- package/dist/chunks/{permission-5kb9zkdh.js → model-y8zy7amg.js} +19 -19
- package/dist/chunks/{permission-gcgj809c.js → model-y9y8j1f2.js} +16 -16
- package/dist/chunks/{permission-2rehhz5t.js → model-yg62bcth.js} +11 -11
- package/dist/chunks/{permission-47jkzegy.js → model-ygdna4kr.js} +5 -5
- package/dist/chunks/{permission-cr3q6dfx.js → model-yhtxwa5q.js} +10 -10
- package/dist/chunks/{permission-de76y8ke.js → model-yv09eh8f.js} +8 -8
- package/dist/chunks/{permission-x7skvj3h.js → model-ywkcfvf7.js} +11 -11
- package/dist/chunks/{permission-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-41qj65tx.js → model-z75pxxh7.js} +1 -1
- package/dist/chunks/{permission-61rweyp5.js → model-ze19dk6b.js} +5 -5
- package/dist/chunks/{permission-9z0dngc7.js → model-zf7skas7.js} +20 -20
- package/dist/chunks/{permission-ydgy0jv4.js → model-zfq801h6.js} +6 -6
- package/dist/chunks/{permission-946k40fp.js → model-zpegy5y1.js} +13 -13
- package/dist/chunks/{permission-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- package/dist/chunks/{permission-krrwhgcx.js → model-zzzv4s15.js} +22 -22
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/permission-9zdhvgqs.js +0 -18
- package/dist/chunks/permission-khbbrmym.js +0 -253
- package/dist/chunks/permission-wnarkw3d.js +0 -26
- /package/dist/chunks/{permission-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → model-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2bv980vf.js → model-2bv980vf.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-84wd9syh.js → model-84wd9syh.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → model-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hcxmzztb.js → model-hcxmzztb.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jze0r7bz.js → model-jze0r7bz.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-m18g726c.js → model-m18g726c.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{permission-pyv0edze.js → model-pyv0edze.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-ve7vex1e.js → model-ve7vex1e.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wjj7prxr.js → model-wjj7prxr.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load4
|
|
6
|
+
} from "./model-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event4,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options5,
|
|
17
|
+
Service: () => Service43,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured5,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer20,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node45,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event4 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load4());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options5 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service43 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer20 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service43.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer25 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service43.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service43).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service43, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured5(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service43, layer: layer20(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node45 = configured5();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event4, hasNativeBinding2, Native3, Options5, Service43, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured5, node45, exports_watcher };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
|
-
function
|
|
8
|
+
function make10(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make10 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./model-scgz3sns.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./model-8x2j076n.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service51
|
|
14
|
+
} from "./model-n52gv0t2.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input7,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin43,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description4,
|
|
27
|
+
name: () => name7
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name7 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input7 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin43 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service56;
|
|
53
|
+
const forms = yield* Service65;
|
|
54
|
+
const websearch = yield* Service51;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name7,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description4,
|
|
59
|
+
input: Input7,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name7,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name7];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name7, NO_RESULTS2, description4, Input7, Plugin43, exports_websearch2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info10
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info10 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info16 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info10, exports_command4 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service30
|
|
6
|
+
} from "./model-d70j4vcr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service56
|
|
9
|
+
} from "./model-8x2j076n.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin47
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin47 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service30;
|
|
26
|
+
const permission = yield* Service56;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin2 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin47, exports_mcp_resource };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node82
|
|
7
|
+
} from "./model-46mt6x8j.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service70,
|
|
10
|
+
node73
|
|
11
|
+
} from "./model-qq8gj99e.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names4
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-89znhe33.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options9,
|
|
25
|
+
Service: () => Service69,
|
|
26
|
+
configured: () => configured9,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer26,
|
|
29
|
+
node: () => node72,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options9 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service69 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service69, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service78;
|
|
63
|
+
const ripgrep = yield* Service70;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service69.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service69, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service78;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service69.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service69.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer26 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service78;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured9(options) {
|
|
186
|
+
return makeLocationNode({ service: Service69, layer: layer26(options), deps: [node82, node73] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node72 = configured9();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options9, Service69, ripgrepLayer2, fffLayer2, layer26, configured9, node72, exports_search };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make15 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make16 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make15, exports_run_coordinator };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-4acmj4he.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-pj9xvhw4.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make23(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make23, makeWithDefaults2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service2,
|
|
13
|
+
node: () => node3
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service2 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service2.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node3 = makeGlobalNode({ service: Service2, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service2, node3, exports_update };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./model-46mt6x8j.js";
|
|
4
4
|
import {
|
|
5
5
|
ID10,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-6jxha2sg.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service42
|
|
10
|
+
} from "./model-3855cc73.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service71
|
|
13
|
+
} from "./model-ctn84etg.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-ny8edt06.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-8ng4acg9.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service42;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service71);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service78);
|
|
38
38
|
const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID12,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service63
|
|
4
|
+
} from "./model-5m24e1bs.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service63;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|