@opencode/core 0.0.0-dev-19777 → 0.0.0-dev-19778
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/{shell-q3t37ft6.js → app-08rawchj.js} +3 -3
- package/dist/chunks/{shell-4jq8p7em.js → app-09gk47kq.js} +25 -25
- package/dist/chunks/{shell-pqybgrxs.js → app-0b88r0h9.js} +19 -19
- package/dist/chunks/{shell-gjnc9qzc.js → app-0nspsvre.js} +30 -30
- package/dist/chunks/{shell-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-0q0f95c6.js → app-0q0f95c6.js} +1 -1
- package/dist/chunks/{shell-0t2v7nrt.js → app-0w9dg31r.js} +20 -20
- package/dist/chunks/{shell-s9fwamzp.js → app-11k2snsb.js} +29 -29
- package/dist/chunks/{shell-1t08zx4j.js → app-179dh4fb.js} +26 -26
- package/dist/chunks/{shell-jfqtm2ew.js → app-19vf66h0.js} +4 -4
- package/dist/chunks/{shell-w7y6znma.js → app-1avr8xz3.js} +12 -12
- package/dist/chunks/{shell-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{shell-86qzxe6p.js → app-1y283654.js} +4 -4
- package/dist/chunks/{shell-vw7qqfe6.js → app-1zh1qvy5.js} +14 -14
- package/dist/chunks/{shell-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{shell-2qt599cr.js → app-2331zxhe.js} +26 -26
- package/dist/chunks/{shell-2402vzrj.js → app-2402vzrj.js} +1 -1
- package/dist/chunks/{shell-t5jrxwkq.js → app-254g4bgq.js} +23 -23
- package/dist/chunks/{shell-z63w68vq.js → app-29x78va6.js} +6 -6
- package/dist/chunks/{shell-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{shell-jf901kab.js → app-2cxbvhsv.js} +21 -21
- package/dist/chunks/{shell-vd5v5qk0.js → app-2dx3f4tk.js} +60 -60
- package/dist/chunks/{shell-23w317nk.js → app-2f8jvka8.js} +11 -11
- package/dist/chunks/{shell-9wvkvc1q.js → app-2jpzqyhy.js} +60 -60
- package/dist/chunks/{shell-fcrkznn8.js → app-2k8khapm.js} +5 -5
- package/dist/chunks/{shell-6tn3yh5c.js → app-2n5t2efr.js} +17 -17
- package/dist/chunks/{shell-evbgk2k8.js → app-2qp6y8xf.js} +5 -5
- package/dist/chunks/{shell-3tt1qkhr.js → app-2xwkyk0m.js} +5 -5
- package/dist/chunks/{shell-109t7kd4.js → app-325w0d43.js} +9 -9
- package/dist/chunks/{shell-cae5tg5t.js → app-35kwx3sj.js} +22 -22
- package/dist/chunks/{shell-n6qxy5sm.js → app-37dzk8a6.js} +17 -17
- package/dist/chunks/{shell-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{shell-s2s60008.js → app-3gm11ngf.js} +9 -9
- package/dist/chunks/{shell-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-j83byb14.js → app-3j8sdtpz.js} +4 -4
- package/dist/chunks/{shell-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-15jxckgc.js → app-3t95da75.js} +4 -4
- package/dist/chunks/{shell-czq3e1zb.js → app-3tasvxsc.js} +11 -11
- package/dist/chunks/{shell-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-d0c4rcdd.js → app-3xptedn4.js} +21 -21
- package/dist/chunks/{shell-p31t3pd0.js → app-4a5fdhmb.js} +9 -9
- package/dist/chunks/{shell-nzyhnfxz.js → app-4dgbcxzg.js} +4 -4
- package/dist/chunks/{shell-47b5fvew.js → app-4rn0kpbs.js} +7 -7
- package/dist/chunks/{shell-aw5nfhtx.js → app-4rq81ytk.js} +23 -23
- package/dist/chunks/{shell-6k4mb8p8.js → app-4sqx4g1d.js} +21 -21
- package/dist/chunks/{shell-ph3y9dt3.js → app-54tkqdbb.js} +13 -13
- package/dist/chunks/{shell-1ygqh575.js → app-56gdpj1q.js} +9 -9
- package/dist/chunks/{shell-57ez7d0k.js → app-57ez7d0k.js} +2 -2
- package/dist/chunks/{shell-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{shell-df76fvss.js → app-5e1anv4t.js} +19 -19
- package/dist/chunks/{shell-6ca2f2mk.js → app-5g3p3txv.js} +3 -3
- package/dist/chunks/{shell-9cpbaep3.js → app-5je3e6t6.js} +9 -9
- package/dist/chunks/{shell-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{shell-jw80jp6b.js → app-5wtwrezn.js} +19 -19
- package/dist/chunks/{shell-hex08eaa.js → app-5xk1bkzf.js} +26 -26
- package/dist/chunks/{shell-nm19pb1r.js → app-5xkprrtv.js} +16 -16
- package/dist/chunks/{shell-7vxz9e56.js → app-5yp88j5n.js} +13 -13
- package/dist/chunks/{shell-669tq793.js → app-669tq793.js} +1 -1
- package/dist/chunks/{shell-898hkngb.js → app-6a1145wy.js} +9 -9
- package/dist/chunks/{shell-6hjx5zpb.js → app-6h23kmq1.js} +9 -9
- package/dist/chunks/app-6kdq0pjd.js +4 -0
- package/dist/chunks/{shell-6msgmcgs.js → app-6msgmcgs.js} +1 -1
- package/dist/chunks/{shell-ej9nsrfw.js → app-6nchnj33.js} +7 -7
- package/dist/chunks/{shell-1w8tyy54.js → app-6t5c1nps.js} +40 -40
- package/dist/chunks/{shell-4eqskv5x.js → app-76vcpf37.js} +31 -31
- package/dist/chunks/{shell-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-ncgz71ps.js → app-7dw6a6qq.js} +11 -11
- package/dist/chunks/{shell-ss0awb04.js → app-7ebn0nc0.js} +4 -4
- package/dist/chunks/{shell-nxhqveyz.js → app-7gvwkz6m.js} +5 -5
- package/dist/chunks/{shell-n6hr9sd6.js → app-7nevcv2j.js} +180 -180
- package/dist/chunks/{shell-pjmrnj4k.js → app-7xt60b7w.js} +11 -11
- package/dist/chunks/{shell-eq1pz5kg.js → app-7yh4e7ss.js} +3 -3
- package/dist/chunks/{shell-bagmkwbw.js → app-8453a172.js} +3 -3
- package/dist/chunks/{shell-p37hw4de.js → app-86yypyvq.js} +9 -9
- package/dist/chunks/{shell-hj65t7v3.js → app-89mq7wyr.js} +34 -34
- package/dist/chunks/{shell-902z4n12.js → app-8c78cpwa.js} +16 -16
- package/dist/chunks/{shell-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{shell-vsatvqh0.js → app-8eqv3pz0.js} +17 -17
- package/dist/chunks/{shell-vszvf9m8.js → app-8gtmhb3s.js} +37 -37
- package/dist/chunks/{shell-h2r7bbkd.js → app-8hgfhrm0.js} +7 -7
- package/dist/chunks/{shell-etfwcrdj.js → app-8jt7gytg.js} +9 -9
- package/dist/chunks/{shell-7m4yxrk1.js → app-8mkana51.js} +9 -9
- package/dist/chunks/{shell-8p4f9s12.js → app-8p4f9s12.js} +2 -2
- package/dist/chunks/{shell-xz9j7v2t.js → app-8q3prv5x.js} +13 -13
- package/dist/chunks/{shell-k1w610xy.js → app-8w492f25.js} +22 -22
- package/dist/chunks/{shell-90dg4enk.js → app-8w8z15t5.js} +21 -21
- package/dist/chunks/{shell-2eegacq4.js → app-92swnv4m.js} +8 -8
- package/dist/chunks/{shell-2v7da5f0.js → app-93kbyvxf.js} +8 -8
- package/dist/chunks/{shell-abf421gb.js → app-983faghs.js} +44 -44
- package/dist/chunks/{shell-byr7frw1.js → app-9f9pqsn7.js} +15 -15
- package/dist/chunks/{shell-c488s98d.js → app-9g3kc011.js} +12 -12
- package/dist/chunks/{shell-k1k8px0g.js → app-9m1xy59m.js} +22 -22
- package/dist/chunks/{shell-gzmddf54.js → app-9merv84y.js} +6 -6
- package/dist/chunks/{shell-9sddvxcq.js → app-9qt073d4.js} +24 -24
- package/dist/chunks/app-9sh4wc5j.js +18 -0
- package/dist/chunks/{shell-7qqb5aj4.js → app-9tpewzt2.js} +11 -11
- package/dist/chunks/{shell-xb1zhhk4.js → app-9z0vqgj8.js} +39 -39
- package/dist/chunks/{shell-4g0a6x89.js → app-9z29ty1c.js} +83 -83
- package/dist/chunks/{shell-kgqtb08c.js → app-a02x2nqf.js} +9 -9
- package/dist/chunks/{shell-wf93z251.js → app-a09b8rh7.js} +16 -16
- package/dist/chunks/{shell-a1bz86dw.js → app-a1bz86dw.js} +3 -3
- package/dist/chunks/{shell-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{shell-9kghbwpc.js → app-aaxfm0x4.js} +6 -6
- package/dist/chunks/{shell-kzb2n3ry.js → app-az7sc7tr.js} +31 -31
- package/dist/chunks/{shell-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{shell-99q6wywc.js → app-b6yse9kk.js} +32 -32
- package/dist/chunks/{shell-bha4atvq.js → app-bajakh74.js} +4 -4
- package/dist/chunks/{shell-4evf23qd.js → app-bwv0bmtn.js} +22 -22
- package/dist/chunks/{shell-601x61hw.js → app-bx2v6p93.js} +18 -18
- package/dist/chunks/{shell-6zk5k8gk.js → app-bxx2fbms.js} +26 -26
- package/dist/chunks/{shell-4910pwsm.js → app-bz83r41j.js} +27 -27
- package/dist/chunks/{shell-tfv73esw.js → app-c2zct6gz.js} +1 -1
- package/dist/chunks/{shell-9fc3v4re.js → app-c6ds0c94.js} +4 -4
- package/dist/chunks/{shell-qmqgtz8f.js → app-c765mh8b.js} +9 -9
- package/dist/chunks/{shell-rps88wy8.js → app-ce16mkz4.js} +6 -6
- package/dist/chunks/{shell-cfpkc3c9.js → app-cfpkc3c9.js} +2 -2
- package/dist/chunks/{shell-fxnhd30a.js → app-cgsgnzce.js} +30 -30
- package/dist/chunks/{shell-w1k39n5e.js → app-csf2jhsg.js} +4 -4
- package/dist/chunks/{shell-pp4xxq9a.js → app-ct358y0f.js} +19 -19
- package/dist/chunks/{shell-6ps1wf70.js → app-cxpa1y59.js} +20 -20
- package/dist/chunks/{shell-bdevdzfn.js → app-cxsc12hy.js} +15 -15
- package/dist/chunks/{shell-mh9k1zxz.js → app-cz607syy.js} +29 -29
- package/dist/chunks/{shell-82jjvh86.js → app-d4wrttap.js} +96 -96
- package/dist/chunks/{shell-6ka4kn86.js → app-dajkjmdb.js} +18 -18
- package/dist/chunks/{shell-1zhs7cbk.js → app-dk224700.js} +19 -19
- package/dist/chunks/{shell-v90naytm.js → app-dkvtys4x.js} +34 -34
- package/dist/chunks/{shell-x0ea1d7t.js → app-dmvh2pxq.js} +8 -8
- package/dist/chunks/{shell-tf2g47yf.js → app-dqbfyft2.js} +14 -14
- package/dist/chunks/{shell-xfkkasph.js → app-drwq78ky.js} +4 -4
- package/dist/chunks/{shell-wejvtsvc.js → app-e1meqxse.js} +10 -10
- package/dist/chunks/{shell-5qd3pb7m.js → app-e3qxr5gk.js} +2 -2
- package/dist/chunks/{shell-470r2ntf.js → app-e44f2nns.js} +8 -8
- package/dist/chunks/{shell-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{shell-msjkcb2c.js → app-eg4c4y0k.js} +7 -7
- package/dist/chunks/{shell-yzyc98yn.js → app-emz89tv7.js} +6 -6
- package/dist/chunks/{shell-4xqkkkb3.js → app-enmz7mfm.js} +2 -2
- package/dist/chunks/{shell-nhw0hen6.js → app-enxpex03.js} +15 -15
- package/dist/chunks/{shell-x0pm48gx.js → app-eqfn4xbt.js} +11 -11
- package/dist/chunks/{shell-erw5rpbs.js → app-erw5rpbs.js} +2 -2
- package/dist/chunks/{shell-w7afr362.js → app-etf6ft0y.js} +20 -20
- package/dist/chunks/{shell-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{shell-v3ez8wwd.js → app-exv2d4f1.js} +300 -300
- package/dist/chunks/{shell-45nz77a5.js → app-eyyn9k7n.js} +4 -4
- package/dist/chunks/{shell-msdpvvtr.js → app-f23vd0x7.js} +16 -16
- package/dist/chunks/{shell-r8xr0va3.js → app-f2n192rq.js} +4 -4
- package/dist/chunks/{shell-3ktbe3hf.js → app-f38mbwqt.js} +9 -9
- package/dist/chunks/{shell-jca4demv.js → app-f38wsw69.js} +2 -2
- package/dist/chunks/{shell-q6xswt0f.js → app-f61hb4ek.js} +25 -25
- package/dist/chunks/{shell-f828m53h.js → app-f828m53h.js} +2 -2
- package/dist/chunks/{shell-sv380ctb.js → app-fsbsefvd.js} +8 -8
- package/dist/chunks/{shell-d4hz6pfm.js → app-fvskdbcf.js} +20 -20
- package/dist/chunks/{shell-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{shell-nchmh3xc.js → app-fzs6s7vg.js} +6 -6
- package/dist/chunks/{shell-mqq3d8t2.js → app-g23kf5ev.js} +7 -7
- package/dist/chunks/{shell-5gn0efa0.js → app-g5wwnt5k.js} +11 -11
- package/dist/chunks/app-gb40j6dy.js +252 -0
- package/dist/chunks/{shell-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-1p4gqph4.js → app-gk0dt8df.js} +11 -11
- package/dist/chunks/{shell-p9dx6m3r.js → app-gmqyvvgm.js} +32 -32
- package/dist/chunks/{shell-fk72hcm3.js → app-gswswfzq.js} +5 -5
- package/dist/chunks/{shell-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
- package/dist/chunks/{shell-gtt1eksx.js → app-gyy1ffzd.js} +16 -16
- package/dist/chunks/{shell-4bwczsq4.js → app-gyzwq9sn.js} +19 -19
- package/dist/chunks/{shell-7w3s9kd0.js → app-gzbkpp9m.js} +4 -4
- package/dist/chunks/{shell-c6639vss.js → app-h351tmaf.js} +19 -19
- package/dist/chunks/{shell-kpg8spgh.js → app-h35nstb6.js} +11 -11
- package/dist/chunks/{shell-2evyaa68.js → app-h6jr292a.js} +4 -4
- package/dist/chunks/{shell-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-4c7rbc8y.js → app-hjsb5tch.js} +3 -3
- package/dist/chunks/{shell-x7zeatxc.js → app-hrjdv2as.js} +5 -5
- package/dist/chunks/{shell-7dghwch0.js → app-htw5fxvd.js} +32 -32
- package/dist/chunks/{shell-3ekgth3a.js → app-hv3115q5.js} +13 -13
- package/dist/chunks/{shell-gqn0yf43.js → app-hy9pqe3b.js} +14 -14
- package/dist/chunks/{shell-bqh2sd97.js → app-j27dhsgb.js} +16 -16
- package/dist/chunks/{shell-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{shell-47txtcvt.js → app-j8pq5m3s.js} +30 -30
- package/dist/chunks/{shell-y8zkxr9j.js → app-jcdktctk.js} +17 -17
- package/dist/chunks/{shell-d07c07ww.js → app-jktrx7yg.js} +44 -44
- package/dist/chunks/{shell-h2dht7j6.js → app-jnc00e3h.js} +13 -13
- package/dist/chunks/{shell-xd6cwxj6.js → app-jsq5br9j.js} +42 -42
- package/dist/chunks/{shell-embw8kgh.js → app-jvf3yq6v.js} +4 -4
- package/dist/chunks/{shell-epkvt2y6.js → app-jw8sqkvn.js} +19 -19
- package/dist/chunks/{shell-2ka7npbv.js → app-k1j9bv8z.js} +22 -22
- package/dist/chunks/{shell-nzks3jc8.js → app-k3c624dm.js} +3 -3
- package/dist/chunks/{shell-b89grqm6.js → app-k8n6pnr9.js} +77 -77
- package/dist/chunks/{shell-k9kj6xed.js → app-knb7evpn.js} +6 -6
- package/dist/chunks/{shell-rymghcbg.js → app-knwmqf4w.js} +30 -30
- package/dist/chunks/{shell-4xs1pjsx.js → app-krswskp9.js} +5 -5
- package/dist/chunks/{shell-m3fdjcah.js → app-m3fdjcah.js} +1 -1
- package/dist/chunks/{shell-96939sxw.js → app-m893rmfk.js} +30 -30
- package/dist/chunks/{shell-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-eq26c9e0.js → app-mnpggwcf.js} +9 -9
- package/dist/chunks/{shell-03vvt530.js → app-mp8r0d78.js} +46 -46
- package/dist/chunks/{shell-v8jfbz3g.js → app-mx9vqzsb.js} +6 -6
- package/dist/chunks/{shell-bbsv54dc.js → app-n4thtx26.js} +47 -47
- package/dist/chunks/{shell-4deap7ac.js → app-ne6czcbh.js} +13 -13
- package/dist/chunks/{shell-j7ygsfe1.js → app-nrmx6035.js} +8 -8
- package/dist/chunks/{shell-tfc91kag.js → app-ns7ytg88.js} +5 -5
- package/dist/chunks/{shell-q3csemeg.js → app-nsbb6rh2.js} +6 -6
- package/dist/chunks/{shell-nq7qbqzc.js → app-nscznvay.js} +9 -9
- package/dist/chunks/{shell-hs41a4tz.js → app-p002d2y8.js} +11 -11
- package/dist/chunks/{shell-p4f9hcv5.js → app-p46rex2z.js} +5 -5
- package/dist/chunks/{shell-ygek0628.js → app-p4b89s5t.js} +4 -4
- package/dist/chunks/{shell-9hn6k4tm.js → app-pa8pe2x7.js} +8 -8
- package/dist/chunks/{shell-8vfsjsk5.js → app-pd4tfbn7.js} +27 -27
- package/dist/chunks/{shell-8kpc6pdt.js → app-phttym0s.js} +9 -9
- package/dist/chunks/{shell-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{shell-s6azf4c4.js → app-prbrnhj7.js} +23 -23
- package/dist/chunks/{shell-bjj905gy.js → app-pya94xtm.js} +31 -31
- package/dist/chunks/{shell-w6q8arpf.js → app-q6xw37aw.js} +28 -28
- package/dist/chunks/{shell-t44e5ekz.js → app-q6zxb0dv.js} +8 -8
- package/dist/chunks/{shell-4xtxd1vd.js → app-q7e4c841.js} +20 -20
- package/dist/chunks/{shell-6t8d5s38.js → app-q80w5f59.js} +4 -4
- package/dist/chunks/{shell-a5vww0b3.js → app-q9xc5syg.js} +22 -22
- package/dist/chunks/{shell-sw8vzzw8.js → app-qf8tt7h0.js} +21 -21
- package/dist/chunks/{shell-e0htajja.js → app-qht3p2g6.js} +25 -25
- package/dist/chunks/{shell-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-04tgm3f1.js → app-r9bhfmrk.js} +11 -11
- package/dist/chunks/{shell-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{shell-48yxe442.js → app-re49jchr.js} +33 -33
- package/dist/chunks/{shell-qv98w6tv.js → app-rejdgvb4.js} +28 -28
- package/dist/chunks/{shell-qp3v07n2.js → app-rtathh62.js} +8 -8
- package/dist/chunks/{shell-dcx9ytfh.js → app-rvdbz7jp.js} +17 -17
- package/dist/chunks/{shell-y9j63q94.js → app-s12geb02.js} +12 -12
- package/dist/chunks/{shell-yrznvahk.js → app-s4enseaf.js} +2 -2
- package/dist/chunks/{shell-0ms7z6s1.js → app-s7e9s4m8.js} +12 -12
- package/dist/chunks/{shell-nnz2m9wf.js → app-sa0xgtnt.js} +8 -8
- package/dist/chunks/{shell-40g5vgkd.js → app-sfpmt6g6.js} +32 -32
- package/dist/chunks/{shell-erh6shke.js → app-sjx70dvg.js} +5 -5
- package/dist/chunks/{shell-7dbmnfn4.js → app-sm965ndy.js} +8 -8
- package/dist/chunks/{shell-m3k3skyh.js → app-ssfx8w0w.js} +15 -15
- package/dist/chunks/{shell-491531f5.js → app-t26fz10k.js} +42 -42
- package/dist/chunks/{shell-eaj1djv9.js → app-t550f9t1.js} +8 -8
- package/dist/chunks/{shell-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-tbz0fdvh.js → app-tbz0fdvh.js} +2 -2
- package/dist/chunks/{shell-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{shell-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{shell-w3dn7vsw.js → app-th8dzebb.js} +32 -32
- package/dist/chunks/{shell-vjbs195a.js → app-tmy80d1d.js} +33 -33
- package/dist/chunks/{shell-fz50j58q.js → app-tpqwzhdx.js} +3 -3
- package/dist/chunks/{shell-4jc5c4h4.js → app-ts2x07a1.js} +1 -1
- package/dist/chunks/{shell-tvtrv512.js → app-tvtrv512.js} +1 -1
- package/dist/chunks/app-v2xq4n2m.js +26 -0
- package/dist/chunks/{shell-j96nbzpq.js → app-v74hrknw.js} +3 -3
- package/dist/chunks/{shell-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-eb46bezg.js → app-vf31m6xw.js} +4 -4
- package/dist/chunks/{shell-jv01nqvq.js → app-vmq7ehpy.js} +5 -5
- package/dist/chunks/{shell-6rsdkm0q.js → app-vy2nh6er.js} +16 -16
- package/dist/chunks/{shell-vzcthcp8.js → app-vzcthcp8.js} +1 -1
- package/dist/chunks/{shell-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-k0nnq3t9.js → app-w4axh9wz.js} +6 -6
- package/dist/chunks/{shell-dwmvj21z.js → app-w5r1r7r5.js} +3 -3
- package/dist/chunks/{shell-xmer0dbq.js → app-wcnpmejz.js} +4 -4
- package/dist/chunks/{shell-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{shell-mm2e63sp.js → app-wr40kbw1.js} +20 -20
- package/dist/chunks/{shell-07dpaenw.js → app-x16z1dtm.js} +41 -41
- package/dist/chunks/{shell-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{shell-9pbz1hdq.js → app-x74apfg4.js} +1 -1
- package/dist/chunks/{shell-cz5cm7h7.js → app-xd6rxq6w.js} +3 -3
- package/dist/chunks/{shell-7v81x33d.js → app-xdx7acry.js} +9 -9
- package/dist/chunks/{shell-jyjzw1ga.js → app-xjx8etak.js} +44 -44
- package/dist/chunks/{shell-dxbh06rw.js → app-xnwv1veh.js} +9 -9
- package/dist/chunks/{shell-xc4h54g0.js → app-xpxdqe4n.js} +8 -8
- package/dist/chunks/{shell-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-3t9k22p6.js → app-y4r7bpy5.js} +5 -5
- package/dist/chunks/{shell-52z29kxa.js → app-y5svnfmg.js} +9 -9
- package/dist/chunks/{shell-mxbx1btj.js → app-y6rdf9v0.js} +18 -18
- package/dist/chunks/{shell-y71avatq.js → app-y71avatq.js} +1 -1
- package/dist/chunks/{shell-9z34yp3t.js → app-yd34yanf.js} +4 -4
- package/dist/chunks/{shell-yh8kp56w.js → app-ydqbacn8.js} +11 -11
- package/dist/chunks/{shell-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
- package/dist/chunks/{shell-escjqfgg.js → app-ytbhk2x6.js} +5 -5
- package/dist/chunks/{shell-dz7g6c4d.js → app-z0656w2w.js} +26 -26
- package/dist/chunks/{shell-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-zeh9ct20.js → app-zeh9ct20.js} +2 -2
- package/dist/chunks/{shell-z1djt9rd.js → app-zkkvfm1v.js} +30 -30
- package/dist/chunks/{shell-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-by3yt8c1.js → app-zt0gt0h0.js} +6 -6
- package/dist/chunks/{shell-pqw62kwh.js → app-zvpx4q1j.js} +13 -13
- package/dist/chunks/{shell-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/chunks/{shell-4j5wzjj5.js → app-zz7qbrzd.js} +27 -27
- 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 +80 -80
- 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 +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- 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 +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- 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 +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- 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 +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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 +1 -1
- 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 +92 -92
- 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 +224 -224
- 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 +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +82 -82
- package/dist/instructions/builtins.js +84 -84
- 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 +127 -127
- package/dist/mcp/oauth.js +74 -74
- 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 +79 -79
- 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 +103 -103
- package/dist/plugin/command.js +100 -100
- 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 +5 -5
- 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 +4 -4
- 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 +93 -93
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- 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 +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- 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 +125 -125
- package/dist/session/generate.js +152 -152
- 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 +118 -118
- package/dist/session/model-transport.js +9 -9
- 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 +84 -84
- 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 +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- 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 +102 -102
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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/shell-0mesazry.js +0 -4
- package/dist/chunks/shell-9wnswpj2.js +0 -26
- package/dist/chunks/shell-rap9a73h.js +0 -18
- package/dist/chunks/shell-sbdeyn5w.js +0 -252
- /package/dist/chunks/{shell-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-922hggd3.js → app-922hggd3.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hjbc5kem.js → app-hjbc5kem.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./app-j27dhsgb.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service78,
|
|
11
11
|
node82
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-phttym0s.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID11,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
18
|
+
Service67,
|
|
19
|
+
node69,
|
|
20
|
+
Event15
|
|
21
|
+
} from "./app-b6yse9kk.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/model.ts
|
|
27
27
|
var exports_model2 = {};
|
|
@@ -29,25 +29,25 @@ __export(exports_model2, {
|
|
|
29
29
|
Capabilities: () => Capabilities2,
|
|
30
30
|
Compatibility: () => Compatibility2,
|
|
31
31
|
Cost: () => Cost2,
|
|
32
|
-
Event: () =>
|
|
32
|
+
Event: () => Event14,
|
|
33
33
|
Family: () => Family2,
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
34
|
+
ID: () => ID10,
|
|
35
|
+
Info: () => Info25,
|
|
36
36
|
Model: () => exports_model2,
|
|
37
37
|
ReasoningField: () => ReasoningField2,
|
|
38
38
|
Ref: () => Ref2,
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service66,
|
|
40
40
|
VariantID: () => VariantID2,
|
|
41
41
|
compatibility: () => compatibility2,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node68,
|
|
43
43
|
parse: () => parse5
|
|
44
44
|
});
|
|
45
45
|
import { Model } from "@opencode/schema/model";
|
|
46
46
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
47
47
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
48
48
|
import { freeze } from "immer";
|
|
49
|
-
import { Event as
|
|
50
|
-
var
|
|
49
|
+
import { Event as Event14 } from "@opencode/schema/model";
|
|
50
|
+
var ID10 = Model.ID;
|
|
51
51
|
var VariantID2 = Model.VariantID;
|
|
52
52
|
var Family2 = Model.Family;
|
|
53
53
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -55,13 +55,13 @@ var Compatibility2 = Model.Compatibility;
|
|
|
55
55
|
var Capabilities2 = Model.Capabilities;
|
|
56
56
|
var Cost2 = Model.Cost;
|
|
57
57
|
var Ref2 = Model.Ref;
|
|
58
|
-
var
|
|
58
|
+
var Info25 = Model.Info;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service66 extends Context.Service()("@opencode/Model") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const providers = yield*
|
|
64
|
-
const bus = yield*
|
|
62
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
63
|
+
const providers = yield* Service67;
|
|
64
|
+
const bus = yield* Service81;
|
|
65
65
|
const location = yield* Service78;
|
|
66
66
|
let input;
|
|
67
67
|
const state = create3({
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
107
107
|
const models = writable(providerID);
|
|
108
108
|
if (!models)
|
|
109
109
|
return;
|
|
110
|
-
const model = draft(providerID, modelID) ??
|
|
110
|
+
const model = draft(providerID, modelID) ?? Info25.default(providerID, modelID);
|
|
111
111
|
update(model);
|
|
112
112
|
model.id = modelID;
|
|
113
113
|
model.providerID = providerID;
|
|
@@ -198,8 +198,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
198
198
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
199
199
|
});
|
|
200
200
|
});
|
|
201
|
-
yield* bus.subscribe(
|
|
202
|
-
return
|
|
201
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
202
|
+
return Service66.of({
|
|
203
203
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
204
204
|
reload,
|
|
205
205
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
218
218
|
})
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
|
-
var
|
|
221
|
+
var node68 = makeLocationNode({ service: Service66, layer, deps: [node69, node85, node82] });
|
|
222
222
|
function compatibility2(input) {
|
|
223
223
|
if (typeof input === "string")
|
|
224
224
|
return { reasoningField: input };
|
|
@@ -229,9 +229,9 @@ function compatibility2(input) {
|
|
|
229
229
|
function parse5(input) {
|
|
230
230
|
const index = input.indexOf("/");
|
|
231
231
|
return {
|
|
232
|
-
providerID:
|
|
233
|
-
modelID:
|
|
232
|
+
providerID: ID11.make(index === -1 ? input : input.slice(0, index)),
|
|
233
|
+
modelID: ID10.make(index === -1 ? "" : input.slice(index + 1))
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
export {
|
|
237
|
+
export { ID10, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info25, Service66, node68, compatibility2, parse5, exports_model2, Event14 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service74,
|
|
6
|
+
node77
|
|
7
|
+
} from "./app-hv3115q5.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-08rawchj.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service46,
|
|
23
|
+
make: () => make17,
|
|
24
|
+
node: () => node48
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
|
|
|
50
50
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service46 extends Context.Service()("@opencode/Job") {
|
|
54
54
|
}
|
|
55
55
|
function snapshot(job) {
|
|
56
56
|
return {
|
|
@@ -85,8 +85,8 @@ function decrementSession(input, sessionID) {
|
|
|
85
85
|
next.set(sessionID, count - 1);
|
|
86
86
|
return next;
|
|
87
87
|
}
|
|
88
|
-
var
|
|
89
|
-
const kv = yield*
|
|
88
|
+
var make17 = Effect.gen(function* () {
|
|
89
|
+
const kv = yield* Service74;
|
|
90
90
|
const state = {
|
|
91
91
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
92
92
|
scope: yield* Scope.Scope
|
|
@@ -315,7 +315,7 @@ var make19 = Effect.gen(function* () {
|
|
|
315
315
|
return recovered;
|
|
316
316
|
}).pipe(Effect.withSpan("Job.pendingBackground"));
|
|
317
317
|
const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
|
|
318
|
-
return
|
|
318
|
+
return Service46.of({
|
|
319
319
|
get,
|
|
320
320
|
start,
|
|
321
321
|
wait,
|
|
@@ -327,7 +327,7 @@ var make19 = Effect.gen(function* () {
|
|
|
327
327
|
completeBackground
|
|
328
328
|
});
|
|
329
329
|
});
|
|
330
|
-
var layer = Layer.effect(
|
|
331
|
-
var
|
|
330
|
+
var layer = Layer.effect(Service46, make17);
|
|
331
|
+
var node48 = makeGlobalNode({ service: Service46, layer, deps: [node77] });
|
|
332
332
|
|
|
333
|
-
export {
|
|
333
|
+
export { Service46, make17, node48, exports_job };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./app-j27dhsgb.js";
|
|
5
5
|
import {
|
|
6
6
|
Service78,
|
|
7
7
|
node82
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-phttym0s.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service76,
|
|
11
|
+
node79
|
|
12
|
+
} from "./app-3xptedn4.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service48,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node50
|
|
20
|
+
} from "./app-5e1anv4t.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service60,
|
|
23
|
+
node62
|
|
24
|
+
} from "./app-92swnv4m.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service38,
|
|
27
|
+
node41
|
|
28
|
+
} from "./app-sm965ndy.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./app-08rawchj.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
34
|
Service62,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
node64
|
|
36
|
+
} from "./app-89mq7wyr.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./app-s12geb02.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./app-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError6,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service37,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node40
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service37 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,14 +86,14 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service37, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service81;
|
|
91
91
|
const location = yield* Service78;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
93
|
+
const shell = yield* Service48;
|
|
94
|
+
const environment = yield* Service76;
|
|
95
|
+
const hooks = yield* Service60;
|
|
96
|
+
const environments = yield* Service38;
|
|
97
97
|
const config = yield* Service62;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError6({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError6({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service37.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node40 = makeLocationNode({
|
|
320
|
+
service: Service37,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
|
|
323
|
+
node85,
|
|
324
324
|
node82,
|
|
325
325
|
Global.node,
|
|
326
|
+
node50,
|
|
327
|
+
node79,
|
|
326
328
|
node62,
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
node61,
|
|
330
|
-
node66,
|
|
329
|
+
node41,
|
|
330
|
+
node64,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError6, RETENTION2, DIRECTORY2, Service37, cleanup2, node40, exports_shell4 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node79
|
|
7
|
+
} from "./app-3xptedn4.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service75,
|
|
17
|
+
node: () => node78,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service75 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service76;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service75.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node78 = makeLocationNode({ service: Service75, layer, deps: [node79] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service75, readText2, syncTextBom2, node78, exports_file_mutation };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service83,
|
|
3
|
-
node87
|
|
4
|
-
} from "./shell-kpg8spgh.js";
|
|
5
1
|
import {
|
|
6
2
|
Service82,
|
|
7
3
|
node86
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./app-h35nstb6.js";
|
|
5
|
+
import {
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./app-j27dhsgb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service46,
|
|
11
|
+
node48
|
|
12
|
+
} from "./app-jcdktctk.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service45,
|
|
15
|
+
node47
|
|
16
|
+
} from "./app-mx9vqzsb.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make15
|
|
22
|
+
} from "./app-f2n192rq.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service42
|
|
26
|
+
} from "./app-jvf3yq6v.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-f38mbwqt.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service57,
|
|
32
|
+
node59
|
|
33
|
+
} from "./app-rvdbz7jp.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./app-p4b89s5t.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./app-bxx2fbms.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./app-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service41,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer17,
|
|
50
|
+
node: () => node44,
|
|
51
51
|
noopLayer: () => noopLayer3,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service41 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
71
|
-
const bus = yield*
|
|
72
|
-
const jobs = yield*
|
|
73
|
-
const db = (yield*
|
|
68
|
+
var layer17 = Layer.effect(Service41, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service57;
|
|
70
|
+
const instances = yield* Service45;
|
|
71
|
+
const bus = yield* Service81;
|
|
72
|
+
const jobs = yield* Service46;
|
|
73
|
+
const db = (yield* Service82).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
76
76
|
commit: () => store.claim(sessionID)
|
|
@@ -82,14 +82,14 @@ var layer19 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service42.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
89
89
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
90
90
|
});
|
|
91
91
|
});
|
|
92
|
-
const coordinator = yield*
|
|
92
|
+
const coordinator = yield* make15({
|
|
93
93
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
94
94
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
95
95
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var layer19 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service41.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer19 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node44 = makeGlobalNode({
|
|
133
|
+
service: Service41,
|
|
134
|
+
layer: layer17,
|
|
135
|
+
deps: [node59, node47, node85, node86, node48]
|
|
136
136
|
});
|
|
137
|
-
var noopLayer3 = Layer.succeed(
|
|
137
|
+
var noopLayer3 = Layer.succeed(Service41, Service41.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service46, Service46.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service41, terminal2, layer17, node44, noopLayer3, exports_execution };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service42,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service42 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service42, exports_runner };
|