@opencode/core 0.0.0-dev-19983 → 0.0.0-dev-19984
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{image-n5skym8n.js → location-028pjh5f.js} +15 -15
- package/dist/chunks/{image-rc6wfq74.js → location-07ew9dmt.js} +28 -28
- package/dist/chunks/{image-rstenykm.js → location-0c1wpxb9.js} +1 -1
- package/dist/chunks/{image-60596gf0.js → location-0cjzkd0f.js} +27 -27
- package/dist/chunks/{image-dks483fm.js → location-0gjp373x.js} +18 -18
- package/dist/chunks/{image-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{image-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/{image-kes097j4.js → location-0vwkr0xv.js} +1 -1
- package/dist/chunks/{image-ad4z1jrs.js → location-0yepr83e.js} +20 -20
- package/dist/chunks/{image-evrwq1d2.js → location-0zt6fyp2.js} +11 -11
- package/dist/chunks/{image-e255wkp1.js → location-13j8pn5k.js} +3 -3
- package/dist/chunks/{image-58da5342.js → location-15zaq50v.js} +28 -28
- package/dist/chunks/{image-rhraev7y.js → location-1acjjqhc.js} +4 -4
- package/dist/chunks/{image-yw90mp9f.js → location-1cx64p6y.js} +8 -8
- package/dist/chunks/{image-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{image-6xh0g4kx.js → location-1kpmcbq6.js} +12 -12
- package/dist/chunks/{image-s6pmxk2t.js → location-1v29h1cg.js} +20 -20
- package/dist/chunks/{image-ewnwpw42.js → location-1yjvqg52.js} +3 -3
- package/dist/chunks/{image-afyvqhvk.js → location-1z6bcbwm.js} +41 -41
- package/dist/chunks/{image-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{image-2402vzrj.js → location-2402vzrj.js} +1 -1
- package/dist/chunks/{image-a2ew8a62.js → location-25m4ah6t.js} +7 -7
- package/dist/chunks/{image-d10jp6w6.js → location-26xy9jpk.js} +22 -22
- package/dist/chunks/{image-z63w68vq.js → location-29x78va6.js} +6 -6
- package/dist/chunks/{image-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{image-258eh3rs.js → location-2bybnw67.js} +24 -24
- package/dist/chunks/{image-ddk8b4gr.js → location-2pnt8tzr.js} +12 -12
- package/dist/chunks/{image-wzhg77bf.js → location-33sx5sqt.js} +11 -11
- package/dist/chunks/{image-w5mxr70m.js → location-3933gdcf.js} +18 -18
- package/dist/chunks/{image-3cfzdc8e.js → location-3cfzdc8e.js} +2 -2
- package/dist/chunks/{image-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{image-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-xd9b4v3d.js → location-3jm0sq8a.js} +58 -58
- package/dist/chunks/{image-z6mts4vt.js → location-3jyv51wp.js} +2 -2
- package/dist/chunks/{image-nxvwfbqw.js → location-3kbv3m24.js} +21 -21
- package/dist/chunks/{image-w9sh5ge5.js → location-3p3vm0ex.js} +30 -30
- package/dist/chunks/{image-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{image-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{image-b7vxzd00.js → location-41b15ecq.js} +24 -24
- package/dist/chunks/{image-ec7aaxcz.js → location-42a57407.js} +39 -39
- package/dist/chunks/{image-k9kj6xed.js → location-44ke2mar.js} +6 -6
- package/dist/chunks/{image-nwxse5wp.js → location-46aakvn5.js} +22 -22
- package/dist/chunks/{image-nh3m5kwx.js → location-48am8h8r.js} +1 -1
- package/dist/chunks/{image-n36k2kh7.js → location-48j1mtvh.js} +19 -19
- package/dist/chunks/{image-56gdpj1q.js → location-56gdpj1q.js} +2 -2
- package/dist/chunks/{image-kkp8zx71.js → location-5cp6651z.js} +4 -4
- package/dist/chunks/{image-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{image-1cfb3ja4.js → location-5ebw3s4g.js} +5 -5
- package/dist/chunks/{image-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{image-r646k28t.js → location-5yt8bpsr.js} +2 -2
- package/dist/chunks/{image-mhbygw65.js → location-62kftm9s.js} +47 -47
- package/dist/chunks/{image-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{image-cavr175a.js → location-6m42r3np.js} +21 -21
- package/dist/chunks/{image-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{image-vk0va4ns.js → location-6nqmg5rm.js} +7 -7
- package/dist/chunks/{image-anb8rm3e.js → location-6wz6s45a.js} +11 -11
- package/dist/chunks/{image-57ez7d0k.js → location-6x0h2hvg.js} +9 -9
- package/dist/chunks/{image-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-d18skez3.js → location-7c0btcba.js} +13 -13
- package/dist/chunks/{image-bh0zzf2s.js → location-7dbmnfn4.js} +8 -8
- package/dist/chunks/{image-p44d8wdy.js → location-7gvwkz6m.js} +5 -5
- package/dist/chunks/{image-tjpj2e3q.js → location-7p5wtjc3.js} +8 -8
- package/dist/chunks/{image-vca968f4.js → location-7raqvg34.js} +9 -9
- package/dist/chunks/{image-rph3zd4r.js → location-7yqjxrmz.js} +6 -6
- package/dist/chunks/{image-edekhrx7.js → location-88vwfmcq.js} +6 -6
- package/dist/chunks/{image-1g4xhxjj.js → location-8c50kj87.js} +2 -2
- package/dist/chunks/{image-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{image-svndcwjb.js → location-8eg380mg.js} +4 -4
- package/dist/chunks/{image-0rt1aerz.js → location-8krtnsn7.js} +3 -3
- package/dist/chunks/{image-8p4f9s12.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{image-kbt3g993.js → location-8pwapj34.js} +13 -13
- package/dist/chunks/{image-n8yas6hm.js → location-8x6t0zvv.js} +24 -24
- package/dist/chunks/{image-xc3aj2tv.js → location-96q44xr9.js} +28 -28
- package/dist/chunks/{image-ez5vjv5r.js → location-9h91jpv9.js} +18 -18
- package/dist/chunks/{image-a3r4dcrj.js → location-9kmbd9mt.js} +2 -2
- package/dist/chunks/{image-a4rx6ejt.js → location-9p5s6s2z.js} +27 -27
- package/dist/chunks/{image-09td20c0.js → location-9ywbvqrg.js} +33 -33
- package/dist/chunks/{image-a1bz86dw.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{image-3zzqeb10.js → location-a1j3s6td.js} +20 -20
- package/dist/chunks/{image-znepfjcf.js → location-a46hzbj5.js} +17 -17
- package/dist/chunks/{image-p84br5ek.js → location-a606p4kg.js} +17 -17
- package/dist/chunks/{image-n7vpp5gh.js → location-a671bmw1.js} +16 -16
- package/dist/chunks/{image-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{image-krva6jg1.js → location-apgxa580.js} +15 -15
- package/dist/chunks/{image-a0ys4nqc.js → location-awa55gyj.js} +8 -8
- package/dist/chunks/{image-0dgp5q1e.js → location-axenjc6b.js} +17 -17
- package/dist/chunks/{image-vg7fngtd.js → location-b60s1em2.js} +13 -13
- package/dist/chunks/{image-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{image-rj372e5a.js → location-b722n5s9.js} +12 -12
- package/dist/chunks/{image-20bz03sg.js → location-b95a0s9k.js} +1 -1
- package/dist/chunks/{image-18h2bsbn.js → location-bgyxdgm5.js} +9 -9
- package/dist/chunks/{image-my2qptz9.js → location-bkn818fb.js} +18 -18
- package/dist/chunks/{image-ha494qqn.js → location-bm23hmy0.js} +10 -10
- package/dist/chunks/{image-dz8x4rxg.js → location-bp02r99k.js} +4 -4
- package/dist/chunks/{image-xnf96g2w.js → location-bsvwk272.js} +79 -79
- package/dist/chunks/{image-m2yd4h25.js → location-bthytya7.js} +40 -40
- package/dist/chunks/{image-tcpw7e5e.js → location-c52v1g84.js} +21 -21
- package/dist/chunks/{image-c765mh8b.js → location-c765mh8b.js} +2 -2
- package/dist/chunks/{image-397rvywk.js → location-c7r74d2e.js} +10 -10
- package/dist/chunks/{image-2zvss1h4.js → location-cb635m3g.js} +1 -1
- package/dist/chunks/{image-k10ne33k.js → location-cbmr8phd.js} +10 -10
- package/dist/chunks/{image-f5gy8qwh.js → location-cd0z4qvb.js} +8 -8
- package/dist/chunks/{image-4jv7e9dq.js → location-cf3tj770.js} +9 -9
- package/dist/chunks/{image-xk7j61yv.js → location-cf8xfs7e.js} +50 -50
- package/dist/chunks/{image-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{image-ge4xn9w4.js → location-cgtezthe.js} +9 -9
- package/dist/chunks/{image-v4bjwbs7.js → location-cmna76py.js} +20 -20
- package/dist/chunks/{image-cmwkp3r5.js → location-cmwkp3r5.js} +1 -1
- package/dist/chunks/{image-cq37gk0t.js → location-cq37gk0t.js} +4 -4
- package/dist/chunks/{image-j6nsp1g7.js → location-crzmmhpe.js} +10 -10
- package/dist/chunks/{image-06dxphr1.js → location-csf2jhsg.js} +4 -4
- package/dist/chunks/{image-namhjc4y.js → location-cvmnpgad.js} +8 -8
- package/dist/chunks/{image-v3vqqm9f.js → location-cxr1pgpc.js} +7 -7
- package/dist/chunks/{image-zg7entxf.js → location-czw6ejq9.js} +20 -20
- package/dist/chunks/{image-afkq326b.js → location-d04xfmcf.js} +20 -20
- package/dist/chunks/{image-g1354m52.js → location-d1728j9y.js} +9 -9
- package/dist/chunks/{image-e2mq9brg.js → location-d72vtcx6.js} +7 -7
- package/dist/chunks/{image-t9zs3egg.js → location-dfe8djrf.js} +4 -4
- package/dist/chunks/{image-rbxccrva.js → location-dh7atf4x.js} +27 -27
- package/dist/chunks/{image-n4r3xatb.js → location-dhmh7aw6.js} +4 -4
- package/dist/chunks/{image-2qp6v2hr.js → location-djmnmanq.js} +14 -14
- package/dist/chunks/location-dpe5jjc5.js +252 -0
- package/dist/chunks/{image-pk5pky18.js → location-dt191n27.js} +9 -9
- package/dist/chunks/{image-ea7xz3vj.js → location-dvdzmdgd.js} +7 -7
- package/dist/chunks/{image-7nkjve3g.js → location-dzebhhhh.js} +6 -6
- package/dist/chunks/{image-qx10sz7d.js → location-e3gkrkwa.js} +17 -17
- package/dist/chunks/{image-5qd3pb7m.js → location-e3qxr5gk.js} +2 -2
- package/dist/chunks/{image-0j14ft90.js → location-e4b60ckc.js} +32 -32
- package/dist/chunks/{image-6gfs34nh.js → location-e4eg75r2.js} +8 -8
- package/dist/chunks/{image-y67gsgy6.js → location-ec8389mk.js} +4 -4
- package/dist/chunks/{image-53nrc7mr.js → location-ee7jghms.js} +42 -42
- package/dist/chunks/{image-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{image-erw5rpbs.js → location-erw5rpbs.js} +2 -2
- package/dist/chunks/{image-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{image-8d0p2m37.js → location-ex0ne5y8.js} +5 -5
- package/dist/chunks/{image-3z10gw4q.js → location-f1s21ehs.js} +12 -12
- package/dist/chunks/{image-6zh7jmm8.js → location-f2k31yay.js} +13 -13
- package/dist/chunks/{image-924007vm.js → location-f3dc04ja.js} +43 -43
- package/dist/chunks/{image-qrtzkn9f.js → location-f4v8yxfq.js} +12 -12
- package/dist/chunks/{image-vke24a77.js → location-f7bny14s.js} +48 -48
- package/dist/chunks/{image-78ys8twf.js → location-f7dx5gxk.js} +9 -9
- package/dist/chunks/{image-f828m53h.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{image-bbfngs8v.js → location-ffjkv6j4.js} +11 -11
- package/dist/chunks/{image-b89j7fds.js → location-fpnkzx0a.js} +13 -13
- package/dist/chunks/{image-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{image-eba62b5m.js → location-g98h6x07.js} +6 -6
- package/dist/chunks/{image-59fd7wwn.js → location-gbsk7s70.js} +33 -33
- package/dist/chunks/{image-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{image-9gbcws29.js → location-ght7ghr8.js} +27 -27
- package/dist/chunks/{image-w39s3p85.js → location-gqkgf1w8.js} +19 -19
- package/dist/chunks/{image-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{image-ezt9kfxv.js → location-h0t9nfwn.js} +3 -3
- package/dist/chunks/{image-6qr3rp4k.js → location-h5b4kcx3.js} +6 -6
- package/dist/chunks/{image-h6r3nrb9.js → location-h6r3nrb9.js} +1 -1
- package/dist/chunks/{image-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{image-h71w788e.js → location-h71w788e.js} +2 -2
- package/dist/chunks/{image-c4spbmd0.js → location-h78s014s.js} +9 -9
- package/dist/chunks/{image-dx24mbb4.js → location-hbpxg73f.js} +17 -17
- package/dist/chunks/{image-y5cwy1mn.js → location-hj5q723k.js} +23 -23
- package/dist/chunks/{image-09e552k5.js → location-hm1aj9am.js} +11 -11
- package/dist/chunks/{image-tsr6kwcz.js → location-hr3mej6q.js} +1 -1
- package/dist/chunks/{image-711fd8qe.js → location-hrpmhk0j.js} +16 -16
- package/dist/chunks/{image-k9je938h.js → location-j081qpeq.js} +5 -5
- package/dist/chunks/{image-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{image-kawpmg25.js → location-j743xyx9.js} +3 -3
- package/dist/chunks/{image-vdptz04f.js → location-jd00bmkr.js} +6 -6
- package/dist/chunks/{image-ckjkxw20.js → location-jf5ejj3c.js} +21 -21
- package/dist/chunks/{image-ycjb11n5.js → location-jkp0d30b.js} +6 -6
- package/dist/chunks/{image-87hh84yj.js → location-jkwh49qv.js} +36 -36
- package/dist/chunks/{image-vtt0yr3x.js → location-jmh888fr.js} +10 -10
- package/dist/chunks/{image-qte5z7bc.js → location-jv01nqvq.js} +5 -5
- package/dist/chunks/{image-aktb84ke.js → location-jwnsrq47.js} +2 -2
- package/dist/chunks/{image-k3c624dm.js → location-k3c624dm.js} +3 -3
- package/dist/chunks/{image-bxn1favr.js → location-k46khmv0.js} +15 -15
- package/dist/chunks/{image-aj20rtze.js → location-ka57rnyv.js} +23 -23
- package/dist/chunks/{image-v2xsvqb7.js → location-kc692eep.js} +9 -9
- package/dist/chunks/{image-hf9mb306.js → location-kfvaj52c.js} +23 -23
- package/dist/chunks/{image-4ynrtxxp.js → location-kmtbrx23.js} +12 -12
- package/dist/chunks/{image-6y7njhkw.js → location-ktk7kaep.js} +12 -12
- package/dist/chunks/{image-mzvzs703.js → location-m2xnkqg2.js} +12 -12
- package/dist/chunks/{image-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{image-bw7h3gmz.js → location-m46z79h6.js} +9 -9
- package/dist/chunks/{image-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-jexxy024.js → location-mf9m2v67.js} +3 -3
- package/dist/chunks/{image-63k3xm2x.js → location-mrpvsqys.js} +11 -11
- package/dist/chunks/{image-g05h3mtq.js → location-myd867zz.js} +13 -13
- package/dist/chunks/{image-kh9grtd6.js → location-mz24817y.js} +11 -11
- package/dist/chunks/{image-77fp0bkd.js → location-n4t6mz1w.js} +8 -8
- package/dist/chunks/{image-v5w4drkp.js → location-n8rrq3rd.js} +33 -33
- package/dist/chunks/{image-k1gkpfdk.js → location-ngts6ef0.js} +8 -8
- package/dist/chunks/{image-0gy1wr0y.js → location-nh19gvd6.js} +9 -9
- package/dist/chunks/{image-y89pgm7x.js → location-p117p70m.js} +11 -11
- package/dist/chunks/{image-var6jwka.js → location-p879wscf.js} +10 -10
- package/dist/chunks/{image-fxxz233w.js → location-pghnxs44.js} +32 -32
- package/dist/chunks/{image-anf0zms1.js → location-ph20cxtq.js} +9 -9
- package/dist/chunks/{image-jgphgq4c.js → location-ph3mq3wp.js} +17 -17
- package/dist/chunks/{image-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{image-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{image-1r56tgej.js → location-ppzykpzz.js} +3 -3
- package/dist/chunks/{image-x619ew4b.js → location-pxxptb8y.js} +47 -47
- package/dist/chunks/{image-5qfssqaz.js → location-q5dh2455.js} +8 -8
- package/dist/chunks/{image-7keqm5b0.js → location-q8tsaz2a.js} +7 -7
- package/dist/chunks/location-qapv375x.js +4 -0
- package/dist/chunks/location-qc068m1q.js +18 -0
- package/dist/chunks/{image-9a912s85.js → location-qg0jgkcp.js} +9 -9
- package/dist/chunks/{image-2z66ez54.js → location-qg12vcbp.js} +24 -24
- package/dist/chunks/{image-2k8khapm.js → location-qgn6gcr1.js} +5 -5
- package/dist/chunks/{image-9z4sf5tv.js → location-qn9b0sqe.js} +11 -11
- package/dist/chunks/{image-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{image-g8jasmdt.js → location-qth74v4j.js} +11 -11
- package/dist/chunks/{image-9v8rdtx4.js → location-qtrjaqbk.js} +32 -32
- package/dist/chunks/{image-r16rx7t1.js → location-qvxdw1kp.js} +4 -4
- package/dist/chunks/{image-arwg5kd7.js → location-r3radns3.js} +21 -21
- package/dist/chunks/{image-npq2n3tp.js → location-r574spjx.js} +10 -10
- package/dist/chunks/{image-7yh4e7ss.js → location-r5x6zcsm.js} +3 -3
- package/dist/chunks/{image-4030ep1a.js → location-ranyqwt8.js} +32 -32
- package/dist/chunks/{image-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{image-1w9v3p18.js → location-rh4cvgcy.js} +69 -69
- package/dist/chunks/{image-rhjbct0v.js → location-rhjbct0v.js} +1 -1
- package/dist/chunks/{image-vjd497wd.js → location-rnhgrd0m.js} +6 -6
- package/dist/chunks/{image-yrznvahk.js → location-s4enseaf.js} +2 -2
- package/dist/chunks/{image-k9nbv3dt.js → location-s5ythvf1.js} +40 -40
- package/dist/chunks/{image-3czpn3qn.js → location-sap7mgk3.js} +13 -13
- package/dist/chunks/{image-b340zwh0.js → location-sct26jh2.js} +3 -3
- package/dist/chunks/{image-npdbymj2.js → location-sd6dzq7f.js} +10 -10
- package/dist/chunks/{image-46t0t9s7.js → location-sgcf4b1d.js} +300 -300
- package/dist/chunks/{image-dq0v80fr.js → location-sjf3tctt.js} +12 -12
- package/dist/chunks/{image-3mtz8sw0.js → location-smhjrczq.js} +41 -41
- package/dist/chunks/{image-z9ee0mf2.js → location-sp1dssyy.js} +22 -22
- package/dist/chunks/{image-t9kz1x1h.js → location-spa1pw6v.js} +14 -14
- package/dist/chunks/{image-nfd0y60j.js → location-sqj1n1fy.js} +4 -4
- package/dist/chunks/{image-27ja88b0.js → location-sv18tyc1.js} +31 -31
- package/dist/chunks/{image-q14p6249.js → location-t7qv8der.js} +26 -26
- package/dist/chunks/{image-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{image-p28j5sbe.js → location-tbz0fdvh.js} +5 -5
- package/dist/chunks/{image-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{image-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{image-esh8cnfr.js → location-tkwa03qt.js} +25 -25
- package/dist/chunks/{image-9dpmj859.js → location-tp88aasm.js} +3 -3
- package/dist/chunks/{image-bz85s9hh.js → location-ts2x07a1.js} +1 -1
- package/dist/chunks/{image-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{image-tk2v6jy0.js → location-vb1hdz07.js} +8 -8
- package/dist/chunks/{image-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{image-nab6jkb6.js → location-vnek8hc4.js} +3 -3
- package/dist/chunks/{image-8k5gf81b.js → location-vp9pbkkd.js} +4 -4
- package/dist/chunks/{image-1mp28asa.js → location-vxmvkdwt.js} +26 -26
- package/dist/chunks/{image-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{image-92w0nt0v.js → location-w12wcbj8.js} +61 -61
- package/dist/chunks/{image-qd1nr1jp.js → location-w18ba54v.js} +10 -10
- package/dist/chunks/{image-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-388ve0md.js → location-w5tmm7r1.js} +11 -11
- package/dist/chunks/{image-v61m3kz8.js → location-w8qbt9vz.js} +3 -3
- package/dist/chunks/{image-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{image-z61r2s3w.js → location-wmpkysg0.js} +13 -13
- package/dist/chunks/{image-g1cnsceh.js → location-wvgnadq2.js} +6 -6
- package/dist/chunks/{image-6r2bcfeg.js → location-wvtxbd2s.js} +3 -3
- package/dist/chunks/{image-bweh8ah2.js → location-wx5t2f9k.js} +19 -19
- package/dist/chunks/{image-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{image-pqkzp7xy.js → location-x4h44jes.js} +24 -24
- package/dist/chunks/{image-qnqyg1a6.js → location-x8fjxshq.js} +15 -15
- package/dist/chunks/{image-xfkkasph.js → location-xfkkasph.js} +1 -1
- package/dist/chunks/{image-x2d9qy7d.js → location-xjtsx636.js} +5 -5
- package/dist/chunks/{image-es7jpw9p.js → location-xt1m20s5.js} +4 -4
- package/dist/chunks/{image-p2safxe9.js → location-xwhbd8ep.js} +27 -27
- package/dist/chunks/{image-xzz5rq5j.js → location-xwjjwx9d.js} +10 -10
- package/dist/chunks/{image-be95997k.js → location-xxkq93fp.js} +19 -19
- package/dist/chunks/{image-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{image-7p82tnfq.js → location-y6dfpya4.js} +11 -11
- package/dist/chunks/{image-y71avatq.js → location-y71avatq.js} +1 -1
- package/dist/chunks/{image-1gs8am01.js → location-y8yf2k5g.js} +35 -35
- package/dist/chunks/{image-fszct94a.js → location-ycjtg4p4.js} +23 -23
- package/dist/chunks/{image-p8a3dq8k.js → location-yk3trf7r.js} +140 -140
- package/dist/chunks/{image-q7pthab0.js → location-ykaqgp03.js} +26 -26
- package/dist/chunks/{image-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{image-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-dmt7f73j.js → location-z0ztzpp1.js} +23 -23
- package/dist/chunks/{image-685dn0bf.js → location-z96p8pdm.js} +23 -23
- package/dist/chunks/{image-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{image-mw934p8z.js → location-zex37ywk.js} +8 -8
- package/dist/chunks/{image-z0tsxkyk.js → location-zgn95ptr.js} +19 -19
- package/dist/chunks/{image-c2a7rk0z.js → location-zgqvek19.js} +12 -12
- package/dist/chunks/{image-wz8tevja.js → location-znzpdstw.js} +15 -15
- package/dist/chunks/{image-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{image-ybhbtxjg.js → location-zt6fd653.js} +9 -9
- package/dist/chunks/{image-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +97 -97
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- 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 +90 -90
- 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 +360 -360
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +93 -93
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- 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 +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +99 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +92 -92
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +74 -74
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- 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 +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +90 -90
- 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 +120 -120
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +2 -2
- 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 +7 -7
- 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 +91 -91
- 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/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/image-6kdq0pjd.js +0 -4
- package/dist/chunks/image-by5v678g.js +0 -18
- package/dist/chunks/image-r44k0b4h.js +0 -252
- /package/dist/chunks/{image-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Service83,
|
|
10
|
-
node87
|
|
11
|
-
} from "./image-rj372e5a.js";
|
|
7
|
+
} from "./location-w8qbt9vz.js";
|
|
12
8
|
import {
|
|
13
9
|
Service82,
|
|
14
10
|
node86
|
|
15
|
-
} from "./
|
|
11
|
+
} from "./location-b722n5s9.js";
|
|
12
|
+
import {
|
|
13
|
+
Service79,
|
|
14
|
+
node83
|
|
15
|
+
} from "./location-sjf3tctt.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID16,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info32,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event19,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-6x0h2hvg.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID15,
|
|
40
|
+
Info: () => Info31,
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service78,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node82,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID15 = ID16;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info31 = Info32;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID15
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service78 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,11 +93,11 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service79;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
|
-
const bus = yield*
|
|
100
|
+
const bus = yield* Service82;
|
|
101
101
|
const db = (yield* Service84).db;
|
|
102
102
|
const announcing = new Set;
|
|
103
103
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
143
143
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
144
|
projectID: item.projectID,
|
|
145
145
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
146
|
+
previous: project.previous ?? ID15.global,
|
|
147
147
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
148
|
}, {
|
|
149
149
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
166
166
|
time_updated: Date.now()
|
|
167
167
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
168
168
|
if (!row)
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event19.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID15.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID15.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID15.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID15.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID15.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID15.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID15.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service78.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node82 = makeGlobalNode({
|
|
276
|
+
service: Service78,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node86, node88, FSUtil.node, node83, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID15, Vcs2, Current2, Info31, UpdateInput3, NotFoundError10, root2, Service78, node82, exports_project };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-sp1dssyy.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service60
|
|
8
|
+
} from "./location-bthytya7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
resolve4
|
|
11
|
+
} from "./location-g98h6x07.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin10
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin10 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service60;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -177,7 +177,7 @@ var Plugin11 = define({
|
|
|
177
177
|
if (config.variants === undefined && !source?.base)
|
|
178
178
|
models.update(providerID, id, (model) => {
|
|
179
179
|
model.variants = [
|
|
180
|
-
...
|
|
180
|
+
...resolve4({
|
|
181
181
|
...model,
|
|
182
182
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
183
183
|
})
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin10, exports_provider };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./location-b722n5s9.js";
|
|
8
8
|
import {
|
|
9
9
|
Event20,
|
|
10
|
-
Service77,
|
|
11
|
-
node81
|
|
12
|
-
} from "./image-aj20rtze.js";
|
|
13
|
-
import {
|
|
14
10
|
Service80,
|
|
15
11
|
node84
|
|
16
|
-
} from "./
|
|
12
|
+
} from "./location-ka57rnyv.js";
|
|
13
|
+
import {
|
|
14
|
+
Service77,
|
|
15
|
+
node81
|
|
16
|
+
} from "./location-hrpmhk0j.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service63,
|
|
19
|
+
node66
|
|
20
|
+
} from "./location-8x6t0zvv.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID18,
|
|
23
|
+
Service81,
|
|
24
|
+
node85
|
|
25
|
+
} from "./location-vxmvkdwt.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service76,
|
|
34
|
+
node80
|
|
35
|
+
} from "./location-0yepr83e.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,11 +50,11 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service36,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
56
|
+
configured: () => configured4,
|
|
57
|
+
layer: () => layer14,
|
|
58
58
|
node: () => node40
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service36 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options4 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
104
|
+
var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service77;
|
|
106
|
+
const environment = yield* Service63;
|
|
107
|
+
const bus = yield* Service82;
|
|
108
|
+
const forms = yield* Service81;
|
|
109
|
+
const integration = yield* Service76;
|
|
110
|
+
const credentials = yield* Service80;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -135,7 +135,7 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service80, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError4({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service80, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID18.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
243
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service63, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -391,7 +391,7 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service36.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured4(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
516
|
-
layer:
|
|
517
|
-
deps: [
|
|
515
|
+
service: Service36,
|
|
516
|
+
layer: layer14(options),
|
|
517
|
+
deps: [node81, node66, node86, node85, node80, node84]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var node40 =
|
|
520
|
+
var node40 = configured4();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service36, Options4, layer14, configured4, node40, exports_mcp4 };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service77
|
|
13
|
+
} from "./location-hrpmhk0j.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-z96p8pdm.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin32,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin32 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service77;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin32, exports_hg };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service60
|
|
4
|
+
} from "./location-bthytya7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service42
|
|
7
|
+
} from "./location-pghnxs44.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/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin5
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin5 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service60;
|
|
27
|
+
const snapshot = yield* Service42;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin6 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin5, exports_snapshot };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Plugin35
|
|
3
|
+
} from "./location-zex37ywk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Plugin37
|
|
6
|
+
} from "./location-h78s014s.js";
|
|
7
7
|
import {
|
|
8
8
|
Plugin33
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-1yjvqg52.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Plugin36
|
|
12
|
+
} from "./location-n4t6mz1w.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Plugin34
|
|
15
|
+
} from "./location-cgtezthe.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/websearch/index.ts
|
|
18
18
|
var WebSearchPlugins2 = [
|
|
19
|
-
Plugin34,
|
|
20
|
-
Plugin36,
|
|
21
|
-
Plugin33,
|
|
22
19
|
Plugin35,
|
|
23
|
-
Plugin37
|
|
20
|
+
Plugin37,
|
|
21
|
+
Plugin33,
|
|
22
|
+
Plugin36,
|
|
23
|
+
Plugin34
|
|
24
24
|
];
|
|
25
25
|
|
|
26
26
|
export { WebSearchPlugins2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-sp1dssyy.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-c52v1g84.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve4
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve4(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -494,4 +494,4 @@ var PROTOCOLS = {
|
|
|
494
494
|
[aisdk2("@ai-sdk/cohere")]: cohere
|
|
495
495
|
};
|
|
496
496
|
|
|
497
|
-
export {
|
|
497
|
+
export { resolve4, exports_variant };
|