@opencode/core 0.0.0-dev-19984 → 0.0.0-dev-19986
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{location-hrpmhk0j.js → model-02x3fxhb.js} +5 -5
- package/dist/chunks/{location-e3gkrkwa.js → model-09bq7etx.js} +15 -15
- package/dist/chunks/{location-1cx64p6y.js → model-09ez71p6.js} +8 -8
- package/dist/chunks/{location-dvdzmdgd.js → model-0arxtjdz.js} +10 -10
- package/dist/chunks/{location-ranyqwt8.js → model-0asf0tv2.js} +35 -35
- package/dist/chunks/{location-hbpxg73f.js → model-0h34xgtp.js} +29 -29
- package/dist/chunks/{location-jkp0d30b.js → model-0hf9g8pg.js} +6 -6
- package/dist/chunks/{location-62kftm9s.js → model-0hna2yy5.js} +46 -46
- package/dist/chunks/{location-hm1aj9am.js → model-0kxajatb.js} +8 -8
- package/dist/chunks/model-0mesazry.js +4 -0
- package/dist/chunks/{location-0paq2nw3.js → model-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-0q0f95c6.js → model-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-xxkq93fp.js → model-0qxdwqj8.js} +16 -16
- package/dist/chunks/{location-3jm0sq8a.js → model-0vqy8ggk.js} +52 -52
- package/dist/chunks/{location-awa55gyj.js → model-0w0pfv64.js} +6 -6
- package/dist/chunks/{location-3jyv51wp.js → model-0y5n2msm.js} +5 -5
- package/dist/chunks/{location-h71w788e.js → model-11dqjexa.js} +9 -9
- package/dist/chunks/{location-ph3mq3wp.js → model-1984k6t2.js} +15 -15
- package/dist/chunks/{location-r5x6zcsm.js → model-1bbkgx8g.js} +3 -3
- package/dist/chunks/{location-1dazxqgg.js → model-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-3p3vm0ex.js → model-1dvkw6kv.js} +19 -19
- package/dist/chunks/{location-dh7atf4x.js → model-1kf1zw0p.js} +21 -21
- package/dist/chunks/{location-znzpdstw.js → model-1kpjy7fz.js} +20 -20
- package/dist/chunks/{location-bsvwk272.js → model-1vnz04j6.js} +89 -89
- package/dist/chunks/{location-56gdpj1q.js → model-1ygqh575.js} +9 -9
- package/dist/chunks/{location-21r38tys.js → model-21r38tys.js} +1 -1
- package/dist/chunks/{location-dzebhhhh.js → model-22dh126j.js} +6 -6
- package/dist/chunks/{location-qvxdw1kp.js → model-233tjdzm.js} +4 -4
- package/dist/chunks/{location-29x78va6.js → model-29x78va6.js} +2 -2
- package/dist/chunks/{location-2a5m3afh.js → model-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-42a57407.js → model-2hj9r0q6.js} +41 -41
- package/dist/chunks/{location-q5dh2455.js → model-2jxgcw4v.js} +8 -8
- package/dist/chunks/{location-qgn6gcr1.js → model-2k8khapm.js} +5 -5
- package/dist/chunks/{location-9ywbvqrg.js → model-2kkjm1by.js} +31 -31
- package/dist/chunks/{location-ycjtg4p4.js → model-2kpwbvjk.js} +28 -28
- package/dist/chunks/{location-3cfzdc8e.js → model-2qp6y8xf.js} +5 -5
- package/dist/chunks/{location-f1s21ehs.js → model-36tt9758.js} +18 -18
- package/dist/chunks/{location-33sx5sqt.js → model-376qmtdk.js} +13 -13
- package/dist/chunks/{location-1yjvqg52.js → model-38zbz3tv.js} +9 -9
- package/dist/chunks/{location-0yepr83e.js → model-3aq06pgr.js} +25 -25
- package/dist/chunks/{location-26xy9jpk.js → model-3c2za3af.js} +22 -22
- package/dist/chunks/{location-3fc6dm20.js → model-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-gqkgf1w8.js → model-3n7m2hk2.js} +20 -20
- package/dist/chunks/{location-jwnsrq47.js → model-3nyzas2y.js} +2 -2
- package/dist/chunks/{location-96q44xr9.js → model-3r1htj1f.js} +28 -28
- package/dist/chunks/{location-3smtnn6g.js → model-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-myd867zz.js → model-3trq1tgd.js} +11 -11
- package/dist/chunks/{location-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-ec8389mk.js → model-3ythc6yv.js} +4 -4
- package/dist/chunks/{location-cxr1pgpc.js → model-40k8kmwx.js} +7 -7
- package/dist/chunks/{location-0c1wpxb9.js → model-43y4pgnj.js} +1 -1
- package/dist/chunks/{location-cbmr8phd.js → model-4817rykz.js} +8 -8
- package/dist/chunks/{location-h6r3nrb9.js → model-4dgbcxzg.js} +4 -4
- package/dist/chunks/{location-vb1hdz07.js → model-4rdqryht.js} +8 -8
- package/dist/chunks/{location-1kpmcbq6.js → model-4x08tbr8.js} +14 -14
- package/dist/chunks/{location-vxmvkdwt.js → model-4ywpd5fw.js} +26 -26
- package/dist/chunks/{location-jv01nqvq.js → model-510m7gjw.js} +5 -5
- package/dist/chunks/{location-g98h6x07.js → model-5bqdc31q.js} +6 -6
- package/dist/chunks/{location-a1bz86dw.js → model-5c4hm403.js} +3 -3
- package/dist/chunks/{location-5daktx2q.js → model-5daktx2q.js} +1 -1
- package/dist/chunks/{location-jkwh49qv.js → model-5k87bj0k.js} +32 -32
- package/dist/chunks/{location-5t3nmthw.js → model-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-15zaq50v.js → model-5tpwjqwz.js} +26 -26
- package/dist/chunks/{location-3933gdcf.js → model-5z7mvqc9.js} +11 -11
- package/dist/chunks/{location-669tq793.js → model-669tq793.js} +1 -1
- package/dist/chunks/{location-sjf3tctt.js → model-68y7phbn.js} +12 -12
- package/dist/chunks/{location-qn9b0sqe.js → model-6drgx612.js} +8 -8
- package/dist/chunks/{location-2402vzrj.js → model-6h73sxmp.js} +5 -5
- package/dist/chunks/{location-6msgmcgs.js → model-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-spa1pw6v.js → model-6xvp8w0a.js} +14 -14
- package/dist/chunks/{location-e4b60ckc.js → model-744mfh37.js} +31 -31
- package/dist/chunks/{location-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-0zt6fyp2.js → model-7e8yzj3r.js} +14 -14
- package/dist/chunks/{location-ykaqgp03.js → model-7fafv5n6.js} +27 -27
- package/dist/chunks/{location-ktk7kaep.js → model-7n4gz87d.js} +15 -15
- package/dist/chunks/{location-ffjkv6j4.js → model-7rqh2ctm.js} +11 -11
- package/dist/chunks/{location-0gjp373x.js → model-7v1f06d3.js} +14 -14
- package/dist/chunks/{location-cf3tj770.js → model-7w3s9kd0.js} +4 -4
- package/dist/chunks/model-7z8m4jdr.js +26 -0
- package/dist/chunks/{location-z0ztzpp1.js → model-7zc7y866.js} +12 -12
- package/dist/chunks/{location-jmh888fr.js → model-80vk4pbp.js} +9 -9
- package/dist/chunks/{location-6x0h2hvg.js → model-81swgkk7.js} +9 -9
- package/dist/chunks/{location-2pnt8tzr.js → model-821c2grm.js} +12 -12
- package/dist/chunks/{location-y8yf2k5g.js → model-85qenhzt.js} +31 -31
- package/dist/chunks/{location-8d7r5vzw.js → model-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-r574spjx.js → model-8dn5gfvq.js} +11 -11
- package/dist/chunks/{location-pghnxs44.js → model-8rps6qd7.js} +18 -18
- package/dist/chunks/{location-w12wcbj8.js → model-8xb42w3d.js} +69 -69
- package/dist/chunks/{location-d04xfmcf.js → model-911xaqx0.js} +22 -22
- package/dist/chunks/{location-yk3trf7r.js → model-99ggta0x.js} +139 -139
- package/dist/chunks/{location-x8fjxshq.js → model-9dnmtttn.js} +17 -17
- package/dist/chunks/{location-a46hzbj5.js → model-9ga41e26.js} +20 -20
- package/dist/chunks/{location-cmwkp3r5.js → model-9hn6k4tm.js} +8 -8
- package/dist/chunks/{location-h0t9nfwn.js → model-9r166ngg.js} +3 -3
- package/dist/chunks/{location-c7r74d2e.js → model-9xwr79ss.js} +16 -16
- package/dist/chunks/{location-25m4ah6t.js → model-a2ew8a62.js} +7 -7
- package/dist/chunks/{location-xwhbd8ep.js → model-a6zskm12.js} +31 -31
- package/dist/chunks/{location-aaet6srn.js → model-aaet6srn.js} +2 -2
- package/dist/chunks/{location-a606p4kg.js → model-ac4jjyh9.js} +18 -18
- package/dist/chunks/{location-xt1m20s5.js → model-acyp9nmy.js} +4 -4
- package/dist/chunks/{location-axenjc6b.js → model-agxh3jj7.js} +13 -13
- package/dist/chunks/{location-cf8xfs7e.js → model-ajmr5gq8.js} +53 -53
- package/dist/chunks/{location-rh4cvgcy.js → model-as3fcxs1.js} +83 -83
- package/dist/chunks/{location-6m42r3np.js → model-axmvebxj.js} +4 -4
- package/dist/chunks/{location-6nqmg5rm.js → model-b00xhfda.js} +7 -7
- package/dist/chunks/{location-jf5ejj3c.js → model-b05n7962.js} +31 -31
- package/dist/chunks/{location-8pwapj34.js → model-b0g5qfh4.js} +13 -13
- package/dist/chunks/{location-ee7jghms.js → model-b1rwpjt2.js} +44 -44
- package/dist/chunks/{location-7raqvg34.js → model-b5yj1c48.js} +11 -11
- package/dist/chunks/{location-b6gygkdw.js → model-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-dhmh7aw6.js → model-baaqp4zd.js} +4 -4
- package/dist/chunks/{location-8x6t0zvv.js → model-bba39dcq.js} +21 -21
- package/dist/chunks/{location-5yt8bpsr.js → model-bn88dpwe.js} +2 -2
- package/dist/chunks/{location-p117p70m.js → model-bt0xyq03.js} +11 -11
- package/dist/chunks/{location-sd6dzq7f.js → model-c4szcb1p.js} +12 -12
- package/dist/chunks/{location-w5tmm7r1.js → model-cbyzv88m.js} +11 -11
- package/dist/chunks/{location-dt191n27.js → model-cdpzgvn4.js} +9 -9
- package/dist/chunks/{location-5ebw3s4g.js → model-ce5fknq2.js} +5 -5
- package/dist/chunks/{location-h5b4kcx3.js → model-cjwramev.js} +4 -4
- package/dist/chunks/{location-c765mh8b.js → model-cpneeje0.js} +8 -8
- package/dist/chunks/{location-7yqjxrmz.js → model-cpy6gm2a.js} +4 -4
- package/dist/chunks/{location-csf2jhsg.js → model-csf2jhsg.js} +1 -1
- package/dist/chunks/{location-qtrjaqbk.js → model-ctmp0cgk.js} +28 -28
- package/dist/chunks/{location-8p4f9s12.js → model-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-y71avatq.js → model-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-j743xyx9.js → model-dpwc31n5.js} +6 -6
- package/dist/chunks/{location-e4eg75r2.js → model-dr7gxcgm.js} +8 -8
- package/dist/chunks/{location-xfkkasph.js → model-drwq78ky.js} +4 -4
- package/dist/chunks/{location-ka57rnyv.js → model-ebdyxsk8.js} +31 -31
- package/dist/chunks/{location-ef5x83kb.js → model-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-48j1mtvh.js → model-efdt01wf.js} +20 -20
- package/dist/chunks/{location-erw5rpbs.js → model-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-etq0c3wd.js → model-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-t7qv8der.js → model-ey7qv34p.js} +23 -23
- package/dist/chunks/{location-qth74v4j.js → model-f32czd11.js} +8 -8
- package/dist/chunks/{location-wmpkysg0.js → model-f50x3b3s.js} +11 -11
- package/dist/chunks/{location-cd0z4qvb.js → model-f5gy8qwh.js} +8 -8
- package/dist/chunks/{location-cq37gk0t.js → model-fab8hzt3.js} +4 -4
- package/dist/chunks/{location-b722n5s9.js → model-fawkavha.js} +12 -12
- package/dist/chunks/{location-z96p8pdm.js → model-fh25xc84.js} +20 -20
- package/dist/chunks/{location-44ke2mar.js → model-fkjmw100.js} +6 -6
- package/dist/chunks/{location-mz24817y.js → model-fm317nwr.js} +11 -11
- package/dist/chunks/{location-fxbjtjnd.js → model-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-sap7mgk3.js → model-g7q8d3rw.js} +10 -10
- package/dist/chunks/{location-kmtbrx23.js → model-gcd43y7x.js} +14 -14
- package/dist/chunks/{location-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-41b15ecq.js → model-gdnmvhtd.js} +22 -22
- package/dist/chunks/{location-88vwfmcq.js → model-gfvsdv7e.js} +6 -6
- package/dist/chunks/{location-7p5wtjc3.js → model-gjrpp66z.js} +8 -8
- package/dist/chunks/{location-m46z79h6.js → model-gr7kh44d.js} +14 -14
- package/dist/chunks/{location-gv6a8nnw.js → model-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-0vwkr0xv.js → model-gwc5p263.js} +1 -1
- package/dist/chunks/model-h2z4ejvh.js +252 -0
- package/dist/chunks/{location-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-ght7ghr8.js → model-h9dz8fj7.js} +30 -30
- package/dist/chunks/{location-djmnmanq.js → model-h9x5fspw.js} +16 -16
- package/dist/chunks/{location-gbsk7s70.js → model-hckbve9z.js} +33 -33
- package/dist/chunks/{location-f828m53h.js → model-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-sgcf4b1d.js → model-hk86mw2f.js} +316 -316
- package/dist/chunks/{location-wvtxbd2s.js → model-hmw3pr0d.js} +3 -3
- package/dist/chunks/{location-sct26jh2.js → model-hzvbkkwq.js} +5 -5
- package/dist/chunks/{location-qg0jgkcp.js → model-j3s2z371.js} +9 -9
- package/dist/chunks/{location-j56e64zr.js → model-j56e64zr.js} +1 -1
- package/dist/chunks/{location-ex0ne5y8.js → model-j7ym9e45.js} +5 -5
- package/dist/chunks/{location-pxxptb8y.js → model-jck6t8kb.js} +47 -47
- package/dist/chunks/{location-s5ythvf1.js → model-jea9yeya.js} +40 -40
- package/dist/chunks/{location-sqj1n1fy.js → model-jpeemenq.js} +4 -4
- package/dist/chunks/{location-w8qbt9vz.js → model-jxd6phk9.js} +3 -3
- package/dist/chunks/{location-8c50kj87.js → model-jxdt7bj1.js} +2 -2
- package/dist/chunks/{location-028pjh5f.js → model-k1eqknct.js} +13 -13
- package/dist/chunks/{location-b95a0s9k.js → model-k7kjyac2.js} +1 -1
- package/dist/chunks/{location-xwjjwx9d.js → model-k9a0313z.js} +11 -11
- package/dist/chunks/{location-hj5q723k.js → model-kbsrxwde.js} +19 -19
- package/dist/chunks/{location-apgxa580.js → model-kqsk5bay.js} +13 -13
- package/dist/chunks/{location-sv18tyc1.js → model-kst9mf61.js} +26 -26
- package/dist/chunks/{location-6wz6s45a.js → model-kt6y54za.js} +11 -11
- package/dist/chunks/{location-bgyxdgm5.js → model-kwrjnxj7.js} +9 -9
- package/dist/chunks/{location-9kmbd9mt.js → model-ky3seynh.js} +2 -2
- package/dist/chunks/{location-1v29h1cg.js → model-m0ecvezt.js} +13 -13
- package/dist/chunks/{location-cfpkc3c9.js → model-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-m3fdjcah.js → model-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-a671bmw1.js → model-m5hyj67z.js} +12 -12
- package/dist/chunks/{location-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-2bybnw67.js → model-mg0wqdec.js} +20 -20
- package/dist/chunks/{location-nh19gvd6.js → model-mgtgxz5r.js} +11 -11
- package/dist/chunks/{location-bp02r99k.js → model-mh1qkymb.js} +4 -4
- package/dist/chunks/{location-bkn818fb.js → model-mjqa7j4g.js} +17 -17
- package/dist/chunks/{location-ph20cxtq.js → model-mphgtbj1.js} +9 -9
- package/dist/chunks/{location-3kbv3m24.js → model-mrkn01vt.js} +19 -19
- package/dist/chunks/{location-czw6ejq9.js → model-mxx22ze4.js} +23 -23
- package/dist/chunks/{location-wx5t2f9k.js → model-n3khnxxm.js} +26 -26
- package/dist/chunks/{location-mrpvsqys.js → model-nqkhhm1a.js} +8 -8
- package/dist/chunks/{location-7gvwkz6m.js → model-nxhqveyz.js} +5 -5
- package/dist/chunks/{location-k3c624dm.js → model-nzks3jc8.js} +3 -3
- package/dist/chunks/{location-f7bny14s.js → model-pdbha7qx.js} +42 -42
- package/dist/chunks/{location-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{location-d72vtcx6.js → model-pm021q3e.js} +9 -9
- package/dist/chunks/{location-9h91jpv9.js → model-prkj3g34.js} +9 -9
- package/dist/chunks/{location-rnhgrd0m.js → model-q91y1k20.js} +6 -6
- package/dist/chunks/{location-xjtsx636.js → model-qdbakdjh.js} +5 -5
- package/dist/chunks/{location-07ew9dmt.js → model-qdkgm6eb.js} +28 -28
- package/dist/chunks/{location-crzmmhpe.js → model-qeaksvd1.js} +10 -10
- package/dist/chunks/{location-q8tsaz2a.js → model-qnttz4bc.js} +11 -11
- package/dist/chunks/{location-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{location-bthytya7.js → model-qvm8zske.js} +41 -41
- package/dist/chunks/{location-j081qpeq.js → model-qwh6hz7y.js} +3 -3
- package/dist/chunks/{location-ngts6ef0.js → model-qwjmgwmn.js} +8 -8
- package/dist/chunks/{location-sp1dssyy.js → model-r014f9z3.js} +26 -26
- package/dist/chunks/{location-vnek8hc4.js → model-r097esf4.js} +6 -6
- package/dist/chunks/{location-vp9pbkkd.js → model-r76rkyqz.js} +4 -4
- package/dist/chunks/{location-1acjjqhc.js → model-r8xr0va3.js} +4 -4
- package/dist/chunks/{location-dfe8djrf.js → model-r98e92ep.js} +4 -4
- package/dist/chunks/{location-tp88aasm.js → model-rdm5x9bh.js} +3 -3
- package/dist/chunks/{location-rdw6cm16.js → model-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-h78s014s.js → model-rf8gwv68.js} +9 -9
- package/dist/chunks/{location-rhjbct0v.js → model-rhjbct0v.js} +1 -1
- package/dist/chunks/{location-cmna76py.js → model-rq7amxn9.js} +21 -21
- package/dist/chunks/{location-smhjrczq.js → model-rw2zfnw1.js} +40 -40
- package/dist/chunks/{location-13j8pn5k.js → model-rwy8m34b.js} +3 -3
- package/dist/chunks/{location-cb635m3g.js → model-ry0fdc19.js} +1 -1
- package/dist/chunks/{location-a1j3s6td.js → model-s05x4jm2.js} +23 -23
- package/dist/chunks/{location-s4enseaf.js → model-s4enseaf.js} +2 -2
- package/dist/chunks/{location-m2xnkqg2.js → model-s5kb3k8e.js} +12 -12
- package/dist/chunks/{location-f3dc04ja.js → model-sjb5616m.js} +36 -36
- package/dist/chunks/{location-y6dfpya4.js → model-sv1t6xhr.js} +11 -11
- package/dist/chunks/{location-n4t6mz1w.js → model-szck2fw2.js} +8 -8
- package/dist/chunks/{location-hr3mej6q.js → model-szsw9c27.js} +1 -1
- package/dist/chunks/{location-zgn95ptr.js → model-t1fsmxc3.js} +23 -23
- package/dist/chunks/{location-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tbz0fdvh.js → model-tbz0fdvh.js} +2 -2
- package/dist/chunks/{location-tcezcvh9.js → model-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{location-1z6bcbwm.js → model-te4j4s1y.js} +43 -43
- package/dist/chunks/{location-7c0btcba.js → model-tj1f8e25.js} +15 -15
- package/dist/chunks/{location-46aakvn5.js → model-tnvaxyve.js} +20 -20
- package/dist/chunks/{location-ts2x07a1.js → model-ts2x07a1.js} +1 -1
- package/dist/chunks/{location-tvtrv512.js → model-tvtrv512.js} +1 -1
- package/dist/chunks/{location-f4v8yxfq.js → model-tygxfmr3.js} +12 -12
- package/dist/chunks/{location-5cp6651z.js → model-vbfgae2j.js} +4 -4
- package/dist/chunks/{location-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{location-p879wscf.js → model-vkvppane.js} +12 -12
- package/dist/chunks/{location-w18ba54v.js → model-vnrw16qp.js} +12 -12
- package/dist/chunks/{location-zgqvek19.js → model-vp67155v.js} +13 -13
- package/dist/chunks/model-vsdyktar.js +18 -0
- package/dist/chunks/{location-vzcthcp8.js → model-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-ppzykpzz.js → model-w1gdqckm.js} +6 -6
- package/dist/chunks/{location-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-zt6fd653.js → model-wb2crypr.js} +6 -6
- package/dist/chunks/{location-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{location-8eg380mg.js → model-wgczap0h.js} +4 -4
- package/dist/chunks/{location-x1ezjp6w.js → model-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-kc692eep.js → model-x3eddfcp.js} +11 -11
- package/dist/chunks/{location-d1728j9y.js → model-x6348xh2.js} +9 -9
- package/dist/chunks/{location-0cjzkd0f.js → model-x816vrn9.js} +44 -44
- package/dist/chunks/{location-k46khmv0.js → model-x9hs8p79.js} +19 -19
- package/dist/chunks/{location-jd00bmkr.js → model-xfjax5kj.js} +6 -6
- package/dist/chunks/{location-n8rrq3rd.js → model-xngczjm7.js} +34 -34
- package/dist/chunks/{location-tkwa03qt.js → model-xnr76jvj.js} +20 -20
- package/dist/chunks/{location-mf9m2v67.js → model-xxynqx5z.js} +3 -3
- package/dist/chunks/{location-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-7dbmnfn4.js → model-y1qqcj8h.js} +8 -8
- package/dist/chunks/{location-bm23hmy0.js → model-y3ss1vq6.js} +10 -10
- package/dist/chunks/{location-c52v1g84.js → model-y94sa969.js} +27 -27
- package/dist/chunks/{location-x4h44jes.js → model-yh63eb9v.js} +22 -22
- package/dist/chunks/{location-9p5s6s2z.js → model-yhhb1kw1.js} +27 -27
- package/dist/chunks/{location-wvgnadq2.js → model-ynv8jnc3.js} +6 -6
- package/dist/chunks/{location-yrhqyw5v.js → model-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-b60s1em2.js → model-yv2nec7k.js} +13 -13
- package/dist/chunks/{location-8krtnsn7.js → model-yw7r4j3y.js} +3 -3
- package/dist/chunks/{location-f2k31yay.js → model-yynber98.js} +12 -12
- package/dist/chunks/{location-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-qg12vcbp.js → model-z1eznz97.js} +25 -25
- package/dist/chunks/{location-kfvaj52c.js → model-z1hxv11z.js} +26 -26
- package/dist/chunks/{location-r3radns3.js → model-zbpatq1k.js} +26 -26
- package/dist/chunks/{location-zex37ywk.js → model-ze5v0a14.js} +8 -8
- package/dist/chunks/{location-zeh9ct20.js → model-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-48am8h8r.js → model-zkj5scrh.js} +1 -1
- package/dist/chunks/{location-f7dx5gxk.js → model-zmekhh4v.js} +7 -7
- package/dist/chunks/{location-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-cvmnpgad.js → model-zrsgf04b.js} +8 -8
- package/dist/chunks/{location-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-cgtezthe.js → model-zy42tfqg.js} +6 -6
- 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 +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- 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 +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +121 -121
- 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 +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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 +3 -3
- 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 +99 -99
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- 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 +80 -80
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +76 -76
- 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 +101 -101
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +82 -82
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- 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 +95 -95
- package/dist/model.js +99 -99
- package/dist/models-dev.js +104 -104
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- 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 +5 -5
- 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 +101 -101
- 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 +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +96 -96
- 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 +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- 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 +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- 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 +230 -230
- 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 +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- 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 +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- 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 +217 -217
- 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 +9 -9
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- 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 +123 -123
- 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 +118 -118
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- 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 +3 -3
- 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 +97 -97
- package/package.json +8 -8
- package/dist/chunks/location-dpe5jjc5.js +0 -252
- package/dist/chunks/location-fpnkzx0a.js +0 -26
- package/dist/chunks/location-qapv375x.js +0 -4
- package/dist/chunks/location-qc068m1q.js +0 -18
- /package/dist/chunks/{location-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → model-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → model-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → model-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e3qxr5gk.js → model-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → model-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → model-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → model-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → model-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → model-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Info14
|
|
10
|
-
} from "./location-qth74v4j.js";
|
|
6
|
+
Info22
|
|
7
|
+
} from "./model-axmvebxj.js";
|
|
11
8
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
9
|
+
Info21
|
|
10
|
+
} from "./model-f32czd11.js";
|
|
14
11
|
import {
|
|
15
12
|
Info20
|
|
16
|
-
} from "./
|
|
13
|
+
} from "./model-2qp6y8xf.js";
|
|
17
14
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
15
|
+
Info18
|
|
16
|
+
} from "./model-a2ew8a62.js";
|
|
17
|
+
import {
|
|
18
|
+
Info14
|
|
19
|
+
} from "./model-7w3s9kd0.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info16
|
|
25
|
+
} from "./model-cpy6gm2a.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info15
|
|
28
|
+
} from "./model-nxhqveyz.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-2k8khapm.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info17
|
|
34
|
+
} from "./model-510m7gjw.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./model-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info19
|
|
40
|
+
} from "./model-r98e92ep.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./model-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
@@ -68,10 +68,10 @@ var Info13 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info18)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info19).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info13 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info21), plan: Schema.optional(Info21) }), [Schema.Record(Schema.String, Info21)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info21),
|
|
119
|
+
build: Schema.optional(Info21),
|
|
120
|
+
general: Schema.optional(Info21),
|
|
121
|
+
explore: Schema.optional(Info21),
|
|
122
|
+
title: Schema.optional(Info21),
|
|
123
|
+
summary: Schema.optional(Info21),
|
|
124
|
+
compaction: Schema.optional(Info21)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info21)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info17)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info15, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info14).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info16).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info22),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info20).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-ebdyxsk8.js";
|
|
4
4
|
import {
|
|
5
5
|
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-3aq06pgr.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./model-68y7phbn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-6h73sxmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service81,
|
|
16
|
+
node85
|
|
17
|
+
} from "./model-qeaksvd1.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service80,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node84,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service80 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service81;
|
|
110
|
+
return Service80.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node84 = makeGlobalNode({
|
|
171
|
+
service: Service80,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node85]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service80, isError2, validateBranch2, node84, exports_repository_cache };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service66,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node69
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service66 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service66.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node69 = makeLocationNode({
|
|
143
|
+
service: Service66,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service66, node69, exports_tool_output2 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-jxd6phk9.js";
|
|
8
|
+
import {
|
|
9
|
+
Service83,
|
|
10
|
+
node87
|
|
11
|
+
} from "./model-fawkavha.js";
|
|
8
12
|
import {
|
|
9
13
|
Service82,
|
|
10
14
|
node86
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
Service79,
|
|
14
|
-
node83
|
|
15
|
-
} from "./location-sjf3tctt.js";
|
|
15
|
+
} from "./model-68y7phbn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info33,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-81swgkk7.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-dj2t23y0.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-m0jqrx5p.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-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: () => ID17,
|
|
40
|
+
Info: () => Info32,
|
|
41
|
+
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
43
|
Service: () => Service78,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
@@ -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 ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info32 = Info33;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -95,9 +95,9 @@ function fromRow(row) {
|
|
|
95
95
|
}
|
|
96
96
|
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service82;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
|
-
const bus = yield*
|
|
100
|
+
const bus = yield* Service83;
|
|
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(Service78, 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(Event20.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service78, 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 ?? ID17.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(Service78, 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 NotFoundError11({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event20.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 ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID17.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(Service78, 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 ? ID17.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(Service78, 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 ? ID17.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(Service78, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID17.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service78, 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 ?? ID17.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,7 +264,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
@@ -275,7 +275,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
275
275
|
var node82 = makeGlobalNode({
|
|
276
276
|
service: Service78,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service78, node82, exports_project };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./model-4ywpd5fw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./model-0vqy8ggk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-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: () => Input14,
|
|
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 Input14 = 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* Service75;
|
|
57
|
+
const permission = yield* Service57;
|
|
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: Input14,
|
|
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, Input14, Output9, CancelledError2, toModelContent7, Plugin49, exports_question };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-6drgx612.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin8,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin8 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin36 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin36 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin8, exports_tavily };
|