@opencode/core 0.0.0-dev-19395 → 0.0.0-dev-19396
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{vcs-jm4wzrpc.js → aisdk-native-04kv4r8s.js} +18 -18
- package/dist/chunks/{vcs-csf2jhsg.js → aisdk-native-06dxphr1.js} +4 -4
- package/dist/chunks/{vcs-m70sbz6t.js → aisdk-native-06x8he3q.js} +4 -4
- package/dist/chunks/{vcs-p2b45462.js → aisdk-native-0hv51shb.js} +25 -25
- package/dist/chunks/aisdk-native-0mesazry.js +4 -0
- package/dist/chunks/{vcs-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
- package/dist/chunks/{vcs-42af65r7.js → aisdk-native-11s1rmee.js} +11 -11
- package/dist/chunks/{vcs-7tnykybm.js → aisdk-native-13nhks0e.js} +87 -87
- package/dist/chunks/{vcs-6e42fpps.js → aisdk-native-17faxaxv.js} +3 -3
- package/dist/chunks/{vcs-18e56dsp.js → aisdk-native-18e56dsp.js} +1 -1
- package/dist/chunks/{vcs-y11s4dzy.js → aisdk-native-1aczmqc6.js} +50 -50
- package/dist/chunks/{vcs-xvaxs8h7.js → aisdk-native-1bhgtrtq.js} +30 -30
- package/dist/chunks/{vcs-b7v6em5m.js → aisdk-native-1c5da01s.js} +25 -25
- package/dist/chunks/{vcs-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-1eyaby9q.js → aisdk-native-1eyaby9q.js} +2 -2
- package/dist/chunks/{vcs-nd6113q8.js → aisdk-native-1f8tyb5n.js} +28 -28
- package/dist/chunks/{vcs-zgdqzk0q.js → aisdk-native-1jp0g19t.js} +32 -32
- package/dist/chunks/{vcs-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
- package/dist/chunks/{vcs-p0xz0qw3.js → aisdk-native-23cdnrcg.js} +55 -55
- package/dist/chunks/{vcs-2402vzrj.js → aisdk-native-2402vzrj.js} +1 -1
- package/dist/chunks/{vcs-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-8025tcnx.js → aisdk-native-2d63f6xn.js} +10 -10
- package/dist/chunks/{vcs-2hyh68ab.js → aisdk-native-2hyh68ab.js} +1 -1
- package/dist/chunks/{vcs-j61fmw0q.js → aisdk-native-2sm40ydq.js} +40 -40
- package/dist/chunks/{vcs-ejnvpq0e.js → aisdk-native-2tg1sg0h.js} +25 -25
- package/dist/chunks/{vcs-sn3frxay.js → aisdk-native-2wwszhkw.js} +27 -27
- package/dist/chunks/aisdk-native-2zp1sn7a.js +22 -0
- package/dist/chunks/{vcs-zwtw7q3h.js → aisdk-native-319gwta3.js} +23 -23
- package/dist/chunks/{vcs-n0z3pqra.js → aisdk-native-338ndk0y.js} +20 -20
- package/dist/chunks/{vcs-yvgq7aaq.js → aisdk-native-3580277f.js} +11 -11
- package/dist/chunks/{vcs-a8w3hdn7.js → aisdk-native-38xvpsvz.js} +46 -46
- package/dist/chunks/{vcs-9n8fbr8d.js → aisdk-native-3e13h338.js} +25 -25
- package/dist/chunks/{vcs-pbrn5f3v.js → aisdk-native-3h2mcac8.js} +19 -19
- package/dist/chunks/{vcs-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-2bdr22tc.js → aisdk-native-3jtv889a.js} +11 -11
- package/dist/chunks/{vcs-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-7wdjtyr9.js → aisdk-native-3ssf1kws.js} +3 -3
- package/dist/chunks/{vcs-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-tregh9zc.js → aisdk-native-3yed7v7p.js} +2 -2
- package/dist/chunks/{vcs-hjt4xg1x.js → aisdk-native-47gsdddb.js} +7 -7
- package/dist/chunks/{vcs-q1668d7a.js → aisdk-native-4ch1thhj.js} +61 -61
- package/dist/chunks/{vcs-ywhnyrnh.js → aisdk-native-4fk6bf9g.js} +5 -5
- package/dist/chunks/{vcs-0z1gmn2q.js → aisdk-native-4kr8d4zw.js} +6 -6
- package/dist/chunks/{vcs-whd1ca54.js → aisdk-native-4qprkdm7.js} +34 -34
- package/dist/chunks/{vcs-tcwy5cxa.js → aisdk-native-4rqgqezq.js} +18 -18
- package/dist/chunks/{vcs-kmzfa87h.js → aisdk-native-52v448cf.js} +15 -15
- package/dist/chunks/{vcs-9bmf6k32.js → aisdk-native-55f2a52s.js} +18 -18
- package/dist/chunks/{vcs-56gdpj1q.js → aisdk-native-56gdpj1q.js} +2 -2
- package/dist/chunks/{vcs-tnw3z0r3.js → aisdk-native-5aptsapt.js} +9 -9
- package/dist/chunks/{vcs-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-jfpzywp2.js → aisdk-native-5kbk4f8q.js} +6 -6
- package/dist/chunks/{vcs-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-xnqpewkq.js → aisdk-native-5xrqyw1b.js} +19 -19
- package/dist/chunks/aisdk-native-619r8v3y.js +18 -0
- package/dist/chunks/{vcs-669tq793.js → aisdk-native-669tq793.js} +1 -1
- package/dist/chunks/{vcs-fz7dfd1z.js → aisdk-native-687r8w3k.js} +18 -18
- package/dist/chunks/{vcs-7dpj1ap7.js → aisdk-native-6fg3wpfk.js} +2 -2
- package/dist/chunks/{vcs-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
- package/dist/chunks/{vcs-42sz070e.js → aisdk-native-6wgqt9fk.js} +13 -13
- package/dist/chunks/{vcs-71q4at8m.js → aisdk-native-71q4at8m.js} +1 -1
- package/dist/chunks/{vcs-38adaqc0.js → aisdk-native-762r0j46.js} +5 -5
- package/dist/chunks/{vcs-ncde1vfm.js → aisdk-native-77h0fa3y.js} +24 -24
- package/dist/chunks/{vcs-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-0xawnack.js → aisdk-native-7cck070s.js} +11 -11
- package/dist/chunks/{vcs-2k8khapm.js → aisdk-native-7dqw4kz8.js} +5 -5
- package/dist/chunks/{vcs-97yt6tz7.js → aisdk-native-7e3k99g8.js} +9 -9
- package/dist/chunks/{vcs-n223nzpv.js → aisdk-native-7rbe0n40.js} +16 -16
- package/dist/chunks/{vcs-ae723g5c.js → aisdk-native-7v84xmqr.js} +14 -14
- package/dist/chunks/{vcs-b72zs1k5.js → aisdk-native-7vx667rq.js} +13 -13
- package/dist/chunks/{vcs-asn1qnte.js → aisdk-native-81rrwt6s.js} +6 -6
- package/dist/chunks/{vcs-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-xgjyy6vg.js → aisdk-native-8fce82a4.js} +2 -2
- package/dist/chunks/{vcs-9qewa294.js → aisdk-native-8kgsw5bp.js} +4 -4
- package/dist/chunks/{vcs-whkfspvt.js → aisdk-native-8kr66qnn.js} +9 -9
- package/dist/chunks/{vcs-y7qr3th8.js → aisdk-native-8mv1h6jj.js} +4 -4
- package/dist/chunks/{vcs-8p4f9s12.js → aisdk-native-8p4f9s12.js} +2 -2
- package/dist/chunks/{vcs-t5kxb07c.js → aisdk-native-8vj00402.js} +23 -23
- package/dist/chunks/{vcs-ny7d19mm.js → aisdk-native-8vygcvtq.js} +11 -11
- package/dist/chunks/{vcs-ktpjzrp6.js → aisdk-native-9325j0hp.js} +31 -31
- package/dist/chunks/{vcs-xpapdg7w.js → aisdk-native-9c2fy9a2.js} +12 -12
- package/dist/chunks/{vcs-zqjyx7nf.js → aisdk-native-9cq2d911.js} +5 -5
- package/dist/chunks/{vcs-ejan8dcj.js → aisdk-native-9pfkjth3.js} +38 -38
- package/dist/chunks/{vcs-5trk58xb.js → aisdk-native-9pm6y0s1.js} +8 -8
- package/dist/chunks/{vcs-xwztew67.js → aisdk-native-9qhb8fgp.js} +22 -22
- package/dist/chunks/{vcs-hsndfndq.js → aisdk-native-9qr1yc92.js} +28 -28
- package/dist/chunks/{vcs-7nhg9xj1.js → aisdk-native-9qynhkcx.js} +23 -6
- package/dist/chunks/{vcs-3pjbzg35.js → aisdk-native-9s8d7x99.js} +24 -24
- package/dist/chunks/{vcs-ccts7nrv.js → aisdk-native-9yd7dp5d.js} +15 -15
- package/dist/chunks/{vcs-zw18ytwa.js → aisdk-native-9zny117k.js} +16 -16
- package/dist/chunks/{vcs-4x8h2e2v.js → aisdk-native-a16aswgc.js} +8 -8
- package/dist/chunks/{vcs-a1bz86dw.js → aisdk-native-a1bz86dw.js} +3 -3
- package/dist/chunks/{vcs-g5zf0djh.js → aisdk-native-a5k42hjy.js} +1 -1
- package/dist/chunks/{vcs-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-231222c6.js → aisdk-native-ae88fk5a.js} +4 -4
- package/dist/chunks/{vcs-e2b6ma0f.js → aisdk-native-afd5mpsr.js} +12 -12
- package/dist/chunks/{vcs-s9t88532.js → aisdk-native-anv1hkd8.js} +20 -20
- package/dist/chunks/{vcs-m32k5ewn.js → aisdk-native-b1nxvtwh.js} +9 -9
- package/dist/chunks/{vcs-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-jc4dg6w1.js → aisdk-native-b9cc68wc.js} +30 -30
- package/dist/chunks/{vcs-f2mnfn4e.js → aisdk-native-bj81vypt.js} +23 -23
- package/dist/chunks/{vcs-yvevv6gs.js → aisdk-native-bxd65j25.js} +8 -8
- package/dist/chunks/{vcs-t1mpdz97.js → aisdk-native-c141fwr4.js} +20 -20
- package/dist/chunks/{vcs-49w8mb30.js → aisdk-native-c1495ybz.js} +11 -11
- package/dist/chunks/{vcs-hfjfxhhs.js → aisdk-native-c1k5sjr1.js} +20 -20
- package/dist/chunks/{vcs-b5x0fzgx.js → aisdk-native-c2pgxnhh.js} +5 -5
- package/dist/chunks/{vcs-c90y15gp.js → aisdk-native-c5777ed1.js} +25 -25
- package/dist/chunks/{vcs-hpsfqm6t.js → aisdk-native-ca63t555.js} +29 -29
- package/dist/chunks/{vcs-cfpkc3c9.js → aisdk-native-cfpkc3c9.js} +2 -2
- package/dist/chunks/{vcs-zbj8enqw.js → aisdk-native-cgz51jgp.js} +12 -12
- package/dist/chunks/{vcs-v8fmfjc0.js → aisdk-native-cpe1mt8c.js} +38 -38
- package/dist/chunks/{vcs-0nkq71gm.js → aisdk-native-cxa6xx46.js} +10 -10
- package/dist/chunks/{vcs-3jp54z3r.js → aisdk-native-d50f2zf5.js} +1 -1
- package/dist/chunks/{vcs-2syw43ez.js → aisdk-native-d8s0zgrq.js} +12 -12
- package/dist/chunks/{vcs-39etbsth.js → aisdk-native-dcs00b5h.js} +2 -2
- package/dist/chunks/{vcs-3v6f0sxy.js → aisdk-native-dmxbrnz3.js} +11 -11
- package/dist/chunks/{vcs-dn8d2kn3.js → aisdk-native-dp7w54cz.js} +24 -24
- package/dist/chunks/{vcs-56y38jfj.js → aisdk-native-dsgb7s9k.js} +6 -6
- package/dist/chunks/{vcs-0j2ryfn1.js → aisdk-native-dy51me0m.js} +22 -22
- package/dist/chunks/{vcs-zad871sr.js → aisdk-native-e6ke6rjh.js} +1 -1
- package/dist/chunks/{vcs-dvfmgnty.js → aisdk-native-e7c3jk4t.js} +85 -85
- package/dist/chunks/{vcs-d2aac7k2.js → aisdk-native-ead3g9p8.js} +5 -5
- package/dist/chunks/{vcs-dyan1gdj.js → aisdk-native-ed9mrdfh.js} +17 -17
- package/dist/chunks/{vcs-p7x6y357.js → aisdk-native-eg6r3vdc.js} +32 -32
- package/dist/chunks/{vcs-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-fpmq6gma.js → aisdk-native-evbgk2k8.js} +5 -5
- package/dist/chunks/{vcs-t55ej7gz.js → aisdk-native-f1x6p4ya.js} +24 -24
- package/dist/chunks/{vcs-bm0fk12v.js → aisdk-native-f2enw7w8.js} +6 -6
- package/dist/chunks/{vcs-t51qk8jz.js → aisdk-native-f3ngv102.js} +21 -21
- package/dist/chunks/{vcs-f828m53h.js → aisdk-native-f828m53h.js} +2 -2
- package/dist/chunks/{vcs-javtnfvt.js → aisdk-native-fbt0fexc.js} +4 -4
- package/dist/chunks/{vcs-td6dvqbq.js → aisdk-native-fdgzdcvs.js} +34 -34
- package/dist/chunks/{vcs-s1tsa559.js → aisdk-native-fdhrs726.js} +24 -24
- package/dist/chunks/{vcs-ekf56pyh.js → aisdk-native-fdkge6kz.js} +6 -6
- package/dist/chunks/{vcs-a81jtvwz.js → aisdk-native-feb6dv9f.js} +7 -7
- package/dist/chunks/{vcs-y2wxp8w3.js → aisdk-native-fffjabw0.js} +11 -11
- package/dist/chunks/{vcs-az46815d.js → aisdk-native-fhsg8w19.js} +13 -13
- package/dist/chunks/{vcs-t0x5rdq8.js → aisdk-native-fjmrr6sh.js} +9 -9
- package/dist/chunks/{vcs-qq8x5mwt.js → aisdk-native-fjvydvzm.js} +6 -6
- package/dist/chunks/{vcs-8e9n6h7v.js → aisdk-native-fm1qwd3t.js} +38 -38
- package/dist/chunks/{vcs-7whssrnc.js → aisdk-native-fmyvj1jr.js} +10 -10
- package/dist/chunks/{vcs-q9j8w608.js → aisdk-native-fnfbdfqx.js} +7 -7
- package/dist/chunks/{vcs-e8ge1rnk.js → aisdk-native-fnpwkbwy.js} +1 -1
- package/dist/chunks/{vcs-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
- package/dist/chunks/{vcs-344p1nha.js → aisdk-native-fyq1da64.js} +17 -17
- package/dist/chunks/{vcs-2skxfxks.js → aisdk-native-g74sxvtz.js} +29 -29
- package/dist/chunks/{vcs-r7nsrefv.js → aisdk-native-g8atgw3j.js} +4 -4
- package/dist/chunks/{vcs-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-3fc6dm20.js → aisdk-native-gdvy8fx6.js} +4 -4
- package/dist/chunks/{vcs-hf061nqs.js → aisdk-native-gpmwed4n.js} +32 -32
- package/dist/chunks/{vcs-gv6a8nnw.js → aisdk-native-gv6a8nnw.js} +2 -2
- package/dist/chunks/{vcs-2r3j351s.js → aisdk-native-gy44vzb3.js} +36 -36
- package/dist/chunks/{vcs-na7956ft.js → aisdk-native-gymt5c6z.js} +19 -19
- package/dist/chunks/{vcs-h03wrkyp.js → aisdk-native-h03wrkyp.js} +2 -2
- package/dist/chunks/{vcs-6hxy2spn.js → aisdk-native-h1badfgy.js} +44 -44
- package/dist/chunks/{vcs-vd7hjsen.js → aisdk-native-h5fpgb6t.js} +22 -22
- package/dist/chunks/{vcs-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-xekzrwwc.js → aisdk-native-h7ygw6q4.js} +9 -9
- package/dist/chunks/{vcs-293305v0.js → aisdk-native-hbntdrm1.js} +1 -1
- package/dist/chunks/{vcs-9f01nfyh.js → aisdk-native-hc3exffh.js} +35 -35
- package/dist/chunks/{vcs-szgy4byf.js → aisdk-native-hfdr1yjj.js} +4 -4
- package/dist/chunks/{vcs-ryrzn0hq.js → aisdk-native-hgw9y0dn.js} +25 -25
- package/dist/chunks/{vcs-hcz3zddy.js → aisdk-native-hnr5yq9h.js} +5 -5
- package/dist/chunks/{vcs-xdmmnt8a.js → aisdk-native-hz94527q.js} +17 -17
- package/dist/chunks/{vcs-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-qq11w61w.js → aisdk-native-j83byb14.js} +4 -4
- package/dist/chunks/{vcs-67j1j2dm.js → aisdk-native-j9qtn0a7.js} +41 -41
- package/dist/chunks/{vcs-gc97qf6g.js → aisdk-native-jan1h0z4.js} +23 -23
- package/dist/chunks/{vcs-fb8ft78w.js → aisdk-native-jr0vnyg6.js} +15 -15
- package/dist/chunks/{vcs-vxqb7ghs.js → aisdk-native-k21a9ffe.js} +23 -23
- package/dist/chunks/{vcs-7j156qnj.js → aisdk-native-k7xkr3b6.js} +7 -7
- package/dist/chunks/{vcs-xwd9pbjm.js → aisdk-native-kfkgkahd.js} +17 -17
- package/dist/chunks/{vcs-kg06axw8.js → aisdk-native-kg06axw8.js} +1 -1
- package/dist/chunks/{vcs-q2027nw7.js → aisdk-native-knxn0y4q.js} +1 -1
- package/dist/chunks/{vcs-qjnn74v4.js → aisdk-native-ksqezm8p.js} +9 -9
- package/dist/chunks/{vcs-wj2xme94.js → aisdk-native-ksxmc9x1.js} +11 -11
- package/dist/chunks/{vcs-a8pwa1qy.js → aisdk-native-kt8hwr0v.js} +6 -6
- package/dist/chunks/{vcs-p85zvgpp.js → aisdk-native-m11bj6wh.js} +22 -22
- package/dist/chunks/{vcs-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-3ac5ktn8.js → aisdk-native-mctc11af.js} +6 -6
- package/dist/chunks/{vcs-cb6xbnd9.js → aisdk-native-me1qs564.js} +2 -2
- package/dist/chunks/{vcs-0j7ejgpp.js → aisdk-native-mgqysdjs.js} +29 -29
- package/dist/chunks/{vcs-mkcjrzeh.js → aisdk-native-mkcjrzeh.js} +1 -1
- package/dist/chunks/{vcs-7rh6a6ws.js → aisdk-native-mvbmyxpm.js} +5 -5
- package/dist/chunks/{vcs-73tb2d7t.js → aisdk-native-mvfsc1pv.js} +3 -3
- package/dist/chunks/{vcs-g4q3msrz.js → aisdk-native-mx4wa0qa.js} +46 -46
- package/dist/chunks/{vcs-yx42xrh5.js → aisdk-native-mzmkmqf1.js} +15 -15
- package/dist/chunks/{vcs-qae1j65a.js → aisdk-native-n2ef2nc6.js} +43 -43
- package/dist/chunks/{vcs-h5bkeg2y.js → aisdk-native-ngr2twat.js} +12 -12
- package/dist/chunks/{vcs-0q8bjg63.js → aisdk-native-nhyr4934.js} +17 -17
- package/dist/chunks/{vcs-724n6vts.js → aisdk-native-njj173xf.js} +3 -3
- package/dist/chunks/{vcs-zemh05ww.js → aisdk-native-npj8n27k.js} +50 -50
- package/dist/chunks/{vcs-a2wdfrx5.js → aisdk-native-ns866pf5.js} +12 -12
- package/dist/chunks/{vcs-2d57kztd.js → aisdk-native-p0b4ytnr.js} +6 -6
- package/dist/chunks/{vcs-saj784mb.js → aisdk-native-p1v0c821.js} +17 -17
- package/dist/chunks/{vcs-bp3y7pxe.js → aisdk-native-p9w19rf3.js} +297 -297
- package/dist/chunks/{vcs-j935v87r.js → aisdk-native-paphc93g.js} +2 -2
- package/dist/chunks/{vcs-pgvfezyn.js → aisdk-native-pbgmyhjp.js} +21 -21
- package/dist/chunks/{vcs-c5db1mkp.js → aisdk-native-pd5ak3pk.js} +22 -22
- package/dist/chunks/{vcs-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-sez905kk.js → aisdk-native-pm84pnzg.js} +10 -10
- package/dist/chunks/{vcs-fktegx2y.js → aisdk-native-pmz64938.js} +9 -9
- package/dist/chunks/{vcs-3gja20hk.js → aisdk-native-ptxpnts9.js} +25 -25
- package/dist/chunks/{vcs-2jscqjee.js → aisdk-native-pwygnad3.js} +20 -20
- package/dist/chunks/{vcs-f6t691bq.js → aisdk-native-pyvbj5ab.js} +30 -30
- package/dist/chunks/{vcs-cwxby6pr.js → aisdk-native-pzh16mkn.js} +9 -9
- package/dist/chunks/{vcs-cny5rd43.js → aisdk-native-q7wajf8z.js} +8 -8
- package/dist/chunks/{vcs-y8r358t9.js → aisdk-native-q8qg86eh.js} +34 -34
- package/dist/chunks/{vcs-322cebek.js → aisdk-native-qar9xt1s.js} +27 -27
- package/dist/chunks/{vcs-y4dgkp79.js → aisdk-native-qhbn037j.js} +4 -4
- package/dist/chunks/{vcs-6a0dvt1c.js → aisdk-native-qptkk0fy.js} +28 -28
- package/dist/chunks/{vcs-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-42kdhqse.js → aisdk-native-r0rathad.js} +3 -3
- package/dist/chunks/{vcs-806j49yq.js → aisdk-native-ratrq7cm.js} +4 -4
- package/dist/chunks/{vcs-2mnagb0e.js → aisdk-native-rgn0sbm6.js} +5 -5
- package/dist/chunks/{vcs-g89yqc5t.js → aisdk-native-rphyw1sq.js} +11 -11
- package/dist/chunks/{vcs-hx1qbxx1.js → aisdk-native-s03bjz93.js} +10 -10
- package/dist/chunks/{vcs-zhxtcv69.js → aisdk-native-s7v2e6ea.js} +6 -6
- package/dist/chunks/{vcs-t550f9t1.js → aisdk-native-s8d7rejh.js} +4 -4
- package/dist/chunks/{vcs-61hb1ky7.js → aisdk-native-sd3s4jh3.js} +16 -16
- package/dist/chunks/{vcs-tsrg9y4k.js → aisdk-native-sf0v5hsk.js} +11 -11
- package/dist/chunks/{vcs-br0bxb5z.js → aisdk-native-sjvd53j5.js} +4 -28
- package/dist/chunks/{vcs-9y8v17r0.js → aisdk-native-snd0bfzm.js} +30 -30
- package/dist/chunks/{vcs-dkxyp88y.js → aisdk-native-spmx6c33.js} +9 -9
- package/dist/chunks/{vcs-mmpwdc4q.js → aisdk-native-sw9rbvth.js} +11 -11
- package/dist/chunks/{vcs-xf2jv3bw.js → aisdk-native-szftbv8r.js} +4 -4
- package/dist/chunks/{vcs-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
- package/dist/chunks/{vcs-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-z1ehnq90.js → aisdk-native-tke13nxd.js} +17 -17
- package/dist/chunks/{vcs-r8jh6khz.js → aisdk-native-tppx2nxc.js} +13 -13
- package/dist/chunks/{vcs-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
- package/dist/chunks/{vcs-5bqf1j7p.js → aisdk-native-twbgxrv5.js} +12 -12
- package/dist/chunks/{vcs-9d5kbc3f.js → aisdk-native-v4gxqtqs.js} +13 -13
- package/dist/chunks/{vcs-xenp1w2e.js → aisdk-native-vdqv04eb.js} +29 -29
- package/dist/chunks/{vcs-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-4peq52f2.js → aisdk-native-vt3nbq0b.js} +7 -7
- package/dist/chunks/{vcs-2gfstk4p.js → aisdk-native-vvhv156y.js} +4 -4
- package/dist/chunks/{vcs-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-11tcp5y8.js → aisdk-native-vze96k0n.js} +4 -4
- package/dist/chunks/{vcs-jn9204f0.js → aisdk-native-w3g6f7qa.js} +7 -7
- package/dist/chunks/{vcs-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-bv56xrks.js → aisdk-native-wa9n8nyq.js} +4 -4
- package/dist/chunks/aisdk-native-wbtgwr8j.js +247 -0
- package/dist/chunks/{vcs-g4fhj9j9.js → aisdk-native-wcybda84.js} +3 -3
- package/dist/chunks/{vcs-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-1tj8392q.js → aisdk-native-wny28rcs.js} +15 -15
- package/dist/chunks/{vcs-z1pfg6df.js → aisdk-native-wxeb981z.js} +1 -1
- package/dist/chunks/{vcs-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-dbnmvbfz.js → aisdk-native-x1pvcqkg.js} +17 -17
- package/dist/chunks/{vcs-dvha2n0q.js → aisdk-native-x2p5vs46.js} +40 -40
- package/dist/chunks/{vcs-vxwhkv8n.js → aisdk-native-x42qtfrs.js} +58 -58
- package/dist/chunks/{vcs-x43y2vfs.js → aisdk-native-x43y2vfs.js} +2 -2
- package/dist/chunks/{vcs-9c53s05g.js → aisdk-native-x603q4dc.js} +15 -15
- package/dist/chunks/{vcs-2314za0f.js → aisdk-native-xbf7nt6y.js} +17 -17
- package/dist/chunks/{vcs-xbxfp9fr.js → aisdk-native-xck5pt99.js} +23 -23
- package/dist/chunks/{vcs-x5qh4ear.js → aisdk-native-xhmq8qgk.js} +9 -9
- package/dist/chunks/{vcs-yxmjadg6.js → aisdk-native-xzz82xgq.js} +14 -14
- package/dist/chunks/{vcs-qaqx0ctg.js → aisdk-native-y0zcfdk7.js} +5 -5
- package/dist/chunks/{vcs-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-q0a87n6s.js → aisdk-native-y55k5e5b.js} +174 -174
- package/dist/chunks/{vcs-jwcy2c2z.js → aisdk-native-y71avatq.js} +4 -4
- package/dist/chunks/{vcs-9vp0n2tv.js → aisdk-native-yecfwbey.js} +10 -10
- package/dist/chunks/{vcs-yp2x3t23.js → aisdk-native-yp2x3t23.js} +1 -1
- package/dist/chunks/{vcs-c0cn7p0d.js → aisdk-native-yq011xmt.js} +22 -22
- package/dist/chunks/{vcs-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
- package/dist/chunks/{vcs-s4enseaf.js → aisdk-native-yrznvahk.js} +2 -2
- package/dist/chunks/{vcs-9cmt1x0q.js → aisdk-native-ywctd6nq.js} +9 -9
- package/dist/chunks/{vcs-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-zr0gh2ck.js → aisdk-native-z2a3ac01.js} +14 -14
- package/dist/chunks/{vcs-7f3sjtrh.js → aisdk-native-z3ykvfqy.js} +1 -1
- package/dist/chunks/{vcs-29x78va6.js → aisdk-native-z63w68vq.js} +6 -6
- package/dist/chunks/{vcs-6n9s5ar1.js → aisdk-native-z8az9z3j.js} +29 -29
- package/dist/chunks/{vcs-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
- package/dist/chunks/{vcs-p84dsdfh.js → aisdk-native-zex37ywk.js} +5 -5
- package/dist/chunks/{vcs-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-0xjckwsk.js → aisdk-native-zr4k6nm6.js} +13 -13
- package/dist/chunks/{vcs-rsym84ch.js → aisdk-native-ztyp0pbv.js} +9 -9
- package/dist/chunks/{vcs-za6src2z.js → aisdk-native-zw7bxkcj.js} +17 -17
- package/dist/chunks/{vcs-r345bmqf.js → aisdk-native-zxbgq9vb.js} +8 -8
- package/dist/chunks/{vcs-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- 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 +115 -115
- package/dist/config/plugin/command.js +207 -207
- 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 +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- 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 +115 -115
- 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 +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +64 -64
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +222 -222
- 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 +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- 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 +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +122 -122
- 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 +8 -8
- package/dist/models-dev.js +84 -84
- 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 +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +95 -95
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- 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 +3 -5
- 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 +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- 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 +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +2 -2
- package/dist/plugin/vcs/git.js +80 -80
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +2 -2
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- 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 +92 -92
- package/dist/reference/instructions.js +84 -84
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- 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 +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- 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 +71 -71
- 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 +5 -5
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +7 -7
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +84 -84
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +105 -105
- 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 +15 -15
- package/dist/types/plugin/provider/amazon-bedrock.d.ts +0 -1
- 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 +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/vcs-4qn8k3dd.js +0 -22
- package/dist/chunks/vcs-dxj72tfx.js +0 -18
- package/dist/chunks/vcs-fjywsyk5.js +0 -247
- package/dist/chunks/vcs-qapv375x.js +0 -4
- /package/dist/chunks/{vcs-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-hrnqkpcd.js → aisdk-native-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-gdvy8fx6.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
17
|
var exports_instructions4 = {};
|
|
18
18
|
__export(exports_instructions4, {
|
|
19
19
|
CodeModeInstructions: () => exports_instructions4,
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
20
|
+
make: () => make15,
|
|
21
|
+
render: () => render3,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -34,7 +34,7 @@ Call \`search(...)\` to discover exact paths and signatures for additional tools
|
|
|
34
34
|
- ${searchSignature}` : ""}
|
|
35
35
|
|
|
36
36
|
## Available tools`;
|
|
37
|
-
function
|
|
37
|
+
function render3(catalog) {
|
|
38
38
|
if (catalog.total === 0)
|
|
39
39
|
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.";
|
|
40
40
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -48,7 +48,7 @@ ${tools.join(`
|
|
|
48
48
|
function update3(previous, current) {
|
|
49
49
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
50
50
|
|
|
51
|
-
${
|
|
51
|
+
${render3(current)}`;
|
|
52
52
|
if (current.total === 0)
|
|
53
53
|
return replacement;
|
|
54
54
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -113,18 +113,18 @@ ${render2(current)}`;
|
|
|
113
113
|
}
|
|
114
114
|
var key = Key3.make("core/codemode");
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
|
-
var
|
|
116
|
+
var make15 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
|
-
return
|
|
118
|
+
return make21({
|
|
119
119
|
key,
|
|
120
120
|
codec,
|
|
121
121
|
read: Effect.succeed(catalog),
|
|
122
122
|
render: {
|
|
123
|
-
initial:
|
|
123
|
+
initial: render3,
|
|
124
124
|
changed: update3,
|
|
125
125
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { render3, update3, make15, exports_instructions4 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-5kbk4f8q.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/aisdk-native.ts
|
|
10
10
|
var exports_aisdk_native = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID17,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-5kbk4f8q.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: () => Service52,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node56
|
|
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: ID17,
|
|
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 Service52 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service52, 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(Service40, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service52.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 node56 = makeLocationNode({ service: Service52, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service52, locationLayer2, node56, exports_aisdk };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service72,
|
|
9
|
+
node77
|
|
10
|
+
} from "./aisdk-native-fmyvj1jr.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service70,
|
|
13
|
+
node75
|
|
14
|
+
} from "./aisdk-native-tke13nxd.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-native-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service43,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node46,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,7 +34,7 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service43 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service72;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service70;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID4.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -133,14 +133,14 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service43.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node46 = makeLocationNode({
|
|
139
|
+
service: Service43,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node77, Global.node, node75]
|
|
142
142
|
});
|
|
143
|
-
var noopLayer3 = Layer.succeed(
|
|
143
|
+
var noopLayer3 = Layer.succeed(Service43, Service43.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -158,4 +158,4 @@ function failure(operation, cause) {
|
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID4, Error3, Service43, node46, noopLayer3, exports_snapshot2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-fdhrs726.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
|
|
|
57
57
|
return {
|
|
58
58
|
_tag: "Parsed",
|
|
59
59
|
skill: {
|
|
60
|
-
id:
|
|
60
|
+
id: ID5.make(id),
|
|
61
61
|
name: Name2.make(frontmatter.name ?? id),
|
|
62
62
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
63
63
|
...slash === undefined ? {} : { slash },
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service77
|
|
3
|
-
} from "./vcs-e2b6ma0f.js";
|
|
4
1
|
import {
|
|
5
2
|
Service79
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-afd5mpsr.js";
|
|
4
|
+
import {
|
|
5
|
+
Service78
|
|
6
|
+
} from "./aisdk-native-pm84pnzg.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service35,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-native-619r8v3y.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-y55k5e5b.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event5,
|
|
30
|
+
ID: () => ID3,
|
|
31
|
+
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service35,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node23
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service79;
|
|
45
|
+
const kv = yield* Service78;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service35.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node23 = Node.makeLocationNode({
|
|
226
|
+
service: Service35,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node23, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID12,
|
|
3
|
+
Info28,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-native-3ssf1kws.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-native-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-17faxaxv.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service79,
|
|
16
|
+
node84
|
|
17
|
+
} from "./aisdk-native-afd5mpsr.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service71,
|
|
20
|
+
node76
|
|
21
|
+
} from "./aisdk-native-h1badfgy.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service42,
|
|
24
|
+
node45
|
|
25
|
+
} from "./aisdk-native-81rrwt6s.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./aisdk-native-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./aisdk-native-a1bz86dw.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node43
|
|
34
|
+
} from "./aisdk-native-pbgmyhjp.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./aisdk-native-hfdr1yjj.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./aisdk-native-mzmkmqf1.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./aisdk-native-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node31
|
|
47
|
+
} from "./aisdk-native-3h2mcac8.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node52
|
|
51
|
+
} from "./aisdk-native-zxbgq9vb.js";
|
|
52
52
|
import {
|
|
53
53
|
NotFoundError8,
|
|
54
54
|
MessageNotFoundError2,
|
|
@@ -61,50 +61,50 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./aisdk-native-feb6dv9f.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput4,
|
|
67
|
+
Service66,
|
|
68
|
+
node71
|
|
69
|
+
} from "./aisdk-native-7rbe0n40.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service54,
|
|
72
|
+
node58
|
|
73
|
+
} from "./aisdk-native-p1v0c821.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service38,
|
|
76
|
+
node42
|
|
77
|
+
} from "./aisdk-native-fm1qwd3t.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./aisdk-native-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service34,
|
|
83
|
+
node39
|
|
84
|
+
} from "./aisdk-native-7cck070s.js";
|
|
85
85
|
import {
|
|
86
86
|
generate3
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./aisdk-native-cgz51jgp.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./aisdk-native-a16aswgc.js";
|
|
91
91
|
import {
|
|
92
92
|
DestinationNotFoundError2,
|
|
93
93
|
DestinationNotDirectoryError2,
|
|
94
94
|
DestinationUnavailableError2,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
95
|
+
Service26,
|
|
96
|
+
node30
|
|
97
|
+
} from "./aisdk-native-x42qtfrs.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service56,
|
|
100
|
+
node60
|
|
101
|
+
} from "./aisdk-native-q7wajf8z.js";
|
|
102
102
|
import {
|
|
103
103
|
make13
|
|
104
|
-
} from "./
|
|
104
|
+
} from "./aisdk-native-snd0bfzm.js";
|
|
105
105
|
import {
|
|
106
106
|
__export
|
|
107
|
-
} from "./
|
|
107
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
108
108
|
|
|
109
109
|
// src/session.ts
|
|
110
110
|
var exports_session = {};
|
|
@@ -115,21 +115,21 @@ __export(exports_session, {
|
|
|
115
115
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
116
116
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
117
117
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
118
|
-
ID: () =>
|
|
118
|
+
ID: () => ID12,
|
|
119
119
|
InboxConflictError: () => InboxConflictError2,
|
|
120
|
-
Info: () =>
|
|
120
|
+
Info: () => Info28,
|
|
121
121
|
ListAnchor: () => ListAnchor2,
|
|
122
|
-
ListInput: () =>
|
|
122
|
+
ListInput: () => ListInput3,
|
|
123
123
|
MessageDecodeError: () => MessageDecodeError2,
|
|
124
124
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
125
125
|
NotFoundError: () => NotFoundError8,
|
|
126
126
|
PromptConflictError: () => PromptConflictError2,
|
|
127
|
-
Service: () =>
|
|
127
|
+
Service: () => Service25,
|
|
128
128
|
Session: () => exports_session,
|
|
129
129
|
SessionSchema: () => SessionSchema2,
|
|
130
130
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
131
131
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
132
|
-
node: () =>
|
|
132
|
+
node: () => node29
|
|
133
133
|
});
|
|
134
134
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
135
135
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -139,26 +139,26 @@ import { Model } from "@opencode/schema/model";
|
|
|
139
139
|
import path from "path";
|
|
140
140
|
import { Node } from "@opencode/util/effect/app-node";
|
|
141
141
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
142
|
-
var
|
|
143
|
-
class
|
|
142
|
+
var ListInput3 = ListInput4;
|
|
143
|
+
class Service25 extends Context.Service()("@opencode/Session") {
|
|
144
144
|
}
|
|
145
|
-
var layer = Layer.effect(
|
|
145
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
146
146
|
const app = yield* Metadata2;
|
|
147
147
|
const database = yield* Service80;
|
|
148
148
|
const db = database.db;
|
|
149
|
-
const bus = yield*
|
|
150
|
-
const projects = yield*
|
|
151
|
-
const execution = yield*
|
|
149
|
+
const bus = yield* Service79;
|
|
150
|
+
const projects = yield* Service71;
|
|
151
|
+
const execution = yield* Service38;
|
|
152
152
|
const llm = yield* LLMClient.Service;
|
|
153
|
-
const transport = yield*
|
|
154
|
-
const store = yield*
|
|
155
|
-
const instances = yield*
|
|
156
|
-
const moves = yield*
|
|
157
|
-
const jobs = yield*
|
|
158
|
-
const environments = yield*
|
|
153
|
+
const transport = yield* Service34;
|
|
154
|
+
const store = yield* Service66;
|
|
155
|
+
const instances = yield* Service42;
|
|
156
|
+
const moves = yield* Service26;
|
|
157
|
+
const jobs = yield* Service54;
|
|
158
|
+
const environments = yield* Service56;
|
|
159
159
|
const sessions = yield* make13();
|
|
160
160
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
161
|
-
const result =
|
|
161
|
+
const result = Service25.of({
|
|
162
162
|
create: Effect.fn("Session.create")(function* (input) {
|
|
163
163
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
164
164
|
const recorded = yield* store.get(sessionID);
|
|
@@ -259,11 +259,11 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
259
259
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
260
260
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
261
261
|
const session = yield* result.get(input.sessionID);
|
|
262
|
-
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
262
|
+
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
|
|
263
263
|
}),
|
|
264
264
|
command: Effect.fn("Session.command")(function* (input) {
|
|
265
265
|
const session = yield* result.get(input.sessionID);
|
|
266
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
266
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service42, instances));
|
|
267
267
|
}),
|
|
268
268
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
269
269
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -303,26 +303,26 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
303
303
|
});
|
|
304
304
|
return result;
|
|
305
305
|
}));
|
|
306
|
-
var
|
|
307
|
-
service:
|
|
306
|
+
var node29 = Node.makeGlobalNode({
|
|
307
|
+
service: Service25,
|
|
308
308
|
layer,
|
|
309
309
|
deps: [
|
|
310
|
-
|
|
311
|
-
|
|
310
|
+
node58,
|
|
311
|
+
node60,
|
|
312
312
|
node85,
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
313
|
+
node84,
|
|
314
|
+
node76,
|
|
315
|
+
node42,
|
|
316
|
+
node39,
|
|
317
317
|
llmClient2,
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
318
|
+
node71,
|
|
319
|
+
node45,
|
|
320
|
+
node43,
|
|
321
|
+
node30,
|
|
322
|
+
node31,
|
|
323
323
|
FSUtil.node,
|
|
324
|
-
|
|
324
|
+
node52
|
|
325
325
|
]
|
|
326
326
|
});
|
|
327
327
|
|
|
328
|
-
export { ListAnchor2,
|
|
328
|
+
export { ListAnchor2, ListInput3, Service25, node29, exports_session };
|