@opencode/core 0.0.0-dev-19755 → 0.0.0-dev-19758
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 +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{variant-26k5bknw.js → bus-06dxphr1.js} +4 -4
- package/dist/chunks/{variant-6jmftpwx.js → bus-098d3mqp.js} +30 -30
- package/dist/chunks/{variant-9yhcv9e4.js → bus-0b0th7s4.js} +13 -13
- package/dist/chunks/{variant-6x7n2evt.js → bus-0c8m848g.js} +16 -16
- package/dist/chunks/{variant-ffy1vj08.js → bus-0cbj8ajh.js} +13 -13
- package/dist/chunks/{variant-b2946ah7.js → bus-0cm1nqy3.js} +17 -17
- package/dist/chunks/{variant-k4kk5nq6.js → bus-0j9y03t3.js} +43 -43
- package/dist/chunks/{variant-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
- package/dist/chunks/{variant-2z8j0phm.js → bus-0qzv51dm.js} +33 -33
- package/dist/chunks/{variant-yb7hxqky.js → bus-100ecgng.js} +7 -7
- package/dist/chunks/{variant-fjvydvzm.js → bus-10jtetaj.js} +4 -4
- package/dist/chunks/{variant-xqn5qrhj.js → bus-110m9arz.js} +15 -15
- package/dist/chunks/{variant-6tvncfhr.js → bus-17gne236.js} +4 -4
- package/dist/chunks/{variant-dwq6ryhm.js → bus-1956heqa.js} +8 -8
- package/dist/chunks/{variant-6jhhwrjj.js → bus-1c4h0esh.js} +6 -6
- package/dist/chunks/{variant-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-gmdh372t.js → bus-1fn7qz6r.js} +11 -11
- package/dist/chunks/{variant-3ebgyt18.js → bus-1rfd4xxr.js} +2 -2
- package/dist/chunks/{variant-0gaj4617.js → bus-1s3p39g4.js} +4 -4
- package/dist/chunks/{variant-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{variant-2402vzrj.js → bus-2402vzrj.js} +1 -1
- package/dist/chunks/{variant-9p24bb7b.js → bus-25bb1hc4.js} +13 -13
- package/dist/chunks/{variant-zx9yds1z.js → bus-25trdgaf.js} +30 -30
- package/dist/chunks/{variant-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-8gy6y1pp.js → bus-2chdexej.js} +17 -17
- package/dist/chunks/{variant-vmwh049b.js → bus-2e96adxv.js} +6 -6
- package/dist/chunks/bus-2h9152w8.js +252 -0
- package/dist/chunks/{variant-2k8khapm.js → bus-2k8khapm.js} +1 -1
- package/dist/chunks/{variant-hssa1mk1.js → bus-2msw9s5m.js} +11 -11
- package/dist/chunks/{variant-2vdhmmy2.js → bus-2r959258.js} +308 -308
- package/dist/chunks/{variant-1q4zsn8w.js → bus-2s6k9xab.js} +11 -11
- package/dist/chunks/{variant-s4wyphra.js → bus-2tth53p7.js} +34 -34
- package/dist/chunks/{variant-y6zv80t6.js → bus-2x1qdj5q.js} +11 -11
- package/dist/chunks/{variant-8b6mfqax.js → bus-33dbnsft.js} +9 -9
- package/dist/chunks/{variant-56gdpj1q.js → bus-33w4ejhs.js} +6 -6
- package/dist/chunks/{variant-2f0bjgcj.js → bus-37s12vcn.js} +5 -5
- package/dist/chunks/{variant-4y9pqhyv.js → bus-3838ekre.js} +4 -4
- package/dist/chunks/{variant-hwnqw730.js → bus-38ac530a.js} +8 -8
- package/dist/chunks/{variant-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-xy2jrymb.js → bus-3nse7x66.js} +20 -20
- package/dist/chunks/{variant-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tq5qxbk.js → bus-3tq5qxbk.js} +2 -2
- package/dist/chunks/{variant-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-29eh7px0.js → bus-441xk2wv.js} +5 -5
- package/dist/chunks/{variant-p3ewdwpp.js → bus-44jp0xn3.js} +12 -12
- package/dist/chunks/{variant-adze53zs.js → bus-456sctqq.js} +8 -8
- package/dist/chunks/{variant-htawzerg.js → bus-47xrm495.js} +82 -82
- package/dist/chunks/{variant-evnmj0gr.js → bus-4a6e8mmv.js} +19 -19
- package/dist/chunks/{variant-dgx4jdcd.js → bus-4bj7sh8v.js} +83 -83
- package/dist/chunks/{variant-34mngf15.js → bus-4fccdz1z.js} +47 -47
- package/dist/chunks/{variant-zf13v5ha.js → bus-4wmfdqaa.js} +17 -17
- package/dist/chunks/{variant-ztb7zmdv.js → bus-54spjwjz.js} +28 -28
- package/dist/chunks/{variant-5jq2p11x.js → bus-55xf98n8.js} +12 -12
- package/dist/chunks/{variant-57b9ws8p.js → bus-57b9ws8p.js} +1 -1
- package/dist/chunks/{variant-57ez7d0k.js → bus-57ez7d0k.js} +2 -2
- package/dist/chunks/{variant-mhk0nngs.js → bus-5bmybb02.js} +31 -31
- package/dist/chunks/{variant-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-wjzf10yw.js → bus-5y3kegep.js} +4 -4
- package/dist/chunks/bus-619r8v3y.js +18 -0
- package/dist/chunks/{variant-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{variant-erdgrhzk.js → bus-67mc9q1p.js} +8 -8
- package/dist/chunks/{variant-gxjafr90.js → bus-696j2597.js} +65 -65
- package/dist/chunks/{variant-yxc8j9am.js → bus-6b0wr2gn.js} +20 -20
- package/dist/chunks/bus-6kdq0pjd.js +4 -0
- package/dist/chunks/{variant-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
- package/dist/chunks/{variant-2wt4q6sv.js → bus-6s3pmmk2.js} +8 -8
- package/dist/chunks/{variant-5c0a4jh2.js → bus-6vaawb56.js} +48 -48
- package/dist/chunks/{variant-bjmk25e5.js → bus-6xckhbd5.js} +22 -22
- package/dist/chunks/{variant-e07bhymk.js → bus-72macrbw.js} +55 -55
- package/dist/chunks/{variant-75knnh2w.js → bus-7azjdvpr.js} +11 -11
- package/dist/chunks/{variant-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-r714qx8e.js → bus-7dz8p9xt.js} +32 -32
- package/dist/chunks/{variant-kd66rd8f.js → bus-7q2t57ev.js} +43 -43
- package/dist/chunks/{variant-k0crd1e0.js → bus-7qgwwy7f.js} +15 -15
- package/dist/chunks/{variant-wn00c1d4.js → bus-7vvypxen.js} +7 -7
- package/dist/chunks/{variant-5cmxdwv8.js → bus-7w99qc9d.js} +3 -3
- package/dist/chunks/{variant-dvyyk6h6.js → bus-7xx1524k.js} +44 -44
- package/dist/chunks/{variant-h71w788e.js → bus-82rhge12.js} +9 -9
- package/dist/chunks/{variant-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-zav06jzw.js → bus-8gxqpgph.js} +4 -4
- package/dist/chunks/{variant-zes4m6vf.js → bus-8jr144xf.js} +9 -9
- package/dist/chunks/{variant-8p4f9s12.js → bus-8p4f9s12.js} +2 -2
- package/dist/chunks/{variant-zg1tkmrp.js → bus-9bzaahhz.js} +26 -26
- package/dist/chunks/{variant-15nepkqg.js → bus-9c3np669.js} +8 -8
- package/dist/chunks/{variant-jarn1zxe.js → bus-9nepbqpa.js} +6 -6
- package/dist/chunks/{variant-a1bz86dw.js → bus-a1bz86dw.js} +3 -3
- package/dist/chunks/{variant-wc0ayt6v.js → bus-a471nxk4.js} +28 -28
- package/dist/chunks/{variant-szjxjngx.js → bus-a4rjqnpf.js} +11 -11
- package/dist/chunks/{variant-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-nk6esdp9.js → bus-adq3kxc0.js} +5 -5
- package/dist/chunks/{variant-96te9d4b.js → bus-aeb4sny1.js} +5 -5
- package/dist/chunks/{variant-g6m037q6.js → bus-aeck6645.js} +8 -8
- package/dist/chunks/{variant-fyxezqnx.js → bus-ayg85fpn.js} +5 -5
- package/dist/chunks/{variant-m4nm25j0.js → bus-b4tzb99z.js} +6 -6
- package/dist/chunks/{variant-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-b97cbvw3.js → bus-bz85s9hh.js} +1 -1
- package/dist/chunks/{variant-c99jbp8g.js → bus-c019crvg.js} +14 -14
- package/dist/chunks/{variant-84eerp93.js → bus-c4mstr5p.js} +1 -1
- package/dist/chunks/{variant-hx8ybye2.js → bus-c7beamen.js} +10 -10
- package/dist/chunks/{variant-k2h4r4s0.js → bus-cavr175a.js} +4 -4
- package/dist/chunks/{variant-cfpkc3c9.js → bus-cfpkc3c9.js} +2 -2
- package/dist/chunks/{variant-tfsrmy5e.js → bus-ck8c2f3r.js} +26 -26
- package/dist/chunks/{variant-mnpyady4.js → bus-cktevt8v.js} +51 -51
- package/dist/chunks/{variant-djszqvmq.js → bus-cwa6csj7.js} +9 -9
- package/dist/chunks/{variant-zrjh3the.js → bus-cwbe6ym8.js} +13 -13
- package/dist/chunks/{variant-rbwerdtn.js → bus-cyg049pt.js} +5 -5
- package/dist/chunks/{variant-sd7tgwdz.js → bus-d3s8mw9x.js} +28 -28
- package/dist/chunks/{variant-myd99ydh.js → bus-d4g3vwm5.js} +21 -21
- package/dist/chunks/{variant-983aazre.js → bus-d5j16axh.js} +15 -15
- package/dist/chunks/{variant-11r4b5ha.js → bus-d6mgh4yr.js} +11 -11
- package/dist/chunks/{variant-42cx3bd5.js → bus-d84x1h8e.js} +32 -32
- package/dist/chunks/{variant-zk79tsjd.js → bus-dapfwjck.js} +28 -28
- package/dist/chunks/{variant-a24cc65p.js → bus-dc69t32x.js} +11 -11
- package/dist/chunks/{variant-wa6z1zpc.js → bus-dg3w1nd5.js} +3 -3
- package/dist/chunks/{variant-h424sj19.js → bus-dpehwp0a.js} +13 -13
- package/dist/chunks/{variant-z4n77hj8.js → bus-dq56eeb5.js} +20 -20
- package/dist/chunks/{variant-1v4r0pjr.js → bus-drwba54j.js} +14 -14
- package/dist/chunks/{variant-cmwkp3r5.js → bus-dv1qgsyq.js} +8 -8
- package/dist/chunks/{variant-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-erw5rpbs.js → bus-erw5rpbs.js} +2 -2
- package/dist/chunks/{variant-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-x3a9b0cv.js → bus-ezbx256a.js} +32 -32
- package/dist/chunks/{variant-s1kf21y0.js → bus-f010ntnv.js} +27 -27
- package/dist/chunks/{variant-8n2ngqz1.js → bus-f4sjgpj8.js} +40 -40
- package/dist/chunks/{variant-qe7hh5pt.js → bus-f57shvpt.js} +33 -33
- package/dist/chunks/{variant-f828m53h.js → bus-f828m53h.js} +2 -2
- package/dist/chunks/{variant-e9nwq02x.js → bus-fbwcgawc.js} +11 -11
- package/dist/chunks/{variant-re8h066d.js → bus-feyb32n1.js} +24 -24
- package/dist/chunks/{variant-ez8khb7t.js → bus-ff8g97f7.js} +8 -8
- package/dist/chunks/{variant-yv1wsmnb.js → bus-fp3b2tyn.js} +24 -24
- package/dist/chunks/{variant-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
- package/dist/chunks/{variant-2f02t6at.js → bus-g0b57gve.js} +43 -43
- package/dist/chunks/{variant-qa3qhgw8.js → bus-g8d3gcyj.js} +7 -7
- package/dist/chunks/{variant-e4g5679w.js → bus-gbhek550.js} +13 -13
- package/dist/chunks/{variant-m7yrkyxp.js → bus-gcsw9y0t.js} +8 -8
- package/dist/chunks/{variant-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-g3ca0se1.js → bus-ge6x8gv9.js} +17 -17
- package/dist/chunks/{variant-768gsh1v.js → bus-gf7f2369.js} +5 -5
- package/dist/chunks/{variant-6n4b0dsb.js → bus-gffqj91w.js} +9 -9
- package/dist/chunks/{variant-m7qewpwr.js → bus-gm7vvz5v.js} +17 -17
- package/dist/chunks/{variant-k3an9tzv.js → bus-gn047571.js} +28 -28
- package/dist/chunks/{variant-g5x3nt1n.js → bus-gprn4qe6.js} +28 -28
- package/dist/chunks/{variant-13dh974y.js → bus-gv0zjanc.js} +2 -2
- package/dist/chunks/{variant-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
- package/dist/chunks/{variant-r75q3gpe.js → bus-h3g6m2mf.js} +1 -1
- package/dist/chunks/{variant-9pe9ne7r.js → bus-h4sy77rb.js} +19 -19
- package/dist/chunks/{variant-44h5tttr.js → bus-h6r3nrb9.js} +4 -4
- package/dist/chunks/{variant-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-h6jr292a.js → bus-h6z8d5tn.js} +4 -4
- package/dist/chunks/{variant-p41gq7r8.js → bus-h8j3vz9y.js} +9 -9
- package/dist/chunks/{variant-hq8zt1th.js → bus-hdab2k61.js} +5 -5
- package/dist/chunks/{variant-1cac7wev.js → bus-hdf6015e.js} +41 -41
- package/dist/chunks/{variant-gvkpq563.js → bus-heexpby2.js} +17 -17
- package/dist/chunks/{variant-bha4atvq.js → bus-hfdr1yjj.js} +4 -4
- package/dist/chunks/{variant-46q9e2t6.js → bus-hjbpbmpy.js} +25 -25
- package/dist/chunks/{variant-6346gqxg.js → bus-hmhpv68n.js} +11 -11
- package/dist/chunks/{variant-qte5z7bc.js → bus-hnr5yq9h.js} +5 -5
- package/dist/chunks/{variant-fzcazhxe.js → bus-hrns00hc.js} +3 -3
- package/dist/chunks/{variant-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-vt81eaed.js → bus-j8ajybmk.js} +13 -13
- package/dist/chunks/{variant-j07j1cdh.js → bus-ja2b05k4.js} +32 -32
- package/dist/chunks/{variant-a5ypbz75.js → bus-jj64m3ds.js} +5 -5
- package/dist/chunks/{variant-fpy7bqj6.js → bus-jjapnhx6.js} +3 -3
- package/dist/chunks/{variant-5waazmq4.js → bus-jzy2rg4w.js} +14 -14
- package/dist/chunks/{variant-9eqcqd4c.js → bus-kcdjsgm9.js} +7 -7
- package/dist/chunks/{variant-r9h5kjxq.js → bus-kg0nn6m1.js} +3 -3
- package/dist/chunks/{variant-69eyqcz3.js → bus-kmphysr3.js} +15 -15
- package/dist/chunks/{variant-ka5jcpbb.js → bus-kprffh1k.js} +12 -12
- package/dist/chunks/{variant-10x51kd0.js → bus-m2btv783.js} +11 -11
- package/dist/chunks/{variant-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
- package/dist/chunks/bus-m5kkt6zs.js +26 -0
- package/dist/chunks/{variant-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-aztr3m3n.js → bus-mc494fkv.js} +19 -19
- package/dist/chunks/{variant-73tb2d7t.js → bus-mhkvc446.js} +3 -3
- package/dist/chunks/{variant-rhq1evez.js → bus-mmj3etnc.js} +11 -11
- package/dist/chunks/{variant-vvza37g4.js → bus-mvr5bn4j.js} +12 -12
- package/dist/chunks/{variant-6x3sne5z.js → bus-mxg2czg2.js} +17 -17
- package/dist/chunks/{variant-t0d015xz.js → bus-n1y7d7jv.js} +5 -5
- package/dist/chunks/{variant-hpwhafhw.js → bus-n3akjfbb.js} +3 -3
- package/dist/chunks/{variant-2wehargz.js → bus-n4avssqr.js} +24 -24
- package/dist/chunks/{variant-1y283654.js → bus-nb9p6b26.js} +4 -4
- package/dist/chunks/{variant-stb6pav1.js → bus-nbtewark.js} +15 -15
- package/dist/chunks/{variant-1r23n6jg.js → bus-nkcyb48x.js} +32 -32
- package/dist/chunks/{variant-vmgq4x8b.js → bus-nng2ktcm.js} +2 -2
- package/dist/chunks/{variant-9bm1wkqx.js → bus-ns2eanfy.js} +23 -23
- package/dist/chunks/{variant-baqjdnwk.js → bus-nzeerxgc.js} +10 -10
- package/dist/chunks/{variant-nzks3jc8.js → bus-nzks3jc8.js} +3 -3
- package/dist/chunks/{variant-4r2cc09n.js → bus-p139kq9c.js} +22 -22
- package/dist/chunks/{variant-p28j5sbe.js → bus-p28j5sbe.js} +2 -2
- package/dist/chunks/{variant-8bpqntr2.js → bus-p7r1y5kx.js} +3 -3
- package/dist/chunks/{variant-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{variant-8tskyc8r.js → bus-pykab6j4.js} +11 -11
- package/dist/chunks/{variant-05r119gk.js → bus-q4jz9h3x.js} +23 -23
- package/dist/chunks/{variant-0fzt54dc.js → bus-q6a741vd.js} +6 -6
- package/dist/chunks/{variant-sz1t3jvt.js → bus-q6gqpcae.js} +10 -10
- package/dist/chunks/{variant-c8phhc0k.js → bus-q9jgfmem.js} +28 -28
- package/dist/chunks/{variant-e72xwpbb.js → bus-qbfpstdc.js} +11 -11
- package/dist/chunks/{variant-6fza86b1.js → bus-qf472px8.js} +25 -25
- package/dist/chunks/{variant-nq7qbqzc.js → bus-qg0jgkcp.js} +9 -9
- package/dist/chunks/{variant-k5vfzq67.js → bus-qgw0maww.js} +25 -25
- package/dist/chunks/{variant-jcxa0jkb.js → bus-qhxefk9a.js} +14 -14
- package/dist/chunks/{variant-52xvjhmr.js → bus-qr8h26wd.js} +11 -11
- package/dist/chunks/{variant-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-fwpce522.js → bus-rfj6pkw1.js} +33 -33
- package/dist/chunks/{variant-r4zbqzs6.js → bus-rhykyrb3.js} +16 -16
- package/dist/chunks/{variant-da92w30y.js → bus-rped87jq.js} +38 -38
- package/dist/chunks/{variant-czncv1dn.js → bus-rvgr0dnq.js} +3 -3
- package/dist/chunks/{variant-b1nwpeh8.js → bus-s0fe0qa9.js} +9 -9
- package/dist/chunks/{variant-eaj1djv9.js → bus-s8d7rejh.js} +6 -6
- package/dist/chunks/{variant-b5f1m11j.js → bus-saatj7sj.js} +11 -11
- package/dist/chunks/{variant-9wdbzsk5.js → bus-sgz639f1.js} +20 -20
- package/dist/chunks/{variant-3as10fz9.js → bus-sscd0z9x.js} +4 -4
- package/dist/chunks/{variant-aqrscnf9.js → bus-sskj22e4.js} +32 -32
- package/dist/chunks/{variant-mrz9s6e6.js → bus-t2ps0g64.js} +9 -9
- package/dist/chunks/{variant-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{variant-dmzb2kh1.js → bus-td6h23sg.js} +8 -8
- package/dist/chunks/{variant-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{variant-aqagt0xn.js → bus-tehawftv.js} +19 -19
- package/dist/chunks/{variant-wnedv2xw.js → bus-tggcyvkj.js} +20 -20
- package/dist/chunks/{variant-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{variant-2zph646v.js → bus-v9j9833d.js} +6 -6
- package/dist/chunks/{variant-87b5ab83.js → bus-vbs1nqmn.js} +22 -22
- package/dist/chunks/{variant-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-r17hastf.js → bus-vgmgvddh.js} +26 -26
- package/dist/chunks/{variant-pmr4s4kc.js → bus-vncycja5.js} +4 -4
- package/dist/chunks/{variant-qf1qmhmd.js → bus-vskbemtc.js} +34 -34
- package/dist/chunks/{variant-qatfm6ce.js → bus-vy4e6tmv.js} +24 -24
- package/dist/chunks/{variant-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{variant-amt6wfs0.js → bus-w0ksh1wc.js} +42 -42
- package/dist/chunks/{variant-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-qr62dt95.js → bus-wb3k4ach.js} +5 -5
- package/dist/chunks/{variant-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{variant-he5m8xjt.js → bus-whw3a6ka.js} +12 -12
- package/dist/chunks/{variant-zwzbmaqk.js → bus-wz82dyvb.js} +18 -18
- package/dist/chunks/{variant-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{variant-2eegacq4.js → bus-x353b1jt.js} +8 -8
- package/dist/chunks/{variant-q9qvx5k4.js → bus-x4aqctta.js} +4 -4
- package/dist/chunks/{variant-0154zt3t.js → bus-x7ksmd0v.js} +174 -174
- package/dist/chunks/{variant-dw7gtyxg.js → bus-xee2b91r.js} +12 -12
- package/dist/chunks/{variant-xf9f43sm.js → bus-xfe7h115.js} +20 -20
- package/dist/chunks/{variant-mx4tgcxr.js → bus-xj3yf2be.js} +18 -18
- package/dist/chunks/{variant-d9j1s0dk.js → bus-xjk1tc7r.js} +22 -22
- package/dist/chunks/{variant-nm2vgw0w.js → bus-xm4abfw6.js} +25 -25
- package/dist/chunks/{variant-yf0xe7xe.js → bus-xrfzp3qw.js} +23 -23
- package/dist/chunks/{variant-msy9kxmj.js → bus-xxbvdv54.js} +9 -9
- package/dist/chunks/{variant-x14pzsvy.js → bus-xxq58sya.js} +12 -12
- package/dist/chunks/{variant-w5b9s23p.js → bus-y05z3yvm.js} +30 -30
- package/dist/chunks/{variant-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-gmjq4p6e.js → bus-y5df08dr.js} +12 -12
- package/dist/chunks/{variant-y71avatq.js → bus-y71avatq.js} +1 -1
- package/dist/chunks/{variant-m6j00t72.js → bus-y7nx0r49.js} +22 -22
- package/dist/chunks/{variant-xdkvt8cn.js → bus-ya6jt93q.js} +9 -9
- package/dist/chunks/{variant-61kgnza5.js → bus-yeh1225a.js} +26 -26
- package/dist/chunks/{variant-xzgc5d6v.js → bus-ymh54tbp.js} +19 -19
- package/dist/chunks/{variant-r8xr0va3.js → bus-yp2x3t23.js} +4 -4
- package/dist/chunks/{variant-n2k4sx1d.js → bus-ypmjrw8q.js} +36 -36
- package/dist/chunks/{variant-p5ckrkz6.js → bus-yqmax6eh.js} +4 -4
- package/dist/chunks/{variant-pembkt64.js → bus-yqphrj09.js} +4 -4
- package/dist/chunks/{variant-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{variant-yrznvahk.js → bus-yrznvahk.js} +2 -2
- package/dist/chunks/{variant-nxhqveyz.js → bus-yt0fqk68.js} +5 -5
- package/dist/chunks/{variant-mz4hn5fn.js → bus-yyhbbs14.js} +10 -10
- package/dist/chunks/{variant-kjrb6qxe.js → bus-yzrekgkv.js} +5 -5
- package/dist/chunks/{variant-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-r176d7a5.js → bus-z2m37x9y.js} +12 -12
- package/dist/chunks/{variant-br86fby1.js → bus-z45f81hm.js} +14 -14
- package/dist/chunks/{variant-z63w68vq.js → bus-z63w68vq.js} +2 -2
- package/dist/chunks/{variant-rcn97vet.js → bus-za9cx4qh.js} +8 -8
- package/dist/chunks/{variant-y6gtwkkz.js → bus-zawb9p3e.js} +3 -3
- package/dist/chunks/{variant-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
- package/dist/chunks/{variant-t679ksrz.js → bus-zk0vgq9k.js} +14 -14
- package/dist/chunks/{variant-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-bc17bezm.js → bus-ztvng5ec.js} +16 -16
- package/dist/chunks/{variant-nr5pr1ka.js → bus-zvtp3jyd.js} +28 -28
- package/dist/chunks/{variant-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- 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 +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- 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 +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- 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 +364 -364
- 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 +92 -92
- 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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- 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 +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 +3 -3
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- 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 +133 -133
- 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 +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 +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +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/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 +2 -2
- 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 +91 -91
- 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 +4 -4
- 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 +100 -100
- 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 +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +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 +222 -222
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +95 -95
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +15 -15
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +105 -105
- 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 +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +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 +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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/variant-0mesazry.js +0 -4
- package/dist/chunks/variant-by5v678g.js +0 -18
- package/dist/chunks/variant-pget6tg7.js +0 -252
- package/dist/chunks/variant-xt9w0car.js +0 -26
- /package/dist/chunks/{variant-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-922hggd3.js → bus-922hggd3.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-twg0f83k.js → bus-twg0f83k.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-y05z3yvm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service44
|
|
7
|
+
} from "./bus-0j9y03t3.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-1c4h0esh.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service44;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID12.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make6();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make6, OllamaPlugin2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info13,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info13 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info13, exports_permission };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./bus-44jp0xn3.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-72macrbw.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event10,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info19,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service54,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node56,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event10 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info19 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service54 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service82;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service54.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node56 = makeLocationNode({
|
|
112
|
+
service: Service54,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node86]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info19, ID5, Name2, available2, toModelOutput3, prepare3, Service54, node56, exports_skill5, Event10 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./bus-44jp0xn3.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./bus-0qzv51dm.js";
|
|
13
13
|
import {
|
|
14
14
|
Service79,
|
|
15
15
|
node83
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-1rfd4xxr.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service53,
|
|
19
|
+
node55
|
|
20
|
+
} from "./bus-d4g3vwm5.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service77,
|
|
24
|
+
node81
|
|
25
|
+
} from "./bus-gn047571.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service76,
|
|
34
|
+
node80
|
|
35
|
+
} from "./bus-7dz8p9xt.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./bus-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service40,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured5,
|
|
57
|
+
layer: () => layer15,
|
|
58
|
+
node: () => node43
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service40 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options5 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
104
|
+
var layer15 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
105
105
|
const location = yield* Service79;
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
106
|
+
const environment = yield* Service53;
|
|
107
|
+
const bus = yield* Service82;
|
|
108
|
+
const forms = yield* Service77;
|
|
109
|
+
const integration = yield* Service76;
|
|
110
|
+
const credentials = yield* Service78;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID14.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError5({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID15.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
243
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service53, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -365,7 +365,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
365
365
|
yield* startServer(name, entry);
|
|
366
366
|
}).pipe(locks.withLock(name));
|
|
367
367
|
});
|
|
368
|
-
fork(bus.subscribe(
|
|
368
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
369
369
|
const state = create3({
|
|
370
370
|
name: "mcp",
|
|
371
371
|
initial: () => ({
|
|
@@ -391,7 +391,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service40.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured5(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
516
|
-
layer:
|
|
517
|
-
deps: [node83,
|
|
515
|
+
service: Service40,
|
|
516
|
+
layer: layer15(options),
|
|
517
|
+
deps: [node83, node55, node86, node81, node80, node82]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node43 = configured5();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service40, Options5, layer15, configured5, node43, exports_mcp4 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service12,
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service12.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service12, node14, exports_location_watcher_policy };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-zawb9p3e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-a1bz86dw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service33,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node37,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service33 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
64
|
var source = (entry) => make21({
|
|
65
|
-
key:
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service83;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service33.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node37 = makeLocationNode({ service: Service33, layer, deps: [node87] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service33, node37, exports_instruction_entry };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./bus-sskj22e4.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|