@opencode/core 0.0.0-dev-19775 → 0.0.0-dev-19777
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{location-lifecycle-zmw9a2ym.js → shell-03vvt530.js} +41 -41
- package/dist/chunks/{location-lifecycle-cvgayg76.js → shell-04tgm3f1.js} +9 -9
- package/dist/chunks/{location-lifecycle-abxf3pnh.js → shell-07dpaenw.js} +41 -41
- package/dist/chunks/{location-lifecycle-xsd6aqt0.js → shell-0ms7z6s1.js} +12 -12
- package/dist/chunks/{location-lifecycle-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-lifecycle-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-lifecycle-pkvdgekh.js → shell-0t2v7nrt.js} +20 -20
- package/dist/chunks/{location-lifecycle-qx8yq4hs.js → shell-109t7kd4.js} +9 -9
- package/dist/chunks/{location-lifecycle-g85jzhcq.js → shell-15jxckgc.js} +4 -4
- package/dist/chunks/{location-lifecycle-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-lifecycle-y7hyc544.js → shell-1p4gqph4.js} +13 -13
- package/dist/chunks/{location-lifecycle-5jch67cs.js → shell-1t08zx4j.js} +26 -26
- package/dist/chunks/{location-lifecycle-e89vbeg8.js → shell-1w8tyy54.js} +40 -40
- package/dist/chunks/{location-lifecycle-33w4ejhs.js → shell-1ygqh575.js} +6 -6
- package/dist/chunks/{location-lifecycle-0p85d2b5.js → shell-1zhs7cbk.js} +17 -17
- package/dist/chunks/{location-lifecycle-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{location-lifecycle-rh8waqx1.js → shell-23w317nk.js} +11 -11
- package/dist/chunks/{location-lifecycle-2402vzrj.js → shell-2402vzrj.js} +1 -1
- package/dist/chunks/{location-lifecycle-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-lifecycle-qby9dwvd.js → shell-2eegacq4.js} +8 -8
- package/dist/chunks/{location-lifecycle-xwwz9aqf.js → shell-2evyaa68.js} +4 -4
- package/dist/chunks/{location-lifecycle-yprrd5kf.js → shell-2ka7npbv.js} +20 -20
- package/dist/chunks/{location-lifecycle-e804n02b.js → shell-2qt599cr.js} +27 -27
- package/dist/chunks/{location-lifecycle-anpxnxga.js → shell-2v7da5f0.js} +8 -8
- package/dist/chunks/{location-lifecycle-rkdqx70x.js → shell-3ekgth3a.js} +13 -13
- package/dist/chunks/{location-lifecycle-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-lifecycle-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-lifecycle-pxr7vr2f.js → shell-3ktbe3hf.js} +9 -9
- package/dist/chunks/{location-lifecycle-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-lifecycle-jqccg9bw.js → shell-3t9k22p6.js} +5 -5
- package/dist/chunks/{location-lifecycle-kzdcqyn1.js → shell-3tt1qkhr.js} +5 -5
- package/dist/chunks/{location-lifecycle-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-lifecycle-erf1z1aw.js → shell-40g5vgkd.js} +32 -32
- package/dist/chunks/{location-lifecycle-byr3fygr.js → shell-45nz77a5.js} +4 -4
- package/dist/chunks/{location-lifecycle-xy7zkf14.js → shell-470r2ntf.js} +8 -8
- package/dist/chunks/{location-lifecycle-3nssxx48.js → shell-47b5fvew.js} +7 -7
- package/dist/chunks/{location-lifecycle-39fbdg6v.js → shell-47txtcvt.js} +30 -30
- package/dist/chunks/{location-lifecycle-0qfptt5k.js → shell-48yxe442.js} +31 -31
- package/dist/chunks/{location-lifecycle-mtcwhrrs.js → shell-4910pwsm.js} +27 -27
- package/dist/chunks/{location-lifecycle-yw8t7fty.js → shell-491531f5.js} +41 -41
- package/dist/chunks/{location-lifecycle-1yzkmr49.js → shell-4bwczsq4.js} +19 -19
- package/dist/chunks/{location-lifecycle-ppgtt6fv.js → shell-4c7rbc8y.js} +3 -3
- package/dist/chunks/{location-lifecycle-zfjy4kgb.js → shell-4deap7ac.js} +13 -13
- package/dist/chunks/{location-lifecycle-brx3w182.js → shell-4eqskv5x.js} +35 -35
- package/dist/chunks/{location-lifecycle-j5djgq14.js → shell-4evf23qd.js} +19 -19
- package/dist/chunks/{location-lifecycle-37ee5xtk.js → shell-4g0a6x89.js} +89 -89
- package/dist/chunks/{location-lifecycle-m3dzp4pc.js → shell-4j5wzjj5.js} +27 -27
- package/dist/chunks/{location-lifecycle-j5786zrt.js → shell-4jc5c4h4.js} +1 -1
- package/dist/chunks/{location-lifecycle-qys7d30g.js → shell-4jq8p7em.js} +25 -25
- package/dist/chunks/{location-lifecycle-ee8fp9pb.js → shell-4xqkkkb3.js} +2 -2
- package/dist/chunks/{location-lifecycle-zbfk49h1.js → shell-4xs1pjsx.js} +5 -5
- package/dist/chunks/{location-lifecycle-n6kjjvst.js → shell-4xtxd1vd.js} +20 -20
- package/dist/chunks/{location-lifecycle-wsp0kw9y.js → shell-52z29kxa.js} +11 -11
- package/dist/chunks/{location-lifecycle-57ez7d0k.js → shell-57ez7d0k.js} +2 -2
- package/dist/chunks/{location-lifecycle-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{location-lifecycle-wk77qrbw.js → shell-5gn0efa0.js} +11 -11
- package/dist/chunks/{location-lifecycle-e3qxr5gk.js → shell-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-lifecycle-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-lifecycle-5hb63z90.js → shell-601x61hw.js} +20 -20
- package/dist/chunks/{location-lifecycle-669tq793.js → shell-669tq793.js} +1 -1
- package/dist/chunks/{location-lifecycle-b648f3a2.js → shell-6ca2f2mk.js} +6 -6
- package/dist/chunks/{location-lifecycle-y56ehv6b.js → shell-6hjx5zpb.js} +9 -9
- package/dist/chunks/{location-lifecycle-jfktk5f2.js → shell-6k4mb8p8.js} +30 -30
- package/dist/chunks/{location-lifecycle-8bkef4w4.js → shell-6ka4kn86.js} +14 -14
- package/dist/chunks/{location-lifecycle-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-lifecycle-5v63wf0e.js → shell-6ps1wf70.js} +22 -22
- package/dist/chunks/{location-lifecycle-mg0hvqns.js → shell-6rsdkm0q.js} +20 -20
- package/dist/chunks/{location-lifecycle-tjbwrg3m.js → shell-6t8d5s38.js} +4 -4
- package/dist/chunks/{location-lifecycle-2359sbzh.js → shell-6tn3yh5c.js} +17 -17
- package/dist/chunks/{location-lifecycle-r0vfb6s8.js → shell-6zk5k8gk.js} +26 -26
- package/dist/chunks/{location-lifecycle-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-lifecycle-97w5rk9e.js → shell-7dbmnfn4.js} +8 -8
- package/dist/chunks/{location-lifecycle-7kne1rr3.js → shell-7dghwch0.js} +32 -32
- package/dist/chunks/{location-lifecycle-3702ncx3.js → shell-7m4yxrk1.js} +9 -9
- package/dist/chunks/{location-lifecycle-kvbgbx56.js → shell-7qqb5aj4.js} +7 -7
- package/dist/chunks/{location-lifecycle-q0raz0xt.js → shell-7v81x33d.js} +9 -9
- package/dist/chunks/{location-lifecycle-5rx1en03.js → shell-7vxz9e56.js} +13 -13
- package/dist/chunks/{location-lifecycle-fjvydvzm.js → shell-7w3s9kd0.js} +4 -4
- package/dist/chunks/{location-lifecycle-xgmv817t.js → shell-82jjvh86.js} +98 -98
- package/dist/chunks/{location-lifecycle-kzc3h1h3.js → shell-86qzxe6p.js} +4 -4
- package/dist/chunks/{location-lifecycle-w1hvpvz2.js → shell-898hkngb.js} +8 -8
- package/dist/chunks/{location-lifecycle-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-lifecycle-hj6d10w0.js → shell-8kpc6pdt.js} +9 -9
- package/dist/chunks/{location-lifecycle-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-lifecycle-ars4a9nd.js → shell-8vfsjsk5.js} +32 -32
- package/dist/chunks/{location-lifecycle-vvb19s65.js → shell-902z4n12.js} +16 -16
- package/dist/chunks/{location-lifecycle-88z22xyb.js → shell-90dg4enk.js} +24 -24
- package/dist/chunks/{location-lifecycle-b9gzvhds.js → shell-96939sxw.js} +30 -30
- package/dist/chunks/{location-lifecycle-zt149n1m.js → shell-99q6wywc.js} +32 -32
- package/dist/chunks/{location-lifecycle-fv6axbdc.js → shell-9cpbaep3.js} +8 -8
- package/dist/chunks/{location-lifecycle-4y9pqhyv.js → shell-9fc3v4re.js} +4 -4
- package/dist/chunks/{location-lifecycle-dv1qgsyq.js → shell-9hn6k4tm.js} +4 -4
- package/dist/chunks/{location-lifecycle-rcsbpktc.js → shell-9kghbwpc.js} +9 -9
- package/dist/chunks/{location-lifecycle-rxq1rw6x.js → shell-9pbz1hdq.js} +1 -1
- package/dist/chunks/{location-lifecycle-apasb5kv.js → shell-9sddvxcq.js} +23 -23
- package/dist/chunks/shell-9wnswpj2.js +26 -0
- package/dist/chunks/{location-lifecycle-jjng5k39.js → shell-9wvkvc1q.js} +60 -60
- package/dist/chunks/{location-lifecycle-qmz5hgkz.js → shell-9z34yp3t.js} +4 -4
- package/dist/chunks/{location-lifecycle-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-lifecycle-c447jeeg.js → shell-a5vww0b3.js} +22 -22
- package/dist/chunks/{location-lifecycle-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{location-lifecycle-s6kv65ar.js → shell-abf421gb.js} +43 -43
- package/dist/chunks/{location-lifecycle-sy0y93sa.js → shell-aw5nfhtx.js} +23 -23
- package/dist/chunks/{location-lifecycle-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-lifecycle-a1r6gdc1.js → shell-b89grqm6.js} +77 -77
- package/dist/chunks/{location-lifecycle-47cy0djt.js → shell-bagmkwbw.js} +3 -3
- package/dist/chunks/{location-lifecycle-qyppsvy7.js → shell-bbsv54dc.js} +47 -47
- package/dist/chunks/{location-lifecycle-rgw6bvjh.js → shell-bdevdzfn.js} +12 -12
- package/dist/chunks/{location-lifecycle-hc7n3jk5.js → shell-bha4atvq.js} +4 -4
- package/dist/chunks/{location-lifecycle-dwtvkfdb.js → shell-bjj905gy.js} +43 -43
- package/dist/chunks/{location-lifecycle-hafpya9j.js → shell-bqh2sd97.js} +16 -16
- package/dist/chunks/{location-lifecycle-fvgp010w.js → shell-by3yt8c1.js} +6 -6
- package/dist/chunks/{location-lifecycle-nzh7nt0x.js → shell-byr7frw1.js} +15 -15
- package/dist/chunks/{location-lifecycle-db54agdm.js → shell-c488s98d.js} +12 -12
- package/dist/chunks/{location-lifecycle-c5gqad7k.js → shell-c6639vss.js} +19 -19
- package/dist/chunks/{location-lifecycle-1n6mrg39.js → shell-cae5tg5t.js} +22 -22
- package/dist/chunks/{location-lifecycle-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-lifecycle-w7954qpa.js → shell-cz5cm7h7.js} +3 -3
- package/dist/chunks/{location-lifecycle-2e6tr95n.js → shell-czq3e1zb.js} +13 -13
- package/dist/chunks/{location-lifecycle-c7kw5n00.js → shell-d07c07ww.js} +47 -47
- package/dist/chunks/{location-lifecycle-yb62w462.js → shell-d0c4rcdd.js} +21 -21
- package/dist/chunks/{location-lifecycle-neggjd8m.js → shell-d4hz6pfm.js} +20 -20
- package/dist/chunks/{location-lifecycle-5m2thc3h.js → shell-dcx9ytfh.js} +19 -19
- package/dist/chunks/{location-lifecycle-d8ner1vk.js → shell-df76fvss.js} +19 -19
- package/dist/chunks/{location-lifecycle-y563cxrh.js → shell-dwmvj21z.js} +5 -5
- package/dist/chunks/{location-lifecycle-p5r4g375.js → shell-dxbh06rw.js} +11 -11
- package/dist/chunks/{location-lifecycle-9k9p9g57.js → shell-dz7g6c4d.js} +28 -28
- package/dist/chunks/{location-lifecycle-gzgsw2w2.js → shell-e0htajja.js} +22 -22
- package/dist/chunks/{location-lifecycle-rhjbct0v.js → shell-eaj1djv9.js} +8 -8
- package/dist/chunks/{location-lifecycle-2919v7f8.js → shell-eb46bezg.js} +6 -6
- package/dist/chunks/{location-lifecycle-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-lifecycle-w40pnpej.js → shell-ej9nsrfw.js} +8 -8
- package/dist/chunks/{location-lifecycle-ddt2bs9e.js → shell-embw8kgh.js} +4 -4
- package/dist/chunks/{location-lifecycle-7s6533aw.js → shell-epkvt2y6.js} +22 -22
- package/dist/chunks/{location-lifecycle-eq1pz5kg.js → shell-eq1pz5kg.js} +1 -1
- package/dist/chunks/{location-lifecycle-b7wa81tp.js → shell-eq26c9e0.js} +11 -11
- package/dist/chunks/{location-lifecycle-xncbf6ay.js → shell-erh6shke.js} +5 -5
- package/dist/chunks/{location-lifecycle-erw5rpbs.js → shell-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-lifecycle-3nztwa7f.js → shell-escjqfgg.js} +5 -5
- package/dist/chunks/{location-lifecycle-0m545p7q.js → shell-etfwcrdj.js} +9 -9
- package/dist/chunks/{location-lifecycle-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-lifecycle-3w2b2yj4.js → shell-evbgk2k8.js} +5 -5
- package/dist/chunks/{location-lifecycle-f828m53h.js → shell-f828m53h.js} +2 -2
- package/dist/chunks/{location-lifecycle-7dqw4kz8.js → shell-fcrkznn8.js} +5 -5
- package/dist/chunks/{location-lifecycle-sfsanhkm.js → shell-fk72hcm3.js} +7 -7
- package/dist/chunks/{location-lifecycle-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-lifecycle-9vzyn289.js → shell-fxnhd30a.js} +32 -32
- package/dist/chunks/{location-lifecycle-488ecjmm.js → shell-fz50j58q.js} +3 -3
- package/dist/chunks/{location-lifecycle-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-lifecycle-jxcmjcy4.js → shell-gjnc9qzc.js} +26 -26
- package/dist/chunks/{location-lifecycle-ts8nkrqx.js → shell-gqn0yf43.js} +14 -14
- package/dist/chunks/{location-lifecycle-3qsm2re4.js → shell-gtt1eksx.js} +18 -18
- package/dist/chunks/{location-lifecycle-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-lifecycle-pryfatb2.js → shell-gzmddf54.js} +6 -6
- package/dist/chunks/{location-lifecycle-4faaayh9.js → shell-h2dht7j6.js} +13 -13
- package/dist/chunks/{location-lifecycle-vyrd71eq.js → shell-h2r7bbkd.js} +11 -11
- package/dist/chunks/{location-lifecycle-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-lifecycle-9yhet4f0.js → shell-hex08eaa.js} +26 -26
- package/dist/chunks/{location-lifecycle-kamc54jj.js → shell-hj65t7v3.js} +37 -37
- package/dist/chunks/{location-lifecycle-en0bd26m.js → shell-hs41a4tz.js} +11 -11
- package/dist/chunks/{location-lifecycle-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{location-lifecycle-dnavak78.js → shell-j7ygsfe1.js} +8 -8
- package/dist/chunks/{location-lifecycle-bf0ztrs3.js → shell-j83byb14.js} +4 -4
- package/dist/chunks/{location-lifecycle-fy4nfvq6.js → shell-j96nbzpq.js} +3 -3
- package/dist/chunks/{location-lifecycle-042q83f5.js → shell-jca4demv.js} +2 -2
- package/dist/chunks/{location-lifecycle-wjvzynk3.js → shell-jf901kab.js} +21 -21
- package/dist/chunks/{location-lifecycle-19vf66h0.js → shell-jfqtm2ew.js} +4 -4
- package/dist/chunks/{location-lifecycle-fvsyg6qk.js → shell-jv01nqvq.js} +5 -5
- package/dist/chunks/{location-lifecycle-kk00bynn.js → shell-jw80jp6b.js} +21 -21
- package/dist/chunks/{location-lifecycle-wtcwnkvw.js → shell-jyjzw1ga.js} +44 -44
- package/dist/chunks/{location-lifecycle-8rrp4d6h.js → shell-k0nnq3t9.js} +8 -8
- package/dist/chunks/{location-lifecycle-sv6xjb0f.js → shell-k1k8px0g.js} +28 -28
- package/dist/chunks/{location-lifecycle-vk2qvkq3.js → shell-k1w610xy.js} +22 -22
- package/dist/chunks/{location-lifecycle-fkjmw100.js → shell-k9kj6xed.js} +2 -2
- package/dist/chunks/{location-lifecycle-keaxt39w.js → shell-kgqtb08c.js} +11 -11
- package/dist/chunks/{location-lifecycle-g9d4q01g.js → shell-kpg8spgh.js} +11 -11
- package/dist/chunks/{location-lifecycle-wy609sy0.js → shell-kzb2n3ry.js} +33 -33
- package/dist/chunks/{location-lifecycle-m3fdjcah.js → shell-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-lifecycle-vqrz25dp.js → shell-m3k3skyh.js} +15 -15
- package/dist/chunks/{location-lifecycle-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-lifecycle-fe13djvq.js → shell-mh9k1zxz.js} +26 -26
- package/dist/chunks/{location-lifecycle-day6310d.js → shell-mm2e63sp.js} +17 -17
- package/dist/chunks/{location-lifecycle-t6rnktzk.js → shell-mqq3d8t2.js} +7 -7
- package/dist/chunks/{location-lifecycle-4b2v48k8.js → shell-msdpvvtr.js} +17 -17
- package/dist/chunks/{location-lifecycle-xn1s65b5.js → shell-msjkcb2c.js} +9 -9
- package/dist/chunks/{location-lifecycle-9gksjqwg.js → shell-mxbx1btj.js} +18 -18
- package/dist/chunks/{location-lifecycle-75251nmg.js → shell-n6hr9sd6.js} +181 -181
- package/dist/chunks/{location-lifecycle-z7fg3yzq.js → shell-n6qxy5sm.js} +19 -19
- package/dist/chunks/{location-lifecycle-m7q6macq.js → shell-ncgz71ps.js} +10 -10
- package/dist/chunks/{location-lifecycle-k0km23p1.js → shell-nchmh3xc.js} +6 -6
- package/dist/chunks/{location-lifecycle-d0kq6bcs.js → shell-nhw0hen6.js} +16 -16
- package/dist/chunks/{location-lifecycle-2a1p58y4.js → shell-nm19pb1r.js} +22 -22
- package/dist/chunks/{location-lifecycle-e7hvxrxc.js → shell-nnz2m9wf.js} +10 -10
- package/dist/chunks/{location-lifecycle-fhs97t90.js → shell-nq7qbqzc.js} +9 -9
- package/dist/chunks/{location-lifecycle-sra9araw.js → shell-nxhqveyz.js} +5 -5
- package/dist/chunks/{location-lifecycle-k3c624dm.js → shell-nzks3jc8.js} +3 -3
- package/dist/chunks/{location-lifecycle-h6r3nrb9.js → shell-nzyhnfxz.js} +4 -4
- package/dist/chunks/{location-lifecycle-z4y453q1.js → shell-p31t3pd0.js} +9 -9
- package/dist/chunks/{location-lifecycle-hcwqpyvc.js → shell-p37hw4de.js} +14 -14
- package/dist/chunks/{location-lifecycle-9snyxm1r.js → shell-p4f9hcv5.js} +5 -5
- package/dist/chunks/{location-lifecycle-4grhrwhs.js → shell-p9dx6m3r.js} +21 -21
- package/dist/chunks/{location-lifecycle-a5d13p60.js → shell-ph3y9dt3.js} +13 -13
- package/dist/chunks/{location-lifecycle-sgnqmrx9.js → shell-pjmrnj4k.js} +11 -11
- package/dist/chunks/{location-lifecycle-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-lifecycle-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{location-lifecycle-27bvgpry.js → shell-pp4xxq9a.js} +17 -17
- package/dist/chunks/{location-lifecycle-qek8dtx8.js → shell-pqw62kwh.js} +13 -13
- package/dist/chunks/{location-lifecycle-sdsxhjm1.js → shell-pqybgrxs.js} +19 -19
- package/dist/chunks/{location-lifecycle-sewjnrgk.js → shell-q3csemeg.js} +9 -9
- package/dist/chunks/{location-lifecycle-qsee9sfb.js → shell-q3t37ft6.js} +3 -3
- package/dist/chunks/{location-lifecycle-0vweymcq.js → shell-q6xswt0f.js} +25 -25
- package/dist/chunks/{location-lifecycle-cwa6csj7.js → shell-qmqgtz8f.js} +9 -9
- package/dist/chunks/{location-lifecycle-90p59b3a.js → shell-qp3v07n2.js} +8 -8
- package/dist/chunks/{location-lifecycle-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{location-lifecycle-k9fj1e0n.js → shell-qv98w6tv.js} +28 -28
- package/dist/chunks/{location-lifecycle-yp2x3t23.js → shell-r8xr0va3.js} +4 -4
- package/dist/chunks/shell-rap9a73h.js +18 -0
- package/dist/chunks/{location-lifecycle-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-lifecycle-am60j996.js → shell-rps88wy8.js} +8 -8
- package/dist/chunks/{location-lifecycle-f67z0p6b.js → shell-rymghcbg.js} +28 -28
- package/dist/chunks/{location-lifecycle-kn58mc9c.js → shell-s2s60008.js} +11 -11
- package/dist/chunks/{location-lifecycle-4m9w2phg.js → shell-s6azf4c4.js} +25 -25
- package/dist/chunks/{location-lifecycle-pgkynvr1.js → shell-s9fwamzp.js} +29 -29
- package/dist/chunks/shell-sbdeyn5w.js +252 -0
- package/dist/chunks/{location-lifecycle-fvanntqq.js → shell-ss0awb04.js} +4 -4
- package/dist/chunks/{location-lifecycle-q58r1q90.js → shell-sv380ctb.js} +10 -10
- package/dist/chunks/{location-lifecycle-v0zfhqw3.js → shell-sw8vzzw8.js} +23 -23
- package/dist/chunks/{location-lifecycle-e6yt117e.js → shell-t44e5ekz.js} +8 -8
- package/dist/chunks/{location-lifecycle-7pzbss7r.js → shell-t5jrxwkq.js} +23 -23
- package/dist/chunks/{location-lifecycle-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-lifecycle-tbz0fdvh.js → shell-tbz0fdvh.js} +2 -2
- package/dist/chunks/{location-lifecycle-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-lifecycle-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{location-lifecycle-xdsa205k.js → shell-tf2g47yf.js} +14 -14
- package/dist/chunks/{location-lifecycle-j4jgwbxy.js → shell-tfc91kag.js} +5 -5
- package/dist/chunks/{location-lifecycle-8f6k85bw.js → shell-tfv73esw.js} +1 -1
- package/dist/chunks/{location-lifecycle-tvtrv512.js → shell-tvtrv512.js} +1 -1
- package/dist/chunks/shell-v3ez8wwd.js +478 -0
- package/dist/chunks/{location-lifecycle-p7a39gy5.js → shell-v8jfbz3g.js} +6 -6
- package/dist/chunks/{location-lifecycle-bn6s17cs.js → shell-v90naytm.js} +34 -34
- package/dist/chunks/{location-lifecycle-vj3k5gd6.js → shell-vd5v5qk0.js} +60 -60
- package/dist/chunks/{location-lifecycle-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{location-lifecycle-4mrjq53b.js → shell-vjbs195a.js} +33 -33
- package/dist/chunks/{location-lifecycle-wrh74t2j.js → shell-vsatvqh0.js} +17 -17
- package/dist/chunks/{location-lifecycle-0t2p0s6x.js → shell-vszvf9m8.js} +37 -37
- package/dist/chunks/{location-lifecycle-nj9ssgdn.js → shell-vw7qqfe6.js} +11 -11
- package/dist/chunks/{location-lifecycle-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-lifecycle-6p3xbzsx.js → shell-w1k39n5e.js} +4 -4
- package/dist/chunks/{location-lifecycle-r8074hfk.js → shell-w3dn7vsw.js} +32 -32
- package/dist/chunks/{location-lifecycle-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-lifecycle-phrncyc5.js → shell-w6q8arpf.js} +30 -30
- package/dist/chunks/{location-lifecycle-eakwe6db.js → shell-w7afr362.js} +20 -20
- package/dist/chunks/{location-lifecycle-wwmey332.js → shell-w7y6znma.js} +11 -11
- package/dist/chunks/{location-lifecycle-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{location-lifecycle-jgn59k9q.js → shell-wejvtsvc.js} +12 -12
- package/dist/chunks/{location-lifecycle-grjhnehy.js → shell-wf93z251.js} +16 -16
- package/dist/chunks/{location-lifecycle-j33757dq.js → shell-x0ea1d7t.js} +8 -8
- package/dist/chunks/{location-lifecycle-rfyy2fbp.js → shell-x0pm48gx.js} +11 -11
- package/dist/chunks/{location-lifecycle-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-lifecycle-5mgfe4rs.js → shell-x7zeatxc.js} +5 -5
- package/dist/chunks/{location-lifecycle-2n8ex6wt.js → shell-xb1zhhk4.js} +45 -45
- package/dist/chunks/{location-lifecycle-18sy4pmj.js → shell-xc4h54g0.js} +10 -10
- package/dist/chunks/{location-lifecycle-kgs94606.js → shell-xd6cwxj6.js} +43 -43
- package/dist/chunks/{location-lifecycle-drwq78ky.js → shell-xfkkasph.js} +4 -4
- package/dist/chunks/{location-lifecycle-z6pnwnms.js → shell-xmer0dbq.js} +4 -4
- package/dist/chunks/{location-lifecycle-erx1ymvz.js → shell-xz9j7v2t.js} +13 -13
- package/dist/chunks/{location-lifecycle-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-lifecycle-dpkg50ah.js → shell-y71avatq.js} +4 -4
- package/dist/chunks/{location-lifecycle-5kj4kk34.js → shell-y8zkxr9j.js} +17 -17
- package/dist/chunks/{location-lifecycle-vyp5mzt3.js → shell-y9j63q94.js} +12 -12
- package/dist/chunks/{location-lifecycle-xprfz8hm.js → shell-ygek0628.js} +4 -4
- package/dist/chunks/{location-lifecycle-7wacmsvk.js → shell-yh8kp56w.js} +11 -11
- package/dist/chunks/{location-lifecycle-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-lifecycle-s4enseaf.js → shell-yrznvahk.js} +2 -2
- package/dist/chunks/{location-lifecycle-7gcp8pkf.js → shell-yzyc98yn.js} +6 -6
- package/dist/chunks/{location-lifecycle-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-lifecycle-xymwp6jy.js → shell-z1djt9rd.js} +30 -30
- package/dist/chunks/{location-lifecycle-29x78va6.js → shell-z63w68vq.js} +6 -6
- package/dist/chunks/{location-lifecycle-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-lifecycle-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-lifecycle-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +138 -138
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +120 -120
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +97 -97
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +122 -122
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +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/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/location-lifecycle-26hpxw0m.js +0 -252
- package/dist/chunks/location-lifecycle-ht5y0zrb.js +0 -18
- package/dist/chunks/location-lifecycle-pe3634vc.js +0 -26
- package/dist/chunks/location-lifecycle-v699prpt.js +0 -478
- /package/dist/chunks/{location-lifecycle-0mesazry.js → shell-0mesazry.js} +0 -0
- /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-lifecycle-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-lifecycle-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-lifecycle-922hggd3.js → shell-922hggd3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-lifecycle-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-lifecycle-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-lifecycle-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-lifecycle-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-lifecycle-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-lifecycle-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-lifecycle-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info18,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info18 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info25 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info18, exports_provider2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
|
+
Info: () => Info17,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule2
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule2),
|
|
20
|
+
edit: Schema.optional(Rule2),
|
|
21
|
+
glob: Schema.optional(Rule2),
|
|
22
|
+
grep: Schema.optional(Rule2),
|
|
23
|
+
list: Schema.optional(Rule2),
|
|
24
|
+
bash: Schema.optional(Rule2),
|
|
25
|
+
task: Schema.optional(Rule2),
|
|
26
|
+
external_directory: Schema.optional(Rule2),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule2),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule2),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule2)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info17 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info17, exports_permission };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service67,
|
|
4
|
+
node71
|
|
5
|
+
} from "./shell-fxnhd30a.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID8,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
11
11
|
nativeSettings2,
|
|
12
12
|
mergeOverlay2,
|
|
13
13
|
mergeHeaders2,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service66,
|
|
15
|
+
node70
|
|
16
|
+
} from "./shell-99q6wywc.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service52,
|
|
19
|
+
node55
|
|
20
|
+
} from "./shell-23w317nk.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID7,
|
|
23
23
|
VariantID2,
|
|
24
24
|
Ref2,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service65,
|
|
26
|
+
node69
|
|
27
|
+
} from "./shell-47txtcvt.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./shell-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/model-resolver.ts
|
|
33
33
|
var exports_model_resolver = {};
|
|
@@ -36,15 +36,15 @@ __export(exports_model_resolver, {
|
|
|
36
36
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
37
37
|
ModelInitializationError: () => ModelInitializationError3,
|
|
38
38
|
ModelResolver: () => exports_model_resolver,
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service51,
|
|
40
40
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
41
41
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
42
42
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
43
43
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
44
44
|
fromCatalogModel: () => fromCatalogModel2,
|
|
45
45
|
hasPackage: () => hasPackage2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer21,
|
|
47
|
+
node: () => node54,
|
|
48
48
|
resolveModel: () => resolveModel2,
|
|
49
49
|
withVariant: () => withVariant2
|
|
50
50
|
});
|
|
@@ -54,8 +54,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
54
54
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
55
55
|
import { Npm } from "@opencode/util/npm";
|
|
56
56
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
57
|
-
providerID:
|
|
58
|
-
modelID:
|
|
57
|
+
providerID: ID8,
|
|
58
|
+
modelID: ID7,
|
|
59
59
|
variant: VariantID2
|
|
60
60
|
}) {
|
|
61
61
|
get message() {
|
|
@@ -64,8 +64,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
67
|
-
providerID:
|
|
68
|
-
modelID:
|
|
67
|
+
providerID: ID8,
|
|
68
|
+
modelID: ID7,
|
|
69
69
|
package: Schema.String
|
|
70
70
|
}) {
|
|
71
71
|
get message() {
|
|
@@ -75,8 +75,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
75
75
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
76
76
|
|
|
77
77
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
78
|
-
providerID:
|
|
79
|
-
modelID:
|
|
78
|
+
providerID: ID8,
|
|
79
|
+
modelID: ID7,
|
|
80
80
|
package: Schema.String,
|
|
81
81
|
detail: Schema.String
|
|
82
82
|
}) {
|
|
@@ -86,8 +86,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
89
|
-
providerID:
|
|
90
|
-
modelID:
|
|
89
|
+
providerID: ID8,
|
|
90
|
+
modelID: ID7,
|
|
91
91
|
package: Schema.String,
|
|
92
92
|
phase: InitializationPhase2,
|
|
93
93
|
detail: Schema.String
|
|
@@ -98,8 +98,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
101
|
-
providerID:
|
|
102
|
-
modelID:
|
|
101
|
+
providerID: ID8,
|
|
102
|
+
modelID: ID7,
|
|
103
103
|
variables: Schema.Array(Schema.String)
|
|
104
104
|
}) {
|
|
105
105
|
get message() {
|
|
@@ -108,8 +108,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
111
|
-
providerID:
|
|
112
|
-
modelID:
|
|
111
|
+
providerID: ID8,
|
|
112
|
+
modelID: ID7,
|
|
113
113
|
route: Schema.String
|
|
114
114
|
}) {
|
|
115
115
|
get message() {
|
|
@@ -117,7 +117,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
class
|
|
120
|
+
class Service51 extends Context.Service()("@opencode/ModelResolver") {
|
|
121
121
|
}
|
|
122
122
|
var withVariant2 = (model, variantID) => {
|
|
123
123
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -257,15 +257,15 @@ var causeMessage = (cause) => {
|
|
|
257
257
|
};
|
|
258
258
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
259
259
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
260
|
-
var
|
|
261
|
-
const providers = yield*
|
|
262
|
-
const models = yield*
|
|
263
|
-
const integrations = yield*
|
|
260
|
+
var layer21 = Layer.effect(Service51, Effect.gen(function* () {
|
|
261
|
+
const providers = yield* Service66;
|
|
262
|
+
const models = yield* Service65;
|
|
263
|
+
const integrations = yield* Service67;
|
|
264
264
|
const npm = yield* Npm.Service;
|
|
265
|
-
const aisdk = yield*
|
|
265
|
+
const aisdk = yield* Service52;
|
|
266
266
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
267
267
|
const provider = yield* providers.get(selected.providerID);
|
|
268
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
268
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
|
|
269
269
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
270
270
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
271
271
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -287,7 +287,7 @@ var layer20 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
287
287
|
transport: selected.transport
|
|
288
288
|
};
|
|
289
289
|
});
|
|
290
|
-
return
|
|
290
|
+
return Service51.of({
|
|
291
291
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
292
292
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
293
293
|
if (!selected)
|
|
@@ -304,10 +304,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
304
304
|
const name = packageName2(packageName);
|
|
305
305
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
306
306
|
}
|
|
307
|
-
var
|
|
308
|
-
service:
|
|
309
|
-
layer:
|
|
310
|
-
deps: [
|
|
307
|
+
var node54 = makeLocationNode({
|
|
308
|
+
service: Service51,
|
|
309
|
+
layer: layer21,
|
|
310
|
+
deps: [node70, node69, node71, Npm.node, node55]
|
|
311
311
|
});
|
|
312
312
|
|
|
313
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
313
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service51, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node54, exports_model_resolver };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make20,
|
|
14
|
+
node: () => node65,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make20 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node65 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node65, exports_driver };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./shell-9wvkvc1q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID12,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service72
|
|
10
|
+
} from "./shell-dz7g6c4d.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill2 = {};
|
|
17
|
+
__export(exports_skill2, {
|
|
18
|
+
Input: () => Input12,
|
|
19
|
+
Output: () => Output8,
|
|
20
|
+
Plugin: () => Plugin27,
|
|
21
|
+
SkillTool: () => exports_skill2,
|
|
22
|
+
description: () => description5,
|
|
23
|
+
name: () => name12,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name12 = "skill";
|
|
30
|
+
var Input12 = Schema.Struct({
|
|
31
|
+
id: ID12.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output8 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description5 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin27 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service72;
|
|
51
|
+
const permission = yield* Service74;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name12,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description5,
|
|
56
|
+
input: Input12,
|
|
57
|
+
output: Output8,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name12,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin4 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name12, Input12, Output8, description5, toModelOutput2, Plugin27, exports_skill2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-99q6wywc.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID7,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info21
|
|
11
|
+
} from "./shell-47txtcvt.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID7.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info21.make({
|
|
122
|
+
...Info21.default(ID8.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID7.make(remote.id),
|
|
125
|
+
providerID: ID8.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./shell-hj65t7v3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service11
|
|
6
|
+
} from "./shell-z1djt9rd.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin42
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin42 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service62;
|
|
26
|
+
const compaction = yield* Service11;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin40 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin42, exports_compaction };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-6ca2f2mk.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-4c7rbc8y.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service83,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node87
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
|
|
|
30
30
|
path: Schema.optional(Schema.String)
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class Service83 extends Context.Service()("@opencode/storage/Database") {
|
|
34
34
|
}
|
|
35
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
35
|
+
var databaseLayer = (lock) => Layer.effect(Service83, Effect.gen(function* () {
|
|
36
36
|
const db = yield* makeDatabase;
|
|
37
37
|
if (supportsTuningPragmas) {
|
|
38
38
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
|
|
|
68
68
|
}
|
|
69
69
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
70
70
|
function configured13(options) {
|
|
71
|
-
return makeGlobalNode({ service:
|
|
71
|
+
return makeGlobalNode({ service: Service83, layer: layer26(options), deps: [Global.node] });
|
|
72
72
|
}
|
|
73
73
|
function configuredClient2(client) {
|
|
74
74
|
return makeGlobalNode({
|
|
75
|
-
service:
|
|
75
|
+
service: Service83,
|
|
76
76
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
77
77
|
deps: [Global.node]
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var node87 = configured13({ path: ":memory:" });
|
|
81
81
|
|
|
82
|
-
export { Options11,
|
|
82
|
+
export { Options11, Service83, layer26, layerFromClient2, configured13, configuredClient2, node87, exports_database };
|