@opencode/core 0.0.0-dev-19981 → 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 +80 -80
- 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/{persistent-pty-7aahv9qn.js → location-028pjh5f.js} +13 -13
- package/dist/chunks/{persistent-pty-dty6pce2.js → location-07ew9dmt.js} +28 -28
- package/dist/chunks/{persistent-pty-189jkc9d.js → location-0c1wpxb9.js} +1 -1
- package/dist/chunks/{persistent-pty-p1h117cf.js → location-0cjzkd0f.js} +45 -45
- package/dist/chunks/{persistent-pty-3kf9cyx9.js → location-0gjp373x.js} +14 -14
- package/dist/chunks/{persistent-pty-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-22keffh1.js → location-0vwkr0xv.js} +1 -1
- package/dist/chunks/{persistent-pty-b5re83s5.js → location-0yepr83e.js} +20 -20
- package/dist/chunks/{persistent-pty-xwfq1nez.js → location-0zt6fyp2.js} +14 -14
- package/dist/chunks/{persistent-pty-yqdpmpyv.js → location-13j8pn5k.js} +3 -3
- package/dist/chunks/{persistent-pty-pjv150s7.js → location-15zaq50v.js} +28 -28
- package/dist/chunks/{persistent-pty-nxer0yad.js → location-1acjjqhc.js} +4 -4
- package/dist/chunks/{persistent-pty-1z3fhpx8.js → location-1cx64p6y.js} +8 -8
- package/dist/chunks/{persistent-pty-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-wjyv1427.js → location-1kpmcbq6.js} +18 -18
- package/dist/chunks/{persistent-pty-ktz5apky.js → location-1v29h1cg.js} +15 -15
- package/dist/chunks/{persistent-pty-3mhj610p.js → location-1yjvqg52.js} +6 -6
- package/dist/chunks/{persistent-pty-w22d05gm.js → location-1z6bcbwm.js} +45 -45
- package/dist/chunks/{persistent-pty-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-6h73sxmp.js → location-2402vzrj.js} +5 -5
- package/dist/chunks/{persistent-pty-jfqtm2ew.js → location-25m4ah6t.js} +7 -7
- package/dist/chunks/{persistent-pty-7eztrc44.js → location-26xy9jpk.js} +24 -24
- package/dist/chunks/{persistent-pty-29x78va6.js → location-29x78va6.js} +2 -2
- package/dist/chunks/{persistent-pty-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-b0vbrmb4.js → location-2bybnw67.js} +20 -20
- package/dist/chunks/{persistent-pty-mrm42v82.js → location-2pnt8tzr.js} +12 -12
- package/dist/chunks/{persistent-pty-3vw9y35t.js → location-33sx5sqt.js} +16 -16
- package/dist/chunks/{persistent-pty-675cvrxf.js → location-3933gdcf.js} +11 -11
- package/dist/chunks/{persistent-pty-d87ppnb3.js → location-3cfzdc8e.js} +5 -5
- package/dist/chunks/{persistent-pty-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-ngc2191d.js → location-3jm0sq8a.js} +50 -50
- package/dist/chunks/{persistent-pty-a70ewb2f.js → location-3jyv51wp.js} +5 -5
- package/dist/chunks/{persistent-pty-81ygbb57.js → location-3kbv3m24.js} +21 -21
- package/dist/chunks/{persistent-pty-ys0rvgwx.js → location-3p3vm0ex.js} +27 -27
- package/dist/chunks/{persistent-pty-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-00ax65t0.js → location-41b15ecq.js} +25 -25
- package/dist/chunks/{persistent-pty-hzssqh1d.js → location-42a57407.js} +34 -34
- package/dist/chunks/{persistent-pty-mmr7bq34.js → location-44ke2mar.js} +8 -8
- package/dist/chunks/{persistent-pty-8fyvcw1c.js → location-46aakvn5.js} +17 -17
- package/dist/chunks/{persistent-pty-xwfr1kp3.js → location-48am8h8r.js} +1 -1
- package/dist/chunks/{persistent-pty-0sk4n78x.js → location-48j1mtvh.js} +22 -22
- package/dist/chunks/{persistent-pty-1ygqh575.js → location-56gdpj1q.js} +9 -9
- package/dist/chunks/{persistent-pty-vbfgae2j.js → location-5cp6651z.js} +4 -4
- package/dist/chunks/{persistent-pty-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-wr7ps67x.js → location-5ebw3s4g.js} +5 -5
- package/dist/chunks/{persistent-pty-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-4xc2xt5t.js → location-5yt8bpsr.js} +2 -2
- package/dist/chunks/{persistent-pty-a1gwwkre.js → location-62kftm9s.js} +47 -47
- package/dist/chunks/{persistent-pty-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-s8j6jbjj.js → location-6m42r3np.js} +4 -4
- package/dist/chunks/{persistent-pty-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-w24sfk5b.js → location-6nqmg5rm.js} +7 -7
- package/dist/chunks/{persistent-pty-wn7f7h9x.js → location-6wz6s45a.js} +11 -11
- package/dist/chunks/{persistent-pty-2fgn2we9.js → location-6x0h2hvg.js} +9 -9
- package/dist/chunks/{persistent-pty-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-qasfmn61.js → location-7c0btcba.js} +15 -15
- package/dist/chunks/{persistent-pty-91p1v22t.js → location-7dbmnfn4.js} +8 -8
- package/dist/chunks/{persistent-pty-ead3g9p8.js → location-7gvwkz6m.js} +5 -5
- package/dist/chunks/{persistent-pty-mvm6yp9j.js → location-7p5wtjc3.js} +8 -8
- package/dist/chunks/{persistent-pty-7ewmpmc7.js → location-7raqvg34.js} +17 -17
- package/dist/chunks/{persistent-pty-2d57kztd.js → location-7yqjxrmz.js} +6 -6
- package/dist/chunks/{persistent-pty-7aqdbf5b.js → location-88vwfmcq.js} +6 -6
- package/dist/chunks/{persistent-pty-86eq1ywt.js → location-8c50kj87.js} +2 -2
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-7szz8ecw.js → location-8eg380mg.js} +4 -4
- package/dist/chunks/{persistent-pty-kc43h6j1.js → location-8krtnsn7.js} +3 -3
- package/dist/chunks/{persistent-pty-8p4f9s12.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{persistent-pty-wd30r3h7.js → location-8pwapj34.js} +13 -13
- package/dist/chunks/{persistent-pty-tapvjybg.js → location-8x6t0zvv.js} +21 -21
- package/dist/chunks/{persistent-pty-g9tzs1c7.js → location-96q44xr9.js} +28 -28
- package/dist/chunks/{persistent-pty-740qj6em.js → location-9h91jpv9.js} +15 -15
- package/dist/chunks/{persistent-pty-g2yz86wh.js → location-9kmbd9mt.js} +2 -2
- package/dist/chunks/{persistent-pty-zpwvqkne.js → location-9p5s6s2z.js} +25 -25
- package/dist/chunks/{persistent-pty-yf57fzwh.js → location-9ywbvqrg.js} +35 -35
- package/dist/chunks/{persistent-pty-a1bz86dw.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{persistent-pty-3xsfpvq0.js → location-a1j3s6td.js} +23 -23
- package/dist/chunks/{persistent-pty-5dcqe31d.js → location-a46hzbj5.js} +20 -20
- package/dist/chunks/{persistent-pty-tkcxk75v.js → location-a606p4kg.js} +22 -22
- package/dist/chunks/{persistent-pty-gjk270n1.js → location-a671bmw1.js} +12 -12
- package/dist/chunks/{persistent-pty-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-yff54yer.js → location-apgxa580.js} +13 -13
- package/dist/chunks/{persistent-pty-7cpynay4.js → location-awa55gyj.js} +8 -8
- package/dist/chunks/{persistent-pty-d7mmen8h.js → location-axenjc6b.js} +15 -15
- package/dist/chunks/{persistent-pty-wy6hpy23.js → location-b60s1em2.js} +13 -13
- package/dist/chunks/{persistent-pty-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-x1bw9y7f.js → location-b722n5s9.js} +12 -12
- package/dist/chunks/{persistent-pty-jmkpg1tv.js → location-b95a0s9k.js} +1 -1
- package/dist/chunks/{persistent-pty-ezpgfgdn.js → location-bgyxdgm5.js} +9 -9
- package/dist/chunks/{persistent-pty-rawmkaew.js → location-bkn818fb.js} +18 -18
- package/dist/chunks/{persistent-pty-mwzsbcbf.js → location-bm23hmy0.js} +12 -12
- package/dist/chunks/{persistent-pty-x9mtwtp0.js → location-bp02r99k.js} +4 -4
- package/dist/chunks/{persistent-pty-28qz5v8e.js → location-bsvwk272.js} +94 -94
- package/dist/chunks/{persistent-pty-39gs27gn.js → location-bthytya7.js} +42 -42
- package/dist/chunks/{persistent-pty-bt8eheyv.js → location-c52v1g84.js} +22 -22
- package/dist/chunks/{persistent-pty-d4he2qe1.js → location-c765mh8b.js} +9 -9
- package/dist/chunks/{persistent-pty-8hfr5z8m.js → location-c7r74d2e.js} +12 -12
- package/dist/chunks/{persistent-pty-nmzynm19.js → location-cb635m3g.js} +1 -1
- package/dist/chunks/{persistent-pty-8wgyvxqj.js → location-cbmr8phd.js} +8 -8
- package/dist/chunks/{persistent-pty-h2zrj56v.js → location-cd0z4qvb.js} +8 -8
- package/dist/chunks/{persistent-pty-cmbqfntm.js → location-cf3tj770.js} +5 -5
- package/dist/chunks/{persistent-pty-j8pax9gn.js → location-cf8xfs7e.js} +58 -58
- package/dist/chunks/{persistent-pty-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{persistent-pty-byhr62qm.js → location-cgtezthe.js} +9 -9
- package/dist/chunks/{persistent-pty-mehmtrpt.js → location-cmna76py.js} +22 -22
- package/dist/chunks/{persistent-pty-p37cw4rj.js → location-cmwkp3r5.js} +8 -8
- package/dist/chunks/{persistent-pty-cq37gk0t.js → location-cq37gk0t.js} +4 -4
- package/dist/chunks/{persistent-pty-hd0qsb0v.js → location-crzmmhpe.js} +10 -10
- package/dist/chunks/{persistent-pty-64kphnzf.js → location-csf2jhsg.js} +4 -4
- package/dist/chunks/{persistent-pty-1tmvx3cs.js → location-cvmnpgad.js} +8 -8
- package/dist/chunks/{persistent-pty-qetnz3qf.js → location-cxr1pgpc.js} +7 -7
- package/dist/chunks/{persistent-pty-b33g5v9z.js → location-czw6ejq9.js} +12 -12
- package/dist/chunks/{persistent-pty-sqsf5w9p.js → location-d04xfmcf.js} +22 -22
- package/dist/chunks/{persistent-pty-ysckq8n5.js → location-d1728j9y.js} +9 -9
- package/dist/chunks/{persistent-pty-d8mytp2v.js → location-d72vtcx6.js} +9 -9
- package/dist/chunks/{persistent-pty-3j8sdtpz.js → location-dfe8djrf.js} +4 -4
- package/dist/chunks/{persistent-pty-kxn0m7ef.js → location-dh7atf4x.js} +24 -24
- package/dist/chunks/{persistent-pty-ag4rn41e.js → location-dhmh7aw6.js} +4 -4
- package/dist/chunks/{persistent-pty-85w0g9jn.js → location-djmnmanq.js} +16 -16
- package/dist/chunks/location-dpe5jjc5.js +252 -0
- package/dist/chunks/{persistent-pty-7935fwzs.js → location-dt191n27.js} +9 -9
- package/dist/chunks/{persistent-pty-mp87qz32.js → location-dvdzmdgd.js} +10 -10
- package/dist/chunks/{persistent-pty-x2a9gtha.js → location-dzebhhhh.js} +6 -6
- package/dist/chunks/{persistent-pty-mm7h7sr7.js → location-e3gkrkwa.js} +15 -15
- package/dist/chunks/{persistent-pty-m0gz42vg.js → location-e4b60ckc.js} +23 -23
- package/dist/chunks/{persistent-pty-f71akrxj.js → location-e4eg75r2.js} +8 -8
- package/dist/chunks/{persistent-pty-7z7az0f5.js → location-ec8389mk.js} +4 -4
- package/dist/chunks/{persistent-pty-xvjd5qxe.js → location-ee7jghms.js} +44 -44
- package/dist/chunks/{persistent-pty-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-erw5rpbs.js → location-erw5rpbs.js} +2 -2
- package/dist/chunks/{persistent-pty-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-nkgdvn7z.js → location-ex0ne5y8.js} +8 -8
- package/dist/chunks/{persistent-pty-1fd2gft5.js → location-f1s21ehs.js} +18 -18
- package/dist/chunks/{persistent-pty-a32n2gyw.js → location-f2k31yay.js} +14 -14
- package/dist/chunks/{persistent-pty-a6t3kjdk.js → location-f3dc04ja.js} +44 -44
- package/dist/chunks/{persistent-pty-99yv1vdm.js → location-f4v8yxfq.js} +12 -12
- package/dist/chunks/{persistent-pty-dekpyqan.js → location-f7bny14s.js} +48 -48
- package/dist/chunks/{persistent-pty-vx8qjqqy.js → location-f7dx5gxk.js} +7 -7
- package/dist/chunks/{persistent-pty-f828m53h.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{persistent-pty-98krwt3q.js → location-ffjkv6j4.js} +11 -11
- package/dist/chunks/location-fpnkzx0a.js +26 -0
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-jn2czc9p.js → location-g98h6x07.js} +6 -6
- package/dist/chunks/{persistent-pty-r5wczv23.js → location-gbsk7s70.js} +33 -33
- package/dist/chunks/{persistent-pty-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-qc6v7e8r.js → location-ght7ghr8.js} +32 -32
- package/dist/chunks/{persistent-pty-v41623e8.js → location-gqkgf1w8.js} +25 -25
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-s0qgnfzw.js → location-h0t9nfwn.js} +3 -3
- package/dist/chunks/{persistent-pty-8qh6anns.js → location-h5b4kcx3.js} +4 -4
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → location-h6r3nrb9.js} +1 -1
- package/dist/chunks/{persistent-pty-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-0jq9fyba.js → location-h71w788e.js} +9 -9
- package/dist/chunks/{persistent-pty-n9fty5ck.js → location-h78s014s.js} +9 -9
- package/dist/chunks/{persistent-pty-6js1jt2x.js → location-hbpxg73f.js} +29 -29
- package/dist/chunks/{persistent-pty-5nnytrr6.js → location-hj5q723k.js} +19 -19
- package/dist/chunks/{persistent-pty-xwt1kq35.js → location-hm1aj9am.js} +8 -8
- package/dist/chunks/{persistent-pty-nf01b4ny.js → location-hr3mej6q.js} +1 -1
- package/dist/chunks/{persistent-pty-fy2vv4qy.js → location-hrpmhk0j.js} +9 -9
- package/dist/chunks/{persistent-pty-8f6cy3pb.js → location-j081qpeq.js} +3 -3
- package/dist/chunks/{persistent-pty-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-8xnn2f25.js → location-j743xyx9.js} +14 -14
- package/dist/chunks/{persistent-pty-d7r387ef.js → location-jd00bmkr.js} +6 -6
- package/dist/chunks/{persistent-pty-th7zbfdx.js → location-jf5ejj3c.js} +30 -30
- package/dist/chunks/{persistent-pty-mrvjcs5x.js → location-jkp0d30b.js} +6 -6
- package/dist/chunks/{persistent-pty-k252d6tw.js → location-jkwh49qv.js} +34 -34
- package/dist/chunks/{persistent-pty-7zx1qa5e.js → location-jmh888fr.js} +16 -16
- package/dist/chunks/{persistent-pty-p1nm93x7.js → location-jv01nqvq.js} +5 -5
- package/dist/chunks/{persistent-pty-p3yqgy1f.js → location-jwnsrq47.js} +2 -2
- package/dist/chunks/{persistent-pty-nzks3jc8.js → location-k3c624dm.js} +3 -3
- package/dist/chunks/{persistent-pty-3ra5rr95.js → location-k46khmv0.js} +19 -19
- package/dist/chunks/{persistent-pty-pg06qq32.js → location-ka57rnyv.js} +31 -31
- package/dist/chunks/{persistent-pty-ghntyqza.js → location-kc692eep.js} +11 -11
- package/dist/chunks/{persistent-pty-t6q9b2zv.js → location-kfvaj52c.js} +26 -26
- package/dist/chunks/{persistent-pty-phcgjfvp.js → location-kmtbrx23.js} +18 -18
- package/dist/chunks/{persistent-pty-tkst0gkj.js → location-ktk7kaep.js} +15 -15
- package/dist/chunks/{persistent-pty-81ydyt9n.js → location-m2xnkqg2.js} +12 -12
- package/dist/chunks/{persistent-pty-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-5kntwy7m.js → location-m46z79h6.js} +11 -11
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-xkhfjrgz.js → location-mf9m2v67.js} +3 -3
- package/dist/chunks/{persistent-pty-5hj9waw1.js → location-mrpvsqys.js} +8 -8
- package/dist/chunks/{persistent-pty-kee9v82x.js → location-myd867zz.js} +11 -11
- package/dist/chunks/{persistent-pty-w6h4kwe3.js → location-mz24817y.js} +11 -11
- package/dist/chunks/{persistent-pty-xk77aqwy.js → location-n4t6mz1w.js} +8 -8
- package/dist/chunks/{persistent-pty-9gwgf8zn.js → location-n8rrq3rd.js} +34 -34
- package/dist/chunks/{persistent-pty-k1gkpfdk.js → location-ngts6ef0.js} +8 -8
- package/dist/chunks/{persistent-pty-w2xfqmzm.js → location-nh19gvd6.js} +11 -11
- package/dist/chunks/{persistent-pty-8cp1dt4b.js → location-p117p70m.js} +11 -11
- package/dist/chunks/{persistent-pty-0et7a6mm.js → location-p879wscf.js} +12 -12
- package/dist/chunks/{persistent-pty-h8sqqrf3.js → location-pghnxs44.js} +19 -19
- package/dist/chunks/{persistent-pty-scv7p57g.js → location-ph20cxtq.js} +9 -9
- package/dist/chunks/{persistent-pty-045s5zgt.js → location-ph3mq3wp.js} +17 -17
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-j67awtyy.js → location-ppzykpzz.js} +3 -3
- package/dist/chunks/{persistent-pty-ebpytsbd.js → location-pxxptb8y.js} +47 -47
- package/dist/chunks/{persistent-pty-c8gzcaps.js → location-q5dh2455.js} +8 -8
- package/dist/chunks/{persistent-pty-a379gdqz.js → location-q8tsaz2a.js} +13 -13
- package/dist/chunks/location-qapv375x.js +4 -0
- package/dist/chunks/location-qc068m1q.js +18 -0
- package/dist/chunks/{persistent-pty-nq7qbqzc.js → location-qg0jgkcp.js} +9 -9
- package/dist/chunks/{persistent-pty-jc3qcwgj.js → location-qg12vcbp.js} +25 -25
- package/dist/chunks/{persistent-pty-fcrkznn8.js → location-qgn6gcr1.js} +5 -5
- package/dist/chunks/{persistent-pty-9kt7wf3c.js → location-qn9b0sqe.js} +10 -10
- package/dist/chunks/{persistent-pty-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-j6e693f4.js → location-qth74v4j.js} +8 -8
- package/dist/chunks/{persistent-pty-47gj1eem.js → location-qtrjaqbk.js} +21 -21
- package/dist/chunks/{persistent-pty-rd4v8kr9.js → location-qvxdw1kp.js} +4 -4
- package/dist/chunks/{persistent-pty-peg4cznj.js → location-r3radns3.js} +30 -30
- package/dist/chunks/{persistent-pty-99a88f08.js → location-r574spjx.js} +13 -13
- package/dist/chunks/{persistent-pty-mhkvc446.js → location-r5x6zcsm.js} +3 -3
- package/dist/chunks/{persistent-pty-x2g3fynt.js → location-ranyqwt8.js} +35 -35
- package/dist/chunks/{persistent-pty-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-e7ff08ah.js → location-rh4cvgcy.js} +86 -86
- package/dist/chunks/{persistent-pty-rhjbct0v.js → location-rhjbct0v.js} +1 -1
- package/dist/chunks/{persistent-pty-4aztedzn.js → location-rnhgrd0m.js} +6 -6
- package/dist/chunks/{persistent-pty-s4enseaf.js → location-s4enseaf.js} +2 -2
- package/dist/chunks/{persistent-pty-gnkgm067.js → location-s5ythvf1.js} +41 -41
- package/dist/chunks/{persistent-pty-65tm5yk1.js → location-sap7mgk3.js} +10 -10
- package/dist/chunks/{persistent-pty-r5eg2mbx.js → location-sct26jh2.js} +3 -3
- package/dist/chunks/{persistent-pty-rjhv0x2x.js → location-sd6dzq7f.js} +12 -12
- package/dist/chunks/{persistent-pty-43zmxdyv.js → location-sgcf4b1d.js} +318 -318
- package/dist/chunks/{persistent-pty-5f90fjb2.js → location-sjf3tctt.js} +12 -12
- package/dist/chunks/{persistent-pty-h4h5c8th.js → location-smhjrczq.js} +41 -41
- package/dist/chunks/{persistent-pty-f22gk9j9.js → location-sp1dssyy.js} +287 -287
- package/dist/chunks/{persistent-pty-rmc194cy.js → location-spa1pw6v.js} +18 -18
- package/dist/chunks/{persistent-pty-5qdhd6wd.js → location-sqj1n1fy.js} +4 -4
- package/dist/chunks/{persistent-pty-9y73z4qs.js → location-sv18tyc1.js} +26 -26
- package/dist/chunks/{persistent-pty-qejk2hns.js → location-t7qv8der.js} +26 -26
- package/dist/chunks/{persistent-pty-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-p28j5sbe.js → location-tbz0fdvh.js} +5 -5
- package/dist/chunks/{persistent-pty-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-ja95a0kh.js → location-tkwa03qt.js} +23 -23
- package/dist/chunks/{persistent-pty-0gdmfj29.js → location-tp88aasm.js} +3 -3
- package/dist/chunks/{persistent-pty-wy8b5sm2.js → location-ts2x07a1.js} +1 -1
- package/dist/chunks/{persistent-pty-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-r2e87s7e.js → location-vb1hdz07.js} +8 -8
- package/dist/chunks/{persistent-pty-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-ygrvwp4d.js → location-vnek8hc4.js} +14 -14
- package/dist/chunks/{persistent-pty-m3n5d3yw.js → location-vp9pbkkd.js} +4 -4
- package/dist/chunks/{persistent-pty-bhnbjyag.js → location-vxmvkdwt.js} +26 -26
- package/dist/chunks/{persistent-pty-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-7pach1zh.js → location-w12wcbj8.js} +74 -74
- package/dist/chunks/{persistent-pty-584b7awg.js → location-w18ba54v.js} +16 -16
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-7st6acyk.js → location-w5tmm7r1.js} +11 -11
- package/dist/chunks/{persistent-pty-7ga2fv62.js → location-w8qbt9vz.js} +3 -3
- package/dist/chunks/{persistent-pty-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-pq7b6aj3.js → location-wmpkysg0.js} +13 -13
- package/dist/chunks/{persistent-pty-9c6vz8r3.js → location-wvgnadq2.js} +6 -6
- package/dist/chunks/{persistent-pty-4v16j8nk.js → location-wvtxbd2s.js} +3 -3
- package/dist/chunks/{persistent-pty-p9rwa85v.js → location-wx5t2f9k.js} +28 -28
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-5mknq4wh.js → location-x4h44jes.js} +26 -26
- package/dist/chunks/{persistent-pty-c4qm6hzm.js → location-x8fjxshq.js} +15 -15
- package/dist/chunks/{persistent-pty-qqeeq2t9.js → location-xfkkasph.js} +7 -7
- package/dist/chunks/{persistent-pty-f62qkzqr.js → location-xjtsx636.js} +5 -5
- package/dist/chunks/{persistent-pty-hevvszjq.js → location-xt1m20s5.js} +4 -4
- package/dist/chunks/{persistent-pty-jar2n8ad.js → location-xwhbd8ep.js} +29 -29
- package/dist/chunks/{persistent-pty-h8bam43x.js → location-xwjjwx9d.js} +11 -11
- package/dist/chunks/{persistent-pty-m2px8ay3.js → location-xxkq93fp.js} +18 -18
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-q8gd89mn.js → location-y6dfpya4.js} +11 -11
- package/dist/chunks/{persistent-pty-y71avatq.js → location-y71avatq.js} +1 -1
- package/dist/chunks/{persistent-pty-xefnkfpr.js → location-y8yf2k5g.js} +33 -33
- package/dist/chunks/{persistent-pty-26njax6j.js → location-ycjtg4p4.js} +15 -15
- package/dist/chunks/{persistent-pty-p7sz26rr.js → location-yk3trf7r.js} +143 -143
- package/dist/chunks/{persistent-pty-c7cwys1z.js → location-ykaqgp03.js} +32 -32
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-nttf9wpn.js → location-z0ztzpp1.js} +25 -25
- package/dist/chunks/{persistent-pty-jv106vc1.js → location-z96p8pdm.js} +20 -20
- package/dist/chunks/{persistent-pty-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-4xxxtaen.js → location-zex37ywk.js} +8 -8
- package/dist/chunks/{persistent-pty-sp0hs84w.js → location-zgn95ptr.js} +27 -27
- package/dist/chunks/{persistent-pty-r7dcqyc4.js → location-zgqvek19.js} +13 -13
- package/dist/chunks/{persistent-pty-cbdc55tj.js → location-znzpdstw.js} +24 -24
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-6z3bcrm7.js → location-zt6fd653.js} +6 -6
- package/dist/chunks/{persistent-pty-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- 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 +122 -122
- 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 +125 -125
- 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 +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 +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- 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 +105 -105
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- 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 +98 -98
- 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 +84 -84
- 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 +82 -82
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- 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 +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +95 -95
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- 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 +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- 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 +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 +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 +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +88 -88
- 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 +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +117 -117
- 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 +210 -210
- package/dist/tool/plugin/skill.js +104 -104
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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 +16 -16
- 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 +5 -5
- 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 +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- 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 +10 -10
- 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/persistent-pty-0mesazry.js +0 -4
- package/dist/chunks/persistent-pty-806pcn4t.js +0 -252
- package/dist/chunks/persistent-pty-qdyb70sk.js +0 -18
- package/dist/chunks/persistent-pty-z2s8v20b.js +0 -26
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e3qxr5gk.js → location-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-b722n5s9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./location-sjf3tctt.js";
|
|
9
9
|
import {
|
|
10
10
|
Service77,
|
|
11
11
|
node81
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-hrpmhk0j.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-qc068m1q.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service61,
|
|
18
|
+
node64
|
|
19
|
+
} from "./location-d04xfmcf.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node20
|
|
22
|
+
} from "./location-cmna76py.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service7,
|
|
25
|
+
node9
|
|
26
|
+
} from "./location-c765mh8b.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service3,
|
|
36
|
+
node: () => node4
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service3 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service77;
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
47
|
+
const watcher = yield* Service61;
|
|
48
|
+
const bus = yield* Service82;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service79;
|
|
51
|
+
const policy = yield* Service7;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service3.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node4 = makeLocationNode({
|
|
106
|
+
service: Service3,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node64, FSUtil.node, node81, node83, node86, node20, node9]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service3, node4, exports_location_watcher };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service48,
|
|
10
|
+
node: () => node51
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service48 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node51 = LayerNode.unbound(Service48, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service48, node51, exports_service2 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service77
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-hrpmhk0j.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service63
|
|
11
|
+
} from "./location-8x6t0zvv.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service25
|
|
14
|
+
} from "./location-3933gdcf.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service24,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-8pwapj34.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service52
|
|
22
|
+
} from "./location-3jm0sq8a.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service23,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-9h91jpv9.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input6,
|
|
39
|
+
Output: () => Output4,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin25,
|
|
42
|
+
name: () => name6,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name6 = "patch";
|
|
89
|
+
var Input6 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output4 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent3 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin25 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service63;
|
|
112
|
+
const access = yield* Service23;
|
|
113
|
+
const fileMutation = yield* Service24;
|
|
114
|
+
const formatter = yield* Service25;
|
|
115
115
|
const location = yield* Service77;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service52;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name6,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input6,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin48 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent3(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name6, Input6, Applied2, Output4, toModelContent3, Plugin25, exports_patch };
|
|
@@ -3,23 +3,23 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
22
|
-
update: () =>
|
|
17
|
+
var exports_instructions3 = {};
|
|
18
|
+
__export(exports_instructions3, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions3,
|
|
20
|
+
make: () => make14,
|
|
21
|
+
render: () => render2,
|
|
22
|
+
update: () => update2
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render2(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -43,10 +43,10 @@ function render3(catalog) {
|
|
|
43
43
|
${tools.join(`
|
|
44
44
|
`)}`;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function update2(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render2(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -111,18 +111,18 @@ ${render3(current)}`;
|
|
|
111
111
|
}
|
|
112
112
|
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make14 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
116
|
return make20({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
122
|
-
changed:
|
|
121
|
+
initial: render2,
|
|
122
|
+
changed: update2,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render2, update2, make14, exports_instructions3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info18,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info18 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info22 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info18, exports_provider2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-b722n5s9.js";
|
|
5
5
|
import {
|
|
6
6
|
Service77,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-hrpmhk0j.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service54,
|
|
14
|
+
node57
|
|
15
|
+
} from "./location-a671bmw1.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service8,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node10
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service8 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service82;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service54;
|
|
41
41
|
const location = yield* Service77;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service8.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node10 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node86, FSUtil.node, node81, node57]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service8, node10, exports_instructions };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-w8qbt9vz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./location-b722n5s9.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
|
+
ID: () => ID17,
|
|
25
|
+
Info: () => Info33,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service80,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node84
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID17 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info33 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID17,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service80 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service82;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info33({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service80.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info33({
|
|
80
|
+
id: ID17.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node84 = makeGlobalNode({ service: Service80, layer, deps: [node88, node86] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID17, OAuth3, Key4, Value2, Event20, Info33, Service80, node84, exports_credential };
|