@opencode/core 0.0.0-beta-19278 → 0.0.0-beta-19288
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{project-3dtfbbnv.js → location-02hgpx06.js} +7 -7
- package/dist/chunks/{project-ymdp8m11.js → location-07cpqq5c.js} +28 -28
- package/dist/chunks/{project-pnc9b5m6.js → location-0bzsvv4f.js} +11 -11
- package/dist/chunks/{project-d6cypdy5.js → location-0dh601sh.js} +9 -9
- package/dist/chunks/{project-hc9xewxz.js → location-0njzyrny.js} +25 -25
- package/dist/chunks/{project-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{project-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/{project-84wz94gt.js → location-0yq2vxwx.js} +25 -25
- package/dist/chunks/{project-rd7hwmph.js → location-0zzhyfap.js} +11 -11
- package/dist/chunks/{project-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{project-1dfhrqqs.js → location-1dfhrqqs.js} +2 -2
- package/dist/chunks/{project-wa6xq0j9.js → location-1hfsjvjf.js} +24 -24
- package/dist/chunks/{project-as6gj6jx.js → location-1kqd8z3g.js} +6 -6
- package/dist/chunks/location-1x11rq2a.js +18 -0
- package/dist/chunks/{project-8jtjdsme.js → location-1xnwpsdb.js} +26 -26
- package/dist/chunks/{project-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{project-r8qn9tz0.js → location-22zgx542.js} +6 -6
- package/dist/chunks/{project-2402vzrj.js → location-2402vzrj.js} +1 -1
- package/dist/chunks/{project-ry1v2pfa.js → location-24xcqkxa.js} +8 -8
- package/dist/chunks/{project-027geym4.js → location-2699pam8.js} +27 -27
- package/dist/chunks/{project-tm9beczq.js → location-27xkhkzw.js} +22 -22
- package/dist/chunks/{project-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{project-drdmq256.js → location-2dqf8fez.js} +4 -4
- package/dist/chunks/{project-e43fv40x.js → location-2erkhkk3.js} +33 -33
- package/dist/chunks/{project-nvxqht09.js → location-2f04pwep.js} +3 -3
- package/dist/chunks/{project-endcmcv4.js → location-2n69zwpj.js} +23 -23
- package/dist/chunks/{project-h9dgkh5z.js → location-2ydbzgba.js} +4 -4
- package/dist/chunks/{project-8r6bj34c.js → location-3280sxnm.js} +6 -6
- package/dist/chunks/{project-1ygqh575.js → location-33w4ejhs.js} +6 -6
- package/dist/chunks/{project-fhz301gp.js → location-34njjamc.js} +10 -10
- package/dist/chunks/{project-13weepf4.js → location-37hegrs4.js} +13 -13
- package/dist/chunks/{project-bqcj21xz.js → location-39gsfx95.js} +24 -24
- package/dist/chunks/{project-bcn5dnkb.js → location-3cxp5vcp.js} +4 -4
- package/dist/chunks/{project-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{project-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{project-ksz0h0wp.js → location-3rran09x.js} +1 -1
- package/dist/chunks/{project-fygdb7h7.js → location-3rx2nwvc.js} +3 -3
- package/dist/chunks/{project-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{project-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{project-30wjqkww.js → location-3v0ddjaj.js} +11 -11
- package/dist/chunks/{project-j76wc2xt.js → location-3xt2dn0n.js} +9 -9
- package/dist/chunks/{project-5b46j773.js → location-41jkd1br.js} +24 -24
- package/dist/chunks/{project-vdgebjhh.js → location-4ctep4ed.js} +16 -16
- package/dist/chunks/{project-ff0htmxq.js → location-4m2pmvxz.js} +6 -6
- package/dist/chunks/{project-gykabrhp.js → location-4n03wa3j.js} +33 -33
- package/dist/chunks/{project-f70c5qx7.js → location-4ycpd48q.js} +11 -11
- package/dist/chunks/{project-51e3a5p7.js → location-51e3a5p7.js} +2 -2
- package/dist/chunks/{project-gn2hfjap.js → location-5892jdtn.js} +8 -8
- package/dist/chunks/{project-6jmh5c9g.js → location-59m3ejf3.js} +11 -11
- package/dist/chunks/{project-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{project-j17absjw.js → location-5dgmpcyt.js} +18 -18
- package/dist/chunks/{project-c7qmhs35.js → location-5h99c1kf.js} +6 -6
- package/dist/chunks/{project-qp3v07n2.js → location-5kw0n2ma.js} +8 -8
- package/dist/chunks/{project-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{project-5ykeyche.js → location-61f9xf4r.js} +5 -5
- package/dist/chunks/{project-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{project-dx2tbdwn.js → location-66sq9ze3.js} +26 -26
- package/dist/chunks/{project-8wm8yswe.js → location-6cd6tdvt.js} +6 -6
- package/dist/chunks/{project-2er49d5v.js → location-6h508dp1.js} +17 -17
- package/dist/chunks/{project-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{project-h4jnxhkz.js → location-6qr3rp4k.js} +6 -6
- package/dist/chunks/{project-4t3kg1n6.js → location-6wfj5a9a.js} +6 -6
- package/dist/chunks/{project-2ekntkva.js → location-6xkqp8dp.js} +10 -10
- package/dist/chunks/{project-yqt70mwr.js → location-6y8723ne.js} +26 -26
- package/dist/chunks/{project-jem476zw.js → location-6zyexpsp.js} +13 -13
- package/dist/chunks/{project-71q4at8m.js → location-71q4at8m.js} +1 -1
- package/dist/chunks/{project-b2fkw21j.js → location-77vyn52g.js} +25 -25
- package/dist/chunks/{project-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{project-mmxjhrgn.js → location-7ny1t5fr.js} +24 -24
- package/dist/chunks/{project-m27pyyd3.js → location-7ny3kv6n.js} +8 -8
- package/dist/chunks/{project-5nqmcer4.js → location-7w1wksne.js} +4 -4
- package/dist/chunks/{project-rr27b465.js → location-7wpt1821.js} +13 -13
- package/dist/chunks/{project-zh7q37t8.js → location-7x5129vx.js} +12 -12
- package/dist/chunks/{project-72cmdp6g.js → location-7zfdt07m.js} +10 -10
- package/dist/chunks/{project-gr12maw1.js → location-7zmb2mwr.js} +5 -5
- package/dist/chunks/{project-1ezn0t51.js → location-81c9b8hz.js} +4 -4
- package/dist/chunks/{project-v33xfvcj.js → location-81swgkk7.js} +9 -9
- package/dist/chunks/{project-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{project-q1290kd6.js → location-8dr2m966.js} +9 -9
- package/dist/chunks/{project-dj2t23y0.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{project-qmt7w6hr.js → location-8pa9qqqg.js} +16 -16
- package/dist/chunks/{project-e30j1gg8.js → location-8t891vs4.js} +11 -11
- package/dist/chunks/{project-2ga1wswe.js → location-95c54xjs.js} +41 -41
- package/dist/chunks/{project-m7getmd9.js → location-9enfn6ca.js} +61 -61
- package/dist/chunks/{project-djzy5cyb.js → location-9g2mmtg8.js} +22 -22
- package/dist/chunks/{project-fgh0kbhd.js → location-9h3amn4q.js} +1 -1
- package/dist/chunks/{project-k4zk1pey.js → location-9jbrb7s7.js} +17 -17
- package/dist/chunks/{project-cksygnyb.js → location-9k0trt10.js} +11 -11
- package/dist/chunks/{project-4xw5r8dm.js → location-9k1y1b4w.js} +6 -6
- package/dist/chunks/{project-sakpmmn5.js → location-9tk4atd8.js} +13 -13
- package/dist/chunks/{project-mfb27c90.js → location-9zb490gy.js} +7 -7
- package/dist/chunks/{project-5c4hm403.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{project-vnwzej4v.js → location-a1qbdnb3.js} +82 -82
- package/dist/chunks/{project-wv9ccret.js → location-a1z1dycg.js} +23 -23
- package/dist/chunks/{project-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{project-09bvnwrm.js → location-ac0cyhm9.js} +43 -43
- package/dist/chunks/{project-kne8f3cn.js → location-afdssyjb.js} +4 -4
- package/dist/chunks/{project-7bg4t14r.js → location-akj0j9h5.js} +2 -2
- package/dist/chunks/{project-swctkwxd.js → location-ap0kd4ae.js} +15 -15
- package/dist/chunks/{project-43k15f45.js → location-apys6pqf.js} +4 -4
- package/dist/chunks/{project-819m2fyr.js → location-astwgj0c.js} +11 -11
- package/dist/chunks/{project-hdvn1z9e.js → location-at3ax2rg.js} +16 -16
- package/dist/chunks/{project-kk6hqvx2.js → location-atdh1fr1.js} +28 -28
- package/dist/chunks/{project-51tzyhx5.js → location-av62z334.js} +35 -35
- package/dist/chunks/{project-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{project-yz665w9a.js → location-barpv3dv.js} +24 -24
- package/dist/chunks/{project-jxa7e7w5.js → location-bbd53drz.js} +165 -165
- package/dist/chunks/{project-jte1t19p.js → location-bbwyhmbr.js} +14 -14
- package/dist/chunks/{project-mc8q7c69.js → location-bgeh6wn9.js} +17 -17
- package/dist/chunks/{project-gnx4ytbv.js → location-bha4atvq.js} +4 -4
- package/dist/chunks/{project-vxcq4j7n.js → location-bjyyddbn.js} +11 -11
- package/dist/chunks/{project-prsdv4b2.js → location-bw60cda1.js} +35 -35
- package/dist/chunks/location-cbzcwh25.js +22 -0
- package/dist/chunks/{project-f8q7mv7a.js → location-cek2cznd.js} +1 -1
- package/dist/chunks/{project-m0jqrx5p.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{project-m6h2rqwk.js → location-cy6spc12.js} +7 -7
- package/dist/chunks/{project-pk7h5ckr.js → location-d2412gps.js} +18 -18
- package/dist/chunks/{project-y53ps50f.js → location-d36y1n73.js} +12 -12
- package/dist/chunks/{project-h1w0e5zb.js → location-d5hy5d1s.js} +3 -3
- package/dist/chunks/{project-ss9zsf3v.js → location-d6x20h48.js} +38 -38
- package/dist/chunks/{project-sbk6mfjb.js → location-dc76j9wz.js} +8 -8
- package/dist/chunks/{project-n37c4crj.js → location-depwzj9d.js} +9 -9
- package/dist/chunks/{project-tm0edggk.js → location-dj7v5w9k.js} +4 -4
- package/dist/chunks/{project-1awm1f41.js → location-djxjwwc9.js} +12 -12
- package/dist/chunks/{project-s1angysq.js → location-dsd22mfz.js} +3 -3
- package/dist/chunks/{project-nb4tc1st.js → location-dt587sme.js} +28 -28
- package/dist/chunks/{project-vxx8gf98.js → location-dtyxkw1z.js} +24 -24
- package/dist/chunks/{project-nca7p386.js → location-dwvzh0g2.js} +6 -6
- package/dist/chunks/{project-1tyfraxr.js → location-e328z05c.js} +14 -14
- package/dist/chunks/{project-a08t2777.js → location-e46r4s3c.js} +11 -11
- package/dist/chunks/{project-eaj1djv9.js → location-eaj1djv9.js} +1 -1
- package/dist/chunks/{project-xjemz1cz.js → location-eb6ejpsy.js} +20 -20
- package/dist/chunks/{project-vx993qx3.js → location-ejcg2d9c.js} +18 -18
- package/dist/chunks/{project-cvyappcd.js → location-essgt512.js} +82 -82
- package/dist/chunks/{project-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{project-8mjrrxm6.js → location-f3wm46p4.js} +10 -10
- package/dist/chunks/{project-hdnk95c8.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{project-n76fdqym.js → location-fmxbrafm.js} +5 -5
- package/dist/chunks/{project-2ehqxkpw.js → location-fvz0rdtn.js} +12 -12
- package/dist/chunks/{project-q5tpj0kh.js → location-fw0f0qsw.js} +46 -46
- package/dist/chunks/{project-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{project-s7cxktgw.js → location-fzhxzx5q.js} +21 -21
- package/dist/chunks/{project-axmvebxj.js → location-g190xswt.js} +21 -21
- package/dist/chunks/{project-e6z3r01t.js → location-g72gjvtz.js} +8 -8
- package/dist/chunks/{project-b27vhd2z.js → location-g8d3gcyj.js} +7 -7
- package/dist/chunks/{project-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{project-t61k8twr.js → location-gj6r9tb3.js} +8 -8
- package/dist/chunks/{project-0mr65q2h.js → location-grrcjh3r.js} +9 -9
- package/dist/chunks/{project-h7ygw6q4.js → location-gsx0ryk4.js} +9 -9
- package/dist/chunks/{project-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{project-2sy09y68.js → location-gwzbkwjt.js} +17 -17
- package/dist/chunks/{project-9495k3mj.js → location-gxbbas38.js} +16 -16
- package/dist/chunks/{project-ykfxwqmv.js → location-gxq3v17r.js} +15 -15
- package/dist/chunks/{project-f32czd11.js → location-gxr1dr9e.js} +11 -11
- package/dist/chunks/{project-h03wrkyp.js → location-h03wrkyp.js} +2 -2
- package/dist/chunks/{project-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{project-phzb6rq6.js → location-h9kgsp7e.js} +28 -28
- package/dist/chunks/{project-ctmfyf3j.js → location-hapt17z5.js} +27 -27
- package/dist/chunks/{project-zhxw6mnd.js → location-hnbxh1ec.js} +2 -2
- package/dist/chunks/{project-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{project-kv84k9wf.js → location-jefma2gq.js} +10 -10
- package/dist/chunks/{project-qgh4s17a.js → location-jjmq01nn.js} +36 -36
- package/dist/chunks/{project-b3zxthpz.js → location-jp8bt662.js} +20 -20
- package/dist/chunks/{project-vdnmb5h5.js → location-jwye7syw.js} +9 -9
- package/dist/chunks/{project-h39c7km2.js → location-jzx475sk.js} +55 -55
- package/dist/chunks/{project-92g4te2e.js → location-k1e9d5er.js} +13 -13
- package/dist/chunks/{project-gc48s5ez.js → location-k74qewf5.js} +19 -19
- package/dist/chunks/{project-k3aec3va.js → location-k7d0894y.js} +9 -9
- package/dist/chunks/{project-kg06axw8.js → location-kg06axw8.js} +1 -1
- package/dist/chunks/{project-tfngb0ww.js → location-kkcepbrv.js} +4 -4
- package/dist/chunks/{project-j7vv7h2p.js → location-kkedg04s.js} +11 -11
- package/dist/chunks/{project-jmm2s19w.js → location-kqrx6mz9.js} +33 -33
- package/dist/chunks/{project-vj3jbsbe.js → location-m3g1yjqx.js} +18 -18
- package/dist/chunks/{project-k16ay38w.js → location-m43qeqsy.js} +1 -1
- package/dist/chunks/{project-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{project-xdckn6ya.js → location-mgcrt4av.js} +41 -41
- package/dist/chunks/{project-1bbkgx8g.js → location-mhkvc446.js} +3 -3
- package/dist/chunks/{project-mkcjrzeh.js → location-mkcjrzeh.js} +1 -1
- package/dist/chunks/{project-86gp7mh5.js → location-mmx9f08p.js} +41 -41
- package/dist/chunks/{project-7bspjkrj.js → location-n2qrf0kt.js} +43 -43
- package/dist/chunks/{project-acrqcsaw.js → location-nc09bz1g.js} +32 -32
- package/dist/chunks/{project-96yt6zt0.js → location-nc3fjawf.js} +1 -1
- package/dist/chunks/{project-nhy5jxhy.js → location-nhy5jxhy.js} +1 -1
- package/dist/chunks/{project-kzvekf0w.js → location-nmxf6tf3.js} +21 -21
- package/dist/chunks/{project-n21ydmp7.js → location-nrg6p0d7.js} +24 -24
- package/dist/chunks/{project-y9ktt6kr.js → location-nty3ym86.js} +5 -5
- package/dist/chunks/{project-q0bpc06z.js → location-nvpsz6mb.js} +1 -1
- package/dist/chunks/{project-vmaj1q0b.js → location-nxts4mre.js} +20 -20
- package/dist/chunks/{project-2e8stk25.js → location-nzwad44m.js} +292 -292
- package/dist/chunks/{project-gn9xne58.js → location-p2fyd12k.js} +22 -22
- package/dist/chunks/{project-avm8jn6n.js → location-p44d8wdy.js} +5 -5
- package/dist/chunks/{project-62qy00sv.js → location-p72z5xx6.js} +2 -2
- package/dist/chunks/{project-srrqt7rk.js → location-p7tj0pd3.js} +15 -15
- package/dist/chunks/{project-v25jqm1t.js → location-p8vbaxe4.js} +26 -26
- package/dist/chunks/{project-j935v87r.js → location-paphc93g.js} +2 -2
- package/dist/chunks/{project-dcxvb2gw.js → location-pg1rtztb.js} +35 -35
- package/dist/chunks/{project-ynyckyng.js → location-ph9kp892.js} +5 -5
- package/dist/chunks/{project-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{project-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{project-t10zzpzb.js → location-q221t5h0.js} +9 -9
- package/dist/chunks/{project-q26tgv94.js → location-q26tgv94.js} +1 -1
- package/dist/chunks/{project-wzrzwyda.js → location-q3m96704.js} +24 -24
- package/dist/chunks/{project-wncagjbn.js → location-q636n16a.js} +41 -41
- package/dist/chunks/{project-1jfm9dfr.js → location-qa467n4w.js} +3 -3
- package/dist/chunks/{project-0x0q0z21.js → location-qfrw2mns.js} +17 -17
- package/dist/chunks/{project-7dqw4kz8.js → location-qgn6gcr1.js} +5 -5
- package/dist/chunks/{project-n59hvazh.js → location-qgzeej5c.js} +5 -5
- package/dist/chunks/{project-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{project-p0eb35gv.js → location-qy2vc8de.js} +11 -11
- package/dist/chunks/{project-10edwj7x.js → location-r5paa9gw.js} +13 -13
- package/dist/chunks/{project-khz9dh7n.js → location-r6yj4sg3.js} +9 -9
- package/dist/chunks/{project-sy03ybs5.js → location-r8a1vay2.js} +9 -9
- package/dist/chunks/{project-yp2x3t23.js → location-r8xr0va3.js} +4 -4
- package/dist/chunks/{project-gx1zhcta.js → location-rfnzy394.js} +1 -1
- package/dist/chunks/{project-rdcaty2e.js → location-rqay9ghw.js} +24 -24
- package/dist/chunks/{project-932tnxz1.js → location-s7pvzq3g.js} +20 -20
- package/dist/chunks/{project-zrz3bzz3.js → location-sm589ezq.js} +32 -32
- package/dist/chunks/{project-r98e92ep.js → location-sx1n432n.js} +4 -4
- package/dist/chunks/{project-tn0aqsam.js → location-t0fxg8b9.js} +5 -5
- package/dist/chunks/{project-gfqzzqy5.js → location-t0x5rdq8.js} +9 -9
- package/dist/chunks/{project-y0zapfev.js → location-t21qt4wp.js} +8 -8
- package/dist/chunks/{project-fp1knm32.js → location-t2y4ag3j.js} +16 -16
- package/dist/chunks/{project-7150tr69.js → location-t45krj2e.js} +9 -9
- package/dist/chunks/{project-ghx2em0z.js → location-t4a9fvmm.js} +20 -20
- package/dist/chunks/{project-yzaj2zf7.js → location-t6dzybgg.js} +14 -14
- package/dist/chunks/{project-x1xcpfha.js → location-t97t2t7r.js} +7 -7
- package/dist/chunks/{project-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{project-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{project-sm4sqa5b.js → location-td52w80p.js} +18 -18
- package/dist/chunks/{project-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{project-6sfrn00q.js → location-th0feps4.js} +11 -11
- package/dist/chunks/{project-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{project-rea82nnp.js → location-tz2p0jnc.js} +59 -59
- package/dist/chunks/{project-n4d3y0nm.js → location-v3xga481.js} +9 -9
- package/dist/chunks/{project-epajpt77.js → location-v4p0vwen.js} +14 -14
- package/dist/chunks/{project-56qyepyq.js → location-v74jsawt.js} +32 -32
- package/dist/chunks/{project-43xem47a.js → location-v75cpdd6.js} +15 -15
- package/dist/chunks/{project-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{project-8yk1fhag.js → location-vjv4gnc9.js} +20 -20
- package/dist/chunks/{project-hjzewyz6.js → location-vma08mpn.js} +16 -16
- package/dist/chunks/{project-jcmb94gz.js → location-vqkn863g.js} +28 -28
- package/dist/chunks/{project-17gqxarq.js → location-vt07bx5r.js} +8 -8
- package/dist/chunks/{project-6vq97qmv.js → location-vxp3kcg3.js} +5 -5
- package/dist/chunks/{project-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{project-64kphnzf.js → location-w1k39n5e.js} +4 -4
- package/dist/chunks/{project-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{project-7ebn0nc0.js → location-w4arg62q.js} +6 -6
- package/dist/chunks/{project-d6aefva6.js → location-w54brc8f.js} +7 -7
- package/dist/chunks/location-w6mxp700.js +247 -0
- package/dist/chunks/{project-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{project-r9babyk8.js → location-wyam1r5m.js} +1 -1
- package/dist/chunks/{project-dfcnm7e4.js → location-x1aqk77e.js} +10 -10
- package/dist/chunks/{project-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{project-x43y2vfs.js → location-x43y2vfs.js} +2 -2
- package/dist/chunks/{project-jr5gwc1n.js → location-x7728wc6.js} +27 -27
- package/dist/chunks/{project-70xwxnv0.js → location-x8pfpgt4.js} +9 -9
- package/dist/chunks/{project-3rv0aqry.js → location-xgcvvaqd.js} +4 -4
- package/dist/chunks/{project-d8t3pxs6.js → location-xhg80140.js} +19 -19
- package/dist/chunks/{project-qgn1mnrt.js → location-xpbp2ggf.js} +19 -19
- package/dist/chunks/{project-hwsy4xhf.js → location-xtbntpkm.js} +7 -7
- package/dist/chunks/{project-z69s9t6b.js → location-xvs1sa11.js} +5 -5
- package/dist/chunks/{project-2evyaa68.js → location-xwwz9aqf.js} +4 -4
- package/dist/chunks/{project-a9ctzdev.js → location-xywxz97c.js} +6 -6
- package/dist/chunks/{project-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{project-h78fqkj7.js → location-y6498y89.js} +20 -20
- package/dist/chunks/{project-dpkg50ah.js → location-y71avatq.js} +4 -4
- package/dist/chunks/{project-7dfyzsb9.js → location-ydpmm19b.js} +16 -16
- package/dist/chunks/{project-kbfpxq7g.js → location-yg5x8fk4.js} +12 -12
- package/dist/chunks/{project-jv01nqvq.js → location-yjptyezs.js} +5 -5
- package/dist/chunks/{project-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{project-s4enseaf.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{project-m60zcb18.js → location-yzcb4rs3.js} +9 -9
- package/dist/chunks/{project-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{project-29x78va6.js → location-z63w68vq.js} +6 -6
- package/dist/chunks/{project-jtv49rer.js → location-zb0kem16.js} +27 -27
- package/dist/chunks/{project-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{project-cgj7rfmq.js → location-zkt8qzze.js} +35 -35
- package/dist/chunks/{project-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{project-ctr5k99x.js → location-ztj8pse5.js} +15 -15
- package/dist/chunks/{project-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +93 -93
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +123 -123
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/project-7fj5dwt0.js +0 -18
- package/dist/chunks/project-m8reha27.js +0 -22
- package/dist/chunks/project-vyq6fvzk.js +0 -247
- /package/dist/chunks/{project-0mesazry.js → location-0mesazry.js} +0 -0
- /package/dist/chunks/{project-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{project-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{project-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{project-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{project-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{project-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{project-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{project-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{project-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{project-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{project-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{project-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{project-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{project-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{project-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{project-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{project-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{project-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{project-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{project-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{project-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{project-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{project-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{project-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{project-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{project-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{project-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{project-a1tpkmh4.js → location-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{project-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{project-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{project-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{project-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{project-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{project-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{project-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{project-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{project-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{project-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{project-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{project-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{project-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{project-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{project-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{project-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{project-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{project-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{project-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{project-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{project-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{project-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{project-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{project-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{project-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{project-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{project-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{project-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{project-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{project-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{project-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{project-hrnqkpcd.js → location-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{project-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{project-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{project-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{project-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{project-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{project-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{project-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{project-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{project-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{project-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{project-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{project-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{project-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{project-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{project-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{project-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{project-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{project-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{project-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{project-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{project-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{project-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{project-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{project-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{project-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{project-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{project-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{project-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{project-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{project-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{project-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-qa467n4w.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-xgcvvaqd.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service65,
|
|
11
|
+
node70
|
|
12
|
+
} from "./location-gwzbkwjt.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service60,
|
|
15
|
+
node65
|
|
16
|
+
} from "./location-4m2pmvxz.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make18
|
|
22
|
+
} from "./location-r8xr0va3.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service58
|
|
26
|
+
} from "./location-afdssyjb.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-k7d0894y.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service73,
|
|
32
|
+
node78
|
|
33
|
+
} from "./location-bbwyhmbr.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-7w1wksne.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-1hfsjvjf.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./location-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service57,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer22,
|
|
50
|
+
node: () => node63,
|
|
51
|
+
noopLayer: () => noopLayer3,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service57 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
68
|
+
var layer22 = Layer.effect(Service57, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service73;
|
|
70
|
+
const instances = yield* Service60;
|
|
71
71
|
const bus = yield* Service79;
|
|
72
|
-
const jobs = yield*
|
|
72
|
+
const jobs = yield* Service65;
|
|
73
73
|
const db = (yield* Service80).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,13 +82,13 @@ var layer17 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service58.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable)
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
|
-
const coordinator = yield*
|
|
91
|
+
const coordinator = yield* make18({
|
|
92
92
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
93
93
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
94
94
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -109,7 +109,7 @@ var layer17 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
109
109
|
}, releaseOnCommit(sessionID));
|
|
110
110
|
}))
|
|
111
111
|
});
|
|
112
|
-
return
|
|
112
|
+
return Service57.of({
|
|
113
113
|
active: coordinator.active,
|
|
114
114
|
isActive: coordinator.isActive,
|
|
115
115
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -128,12 +128,12 @@ var layer17 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
128
128
|
awaitIdle: coordinator.awaitIdle
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
133
|
-
layer:
|
|
134
|
-
deps: [
|
|
131
|
+
var node63 = makeGlobalNode({
|
|
132
|
+
service: Service57,
|
|
133
|
+
layer: layer22,
|
|
134
|
+
deps: [node78, node65, node84, node85, node70]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
136
|
+
var noopLayer3 = Layer.succeed(Service57, Service57.of({
|
|
137
137
|
active: Effect.succeed(new Set),
|
|
138
138
|
isActive: () => Effect.succeed(false),
|
|
139
139
|
resume: () => Effect.void,
|
|
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service42, Service42.of({
|
|
|
142
142
|
awaitIdle: () => Effect.void
|
|
143
143
|
}));
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { Service57, terminal2, layer22, node63, noopLayer3, exports_execution };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service75,
|
|
10
|
+
node: () => node80
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service75 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service75.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node80 = makeLocationNode({ service: Service75, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service75, node80, exports_hooks };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service3,
|
|
13
|
+
node: () => node5
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service3 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service3.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node5 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service3, node5, exports_update };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9k0trt10.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID9
|
|
6
|
+
} from "./location-7ny3kv6n.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID9.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./location-7ny3kv6n.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/model.ts
|
|
9
9
|
var exports_model2 = {};
|
|
@@ -12,25 +12,25 @@ __export(exports_model2, {
|
|
|
12
12
|
Compatibility: () => Compatibility2,
|
|
13
13
|
Cost: () => Cost2,
|
|
14
14
|
Family: () => Family2,
|
|
15
|
-
ID: () =>
|
|
16
|
-
Info: () =>
|
|
15
|
+
ID: () => ID8,
|
|
16
|
+
Info: () => Info22,
|
|
17
17
|
Model: () => exports_model2,
|
|
18
18
|
ReasoningField: () => ReasoningField2,
|
|
19
|
-
Ref: () =>
|
|
19
|
+
Ref: () => Ref2,
|
|
20
20
|
VariantID: () => VariantID2,
|
|
21
21
|
compatibility: () => compatibility2,
|
|
22
22
|
parse: () => parse5
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
|
-
var
|
|
25
|
+
var ID8 = Model.ID;
|
|
26
26
|
var VariantID2 = Model.VariantID;
|
|
27
27
|
var Family2 = Model.Family;
|
|
28
28
|
var ReasoningField2 = Model.ReasoningField;
|
|
29
29
|
var Compatibility2 = Model.Compatibility;
|
|
30
30
|
var Capabilities2 = Model.Capabilities;
|
|
31
31
|
var Cost2 = Model.Cost;
|
|
32
|
-
var
|
|
33
|
-
var
|
|
32
|
+
var Ref2 = Model.Ref;
|
|
33
|
+
var Info22 = Model.Info;
|
|
34
34
|
function compatibility2(input) {
|
|
35
35
|
if (typeof input === "string")
|
|
36
36
|
return { reasoningField: input };
|
|
@@ -41,9 +41,9 @@ function compatibility2(input) {
|
|
|
41
41
|
function parse5(input) {
|
|
42
42
|
const index = input.indexOf("/");
|
|
43
43
|
return {
|
|
44
|
-
providerID:
|
|
45
|
-
modelID:
|
|
44
|
+
providerID: ID9.make(index === -1 ? input : input.slice(0, index)),
|
|
45
|
+
modelID: ID8.make(index === -1 ? "" : input.slice(index + 1))
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { ID8, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info22, compatibility2, parse5, exports_model2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-fw0f0qsw.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-xgcvvaqd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node51
|
|
7
|
+
} from "./location-nxts4mre.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service10,
|
|
10
|
+
node13
|
|
11
|
+
} from "./location-x7728wc6.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service27
|
|
14
|
+
} from "./location-1x11rq2a.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
node18,
|
|
17
17
|
ID3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-gxbbas38.js";
|
|
19
19
|
import {
|
|
20
20
|
Service2,
|
|
21
21
|
node4
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-q26tgv94.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
list2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-nzwad44m.js";
|
|
27
27
|
import {
|
|
28
28
|
make3,
|
|
29
29
|
LoadError2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-qgzeej5c.js";
|
|
31
31
|
import {
|
|
32
32
|
Updated2,
|
|
33
|
+
Service5,
|
|
34
|
+
node7
|
|
35
|
+
} from "./location-yzcb4rs3.js";
|
|
36
|
+
import {
|
|
33
37
|
Service3,
|
|
34
38
|
node5
|
|
35
|
-
} from "./
|
|
36
|
-
import {
|
|
37
|
-
Service4,
|
|
38
|
-
node6
|
|
39
|
-
} from "./project-n37c4crj.js";
|
|
39
|
+
} from "./location-depwzj9d.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./location-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/supervisor.ts
|
|
45
45
|
var exports_supervisor = {};
|
|
@@ -125,13 +125,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
};
|
|
126
126
|
});
|
|
127
127
|
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
128
|
-
const registry = yield*
|
|
129
|
-
const sdk = yield*
|
|
128
|
+
const registry = yield* Service27;
|
|
129
|
+
const sdk = yield* Service5;
|
|
130
130
|
const instance = yield* Service2;
|
|
131
|
-
const sources = yield*
|
|
131
|
+
const sources = yield* Service10;
|
|
132
132
|
const modules = yield* make3();
|
|
133
133
|
const bus = yield* Service79;
|
|
134
|
-
const updates = yield*
|
|
134
|
+
const updates = yield* Service3;
|
|
135
135
|
const internal = yield* list2();
|
|
136
136
|
let release = yield* registry.hold();
|
|
137
137
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -206,14 +206,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
206
206
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
207
207
|
}));
|
|
208
208
|
var nodeDeps = [
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
node18,
|
|
210
|
+
node7,
|
|
211
211
|
node4,
|
|
212
|
-
|
|
213
|
-
|
|
212
|
+
node13,
|
|
213
|
+
node5,
|
|
214
214
|
node84,
|
|
215
215
|
Npm.node,
|
|
216
|
-
|
|
216
|
+
node51,
|
|
217
217
|
requirements2
|
|
218
218
|
];
|
|
219
219
|
function pluginSource(target) {
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./location-1xnwpsdb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./location-tz2p0jnc.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./location-ejcg2d9c.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch = {};
|
|
21
21
|
__export(exports_websearch, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input4,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin4,
|
|
25
25
|
WebSearchTool: () => exports_websearch,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description2,
|
|
27
|
+
name: () => name4
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name4 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input4 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin4 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service71;
|
|
53
|
+
const forms = yield* Service69;
|
|
54
|
+
const websearch = yield* Service16;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name4,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description2,
|
|
59
|
+
input: Input4,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name4,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name4];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name4, NO_RESULTS2, description2, Input4, Plugin4, exports_websearch };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
6
|
var exports_formatter3 = {};
|
|
7
7
|
__export(exports_formatter3, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter3,
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
Entry: () => Entry4,
|
|
10
|
+
Info: () => Info13
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry4 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info13 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry4, Info13, exports_formatter3 };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service52,
|
|
8
|
+
node57
|
|
9
|
+
} from "./location-39gsfx95.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service24,
|
|
24
|
+
node: () => node28
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service24 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service52;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service24.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
174
174
|
}))))
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var node28 = makeLocationNode({ service: Service24, layer, deps: [node57, RipgrepBinary2.node] });
|
|
178
178
|
|
|
179
|
-
export { Error2, InvalidPatternError2,
|
|
179
|
+
export { Error2, InvalidPatternError2, Service24, node28, exports_ripgrep };
|