@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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service45
|
|
4
|
+
} from "./location-mmx9f08p.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service47
|
|
7
|
+
} from "./location-qfrw2mns.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin32
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin32 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service45;
|
|
27
|
+
const shell = yield* Service47;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin29 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin32, exports_shell2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
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
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-w1k39n5e.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
load3
|
|
23
|
+
} from "./location-3v0ddjaj.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-kg06axw8.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-rfnzy394.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-h9kgsp7e.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./location-7w1wksne.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-5h99c1kf.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./location-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
record2,
|
|
47
47
|
add2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./location-tdstcens.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./location-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/compaction.ts
|
|
54
54
|
var exports_compaction2 = {};
|
|
@@ -354,7 +354,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
354
354
|
webSocket
|
|
355
355
|
});
|
|
356
356
|
};
|
|
357
|
-
const original = (sessionID) =>
|
|
357
|
+
const original = (sessionID) => load3(db, sessionID, "local").pipe(Effect.orDie);
|
|
358
358
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
359
359
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
360
360
|
const context = input.context;
|
|
@@ -1,63 +1,63 @@
|
|
|
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
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event17,
|
|
24
|
+
ID: () => ID12,
|
|
25
|
+
Info: () => Info26,
|
|
26
26
|
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service70,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node75
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID12 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event17 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID12,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service70 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info26({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service70.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info26({
|
|
80
|
+
id: ID12.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node75 = makeGlobalNode({ service: Service70, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID12, OAuth3, Key3, Value2, Event17, Info26, Service70, node75, exports_credential };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./location-6h508dp1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service52
|
|
12
|
+
} from "./location-39gsfx95.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service24
|
|
16
|
+
} from "./location-e328z05c.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-nmxf6tf3.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service71
|
|
26
|
+
} from "./location-tz2p0jnc.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service56
|
|
29
|
+
} from "./location-d2412gps.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input9,
|
|
39
|
+
Output: () => Output7,
|
|
40
|
+
Plugin: () => Plugin9,
|
|
41
|
+
name: () => name9,
|
|
42
|
+
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name9 = "grep";
|
|
48
|
+
var Input9 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input11 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output7 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin9 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service52;
|
|
90
|
+
const ripgrep = yield* Service24;
|
|
91
|
+
const location = yield* Service76;
|
|
92
|
+
const access = yield* Service56;
|
|
93
|
+
const permission = yield* Service71;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name9,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input9,
|
|
99
|
+
output: Output7,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name9,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin25 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent5(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin25 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name9, Input9, Output7, toModelContent5, Plugin9, exports_grep };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-xgcvvaqd.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service70,
|
|
8
|
+
node75
|
|
9
|
+
} from "./location-atdh1fr1.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-1xnwpsdb.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
|
+
ID: () => ID10,
|
|
35
|
+
Info: () => Info24,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
41
|
Ref: () => Ref3,
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
42
|
+
Service: () => Service68,
|
|
43
|
+
node: () => node73
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event15 } from "@opencode/schema/integration";
|
|
65
|
+
var ID10 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info24 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -87,13 +87,13 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
87
87
|
}
|
|
88
88
|
var Ref3 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service68 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
95
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service70;
|
|
97
97
|
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info24.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service68.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node73 = makeLocationNode({
|
|
569
|
+
service: Service68,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node75, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info24, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref3, Service68, node73, exports_integration, Event15 };
|