@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,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service79
|
|
4
|
+
} from "./shell-4j5wzjj5.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service65
|
|
8
|
+
} from "./shell-47txtcvt.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service62
|
|
12
|
+
} from "./shell-hj65t7v3.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-q3t37ft6.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service54
|
|
18
|
+
} from "./shell-y8zkxr9j.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service74
|
|
22
|
+
} from "./shell-9wvkvc1q.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service24
|
|
25
|
+
} from "./shell-82jjvh86.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./shell-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make9
|
|
31
|
+
} from "./shell-5gn0efa0.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./shell-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input4,
|
|
40
|
+
Output: () => Output4,
|
|
41
|
+
Plugin: () => Plugin18,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description2,
|
|
44
|
-
name: () =>
|
|
44
|
+
name: () => name4
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name4 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input4 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,7 +72,7 @@ var Input3 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output4 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
@@ -86,16 +86,16 @@ var description2 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin18 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service24;
|
|
93
|
+
const jobs = yield* Service54;
|
|
94
|
+
const agents = yield* Service79;
|
|
95
|
+
const config = yield* Service62;
|
|
96
|
+
const permission = yield* Service74;
|
|
97
|
+
const models = yield* Service65;
|
|
98
|
+
const subagents = yield* make9;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin3 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name4,
|
|
119
119
|
options: { codemode: false },
|
|
120
120
|
description: description2,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input4,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin3 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name4,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin3 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID16.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name4];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name4, Input4, Output4, description2, Plugin18, exports_subagent };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78,
|
|
6
6
|
node82
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-8kpc6pdt.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service20,
|
|
10
|
+
node22
|
|
11
|
+
} from "./shell-tf2g47yf.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
24
|
Options: () => Options2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service15,
|
|
26
26
|
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
28
|
layer: () => layer8,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node17,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ var Options2 = Schema.Struct({
|
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service15 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service78;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service20;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service15.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service78;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service15.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service15.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -183,8 +183,8 @@ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
185
|
function configured2(options) {
|
|
186
|
-
return makeLocationNode({ service:
|
|
186
|
+
return makeLocationNode({ service: Service15, layer: layer8(options), deps: [node82, node22] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node17 = configured2();
|
|
189
189
|
|
|
190
|
-
export { Options2,
|
|
190
|
+
export { Options2, Service15, ripgrepLayer2, fffLayer2, layer8, configured2, node17, exports_search };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-bbsv54dc.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-8kpc6pdt.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service62
|
|
7
|
+
} from "./shell-hj65t7v3.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service13
|
|
10
|
+
} from "./shell-yh8kp56w.js";
|
|
11
11
|
import {
|
|
12
12
|
make8
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-eq1pz5kg.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin31
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,11 +30,11 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin31 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service62;
|
|
37
|
+
const formatter = yield* Service13;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
40
|
const location = yield* Service78;
|
|
@@ -74,4 +74,4 @@ var Plugin32 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin31, exports_formatter };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./shell-kpg8spgh.js";
|
|
1
5
|
import {
|
|
2
6
|
Service82,
|
|
3
7
|
node86
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service81,
|
|
7
|
-
node85
|
|
8
|
-
} from "./location-lifecycle-hafpya9j.js";
|
|
8
|
+
} from "./shell-bqh2sd97.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event16,
|
|
24
|
+
ID: () => ID11,
|
|
25
|
+
Info: () => Info26,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service69,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node73
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID11 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event16 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID11,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service69 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service83).db;
|
|
55
|
+
const bus = yield* Service82;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info26({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service69.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info26({
|
|
80
|
+
id: ID11.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node73 = makeGlobalNode({ service: Service69, layer, deps: [node87, node86] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID11, OAuth3, Key3, Value2, Event16, Info26, Service69, node73, exports_credential };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make21,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-eaj1djv9.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID12,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service72,
|
|
13
|
+
node76
|
|
14
|
+
} from "./shell-dz7g6c4d.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
20
|
var exports_instructions3 = {};
|
|
21
21
|
__export(exports_instructions3, {
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service28,
|
|
23
23
|
SkillInstructions: () => exports_instructions3,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node31
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID12,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -60,18 +60,18 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service28 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service72;
|
|
67
|
+
return Service28.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
71
71
|
return empty3;
|
|
72
72
|
const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
73
|
-
return
|
|
74
|
-
key:
|
|
73
|
+
return make21({
|
|
74
|
+
key: Key4.make("core/skill-guidance"),
|
|
75
75
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
76
76
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
77
77
|
render: {
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node31 = makeLocationNode({ service: Service28, layer, deps: [node76] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service28, node31, exports_instructions3 };
|