@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,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./bus-44jp0xn3.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event20
|
|
7
|
+
} from "./bus-0qzv51dm.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-7dz8p9xt.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-sskj22e4.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID3,
|
|
19
|
+
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-zvtp3jyd.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID3
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID14.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -108,7 +108,7 @@ function oauth(http) {
|
|
|
108
108
|
var OpencodePlugin2 = define({
|
|
109
109
|
id: "opencode.provider.opencode",
|
|
110
110
|
effect: Effect.fn(function* (ctx) {
|
|
111
|
-
const bus = yield*
|
|
111
|
+
const bus = yield* Service82;
|
|
112
112
|
const http = yield* HttpClient.HttpClient;
|
|
113
113
|
const loading = Semaphore.makeUnsafe(1);
|
|
114
114
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -134,7 +134,7 @@ var OpencodePlugin2 = define({
|
|
|
134
134
|
providers.update(providerID, (provider) => {
|
|
135
135
|
if (source && source.provider !== provider)
|
|
136
136
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
137
|
-
provider.integrationID =
|
|
137
|
+
provider.integrationID = ID14.make("opencode");
|
|
138
138
|
if (item.canonical !== undefined)
|
|
139
139
|
provider.canonical = item.canonical;
|
|
140
140
|
if (item.name !== undefined)
|
|
@@ -204,7 +204,7 @@ var OpencodePlugin2 = define({
|
|
|
204
204
|
sourceConnection: snapshot.connection
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
|
-
const item = providers.get(
|
|
207
|
+
const item = providers.get(ID13.opencode);
|
|
208
208
|
if (!item)
|
|
209
209
|
return;
|
|
210
210
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -216,7 +216,7 @@ var OpencodePlugin2 = define({
|
|
|
216
216
|
});
|
|
217
217
|
});
|
|
218
218
|
yield* ctx.model.transform((models) => {
|
|
219
|
-
const item = models.provider.get(
|
|
219
|
+
const item = models.provider.get(ID13.opencode);
|
|
220
220
|
if (!item)
|
|
221
221
|
return;
|
|
222
222
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -250,7 +250,7 @@ var OpencodePlugin2 = define({
|
|
|
250
250
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
251
251
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
252
252
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
253
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
253
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
254
254
|
query: input.query,
|
|
255
255
|
providerID: descriptor.providerID
|
|
256
256
|
}));
|
|
@@ -271,7 +271,7 @@ var OpencodePlugin2 = define({
|
|
|
271
271
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
272
272
|
});
|
|
273
273
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
274
|
-
yield* bus.subscribe(
|
|
274
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
275
275
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
276
276
|
})
|
|
277
277
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info28,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info28 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info28, key2, exports_connection };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin25
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin25 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin45 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin25, exports_mcp_codemode_exclusion };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./bus-hdab2k61.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-619r8v3y.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service41
|
|
9
|
+
} from "./bus-7q2t57ev.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service51;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service41), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service51,
|
|
10
10
|
node: () => node53
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service51 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var node53 = LayerNode.unbound(
|
|
18
|
+
var node53 = LayerNode.unbound(Service51, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service51, node53, exports_service2 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service44
|
|
7
|
+
} from "./bus-0j9y03t3.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service53
|
|
13
|
+
} from "./bus-d4g3vwm5.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service60
|
|
16
|
+
} from "./bus-2chdexej.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service61
|
|
19
|
+
} from "./bus-72macrbw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service26,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-nbtewark.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service67,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-6xckhbd5.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError6,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service41
|
|
37
|
+
} from "./bus-7q2t57ev.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service28
|
|
40
|
+
} from "./bus-4bj7sh8v.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./bus-sscd0z9x.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./bus-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin3,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name3 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input3 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin3 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service28;
|
|
122
|
+
const jobs = yield* Service60;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service53;
|
|
125
|
+
const access = yield* Service26;
|
|
126
|
+
const shell = yield* Service41;
|
|
127
|
+
const shellSelect = yield* Service67;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service61;
|
|
130
|
+
const config = yield* Service44;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin4 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name3,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin4 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name3,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input3,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name3,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name3];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin3, exports_shell };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service43,
|
|
3
3
|
node46
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-xm4abfw6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions4 = {};
|
|
17
|
+
__export(exports_instructions4, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
+
Service: () => Service39,
|
|
20
|
+
node: () => node42
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,11 +57,11 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service39 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service43;
|
|
64
|
+
return Service39.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
71
|
return make21({
|
|
72
|
-
key:
|
|
72
|
+
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node42 = makeLocationNode({ service: Service39, layer, deps: [node46] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service39, node42, exports_instructions4 };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-s8d7rejh.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-a1bz86dw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node83
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-1rfd4xxr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service21,
|
|
10
|
+
node24
|
|
11
|
+
} from "./bus-c019crvg.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options3,
|
|
25
|
+
Service: () => Service20,
|
|
26
|
+
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer9,
|
|
29
|
+
node: () => node23,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service20 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service20, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service79;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service21;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service20.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service20, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service79;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service20.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service20.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service79;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -182,9 +182,9 @@ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured3(options) {
|
|
186
|
+
return makeLocationNode({ service: Service20, layer: layer9(options), deps: [node83, node24] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node23 = configured3();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options3, Service20, ripgrepLayer2, fffLayer2, layer9, configured3, node23, exports_search };
|