@opencode/core 0.0.0-dev-19904 → 0.0.0-dev-19906
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{state-w1k39n5e.js → model-06dxphr1.js} +4 -4
- package/dist/chunks/{state-0jwsre1p.js → model-0jwsre1p.js} +1 -1
- package/dist/chunks/{state-0paq2nw3.js → model-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-0q0f95c6.js → model-0q0f95c6.js} +1 -1
- package/dist/chunks/{state-yjptyezs.js → model-0r7yqxbf.js} +5 -5
- package/dist/chunks/{state-wnt0n0xb.js → model-0w8znyxp.js} +42 -42
- package/dist/chunks/{state-r8xr0va3.js → model-1acjjqhc.js} +4 -4
- package/dist/chunks/{state-r5x6zcsm.js → model-1bbkgx8g.js} +3 -3
- package/dist/chunks/{state-1dazxqgg.js → model-1dazxqgg.js} +2 -2
- package/dist/chunks/{state-5qfhnn3s.js → model-1h3ybkz7.js} +32 -32
- package/dist/chunks/{state-2zwyj5vg.js → model-1mywsabn.js} +43 -43
- package/dist/chunks/{state-xqr0k8gk.js → model-1qtvxwgq.js} +24 -24
- package/dist/chunks/{state-qjn69esg.js → model-1tvyn6pa.js} +36 -36
- package/dist/chunks/{state-56gdpj1q.js → model-1ygqh575.js} +9 -9
- package/dist/chunks/{state-21r38tys.js → model-21r38tys.js} +1 -1
- package/dist/chunks/{state-2402vzrj.js → model-2402vzrj.js} +1 -1
- package/dist/chunks/{state-kcr5bzs1.js → model-24n759rf.js} +17 -17
- package/dist/chunks/{state-k0345fj3.js → model-2702ket8.js} +4 -4
- package/dist/chunks/{state-2a5m3afh.js → model-2a5m3afh.js} +1 -1
- package/dist/chunks/{state-3ktbe3hf.js → model-2e96adxv.js} +6 -6
- package/dist/chunks/{state-gkefhj12.js → model-2nwq4sat.js} +5 -5
- package/dist/chunks/{state-3bf73811.js → model-2ssnk4hs.js} +16 -16
- package/dist/chunks/{state-ccdh9qtz.js → model-2v3h84yr.js} +5 -5
- package/dist/chunks/{state-78g5pcpb.js → model-2wg042nb.js} +27 -27
- package/dist/chunks/{state-thjxzeng.js → model-30846h32.js} +8 -8
- package/dist/chunks/{state-waym30vw.js → model-31t7rjpy.js} +22 -22
- package/dist/chunks/{state-twtg7g1r.js → model-32c9kn6c.js} +6 -6
- package/dist/chunks/{state-qq4wxkpg.js → model-33ewhzb2.js} +4 -4
- package/dist/chunks/{state-raxe0qt4.js → model-3b9wpp8z.js} +29 -29
- package/dist/chunks/{state-0bd7yhfg.js → model-3d48rpge.js} +6 -6
- package/dist/chunks/{state-3fc6dm20.js → model-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-x2d9qy7d.js → model-3j9bgvtg.js} +5 -5
- package/dist/chunks/{state-h2r7bbkd.js → model-3pbjq009.js} +8 -8
- package/dist/chunks/{state-4rkm8bzg.js → model-3ry6dp0s.js} +30 -30
- package/dist/chunks/{state-3smtnn6g.js → model-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-ec8389mk.js → model-3ythc6yv.js} +4 -4
- package/dist/chunks/model-43bsdk2g.js +252 -0
- package/dist/chunks/{state-jmngmkqa.js → model-49tets05.js} +97 -97
- package/dist/chunks/{state-nzyhnfxz.js → model-4dgbcxzg.js} +4 -4
- package/dist/chunks/{state-qytv0kk9.js → model-4g7z9a9z.js} +9 -9
- package/dist/chunks/{state-sxe8pyvn.js → model-4r1q6yk4.js} +22 -22
- package/dist/chunks/{state-xbq29fg5.js → model-4scs7em6.js} +23 -23
- package/dist/chunks/{state-crj50ndq.js → model-4w2arca3.js} +18 -18
- package/dist/chunks/{state-fwrss4ad.js → model-4y303w9z.js} +4 -4
- package/dist/chunks/{state-2zazyk1c.js → model-55xp6bg4.js} +18 -18
- package/dist/chunks/{state-57ez7d0k.js → model-57ez7d0k.js} +2 -2
- package/dist/chunks/{state-5daktx2q.js → model-5daktx2q.js} +1 -1
- package/dist/chunks/{state-mjyq2s3q.js → model-5f2gmn95.js} +9 -9
- package/dist/chunks/{state-r2psd9ex.js → model-5gscr08n.js} +19 -19
- package/dist/chunks/{state-dsvv60hh.js → model-5nxq8qj2.js} +3 -3
- package/dist/chunks/{state-mkx85r9t.js → model-5ny6014x.js} +16 -16
- package/dist/chunks/{state-xwkvp7ty.js → model-5qcg10v8.js} +3 -3
- package/dist/chunks/{state-5t3nmthw.js → model-5t3nmthw.js} +2 -2
- package/dist/chunks/{state-p84dsdfh.js → model-5we7r0eg.js} +8 -8
- package/dist/chunks/{state-eh40ahnx.js → model-5yrty1my.js} +44 -44
- package/dist/chunks/{state-zdd71wfk.js → model-617mz6mg.js} +32 -32
- package/dist/chunks/{state-69hatrp6.js → model-62wkya8p.js} +25 -25
- package/dist/chunks/{state-hpv0vy0a.js → model-65bmdj78.js} +32 -32
- package/dist/chunks/{state-669tq793.js → model-669tq793.js} +1 -1
- package/dist/chunks/{state-8fj2zpf8.js → model-67cn3afk.js} +3 -3
- package/dist/chunks/{state-w4arg62q.js → model-6anwy9fs.js} +4 -4
- package/dist/chunks/{state-82rhge12.js → model-6hjx5zpb.js} +9 -9
- package/dist/chunks/{state-t50p445y.js → model-6hm3mx1k.js} +6 -6
- package/dist/chunks/{state-6msgmcgs.js → model-6msgmcgs.js} +1 -1
- package/dist/chunks/{state-3djcpfd1.js → model-6np7xqzj.js} +13 -13
- package/dist/chunks/{state-brz97kxb.js → model-6r7d6r5c.js} +8 -8
- package/dist/chunks/{state-4t1gg8ab.js → model-6tac3grq.js} +22 -22
- package/dist/chunks/{state-s3dw44fc.js → model-6za5pss1.js} +45 -45
- package/dist/chunks/{state-k294xaja.js → model-7bgx2qk6.js} +8 -8
- package/dist/chunks/{state-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-q3jrktjg.js → model-7jpnqdrn.js} +10 -10
- package/dist/chunks/{state-6yzef1y4.js → model-7rh4jp67.js} +11 -11
- package/dist/chunks/{state-q3t37ft6.js → model-7w99qc9d.js} +3 -3
- package/dist/chunks/{state-fbzdn206.js → model-7x8pqxry.js} +11 -11
- package/dist/chunks/{state-wfea6jy1.js → model-7z44qz3y.js} +4 -4
- package/dist/chunks/{state-0b59w6b8.js → model-80re81y7.js} +27 -27
- package/dist/chunks/{state-h7466sjn.js → model-814nz666.js} +11 -11
- package/dist/chunks/{state-20pcmxm3.js → model-81c74w9q.js} +25 -25
- package/dist/chunks/{state-qnazj4rm.js → model-82ecz04y.js} +3 -3
- package/dist/chunks/{state-tcezcvh9.js → model-89znhe33.js} +4 -4
- package/dist/chunks/{state-8d7r5vzw.js → model-8d7r5vzw.js} +1 -1
- package/dist/chunks/{state-qwgcfn1w.js → model-8dft9m2d.js} +11 -11
- package/dist/chunks/{state-cahkz71r.js → model-8dvafn7y.js} +11 -11
- package/dist/chunks/{state-ckzpwx1e.js → model-8g1y0937.js} +23 -23
- package/dist/chunks/{state-gbmt15v2.js → model-8msexk33.js} +13 -13
- package/dist/chunks/{state-w3x9v1nk.js → model-8n69n882.js} +8 -8
- package/dist/chunks/{state-dj2t23y0.js → model-8p4f9s12.js} +2 -2
- package/dist/chunks/{state-vac75nvd.js → model-8pydb23g.js} +3 -3
- package/dist/chunks/{state-082a02mf.js → model-8qm1q81j.js} +28 -28
- package/dist/chunks/{state-0j67avv1.js → model-8sak357k.js} +9 -9
- package/dist/chunks/{state-h34b2p0g.js → model-8z61dkqt.js} +11 -11
- package/dist/chunks/{state-xp1ezwwp.js → model-998qzjh2.js} +18 -18
- package/dist/chunks/{state-vnp99bxh.js → model-9evpctxc.js} +5 -5
- package/dist/chunks/{state-ny0kgn08.js → model-9gfv2xp5.js} +2 -2
- package/dist/chunks/{state-cmwkp3r5.js → model-9hn6k4tm.js} +8 -8
- package/dist/chunks/{state-reg39rye.js → model-9jsep90k.js} +18 -18
- package/dist/chunks/{state-8sph61ej.js → model-9jywrqt4.js} +15 -15
- package/dist/chunks/{state-24x3edfr.js → model-9qm9mqrq.js} +43 -43
- package/dist/chunks/model-9z8annsp.js +26 -0
- package/dist/chunks/{state-fydfvvar.js → model-9zav9t5q.js} +4 -4
- package/dist/chunks/model-9zdhvgqs.js +18 -0
- package/dist/chunks/{state-5c4hm403.js → model-a1bz86dw.js} +3 -3
- package/dist/chunks/{state-j5hbqz0e.js → model-a46pcpxp.js} +5 -5
- package/dist/chunks/{state-aaet6srn.js → model-aaet6srn.js} +2 -2
- package/dist/chunks/{state-qh8vdwx1.js → model-ak9msbxp.js} +6 -6
- package/dist/chunks/{state-jx6e651b.js → model-b24rrkag.js} +16 -16
- package/dist/chunks/{state-3w9dm1p6.js → model-b2bk0y8k.js} +35 -35
- package/dist/chunks/{state-b6gygkdw.js → model-b6gygkdw.js} +2 -2
- package/dist/chunks/{state-24n67b4a.js → model-b7hkd5vm.js} +5 -5
- package/dist/chunks/{state-xs7q27km.js → model-b9zak6q0.js} +18 -18
- package/dist/chunks/{state-4742rsvj.js → model-baw5f1vq.js} +23 -23
- package/dist/chunks/{state-gmvqgtzg.js → model-bmzfqpm5.js} +25 -25
- package/dist/chunks/{state-jqnmewag.js → model-bwgn3y77.js} +16 -16
- package/dist/chunks/{state-4jc5c4h4.js → model-bz85s9hh.js} +1 -1
- package/dist/chunks/{state-5ry2patn.js → model-c21zgsdc.js} +89 -89
- package/dist/chunks/{state-m0jqrx5p.js → model-cfpkc3c9.js} +2 -2
- package/dist/chunks/{state-envn6cbq.js → model-cmx30k2t.js} +25 -25
- package/dist/chunks/{state-fve1b9pq.js → model-cp54x4ft.js} +14 -14
- package/dist/chunks/{state-jxahb5yh.js → model-cpcceztk.js} +11 -11
- package/dist/chunks/{state-3c4e3q8d.js → model-cq37gk0t.js} +4 -4
- package/dist/chunks/{state-rgaa4eab.js → model-cxe1rn3h.js} +61 -61
- package/dist/chunks/{state-erqyqkr7.js → model-cypx4awd.js} +12 -12
- package/dist/chunks/{state-b8bdg5q4.js → model-d0n5q4mr.js} +22 -22
- package/dist/chunks/{state-eqkxs06z.js → model-d1mtykxg.js} +6 -6
- package/dist/chunks/{state-y811x3x5.js → model-d8a4cx75.js} +29 -29
- package/dist/chunks/{state-ckf8nxjz.js → model-ddt2bs9e.js} +4 -4
- package/dist/chunks/{state-sapn1ja6.js → model-detb6v1k.js} +13 -13
- package/dist/chunks/{state-jn4dfycx.js → model-dhq7qzd4.js} +9 -9
- package/dist/chunks/{state-z6bwbw5f.js → model-djjemven.js} +15 -15
- package/dist/chunks/{state-etp4kp2m.js → model-dpbk6b42.js} +11 -11
- package/dist/chunks/{state-0dm5naev.js → model-dsvzr21z.js} +8 -8
- package/dist/chunks/{state-y08awjjx.js → model-dz52anvj.js} +10 -10
- package/dist/chunks/{state-da7rfe2v.js → model-e27b6zer.js} +41 -41
- package/dist/chunks/{state-mvr5bn4j.js → model-ecdbp5kc.js} +12 -12
- package/dist/chunks/{state-r8hgcn7e.js → model-eda10e0w.js} +13 -13
- package/dist/chunks/{state-ef5x83kb.js → model-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-0rg4ktbj.js → model-egtt0c8j.js} +10 -10
- package/dist/chunks/{state-erw5rpbs.js → model-erw5rpbs.js} +2 -2
- package/dist/chunks/{state-etq0c3wd.js → model-etq0c3wd.js} +1 -1
- package/dist/chunks/{state-3w0fmcng.js → model-evbgk2k8.js} +5 -5
- package/dist/chunks/{state-445gfy8g.js → model-ewcf1cet.js} +33 -33
- package/dist/chunks/{state-4rxpvwq1.js → model-f25186rv.js} +9 -9
- package/dist/chunks/{state-jw80jp6b.js → model-f3ngv102.js} +4 -4
- package/dist/chunks/{state-0sxvvb3w.js → model-f5yjxap3.js} +27 -27
- package/dist/chunks/{state-3sm54r8q.js → model-f65e2tnm.js} +14 -14
- package/dist/chunks/{state-hdnk95c8.js → model-f828m53h.js} +2 -2
- package/dist/chunks/{state-t86zkmz1.js → model-fed635kz.js} +48 -48
- package/dist/chunks/{state-fsrn267a.js → model-fgh23p0g.js} +10 -10
- package/dist/chunks/{state-w3d1wx13.js → model-fhwzv4xw.js} +24 -24
- package/dist/chunks/{state-00zhev0m.js → model-fkdsr5vw.js} +172 -172
- package/dist/chunks/{state-fxbjtjnd.js → model-fxbjtjnd.js} +1 -1
- package/dist/chunks/{state-fd4fwae4.js → model-fy24btyg.js} +10 -10
- package/dist/chunks/{state-eds2t28z.js → model-g4zzvkd8.js} +15 -15
- package/dist/chunks/{state-8xzwannf.js → model-g76p47h1.js} +4 -4
- package/dist/chunks/{state-tkmwgdpd.js → model-g8d3gcyj.js} +4 -4
- package/dist/chunks/{state-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-2q15ef5p.js → model-gfme63kk.js} +6 -6
- package/dist/chunks/{state-jkzpbdjq.js → model-gpj713yt.js} +20 -20
- package/dist/chunks/{state-3sb31twn.js → model-gq14rzd7.js} +3 -3
- package/dist/chunks/{state-gv6a8nnw.js → model-gv6a8nnw.js} +2 -2
- package/dist/chunks/{state-twk0bc43.js → model-gzmxr3dp.js} +15 -15
- package/dist/chunks/{state-b7hq0td9.js → model-h3ns4h34.js} +33 -33
- package/dist/chunks/{state-06av6aqk.js → model-h4qyhxwk.js} +5 -5
- package/dist/chunks/{state-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-syrrgdn4.js → model-hmncc71v.js} +25 -25
- package/dist/chunks/{state-yr9qftvg.js → model-hnfep17d.js} +21 -21
- package/dist/chunks/{state-az14jj64.js → model-hqk0mjyf.js} +33 -33
- package/dist/chunks/{state-rnvjvqpz.js → model-hsej789g.js} +11 -11
- package/dist/chunks/{state-fzpgp42w.js → model-j1b1tpcz.js} +11 -11
- package/dist/chunks/{state-zn3ftspj.js → model-j1k2dzb5.js} +8 -8
- package/dist/chunks/{state-j56e64zr.js → model-j56e64zr.js} +1 -1
- package/dist/chunks/{state-xw29n0bq.js → model-j68b2vf9.js} +19 -19
- package/dist/chunks/{state-07xyahhy.js → model-ja8b0p8w.js} +37 -37
- package/dist/chunks/{state-vcep48s5.js → model-jd1hrekq.js} +20 -20
- package/dist/chunks/{state-kbb6kjfx.js → model-jfjcbkfy.js} +17 -17
- package/dist/chunks/{state-xgqe14p2.js → model-jj3nkk17.js} +3 -3
- package/dist/chunks/{state-ypncs580.js → model-jm6epzf6.js} +24 -24
- package/dist/chunks/{state-enhayb15.js → model-jycas13j.js} +10 -10
- package/dist/chunks/{state-96kdhf6f.js → model-k1drtz54.js} +26 -26
- package/dist/chunks/{state-k3c624dm.js → model-k3c624dm.js} +3 -3
- package/dist/chunks/{state-44ke2mar.js → model-k9kj6xed.js} +6 -6
- package/dist/chunks/{state-ef61rkg5.js → model-kgwh26dr.js} +19 -19
- package/dist/chunks/{state-x1vjt85b.js → model-kjr739rk.js} +23 -23
- package/dist/chunks/{state-brx6f7c0.js → model-kpfqh20w.js} +16 -16
- package/dist/chunks/{state-nvbct2xq.js → model-kqx275ez.js} +16 -16
- package/dist/chunks/{state-p7yx2ddp.js → model-kr6k72bg.js} +321 -321
- package/dist/chunks/{state-m3fdjcah.js → model-m3fdjcah.js} +1 -1
- package/dist/chunks/{state-h0qb8jnk.js → model-m51ka6xh.js} +26 -26
- package/dist/chunks/{state-dswh3rat.js → model-m6hv1ynn.js} +13 -13
- package/dist/chunks/{state-58t1cv1c.js → model-m7zf2my5.js} +8 -8
- package/dist/chunks/{state-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-vahzvnrh.js → model-mzmk89a7.js} +7 -7
- package/dist/chunks/{state-3hatapfr.js → model-n1f5brrh.js} +13 -13
- package/dist/chunks/{state-jca4demv.js → model-nng2ktcm.js} +2 -2
- package/dist/chunks/{state-pnv527nz.js → model-nq7qbqzc.js} +9 -9
- package/dist/chunks/{state-6t298p2h.js → model-nr0jgk0c.js} +12 -12
- package/dist/chunks/{state-gcjfqdjs.js → model-nsjh0tf2.js} +13 -13
- package/dist/chunks/{state-gjsbc86j.js → model-p03m8v7a.js} +23 -23
- package/dist/chunks/{state-jcajstdn.js → model-p3ej63d7.js} +21 -21
- package/dist/chunks/{state-1pch5d31.js → model-p3psqptm.js} +17 -17
- package/dist/chunks/{state-0f9afca0.js → model-pecb0brz.js} +5 -5
- package/dist/chunks/{state-5szeem2z.js → model-pek9xgfv.js} +50 -50
- package/dist/chunks/{state-kkp8zx71.js → model-ph842b28.js} +4 -4
- package/dist/chunks/{state-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-7zdrdht4.js → model-pk6g247z.js} +6 -6
- package/dist/chunks/{state-g8cz2a0a.js → model-pkd8g7wy.js} +21 -21
- package/dist/chunks/{state-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{state-q5v3cv76.js → model-ptxd578g.js} +6 -6
- package/dist/chunks/{state-bcdacnkc.js → model-pv4qdjr1.js} +7 -7
- package/dist/chunks/{state-kcv68n8h.js → model-px4npgva.js} +11 -11
- package/dist/chunks/{state-afvjkwnc.js → model-q2nysqs7.js} +8 -8
- package/dist/chunks/{state-c9ys2xqx.js → model-q4e839b4.js} +18 -18
- package/dist/chunks/{state-jz5sxy2v.js → model-q5nw5m1n.js} +6 -6
- package/dist/chunks/model-qapv375x.js +4 -0
- package/dist/chunks/{state-xa5vzajb.js → model-qcp46jqm.js} +20 -20
- package/dist/chunks/{state-bwy0wnve.js → model-qnpnzv83.js} +32 -32
- package/dist/chunks/{state-jdwbeweq.js → model-qq1r3f8e.js} +20 -20
- package/dist/chunks/{state-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{state-dbm93dyc.js → model-qtm3z6ae.js} +4 -4
- package/dist/chunks/{state-ywfcz4kd.js → model-qw90jq9z.js} +22 -22
- package/dist/chunks/{state-qx5nxg37.js → model-r1hwgwre.js} +11 -11
- package/dist/chunks/{state-djszqvmq.js → model-r2m716tb.js} +9 -9
- package/dist/chunks/{state-5kk03qhb.js → model-r6mmreqb.js} +14 -14
- package/dist/chunks/{state-hwakma19.js → model-ramdt8r4.js} +34 -34
- package/dist/chunks/{state-rdw6cm16.js → model-rdw6cm16.js} +1 -1
- package/dist/chunks/{state-z42db625.js → model-reg1ax5q.js} +41 -41
- package/dist/chunks/{state-02nrjc1r.js → model-rhjbct0v.js} +6 -6
- package/dist/chunks/{state-x0vavgn5.js → model-rnxs58b0.js} +19 -19
- package/dist/chunks/{state-pc0qmpcp.js → model-scm34zbb.js} +30 -30
- package/dist/chunks/{state-fp7m90ch.js → model-svpkzja3.js} +1 -1
- package/dist/chunks/{state-vncycja5.js → model-t9zs3egg.js} +4 -4
- package/dist/chunks/{state-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-tbz0fdvh.js → model-tbz0fdvh.js} +2 -2
- package/dist/chunks/{state-t5mbwcqt.js → model-tcd91va5.js} +30 -30
- package/dist/chunks/{state-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{state-j4ehyg90.js → model-tfeg9myv.js} +8 -8
- package/dist/chunks/{state-tnz9rdk5.js → model-tgfzkdey.js} +22 -22
- package/dist/chunks/{state-2jfqkynx.js → model-tgrf6q2r.js} +28 -28
- package/dist/chunks/{state-b04b8x2j.js → model-thwc3zjr.js} +5 -5
- package/dist/chunks/{state-sywfsqmm.js → model-trrw5nej.js} +30 -30
- package/dist/chunks/{state-tvtrv512.js → model-tvtrv512.js} +1 -1
- package/dist/chunks/{state-a7atkcpn.js → model-v5wng4vz.js} +32 -32
- package/dist/chunks/{state-vs49n45c.js → model-vd8a1zrh.js} +34 -34
- package/dist/chunks/{state-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{state-a694798e.js → model-vnwmzs4a.js} +5 -5
- package/dist/chunks/{state-9v91qm1a.js → model-vw5157cc.js} +11 -11
- package/dist/chunks/{state-vzcthcp8.js → model-vzcthcp8.js} +1 -1
- package/dist/chunks/{state-ae4fnj82.js → model-w3jqh4s1.js} +5 -5
- package/dist/chunks/{state-gr1f03ws.js → model-w3nq1sqw.js} +9 -9
- package/dist/chunks/{state-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{state-mm9chaq4.js → model-wgjvgmhd.js} +9 -9
- package/dist/chunks/{state-4ahg9bde.js → model-wjp0zyyh.js} +76 -76
- package/dist/chunks/{state-ard29dtx.js → model-wk5aq6b6.js} +20 -20
- package/dist/chunks/{state-8fd6bm6b.js → model-wrypsvr9.js} +22 -22
- package/dist/chunks/{state-408pxxnj.js → model-wyk2zdvm.js} +7 -7
- package/dist/chunks/{state-x1ezjp6w.js → model-x1ezjp6w.js} +1 -1
- package/dist/chunks/{state-8xz1pmc4.js → model-x6e27gyg.js} +33 -33
- package/dist/chunks/{state-5n2n84t7.js → model-x7gy7spk.js} +47 -47
- package/dist/chunks/{state-xfkkasph.js → model-xfkkasph.js} +1 -1
- package/dist/chunks/{state-gr6w9vkk.js → model-xfwdgfzz.js} +10 -10
- package/dist/chunks/{state-26gnd6ny.js → model-xqbee9d5.js} +15 -15
- package/dist/chunks/{state-e7nzk88m.js → model-xqvzjshe.js} +49 -49
- package/dist/chunks/{state-56zn65x2.js → model-xrsj52z1.js} +17 -17
- package/dist/chunks/{state-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-r3gf3h6k.js → model-y6rnqc01.js} +32 -32
- package/dist/chunks/{state-y71avatq.js → model-y71avatq.js} +1 -1
- package/dist/chunks/{state-5ndhfjk8.js → model-y890a693.js} +18 -18
- package/dist/chunks/{state-y1b03k3j.js → model-ycznwsmg.js} +57 -57
- package/dist/chunks/{state-ty5rq330.js → model-ymg7q630.js} +1 -1
- package/dist/chunks/{state-yrhqyw5v.js → model-yrhqyw5v.js} +1 -1
- package/dist/chunks/{state-yrznvahk.js → model-yrznvahk.js} +2 -2
- package/dist/chunks/{state-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-z63w68vq.js → model-z63w68vq.js} +2 -2
- package/dist/chunks/{state-zeh9ct20.js → model-zeh9ct20.js} +2 -2
- package/dist/chunks/{state-fpjcj5z0.js → model-zh4h8ren.js} +22 -22
- package/dist/chunks/{state-akftsrpr.js → model-zn7x5201.js} +44 -44
- package/dist/chunks/{state-g10yfvmw.js → model-zp6a1j7x.js} +12 -12
- package/dist/chunks/{state-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-t3he66w2.js → model-zva0wn8c.js} +24 -24
- package/dist/chunks/{state-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- 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 +78 -78
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +100 -100
- 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 +98 -98
- 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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- 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 +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +126 -126
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +73 -73
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/state-0mesazry.js +0 -4
- package/dist/chunks/state-dxj72tfx.js +0 -18
- package/dist/chunks/state-ec2warxy.js +0 -26
- package/dist/chunks/state-nzkkyty2.js +0 -252
- /package/dist/chunks/{state-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → model-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3w5fmr99.js → model-3w5fmr99.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-5qd3pb7m.js → model-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-922hggd3.js → model-922hggd3.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fxgpk5d8.js → model-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hjbc5kem.js → model-hjbc5kem.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-sk3qaz4a.js → model-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-twg0f83k.js → model-twg0f83k.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8cydn3q.js → model-y8cydn3q.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./model-80re81y7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./model-ycznwsmg.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin49,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin49 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service72;
|
|
57
|
+
const permission = yield* Service64;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input13,
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin49, exports_question };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info21,
|
|
6
|
+
ID7,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-k1drtz54.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service44
|
|
11
|
+
} from "./model-xqvzjshe.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin16,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin16 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info21.make({
|
|
434
|
+
id: ID7.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info21.make({
|
|
441
|
+
id: ID7.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service44;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin16, exports_skill };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./model-b2bk0y8k.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID12.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-pv4qdjr1.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node4
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node4 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node4, bound2, exports_instance2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-m51ka6xh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node83
|
|
10
|
+
} from "./model-r6mmreqb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service64,
|
|
13
|
+
node67
|
|
14
|
+
} from "./model-ycznwsmg.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service51,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node54,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service51 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service79;
|
|
61
|
+
const permission = yield* Service64;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service51.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node54 = makeLocationNode({ service: Service51, layer, deps: [FSUtil.node, node83, node67] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service51, resolvePath2, node54, exports_file_access };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./model-r6mmreqb.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service44
|
|
7
|
+
} from "./model-xqvzjshe.js";
|
|
8
8
|
import {
|
|
9
9
|
Service13
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-mzmk89a7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make7
|
|
13
|
+
} from "./model-1bbkgx8g.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin34
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,14 +30,14 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin34 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
36
|
+
const config = yield* Service44;
|
|
37
37
|
const formatter = yield* Service13;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
|
-
const location = yield*
|
|
40
|
+
const location = yield* Service79;
|
|
41
41
|
const npm = yield* Npm.Service;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -45,7 +45,7 @@ var Plugin16 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make7({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin16 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin34, exports_formatter };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service44
|
|
7
|
+
} from "./model-xqvzjshe.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service77
|
|
13
|
+
} from "./model-fhwzv4xw.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service57
|
|
16
|
+
} from "./model-gzmxr3dp.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service64
|
|
19
|
+
} from "./model-ycznwsmg.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service51,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-9jsep90k.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service55,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-tgfzkdey.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError4,
|
|
36
|
+
Service42
|
|
37
|
+
} from "./model-fed635kz.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service22
|
|
40
|
+
} from "./model-49tets05.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./model-9zav9t5q.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./model-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin19,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name3 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input3 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin19 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service22;
|
|
122
|
+
const jobs = yield* Service57;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service77;
|
|
125
|
+
const access = yield* Service51;
|
|
126
|
+
const shell = yield* Service42;
|
|
127
|
+
const shellSelect = yield* Service55;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service64;
|
|
130
|
+
const config = yield* Service44;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin12 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name3,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin12 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name3,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input3,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin12 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError4({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name3,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name3];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin19, exports_shell };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin3
|
|
3
|
+
} from "./model-5we7r0eg.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin5
|
|
6
|
+
} from "./model-wgjvgmhd.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin6
|
|
9
|
+
} from "./model-3d48rpge.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin4
|
|
12
|
+
} from "./model-q2nysqs7.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin7
|
|
15
|
+
} from "./model-32c9kn6c.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin3,
|
|
20
|
+
Plugin5,
|
|
21
|
+
Plugin6,
|
|
22
|
+
Plugin4,
|
|
23
|
+
Plugin7
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-tgfzkdey.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./model-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service30,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service30 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service30.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service30, awaitActivation2, exports_service };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-1tvyn6pa.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID13,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-qnpnzv83.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID13.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|