@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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./location-b722n5s9.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
6
|
Event20
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-ka57rnyv.js";
|
|
8
8
|
import {
|
|
9
9
|
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-0yepr83e.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-h6r3nrb9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service73
|
|
17
|
+
} from "./location-cd0z4qvb.js";
|
|
18
18
|
import {
|
|
19
19
|
ID13,
|
|
20
20
|
mergeOverlay2,
|
|
21
21
|
mergeHeaders2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-sp1dssyy.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
ID11,
|
|
25
|
+
Input14,
|
|
26
26
|
Response2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-9p5s6s2z.js";
|
|
28
28
|
|
|
29
29
|
// src/plugin/provider/opencode.ts
|
|
30
30
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -39,7 +39,7 @@ var methodID = MethodID2.make("device");
|
|
|
39
39
|
var RemoteResponse = Schema.Struct({
|
|
40
40
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
41
41
|
websearch: Schema.Struct({
|
|
42
|
-
providerID:
|
|
42
|
+
providerID: ID11
|
|
43
43
|
}).pipe(Schema.optional),
|
|
44
44
|
experimental: Schema.Struct({
|
|
45
45
|
policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
|
|
@@ -118,9 +118,9 @@ function oauth(http) {
|
|
|
118
118
|
var OpencodePlugin2 = define({
|
|
119
119
|
id: "opencode.provider.opencode",
|
|
120
120
|
effect: Effect.fn(function* (ctx) {
|
|
121
|
-
const bus = yield*
|
|
121
|
+
const bus = yield* Service82;
|
|
122
122
|
const http = yield* HttpClient.HttpClient;
|
|
123
|
-
const managed = yield*
|
|
123
|
+
const managed = yield* Service73;
|
|
124
124
|
const loading = Semaphore.makeUnsafe(1);
|
|
125
125
|
let snapshot = { config: undefined, connection: undefined, organization: undefined };
|
|
126
126
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
@@ -269,7 +269,7 @@ var OpencodePlugin2 = define({
|
|
|
269
269
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
270
270
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
271
271
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
272
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
272
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
273
273
|
query: input.query,
|
|
274
274
|
providerID: descriptor.providerID
|
|
275
275
|
}));
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin39,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin39 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin39, exports_tool_input_repair };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-zt6fd653.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-3jm0sq8a.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-0yepr83e.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-b60s1em2.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-b722n5s9.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service41,
|
|
17
|
+
node45
|
|
18
|
+
} from "./location-a1j3s6td.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info8,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service40,
|
|
35
35
|
Source: () => Source4,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node44
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source4 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info8 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service40 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service82;
|
|
53
|
+
const cache = yield* Service41;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info8.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info8.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service40.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node44 = makeLocationNode({
|
|
116
|
+
service: Service40,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node86, node45]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source4,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info8, Service40, node44, exports_reference2, Event8 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service35,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
15
|
node: () => node39
|
|
16
16
|
});
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service35 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service36, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service35.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var node39 = makeGlobalNode({ service:
|
|
375
|
+
var node39 = makeGlobalNode({ service: Service35, layer: layer13, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service35, makeLayer2, layer13, node39, exports_model_transport };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node83
|
|
6
|
+
} from "./location-sjf3tctt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service77,
|
|
9
|
+
node81
|
|
10
|
+
} from "./location-hrpmhk0j.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
make12
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-ex0ne5y8.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service21,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node24
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service21 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service77;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const git = yield* make12;
|
|
40
40
|
const state = create3({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service21.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node24 = makeLocationNode({
|
|
61
|
+
service: Service21,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node81, Global.node, node83, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service21, node24, exports_strategies };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./location-vxmvkdwt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./location-3jm0sq8a.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin49,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin49 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service81;
|
|
57
|
+
const permission = yield* Service52;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export { name14, description6,
|
|
118
|
+
export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin49, exports_question };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service77
|
|
9
|
+
} from "./location-hrpmhk0j.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service63
|
|
12
|
+
} from "./location-8x6t0zvv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service17
|
|
15
|
+
} from "./location-spa1pw6v.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-zgn95ptr.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service52
|
|
24
|
+
} from "./location-3jm0sq8a.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service23
|
|
27
|
+
} from "./location-9h91jpv9.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input10,
|
|
37
|
+
Output: () => Output7,
|
|
38
|
+
Plugin: () => Plugin29,
|
|
39
|
+
name: () => name10,
|
|
40
|
+
toModelContent: () => toModelContent5
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name10 = "glob";
|
|
46
|
+
var Input10 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input4 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output7 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent5 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin29 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service63;
|
|
70
|
+
const ripgrep = yield* Service17;
|
|
71
|
+
const location = yield* Service77;
|
|
72
|
+
const access = yield* Service23;
|
|
73
|
+
const permission = yield* Service52;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name10,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input10,
|
|
79
|
+
output: Output7,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name10,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin23 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name10, Input10, Output7, toModelContent5, Plugin29, exports_glob };
|