@opencode/core 0.0.0-dev-20066 → 0.0.0-dev-20068
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 +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{file-am6bd3dm.js → schema-04t6vhh2.js} +11 -11
- package/dist/chunks/{file-bbme6enf.js → schema-0ak0g8qp.js} +3 -3
- package/dist/chunks/{file-8fkqwjdd.js → schema-0eppds2k.js} +9 -9
- package/dist/chunks/schema-0et57d8k.js +252 -0
- package/dist/chunks/{file-kxpygcw9.js → schema-0ft9cg2j.js} +4 -4
- package/dist/chunks/{file-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-qx11y599.js → schema-0wddnwfq.js} +20 -20
- package/dist/chunks/{file-rz7a4p9d.js → schema-1365j5nm.js} +13 -13
- package/dist/chunks/{file-97w5rk9e.js → schema-15nepkqg.js} +8 -8
- package/dist/chunks/{file-czfptnv9.js → schema-1ajx6rf5.js} +8 -8
- package/dist/chunks/{file-bda1vq26.js → schema-1brzvxsn.js} +8 -8
- package/dist/chunks/{file-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-gyk2hwcy.js → schema-1fgq5ex7.js} +30 -30
- package/dist/chunks/{file-ydgy0jv4.js → schema-1fmrbde1.js} +6 -6
- package/dist/chunks/{file-z36jzmxf.js → schema-1rd6czrg.js} +4 -4
- package/dist/chunks/{file-t4g7br61.js → schema-21kk9ey9.js} +2 -2
- package/dist/chunks/{file-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{file-dwrwq0kr.js → schema-21xm8fz3.js} +7 -7
- package/dist/chunks/{file-5vg5mx5r.js → schema-22y0n5cd.js} +11 -11
- package/dist/chunks/{file-p9g2yd2c.js → schema-23sw09pj.js} +5 -5
- package/dist/chunks/{file-2402vzrj.js → schema-2402vzrj.js} +1 -1
- package/dist/chunks/{file-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-ba4w6g48.js → schema-2gv5qy1y.js} +12 -12
- package/dist/chunks/{file-tnt1t2kr.js → schema-2krp1dn7.js} +11 -11
- package/dist/chunks/{file-nbm66a7c.js → schema-2s9emtnm.js} +17 -17
- package/dist/chunks/{file-rsx24g7m.js → schema-2xanj3y6.js} +21 -21
- package/dist/chunks/{file-xvs8r2xn.js → schema-32ngwk73.js} +17 -17
- package/dist/chunks/{file-n7e5sdch.js → schema-3djsbczj.js} +4 -4
- package/dist/chunks/{file-j8zzr2am.js → schema-3e147rt9.js} +7 -7
- package/dist/chunks/{file-6nz9a8mm.js → schema-3e5hztjw.js} +4 -4
- package/dist/chunks/{file-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-7qhbze1a.js → schema-3n6q8bv2.js} +15 -15
- package/dist/chunks/{file-2nnkyhgj.js → schema-3pgqp7v9.js} +4 -4
- package/dist/chunks/{file-h4z1mxff.js → schema-3qaj82j9.js} +5 -5
- package/dist/chunks/{file-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-qxqnn5g6.js → schema-43vj5j1g.js} +8 -8
- package/dist/chunks/{file-nkxenpss.js → schema-4cmte46y.js} +6 -6
- package/dist/chunks/{file-sqjb59je.js → schema-4etra8x0.js} +11 -11
- package/dist/chunks/{file-p1k7cjr6.js → schema-4g0aw377.js} +11 -11
- package/dist/chunks/{file-pxs200gq.js → schema-4m11sss1.js} +29 -29
- package/dist/chunks/{file-bkj6m2b4.js → schema-4p60s6mc.js} +79 -79
- package/dist/chunks/{file-ttf98hsm.js → schema-4pe5mkqw.js} +13 -13
- package/dist/chunks/{file-sr7es49j.js → schema-4pkmhnfb.js} +12 -12
- package/dist/chunks/{file-q4sh3est.js → schema-4r89mkx8.js} +9 -9
- package/dist/chunks/{file-y7xgn7p7.js → schema-4tzv48n0.js} +27 -27
- package/dist/chunks/{file-j551d5nt.js → schema-4xstzax4.js} +17 -17
- package/dist/chunks/{file-ezshsjxy.js → schema-51dx2b5g.js} +13 -13
- package/dist/chunks/{file-56dkfrzf.js → schema-53fyba40.js} +4 -4
- package/dist/chunks/{file-dkhsgy42.js → schema-57b9ws8p.js} +7 -7
- package/dist/chunks/{file-57ez7d0k.js → schema-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-pxt4kznk.js → schema-5cmxdwv8.js} +3 -3
- package/dist/chunks/{file-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{file-5ekn9679.js → schema-5ekn9679.js} +1 -1
- package/dist/chunks/{file-d6mxctwy.js → schema-5p1sgbr7.js} +9 -9
- package/dist/chunks/{file-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-68y7phbn.js → schema-607q5haz.js} +5 -5
- package/dist/chunks/{file-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{file-fvx3366n.js → schema-6a6hn4p4.js} +13 -13
- package/dist/chunks/{file-0qjcdq53.js → schema-6htx4nwr.js} +14 -14
- package/dist/chunks/{file-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-f5gy8qwh.js → schema-6ysrkrkr.js} +8 -8
- package/dist/chunks/{file-4cxjs54m.js → schema-71g12y8g.js} +4 -4
- package/dist/chunks/{file-9s342vhy.js → schema-750bqw08.js} +16 -16
- package/dist/chunks/{file-wtfahf6y.js → schema-798v7mfg.js} +17 -17
- package/dist/chunks/{file-55bva0cb.js → schema-79y3jrde.js} +20 -20
- package/dist/chunks/{file-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-kas5k1as.js → schema-7mqqegap.js} +7 -7
- package/dist/chunks/{file-kjqsq5n4.js → schema-8349yjnv.js} +15 -15
- package/dist/chunks/{file-z99t6cgy.js → schema-84s1vm7q.js} +11 -11
- package/dist/chunks/{file-k475yrwb.js → schema-854y6ept.js} +34 -34
- package/dist/chunks/{file-0dv41atz.js → schema-86n5f4j7.js} +6 -6
- package/dist/chunks/{file-1gdesbhr.js → schema-8a9kwrve.js} +25 -25
- package/dist/chunks/{file-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-2qsg2f9e.js → schema-8qmjzw20.js} +16 -16
- package/dist/chunks/{file-gfvb90ym.js → schema-94ek1h2f.js} +2 -2
- package/dist/chunks/{file-9rn8m20s.js → schema-99249730.js} +1 -1
- package/dist/chunks/{file-1dn8ht41.js → schema-99647hmk.js} +32 -32
- package/dist/chunks/{file-xqyrxn4h.js → schema-9jm5k1pc.js} +8 -8
- package/dist/chunks/{file-4ecq8z8w.js → schema-9jn1v8n4.js} +9 -9
- package/dist/chunks/{file-pyj3yp56.js → schema-9n8ak2h1.js} +4 -4
- package/dist/chunks/{file-b8v9yxrh.js → schema-a1w0bh0r.js} +33 -33
- package/dist/chunks/{file-pn3cc07s.js → schema-a2qe2ev9.js} +8 -8
- package/dist/chunks/{file-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{file-vywjjxxp.js → schema-azejft3h.js} +20 -20
- package/dist/chunks/{file-vh6m29va.js → schema-azgx1nga.js} +19 -19
- package/dist/chunks/{file-r811hg4m.js → schema-b26at605.js} +11 -11
- package/dist/chunks/{file-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-6vbjy3nf.js → schema-b74jhqyh.js} +28 -28
- package/dist/chunks/{file-1e6560a0.js → schema-bc8ybda4.js} +9 -9
- package/dist/chunks/{file-c6dyb1r1.js → schema-bfsvxfz0.js} +29 -29
- package/dist/chunks/{file-vj0mxn79.js → schema-bkk1ay02.js} +11 -11
- package/dist/chunks/{file-pp4c4k8z.js → schema-bq4g5957.js} +4 -4
- package/dist/chunks/{file-30stdhmk.js → schema-bttjrvqw.js} +22 -22
- package/dist/chunks/{file-rhc6bd81.js → schema-bxav69s2.js} +18 -18
- package/dist/chunks/{file-71jq3e50.js → schema-c0knr1es.js} +14 -14
- package/dist/chunks/{file-1gsxrzjh.js → schema-c21zn749.js} +14 -14
- package/dist/chunks/{file-wwpqqed2.js → schema-c3whs05w.js} +3 -3
- package/dist/chunks/{file-3tpvs2ax.js → schema-c99cqkw7.js} +24 -24
- package/dist/chunks/{file-stvehstt.js → schema-cbmy1d4v.js} +5 -5
- package/dist/chunks/{file-54tcyq79.js → schema-ckecvw8r.js} +2 -2
- package/dist/chunks/{file-5mtzsd3b.js → schema-cpj0znwe.js} +4 -4
- package/dist/chunks/{file-nnvbrnj9.js → schema-cvcncckx.js} +33 -33
- package/dist/chunks/{file-afae926q.js → schema-cvekkaw8.js} +8 -8
- package/dist/chunks/{file-myqzkpm0.js → schema-d08f925z.js} +5 -5
- package/dist/chunks/{file-dvvawg7j.js → schema-d0jrvpgb.js} +29 -29
- package/dist/chunks/{file-g4nzdvdr.js → schema-d0wejq28.js} +3 -3
- package/dist/chunks/{file-pfq1ksym.js → schema-d9wzmzc3.js} +5 -5
- package/dist/chunks/{file-ysyhm521.js → schema-dgb7xf30.js} +21 -21
- package/dist/chunks/{file-gjwgx2c5.js → schema-djszqvmq.js} +9 -9
- package/dist/chunks/{file-dpkg50ah.js → schema-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-605v3z54.js → schema-dq5ym5fs.js} +35 -35
- package/dist/chunks/{file-bbashmg5.js → schema-dtnx79zk.js} +24 -24
- package/dist/chunks/{file-f2q0nfy3.js → schema-dvgd3rha.js} +3 -3
- package/dist/chunks/{file-6vcgy8rt.js → schema-dwpj3xc6.js} +11 -11
- package/dist/chunks/{file-rvgdez9r.js → schema-dx61neqa.js} +20 -20
- package/dist/chunks/schema-dxj72tfx.js +18 -0
- package/dist/chunks/{file-80jpmz44.js → schema-e89kpxws.js} +11 -11
- package/dist/chunks/{file-azgavcp7.js → schema-e8f8pgjf.js} +23 -23
- package/dist/chunks/{file-zfx41g5b.js → schema-e9k66s6p.js} +5 -5
- package/dist/chunks/{file-0gdmqesm.js → schema-eaj1djv9.js} +8 -8
- package/dist/chunks/{file-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-qr7ng78v.js → schema-egc3yevh.js} +12 -12
- package/dist/chunks/{file-erw5rpbs.js → schema-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-dyyp5385.js → schema-ev08srva.js} +15 -15
- package/dist/chunks/{file-tn0aqsam.js → schema-evbgk2k8.js} +5 -5
- package/dist/chunks/{file-c3xqhexw.js → schema-ey28dp55.js} +13 -13
- package/dist/chunks/{file-9kdq5cm5.js → schema-f5thdj5b.js} +44 -44
- package/dist/chunks/{file-ezy6at35.js → schema-f6p0q2g2.js} +15 -15
- package/dist/chunks/{file-awqs82k3.js → schema-f724bymh.js} +26 -26
- package/dist/chunks/{file-6ms7eb8z.js → schema-f9t32q2w.js} +7 -7
- package/dist/chunks/{file-cnrdk8yx.js → schema-feqe9m6b.js} +21 -21
- package/dist/chunks/{file-gv418ss3.js → schema-fnxsaa4j.js} +22 -22
- package/dist/chunks/{file-1dcnnnbr.js → schema-g17ae1qh.js} +3 -3
- package/dist/chunks/{file-z2n1er87.js → schema-g3mqb04e.js} +11 -11
- package/dist/chunks/{file-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-ja31eptw.js → schema-gdt8128r.js} +15 -15
- package/dist/chunks/{file-6p9d4jjd.js → schema-gs95kj1c.js} +21 -21
- package/dist/chunks/{file-8exbv5ee.js → schema-gsac5713.js} +23 -23
- package/dist/chunks/{file-pghyzkbc.js → schema-gsk7mn2e.js} +159 -159
- package/dist/chunks/{file-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/schema-hbecebtg.js +96 -0
- package/dist/chunks/{file-7f29k4yc.js → schema-hd6mtbc2.js} +1 -1
- package/dist/chunks/{file-st08tkdm.js → schema-hj3kzhjm.js} +17 -17
- package/dist/chunks/{file-whv1wwce.js → schema-hnc22933.js} +23 -23
- package/dist/chunks/{file-9kqy81kb.js → schema-hqtqhwxa.js} +11 -11
- package/dist/chunks/{file-hnc853s2.js → schema-hqztqa4w.js} +16 -16
- package/dist/chunks/{file-vf909yfy.js → schema-hwh6dse8.js} +20 -20
- package/dist/chunks/{file-4xep0k5d.js → schema-hxx1gems.js} +7 -7
- package/dist/chunks/{file-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{file-np95gk1g.js → schema-j7xxj57g.js} +5 -5
- package/dist/chunks/{file-d82rywaa.js → schema-jesqq2b8.js} +2 -2
- package/dist/chunks/{file-3j12ts0c.js → schema-jj43yjqp.js} +9 -9
- package/dist/chunks/{file-n35d2xk4.js → schema-jjs74g98.js} +9 -9
- package/dist/chunks/{file-9283747x.js → schema-jkq931gc.js} +17 -17
- package/dist/chunks/{file-hnr5yq9h.js → schema-jv01nqvq.js} +5 -5
- package/dist/chunks/{file-xw0r27ex.js → schema-jvf3yq6v.js} +4 -4
- package/dist/chunks/{file-a8bn8zg0.js → schema-jw80jp6b.js} +4 -4
- package/dist/chunks/{file-eqdkrvcq.js → schema-jwpzwwy6.js} +16 -16
- package/dist/chunks/{file-e4pvga2e.js → schema-jyrfr5z0.js} +3 -3
- package/dist/chunks/{file-nzks3jc8.js → schema-k3c624dm.js} +3 -3
- package/dist/chunks/{file-b710rs9d.js → schema-k3dr35yq.js} +6 -6
- package/dist/chunks/{file-y35sf2j4.js → schema-kb6gw2zp.js} +5 -5
- package/dist/chunks/{file-d36n6r0a.js → schema-ke47ra3q.js} +73 -67
- package/dist/chunks/{file-c7sdca4y.js → schema-ksngh15a.js} +13 -13
- package/dist/chunks/{file-r6yqkj2r.js → schema-kvb5pf0f.js} +7 -7
- package/dist/chunks/{file-a8zr1srk.js → schema-kwb80b5k.js} +5 -5
- package/dist/chunks/{file-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-r9njx374.js → schema-m8q517q3.js} +32 -32
- package/dist/chunks/{file-7g3edgp3.js → schema-m9dec5st.js} +30 -30
- package/dist/chunks/{file-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-nkstvzp1.js → schema-mff6ah6z.js} +52 -52
- package/dist/chunks/{file-rxgx23cf.js → schema-mfh2s9n9.js} +22 -22
- package/dist/chunks/{file-56gdpj1q.js → schema-mfqp6xfm.js} +6 -6
- package/dist/chunks/{file-j028xdjb.js → schema-mhkvc446.js} +3 -3
- package/dist/chunks/{file-j7ym9e45.js → schema-mksgfzgs.js} +3 -3
- package/dist/chunks/{file-7nthvdt2.js → schema-mtptma85.js} +18 -18
- package/dist/chunks/{file-3ppptnan.js → schema-mx9vqzsb.js} +6 -6
- package/dist/chunks/{file-yj7a9dsc.js → schema-n2rked60.js} +10 -10
- package/dist/chunks/{file-xrpg47n6.js → schema-n37c4crj.js} +9 -9
- package/dist/chunks/{file-0t2n07hj.js → schema-nbgtvmt2.js} +7 -7
- package/dist/chunks/{file-48b5k7kh.js → schema-ngaq65z3.js} +9 -9
- package/dist/chunks/{file-pyjj1jkz.js → schema-nkh7hwh6.js} +5 -5
- package/dist/chunks/{file-ezpe7cx6.js → schema-nrf9nkf4.js} +39 -39
- package/dist/chunks/{file-p44d8wdy.js → schema-nxhqveyz.js} +5 -5
- package/dist/chunks/{file-8rn5da1k.js → schema-p173zzzp.js} +69 -69
- package/dist/chunks/{file-dskjz5tz.js → schema-p70m8tan.js} +29 -29
- package/dist/chunks/schema-pemgqcj3.js +26 -0
- package/dist/chunks/{file-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{file-6vysq8xy.js → schema-pmrtsbw6.js} +18 -18
- package/dist/chunks/{file-28p9c2n7.js → schema-pxar5t5x.js} +27 -27
- package/dist/chunks/{file-yvt1qck6.js → schema-q1wd5bqe.js} +3 -3
- package/dist/chunks/{file-66pcvekw.js → schema-q23t71ky.js} +12 -12
- package/dist/chunks/{file-1cfhk7sn.js → schema-qf9g56f3.js} +40 -40
- package/dist/chunks/{file-7dqw4kz8.js → schema-qgn6gcr1.js} +5 -5
- package/dist/chunks/{file-rf9b2e2p.js → schema-qnn3verk.js} +9 -9
- package/dist/chunks/{file-n14ayrh8.js → schema-qpqjws28.js} +9 -9
- package/dist/chunks/{file-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{file-80eyc1fc.js → schema-qx20pxr4.js} +48 -48
- package/dist/chunks/{file-mys7ftvb.js → schema-r1t33gv4.js} +4 -4
- package/dist/chunks/{file-sfntmzm9.js → schema-r3c4069c.js} +1 -1
- package/dist/chunks/{file-bqgb4xv5.js → schema-rd930brt.js} +42 -42
- package/dist/chunks/{file-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-pr1vsgjy.js → schema-rk8hkmen.js} +33 -33
- package/dist/chunks/{file-r3rtvjkk.js → schema-rr1xtvmv.js} +40 -40
- package/dist/chunks/{file-3zt59cyk.js → schema-rs4ad808.js} +19 -19
- package/dist/chunks/{file-d2jkntah.js → schema-rtrqs7aw.js} +30 -30
- package/dist/chunks/{file-eebxfdqy.js → schema-s1n69xg5.js} +17 -17
- package/dist/chunks/{file-hvpdgzkp.js → schema-sgds5tk2.js} +5 -5
- package/dist/chunks/{file-rgy7ctyq.js → schema-spqcpneg.js} +6 -6
- package/dist/chunks/{file-q5xa8nqs.js → schema-stgrmxrp.js} +10 -10
- package/dist/chunks/{file-3ejevnbt.js → schema-stka8cwy.js} +26 -26
- package/dist/chunks/{file-qjrh95de.js → schema-szbdaj22.js} +4 -4
- package/dist/chunks/{file-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{file-3x5m1xpp.js → schema-tfw5vp5y.js} +3 -3
- package/dist/chunks/{file-b9k40ts2.js → schema-tfz8ht6g.js} +11 -11
- package/dist/chunks/{file-wj76ss2k.js → schema-tfzngn12.js} +4 -4
- package/dist/chunks/{file-cefeattc.js → schema-trgn506r.js} +10 -10
- package/dist/chunks/{file-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{file-44bd19a6.js → schema-twax0pxr.js} +23 -23
- package/dist/chunks/{file-zkknr3xm.js → schema-tyqw9b1a.js} +7 -7
- package/dist/chunks/{file-xv7de5q4.js → schema-v00q4dqv.js} +16 -16
- package/dist/chunks/{file-cbzqd5vv.js → schema-v53t4mb7.js} +11 -11
- package/dist/chunks/{file-a2ew8a62.js → schema-v5dkyp31.js} +4 -4
- package/dist/chunks/{file-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{file-rfkfgx1j.js → schema-vmgq4x8b.js} +2 -2
- package/dist/chunks/{file-c769d21z.js → schema-vmwh049b.js} +6 -6
- package/dist/chunks/{file-r98e92ep.js → schema-vncycja5.js} +4 -4
- package/dist/chunks/{file-28rjj3zm.js → schema-vt5nkxs5.js} +23 -23
- package/dist/chunks/{file-vtxr0yy2.js → schema-vtxr0yy2.js} +2 -2
- package/dist/chunks/{file-wb4z42q3.js → schema-vz4jg4k9.js} +8 -8
- package/dist/chunks/{file-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-67d2xr1y.js → schema-w9xbefsq.js} +13 -13
- package/dist/chunks/{file-psazpmmj.js → schema-wd3x2cqz.js} +2 -2
- package/dist/chunks/{file-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{file-g6qn7enb.js → schema-we5e1hqv.js} +5 -5
- package/dist/chunks/{file-xgtymt5b.js → schema-wfvmvx5v.js} +33 -33
- package/dist/chunks/{file-zsr300m5.js → schema-wq4mmp7m.js} +4 -4
- package/dist/chunks/{file-2gvhzvms.js → schema-wvm3e786.js} +5 -5
- package/dist/chunks/{file-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-rs94dpxv.js → schema-x21w7dsp.js} +25 -25
- package/dist/chunks/{file-e6hsj8k3.js → schema-x7pgzbrc.js} +13 -13
- package/dist/chunks/{file-g9nmy09s.js → schema-x98p3fja.js} +42 -42
- package/dist/chunks/{file-79c0cprn.js → schema-xa30xd5p.js} +20 -20
- package/dist/chunks/{file-zgy94vhr.js → schema-xbdvvged.js} +23 -23
- package/dist/chunks/{file-1fcrsx1q.js → schema-xbrnje9f.js} +8 -8
- package/dist/chunks/{file-9chhw8ab.js → schema-xfdrc2qg.js} +8 -8
- package/dist/chunks/{file-gvzpgxex.js → schema-xxxgmpnp.js} +3 -3
- package/dist/chunks/{file-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-bqxteh86.js → schema-y7c4883m.js} +68 -68
- package/dist/chunks/{file-cw09a6zt.js → schema-y8pznszf.js} +20 -20
- package/dist/chunks/{file-8q09v32k.js → schema-ya2xvy3r.js} +7 -7
- package/dist/chunks/{file-ykzphz33.js → schema-yb29xp2t.js} +12 -12
- package/dist/chunks/{file-w5aqd7mj.js → schema-yb3bnh53.js} +37 -37
- package/dist/chunks/{file-b3jd6nbe.js → schema-yme4tm39.js} +27 -27
- package/dist/chunks/{file-nxer0yad.js → schema-yp2x3t23.js} +4 -4
- package/dist/chunks/{file-8nm9s8sj.js → schema-yq6rdmt7.js} +7 -7
- package/dist/chunks/{file-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-yrznvahk.js → schema-yrznvahk.js} +2 -2
- package/dist/chunks/{file-tgrv3arn.js → schema-ywppm7yh.js} +28 -28
- package/dist/chunks/{file-rfdhm22r.js → schema-yyc7yft3.js} +15 -15
- package/dist/chunks/{file-bjtzbw4r.js → schema-z07pqspn.js} +3 -3
- package/dist/chunks/{file-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-z63w68vq.js → schema-z63w68vq.js} +2 -2
- package/dist/chunks/{file-2k1qvr7q.js → schema-z6970k62.js} +26 -26
- package/dist/chunks/{file-bfcbydry.js → schema-z6y9e2r8.js} +30 -30
- package/dist/chunks/{file-df7xe9tm.js → schema-z8p0mpvq.js} +20 -20
- package/dist/chunks/schema-z926abd4.js +4 -0
- package/dist/chunks/{file-w5rka97k.js → schema-zab19jja.js} +9 -9
- package/dist/chunks/{file-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-d8nc1xcx.js → schema-zj09a0ew.js} +4 -4
- package/dist/chunks/{file-xwm5pfwb.js → schema-zk4010xf.js} +8 -8
- package/dist/chunks/{file-53aen1mc.js → schema-zpfyxn6c.js} +24 -24
- package/dist/chunks/{file-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-ntzyjqd6.js → schema-zsnrp8c7.js} +313 -309
- package/dist/chunks/{file-e8qbhynk.js → schema-zx2f5h1h.js} +9 -9
- package/dist/chunks/{file-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- 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 +371 -370
- 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/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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +94 -94
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +124 -124
- 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 +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- 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 +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -351
- 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/warming.js +121 -121
- 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 +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- 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 +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- 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/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +218 -218
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- 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 +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- 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 +231 -231
- 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 +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +9 -9
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- 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 +121 -0
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/mcp/index.d.ts +4 -1
- package/dist/types/tool/plugin/mcp-resource.d.ts +9 -0
- 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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +83 -83
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/file-9zdhvgqs.js +0 -18
- package/dist/chunks/file-e96fckfm.js +0 -252
- package/dist/chunks/file-fdpm3vhs.js +0 -26
- package/dist/chunks/file-qtvmxc8s.js +0 -4
- /package/dist/chunks/{file-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → schema-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID6,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-4tzv48n0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service51
|
|
7
|
+
} from "./schema-rr1xtvmv.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-k3dr35yq.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -36,7 +36,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service51;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID6.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./schema-8a9kwrve.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./schema-mff6ah6z.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -50,16 +50,16 @@ var toModelContent7 = (questions, answers) => {
|
|
|
50
50
|
const formatted = questions.map((question, index) => `"${question.question}"="${answers[index]?.length ? answers[index].join(", ") : "Unanswered"}"`).join(", ");
|
|
51
51
|
return `User has answered your questions: ${formatted}. You can now continue with the user's answers in mind.`;
|
|
52
52
|
};
|
|
53
|
-
var
|
|
53
|
+
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service63;
|
|
57
|
+
const permission = yield* Service75;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-1rd6czrg.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-jesqq2b8.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service70,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node74
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service70 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
44
|
const location = yield* Service80;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service70.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node74 = makeLocationNode({ service: Service70, layer, deps: [node87, node84] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service70, node74, exports_rpc, define2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info12
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info12 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info18 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info12, exports_command5 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-5cmxdwv8.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-5cmxdwv8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError10,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
24
|
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError10 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError10, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info14
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info14 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info19 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info14, exports_skills };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-1rd6czrg.js";
|
|
5
5
|
import {
|
|
6
6
|
Service37,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node40
|
|
8
|
+
} from "./schema-ke47ra3q.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service75,
|
|
11
|
+
node79
|
|
12
|
+
} from "./schema-mff6ah6z.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service58,
|
|
15
|
+
node61
|
|
16
|
+
} from "./schema-zpfyxn6c.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
25
|
Service: () => Service36,
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
layer: () => layer15,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node39
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
38
|
class Service36 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
40
|
+
var layer15 = Layer.effect(Service36, Effect.gen(function* () {
|
|
41
41
|
const mcp = yield* Service37;
|
|
42
|
-
const tools = yield*
|
|
42
|
+
const tools = yield* Service58;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service75;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer14 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer14 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -120,10 +120,10 @@ var layer14 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
121
|
return Service36.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
123
|
+
var node39 = makeLocationNode({
|
|
124
124
|
service: Service36,
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
125
|
+
layer: layer15,
|
|
126
|
+
deps: [node61, node40, node87, node79]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service36, layer15, node39, exports_mcp3 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-g3mqb04e.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin21,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin21 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin33 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin33 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin21, exports_tavily };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options10,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service72,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node76,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve4
|
|
27
27
|
});
|
|
@@ -47,7 +47,7 @@ var Options10 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service72 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service72.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured11(options) {
|
|
210
|
+
return makeLocationNode({ service: Service72, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node76 = configured11();
|
|
213
213
|
|
|
214
|
-
export { Options10,
|
|
214
|
+
export { Options10, Service72, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured11, node76, exports_select };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./schema-p70m8tan.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|