@opencode/core 0.0.0-dev-19722 → 0.0.0-dev-19726
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 +76 -76
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{form-mqyd6z98.js → websearch-00dr1njp.js} +26 -26
- package/dist/chunks/{form-yvfbr3tw.js → websearch-028j0zm0.js} +4 -4
- package/dist/chunks/{form-02nrjc1r.js → websearch-02nrjc1r.js} +1 -1
- package/dist/chunks/{form-gdcqfse8.js → websearch-0cr4wcw3.js} +75 -75
- package/dist/chunks/{form-pybvk86w.js → websearch-0e4y66cd.js} +24 -24
- package/dist/chunks/{form-7bvhz5nb.js → websearch-0jdsmxy0.js} +41 -41
- package/dist/chunks/{form-1x75wf9g.js → websearch-0nde5ztd.js} +5 -5
- package/dist/chunks/{form-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-0q0f95c6.js → websearch-0q0f95c6.js} +1 -1
- package/dist/chunks/{form-1mh1pa0n.js → websearch-11fbehs9.js} +11 -11
- package/dist/chunks/{form-fdjyeynq.js → websearch-1ahfdqym.js} +6 -6
- package/dist/chunks/{form-ds1shpmw.js → websearch-1b53cfnj.js} +28 -28
- package/dist/chunks/{form-ctg144c4.js → websearch-1b82cgey.js} +10 -10
- package/dist/chunks/{form-4zfmn4g8.js → websearch-1bc1vam0.js} +13 -13
- package/dist/chunks/{form-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
- package/dist/chunks/{form-ba7jpweg.js → websearch-1nsem4zt.js} +9 -9
- package/dist/chunks/{form-0xqsxkmj.js → websearch-1pxnjy9w.js} +26 -26
- package/dist/chunks/{form-gb6mmkm1.js → websearch-1qr8tbft.js} +17 -17
- package/dist/chunks/{form-yzc1ybb1.js → websearch-1t6x3rcf.js} +17 -17
- package/dist/chunks/{form-sr90vkc4.js → websearch-217w27pp.js} +6 -6
- package/dist/chunks/{form-21r38tys.js → websearch-21r38tys.js} +1 -1
- package/dist/chunks/{form-5st8rbsk.js → websearch-23bndme8.js} +13 -13
- package/dist/chunks/{form-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
- package/dist/chunks/{form-9ay37035.js → websearch-2df97718.js} +25 -25
- package/dist/chunks/{form-91m9hd8f.js → websearch-2f04pwep.js} +3 -3
- package/dist/chunks/{form-zxpe5c4y.js → websearch-2f0scwtq.js} +30 -30
- package/dist/chunks/{form-vg97gbar.js → websearch-2kkb54wy.js} +4 -4
- package/dist/chunks/{form-5ahb90yt.js → websearch-34f9jsxp.js} +20 -20
- package/dist/chunks/{form-v8smxmkf.js → websearch-34ngepqf.js} +86 -86
- package/dist/chunks/{form-pcfkrm12.js → websearch-35m7c38y.js} +4 -4
- package/dist/chunks/{form-yr9h6b9g.js → websearch-3aytj4vb.js} +2 -2
- package/dist/chunks/{form-gsbbpftd.js → websearch-3bq31pq3.js} +4 -4
- package/dist/chunks/{form-s5m7kyfr.js → websearch-3cx63w9k.js} +11 -11
- package/dist/chunks/{form-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-hhpba17j.js → websearch-3jx0dxz6.js} +27 -27
- package/dist/chunks/{form-v6sjgekt.js → websearch-3prwhemk.js} +42 -42
- package/dist/chunks/{form-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-6xscg6ph.js → websearch-42xr5rts.js} +7 -7
- package/dist/chunks/{form-5scws4da.js → websearch-44ryhxgb.js} +33 -33
- package/dist/chunks/{form-qmfpyjxv.js → websearch-468ms2xs.js} +6 -6
- package/dist/chunks/{form-7s451enq.js → websearch-4e8vs6eh.js} +8 -8
- package/dist/chunks/{form-tcg29b4q.js → websearch-4jc5c4h4.js} +1 -1
- package/dist/chunks/{form-m9wy7qrr.js → websearch-4jv7e9dq.js} +9 -9
- package/dist/chunks/{form-g0g7j94m.js → websearch-4k3vs3bj.js} +8 -8
- package/dist/chunks/{form-c8meccjk.js → websearch-4qxmcfde.js} +14 -14
- package/dist/chunks/{form-sjbyn28r.js → websearch-4rdyqzv9.js} +18 -18
- package/dist/chunks/{form-gxa7w1k3.js → websearch-53jp9rw5.js} +35 -35
- package/dist/chunks/{form-1ygqh575.js → websearch-56gdpj1q.js} +9 -9
- package/dist/chunks/{form-57ez7d0k.js → websearch-57ez7d0k.js} +2 -2
- package/dist/chunks/{form-ph842b28.js → websearch-5cp6651z.js} +4 -4
- package/dist/chunks/{form-qmqgtz8f.js → websearch-5d607bsg.js} +9 -9
- package/dist/chunks/{form-5daktx2q.js → websearch-5daktx2q.js} +1 -1
- package/dist/chunks/{form-444dyaxb.js → websearch-5qqj1w64.js} +26 -26
- package/dist/chunks/{form-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
- package/dist/chunks/{form-gfegxbyk.js → websearch-5w2mrjnt.js} +25 -25
- package/dist/chunks/{form-j5r88r5c.js → websearch-6494ngt7.js} +13 -13
- package/dist/chunks/{form-669tq793.js → websearch-669tq793.js} +1 -1
- package/dist/chunks/{form-s10c98f4.js → websearch-67b1spex.js} +4 -4
- package/dist/chunks/{form-1jfkr6w1.js → websearch-688skcs6.js} +11 -11
- package/dist/chunks/{form-p37cw4rj.js → websearch-6f890ccd.js} +8 -8
- package/dist/chunks/{form-6h73sxmp.js → websearch-6h73sxmp.js} +1 -1
- package/dist/chunks/{form-6msgmcgs.js → websearch-6msgmcgs.js} +1 -1
- package/dist/chunks/{form-k1mgq8ee.js → websearch-6v90sdn8.js} +30 -30
- package/dist/chunks/{form-b53c9fhk.js → websearch-704r4sk8.js} +11 -11
- package/dist/chunks/{form-410vamv5.js → websearch-71tstvm5.js} +11 -11
- package/dist/chunks/{form-c488s98d.js → websearch-74rrnwt7.js} +5 -5
- package/dist/chunks/{form-7cs7r6hh.js → websearch-75kkhfb0.js} +5 -5
- package/dist/chunks/{form-t17qe94z.js → websearch-76wb4w8g.js} +11 -11
- package/dist/chunks/{form-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-7dqw4kz8.js → websearch-7dqw4kz8.js} +1 -1
- package/dist/chunks/{form-gac61jch.js → websearch-7jf4j9cq.js} +7 -7
- package/dist/chunks/{form-q72j6dq6.js → websearch-7k11q7g3.js} +24 -24
- package/dist/chunks/{form-rqgxkayp.js → websearch-7k56d7ba.js} +18 -18
- package/dist/chunks/{form-51k3edb6.js → websearch-7mncpb7s.js} +9 -9
- package/dist/chunks/{form-0dr0g8g1.js → websearch-7p797550.js} +6 -6
- package/dist/chunks/{form-wmcrt1st.js → websearch-7sg42d4j.js} +23 -23
- package/dist/chunks/{form-7sn9dajf.js → websearch-7w2s7zn9.js} +24 -24
- package/dist/chunks/{form-4fed4tfy.js → websearch-84v7aq1v.js} +24 -24
- package/dist/chunks/{form-4w6k0mqf.js → websearch-84vhy5z7.js} +5 -5
- package/dist/chunks/{form-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
- package/dist/chunks/{form-6dxwy79b.js → websearch-8h6enw4p.js} +3 -3
- package/dist/chunks/{form-xn5rvdk3.js → websearch-8n69n882.js} +8 -8
- package/dist/chunks/{form-8p4f9s12.js → websearch-8p4f9s12.js} +2 -2
- package/dist/chunks/{form-rtgzx8gz.js → websearch-8rs26fy9.js} +10 -10
- package/dist/chunks/{form-pspc8cm5.js → websearch-95srxab2.js} +8 -8
- package/dist/chunks/{form-s5xwt78d.js → websearch-9mspnbyh.js} +47 -47
- package/dist/chunks/{form-0ns2f2pf.js → websearch-a0c6s8q1.js} +8 -8
- package/dist/chunks/{form-a1bz86dw.js → websearch-a1bz86dw.js} +3 -3
- package/dist/chunks/{form-b4hevyhm.js → websearch-a1pdeahv.js} +4 -4
- package/dist/chunks/{form-e4qxcds1.js → websearch-a50trx6m.js} +43 -43
- package/dist/chunks/{form-aaet6srn.js → websearch-aaet6srn.js} +2 -2
- package/dist/chunks/{form-pyjvt50m.js → websearch-ac4r481x.js} +20 -20
- package/dist/chunks/{form-y1yns32t.js → websearch-ad2rxyny.js} +32 -32
- package/dist/chunks/{form-1zcaynmm.js → websearch-amcw3xe5.js} +5 -5
- package/dist/chunks/{form-fxw8zkw9.js → websearch-annhxna8.js} +43 -43
- package/dist/chunks/{form-wb20vckk.js → websearch-atm3m4cm.js} +26 -26
- package/dist/chunks/{form-b0rts0rm.js → websearch-aw25f9k7.js} +3 -3
- package/dist/chunks/{form-f2ybna67.js → websearch-azx168sb.js} +16 -16
- package/dist/chunks/{form-v385x0he.js → websearch-b2pmyqha.js} +70 -70
- package/dist/chunks/{form-atknn5gh.js → websearch-b60qvk9z.js} +21 -21
- package/dist/chunks/{form-mygetyvg.js → websearch-b6ba80dv.js} +16 -16
- package/dist/chunks/{form-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
- package/dist/chunks/{form-k9p5yhm6.js → websearch-bcrtfppw.js} +20 -20
- package/dist/chunks/{form-8162hsy1.js → websearch-bky6c04a.js} +8 -8
- package/dist/chunks/{form-cp2wg6ks.js → websearch-bpennfjx.js} +20 -20
- package/dist/chunks/{form-0j3nmaep.js → websearch-c8qk7tts.js} +20 -20
- package/dist/chunks/{form-e75bvajb.js → websearch-cej0pycs.js} +16 -16
- package/dist/chunks/{form-cfpkc3c9.js → websearch-cfpkc3c9.js} +2 -2
- package/dist/chunks/{form-8kp64gvm.js → websearch-cgjkw3zm.js} +11 -11
- package/dist/chunks/{form-j93ydeda.js → websearch-ckdbnr1m.js} +13 -13
- package/dist/chunks/{form-9rp062vg.js → websearch-cm436xz1.js} +11 -11
- package/dist/chunks/{form-jw04p9hx.js → websearch-cs9qt30b.js} +15 -15
- package/dist/chunks/{form-4setp8j6.js → websearch-d4kjnek0.js} +44 -44
- package/dist/chunks/{form-qvkscje0.js → websearch-djepkcha.js} +10 -10
- package/dist/chunks/{form-y71avatq.js → websearch-dpkg50ah.js} +4 -4
- package/dist/chunks/{form-drwq78ky.js → websearch-drwq78ky.js} +1 -1
- package/dist/chunks/{form-02qtkc6q.js → websearch-e2e54bcg.js} +9 -9
- package/dist/chunks/{form-pf2hb43r.js → websearch-e6hd9jay.js} +4 -4
- package/dist/chunks/{form-qjnxxf51.js → websearch-e6hmchc5.js} +5 -5
- package/dist/chunks/{form-8s8mxddj.js → websearch-ec8389mk.js} +4 -4
- package/dist/chunks/{form-xcrtbwk3.js → websearch-ed7s7zhg.js} +14 -14
- package/dist/chunks/{form-yy3gmdz3.js → websearch-ednp5hmx.js} +8 -8
- package/dist/chunks/{form-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
- package/dist/chunks/{form-bwhgaaqb.js → websearch-f1msgtjz.js} +7 -7
- package/dist/chunks/{form-hnw6xx8c.js → websearch-f2jpp01n.js} +8 -8
- package/dist/chunks/{form-f828m53h.js → websearch-f828m53h.js} +2 -2
- package/dist/chunks/{form-55bqhy0m.js → websearch-fdyxrhgm.js} +17 -17
- package/dist/chunks/websearch-fe7nnn6e.js +26 -0
- package/dist/chunks/{form-7162y86f.js → websearch-femjt155.js} +3 -3
- package/dist/chunks/{form-3ke2knzt.js → websearch-ff7vxqds.js} +12 -12
- package/dist/chunks/{form-vjekra9w.js → websearch-fj7pky7r.js} +10 -10
- package/dist/chunks/{form-8xzhb90e.js → websearch-fjshgbpx.js} +26 -26
- package/dist/chunks/{form-knb7evpn.js → websearch-fkjmw100.js} +6 -6
- package/dist/chunks/{form-6j14v2fb.js → websearch-fkv8g0v1.js} +25 -25
- package/dist/chunks/{form-ab8fjaz1.js → websearch-ftt1jkvy.js} +8 -8
- package/dist/chunks/{form-t75shx2w.js → websearch-fvm632bv.js} +26 -26
- package/dist/chunks/{form-fxbjtjnd.js → websearch-fxbjtjnd.js} +1 -1
- package/dist/chunks/{form-9gr8y5ys.js → websearch-fxqygnfa.js} +4 -4
- package/dist/chunks/{form-rrmegkqp.js → websearch-fy3543da.js} +9 -9
- package/dist/chunks/{form-xkhhny8h.js → websearch-fyk0ct8p.js} +15 -15
- package/dist/chunks/{form-48tfg22t.js → websearch-fz2zwq67.js} +11 -11
- package/dist/chunks/{form-xmx935ns.js → websearch-g6dazs8d.js} +25 -25
- package/dist/chunks/{form-qcga0yma.js → websearch-g8wxz3bw.js} +29 -29
- package/dist/chunks/{form-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-shr9sgda.js → websearch-grmms9d3.js} +6 -6
- package/dist/chunks/{form-gv6a8nnw.js → websearch-gv6a8nnw.js} +2 -2
- package/dist/chunks/{form-aw26e8fy.js → websearch-gxz9ze6g.js} +35 -35
- package/dist/chunks/{form-h03wrkyp.js → websearch-h03wrkyp.js} +2 -2
- package/dist/chunks/{form-yn2zynef.js → websearch-h0kkfn6x.js} +3 -3
- package/dist/chunks/{form-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-wwzd5x98.js → websearch-hbmnenma.js} +165 -165
- package/dist/chunks/{form-djh0wnq1.js → websearch-hmhpp73g.js} +10 -10
- package/dist/chunks/{form-baaqp4zd.js → websearch-hn57h045.js} +4 -4
- package/dist/chunks/{form-7j65je9z.js → websearch-hra6zdse.js} +15 -15
- package/dist/chunks/{form-fdms3n6w.js → websearch-hwjyn0yt.js} +9 -9
- package/dist/chunks/{form-30ymphpy.js → websearch-hykm20ba.js} +10 -10
- package/dist/chunks/{form-513wy2ae.js → websearch-hyrpm5nn.js} +10 -10
- package/dist/chunks/{form-73tb2d7t.js → websearch-j028xdjb.js} +3 -3
- package/dist/chunks/{form-tgk60dca.js → websearch-j0xwbvkd.js} +11 -11
- package/dist/chunks/{form-nq7qbqzc.js → websearch-j3s2z371.js} +9 -9
- package/dist/chunks/{form-123bxv73.js → websearch-j3vbzy50.js} +4 -4
- package/dist/chunks/{form-j56e64zr.js → websearch-j56e64zr.js} +1 -1
- package/dist/chunks/{form-wakc8mv8.js → websearch-j5r5s5y1.js} +11 -11
- package/dist/chunks/{form-gt2mexw9.js → websearch-j9evh2x0.js} +16 -16
- package/dist/chunks/{form-sqa21q52.js → websearch-j9ykbwb6.js} +302 -302
- package/dist/chunks/{form-6r7cs4se.js → websearch-jawc5a8y.js} +12 -12
- package/dist/chunks/{form-nf28atj5.js → websearch-jb663h59.js} +11 -11
- package/dist/chunks/{form-1gwwh4qq.js → websearch-jnfdvecq.js} +16 -16
- package/dist/chunks/{form-jppvw2tx.js → websearch-jppvw2tx.js} +2 -2
- package/dist/chunks/{form-187249xp.js → websearch-jswts1sh.js} +6 -6
- package/dist/chunks/{form-yvsf4n3e.js → websearch-jvvc3tfq.js} +9 -9
- package/dist/chunks/{form-7xwfm16r.js → websearch-k6my4ra7.js} +11 -11
- package/dist/chunks/{form-dk99t560.js → websearch-k7xyn1d6.js} +26 -26
- package/dist/chunks/{form-zgbyxqmx.js → websearch-kbyydvt3.js} +5 -5
- package/dist/chunks/websearch-kckcqb9a.js +252 -0
- package/dist/chunks/{form-mh4pzb3k.js → websearch-kg8nd7j6.js} +16 -16
- package/dist/chunks/{form-g8hjv9k1.js → websearch-khybfek0.js} +20 -20
- package/dist/chunks/{form-m3fdjcah.js → websearch-m3fdjcah.js} +1 -1
- package/dist/chunks/{form-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-ndse717j.js → websearch-mdcbk6e4.js} +9 -9
- package/dist/chunks/{form-wrr2dsh1.js → websearch-mfbsr9ym.js} +24 -24
- package/dist/chunks/{form-m1zws58h.js → websearch-mwdc51q5.js} +25 -25
- package/dist/chunks/{form-f4fd4709.js → websearch-n9n6b8bc.js} +11 -11
- package/dist/chunks/{form-frgxj14f.js → websearch-nesqjncw.js} +13 -13
- package/dist/chunks/{form-b47smg36.js → websearch-nnj5g5ts.js} +4 -4
- package/dist/chunks/{form-q7z8eg5j.js → websearch-ntzn41cr.js} +25 -25
- package/dist/chunks/{form-k3c624dm.js → websearch-nzks3jc8.js} +3 -3
- package/dist/chunks/{form-r55vasa2.js → websearch-nzyhnfxz.js} +4 -4
- package/dist/chunks/{form-c7z08br2.js → websearch-p1kt70e2.js} +3 -3
- package/dist/chunks/{form-x458q4ex.js → websearch-p2mak7at.js} +5 -5
- package/dist/chunks/{form-pecb0brz.js → websearch-p44d8wdy.js} +5 -5
- package/dist/chunks/{form-fz5j8gap.js → websearch-p4tf5mma.js} +18 -18
- package/dist/chunks/{form-ed256c4g.js → websearch-p84a3xwz.js} +21 -21
- package/dist/chunks/{form-9jdpp6jh.js → websearch-p9199vqh.js} +9 -9
- package/dist/chunks/{form-hbwzw7pp.js → websearch-pe48638c.js} +1 -1
- package/dist/chunks/{form-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-aaejwfe7.js → websearch-pjz7yeqt.js} +5 -5
- package/dist/chunks/{form-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{form-rtm6hva4.js → websearch-pwhxjrkr.js} +11 -11
- package/dist/chunks/{form-fv5x6695.js → websearch-pxy915q0.js} +34 -34
- package/dist/chunks/websearch-q509s3k3.js +18 -0
- package/dist/chunks/websearch-qapv375x.js +4 -0
- package/dist/chunks/{form-1bvdzpsq.js → websearch-qfc3vy0d.js} +7 -7
- package/dist/chunks/{form-jw80jp6b.js → websearch-qj8eh1ht.js} +4 -4
- package/dist/chunks/{form-xqxa373y.js → websearch-qm8d4hv1.js} +6 -6
- package/dist/chunks/{form-g6s8q7z4.js → websearch-qn369vj2.js} +16 -16
- package/dist/chunks/{form-w8atqtkx.js → websearch-qpb9pvhg.js} +39 -39
- package/dist/chunks/{form-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{form-nzx758yy.js → websearch-r16jvtnf.js} +20 -20
- package/dist/chunks/{form-1p6fhqdr.js → websearch-r1nzxzk3.js} +11 -11
- package/dist/chunks/{form-0v04ghmx.js → websearch-r3m778ec.js} +6 -6
- package/dist/chunks/{form-1g7epwpd.js → websearch-ratrq7cm.js} +7 -7
- package/dist/chunks/{form-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-gv5zswt9.js → websearch-rxph5gcs.js} +8 -8
- package/dist/chunks/{form-e4atwhdh.js → websearch-s153yc2g.js} +24 -24
- package/dist/chunks/{form-ynq1hvy6.js → websearch-s6dasder.js} +41 -41
- package/dist/chunks/{form-b07rpg7m.js → websearch-s8610hey.js} +2 -2
- package/dist/chunks/{form-zsv5db02.js → websearch-savs1ssj.js} +25 -25
- package/dist/chunks/{form-evbgk2k8.js → websearch-t0fxg8b9.js} +5 -5
- package/dist/chunks/{form-6mwsk74p.js → websearch-t4dnb9f7.js} +10 -10
- package/dist/chunks/{form-xvx59f4a.js → websearch-t4rghkh8.js} +5 -5
- package/dist/chunks/{form-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-89znhe33.js → websearch-tcezcvh9.js} +4 -4
- package/dist/chunks/{form-tdstcens.js → websearch-tdstcens.js} +1 -1
- package/dist/chunks/{form-2z6bt0qv.js → websearch-tn7wjcpc.js} +42 -42
- package/dist/chunks/{form-56hk4ak4.js → websearch-tnaxe9ds.js} +8 -8
- package/dist/chunks/{form-6xnvya9b.js → websearch-tpq2hd4z.js} +1 -1
- package/dist/chunks/{form-1mp736cy.js → websearch-tqde4kee.js} +13 -13
- package/dist/chunks/{form-tvtrv512.js → websearch-tvtrv512.js} +1 -1
- package/dist/chunks/{form-cd9k3c4q.js → websearch-tvx0j432.js} +8 -8
- package/dist/chunks/{form-4gvnyy3b.js → websearch-ty4014gx.js} +14 -14
- package/dist/chunks/{form-8evs5mkq.js → websearch-v27dtnaa.js} +15 -15
- package/dist/chunks/{form-3n4a9km5.js → websearch-v760n2zd.js} +50 -50
- package/dist/chunks/{form-6ty9sh7a.js → websearch-v8fm89qw.js} +17 -17
- package/dist/chunks/{form-wb8xftrw.js → websearch-vb47znx6.js} +17 -17
- package/dist/chunks/{form-vncycja5.js → websearch-ve4pfa0n.js} +4 -4
- package/dist/chunks/{form-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{form-dbcrk5ce.js → websearch-vfz7kkm7.js} +23 -23
- package/dist/chunks/{form-a2j7cfz2.js → websearch-vg2wyg4e.js} +29 -29
- package/dist/chunks/{form-f527q87f.js → websearch-vgmr4sc2.js} +15 -15
- package/dist/chunks/{form-npqb69nf.js → websearch-vhw1ncwr.js} +17 -17
- package/dist/chunks/{form-0hf9g8pg.js → websearch-vqfzq50h.js} +6 -6
- package/dist/chunks/{form-vzcthcp8.js → websearch-vzcthcp8.js} +1 -1
- package/dist/chunks/{form-paegk39x.js → websearch-w1k39n5e.js} +4 -4
- package/dist/chunks/{form-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-g041mfwn.js → websearch-w7s0zwfz.js} +9 -9
- package/dist/chunks/{form-h7rjrdnv.js → websearch-w8mfkrd2.js} +16 -16
- package/dist/chunks/{form-00ng8n3z.js → websearch-w9fh9rp1.js} +35 -35
- package/dist/chunks/{form-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{form-6bdq8ts9.js → websearch-wek9cs2v.js} +37 -37
- package/dist/chunks/{form-m9d03vsf.js → websearch-wf538q6w.js} +8 -8
- package/dist/chunks/{form-actekbgt.js → websearch-wmc81avc.js} +13 -13
- package/dist/chunks/{form-4yx3jwba.js → websearch-wyfky7qa.js} +2 -2
- package/dist/chunks/{form-yff36nk8.js → websearch-wyqjvnh3.js} +5 -5
- package/dist/chunks/{form-xet44gk7.js → websearch-wz6c4wjy.js} +25 -25
- package/dist/chunks/{form-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
- package/dist/chunks/{form-brdc8pwf.js → websearch-x3ea811x.js} +11 -11
- package/dist/chunks/{form-bcvq41jx.js → websearch-x5rjwhsa.js} +22 -22
- package/dist/chunks/{form-xxx6nk49.js → websearch-xft5dqkh.js} +15 -15
- package/dist/chunks/{form-ptjffwzk.js → websearch-xgzkh95h.js} +16 -16
- package/dist/chunks/{form-br3n28nn.js → websearch-xrfmzwy2.js} +10 -10
- package/dist/chunks/{form-9v9zjed9.js → websearch-xyhjwr2g.js} +30 -30
- package/dist/chunks/{form-za7g70bh.js → websearch-xysdzrga.js} +4 -4
- package/dist/chunks/{form-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-agt2b0z6.js → websearch-y4emhg5s.js} +42 -42
- package/dist/chunks/{form-c9r0qqmq.js → websearch-y53nxhnd.js} +11 -11
- package/dist/chunks/{form-fb1fpzmk.js → websearch-y5pxcw36.js} +3 -3
- package/dist/chunks/{form-xk0tmk9h.js → websearch-ydejvqxg.js} +23 -23
- package/dist/chunks/{form-1acjjqhc.js → websearch-yp2x3t23.js} +4 -4
- package/dist/chunks/{form-yrhqyw5v.js → websearch-yrhqyw5v.js} +1 -1
- package/dist/chunks/{form-yrznvahk.js → websearch-yrznvahk.js} +2 -2
- package/dist/chunks/{form-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-tkm8jh8d.js → websearch-z1y8m30d.js} +24 -24
- package/dist/chunks/{form-z63w68vq.js → websearch-z63w68vq.js} +2 -2
- package/dist/chunks/{form-zeh9ct20.js → websearch-zeh9ct20.js} +2 -2
- package/dist/chunks/{form-yk0fykmp.js → websearch-zfqkckys.js} +23 -23
- package/dist/chunks/{form-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- 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 +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +120 -120
- 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 +122 -122
- 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 +125 -125
- 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 +366 -366
- 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 +69 -69
- 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 +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- 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 +357 -357
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- 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 +354 -354
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +100 -100
- 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 +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- 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/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 +328 -328
- 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 +92 -92
- 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 +158 -158
- 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 +345 -345
- 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 +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- 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 +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- 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 +131 -131
- 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 +220 -220
- 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 +89 -89
- 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 +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 +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- 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 +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 +109 -109
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +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 +104 -104
- package/dist/tool/plugin/read.js +124 -124
- 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 +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 +7 -7
- 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 +1 -1
- 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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +95 -95
- package/package.json +8 -8
- package/dist/chunks/form-0mesazry.js +0 -4
- package/dist/chunks/form-4sypej7j.js +0 -26
- package/dist/chunks/form-nvp6bqjw.js +0 -252
- package/dist/chunks/form-vnkjks7b.js +0 -18
- /package/dist/chunks/{form-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → websearch-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5qd3pb7m.js → websearch-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-922hggd3.js → websearch-922hggd3.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hjbc5kem.js → websearch-hjbc5kem.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-twg0f83k.js → websearch-twg0f83k.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → websearch-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-a1pdeahv.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID9,
|
|
11
|
+
Service59,
|
|
12
|
+
node62,
|
|
13
|
+
Event13
|
|
14
|
+
} from "./websearch-mwdc51q5.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./websearch-nzyhnfxz.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
20
|
node83
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./websearch-wyfky7qa.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./websearch-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,12 +37,12 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Event: () => Event12,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID8,
|
|
41
|
+
Info: () => Info22,
|
|
42
42
|
LoadError: () => LoadError3,
|
|
43
43
|
Provider: () => exports_provider3,
|
|
44
44
|
Request: () => Request2,
|
|
45
|
-
Service: () =>
|
|
45
|
+
Service: () => Service58,
|
|
46
46
|
Settings: () => Settings2,
|
|
47
47
|
aisdk: () => aisdk2,
|
|
48
48
|
isAISDK: () => isAISDK2,
|
|
@@ -50,7 +50,7 @@ __export(exports_provider3, {
|
|
|
50
50
|
mergeHeaders: () => mergeHeaders2,
|
|
51
51
|
mergeOverlay: () => mergeOverlay2,
|
|
52
52
|
nativeSettings: () => nativeSettings2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node61,
|
|
54
54
|
packageName: () => packageName2
|
|
55
55
|
});
|
|
56
56
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -62,7 +62,7 @@ import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
|
62
62
|
import { Credential } from "@opencode/schema/credential";
|
|
63
63
|
import { freeze } from "immer";
|
|
64
64
|
import { Event as Event12 } from "@opencode/schema/provider";
|
|
65
|
-
var
|
|
65
|
+
var ID8 = Provider.ID;
|
|
66
66
|
var AISDK_PREFIX2 = "aisdk:";
|
|
67
67
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
68
68
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -201,9 +201,9 @@ function mergeHeaders2(base, overlay) {
|
|
|
201
201
|
}
|
|
202
202
|
var Request2 = Provider.Request;
|
|
203
203
|
var Settings2 = Provider.Settings;
|
|
204
|
-
var
|
|
204
|
+
var Info22 = Provider.Info;
|
|
205
205
|
|
|
206
|
-
class
|
|
206
|
+
class Service58 extends Context.Service()("@opencode/Provider") {
|
|
207
207
|
}
|
|
208
208
|
var definitions = new WeakMap;
|
|
209
209
|
function index(providerID, models) {
|
|
@@ -216,9 +216,9 @@ function index(providerID, models) {
|
|
|
216
216
|
definitions.set(models, indexes);
|
|
217
217
|
return result;
|
|
218
218
|
}
|
|
219
|
-
var layer = Layer.effect(
|
|
219
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
220
220
|
const bus = yield* Service82;
|
|
221
|
-
const integrations = yield*
|
|
221
|
+
const integrations = yield* Service59;
|
|
222
222
|
const location = yield* Service79;
|
|
223
223
|
const state = create3({
|
|
224
224
|
name: "provider",
|
|
@@ -230,7 +230,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
230
230
|
const current = records.get(id);
|
|
231
231
|
if (current)
|
|
232
232
|
return current;
|
|
233
|
-
const added = { provider:
|
|
233
|
+
const added = { provider: Info22.empty(id), models: new Map };
|
|
234
234
|
records.set(id, added);
|
|
235
235
|
maps.add(added.models);
|
|
236
236
|
return added;
|
|
@@ -311,7 +311,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
311
311
|
const available = Array.from(records.values()).filter((record) => {
|
|
312
312
|
if (record.provider.activation === "disabled")
|
|
313
313
|
return false;
|
|
314
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
314
|
+
const integration = byID.get(record.provider.integrationID ?? ID9.make(record.provider.id));
|
|
315
315
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
316
316
|
return false;
|
|
317
317
|
if (record.provider.activation === "enabled")
|
|
@@ -337,8 +337,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
337
337
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
338
338
|
});
|
|
339
339
|
});
|
|
340
|
-
yield* bus.subscribe([
|
|
341
|
-
return
|
|
340
|
+
yield* bus.subscribe([Event13.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
341
|
+
return Service58.of({
|
|
342
342
|
transform: state.transform,
|
|
343
343
|
reload: state.reload,
|
|
344
344
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -347,7 +347,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
347
347
|
snapshot
|
|
348
348
|
});
|
|
349
349
|
}));
|
|
350
|
-
var
|
|
350
|
+
var node61 = makeLocationNode({ service: Service58, layer, deps: [node86, node62, node83] });
|
|
351
351
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
352
352
|
const module = yield* Effect.tryPromise({
|
|
353
353
|
try: () => {
|
|
@@ -607,4 +607,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
607
607
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
608
608
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
609
609
|
|
|
610
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
610
|
+
export { rewrite2, native2, exports_aisdk_native, ID8, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request2, Settings2, Info22, Service58, node61, exports_provider3, Event12 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info12
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info12 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info12, exports_attachment };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-wyfky7qa.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
make20,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-02nrjc1r.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service29,
|
|
19
|
+
node: () => node32
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service29 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
28
|
const location = yield* Service79;
|
|
29
|
-
return
|
|
29
|
+
return Service29.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
31
|
make20({
|
|
32
32
|
key: Key4.make("core/environment"),
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node32 = makeLocationNode({ service: Service29, layer, deps: [Global.node, node83] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service29, node32, exports_builtins };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./websearch-savs1ssj.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-468ms2xs.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID8.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names3,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names3() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names3, paths2, exports_protected };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Service72
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-cs9qt30b.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service57
|
|
8
|
+
} from "./websearch-vfz7kkm7.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./websearch-0jdsmxy0.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-2f04pwep.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service51
|
|
18
|
+
} from "./websearch-v8fm89qw.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service69
|
|
22
|
+
} from "./websearch-s6dasder.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service23
|
|
25
|
+
} from "./websearch-34ngepqf.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./websearch-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make10
|
|
31
|
+
} from "./websearch-fz2zwq67.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./websearch-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input6,
|
|
40
|
+
Output: () => Output4,
|
|
41
|
+
Plugin: () => Plugin7,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description3,
|
|
44
|
+
name: () => name6
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name6 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input6 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input8 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output4 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description3 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin7 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
92
|
+
const sessions = yield* Service23;
|
|
93
|
+
const jobs = yield* Service51;
|
|
94
94
|
const agents = yield* Service72;
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
95
|
+
const config = yield* Service53;
|
|
96
|
+
const permission = yield* Service69;
|
|
97
|
+
const models = yield* Service57;
|
|
98
|
+
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin24 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name6,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description3,
|
|
121
|
+
input: Input6,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin24 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name6,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin24 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID15.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name6];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name6, Input6, Output4, description3, Plugin7, exports_subagent };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-2f04pwep.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-7p797550.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-02nrjc1r.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./websearch-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./websearch-fxqygnfa.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./websearch-w1k39n5e.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./websearch-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service55,
|
|
6
|
+
node57
|
|
7
|
+
} from "./websearch-b60qvk9z.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service13,
|
|
17
|
+
node: () => node15,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service13 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service55;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service13.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node15 = makeLocationNode({ service: Service13, layer, deps: [node57] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service13, readText2, syncTextBom2, node15, exports_file_mutation };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-wyfky7qa.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names4, discover3, exports_discovery2 };
|