@opencode/core 0.0.0-dev-20529 → 0.0.0-dev-20531
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +92 -92
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{project-ym7wpcjr.js → filesystem-03xyy9gs.js} +8 -8
- package/dist/chunks/{project-nba0d0r9.js → filesystem-0h4w2jpr.js} +18 -18
- package/dist/chunks/{project-c8myjsvw.js → filesystem-0jnt77nz.js} +13 -13
- package/dist/chunks/{project-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{project-b674v2dg.js → filesystem-0r3c1bmw.js} +5 -5
- package/dist/chunks/{project-0vbcp93d.js → filesystem-0vbcp93d.js} +2 -2
- package/dist/chunks/{project-v94fffga.js → filesystem-12sp09rz.js} +183 -183
- package/dist/chunks/{project-d363w4md.js → filesystem-143r6mr8.js} +39 -39
- package/dist/chunks/{project-yp2x3t23.js → filesystem-1acjjqhc.js} +4 -4
- package/dist/chunks/{project-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{project-1dvck2a7.js → filesystem-1dvck2a7.js} +2 -2
- package/dist/chunks/{project-3vmrc2nb.js → filesystem-1rpgv84q.js} +20 -20
- package/dist/chunks/{project-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{project-9y0h6zc5.js → filesystem-2apkwqsb.js} +10 -10
- package/dist/chunks/{project-6kky177d.js → filesystem-2e1yz4t0.js} +17 -17
- package/dist/chunks/{project-4zvgvp00.js → filesystem-2gqdvf5a.js} +10 -10
- package/dist/chunks/{project-3f29nsc9.js → filesystem-2kn5e7ew.js} +8 -8
- package/dist/chunks/{project-xax9cp80.js → filesystem-2n81hgv1.js} +6 -6
- package/dist/chunks/{project-2dmxyjcc.js → filesystem-2q1phy68.js} +43 -43
- package/dist/chunks/{project-1x645704.js → filesystem-2w3n3m8j.js} +8 -8
- package/dist/chunks/{project-e4ecqbhd.js → filesystem-2ycn1y7x.js} +16 -16
- package/dist/chunks/{project-d0jkw2mw.js → filesystem-2zadq5g7.js} +14 -14
- package/dist/chunks/{project-yfzy1pv6.js → filesystem-31181pcg.js} +70 -70
- package/dist/chunks/{project-zzg2eszv.js → filesystem-38a9mec5.js} +28 -28
- package/dist/chunks/{project-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{project-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{project-mnsbkhqh.js → filesystem-3pv6zzd2.js} +28 -28
- package/dist/chunks/{project-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{project-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{project-ywb7831f.js → filesystem-3xy3xwp7.js} +39 -39
- package/dist/chunks/{project-nhd3karc.js → filesystem-3y96te51.js} +28 -28
- package/dist/chunks/{project-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
- package/dist/chunks/{project-t1j28ph2.js → filesystem-45jk3jnj.js} +13 -13
- package/dist/chunks/{project-aq5y8b9e.js → filesystem-4a0nv7mx.js} +8 -8
- package/dist/chunks/{project-aerre7rt.js → filesystem-4jpz076h.js} +17 -17
- package/dist/chunks/{project-hn1j4dd1.js → filesystem-4r8zejwp.js} +18 -18
- package/dist/chunks/{project-2ccvkpx1.js → filesystem-4ts7tf6z.js} +2 -2
- package/dist/chunks/{project-tdxppe3p.js → filesystem-53dbz2qs.js} +27 -27
- package/dist/chunks/{project-54ma36ye.js → filesystem-54ma36ye.js} +1 -1
- package/dist/chunks/{project-33w4ejhs.js → filesystem-56gdpj1q.js} +6 -6
- package/dist/chunks/{project-nnhqsjjf.js → filesystem-58tv462p.js} +13 -13
- package/dist/chunks/{project-m7bjcpvz.js → filesystem-5c3xf46m.js} +5 -5
- package/dist/chunks/{project-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/{project-4dkc814d.js → filesystem-5eefmsp7.js} +14 -14
- package/dist/chunks/{project-mgfryd85.js → filesystem-5jtj29cv.js} +32 -32
- package/dist/chunks/{project-ytrp3qsj.js → filesystem-5jy0kct7.js} +13 -13
- package/dist/chunks/{project-tx92n959.js → filesystem-5kvqrqtt.js} +4 -4
- package/dist/chunks/{project-e7t1aavy.js → filesystem-5mb7ck5g.js} +8 -8
- package/dist/chunks/{project-wv60phkr.js → filesystem-5nv1sxm7.js} +8 -8
- package/dist/chunks/{project-e3qxr5gk.js → filesystem-5qd3pb7m.js} +2 -2
- package/dist/chunks/{project-m351shcz.js → filesystem-5r28c85n.js} +10 -10
- package/dist/chunks/{project-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/{project-gm1vyzya.js → filesystem-64mvex4m.js} +8 -8
- package/dist/chunks/{project-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{project-naj50rvz.js → filesystem-68dcddmz.js} +8 -8
- package/dist/chunks/{project-ryyr4bac.js → filesystem-6ey4jt7g.js} +15 -15
- package/dist/chunks/{project-r814q8p5.js → filesystem-6n7seegv.js} +24 -24
- package/dist/chunks/{project-gh8z36ey.js → filesystem-6nqryyh5.js} +57 -57
- package/dist/chunks/{project-aax86smv.js → filesystem-6pe82dve.js} +44 -44
- package/dist/chunks/{project-w5c7j25r.js → filesystem-6td2m5pa.js} +21 -21
- package/dist/chunks/{project-ryjjnpsr.js → filesystem-6tqa78yj.js} +3 -3
- package/dist/chunks/{project-5d4fyj9e.js → filesystem-6xzq5fa6.js} +3 -3
- package/dist/chunks/{project-71az546q.js → filesystem-71az546q.js} +2 -2
- package/dist/chunks/{project-56k7gmct.js → filesystem-73tar9qe.js} +4 -4
- package/dist/chunks/{project-4saarp1s.js → filesystem-778v1p37.js} +26 -26
- package/dist/chunks/{project-xf02r116.js → filesystem-78darpkf.js} +16 -16
- package/dist/chunks/{project-vsrbj1dm.js → filesystem-78spbjhq.js} +12 -12
- package/dist/chunks/{project-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{project-fcrkznn8.js → filesystem-7dqw4kz8.js} +5 -5
- package/dist/chunks/{project-2zg3fw59.js → filesystem-7ktbgdd3.js} +6 -6
- package/dist/chunks/{project-2p29ajn3.js → filesystem-7tmatsbb.js} +10 -10
- package/dist/chunks/{project-142rtv3p.js → filesystem-7wx2pc4d.js} +30 -30
- package/dist/chunks/{project-1ngj7yz3.js → filesystem-80zwctzz.js} +23 -23
- package/dist/chunks/{project-x2qsw74m.js → filesystem-82qs4kd9.js} +2 -2
- package/dist/chunks/{project-6ysex1vt.js → filesystem-82sy2mg5.js} +4 -4
- package/dist/chunks/{project-0ngk7849.js → filesystem-85p9n8tz.js} +21 -21
- package/dist/chunks/{project-9r8tfcvx.js → filesystem-887wtq38.js} +32 -32
- package/dist/chunks/{project-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{project-harkft01.js → filesystem-8f26ydmn.js} +45 -45
- package/dist/chunks/{project-1t9yf01r.js → filesystem-8fvnpy6c.js} +11 -11
- package/dist/chunks/{project-6agexhvj.js → filesystem-8mjme096.js} +20 -20
- package/dist/chunks/{project-hgxtq660.js → filesystem-8wn17bgt.js} +11 -11
- package/dist/chunks/{project-ep8x3gsd.js → filesystem-906zpy71.js} +319 -319
- package/dist/chunks/{project-g32pa6cz.js → filesystem-91vxggq8.js} +24 -24
- package/dist/chunks/{project-vrwj9c6s.js → filesystem-9d45qq6m.js} +24 -24
- package/dist/chunks/{project-4qvwefdb.js → filesystem-9dsgt9ga.js} +20 -20
- package/dist/chunks/{project-9e5bzkjp.js → filesystem-9e5bzkjp.js} +3 -3
- package/dist/chunks/{project-x827mkbf.js → filesystem-9k8khh75.js} +11 -11
- package/dist/chunks/{project-3xq0sfhy.js → filesystem-9q4c8q0k.js} +36 -36
- package/dist/chunks/{project-et3xghe9.js → filesystem-9z5f2m0a.js} +5 -5
- package/dist/chunks/{project-pb6zbza6.js → filesystem-9z7zeshw.js} +17 -17
- package/dist/chunks/{project-nzwy63kk.js → filesystem-a08sk1xf.js} +24 -24
- package/dist/chunks/{project-eq1pz5kg.js → filesystem-a1gpj94z.js} +3 -3
- package/dist/chunks/{project-3a6ck5tr.js → filesystem-a9rbwxzk.js} +16 -16
- package/dist/chunks/{project-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{project-d7756bjt.js → filesystem-acdp6s4z.js} +20 -20
- package/dist/chunks/{project-x661k3y3.js → filesystem-addxnjmp.js} +4 -4
- package/dist/chunks/{project-e36n7v1a.js → filesystem-anshh03w.js} +6 -6
- package/dist/chunks/{project-xdggt8z6.js → filesystem-ar1hqry0.js} +8 -8
- package/dist/chunks/{project-1w9a9pv3.js → filesystem-arz7hw7x.js} +3 -3
- package/dist/chunks/{project-aqyh79ye.js → filesystem-awtjdqmz.js} +29 -29
- package/dist/chunks/{project-3bc8czyk.js → filesystem-axs6pdy0.js} +5 -5
- package/dist/chunks/{project-n779kegd.js → filesystem-b3pp9b5c.js} +48 -48
- package/dist/chunks/{project-8sze2n9a.js → filesystem-b4twkq7r.js} +2 -2
- package/dist/chunks/{project-ptdhb3y4.js → filesystem-b4vpaca7.js} +44 -44
- package/dist/chunks/{project-s0dwtmyb.js → filesystem-b57xqxwy.js} +24 -24
- package/dist/chunks/{project-qt4m8rnn.js → filesystem-b68vaz6m.js} +15 -15
- package/dist/chunks/{project-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{project-0h2b9fb8.js → filesystem-b7fwmpe3.js} +13 -13
- package/dist/chunks/{project-epec820a.js → filesystem-bex1x4zy.js} +3 -3
- package/dist/chunks/{project-bfp9ygd5.js → filesystem-bjwetsb5.js} +12 -12
- package/dist/chunks/{project-yvh8awre.js → filesystem-bkn7p5q5.js} +13 -13
- package/dist/chunks/{project-jwzdq6qe.js → filesystem-bpbp8hpr.js} +29 -29
- package/dist/chunks/{project-s69w3ynp.js → filesystem-bqnke3pc.js} +10 -10
- package/dist/chunks/{project-9ztxycdn.js → filesystem-c1rs4prt.js} +5 -5
- package/dist/chunks/{project-bpdhdjrh.js → filesystem-c4yrfsg4.js} +9 -9
- package/dist/chunks/{project-vqfzq50h.js → filesystem-c8bydgjz.js} +6 -6
- package/dist/chunks/{project-e8km54gz.js → filesystem-c8fjvqma.js} +7 -7
- package/dist/chunks/{project-q4kjy4d8.js → filesystem-cdmtew64.js} +10 -10
- package/dist/chunks/{project-3k5ngkec.js → filesystem-cj3ra4xv.js} +26 -26
- package/dist/chunks/{project-p37cw4rj.js → filesystem-cmwkp3r5.js} +8 -8
- package/dist/chunks/filesystem-ctefx7dc.js +18 -0
- package/dist/chunks/{project-m6s6y6gq.js → filesystem-cwbdp38r.js} +4 -4
- package/dist/chunks/{project-r4ebvwy4.js → filesystem-cykga7bk.js} +12 -12
- package/dist/chunks/{project-65r7vfsq.js → filesystem-d4sssd0r.js} +3 -3
- package/dist/chunks/{project-geme70nx.js → filesystem-da2yvjyp.js} +23 -23
- package/dist/chunks/{project-vjawha9d.js → filesystem-dhcb13vn.js} +11 -11
- package/dist/chunks/{project-06x8he3q.js → filesystem-dhmh7aw6.js} +4 -4
- package/dist/chunks/{project-v7wrq9pj.js → filesystem-dkbsewq8.js} +30 -30
- package/dist/chunks/{project-dpkg50ah.js → filesystem-dpkg50ah.js} +1 -1
- package/dist/chunks/{project-6psa4521.js → filesystem-drqqp3v9.js} +33 -33
- package/dist/chunks/{project-hqtyt41h.js → filesystem-dwetzd9n.js} +16 -16
- package/dist/chunks/{project-b09f9w3r.js → filesystem-dxn0tv1e.js} +20 -20
- package/dist/chunks/{project-1s5gcqvv.js → filesystem-dyehecrw.js} +25 -25
- package/dist/chunks/{project-3eavv4sq.js → filesystem-dyyz5283.js} +6 -6
- package/dist/chunks/{project-awwxpzys.js → filesystem-e2ecsfnz.js} +11 -11
- package/dist/chunks/{project-k9889ctd.js → filesystem-e53c762s.js} +4 -4
- package/dist/chunks/{project-tcc0r8za.js → filesystem-eaa81kvs.js} +32 -32
- package/dist/chunks/{project-1pef14ah.js → filesystem-eafe18m5.js} +10 -10
- package/dist/chunks/{project-xa4jwm2d.js → filesystem-eagghdma.js} +15 -15
- package/dist/chunks/{project-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{project-vyvzj8mn.js → filesystem-eh93c3s7.js} +9 -9
- package/dist/chunks/{project-0y3hcmh3.js → filesystem-ennymmbt.js} +18 -18
- package/dist/chunks/{project-0a1yp5ev.js → filesystem-espax8zg.js} +4 -4
- package/dist/chunks/{project-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{project-vkb80v61.js → filesystem-f9skksj2.js} +26 -26
- package/dist/chunks/{project-exe2ydy9.js → filesystem-fn3q1e6y.js} +3 -3
- package/dist/chunks/{project-7yw5ta2h.js → filesystem-fsvjw6z4.js} +9 -9
- package/dist/chunks/{project-4nj4bn9q.js → filesystem-fwwk8vbp.js} +9 -9
- package/dist/chunks/{project-cfe20eds.js → filesystem-fxbx2n37.js} +37 -37
- package/dist/chunks/{project-1p7n864c.js → filesystem-fxrszsqc.js} +11 -11
- package/dist/chunks/{project-8qcy0htb.js → filesystem-fyhjcypg.js} +18 -18
- package/dist/chunks/{project-vj6pvrjx.js → filesystem-fzrnca5p.js} +15 -15
- package/dist/chunks/{project-75jaekcr.js → filesystem-g4kgyb8v.js} +11 -11
- package/dist/chunks/{project-xfkkasph.js → filesystem-g5w8qwbj.js} +4 -4
- package/dist/chunks/{project-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{project-6ff1chsr.js → filesystem-gf17gtxz.js} +7 -7
- package/dist/chunks/{project-w2pcbqkp.js → filesystem-gv6xq7ga.js} +15 -15
- package/dist/chunks/{project-mbyaj28y.js → filesystem-gx4wbphy.js} +11 -11
- package/dist/chunks/{project-fhyvd2gy.js → filesystem-gz5xbxw7.js} +10 -10
- package/dist/chunks/{project-7qsxr85g.js → filesystem-h125g6et.js} +5 -5
- package/dist/chunks/{project-pc1ceyb2.js → filesystem-h1g26gxa.js} +18 -18
- package/dist/chunks/{project-h2b79v29.js → filesystem-h2b79v29.js} +2 -2
- package/dist/chunks/{project-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{project-8csc1nsx.js → filesystem-h9g3g433.js} +37 -37
- package/dist/chunks/{project-dk8vvftc.js → filesystem-hbayhptd.js} +45 -45
- package/dist/chunks/{project-42m6612h.js → filesystem-hrd6cbb0.js} +32 -32
- package/dist/chunks/{project-q6tfvhth.js → filesystem-hrs77wz1.js} +25 -25
- package/dist/chunks/{project-4rpaxna5.js → filesystem-hz0mfcnp.js} +5 -5
- package/dist/chunks/{project-yts3es8x.js → filesystem-hz0q9sdq.js} +8 -8
- package/dist/chunks/{project-7vfqg2m6.js → filesystem-j4gdhs7y.js} +9 -9
- package/dist/chunks/{project-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{project-nsf1s7g5.js → filesystem-j8k5ysy1.js} +25 -25
- package/dist/chunks/{project-ffgyggc9.js → filesystem-jgqxxj2j.js} +14 -14
- package/dist/chunks/{project-ax7s5mjd.js → filesystem-jp81aqv7.js} +35 -35
- package/dist/chunks/{project-tsnsfvej.js → filesystem-jvnkzp89.js} +11 -11
- package/dist/chunks/{project-0kese7nx.js → filesystem-k5d6ggnk.js} +15 -15
- package/dist/chunks/{project-5tcm9639.js → filesystem-k70p9jzb.js} +9 -9
- package/dist/chunks/{project-s942n1t7.js → filesystem-kjfdeayr.js} +8 -8
- package/dist/chunks/{project-stzwavqr.js → filesystem-kwjc5r28.js} +4 -4
- package/dist/chunks/{project-qea2dqvn.js → filesystem-kwqjewqr.js} +90 -90
- package/dist/chunks/{project-xvynetsd.js → filesystem-kzarbxz4.js} +33 -33
- package/dist/chunks/{project-m3fdjcah.js → filesystem-m3fdjcah.js} +1 -1
- package/dist/chunks/{project-vd0txp44.js → filesystem-m4fxjmpc.js} +9 -9
- package/dist/chunks/{project-aaw70874.js → filesystem-m7a2mh30.js} +24 -24
- package/dist/chunks/{project-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{project-6m42r3np.js → filesystem-mjymc32g.js} +21 -21
- package/dist/chunks/{project-r8d2cy4x.js → filesystem-msp0qmja.js} +11 -11
- package/dist/chunks/{project-pmtp81qh.js → filesystem-mv8b8kps.js} +6 -6
- package/dist/chunks/{project-1rn5pcm9.js → filesystem-n1n192bv.js} +4 -4
- package/dist/chunks/{project-p9s7h7fz.js → filesystem-n3ryxqmw.js} +11 -11
- package/dist/chunks/{project-p635cpcm.js → filesystem-nkbqs3g6.js} +8 -8
- package/dist/chunks/{project-166t37eg.js → filesystem-nn8fb7t6.js} +11 -11
- package/dist/chunks/{project-rhzk7vne.js → filesystem-nqxj0yn4.js} +2 -2
- package/dist/chunks/{project-mgyamy9f.js → filesystem-nrrs8pkn.js} +15 -15
- package/dist/chunks/{project-xp3fh2h7.js → filesystem-ns3eape4.js} +1 -1
- package/dist/chunks/{project-nta5q4rv.js → filesystem-p1qa6xf0.js} +5 -5
- package/dist/chunks/{project-q4ywzs9a.js → filesystem-p8ssyvcj.js} +29 -29
- package/dist/chunks/{project-abn7vjp9.js → filesystem-pbt1jtcc.js} +3 -3
- package/dist/chunks/{project-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{project-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{project-d1qd7wjw.js → filesystem-pkrc5xvy.js} +28 -28
- package/dist/chunks/{project-vkrsgtnq.js → filesystem-pm8b6h9m.js} +18 -18
- package/dist/chunks/{project-6myr9842.js → filesystem-pn1pz4vq.js} +17 -17
- package/dist/chunks/{project-g420gf6v.js → filesystem-ps5mjhzb.js} +17 -17
- package/dist/chunks/{project-h4tn8bjr.js → filesystem-ptnpxtm5.js} +24 -24
- package/dist/chunks/{project-jrtd54vp.js → filesystem-pv8gv9eh.js} +30 -30
- package/dist/chunks/{project-mq617yme.js → filesystem-py70tdg1.js} +3 -3
- package/dist/chunks/filesystem-q0w5zgnd.js +26 -0
- package/dist/chunks/{project-0j77ygfz.js → filesystem-q0xm7vwc.js} +6 -6
- package/dist/chunks/{project-7kd5xmch.js → filesystem-q9tf20sz.js} +9 -9
- package/dist/chunks/{project-nb9p6b26.js → filesystem-qbqbaz6q.js} +4 -4
- package/dist/chunks/{project-c1cxvgkt.js → filesystem-qhrb4a35.js} +20 -20
- package/dist/chunks/{project-gjwgx2c5.js → filesystem-qmqgtz8f.js} +5 -5
- package/dist/chunks/{project-qnc92qwc.js → filesystem-qnc92qwc.js} +1 -1
- package/dist/chunks/{project-w2nrxxat.js → filesystem-qpb5c1z6.js} +18 -18
- package/dist/chunks/{project-8n2r44zp.js → filesystem-qr2vfm7c.js} +20 -20
- package/dist/chunks/{project-td738cjg.js → filesystem-qrn3jd90.js} +54 -54
- package/dist/chunks/{project-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{project-qxjc9qry.js → filesystem-qxjc9qry.js} +3 -3
- package/dist/chunks/{project-94s48bjb.js → filesystem-r2jew814.js} +5 -5
- package/dist/chunks/{project-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/filesystem-rswcn97f.js +253 -0
- package/dist/chunks/{project-tscav28z.js → filesystem-s7j8m5w2.js} +15 -15
- package/dist/chunks/{project-0gdmqesm.js → filesystem-s8d7rejh.js} +4 -4
- package/dist/chunks/{project-9fcs2y6e.js → filesystem-scqv88yq.js} +39 -39
- package/dist/chunks/{project-ne0py0s3.js → filesystem-sew9t773.js} +22 -22
- package/dist/chunks/{project-yewzvha6.js → filesystem-snf1tfdw.js} +9 -9
- package/dist/chunks/{project-r7n4y60x.js → filesystem-ssxp0zwz.js} +4 -4
- package/dist/chunks/{project-bxjtaqyz.js → filesystem-t2haz5gh.js} +34 -34
- package/dist/chunks/{project-qa3qhgw8.js → filesystem-t6vsspdg.js} +7 -7
- package/dist/chunks/{project-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{project-tcezcvh9.js → filesystem-tcezcvh9.js} +1 -1
- package/dist/chunks/{project-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{project-sr3mnf59.js → filesystem-thsy2857.js} +5 -5
- package/dist/chunks/{project-c4q4rq6b.js → filesystem-tk8x1hm1.js} +17 -17
- package/dist/chunks/{project-g3xvjae6.js → filesystem-tqhhq86f.js} +11 -11
- package/dist/chunks/{project-71e56rh2.js → filesystem-ts1v98fg.js} +28 -28
- package/dist/chunks/{project-61c20ghg.js → filesystem-ts3jh11f.js} +11 -11
- package/dist/chunks/{project-fpecnkgp.js → filesystem-v0es1rhs.js} +9 -9
- package/dist/chunks/{project-atqk1701.js → filesystem-v15jgdj5.js} +86 -86
- package/dist/chunks/{project-k8xqve87.js → filesystem-v9wwnm74.js} +16 -16
- package/dist/chunks/{project-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{project-rzs3gq0x.js → filesystem-vgx6weyf.js} +8 -8
- package/dist/chunks/{project-mtq4knsz.js → filesystem-vr5k2d26.js} +1 -1
- package/dist/chunks/{project-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/{project-pkhz18nb.js → filesystem-vzjemywg.js} +20 -20
- package/dist/chunks/{project-vzs5sf6e.js → filesystem-vzs5sf6e.js} +1 -1
- package/dist/chunks/{project-84txncab.js → filesystem-w1eejvng.js} +5 -5
- package/dist/chunks/{project-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{project-9sdstft4.js → filesystem-w69xzprf.js} +18 -18
- package/dist/chunks/{project-dvep9rg9.js → filesystem-w8djw5a7.js} +9 -9
- package/dist/chunks/{project-dsp8qnq1.js → filesystem-wbg99yep.js} +36 -36
- package/dist/chunks/{project-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{project-6yz0wx8n.js → filesystem-wh6zw745.js} +5 -5
- package/dist/chunks/{project-6e2q8wvg.js → filesystem-wk58j6tm.js} +25 -25
- package/dist/chunks/{project-87apjqaq.js → filesystem-wmn0mqt9.js} +5 -5
- package/dist/chunks/{project-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
- package/dist/chunks/{project-f8wgfp93.js → filesystem-xen5jtsa.js} +1 -1
- package/dist/chunks/{project-xkntkrq7.js → filesystem-xkntkrq7.js} +2 -2
- package/dist/chunks/{project-zr7tj41s.js → filesystem-xn8gay62.js} +16 -16
- package/dist/chunks/{project-gkyqt8nk.js → filesystem-xt1atnrg.js} +3 -3
- package/dist/chunks/{project-k3cfyzjf.js → filesystem-y0cyrr97.js} +9 -9
- package/dist/chunks/{project-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{project-ct2kgy10.js → filesystem-yb9gdvbw.js} +35 -35
- package/dist/chunks/{project-dwjzkwmt.js → filesystem-ym8tb199.js} +15 -15
- package/dist/chunks/{project-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
- package/dist/chunks/{project-me9x40rz.js → filesystem-yvxbrs33.js} +9 -9
- package/dist/chunks/{project-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{project-febwrgts.js → filesystem-z850ddpp.js} +26 -26
- package/dist/chunks/{project-06qe0s6s.js → filesystem-z9gshpcf.js} +33 -33
- package/dist/chunks/{project-r44petzp.js → filesystem-zc5g640q.js} +12 -12
- package/dist/chunks/{project-ckt5by18.js → filesystem-zfd6e9bj.js} +12 -12
- package/dist/chunks/{project-wqxhcm17.js → filesystem-zfs8ae4p.js} +4 -4
- package/dist/chunks/{project-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{project-dn9p4qfh.js → filesystem-zrh84zxt.js} +14 -14
- package/dist/chunks/{project-px0b9yqh.js → filesystem-zt3hkk6n.js} +23 -23
- package/dist/chunks/{project-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- package/dist/chunks/{project-b3f8fkhc.js → filesystem-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +91 -91
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +94 -94
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- 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 +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/project-9sh4wc5j.js +0 -18
- package/dist/chunks/project-c1tn7rx7.js +0 -253
- package/dist/chunks/project-mz9v6fn6.js +0 -26
- /package/dist/chunks/{project-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{project-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{project-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{project-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{project-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{project-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{project-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{project-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{project-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{project-34c7v6d4.js → filesystem-34c7v6d4.js} +0 -0
- /package/dist/chunks/{project-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{project-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{project-3t0ybcrp.js → filesystem-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{project-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{project-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{project-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{project-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{project-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{project-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{project-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{project-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{project-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{project-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{project-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{project-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{project-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{project-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{project-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{project-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{project-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{project-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{project-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{project-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{project-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{project-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{project-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{project-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{project-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{project-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{project-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{project-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{project-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{project-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{project-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{project-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{project-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{project-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{project-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{project-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{project-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{project-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{project-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{project-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{project-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{project-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{project-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{project-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{project-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{project-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{project-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{project-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{project-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{project-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{project-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{project-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{project-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{project-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{project-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{project-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{project-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{project-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{project-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{project-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{project-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{project-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{project-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{project-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{project-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{project-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{project-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{project-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{project-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{project-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{project-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{project-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{project-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{project-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{project-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{project-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{project-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{project-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{project-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{project-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{project-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{project-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{project-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID11,
|
|
3
|
+
Info19,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-arz7hw7x.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-py70tdg1.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-73tar9qe.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service81,
|
|
20
|
+
node85
|
|
21
|
+
} from "./filesystem-3xy3xwp7.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service49,
|
|
24
|
+
node51
|
|
25
|
+
} from "./filesystem-c8bydgjz.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./filesystem-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./filesystem-9e5bzkjp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node49
|
|
34
|
+
} from "./filesystem-dxn0tv1e.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./filesystem-zfs8ae4p.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./filesystem-s7j8m5w2.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./filesystem-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node37
|
|
47
|
+
} from "./filesystem-dwetzd9n.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node54
|
|
51
|
+
} from "./filesystem-2kn5e7ew.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError8,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./filesystem-snf1tfdw.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput5,
|
|
67
|
+
Service66,
|
|
68
|
+
node69
|
|
69
|
+
} from "./filesystem-xn8gay62.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service63,
|
|
72
|
+
node66
|
|
73
|
+
} from "./filesystem-jgqxxj2j.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service45,
|
|
76
|
+
node48
|
|
77
|
+
} from "./filesystem-9q4c8q0k.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./filesystem-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service36,
|
|
83
|
+
node40
|
|
84
|
+
} from "./filesystem-g4kgyb8v.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./filesystem-v9wwnm74.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./filesystem-64mvex4m.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service79,
|
|
93
|
+
node83
|
|
94
|
+
} from "./filesystem-j4gdhs7y.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service31,
|
|
100
|
+
node34
|
|
101
|
+
} from "./filesystem-qrn3jd90.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service55,
|
|
104
|
+
node58
|
|
105
|
+
} from "./filesystem-vgx6weyf.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
make14
|
|
108
|
+
} from "./filesystem-z9gshpcf.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./filesystem-fxrszsqc.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID11,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info19,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError8,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service30,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node33
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var ListInput3 =
|
|
152
|
-
class
|
|
151
|
+
var ListInput3 = ListInput5;
|
|
152
|
+
class Service30 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service83;
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
159
|
+
const projects = yield* Service81;
|
|
160
|
+
const execution = yield* Service45;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
162
|
+
const transport = yield* Service36;
|
|
163
|
+
const store = yield* Service66;
|
|
164
|
+
const instances = yield* Service49;
|
|
165
|
+
const moves = yield* Service31;
|
|
166
|
+
const jobs = yield* Service63;
|
|
167
|
+
const environments = yield* Service55;
|
|
168
|
+
const locations = yield* Service79;
|
|
169
|
+
const sessions = yield* make14();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service30.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError8({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service49, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node33 = Node.makeGlobalNode({
|
|
331
|
+
service: Service30,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
+
node66,
|
|
334
335
|
node58,
|
|
335
|
-
node40,
|
|
336
336
|
node88,
|
|
337
337
|
node87,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
338
|
+
node85,
|
|
339
|
+
node48,
|
|
340
|
+
node40,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
342
|
+
node69,
|
|
343
|
+
node51,
|
|
344
|
+
node49,
|
|
345
|
+
node34,
|
|
346
|
+
node37,
|
|
347
|
+
node83,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node54
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2, ListInput3,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service30, node33, exports_session };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node54
|
|
5
|
+
} from "./filesystem-2kn5e7ew.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-n1n192bv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service68,
|
|
12
|
+
node71
|
|
13
|
+
} from "./filesystem-4a0nv7mx.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-6nqryyh5.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-zrh84zxt.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error4
|
|
22
|
+
} from "./filesystem-ptnpxtm5.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service36,
|
|
28
|
+
node40
|
|
29
|
+
} from "./filesystem-g4kgyb8v.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make16
|
|
32
|
+
} from "./filesystem-g5w8qwbj.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./filesystem-ns3eape4.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service35,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer13,
|
|
48
|
+
node: () => node39,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
|
|
|
82
82
|
return {
|
|
83
83
|
providerMetadataKey,
|
|
84
84
|
system: [
|
|
85
|
-
input.agent.system ? input.agent.system :
|
|
85
|
+
input.agent.system ? input.agent.system : make16(input.tools.definitions.map((tool) => tool.name)),
|
|
86
86
|
input.initial
|
|
87
87
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
88
88
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -151,11 +151,11 @@ var boundImages2 = (messages) => {
|
|
|
151
151
|
});
|
|
152
152
|
};
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service35 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const hooks = yield*
|
|
158
|
-
const transport = yield*
|
|
156
|
+
var layer13 = Layer.effect(Service35, Effect.gen(function* () {
|
|
157
|
+
const hooks = yield* Service68;
|
|
158
|
+
const transport = yield* Service36;
|
|
159
159
|
const app = yield* Metadata2;
|
|
160
160
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
161
161
|
const session = input.session;
|
|
@@ -163,7 +163,7 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
163
163
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
164
164
|
const tools = input.tools ?? {
|
|
165
165
|
definitions: [],
|
|
166
|
-
execute: () => new
|
|
166
|
+
execute: () => new Error4({ message: "Tools are not available for this request" })
|
|
167
167
|
};
|
|
168
168
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
169
169
|
const shaped = yield* shape({
|
|
@@ -260,17 +260,17 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
260
260
|
};
|
|
261
261
|
});
|
|
262
262
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
263
|
-
return
|
|
263
|
+
return Service35.of({
|
|
264
264
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
265
265
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
266
266
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
267
267
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
268
268
|
});
|
|
269
269
|
}));
|
|
270
|
-
var
|
|
271
|
-
service:
|
|
272
|
-
layer:
|
|
273
|
-
deps: [
|
|
270
|
+
var node39 = makeLocationNode({
|
|
271
|
+
service: Service35,
|
|
272
|
+
layer: layer13,
|
|
273
|
+
deps: [node71, node40, node54]
|
|
274
274
|
});
|
|
275
275
|
|
|
276
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
276
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service35, layer13, node39, exports_model_request };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-2kn5e7ew.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin38,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin38 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin16 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin16 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin38, exports_firecrawl };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-73tar9qe.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
|
+
Event: () => Event16,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info20,
|
|
19
|
+
NotFoundError: () => NotFoundError9,
|
|
20
|
+
Service: () => Service69,
|
|
21
|
+
layer: () => layer24,
|
|
22
|
+
node: () => node72
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event16 } from "@opencode/schema/command";
|
|
28
|
+
var Info20 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError9 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service69 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer24 = Layer.effect(Service69, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer19 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info20.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service69.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer19 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError9({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node72 = makeLocationNode({
|
|
75
|
+
service: Service69,
|
|
76
|
+
layer: layer24,
|
|
77
77
|
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info20, NotFoundError9, ExecutionError2, Service69, layer24, node72, exports_command5, Event16 };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
|
+
Info: () => Info11,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule2
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule2),
|
|
20
|
+
edit: Schema.optional(Rule2),
|
|
21
|
+
glob: Schema.optional(Rule2),
|
|
22
|
+
grep: Schema.optional(Rule2),
|
|
23
|
+
list: Schema.optional(Rule2),
|
|
24
|
+
bash: Schema.optional(Rule2),
|
|
25
|
+
task: Schema.optional(Rule2),
|
|
26
|
+
external_directory: Schema.optional(Rule2),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule2),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule2),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule2)
|
|
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 Info11 = 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,
|
|
41
|
+
export { Action2, Object2, Rule2, Info11, exports_permission };
|