@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,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-48cv5b01.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./app-643br9be.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./app-zfb11v1x.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-vwv1meen.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID11
|
|
17
|
+
} from "./app-qdp40j73.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID10,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-2b7mn2ka.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID11.make("digitalocean");
|
|
31
|
+
var integrationID = ID12.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service80;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID10.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service78
|
|
13
|
+
} from "./app-m2rs3qtp.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-8hpsa4g9.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin34,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin34 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service78;
|
|
35
35
|
if (location.vcs?.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin34, exports_git };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node79
|
|
7
|
+
} from "./app-33kppm9j.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service15,
|
|
17
|
+
node: () => node17,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service15 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service76;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service15.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node17 = makeLocationNode({ service: Service15, layer, deps: [node79] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service15, readText2, syncTextBom2, node17, exports_file_mutation };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service62
|
|
4
|
+
} from "./app-pnz7ythm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service47
|
|
7
|
+
} from "./app-njd0zz2m.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin32
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin32 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service62;
|
|
27
|
+
const snapshot = yield* Service47;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin42 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin32, exports_snapshot };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-t2hw0gat.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node81
|
|
12
|
+
} from "./app-w4axh9wz.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info31,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service77,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured11,
|
|
30
|
+
node: () => node80
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID16 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info31 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID16,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info12 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID16,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service77 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service77,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node81]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service77, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info31({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service77.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID16.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node80 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID16, Info31, NotFound3, CreateConflict2, Service77, configured11, node80, exports_workspace };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-2b7mn2ka.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service62
|
|
7
|
+
} from "./app-pnz7ythm.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-1ef3fy7q.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service62;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID10.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make8();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make8, OllamaPlugin2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./app-643br9be.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-cwm7gddp.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service40,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
configured: () => configured4,
|
|
25
|
+
layer: () => layer16,
|
|
26
|
+
node: () => node42
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service40 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service40, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service80;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service40.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
258
|
+
var layer16 = makeLayer();
|
|
259
|
+
var configured4 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service40,
|
|
261
|
+
layer: options === undefined ? layer16 : makeLayer(options),
|
|
262
|
+
deps: [node84, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node42 = configured4();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError3, Service40, layer16, configured4, node42, exports_persistent_pty, Handoff2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./app-pnz7ythm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./app-t79s17n5.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin27
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin27 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service62;
|
|
26
|
+
const image = yield* Service38;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin47 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin27, exports_image };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./app-yv59nz8r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service35
|
|
6
|
+
} from "./app-cdm0dq9n.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-4v7qdvcn.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service35;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service72), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|