@opencode/core 0.0.0-dev-20209 → 0.0.0-dev-20212
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 +5 -5
- package/dist/bus.js +73 -73
- package/dist/chunks/{variant-cew83tm7.js → app-03ymde07.js} +1 -1
- package/dist/chunks/{variant-rp8jz6x1.js → app-0b9a3syv.js} +6 -6
- package/dist/chunks/{variant-t550f9t1.js → app-0gdmqesm.js} +4 -4
- package/dist/chunks/{variant-4hxy0fms.js → app-0h5m5286.js} +11 -11
- package/dist/chunks/{variant-hnxvpgpc.js → app-0hajr9ce.js} +16 -16
- package/dist/chunks/{variant-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-510m7gjw.js → app-0r7yqxbf.js} +5 -5
- package/dist/chunks/{variant-6dah7td7.js → app-11823ez3.js} +6 -6
- package/dist/chunks/{variant-ddeke8gp.js → app-16xmj64k.js} +11 -11
- package/dist/chunks/{variant-tvb98hhr.js → app-1bp528jh.js} +3 -3
- package/dist/chunks/{variant-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-ebsqswat.js → app-1ef3fy7q.js} +6 -6
- package/dist/chunks/{variant-006gzmcp.js → app-1g1em8b3.js} +9 -9
- package/dist/chunks/{variant-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{variant-5emgw8fp.js → app-24bwte70.js} +52 -52
- package/dist/chunks/{variant-29x78va6.js → app-29x78va6.js} +2 -2
- package/dist/chunks/{variant-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-grxamm6e.js → app-2b7mn2ka.js} +35 -35
- package/dist/chunks/{variant-hv215hsq.js → app-2en83y1a.js} +7 -7
- package/dist/chunks/{variant-n10b1cqk.js → app-2hxyqmx0.js} +39 -39
- package/dist/chunks/{variant-e9t82wt6.js → app-2hz0qpna.js} +12 -12
- package/dist/chunks/{variant-fcrkznn8.js → app-2k8khapm.js} +5 -5
- package/dist/chunks/{variant-325yzx8r.js → app-2qwd84e2.js} +12 -12
- package/dist/chunks/{variant-jmnr6fqx.js → app-30p0hwd3.js} +8 -8
- package/dist/chunks/{variant-rhdvpysa.js → app-318tqrqa.js} +18 -18
- package/dist/chunks/{variant-9f2rwe55.js → app-33kppm9j.js} +24 -24
- package/dist/chunks/{variant-car1xg61.js → app-346ze9a4.js} +8 -8
- package/dist/chunks/{variant-ezffav4v.js → app-36g4r5yp.js} +17 -17
- package/dist/chunks/{variant-dj68pnee.js → app-3ewed21c.js} +4 -4
- package/dist/chunks/{variant-pt6tvevz.js → app-3fa0s6rb.js} +20 -20
- package/dist/chunks/{variant-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-vvqe7qbw.js → app-3h01y4jn.js} +18 -18
- package/dist/chunks/{variant-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-5yr5amn4.js → app-3nweqhx7.js} +26 -26
- package/dist/chunks/{variant-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-dqmwfghx.js → app-3w2b2yj4.js} +5 -5
- package/dist/chunks/{variant-13mxgpx4.js → app-3zd8k2y7.js} +10 -10
- package/dist/chunks/{variant-3zsf4n22.js → app-3zsf4n22.js} +1 -1
- package/dist/chunks/{variant-a4yxatsy.js → app-40n037sy.js} +5 -5
- package/dist/chunks/{variant-a6mhrw7d.js → app-446nm392.js} +27 -27
- package/dist/chunks/{variant-epk4gxbx.js → app-48cv5b01.js} +8 -8
- package/dist/chunks/{variant-2a4z7ddb.js → app-48fxk2h6.js} +18 -18
- package/dist/chunks/{variant-b1jnz19g.js → app-48knrn8n.js} +3 -3
- package/dist/chunks/{variant-np80prs1.js → app-4b7qs8xx.js} +16 -16
- package/dist/chunks/{variant-cpp8qekp.js → app-4e5nb8hw.js} +18 -18
- package/dist/chunks/{variant-7jqmn2rn.js → app-4kwnayct.js} +21 -21
- package/dist/chunks/{variant-nv7da23b.js → app-4mftjwdh.js} +89 -89
- package/dist/chunks/app-4v7qdvcn.js +18 -0
- package/dist/chunks/{variant-99zv16x0.js → app-4xma59ad.js} +7 -7
- package/dist/chunks/{variant-9eea5nhh.js → app-4zfkp5m9.js} +34 -34
- package/dist/chunks/{variant-qvgr7s7h.js → app-50zreqwv.js} +21 -21
- package/dist/chunks/{variant-xgncj314.js → app-520qgj13.js} +9 -9
- package/dist/chunks/{variant-ckecvw8r.js → app-54tcyq79.js} +2 -2
- package/dist/chunks/{variant-33w4ejhs.js → app-56gdpj1q.js} +6 -6
- package/dist/chunks/{variant-57ez7d0k.js → app-57ez7d0k.js} +2 -2
- package/dist/chunks/{variant-np1n792r.js → app-59124e15.js} +19 -19
- package/dist/chunks/{variant-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-dmfxr9mr.js → app-5et3j0gs.js} +22 -22
- package/dist/chunks/{variant-kbegyq1c.js → app-5nb2d01r.js} +2 -2
- package/dist/chunks/{variant-kr9gxfxf.js → app-5sjkkemb.js} +37 -37
- package/dist/chunks/{variant-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-80dfhc41.js → app-643br9be.js} +12 -12
- package/dist/chunks/{variant-669tq793.js → app-669tq793.js} +1 -1
- package/dist/chunks/{variant-a2ew8a62.js → app-6cfd75hy.js} +7 -7
- package/dist/chunks/{variant-2402vzrj.js → app-6h73sxmp.js} +5 -5
- package/dist/chunks/{variant-6msgmcgs.js → app-6msgmcgs.js} +1 -1
- package/dist/chunks/{variant-2fcxegej.js → app-6r3gbq1z.js} +177 -177
- package/dist/chunks/{variant-3an7cx9y.js → app-70bgh8t1.js} +3 -3
- package/dist/chunks/{variant-ccnfj4js.js → app-72qsz4qs.js} +27 -27
- package/dist/chunks/{variant-kfmedsns.js → app-78nf89j4.js} +5 -5
- package/dist/chunks/{variant-sqsf5w9p.js → app-79qrpwpa.js} +22 -22
- package/dist/chunks/{variant-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-gw10sec1.js → app-7df9q0d7.js} +10 -10
- package/dist/chunks/{variant-24q7r30e.js → app-7egv8sq7.js} +10 -10
- package/dist/chunks/{variant-5x3y3mcs.js → app-7mry44mh.js} +36 -36
- package/dist/chunks/{variant-tc1ptmkh.js → app-801jcbnx.js} +33 -33
- package/dist/chunks/{variant-tcezcvh9.js → app-89znhe33.js} +4 -4
- package/dist/chunks/{variant-rqkw632w.js → app-8cmzrt5c.js} +43 -43
- package/dist/chunks/{variant-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-tc4djsvn.js → app-8e3f6fty.js} +22 -22
- package/dist/chunks/{variant-wczb1h4t.js → app-8hpsa4g9.js} +23 -23
- package/dist/chunks/{variant-2j00d0td.js → app-8n4ekhgj.js} +57 -57
- package/dist/chunks/{variant-dv1qgsyq.js → app-8v6pyhej.js} +8 -8
- package/dist/chunks/{variant-h5w29vws.js → app-8whseyrk.js} +1 -1
- package/dist/chunks/{variant-stk5d99z.js → app-8xmw1bs1.js} +15 -15
- package/dist/chunks/{variant-5dkn69vz.js → app-8zp79j7j.js} +4 -4
- package/dist/chunks/{variant-qqq22zj2.js → app-92q3sktz.js} +96 -96
- package/dist/chunks/{variant-bc3s68p5.js → app-95v2wc05.js} +15 -15
- package/dist/chunks/{variant-4eq8w0dz.js → app-96ctqc5x.js} +4 -4
- package/dist/chunks/{variant-2n295dmf.js → app-97w5rk9e.js} +8 -8
- package/dist/chunks/{variant-qbeg8x4k.js → app-9jnchvad.js} +13 -13
- package/dist/chunks/{variant-993wp0s6.js → app-9kwtctk8.js} +29 -29
- package/dist/chunks/{variant-wys0gfh1.js → app-9w52sa8s.js} +5 -5
- package/dist/chunks/{variant-s38fyqmm.js → app-9xcf0pz4.js} +48 -48
- package/dist/chunks/{variant-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-2prgc4m7.js → app-aana350r.js} +22 -22
- package/dist/chunks/{variant-10kfxkxq.js → app-abcm60fh.js} +36 -36
- package/dist/chunks/{variant-mb4h6z5f.js → app-ah0b6jnm.js} +13 -13
- package/dist/chunks/{variant-h7xesq4k.js → app-ahrew1s0.js} +5 -5
- package/dist/chunks/{variant-v0a4hd06.js → app-ajnv4jb0.js} +35 -35
- package/dist/chunks/{variant-hghmkfv7.js → app-aqaepz7z.js} +15 -15
- package/dist/chunks/{variant-gb8wxy1h.js → app-arc5945r.js} +11 -11
- package/dist/chunks/{variant-n4fxfccf.js → app-b2fn8hb3.js} +15 -15
- package/dist/chunks/{variant-0mq3g4wy.js → app-b2prsqs2.js} +45 -45
- package/dist/chunks/{variant-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-reg6q42h.js → app-b7b4ctej.js} +5 -5
- package/dist/chunks/{variant-mxp5rs3t.js → app-b7q1t0ft.js} +9 -9
- package/dist/chunks/{variant-c9jasf7t.js → app-be1xr2v6.js} +23 -23
- package/dist/chunks/{variant-z07pqspn.js → app-bjtzbw4r.js} +3 -3
- package/dist/chunks/{variant-frdw0cx9.js → app-bvx5df9m.js} +28 -28
- package/dist/chunks/{variant-knfry2jd.js → app-bzd2wrjj.js} +1 -1
- package/dist/chunks/{variant-cz6e2qjm.js → app-bztx5wvz.js} +3 -3
- package/dist/chunks/{variant-a5hgy1x9.js → app-c11kcbjv.js} +13 -13
- package/dist/chunks/{variant-2pv4rh4q.js → app-c1jcx1z8.js} +4 -4
- package/dist/chunks/{variant-x5zt6h23.js → app-c4xe7k45.js} +52 -52
- package/dist/chunks/{variant-3jf8m3x6.js → app-c8cqepbd.js} +31 -31
- package/dist/chunks/{variant-2vs2nh1n.js → app-ca7w653e.js} +4 -4
- package/dist/chunks/{variant-1yxhj252.js → app-cafpd9jt.js} +22 -22
- package/dist/chunks/{variant-m2yrt49e.js → app-cc7eaenb.js} +22 -22
- package/dist/chunks/{variant-sxzvkvgj.js → app-cdm0dq9n.js} +6 -6
- package/dist/chunks/{variant-91d8qp83.js → app-cg8m9xhz.js} +9 -9
- package/dist/chunks/{variant-shy5dzg8.js → app-chcmt1dq.js} +11 -11
- package/dist/chunks/{variant-z3ca2px9.js → app-cwm7gddp.js} +17 -17
- package/dist/chunks/{variant-1g3tr656.js → app-cxry03a8.js} +24 -24
- package/dist/chunks/{variant-53d3spjh.js → app-d1xermsw.js} +8 -8
- package/dist/chunks/{variant-n6rt2nkv.js → app-d3ymk621.js} +11 -11
- package/dist/chunks/{variant-hff5bnmj.js → app-d7qwrb3q.js} +10 -10
- package/dist/chunks/{variant-kd5xcy86.js → app-da6tw9y0.js} +5 -5
- package/dist/chunks/{variant-7fh4jsep.js → app-dcmfhft2.js} +5 -5
- package/dist/chunks/{variant-an7cqtb7.js → app-dfe8djrf.js} +4 -4
- package/dist/chunks/{variant-57b9ws8p.js → app-drwq78ky.js} +5 -5
- package/dist/chunks/{variant-46dwjrk1.js → app-dsqt3g70.js} +4 -4
- package/dist/chunks/{variant-w0z0ceg7.js → app-dw1g38wj.js} +19 -19
- package/dist/chunks/{variant-hz59w1dt.js → app-e0vtkr8g.js} +6 -6
- package/dist/chunks/{variant-4cgpaxn1.js → app-eaa68peb.js} +44 -44
- package/dist/chunks/{variant-h6r3nrb9.js → app-ebe9bak5.js} +4 -4
- package/dist/chunks/{variant-ecfe7b91.js → app-ecfe7b91.js} +2 -2
- package/dist/chunks/{variant-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-jdd6wg6z.js → app-es4t03bn.js} +9 -9
- package/dist/chunks/{variant-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-3barqjkg.js → app-eydjg92n.js} +32 -32
- package/dist/chunks/{variant-xwpj6gda.js → app-fehs4a8j.js} +28 -28
- package/dist/chunks/{variant-6vd4kaba.js → app-fr2v8rd4.js} +16 -16
- package/dist/chunks/{variant-2mys97dh.js → app-fvs5ph87.js} +3 -3
- package/dist/chunks/{variant-r7p85s6p.js → app-fygpvbnh.js} +38 -38
- package/dist/chunks/{variant-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-srs6escw.js → app-gdyknx2c.js} +19 -19
- package/dist/chunks/{variant-94ek1h2f.js → app-gfvb90ym.js} +2 -2
- package/dist/chunks/{variant-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
- package/dist/chunks/{variant-7rng3awb.js → app-gve8axkf.js} +17 -17
- package/dist/chunks/{variant-my8fpfzf.js → app-h2bg9tse.js} +25 -25
- package/dist/chunks/{variant-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-fv859wdb.js → app-hb1295gg.js} +14 -14
- package/dist/chunks/app-hkr8bfzh.js +26 -0
- package/dist/chunks/{variant-yj71kavs.js → app-hw8pkmw1.js} +43 -43
- package/dist/chunks/{variant-m6f3t844.js → app-hz0q9sdq.js} +8 -8
- package/dist/chunks/{variant-1216knkj.js → app-j1s4tt8r.js} +9 -9
- package/dist/chunks/{variant-p57dvf2n.js → app-j5208yae.js} +6 -6
- package/dist/chunks/{variant-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-3h15n8ab.js → app-jm7vrxts.js} +6 -6
- package/dist/chunks/{variant-322g38fb.js → app-jmmk813v.js} +10 -10
- package/dist/chunks/{variant-9pq8dkc8.js → app-jyy31k56.js} +12 -12
- package/dist/chunks/{variant-nzks3jc8.js → app-k3c624dm.js} +3 -3
- package/dist/chunks/{variant-yakn32g5.js → app-k5mp89aa.js} +36 -36
- package/dist/chunks/{variant-qgq4js5g.js → app-kj4swwtc.js} +11 -11
- package/dist/chunks/{variant-vz7d5c1g.js → app-kjfdeayr.js} +5 -5
- package/dist/chunks/{variant-69822sff.js → app-kkbtdwkd.js} +43 -43
- package/dist/chunks/{variant-bbqwkccp.js → app-kkeqmmyp.js} +18 -18
- package/dist/chunks/{variant-ywxndyv1.js → app-knevfgda.js} +4 -4
- package/dist/chunks/{variant-9a912s85.js → app-m2d0j7c0.js} +9 -9
- package/dist/chunks/{variant-nr9qr2eb.js → app-m2rs3qtp.js} +14 -14
- package/dist/chunks/{variant-m3fdjcah.js → app-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-cgjbwm1c.js → app-m95p3np9.js} +48 -48
- package/dist/chunks/{variant-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-32x1f6kv.js → app-mfeg7hd0.js} +25 -25
- package/dist/chunks/{variant-zh9cm31s.js → app-mmq6y199.js} +5 -5
- package/dist/chunks/{variant-m4ra2cwg.js → app-msfmqx67.js} +16 -16
- package/dist/chunks/{variant-a9ancp6v.js → app-n9gs72tp.js} +3 -3
- package/dist/chunks/{variant-bvjxhr2y.js → app-nb72syg9.js} +11 -11
- package/dist/chunks/{variant-f6dc7cqr.js → app-ngb5mwca.js} +8 -8
- package/dist/chunks/{variant-5fnr1b7x.js → app-nhcvpx8j.js} +23 -23
- package/dist/chunks/{variant-cct903s2.js → app-njd0zz2m.js} +21 -21
- package/dist/chunks/{variant-bw18pvzk.js → app-npjbgrdw.js} +25 -25
- package/dist/chunks/{variant-mwymfxjt.js → app-nw33xh0q.js} +24 -24
- package/dist/chunks/{variant-0fffybbe.js → app-pbvvqe3h.js} +6 -6
- package/dist/chunks/{variant-45f1zsm2.js → app-pcj9a9sp.js} +2 -2
- package/dist/chunks/{variant-5smxac05.js → app-pfd2j1yc.js} +32 -32
- package/dist/chunks/{variant-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{variant-1g8as6dj.js → app-pn37m90h.js} +4 -4
- package/dist/chunks/{variant-wpy37268.js → app-pnz7ythm.js} +49 -49
- package/dist/chunks/{variant-wd3x2cqz.js → app-psazpmmj.js} +2 -2
- package/dist/chunks/{variant-j7dj255x.js → app-pt3fp617.js} +18 -18
- package/dist/chunks/{variant-57ahwxrm.js → app-pv9zh540.js} +15 -15
- package/dist/chunks/{variant-1s91arz0.js → app-pwcdbynt.js} +25 -25
- package/dist/chunks/{variant-mymm0e2f.js → app-q3afhr41.js} +4 -4
- package/dist/chunks/app-q6qstfck.js +252 -0
- package/dist/chunks/{variant-r0ndcq4z.js → app-qdp40j73.js} +33 -33
- package/dist/chunks/{variant-tnebbm27.js → app-qgtsm9yr.js} +41 -41
- package/dist/chunks/{variant-vx2adbmk.js → app-qkezpbb1.js} +15 -15
- package/dist/chunks/{variant-qmqgtz8f.js → app-qmqgtz8f.js} +2 -2
- package/dist/chunks/{variant-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/app-qtvmxc8s.js +4 -0
- package/dist/chunks/{variant-ankdd3t7.js → app-qx0tbsbt.js} +29 -29
- package/dist/chunks/{variant-8zdryj0g.js → app-r1r6ck8q.js} +329 -329
- package/dist/chunks/{variant-eq1pz5kg.js → app-r5x6zcsm.js} +3 -3
- package/dist/chunks/{variant-x3ec03mt.js → app-rd8q201w.js} +12 -12
- package/dist/chunks/{variant-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-43qzdzsm.js → app-rfm9fjde.js} +32 -32
- package/dist/chunks/{variant-n7d88tpn.js → app-rj6d5p5e.js} +3 -3
- package/dist/chunks/{variant-1p07q0wb.js → app-rkprpv83.js} +4 -4
- package/dist/chunks/{variant-9ha23cwc.js → app-rygkteba.js} +11 -11
- package/dist/chunks/{variant-wk5z6jzv.js → app-s1kvmffy.js} +9 -9
- package/dist/chunks/{variant-mgmaefw5.js → app-s3rrh27v.js} +8 -8
- package/dist/chunks/{variant-ky8txnzt.js → app-s45ns0s9.js} +15 -15
- package/dist/chunks/{variant-s4enseaf.js → app-s4enseaf.js} +2 -2
- package/dist/chunks/{variant-kp02xwx0.js → app-s4rcwdwm.js} +17 -17
- package/dist/chunks/{variant-g2042726.js → app-s916jay0.js} +11 -11
- package/dist/chunks/{variant-erktkvjt.js → app-skdt0egg.js} +22 -22
- package/dist/chunks/{variant-czwh8hre.js → app-spvpa48z.js} +72 -72
- package/dist/chunks/{variant-809q4hne.js → app-sra9araw.js} +5 -5
- package/dist/chunks/{variant-j6j34g5j.js → app-t2hw0gat.js} +3 -3
- package/dist/chunks/{variant-wkhafbt7.js → app-t3ewd83s.js} +4 -4
- package/dist/chunks/{variant-1fkaw0c0.js → app-t4y7d749.js} +3 -3
- package/dist/chunks/{variant-hfxe0xvw.js → app-t581q8t2.js} +9 -9
- package/dist/chunks/{variant-6n4b0dsb.js → app-t79s17n5.js} +9 -9
- package/dist/chunks/{variant-9k8zkttx.js → app-t7mrvwnk.js} +13 -13
- package/dist/chunks/{variant-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{variant-jjnxkmnf.js → app-te4e2ya4.js} +14 -14
- package/dist/chunks/{variant-wpktt7zp.js → app-tey8mv2z.js} +17 -17
- package/dist/chunks/{variant-tvtrv512.js → app-tvtrv512.js} +1 -1
- package/dist/chunks/{variant-06s9r4jw.js → app-v5291y6s.js} +10 -10
- package/dist/chunks/{variant-yfgbyakr.js → app-v5bz3j6t.js} +13 -13
- package/dist/chunks/{variant-p94ag4a4.js → app-vbbm199s.js} +11 -11
- package/dist/chunks/{variant-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-1t1dwkwe.js → app-vex53nkq.js} +26 -26
- package/dist/chunks/{variant-jdsft36f.js → app-vfe6gskf.js} +10 -10
- package/dist/chunks/{variant-epq0xpmg.js → app-vfjm9b5x.js} +31 -31
- package/dist/chunks/{variant-ntt2cs0y.js → app-vh6wb25d.js} +11 -11
- package/dist/chunks/{variant-g5563x6j.js → app-vr8xmh2p.js} +8 -8
- package/dist/chunks/{variant-kk00bynn.js → app-vsp1fds9.js} +4 -4
- package/dist/chunks/{variant-bpvf8gea.js → app-vwv1meen.js} +28 -28
- package/dist/chunks/{variant-ncqv441z.js → app-vx4es781.js} +30 -30
- package/dist/chunks/{variant-8her2kyv.js → app-vy1yvbgy.js} +23 -23
- package/dist/chunks/{variant-vzcthcp8.js → app-vzcthcp8.js} +1 -1
- package/dist/chunks/{variant-vzs5sf6e.js → app-vzs5sf6e.js} +1 -1
- package/dist/chunks/{variant-cgb0hc8a.js → app-w075qa65.js} +32 -32
- package/dist/chunks/{variant-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-4jk0qxj4.js → app-w4axh9wz.js} +6 -6
- package/dist/chunks/{variant-yvq5xc5x.js → app-w793zxam.js} +5 -5
- package/dist/chunks/{variant-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{variant-2nxxjbx2.js → app-x0vya4zf.js} +8 -8
- package/dist/chunks/{variant-hz7kx0ky.js → app-x0y4sb5x.js} +8 -8
- package/dist/chunks/{variant-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{variant-14dsqrrw.js → app-xc7npp2z.js} +6 -6
- package/dist/chunks/{variant-xkntkrq7.js → app-xkntkrq7.js} +2 -2
- package/dist/chunks/{variant-afed7ext.js → app-xsbrecyh.js} +12 -12
- package/dist/chunks/{variant-1bevtps4.js → app-xw1mpsag.js} +13 -13
- package/dist/chunks/{variant-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-0sdyee2g.js → app-y2chche5.js} +23 -23
- package/dist/chunks/{variant-t1dawjzh.js → app-y2yt4szk.js} +8 -8
- package/dist/chunks/{variant-wwcjmkyb.js → app-y35sr8cx.js} +31 -31
- package/dist/chunks/{variant-ft3q6q9x.js → app-y4afyykh.js} +24 -24
- package/dist/chunks/{variant-y71avatq.js → app-y71avatq.js} +1 -1
- package/dist/chunks/{variant-fkjzd9k8.js → app-ycvff0vv.js} +10 -10
- package/dist/chunks/{variant-k29g14mz.js → app-ykgchvjc.js} +17 -17
- package/dist/chunks/{variant-za7e63wv.js → app-ymavfyty.js} +20 -20
- package/dist/chunks/{variant-yp2x3t23.js → app-yp2x3t23.js} +1 -1
- package/dist/chunks/{variant-zkg6dyaf.js → app-yr3kdp3p.js} +32 -32
- package/dist/chunks/{variant-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
- package/dist/chunks/{variant-xrknn25j.js → app-yv59nz8r.js} +28 -28
- package/dist/chunks/{variant-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-gt9qpba6.js → app-z45s6s3c.js} +27 -27
- package/dist/chunks/{variant-acp7khxw.js → app-z4zaedpe.js} +8 -8
- package/dist/chunks/{variant-zeh9ct20.js → app-zeh9ct20.js} +2 -2
- package/dist/chunks/{variant-m65tv3j8.js → app-zf70drdc.js} +14 -14
- package/dist/chunks/{variant-scw7ae32.js → app-zfb11v1x.js} +31 -31
- package/dist/chunks/{variant-843zxkxv.js → app-zhpwp1da.js} +19 -19
- package/dist/chunks/{variant-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-n1ka8r9d.js → app-zsr300m5.js} +4 -4
- package/dist/chunks/{variant-zw4pk1bw.js → app-zw4pk1bw.js} +5 -5
- package/dist/chunks/{variant-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/chunks/{variant-a86jpv5t.js → app-zyv03j90.js} +12 -12
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- 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 +132 -132
- 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 +123 -123
- 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 +122 -122
- 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 +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +74 -74
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/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 -362
- package/dist/instruction-discovery.js +85 -85
- 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 +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 +135 -135
- 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 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- 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 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +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 +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- 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 +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- 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 +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +99 -99
- 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 +98 -98
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/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 +224 -224
- 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 +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- 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 +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +87 -87
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- 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 +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/variant-0mesazry.js +0 -4
- package/dist/chunks/variant-5rzfd5bc.js +0 -26
- package/dist/chunks/variant-9zdhvgqs.js +0 -18
- package/dist/chunks/variant-kn62raq2.js +0 -252
- /package/dist/chunks/{variant-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-34c7v6d4.js → app-34c7v6d4.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-8wj87zfr.js → app-8wj87zfr.js} +0 -0
- /package/dist/chunks/{variant-922hggd3.js → app-922hggd3.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e3qxr5gk.js → app-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hjbc5kem.js → app-hjbc5kem.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./app-643br9be.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-24bwte70.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event3,
|
|
21
|
+
ID: () => ID3,
|
|
22
|
+
Info: () => Info6,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service37,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node39,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event3 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source3 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info6 = Skill.Info;
|
|
43
|
+
var ID3 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service37 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service80;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID3.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID3.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID3.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID3.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service37.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node39 = makeLocationNode({
|
|
112
|
+
service: Service37,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID3, Name2, available2, toModelOutput3, prepare3, Service37, node39, exports_skill5, Event3 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info19
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info19 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info19, exports_attachment };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-t2hw0gat.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service82,
|
|
17
|
+
node: () => node86
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service82 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service82.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node86 = makeGlobalNode({ service: Service82, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service82, node86, exports_kv };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID12,
|
|
3
|
+
Service67
|
|
4
|
+
} from "./app-vwv1meen.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service67;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID12.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./app-643br9be.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event16,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID13,
|
|
20
|
+
Info: () => Info27,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError7,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service68,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer23,
|
|
29
|
+
node: () => node71,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event16 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID13 = Form.ID;
|
|
39
|
+
var Info27 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID13
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID13
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID13
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID13,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service68 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer23 = Layer.effect(Service68, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service80;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError7({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID13.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service68.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node71 = makeLocationNode({ service: Service68, layer: layer23, deps: [node84] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID13, Info27, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError7, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service68, layer23, node71, validateAnswer2, validateFields2, exports_form, Event16 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
@@ -9,16 +9,16 @@ __export(exports_app, {
|
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
10
|
configured: () => configured6,
|
|
11
11
|
layer: () => layer20,
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
make: () => make20,
|
|
13
|
+
node: () => node64,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make20()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make20(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make18(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var layer20 = (input) => Layer.succeed(Metadata2,
|
|
31
|
+
var layer20 = (input) => Layer.succeed(Metadata2, make20(input));
|
|
32
32
|
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
|
|
33
|
-
var
|
|
33
|
+
var node64 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make20, useragent2, layer20, configured6, node64, exports_app };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./app-24bwte70.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input3,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
22
|
Plugin: () => Plugin5,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name3
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name3 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input3 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input4 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input3.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -96,12 +96,12 @@ var Plugin5 = {
|
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service54;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name3,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description2,
|
|
104
|
+
input: Input3,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin5 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name3,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name3, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input3, Plugin5, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-qdp40j73.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-2b7mn2ka.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service38
|
|
3
|
+
} from "./app-t79s17n5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service35
|
|
6
|
+
} from "./app-cdm0dq9n.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-4v7qdvcn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service57
|
|
15
|
+
} from "./app-y2yt4szk.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-11823ez3.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service37
|
|
23
|
+
} from "./app-3nweqhx7.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service35;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service57;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service37;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service38;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|