@opencode/core 0.0.0-dev-19696 → 0.0.0-dev-19699
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 +80 -80
- 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/{event-logger-r0tg5n0q.js → wellknown-02vq89j5.js} +11 -11
- package/dist/chunks/{event-logger-knt2d5dz.js → wellknown-05frfhne.js} +37 -37
- package/dist/chunks/{event-logger-8h4n85cr.js → wellknown-06aztdta.js} +13 -13
- package/dist/chunks/{event-logger-rj058vke.js → wellknown-0evgz6jk.js} +13 -13
- package/dist/chunks/{event-logger-y8fxbhx4.js → wellknown-0g6j1py3.js} +8 -8
- package/dist/chunks/{event-logger-179189h4.js → wellknown-0gr7cw0d.js} +4 -4
- package/dist/chunks/{event-logger-pwbngr23.js → wellknown-0jyq87xe.js} +6 -6
- package/dist/chunks/{event-logger-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
- package/dist/chunks/{event-logger-0q0f95c6.js → wellknown-0q0f95c6.js} +1 -1
- package/dist/chunks/{event-logger-hm2zm27q.js → wellknown-0rkmmx2h.js} +22 -22
- package/dist/chunks/{event-logger-13wq6x1c.js → wellknown-0tz7ckg3.js} +4 -4
- package/dist/chunks/{event-logger-zaq546np.js → wellknown-13rkag4v.js} +33 -33
- package/dist/chunks/{event-logger-ahy3czyv.js → wellknown-18fke3sp.js} +30 -30
- package/dist/chunks/{event-logger-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
- package/dist/chunks/{event-logger-g4djwcd0.js → wellknown-1ddyqjqr.js} +15 -15
- package/dist/chunks/{event-logger-bt4aqhzs.js → wellknown-1eamemeq.js} +44 -44
- package/dist/chunks/{event-logger-v2wypf96.js → wellknown-1f7e444c.js} +25 -25
- package/dist/chunks/{event-logger-f1q81vwr.js → wellknown-1hf93j3g.js} +41 -41
- package/dist/chunks/{event-logger-yh95ww3s.js → wellknown-1qhzf4x8.js} +56 -56
- package/dist/chunks/{event-logger-nm7k9b47.js → wellknown-1rkjqmq1.js} +10 -10
- package/dist/chunks/{event-logger-6dtn2yeh.js → wellknown-1veccysx.js} +16 -16
- package/dist/chunks/{event-logger-y4x2wnhh.js → wellknown-1w2cbjd8.js} +7 -7
- package/dist/chunks/{event-logger-rhyygntq.js → wellknown-1x2j9kyw.js} +18 -18
- package/dist/chunks/{event-logger-33w4ejhs.js → wellknown-1ygqh575.js} +6 -6
- package/dist/chunks/{event-logger-21r38tys.js → wellknown-21r38tys.js} +1 -1
- package/dist/chunks/{event-logger-vh2tx9xz.js → wellknown-22m6agjv.js} +25 -25
- package/dist/chunks/{event-logger-6h73sxmp.js → wellknown-2402vzrj.js} +5 -5
- package/dist/chunks/{event-logger-29x78va6.js → wellknown-29x78va6.js} +2 -2
- package/dist/chunks/{event-logger-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
- package/dist/chunks/{event-logger-c78bbtc9.js → wellknown-2f0bjgcj.js} +5 -5
- package/dist/chunks/{event-logger-j138d028.js → wellknown-2jvdvk0y.js} +11 -11
- package/dist/chunks/{event-logger-3vw29xv7.js → wellknown-2re9my94.js} +9 -9
- package/dist/chunks/{event-logger-djszqvmq.js → wellknown-2sejkfem.js} +9 -9
- package/dist/chunks/{event-logger-kemwpm5w.js → wellknown-2tw2jb74.js} +15 -15
- package/dist/chunks/{event-logger-nxj8q3z1.js → wellknown-2x6qb6j3.js} +15 -15
- package/dist/chunks/{event-logger-04tfxcdr.js → wellknown-3672w6ev.js} +12 -12
- package/dist/chunks/{event-logger-19fstv4x.js → wellknown-37syhnnj.js} +33 -33
- package/dist/chunks/{event-logger-1krkmatr.js → wellknown-38r79mk0.js} +28 -28
- package/dist/chunks/{event-logger-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
- package/dist/chunks/{event-logger-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-8gb5n45w.js → wellknown-3jcgvabz.js} +20 -20
- package/dist/chunks/{event-logger-vqr5d69s.js → wellknown-3q2hx7qx.js} +24 -24
- package/dist/chunks/{event-logger-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
- package/dist/chunks/{event-logger-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
- package/dist/chunks/{event-logger-qpmg2b3j.js → wellknown-3xt9d42j.js} +30 -30
- package/dist/chunks/{event-logger-4smwsnvt.js → wellknown-45ww0dfj.js} +13 -13
- package/dist/chunks/{event-logger-avkqcmq8.js → wellknown-49w8r3q3.js} +13 -13
- package/dist/chunks/{event-logger-7x9ewdc2.js → wellknown-4b1y0hxr.js} +38 -38
- package/dist/chunks/{event-logger-c68hde1t.js → wellknown-4en4q4yc.js} +21 -21
- package/dist/chunks/{event-logger-9ae44cfy.js → wellknown-4mwpykj0.js} +6 -6
- package/dist/chunks/{event-logger-w47g9jnr.js → wellknown-4y72ap3v.js} +12 -12
- package/dist/chunks/{event-logger-4xvgz3xk.js → wellknown-53bv3qst.js} +1 -1
- package/dist/chunks/{event-logger-57ez7d0k.js → wellknown-57ez7d0k.js} +2 -2
- package/dist/chunks/{event-logger-jf0100jp.js → wellknown-5asa4ssx.js} +9 -9
- package/dist/chunks/{event-logger-7dw7qv3b.js → wellknown-5c9je0v9.js} +4 -4
- package/dist/chunks/{event-logger-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
- package/dist/chunks/{event-logger-rnxe7nh0.js → wellknown-5dy7rswa.js} +18 -18
- package/dist/chunks/{event-logger-b5g7n234.js → wellknown-5jrz7pq0.js} +4 -4
- package/dist/chunks/{event-logger-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
- package/dist/chunks/{event-logger-tfsr834s.js → wellknown-5twhmeh2.js} +5 -5
- package/dist/chunks/{event-logger-cbfw9r1s.js → wellknown-5xtp168v.js} +40 -40
- package/dist/chunks/{event-logger-dsqw74eh.js → wellknown-5z3pmdav.js} +29 -29
- package/dist/chunks/{event-logger-r1a0vwxw.js → wellknown-5z99wved.js} +88 -88
- package/dist/chunks/{event-logger-j3kw8hdv.js → wellknown-62kg8r9z.js} +23 -23
- package/dist/chunks/{event-logger-669tq793.js → wellknown-669tq793.js} +1 -1
- package/dist/chunks/{event-logger-vykevjvn.js → wellknown-66r9f6z1.js} +5 -5
- package/dist/chunks/{event-logger-6msgmcgs.js → wellknown-6msgmcgs.js} +1 -1
- package/dist/chunks/{event-logger-bccb6npm.js → wellknown-6p3xbzsx.js} +4 -4
- package/dist/chunks/{event-logger-a6rtf9r8.js → wellknown-6t4xh0bm.js} +4 -4
- package/dist/chunks/{event-logger-jmphe03k.js → wellknown-6tt5evqq.js} +4 -4
- package/dist/chunks/{event-logger-c8ch9ja0.js → wellknown-6wpb9dtm.js} +32 -32
- package/dist/chunks/{event-logger-4bj34vg3.js → wellknown-703epsd2.js} +13 -13
- package/dist/chunks/{event-logger-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-f9qen07q.js → wellknown-7cy86ee7.js} +9 -9
- package/dist/chunks/{event-logger-4ax32ygz.js → wellknown-7kx617rh.js} +15 -15
- package/dist/chunks/{event-logger-ryh3zg0t.js → wellknown-7qwxv68y.js} +17 -17
- package/dist/chunks/{event-logger-4e3p0ks6.js → wellknown-7y9nfy68.js} +12 -12
- package/dist/chunks/{event-logger-7648d4x5.js → wellknown-858rcgn7.js} +2 -2
- package/dist/chunks/wellknown-85m7w1zb.js +478 -0
- package/dist/chunks/{event-logger-20pty4bt.js → wellknown-87zw2hyv.js} +1 -1
- package/dist/chunks/{event-logger-9qfe2ja1.js → wellknown-89ce2975.js} +26 -26
- package/dist/chunks/{event-logger-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
- package/dist/chunks/{event-logger-z1qfhdd8.js → wellknown-8h6ypk9j.js} +12 -12
- package/dist/chunks/{event-logger-fchh1bgk.js → wellknown-8mv22bfd.js} +6 -6
- package/dist/chunks/{event-logger-dj2t23y0.js → wellknown-8p4f9s12.js} +2 -2
- package/dist/chunks/{event-logger-sx9mw961.js → wellknown-8pv0kv37.js} +22 -22
- package/dist/chunks/{event-logger-ea07kf8j.js → wellknown-8wjsrxa5.js} +30 -30
- package/dist/chunks/{event-logger-zt6fd653.js → wellknown-97j4gngf.js} +6 -6
- package/dist/chunks/{event-logger-y35sf2j4.js → wellknown-9fc3v4re.js} +4 -4
- package/dist/chunks/{event-logger-r6a6hdhd.js → wellknown-9q0tgr1n.js} +1 -1
- package/dist/chunks/{event-logger-f6r8b46e.js → wellknown-9vwffpq4.js} +24 -24
- package/dist/chunks/wellknown-9zdhvgqs.js +18 -0
- package/dist/chunks/{event-logger-fn208hd8.js → wellknown-a11sa989.js} +13 -13
- package/dist/chunks/{event-logger-5c4hm403.js → wellknown-a1bz86dw.js} +3 -3
- package/dist/chunks/{event-logger-kymbt4nv.js → wellknown-a2p103pg.js} +5 -5
- package/dist/chunks/{event-logger-aw3mvnxt.js → wellknown-a9rp9621.js} +14 -14
- package/dist/chunks/{event-logger-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
- package/dist/chunks/{event-logger-dfe8djrf.js → wellknown-an7cqtb7.js} +4 -4
- package/dist/chunks/{event-logger-kwhenx4x.js → wellknown-apg30w74.js} +17 -17
- package/dist/chunks/{event-logger-4qm6cy38.js → wellknown-as1xxm31.js} +8 -8
- package/dist/chunks/{event-logger-61x4fbmb.js → wellknown-ave4adqk.js} +5 -5
- package/dist/chunks/{event-logger-d1h4tmpp.js → wellknown-b1pnbeng.js} +14 -14
- package/dist/chunks/{event-logger-3x4h1ana.js → wellknown-b5a0cfst.js} +28 -28
- package/dist/chunks/{event-logger-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
- package/dist/chunks/{event-logger-r8xnyvet.js → wellknown-b8hzf7nw.js} +8 -8
- package/dist/chunks/{event-logger-ca99xzkn.js → wellknown-bhs1apdh.js} +20 -20
- package/dist/chunks/{event-logger-w3jg838k.js → wellknown-bkxyw0dr.js} +9 -9
- package/dist/chunks/{event-logger-wvjjmvtg.js → wellknown-bqyrc6kt.js} +14 -14
- package/dist/chunks/{event-logger-zcqt3ngz.js → wellknown-bsakc679.js} +35 -35
- package/dist/chunks/{event-logger-c7qc25s7.js → wellknown-bw274x7r.js} +41 -41
- package/dist/chunks/{event-logger-m0jqrx5p.js → wellknown-cfpkc3c9.js} +2 -2
- package/dist/chunks/{event-logger-01b47qtp.js → wellknown-cgw5at3k.js} +11 -11
- package/dist/chunks/{event-logger-v377geyv.js → wellknown-chtesddx.js} +37 -37
- package/dist/chunks/{event-logger-t5f4yr10.js → wellknown-ct958zhq.js} +7 -7
- package/dist/chunks/{event-logger-k8dasee7.js → wellknown-cyhsea0k.js} +5 -5
- package/dist/chunks/{event-logger-err3782n.js → wellknown-d4h7w4jx.js} +3 -3
- package/dist/chunks/wellknown-d6bs0g6r.js +26 -0
- package/dist/chunks/{event-logger-93677cdp.js → wellknown-d6r8xqx0.js} +23 -23
- package/dist/chunks/{event-logger-a89e0tac.js → wellknown-d858xzj7.js} +4 -4
- package/dist/chunks/{event-logger-tpfb5g91.js → wellknown-dbkx7kkc.js} +47 -47
- package/dist/chunks/{event-logger-vf6sj15q.js → wellknown-dccad321.js} +17 -17
- package/dist/chunks/{event-logger-cqka59kj.js → wellknown-djfnsed5.js} +24 -24
- package/dist/chunks/{event-logger-cpcmeqtm.js → wellknown-djv3jzct.js} +23 -23
- package/dist/chunks/{event-logger-dps9xtkj.js → wellknown-dws6p1jx.js} +12 -12
- package/dist/chunks/{event-logger-tsv8nndt.js → wellknown-e3qz7xqh.js} +13 -13
- package/dist/chunks/{event-logger-fc2s70hv.js → wellknown-e6z92hp1.js} +4 -4
- package/dist/chunks/{event-logger-nyhn54eh.js → wellknown-ed3ymh90.js} +3 -3
- package/dist/chunks/{event-logger-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
- package/dist/chunks/{event-logger-mhkvc446.js → wellknown-eq1pz5kg.js} +3 -3
- package/dist/chunks/{event-logger-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
- package/dist/chunks/{event-logger-tqxxw7kd.js → wellknown-ettrbj24.js} +1 -1
- package/dist/chunks/{event-logger-1tmhegch.js → wellknown-ewn3dy9s.js} +43 -43
- package/dist/chunks/{event-logger-s0gbcvwp.js → wellknown-ezjfbph4.js} +11 -11
- package/dist/chunks/{event-logger-faq1wr3f.js → wellknown-f5djnss5.js} +2 -2
- package/dist/chunks/{event-logger-a5zcwyze.js → wellknown-f70agvkv.js} +15 -15
- package/dist/chunks/{event-logger-hdnk95c8.js → wellknown-f828m53h.js} +2 -2
- package/dist/chunks/{event-logger-2k8khapm.js → wellknown-fcrkznn8.js} +5 -5
- package/dist/chunks/{event-logger-y56ehv6b.js → wellknown-fdms3n6w.js} +9 -9
- package/dist/chunks/{event-logger-0z8vjex2.js → wellknown-fjvydvzm.js} +7 -7
- package/dist/chunks/{event-logger-6sn0sakd.js → wellknown-frrk65se.js} +6 -6
- package/dist/chunks/{event-logger-9ejxjpc6.js → wellknown-frwp1sqd.js} +6 -6
- package/dist/chunks/{event-logger-fxbjtjnd.js → wellknown-fxbjtjnd.js} +1 -1
- package/dist/chunks/{event-logger-8p8djd9s.js → wellknown-fz8c2kxy.js} +40 -40
- package/dist/chunks/{event-logger-h6nxw0pd.js → wellknown-fzgxakwn.js} +6 -6
- package/dist/chunks/{event-logger-krz0x7qr.js → wellknown-g0k6m2dv.js} +21 -21
- package/dist/chunks/{event-logger-c27esgm9.js → wellknown-g1sxm558.js} +8 -8
- package/dist/chunks/{event-logger-ctd8n39e.js → wellknown-gctnpdhs.js} +32 -32
- package/dist/chunks/{event-logger-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
- package/dist/chunks/{event-logger-gv6a8nnw.js → wellknown-gv6a8nnw.js} +2 -2
- package/dist/chunks/{event-logger-z0cjqv7c.js → wellknown-gyhk607v.js} +13 -13
- package/dist/chunks/{event-logger-4db5ydnd.js → wellknown-gzmp8t1a.js} +12 -12
- package/dist/chunks/{event-logger-h03wrkyp.js → wellknown-h03wrkyp.js} +2 -2
- package/dist/chunks/{event-logger-ntqvmrke.js → wellknown-h21tm5bp.js} +16 -16
- package/dist/chunks/{event-logger-h6r3nrb9.js → wellknown-h6r3nrb9.js} +1 -1
- package/dist/chunks/{event-logger-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
- package/dist/chunks/{event-logger-64m00t7s.js → wellknown-h817dscy.js} +19 -19
- package/dist/chunks/{event-logger-hnr5yq9h.js → wellknown-hcz3zddy.js} +5 -5
- package/dist/chunks/{event-logger-89bb6baa.js → wellknown-hpfvhvya.js} +4 -4
- package/dist/chunks/{event-logger-b7ve3twh.js → wellknown-hv51d5cw.js} +11 -11
- package/dist/chunks/{event-logger-5qgsxy42.js → wellknown-hxgex57t.js} +8 -8
- package/dist/chunks/{event-logger-tj47gbtw.js → wellknown-j0dzqqfs.js} +139 -139
- package/dist/chunks/{event-logger-m0wrnjqy.js → wellknown-j15ahbfv.js} +7 -7
- package/dist/chunks/{event-logger-yjd544d2.js → wellknown-j48xzn17.js} +11 -11
- package/dist/chunks/{event-logger-05v53jqr.js → wellknown-j4a32nwn.js} +13 -13
- package/dist/chunks/{event-logger-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
- package/dist/chunks/{event-logger-ryt7pzqc.js → wellknown-j5786zrt.js} +1 -1
- package/dist/chunks/{event-logger-6t2b8ngt.js → wellknown-jbm78rjc.js} +13 -13
- package/dist/chunks/{event-logger-bntmz9b0.js → wellknown-jhgpt0kn.js} +9 -9
- package/dist/chunks/{event-logger-jppvw2tx.js → wellknown-jppvw2tx.js} +2 -2
- package/dist/chunks/{event-logger-nzks3jc8.js → wellknown-k3c624dm.js} +3 -3
- package/dist/chunks/{event-logger-knb7evpn.js → wellknown-k9kj6xed.js} +6 -6
- package/dist/chunks/{event-logger-9kmbd9mt.js → wellknown-kbegyq1c.js} +2 -2
- package/dist/chunks/{event-logger-sk4vs9as.js → wellknown-kha7fq0w.js} +23 -23
- package/dist/chunks/{event-logger-4gchpvx5.js → wellknown-khec1x9r.js} +23 -23
- package/dist/chunks/{event-logger-sak3c8dk.js → wellknown-m16hdrdp.js} +26 -26
- package/dist/chunks/{event-logger-6kdtsqv3.js → wellknown-m2f3pxpa.js} +17 -17
- package/dist/chunks/{event-logger-m3fdjcah.js → wellknown-m3fdjcah.js} +1 -1
- package/dist/chunks/{event-logger-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-hps3qd0z.js → wellknown-mbn2hkww.js} +32 -32
- package/dist/chunks/{event-logger-0wy3snq7.js → wellknown-meahrvbf.js} +28 -28
- package/dist/chunks/{event-logger-mrkxfjrm.js → wellknown-megepw3e.js} +7 -7
- package/dist/chunks/{event-logger-yrwsfcys.js → wellknown-mjtk0fpq.js} +32 -32
- package/dist/chunks/{event-logger-bmsexbt7.js → wellknown-mp6rxbgf.js} +7 -7
- package/dist/chunks/{event-logger-jkjeh5ca.js → wellknown-mszgpyrk.js} +7 -7
- package/dist/chunks/{event-logger-nxhqveyz.js → wellknown-mtft99cd.js} +5 -5
- package/dist/chunks/{event-logger-3saaabmq.js → wellknown-mtfwx8wg.js} +28 -28
- package/dist/chunks/{event-logger-6pw3x1qa.js → wellknown-n6keassd.js} +7 -7
- package/dist/chunks/{event-logger-mf9m2v67.js → wellknown-n7d88tpn.js} +3 -3
- package/dist/chunks/{event-logger-fn3mjbaf.js → wellknown-nbrd663h.js} +13 -13
- package/dist/chunks/{event-logger-ymetdb9t.js → wellknown-nbzxak9z.js} +11 -11
- package/dist/chunks/{event-logger-v1vcwkx7.js → wellknown-nk87491m.js} +1 -1
- package/dist/chunks/{event-logger-3hj4sy0w.js → wellknown-nrwk3scp.js} +20 -20
- package/dist/chunks/{event-logger-p5std9sz.js → wellknown-nwge8jy8.js} +2 -2
- package/dist/chunks/{event-logger-vmaybtjz.js → wellknown-nxx05gp4.js} +70 -70
- package/dist/chunks/{event-logger-4d1mbfn8.js → wellknown-nycb949q.js} +3 -3
- package/dist/chunks/{event-logger-ss0awb04.js → wellknown-p0b4ytnr.js} +4 -4
- package/dist/chunks/{event-logger-5xtgfte3.js → wellknown-p37cw4rj.js} +4 -4
- package/dist/chunks/{event-logger-8wy1nzpa.js → wellknown-p3ghsg1d.js} +11 -11
- package/dist/chunks/{event-logger-q2ba8v2v.js → wellknown-p9vpdv56.js} +15 -15
- package/dist/chunks/{event-logger-hxyn71fx.js → wellknown-pddfpf4s.js} +28 -28
- package/dist/chunks/{event-logger-z4vrje5h.js → wellknown-pds4s9w6.js} +14 -14
- package/dist/chunks/{event-logger-ggwvfage.js → wellknown-phcney37.js} +10 -10
- package/dist/chunks/{event-logger-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
- package/dist/chunks/{event-logger-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-nq7qbqzc.js → wellknown-pnv527nz.js} +9 -9
- package/dist/chunks/{event-logger-gbt5rka5.js → wellknown-q3h4ed11.js} +23 -23
- package/dist/chunks/wellknown-qapv375x.js +4 -0
- package/dist/chunks/{event-logger-a7f6pmj6.js → wellknown-qggfgy6q.js} +8 -8
- package/dist/chunks/{event-logger-9rzn19qa.js → wellknown-qmn2804t.js} +15 -15
- package/dist/chunks/{event-logger-72f1ase6.js → wellknown-qr116c46.js} +6 -6
- package/dist/chunks/{event-logger-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
- package/dist/chunks/{event-logger-aacmedp5.js → wellknown-qt4n3gg0.js} +19 -19
- package/dist/chunks/{event-logger-9jxgm3qa.js → wellknown-qvhhnas7.js} +20 -20
- package/dist/chunks/{event-logger-9sknkp5y.js → wellknown-r94yb0nv.js} +18 -18
- package/dist/chunks/{event-logger-d3sv793z.js → wellknown-rd45dmm7.js} +11 -11
- package/dist/chunks/{event-logger-t16mb6cm.js → wellknown-rdtn0193.js} +92 -92
- package/dist/chunks/{event-logger-rdw6cm16.js → wellknown-rdw6cm16.js} +1 -1
- package/dist/chunks/{event-logger-nqa5x1jj.js → wellknown-rjrw51c9.js} +9 -9
- package/dist/chunks/{event-logger-b0qp2rc8.js → wellknown-rv5n0yay.js} +49 -49
- package/dist/chunks/{event-logger-s4enseaf.js → wellknown-s4enseaf.js} +2 -2
- package/dist/chunks/{event-logger-t550f9t1.js → wellknown-s8d7rejh.js} +4 -4
- package/dist/chunks/{event-logger-xdk9p2qn.js → wellknown-s8j6jbjj.js} +4 -4
- package/dist/chunks/{event-logger-phj7xkps.js → wellknown-sbp6zker.js} +3 -3
- package/dist/chunks/{event-logger-n9ab4v8a.js → wellknown-sk6q27c4.js} +8 -8
- package/dist/chunks/{event-logger-jvkzm5xa.js → wellknown-sm55rqp8.js} +11 -11
- package/dist/chunks/{event-logger-bqcajhr5.js → wellknown-srejxs9b.js} +3 -3
- package/dist/chunks/{event-logger-4k2yzf3a.js → wellknown-sx1w5c9b.js} +33 -33
- package/dist/chunks/{event-logger-3bnndehn.js → wellknown-t6vv26m3.js} +6 -6
- package/dist/chunks/{event-logger-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
- package/dist/chunks/{event-logger-c8xqcx36.js → wellknown-tbhgqgrp.js} +6 -6
- package/dist/chunks/{event-logger-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
- package/dist/chunks/{event-logger-0vfpb1xb.js → wellknown-tdpf2yw9.js} +13 -13
- package/dist/chunks/{event-logger-tdstcens.js → wellknown-tdstcens.js} +1 -1
- package/dist/chunks/{event-logger-t31hm6b2.js → wellknown-thr3r15w.js} +12 -12
- package/dist/chunks/{event-logger-188xsh1a.js → wellknown-tr7w9brq.js} +13 -13
- package/dist/chunks/{event-logger-tvtrv512.js → wellknown-tvtrv512.js} +1 -1
- package/dist/chunks/{event-logger-pe36w2ba.js → wellknown-tz49nvh7.js} +3 -3
- package/dist/chunks/{event-logger-qzq644bb.js → wellknown-v5s4bq9p.js} +9 -9
- package/dist/chunks/{event-logger-nkxhmy90.js → wellknown-vaw8eek1.js} +9 -9
- package/dist/chunks/{event-logger-t36q68m4.js → wellknown-vddt8e92.js} +11 -11
- package/dist/chunks/{event-logger-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/wellknown-vg8dhn5e.js +247 -0
- package/dist/chunks/{event-logger-vzcthcp8.js → wellknown-vzcthcp8.js} +1 -1
- package/dist/chunks/{event-logger-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-a9ank4cb.js → wellknown-w7t5jt7v.js} +17 -17
- package/dist/chunks/{event-logger-ybksaspp.js → wellknown-wbyztnvg.js} +26 -26
- package/dist/chunks/{event-logger-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-1sz0q25f.js → wellknown-wfn03waw.js} +3 -3
- package/dist/chunks/{event-logger-nhwybaja.js → wellknown-wrtk7tx3.js} +8 -8
- package/dist/chunks/{event-logger-e1dnmayq.js → wellknown-wwrtpvbz.js} +39 -39
- package/dist/chunks/{event-logger-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
- package/dist/chunks/{event-logger-rdrmz1by.js → wellknown-x9c7yp0e.js} +22 -22
- package/dist/chunks/{event-logger-k8962brh.js → wellknown-xb02k0wq.js} +7 -7
- package/dist/chunks/{event-logger-hm3w4rrh.js → wellknown-xcy0ccxh.js} +9 -9
- package/dist/chunks/{event-logger-ssyjj9wr.js → wellknown-xe5c0ha1.js} +31 -31
- package/dist/chunks/{event-logger-drwq78ky.js → wellknown-xfkkasph.js} +4 -4
- package/dist/chunks/{event-logger-6d2pv072.js → wellknown-xft24mgj.js} +8 -8
- package/dist/chunks/{event-logger-3fzmg2hw.js → wellknown-xkawgvmm.js} +11 -11
- package/dist/chunks/{event-logger-9waqcrmt.js → wellknown-xr2zjj6s.js} +33 -33
- package/dist/chunks/{event-logger-fhc8rz2n.js → wellknown-xre3mbt3.js} +2 -2
- package/dist/chunks/{event-logger-17f1vy2k.js → wellknown-xsv73v2g.js} +16 -16
- package/dist/chunks/{event-logger-5hga1171.js → wellknown-xvzq63g5.js} +10 -10
- package/dist/chunks/{event-logger-afqg5w8y.js → wellknown-y0dwvd8v.js} +8 -8
- package/dist/chunks/{event-logger-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
- package/dist/chunks/{event-logger-pe1p1yy9.js → wellknown-y5faqwyj.js} +11 -11
- package/dist/chunks/{event-logger-dpkg50ah.js → wellknown-y71avatq.js} +4 -4
- package/dist/chunks/{event-logger-een8h1ye.js → wellknown-yjyb1rhv.js} +22 -22
- package/dist/chunks/{event-logger-c43stmsp.js → wellknown-yn1wpys1.js} +28 -28
- package/dist/chunks/{event-logger-yp2x3t23.js → wellknown-yp2x3t23.js} +1 -1
- package/dist/chunks/{event-logger-yrhqyw5v.js → wellknown-yrhqyw5v.js} +1 -1
- package/dist/chunks/{event-logger-mj1kzh8e.js → wellknown-ytzkehyx.js} +8 -8
- package/dist/chunks/{event-logger-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{event-logger-ftg4rydt.js → wellknown-z32px5c3.js} +18 -18
- package/dist/chunks/{event-logger-t2az9yje.js → wellknown-zcrspsvn.js} +4 -4
- package/dist/chunks/{event-logger-zeh9ct20.js → wellknown-zeh9ct20.js} +2 -2
- package/dist/chunks/{event-logger-ety6crw6.js → wellknown-zfh5y184.js} +17 -17
- package/dist/chunks/{event-logger-p1yzh2vf.js → wellknown-zg736tz1.js} +31 -31
- package/dist/chunks/{event-logger-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
- package/dist/chunks/{event-logger-q4aa1wsx.js → wellknown-zth67p6s.js} +9 -9
- package/dist/chunks/{event-logger-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- 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 +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 +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 +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 +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 +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- 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 +365 -365
- 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 +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +97 -97
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +94 -94
- 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 +90 -90
- 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 +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- 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-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- 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 +90 -90
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +97 -97
- 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 +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +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 +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 +119 -119
- 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 +5 -5
- 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 +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +92 -92
- 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 +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- 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 +13 -13
- 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 +92 -92
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- 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 +219 -219
- 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 +11 -11
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- 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 +126 -126
- 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 +119 -119
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +95 -95
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +3 -3
- 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 +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- 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 +93 -93
- package/package.json +8 -8
- package/dist/chunks/event-logger-1x11rq2a.js +0 -18
- package/dist/chunks/event-logger-8h7h57vj.js +0 -247
- package/dist/chunks/event-logger-ce6sxck2.js +0 -26
- package/dist/chunks/event-logger-sj5xhsdt.js +0 -478
- package/dist/chunks/event-logger-xrsqh21y.js +0 -4
- /package/dist/chunks/{event-logger-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-922hggd3.js → wellknown-922hggd3.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e3qxr5gk.js → wellknown-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hjbc5kem.js → wellknown-hjbc5kem.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-twg0f83k.js → wellknown-twg0f83k.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./wellknown-xsv73v2g.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
ID14,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
Service75,
|
|
12
|
+
node79,
|
|
13
13
|
Event18
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-7qwxv68y.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
19
|
Service78,
|
|
20
20
|
node82
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./wellknown-nwge8jy8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -42,7 +42,7 @@ __export(exports_provider3, {
|
|
|
42
42
|
LoadError: () => LoadError3,
|
|
43
43
|
Provider: () => exports_provider3,
|
|
44
44
|
Request: () => Request3,
|
|
45
|
-
Service: () =>
|
|
45
|
+
Service: () => Service74,
|
|
46
46
|
Settings: () => Settings2,
|
|
47
47
|
aisdk: () => aisdk2,
|
|
48
48
|
isAISDK: () => isAISDK2,
|
|
@@ -50,7 +50,7 @@ __export(exports_provider3, {
|
|
|
50
50
|
mergeHeaders: () => mergeHeaders2,
|
|
51
51
|
mergeOverlay: () => mergeOverlay2,
|
|
52
52
|
nativeSettings: () => nativeSettings2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node78,
|
|
54
54
|
packageName: () => packageName2
|
|
55
55
|
});
|
|
56
56
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -203,7 +203,7 @@ var Request3 = Provider.Request;
|
|
|
203
203
|
var Settings2 = Provider.Settings;
|
|
204
204
|
var Info27 = Provider.Info;
|
|
205
205
|
|
|
206
|
-
class
|
|
206
|
+
class Service74 extends Context.Service()("@opencode/Provider") {
|
|
207
207
|
}
|
|
208
208
|
var definitions = new WeakMap;
|
|
209
209
|
function index(providerID, models) {
|
|
@@ -216,9 +216,9 @@ function index(providerID, models) {
|
|
|
216
216
|
definitions.set(models, indexes);
|
|
217
217
|
return result;
|
|
218
218
|
}
|
|
219
|
-
var layer = Layer.effect(
|
|
220
|
-
const bus = yield*
|
|
221
|
-
const integrations = yield*
|
|
219
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
220
|
+
const bus = yield* Service81;
|
|
221
|
+
const integrations = yield* Service75;
|
|
222
222
|
const location = yield* Service78;
|
|
223
223
|
const state = create3({
|
|
224
224
|
name: "provider",
|
|
@@ -338,7 +338,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
338
338
|
});
|
|
339
339
|
});
|
|
340
340
|
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
341
|
-
return
|
|
341
|
+
return Service74.of({
|
|
342
342
|
transform: state.transform,
|
|
343
343
|
reload: state.reload,
|
|
344
344
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -347,7 +347,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
347
347
|
snapshot
|
|
348
348
|
});
|
|
349
349
|
}));
|
|
350
|
-
var
|
|
350
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [node85, node79, node82] });
|
|
351
351
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
352
352
|
const module = yield* Effect.tryPromise({
|
|
353
353
|
try: () => {
|
|
@@ -607,4 +607,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
607
607
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
608
608
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
609
609
|
|
|
610
|
-
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info27,
|
|
610
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info27, Service74, node78, exports_provider3, Event17 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./wellknown-p3ghsg1d.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID9,
|
|
17
|
+
Info: () => Info12,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service65,
|
|
21
|
+
node: () => node69
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
|
+
var Info12 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service65 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service82).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID9.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service65.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node69 = makeGlobalNode({ service: Service65, layer, deps: [node86] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID9, Info12, ListInput4, AddInput2, Service65, node69, exports_saved };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./wellknown-p3ghsg1d.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-a1bz86dw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info5,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service29,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node33,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info5 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service29 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make21({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,8 +75,8 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service82;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service29.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node33 = makeLocationNode({ service: Service29, layer, deps: [node86] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service29, node33, exports_instruction_entry };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./wellknown-5xtp168v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service11
|
|
6
|
+
} from "./wellknown-2sejkfem.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin39
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin39 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service69;
|
|
26
|
+
const policy = yield* Service11;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin37 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin39, exports_location_watcher2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID10,
|
|
3
|
+
Info14,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./wellknown-n7d88tpn.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-922hggd3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service82,
|
|
11
|
+
node86
|
|
12
|
+
} from "./wellknown-p3ghsg1d.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service81,
|
|
16
|
+
node85
|
|
17
|
+
} from "./wellknown-xsv73v2g.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
20
|
node83
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./wellknown-7kx617rh.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service43,
|
|
24
|
+
node45
|
|
25
|
+
} from "./wellknown-4mwpykj0.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./wellknown-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./wellknown-a1bz86dw.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node44
|
|
34
|
+
} from "./wellknown-m16hdrdp.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./wellknown-6tt5evqq.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./wellknown-r94yb0nv.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./wellknown-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node30
|
|
47
|
+
} from "./wellknown-x9c7yp0e.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node55
|
|
51
|
+
} from "./wellknown-cgw5at3k.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./wellknown-97j4gngf.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput5,
|
|
67
|
+
Service66,
|
|
68
|
+
node70
|
|
69
|
+
} from "./wellknown-w7t5jt7v.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service45,
|
|
72
|
+
node47
|
|
73
|
+
} from "./wellknown-zfh5y184.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service40,
|
|
76
|
+
node43
|
|
77
|
+
} from "./wellknown-bw274x7r.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./wellknown-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service34,
|
|
83
|
+
node37
|
|
84
|
+
} from "./wellknown-zth67p6s.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./wellknown-pds4s9w6.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./wellknown-0g6j1py3.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service52,
|
|
93
|
+
node54
|
|
94
|
+
} from "./wellknown-ytzkehyx.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service26,
|
|
100
|
+
node29
|
|
101
|
+
} from "./wellknown-1qhzf4x8.js";
|
|
102
102
|
import {
|
|
103
103
|
Service54,
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
104
|
+
node57
|
|
105
|
+
} from "./wellknown-hpfvhvya.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
make14
|
|
108
|
+
} from "./wellknown-05frfhne.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./wellknown-ezjfbph4.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID10,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info14,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service25,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node28
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var ListInput3 =
|
|
152
|
-
class
|
|
151
|
+
var ListInput3 = ListInput5;
|
|
152
|
+
class Service25 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
|
-
const database = yield*
|
|
156
|
+
const database = yield* Service82;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
158
|
+
const bus = yield* Service81;
|
|
159
159
|
const projects = yield* Service79;
|
|
160
|
-
const execution = yield*
|
|
160
|
+
const execution = yield* Service40;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
162
|
+
const transport = yield* Service34;
|
|
163
|
+
const store = yield* Service66;
|
|
164
|
+
const instances = yield* Service43;
|
|
165
|
+
const moves = yield* Service26;
|
|
166
|
+
const jobs = yield* Service45;
|
|
167
167
|
const environments = yield* Service54;
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
168
|
+
const locations = yield* Service52;
|
|
169
|
+
const sessions = yield* make14();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service25.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service82, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service43, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -326,27 +326,27 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
326
326
|
});
|
|
327
327
|
return result;
|
|
328
328
|
}));
|
|
329
|
-
var
|
|
330
|
-
service:
|
|
329
|
+
var node28 = Node.makeGlobalNode({
|
|
330
|
+
service: Service25,
|
|
331
331
|
layer,
|
|
332
332
|
deps: [
|
|
333
|
-
|
|
334
|
-
|
|
333
|
+
node47,
|
|
334
|
+
node57,
|
|
335
|
+
node86,
|
|
335
336
|
node85,
|
|
336
|
-
node84,
|
|
337
337
|
node83,
|
|
338
|
-
|
|
339
|
-
|
|
338
|
+
node43,
|
|
339
|
+
node37,
|
|
340
340
|
llmClient2,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
341
|
+
node70,
|
|
342
|
+
node45,
|
|
343
|
+
node44,
|
|
344
|
+
node29,
|
|
345
|
+
node30,
|
|
346
|
+
node54,
|
|
347
347
|
FSUtil.node,
|
|
348
|
-
|
|
348
|
+
node55
|
|
349
349
|
]
|
|
350
350
|
});
|
|
351
351
|
|
|
352
|
-
export { ListAnchor2, ListInput3,
|
|
352
|
+
export { ListAnchor2, ListInput3, Service25, node28, exports_session };
|