@opencode/core 0.0.0-dev-21603 → 0.0.0-dev-21612
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 +77 -77
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{filesystem-034tev2y.js → aisdk-native-034tev2y.js} +2 -2
- package/dist/chunks/{filesystem-fznmdakp.js → aisdk-native-0h8y3ex8.js} +4 -4
- package/dist/chunks/{filesystem-d5rem3a1.js → aisdk-native-0mvvgekb.js} +11 -11
- package/dist/chunks/{filesystem-zkgq49d1.js → aisdk-native-0p88zpcm.js} +4 -4
- package/dist/chunks/{filesystem-jzckctm7.js → aisdk-native-13bbzwy7.js} +24 -24
- package/dist/chunks/{filesystem-pmr385ej.js → aisdk-native-198d4dj8.js} +11 -11
- package/dist/chunks/aisdk-native-1cckp2fn.js +523 -0
- package/dist/chunks/{filesystem-s4s6vne1.js → aisdk-native-1cyb1m4w.js} +7 -7
- package/dist/chunks/{filesystem-1ep2p91f.js → aisdk-native-1ep2p91f.js} +2 -2
- package/dist/chunks/{filesystem-axbw4nz1.js → aisdk-native-1fkpw8gt.js} +21 -21
- package/dist/chunks/{filesystem-hj2jsaw9.js → aisdk-native-1gg4q76m.js} +16 -16
- package/dist/chunks/{filesystem-2q14gge3.js → aisdk-native-1m4rqshn.js} +25 -25
- package/dist/chunks/{filesystem-yznjjmbw.js → aisdk-native-1mm2v6mc.js} +131 -131
- package/dist/chunks/{filesystem-ndfn0p5e.js → aisdk-native-1rjrm2sv.js} +22 -22
- package/dist/chunks/{filesystem-q45ckesn.js → aisdk-native-1rt3r85y.js} +33 -33
- package/dist/chunks/{filesystem-s0jq7590.js → aisdk-native-1s5gppce.js} +18 -18
- package/dist/chunks/{filesystem-1x2knyw4.js → aisdk-native-1x2knyw4.js} +1 -1
- package/dist/chunks/{filesystem-ps833y8c.js → aisdk-native-2196w46z.js} +6 -6
- package/dist/chunks/{filesystem-65k60evq.js → aisdk-native-27fatwet.js} +3 -3
- package/dist/chunks/{filesystem-5ajak8ts.js → aisdk-native-27fd18et.js} +40 -40
- package/dist/chunks/{filesystem-ewt411c3.js → aisdk-native-2bxyfep6.js} +18 -18
- package/dist/chunks/{filesystem-zjbp7710.js → aisdk-native-2dneksdx.js} +39 -39
- package/dist/chunks/{filesystem-be4y46ka.js → aisdk-native-2h3kfxqf.js} +18 -18
- package/dist/chunks/{filesystem-an558sqv.js → aisdk-native-2jq4ff38.js} +4 -4
- package/dist/chunks/{filesystem-bcrvt9qa.js → aisdk-native-2ra4cbhs.js} +68 -68
- package/dist/chunks/{filesystem-8p2axgtb.js → aisdk-native-2rvp97kp.js} +8 -8
- package/dist/chunks/{filesystem-a0pqy3jv.js → aisdk-native-2vbt6wdx.js} +11 -11
- package/dist/chunks/{filesystem-2z1j29yd.js → aisdk-native-2z1j29yd.js} +1 -1
- package/dist/chunks/{filesystem-0kew33c2.js → aisdk-native-34x5nqhx.js} +7 -7
- package/dist/chunks/{filesystem-nzhn8ym0.js → aisdk-native-3aekr6j7.js} +20 -20
- package/dist/chunks/{filesystem-spa8vgy8.js → aisdk-native-3dcm03ph.js} +8 -8
- package/dist/chunks/{filesystem-v6ssz0w4.js → aisdk-native-3gh72xqr.js} +4 -4
- package/dist/chunks/{filesystem-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-zmwx25fz.js → aisdk-native-3j92816q.js} +2 -2
- package/dist/chunks/{filesystem-qmhe942t.js → aisdk-native-3jy448d0.js} +4 -4
- package/dist/chunks/{filesystem-t2wr9q9z.js → aisdk-native-3kr60y6h.js} +13 -13
- package/dist/chunks/{filesystem-3nnrz6f6.js → aisdk-native-3nnrz6f6.js} +1 -1
- package/dist/chunks/{filesystem-hw3tvpxd.js → aisdk-native-3pa2rjde.js} +12 -12
- package/dist/chunks/{filesystem-rfytqs76.js → aisdk-native-3vdp866e.js} +79 -79
- package/dist/chunks/{filesystem-r7bm2ta5.js → aisdk-native-3z4b5d3m.js} +10 -10
- package/dist/chunks/{filesystem-b6kqqew2.js → aisdk-native-4ak0krvy.js} +3 -3
- package/dist/chunks/{filesystem-f2de68n6.js → aisdk-native-4dcms3k7.js} +3 -3
- package/dist/chunks/{filesystem-ggm2jm67.js → aisdk-native-4t3x74b2.js} +11 -11
- package/dist/chunks/{filesystem-mgd76wh1.js → aisdk-native-4te27j6d.js} +15 -15
- package/dist/chunks/{filesystem-4v008n1t.js → aisdk-native-4v008n1t.js} +1 -1
- package/dist/chunks/{filesystem-4xvmh7wp.js → aisdk-native-4xvmh7wp.js} +3 -3
- package/dist/chunks/{filesystem-kybr559y.js → aisdk-native-52cv33bm.js} +16 -16
- package/dist/chunks/{filesystem-xxecem69.js → aisdk-native-5fdsmgyt.js} +28 -28
- package/dist/chunks/{filesystem-5m9w47nd.js → aisdk-native-5m9w47nd.js} +1 -1
- package/dist/chunks/{filesystem-r2skbm8f.js → aisdk-native-5v23njyw.js} +9 -9
- package/dist/chunks/{filesystem-8wxy6m1c.js → aisdk-native-6b82316f.js} +10 -10
- package/dist/chunks/{filesystem-2j6zzxrf.js → aisdk-native-6bz4jnmt.js} +1 -1
- package/dist/chunks/{filesystem-6esdw8yj.js → aisdk-native-6esdw8yj.js} +1 -1
- package/dist/chunks/{filesystem-81852ppe.js → aisdk-native-6fb985w0.js} +5 -5
- package/dist/chunks/{filesystem-jx3jy26a.js → aisdk-native-6hzcf0p5.js} +14 -14
- package/dist/chunks/{filesystem-k0rz3mv5.js → aisdk-native-6kbqf6en.js} +20 -20
- package/dist/chunks/{filesystem-6pjqjmy2.js → aisdk-native-6pjqjmy2.js} +1 -1
- package/dist/chunks/{filesystem-ya1e3r6x.js → aisdk-native-6vy2rpk2.js} +18 -18
- package/dist/chunks/{filesystem-7zaqb5eb.js → aisdk-native-6ymqbjrh.js} +11 -11
- package/dist/chunks/{filesystem-ggdzy5vb.js → aisdk-native-6yrbmtw5.js} +11 -11
- package/dist/chunks/{filesystem-p6brcwvv.js → aisdk-native-76axf8nz.js} +5 -5
- package/dist/chunks/{filesystem-1byvm3vx.js → aisdk-native-78abqzx4.js} +9 -9
- package/dist/chunks/{filesystem-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-6825m99s.js → aisdk-native-7ddnskd4.js} +17 -17
- package/dist/chunks/{filesystem-nt6ka9fm.js → aisdk-native-7ewmxdvt.js} +11 -11
- package/dist/chunks/{filesystem-7fvw33xg.js → aisdk-native-7fvw33xg.js} +5 -5
- package/dist/chunks/{filesystem-6xsqtwm9.js → aisdk-native-7ty15rsh.js} +32 -32
- package/dist/chunks/{filesystem-rhkbbz1f.js → aisdk-native-7ve3eegy.js} +6 -6
- package/dist/chunks/{filesystem-7w2ypzdf.js → aisdk-native-7w2ypzdf.js} +1 -1
- package/dist/chunks/{filesystem-wh56f0xg.js → aisdk-native-7x78a7k1.js} +14 -14
- package/dist/chunks/{filesystem-nv7qnqx3.js → aisdk-native-808cah4d.js} +11 -11
- package/dist/chunks/{filesystem-033a0jkt.js → aisdk-native-8bc2ahr8.js} +3 -3
- package/dist/chunks/{filesystem-7csthhj8.js → aisdk-native-8ewa8gh4.js} +4 -4
- package/dist/chunks/{filesystem-ek8mq45z.js → aisdk-native-8nnpfx33.js} +16 -16
- package/dist/chunks/{filesystem-8wtp7s3z.js → aisdk-native-8wtp7s3z.js} +1 -1
- package/dist/chunks/aisdk-native-8x060fmy.js +18 -0
- package/dist/chunks/{filesystem-91rj84md.js → aisdk-native-91rj84md.js} +1 -1
- package/dist/chunks/{filesystem-ma48de29.js → aisdk-native-92azg307.js} +5 -5
- package/dist/chunks/{filesystem-b55rpsr5.js → aisdk-native-946kykk0.js} +4 -4
- package/dist/chunks/{filesystem-v11fj23z.js → aisdk-native-963r0pdn.js} +11 -11
- package/dist/chunks/{filesystem-r6wgv8c9.js → aisdk-native-997dsrmm.js} +8 -8
- package/dist/chunks/{filesystem-998yhzzq.js → aisdk-native-998yhzzq.js} +3 -3
- package/dist/chunks/{filesystem-ea8rv3yk.js → aisdk-native-99dbxh5z.js} +19 -19
- package/dist/chunks/{filesystem-w3hdzqmq.js → aisdk-native-9g96bbv2.js} +9 -9
- package/dist/chunks/{filesystem-m07e8bkf.js → aisdk-native-9hh4ayqn.js} +15 -15
- package/dist/chunks/{filesystem-vck145x8.js → aisdk-native-9jgp2d11.js} +9 -9
- package/dist/chunks/{filesystem-5s0q14pj.js → aisdk-native-9kwea3cx.js} +8 -8
- package/dist/chunks/{filesystem-w4ey5q3y.js → aisdk-native-9rb7qd2f.js} +14 -14
- package/dist/chunks/{filesystem-7ag3s6hb.js → aisdk-native-9tvpxs1q.js} +4 -4
- package/dist/chunks/{filesystem-7he63rq2.js → aisdk-native-a01aghsd.js} +3 -3
- package/dist/chunks/{filesystem-t7e7c0ah.js → aisdk-native-a4ww6fpm.js} +6 -6
- package/dist/chunks/{filesystem-9dzxay90.js → aisdk-native-a72d1evn.js} +20 -20
- package/dist/chunks/{filesystem-ze4vdf9h.js → aisdk-native-a8faq3v6.js} +1 -1
- package/dist/chunks/{filesystem-szcgc7h4.js → aisdk-native-afmnpta1.js} +5 -5
- package/dist/chunks/{filesystem-r5q168xg.js → aisdk-native-ama0fday.js} +46 -46
- package/dist/chunks/{filesystem-zqe6np9v.js → aisdk-native-arg2k2r6.js} +36 -36
- package/dist/chunks/{filesystem-my4zabxr.js → aisdk-native-axe3mf62.js} +3 -3
- package/dist/chunks/{filesystem-ayjs7tqn.js → aisdk-native-ayjs7tqn.js} +2 -2
- package/dist/chunks/{filesystem-b0mv4wxm.js → aisdk-native-b0mv4wxm.js} +2 -2
- package/dist/chunks/{filesystem-b6vsg801.js → aisdk-native-b6vsg801.js} +2 -2
- package/dist/chunks/{filesystem-jhe7xhev.js → aisdk-native-b8pny83v.js} +30 -30
- package/dist/chunks/{filesystem-32tacxf9.js → aisdk-native-b8r3qk2t.js} +4 -4
- package/dist/chunks/{filesystem-c3mghmzq.js → aisdk-native-badbtyep.js} +17 -17
- package/dist/chunks/{filesystem-nad4mkqt.js → aisdk-native-bk7xq8bh.js} +7 -7
- package/dist/chunks/{filesystem-pvg6n8yd.js → aisdk-native-bk9jwwb2.js} +25 -25
- package/dist/chunks/{filesystem-xrd94v26.js → aisdk-native-bpgfja34.js} +11 -11
- package/dist/chunks/{filesystem-wxf6pp3z.js → aisdk-native-bq6pg2b7.js} +29 -29
- package/dist/chunks/{filesystem-3v1362xg.js → aisdk-native-bs5hxq2j.js} +28 -28
- package/dist/chunks/{filesystem-bstexjd6.js → aisdk-native-bstexjd6.js} +1 -1
- package/dist/chunks/{filesystem-azwwy65a.js → aisdk-native-btnzg8nv.js} +18 -18
- package/dist/chunks/{filesystem-ntshrafh.js → aisdk-native-c27hftk9.js} +19 -19
- package/dist/chunks/{filesystem-p53t1m50.js → aisdk-native-c4qm83ve.js} +30 -30
- package/dist/chunks/{filesystem-qxd0vyyx.js → aisdk-native-c7t97er9.js} +7 -7
- package/dist/chunks/{filesystem-mtkfycnh.js → aisdk-native-c9t2ty9q.js} +4 -4
- package/dist/chunks/{filesystem-79yxn91x.js → aisdk-native-cn4abzy4.js} +15 -15
- package/dist/chunks/{filesystem-hx2kfbk2.js → aisdk-native-cx3naz87.js} +7 -7
- package/dist/chunks/{filesystem-942936k7.js → aisdk-native-d0zqqd9m.js} +48 -48
- package/dist/chunks/{filesystem-d4v9tmah.js → aisdk-native-d4v9tmah.js} +2 -2
- package/dist/chunks/{filesystem-2xm0hnd3.js → aisdk-native-d9pj6dwt.js} +6 -6
- package/dist/chunks/{filesystem-0s34gk3x.js → aisdk-native-dat1nafg.js} +6 -6
- package/dist/chunks/{filesystem-s1w5fnqx.js → aisdk-native-ddjt8fza.js} +16 -16
- package/dist/chunks/{filesystem-kmzgegqq.js → aisdk-native-ddvn7d3w.js} +8 -8
- package/dist/chunks/{filesystem-4k0n4aqd.js → aisdk-native-djhhcztn.js} +17 -17
- package/dist/chunks/{filesystem-bps13hr4.js → aisdk-native-dknea8rz.js} +11 -11
- package/dist/chunks/{filesystem-xw9sjbq7.js → aisdk-native-dmegvyd8.js} +23 -23
- package/dist/chunks/{filesystem-22qxr633.js → aisdk-native-dytnec17.js} +21 -21
- package/dist/chunks/{filesystem-1c8e1z5t.js → aisdk-native-e2egfevp.js} +5 -5
- package/dist/chunks/{filesystem-jneg3k74.js → aisdk-native-e5dqjz6v.js} +4 -4
- package/dist/chunks/{filesystem-cash41ab.js → aisdk-native-e5gp69z8.js} +14 -14
- package/dist/chunks/{filesystem-9d47vacw.js → aisdk-native-e5kftryj.js} +17 -17
- package/dist/chunks/{filesystem-gkkwf9ek.js → aisdk-native-e6mmdzve.js} +23 -23
- package/dist/chunks/{filesystem-e834z07m.js → aisdk-native-e834z07m.js} +1 -1
- package/dist/chunks/{filesystem-116ca35p.js → aisdk-native-ea1r856e.js} +21 -21
- package/dist/chunks/{filesystem-7k3s3q4g.js → aisdk-native-ed7mvkyj.js} +34 -34
- package/dist/chunks/{filesystem-dvebtgfn.js → aisdk-native-eej83p3g.js} +18 -18
- package/dist/chunks/{filesystem-ef5x83kb.js → aisdk-native-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-3k4jc8v0.js → aisdk-native-egmw08v6.js} +5 -5
- package/dist/chunks/{filesystem-z2g46f5b.js → aisdk-native-ekbcyck4.js} +4 -4
- package/dist/chunks/{filesystem-7n2s0hvn.js → aisdk-native-epw1zg9a.js} +5 -5
- package/dist/chunks/aisdk-native-f3rcc13h.js +26 -0
- package/dist/chunks/{filesystem-nftmt6w7.js → aisdk-native-faeh2f3m.js} +17 -17
- package/dist/chunks/{filesystem-cd9vvngm.js → aisdk-native-fcaeknbn.js} +2 -2
- package/dist/chunks/{filesystem-fffv3p7h.js → aisdk-native-fffv3p7h.js} +1 -1
- package/dist/chunks/{filesystem-8fg642az.js → aisdk-native-ffz3tc9v.js} +5 -5
- package/dist/chunks/{filesystem-exnmcfra.js → aisdk-native-fg4tf10z.js} +16 -16
- package/dist/chunks/{filesystem-d0adv3wn.js → aisdk-native-fmdf6w7w.js} +4 -4
- package/dist/chunks/{filesystem-pyeqa8z9.js → aisdk-native-fpxx0csr.js} +13 -13
- package/dist/chunks/{filesystem-3af2h6f6.js → aisdk-native-fs41n15a.js} +11 -11
- package/dist/chunks/{filesystem-rbj8gs5v.js → aisdk-native-fvx2cc1y.js} +3 -3
- package/dist/chunks/{filesystem-8k7htary.js → aisdk-native-g3b4v13r.js} +7 -7
- package/dist/chunks/{filesystem-g5h9c0rr.js → aisdk-native-g5h9c0rr.js} +2 -2
- package/dist/chunks/{filesystem-vmfhgzt5.js → aisdk-native-g7esga4v.js} +5 -5
- package/dist/chunks/{filesystem-vrcsa8qx.js → aisdk-native-gcjdgkn2.js} +9 -9
- package/dist/chunks/{filesystem-2qc03bdv.js → aisdk-native-gx1gk8hj.js} +12 -12
- package/dist/chunks/{filesystem-b4rme3tx.js → aisdk-native-h3trcs2a.js} +6 -6
- package/dist/chunks/{filesystem-xh3hzw7q.js → aisdk-native-h97zv2aj.js} +8 -8
- package/dist/chunks/{filesystem-2bxs16p1.js → aisdk-native-hgpd6zzq.js} +41 -41
- package/dist/chunks/{filesystem-7h2wc5qt.js → aisdk-native-hgpg76ms.js} +16 -16
- package/dist/chunks/{filesystem-7f5nwzj1.js → aisdk-native-hht7mzva.js} +26 -26
- package/dist/chunks/{filesystem-yyn8wt6y.js → aisdk-native-hqdrhf4v.js} +6 -6
- package/dist/chunks/{filesystem-tasvem1v.js → aisdk-native-hskrfeat.js} +6 -6
- package/dist/chunks/{filesystem-ty2sm10g.js → aisdk-native-hteqp9yr.js} +2 -2
- package/dist/chunks/{filesystem-j113cymg.js → aisdk-native-j113cymg.js} +1 -1
- package/dist/chunks/{filesystem-jgmj0zrj.js → aisdk-native-j5028axy.js} +37 -37
- package/dist/chunks/{filesystem-5wkrvrk3.js → aisdk-native-j97vpnw1.js} +21 -21
- package/dist/chunks/{filesystem-v714my2j.js → aisdk-native-jkecy7kk.js} +31 -31
- package/dist/chunks/{filesystem-t0861qrz.js → aisdk-native-jv4gvf4e.js} +14 -14
- package/dist/chunks/{filesystem-ed5h55sq.js → aisdk-native-jw3pqxff.js} +14 -14
- package/dist/chunks/{filesystem-w6e33p3k.js → aisdk-native-k42xhr73.js} +16 -16
- package/dist/chunks/{filesystem-k814nvkf.js → aisdk-native-k814nvkf.js} +1 -1
- package/dist/chunks/{filesystem-kmx603z6.js → aisdk-native-kp26b1yf.js} +50 -50
- package/dist/chunks/{filesystem-8xs7txxn.js → aisdk-native-ky46g3rt.js} +1 -1
- package/dist/chunks/{filesystem-m1714858.js → aisdk-native-m1714858.js} +1 -1
- package/dist/chunks/{filesystem-nh58hc9m.js → aisdk-native-m24prk5k.js} +81 -81
- package/dist/chunks/{filesystem-gmxp0tf2.js → aisdk-native-m375s6yx.js} +29 -29
- package/dist/chunks/{filesystem-mqqgcg93.js → aisdk-native-m4ewa1ea.js} +4 -4
- package/dist/chunks/{filesystem-4ap0d51q.js → aisdk-native-m4qmadmz.js} +3 -3
- package/dist/chunks/{filesystem-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-maspj1v3.js → aisdk-native-maspj1v3.js} +1 -1
- package/dist/chunks/{filesystem-k2swmk98.js → aisdk-native-mdnsa350.js} +14 -14
- package/dist/chunks/{filesystem-xxwqbg00.js → aisdk-native-mkh8e5qb.js} +22 -22
- package/dist/chunks/{filesystem-zj8h54zn.js → aisdk-native-mkhavqvz.js} +7 -7
- package/dist/chunks/{filesystem-mmkbt6v3.js → aisdk-native-mmkbt6v3.js} +2 -2
- package/dist/chunks/{filesystem-xcspg1bc.js → aisdk-native-mqth84vw.js} +21 -21
- package/dist/chunks/{filesystem-6w1z0afp.js → aisdk-native-mrwvncc0.js} +32 -32
- package/dist/chunks/{filesystem-7e5ts14b.js → aisdk-native-mw897n8n.js} +26 -21
- package/dist/chunks/{filesystem-vq1p6kkc.js → aisdk-native-n0j9rxme.js} +21 -21
- package/dist/chunks/{filesystem-n0p0277s.js → aisdk-native-n0p0277s.js} +1 -1
- package/dist/chunks/{filesystem-6je74zf0.js → aisdk-native-n3qeft5s.js} +13 -13
- package/dist/chunks/{filesystem-770pw0s1.js → aisdk-native-nah043kf.js} +4 -4
- package/dist/chunks/{filesystem-qnm4ee5f.js → aisdk-native-nbw9vdm7.js} +6 -6
- package/dist/chunks/{filesystem-jghabtcw.js → aisdk-native-nff5tryj.js} +24 -24
- package/dist/chunks/{filesystem-yjzq9vex.js → aisdk-native-nsz4hqpa.js} +27 -27
- package/dist/chunks/{filesystem-p015t6z3.js → aisdk-native-p015t6z3.js} +2 -2
- package/dist/chunks/{filesystem-6cxhfye1.js → aisdk-native-p13d239b.js} +22 -22
- package/dist/chunks/{filesystem-5zrxpy3q.js → aisdk-native-p7vhpwh8.js} +5 -5
- package/dist/chunks/{filesystem-eq3fc1qc.js → aisdk-native-pacbbjc0.js} +5 -5
- package/dist/chunks/{filesystem-3dedk1s0.js → aisdk-native-pb0pb4ja.js} +6 -6
- package/dist/chunks/{filesystem-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-w0ng8sb4.js → aisdk-native-pkq6cy3t.js} +14 -14
- package/dist/chunks/{filesystem-g1sdaffb.js → aisdk-native-ps6e1jcm.js} +27 -27
- package/dist/chunks/{filesystem-edvrbgb7.js → aisdk-native-qehpsavp.js} +9 -9
- package/dist/chunks/{filesystem-f17hsh48.js → aisdk-native-qfpreq8q.js} +12 -12
- package/dist/chunks/{filesystem-qjgzc4b4.js → aisdk-native-qjgzc4b4.js} +1 -1
- package/dist/chunks/{filesystem-1y0wdj51.js → aisdk-native-qv7y9773.js} +4 -4
- package/dist/chunks/{filesystem-4y366mta.js → aisdk-native-r0an0rnq.js} +4 -4
- package/dist/chunks/{filesystem-r0yr0wbs.js → aisdk-native-r0yr0wbs.js} +1 -1
- package/dist/chunks/{filesystem-rb9dy4dg.js → aisdk-native-rb9dy4dg.js} +1 -1
- package/dist/chunks/{filesystem-r66x192s.js → aisdk-native-rf1mqepq.js} +30 -30
- package/dist/chunks/{filesystem-57r3w4mg.js → aisdk-native-rq2mk7m1.js} +23 -23
- package/dist/chunks/{filesystem-rrad2nt9.js → aisdk-native-rrad2nt9.js} +1 -1
- package/dist/chunks/{filesystem-rt5dr6hb.js → aisdk-native-rt5dr6hb.js} +1 -1
- package/dist/chunks/{filesystem-z5hhap5m.js → aisdk-native-rwjwmpkv.js} +7 -7
- package/dist/chunks/{filesystem-bmz6t6pq.js → aisdk-native-s8r2r9mm.js} +16 -16
- package/dist/chunks/{filesystem-vzmjdaw1.js → aisdk-native-sah69mkr.js} +9 -9
- package/dist/chunks/{filesystem-1tpn6myv.js → aisdk-native-sj0d3ba2.js} +35 -35
- package/dist/chunks/{filesystem-sqjzf8x2.js → aisdk-native-sqjzf8x2.js} +1 -1
- package/dist/chunks/aisdk-native-sy4np8yw.js +257 -0
- package/dist/chunks/{filesystem-xs9f9c89.js → aisdk-native-t7b9tzs2.js} +26 -26
- package/dist/chunks/{filesystem-rs61zdpp.js → aisdk-native-t86qegv6.js} +11 -11
- package/dist/chunks/{filesystem-9e4mvsvc.js → aisdk-native-tbewet40.js} +8 -8
- package/dist/chunks/{filesystem-f5pe5xbd.js → aisdk-native-tc862km1.js} +11 -11
- package/dist/chunks/{filesystem-tczq8hjw.js → aisdk-native-tczq8hjw.js} +1 -1
- package/dist/chunks/{filesystem-fx5d1n8y.js → aisdk-native-th0xcwad.js} +2 -2
- package/dist/chunks/{filesystem-edpv0694.js → aisdk-native-tj370d4h.js} +4 -4
- package/dist/chunks/{filesystem-q0d1t4r8.js → aisdk-native-tnbqwktc.js} +21 -21
- package/dist/chunks/{filesystem-ypxm9172.js → aisdk-native-tpkmspg8.js} +4 -4
- package/dist/chunks/{filesystem-vgk61ywp.js → aisdk-native-tpm1qpxt.js} +9 -9
- package/dist/chunks/{filesystem-cp6v88n8.js → aisdk-native-tqews0g9.js} +26 -26
- package/dist/chunks/{filesystem-61g7nd3s.js → aisdk-native-tsbtk4gr.js} +5 -5
- package/dist/chunks/{filesystem-tw8zr1ps.js → aisdk-native-tw8zr1ps.js} +1 -1
- package/dist/chunks/{filesystem-twv2r8f4.js → aisdk-native-twv2r8f4.js} +2 -2
- package/dist/chunks/{filesystem-1w51vxkz.js → aisdk-native-txbesbjy.js} +13 -13
- package/dist/chunks/{filesystem-a9mr4pbf.js → aisdk-native-v01g48v0.js} +27 -27
- package/dist/chunks/{filesystem-v2r1d0zg.js → aisdk-native-v2r1d0zg.js} +1 -1
- package/dist/chunks/{filesystem-pe681sea.js → aisdk-native-v3pxprwd.js} +23 -23
- package/dist/chunks/{filesystem-esjx5599.js → aisdk-native-v4cav44x.js} +13 -13
- package/dist/chunks/{filesystem-pta84ypa.js → aisdk-native-v5gy4fh6.js} +8 -8
- package/dist/chunks/{filesystem-4b4zxyy8.js → aisdk-native-v5prxdmf.js} +9 -9
- package/dist/chunks/{filesystem-vd3b3yk9.js → aisdk-native-vd3b3yk9.js} +1 -1
- package/dist/chunks/{filesystem-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-jr7k77qs.js → aisdk-native-vgk0b1nh.js} +3 -3
- package/dist/chunks/{filesystem-p1qvkr9d.js → aisdk-native-vhefzks2.js} +30 -30
- package/dist/chunks/{filesystem-fartem3k.js → aisdk-native-vqc1vww2.js} +2 -2
- package/dist/chunks/{filesystem-0t2efqex.js → aisdk-native-vrggebkz.js} +38 -38
- package/dist/chunks/{filesystem-rntrk4q6.js → aisdk-native-vszjvnhm.js} +12 -12
- package/dist/chunks/{filesystem-qjhdweq9.js → aisdk-native-vycsk1c7.js} +8 -8
- package/dist/chunks/{filesystem-r41sfy63.js → aisdk-native-w2eysc6j.js} +6 -6
- package/dist/chunks/{filesystem-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-epqb75p6.js → aisdk-native-w85kb978.js} +8 -8
- package/dist/chunks/{filesystem-w8qtt4th.js → aisdk-native-w8qtt4th.js} +1 -1
- package/dist/chunks/{filesystem-wakvkjy4.js → aisdk-native-wakvkjy4.js} +1 -1
- package/dist/chunks/{filesystem-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-8j62s4y7.js → aisdk-native-we7sy1aw.js} +30 -30
- package/dist/chunks/{filesystem-d4r2kcv6.js → aisdk-native-wnk4xn6v.js} +40 -40
- package/dist/chunks/{filesystem-y6v2r02b.js → aisdk-native-ws0h9cy0.js} +39 -39
- package/dist/chunks/{filesystem-c1xd845s.js → aisdk-native-wwypt0gw.js} +11 -11
- package/dist/chunks/{filesystem-2n0h6mem.js → aisdk-native-wyx7r0f4.js} +8 -8
- package/dist/chunks/{filesystem-v7ecd1j3.js → aisdk-native-x39k7gnq.js} +17 -17
- package/dist/chunks/{filesystem-bhk5af8b.js → aisdk-native-x8m5w31w.js} +11 -11
- package/dist/chunks/{filesystem-c3rhye5x.js → aisdk-native-xnhgbs6g.js} +20 -20
- package/dist/chunks/{filesystem-fjqbqs01.js → aisdk-native-xnvhvay3.js} +15 -15
- package/dist/chunks/{filesystem-3trpca19.js → aisdk-native-xqw5086y.js} +12 -12
- package/dist/chunks/{filesystem-4ef8bwn9.js → aisdk-native-y0qbtkbs.js} +12 -12
- package/dist/chunks/{filesystem-yb20nhc3.js → aisdk-native-yb20nhc3.js} +1 -1
- package/dist/chunks/{filesystem-7kvsvhsr.js → aisdk-native-ydnbvr86.js} +8 -8
- package/dist/chunks/{filesystem-w65kmk12.js → aisdk-native-yh1ya1qp.js} +11 -11
- package/dist/chunks/{filesystem-shzcewxt.js → aisdk-native-yhj9rsww.js} +14 -14
- package/dist/chunks/{filesystem-y9xrhqjb.js → aisdk-native-yq70x34n.js} +6 -6
- package/dist/chunks/{filesystem-gc4rcfsx.js → aisdk-native-yqveydy6.js} +4 -4
- package/dist/chunks/{filesystem-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-z38nccrw.js → aisdk-native-z38nccrw.js} +1 -1
- package/dist/chunks/{filesystem-kw88awxx.js → aisdk-native-z3gh5pwf.js} +22 -22
- package/dist/chunks/{filesystem-93cw99tk.js → aisdk-native-z4hn5n7m.js} +43 -43
- package/dist/chunks/{filesystem-43jry69q.js → aisdk-native-z7cwb6b4.js} +15 -15
- package/dist/chunks/{filesystem-cc5x4asw.js → aisdk-native-za1z5wrh.js} +23 -23
- package/dist/chunks/{filesystem-k4p9vzj4.js → aisdk-native-zb67htfs.js} +6 -6
- package/dist/chunks/{filesystem-zkg84ctx.js → aisdk-native-zkg84ctx.js} +1 -1
- package/dist/chunks/{filesystem-dt3jkxpv.js → aisdk-native-zypqc34r.js} +15 -15
- package/dist/chunks/{filesystem-bmk2h0av.js → aisdk-native-zzyt3g67.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +75 -75
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +72 -72
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +154 -154
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +357 -357
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +4 -4
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- 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 +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +3 -3
- 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 +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +11 -4
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +220 -220
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/pty/ticket.d.ts +7 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/filesystem-2f3z3cr8.js +0 -523
- package/dist/chunks/filesystem-87sqwm80.js +0 -18
- package/dist/chunks/filesystem-9jjtdp7g.js +0 -26
- package/dist/chunks/filesystem-h15n1nxh.js +0 -257
- /package/dist/chunks/{filesystem-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2bv980vf.js → aisdk-native-2bv980vf.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5fjb7ams.js → aisdk-native-5fjb7ams.js} +0 -0
- /package/dist/chunks/{filesystem-5qd3pb7m.js → aisdk-native-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-6q2bdcd1.js → aisdk-native-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-84wd9syh.js → aisdk-native-84wd9syh.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → aisdk-native-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a058387c.js → aisdk-native-a058387c.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hcxmzztb.js → aisdk-native-hcxmzztb.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jze0r7bz.js → aisdk-native-jze0r7bz.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-m18g726c.js → aisdk-native-m18g726c.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-pkyv6v7h.js → aisdk-native-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-ve7vex1e.js → aisdk-native-ve7vex1e.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wjj7prxr.js → aisdk-native-wjj7prxr.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → aisdk-native-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service43,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service43 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service43, exports_runner };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-native-mkh8e5qb.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID7,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info17
|
|
11
|
+
} from "./aisdk-native-vhefzks2.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID7.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info17.make({
|
|
122
|
+
...Info17.default(ID8.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID7.make(remote.id),
|
|
125
|
+
providerID: ID8.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./aisdk-native-x8m5w31w.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service64
|
|
7
|
+
} from "./aisdk-native-vhefzks2.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service54
|
|
11
|
+
} from "./aisdk-native-arg2k2r6.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-axe3mf62.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service51
|
|
17
|
+
} from "./aisdk-native-fg4tf10z.js";
|
|
18
18
|
import {
|
|
19
19
|
evaluate2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service68
|
|
21
|
+
} from "./aisdk-native-j5028axy.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service28
|
|
24
|
+
} from "./aisdk-native-m24prk5k.js";
|
|
25
25
|
import {
|
|
26
26
|
NO_TEXT2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./aisdk-native-sqjzf8x2.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service6
|
|
30
|
+
} from "./aisdk-native-c27hftk9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/subagent.ts
|
|
36
36
|
var exports_subagent = {};
|
|
37
37
|
__export(exports_subagent, {
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
38
|
+
Input: () => Input4,
|
|
39
|
+
Output: () => Output4,
|
|
40
|
+
Plugin: () => Plugin22,
|
|
41
41
|
SubagentTool: () => exports_subagent,
|
|
42
|
-
description: () =>
|
|
43
|
-
name: () =>
|
|
42
|
+
description: () => description2,
|
|
43
|
+
name: () => name4
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { Effect, Predicate, Schema } from "effect";
|
|
47
|
-
var
|
|
47
|
+
var name4 = "subagent";
|
|
48
48
|
var backgroundResult = (sessionID) => ({
|
|
49
49
|
sessionID,
|
|
50
50
|
status: "running",
|
|
@@ -55,7 +55,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
55
55
|
].join(`
|
|
56
56
|
`)
|
|
57
57
|
});
|
|
58
|
-
var
|
|
58
|
+
var Input4 = Schema.Struct({
|
|
59
59
|
agent: Schema.String.annotate({
|
|
60
60
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
61
61
|
}),
|
|
@@ -71,12 +71,12 @@ var Input9 = Schema.Struct({
|
|
|
71
71
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
72
72
|
})
|
|
73
73
|
});
|
|
74
|
-
var
|
|
74
|
+
var Output4 = Schema.Struct({
|
|
75
75
|
sessionID: SessionSchema2.ID,
|
|
76
76
|
status: Schema.Literals(["completed", "running"]),
|
|
77
77
|
output: Schema.String
|
|
78
78
|
});
|
|
79
|
-
var
|
|
79
|
+
var description2 = [
|
|
80
80
|
"Spawns an agent in a child session to work on the specified task.",
|
|
81
81
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
82
82
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -85,16 +85,16 @@ var description4 = [
|
|
|
85
85
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
86
86
|
].join(`
|
|
87
87
|
`);
|
|
88
|
-
var
|
|
88
|
+
var Plugin22 = {
|
|
89
89
|
id: "opencode.tool.subagent",
|
|
90
90
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
91
|
-
const sessions = yield*
|
|
92
|
-
const jobs = yield*
|
|
93
|
-
const agents = yield*
|
|
94
|
-
const config = yield*
|
|
95
|
-
const permission = yield*
|
|
96
|
-
const models = yield*
|
|
97
|
-
const subagents = yield*
|
|
91
|
+
const sessions = yield* Service28;
|
|
92
|
+
const jobs = yield* Service51;
|
|
93
|
+
const agents = yield* Service71;
|
|
94
|
+
const config = yield* Service54;
|
|
95
|
+
const permission = yield* Service68;
|
|
96
|
+
const models = yield* Service64;
|
|
97
|
+
const subagents = yield* Service6;
|
|
98
98
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
99
99
|
const ref = yield* Effect.try({
|
|
100
100
|
try: () => Ref2.parse(input),
|
|
@@ -114,11 +114,11 @@ var Plugin9 = {
|
|
|
114
114
|
return ref;
|
|
115
115
|
});
|
|
116
116
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
117
|
-
name:
|
|
117
|
+
name: name4,
|
|
118
118
|
options: { codemode: false },
|
|
119
|
-
description:
|
|
120
|
-
input:
|
|
121
|
-
output:
|
|
119
|
+
description: description2,
|
|
120
|
+
input: Input4,
|
|
121
|
+
output: Output4,
|
|
122
122
|
execute: (input, context) => Effect.gen(function* () {
|
|
123
123
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
124
124
|
let current = parent;
|
|
@@ -138,7 +138,7 @@ var Plugin9 = {
|
|
|
138
138
|
if (agent.mode === "primary")
|
|
139
139
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
140
140
|
yield* permission.assert({
|
|
141
|
-
action:
|
|
141
|
+
action: name4,
|
|
142
142
|
resources: [agent.id],
|
|
143
143
|
save: [agent.id],
|
|
144
144
|
sessionID: context.sessionID,
|
|
@@ -217,7 +217,7 @@ ${output.output}
|
|
|
217
217
|
})))
|
|
218
218
|
})).pipe(Effect.orDie);
|
|
219
219
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
220
|
-
if (event.tool !==
|
|
220
|
+
if (event.tool !== name4 || !Predicate.isObject(event.input))
|
|
221
221
|
return;
|
|
222
222
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
223
223
|
return;
|
|
@@ -229,13 +229,13 @@ ${output.output}
|
|
|
229
229
|
event.input = input;
|
|
230
230
|
}));
|
|
231
231
|
const hook = (event) => Effect.gen(function* () {
|
|
232
|
-
const tool = event.tools[
|
|
232
|
+
const tool = event.tools[name4];
|
|
233
233
|
if (!tool)
|
|
234
234
|
return;
|
|
235
235
|
const selected = yield* agents.resolve(event.agent);
|
|
236
236
|
if (!selected)
|
|
237
237
|
return;
|
|
238
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
238
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
239
239
|
if (available.length === 0)
|
|
240
240
|
return;
|
|
241
241
|
tool.description = [
|
|
@@ -252,4 +252,4 @@ ${output.output}
|
|
|
252
252
|
})
|
|
253
253
|
};
|
|
254
254
|
|
|
255
|
-
export {
|
|
255
|
+
export { name4, Input4, Output4, description2, Plugin22, exports_subagent };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-e5dqjz6v.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-fffv3p7h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
17
|
+
var exports_instructions3 = {};
|
|
18
|
+
__export(exports_instructions3, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions3,
|
|
20
|
+
make: () => make15,
|
|
21
|
+
render: () => render3,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render3(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -46,7 +46,7 @@ ${tools.join(`
|
|
|
46
46
|
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render3(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -111,18 +111,18 @@ ${render2(current)}`;
|
|
|
111
111
|
}
|
|
112
112
|
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make15 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make20({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
121
|
+
initial: render3,
|
|
122
122
|
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render3, update3, make15, exports_instructions3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-tj370d4h.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-x39k7gnq.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-a058387c.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-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: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
20
|
Options: () => Options2,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service22,
|
|
23
|
+
UnavailableError: () => UnavailableError4,
|
|
24
24
|
available: () => available2,
|
|
25
25
|
configured: () => configured2,
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
26
|
+
layer: () => layer12,
|
|
27
|
+
node: () => node25
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -40,19 +40,19 @@ var Options2 = Schema.Struct({
|
|
|
40
40
|
root: Schema.optional(Schema.String)
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
44
44
|
message: Schema.String
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
49
49
|
ptyID: Pty.ID
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service22 extends Context.Service()("@opencode/PersistentPty") {
|
|
54
54
|
}
|
|
55
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
55
|
+
var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service85;
|
|
57
57
|
const global = yield* Global.Service;
|
|
58
58
|
const context = yield* Effect.context();
|
|
@@ -75,7 +75,7 @@ var makeLayer = (options = {}) => Layer.effect(Service15, Effect.gen(function* (
|
|
|
75
75
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
76
76
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
77
77
|
if (!found)
|
|
78
|
-
return yield* new
|
|
78
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
79
79
|
return found;
|
|
80
80
|
});
|
|
81
81
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -165,7 +165,7 @@ var makeLayer = (options = {}) => Layer.effect(Service15, Effect.gen(function* (
|
|
|
165
165
|
});
|
|
166
166
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
167
167
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
168
|
-
return yield* new
|
|
168
|
+
return yield* new UnavailableError4({ message: "lines must be an integer between 1 and 65535" });
|
|
169
169
|
const id = current.get(sessionID);
|
|
170
170
|
if (!id)
|
|
171
171
|
return null;
|
|
@@ -242,7 +242,7 @@ var makeLayer = (options = {}) => Layer.effect(Service15, Effect.gen(function* (
|
|
|
242
242
|
detach: attachment.detach
|
|
243
243
|
};
|
|
244
244
|
});
|
|
245
|
-
return
|
|
245
|
+
return Service22.of({
|
|
246
246
|
list,
|
|
247
247
|
get,
|
|
248
248
|
create,
|
|
@@ -258,17 +258,17 @@ var makeLayer = (options = {}) => Layer.effect(Service15, Effect.gen(function* (
|
|
|
258
258
|
attach
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
|
-
var
|
|
261
|
+
var layer12 = makeLayer();
|
|
262
262
|
var configured2 = (options) => makeGlobalNode({
|
|
263
|
-
service:
|
|
264
|
-
layer: options === undefined ?
|
|
263
|
+
service: Service22,
|
|
264
|
+
layer: options === undefined ? layer12 : makeLayer(options),
|
|
265
265
|
deps: [node89, Global.node]
|
|
266
266
|
});
|
|
267
|
-
var
|
|
267
|
+
var node25 = configured2();
|
|
268
268
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
269
269
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
270
|
-
var unexpected = (response) => Effect.fail(new
|
|
271
|
-
var unavailable = (error) => new
|
|
270
|
+
var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
271
|
+
var unavailable = (error) => new UnavailableError4({ message: error instanceof Error ? error.message : String(error) });
|
|
272
272
|
function toInfo(value) {
|
|
273
273
|
const status = value.lifecycle.status;
|
|
274
274
|
return {
|
|
@@ -300,4 +300,4 @@ function fromID(value) {
|
|
|
300
300
|
return parsed;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
export { Options2,
|
|
303
|
+
export { Options2, UnavailableError4, NotFoundError3, Service22, layer12, configured2, node25, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./aisdk-native-mkh8e5qb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service54
|
|
7
|
+
} from "./aisdk-native-arg2k2r6.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service67;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service54);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-7fvw33xg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./aisdk-native-j5028axy.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service25
|
|
9
|
+
} from "./aisdk-native-mdnsa350.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-d4v9tmah.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info6,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-native-7ty15rsh.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin27,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin27 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service25;
|
|
104
|
+
const permission = yield* Service68;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -153,7 +153,7 @@ var Plugin14 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info6,
|
|
157
157
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
158
158
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
159
159
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin27, exports_opencode };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-tj370d4h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service65,
|
|
6
|
+
Event12
|
|
7
|
+
} from "./aisdk-native-3aekr6j7.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin50,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin50 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service85;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service65;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin32 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin50, exports_plugin };
|