@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-xgcvvaqd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event17,
|
|
7
|
+
Service70,
|
|
8
|
+
node75
|
|
9
|
+
} from "./location-atdh1fr1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service46,
|
|
12
|
+
node51
|
|
13
|
+
} from "./location-nxts4mre.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node81
|
|
20
|
+
} from "./location-6h508dp1.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-rqay9ghw.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-61f9xf4r.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service54,
|
|
36
|
+
Event12,
|
|
37
|
+
node60
|
|
38
|
+
} from "./location-m3g1yjqx.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options6,
|
|
48
|
+
Service: () => Service45,
|
|
49
49
|
Test: () => Test2,
|
|
50
50
|
configured: () => configured7,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer18,
|
|
53
|
+
node: () => node50,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
|
|
|
71
71
|
function latest2(entries, key) {
|
|
72
72
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var Options6 = Schema.Struct({
|
|
75
75
|
project: Schema.optional(Schema.Boolean),
|
|
76
76
|
global: Schema.optional(Schema.Boolean),
|
|
77
77
|
file: Schema.optional(Schema.String),
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service45 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service45, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var
|
|
97
|
+
var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const location = yield*
|
|
100
|
-
const watcher = yield*
|
|
99
|
+
const location = yield* Service76;
|
|
100
|
+
const watcher = yield* Service46;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
102
|
+
const credentials = yield* Service70;
|
|
103
|
+
const wellknown = yield* Service54;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -223,8 +223,8 @@ var layer21 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
223
223
|
}, (effect) => reloadLock.withPermit(effect));
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
|
-
yield* bus.subscribe(
|
|
227
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
227
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
230
230
|
return Effect.void;
|
|
@@ -235,7 +235,7 @@ var layer21 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service45.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
@@ -244,11 +244,11 @@ var layer21 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
244
244
|
}));
|
|
245
245
|
function configured7(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
248
|
-
layer:
|
|
249
|
-
deps: [
|
|
247
|
+
service: Service45,
|
|
248
|
+
layer: layer18(options),
|
|
249
|
+
deps: [node51, node84, FSUtil.node, Global.node, node81, node75, node60]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node50 = configured7();
|
|
253
253
|
|
|
254
|
-
export { latest2,
|
|
254
|
+
export { latest2, Options6, Service45, Test2, testLayer2, layer18, configured7, node50, exports_config };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-xgcvvaqd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./location-6h508dp1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service52,
|
|
11
|
+
node57
|
|
12
|
+
} from "./location-39gsfx95.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service47,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node52
|
|
20
|
+
} from "./location-qfrw2mns.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service75,
|
|
23
|
+
node80
|
|
24
|
+
} from "./location-dc76j9wz.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service43,
|
|
27
|
+
node48
|
|
28
|
+
} from "./location-5892jdtn.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-2f04pwep.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service45,
|
|
35
|
+
node50
|
|
36
|
+
} from "./location-mmx9f08p.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./location-d36y1n73.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
@@ -48,10 +48,10 @@ __export(exports_shell4, {
|
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
49
|
NotFoundError: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service42,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node47
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service42 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service79;
|
|
91
|
-
const location = yield*
|
|
91
|
+
const location = yield* Service76;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service47;
|
|
94
|
+
const environment = yield* Service52;
|
|
95
|
+
const hooks = yield* Service75;
|
|
96
|
+
const environments = yield* Service43;
|
|
97
|
+
const config = yield* Service45;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service42.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node47 = makeLocationNode({
|
|
320
|
+
service: Service42,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node84,
|
|
324
|
-
|
|
324
|
+
node81,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node52,
|
|
327
|
+
node57,
|
|
328
|
+
node80,
|
|
329
|
+
node48,
|
|
330
|
+
node50,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export { NotFoundError5, RETENTION2, DIRECTORY2,
|
|
335
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service42, cleanup2, node47, exports_shell4 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./location-39gsfx95.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service21,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-r5paa9gw.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service19
|
|
11
|
+
} from "./location-ap0kd4ae.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service71
|
|
14
|
+
} from "./location-tz2p0jnc.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service56
|
|
17
|
+
} from "./location-d2412gps.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input3,
|
|
29
|
+
Output: () => Output3,
|
|
30
|
+
Plugin: () => Plugin3,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name3,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name3 = "write";
|
|
39
|
+
var Input3 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output3 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin3 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service56;
|
|
56
|
+
const fileMutation = yield* Service21;
|
|
57
|
+
const environment = yield* Service52;
|
|
58
|
+
const formatter = yield* Service19;
|
|
59
|
+
const permission = yield* Service71;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name3,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input3,
|
|
69
|
+
output: Output3,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name3, Input3, Output3, toModelContent3, Plugin3, exports_write };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./location-6h508dp1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service23,
|
|
11
|
+
node27
|
|
12
|
+
} from "./location-q3m96704.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_filesystem, {
|
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event6,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
@@ -29,9 +29,9 @@ __export(exports_filesystem, {
|
|
|
29
29
|
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service22,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node26
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
72
72
|
limit: Schema.optionalKey(PositiveInt2)
|
|
73
73
|
}) {
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Event6 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service22 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service22, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
|
-
const location = yield*
|
|
82
|
-
const search = yield*
|
|
81
|
+
const location = yield* Service76;
|
|
82
|
+
const search = yield* Service23;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service22.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node26 = makeLocationNode({
|
|
126
|
+
service: Service22,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node,
|
|
128
|
+
deps: [FSUtil.node, node81, node27]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2,
|
|
131
|
+
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service22, node26, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-xgcvvaqd.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-tz2p0jnc.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event7,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info6,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service38,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node42,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event7 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info6 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service38 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service38.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node42 = makeLocationNode({
|
|
112
|
+
service: Service38,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID5, Name2, available2, toModelOutput3, prepare3, Service38, node42, exports_skill5, Event7 };
|