@opencode/core 0.0.0-dev-19284 → 0.0.0-dev-19286
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{pty-zcqf6png.js → aisdk-native-0bps82y7.js} +6 -6
- package/dist/chunks/{pty-nts3ktd3.js → aisdk-native-0gxkfr0j.js} +14 -14
- package/dist/chunks/{pty-0hpxrkyb.js → aisdk-native-0hpxrkyb.js} +2 -2
- package/dist/chunks/{pty-a2fmrcfx.js → aisdk-native-0jjqb7mh.js} +4 -4
- package/dist/chunks/{pty-8kqe18cf.js → aisdk-native-0kmn41h6.js} +9 -9
- package/dist/chunks/aisdk-native-0mesazry.js +4 -0
- package/dist/chunks/{pty-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
- package/dist/chunks/{pty-rdyvw1h1.js → aisdk-native-0vz1rene.js} +35 -35
- package/dist/chunks/{pty-52fdmm22.js → aisdk-native-0xy44pb9.js} +63 -63
- package/dist/chunks/{pty-1tq5sqwa.js → aisdk-native-0yvdrm59.js} +7 -7
- package/dist/chunks/{pty-ajnpj862.js → aisdk-native-160d77tx.js} +6 -6
- package/dist/chunks/{pty-sthxgr5k.js → aisdk-native-17nkb8jb.js} +24 -24
- package/dist/chunks/{pty-6rgk4ym7.js → aisdk-native-19y941e7.js} +36 -36
- package/dist/chunks/{pty-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-7d0zm79z.js → aisdk-native-1khb2yve.js} +8 -8
- package/dist/chunks/{pty-edafkgj2.js → aisdk-native-1pt97hs8.js} +6 -6
- package/dist/chunks/{pty-c1ayfejr.js → aisdk-native-1zmg9wxv.js} +20 -20
- package/dist/chunks/{pty-2caq6pqh.js → aisdk-native-1znz7481.js} +30 -30
- package/dist/chunks/{pty-byz24ksx.js → aisdk-native-203jqjak.js} +33 -33
- package/dist/chunks/{pty-0b0xam7s.js → aisdk-native-218qfnfe.js} +28 -28
- package/dist/chunks/{pty-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
- package/dist/chunks/{pty-bh0zzf2s.js → aisdk-native-23279rje.js} +8 -8
- package/dist/chunks/{pty-wp2qtysx.js → aisdk-native-23r8xqw1.js} +16 -16
- package/dist/chunks/{pty-2402vzrj.js → aisdk-native-2402vzrj.js} +1 -1
- package/dist/chunks/{pty-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-fcrkznn8.js → aisdk-native-2k8khapm.js} +5 -5
- package/dist/chunks/{pty-c1zrx13f.js → aisdk-native-2wz1fhct.js} +18 -18
- package/dist/chunks/{pty-egb2azzx.js → aisdk-native-3caeehyv.js} +29 -29
- package/dist/chunks/{pty-vyyqyr61.js → aisdk-native-3dd7zxp0.js} +25 -25
- package/dist/chunks/{pty-jv1xsv73.js → aisdk-native-3e7bay5r.js} +42 -42
- package/dist/chunks/{pty-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-jaxrymj1.js → aisdk-native-3wk1ye5g.js} +32 -32
- package/dist/chunks/{pty-92c83kr3.js → aisdk-native-415d3jh3.js} +15 -15
- package/dist/chunks/{pty-qba6esk9.js → aisdk-native-4780s8zr.js} +9 -9
- package/dist/chunks/{pty-8xyemkvq.js → aisdk-native-47r3zz0x.js} +3 -3
- package/dist/chunks/{pty-k9zjg2m8.js → aisdk-native-4b7p26gq.js} +18 -18
- package/dist/chunks/aisdk-native-4efx7ge3.js +462 -0
- package/dist/chunks/{pty-gmesheqj.js → aisdk-native-4rx2t5ej.js} +72 -72
- package/dist/chunks/aisdk-native-4w0x8qm2.js +247 -0
- package/dist/chunks/{pty-h457z9c3.js → aisdk-native-4whayx0s.js} +1 -1
- package/dist/chunks/{pty-hcz3zddy.js → aisdk-native-510m7gjw.js} +5 -5
- package/dist/chunks/{pty-1ygqh575.js → aisdk-native-56gdpj1q.js} +9 -9
- package/dist/chunks/{pty-pxm7ex4k.js → aisdk-native-5ant65be.js} +15 -15
- package/dist/chunks/{pty-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-yrc26zmc.js → aisdk-native-5ezjqqv2.js} +31 -31
- package/dist/chunks/{pty-e430r8zt.js → aisdk-native-5fhxdjdx.js} +11 -11
- package/dist/chunks/{pty-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-5gpsw6jk.js → aisdk-native-6117fd0v.js} +31 -31
- package/dist/chunks/{pty-wfeey21d.js → aisdk-native-6491c4k6.js} +16 -16
- package/dist/chunks/{pty-bd2sx3rh.js → aisdk-native-64m66k9q.js} +32 -32
- package/dist/chunks/{pty-669tq793.js → aisdk-native-669tq793.js} +1 -1
- package/dist/chunks/{pty-hxzmwa8h.js → aisdk-native-66khttr5.js} +11 -11
- package/dist/chunks/{pty-sxam9rt0.js → aisdk-native-6ke1we41.js} +4 -4
- package/dist/chunks/{pty-t2vdd8h0.js → aisdk-native-6mq19xa6.js} +7 -7
- package/dist/chunks/{pty-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-kqcsfhww.js → aisdk-native-6phbmx9j.js} +21 -21
- package/dist/chunks/{pty-pck3w1ab.js → aisdk-native-6thzw8pj.js} +4 -4
- package/dist/chunks/{pty-71q4at8m.js → aisdk-native-71q4at8m.js} +1 -1
- package/dist/chunks/{pty-73tb2d7t.js → aisdk-native-73tb2d7t.js} +1 -1
- package/dist/chunks/{pty-wm0z4180.js → aisdk-native-772wpesw.js} +18 -18
- package/dist/chunks/{pty-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-hhqp0ev3.js → aisdk-native-7bwwdwds.js} +4 -4
- package/dist/chunks/{pty-ehvxp5zp.js → aisdk-native-7e68n0xg.js} +13 -13
- package/dist/chunks/{pty-7108e3wm.js → aisdk-native-7gedpce0.js} +26 -26
- package/dist/chunks/{pty-kke37ydq.js → aisdk-native-7nj4rrey.js} +15 -15
- package/dist/chunks/{pty-y37t65q2.js → aisdk-native-7nyabx9s.js} +13 -13
- package/dist/chunks/{pty-1dtagjcf.js → aisdk-native-7sw6092g.js} +11 -11
- package/dist/chunks/{pty-70vxa6pp.js → aisdk-native-7zyxb8cr.js} +10 -10
- package/dist/chunks/{pty-at5d07az.js → aisdk-native-806j49yq.js} +4 -4
- package/dist/chunks/{pty-81swgkk7.js → aisdk-native-81swgkk7.js} +2 -2
- package/dist/chunks/{pty-dv1qgsyq.js → aisdk-native-844ef7ks.js} +8 -8
- package/dist/chunks/{pty-aynpr8ab.js → aisdk-native-851r6173.js} +13 -13
- package/dist/chunks/{pty-evp6550k.js → aisdk-native-8c7ynv2b.js} +22 -22
- package/dist/chunks/{pty-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-w31q4z5a.js → aisdk-native-8j5m489c.js} +11 -11
- package/dist/chunks/{pty-8p4f9s12.js → aisdk-native-8p4f9s12.js} +2 -2
- package/dist/chunks/{pty-mx6z9c2k.js → aisdk-native-8xf0nh5p.js} +39 -39
- package/dist/chunks/{pty-n6nwjk4k.js → aisdk-native-914kbjbb.js} +15 -15
- package/dist/chunks/{pty-3c2gg74p.js → aisdk-native-929c1ked.js} +17 -17
- package/dist/chunks/{pty-wg42tg3h.js → aisdk-native-9afe43sd.js} +2 -2
- package/dist/chunks/{pty-wm433qqz.js → aisdk-native-9gyasrjf.js} +46 -46
- package/dist/chunks/{pty-efhysqvt.js → aisdk-native-9rqmaj9a.js} +15 -15
- package/dist/chunks/{pty-4f90fc6p.js → aisdk-native-9yjg9q4x.js} +16 -16
- package/dist/chunks/{pty-53datcyd.js → aisdk-native-a0vjkk21.js} +38 -38
- package/dist/chunks/{pty-anj7ja7x.js → aisdk-native-a0zpeqk6.js} +23 -23
- package/dist/chunks/{pty-a1bz86dw.js → aisdk-native-a1bz86dw.js} +3 -3
- package/dist/chunks/{pty-zmh1pv5f.js → aisdk-native-a33nkman.js} +15 -15
- package/dist/chunks/{pty-8dk8azxs.js → aisdk-native-a82wc2mf.js} +5 -5
- package/dist/chunks/{pty-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-jmm88pvs.js → aisdk-native-akrnn5pm.js} +11 -11
- package/dist/chunks/{pty-8nqvx115.js → aisdk-native-and35g82.js} +4 -4
- package/dist/chunks/{pty-sjnbwgen.js → aisdk-native-apmdh4cn.js} +15 -15
- package/dist/chunks/{pty-sv2dresp.js → aisdk-native-at765435.js} +11 -11
- package/dist/chunks/{pty-7wabxp46.js → aisdk-native-avnb6vw1.js} +22 -22
- package/dist/chunks/{pty-913yfcff.js → aisdk-native-avr966gk.js} +20 -20
- package/dist/chunks/{pty-zyzh87z1.js → aisdk-native-b0parjc3.js} +31 -31
- package/dist/chunks/{pty-gke4hfak.js → aisdk-native-b2hj8tx9.js} +11 -11
- package/dist/chunks/{pty-6tfkz8mw.js → aisdk-native-b2q81v48.js} +11 -11
- package/dist/chunks/{pty-4ahbs3kp.js → aisdk-native-b4sf8989.js} +18 -18
- package/dist/chunks/{pty-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-cajdsvab.js → aisdk-native-bax8mj2z.js} +21 -21
- package/dist/chunks/{pty-j46t8cy3.js → aisdk-native-bb4w34gw.js} +37 -37
- package/dist/chunks/{pty-jfz1was4.js → aisdk-native-bcp37e0j.js} +9 -9
- package/dist/chunks/{pty-r98e92ep.js → aisdk-native-bct739vz.js} +4 -4
- package/dist/chunks/{pty-7bfxxbhh.js → aisdk-native-bgxq65v7.js} +6 -6
- package/dist/chunks/{pty-bajakh74.js → aisdk-native-bha4atvq.js} +4 -4
- package/dist/chunks/{pty-z5p19pf1.js → aisdk-native-bnay2vtg.js} +8 -8
- package/dist/chunks/{pty-fn6h20rm.js → aisdk-native-bsghq27w.js} +6 -6
- package/dist/chunks/{pty-hq506b09.js → aisdk-native-bv6943e1.js} +1 -1
- package/dist/chunks/{pty-ze5v0a14.js → aisdk-native-bw0vgseb.js} +8 -8
- package/dist/chunks/{pty-vxdaz8vr.js → aisdk-native-c8xscv9z.js} +11 -11
- package/dist/chunks/{pty-dcmqyx64.js → aisdk-native-cdvhtsr2.js} +6 -6
- package/dist/chunks/{pty-cfpkc3c9.js → aisdk-native-cfpkc3c9.js} +2 -2
- package/dist/chunks/{pty-0531sp94.js → aisdk-native-d9sn21bc.js} +2 -2
- package/dist/chunks/{pty-ahz4xwhq.js → aisdk-native-db2m4ep9.js} +30 -30
- package/dist/chunks/{pty-p9e5f8hs.js → aisdk-native-dj25td8n.js} +4 -4
- package/dist/chunks/{pty-48jnmw64.js → aisdk-native-dnnv257w.js} +25 -25
- package/dist/chunks/{pty-dpkg50ah.js → aisdk-native-dpkg50ah.js} +1 -1
- package/dist/chunks/{pty-hqp75n2j.js → aisdk-native-dzjjxskk.js} +35 -35
- package/dist/chunks/{pty-cte9ap30.js → aisdk-native-e0a154fg.js} +6 -6
- package/dist/chunks/{pty-1vx4skf5.js → aisdk-native-e0kpvj6b.js} +29 -29
- package/dist/chunks/{pty-qcbjdgb9.js → aisdk-native-e4wf7az9.js} +27 -27
- package/dist/chunks/{pty-k15hmge1.js → aisdk-native-e74h8y6y.js} +18 -18
- package/dist/chunks/{pty-t550f9t1.js → aisdk-native-eaj1djv9.js} +8 -8
- package/dist/chunks/aisdk-native-ecnetq72.js +22 -0
- package/dist/chunks/{pty-ah0499c8.js → aisdk-native-eczgaamq.js} +32 -32
- package/dist/chunks/{pty-8tfpvtr7.js → aisdk-native-eej3mvs5.js} +20 -20
- package/dist/chunks/{pty-hn57h045.js → aisdk-native-embw8kgh.js} +4 -4
- package/dist/chunks/{pty-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-2f0bjgcj.js → aisdk-native-evbgk2k8.js} +5 -5
- package/dist/chunks/{pty-z33n7yxw.js → aisdk-native-ezn8zr4k.js} +1 -1
- package/dist/chunks/{pty-f828m53h.js → aisdk-native-f828m53h.js} +2 -2
- package/dist/chunks/{pty-qn39sdbb.js → aisdk-native-fcb6nz5j.js} +46 -46
- package/dist/chunks/{pty-f6h7dvp6.js → aisdk-native-fvz2v2jm.js} +9 -9
- package/dist/chunks/{pty-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-vewreb7k.js → aisdk-native-fycq9fkn.js} +18 -18
- package/dist/chunks/{pty-kf7bhd8x.js → aisdk-native-g2gjxxxj.js} +16 -16
- package/dist/chunks/{pty-xfxn6gek.js → aisdk-native-g6ew7cqr.js} +1 -1
- package/dist/chunks/{pty-y49qrr0k.js → aisdk-native-g9245y80.js} +1 -1
- package/dist/chunks/{pty-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-vrpz8t5t.js → aisdk-native-gebtr55s.js} +5 -5
- package/dist/chunks/{pty-s7kwm6zm.js → aisdk-native-gey3b743.js} +5 -5
- package/dist/chunks/{pty-rw861jrs.js → aisdk-native-gn45rrc8.js} +46 -46
- package/dist/chunks/{pty-th5km1p3.js → aisdk-native-gv6a8nnw.js} +5 -5
- package/dist/chunks/{pty-595vq8s1.js → aisdk-native-gvkw3620.js} +22 -22
- package/dist/chunks/{pty-vp5s6n4v.js → aisdk-native-gyjr2s1t.js} +36 -36
- package/dist/chunks/{pty-ee3krkrp.js → aisdk-native-gzgb92nq.js} +15 -15
- package/dist/chunks/{pty-h03wrkyp.js → aisdk-native-h03wrkyp.js} +2 -2
- package/dist/chunks/{pty-tffb36pg.js → aisdk-native-h4sjasp6.js} +18 -18
- package/dist/chunks/{pty-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-by885ras.js → aisdk-native-h9nnf5ws.js} +4 -4
- package/dist/chunks/{pty-map23pr4.js → aisdk-native-hdxm8fmc.js} +24 -24
- package/dist/chunks/{pty-nhy5jxhy.js → aisdk-native-hjt4xg1x.js} +4 -4
- package/dist/chunks/aisdk-native-ht5y0zrb.js +18 -0
- package/dist/chunks/{pty-m9g7kjz2.js → aisdk-native-hx55d56e.js} +1 -1
- package/dist/chunks/{pty-0xxge0pj.js → aisdk-native-hzps4gdz.js} +26 -26
- package/dist/chunks/{pty-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-9ky66zz9.js → aisdk-native-j7wq2tw5.js} +3 -3
- package/dist/chunks/{pty-36yjp8yh.js → aisdk-native-jdh6s7jq.js} +8 -8
- package/dist/chunks/{pty-3xfh4yeh.js → aisdk-native-jfahtzjx.js} +44 -44
- package/dist/chunks/{pty-604mgw0e.js → aisdk-native-jpfbm86w.js} +11 -11
- package/dist/chunks/{pty-0v9511cz.js → aisdk-native-jyybykh0.js} +4 -4
- package/dist/chunks/{pty-9txcanwf.js → aisdk-native-jz7gkgxb.js} +36 -36
- package/dist/chunks/{pty-gdm9bc2g.js → aisdk-native-jzjmk1tp.js} +36 -36
- package/dist/chunks/{pty-9nepbqpa.js → aisdk-native-kb3wdknj.js} +6 -6
- package/dist/chunks/{pty-kg06axw8.js → aisdk-native-kg06axw8.js} +1 -1
- package/dist/chunks/{pty-xc71xt00.js → aisdk-native-kpzyeypc.js} +5 -5
- package/dist/chunks/{pty-hjdzmzjx.js → aisdk-native-kyngf2ah.js} +3 -3
- package/dist/chunks/{pty-13egd5dp.js → aisdk-native-m5k6ckd5.js} +19 -19
- package/dist/chunks/{pty-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-mkcjrzeh.js → aisdk-native-mkcjrzeh.js} +1 -1
- package/dist/chunks/{pty-cy209589.js → aisdk-native-mkz36mm1.js} +7 -7
- package/dist/chunks/{pty-qd417my5.js → aisdk-native-mp045f7j.js} +1 -1
- package/dist/chunks/{pty-dw85xzsy.js → aisdk-native-mrs8wzdg.js} +10 -10
- package/dist/chunks/{pty-myh2tnjz.js → aisdk-native-mznnp22g.js} +17 -17
- package/dist/chunks/{pty-j4e3jsg7.js → aisdk-native-njyck951.js} +5 -5
- package/dist/chunks/{pty-hvw41qaw.js → aisdk-native-nnmykz74.js} +24 -24
- package/dist/chunks/{pty-6e6v2scb.js → aisdk-native-nrb7708j.js} +22 -22
- package/dist/chunks/{pty-x0511brf.js → aisdk-native-nw2nz702.js} +4 -4
- package/dist/chunks/{pty-7nfgfjsm.js → aisdk-native-p095q48k.js} +9 -9
- package/dist/chunks/{pty-hrvd6t1f.js → aisdk-native-p1wf2k30.js} +9 -9
- package/dist/chunks/{pty-f90chkmn.js → aisdk-native-p44d8wdy.js} +5 -5
- package/dist/chunks/{pty-cf3tj770.js → aisdk-native-p57dvf2n.js} +6 -6
- package/dist/chunks/{pty-rhq1hhdm.js → aisdk-native-p889yv71.js} +8 -8
- package/dist/chunks/{pty-jn1j3vts.js → aisdk-native-p9vgr1xf.js} +9 -9
- package/dist/chunks/{pty-bccb6npm.js → aisdk-native-paegk39x.js} +4 -4
- package/dist/chunks/{pty-j935v87r.js → aisdk-native-paphc93g.js} +2 -2
- package/dist/chunks/{pty-rb4rdn3m.js → aisdk-native-pb5fwdfa.js} +49 -49
- package/dist/chunks/{pty-bf9a8ejx.js → aisdk-native-pcy5h3v5.js} +25 -25
- package/dist/chunks/{pty-sedetxkq.js → aisdk-native-peez5pyc.js} +32 -32
- package/dist/chunks/{pty-j08yav90.js → aisdk-native-peh50674.js} +30 -30
- package/dist/chunks/{pty-mq9k5emb.js → aisdk-native-pehvz7x4.js} +22 -22
- package/dist/chunks/{pty-mqgza0s1.js → aisdk-native-pf07gewk.js} +2 -2
- package/dist/chunks/{pty-2wzvf4j2.js → aisdk-native-pfzw0drg.js} +87 -87
- package/dist/chunks/{pty-nqh3n51t.js → aisdk-native-pg4ajkmw.js} +12 -12
- package/dist/chunks/{pty-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-2n7rzc9a.js → aisdk-native-pk5wh1f2.js} +9 -9
- package/dist/chunks/{pty-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{pty-zwv60398.js → aisdk-native-pmsv8f6n.js} +2 -2
- package/dist/chunks/{pty-dm7hx1w0.js → aisdk-native-pp9hj60k.js} +13 -13
- package/dist/chunks/{pty-2h21rrjx.js → aisdk-native-pqqyq7q1.js} +20 -20
- package/dist/chunks/{pty-04b6k755.js → aisdk-native-qfkg1j4f.js} +14 -14
- package/dist/chunks/{pty-s8j6jbjj.js → aisdk-native-qj8eh1ht.js} +21 -21
- package/dist/chunks/{pty-101th954.js → aisdk-native-qn2b3mbz.js} +27 -27
- package/dist/chunks/{pty-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-1r92xkdd.js → aisdk-native-qxmskhpc.js} +13 -13
- package/dist/chunks/{pty-yp2x3t23.js → aisdk-native-r8xr0va3.js} +4 -4
- package/dist/chunks/{pty-x0yh80ry.js → aisdk-native-rdhm4m8r.js} +13 -13
- package/dist/chunks/{pty-1ayhfk3a.js → aisdk-native-retzktf4.js} +93 -93
- package/dist/chunks/{pty-84c1s7yv.js → aisdk-native-rf6qpnth.js} +20 -20
- package/dist/chunks/{pty-n3hdt412.js → aisdk-native-rkbk3k4w.js} +15 -15
- package/dist/chunks/{pty-7yqjxrmz.js → aisdk-native-rph3zd4r.js} +6 -6
- package/dist/chunks/{pty-w3ent86v.js → aisdk-native-rsbp5ebe.js} +10 -10
- package/dist/chunks/{pty-d4e3xrxv.js → aisdk-native-rwq67zjw.js} +8 -8
- package/dist/chunks/{pty-tt7t6gfm.js → aisdk-native-rz8d27bs.js} +13 -13
- package/dist/chunks/{pty-8gpb4ajr.js → aisdk-native-se3kw106.js} +17 -17
- package/dist/chunks/{pty-c4jwsn70.js → aisdk-native-sgm1tmbh.js} +19 -19
- package/dist/chunks/{pty-9ex99xm7.js → aisdk-native-ssh52gjb.js} +7 -7
- package/dist/chunks/{pty-3r153z9p.js → aisdk-native-svevmy92.js} +61 -61
- package/dist/chunks/{pty-1katgxgp.js → aisdk-native-t7krskth.js} +47 -47
- package/dist/chunks/{pty-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-12y94dz0.js → aisdk-native-td195knq.js} +11 -11
- package/dist/chunks/{pty-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{pty-eegqa8a9.js → aisdk-native-tfprdvpb.js} +33 -33
- package/dist/chunks/{pty-7t0ps460.js → aisdk-native-thpfys75.js} +10 -10
- package/dist/chunks/{pty-y65x3qsm.js → aisdk-native-tmfn1t5n.js} +5 -5
- package/dist/chunks/{pty-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-113zqzxk.js → aisdk-native-tzs296p8.js} +28 -28
- package/dist/chunks/{pty-1tr2mxv2.js → aisdk-native-v6p500z5.js} +17 -17
- package/dist/chunks/{pty-cq79sjzr.js → aisdk-native-v8272e7j.js} +32 -32
- package/dist/chunks/{pty-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-gy4xd5ae.js → aisdk-native-vhhdhg5d.js} +9 -9
- package/dist/chunks/{pty-9qrd0ade.js → aisdk-native-vqd6cpge.js} +45 -45
- package/dist/chunks/{pty-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-ye323zqv.js → aisdk-native-w12rp218.js} +9 -9
- package/dist/chunks/{pty-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-p0x0xsz0.js → aisdk-native-w4agab9x.js} +14 -14
- package/dist/chunks/{pty-5b8sybsb.js → aisdk-native-w5eq0eh5.js} +20 -20
- package/dist/chunks/{pty-t23qze4t.js → aisdk-native-w79zsp0s.js} +1 -1
- package/dist/chunks/{pty-dxt59c3z.js → aisdk-native-w9mgz0qb.js} +11 -11
- package/dist/chunks/{pty-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{pty-3gr3tgnk.js → aisdk-native-wffnnfqa.js} +29 -29
- package/dist/chunks/{pty-xt97pgbp.js → aisdk-native-wvcyv6hh.js} +7 -7
- package/dist/chunks/{pty-pksqeybc.js → aisdk-native-ww9qp6kh.js} +28 -28
- package/dist/chunks/{pty-vy69nfyt.js → aisdk-native-x159kd7v.js} +29 -29
- package/dist/chunks/{pty-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-x43y2vfs.js → aisdk-native-x43y2vfs.js} +2 -2
- package/dist/chunks/{pty-7f7j5aqq.js → aisdk-native-xb7jttx8.js} +12 -12
- package/dist/chunks/{pty-6jnybvqn.js → aisdk-native-xekzrwwc.js} +9 -9
- package/dist/chunks/{pty-e6eyn984.js → aisdk-native-xes8y8f5.js} +20 -20
- package/dist/chunks/{pty-gq4yt5d9.js → aisdk-native-xj6n4xyr.js} +11 -11
- package/dist/chunks/{pty-wwrx56v5.js → aisdk-native-xk5xngm4.js} +3 -3
- package/dist/chunks/{pty-7kn1pjxe.js → aisdk-native-xn7hxfsg.js} +13 -13
- package/dist/chunks/{pty-ef87s1j5.js → aisdk-native-xtv6e8dm.js} +11 -11
- package/dist/chunks/{pty-j32r0sby.js → aisdk-native-xzmbb2mf.js} +11 -11
- package/dist/chunks/{pty-x4kntfbn.js → aisdk-native-y19238ch.js} +23 -23
- package/dist/chunks/{pty-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-y56ehv6b.js → aisdk-native-yb94xmg0.js} +9 -9
- package/dist/chunks/{pty-kt5w8vxh.js → aisdk-native-yjqv8qmq.js} +10 -10
- package/dist/chunks/{pty-xsasmzga.js → aisdk-native-ypvayta9.js} +3 -3
- package/dist/chunks/{pty-zy5ev4j8.js → aisdk-native-yq1zhvd8.js} +21 -21
- package/dist/chunks/{pty-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-s4enseaf.js → aisdk-native-yrznvahk.js} +2 -2
- package/dist/chunks/{pty-vzrnynxw.js → aisdk-native-yt2qvb82.js} +8 -8
- package/dist/chunks/{pty-azc0fw06.js → aisdk-native-yt5yxama.js} +48 -48
- package/dist/chunks/{pty-e2ryeqwt.js → aisdk-native-yth56ew8.js} +25 -25
- package/dist/chunks/{pty-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-h6dyyfam.js → aisdk-native-z4zn5ex6.js} +167 -167
- package/dist/chunks/{pty-28v53sff.js → aisdk-native-z5k99dmv.js} +10 -10
- package/dist/chunks/{pty-29x78va6.js → aisdk-native-z63w68vq.js} +6 -6
- package/dist/chunks/{pty-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-0y9djfvb.js → aisdk-native-zgy4crfq.js} +3 -3
- package/dist/chunks/{pty-1k9r8ajs.js → aisdk-native-zhj4cbwt.js} +24 -24
- package/dist/chunks/{pty-3yyqtq1k.js → aisdk-native-zq0qef6c.js} +19 -19
- package/dist/chunks/{pty-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +80 -80
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- 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 +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +7 -7
- 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 +94 -94
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +101 -101
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +115 -115
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +104 -104
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/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 +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/pty-5eypht73.js +0 -247
- package/dist/chunks/pty-at7vj8xg.js +0 -462
- package/dist/chunks/pty-hr9dp009.js +0 -4
- package/dist/chunks/pty-keyh8483.js +0 -22
- package/dist/chunks/pty-vnkjks7b.js +0 -18
- /package/dist/chunks/{pty-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a1tpkmh4.js → aisdk-native-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-hrnqkpcd.js → aisdk-native-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./aisdk-native-0gxkfr0j.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
|
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service73;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-native-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info19
|
|
6
|
+
} from "./aisdk-native-qj8eh1ht.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent3 = {};
|
|
13
|
+
__export(exports_agent3, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent3,
|
|
15
|
+
Info: () => Info18
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info19)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info18 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info18, exports_agent3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service41
|
|
3
|
+
} from "./aisdk-native-zhj4cbwt.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service41;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./aisdk-native-0gxkfr0j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service53
|
|
9
|
+
} from "./aisdk-native-fcb6nz5j.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service15
|
|
12
|
+
} from "./aisdk-native-t7krskth.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin7
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin7 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service53;
|
|
34
|
+
const location = yield* Service73;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service15;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin34 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin7, exports_worktree };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service24,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer9,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node29
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
31
|
});
|
|
32
32
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service24 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
35
|
}
|
|
36
36
|
var transportError = (message, input) => new AIError({
|
|
37
37
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
|
|
|
55
55
|
return Effect.fail(observation.error);
|
|
56
56
|
};
|
|
57
57
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
58
|
+
var makeLayer2 = (connector) => Layer.effect(Service24, Effect.gen(function* () {
|
|
59
59
|
const scope = yield* Scope.Scope;
|
|
60
60
|
const states = new Map;
|
|
61
61
|
const state = (sessionID) => {
|
|
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service30, Effect.gen(function* ()
|
|
|
331
331
|
}, { discard: true });
|
|
332
332
|
});
|
|
333
333
|
yield* Effect.addFinalizer(() => closeAll);
|
|
334
|
-
return
|
|
334
|
+
return Service24.of({ bind, close, closeAll });
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var layer9 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
337
337
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
338
338
|
})));
|
|
339
|
-
var
|
|
339
|
+
var node29 = makeGlobalNode({ service: Service24, layer: layer9, deps: [webSocketConstructor2] });
|
|
340
340
|
|
|
341
|
-
export {
|
|
341
|
+
export { Service24, makeLayer2, layer9, node29, exports_model_transport };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./aisdk-native-g2gjxxxj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service30
|
|
6
|
+
} from "./aisdk-native-203jqjak.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error5
|
|
9
|
+
} from "./aisdk-native-17nkb8jb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service56
|
|
12
|
+
} from "./aisdk-native-pg4ajkmw.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-w12rp218.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-6ke1we41.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./aisdk-native-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./aisdk-native-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./aisdk-native-bgxq65v7.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service76;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service30;
|
|
58
|
+
const toolOutput = yield* Service56;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make7 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error5({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
205
205
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export { Outcome2,
|
|
208
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./aisdk-native-g2gjxxxj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID11
|
|
6
|
+
} from "./aisdk-native-yt2qvb82.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID10
|
|
9
|
+
} from "./aisdk-native-7zyxb8cr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Event15
|
|
12
|
+
} from "./aisdk-native-19y941e7.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
ID7
|
|
15
|
+
} from "./aisdk-native-5ezjqqv2.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service59
|
|
18
|
+
} from "./aisdk-native-ww9qp6kh.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
get2
|
|
21
|
+
} from "./aisdk-native-fycq9fkn.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/modal.ts
|
|
24
24
|
import { Effect, Semaphore, Stream } from "effect";
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID11.make("modal");
|
|
27
27
|
var ModalPlugin2 = define({
|
|
28
28
|
id: "opencode.provider.modal",
|
|
29
29
|
effect: Effect.fn(function* (ctx) {
|
|
30
|
-
const catalog = yield*
|
|
31
|
-
const bus = yield*
|
|
30
|
+
const catalog = yield* Service59;
|
|
31
|
+
const bus = yield* Service76;
|
|
32
32
|
const loading = Semaphore.makeUnsafe(1);
|
|
33
33
|
const loaded = {};
|
|
34
34
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -47,7 +47,7 @@ var ModalPlugin2 = define({
|
|
|
47
47
|
loaded.baseURL = baseURL;
|
|
48
48
|
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === providerID);
|
|
49
49
|
loaded.models = yield* Effect.tryPromise({
|
|
50
|
-
try: () =>
|
|
50
|
+
try: () => get2(baseURL, apiKey, existing),
|
|
51
51
|
catch: (cause) => cause
|
|
52
52
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
53
53
|
});
|
|
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
|
|
|
58
58
|
if (!loaded.models)
|
|
59
59
|
return;
|
|
60
60
|
for (const id of item.models.keys()) {
|
|
61
|
-
if (!loaded.models.has(
|
|
61
|
+
if (!loaded.models.has(ID10.make(id)))
|
|
62
62
|
evt.model.remove(item.provider.id, id);
|
|
63
63
|
}
|
|
64
64
|
for (const [id, model] of loaded.models) {
|
|
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
yield* refresh().pipe(Effect.forkScoped);
|
|
71
71
|
})
|
|
72
72
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./aisdk-native-g2gjxxxj.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-v6p500z5.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-sk3qaz4a.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: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service36,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
configured: () => configured4,
|
|
25
|
+
layer: () => layer14,
|
|
26
|
+
node: () => node40
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service36 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service36, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service76;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError5({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service36.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
258
|
+
var layer14 = makeLayer();
|
|
259
|
+
var configured4 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service36,
|
|
261
|
+
layer: options === undefined ? layer14 : makeLayer(options),
|
|
262
|
+
deps: [node81, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node40 = configured4();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError5, Service36, layer14, configured4, node40, exports_persistent_pty, Handoff2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-yt2qvb82.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service61,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node65
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID11,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service61 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service61, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service61.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node65 = makeLocationNode({ service: Service61, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service61, locationLayer2, node65, exports_aisdk };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./aisdk-native-yjqv8qmq.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
canonical2
|
|
7
|
+
} from "./aisdk-native-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service75;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -28,7 +28,7 @@ var make20 = Effect.gen(function* () {
|
|
|
28
28
|
if (!repository)
|
|
29
29
|
return yield* new DirectoryUnavailableError2({ directory: input.sourceDirectory });
|
|
30
30
|
yield* git.worktree.create({ repository, directory: input.directory, ref: input.branch });
|
|
31
|
-
return { directory: yield*
|
|
31
|
+
return { directory: yield* canonical2(fs, input.directory) };
|
|
32
32
|
}),
|
|
33
33
|
remove: Effect.fn("Worktree.Git.remove")(function* (input) {
|
|
34
34
|
const repository = yield* git.repo.discover(input.directory);
|
|
@@ -41,9 +41,9 @@ var make20 = Effect.gen(function* () {
|
|
|
41
41
|
if (!repository)
|
|
42
42
|
return yield* new DirectoryUnavailableError2({ directory });
|
|
43
43
|
const entries = yield* git.worktree.list(repository);
|
|
44
|
-
return yield* Effect.forEach(entries, (entry) =>
|
|
44
|
+
return yield* Effect.forEach(entries, (entry) => canonical2(fs, entry.directory).pipe(Effect.map((directory) => ({ directory, type: entry.kind === "main" ? "root" : "worktree" })), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined))).pipe(Effect.map((items) => items.filter((item) => item !== undefined)));
|
|
45
45
|
})
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|