@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
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-8m6m0r52.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-p2x1ybm5.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID3.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Service80
|
|
9
|
-
} from "./permission-89sqfr9e.js";
|
|
6
|
+
} from "./model-z5v4ffb3.js";
|
|
10
7
|
import {
|
|
11
8
|
Service78
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./model-46mt6x8j.js";
|
|
10
|
+
import {
|
|
11
|
+
Service71
|
|
12
|
+
} from "./model-ctn84etg.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service70
|
|
16
|
+
} from "./model-qq8gj99e.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-gnngpsss.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service56
|
|
26
|
+
} from "./model-8x2j076n.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service55
|
|
29
|
+
} from "./model-rp09h2a9.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./model-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
|
+
Plugin: () => Plugin36,
|
|
41
|
+
name: () => name2,
|
|
42
|
+
toModelContent: () => toModelContent2
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name2 = "grep";
|
|
48
|
+
var Input2 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input10 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output2 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent2 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin36 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service71;
|
|
90
|
+
const ripgrep = yield* Service70;
|
|
91
|
+
const location = yield* Service78;
|
|
92
|
+
const access = yield* Service55;
|
|
93
|
+
const permission = yield* Service56;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name2,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input2,
|
|
99
|
+
output: Output2,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name2,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin12 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent2(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin12 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name2, Input2, Output2, toModelContent2, Plugin36, exports_grep };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-46mt6x8j.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service77,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node81,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service77 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service77, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node81 = LayerNode.unbound(Service77, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service77;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service77, node81, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-2aegfh2p.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-bjx1sjef.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin8,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin8 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin18 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint6, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin18 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint6, Plugin8, exports_parallel };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Service80
|
|
9
|
-
} from "./permission-89sqfr9e.js";
|
|
6
|
+
} from "./model-z5v4ffb3.js";
|
|
10
7
|
import {
|
|
11
8
|
Service78
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./model-46mt6x8j.js";
|
|
10
|
+
import {
|
|
11
|
+
Service71
|
|
12
|
+
} from "./model-ctn84etg.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service70
|
|
15
|
+
} from "./model-qq8gj99e.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-gnngpsss.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service56
|
|
24
|
+
} from "./model-8x2j076n.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service55
|
|
27
|
+
} from "./model-rp09h2a9.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
36
|
+
Input: () => Input4,
|
|
37
37
|
Output: () => Output4,
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
38
|
+
Plugin: () => Plugin38,
|
|
39
|
+
name: () => name4,
|
|
40
|
+
toModelContent: () => toModelContent3
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name4 = "glob";
|
|
46
|
+
var Input4 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -56,26 +56,26 @@ var Input8 = Schema.Struct({
|
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
58
|
var Output4 = Schema.Array(Entry2);
|
|
59
|
-
var
|
|
59
|
+
var toModelContent3 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin38 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service71;
|
|
70
|
+
const ripgrep = yield* Service70;
|
|
71
|
+
const location = yield* Service78;
|
|
72
|
+
const access = yield* Service55;
|
|
73
|
+
const permission = yield* Service56;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name4,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
78
|
+
input: Input4,
|
|
79
79
|
output: Output4,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
@@ -83,7 +83,7 @@ var Plugin10 = {
|
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name4,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin10 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name4, Input4, Output4, toModelContent3, Plugin38, exports_glob };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-g0d965vs.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-9sbgnbhh.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError4,
|
|
20
|
+
Options: () => Options7,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service47,
|
|
23
23
|
UnavailableError: () => UnavailableError3,
|
|
24
24
|
available: () => available3,
|
|
25
25
|
configured: () => configured6,
|
|
26
26
|
layer: () => layer22,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node49
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,7 +36,7 @@ import { Global } from "@opencode/util/global";
|
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
import { available as available3 } from "#persistent-pty-binary";
|
|
39
|
-
var
|
|
39
|
+
var Options7 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
@@ -46,14 +46,14 @@ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableE
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service47 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service47, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service84;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service59, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service59, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service47.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -261,11 +261,11 @@ var makeLayer = (options = {}) => Layer.effect(Service59, Effect.gen(function* (
|
|
|
261
261
|
}));
|
|
262
262
|
var layer22 = makeLayer();
|
|
263
263
|
var configured6 = (options) => makeGlobalNode({
|
|
264
|
-
service:
|
|
264
|
+
service: Service47,
|
|
265
265
|
layer: options === undefined ? layer22 : makeLayer(options),
|
|
266
266
|
deps: [node88, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node49 = configured6();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
271
|
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options7, UnavailableError3, NotFoundError4, Service47, layer22, configured6, node49, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-k4xvcd80.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-pkyv6v7h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-g0d965vs.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./model-yhtxwa5q.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event8,
|
|
21
21
|
ID: () => ID4,
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,19 +28,19 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service51,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node53
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event8 } from "@opencode/schema/websearch";
|
|
41
41
|
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
@@ -63,11 +63,11 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service51 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service84;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service81;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service51.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node53 = makeLocationNode({
|
|
188
|
+
service: Service51,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node88,
|
|
190
|
+
deps: [node88, node85]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export { ID4, Provider2,
|
|
193
|
+
export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service51, node53, exports_websearch3, Event8 };
|