@opencode-ai/core 0.0.0-dev-19217 → 0.0.0-dev-19219
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +67 -67
- package/dist/catalog.js +81 -81
- package/dist/chunks/{location-services-jycq5tmb.js → repository-cache-08vfxbf6.js} +32 -32
- package/dist/chunks/{location-services-0e0xafbb.js → repository-cache-0e0xafbb.js} +2 -2
- package/dist/chunks/{location-services-2a5a6t3a.js → repository-cache-0es0nxwq.js} +25 -25
- package/dist/chunks/{location-services-0paq2nw3.js → repository-cache-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-0q0f95c6.js → repository-cache-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-services-41mncz27.js → repository-cache-0rh3kdcc.js} +5 -5
- package/dist/chunks/{location-services-0s9ayhjt.js → repository-cache-0s9ayhjt.js} +1 -1
- package/dist/chunks/{location-services-e7tnha1m.js → repository-cache-0vhcnj4z.js} +10 -10
- package/dist/chunks/{location-services-dkshpdss.js → repository-cache-0xq68qs8.js} +5 -5
- package/dist/chunks/{location-services-rsde5whr.js → repository-cache-0y5msaxz.js} +15 -15
- package/dist/chunks/{location-services-nkcwakxz.js → repository-cache-0z8vjex2.js} +9 -9
- package/dist/chunks/{location-services-7grmgsg7.js → repository-cache-16r38w9g.js} +4 -4
- package/dist/chunks/{location-services-59a9q0c9.js → repository-cache-17h73vdv.js} +11 -11
- package/dist/chunks/{location-services-36vsdr69.js → repository-cache-17hja9f4.js} +2 -2
- package/dist/chunks/{location-services-wa8y595e.js → repository-cache-1895e92n.js} +10 -10
- package/dist/chunks/{location-services-1acjjqhc.js → repository-cache-1acjjqhc.js} +1 -1
- package/dist/chunks/{location-services-dts5axtv.js → repository-cache-1c0hbryx.js} +18 -18
- package/dist/chunks/{location-services-1ct4r87x.js → repository-cache-1ct4r87x.js} +1 -1
- package/dist/chunks/{location-services-tvtwyg9m.js → repository-cache-1p8bnmch.js} +4 -4
- package/dist/chunks/{location-services-gfhhve88.js → repository-cache-1q5awywt.js} +5 -5
- package/dist/chunks/{location-services-phk1v4hg.js → repository-cache-1qjz9mz7.js} +41 -41
- package/dist/chunks/{location-services-ycv9gdpt.js → repository-cache-1qw2s0et.js} +9 -9
- package/dist/chunks/{location-services-56gdpj1q.js → repository-cache-1ygqh575.js} +9 -9
- package/dist/chunks/{location-services-xezrmqac.js → repository-cache-21psez6x.js} +62 -62
- package/dist/chunks/{location-services-21r38tys.js → repository-cache-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-818e5b7h.js → repository-cache-21zx9g3v.js} +27 -27
- package/dist/chunks/{location-services-2402vzrj.js → repository-cache-2402vzrj.js} +1 -1
- package/dist/chunks/{location-services-pnkase04.js → repository-cache-27fb7mf5.js} +17 -17
- package/dist/chunks/{location-services-t0v8yr3m.js → repository-cache-29mtq9rb.js} +15 -15
- package/dist/chunks/{location-services-2a5m3afh.js → repository-cache-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-2ht70gj7.js → repository-cache-2ht70gj7.js} +1 -1
- package/dist/chunks/{location-services-wm0j0wtm.js → repository-cache-2kykh1mj.js} +5 -5
- package/dist/chunks/{location-services-4v96mfas.js → repository-cache-32x0mm6n.js} +27 -27
- package/dist/chunks/{location-services-hc5rdzwx.js → repository-cache-39f4ks8s.js} +11 -11
- package/dist/chunks/{location-services-w4arg62q.js → repository-cache-3b1q5j1v.js} +6 -6
- package/dist/chunks/{location-services-9q7mdqbr.js → repository-cache-3c2dkr35.js} +6 -6
- package/dist/chunks/{location-services-3fc6dm20.js → repository-cache-3fc6dm20.js} +1 -1
- package/dist/chunks/repository-cache-3h1knbt0.js +460 -0
- package/dist/chunks/{location-services-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-7rp97fxb.js → repository-cache-3hrvng0w.js} +24 -24
- package/dist/chunks/{location-services-3qzbfqsy.js → repository-cache-3qzbfqsy.js} +2 -2
- package/dist/chunks/{location-services-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-454k5vzh.js → repository-cache-454k5vzh.js} +1 -1
- package/dist/chunks/{location-services-knhsbq7n.js → repository-cache-49m5d24q.js} +11 -11
- package/dist/chunks/{location-services-ettb2whr.js → repository-cache-49z4sxtc.js} +2 -2
- package/dist/chunks/{location-services-yssexhes.js → repository-cache-4ee7az1h.js} +8 -8
- package/dist/chunks/{location-services-xscznp95.js → repository-cache-4ehv4ads.js} +1 -1
- package/dist/chunks/{location-services-rfhfqqty.js → repository-cache-4k7545f4.js} +15 -15
- package/dist/chunks/{location-services-11ypdpkg.js → repository-cache-4kw8makq.js} +30 -30
- package/dist/chunks/{location-services-4r2nyarf.js → repository-cache-4r2nyarf.js} +1 -1
- package/dist/chunks/{location-services-58x3rwhh.js → repository-cache-4t52pny5.js} +6 -6
- package/dist/chunks/{location-services-9sb86xv6.js → repository-cache-4vdz44sm.js} +33 -33
- package/dist/chunks/{location-services-7p8ma9rt.js → repository-cache-57frwqm9.js} +10 -10
- package/dist/chunks/{location-services-5daktx2q.js → repository-cache-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-5fmxt4p5.js → repository-cache-5fmxt4p5.js} +1 -1
- package/dist/chunks/{location-services-0cv24hqy.js → repository-cache-5g186b3w.js} +1 -1
- package/dist/chunks/{location-services-00x5t0cs.js → repository-cache-5g2f2ztp.js} +19 -19
- package/dist/chunks/{location-services-5jvc5tg2.js → repository-cache-5jvc5tg2.js} +1 -1
- package/dist/chunks/{location-services-x0ehmrev.js → repository-cache-5kthmgzm.js} +17 -17
- package/dist/chunks/{location-services-vw6n2197.js → repository-cache-5pn8t89y.js} +5 -5
- package/dist/chunks/{location-services-14q0m41q.js → repository-cache-5rmv3bka.js} +11 -11
- package/dist/chunks/{location-services-7dqw4kz8.js → repository-cache-607tc6va.js} +5 -5
- package/dist/chunks/{location-services-vgebfnwn.js → repository-cache-69861zbk.js} +52 -52
- package/dist/chunks/{location-services-7zmvhjgk.js → repository-cache-6eqsdhte.js} +31 -31
- package/dist/chunks/{location-services-bgbwxvyc.js → repository-cache-6jfj9yh4.js} +21 -21
- package/dist/chunks/{location-services-x9k6tsrg.js → repository-cache-6nbp5y95.js} +20 -20
- package/dist/chunks/{location-services-c97n56v4.js → repository-cache-6waycmjc.js} +6 -6
- package/dist/chunks/{location-services-711hfp6y.js → repository-cache-711hfp6y.js} +2 -2
- package/dist/chunks/{location-services-72nftnjy.js → repository-cache-72nftnjy.js} +2 -2
- package/dist/chunks/{location-services-7yh4e7ss.js → repository-cache-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-services-cmhntd7c.js → repository-cache-76hapcpn.js} +8 -8
- package/dist/chunks/{location-services-vrgvmwy9.js → repository-cache-7ajdg886.js} +21 -21
- package/dist/chunks/{location-services-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-87vzjqvg.js → repository-cache-7cexabhr.js} +4 -4
- package/dist/chunks/{location-services-2j81asyh.js → repository-cache-7feztqxj.js} +37 -37
- package/dist/chunks/{location-services-sye64zbn.js → repository-cache-7jhxxkdr.js} +11 -11
- package/dist/chunks/{location-services-wbjzz41v.js → repository-cache-7kxb60je.js} +28 -28
- package/dist/chunks/{location-services-kj7zcbhz.js → repository-cache-7n7dggr2.js} +8 -8
- package/dist/chunks/{location-services-p0z4cnf4.js → repository-cache-80ytbrfn.js} +6 -6
- package/dist/chunks/{location-services-cs8d39tz.js → repository-cache-8241qsfv.js} +26 -26
- package/dist/chunks/{location-services-vhbte2r2.js → repository-cache-82w69jb6.js} +20 -20
- package/dist/chunks/{location-services-ev0ent4x.js → repository-cache-84zhwywd.js} +18 -18
- package/dist/chunks/{location-services-tcezcvh9.js → repository-cache-89znhe33.js} +4 -4
- package/dist/chunks/{location-services-d80z8c0m.js → repository-cache-8d5yzmnc.js} +9 -9
- package/dist/chunks/{location-services-zg79n793.js → repository-cache-8hq1bee2.js} +6 -6
- package/dist/chunks/{location-services-011h4yth.js → repository-cache-8rv2vzqj.js} +14 -14
- package/dist/chunks/{location-services-0jn70awm.js → repository-cache-8yf7pbb7.js} +4 -4
- package/dist/chunks/{location-services-msggbjmt.js → repository-cache-90j3xqwm.js} +9 -9
- package/dist/chunks/{location-services-vfxc3xsp.js → repository-cache-91s6yxd0.js} +13 -13
- package/dist/chunks/{location-services-hrq6749d.js → repository-cache-92pnrve0.js} +9 -9
- package/dist/chunks/{location-services-93a8yfjt.js → repository-cache-93a8yfjt.js} +2 -2
- package/dist/chunks/{location-services-br56pb2k.js → repository-cache-948dwh88.js} +163 -163
- package/dist/chunks/{location-services-v8phnrpr.js → repository-cache-98g86xsb.js} +33 -33
- package/dist/chunks/{location-services-jj4chnxp.js → repository-cache-9c77dy3y.js} +41 -41
- package/dist/chunks/{location-services-9d4efts8.js → repository-cache-9d4efts8.js} +2 -2
- package/dist/chunks/{location-services-dw6h8nn9.js → repository-cache-9jghbttp.js} +14 -14
- package/dist/chunks/{location-services-xvv8td38.js → repository-cache-9p7z4f9y.js} +32 -32
- package/dist/chunks/{location-services-9qm9egsn.js → repository-cache-9qm9egsn.js} +2 -2
- package/dist/chunks/{location-services-kb6kqgh4.js → repository-cache-9t4gn84b.js} +43 -43
- package/dist/chunks/{location-services-dw6cz3sh.js → repository-cache-a2c3xexy.js} +16 -16
- package/dist/chunks/{location-services-13dhzf2r.js → repository-cache-a9c9a6wr.js} +11 -11
- package/dist/chunks/{location-services-aaet6srn.js → repository-cache-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-ga85tpka.js → repository-cache-aampgka8.js} +19 -19
- package/dist/chunks/{location-services-17kes6c3.js → repository-cache-abt9g3pj.js} +33 -33
- package/dist/chunks/{location-services-9tpb97z2.js → repository-cache-afwxwgrw.js} +17 -17
- package/dist/chunks/{location-services-ajtjthsy.js → repository-cache-ajtjthsy.js} +2 -2
- package/dist/chunks/{location-services-ghnh6cjj.js → repository-cache-b0xf5vv8.js} +16 -16
- package/dist/chunks/{location-services-enz1smv7.js → repository-cache-b0xtmr9h.js} +4 -4
- package/dist/chunks/{location-services-b6gygkdw.js → repository-cache-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-wrcep6h9.js → repository-cache-b9rn39d5.js} +6 -6
- package/dist/chunks/{location-services-b9wsbatv.js → repository-cache-b9wsbatv.js} +1 -1
- package/dist/chunks/{location-services-je9hks3h.js → repository-cache-bcezcar3.js} +5 -5
- package/dist/chunks/{location-services-sfgd47vq.js → repository-cache-bpnz08mb.js} +2 -2
- package/dist/chunks/{location-services-c78av6ax.js → repository-cache-ccq54nt6.js} +23 -23
- package/dist/chunks/{location-services-j4txnape.js → repository-cache-cs1cpwg7.js} +9 -9
- package/dist/chunks/{location-services-d72308c8.js → repository-cache-d72308c8.js} +2 -2
- package/dist/chunks/{location-services-z33f84t5.js → repository-cache-dhec686g.js} +6 -6
- package/dist/chunks/{location-services-gm8dhtry.js → repository-cache-djgkwc17.js} +24 -24
- package/dist/chunks/{location-services-ebpyyter.js → repository-cache-djz0zbp6.js} +28 -28
- package/dist/chunks/{location-services-f021cen3.js → repository-cache-dkbgd4kx.js} +8 -8
- package/dist/chunks/{location-services-bx87j58v.js → repository-cache-drcrh5y3.js} +18 -18
- package/dist/chunks/{location-services-yqw5g7gc.js → repository-cache-e8490apk.js} +22 -22
- package/dist/chunks/{location-services-0jz3vdqx.js → repository-cache-eb2ms0s0.js} +9 -9
- package/dist/chunks/{location-services-cm9r9xbg.js → repository-cache-eb3c5jqq.js} +6 -6
- package/dist/chunks/{location-services-sxz6gkc3.js → repository-cache-edrmdtr5.js} +4 -4
- package/dist/chunks/{location-services-zkpmw5vh.js → repository-cache-eg4pr325.js} +10 -10
- package/dist/chunks/{location-services-xc8jgndy.js → repository-cache-egbjc3nz.js} +37 -37
- package/dist/chunks/{location-services-3r4cqkhr.js → repository-cache-enhbhjd2.js} +26 -26
- package/dist/chunks/{location-services-hw16a779.js → repository-cache-eq19x63z.js} +1 -1
- package/dist/chunks/{location-services-4yp29dye.js → repository-cache-eqtg91rt.js} +8 -8
- package/dist/chunks/{location-services-27qchnt0.js → repository-cache-etvxw7h6.js} +10 -10
- package/dist/chunks/{location-services-stbxxgx1.js → repository-cache-f55xgw6s.js} +11 -11
- package/dist/chunks/repository-cache-fbdadvgq.js +247 -0
- package/dist/chunks/{location-services-snscvb6q.js → repository-cache-fjtk3wvg.js} +9 -9
- package/dist/chunks/{location-services-nqfx3ba2.js → repository-cache-fmn4tp3e.js} +10 -10
- package/dist/chunks/{location-services-ec7wcf70.js → repository-cache-fnvcevbg.js} +84 -84
- package/dist/chunks/{location-services-z2je33ah.js → repository-cache-fsj9jfg7.js} +9 -9
- package/dist/chunks/{location-services-c64qezrb.js → repository-cache-fwthh4sz.js} +19 -19
- package/dist/chunks/{location-services-fxbjtjnd.js → repository-cache-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-services-fxypknc8.js → repository-cache-fxypknc8.js} +1 -1
- package/dist/chunks/{location-services-qc44gpch.js → repository-cache-g41v3tej.js} +26 -26
- package/dist/chunks/{location-services-yyq5vb4a.js → repository-cache-g7t2v6t8.js} +13 -13
- package/dist/chunks/{location-services-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-19bt37k1.js → repository-cache-gdgf4bzy.js} +2 -2
- package/dist/chunks/{location-services-2atvjna1.js → repository-cache-gj1cjkcp.js} +22 -22
- package/dist/chunks/{location-services-q5asdkn4.js → repository-cache-gst7axd9.js} +4 -4
- package/dist/chunks/{location-services-9tq58zg8.js → repository-cache-gtcj13ca.js} +4 -4
- package/dist/chunks/{location-services-pnec0z95.js → repository-cache-h143p8q2.js} +46 -46
- package/dist/chunks/{location-services-3hze1m31.js → repository-cache-h2jaakqx.js} +18 -18
- package/dist/chunks/{location-services-bj4vwm3q.js → repository-cache-h6jhm4w9.js} +14 -14
- package/dist/chunks/{location-services-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-1hwe4fz6.js → repository-cache-hdef84sa.js} +19 -19
- package/dist/chunks/{location-services-heyhwy2w.js → repository-cache-heyhwy2w.js} +1 -1
- package/dist/chunks/{location-services-jv71mprp.js → repository-cache-hgs3j4kh.js} +24 -24
- package/dist/chunks/{location-services-hha4zry8.js → repository-cache-hha4zry8.js} +1 -1
- package/dist/chunks/{location-services-nhy5jxhy.js → repository-cache-hjt4xg1x.js} +4 -4
- package/dist/chunks/{location-services-fk21kn01.js → repository-cache-hqpvkzyp.js} +7 -7
- package/dist/chunks/{location-services-hrvm11jt.js → repository-cache-hrvm11jt.js} +3 -3
- package/dist/chunks/repository-cache-ht5y0zrb.js +18 -0
- package/dist/chunks/{location-services-hw4pv20g.js → repository-cache-hw4pv20g.js} +2 -2
- package/dist/chunks/{location-services-rnynvazd.js → repository-cache-hzxq4bdr.js} +3 -3
- package/dist/chunks/{location-services-reacnbnm.js → repository-cache-j6yv2qgq.js} +9 -9
- package/dist/chunks/{location-services-rqtk6744.js → repository-cache-jd3p8bwc.js} +13 -13
- package/dist/chunks/{location-services-8e0cxs1v.js → repository-cache-jdyp85j7.js} +22 -22
- package/dist/chunks/{location-services-1149f9m6.js → repository-cache-jp64cyaf.js} +39 -39
- package/dist/chunks/{location-services-cad3bs4j.js → repository-cache-jwdkx9ba.js} +26 -26
- package/dist/chunks/{location-services-jy1b6ewz.js → repository-cache-jy1b6ewz.js} +3 -3
- package/dist/chunks/{location-services-k4bwy1x5.js → repository-cache-k4bwy1x5.js} +1 -1
- package/dist/chunks/{location-services-h2p9xjbs.js → repository-cache-k79anfvg.js} +19 -19
- package/dist/chunks/{location-services-kg06axw8.js → repository-cache-kg06axw8.js} +1 -1
- package/dist/chunks/{location-services-yfbd16n1.js → repository-cache-kk3rr3qh.js} +5 -5
- package/dist/chunks/{location-services-eeap19eg.js → repository-cache-m10bc9eg.js} +26 -26
- package/dist/chunks/{location-services-r2wnyzb0.js → repository-cache-m207hpws.js} +1 -1
- package/dist/chunks/{location-services-m5045k8y.js → repository-cache-m5045k8y.js} +2 -2
- package/dist/chunks/{location-services-xp2345da.js → repository-cache-m9pmyhhk.js} +32 -32
- package/dist/chunks/{location-services-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-jwgx2stf.js → repository-cache-mg5g0rq3.js} +4 -4
- package/dist/chunks/{location-services-x9metz0b.js → repository-cache-mp0xcbvk.js} +25 -25
- package/dist/chunks/{location-services-k6300pcm.js → repository-cache-mq9r6drf.js} +2 -2
- package/dist/chunks/{location-services-txr8jkjb.js → repository-cache-mqbjm3mn.js} +11 -11
- package/dist/chunks/{location-services-75yf2d83.js → repository-cache-mtcjf44p.js} +8 -8
- package/dist/chunks/{location-services-drjjaw3s.js → repository-cache-mz4yh5d6.js} +8 -8
- package/dist/chunks/{location-services-a9zfrvqc.js → repository-cache-n95nq84g.js} +5 -5
- package/dist/chunks/{location-services-zn2cbnfs.js → repository-cache-nnjxb8k7.js} +11 -11
- package/dist/chunks/{location-services-gr3vkft5.js → repository-cache-nwkrf4xa.js} +4 -4
- package/dist/chunks/{location-services-qak3npwc.js → repository-cache-nzmvpftv.js} +10 -10
- package/dist/chunks/{location-services-842ppk4g.js → repository-cache-p6hjzg56.js} +18 -18
- package/dist/chunks/{location-services-rmfj7rc5.js → repository-cache-p97db9ey.js} +13 -13
- package/dist/chunks/{location-services-hrem2xze.js → repository-cache-p99wkmwa.js} +27 -27
- package/dist/chunks/{location-services-thrj3fqh.js → repository-cache-pafd5yw5.js} +3 -3
- package/dist/chunks/{location-services-va63defj.js → repository-cache-pbxt2nhv.js} +1 -1
- package/dist/chunks/{location-services-7r58dpc0.js → repository-cache-pgkzqm6w.js} +5 -5
- package/dist/chunks/{location-services-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pvbx7q7g.js → repository-cache-pkmpz8v7.js} +24 -24
- package/dist/chunks/{location-services-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-3yevh190.js → repository-cache-pq15x4g3.js} +1 -1
- package/dist/chunks/{location-services-b900m3ym.js → repository-cache-pqmx807j.js} +20 -20
- package/dist/chunks/{location-services-ag6t9w77.js → repository-cache-pwaktbt0.js} +7 -7
- package/dist/chunks/{location-services-a18qrwy7.js → repository-cache-q7jf16n4.js} +11 -11
- package/dist/chunks/{location-services-0etsat71.js → repository-cache-qf96vq5c.js} +5 -5
- package/dist/chunks/{location-services-vyjks95a.js → repository-cache-qhas8bhv.js} +45 -45
- package/dist/chunks/{location-services-dqvvg7d5.js → repository-cache-qkxs7z50.js} +18 -18
- package/dist/chunks/{location-services-zrw7ts6n.js → repository-cache-qm4x1tv3.js} +17 -17
- package/dist/chunks/{location-services-c98sk4k2.js → repository-cache-qrt65gm8.js} +16 -16
- package/dist/chunks/{location-services-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-q65nf1dj.js → repository-cache-r5cm296e.js} +29 -29
- package/dist/chunks/{location-services-r8dhm0tv.js → repository-cache-r8dhm0tv.js} +1 -1
- package/dist/chunks/{location-services-m4535t75.js → repository-cache-rae26gbb.js} +8 -8
- package/dist/chunks/{location-services-brtzwm95.js → repository-cache-rcw270a3.js} +12 -12
- package/dist/chunks/{location-services-41g3dawq.js → repository-cache-rxmx33ac.js} +31 -31
- package/dist/chunks/repository-cache-sa0enacs.js +22 -0
- package/dist/chunks/{location-services-6aw1783e.js → repository-cache-sb37gbt4.js} +31 -31
- package/dist/chunks/{location-services-4py4wtg5.js → repository-cache-sba45nsr.js} +7 -7
- package/dist/chunks/{location-services-sba4qhjf.js → repository-cache-sba4qhjf.js} +1 -1
- package/dist/chunks/{location-services-64q9m0nc.js → repository-cache-sdsp2k53.js} +22 -22
- package/dist/chunks/{location-services-9424kmmy.js → repository-cache-ssbcmz7a.js} +5 -5
- package/dist/chunks/{location-services-rq68kahz.js → repository-cache-svdxsd5x.js} +29 -29
- package/dist/chunks/{location-services-k6d03e4p.js → repository-cache-t6s9xqb0.js} +20 -20
- package/dist/chunks/{location-services-6zrjyzhx.js → repository-cache-t8k18k3y.js} +51 -51
- package/dist/chunks/{location-services-sx1n432n.js → repository-cache-t9zs3egg.js} +4 -4
- package/dist/chunks/{location-services-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-p519a7hj.js → repository-cache-td902gw6.js} +16 -16
- package/dist/chunks/{location-services-p9qkrcxv.js → repository-cache-tfmv8rfm.js} +14 -14
- package/dist/chunks/{location-services-tjykrgmx.js → repository-cache-tjykrgmx.js} +1 -1
- package/dist/chunks/{location-services-fqrxtbzb.js → repository-cache-tppvcy65.js} +7 -7
- package/dist/chunks/{location-services-1ycr9rqm.js → repository-cache-v2tpghv8.js} +3 -3
- package/dist/chunks/{location-services-78es4yvf.js → repository-cache-vf3a57xe.js} +20 -20
- package/dist/chunks/{location-services-gyxtj4g4.js → repository-cache-vhjx3hy2.js} +4 -4
- package/dist/chunks/{location-services-kz954rct.js → repository-cache-vj7a7qf1.js} +10 -10
- package/dist/chunks/{location-services-xpx0dzdt.js → repository-cache-vmcrnq6h.js} +11 -11
- package/dist/chunks/{location-services-ksq55409.js → repository-cache-vzd1q1xx.js} +20 -20
- package/dist/chunks/{location-services-m1xpw8ab.js → repository-cache-w01wdmvf.js} +27 -27
- package/dist/chunks/repository-cache-w3vb4krt.js +4 -0
- package/dist/chunks/{location-services-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-t9rcpgsh.js → repository-cache-w9tymwhy.js} +23 -23
- package/dist/chunks/{location-services-ytep83yp.js → repository-cache-wcvnezpj.js} +29 -29
- package/dist/chunks/{location-services-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-jepxwv21.js → repository-cache-wgcrfrpe.js} +6 -6
- package/dist/chunks/{location-services-en2byfe9.js → repository-cache-wkt3z9tc.js} +15 -15
- package/dist/chunks/{location-services-8z28gvyf.js → repository-cache-wq9wpnq0.js} +30 -30
- package/dist/chunks/{location-services-at9jh15n.js → repository-cache-wvwx3b6d.js} +1 -1
- package/dist/chunks/{location-services-x1ezjp6w.js → repository-cache-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-p8hqp9sy.js → repository-cache-x8k762dz.js} +9 -9
- package/dist/chunks/{location-services-bva7vcjq.js → repository-cache-xg3vtz5h.js} +4 -4
- package/dist/chunks/{location-services-ydpy9pg8.js → repository-cache-xqfsn8ey.js} +3 -3
- package/dist/chunks/{location-services-v2p4rfxw.js → repository-cache-xqrmy91b.js} +6 -6
- package/dist/chunks/{location-services-ztnyd3e4.js → repository-cache-xr5vwsd4.js} +9 -9
- package/dist/chunks/{location-services-x6tzgbrz.js → repository-cache-xsv7fm32.js} +18 -18
- package/dist/chunks/{location-services-0xv5jnwt.js → repository-cache-xt61eve9.js} +36 -36
- package/dist/chunks/{location-services-ggvh81pv.js → repository-cache-xtddbfj7.js} +6 -6
- package/dist/chunks/{location-services-n7sc385v.js → repository-cache-xts2a4k8.js} +17 -17
- package/dist/chunks/{location-services-xgf08a2e.js → repository-cache-xvvnaekj.js} +3 -3
- package/dist/chunks/{location-services-h3ddmve3.js → repository-cache-xx3jhah0.js} +20 -20
- package/dist/chunks/{location-services-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-dbjehjtf.js → repository-cache-y535ptcg.js} +4 -4
- package/dist/chunks/{location-services-dpkg50ah.js → repository-cache-y71avatq.js} +4 -4
- package/dist/chunks/{location-services-r67ewn20.js → repository-cache-y78hsxdj.js} +8 -8
- package/dist/chunks/{location-services-ew6s4pdb.js → repository-cache-yb0vcddr.js} +81 -81
- package/dist/chunks/{location-services-bemd59wz.js → repository-cache-yd426xvt.js} +9 -9
- package/dist/chunks/{location-services-2hwvdazv.js → repository-cache-yfnrhf8b.js} +20 -20
- package/dist/chunks/{location-services-qcge6tej.js → repository-cache-ypbwqdrm.js} +16 -16
- package/dist/chunks/{location-services-yvcft4ah.js → repository-cache-ypqzf0x8.js} +5 -5
- package/dist/chunks/{location-services-z1k01bn4.js → repository-cache-z1k01bn4.js} +2 -2
- package/dist/chunks/{location-services-mxhzfwah.js → repository-cache-z1kjp4e4.js} +10 -10
- package/dist/chunks/{location-services-rvwxxhqs.js → repository-cache-z3rd1j25.js} +7 -7
- package/dist/chunks/{location-services-z63w68vq.js → repository-cache-z63w68vq.js} +2 -2
- package/dist/chunks/{location-services-mb1e1czd.js → repository-cache-z6tdrxr6.js} +4 -4
- package/dist/chunks/{location-services-bw1qan86.js → repository-cache-zc8y31tb.js} +29 -29
- package/dist/chunks/{location-services-hvwy79ny.js → repository-cache-zfdtt056.js} +8 -8
- package/dist/chunks/{location-services-fxxa7ryp.js → repository-cache-zfqme3r2.js} +8 -8
- package/dist/chunks/{location-services-7a9665ac.js → repository-cache-zjwk9b8w.js} +20 -20
- package/dist/chunks/{location-services-3jqpdxqh.js → repository-cache-zm91mn3z.js} +9 -9
- package/dist/chunks/{location-services-k3zdj9v5.js → repository-cache-zp6nc6tp.js} +11 -11
- package/dist/chunks/{location-services-htfs0vqw.js → repository-cache-zwj64htp.js} +32 -32
- package/dist/chunks/{location-services-t0pbnp57.js → repository-cache-zwyw72tx.js} +17 -17
- package/dist/chunks/{location-services-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +359 -359
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-mutation.js +89 -89
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +87 -87
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +350 -350
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +127 -127
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +347 -347
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +119 -119
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +82 -82
- package/dist/model.js +6 -6
- package/dist/models-dev.js +84 -84
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +321 -321
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +336 -336
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +7 -7
- 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 +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +77 -77
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +126 -126
- package/dist/session/context.js +146 -146
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +145 -145
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +118 -118
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +106 -106
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- 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 +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- 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 +118 -118
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +102 -102
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +3 -3
- 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 +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +1 -1
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +337 -337
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/location-services-2t5bfwnz.js +0 -460
- package/dist/chunks/location-services-5y1bcw76.js +0 -22
- package/dist/chunks/location-services-7zk4hah4.js +0 -4
- package/dist/chunks/location-services-9cwr0qbq.js +0 -247
- package/dist/chunks/location-services-by5v678g.js +0 -18
- /package/dist/chunks/{location-services-0fabt78z.js → repository-cache-0fabt78z.js} +0 -0
- /package/dist/chunks/{location-services-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3t738kvx.js → repository-cache-3t738kvx.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-41nvscxy.js → repository-cache-41nvscxy.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-982e01ww.js → repository-cache-982e01ww.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a1tpkmh4.js → repository-cache-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → repository-cache-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mntxs535.js → repository-cache-mntxs535.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-p8qxwesx.js → repository-cache-p8qxwesx.js} +0 -0
- /package/dist/chunks/{location-services-paphc93g.js → repository-cache-paphc93g.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-se0s1eqw.js → repository-cache-se0s1eqw.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → repository-cache-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → repository-cache-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x1b8g1yb.js → repository-cache-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → repository-cache-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
- /package/dist/chunks/{location-services-zbjnn3ac.js → repository-cache-zbjnn3ac.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-8yf7pbb7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./repository-cache-98g86xsb.js";
|
|
7
7
|
import {
|
|
8
8
|
Error3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-pkmpz8v7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service57
|
|
12
|
+
} from "./repository-cache-rcw270a3.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-xqfsn8ey.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-mntxs535.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-b0xtmr9h.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-tjykrgmx.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-cache-3qzbfqsy.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-cache-bcezcar3.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service41;
|
|
58
|
+
const toolOutput = yield* Service57;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-xvvnaekj.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-8yf7pbb7.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event17,
|
|
24
|
+
ID: () => ID12,
|
|
25
|
+
Info: () => Info25,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service63,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node66
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode-ai/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID12 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event17 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info25 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID12,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service63 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info25({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service63.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info25({
|
|
80
|
+
id: ID12.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node66 = makeGlobalNode({ service: Service63, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID12, OAuth3, Key4, Value2, Event17, Info25, Service63, node66, exports_credential };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-cache-8yf7pbb7.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_sdk, {
|
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
14
|
Service: () => Service6,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
16
|
+
layer: () => layer5,
|
|
17
17
|
node: () => node9
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
@@ -22,7 +22,7 @@ var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
|
22
22
|
|
|
23
23
|
class Service6 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer5 = Layer.effect(Service6, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service79;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
@@ -33,6 +33,6 @@ var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var node9 = makeGlobalNode({ service: Service6, layer:
|
|
36
|
+
var node9 = makeGlobalNode({ service: Service6, layer: layer5, deps: [node84] });
|
|
37
37
|
|
|
38
|
-
export { Updated2, Service6,
|
|
38
|
+
export { Updated2, Service6, layer5, node9, exports_sdk };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node83
|
|
7
|
+
} from "./repository-cache-eg4pr325.js";
|
|
8
8
|
import {
|
|
9
9
|
ID18
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-tppvcy65.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-xvvnaekj.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-8yf7pbb7.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-9qm9egsn.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-cache-ajtjthsy.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service76,
|
|
30
|
+
node81
|
|
31
|
+
} from "./repository-cache-td902gw6.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
34
|
canonical2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./repository-cache-93a8yfjt.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make12
|
|
38
|
+
} from "./repository-cache-dkbgd4kx.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./repository-cache-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event5,
|
|
53
|
+
Info: () => Info5,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service21,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node25
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -82,7 +82,7 @@ var RefreshResult2 = Schema.Struct({
|
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info5 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event5 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service21 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
109
|
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
111
111
|
const bus = yield* Service79;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service76;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
117
|
-
const gitStrategy = yield*
|
|
117
|
+
const gitStrategy = yield* make12;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event5.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -259,7 +259,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
259
259
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
260
260
|
return changes;
|
|
261
261
|
});
|
|
262
|
-
return
|
|
262
|
+
return Service21.of({
|
|
263
263
|
transform: state.transform,
|
|
264
264
|
reload: state.reload,
|
|
265
265
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -271,10 +271,10 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
271
271
|
refresh
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
274
|
+
var node25 = makeLocationNode({
|
|
275
|
+
service: Service21,
|
|
276
276
|
layer,
|
|
277
|
-
deps: [FSUtil.node,
|
|
277
|
+
deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
|
|
278
278
|
});
|
|
279
279
|
function operationError(strategy, operation, error) {
|
|
280
280
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -284,4 +284,4 @@ function operationError(strategy, operation, error) {
|
|
|
284
284
|
});
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2,
|
|
287
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event5, Service21, node25, exports_worktree2, OperationError2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./repository-cache-td902gw6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names3
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode-ai/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names3 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service76;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names3, discover3, exports_discovery2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-8yf7pbb7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./repository-cache-td902gw6.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-mntxs535.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service54,
|
|
14
|
+
node57
|
|
15
|
+
} from "./repository-cache-tfmv8rfm.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service11,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node14
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service79;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service54;
|
|
41
|
+
const location = yield* Service76;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service11.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node14 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node84, FSUtil.node,
|
|
101
|
+
deps: [node84, FSUtil.node, node81, node57]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service11, node14, exports_instructions };
|