@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,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load4
|
|
6
|
+
} from "./shell-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event11,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options9,
|
|
17
|
+
Service: () => Service63,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
20
|
configured: () => configured11,
|
|
@@ -22,7 +22,7 @@ __export(exports_watcher, {
|
|
|
22
22
|
layer: () => layer24,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node67,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event11 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load4());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options9 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service63 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var layer24 = (options) => Layer.effect(
|
|
65
|
+
var layer24 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service63.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer24 = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service63.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -131,7 +131,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service63).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service63, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
167
|
function configured11(options) {
|
|
168
|
-
return makeGlobalNode({ service:
|
|
168
|
+
return makeGlobalNode({ service: Service63, layer: layer24(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node67 = configured11();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event11, hasNativeBinding2, Native3, Options9, Service63, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured11, node67, exports_watcher };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./shell-d0c4rcdd.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service60;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-hs41a4tz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./shell-bqh2sd97.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./shell-4eqskv5x.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-fxnhd30a.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID8
|
|
17
|
+
} from "./shell-99q6wywc.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID7,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-47txtcvt.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID8.make("digitalocean");
|
|
31
|
+
var integrationID = ID9.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service82;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID7.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./shell-kpg8spgh.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-y71avatq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service82,
|
|
10
|
+
node86
|
|
11
|
+
} from "./shell-bqh2sd97.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./shell-q3t37ft6.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./shell-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info9,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service48,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer20,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node51,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info9,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service48 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const database = yield*
|
|
156
|
+
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
|
+
const database = yield* Service83;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service82;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info9.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer20 = Layer.effect(Service48, make17());
|
|
231
|
+
var node51 = makeGlobalNode({ service: Service48, layer: layer20, deps: [node87, node86] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info9, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service48, make17, layer20, node51, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service58,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node61
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service58 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service58, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service58.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service45, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node61 = makeGlobalNode({ service: Service58, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service58, node61, exports_environment };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./shell-d0c4rcdd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service17,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-h2dht7j6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service13
|
|
11
|
+
} from "./shell-yh8kp56w.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service74
|
|
14
|
+
} from "./shell-9wvkvc1q.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service73
|
|
17
|
+
} from "./shell-byr7frw1.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./shell-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shell-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input2,
|
|
29
|
+
Output: () => Output2,
|
|
30
|
+
Plugin: () => Plugin16,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name2,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name2 = "write";
|
|
39
|
+
var Input2 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output2 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin16 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service73;
|
|
56
|
+
const fileMutation = yield* Service17;
|
|
57
|
+
const environment = yield* Service60;
|
|
58
|
+
const formatter = yield* Service13;
|
|
59
|
+
const permission = yield* Service74;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name2,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input2,
|
|
69
|
+
output: Output2,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name2, Input2, Output2, toModelContent2, Plugin16, exports_write };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-8kpc6pdt.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service53,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node56,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service53 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service53, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node56 = LayerNode.unbound(Service53, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service53;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service53, node56, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./shell-qv98w6tv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./shell-9wvkvc1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin47 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service68;
|
|
57
|
+
const permission = yield* Service74;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service43,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node46
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service43 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service43.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node46 = makeLocationNode({ service: Service43, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service43, node46, exports_image2 };
|