@opencode/core 0.0.0-dev-19473 → 0.0.0-dev-19482
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{location-mutation-x1acgrry.js → shell-04n8fpsx.js} +4 -4
- package/dist/chunks/{location-mutation-xs4at11g.js → shell-0cy5jdh3.js} +13 -13
- package/dist/chunks/{location-mutation-tx5ssvyf.js → shell-0dyc37yz.js} +34 -34
- package/dist/chunks/{location-mutation-w42cbfa6.js → shell-0fn5g1dw.js} +35 -35
- package/dist/chunks/{location-mutation-agmzpsk8.js → shell-0gm9s4gg.js} +16 -16
- package/dist/chunks/shell-0mesazry.js +4 -0
- package/dist/chunks/{location-mutation-b0zc3rxt.js → shell-0nmk1nfg.js} +12 -12
- package/dist/chunks/{location-mutation-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-mutation-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-mutation-02s21fhq.js → shell-0w0gm0da.js} +9 -9
- package/dist/chunks/{location-mutation-g6475k52.js → shell-191q2am9.js} +20 -20
- package/dist/chunks/{location-mutation-dz0bcr2c.js → shell-1b9za8k8.js} +4 -4
- package/dist/chunks/{location-mutation-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-mutation-1fz31grg.js → shell-1jbxxpzt.js} +8 -8
- package/dist/chunks/{location-mutation-7b5bs947.js → shell-1v0k12rn.js} +16 -16
- package/dist/chunks/{location-mutation-gq0ew8qh.js → shell-1vqdrp7h.js} +34 -34
- package/dist/chunks/{location-mutation-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{location-mutation-2jmaghvr.js → shell-23pqda6t.js} +4 -4
- package/dist/chunks/{location-mutation-jkdy99p7.js → shell-23xgc4jt.js} +37 -37
- package/dist/chunks/{location-mutation-2402vzrj.js → shell-2402vzrj.js} +1 -1
- package/dist/chunks/{location-mutation-n08mrxbn.js → shell-259cm5a5.js} +10 -10
- package/dist/chunks/{location-mutation-ep73h3z1.js → shell-29mdqam5.js} +1 -1
- package/dist/chunks/{location-mutation-brkb7bcy.js → shell-29wksdc9.js} +13 -13
- package/dist/chunks/{location-mutation-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-mutation-6jnybvqn.js → shell-2bt6bea8.js} +9 -9
- package/dist/chunks/{location-mutation-2k8khapm.js → shell-2k8khapm.js} +1 -1
- package/dist/chunks/{location-mutation-kx709rat.js → shell-2rkdvd01.js} +9 -9
- package/dist/chunks/{location-mutation-x5ny37kg.js → shell-2x9qsqkq.js} +9 -9
- package/dist/chunks/{location-mutation-wr1twpvv.js → shell-31y3jm9t.js} +15 -15
- package/dist/chunks/{location-mutation-x5agxrzj.js → shell-332whr7y.js} +33 -33
- package/dist/chunks/{location-mutation-tgamz6xd.js → shell-36cew03x.js} +30 -30
- package/dist/chunks/{location-mutation-xzdkxzdn.js → shell-389yrpaj.js} +18 -18
- package/dist/chunks/{location-mutation-z45aar89.js → shell-3anxtp47.js} +58 -58
- package/dist/chunks/{location-mutation-5z1pcq32.js → shell-3f7mbqst.js} +8 -8
- package/dist/chunks/{location-mutation-gdvy8fx6.js → shell-3fc6dm20.js} +4 -4
- package/dist/chunks/{location-mutation-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-mutation-04fa0zte.js → shell-3hktcy2m.js} +17 -17
- package/dist/chunks/{location-mutation-1q0a1vdp.js → shell-3kq47whm.js} +18 -18
- package/dist/chunks/{location-mutation-haj9q169.js → shell-3m27cd08.js} +30 -30
- package/dist/chunks/{location-mutation-18cztcj7.js → shell-3rx2nwvc.js} +3 -3
- package/dist/chunks/{location-mutation-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-mutation-t51qk8jz.js → shell-3t8eac1t.js} +21 -21
- package/dist/chunks/{location-mutation-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-mutation-dchdcshb.js → shell-42xebk03.js} +23 -23
- package/dist/chunks/{location-mutation-e0cx5qc7.js → shell-4861qdfa.js} +9 -9
- package/dist/chunks/{location-mutation-296ksaqc.js → shell-4aebnyy9.js} +11 -11
- package/dist/chunks/{location-mutation-fkqsehyz.js → shell-4q01a3y3.js} +20 -20
- package/dist/chunks/shell-4v7qdvcn.js +18 -0
- package/dist/chunks/{location-mutation-mt6v2s5x.js → shell-4vxtq0ga.js} +19 -19
- package/dist/chunks/{location-mutation-ccppxhm9.js → shell-4w1d5wb3.js} +16 -16
- package/dist/chunks/{location-mutation-4y66k410.js → shell-4y66k410.js} +2 -2
- package/dist/chunks/{location-mutation-4yg7xpeb.js → shell-512rfa6p.js} +2 -2
- package/dist/chunks/{location-mutation-mfqp6xfm.js → shell-56gdpj1q.js} +6 -6
- package/dist/chunks/{location-mutation-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{location-mutation-gsv5r6kf.js → shell-5ffkwt1e.js} +15 -15
- package/dist/chunks/{location-mutation-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-mutation-tb9k42r5.js → shell-5vn45h4e.js} +24 -24
- package/dist/chunks/{location-mutation-pb6b52mq.js → shell-61jgdnn9.js} +4 -4
- package/dist/chunks/{location-mutation-1cbphejb.js → shell-654qzmht.js} +11 -11
- package/dist/chunks/{location-mutation-669tq793.js → shell-669tq793.js} +1 -1
- package/dist/chunks/{location-mutation-tys5kznf.js → shell-672zjrs9.js} +11 -11
- package/dist/chunks/{location-mutation-9b2f9zrq.js → shell-6djc8d4v.js} +55 -55
- package/dist/chunks/{location-mutation-wpm2rk0p.js → shell-6ea2fwcg.js} +6 -6
- package/dist/chunks/{location-mutation-bh0f28bz.js → shell-6ec7m0j6.js} +23 -23
- package/dist/chunks/{location-mutation-twzh2p7z.js → shell-6j93tkf6.js} +34 -34
- package/dist/chunks/{location-mutation-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-mutation-8hgn0vw2.js → shell-6paxgs6k.js} +9 -9
- package/dist/chunks/{location-mutation-pe2r03fm.js → shell-6w2332aj.js} +10 -10
- package/dist/chunks/{location-mutation-az1fhpt6.js → shell-715pgvxv.js} +13 -13
- package/dist/chunks/{location-mutation-6qff4d9y.js → shell-71b9e1h9.js} +17 -17
- package/dist/chunks/{location-mutation-71q4at8m.js → shell-71q4at8m.js} +1 -1
- package/dist/chunks/{location-mutation-ft05p3sn.js → shell-73n9zkes.js} +9 -9
- package/dist/chunks/{location-mutation-mvfsc1pv.js → shell-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-mutation-hqxy6dek.js → shell-757464b7.js} +8 -8
- package/dist/chunks/shell-75fbrjyy.js +462 -0
- package/dist/chunks/{location-mutation-85wb08hb.js → shell-7a14zr6p.js} +11 -11
- package/dist/chunks/{location-mutation-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-mutation-5rd5fnze.js → shell-7bsq4hvy.js} +77 -77
- package/dist/chunks/{location-mutation-6hk6hw99.js → shell-7gtrf76q.js} +20 -20
- package/dist/chunks/{location-mutation-ead3g9p8.js → shell-7gvwkz6m.js} +5 -5
- package/dist/chunks/{location-mutation-2d6j2h4j.js → shell-7ny3kv6n.js} +8 -8
- package/dist/chunks/{location-mutation-jmz1vw1c.js → shell-7x5zvdqa.js} +24 -24
- package/dist/chunks/{location-mutation-dp6dfv2y.js → shell-7y5sgbz2.js} +16 -16
- package/dist/chunks/{location-mutation-04zt81gk.js → shell-8377ydh1.js} +7 -7
- package/dist/chunks/{location-mutation-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-mutation-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-mutation-r5t0jnx0.js → shell-8wmav03j.js} +10 -10
- package/dist/chunks/{location-mutation-jx4tp4ea.js → shell-8xy1g1m8.js} +15 -15
- package/dist/chunks/{location-mutation-wj6yf6jc.js → shell-938d64v3.js} +6 -6
- package/dist/chunks/{location-mutation-2wts5qzq.js → shell-97h7kfy1.js} +8 -8
- package/dist/chunks/{location-mutation-c8sngd2z.js → shell-9cp1yb9s.js} +4 -4
- package/dist/chunks/{location-mutation-63zxe2e6.js → shell-9ejs86te.js} +26 -26
- package/dist/chunks/{location-mutation-6fz87ewy.js → shell-9fgx6pd5.js} +14 -14
- package/dist/chunks/{location-mutation-qmr73083.js → shell-9h3amn4q.js} +1 -1
- package/dist/chunks/{location-mutation-vng2d7qe.js → shell-9wc1evxj.js} +22 -22
- package/dist/chunks/{location-mutation-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-mutation-b8ymqkg2.js → shell-a4nqgkt6.js} +2 -2
- package/dist/chunks/{location-mutation-h7dpqqdj.js → shell-a4x50hwg.js} +25 -25
- package/dist/chunks/{location-mutation-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{location-mutation-y7jb9f2a.js → shell-adhzpfb7.js} +30 -30
- package/dist/chunks/{location-mutation-80e0yyk8.js → shell-ak72jphr.js} +10 -10
- package/dist/chunks/{location-mutation-mb6hfgj3.js → shell-amj36hnk.js} +14 -14
- package/dist/chunks/{location-mutation-7b15y959.js → shell-asmz7wyz.js} +8 -8
- package/dist/chunks/{location-mutation-b6qrdxz2.js → shell-b19dgzvs.js} +1 -1
- package/dist/chunks/{location-mutation-7zpxrbmk.js → shell-b1sq7v9m.js} +30 -30
- package/dist/chunks/{location-mutation-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-mutation-xhmq8qgk.js → shell-b8b3f19r.js} +9 -9
- package/dist/chunks/{location-mutation-cq37gk0t.js → shell-bha4atvq.js} +4 -4
- package/dist/chunks/{location-mutation-n97nf603.js → shell-bjke5af1.js} +11 -11
- package/dist/chunks/{location-mutation-z9s3hg1t.js → shell-bw668rws.js} +24 -24
- package/dist/chunks/{location-mutation-wa2y7qva.js → shell-bx61q0p6.js} +27 -27
- package/dist/chunks/{location-mutation-c156ep7e.js → shell-c156ep7e.js} +2 -2
- package/dist/chunks/{location-mutation-7bt6nz5z.js → shell-c255b86t.js} +20 -20
- package/dist/chunks/{location-mutation-a4exdnt3.js → shell-c3w8sn3d.js} +4 -4
- package/dist/chunks/{location-mutation-f9bavhm2.js → shell-cek2cznd.js} +1 -1
- package/dist/chunks/{location-mutation-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-mutation-12h4n3rk.js → shell-cjmk82ph.js} +47 -47
- package/dist/chunks/{location-mutation-81swgkk7.js → shell-cntxze1n.js} +9 -9
- package/dist/chunks/{location-mutation-637tx434.js → shell-csveq9pc.js} +25 -25
- package/dist/chunks/{location-mutation-sz1p02ts.js → shell-cxq7hy6v.js} +17 -17
- package/dist/chunks/{location-mutation-5cd9q45n.js → shell-d52p5a3y.js} +17 -17
- package/dist/chunks/{location-mutation-zj09a0ew.js → shell-d8nc1xcx.js} +4 -4
- package/dist/chunks/shell-dad7qjyt.js +22 -0
- package/dist/chunks/{location-mutation-z8md75e6.js → shell-dghm81pm.js} +45 -45
- package/dist/chunks/{location-mutation-jvyfkbwy.js → shell-dhtqz3j8.js} +23 -23
- package/dist/chunks/{location-mutation-y71avatq.js → shell-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-mutation-man06fk9.js → shell-dya1x8f2.js} +5 -5
- package/dist/chunks/{location-mutation-1n20r6fn.js → shell-e119c6wb.js} +4 -4
- package/dist/chunks/{location-mutation-rhjbct0v.js → shell-eaj1djv9.js} +8 -8
- package/dist/chunks/{location-mutation-qskqt98q.js → shell-ekj7r0kp.js} +10 -10
- package/dist/chunks/{location-mutation-sf7shepb.js → shell-enq4mbeq.js} +28 -28
- package/dist/chunks/{location-mutation-hknm424e.js → shell-epxwh5rt.js} +25 -25
- package/dist/chunks/{location-mutation-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-mutation-tn0aqsam.js → shell-evbgk2k8.js} +5 -5
- package/dist/chunks/{location-mutation-dzn5j78v.js → shell-f0fgzphd.js} +9 -9
- package/dist/chunks/{location-mutation-yp2x3t23.js → shell-f2n192rq.js} +4 -4
- package/dist/chunks/{location-mutation-kgd24eq0.js → shell-f3rhz1g8.js} +69 -69
- package/dist/chunks/{location-mutation-70nf62s1.js → shell-f40x834m.js} +16 -16
- package/dist/chunks/{location-mutation-f828m53h.js → shell-f828m53h.js} +2 -2
- package/dist/chunks/{location-mutation-smrf4wxt.js → shell-fdeq67q0.js} +7 -7
- package/dist/chunks/{location-mutation-gvphacjb.js → shell-fe9854a7.js} +12 -12
- package/dist/chunks/{location-mutation-jfqtm2ew.js → shell-fm2qvscf.js} +4 -4
- package/dist/chunks/{location-mutation-sv9bpgvh.js → shell-fmxbrafm.js} +5 -5
- package/dist/chunks/{location-mutation-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-mutation-571yh8bb.js → shell-fzgk925k.js} +11 -11
- package/dist/chunks/{location-mutation-f2jpp81c.js → shell-fzmz3zsx.js} +4 -4
- package/dist/chunks/{location-mutation-0kw5trp8.js → shell-g0jbyvt7.js} +9 -9
- package/dist/chunks/{location-mutation-bawp00e5.js → shell-gb75dd12.js} +9 -9
- package/dist/chunks/{location-mutation-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-mutation-q5q9511b.js → shell-gdbnz73m.js} +11 -11
- package/dist/chunks/{location-mutation-fw83hase.js → shell-gjmwt3yh.js} +18 -18
- package/dist/chunks/{location-mutation-4hzrtyw9.js → shell-gm14zrge.js} +3 -3
- package/dist/chunks/{location-mutation-2n26ff9a.js → shell-gnp2cdh9.js} +8 -8
- package/dist/chunks/{location-mutation-ky16kd9n.js → shell-gqcgtd7m.js} +7 -7
- package/dist/chunks/{location-mutation-m70sbz6t.js → shell-gst7axd9.js} +4 -4
- package/dist/chunks/{location-mutation-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-mutation-qwhswr8m.js → shell-gvmwhjkb.js} +41 -41
- package/dist/chunks/{location-mutation-h03wrkyp.js → shell-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-mutation-x6ft23h3.js → shell-h5mtjt0m.js} +37 -37
- package/dist/chunks/{location-mutation-77rvk4xz.js → shell-h6mds1av.js} +38 -38
- package/dist/chunks/{location-mutation-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-mutation-b7wncpqh.js → shell-h8aw6exk.js} +27 -27
- package/dist/chunks/{location-mutation-jv01nqvq.js → shell-hnr5yq9h.js} +5 -5
- package/dist/chunks/{location-mutation-747qv6w8.js → shell-hr0by3dc.js} +24 -24
- package/dist/chunks/{location-mutation-pwd7dmcs.js → shell-hvgm9eqs.js} +39 -39
- package/dist/chunks/{location-mutation-cqbr1vk1.js → shell-hxqw5f62.js} +5 -5
- package/dist/chunks/{location-mutation-qkj99dmd.js → shell-hz0670sp.js} +32 -32
- package/dist/chunks/{location-mutation-j0qfb1wd.js → shell-j2x4pfpm.js} +8 -8
- package/dist/chunks/{location-mutation-e32h91zq.js → shell-j3gzjeh1.js} +15 -15
- package/dist/chunks/{location-mutation-d9wr29te.js → shell-j4xvd28z.js} +23 -23
- package/dist/chunks/{location-mutation-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{location-mutation-7w99qc9d.js → shell-j7wq2tw5.js} +3 -3
- package/dist/chunks/{location-mutation-spt9fbav.js → shell-j8zzr2am.js} +5 -5
- package/dist/chunks/{location-mutation-eqzc4rd8.js → shell-jmm61hn9.js} +33 -33
- package/dist/chunks/{location-mutation-4jmw8br6.js → shell-jq0xap4z.js} +9 -9
- package/dist/chunks/{location-mutation-d71nv30s.js → shell-jte6my49.js} +11 -11
- package/dist/chunks/{location-mutation-9zmx7hkd.js → shell-jvcjtfdj.js} +5 -5
- package/dist/chunks/{location-mutation-t2md336t.js → shell-jx9pvz9q.js} +21 -21
- package/dist/chunks/{location-mutation-n1sh6d89.js → shell-jyf8w563.js} +28 -28
- package/dist/chunks/{location-mutation-ra3qct3x.js → shell-ka2k270b.js} +8 -8
- package/dist/chunks/{location-mutation-kg06axw8.js → shell-kg06axw8.js} +1 -1
- package/dist/chunks/{location-mutation-qr27hz8v.js → shell-knd1qvh0.js} +4 -4
- package/dist/chunks/{location-mutation-v8ch97zc.js → shell-m43qeqsy.js} +1 -1
- package/dist/chunks/{location-mutation-g47jg2vw.js → shell-m9j2dexz.js} +6 -6
- package/dist/chunks/{location-mutation-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-mutation-mkcjrzeh.js → shell-mkcjrzeh.js} +1 -1
- package/dist/chunks/{location-mutation-snf8m0c5.js → shell-mme1bqhm.js} +22 -22
- package/dist/chunks/{location-mutation-h0h2ngkj.js → shell-mvvn0xpn.js} +40 -40
- package/dist/chunks/{location-mutation-nmjqh6cp.js → shell-mypwhdkk.js} +6 -6
- package/dist/chunks/{location-mutation-asqcfpfy.js → shell-n47h4z4n.js} +18 -18
- package/dist/chunks/{location-mutation-ap3k7sg2.js → shell-n9bzgvrq.js} +17 -17
- package/dist/chunks/{location-mutation-j1fbmsb9.js → shell-nbegex03.js} +18 -18
- package/dist/chunks/shell-nbtt6k6e.js +247 -0
- package/dist/chunks/{location-mutation-jy16bfac.js → shell-nc3fjawf.js} +1 -1
- package/dist/chunks/{location-mutation-e82z9tr0.js → shell-nhy5jxhy.js} +7 -7
- package/dist/chunks/{location-mutation-89w2cmtz.js → shell-nsnmc6vq.js} +4 -4
- package/dist/chunks/{location-mutation-6kyz0a76.js → shell-nv5vn7qx.js} +4 -4
- package/dist/chunks/{location-mutation-5dxs6qr8.js → shell-nx3vg62n.js} +7 -7
- package/dist/chunks/{location-mutation-53xfefbr.js → shell-p5zja7w3.js} +20 -20
- package/dist/chunks/{location-mutation-83fqv4x7.js → shell-p688tfyr.js} +15 -15
- package/dist/chunks/{location-mutation-j935v87r.js → shell-paphc93g.js} +2 -2
- package/dist/chunks/{location-mutation-k52252t7.js → shell-pck3w1ab.js} +4 -4
- package/dist/chunks/{location-mutation-d3m4r55y.js → shell-pe83jqzf.js} +11 -11
- package/dist/chunks/{location-mutation-mjagy123.js → shell-pfq1ksym.js} +5 -5
- package/dist/chunks/{location-mutation-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-mutation-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{location-mutation-jmpfh3z1.js → shell-ppkgn7jr.js} +7 -7
- package/dist/chunks/{location-mutation-pgw3y3wg.js → shell-q0jfp978.js} +15 -15
- package/dist/chunks/{location-mutation-wjr16z6c.js → shell-q95phfw2.js} +8 -8
- package/dist/chunks/{location-mutation-gm2zqcej.js → shell-qfcxkg9x.js} +3 -3
- package/dist/chunks/{location-mutation-8ynr4gjm.js → shell-qfehbndj.js} +21 -21
- package/dist/chunks/{location-mutation-asn1qnte.js → shell-qfzde7bh.js} +6 -6
- package/dist/chunks/{location-mutation-3e7ffj60.js → shell-qm9qwyxs.js} +38 -38
- package/dist/chunks/{location-mutation-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{location-mutation-e6wc2y3c.js → shell-qse8x9va.js} +41 -41
- package/dist/chunks/{location-mutation-j8q1z7ne.js → shell-qwkytnft.js} +9 -9
- package/dist/chunks/{location-mutation-0r11rtsk.js → shell-qyxzwjwr.js} +12 -12
- package/dist/chunks/{location-mutation-vzr156n0.js → shell-r4gvnsqg.js} +20 -20
- package/dist/chunks/{location-mutation-r9mregkx.js → shell-r9mregkx.js} +2 -2
- package/dist/chunks/{location-mutation-gx1zhcta.js → shell-rfnzy394.js} +1 -1
- package/dist/chunks/{location-mutation-5t8mrke1.js → shell-rfwb5caz.js} +7 -7
- package/dist/chunks/{location-mutation-hm89ty9d.js → shell-rgzjdtpz.js} +8 -8
- package/dist/chunks/{location-mutation-jnpghpvp.js → shell-rkgfyfhg.js} +26 -26
- package/dist/chunks/{location-mutation-3936rd12.js → shell-rs9gpnz9.js} +9 -9
- package/dist/chunks/{location-mutation-xqbw2bk3.js → shell-ryq1d4nq.js} +5 -5
- package/dist/chunks/{location-mutation-j1ggw692.js → shell-s3p732vg.js} +20 -20
- package/dist/chunks/{location-mutation-e8b04kk5.js → shell-see2wqs9.js} +6 -6
- package/dist/chunks/{location-mutation-49w8mb30.js → shell-srhw5zxk.js} +11 -11
- package/dist/chunks/{location-mutation-kxvrt3nb.js → shell-ss07yt36.js} +9 -9
- package/dist/chunks/{location-mutation-xvkxhetf.js → shell-sykm9ny3.js} +14 -14
- package/dist/chunks/{location-mutation-t0x5rdq8.js → shell-t0x5rdq8.js} +2 -2
- package/dist/chunks/{location-mutation-feypdcbr.js → shell-t2js6s8h.js} +7 -7
- package/dist/chunks/{location-mutation-912kd3r4.js → shell-t4mdcchx.js} +6 -6
- package/dist/chunks/{location-mutation-ve2fbp41.js → shell-t7m3zm2g.js} +44 -44
- package/dist/chunks/{location-mutation-fschjpvb.js → shell-t89hfesc.js} +9 -9
- package/dist/chunks/{location-mutation-pjsmk15p.js → shell-t97t2t7r.js} +17 -17
- package/dist/chunks/{location-mutation-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-mutation-89znhe33.js → shell-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-mutation-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{location-mutation-tvtrv512.js → shell-tvtrv512.js} +1 -1
- package/dist/chunks/{location-mutation-t54ryj5x.js → shell-tyxx41mz.js} +24 -24
- package/dist/chunks/{location-mutation-a796k6fq.js → shell-v0rxpvp8.js} +34 -34
- package/dist/chunks/{location-mutation-342kvb74.js → shell-v76skvps.js} +17 -17
- package/dist/chunks/{location-mutation-fcqvj3n7.js → shell-v7sgzh50.js} +15 -15
- package/dist/chunks/{location-mutation-fm8wb4j7.js → shell-v9dy98q8.js} +23 -23
- package/dist/chunks/{location-mutation-bct739vz.js → shell-ve4pfa0n.js} +4 -4
- package/dist/chunks/{location-mutation-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{location-mutation-k7kh0egq.js → shell-vjvqmxr3.js} +28 -28
- package/dist/chunks/{location-mutation-wncr9p85.js → shell-vs31b0rs.js} +26 -26
- package/dist/chunks/{location-mutation-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-mutation-64kphnzf.js → shell-w1k39n5e.js} +4 -4
- package/dist/chunks/{location-mutation-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-mutation-f671wqhj.js → shell-w79gqzfd.js} +24 -24
- package/dist/chunks/{location-mutation-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{location-mutation-p0vh84wg.js → shell-wf190fkx.js} +17 -17
- package/dist/chunks/{location-mutation-btzz461g.js → shell-wpvxq4mk.js} +5 -5
- package/dist/chunks/{location-mutation-31dz7cp4.js → shell-wyam1r5m.js} +1 -1
- package/dist/chunks/{location-mutation-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-mutation-85rbpgj8.js → shell-x3vadacb.js} +10 -10
- package/dist/chunks/{location-mutation-tsf1qnrv.js → shell-x56sq1v7.js} +26 -26
- package/dist/chunks/{location-mutation-nng2ktcm.js → shell-xg9t41r3.js} +2 -2
- package/dist/chunks/{location-mutation-s3gbpz7c.js → shell-xkpcsvae.js} +20 -20
- package/dist/chunks/{location-mutation-xh1q604s.js → shell-xpky65xt.js} +6 -6
- package/dist/chunks/{location-mutation-c5c7sgyy.js → shell-xtwh079d.js} +9 -9
- package/dist/chunks/{location-mutation-1ah30sey.js → shell-xvs1sa11.js} +5 -5
- package/dist/chunks/{location-mutation-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-mutation-c8e2bgmv.js → shell-y2d29fce.js} +24 -24
- package/dist/chunks/{location-mutation-ncsxxtr1.js → shell-yb9t9wk7.js} +18 -18
- package/dist/chunks/{location-mutation-j6efsrek.js → shell-ycbn6r48.js} +41 -41
- package/dist/chunks/{location-mutation-zn1jgpf6.js → shell-ydpamykn.js} +6 -6
- package/dist/chunks/{location-mutation-7kemcmc0.js → shell-yj9j0m2y.js} +160 -160
- package/dist/chunks/{location-mutation-jefma2gq.js → shell-yjqv8qmq.js} +10 -10
- package/dist/chunks/{location-mutation-7thdeaez.js → shell-ymem0t2p.js} +24 -24
- package/dist/chunks/{location-mutation-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-mutation-s4enseaf.js → shell-yrznvahk.js} +2 -2
- package/dist/chunks/{location-mutation-exy6h62f.js → shell-yxdv66k0.js} +13 -13
- package/dist/chunks/{location-mutation-tfdq7ztr.js → shell-yxq5295s.js} +29 -29
- package/dist/chunks/{location-mutation-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-mutation-29x78va6.js → shell-z63w68vq.js} +6 -6
- package/dist/chunks/{location-mutation-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-mutation-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-mutation-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +88 -88
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +103 -103
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +94 -94
- package/dist/git.js +7 -7
- 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 +3 -3
- 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/id/id.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 +354 -354
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +81 -81
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +351 -351
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +96 -96
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +83 -83
- package/dist/model.js +6 -6
- package/dist/models-dev.js +79 -79
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +146 -146
- 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 +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +3 -3
- package/dist/session/move.js +123 -123
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- 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 +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +89 -89
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/location-mutation-6anyb8h7.js +0 -247
- package/dist/chunks/location-mutation-hxa7m5za.js +0 -4
- package/dist/chunks/location-mutation-pf31ssb9.js +0 -18
- package/dist/chunks/location-mutation-w0hyv3ry.js +0 -22
- package/dist/chunks/location-mutation-x8eemgzv.js +0 -462
- /package/dist/chunks/{location-mutation-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-mutation-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-mutation-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-mutation-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-mutation-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-mutation-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-mutation-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-mutation-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-mutation-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-mutation-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{location-mutation-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-mutation-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-mutation-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-mutation-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-mutation-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-mutation-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-mutation-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-mutation-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{location-mutation-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-mutation-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{location-mutation-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-mutation-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-mutation-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{location-mutation-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-mutation-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-mutation-922hggd3.js → shell-922hggd3.js} +0 -0
- /package/dist/chunks/{location-mutation-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-mutation-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-mutation-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-mutation-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-mutation-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-mutation-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-mutation-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-mutation-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-mutation-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-mutation-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-mutation-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-mutation-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-mutation-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-mutation-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-mutation-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-mutation-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{location-mutation-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-mutation-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-mutation-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-mutation-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-mutation-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-mutation-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-mutation-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-mutation-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-mutation-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-mutation-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-mutation-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-mutation-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-mutation-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{location-mutation-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-mutation-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{location-mutation-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-mutation-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{location-mutation-hrnqkpcd.js → shell-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-mutation-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-mutation-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-mutation-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-mutation-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-mutation-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mutation-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-mutation-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-mutation-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-mutation-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-mutation-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-mutation-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-mutation-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-mutation-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-mutation-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-mutation-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-mutation-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-mutation-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-mutation-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-mutation-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-mutation-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-mutation-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-mutation-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-mutation-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-mutation-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-mutation-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-mutation-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{location-mutation-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-mutation-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-mutation-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-mutation-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-mutation-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-mutation-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./shell-0gm9s4gg.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
deletePatch2,
|
|
11
11
|
countPatch2,
|
|
12
12
|
chunksByFile2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-tazgh4e4.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-191q2am9.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin37,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin37 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service73;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin37, exports_hg };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-pe83jqzf.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service67
|
|
7
|
+
} from "./shell-36cew03x.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID5,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-vjvqmxr3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID9
|
|
14
|
+
} from "./shell-7ny3kv6n.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID9.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID5.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service67;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID5.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-h6mds1av.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service73,
|
|
9
|
+
node78
|
|
10
|
+
} from "./shell-0gm9s4gg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service69,
|
|
13
|
+
node74
|
|
14
|
+
} from "./shell-3anxtp47.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service58,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node61,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service58 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service73;
|
|
61
|
+
const permission = yield* Service69;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service58.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node61 = makeLocationNode({ service: Service58, layer, deps: [FSUtil.node, node78, node74] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service58, resolvePath2, node61, exports_file_access };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-938d64v3.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-qfcxkg9x.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service61
|
|
4
|
+
} from "./shell-ycbn6r48.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin7
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin7 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service61;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin17 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin7, exports_websearch };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_tool_output2, {
|
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
21
|
Service: () => Service64,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node67
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
142
|
+
var node67 = makeLocationNode({
|
|
143
143
|
service: Service64,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service64,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service64, node67, exports_tool_output2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service37,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service37 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service37, exports_runner };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/directory.ts
|
|
9
9
|
var exports_directory = {};
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service61
|
|
7
|
+
} from "./shell-ycbn6r48.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service63
|
|
13
|
+
} from "./shell-5vn45h4e.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service43
|
|
16
|
+
} from "./shell-p688tfyr.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service69
|
|
19
|
+
} from "./shell-3anxtp47.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service58,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shell-gjmwt3yh.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./shell-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service65,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./shell-v7sgzh50.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError7,
|
|
36
|
+
Service59
|
|
37
|
+
} from "./shell-t7m3zm2g.js";
|
|
38
38
|
import {
|
|
39
39
|
Service18
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./shell-f3rhz1g8.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./shell-04n8fpsx.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./shell-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input9,
|
|
53
|
+
Plugin: () => Plugin27,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name9
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name9 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input9 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin27 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
121
|
const sessions = yield* Service18;
|
|
122
|
-
const jobs = yield*
|
|
122
|
+
const jobs = yield* Service43;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service63;
|
|
125
|
+
const access = yield* Service58;
|
|
126
|
+
const shell = yield* Service59;
|
|
127
|
+
const shellSelect = yield* Service65;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service69;
|
|
130
|
+
const config = yield* Service61;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin42 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name9,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin42 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name9,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input9,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin42 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError7({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name9,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name9];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
257
257
|
})
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
-
export {
|
|
260
|
+
export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin27, exports_shell2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service73
|
|
9
|
+
} from "./shell-0gm9s4gg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service63
|
|
12
|
+
} from "./shell-5vn45h4e.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service17
|
|
15
|
+
} from "./shell-nbegex03.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Entry2
|
|
21
|
+
} from "./shell-h8aw6exk.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service69
|
|
24
|
+
} from "./shell-3anxtp47.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service58
|
|
27
|
+
} from "./shell-gjmwt3yh.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./shell-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: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input12,
|
|
37
|
+
Output: () => Output8,
|
|
38
|
+
Plugin: () => Plugin30,
|
|
39
|
+
name: () => name12,
|
|
40
|
+
toModelContent: () => toModelContent6
|
|
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 name12 = "glob";
|
|
46
|
+
var Input12 = 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."
|
|
@@ -55,35 +55,35 @@ var Input5 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output8 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent6 = (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 Plugin30 = {
|
|
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* Service63;
|
|
70
|
+
const ripgrep = yield* Service17;
|
|
71
|
+
const location = yield* Service73;
|
|
72
|
+
const access = yield* Service58;
|
|
73
|
+
const permission = yield* Service69;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name12,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input12,
|
|
79
|
+
output: Output8,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
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: name12,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -111,18 +111,18 @@ var Plugin36 = {
|
|
|
111
111
|
orElse: () => Effect.fail(new ToolFailure({
|
|
112
112
|
message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
|
|
113
113
|
}))
|
|
114
|
-
}), Effect.map((result) => result.map((entry) =>
|
|
114
|
+
}), Effect.map((result) => result.map((entry) => Entry2.make({
|
|
115
115
|
...entry,
|
|
116
116
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
|
|
117
117
|
}))));
|
|
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: toModelContent6(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 { name12, Input12, Output8, toModelContent6, Plugin30, exports_glob };
|