@opencode/core 0.0.0-dev-1263 → 0.0.0-dev-1264
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 +92 -92
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +248 -248
- package/dist/bus.js +80 -80
- package/dist/chunks/{bus-ebwawem2.js → worktree-02tnp2z6.js} +16 -16
- package/dist/chunks/{bus-034tev2y.js → worktree-034tev2y.js} +2 -2
- package/dist/chunks/{bus-h79qqgx0.js → worktree-04rnhqft.js} +21 -21
- package/dist/chunks/{bus-95ca3vhd.js → worktree-0a24q822.js} +13 -13
- package/dist/chunks/{bus-ztzm4295.js → worktree-0a5a4072.js} +8 -8
- package/dist/chunks/{bus-3ryz99p0.js → worktree-0ahs07zn.js} +4 -4
- package/dist/chunks/{bus-gwb01ej5.js → worktree-0bjg3qy0.js} +13 -13
- package/dist/chunks/{bus-0fvxehme.js → worktree-0fvxehme.js} +2 -2
- package/dist/chunks/{bus-waas2dr2.js → worktree-0gq253mk.js} +34 -34
- package/dist/chunks/{bus-0ma9gw4f.js → worktree-0ma9gw4f.js} +2 -2
- package/dist/chunks/{bus-spz5sz38.js → worktree-0mtp185z.js} +5 -5
- package/dist/chunks/{bus-eeyhn8mk.js → worktree-115nyvd9.js} +23 -23
- package/dist/chunks/{bus-tg1vr1qt.js → worktree-160yv0cs.js} +8 -8
- package/dist/chunks/{bus-dj63vagf.js → worktree-17wdez1g.js} +6 -6
- package/dist/chunks/{bus-1aqsckx4.js → worktree-1aqsckx4.js} +1 -1
- package/dist/chunks/{bus-1aryjtsy.js → worktree-1aryjtsy.js} +1 -1
- package/dist/chunks/{bus-1ep2p91f.js → worktree-1ep2p91f.js} +2 -2
- package/dist/chunks/{bus-mc66mx5n.js → worktree-1j86et5h.js} +5 -5
- package/dist/chunks/{bus-680x2dyv.js → worktree-1kama452.js} +4 -4
- package/dist/chunks/{bus-0yvpyaqy.js → worktree-1wsd0ebx.js} +4 -4
- package/dist/chunks/{bus-tsesm9fb.js → worktree-1wt5gxxy.js} +16 -16
- package/dist/chunks/{bus-1x2knyw4.js → worktree-1x2knyw4.js} +1 -1
- package/dist/chunks/{bus-pyw96d6n.js → worktree-1xcpt731.js} +39 -39
- package/dist/chunks/{bus-fbkb7xm9.js → worktree-1xeavs09.js} +16 -16
- package/dist/chunks/{bus-w687dnns.js → worktree-1yped5qa.js} +4 -4
- package/dist/chunks/{bus-5zrxpy3q.js → worktree-1yq9hg58.js} +5 -5
- package/dist/chunks/{bus-1qefvvrn.js → worktree-21prfe2v.js} +11 -11
- package/dist/chunks/{bus-qnatgp3t.js → worktree-221mv0g2.js} +29 -29
- package/dist/chunks/{bus-jftzbjxe.js → worktree-2estw5xm.js} +2 -2
- package/dist/chunks/{bus-2fc7eemy.js → worktree-2fc7eemy.js} +1 -1
- package/dist/chunks/{bus-tmsabzbp.js → worktree-2g34a0qs.js} +27 -27
- package/dist/chunks/{bus-g7ftnhb3.js → worktree-2h7m8jkh.js} +15 -15
- package/dist/chunks/{bus-83f7y8e1.js → worktree-2mmsr0r6.js} +3 -3
- package/dist/chunks/{bus-88vr49vm.js → worktree-2n444ktb.js} +3 -3
- package/dist/chunks/{bus-2p60zmnr.js → worktree-2p60zmnr.js} +2 -2
- package/dist/chunks/{bus-2prt43t7.js → worktree-2prt43t7.js} +1 -1
- package/dist/chunks/{bus-2wmp7sc8.js → worktree-2qywqnd5.js} +24 -24
- package/dist/chunks/{bus-qvce1bab.js → worktree-36c6fj51.js} +16 -16
- package/dist/chunks/{bus-k3g9cdn7.js → worktree-37gjjf5g.js} +86 -86
- package/dist/chunks/{bus-859w1rtj.js → worktree-3adw4bt5.js} +9 -9
- package/dist/chunks/{bus-6cgz4vez.js → worktree-3eknw787.js} +11 -11
- package/dist/chunks/{bus-707acbjf.js → worktree-3evvr8bx.js} +20 -20
- package/dist/chunks/{bus-7w9qf8t4.js → worktree-3ffssf92.js} +9 -9
- package/dist/chunks/{bus-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-3kh5qk3y.js → worktree-3kh5qk3y.js} +4 -4
- package/dist/chunks/{bus-3nnrz6f6.js → worktree-3nnrz6f6.js} +1 -1
- package/dist/chunks/{bus-40y6dtc2.js → worktree-40y6dtc2.js} +1 -1
- package/dist/chunks/{bus-44pmzq9c.js → worktree-44pmzq9c.js} +2 -2
- package/dist/chunks/{bus-ev9rbz6a.js → worktree-46jzz2by.js} +20 -20
- package/dist/chunks/{bus-xdmhns7t.js → worktree-46ngnzzp.js} +1 -1
- package/dist/chunks/{bus-fz3kzkqd.js → worktree-4cd8bjhn.js} +12 -12
- package/dist/chunks/{bus-4dx1dgte.js → worktree-4dx1dgte.js} +1 -1
- package/dist/chunks/{bus-j5c1h9tb.js → worktree-4e85nbz2.js} +9 -9
- package/dist/chunks/{bus-4f25tdd0.js → worktree-4f25tdd0.js} +1 -1
- package/dist/chunks/{bus-q5r4vjzy.js → worktree-4jp6v5kb.js} +18 -18
- package/dist/chunks/{bus-zdat2xwq.js → worktree-4pw98qd4.js} +4 -4
- package/dist/chunks/{bus-4pyp9zr9.js → worktree-4pyp9zr9.js} +1 -1
- package/dist/chunks/{bus-4v008n1t.js → worktree-4v008n1t.js} +1 -1
- package/dist/chunks/{bus-rfexj5da.js → worktree-4vhvsf6w.js} +59 -59
- package/dist/chunks/{bus-8c7f0ssb.js → worktree-52bne9g4.js} +4 -4
- package/dist/chunks/{bus-kkyae3de.js → worktree-5drvnfvh.js} +19 -19
- package/dist/chunks/{bus-qk5rp7zm.js → worktree-5dsr8r8r.js} +33 -33
- package/dist/chunks/{bus-kr54fh17.js → worktree-5gq1g6z4.js} +30 -30
- package/dist/chunks/{bus-a5wzbm37.js → worktree-5j82wakc.js} +14 -14
- package/dist/chunks/{bus-yv8bmzhj.js → worktree-5m55nvws.js} +47 -47
- package/dist/chunks/{bus-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-az5k00er.js → worktree-5nkvqegm.js} +53 -53
- package/dist/chunks/worktree-6b9epygf.js +35 -0
- package/dist/chunks/{bus-3zm7kqry.js → worktree-6n24w41c.js} +26 -26
- package/dist/chunks/{bus-3fbr10xm.js → worktree-6vbbsh5r.js} +11 -11
- package/dist/chunks/{bus-80mg3ag8.js → worktree-775hqbnd.js} +3 -3
- package/dist/chunks/{bus-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-ahh996hm.js → worktree-7gmy25f6.js} +5 -5
- package/dist/chunks/{bus-9sk33afj.js → worktree-7nqkf5r1.js} +6 -6
- package/dist/chunks/{bus-s0jjn7na.js → worktree-7t938ypj.js} +11 -11
- package/dist/chunks/{bus-7w2ypzdf.js → worktree-7w2ypzdf.js} +1 -1
- package/dist/chunks/{bus-7weczvnd.js → worktree-7weczvnd.js} +1 -1
- package/dist/chunks/{bus-82vskj1b.js → worktree-7wx686z5.js} +20 -20
- package/dist/chunks/{bus-80pdk984.js → worktree-80pdk984.js} +1 -1
- package/dist/chunks/{bus-pz0qcv7x.js → worktree-8230yfm5.js} +9 -9
- package/dist/chunks/{bus-85jq8dht.js → worktree-85jq8dht.js} +1 -1
- package/dist/chunks/worktree-8623vytj.js +273 -0
- package/dist/chunks/{bus-204h1da0.js → worktree-87evyga5.js} +18 -18
- package/dist/chunks/{bus-73ff1310.js → worktree-8akjpyn6.js} +3 -3
- package/dist/chunks/{bus-8b3vzgkx.js → worktree-8b3vzgkx.js} +1 -1
- package/dist/chunks/{bus-0fjn2gbm.js → worktree-8b4n7av8.js} +17 -17
- package/dist/chunks/{bus-8zz9aa9v.js → worktree-8bgnr0we.js} +5 -5
- package/dist/chunks/{bus-x9sg88xm.js → worktree-8dtpqrc9.js} +15 -15
- package/dist/chunks/{bus-cyx3va9k.js → worktree-8g0svzxg.js} +9 -9
- package/dist/chunks/{bus-d1c74rk0.js → worktree-8gmxcapv.js} +11 -11
- package/dist/chunks/{bus-pfg10xr2.js → worktree-8hfctyyf.js} +5 -5
- package/dist/chunks/{bus-8kjyvwy5.js → worktree-8kjyvwy5.js} +1 -1
- package/dist/chunks/{bus-8sxe6kv8.js → worktree-8sxe6kv8.js} +2 -2
- package/dist/chunks/{bus-x33zr93e.js → worktree-8vad137p.js} +15 -15
- package/dist/chunks/{bus-8wtp7s3z.js → worktree-8wtp7s3z.js} +1 -1
- package/dist/chunks/{bus-ymbjwv3a.js → worktree-8wz5a004.js} +16 -16
- package/dist/chunks/{bus-8zv0xmg5.js → worktree-8zv0xmg5.js} +1 -1
- package/dist/chunks/{bus-xfqj7vah.js → worktree-955vq45v.js} +7 -7
- package/dist/chunks/worktree-9beaqk96.js +26 -0
- package/dist/chunks/{bus-n46qswg6.js → worktree-9enxp8jt.js} +6 -6
- package/dist/chunks/{bus-jep0ve1h.js → worktree-9esm5h7s.js} +16 -16
- package/dist/chunks/{bus-7gjjw5z2.js → worktree-9fgy5dtv.js} +8 -8
- package/dist/chunks/{bus-spm7z5z2.js → worktree-9je0v1t5.js} +10 -10
- package/dist/chunks/{bus-f1gmsd3e.js → worktree-9nv5w25y.js} +7 -7
- package/dist/chunks/{bus-ks2x2pph.js → worktree-9p0t0vzw.js} +372 -372
- package/dist/chunks/{bus-e4129qcy.js → worktree-9qm47qae.js} +10 -10
- package/dist/chunks/{bus-ajrqcp8t.js → worktree-9r7xa4ny.js} +6 -6
- package/dist/chunks/{bus-kgsjpgx9.js → worktree-9v0htc5k.js} +28 -28
- package/dist/chunks/{bus-pdb7vdww.js → worktree-9v671hr8.js} +7 -7
- package/dist/chunks/{bus-3bc976rq.js → worktree-9xgtm86g.js} +28 -28
- package/dist/chunks/{bus-c51p6570.js → worktree-a3fn0gmm.js} +2 -2
- package/dist/chunks/{bus-4c805qzj.js → worktree-abfhp5y0.js} +5 -5
- package/dist/chunks/{bus-ayf9fgvx.js → worktree-ah4z3jtw.js} +14 -14
- package/dist/chunks/{bus-00y8gkp5.js → worktree-ah96p1fy.js} +24 -24
- package/dist/chunks/{bus-k1p9bpy2.js → worktree-akk97tym.js} +2 -2
- package/dist/chunks/worktree-aqczazaa.js +16 -0
- package/dist/chunks/{bus-nt907s04.js → worktree-atz1w742.js} +3 -3
- package/dist/chunks/{bus-mh0xmn07.js → worktree-avj6h0e6.js} +31 -31
- package/dist/chunks/{bus-896vab60.js → worktree-awaktgrw.js} +28 -28
- package/dist/chunks/{bus-4rdas243.js → worktree-axkdp7x4.js} +5 -5
- package/dist/chunks/{bus-ayjs7tqn.js → worktree-ayjs7tqn.js} +2 -2
- package/dist/chunks/{bus-jtc2mdpz.js → worktree-b0beahbq.js} +42 -42
- package/dist/chunks/{bus-b26ddj6h.js → worktree-b26ddj6h.js} +4 -4
- package/dist/chunks/{bus-1ybnene4.js → worktree-b6gk4anr.js} +25 -25
- package/dist/chunks/{bus-ja9m900p.js → worktree-b7vxy437.js} +21 -21
- package/dist/chunks/{bus-cyrsjs2m.js → worktree-bg4yx4n3.js} +32 -32
- package/dist/chunks/{bus-9vtq7b87.js → worktree-bmn0w987.js} +15 -15
- package/dist/chunks/{bus-3n2p1an7.js → worktree-bmyrrwdj.js} +15 -15
- package/dist/chunks/{bus-8xz27cp9.js → worktree-brv6mkyx.js} +4 -4
- package/dist/chunks/{bus-bstexjd6.js → worktree-bstexjd6.js} +1 -1
- package/dist/chunks/{bus-vhfbr18d.js → worktree-bt0j8jsq.js} +4 -4
- package/dist/chunks/{bus-12jm629j.js → worktree-bxk31rmq.js} +3 -3
- package/dist/chunks/{bus-e2y38hrw.js → worktree-c53vxacq.js} +19 -19
- package/dist/chunks/{bus-jahxfc61.js → worktree-cjqsf6bw.js} +9 -9
- package/dist/chunks/{bus-3bgf9gas.js → worktree-cpe35zww.js} +4 -4
- package/dist/chunks/{bus-068mjfd4.js → worktree-cqv0yv6r.js} +37 -37
- package/dist/chunks/{bus-cwrgdav8.js → worktree-cwrgdav8.js} +2 -2
- package/dist/chunks/{bus-7h1jvfex.js → worktree-cyebkz0g.js} +18 -18
- package/dist/chunks/{bus-fzz9nyhr.js → worktree-d13jd56m.js} +4 -4
- package/dist/chunks/{bus-w8aaskt8.js → worktree-d2d0axg5.js} +15 -15
- package/dist/chunks/{bus-mxyw4ghg.js → worktree-d2mwgxdd.js} +3 -3
- package/dist/chunks/{bus-kns3rthx.js → worktree-d3kcraj0.js} +30 -30
- package/dist/chunks/{bus-3wg12bp2.js → worktree-d3nfmg6f.js} +27 -27
- package/dist/chunks/{bus-d4v9tmah.js → worktree-d4v9tmah.js} +2 -2
- package/dist/chunks/{bus-grscpw5f.js → worktree-d7k99j55.js} +2 -2
- package/dist/chunks/{bus-8sthr1tx.js → worktree-da7jra8h.js} +30 -30
- package/dist/chunks/{bus-qgqmchj3.js → worktree-dchm6595.js} +10 -10
- package/dist/chunks/{bus-07wkewjj.js → worktree-dfz3m1mp.js} +24 -24
- package/dist/chunks/{bus-v8xpr2tt.js → worktree-dkrnptrz.js} +8 -8
- package/dist/chunks/{bus-vg7kp4jt.js → worktree-dt1vnv0k.js} +13 -13
- package/dist/chunks/{bus-dt77769w.js → worktree-dt77769w.js} +1 -1
- package/dist/chunks/{bus-trd8vmqg.js → worktree-e0zepttq.js} +18 -18
- package/dist/chunks/{bus-fpefy0ef.js → worktree-e1tqt626.js} +15 -15
- package/dist/chunks/{bus-75w0c01q.js → worktree-e27dnf0a.js} +8 -8
- package/dist/chunks/{bus-gfv5sn99.js → worktree-e2yswvtz.js} +17 -17
- package/dist/chunks/{bus-qmgxg96t.js → worktree-e4wexmx7.js} +17 -17
- package/dist/chunks/{bus-fknvcfgj.js → worktree-e53fs974.js} +9 -9
- package/dist/chunks/{bus-n7km60sz.js → worktree-e59cb28x.js} +15 -15
- package/dist/chunks/{bus-7y46bhzt.js → worktree-egkn8eaf.js} +7 -7
- package/dist/chunks/{bus-f4er0pdj.js → worktree-ejsjjq0z.js} +18 -18
- package/dist/chunks/{bus-dftnbhb2.js → worktree-epthsp8p.js} +14 -14
- package/dist/chunks/{bus-12yh0qg2.js → worktree-eq6baf7z.js} +28 -28
- package/dist/chunks/{bus-eqw4pqj1.js → worktree-eqw4pqj1.js} +2 -2
- package/dist/chunks/{bus-p5mfb73r.js → worktree-etx991nf.js} +39 -39
- package/dist/chunks/{bus-6zv2xtvj.js → worktree-evksn9k1.js} +26 -26
- package/dist/chunks/{bus-q5bk3gvt.js → worktree-f2zjpyt5.js} +5 -5
- package/dist/chunks/{bus-wpn6y1aj.js → worktree-f43yppe0.js} +29 -29
- package/dist/chunks/{bus-prq7xxp2.js → worktree-fg9p65nk.js} +6 -6
- package/dist/chunks/{bus-h7fhnmyn.js → worktree-frnfv82a.js} +19 -19
- package/dist/chunks/{bus-kqgn5842.js → worktree-g298ae0f.js} +7 -7
- package/dist/chunks/{bus-mmb0cmqe.js → worktree-ga69pc6y.js} +4 -4
- package/dist/chunks/{bus-gbjdnr5j.js → worktree-gbjdnr5j.js} +2 -2
- package/dist/chunks/{bus-ghrv1g9c.js → worktree-ghrv1g9c.js} +1 -1
- package/dist/chunks/{bus-bfxxc9fz.js → worktree-gmsdxnbj.js} +47 -47
- package/dist/chunks/worktree-grzehpz7.js +18 -0
- package/dist/chunks/{bus-nqfs23xf.js → worktree-gw165p6e.js} +14 -14
- package/dist/chunks/{bus-q47qkx79.js → worktree-h4ghx0yk.js} +18 -18
- package/dist/chunks/{bus-eaj9m5k6.js → worktree-h6081cxj.js} +22 -22
- package/dist/chunks/{bus-b0wcg77f.js → worktree-h8c2vh0k.js} +29 -29
- package/dist/chunks/{bus-pve82aqy.js → worktree-hby6few7.js} +13 -13
- package/dist/chunks/{bus-hgzwgvze.js → worktree-hgzwgvze.js} +2 -2
- package/dist/chunks/{bus-bp514cq9.js → worktree-hj0xet7m.js} +5 -5
- package/dist/chunks/{bus-p6eqydpw.js → worktree-hjm7rc96.js} +10 -10
- package/dist/chunks/{bus-8t99kr38.js → worktree-hkf8spj2.js} +7 -7
- package/dist/chunks/{bus-dhh25a9k.js → worktree-hkkxk2t5.js} +9 -9
- package/dist/chunks/{bus-hc6f5wp3.js → worktree-ht3fwskd.js} +10 -10
- package/dist/chunks/{bus-k3ah5hdc.js → worktree-hw75bg93.js} +14 -14
- package/dist/chunks/{bus-w949zjts.js → worktree-j26gwfra.js} +8 -8
- package/dist/chunks/{bus-e8z8sav5.js → worktree-j8zr3f3w.js} +3 -3
- package/dist/chunks/{bus-mnk9qe00.js → worktree-j95yd6qs.js} +8 -8
- package/dist/chunks/{bus-ze75qvmd.js → worktree-j9nxzz3g.js} +3 -3
- package/dist/chunks/{bus-xtvxmv3z.js → worktree-jbcrpda9.js} +8 -8
- package/dist/chunks/{bus-nrpxndk2.js → worktree-jbwkk6ab.js} +7 -7
- package/dist/chunks/{bus-5707rzr0.js → worktree-jc6n1g1a.js} +12 -12
- package/dist/chunks/{bus-kf3hndtd.js → worktree-jdazy0sj.js} +10 -10
- package/dist/chunks/{bus-t1amr32j.js → worktree-jdb23anr.js} +24 -24
- package/dist/chunks/{bus-b7pv4fnx.js → worktree-jm3dfxjs.js} +21 -21
- package/dist/chunks/{bus-jm70asfg.js → worktree-jm70asfg.js} +1 -1
- package/dist/chunks/{bus-n6rdb9m5.js → worktree-jr5g7pr8.js} +11 -11
- package/dist/chunks/{bus-g7amcep6.js → worktree-jrcj418h.js} +7 -7
- package/dist/chunks/{bus-54wpnc3v.js → worktree-jxaybbka.js} +5 -5
- package/dist/chunks/{bus-2t1h8wp7.js → worktree-jzf995y2.js} +4 -4
- package/dist/chunks/{bus-3z9jz36x.js → worktree-k6y824vh.js} +2 -2
- package/dist/chunks/{bus-6nkt8acg.js → worktree-kfdy2ced.js} +30 -30
- package/dist/chunks/{bus-mccq5jfg.js → worktree-kgxqtx97.js} +5 -5
- package/dist/chunks/{bus-g6n39j1m.js → worktree-kjpmgpdf.js} +17 -17
- package/dist/chunks/{bus-tn37g70e.js → worktree-kjpprafw.js} +26 -26
- package/dist/chunks/{bus-y0z5y3nx.js → worktree-kkfprn4x.js} +7 -7
- package/dist/chunks/{bus-vrme8mhw.js → worktree-kpwwjhqq.js} +37 -37
- package/dist/chunks/{bus-kt3bjfbg.js → worktree-kt3bjfbg.js} +1 -1
- package/dist/chunks/{bus-w75qynz4.js → worktree-ktck1cjp.js} +6 -6
- package/dist/chunks/{bus-pp63pmhh.js → worktree-kth6pzp8.js} +3 -3
- package/dist/chunks/{bus-kzczzf4v.js → worktree-kzczzf4v.js} +1 -1
- package/dist/chunks/{bus-m1714858.js → worktree-m1714858.js} +1 -1
- package/dist/chunks/{bus-m90tx7mw.js → worktree-m90tx7mw.js} +1 -1
- package/dist/chunks/{bus-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-jxfwa44g.js → worktree-m9x82pg0.js} +34 -34
- package/dist/chunks/{bus-mb7mbhnz.js → worktree-mb7mbhnz.js} +3 -3
- package/dist/chunks/{bus-vkz3ha21.js → worktree-me215f18.js} +1 -1
- package/dist/chunks/{bus-dass9azh.js → worktree-mf9xnwfc.js} +4 -4
- package/dist/chunks/{bus-7tfergkk.js → worktree-n3hr8dch.js} +11 -11
- package/dist/chunks/{bus-wzz831y5.js → worktree-n503jqgj.js} +5 -5
- package/dist/chunks/{bus-8k12fzdn.js → worktree-nh29x4t4.js} +9 -9
- package/dist/chunks/{bus-ntnrx6ke.js → worktree-nj7csm0w.js} +4 -4
- package/dist/chunks/{bus-fw732ngd.js → worktree-nqp3x6j2.js} +88 -88
- package/dist/chunks/{bus-btkhs1yx.js → worktree-nrhb5mcr.js} +11 -11
- package/dist/chunks/{bus-84enknj2.js → worktree-ns7cryw4.js} +23 -23
- package/dist/chunks/{bus-bffyp8bc.js → worktree-p6a5srqb.js} +24 -24
- package/dist/chunks/{bus-591dchvc.js → worktree-pazse0a8.js} +25 -25
- package/dist/chunks/{bus-whw3h4aq.js → worktree-pcrxgd1y.js} +21 -21
- package/dist/chunks/{bus-4dfqsw0d.js → worktree-pd7cqnhq.js} +4 -4
- package/dist/chunks/{bus-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{bus-78yfpq2b.js → worktree-pvpgttgh.js} +6 -6
- package/dist/chunks/{bus-rhfsqzn9.js → worktree-pwe4x7n8.js} +41 -41
- package/dist/chunks/{bus-z0qy6syc.js → worktree-q1x3kagb.js} +26 -26
- package/dist/chunks/{bus-0rp80gpv.js → worktree-q6n1cnj5.js} +11 -11
- package/dist/chunks/{bus-brmvfh58.js → worktree-q7srkfd6.js} +3 -3
- package/dist/chunks/{bus-qvtwmp4v.js → worktree-qah7t4da.js} +6 -6
- package/dist/chunks/{bus-ncms6pw2.js → worktree-qdr892na.js} +12 -12
- package/dist/chunks/{bus-qp7r0hxv.js → worktree-qp7r0hxv.js} +1 -1
- package/dist/chunks/{bus-msd2a3qm.js → worktree-r1jdstg5.js} +7 -7
- package/dist/chunks/{bus-ysv9j9ds.js → worktree-r6paxqy7.js} +6 -6
- package/dist/chunks/{bus-a0bweqwa.js → worktree-r9t20rx0.js} +17 -17
- package/dist/chunks/{bus-rb9dy4dg.js → worktree-rb9dy4dg.js} +1 -1
- package/dist/chunks/{bus-3aystt2y.js → worktree-rcp756gk.js} +4 -4
- package/dist/chunks/{bus-2frbs0db.js → worktree-rg2m9633.js} +30 -30
- package/dist/chunks/{bus-rgc9cx3e.js → worktree-rgc9cx3e.js} +2 -2
- package/dist/chunks/{bus-ana541dw.js → worktree-rhy0sbpe.js} +13 -13
- package/dist/chunks/{bus-q7n0yvy1.js → worktree-rr5nfxgj.js} +10 -10
- package/dist/chunks/{bus-hfyfad37.js → worktree-rrg5jx6f.js} +5 -5
- package/dist/chunks/{bus-s3wajrtt.js → worktree-rsd267qt.js} +6 -6
- package/dist/chunks/{bus-3ad7t7sr.js → worktree-rygz02xs.js} +20 -20
- package/dist/chunks/{bus-rzg6y5rp.js → worktree-rzg6y5rp.js} +1 -1
- package/dist/chunks/{bus-y8trpfjq.js → worktree-s062474n.js} +29 -29
- package/dist/chunks/{bus-zyq2pv4t.js → worktree-s26c8eb5.js} +4 -4
- package/dist/chunks/{bus-embckhmt.js → worktree-s2eam2g1.js} +22 -22
- package/dist/chunks/{bus-s47rahr7.js → worktree-s47rahr7.js} +1 -1
- package/dist/chunks/{bus-sbya78hr.js → worktree-sbya78hr.js} +1 -1
- package/dist/chunks/{bus-d05kbw21.js → worktree-sbzezcpx.js} +8 -8
- package/dist/chunks/{bus-svcy3p9a.js → worktree-svcy3p9a.js} +1 -1
- package/dist/chunks/{bus-zszvhx97.js → worktree-t177y0q1.js} +11 -11
- package/dist/chunks/{bus-j3khdeed.js → worktree-t7h80jfh.js} +7 -7
- package/dist/chunks/{bus-7hbfr3gt.js → worktree-t8erkws8.js} +5 -5
- package/dist/chunks/{bus-vga3rtn5.js → worktree-taa3rr0k.js} +4 -4
- package/dist/chunks/{bus-tbpn7jtk.js → worktree-tbpn7jtk.js} +1 -1
- package/dist/chunks/{bus-ndqtk37h.js → worktree-tch23gam.js} +16 -16
- package/dist/chunks/{bus-tczq8hjw.js → worktree-tczq8hjw.js} +1 -1
- package/dist/chunks/{bus-kcg0dq7d.js → worktree-tehj359t.js} +19 -19
- package/dist/chunks/{bus-tg7s7b5t.js → worktree-tg7s7b5t.js} +1 -1
- package/dist/chunks/{bus-tr8x705m.js → worktree-tr8x705m.js} +1 -1
- package/dist/chunks/{bus-93ja3pkt.js → worktree-trxdv4a2.js} +11 -11
- package/dist/chunks/{bus-tvtps2q9.js → worktree-tvtps2q9.js} +1 -1
- package/dist/chunks/{bus-7z7xnvxr.js → worktree-tw2hbedk.js} +36 -36
- package/dist/chunks/{bus-twssxy5n.js → worktree-twssxy5n.js} +2 -2
- package/dist/chunks/{bus-dywjy152.js → worktree-v0etfk9t.js} +23 -23
- package/dist/chunks/{bus-v2r1d0zg.js → worktree-v2r1d0zg.js} +1 -1
- package/dist/chunks/{bus-1ban4kqf.js → worktree-v3ryf4j6.js} +7 -7
- package/dist/chunks/{bus-v4bj6baw.js → worktree-v4bj6baw.js} +1 -1
- package/dist/chunks/{bus-1xxsk924.js → worktree-v5bqf2qj.js} +13 -13
- package/dist/chunks/{bus-ag0qg79j.js → worktree-v6yzcc2c.js} +8 -8
- package/dist/chunks/{bus-x1bf84p4.js → worktree-vg3y8tzc.js} +12 -12
- package/dist/chunks/{bus-kdbq1sa8.js → worktree-vgtkes5b.js} +18 -18
- package/dist/chunks/{bus-tjtzrh3a.js → worktree-vjaeyxy8.js} +35 -35
- package/dist/chunks/{bus-vjf35v1f.js → worktree-vjf35v1f.js} +1 -1
- package/dist/chunks/{bus-jefms0ep.js → worktree-vk2qjrme.js} +11 -11
- package/dist/chunks/{bus-71ms5473.js → worktree-vkz6fa6t.js} +31 -31
- package/dist/chunks/{bus-vmqe41cb.js → worktree-vmqe41cb.js} +1 -1
- package/dist/chunks/{bus-vphbnpnp.js → worktree-vphbnpnp.js} +4 -4
- package/dist/chunks/{bus-9f3jsh1d.js → worktree-vq0qa3sh.js} +9 -9
- package/dist/chunks/{bus-bmw1c1w2.js → worktree-vq1ppevj.js} +8 -8
- package/dist/chunks/{bus-19yatqsz.js → worktree-vqvr9k9x.js} +12 -12
- package/dist/chunks/{bus-502gr1rn.js → worktree-vsjszmws.js} +10 -10
- package/dist/chunks/{bus-0n4pdj0s.js → worktree-vsxm4sf9.js} +8 -8
- package/dist/chunks/{bus-px7qpgcn.js → worktree-vt2d6wap.js} +4 -4
- package/dist/chunks/{bus-04bv7e8y.js → worktree-vvty3cpq.js} +49 -49
- package/dist/chunks/{bus-g3agd9q1.js → worktree-vzn28619.js} +6 -6
- package/dist/chunks/{bus-w2eysc6j.js → worktree-w2eysc6j.js} +2 -2
- package/dist/chunks/{bus-xrwgxfr7.js → worktree-w33zj80n.js} +21 -21
- package/dist/chunks/{bus-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-mmx1mfjr.js → worktree-w79nt68w.js} +4 -4
- package/dist/chunks/{bus-3g2qq1gq.js → worktree-w838r4xv.js} +9 -9
- package/dist/chunks/{bus-t82bx91f.js → worktree-w8q5ggyd.js} +28 -28
- package/dist/chunks/{bus-a4wj8b6f.js → worktree-w9e7c2e3.js} +6 -6
- package/dist/chunks/{bus-wakvkjy4.js → worktree-wakvkjy4.js} +1 -1
- package/dist/chunks/{bus-9h7yr659.js → worktree-wbwvvcrc.js} +43 -43
- package/dist/chunks/{bus-h7d1ynq4.js → worktree-wbxahces.js} +8 -8
- package/dist/chunks/{bus-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{bus-wegkxhrn.js → worktree-wegkxhrn.js} +2 -2
- package/dist/chunks/{bus-mpmhhmzt.js → worktree-wrkdd7ek.js} +27 -27
- package/dist/chunks/{bus-4660x4d5.js → worktree-ws1tt9pz.js} +14 -14
- package/dist/chunks/{bus-rxvb4vha.js → worktree-wvr8qheb.js} +149 -149
- package/dist/chunks/{bus-6y2b864j.js → worktree-wvr8xscb.js} +4 -4
- package/dist/chunks/{bus-c44cp8pc.js → worktree-wy6j1ycf.js} +22 -22
- package/dist/chunks/{bus-vffzc4s3.js → worktree-wymgne7z.js} +33 -33
- package/dist/chunks/{bus-5692zcjm.js → worktree-x08m4j8q.js} +18 -18
- package/dist/chunks/{bus-9m0knw07.js → worktree-x38se2hj.js} +11 -11
- package/dist/chunks/{bus-eyfjfzn3.js → worktree-x3t11r60.js} +5 -5
- package/dist/chunks/{bus-empjzqv5.js → worktree-x4s452sp.js} +10 -10
- package/dist/chunks/{bus-k7rhkqnn.js → worktree-x69q9wh6.js} +13 -13
- package/dist/chunks/{bus-17mr135c.js → worktree-xdcez2kt.js} +3 -3
- package/dist/chunks/{bus-4fgsg5hz.js → worktree-xgytw5f8.js} +12 -12
- package/dist/chunks/{bus-m7xh3h0x.js → worktree-xsact9zs.js} +4 -4
- package/dist/chunks/{bus-n320gsn2.js → worktree-xvn8mnch.js} +4 -4
- package/dist/chunks/{bus-xxschbft.js → worktree-xxschbft.js} +1 -1
- package/dist/chunks/{bus-v4j7gz04.js → worktree-xyzp9kyc.js} +13 -13
- package/dist/chunks/{bus-5pme8evj.js → worktree-y2a0knnn.js} +1 -1
- package/dist/chunks/{bus-s4twqmvv.js → worktree-y31k03ft.js} +3 -3
- package/dist/chunks/{bus-6d207je9.js → worktree-y32ebd8a.js} +7 -7
- package/dist/chunks/{bus-1nxgbegj.js → worktree-y3aw00r4.js} +5 -5
- package/dist/chunks/{bus-j0czaf15.js → worktree-y6xdess4.js} +9 -9
- package/dist/chunks/{bus-yb20nhc3.js → worktree-yb20nhc3.js} +1 -1
- package/dist/chunks/{bus-z71a25s3.js → worktree-ycdz9p50.js} +3 -3
- package/dist/chunks/{bus-znc04q0a.js → worktree-yqx9pdyt.js} +49 -49
- package/dist/chunks/{bus-yr705xyq.js → worktree-yr705xyq.js} +1 -1
- package/dist/chunks/{bus-991rwg4k.js → worktree-ys5g4k4z.js} +22 -22
- package/dist/chunks/{bus-yvtc2x31.js → worktree-yvtc2x31.js} +1 -1
- package/dist/chunks/{bus-s1qt1kqv.js → worktree-ywqn7m26.js} +11 -11
- package/dist/chunks/{bus-zp7x01m0.js → worktree-yz8gd7dy.js} +17 -17
- package/dist/chunks/{bus-z0wbgq7s.js → worktree-z0wbgq7s.js} +1 -1
- package/dist/chunks/{bus-xv3ttmt3.js → worktree-z6twvr1q.js} +22 -22
- package/dist/chunks/{bus-9kcadssx.js → worktree-zcptnv4n.js} +10 -10
- package/dist/chunks/{bus-ajbrb7t6.js → worktree-zgj2mgk9.js} +11 -11
- package/dist/chunks/{bus-3mcv9py0.js → worktree-zkxpfaz2.js} +17 -17
- package/dist/chunks/{bus-8qxn38g0.js → worktree-zm62ja19.js} +29 -29
- package/dist/chunks/{bus-w9c22q0h.js → worktree-zsxvp00s.js} +79 -79
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +8 -8
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +247 -247
- package/dist/config/plugin/compaction.js +175 -175
- package/dist/config/plugin/compatibility.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +146 -146
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +133 -133
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +158 -158
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +98 -98
- package/dist/effect/app-node-builder.js +450 -450
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- 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 +81 -81
- package/dist/file-access.js +162 -162
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +166 -166
- 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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +258 -258
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +136 -136
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +121 -121
- package/dist/git.js +7 -7
- package/dist/github-copilot/models.js +113 -113
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +441 -441
- package/dist/instruction-discovery.js +98 -98
- package/dist/instructions/builtins.js +101 -101
- package/dist/instructions/index.js +4 -4
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +96 -96
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +187 -187
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +96 -96
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +149 -149
- package/dist/mcp/instructions.js +192 -192
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +108 -108
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +161 -161
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +113 -113
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +122 -122
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +158 -158
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +146 -146
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +418 -418
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +151 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +113 -113
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
- package/dist/plugin/provider/claude-agent/provider.js +109 -109
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +137 -137
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -163
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -242
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +430 -430
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +258 -258
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -97
- package/dist/provider.js +109 -109
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +102 -102
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +264 -264
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +135 -135
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +177 -177
- package/dist/session/context.js +208 -208
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +271 -271
- package/dist/session/execution/subagent-report.js +145 -145
- package/dist/session/execution.js +176 -176
- package/dist/session/generate.js +210 -210
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +89 -89
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +148 -148
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +176 -176
- package/dist/session/projector.js +148 -148
- package/dist/session/prompt.js +153 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -144
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +263 -263
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -155
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +168 -168
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +196 -196
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +147 -147
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +173 -173
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +212 -212
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +254 -254
- package/dist/session/usage.js +1 -1
- package/dist/session.js +251 -251
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +156 -156
- package/dist/skill.js +161 -161
- package/dist/snapshot.js +106 -106
- 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 +189 -189
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +172 -172
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +175 -175
- package/dist/tool/plugin/image-generate.js +257 -257
- package/dist/tool/plugin/mcp-events.js +168 -168
- package/dist/tool/plugin/mcp-resource.js +172 -172
- package/dist/tool/plugin/opencode.js +168 -168
- package/dist/tool/plugin/patch.js +173 -173
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +171 -171
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +249 -249
- package/dist/tool/plugin/skill.js +162 -162
- package/dist/tool/plugin/subagent.js +251 -251
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +160 -160
- package/dist/tool/plugin/write.js +173 -173
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +167 -167
- package/dist/usage-limits.js +96 -96
- package/dist/util/canonical-json.js +1 -1
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +3 -3
- 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 +107 -107
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +97 -97
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- 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 +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/bus-2jjfs7g5.js +0 -16
- package/dist/chunks/bus-8x060fmy.js +0 -18
- package/dist/chunks/bus-pnc4nd8m.js +0 -35
- package/dist/chunks/bus-psmxp780.js +0 -273
- package/dist/chunks/bus-q6w3jy07.js +0 -26
- /package/dist/chunks/{bus-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kah00gy.js → worktree-1kah00gy.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4qk9sjk2.js → worktree-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-5w3e23ze.js → worktree-5w3e23ze.js} +0 -0
- /package/dist/chunks/{bus-6agm2x70.js → worktree-6agm2x70.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-7rvsyqjv.js → worktree-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → worktree-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9ceax7yg.js → worktree-9ceax7yg.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-ade8csyh.js → worktree-ade8csyh.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-beh6qq61.js → worktree-beh6qq61.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cqv5kn06.js → worktree-cqv5kn06.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-ean2d8b5.js → worktree-ean2d8b5.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fkpq3x5p.js → worktree-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jwr30sdr.js → worktree-jwr30sdr.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → worktree-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-nh4v3znn.js → worktree-nh4v3znn.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-p71gwv9c.js → worktree-p71gwv9c.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-syrav9an.js → worktree-syrav9an.js} +0 -0
- /package/dist/chunks/{bus-t03h4f5z.js → worktree-t03h4f5z.js} +0 -0
- /package/dist/chunks/{bus-ty7weeps.js → worktree-ty7weeps.js} +0 -0
- /package/dist/chunks/{bus-v2dnd5dt.js → worktree-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-vtarvj67.js → worktree-vtarvj67.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x4th4bpe.js → worktree-x4th4bpe.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → worktree-z9919s4g.js} +0 -0
- /package/dist/chunks/{bus-zxpyjp51.js → worktree-zxpyjp51.js} +0 -0
- /package/dist/chunks/{bus-zz5vv3aq.js → worktree-zz5vv3aq.js} +0 -0
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-mf9xnwfc.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/command.ts
|
|
14
14
|
var exports_command4 = {};
|
|
15
15
|
__export(exports_command4, {
|
|
16
16
|
Command: () => exports_command4,
|
|
17
|
-
Event: () =>
|
|
17
|
+
Event: () => Event11,
|
|
18
18
|
ExecutionError: () => ExecutionError2,
|
|
19
|
-
Info: () =>
|
|
19
|
+
Info: () => Info12,
|
|
20
20
|
NotFoundError: () => NotFoundError9,
|
|
21
|
-
Service: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
21
|
+
Service: () => Service57,
|
|
22
|
+
layer: () => layer24,
|
|
23
|
+
node: () => node59
|
|
24
24
|
});
|
|
25
25
|
import { Command } from "@opencode/schema/command";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event11 } from "@opencode/schema/command";
|
|
29
|
+
var Info12 = Command.Info;
|
|
30
30
|
|
|
31
31
|
class NotFoundError9 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
32
32
|
command: Schema.String,
|
|
@@ -40,11 +40,11 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service57 extends Context.Service()("@opencode/Command") {
|
|
44
44
|
}
|
|
45
|
-
var
|
|
45
|
+
var layer24 = Layer.effect(Service57, Effect.gen(function* () {
|
|
46
46
|
const bus = yield* Service93;
|
|
47
|
-
const info = (definition) =>
|
|
47
|
+
const info = (definition) => Info12.make({
|
|
48
48
|
name: definition.name,
|
|
49
49
|
description: definition.description
|
|
50
50
|
});
|
|
@@ -56,7 +56,7 @@ var layer19 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
56
56
|
}),
|
|
57
57
|
notify: changes2((commands) => Array.from(commands.values(), info), () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid))
|
|
58
58
|
});
|
|
59
|
-
return
|
|
59
|
+
return Service57.of({
|
|
60
60
|
reload: state.reload,
|
|
61
61
|
transform: state.transform,
|
|
62
62
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -72,9 +72,9 @@ var layer19 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
72
72
|
})
|
|
73
73
|
});
|
|
74
74
|
}));
|
|
75
|
-
var
|
|
76
|
-
service:
|
|
77
|
-
layer:
|
|
75
|
+
var node59 = makeLocationNode({
|
|
76
|
+
service: Service57,
|
|
77
|
+
layer: layer24,
|
|
78
78
|
deps: [node95]
|
|
79
79
|
});
|
|
80
80
|
function errorMessage(error) {
|
|
@@ -87,4 +87,4 @@ function errorMessage(error) {
|
|
|
87
87
|
return "Command execution failed";
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Info12, NotFoundError9, ExecutionError2, Service57, layer24, node59, exports_command4, Event11 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
managesTransactionsNatively2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-46ngnzzp.js";
|
|
4
4
|
import {
|
|
5
5
|
makeWithDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-xdcez2kt.js";
|
|
7
7
|
import {
|
|
8
8
|
apply3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-7gmy25f6.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/database/database.ts
|
|
15
15
|
var exports_database = {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-m90tx7mw.js";
|
|
4
4
|
import {
|
|
5
5
|
ID16
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-3evvr8bx.js";
|
|
7
7
|
import {
|
|
8
8
|
ID15,
|
|
9
9
|
VariantID2,
|
|
10
10
|
Info23,
|
|
11
11
|
compatibility2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-87evyga5.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/modal/models.ts
|
|
18
|
-
var
|
|
19
|
-
__export(
|
|
20
|
-
ModalModels: () =>
|
|
21
|
-
derive: () =>
|
|
22
|
-
get: () =>
|
|
23
|
-
load: () =>
|
|
18
|
+
var exports_models2 = {};
|
|
19
|
+
__export(exports_models2, {
|
|
20
|
+
ModalModels: () => exports_models2,
|
|
21
|
+
derive: () => derive3,
|
|
22
|
+
get: () => get3,
|
|
23
|
+
load: () => load5
|
|
24
24
|
});
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
26
26
|
import { Effect, Option, Schema } from "effect";
|
|
@@ -56,17 +56,17 @@ var RemoteModel = Schema.Struct({
|
|
|
56
56
|
});
|
|
57
57
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
58
58
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
59
|
-
function
|
|
60
|
-
return
|
|
59
|
+
function get3(http, baseURL, apiKey, existing) {
|
|
60
|
+
return load5(http, baseURL, apiKey).pipe(Effect.map((remote) => derive3(baseURL, remote, existing)));
|
|
61
61
|
}
|
|
62
|
-
var
|
|
62
|
+
var load5 = Effect.fn("ModalModels.load")(function* (http, baseURL, apiKey) {
|
|
63
63
|
const response = yield* HttpClient.filterStatusOk(http).execute(HttpClientRequest.get(`${baseURL.replace(/\/+$/, "")}/models`).pipe(HttpClientRequest.bearerToken(apiKey))).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Response)), Effect.timeout("3 seconds"));
|
|
64
64
|
return response.data.flatMap((raw) => {
|
|
65
65
|
const model = Option.getOrUndefined(decodeModel(raw));
|
|
66
66
|
return model ? [model] : [];
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
|
-
function
|
|
69
|
+
function derive3(baseURL, remote, existing) {
|
|
70
70
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
71
71
|
const result = new Map;
|
|
72
72
|
for (const item of remote) {
|
|
@@ -139,4 +139,4 @@ function variants(remote) {
|
|
|
139
139
|
return [...seen.values()];
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export {
|
|
142
|
+
export { get3, load5, derive3, exports_models2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID16
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-3evvr8bx.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-v3ryf4j6.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialSettings2,
|
|
9
9
|
metadataSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-r6paxqy7.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
13
13
|
import { Effect } from "effect";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-mf9xnwfc.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-5drvnfvh.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-v2dnd5dt.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
@@ -18,17 +18,17 @@ __export(exports_persistent_pty, {
|
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
InvalidCwdError: () => InvalidCwdError2,
|
|
20
20
|
NotFoundError: () => NotFoundError8,
|
|
21
|
-
Options: () =>
|
|
21
|
+
Options: () => Options5,
|
|
22
22
|
PersistentPty: () => exports_persistent_pty,
|
|
23
23
|
ProcessNotFoundError: () => ProcessNotFoundError2,
|
|
24
|
-
RequestError: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
UnavailableError: () =>
|
|
27
|
-
available: () =>
|
|
28
|
-
configured: () =>
|
|
29
|
-
layer: () =>
|
|
24
|
+
RequestError: () => RequestError3,
|
|
25
|
+
Service: () => Service48,
|
|
26
|
+
UnavailableError: () => UnavailableError5,
|
|
27
|
+
available: () => available4,
|
|
28
|
+
configured: () => configured6,
|
|
29
|
+
layer: () => layer21,
|
|
30
30
|
layerWith: () => layerWith2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node51
|
|
32
32
|
});
|
|
33
33
|
import { stat } from "node:fs/promises";
|
|
34
34
|
import path from "node:path";
|
|
@@ -47,18 +47,18 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
47
47
|
import { Global } from "@opencode/util/global";
|
|
48
48
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
49
49
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
50
|
-
import { available as
|
|
51
|
-
var
|
|
50
|
+
import { available as available4 } from "#persistent-pty-binary";
|
|
51
|
+
var Options5 = Schema.Struct({
|
|
52
52
|
handoff: Schema.optional(Handoff),
|
|
53
53
|
root: Schema.optional(Schema.String)
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class UnavailableError5 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
57
57
|
message: Schema.String
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class RequestError3 extends Schema.TaggedError()("PersistentPty.RequestError", {
|
|
62
62
|
message: Schema.String
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
@@ -77,9 +77,9 @@ class InvalidCwdError2 extends Schema.TaggedError()("PersistentPty.InvalidCwdErr
|
|
|
77
77
|
}) {
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
class
|
|
80
|
+
class Service48 extends Context.Service()("@opencode/PersistentPty") {
|
|
81
81
|
}
|
|
82
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
82
|
+
var makeLayer = (options = {}) => Layer.effect(Service48, Effect.gen(function* () {
|
|
83
83
|
const bus = yield* Service93;
|
|
84
84
|
const global = yield* Global.Service;
|
|
85
85
|
const context = yield* Effect.context();
|
|
@@ -163,7 +163,7 @@ var makeLayer = (options = {}) => Layer.effect(Service45, Effect.gen(function* (
|
|
|
163
163
|
});
|
|
164
164
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
165
165
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
166
|
-
return yield* new
|
|
166
|
+
return yield* new UnavailableError5({ message: "lines must be an integer between 1 and 65535" });
|
|
167
167
|
const id = current.get(sessionID);
|
|
168
168
|
if (!id)
|
|
169
169
|
return null;
|
|
@@ -297,7 +297,7 @@ var makeLayer = (options = {}) => Layer.effect(Service45, Effect.gen(function* (
|
|
|
297
297
|
return yield* unexpectedPipe(response);
|
|
298
298
|
return response.processes.map(toPipeInfo);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service48.of({
|
|
301
301
|
list,
|
|
302
302
|
get,
|
|
303
303
|
create,
|
|
@@ -322,14 +322,14 @@ var makeLayer = (options = {}) => Layer.effect(Service45, Effect.gen(function* (
|
|
|
322
322
|
listPipes
|
|
323
323
|
});
|
|
324
324
|
}));
|
|
325
|
-
var
|
|
325
|
+
var layer21 = makeLayer();
|
|
326
326
|
var layerWith2 = (options) => makeLayer(options);
|
|
327
|
-
var
|
|
328
|
-
service:
|
|
329
|
-
layer: options === undefined ?
|
|
327
|
+
var configured6 = (options) => makeGlobalNode({
|
|
328
|
+
service: Service48,
|
|
329
|
+
layer: options === undefined ? layer21 : makeLayer(options),
|
|
330
330
|
deps: [node95, Global.node]
|
|
331
331
|
});
|
|
332
|
-
var
|
|
332
|
+
var node51 = configured6();
|
|
333
333
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
334
334
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
335
335
|
var lookup = (daemon, id) => daemon.requestIfRunning({ op: "get", id }).pipe(Effect.catchIf((error) => error.kind === "request", () => Effect.succeed(undefined)), Effect.flatMap((response) => {
|
|
@@ -339,10 +339,10 @@ var lookup = (daemon, id) => daemon.requestIfRunning({ op: "get", id }).pipe(Eff
|
|
|
339
339
|
return Effect.fail(new Error(`unexpected opencode-pty response: ${response.type}`));
|
|
340
340
|
return Effect.succeed(response.process);
|
|
341
341
|
}));
|
|
342
|
-
var unexpected = (response) => Effect.fail(new
|
|
343
|
-
var unavailable = (error) => new
|
|
344
|
-
var pipeError = (error) => error.kind === "request" || error.kind === "response" ? new
|
|
345
|
-
var unexpectedPipe = (response) => Effect.fail(new
|
|
342
|
+
var unexpected = (response) => Effect.fail(new UnavailableError5({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
343
|
+
var unavailable = (error) => new UnavailableError5({ message: error instanceof Error ? error.message : String(error) });
|
|
344
|
+
var pipeError = (error) => error.kind === "request" || error.kind === "response" ? new RequestError3({ message: error.message }) : new UnavailableError5({ message: error.message });
|
|
345
|
+
var unexpectedPipe = (response) => Effect.fail(new RequestError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
346
346
|
function toInfo(value) {
|
|
347
347
|
if (!value.pty)
|
|
348
348
|
throw new Error(`opencode-pty process ${value.id} is not a terminal`);
|
|
@@ -414,4 +414,4 @@ function fromID(value) {
|
|
|
414
414
|
return parsed;
|
|
415
415
|
}
|
|
416
416
|
|
|
417
|
-
export {
|
|
417
|
+
export { Options5, UnavailableError5, RequestError3, NotFoundError8, ProcessNotFoundError2, InvalidCwdError2, Service48, layer21, layerWith2, configured6, node51, exports_persistent_pty, Handoff2, available4 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
layer29,
|
|
4
|
+
node88
|
|
5
|
+
} from "./worktree-6b9epygf.js";
|
|
6
6
|
import {
|
|
7
7
|
latest2,
|
|
8
|
-
|
|
8
|
+
Service79,
|
|
9
9
|
testLayer3,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
node81
|
|
11
|
+
} from "./worktree-gmsdxnbj.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/flag.ts
|
|
17
17
|
var exports_flag = {};
|
|
18
18
|
__export(exports_flag, {
|
|
19
19
|
Flag: () => exports_flag,
|
|
20
20
|
Overrides: () => Overrides2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service77,
|
|
22
22
|
all: () => all2,
|
|
23
23
|
enabled: () => enabled3,
|
|
24
|
-
layer: () =>
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
24
|
+
layer: () => layer26,
|
|
25
|
+
node: () => node79,
|
|
26
|
+
resolve: () => resolve4,
|
|
27
27
|
testLayer: () => testLayer2
|
|
28
28
|
});
|
|
29
29
|
import { Context, Effect, Layer, Record } from "effect";
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { ConfigFlag } from "@opencode/schema/config/flag";
|
|
32
|
-
class
|
|
32
|
+
class Service77 extends Context.Service()("@opencode/Flag") {
|
|
33
33
|
}
|
|
34
34
|
var Overrides2 = Context.Reference("@opencode/Flag/Overrides", {
|
|
35
35
|
defaultValue: () => process.env.OPENCODE_FLAGS
|
|
36
36
|
});
|
|
37
37
|
var onByDefault = (channel) => channel === "local" || channel === "dev";
|
|
38
|
-
function
|
|
38
|
+
function resolve4(input) {
|
|
39
39
|
const env = new Map((input.overrides ?? "").split(",").map((item) => item.trim()).filter(Boolean).map((item) => item.startsWith("-") ? [item.slice(1), false] : [item, true]));
|
|
40
40
|
const all = env.get(ConfigFlag.wildcard) === true;
|
|
41
41
|
const experimental = latest2(input.entries, "experimental");
|
|
@@ -47,27 +47,27 @@ function resolve3(input) {
|
|
|
47
47
|
return { enabled, source };
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
-
var
|
|
51
|
-
const app = yield*
|
|
52
|
-
const config = yield*
|
|
50
|
+
var layer26 = Layer.effect(Service77, Effect.gen(function* () {
|
|
51
|
+
const app = yield* Service86;
|
|
52
|
+
const config = yield* Service79;
|
|
53
53
|
const overrides = yield* Overrides2;
|
|
54
|
-
const resolveEntries = (entries) =>
|
|
54
|
+
const resolveEntries = (entries) => resolve4({ entries, channel: app.channel, overrides });
|
|
55
55
|
const all = Effect.gen(function* () {
|
|
56
56
|
return resolveEntries(yield* config.entries());
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service77.of({
|
|
59
59
|
resolve: resolveEntries,
|
|
60
60
|
all,
|
|
61
61
|
enabled: (key) => Effect.map(all, (flags) => flags[key].enabled)
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var testLayer2 = (entries = [], options) => Layer.fresh(
|
|
65
|
-
var
|
|
66
|
-
service:
|
|
67
|
-
layer:
|
|
68
|
-
deps: [
|
|
64
|
+
var testLayer2 = (entries = [], options) => Layer.fresh(layer26).pipe(Layer.provideMerge(Layer.mergeAll(layer29(options?.app), testLayer3(entries), Layer.succeed(Overrides2, options?.overrides))));
|
|
65
|
+
var node79 = makeLocationNode({
|
|
66
|
+
service: Service77,
|
|
67
|
+
layer: layer26,
|
|
68
|
+
deps: [node88, node81]
|
|
69
69
|
});
|
|
70
|
-
var all2 =
|
|
71
|
-
var enabled3 = (key) =>
|
|
70
|
+
var all2 = Service77.use((flags) => flags.all);
|
|
71
|
+
var enabled3 = (key) => Service77.use((flags) => flags.enabled(key));
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service77, Overrides2, resolve4, layer26, testLayer2, node79, all2, enabled3, exports_flag };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-0ma9gw4f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node84
|
|
8
|
+
} from "./worktree-87evyga5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service72,
|
|
11
|
+
node74
|
|
12
|
+
} from "./worktree-awaktgrw.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-2fc7eemy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
Generate: () =>
|
|
21
|
+
var exports_generate = {};
|
|
22
|
+
__export(exports_generate, {
|
|
23
|
+
Generate: () => exports_generate,
|
|
24
24
|
InvalidRequestError: () => InvalidRequestError3,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service21,
|
|
29
|
+
UnavailableError: () => UnavailableError4,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer13,
|
|
32
|
+
node: () => node24
|
|
33
33
|
});
|
|
34
34
|
import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
|
|
|
37
37
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
38
38
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service21 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer13 = Layer.effect(Service21, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service72;
|
|
89
|
+
const models = yield* Service82;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -98,11 +98,11 @@ var layer28 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
98
98
|
"SessionRunnerModel.ModelInitializationError",
|
|
99
99
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
100
100
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
101
|
-
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new
|
|
101
|
+
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError4({ message: error.message, service: error.providerID }))));
|
|
102
102
|
if (!resolved && input.model)
|
|
103
103
|
return yield* missing(input.model, "chat");
|
|
104
104
|
if (!resolved)
|
|
105
|
-
return yield* new
|
|
105
|
+
return yield* new UnavailableError4({ message: "No model specified and no supported model is available" });
|
|
106
106
|
const response = yield* llm.generate(ai.request({
|
|
107
107
|
model: resolved.model,
|
|
108
108
|
prompt: input.prompt,
|
|
@@ -162,8 +162,8 @@ var layer28 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
162
162
|
...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
|
-
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
166
|
-
return
|
|
165
|
+
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service21.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node24 = makeLocationNode({
|
|
219
|
+
service: Service21,
|
|
220
|
+
layer: layer13,
|
|
221
|
+
deps: [node74, node84, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service21, layer13, node24, exports_generate };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batches2,
|
|
3
3
|
insertBatches2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-jm70asfg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service77,
|
|
7
7
|
enabled3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-d3nfmg6f.js";
|
|
9
9
|
import {
|
|
10
10
|
BlobTable2,
|
|
11
11
|
BlobRefTable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-mb7mbhnz.js";
|
|
13
13
|
import {
|
|
14
14
|
refHash2,
|
|
15
15
|
ref2,
|
|
16
16
|
FileRef2,
|
|
17
17
|
ToolFileRef2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-fg9p65nk.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/session/blob.ts
|
|
24
24
|
var exports_blob = {};
|
|
@@ -37,7 +37,7 @@ __export(exports_blob, {
|
|
|
37
37
|
hydrateInbox: () => hydrateInbox2,
|
|
38
38
|
keepInboxRefs: () => keepInboxRefs2,
|
|
39
39
|
keepRefs: () => keepRefs2,
|
|
40
|
-
read: () =>
|
|
40
|
+
read: () => read4,
|
|
41
41
|
recordHashes: () => recordHashes2,
|
|
42
42
|
recordRefs: () => recordRefs2,
|
|
43
43
|
releaseFrom: () => releaseFrom2,
|
|
@@ -193,13 +193,13 @@ function describe3(files, meta) {
|
|
|
193
193
|
};
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
|
-
var
|
|
196
|
+
var read4 = Effect.fnUntraced(function* (db, hash) {
|
|
197
197
|
const blob = yield* db.select({ mime: BlobTable2.mime, data: BlobTable2.data }).from(BlobTable2).where(and(eq(BlobTable2.hash, hash), exists(db.select({ one: sql`1` }).from(BlobRefTable2).where(eq(BlobRefTable2.hash, BlobTable2.hash))))).get().pipe(Effect.orDie);
|
|
198
198
|
return blob && { mime: blob.mime, data: view(blob.data) };
|
|
199
199
|
});
|
|
200
200
|
var hashBytes2 = (raw) => createHash("sha256").update(raw).digest("hex");
|
|
201
201
|
var enabled2 = Effect.gen(function* () {
|
|
202
|
-
const flag = yield* Effect.serviceOption(
|
|
202
|
+
const flag = yield* Effect.serviceOption(Service77);
|
|
203
203
|
if (Option.isNone(flag))
|
|
204
204
|
return false;
|
|
205
205
|
return yield* flag.value.enabled("media_blob");
|
|
@@ -333,4 +333,4 @@ var releaseMessage2 = (db, sessionID, messageID) => release(db, eq(BlobRefTable2
|
|
|
333
333
|
var releaseFrom2 = (db, sessionID, seq) => release(db, eq(BlobRefTable2.session_id, sessionID), gte(BlobRefTable2.seq, seq));
|
|
334
334
|
var releaseSession2 = (db, sessionID) => release(db, eq(BlobRefTable2.session_id, sessionID));
|
|
335
335
|
|
|
336
|
-
export { hydrate2, hydrateInbox2, keepRefs2, keepInboxRefs2, describe3,
|
|
336
|
+
export { hydrate2, hydrateInbox2, keepRefs2, keepInboxRefs2, describe3, read4, hashBytes2, enabled2, enabledFor2, ForkMedia2, save2, externalizePayload2, externalize2, externalizePart2, split2, externalizeRow2, recordRefs2, recordHashes2, syncRefs2, releaseMessage2, releaseFrom2, releaseSession2, exports_blob };
|