@opencode/core 0.0.0-dev-21801 → 0.0.0-dev-21811
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 +87 -87
- package/dist/aisdk-native.js +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{tool-output-034tev2y.js → model-retry-034tev2y.js} +2 -2
- package/dist/chunks/{tool-output-axnwbd4n.js → model-retry-0j1r4c82.js} +4 -4
- package/dist/chunks/{tool-output-7yect7x1.js → model-retry-0nd9gsrv.js} +2 -2
- package/dist/chunks/{tool-output-w7zjqt6n.js → model-retry-0p88zpcm.js} +4 -4
- package/dist/chunks/{tool-output-12tah04a.js → model-retry-0rax2qmn.js} +15 -15
- package/dist/chunks/{tool-output-szfa6w1b.js → model-retry-0zn5bfke.js} +29 -29
- package/dist/chunks/{tool-output-0c7nc8tn.js → model-retry-138ss78d.js} +11 -11
- package/dist/chunks/{tool-output-x4spgazm.js → model-retry-1602d4m9.js} +9 -9
- package/dist/chunks/{tool-output-agqd6nxz.js → model-retry-17cjzed1.js} +4 -4
- package/dist/chunks/{tool-output-japt42f9.js → model-retry-17xhxfsn.js} +11 -11
- package/dist/chunks/{tool-output-m666jk6r.js → model-retry-1a7q9jj4.js} +22 -22
- package/dist/chunks/{tool-output-n2a2fj9v.js → model-retry-1dswpn68.js} +4 -4
- package/dist/chunks/{tool-output-1ep2p91f.js → model-retry-1ep2p91f.js} +2 -2
- package/dist/chunks/{tool-output-pwgrr4zd.js → model-retry-1hm6kjpw.js} +12 -12
- package/dist/chunks/{tool-output-pqmez375.js → model-retry-1m6xs2a7.js} +24 -24
- package/dist/chunks/{tool-output-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
- package/dist/chunks/{tool-output-1yq9hg58.js → model-retry-1yq9hg58.js} +1 -1
- package/dist/chunks/{tool-output-mj41408h.js → model-retry-27994c7b.js} +6 -6
- package/dist/chunks/model-retry-2dkjcnxp.js +18 -0
- package/dist/chunks/{tool-output-p819tdyr.js → model-retry-2ns8tfyg.js} +9 -9
- package/dist/chunks/{tool-output-pr31xtm2.js → model-retry-2we1d0jv.js} +45 -45
- package/dist/chunks/{tool-output-2z1j29yd.js → model-retry-2z1j29yd.js} +1 -1
- package/dist/chunks/{tool-output-k299vwjx.js → model-retry-3109wbwk.js} +17 -17
- package/dist/chunks/{tool-output-89sdcr2v.js → model-retry-32rqdfc7.js} +6 -6
- package/dist/chunks/{tool-output-8tapzm2v.js → model-retry-335tf8xn.js} +13 -13
- package/dist/chunks/{tool-output-m7xh3h0x.js → model-retry-3gv0spa2.js} +4 -4
- package/dist/chunks/{tool-output-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-output-3nnrz6f6.js → model-retry-3nnrz6f6.js} +1 -1
- package/dist/chunks/{tool-output-rjxgb9tb.js → model-retry-425q9h2g.js} +16 -16
- package/dist/chunks/{tool-output-2wjqwetp.js → model-retry-46h6vvs4.js} +5 -5
- package/dist/chunks/{tool-output-aeb4sny1.js → model-retry-4drgpw32.js} +5 -5
- package/dist/chunks/{tool-output-hhkkbxc9.js → model-retry-4g74bq5f.js} +9 -9
- package/dist/chunks/{tool-output-em0f81yy.js → model-retry-4gytfbka.js} +3 -3
- package/dist/chunks/{tool-output-5v6z662y.js → model-retry-4hbn04c3.js} +18 -18
- package/dist/chunks/{tool-output-ratcj3ac.js → model-retry-4jred12r.js} +20 -20
- package/dist/chunks/{tool-output-whcqjvyx.js → model-retry-4q0yhm9h.js} +4 -4
- package/dist/chunks/{tool-output-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
- package/dist/chunks/{tool-output-xkfczkpn.js → model-retry-4xvmh7wp.js} +3 -3
- package/dist/chunks/{tool-output-248g8pq7.js → model-retry-4z907t0k.js} +17 -17
- package/dist/chunks/{tool-output-0tfekwr7.js → model-retry-503rn88z.js} +3 -3
- package/dist/chunks/{tool-output-zx72xjvg.js → model-retry-58sptegr.js} +42 -42
- package/dist/chunks/{tool-output-a7549q9v.js → model-retry-592w8t9y.js} +26 -26
- package/dist/chunks/{tool-output-68kb9z9h.js → model-retry-5dewdarb.js} +15 -15
- package/dist/chunks/{tool-output-w2eysc6j.js → model-retry-5enarcya.js} +6 -6
- package/dist/chunks/{tool-output-sjmm3wxa.js → model-retry-5fjb7ams.js} +4 -14
- package/dist/chunks/{tool-output-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-output-b2jr87qa.js → model-retry-5shay012.js} +58 -38
- package/dist/chunks/{tool-output-9tvpxs1q.js → model-retry-5w1mdqt7.js} +4 -4
- package/dist/chunks/{tool-output-1cyprt5w.js → model-retry-5xypjhga.js} +5 -5
- package/dist/chunks/{tool-output-a6kaasdq.js → model-retry-5ymyvjqm.js} +15 -15
- package/dist/chunks/{tool-output-a8803444.js → model-retry-678hegmz.js} +9 -9
- package/dist/chunks/{tool-output-ne2q04mf.js → model-retry-6c5cd6ez.js} +9 -9
- package/dist/chunks/{tool-output-6esdw8yj.js → model-retry-6esdw8yj.js} +1 -1
- package/dist/chunks/{tool-output-7nv1f492.js → model-retry-6hwc1pvx.js} +18 -18
- package/dist/chunks/{tool-output-cj0twgab.js → model-retry-6kqns4w6.js} +23 -23
- package/dist/chunks/{tool-output-6pjqjmy2.js → model-retry-6pjqjmy2.js} +1 -1
- package/dist/chunks/{tool-output-n7bnkb3p.js → model-retry-6twykydk.js} +9 -9
- package/dist/chunks/{tool-output-3y4503xd.js → model-retry-6zcc165v.js} +6 -6
- package/dist/chunks/{tool-output-bf946hy9.js → model-retry-722sdb3d.js} +7 -7
- package/dist/chunks/{tool-output-evx8tntc.js → model-retry-745re5am.js} +6 -6
- package/dist/chunks/{tool-output-w2cq40va.js → model-retry-753xhzz2.js} +3 -3
- package/dist/chunks/{tool-output-76cb1hcw.js → model-retry-76cb1hcw.js} +1 -1
- package/dist/chunks/{tool-output-ny7cjtgm.js → model-retry-7816y9pf.js} +16 -16
- package/dist/chunks/{tool-output-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-output-vtwv18h8.js → model-retry-7kjvv3j6.js} +15 -15
- package/dist/chunks/{tool-output-pt4tanng.js → model-retry-7n7qp0dz.js} +28 -28
- package/dist/chunks/{tool-output-h7pf2zmx.js → model-retry-7pp4cpj7.js} +2 -2
- package/dist/chunks/{tool-output-3nzkha57.js → model-retry-7rt6wz40.js} +34 -34
- package/dist/chunks/{tool-output-drex4pzq.js → model-retry-7s2q8wx1.js} +14 -14
- package/dist/chunks/{tool-output-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
- package/dist/chunks/{tool-output-8xppqwrp.js → model-retry-82vzzvc0.js} +15 -15
- package/dist/chunks/{tool-output-4aqtdhks.js → model-retry-8322nd6s.js} +37 -37
- package/dist/chunks/{tool-output-jx89vj1k.js → model-retry-8bc2ahr8.js} +3 -3
- package/dist/chunks/{tool-output-vpm8vpz0.js → model-retry-8whp40kv.js} +3 -3
- package/dist/chunks/{tool-output-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
- package/dist/chunks/{tool-output-91rj84md.js → model-retry-91rj84md.js} +1 -1
- package/dist/chunks/{tool-output-998yhzzq.js → model-retry-998yhzzq.js} +3 -3
- package/dist/chunks/{tool-output-f27y7cht.js → model-retry-9bs81pt6.js} +45 -45
- package/dist/chunks/{tool-output-n0p0277s.js → model-retry-9cx9sm2q.js} +2 -2
- package/dist/chunks/{tool-output-gc804zz3.js → model-retry-9dx6tkdq.js} +14 -14
- package/dist/chunks/{tool-output-y1zpvem5.js → model-retry-9nt4jrra.js} +11 -11
- package/dist/chunks/{tool-output-1y0wdj51.js → model-retry-9q8g9sv8.js} +9 -9
- package/dist/chunks/{tool-output-f1ms64q9.js → model-retry-9ye8ngw9.js} +5 -5
- package/dist/chunks/{tool-output-s0xpqnn9.js → model-retry-a0y3te94.js} +13 -13
- package/dist/chunks/{tool-output-zt7g3tem.js → model-retry-a5kv7pbm.js} +17 -17
- package/dist/chunks/{tool-output-6285fq4d.js → model-retry-acdmrrd1.js} +5 -5
- package/dist/chunks/{tool-output-3ssszjcv.js → model-retry-aday876c.js} +30 -30
- package/dist/chunks/{tool-output-1xfs8wvw.js → model-retry-ae89zrxe.js} +11 -11
- package/dist/chunks/{tool-output-tvfgxhgz.js → model-retry-aqd38yqk.js} +12 -12
- package/dist/chunks/{tool-output-ebjk3m4h.js → model-retry-aqw6e5th.js} +20 -20
- package/dist/chunks/{tool-output-b28mnwwt.js → model-retry-avfqqwb2.js} +6 -6
- package/dist/chunks/{tool-output-f01rz3q1.js → model-retry-axqdy1rc.js} +46 -46
- package/dist/chunks/{tool-output-ayjs7tqn.js → model-retry-ayjs7tqn.js} +2 -2
- package/dist/chunks/{tool-output-b0mv4wxm.js → model-retry-b0mv4wxm.js} +2 -2
- package/dist/chunks/{tool-output-ek92bk2r.js → model-retry-b0qepsp5.js} +36 -36
- package/dist/chunks/{tool-output-5frcv4v0.js → model-retry-b3mc3p58.js} +14 -14
- package/dist/chunks/{tool-output-sqdnmamq.js → model-retry-b58bxs6a.js} +181 -181
- package/dist/chunks/{tool-output-g729x6ds.js → model-retry-b5rpcebs.js} +9 -9
- package/dist/chunks/{tool-output-b6vsg801.js → model-retry-b6vsg801.js} +2 -2
- package/dist/chunks/{tool-output-9nha6yk0.js → model-retry-bb0y23dv.js} +10 -10
- package/dist/chunks/{tool-output-jg6bqjz4.js → model-retry-bdw1mhts.js} +36 -36
- package/dist/chunks/{tool-output-p7tpgz5e.js → model-retry-bfrx3eet.js} +78 -78
- package/dist/chunks/{tool-output-tasvem1v.js → model-retry-bje4knzw.js} +7 -7
- package/dist/chunks/{tool-output-k9gdv7wj.js → model-retry-brkew3yp.js} +13 -13
- package/dist/chunks/{tool-output-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
- package/dist/chunks/{tool-output-33jn8j87.js → model-retry-btcc31mt.js} +10 -10
- package/dist/chunks/{tool-output-pq9y035p.js → model-retry-bzve7h1n.js} +31 -31
- package/dist/chunks/{tool-output-ewyv1vrd.js → model-retry-c7w6gk0d.js} +5 -5
- package/dist/chunks/{tool-output-s9gds8pe.js → model-retry-ca1hzz0z.js} +7 -7
- package/dist/chunks/{tool-output-ggsx9dmr.js → model-retry-cbyrzr95.js} +33 -33
- package/dist/chunks/{tool-output-wfz7x22a.js → model-retry-cg67sgqr.js} +33 -33
- package/dist/chunks/{tool-output-dwvvx6r2.js → model-retry-cjn2m544.js} +33 -33
- package/dist/chunks/model-retry-ckzsjma5.js +26 -0
- package/dist/chunks/{tool-output-s219wa1v.js → model-retry-cpmqfxcq.js} +27 -27
- package/dist/chunks/{tool-output-decs4e60.js → model-retry-d1aynxky.js} +48 -48
- package/dist/chunks/{tool-output-hkfp46ja.js → model-retry-d4tjs1yx.js} +17 -17
- package/dist/chunks/{tool-output-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
- package/dist/chunks/{tool-output-3dg4aj2t.js → model-retry-d8g76yr4.js} +17 -17
- package/dist/chunks/{tool-output-ermtapg2.js → model-retry-d9qwxpwd.js} +26 -26
- package/dist/chunks/{tool-output-h91kcahz.js → model-retry-db7k79f7.js} +16 -16
- package/dist/chunks/{tool-output-3kdbrncp.js → model-retry-dbmp929s.js} +5 -5
- package/dist/chunks/{tool-output-kbtbr31d.js → model-retry-debkngxd.js} +8 -8
- package/dist/chunks/{tool-output-wesc8nnt.js → model-retry-dher8hzb.js} +12 -12
- package/dist/chunks/{tool-output-y8kfcwrc.js → model-retry-dn3a5ca8.js} +18 -18
- package/dist/chunks/{tool-output-bebb3at9.js → model-retry-e1g8hcy1.js} +13 -13
- package/dist/chunks/{tool-output-2fjzbpqs.js → model-retry-e1zjyyvc.js} +45 -45
- package/dist/chunks/{tool-output-5qd3pb7m.js → model-retry-e3qxr5gk.js} +2 -2
- package/dist/chunks/{tool-output-jneg3k74.js → model-retry-e5dqjz6v.js} +4 -4
- package/dist/chunks/{tool-output-phtcpqdv.js → model-retry-e5nt5pcv.js} +4 -4
- package/dist/chunks/{tool-output-e834z07m.js → model-retry-e834z07m.js} +1 -1
- package/dist/chunks/{tool-output-4pw54185.js → model-retry-eg9pnzky.js} +42 -42
- package/dist/chunks/{tool-output-87ksbwny.js → model-retry-egv1p4fb.js} +42 -42
- package/dist/chunks/{tool-output-f37v6n8t.js → model-retry-ek5jse1b.js} +23 -23
- package/dist/chunks/{tool-output-aedwt843.js → model-retry-enkpkfwx.js} +8 -8
- package/dist/chunks/{tool-output-n2b0dnay.js → model-retry-eqhrgn58.js} +39 -39
- package/dist/chunks/{tool-output-m37sd98t.js → model-retry-eqmd2tfz.js} +7 -7
- package/dist/chunks/{tool-output-wx92ehth.js → model-retry-f34n98jw.js} +24 -24
- package/dist/chunks/{tool-output-ztsh3kna.js → model-retry-f4fcece7.js} +16 -16
- package/dist/chunks/{tool-output-9vd6zvz7.js → model-retry-f6n6tb5m.js} +19 -19
- package/dist/chunks/{tool-output-gj8x1tda.js → model-retry-faewc6h3.js} +5 -5
- package/dist/chunks/{tool-output-fffv3p7h.js → model-retry-fffv3p7h.js} +1 -1
- package/dist/chunks/{tool-output-6pj63jbt.js → model-retry-fx6779qx.js} +38 -38
- package/dist/chunks/{tool-output-nj719txd.js → model-retry-g0ew906k.js} +4 -4
- package/dist/chunks/{tool-output-g5h9c0rr.js → model-retry-g5h9c0rr.js} +2 -2
- package/dist/chunks/{tool-output-682mbbtd.js → model-retry-g91txfza.js} +4 -4
- package/dist/chunks/{tool-output-rtpnqabj.js → model-retry-gchz44rz.js} +25 -25
- package/dist/chunks/model-retry-gfm4ps3x.js +261 -0
- package/dist/chunks/{tool-output-5dab8ama.js → model-retry-gj1k22fm.js} +8 -8
- package/dist/chunks/{tool-output-fgqacn3a.js → model-retry-gp4q8kgc.js} +6 -6
- package/dist/chunks/{tool-output-vj1b4684.js → model-retry-gxvxk964.js} +13 -13
- package/dist/chunks/{tool-output-s42e18rn.js → model-retry-h58n2v2h.js} +5 -5
- package/dist/chunks/{tool-output-fwjrth66.js → model-retry-h9wrc0vd.js} +25 -25
- package/dist/chunks/{tool-output-y8c2g656.js → model-retry-hawc6q6s.js} +4 -4
- package/dist/chunks/{tool-output-q4b2w85g.js → model-retry-hbh5g7sq.js} +19 -19
- package/dist/chunks/{tool-output-kya6vn2v.js → model-retry-hbjmb8md.js} +6 -6
- package/dist/chunks/{tool-output-y8ypsrc9.js → model-retry-hhqqebc6.js} +15 -15
- package/dist/chunks/{tool-output-k8wqp3fb.js → model-retry-hhtmqaqt.js} +18 -18
- package/dist/chunks/{tool-output-b6pwv5qp.js → model-retry-hhtnk8qy.js} +10 -10
- package/dist/chunks/{tool-output-fj83etc5.js → model-retry-hjg4cfjr.js} +69 -69
- package/dist/chunks/{tool-output-eyhcn785.js → model-retry-hjvwy4ms.js} +33 -33
- package/dist/chunks/{tool-output-2dfk453x.js → model-retry-hkby4gmz.js} +25 -25
- package/dist/chunks/{tool-output-mq1vsyex.js → model-retry-hmg9k6g3.js} +27 -27
- package/dist/chunks/{tool-output-seh10k5w.js → model-retry-hp8gawhw.js} +16 -16
- package/dist/chunks/{tool-output-p0amseq2.js → model-retry-hx4n917h.js} +3 -3
- package/dist/chunks/{tool-output-j113cymg.js → model-retry-j113cymg.js} +1 -1
- package/dist/chunks/{tool-output-gc2j9dw0.js → model-retry-j17f5p09.js} +14 -14
- package/dist/chunks/{tool-output-1v9xeggz.js → model-retry-j910h5aj.js} +5 -5
- package/dist/chunks/{tool-output-1r0janqk.js → model-retry-jj52rngq.js} +5 -5
- package/dist/chunks/{tool-output-eg0mws0e.js → model-retry-jmekkt3w.js} +6 -6
- package/dist/chunks/{tool-output-hdfrs5mg.js → model-retry-jq88ke7r.js} +9 -9
- package/dist/chunks/{tool-output-vfntgn96.js → model-retry-jvasdgem.js} +17 -17
- package/dist/chunks/{tool-output-hvsnx3z0.js → model-retry-jy2ar7az.js} +11 -11
- package/dist/chunks/{tool-output-jc5r9pb7.js → model-retry-k46s5hha.js} +18 -18
- package/dist/chunks/{tool-output-k814nvkf.js → model-retry-k814nvkf.js} +1 -1
- package/dist/chunks/{tool-output-g6yzwk23.js → model-retry-kbx45pjb.js} +30 -30
- package/dist/chunks/{tool-output-5kbev7nh.js → model-retry-kkew1p9e.js} +6 -6
- package/dist/chunks/{tool-output-tpp4aej2.js → model-retry-km7czr20.js} +21 -21
- package/dist/chunks/{tool-output-r01d67gn.js → model-retry-kspt1gd4.js} +8 -8
- package/dist/chunks/{tool-output-kt3bjfbg.js → model-retry-kt3bjfbg.js} +1 -1
- package/dist/chunks/{tool-output-2bexbmx7.js → model-retry-kw23vkf0.js} +1 -1
- package/dist/chunks/{tool-output-yn23tc2v.js → model-retry-kwp52g30.js} +10 -10
- package/dist/chunks/{tool-output-3vdwfrk9.js → model-retry-kxvkas7c.js} +5 -5
- package/dist/chunks/{tool-output-m1714858.js → model-retry-m1714858.js} +1 -1
- package/dist/chunks/{tool-output-a7hcemwv.js → model-retry-m81bzjfe.js} +11 -11
- package/dist/chunks/{tool-output-pt34v7je.js → model-retry-m8kw722f.js} +52 -52
- package/dist/chunks/{tool-output-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-output-maspj1v3.js → model-retry-maspj1v3.js} +1 -1
- package/dist/chunks/{tool-output-2qj28n5c.js → model-retry-mdmq4ayq.js} +6 -6
- package/dist/chunks/{tool-output-h4f6vs3g.js → model-retry-mg4jj3cq.js} +11 -11
- package/dist/chunks/{tool-output-nn0x9b8s.js → model-retry-mnb0kth4.js} +20 -20
- package/dist/chunks/{tool-output-ympsf4bd.js → model-retry-mq1hjbvv.js} +19 -19
- package/dist/chunks/{tool-output-39k15pn6.js → model-retry-mt48qw68.js} +18 -18
- package/dist/chunks/{tool-output-6aqbrqep.js → model-retry-mv9cyhb6.js} +27 -27
- package/dist/chunks/{tool-output-ncnmhedn.js → model-retry-mvf5yed7.js} +15 -15
- package/dist/chunks/{tool-output-fc2fw478.js → model-retry-mxjqcj4f.js} +17 -17
- package/dist/chunks/{tool-output-3q5vep8y.js → model-retry-n4g6yntc.js} +9 -9
- package/dist/chunks/{tool-output-4gxtsg4q.js → model-retry-n91mh7q3.js} +36 -36
- package/dist/chunks/{tool-output-2p2a88gw.js → model-retry-n9nqya42.js} +12 -12
- package/dist/chunks/{tool-output-770pw0s1.js → model-retry-nah043kf.js} +4 -4
- package/dist/chunks/{tool-output-pqp4ah5f.js → model-retry-nf83kzdy.js} +46 -46
- package/dist/chunks/{tool-output-6gm7hc9m.js → model-retry-npaxjfat.js} +34 -34
- package/dist/chunks/{tool-output-s0j4vfyb.js → model-retry-nxg0a76y.js} +22 -22
- package/dist/chunks/{tool-output-69gn191w.js → model-retry-ny7d5fer.js} +21 -21
- package/dist/chunks/{tool-output-p015t6z3.js → model-retry-p015t6z3.js} +2 -2
- package/dist/chunks/{tool-output-9jbwxrha.js → model-retry-p3ns8jke.js} +19 -19
- package/dist/chunks/{tool-output-x0evmera.js → model-retry-p5t4xveb.js} +6 -6
- package/dist/chunks/{tool-output-j8849abs.js → model-retry-p81fp5vk.js} +28 -28
- package/dist/chunks/{tool-output-bsqrjjtg.js → model-retry-p8s7ax7s.js} +4 -4
- package/dist/chunks/{tool-output-cee096dw.js → model-retry-paae1hvb.js} +11 -11
- package/dist/chunks/{tool-output-qc02d14w.js → model-retry-pcx7njc6.js} +22 -22
- package/dist/chunks/{tool-output-1tvtyxqv.js → model-retry-pk8bqs0r.js} +11 -11
- package/dist/chunks/{tool-output-pknna89w.js → model-retry-pknna89w.js} +1 -1
- package/dist/chunks/{tool-output-63hkdzbg.js → model-retry-ppheb231.js} +4 -4
- package/dist/chunks/{tool-output-jccf4379.js → model-retry-pzbahg37.js} +9 -9
- package/dist/chunks/{tool-output-bmvgsr22.js → model-retry-pzm5e1e5.js} +1 -1
- package/dist/chunks/{tool-output-hfqv7x4d.js → model-retry-q35f0zmw.js} +16 -16
- package/dist/chunks/{tool-output-pj6kkmwg.js → model-retry-q5jvcvf9.js} +13 -13
- package/dist/chunks/{tool-output-8jztxfpf.js → model-retry-qjgzc4b4.js} +4 -4
- package/dist/chunks/{tool-output-bem2npsx.js → model-retry-qk2x4zmh.js} +30 -30
- package/dist/chunks/{tool-output-60p7g2te.js → model-retry-qnz3a88e.js} +10 -10
- package/dist/chunks/{tool-output-n92mzsnh.js → model-retry-qq9g4at8.js} +52 -52
- package/dist/chunks/{tool-output-3ryz99p0.js → model-retry-qqg9c0kv.js} +4 -4
- package/dist/chunks/{tool-output-end82zqt.js → model-retry-qv0xhenj.js} +78 -78
- package/dist/chunks/{tool-output-y288cn10.js → model-retry-qwc3x251.js} +14 -14
- package/dist/chunks/{tool-output-r0yr0wbs.js → model-retry-r0yr0wbs.js} +1 -1
- package/dist/chunks/{tool-output-r542h3bh.js → model-retry-r542h3bh.js} +1 -1
- package/dist/chunks/{tool-output-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
- package/dist/chunks/{tool-output-2ge2z4cg.js → model-retry-rf0yhvg8.js} +16 -16
- package/dist/chunks/{tool-output-5fgbm0wv.js → model-retry-rnf8ygje.js} +3 -3
- package/dist/chunks/{tool-output-hpbvv96n.js → model-retry-rrq81g5f.js} +21 -21
- package/dist/chunks/{tool-output-rt5dr6hb.js → model-retry-rt5dr6hb.js} +1 -1
- package/dist/chunks/{tool-output-frfzcpgy.js → model-retry-s44wx98y.js} +12 -12
- package/dist/chunks/{tool-output-3sk8enc1.js → model-retry-s4br5rnc.js} +11 -11
- package/dist/chunks/{tool-output-sa3fpqfw.js → model-retry-sa3fpqfw.js} +2 -2
- package/dist/chunks/{tool-output-aja6hfsp.js → model-retry-sdxwz4vj.js} +5 -5
- package/dist/chunks/{tool-output-k1dyhccn.js → model-retry-skd7ds45.js} +14 -14
- package/dist/chunks/{tool-output-sqjzf8x2.js → model-retry-sqjzf8x2.js} +1 -1
- package/dist/chunks/{tool-output-d2887f8n.js → model-retry-ssfehs1z.js} +4 -4
- package/dist/chunks/{tool-output-jhrcq78y.js → model-retry-t0vy2dfp.js} +10 -10
- package/dist/chunks/{tool-output-d64cx63j.js → model-retry-t3qvsv4x.js} +7 -7
- package/dist/chunks/{tool-output-81a9zpe2.js → model-retry-t42gxy5r.js} +8 -8
- package/dist/chunks/{tool-output-nd41fner.js → model-retry-t6j5m88d.js} +11 -11
- package/dist/chunks/{tool-output-wx6evs79.js → model-retry-t9hc3t3t.js} +18 -18
- package/dist/chunks/{tool-output-ede5t31q.js → model-retry-t9jfkh4s.js} +17 -17
- package/dist/chunks/{tool-output-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
- package/dist/chunks/{tool-output-a3h99bw5.js → model-retry-tmgcn98f.js} +9 -9
- package/dist/chunks/{tool-output-twv2r8f4.js → model-retry-twv2r8f4.js} +2 -2
- package/dist/chunks/{tool-output-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
- package/dist/chunks/{tool-output-8nfppp0x.js → model-retry-v2ydvkbp.js} +36 -36
- package/dist/chunks/{tool-output-yt31zvs0.js → model-retry-v6bhxz94.js} +24 -24
- package/dist/chunks/{tool-output-v6h5bgwd.js → model-retry-v6h5bgwd.js} +1 -1
- package/dist/chunks/{tool-output-c58wr0zj.js → model-retry-vcngc2jq.js} +30 -30
- package/dist/chunks/{tool-output-vd3b3yk9.js → model-retry-vd3b3yk9.js} +1 -1
- package/dist/chunks/{tool-output-veqvce7d.js → model-retry-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-output-96ym0hte.js → model-retry-vm0wcjea.js} +10 -10
- package/dist/chunks/{tool-output-dccrvx04.js → model-retry-vp3hqrv6.js} +27 -27
- package/dist/chunks/{tool-output-9dj7pbca.js → model-retry-vphhrdzm.js} +30 -30
- package/dist/chunks/{tool-output-3j1ep4vq.js → model-retry-vxp3z339.js} +28 -28
- package/dist/chunks/{tool-output-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-output-ga2dp1ny.js → model-retry-w4qj5bhy.js} +42 -42
- package/dist/chunks/{tool-output-p2y1bt5g.js → model-retry-wa0020sp.js} +36 -36
- package/dist/chunks/{tool-output-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
- package/dist/chunks/{tool-output-70h1qnfn.js → model-retry-wc86xy3n.js} +17 -17
- package/dist/chunks/{tool-output-wd87259q.js → model-retry-wd87259q.js} +1 -1
- package/dist/chunks/{tool-output-yhgpjx0v.js → model-retry-wdzvz19b.js} +15 -15
- package/dist/chunks/{tool-output-fznmdakp.js → model-retry-wr3re1en.js} +4 -4
- package/dist/chunks/{tool-output-y2c4sbnk.js → model-retry-wwf1bymv.js} +23 -23
- package/dist/chunks/{tool-output-6xaz3aew.js → model-retry-wx4hn9c6.js} +21 -21
- package/dist/chunks/model-retry-xcbrzhrb.js +517 -0
- package/dist/chunks/{tool-output-crj5e783.js → model-retry-xfv5zx0r.js} +11 -11
- package/dist/chunks/{tool-output-59fxmd0j.js → model-retry-y1rtgf89.js} +28 -28
- package/dist/chunks/{tool-output-q3zv3z6r.js → model-retry-y2nf64jh.js} +19 -19
- package/dist/chunks/{tool-output-e0p4kz3g.js → model-retry-y4f1fvfh.js} +27 -27
- package/dist/chunks/{tool-output-ptatd3p6.js → model-retry-y6413w8f.js} +11 -11
- package/dist/chunks/{tool-output-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
- package/dist/chunks/{tool-output-rbpy9kt0.js → model-retry-yqqqeckg.js} +29 -29
- package/dist/chunks/{tool-output-z0bkrqjs.js → model-retry-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-output-z38nccrw.js → model-retry-z38nccrw.js} +1 -1
- package/dist/chunks/{tool-output-aqk6p4c3.js → model-retry-z3ae4np4.js} +21 -21
- package/dist/chunks/{tool-output-3p7agaaw.js → model-retry-z3wn5wtx.js} +7 -7
- package/dist/chunks/{tool-output-6px9atyk.js → model-retry-zewy1hcb.js} +11 -11
- package/dist/chunks/{tool-output-zkg84ctx.js → model-retry-zkg84ctx.js} +1 -1
- package/dist/chunks/{tool-output-x7jnexzk.js → model-retry-zx5t73xg.js} +20 -20
- package/dist/chunks/{tool-output-61ennm6n.js → model-retry-zzdv5d93.js} +4 -4
- package/dist/chunks/{tool-output-0srp2sh0.js → model-retry-zzsxzmp1.js} +16 -16
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +118 -118
- package/dist/config/plugin/command.js +214 -214
- 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 +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +3 -3
- 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 +119 -119
- 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 +119 -119
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- 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 +100 -100
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +107 -107
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +92 -92
- package/dist/generate.js +112 -112
- 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 +84 -84
- 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 +93 -93
- package/dist/job.js +82 -82
- 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 +94 -94
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +114 -114
- 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 +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +103 -103
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- 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 +94 -94
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -79
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +105 -105
- package/dist/plugin/hooks.js +1 -1
- 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 +119 -119
- package/dist/plugin/optimize.js +2 -2
- 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 +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +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 +118 -118
- 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 +78 -78
- 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 +354 -354
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.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 +95 -95
- package/dist/provider.js +102 -102
- 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 +96 -96
- package/dist/repository-cache.js +86 -86
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +102 -102
- 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 +165 -165
- 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 +220 -220
- package/dist/session/execution.js +131 -131
- package/dist/session/generate.js +169 -169
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- 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 +125 -125
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- 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 +167 -167
- 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 +5 -5
- package/dist/session/title.js +171 -171
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +112 -112
- package/dist/skill.js +113 -113
- package/dist/snapshot.js +94 -94
- 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 +142 -142
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +129 -129
- 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 +110 -110
- package/dist/tool/plugin/read.js +130 -130
- package/dist/tool/plugin/shell.js +219 -219
- package/dist/tool/plugin/skill.js +118 -118
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +134 -134
- package/dist/tool/plugin/webfetch.js +118 -118
- package/dist/tool/plugin/websearch.js +119 -119
- package/dist/tool/plugin/write.js +127 -127
- package/dist/tool/read-filesystem.js +107 -107
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +97 -97
- 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/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 +85 -85
- package/dist/workspace/driver.js +5 -5
- 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 +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +94 -94
- package/dist/worktree.js +105 -105
- 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 → model-retry-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-output-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-output-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-output-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-output-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-output-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-output-2bv980vf.js → model-retry-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-output-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-output-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-output-3asan66x.js → model-retry-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-output-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-output-3wcehsnq.js → model-retry-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-output-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-output-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-output-4vcrnpx2.js → model-retry-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-output-4y7fprxs.js → model-retry-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-output-53557ph1.js → model-retry-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-output-550bvhaj.js → model-retry-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-output-6prwharc.js → model-retry-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-output-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-output-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-output-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-output-822emrt2.js → model-retry-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-output-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-output-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-output-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-output-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-output-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-output-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-output-a058387c.js → model-retry-a058387c.js} +0 -0
- /package/dist/chunks/{tool-output-a6k6eb26.js → model-retry-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-output-af5trqkr.js → model-retry-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-output-afrmfg78.js → model-retry-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-output-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-output-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-output-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-output-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-output-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-output-cqv5kn06.js → model-retry-cqv5kn06.js} +0 -0
- /package/dist/chunks/{tool-output-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-output-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-output-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-output-dajrwvna.js → model-retry-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-output-dap0rakb.js → model-retry-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-output-df08tz66.js → model-retry-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-output-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-output-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-output-e73j6tqm.js → model-retry-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-output-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-output-eh3zwz77.js → model-retry-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-output-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-output-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-output-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-output-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-output-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-output-g4wezp1m.js → model-retry-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-output-g86h250q.js → model-retry-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-output-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-output-gftt206x.js → model-retry-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-output-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
- /package/dist/chunks/{tool-output-hk9envan.js → model-retry-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-output-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-output-j5zkgpj8.js → model-retry-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-output-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-output-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-output-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-output-jwr30sdr.js → model-retry-jwr30sdr.js} +0 -0
- /package/dist/chunks/{tool-output-jze0r7bz.js → model-retry-jze0r7bz.js} +0 -0
- /package/dist/chunks/{tool-output-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-output-m18g726c.js → model-retry-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-output-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-output-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-output-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-output-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-output-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-output-pkyv6v7h.js → model-retry-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{tool-output-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-output-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-output-qaymkmh1.js → model-retry-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-output-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-output-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-output-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-output-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-output-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-output-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-output-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-output-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-output-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-output-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-output-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-output-wjj7prxr.js → model-retry-wjj7prxr.js} +0 -0
- /package/dist/chunks/{tool-output-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-output-x0ckcb58.js → model-retry-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-output-x61499pn.js → model-retry-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-output-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-output-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-output-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-output-ym463w8f.js → model-retry-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-output-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-output-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service77
|
|
9
|
+
} from "./model-retry-jvasdgem.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service56
|
|
12
|
+
} from "./model-retry-1m6xs2a7.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service51
|
|
15
|
+
} from "./model-retry-dn3a5ca8.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-retry-vphhrdzm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service67
|
|
24
|
+
} from "./model-retry-fx6779qx.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service22
|
|
27
|
+
} from "./model-retry-t9hc3t3t.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-retry-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: () => Input3,
|
|
37
|
+
Output: () => Output3,
|
|
38
|
+
Plugin: () => Plugin38,
|
|
39
|
+
name: () => name3,
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
|
-
import { ToolFailure } from "@opencode/ai";
|
|
42
|
+
import { ToolFailure } from "@opencode/ai/effect";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name3 = "glob";
|
|
46
|
+
var Input3 = 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 Input11 = 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 Output3 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin38 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service56;
|
|
70
|
+
const ripgrep = yield* Service51;
|
|
71
|
+
const location = yield* Service77;
|
|
72
|
+
const access = yield* Service22;
|
|
73
|
+
const permission = yield* Service67;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name3,
|
|
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: Input3,
|
|
79
|
+
output: Output3,
|
|
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: name3,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin14 = {
|
|
|
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: toModelContent2(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 { name3, Input3, Output3, toModelContent2, Plugin38, exports_glob };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID16,
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./model-retry-p81fp5vk.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
17
|
+
Service: () => Service82,
|
|
18
|
+
UnavailableError: () => UnavailableError5,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer27,
|
|
21
|
+
node: () => node86
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -31,18 +31,18 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError5 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service82 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer27 = Layer.effect(Service82, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
45
|
-
const findConnection = (provider, methods = ["key"]) => integrations.get(
|
|
44
|
+
const integrations = yield* Service83;
|
|
45
|
+
const findConnection = (provider, methods = ["key"]) => integrations.get(ID16.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
|
|
46
46
|
const source = Effect.fnUntraced(function* (engine) {
|
|
47
47
|
const connection = yield* findConnection(engine.provider);
|
|
48
48
|
if (connection)
|
|
@@ -67,10 +67,10 @@ var layer11 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
67
67
|
if (!engine)
|
|
68
68
|
return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
|
|
69
69
|
const found = yield* source(engine);
|
|
70
|
-
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new
|
|
70
|
+
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError5({ service: found.provider, message: error.message }))) : undefined;
|
|
71
71
|
const access = found && credential && sessionAccess(found.provider, credential);
|
|
72
72
|
if (found === undefined || access === undefined)
|
|
73
|
-
return yield* new
|
|
73
|
+
return yield* new UnavailableError5({
|
|
74
74
|
service: engine.provider,
|
|
75
75
|
message: engine.id === "openai-live" ? missingLiveKeyMessage : missingKeyMessage[engine.provider]
|
|
76
76
|
});
|
|
@@ -79,14 +79,14 @@ var layer11 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
79
79
|
session: input.session,
|
|
80
80
|
transport: input.transport,
|
|
81
81
|
...access
|
|
82
|
-
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new
|
|
82
|
+
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError5({ message: error.message, service: found.provider })));
|
|
83
83
|
});
|
|
84
|
-
return
|
|
84
|
+
return Service82.of({ models, session });
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
87
|
-
service:
|
|
88
|
-
layer:
|
|
89
|
-
deps: [
|
|
86
|
+
var node86 = makeLocationNode({
|
|
87
|
+
service: Service82,
|
|
88
|
+
layer: layer27,
|
|
89
|
+
deps: [node87, requestExecutor2]
|
|
90
90
|
});
|
|
91
91
|
var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
|
|
92
92
|
var sessionAccess = (provider, credential) => {
|
|
@@ -108,4 +108,4 @@ var missingKeyMessage = {
|
|
|
108
108
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
export { InvalidRequestError2,
|
|
111
|
+
export { InvalidRequestError2, UnavailableError5, Service82, layer27, node86, exports_voice };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-g91txfza.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-vd3b3yk9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./model-retry-jvasdgem.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
rewrite2,
|
|
15
|
+
ID12,
|
|
15
16
|
modelSettings2,
|
|
16
17
|
mergeOverlay2,
|
|
17
18
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Event16
|
|
21
|
-
|
|
22
|
-
} from "./tool-output-rbpy9kt0.js";
|
|
19
|
+
Service75,
|
|
20
|
+
node79,
|
|
21
|
+
Event16
|
|
22
|
+
} from "./model-retry-yqqqeckg.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -32,16 +32,16 @@ __export(exports_model2, {
|
|
|
32
32
|
Cost: () => Cost2,
|
|
33
33
|
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID11,
|
|
36
|
+
Info: () => Info21,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service74,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node78,
|
|
45
45
|
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
@@ -50,7 +50,7 @@ import { Context, Effect, Layer, Stream } from "effect";
|
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
52
|
import { Event as Event15 } from "@opencode/schema/model";
|
|
53
|
-
var
|
|
53
|
+
var ID11 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -67,14 +67,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
67
67
|
};
|
|
68
68
|
var Cost2 = Model.Cost;
|
|
69
69
|
var Ref2 = Model.Ref;
|
|
70
|
-
var
|
|
70
|
+
var Info21 = Model.Info;
|
|
71
71
|
|
|
72
|
-
class
|
|
72
|
+
class Service74 extends Context.Service()("@opencode/Model") {
|
|
73
73
|
}
|
|
74
|
-
var layer = Layer.effect(
|
|
75
|
-
const providers = yield*
|
|
74
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
75
|
+
const providers = yield* Service75;
|
|
76
76
|
const bus = yield* Service86;
|
|
77
|
-
const location = yield*
|
|
77
|
+
const location = yield* Service77;
|
|
78
78
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
79
79
|
let input;
|
|
80
80
|
const state = create3({
|
|
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
120
120
|
const models = writable(providerID);
|
|
121
121
|
if (!models)
|
|
122
122
|
return;
|
|
123
|
-
const model = draft(providerID, modelID) ??
|
|
123
|
+
const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
|
|
124
124
|
update(model);
|
|
125
125
|
model.id = modelID;
|
|
126
126
|
model.providerID = providerID;
|
|
@@ -189,7 +189,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
189
189
|
];
|
|
190
190
|
}));
|
|
191
191
|
if (disableFree)
|
|
192
|
-
for (const providerID of [
|
|
192
|
+
for (const providerID of [ID12.opencode, ID12.make("opencode-go")])
|
|
193
193
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
194
194
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
195
195
|
models.delete(id);
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
217
217
|
});
|
|
218
218
|
});
|
|
219
219
|
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
220
|
-
return
|
|
220
|
+
return Service74.of({
|
|
221
221
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
222
222
|
reload,
|
|
223
223
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
236
236
|
})
|
|
237
237
|
});
|
|
238
238
|
}));
|
|
239
|
-
var
|
|
239
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [node79, node90, node81] });
|
|
240
240
|
var PREFERRED_FREE = [
|
|
241
241
|
"big-pickle",
|
|
242
242
|
"deepseek-v4.1-flash-free",
|
|
@@ -244,7 +244,7 @@ var PREFERRED_FREE = [
|
|
|
244
244
|
"muse-spark-1.3-contributor-free"
|
|
245
245
|
];
|
|
246
246
|
function preferFree(models) {
|
|
247
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
247
|
+
const freeOnly = models.every((model) => model.providerID === ID12.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
248
248
|
if (!freeOnly)
|
|
249
249
|
return models;
|
|
250
250
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -263,9 +263,9 @@ function compatibility2(input) {
|
|
|
263
263
|
function parse5(input) {
|
|
264
264
|
const index = input.indexOf("/");
|
|
265
265
|
return {
|
|
266
|
-
providerID:
|
|
267
|
-
modelID:
|
|
266
|
+
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
267
|
+
modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
|
|
268
268
|
};
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
export {
|
|
271
|
+
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service74, node78, supportsText2, compatibility2, parse5, exports_model2, Event15 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
match2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-z38nccrw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/managed-policy.ts
|
|
9
9
|
var exports_managed_policy = {};
|
|
10
10
|
__export(exports_managed_policy, {
|
|
11
11
|
ManagedPolicy: () => exports_managed_policy,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service15,
|
|
13
13
|
decision: () => decision2,
|
|
14
|
-
layer: () =>
|
|
15
|
-
node: () =>
|
|
14
|
+
layer: () => layer9,
|
|
15
|
+
node: () => node17,
|
|
16
16
|
statements: () => statements2
|
|
17
17
|
});
|
|
18
18
|
import { isDeepStrictEqual } from "node:util";
|
|
19
19
|
import { Context, Effect, Layer, PubSub, Stream } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Service15 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var layer9 = Layer.effect(Service15, Effect.gen(function* () {
|
|
25
25
|
const changes = yield* PubSub.unbounded();
|
|
26
26
|
const state = { current: { statements: [] } };
|
|
27
|
-
return
|
|
27
|
+
return Service15.of({
|
|
28
28
|
changes: () => Stream.fromPubSub(changes),
|
|
29
29
|
current: () => state.current,
|
|
30
30
|
set: (next) => Effect.gen(function* () {
|
|
@@ -36,7 +36,7 @@ var layer12 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
39
|
+
var node17 = makeGlobalNode({ service: Service15, layer: layer9, deps: [] });
|
|
40
40
|
function statements2(entries, organization) {
|
|
41
41
|
return [
|
|
42
42
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
|
|
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
|
|
|
50
50
|
return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service15, layer9, node17, statements2, decision2, exports_managed_policy };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service64,
|
|
6
|
+
node68
|
|
7
|
+
} from "./model-retry-nf83kzdy.js";
|
|
8
8
|
import {
|
|
9
9
|
retry2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-retry-9cx9sm2q.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/generate.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Generate: () =>
|
|
16
|
+
var exports_generate = {};
|
|
17
|
+
__export(exports_generate, {
|
|
18
|
+
Generate: () => exports_generate,
|
|
19
19
|
ModelSelectionError: () => ModelSelectionError2,
|
|
20
|
-
Service: () =>
|
|
21
|
-
UnavailableError: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
20
|
+
Service: () => Service17,
|
|
21
|
+
UnavailableError: () => UnavailableError2,
|
|
22
|
+
layer: () => layer11,
|
|
23
|
+
node: () => node20
|
|
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 UnavailableError2 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 Service17 extends Context.Service()("@opencode/Generate") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer11 = Layer.effect(Service17, Effect.gen(function* () {
|
|
43
43
|
const llm = yield* LLMClient.Service;
|
|
44
|
-
const resolver = yield*
|
|
44
|
+
const resolver = yield* Service64;
|
|
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 UnavailableError2({ 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 UnavailableError2({
|
|
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 UnavailableError2({
|
|
72
72
|
message: "Generation credentials are unavailable"
|
|
73
73
|
})));
|
|
74
|
-
return
|
|
74
|
+
return Service17.of({ text });
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node20 = makeLocationNode({
|
|
77
|
+
service: Service17,
|
|
78
|
+
layer: layer11,
|
|
79
|
+
deps: [node68, llmClient2]
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export { ModelSelectionError2,
|
|
82
|
+
export { ModelSelectionError2, UnavailableError2, Service17, layer11, node20, exports_generate };
|