@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,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node81
|
|
7
|
+
} from "./location-6h508dp1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service24,
|
|
10
|
+
node28
|
|
11
|
+
} from "./location-e328z05c.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
24
|
Options: () => Options4,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service23,
|
|
26
26
|
configured: () => configured4,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
28
|
layer: () => layer11,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node27,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ var Options4 = Schema.Struct({
|
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service23 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service23, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service76;
|
|
63
|
+
const ripgrep = yield* Service24;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service23.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service23, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service76;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service23.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service23.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -175,7 +175,7 @@ var fffLayer2 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
177
|
var layer11 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
-
const location = yield*
|
|
178
|
+
const location = yield* Service76;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
@@ -183,8 +183,8 @@ var layer11 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
185
|
function configured4(options) {
|
|
186
|
-
return makeLocationNode({ service:
|
|
186
|
+
return makeLocationNode({ service: Service23, layer: layer11(options), deps: [node81, node28] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node27 = configured4();
|
|
189
189
|
|
|
190
|
-
export { Options4,
|
|
190
|
+
export { Options4, Service23, ripgrepLayer2, fffLayer2, layer11, configured4, node27, exports_search };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service45
|
|
7
|
+
} from "./location-mmx9f08p.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service52
|
|
13
|
+
} from "./location-39gsfx95.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service65
|
|
16
|
+
} from "./location-gwzbkwjt.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service71
|
|
19
|
+
} from "./location-tz2p0jnc.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service56,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-d2412gps.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service47,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-qfrw2mns.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError5,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service42
|
|
37
|
+
} from "./location-n2qrf0kt.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service25
|
|
40
|
+
} from "./location-a1qbdnb3.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-2ydbzgba.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input10,
|
|
53
|
+
Plugin: () => Plugin10,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name10
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name10 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input10 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin10 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service25;
|
|
122
|
+
const jobs = yield* Service65;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service52;
|
|
125
|
+
const access = yield* Service56;
|
|
126
|
+
const shell = yield* Service42;
|
|
127
|
+
const shellSelect = yield* Service47;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service71;
|
|
130
|
+
const config = yield* Service45;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin20 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name10,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin20 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name10,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input10,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name10,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name10];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
257
257
|
})
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
-
export {
|
|
260
|
+
export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin10, exports_shell };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-3280sxnm.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-dsd22mfz.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options9,
|
|
15
|
+
Service: () => Service47,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured9,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node52,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve2
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options9 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service47 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -184,11 +184,11 @@ resolve2.reset = () => {
|
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list3(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service47.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin))
|
|
206
206
|
});
|
|
207
207
|
}));
|
|
208
|
-
function
|
|
209
|
-
return makeLocationNode({ service:
|
|
208
|
+
function configured9(options) {
|
|
209
|
+
return makeLocationNode({ service: Service47, layer: layer(options), deps: [Global.node] });
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var node52 = configured9();
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Options9, Service47, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list3, configured9, node52, exports_select };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options7,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options7 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options7, Spec2, exports_plugin3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./location-nxts4mre.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
25
|
var make3 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
-
const watcher = yield*
|
|
26
|
+
const watcher = yield* Service46;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-7ny3kv6n.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service64,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node69
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID9,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service64 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service64, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service64.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node69 = makeLocationNode({ service: Service64, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service64, locationLayer2, node69, exports_aisdk };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service52,
|
|
6
|
+
node57
|
|
7
|
+
} from "./location-39gsfx95.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service21,
|
|
17
|
+
node: () => node25,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service21 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service52;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service21.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node25 = makeLocationNode({ service: Service21, layer, deps: [node57] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service21, readText2, syncTextBom2, node25, exports_file_mutation };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./location-mmx9f08p.js";
|
|
4
4
|
import {
|
|
5
5
|
Service9
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-at3ax2rg.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin31
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin31 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service45;
|
|
26
26
|
const compaction = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
@@ -39,4 +39,4 @@ var Plugin27 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin31, exports_compaction };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-7ny3kv6n.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service45
|
|
8
|
+
} from "./location-mmx9f08p.js";
|
|
9
9
|
import {
|
|
10
10
|
observe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-qsdy395h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/config/plugin/provider.ts
|
|
17
17
|
var exports_provider = {};
|
|
18
18
|
__export(exports_provider, {
|
|
19
19
|
ConfigProviderPlugin: () => exports_provider,
|
|
20
|
-
Plugin: () =>
|
|
20
|
+
Plugin: () => Plugin35
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin35 = define({
|
|
26
26
|
id: "opencode.config.provider",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
28
|
+
const config = yield* Service45;
|
|
29
29
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
30
30
|
yield* ctx.integration.transform((integrations) => {
|
|
31
31
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -155,4 +155,4 @@ function configuredProviders(entries) {
|
|
|
155
155
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
export {
|
|
158
|
+
export { Plugin35, exports_provider };
|