@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,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-7ny3kv6n.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID8
|
|
8
|
+
} from "./location-djxjwwc9.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-xgcvvaqd.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event17
|
|
15
|
+
} from "./location-atdh1fr1.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID10,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-barpv3dv.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service66
|
|
22
|
+
} from "./location-0njzyrny.js";
|
|
23
23
|
import {
|
|
24
24
|
get2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-e46r4s3c.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-9k0trt10.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID10.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,7 +155,7 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
158
|
+
const catalog = yield* Service66;
|
|
159
159
|
const bus = yield* Service79;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID9.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID9.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
176
|
try: () => get2(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID9.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID8.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID8.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID8.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID9.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID9.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./location-gwzbkwjt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service25
|
|
6
|
+
} from "./location-a1qbdnb3.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service25;
|
|
24
|
+
const jobs = yield* Service65;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make9 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./location-4m2pmvxz.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-1x11rq2a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service42
|
|
9
|
+
} from "./location-n2qrf0kt.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service60;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service42), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
Info23
|
|
5
|
+
} from "./location-7ny3kv6n.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Info22
|
|
8
|
+
} from "./location-djxjwwc9.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-xgcvvaqd.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
17
|
+
ID10,
|
|
18
|
+
Service68,
|
|
19
|
+
node73
|
|
20
|
+
} from "./location-barpv3dv.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
|
-
Event: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
29
|
+
Event: () => Event14,
|
|
30
|
+
Service: () => Service66,
|
|
31
|
+
node: () => node71
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode/schema/catalog";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event14 } from "@opencode/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service66 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
40
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
41
41
|
const bus = yield* Service79;
|
|
42
|
-
const integrations = yield*
|
|
42
|
+
const integrations = yield* Service68;
|
|
43
43
|
const available = (provider, integration) => {
|
|
44
44
|
if (provider.activation === "disabled")
|
|
45
45
|
return false;
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
72
72
|
let current = editor.providers.get(providerID);
|
|
73
73
|
if (!current) {
|
|
74
74
|
current = {
|
|
75
|
-
provider:
|
|
75
|
+
provider: Info23.empty(providerID),
|
|
76
76
|
models: new Map
|
|
77
77
|
};
|
|
78
78
|
editor.providers.set(providerID, current);
|
|
@@ -90,12 +90,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
90
90
|
let record = editor.providers.get(providerID);
|
|
91
91
|
if (!record) {
|
|
92
92
|
record = {
|
|
93
|
-
provider:
|
|
93
|
+
provider: Info23.empty(providerID),
|
|
94
94
|
models: new Map
|
|
95
95
|
};
|
|
96
96
|
editor.providers.set(providerID, record);
|
|
97
97
|
}
|
|
98
|
-
const model = record.models.get(modelID) ??
|
|
98
|
+
const model = record.models.get(modelID) ?? Info22.default(providerID, modelID);
|
|
99
99
|
if (!record.models.has(modelID))
|
|
100
100
|
record.models.set(modelID, model);
|
|
101
101
|
fn(model);
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
129
129
|
}),
|
|
130
130
|
available: Effect.fn("Catalog.provider.available")(function* () {
|
|
131
131
|
const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
|
|
132
|
-
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ??
|
|
132
|
+
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID10.make(provider.id))));
|
|
133
133
|
})
|
|
134
134
|
},
|
|
135
135
|
model: {
|
|
@@ -184,9 +184,9 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
184
184
|
})
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
|
-
return
|
|
187
|
+
return Service66.of(result);
|
|
188
188
|
}));
|
|
189
189
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
190
|
-
var
|
|
190
|
+
var node71 = makeLocationNode({ service: Service66, layer, deps: [node84, node73] });
|
|
191
191
|
|
|
192
|
-
export {
|
|
192
|
+
export { Service66, node71, exports_catalog2, Event14 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service74
|
|
4
|
+
} from "./location-7ny1t5fr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service76
|
|
7
|
+
} from "./location-6h508dp1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service45
|
|
10
|
+
} from "./location-mmx9f08p.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service47,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-qfrw2mns.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service25
|
|
17
|
+
} from "./location-a1qbdnb3.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make10
|
|
20
|
+
} from "./location-0bzsvv4f.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command2 = {};
|
|
30
30
|
__export(exports_command2, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin41
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin41 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service45;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin36 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service76;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service47;
|
|
60
|
+
const sessions = yield* Service25;
|
|
61
|
+
const agents = yield* Service74;
|
|
62
|
+
const subagents = yield* make10;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin36 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin41, exports_command2 };
|
|
@@ -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
|
+
Service44
|
|
7
|
+
} from "./location-d36y1n73.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/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin27
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin27 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service45;
|
|
27
|
+
const output = yield* Service44;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin28 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin27, exports_tool_output };
|
|
@@ -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/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-qa467n4w.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-xgcvvaqd.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-2f04pwep.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info21,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service59,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer23,
|
|
49
|
+
list: () => list4,
|
|
50
|
+
make: () => make19,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node64,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info21,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service59 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service80;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service79;
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info21.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
timeCreated: DateTime.makeUnsafe(event.created),
|
|
@@ -193,7 +193,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list4(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer23 = Layer.effect(Service59, make19());
|
|
231
|
+
var node64 = makeGlobalNode({ service: Service59, layer: layer23, deps: [node85, node84] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info21, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service59, make19, layer23, node64, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|