@opencode/core 0.0.0-dev-21801 → 0.0.0-dev-21802
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 +85 -85
- package/dist/aisdk-native.js +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{tool-output-034tev2y.js → location-034tev2y.js} +2 -2
- package/dist/chunks/{tool-output-6285fq4d.js → location-04s74fx7.js} +8 -8
- package/dist/chunks/{tool-output-ztsh3kna.js → location-075x5646.js} +16 -16
- package/dist/chunks/{tool-output-eyhcn785.js → location-0aqnrq7x.js} +35 -35
- package/dist/chunks/{tool-output-2p2a88gw.js → location-0bpkyfh4.js} +22 -22
- package/dist/chunks/{tool-output-p2y1bt5g.js → location-0d0matx1.js} +32 -32
- package/dist/chunks/{tool-output-1xfs8wvw.js → location-0ear39jp.js} +11 -11
- package/dist/chunks/{tool-output-n2a2fj9v.js → location-0hc0bbs9.js} +4 -4
- package/dist/chunks/{tool-output-cj0twgab.js → location-0nykq6f5.js} +21 -21
- package/dist/chunks/{tool-output-w7zjqt6n.js → location-0q213vj2.js} +4 -4
- package/dist/chunks/{tool-output-cee096dw.js → location-15hh3cbc.js} +8 -8
- package/dist/chunks/{tool-output-6aqbrqep.js → location-16mb5f8v.js} +33 -33
- package/dist/chunks/{tool-output-pqp4ah5f.js → location-17a3f6rk.js} +44 -44
- package/dist/chunks/{tool-output-7nv1f492.js → location-1ccg85h0.js} +18 -18
- package/dist/chunks/{tool-output-1ep2p91f.js → location-1ep2p91f.js} +2 -2
- package/dist/chunks/{tool-output-szfa6w1b.js → location-1h4xhwew.js} +23 -23
- package/dist/chunks/{tool-output-h7pf2zmx.js → location-1rx1hnzt.js} +2 -2
- package/dist/chunks/{tool-output-8xppqwrp.js → location-1s73zfxt.js} +18 -18
- package/dist/chunks/{tool-output-n2b0dnay.js → location-1vd7snte.js} +42 -42
- package/dist/chunks/{tool-output-1x2knyw4.js → location-1x2knyw4.js} +1 -1
- package/dist/chunks/{tool-output-1y0wdj51.js → location-1y0wdj51.js} +1 -1
- package/dist/chunks/{tool-output-v6h5bgwd.js → location-231a8wys.js} +8 -8
- package/dist/chunks/{tool-output-3j1ep4vq.js → location-26sbc8wa.js} +26 -26
- package/dist/chunks/{tool-output-whcqjvyx.js → location-288dktsv.js} +4 -4
- package/dist/chunks/{tool-output-ptatd3p6.js → location-2bmn10af.js} +8 -8
- package/dist/chunks/{tool-output-0c7nc8tn.js → location-2f2nr3wk.js} +11 -11
- package/dist/chunks/{tool-output-60p7g2te.js → location-2s1jcspe.js} +11 -11
- package/dist/chunks/{tool-output-aeb4sny1.js → location-2xwkyk0m.js} +5 -5
- package/dist/chunks/{tool-output-2z1j29yd.js → location-2z1j29yd.js} +1 -1
- package/dist/chunks/{tool-output-h91kcahz.js → location-3753v25r.js} +20 -20
- package/dist/chunks/{tool-output-5frcv4v0.js → location-3aj7rrf8.js} +14 -14
- package/dist/chunks/{tool-output-hkfp46ja.js → location-3azbbmvr.js} +17 -17
- package/dist/chunks/{tool-output-nd41fner.js → location-3bn9zxbg.js} +11 -11
- package/dist/chunks/{tool-output-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-output-3nnrz6f6.js → location-3nnrz6f6.js} +1 -1
- package/dist/chunks/{tool-output-4aqtdhks.js → location-3r5s1csz.js} +37 -37
- package/dist/chunks/{tool-output-3ryz99p0.js → location-3ryz99p0.js} +1 -1
- package/dist/chunks/{tool-output-y1zpvem5.js → location-3shw1cbx.js} +11 -11
- package/dist/chunks/{tool-output-w2eysc6j.js → location-40za9wsf.js} +9 -9
- package/dist/chunks/{tool-output-61ennm6n.js → location-42jd4697.js} +4 -4
- package/dist/chunks/{tool-output-y8c2g656.js → location-48fr60f0.js} +4 -4
- package/dist/chunks/{tool-output-hfqv7x4d.js → location-4c9pmv36.js} +14 -14
- package/dist/chunks/{tool-output-2bexbmx7.js → location-4cggrrsp.js} +1 -1
- package/dist/chunks/{tool-output-2dfk453x.js → location-4f258480.js} +25 -25
- package/dist/chunks/{tool-output-pq9y035p.js → location-4f51t6yt.js} +29 -29
- package/dist/chunks/{tool-output-4v008n1t.js → location-4v008n1t.js} +1 -1
- package/dist/chunks/{tool-output-9nha6yk0.js → location-4zw1mhch.js} +10 -10
- package/dist/chunks/{tool-output-1tvtyxqv.js → location-53ehad73.js} +11 -11
- package/dist/chunks/{tool-output-zt7g3tem.js → location-543xpwr1.js} +17 -17
- package/dist/chunks/{tool-output-5m9w47nd.js → location-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-output-0tfekwr7.js → location-5pjcmgbp.js} +3 -3
- package/dist/chunks/{tool-output-s219wa1v.js → location-5rffp0ca.js} +27 -27
- package/dist/chunks/location-6617700v.js +26 -0
- package/dist/chunks/{tool-output-pr31xtm2.js → location-67fvqagb.js} +42 -42
- package/dist/chunks/{tool-output-81a9zpe2.js → location-6ejgy672.js} +8 -8
- package/dist/chunks/{tool-output-6esdw8yj.js → location-6esdw8yj.js} +1 -1
- package/dist/chunks/{tool-output-s0j4vfyb.js → location-6grvz7sb.js} +19 -19
- package/dist/chunks/{tool-output-6pjqjmy2.js → location-6pjqjmy2.js} +1 -1
- package/dist/chunks/{tool-output-crj5e783.js → location-6pns0xkq.js} +11 -11
- package/dist/chunks/{tool-output-8tapzm2v.js → location-6qzrsg19.js} +13 -13
- package/dist/chunks/{tool-output-nj719txd.js → location-6rrz3dm6.js} +4 -4
- package/dist/chunks/{tool-output-fwjrth66.js → location-6s8srms1.js} +25 -25
- package/dist/chunks/{tool-output-1v9xeggz.js → location-6xvr7jf7.js} +5 -5
- package/dist/chunks/{tool-output-3kdbrncp.js → location-6y263vp8.js} +5 -5
- package/dist/chunks/{tool-output-3nzkha57.js → location-6ypa0r1z.js} +34 -34
- package/dist/chunks/{tool-output-fj83etc5.js → location-73ws2247.js} +71 -71
- package/dist/chunks/{tool-output-76cb1hcw.js → location-76cb1hcw.js} +1 -1
- package/dist/chunks/{tool-output-770pw0s1.js → location-770pw0s1.js} +1 -1
- package/dist/chunks/{tool-output-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-output-7w2ypzdf.js → location-7w2ypzdf.js} +1 -1
- package/dist/chunks/{tool-output-y288cn10.js → location-8ggafv1b.js} +12 -12
- package/dist/chunks/{tool-output-aqk6p4c3.js → location-8j2gg8hq.js} +21 -21
- package/dist/chunks/{tool-output-12tah04a.js → location-8n0m92g8.js} +9 -9
- package/dist/chunks/{tool-output-n92mzsnh.js → location-8nsfhtx4.js} +44 -44
- package/dist/chunks/{tool-output-vpm8vpz0.js → location-8whp40kv.js} +3 -3
- package/dist/chunks/{tool-output-8wtp7s3z.js → location-8wtp7s3z.js} +1 -1
- package/dist/chunks/{tool-output-91rj84md.js → location-91rj84md.js} +1 -1
- package/dist/chunks/{tool-output-k299vwjx.js → location-984v65na.js} +17 -17
- package/dist/chunks/{tool-output-998yhzzq.js → location-998yhzzq.js} +3 -3
- package/dist/chunks/{tool-output-r01d67gn.js → location-9b1bq8k1.js} +5 -5
- package/dist/chunks/{tool-output-gj8x1tda.js → location-9b28cy4d.js} +5 -5
- package/dist/chunks/{tool-output-s42e18rn.js → location-9bag7kem.js} +8 -8
- package/dist/chunks/{tool-output-a3h99bw5.js → location-9btvkpqm.js} +9 -9
- package/dist/chunks/{tool-output-n0p0277s.js → location-9cx9sm2q.js} +2 -2
- package/dist/chunks/{tool-output-63hkdzbg.js → location-9je5s229.js} +4 -4
- package/dist/chunks/{tool-output-jneg3k74.js → location-9p9xqj3m.js} +6 -6
- package/dist/chunks/{tool-output-p819tdyr.js → location-a0stp6fn.js} +9 -9
- package/dist/chunks/{tool-output-yt31zvs0.js → location-a4g64ecz.js} +24 -24
- package/dist/chunks/{tool-output-vtwv18h8.js → location-a59j6a4y.js} +12 -12
- package/dist/chunks/{tool-output-4pw54185.js → location-a6g0efdt.js} +38 -38
- package/dist/chunks/{tool-output-a7hcemwv.js → location-a7hcemwv.js} +3 -3
- package/dist/chunks/{tool-output-3p7agaaw.js → location-ab01g4cm.js} +9 -9
- package/dist/chunks/{tool-output-9jbwxrha.js → location-af84d9dx.js} +22 -22
- package/dist/chunks/{tool-output-ncnmhedn.js → location-ag7xc6h3.js} +15 -15
- package/dist/chunks/{tool-output-dwvvx6r2.js → location-agxdnhx2.js} +33 -33
- package/dist/chunks/{tool-output-a8803444.js → location-ahnc65m5.js} +9 -9
- package/dist/chunks/{tool-output-f27y7cht.js → location-amtc5egd.js} +42 -42
- package/dist/chunks/{tool-output-4gxtsg4q.js → location-at9bq00k.js} +37 -37
- package/dist/chunks/{tool-output-end82zqt.js → location-avxtkthz.js} +87 -87
- package/dist/chunks/{tool-output-a7549q9v.js → location-aw8nv5py.js} +24 -24
- package/dist/chunks/{tool-output-ayjs7tqn.js → location-ayjs7tqn.js} +2 -2
- package/dist/chunks/{tool-output-b0mv4wxm.js → location-b0mv4wxm.js} +2 -2
- package/dist/chunks/{tool-output-b6vsg801.js → location-b6vsg801.js} +2 -2
- package/dist/chunks/{tool-output-bebb3at9.js → location-b8w355z9.js} +9 -9
- package/dist/chunks/{tool-output-59fxmd0j.js → location-b92bqb2e.js} +28 -28
- package/dist/chunks/{tool-output-2qj28n5c.js → location-bhaqjw7f.js} +6 -6
- package/dist/chunks/{tool-output-sqdnmamq.js → location-bkdm27vv.js} +188 -188
- package/dist/chunks/{tool-output-yn23tc2v.js → location-bntc87tw.js} +10 -10
- package/dist/chunks/{tool-output-x4spgazm.js → location-bqwdyg2t.js} +9 -9
- package/dist/chunks/{tool-output-bstexjd6.js → location-bstexjd6.js} +1 -1
- package/dist/chunks/{tool-output-pwgrr4zd.js → location-bxx0c1dy.js} +10 -10
- package/dist/chunks/{tool-output-tpp4aej2.js → location-c06ba7a3.js} +21 -21
- package/dist/chunks/{tool-output-phtcpqdv.js → location-c0hpt3fm.js} +4 -4
- package/dist/chunks/{tool-output-eg0mws0e.js → location-c6jk0q5d.js} +6 -6
- package/dist/chunks/{tool-output-d2887f8n.js → location-c9t2ty9q.js} +4 -4
- package/dist/chunks/{tool-output-p7tpgz5e.js → location-cb3hqvs8.js} +81 -81
- package/dist/chunks/{tool-output-k8wqp3fb.js → location-cb47sqp9.js} +15 -15
- package/dist/chunks/{tool-output-g6yzwk23.js → location-cdq478xq.js} +24 -24
- package/dist/chunks/{tool-output-682mbbtd.js → location-cfchc4zb.js} +4 -4
- package/dist/chunks/{tool-output-8nfppp0x.js → location-cv0k61fs.js} +30 -30
- package/dist/chunks/{tool-output-x7jnexzk.js → location-cxpnepvy.js} +20 -20
- package/dist/chunks/{tool-output-gc2j9dw0.js → location-d126gacg.js} +12 -12
- package/dist/chunks/{tool-output-ebjk3m4h.js → location-d3db3qjf.js} +13 -13
- package/dist/chunks/{tool-output-d4v9tmah.js → location-d4v9tmah.js} +2 -2
- package/dist/chunks/location-d77dj7jw.js +18 -0
- package/dist/chunks/{tool-output-mq1vsyex.js → location-dg4g4j0t.js} +29 -29
- package/dist/chunks/{tool-output-jg6bqjz4.js → location-dgny4tbd.js} +36 -36
- package/dist/chunks/{tool-output-ermtapg2.js → location-dkjms5pz.js} +25 -25
- package/dist/chunks/{tool-output-e834z07m.js → location-e834z07m.js} +1 -1
- package/dist/chunks/{tool-output-3sk8enc1.js → location-ecrg8485.js} +11 -11
- package/dist/chunks/{tool-output-s0xpqnn9.js → location-ehd7jrz2.js} +11 -11
- package/dist/chunks/{tool-output-c58wr0zj.js → location-ej5n7emy.js} +33 -33
- package/dist/chunks/{tool-output-87ksbwny.js → location-embmaz50.js} +38 -38
- package/dist/chunks/{tool-output-x0evmera.js → location-eqc54gfq.js} +6 -6
- package/dist/chunks/{tool-output-kbtbr31d.js → location-eqqpepv4.js} +8 -8
- package/dist/chunks/{tool-output-wx6evs79.js → location-er214sbb.js} +18 -18
- package/dist/chunks/{tool-output-b6pwv5qp.js → location-ete0teby.js} +10 -10
- package/dist/chunks/{tool-output-aja6hfsp.js → location-ewepcnn2.js} +5 -5
- package/dist/chunks/{tool-output-2ge2z4cg.js → location-f4mz2h0w.js} +21 -21
- package/dist/chunks/{tool-output-vj1b4684.js → location-f4sjmcvy.js} +13 -13
- package/dist/chunks/{tool-output-pj6kkmwg.js → location-f4x3m1jb.js} +13 -13
- package/dist/chunks/{tool-output-evx8tntc.js → location-f6939148.js} +6 -6
- package/dist/chunks/{tool-output-f01rz3q1.js → location-f6k1kfp3.js} +46 -46
- package/dist/chunks/{tool-output-jhrcq78y.js → location-f9wg2df5.js} +8 -8
- package/dist/chunks/{tool-output-fffv3p7h.js → location-fffv3p7h.js} +1 -1
- package/dist/chunks/{tool-output-tasvem1v.js → location-fmye6e29.js} +7 -7
- package/dist/chunks/{tool-output-bf946hy9.js → location-fnp0jseg.js} +7 -7
- package/dist/chunks/{tool-output-mj41408h.js → location-fnz8rg5r.js} +6 -6
- package/dist/chunks/{tool-output-bmvgsr22.js → location-ftv2mfjw.js} +1 -1
- package/dist/chunks/{tool-output-fznmdakp.js → location-fznmdakp.js} +1 -1
- package/dist/chunks/{tool-output-g5h9c0rr.js → location-g5h9c0rr.js} +2 -2
- package/dist/chunks/{tool-output-9dj7pbca.js → location-g5tgmp0p.js} +27 -27
- package/dist/chunks/{tool-output-agqd6nxz.js → location-g6dfma3d.js} +6 -6
- package/dist/chunks/{tool-output-pt34v7je.js → location-g9ccq630.js} +52 -52
- package/dist/chunks/location-ge8wzs3p.js +261 -0
- package/dist/chunks/{tool-output-yhgpjx0v.js → location-ghwgmbde.js} +13 -13
- package/dist/chunks/{tool-output-frfzcpgy.js → location-gksz2zdz.js} +12 -12
- package/dist/chunks/{tool-output-2fjzbpqs.js → location-gw9sk7ym.js} +43 -43
- package/dist/chunks/{tool-output-dccrvx04.js → location-gyptvmbk.js} +24 -24
- package/dist/chunks/{tool-output-3q5vep8y.js → location-h2fhca2s.js} +10 -10
- package/dist/chunks/{tool-output-1r0janqk.js → location-h9zgxh73.js} +5 -5
- package/dist/chunks/{tool-output-kya6vn2v.js → location-hdvwg22j.js} +4 -4
- package/dist/chunks/{tool-output-japt42f9.js → location-hn6pth2p.js} +14 -14
- package/dist/chunks/{tool-output-tvfgxhgz.js → location-hpj591dz.js} +16 -16
- package/dist/chunks/{tool-output-j113cymg.js → location-j113cymg.js} +1 -1
- package/dist/chunks/{tool-output-6xaz3aew.js → location-j19v72kq.js} +19 -19
- package/dist/chunks/{tool-output-q3zv3z6r.js → location-ja9tn20r.js} +15 -15
- package/dist/chunks/{tool-output-ratcj3ac.js → location-jb3ek66v.js} +21 -21
- package/dist/chunks/{tool-output-qc02d14w.js → location-jje57wwm.js} +26 -26
- package/dist/chunks/{tool-output-96ym0hte.js → location-jk9f0yn5.js} +5 -5
- package/dist/chunks/{tool-output-wx92ehth.js → location-jsvgjjsg.js} +32 -32
- package/dist/chunks/{tool-output-m666jk6r.js → location-k781pf8j.js} +22 -22
- package/dist/chunks/{tool-output-k814nvkf.js → location-k814nvkf.js} +1 -1
- package/dist/chunks/{tool-output-0srp2sh0.js → location-kdr2amtg.js} +21 -21
- package/dist/chunks/{tool-output-bsqrjjtg.js → location-kj2jaw6z.js} +4 -4
- package/dist/chunks/{tool-output-5kbev7nh.js → location-kkew1p9e.js} +6 -6
- package/dist/chunks/{tool-output-decs4e60.js → location-km5sdhrx.js} +53 -53
- package/dist/chunks/{tool-output-nn0x9b8s.js → location-kme5wqcz.js} +20 -20
- package/dist/chunks/{tool-output-kt3bjfbg.js → location-kt3bjfbg.js} +1 -1
- package/dist/chunks/{tool-output-m1714858.js → location-m1714858.js} +1 -1
- package/dist/chunks/{tool-output-m37sd98t.js → location-m37sd98t.js} +1 -1
- package/dist/chunks/{tool-output-39k15pn6.js → location-m7nf5dp7.js} +18 -18
- package/dist/chunks/{tool-output-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-output-5fgbm0wv.js → location-ma9n1kat.js} +3 -3
- package/dist/chunks/{tool-output-maspj1v3.js → location-maspj1v3.js} +1 -1
- package/dist/chunks/{tool-output-ggsx9dmr.js → location-mc0e6tx9.js} +30 -30
- package/dist/chunks/{tool-output-gc804zz3.js → location-mjx1xb4v.js} +11 -11
- package/dist/chunks/{tool-output-1cyprt5w.js → location-mnex4cdr.js} +5 -5
- package/dist/chunks/{tool-output-9vd6zvz7.js → location-mw1hb2pb.js} +19 -19
- package/dist/chunks/{tool-output-y8ypsrc9.js → location-n8snqzaz.js} +15 -15
- package/dist/chunks/{tool-output-pqmez375.js → location-n95rn34w.js} +24 -24
- package/dist/chunks/{tool-output-w2cq40va.js → location-nbftzetf.js} +3 -3
- package/dist/chunks/{tool-output-ny7cjtgm.js → location-nbpgh3d1.js} +16 -16
- package/dist/chunks/{tool-output-f37v6n8t.js → location-ngxrbh81.js} +28 -28
- package/dist/chunks/{tool-output-k1dyhccn.js → location-njfj8ewx.js} +14 -14
- package/dist/chunks/{tool-output-d64cx63j.js → location-nkc01eya.js} +4 -4
- package/dist/chunks/{tool-output-3y4503xd.js → location-nn8wg6es.js} +6 -6
- package/dist/chunks/{tool-output-hpbvv96n.js → location-npqdxqpg.js} +21 -21
- package/dist/chunks/{tool-output-p015t6z3.js → location-p015t6z3.js} +2 -2
- package/dist/chunks/{tool-output-5v6z662y.js → location-p3c47fx7.js} +23 -23
- package/dist/chunks/{tool-output-3ssszjcv.js → location-p42xfgpg.js} +23 -23
- package/dist/chunks/{tool-output-1yq9hg58.js → location-p7vhpwh8.js} +5 -5
- package/dist/chunks/{tool-output-axnwbd4n.js → location-pac9cg3x.js} +4 -4
- package/dist/chunks/{tool-output-2wjqwetp.js → location-pbaqepy9.js} +5 -5
- package/dist/chunks/{tool-output-jx89vj1k.js → location-pc1v25hk.js} +3 -3
- package/dist/chunks/{tool-output-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{tool-output-ede5t31q.js → location-px99x85z.js} +17 -17
- package/dist/chunks/{tool-output-248g8pq7.js → location-pypxtw5w.js} +18 -18
- package/dist/chunks/{tool-output-g729x6ds.js → location-q5vn80g9.js} +14 -14
- package/dist/chunks/{tool-output-drex4pzq.js → location-q9dg54zr.js} +9 -9
- package/dist/chunks/{tool-output-89sdcr2v.js → location-qah7t4da.js} +6 -6
- package/dist/chunks/{tool-output-h4f6vs3g.js → location-qj7jded1.js} +14 -14
- package/dist/chunks/{tool-output-8jztxfpf.js → location-qjgzc4b4.js} +4 -4
- package/dist/chunks/{tool-output-pt4tanng.js → location-qtqp5fvy.js} +30 -30
- package/dist/chunks/{tool-output-s9gds8pe.js → location-qzzv0ezg.js} +7 -7
- package/dist/chunks/{tool-output-5dab8ama.js → location-r0rzdwgt.js} +8 -8
- package/dist/chunks/{tool-output-r0yr0wbs.js → location-r0yr0wbs.js} +1 -1
- package/dist/chunks/{tool-output-b28mnwwt.js → location-r2z94j39.js} +6 -6
- package/dist/chunks/{tool-output-r542h3bh.js → location-r542h3bh.js} +1 -1
- package/dist/chunks/{tool-output-33jn8j87.js → location-r64cczjp.js} +13 -13
- package/dist/chunks/{tool-output-rb9dy4dg.js → location-rb9dy4dg.js} +1 -1
- package/dist/chunks/{tool-output-fc2fw478.js → location-rbckb2ty.js} +17 -17
- package/dist/chunks/{tool-output-rjxgb9tb.js → location-rn8hfrah.js} +19 -19
- package/dist/chunks/{tool-output-y8kfcwrc.js → location-rqjkyyyt.js} +14 -14
- package/dist/chunks/{tool-output-rt5dr6hb.js → location-rt5dr6hb.js} +1 -1
- package/dist/chunks/{tool-output-zx72xjvg.js → location-rxbr5cvt.js} +44 -44
- package/dist/chunks/{tool-output-sa3fpqfw.js → location-sa3fpqfw.js} +2 -2
- package/dist/chunks/{tool-output-rtpnqabj.js → location-sgnyye5r.js} +27 -27
- package/dist/chunks/{tool-output-sqjzf8x2.js → location-sqjzf8x2.js} +1 -1
- package/dist/chunks/{tool-output-jc5r9pb7.js → location-sv689qty.js} +21 -21
- package/dist/chunks/{tool-output-b2jr87qa.js → location-tan2h6ve.js} +25 -25
- package/dist/chunks/{tool-output-tczq8hjw.js → location-tczq8hjw.js} +1 -1
- package/dist/chunks/{tool-output-bem2npsx.js → location-tfg9hd0y.js} +29 -29
- package/dist/chunks/{tool-output-aedwt843.js → location-tg1vr1qt.js} +8 -8
- package/dist/chunks/{tool-output-q4b2w85g.js → location-tkkm20f7.js} +19 -19
- package/dist/chunks/{tool-output-ne2q04mf.js → location-tpm1qpxt.js} +9 -9
- package/dist/chunks/{tool-output-3vdwfrk9.js → location-tv1fv7bp.js} +5 -5
- package/dist/chunks/{tool-output-twv2r8f4.js → location-twv2r8f4.js} +2 -2
- package/dist/chunks/{tool-output-v2r1d0zg.js → location-v2r1d0zg.js} +1 -1
- package/dist/chunks/{tool-output-f1ms64q9.js → location-v76p8btm.js} +5 -5
- package/dist/chunks/{tool-output-vd3b3yk9.js → location-vd3b3yk9.js} +1 -1
- package/dist/chunks/{tool-output-k9gdv7wj.js → location-vdgmg1hd.js} +13 -13
- package/dist/chunks/{tool-output-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-output-seh10k5w.js → location-vghb18mt.js} +16 -16
- package/dist/chunks/{tool-output-6gm7hc9m.js → location-vpnzc5p3.js} +32 -32
- package/dist/chunks/{tool-output-n7bnkb3p.js → location-vrcsa8qx.js} +9 -9
- package/dist/chunks/{tool-output-7yect7x1.js → location-vwvg46tm.js} +2 -2
- package/dist/chunks/{tool-output-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-output-3dg4aj2t.js → location-w4hzka6x.js} +13 -13
- package/dist/chunks/{tool-output-rbpy9kt0.js → location-w6frvacy.js} +33 -33
- package/dist/chunks/{tool-output-wakvkjy4.js → location-wakvkjy4.js} +1 -1
- package/dist/chunks/{tool-output-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{tool-output-hdfrs5mg.js → location-wdmx20pv.js} +9 -9
- package/dist/chunks/{tool-output-ympsf4bd.js → location-wgq490fn.js} +21 -21
- package/dist/chunks/{tool-output-j8849abs.js → location-wm875330.js} +30 -30
- package/dist/chunks/{tool-output-fgqacn3a.js → location-wnpz0s1q.js} +6 -6
- package/dist/chunks/{tool-output-y2c4sbnk.js → location-wv5ws3cz.js} +23 -23
- package/dist/chunks/{tool-output-ek92bk2r.js → location-x16k5wpx.js} +36 -36
- package/dist/chunks/{tool-output-jccf4379.js → location-x3gjy9c2.js} +9 -9
- package/dist/chunks/{tool-output-hvsnx3z0.js → location-x3r2mbb5.js} +11 -11
- package/dist/chunks/{tool-output-69gn191w.js → location-x4y1x265.js} +23 -23
- package/dist/chunks/{tool-output-6pj63jbt.js → location-x514tm1v.js} +44 -44
- package/dist/chunks/{tool-output-em0f81yy.js → location-x6615g0m.js} +3 -3
- package/dist/chunks/{tool-output-6px9atyk.js → location-xgfj5271.js} +9 -9
- package/dist/chunks/{tool-output-ga2dp1ny.js → location-xjx81hwy.js} +43 -43
- package/dist/chunks/{tool-output-xkfczkpn.js → location-xkfczkpn.js} +3 -3
- package/dist/chunks/{tool-output-70h1qnfn.js → location-xkp5751n.js} +17 -17
- package/dist/chunks/{tool-output-m7xh3h0x.js → location-xsact9zs.js} +4 -4
- package/dist/chunks/{tool-output-p0amseq2.js → location-y15wyx54.js} +3 -3
- package/dist/chunks/{tool-output-9tvpxs1q.js → location-y4n6pw34.js} +4 -4
- package/dist/chunks/location-y7z4tzab.js +517 -0
- package/dist/chunks/{tool-output-wesc8nnt.js → location-y8gj0fyz.js} +12 -12
- package/dist/chunks/{tool-output-yb20nhc3.js → location-yb20nhc3.js} +1 -1
- package/dist/chunks/{tool-output-wfz7x22a.js → location-yeyr4dj8.js} +33 -33
- package/dist/chunks/{tool-output-hhkkbxc9.js → location-ymrm2a13.js} +9 -9
- package/dist/chunks/{tool-output-a6kaasdq.js → location-yrvdznpz.js} +15 -15
- package/dist/chunks/{tool-output-vfntgn96.js → location-ywpksxwp.js} +16 -16
- package/dist/chunks/{tool-output-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-output-z38nccrw.js → location-z38nccrw.js} +1 -1
- package/dist/chunks/{tool-output-ewyv1vrd.js → location-z3bph6wb.js} +5 -5
- package/dist/chunks/{tool-output-e0p4kz3g.js → location-z5m176sc.js} +27 -27
- package/dist/chunks/{tool-output-68kb9z9h.js → location-zbqbngfz.js} +15 -15
- package/dist/chunks/{tool-output-zkg84ctx.js → location-zkg84ctx.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +87 -87
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +216 -216
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +137 -137
- 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 +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +140 -140
- 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 +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +70 -70
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +53 -53
- package/dist/database/migration.js +55 -55
- 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 +97 -97
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +374 -374
- 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 +98 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +98 -98
- 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 +74 -74
- package/dist/file-access.js +109 -109
- package/dist/file-mutation.js +99 -99
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +105 -105
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +92 -92
- package/dist/generate.js +110 -110
- package/dist/git.js +11 -11
- 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 +104 -104
- 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 +365 -365
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +91 -91
- package/dist/location-services.js +362 -362
- package/dist/location.js +92 -92
- package/dist/managed-policy.js +4 -4
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +143 -143
- package/dist/mcp/oauth.js +82 -82
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +102 -102
- package/dist/model-retry.js +1 -1
- package/dist/model.js +105 -105
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -79
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +107 -107
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +116 -116
- 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 +115 -115
- 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 +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- 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-context-caps.js +95 -95
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +104 -104
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +80 -80
- 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 +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -91
- package/dist/plugin/vcs/hg.js +91 -91
- package/dist/plugin/verbosity.js +98 -98
- 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 +6 -6
- 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 +231 -231
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +95 -95
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +92 -92
- package/dist/reference.js +94 -94
- package/dist/repository-cache.js +86 -86
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +100 -100
- package/dist/rpc.js +91 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +141 -141
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +93 -93
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +133 -133
- package/dist/session/generate.js +167 -167
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- 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 +102 -102
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +123 -123
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +135 -135
- package/dist/session/projector.js +93 -93
- package/dist/session/prompt.js +110 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -99
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +233 -233
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +105 -105
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +131 -131
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +108 -108
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -214
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +171 -171
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +110 -110
- package/dist/skill.js +115 -115
- package/dist/snapshot.js +98 -98
- 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 +140 -140
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +127 -127
- package/dist/tool/plugin/question.js +108 -108
- package/dist/tool/plugin/read.js +130 -130
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +118 -118
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +140 -140
- package/dist/tool/plugin/webfetch.js +118 -118
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +127 -127
- package/dist/tool/read-filesystem.js +105 -105
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/aisdk.d.ts +1 -1
- package/dist/types/effect/app-node-platform.d.ts +1 -1
- package/dist/types/generate.d.ts +1 -1
- package/dist/types/model-resolver.d.ts +1 -1
- package/dist/types/model-retry.d.ts +1 -1
- package/dist/types/plugin/internal.d.ts +2 -2
- package/dist/types/provider.d.ts +2 -2
- package/dist/types/session/compaction.d.ts +2 -2
- package/dist/types/session/generate.d.ts +2 -2
- package/dist/types/session/history.d.ts +1 -1
- package/dist/types/session/model-request.d.ts +2 -2
- package/dist/types/session/runner/index.d.ts +1 -1
- package/dist/types/session/runner/model.d.ts +1 -1
- package/dist/types/session/runner/publish-llm-event.d.ts +1 -1
- package/dist/types/session/runner/retry.d.ts +1 -1
- package/dist/types/session/runner/step.d.ts +2 -2
- package/dist/types/session/runner/to-llm-message.d.ts +1 -1
- package/dist/types/session/title.d.ts +1 -1
- package/dist/types/session/to-session-error.d.ts +1 -1
- package/dist/types/session/usage.d.ts +1 -1
- package/dist/types/tool/runtime.d.ts +1 -1
- package/dist/types/tool.d.ts +1 -1
- package/dist/usage-limits.js +93 -93
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +3 -3
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +97 -97
- package/dist/v1/config/permission.js +1 -1
- 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 +98 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +92 -92
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +80 -80
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +94 -94
- package/dist/worktree.js +103 -103
- package/package.json +8 -8
- package/dist/chunks/tool-output-cw8zeq3d.js +0 -517
- package/dist/chunks/tool-output-grzehpz7.js +0 -18
- package/dist/chunks/tool-output-jr7x9p7n.js +0 -26
- package/dist/chunks/tool-output-pxgxg1jw.js +0 -261
- /package/dist/chunks/{tool-output-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-output-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-output-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-output-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-output-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-output-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-output-2bv980vf.js → location-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-output-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-output-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-output-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-output-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-output-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-output-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-output-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-output-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-output-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-output-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-output-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-output-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{tool-output-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-output-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-output-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-output-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-output-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-output-84wd9syh.js → location-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-output-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-output-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-output-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-output-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-output-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-output-a058387c.js → location-a058387c.js} +0 -0
- /package/dist/chunks/{tool-output-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-output-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-output-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-output-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-output-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-output-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-output-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-output-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-output-cqv5kn06.js → location-cqv5kn06.js} +0 -0
- /package/dist/chunks/{tool-output-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-output-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-output-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-output-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-output-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-output-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-output-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-output-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-output-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-output-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-output-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-output-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-output-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-output-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-output-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-output-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-output-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-output-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-output-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-output-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-output-hcxmzztb.js → location-hcxmzztb.js} +0 -0
- /package/dist/chunks/{tool-output-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-output-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-output-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-output-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-output-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-output-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-output-jwr30sdr.js → location-jwr30sdr.js} +0 -0
- /package/dist/chunks/{tool-output-jze0r7bz.js → location-jze0r7bz.js} +0 -0
- /package/dist/chunks/{tool-output-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-output-m18g726c.js → location-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-output-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-output-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-output-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-output-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-output-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-output-pkyv6v7h.js → location-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{tool-output-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-output-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-output-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-output-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-output-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-output-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-output-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-output-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-output-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-output-sjmm3wxa.js → location-sjmm3wxa.js} +0 -0
- /package/dist/chunks/{tool-output-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-output-ve7vex1e.js → location-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-output-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-output-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-output-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-output-wjj7prxr.js → location-wjj7prxr.js} +0 -0
- /package/dist/chunks/{tool-output-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-output-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-output-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-output-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-output-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-output-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-output-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-output-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-output-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-5pjcmgbp.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
7
|
node90
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-cfchc4zb.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-vd3b3yk9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID14,
|
|
14
|
+
Service79,
|
|
15
|
+
node83
|
|
16
|
+
} from "./location-6grvz7sb.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-p015t6z3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service69,
|
|
22
|
+
node72
|
|
23
|
+
} from "./location-ej5n7emy.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-8wtp7s3z.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
kept2,
|
|
32
32
|
messageToText2,
|
|
33
33
|
serializeToolContent2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-v2r1d0zg.js";
|
|
35
35
|
import {
|
|
36
36
|
isNativeCompaction2,
|
|
37
37
|
load5
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-15hh3cbc.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-y15wyx54.js";
|
|
42
42
|
import {
|
|
43
43
|
outputLimit2,
|
|
44
44
|
baseTranscript2,
|
|
45
45
|
unsupportedParts2,
|
|
46
46
|
boundImages2,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service36,
|
|
48
|
+
node39
|
|
49
|
+
} from "./location-4f51t6yt.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service54,
|
|
52
|
+
node56
|
|
53
|
+
} from "./location-rbckb2ty.js";
|
|
54
54
|
import {
|
|
55
55
|
isRetryable2,
|
|
56
56
|
policy2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./location-fmye6e29.js";
|
|
58
58
|
import {
|
|
59
59
|
toSessionError2,
|
|
60
60
|
contentFilterError2
|
|
61
|
-
} from "./
|
|
61
|
+
} from "./location-f6939148.js";
|
|
62
62
|
import {
|
|
63
63
|
calculateCost2,
|
|
64
64
|
record2,
|
|
65
65
|
add2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./location-r542h3bh.js";
|
|
67
67
|
import {
|
|
68
68
|
__export
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./location-9rqn6x4v.js";
|
|
70
70
|
|
|
71
71
|
// src/session/compaction.ts
|
|
72
72
|
var exports_compaction2 = {};
|
|
73
73
|
__export(exports_compaction2, {
|
|
74
|
-
Service: () =>
|
|
74
|
+
Service: () => Service8,
|
|
75
75
|
SessionCompaction: () => exports_compaction2,
|
|
76
76
|
buildPrompt: () => buildPrompt2,
|
|
77
77
|
estimateContext: () => estimateContext2,
|
|
78
78
|
estimatePrompt: () => estimatePrompt2,
|
|
79
|
-
layer: () =>
|
|
80
|
-
node: () =>
|
|
79
|
+
layer: () => layer7,
|
|
80
|
+
node: () => node10,
|
|
81
81
|
recentUserMessages: () => recentUserMessages2
|
|
82
82
|
});
|
|
83
83
|
import {
|
|
@@ -90,10 +90,10 @@ import {
|
|
|
90
90
|
LLMRequest,
|
|
91
91
|
Message,
|
|
92
92
|
UnknownProviderError
|
|
93
|
-
} from "@opencode/ai";
|
|
93
|
+
} from "@opencode/ai/effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
95
|
import { Context, Effect, Exit, Fiber, Layer, Result, Scope, Stream } from "effect";
|
|
96
|
-
class
|
|
96
|
+
class Service8 extends Context.Service()("@opencode/SessionCompaction") {
|
|
97
97
|
}
|
|
98
98
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
99
99
|
var SHRINK_STEPS = [0.85, 0.7, 0.5, 0.35];
|
|
@@ -184,14 +184,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
184
184
|
};
|
|
185
185
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
186
186
|
var LEGACY_HEADING = "## Additional Context";
|
|
187
|
-
var
|
|
188
|
-
const agents = yield*
|
|
187
|
+
var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
188
|
+
const agents = yield* Service79;
|
|
189
189
|
const bus = yield* Service86;
|
|
190
190
|
const llm = yield* LLMClient.Service;
|
|
191
|
-
const catalog = yield*
|
|
192
|
-
const models = yield*
|
|
191
|
+
const catalog = yield* Service69;
|
|
192
|
+
const models = yield* Service54;
|
|
193
193
|
const db = (yield* Service87).db;
|
|
194
|
-
const requests = yield*
|
|
194
|
+
const requests = yield* Service36;
|
|
195
195
|
const scope = yield* Scope.Scope;
|
|
196
196
|
const precomputed = new Map;
|
|
197
197
|
const state = create3({
|
|
@@ -204,7 +204,7 @@ var layer8 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
204
204
|
})
|
|
205
205
|
});
|
|
206
206
|
const selectModel = Effect.fnUntraced(function* (context, buffer, native) {
|
|
207
|
-
const agent = native ? undefined : yield* agents.get(
|
|
207
|
+
const agent = native ? undefined : yield* agents.get(ID14.make("compaction"));
|
|
208
208
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
209
209
|
return;
|
|
210
210
|
})))) ?? context.model;
|
|
@@ -574,17 +574,17 @@ var layer8 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
574
574
|
}, { metadata: outcome.metadata });
|
|
575
575
|
return { status: "completed" };
|
|
576
576
|
});
|
|
577
|
-
return
|
|
577
|
+
return Service8.of({
|
|
578
578
|
transform: state.transform,
|
|
579
579
|
reload: state.reload,
|
|
580
580
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id)))),
|
|
581
581
|
precompute
|
|
582
582
|
});
|
|
583
583
|
}));
|
|
584
|
-
var
|
|
585
|
-
service:
|
|
586
|
-
layer:
|
|
587
|
-
deps: [
|
|
584
|
+
var node10 = makeLocationNode({
|
|
585
|
+
service: Service8,
|
|
586
|
+
layer: layer7,
|
|
587
|
+
deps: [node83, node90, node91, llmClient2, node72, node39, node56]
|
|
588
588
|
});
|
|
589
589
|
var heldIndex = (held, context) => {
|
|
590
590
|
if (held.firstID !== context.messages[0]?.id || held.initial !== context.initial)
|
|
@@ -771,4 +771,4 @@ var estimateMedia = (mime) => {
|
|
|
771
771
|
return 0;
|
|
772
772
|
};
|
|
773
773
|
|
|
774
|
-
export {
|
|
774
|
+
export { Service8, buildPrompt2, layer7, node10, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service67,
|
|
6
|
+
node70
|
|
7
|
+
} from "./location-17a3f6rk.js";
|
|
8
8
|
import {
|
|
9
9
|
retry2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9cx9sm2q.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/generate.ts
|
|
16
16
|
var exports_generate2 = {};
|
|
17
17
|
__export(exports_generate2, {
|
|
18
18
|
Generate: () => exports_generate2,
|
|
19
19
|
ModelSelectionError: () => ModelSelectionError2,
|
|
20
|
-
Service: () =>
|
|
21
|
-
UnavailableError: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
20
|
+
Service: () => Service66,
|
|
21
|
+
UnavailableError: () => UnavailableError5,
|
|
22
|
+
layer: () => layer26,
|
|
23
|
+
node: () => node69
|
|
24
24
|
});
|
|
25
|
-
import { LLM, LLMClient } from "@opencode/ai";
|
|
25
|
+
import { LLM, LLMClient } from "@opencode/ai/effect";
|
|
26
26
|
import { SessionID } from "@opencode/schema/session-id";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -31,17 +31,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError5 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service66 extends Context.Service()("@opencode/Generate") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer26 = Layer.effect(Service66, Effect.gen(function* () {
|
|
43
43
|
const llm = yield* LLMClient.Service;
|
|
44
|
-
const resolver = yield*
|
|
44
|
+
const resolver = yield* Service67;
|
|
45
45
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
46
46
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
47
47
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -51,7 +51,7 @@ var layer21 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
51
51
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
52
52
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
53
53
|
], (error) => {
|
|
54
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
54
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError5({ message: error.message, service: error.providerID });
|
|
55
55
|
return Effect.fail(mapped);
|
|
56
56
|
}));
|
|
57
57
|
if (!resolved)
|
|
@@ -62,21 +62,21 @@ var layer21 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
62
62
|
model: resolved.model,
|
|
63
63
|
prompt: input.prompt,
|
|
64
64
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
65
|
-
})).pipe(retry2, Effect.mapError((error) => new
|
|
65
|
+
})).pipe(retry2, Effect.mapError((error) => new UnavailableError5({
|
|
66
66
|
message: error.message,
|
|
67
67
|
service: resolved.ref.providerID
|
|
68
68
|
})));
|
|
69
69
|
return response.text;
|
|
70
70
|
});
|
|
71
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
71
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError5({
|
|
72
72
|
message: "Generation credentials are unavailable"
|
|
73
73
|
})));
|
|
74
|
-
return
|
|
74
|
+
return Service66.of({ text });
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node69 = makeLocationNode({
|
|
77
|
+
service: Service66,
|
|
78
|
+
layer: layer26,
|
|
79
|
+
deps: [node70, llmClient2]
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export { ModelSelectionError2,
|
|
82
|
+
export { ModelSelectionError2, UnavailableError5, Service66, layer26, node69, exports_generate2 };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service86,
|
|
4
4
|
node90
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-cfchc4zb.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service2,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node3
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service2 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service86;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service2.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node3 = makeGlobalNode({ service: Service2, layer: layer4, deps: [node90] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service2, layer4, node3, exports_sdk };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-qtqp5fvy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID9,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-wm875330.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-yb20nhc3.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID9.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -11,7 +11,7 @@ __export(exports_driver, {
|
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make20,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node79,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node79 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node79, exports_driver };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-6grvz7sb.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
|
-
var
|
|
12
|
-
__export(
|
|
13
|
-
AgentPlugin: () =>
|
|
14
|
-
Plugin: () =>
|
|
11
|
+
var exports_agent = {};
|
|
12
|
+
__export(exports_agent, {
|
|
13
|
+
AgentPlugin: () => exports_agent,
|
|
14
|
+
Plugin: () => Plugin17
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -57,7 +57,7 @@ Rules:
|
|
|
57
57
|
- Never ask questions or add new questions
|
|
58
58
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
59
59
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
60
|
-
var
|
|
60
|
+
var Plugin17 = define({
|
|
61
61
|
id: "opencode.agent",
|
|
62
62
|
effect: Effect.fn(function* (ctx) {
|
|
63
63
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -67,32 +67,32 @@ var Plugin50 = define({
|
|
|
67
67
|
item.mode = "primary";
|
|
68
68
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
69
69
|
});
|
|
70
|
-
editor.update(
|
|
70
|
+
editor.update(ID14.make("general"), (item) => {
|
|
71
71
|
item.name = Name3.make("General");
|
|
72
72
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
73
73
|
item.mode = "subagent";
|
|
74
74
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
75
75
|
});
|
|
76
|
-
editor.update(
|
|
76
|
+
editor.update(ID14.make("explore"), (item) => {
|
|
77
77
|
item.name = Name3.make("Explore");
|
|
78
78
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
79
79
|
item.system = PROMPT_EXPLORE;
|
|
80
80
|
item.mode = "subagent";
|
|
81
81
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
82
82
|
});
|
|
83
|
-
editor.update(
|
|
83
|
+
editor.update(ID14.make("compaction"), (item) => {
|
|
84
84
|
item.name = Name3.make("Compaction");
|
|
85
85
|
item.mode = "primary";
|
|
86
86
|
item.hidden = true;
|
|
87
87
|
});
|
|
88
|
-
editor.update(
|
|
88
|
+
editor.update(ID14.make("title"), (item) => {
|
|
89
89
|
item.name = Name3.make("Title");
|
|
90
90
|
item.mode = "primary";
|
|
91
91
|
item.hidden = true;
|
|
92
92
|
item.system = PROMPT_TITLE;
|
|
93
93
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
94
94
|
});
|
|
95
|
-
editor.update(
|
|
95
|
+
editor.update(ID14.make("summary"), (item) => {
|
|
96
96
|
item.name = Name3.make("Summary");
|
|
97
97
|
item.mode = "primary";
|
|
98
98
|
item.hidden = true;
|
|
@@ -103,4 +103,4 @@ var Plugin50 = define({
|
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Plugin17, exports_agent };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./location-9btvkpqm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./location-qah7t4da.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-2z1j29yd.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-d77dj7jw.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service80
|
|
15
|
+
} from "./location-231a8wys.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-kkew1p9e.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service39
|
|
23
|
+
} from "./location-f4mz2h0w.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service53;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service80;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service39;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -124,7 +124,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
124
124
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
125
125
|
if (!mime.startsWith("image/"))
|
|
126
126
|
return { data: Base64.make(data), mime };
|
|
127
|
-
const image = yield*
|
|
127
|
+
const image = yield* Service48;
|
|
128
128
|
const label = attachmentLabel(input);
|
|
129
129
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
130
130
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
node89
|
|
6
|
-
} from "./tool-output-frfzcpgy.js";
|
|
7
|
-
import {
|
|
8
|
-
Service83,
|
|
9
5
|
node87
|
|
10
|
-
} from "./
|
|
6
|
+
} from "./location-gksz2zdz.js";
|
|
7
|
+
import {
|
|
8
|
+
Service81,
|
|
9
|
+
node85
|
|
10
|
+
} from "./location-ywpksxwp.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-vd3b3yk9.js";
|
|
14
14
|
import {
|
|
15
15
|
make12
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9b1bq8k1.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service24,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node27
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service24 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service81;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const git = yield* make12;
|
|
40
40
|
const state = create3({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service24.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node27 = makeLocationNode({
|
|
61
|
+
service: Service24,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node85, Global.node, node87, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service24, node27, exports_strategies };
|