@opencode/core 0.0.0-dev-20930 → 0.0.0-dev-20931
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{vcs-h3jhj2xa.js → integration-075r751x.js} +22 -22
- package/dist/chunks/{vcs-959n08kb.js → integration-0a5svcmh.js} +21 -21
- package/dist/chunks/{vcs-640qxpd1.js → integration-0f7d753h.js} +27 -27
- package/dist/chunks/{vcs-q0xm7vwc.js → integration-0j77ygfz.js} +6 -6
- package/dist/chunks/{vcs-82rhge12.js → integration-0jq9fyba.js} +9 -9
- package/dist/chunks/{vcs-g7rd7fyk.js → integration-0khr6rqs.js} +32 -32
- package/dist/chunks/{vcs-0emb60td.js → integration-0vbcp93d.js} +2 -2
- package/dist/chunks/{vcs-7zrk7djy.js → integration-0wz9q52x.js} +11 -11
- package/dist/chunks/{vcs-kb66r164.js → integration-1113as0s.js} +9 -9
- package/dist/chunks/{vcs-1vv4j6r1.js → integration-122em65s.js} +37 -37
- package/dist/chunks/{vcs-d688a3nx.js → integration-13frkkp2.js} +5 -5
- package/dist/chunks/{vcs-txm3e8qz.js → integration-1j6m29mr.js} +9 -9
- package/dist/chunks/{vcs-nxe4pcap.js → integration-1rn5pcm9.js} +4 -4
- package/dist/chunks/integration-1x11rq2a.js +18 -0
- package/dist/chunks/{vcs-q6yya7b3.js → integration-23kefcxh.js} +5 -5
- package/dist/chunks/{vcs-pp3afwvg.js → integration-2867kdp4.js} +34 -34
- package/dist/chunks/{vcs-4ts7tf6z.js → integration-2ccvkpx1.js} +2 -2
- package/dist/chunks/{vcs-ewkyd3xf.js → integration-2h81vr2k.js} +1 -1
- package/dist/chunks/{vcs-mz89zh3j.js → integration-2k9fjx65.js} +5 -5
- package/dist/chunks/{vcs-50x795jv.js → integration-2my82rfs.js} +14 -14
- package/dist/chunks/{vcs-prg9xvqw.js → integration-2n79kke4.js} +11 -11
- package/dist/chunks/{vcs-c07ssfks.js → integration-35b68s5f.js} +31 -31
- package/dist/chunks/{vcs-vjjaysxc.js → integration-35ja2k0w.js} +2 -2
- package/dist/chunks/{vcs-w5a76q94.js → integration-39yhh44v.js} +46 -46
- package/dist/chunks/{vcs-4tjr60b8.js → integration-3aqjt3pg.js} +5 -5
- package/dist/chunks/{vcs-j3k7xgch.js → integration-3cxe7pe8.js} +18 -18
- package/dist/chunks/{vcs-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-3hwn7j4h.js → integration-3hwn7j4h.js} +2 -2
- package/dist/chunks/{vcs-zh36sqcy.js → integration-3qbrybdc.js} +32 -32
- package/dist/chunks/{vcs-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-0nx0j33j.js → integration-3wemrpgf.js} +18 -18
- package/dist/chunks/{vcs-3zsf4n22.js → integration-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-zwjz4pbc.js → integration-46523z4v.js} +3 -3
- package/dist/chunks/{vcs-ffjarpe8.js → integration-4e0ywfbv.js} +4 -4
- package/dist/chunks/{vcs-2p0vx0df.js → integration-4f5ba015.js} +20 -20
- package/dist/chunks/{vcs-7t1q934f.js → integration-4n721j5p.js} +10 -10
- package/dist/chunks/{vcs-31z5wm9z.js → integration-4p54rqs4.js} +13 -13
- package/dist/chunks/{vcs-sfsey46c.js → integration-4x42dj42.js} +22 -22
- package/dist/chunks/{vcs-jqrmqyhf.js → integration-4y2z14sc.js} +3 -3
- package/dist/chunks/{vcs-gw8g3a8n.js → integration-52gk8ct8.js} +29 -29
- package/dist/chunks/{vcs-54ma36ye.js → integration-54ma36ye.js} +1 -1
- package/dist/chunks/{vcs-5m9w47nd.js → integration-5m9w47nd.js} +1 -1
- package/dist/chunks/{vcs-trtty4av.js → integration-5vaf1r8z.js} +21 -21
- package/dist/chunks/{vcs-h4txjgx3.js → integration-61tfqrb2.js} +21 -21
- package/dist/chunks/{vcs-ymsb3n01.js → integration-63km2k09.js} +14 -14
- package/dist/chunks/{vcs-6xcvt31d.js → integration-68wqtz75.js} +1 -1
- package/dist/chunks/{vcs-jwa44fjy.js → integration-6erg9bqb.js} +22 -22
- package/dist/chunks/{vcs-p6p0ds8a.js → integration-6gwzkkk2.js} +4 -4
- package/dist/chunks/{vcs-z67m2mck.js → integration-6vmt69ah.js} +6 -6
- package/dist/chunks/{vcs-mx61yyya.js → integration-6w5czgjy.js} +35 -35
- package/dist/chunks/{vcs-6xb47vfp.js → integration-6xb47vfp.js} +1 -1
- package/dist/chunks/{vcs-qwhbyzhp.js → integration-742a0vbq.js} +11 -11
- package/dist/chunks/{vcs-775gj3j1.js → integration-775gj3j1.js} +2 -2
- package/dist/chunks/{vcs-em3yhwbg.js → integration-7b9jrt6y.js} +17 -17
- package/dist/chunks/{vcs-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-z7k5sp21.js → integration-7f125cag.js} +24 -24
- package/dist/chunks/{vcs-2haft7pr.js → integration-7kphep4n.js} +7 -7
- package/dist/chunks/{vcs-8aaqm6qj.js → integration-7rwqf82v.js} +8 -8
- package/dist/chunks/{vcs-3ag8ase7.js → integration-7scdz1wy.js} +9 -9
- package/dist/chunks/{vcs-x04y3h7q.js → integration-7zcs5bwm.js} +23 -23
- package/dist/chunks/{vcs-1y283654.js → integration-80scg3y3.js} +4 -4
- package/dist/chunks/{vcs-84txncab.js → integration-84txncab.js} +1 -1
- package/dist/chunks/{vcs-6qtegkg3.js → integration-86qjnnqk.js} +11 -11
- package/dist/chunks/{vcs-hyr8tqae.js → integration-8gkj0cby.js} +24 -24
- package/dist/chunks/{vcs-e65qf95s.js → integration-8gn5005p.js} +22 -22
- package/dist/chunks/{vcs-jjwt9gb5.js → integration-8hxtpvs0.js} +9 -9
- package/dist/chunks/{vcs-mj8fnwpt.js → integration-8k70me0z.js} +32 -32
- package/dist/chunks/{vcs-8m6m0r52.js → integration-8m6m0r52.js} +1 -1
- package/dist/chunks/{vcs-8sze2n9a.js → integration-8sze2n9a.js} +2 -2
- package/dist/chunks/{vcs-91qna3x0.js → integration-91qna3x0.js} +3 -3
- package/dist/chunks/{vcs-ycdqq8zj.js → integration-936xvph3.js} +316 -316
- package/dist/chunks/{vcs-c3wxzxxt.js → integration-95hjd82g.js} +14 -14
- package/dist/chunks/{vcs-8714avm2.js → integration-98kt03jn.js} +4 -4
- package/dist/chunks/{vcs-6fzpscvt.js → integration-9e55pg5q.js} +41 -41
- package/dist/chunks/{vcs-9kyabpxr.js → integration-9haechzb.js} +29 -29
- package/dist/chunks/{vcs-a4sqqhtm.js → integration-9kjxzw1r.js} +79 -79
- package/dist/chunks/{vcs-hr1xc807.js → integration-9n61d5ky.js} +49 -49
- package/dist/chunks/{vcs-01h1cd23.js → integration-9y9g9nyh.js} +15 -15
- package/dist/chunks/{vcs-edrmdtr5.js → integration-a46v4e4v.js} +7 -7
- package/dist/chunks/{vcs-2f2kky6g.js → integration-a5q1zm4x.js} +23 -23
- package/dist/chunks/{vcs-mxvxcxwy.js → integration-addxnjmp.js} +4 -4
- package/dist/chunks/{vcs-qjh2dgdf.js → integration-ak9qm6ac.js} +84 -84
- package/dist/chunks/{vcs-13d0fw4d.js → integration-ardvwy48.js} +3 -3
- package/dist/chunks/{vcs-8qg5srkn.js → integration-ax5snzm5.js} +13 -13
- package/dist/chunks/{vcs-ggz4hs15.js → integration-axcgc2pe.js} +8 -8
- package/dist/chunks/{vcs-shd9e764.js → integration-b1kzy2v1.js} +13 -13
- package/dist/chunks/{vcs-nd2cwz73.js → integration-b64mf6hy.js} +22 -22
- package/dist/chunks/{vcs-1qjaf7q9.js → integration-b9xg611c.js} +11 -11
- package/dist/chunks/{vcs-sragp8dr.js → integration-bd183rbz.js} +5 -5
- package/dist/chunks/{vcs-dvzj1xmf.js → integration-bf4gbvg4.js} +5 -5
- package/dist/chunks/{vcs-fdjnkqp0.js → integration-bf76vypg.js} +11 -11
- package/dist/chunks/{vcs-wb2x3bfx.js → integration-bhazafz4.js} +20 -20
- package/dist/chunks/{vcs-6c6pn2sh.js → integration-bkv2ee1r.js} +27 -27
- package/dist/chunks/{vcs-a881zpfh.js → integration-bkxyw0dr.js} +9 -9
- package/dist/chunks/{vcs-ajsx4q8w.js → integration-bkyz4bb0.js} +17 -17
- package/dist/chunks/{vcs-2p1hpqj8.js → integration-bm76h7t2.js} +15 -15
- package/dist/chunks/{vcs-f0y3hrmm.js → integration-btnpmhdq.js} +11 -11
- package/dist/chunks/integration-bvc07b1t.js +253 -0
- package/dist/chunks/{vcs-b4a4df0m.js → integration-bwvbm3pe.js} +11 -11
- package/dist/chunks/{vcs-es1vcfrp.js → integration-c1fqxshp.js} +3 -3
- package/dist/chunks/{vcs-wp94metk.js → integration-cmk24ybg.js} +45 -45
- package/dist/chunks/{vcs-a2rpfkac.js → integration-cp937pt4.js} +4 -4
- package/dist/chunks/{vcs-tf45wne3.js → integration-crn1v2gs.js} +12 -12
- package/dist/chunks/{vcs-eghc6w1b.js → integration-d10j2gb9.js} +2 -2
- package/dist/chunks/{vcs-v1c3gq9j.js → integration-dg4w6che.js} +35 -35
- package/dist/chunks/{vcs-tc4g7eq4.js → integration-dhyfr8yj.js} +28 -28
- package/dist/chunks/{vcs-2sejkfem.js → integration-djszqvmq.js} +9 -9
- package/dist/chunks/{vcs-dtk1yfnn.js → integration-dkaf93xt.js} +18 -18
- package/dist/chunks/{vcs-dc9sh8np.js → integration-dq83cx3g.js} +13 -13
- package/dist/chunks/{vcs-k351gqed.js → integration-dqd9td72.js} +12 -12
- package/dist/chunks/{vcs-dqxsqydv.js → integration-dqxsqydv.js} +1 -1
- package/dist/chunks/{vcs-7pfe8y1s.js → integration-dw9c7k0z.js} +30 -30
- package/dist/chunks/{vcs-5qd3pb7m.js → integration-e3qxr5gk.js} +2 -2
- package/dist/chunks/{vcs-srv0gx85.js → integration-e4w46ks9.js} +14 -14
- package/dist/chunks/{vcs-h691v7v0.js → integration-e70k3x73.js} +12 -12
- package/dist/chunks/{vcs-ed1g29hy.js → integration-e80seqcp.js} +3 -3
- package/dist/chunks/{vcs-dn8cvzj6.js → integration-ea46vrq0.js} +19 -19
- package/dist/chunks/{vcs-eej6y6fw.js → integration-eej6y6fw.js} +2 -2
- package/dist/chunks/{vcs-ef5x83kb.js → integration-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-kdezk8ga.js → integration-ejnm8fa5.js} +1 -1
- package/dist/chunks/{vcs-9qt0ajd2.js → integration-ew7eqw32.js} +4 -4
- package/dist/chunks/{vcs-hf9zz0cr.js → integration-f3aj5rkw.js} +45 -45
- package/dist/chunks/{vcs-2k8khapm.js → integration-fcrkznn8.js} +5 -5
- package/dist/chunks/{vcs-yq797vpt.js → integration-fhkyqja4.js} +329 -329
- package/dist/chunks/{vcs-tapzysky.js → integration-fks1tada.js} +21 -21
- package/dist/chunks/{vcs-17svp89c.js → integration-fqeqenmh.js} +3 -3
- package/dist/chunks/{vcs-khmqacep.js → integration-fxaymqdw.js} +4 -4
- package/dist/chunks/{vcs-0sqvq5f5.js → integration-fzf4e9h4.js} +4 -4
- package/dist/chunks/{vcs-9g0h0kex.js → integration-g0t7snpe.js} +46 -46
- package/dist/chunks/{vcs-qvdcjn92.js → integration-g5n5wprh.js} +12 -12
- package/dist/chunks/{vcs-g3et1r9g.js → integration-g8c299f8.js} +19 -19
- package/dist/chunks/{vcs-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-1tadxgh6.js → integration-gmc3gxvb.js} +21 -21
- package/dist/chunks/{vcs-tmwxzkc5.js → integration-gr5wcx1y.js} +11 -11
- package/dist/chunks/{vcs-dcw3vkc0.js → integration-gsh5zsa2.js} +16 -16
- package/dist/chunks/{vcs-61tjv46k.js → integration-gsjeqjb2.js} +6 -6
- package/dist/chunks/{vcs-0tccdhza.js → integration-h3968h22.js} +15 -15
- package/dist/chunks/{vcs-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-h7s7r6s9.js → integration-h7s7r6s9.js} +2 -2
- package/dist/chunks/{vcs-shhyvxrq.js → integration-hb8krrmj.js} +13 -13
- package/dist/chunks/{vcs-vpycaasy.js → integration-herrfec1.js} +21 -21
- package/dist/chunks/{vcs-hgz4x7wa.js → integration-hgz4x7wa.js} +1 -1
- package/dist/chunks/{vcs-6r0vq68t.js → integration-hh1dt53r.js} +16 -16
- package/dist/chunks/{vcs-mng7gjgz.js → integration-hkp6ymgy.js} +23 -23
- package/dist/chunks/{vcs-43x15q73.js → integration-hp5hxv81.js} +7 -7
- package/dist/chunks/{vcs-r18p0vf7.js → integration-hzqck04w.js} +12 -12
- package/dist/chunks/{vcs-hthv5jgd.js → integration-j6x6e543.js} +2 -2
- package/dist/chunks/{vcs-ps8k6c3y.js → integration-jgb4whm5.js} +18 -18
- package/dist/chunks/{vcs-sxzvkvgj.js → integration-jhf3jymm.js} +6 -6
- package/dist/chunks/{vcs-xc6sx546.js → integration-jksafvem.js} +11 -11
- package/dist/chunks/{vcs-8xc0ff7b.js → integration-jn4txd9r.js} +43 -43
- package/dist/chunks/{vcs-63g8n8e9.js → integration-jsn3ar0v.js} +28 -28
- package/dist/chunks/{vcs-4j5c83jz.js → integration-jxx2adkw.js} +27 -27
- package/dist/chunks/{vcs-e7yzyp2p.js → integration-k8b2wsrv.js} +14 -14
- package/dist/chunks/{vcs-0ybbsf06.js → integration-k8s7jp5m.js} +9 -9
- package/dist/chunks/{vcs-npb06z3t.js → integration-k9car22n.js} +28 -28
- package/dist/chunks/{vcs-8h8yzxqj.js → integration-keay7n7p.js} +4 -4
- package/dist/chunks/{vcs-3y45vew5.js → integration-kj2528qg.js} +6 -6
- package/dist/chunks/{vcs-v854f2p9.js → integration-kmc5179c.js} +53 -53
- package/dist/chunks/{vcs-6x89tf4f.js → integration-kqx1b4hy.js} +4 -4
- package/dist/chunks/{vcs-8deh7c6q.js → integration-kxaktcx2.js} +7 -7
- package/dist/chunks/{vcs-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-maspj1v3.js → integration-maspj1v3.js} +1 -1
- package/dist/chunks/{vcs-fphvadrz.js → integration-mn88zmzx.js} +11 -11
- package/dist/chunks/{vcs-d9jtx293.js → integration-mnp2ym1z.js} +6 -6
- package/dist/chunks/{vcs-f2rv6855.js → integration-mvhk56d4.js} +43 -43
- package/dist/chunks/{vcs-drw8pd7a.js → integration-mxqz6rkr.js} +15 -15
- package/dist/chunks/{vcs-8c5w71gj.js → integration-n4ybcttp.js} +4 -4
- package/dist/chunks/{vcs-fe2tea80.js → integration-nchmws89.js} +11 -11
- package/dist/chunks/{vcs-04p8m0tj.js → integration-ndgyzz9d.js} +9 -9
- package/dist/chunks/{vcs-z2qhp8mt.js → integration-npjdgtzp.js} +7 -7
- package/dist/chunks/{vcs-hzrfc1p4.js → integration-nvxqht09.js} +2 -2
- package/dist/chunks/{vcs-19xes010.js → integration-p1jt2dnw.js} +50 -50
- package/dist/chunks/{vcs-pzfxmw7k.js → integration-p2rbr5nq.js} +5 -5
- package/dist/chunks/{vcs-pa8pe2x7.js → integration-p37cw4rj.js} +8 -8
- package/dist/chunks/{vcs-1sh9vfpc.js → integration-p6ca3w3j.js} +20 -20
- package/dist/chunks/{vcs-9fm9zjg3.js → integration-p9kbpa46.js} +33 -33
- package/dist/chunks/{vcs-202vsb7e.js → integration-pazcjgz3.js} +5 -5
- package/dist/chunks/{vcs-7rzsvbkj.js → integration-pck7vvdx.js} +5 -5
- package/dist/chunks/{vcs-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-tam2w0b0.js → integration-pnt2mqac.js} +18 -18
- package/dist/chunks/{vcs-g7x33k41.js → integration-pp4rcfw0.js} +20 -20
- package/dist/chunks/{vcs-4gx4de6d.js → integration-pv8k32fw.js} +11 -11
- package/dist/chunks/integration-pw8prt84.js +26 -0
- package/dist/chunks/{vcs-x640gzss.js → integration-pwh5ap6x.js} +28 -28
- package/dist/chunks/{vcs-t781ex0h.js → integration-q7f3h75y.js} +5 -5
- package/dist/chunks/{vcs-pn3cc07s.js → integration-qby9dwvd.js} +8 -8
- package/dist/chunks/{vcs-bjfb5pqm.js → integration-qd0qqa4s.js} +47 -47
- package/dist/chunks/{vcs-0r7t0cpv.js → integration-qgn9hdfm.js} +20 -20
- package/dist/chunks/{vcs-mf6tqe69.js → integration-qkrw6axx.js} +11 -11
- package/dist/chunks/{vcs-qnc92qwc.js → integration-qnc92qwc.js} +1 -1
- package/dist/chunks/{vcs-qsdy395h.js → integration-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-1x73a69w.js → integration-qxxnpvek.js} +10 -10
- package/dist/chunks/{vcs-kxtwbv1b.js → integration-r01t9b5y.js} +6 -6
- package/dist/chunks/{vcs-cebgx87p.js → integration-r0p2m64d.js} +4 -4
- package/dist/chunks/{vcs-nr27fqtv.js → integration-r20scrd8.js} +13 -13
- package/dist/chunks/{vcs-73hq82r2.js → integration-r3bw8wf5.js} +3 -3
- package/dist/chunks/{vcs-k6pj38bh.js → integration-r5tsbqp4.js} +15 -15
- package/dist/chunks/{vcs-c86xa7f1.js → integration-r7sf6fb8.js} +25 -25
- package/dist/chunks/{vcs-ekzq6bp1.js → integration-r9495x2r.js} +30 -30
- package/dist/chunks/{vcs-4jy3z28a.js → integration-r9jtscav.js} +40 -40
- package/dist/chunks/{vcs-rdw6cm16.js → integration-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-tkb22qbm.js → integration-rert0e01.js} +2 -2
- package/dist/chunks/{vcs-s14a018q.js → integration-rfzmte1w.js} +18 -18
- package/dist/chunks/{vcs-0gdmqesm.js → integration-rhjbct0v.js} +4 -4
- package/dist/chunks/{vcs-c41wscbt.js → integration-rj3eygr5.js} +2 -2
- package/dist/chunks/{vcs-9t99p3cv.js → integration-rq04gqh0.js} +5 -5
- package/dist/chunks/{vcs-xsqeaj90.js → integration-rqasrdk8.js} +172 -172
- package/dist/chunks/{vcs-6cb0k5fs.js → integration-rsshs73c.js} +8 -8
- package/dist/chunks/{vcs-e6xzsx93.js → integration-rt2qy71r.js} +9 -9
- package/dist/chunks/{vcs-wb44jxr9.js → integration-rvtxy3cd.js} +14 -14
- package/dist/chunks/{vcs-g8n2q3ca.js → integration-s1ahwq19.js} +3 -3
- package/dist/chunks/{vcs-z4zy5fwe.js → integration-s706fh8z.js} +32 -32
- package/dist/chunks/{vcs-5paa9ef2.js → integration-s7nbb837.js} +13 -13
- package/dist/chunks/{vcs-0r5qpn88.js → integration-s9w6dcwz.js} +8 -8
- package/dist/chunks/{vcs-c8ax2afj.js → integration-sa8ekw3f.js} +2 -2
- package/dist/chunks/{vcs-hdkng2sj.js → integration-scgrse2b.js} +5 -5
- package/dist/chunks/{vcs-j9mp9csx.js → integration-sdmkkwk6.js} +31 -31
- package/dist/chunks/{vcs-085246bx.js → integration-sna59257.js} +75 -75
- package/dist/chunks/{vcs-2egm12cz.js → integration-srz5vn3p.js} +5 -5
- package/dist/chunks/{vcs-113dr2ww.js → integration-st8w1s27.js} +28 -28
- package/dist/chunks/{vcs-xhsv9n96.js → integration-svcw9x3w.js} +12 -12
- package/dist/chunks/{vcs-yd2v78na.js → integration-sveg4fqe.js} +14 -14
- package/dist/chunks/{vcs-syv4x271.js → integration-syv4x271.js} +1 -1
- package/dist/chunks/{vcs-42wenp1t.js → integration-t41sszjr.js} +24 -24
- package/dist/chunks/{vcs-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-ntkdha38.js → integration-tc82y08z.js} +11 -11
- package/dist/chunks/{vcs-tcezcvh9.js → integration-tcezcvh9.js} +1 -1
- package/dist/chunks/{vcs-tdstcens.js → integration-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-fb8ejb83.js → integration-tk14y25j.js} +5 -5
- package/dist/chunks/{vcs-tm0kqsz3.js → integration-tm0kqsz3.js} +1 -1
- package/dist/chunks/{vcs-axxpgx3s.js → integration-txcdme70.js} +47 -47
- package/dist/chunks/{vcs-tyytaxap.js → integration-tyytaxap.js} +1 -1
- package/dist/chunks/{vcs-06x8he3q.js → integration-tz4n1mmd.js} +4 -4
- package/dist/chunks/{vcs-xecxzrdp.js → integration-v0es1rhs.js} +2 -2
- package/dist/chunks/{vcs-v7p4zvkq.js → integration-v7p4zvkq.js} +2 -2
- package/dist/chunks/{vcs-66enaw2c.js → integration-v89z4kp7.js} +1 -1
- package/dist/chunks/{vcs-veqvce7d.js → integration-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-xn2dpj90.js → integration-vpavjd7r.js} +18 -18
- package/dist/chunks/{vcs-vzs5sf6e.js → integration-vzs5sf6e.js} +1 -1
- package/dist/chunks/{vcs-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-ec9rznf1.js → integration-w3y421c5.js} +27 -27
- package/dist/chunks/{vcs-8xwc2may.js → integration-wbvfmsvn.js} +19 -19
- package/dist/chunks/{vcs-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-fz2076pd.js → integration-wh1r923y.js} +23 -23
- package/dist/chunks/{vcs-4myngvt6.js → integration-whe6hvck.js} +21 -21
- package/dist/chunks/{vcs-ywt8jp22.js → integration-wjr9rjd7.js} +6 -6
- package/dist/chunks/{vcs-fx0f4b0e.js → integration-wkfp0bdm.js} +33 -33
- package/dist/chunks/{vcs-d4ra3eqj.js → integration-wqjep7r8.js} +12 -12
- package/dist/chunks/{vcs-p8x5jtpv.js → integration-x5wrmng7.js} +11 -11
- package/dist/chunks/{vcs-w14c85af.js → integration-x75czxqv.js} +22 -22
- package/dist/chunks/{vcs-jk9hw03k.js → integration-xf0y7t09.js} +14 -14
- package/dist/chunks/{vcs-xfkkasph.js → integration-xfkkasph.js} +1 -1
- package/dist/chunks/{vcs-339z2p0x.js → integration-xh3w1m2r.js} +30 -30
- package/dist/chunks/{vcs-v2z9amn0.js → integration-xjbmwp8c.js} +3 -3
- package/dist/chunks/{vcs-2sbm49xc.js → integration-xsde275j.js} +10 -10
- package/dist/chunks/{vcs-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-drbpyr92.js → integration-y2cswm8c.js} +8 -8
- package/dist/chunks/{vcs-2fassr37.js → integration-y672t3f6.js} +18 -18
- package/dist/chunks/{vcs-y71avatq.js → integration-y71avatq.js} +1 -1
- package/dist/chunks/{vcs-z7g9232g.js → integration-y89aycjh.js} +15 -15
- package/dist/chunks/{vcs-snpb5q77.js → integration-ycpec0gb.js} +10 -10
- package/dist/chunks/{vcs-cw35edym.js → integration-ydbcqtja.js} +11 -11
- package/dist/chunks/{vcs-avkamz5m.js → integration-yddr7m1n.js} +3 -3
- package/dist/chunks/{vcs-yp2x3t23.js → integration-yp2x3t23.js} +1 -1
- package/dist/chunks/{vcs-05en277q.js → integration-ytp4a2gy.js} +11 -11
- package/dist/chunks/{vcs-a5wxatek.js → integration-ywsf3z8v.js} +5 -5
- package/dist/chunks/{vcs-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-f3q0mxg4.js → integration-z0qw1pwg.js} +15 -15
- package/dist/chunks/{vcs-k5stwhrj.js → integration-zfaw8e2q.js} +11 -11
- package/dist/chunks/{vcs-qjx1ax0j.js → integration-zmhzecev.js} +5 -5
- package/dist/chunks/{vcs-jspk3b6b.js → integration-zr1m2fsx.js} +12 -12
- package/dist/chunks/{vcs-zr2ceqn5.js → integration-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-hsv4me1j.js → integration-zwbg5n9v.js} +11 -11
- package/dist/chunks/{vcs-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- 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 +101 -101
- 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 +359 -359
- package/dist/instruction-discovery.js +87 -87
- 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 +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- 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 +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +219 -219
- 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 +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- 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 +9 -9
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- 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 +212 -212
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- 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 +7 -7
- 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 +94 -94
- 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 +91 -91
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/vcs-kvsxepmb.js +0 -26
- package/dist/chunks/vcs-mrjwzkn5.js +0 -253
- package/dist/chunks/vcs-qc068m1q.js +0 -18
- /package/dist/chunks/{vcs-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → integration-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2bv980vf.js → integration-2bv980vf.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3t0ybcrp.js → integration-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-6q2bdcd1.js → integration-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-84wd9syh.js → integration-84wd9syh.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → integration-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → integration-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hcxmzztb.js → integration-hcxmzztb.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jze0r7bz.js → integration-jze0r7bz.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-m18g726c.js → integration-m18g726c.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-pkyv6v7h.js → integration-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{vcs-pyv0edze.js → integration-pyv0edze.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-ve7vex1e.js → integration-ve7vex1e.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wjj7prxr.js → integration-wjj7prxr.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → integration-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → integration-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z5v4ffb3.js → integration-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → integration-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-936xvph3.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service43,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node45
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID13,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service43 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service43, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service43.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node45 = makeLocationNode({ service: Service43, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service43, locationLayer2, node45, exports_aisdk };
|
|
@@ -2,44 +2,44 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
Service81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-j6x6e543.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service67
|
|
11
|
+
} from "./integration-61tfqrb2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service62
|
|
14
|
+
} from "./integration-ydbcqtja.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service16,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./integration-4p54rqs4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service54
|
|
22
|
+
} from "./integration-cmk24ybg.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service40,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./integration-r5tsbqp4.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./integration-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./integration-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input4,
|
|
39
|
+
Output: () => Output4,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
41
|
+
Plugin: () => Plugin39,
|
|
42
|
+
name: () => name4,
|
|
43
43
|
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name4 = "patch";
|
|
89
|
+
var Input4 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,7 +96,7 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output4 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
@@ -105,21 +105,21 @@ var toModelContent2 = (output) => [
|
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin39 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service67;
|
|
112
|
+
const access = yield* Service40;
|
|
113
|
+
const fileMutation = yield* Service16;
|
|
114
|
+
const formatter = yield* Service62;
|
|
115
115
|
const location = yield* Service81;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service54;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name4,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input4,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name4, Input4, Applied2, Output4, toModelContent2, Plugin39, exports_patch };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-nvxqht09.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service72
|
|
7
|
+
} from "./integration-9e55pg5q.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
11
|
-
import {
|
|
12
|
-
Service77
|
|
13
|
-
} from "./vcs-h4txjgx3.js";
|
|
10
|
+
} from "./integration-hgz4x7wa.js";
|
|
14
11
|
import {
|
|
15
12
|
Service67
|
|
16
|
-
} from "./
|
|
13
|
+
} from "./integration-61tfqrb2.js";
|
|
14
|
+
import {
|
|
15
|
+
Service50
|
|
16
|
+
} from "./integration-gsh5zsa2.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service54
|
|
19
|
+
} from "./integration-cmk24ybg.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service40,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./integration-r5tsbqp4.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./integration-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service71,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./integration-s7nbb837.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError8,
|
|
36
|
+
Service64
|
|
37
|
+
} from "./integration-txcdme70.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service20
|
|
40
|
+
} from "./integration-ak9qm6ac.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./integration-fzf4e9h4.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./integration-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input10,
|
|
53
|
+
Plugin: () => Plugin46,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name10
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name10 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input10 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin46 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service20;
|
|
124
|
+
const jobs = yield* Service50;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service67;
|
|
127
|
+
const access = yield* Service40;
|
|
128
|
+
const shell = yield* Service64;
|
|
129
|
+
const shellSelect = yield* Service71;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service54;
|
|
132
|
+
const config = yield* Service72;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin8 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name10,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin8 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name10,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input10,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin8 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError8({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name10,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name10];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin46, exports_shell2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-a5q1zm4x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-bkv2ee1r.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID14.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service67,
|
|
8
|
+
node70
|
|
9
|
+
} from "./integration-61tfqrb2.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service59,
|
|
24
|
+
node: () => node62
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service59 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service67;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service59.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node62 = makeLocationNode({ service: Service59, layer, deps: [node70, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service59, node62, exports_ripgrep };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./integration-61tfqrb2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service16,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-4p54rqs4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service62
|
|
11
|
+
} from "./integration-ydbcqtja.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service54
|
|
14
|
+
} from "./integration-cmk24ybg.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service40
|
|
17
|
+
} from "./integration-r5tsbqp4.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./integration-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./integration-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input5,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin41,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name5,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name5 = "write";
|
|
39
|
+
var Input5 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output5 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin41 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service40;
|
|
56
|
+
const fileMutation = yield* Service16;
|
|
57
|
+
const environment = yield* Service67;
|
|
58
|
+
const formatter = yield* Service62;
|
|
59
|
+
const permission = yield* Service54;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name5,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input5,
|
|
69
|
+
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name5, Input5, Output5, toModelContent3, Plugin41, exports_write };
|