@opencode-ai/core 0.0.0-dev-19147 → 0.0.0-dev-19150
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 +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{bus-pnybsy69.js → file-00hg641b.js} +22 -22
- package/dist/chunks/{bus-7d0gqbxc.js → file-039at7ym.js} +54 -54
- package/dist/chunks/{bus-07zcvmjy.js → file-07zcvmjy.js} +3 -3
- package/dist/chunks/{bus-0b89de78.js → file-0b89de78.js} +2 -2
- package/dist/chunks/{bus-0e0xafbb.js → file-0e0xafbb.js} +2 -2
- package/dist/chunks/{bus-xrevt9hr.js → file-0e8zkcgz.js} +5 -5
- package/dist/chunks/{bus-etgsznzg.js → file-0f1c069v.js} +11 -11
- package/dist/chunks/{bus-bqarnab4.js → file-0nwt5npc.js} +2 -2
- package/dist/chunks/{bus-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-0s9ayhjt.js → file-0s9ayhjt.js} +1 -1
- package/dist/chunks/{bus-3c7wsmqc.js → file-0stjwqe4.js} +18 -18
- package/dist/chunks/{bus-b4vs7y8k.js → file-0xjbaykp.js} +25 -25
- package/dist/chunks/{bus-bf0ztrs3.js → file-1a6p2twq.js} +4 -4
- package/dist/chunks/{bus-8gq481r1.js → file-1bwaarmf.js} +4 -4
- package/dist/chunks/{bus-1ct4r87x.js → file-1ct4r87x.js} +1 -1
- package/dist/chunks/{bus-vwwkt776.js → file-1hy241bm.js} +3 -3
- package/dist/chunks/{bus-0rh3kdcc.js → file-1mrma768.js} +5 -5
- package/dist/chunks/{bus-637qq8n2.js → file-1n116cmy.js} +9 -9
- package/dist/chunks/{bus-bb34vnzf.js → file-1sqh6t30.js} +5 -5
- package/dist/chunks/{bus-2yvtpd40.js → file-1z4eqvhn.js} +6 -6
- package/dist/chunks/{bus-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{bus-7npscw6y.js → file-23k12ske.js} +28 -28
- package/dist/chunks/{bus-2402vzrj.js → file-2402vzrj.js} +1 -1
- package/dist/chunks/{bus-s357kp59.js → file-299sgebr.js} +2 -2
- package/dist/chunks/{bus-29x78va6.js → file-29x78va6.js} +2 -2
- package/dist/chunks/{bus-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-jtrm4nst.js → file-2cefwke5.js} +30 -30
- package/dist/chunks/{bus-za343mrp.js → file-2cpc15r0.js} +10 -10
- package/dist/chunks/{bus-k4cpqqjy.js → file-2epja08c.js} +12 -12
- package/dist/chunks/{bus-2ht70gj7.js → file-2ht70gj7.js} +1 -1
- package/dist/chunks/{bus-2jqmte8w.js → file-2jqmte8w.js} +2 -2
- package/dist/chunks/{bus-1msc25r1.js → file-2teepasw.js} +14 -14
- package/dist/chunks/{bus-nxbee6yf.js → file-2tms25w5.js} +25 -25
- package/dist/chunks/{bus-bwpeshzr.js → file-2vr6qw2t.js} +4 -4
- package/dist/chunks/{bus-b0z70ywn.js → file-2w6bfmvf.js} +1 -1
- package/dist/chunks/{bus-6nd3jhcq.js → file-2xhecwrj.js} +7 -7
- package/dist/chunks/{bus-qmth3j02.js → file-354vgqe0.js} +7 -7
- package/dist/chunks/{bus-sqmwq5mx.js → file-36dr8np1.js} +23 -23
- package/dist/chunks/{bus-44xps6y5.js → file-3bnr94xj.js} +19 -19
- package/dist/chunks/{bus-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-f4g7wt00.js → file-3mrm2hwf.js} +10 -10
- package/dist/chunks/{bus-3qzbfqsy.js → file-3qzbfqsy.js} +2 -2
- package/dist/chunks/{bus-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-6bngq4h8.js → file-3wdqrm6x.js} +12 -12
- package/dist/chunks/{bus-gghn6ddw.js → file-44mbs944.js} +19 -19
- package/dist/chunks/{bus-454k5vzh.js → file-454k5vzh.js} +1 -1
- package/dist/chunks/{bus-kr6c5hfe.js → file-4bzmj8m7.js} +8 -8
- package/dist/chunks/{bus-7z3nt2ce.js → file-4kkev07m.js} +11 -11
- package/dist/chunks/{bus-y58vhj7k.js → file-4m3ct7yw.js} +8 -8
- package/dist/chunks/{bus-sqsf8ez3.js → file-4pm2v5we.js} +20 -20
- package/dist/chunks/{bus-4r2nyarf.js → file-4r2nyarf.js} +1 -1
- package/dist/chunks/{bus-shktkm8e.js → file-4th2vxgq.js} +29 -29
- package/dist/chunks/{bus-t00v3gkt.js → file-505p5ry7.js} +12 -12
- package/dist/chunks/{bus-hrxre78j.js → file-53hzkef1.js} +17 -17
- package/dist/chunks/{bus-yqj4c6v0.js → file-5cv0gs8q.js} +33 -33
- package/dist/chunks/{bus-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-sgr2ma5w.js → file-5edep437.js} +14 -14
- package/dist/chunks/{bus-5fmxt4p5.js → file-5fmxt4p5.js} +1 -1
- package/dist/chunks/{bus-6b7g3hjv.js → file-5h36fhh1.js} +16 -16
- package/dist/chunks/{bus-5jvc5tg2.js → file-5jvc5tg2.js} +1 -1
- package/dist/chunks/{bus-dcng8tk8.js → file-5k2506g0.js} +9 -9
- package/dist/chunks/{bus-xp39whtd.js → file-5k43vb7t.js} +20 -20
- package/dist/chunks/{bus-7xhvt7yp.js → file-5mm5wtvx.js} +8 -8
- package/dist/chunks/{bus-9k25nmjt.js → file-5x78j129.js} +8 -8
- package/dist/chunks/{bus-rxbdfnq0.js → file-5xfzsdsy.js} +3 -3
- package/dist/chunks/{bus-jg6xgb04.js → file-65dkj3za.js} +20 -20
- package/dist/chunks/{bus-pqrjcscw.js → file-65fmcg1n.js} +13 -13
- package/dist/chunks/{bus-b2txezd7.js → file-68t1dsv1.js} +35 -35
- package/dist/chunks/{bus-6e958v7x.js → file-6e958v7x.js} +1 -1
- package/dist/chunks/{bus-sdsms561.js → file-6h024qyg.js} +16 -16
- package/dist/chunks/{bus-03pcvst5.js → file-6kawr24h.js} +81 -81
- package/dist/chunks/{bus-284cjhsv.js → file-6t53vznt.js} +3 -3
- package/dist/chunks/{bus-9nmeg6hb.js → file-6wj0fw5p.js} +9 -9
- package/dist/chunks/{bus-w3jym6ha.js → file-6z5bwd8g.js} +6 -6
- package/dist/chunks/{bus-711hfp6y.js → file-711hfp6y.js} +2 -2
- package/dist/chunks/file-71dvh6yx.js +247 -0
- package/dist/chunks/{bus-72nftnjy.js → file-72nftnjy.js} +2 -2
- package/dist/chunks/{bus-jp5dra8g.js → file-768z0hjh.js} +1 -1
- package/dist/chunks/{bus-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-vnxss00g.js → file-7brcmqak.js} +39 -39
- package/dist/chunks/{bus-rbrvrbf2.js → file-7c5v0j0c.js} +40 -40
- package/dist/chunks/{bus-0rag4e4f.js → file-7cnzp9pw.js} +10 -6
- package/dist/chunks/{bus-7dqw4kz8.js → file-7dqw4kz8.js} +1 -1
- package/dist/chunks/{bus-rjg60sz9.js → file-7ppgh33j.js} +24 -24
- package/dist/chunks/{bus-vkpagyjs.js → file-83ahk2p0.js} +8 -8
- package/dist/chunks/{bus-xas2870y.js → file-83y4b8f3.js} +32 -32
- package/dist/chunks/{bus-f3zf6xc6.js → file-846hz14q.js} +36 -36
- package/dist/chunks/{bus-s7xce10k.js → file-8gqmesmq.js} +16 -16
- package/dist/chunks/{bus-4z9k8dmg.js → file-8y62cfgq.js} +6 -6
- package/dist/chunks/{bus-ybm7km80.js → file-9c3zep2z.js} +13 -13
- package/dist/chunks/{bus-52a4zrsn.js → file-9fkqqknn.js} +9 -9
- package/dist/chunks/{bus-a43mdqrv.js → file-9kedy7gd.js} +8 -8
- package/dist/chunks/{bus-8qyy1b3c.js → file-9q0nykm9.js} +8 -8
- package/dist/chunks/{bus-61qb9z8b.js → file-9vfxb4kb.js} +4 -4
- package/dist/chunks/{bus-6anwy9fs.js → file-9z2n9fsv.js} +6 -6
- package/dist/chunks/{bus-z3xgatyd.js → file-a3x9xvd8.js} +4 -4
- package/dist/chunks/{bus-1b65ws7n.js → file-a4qa8wqs.js} +7 -7
- package/dist/chunks/{bus-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-rv49c601.js → file-aj7d9r5a.js} +3 -3
- package/dist/chunks/{bus-qr77fm55.js → file-at276hj9.js} +15 -15
- package/dist/chunks/{bus-at5d07az.js → file-at5d07az.js} +1 -1
- package/dist/chunks/{bus-j8vtfwgc.js → file-awwf2q6q.js} +31 -31
- package/dist/chunks/{bus-reajtcty.js → file-b3pptd8j.js} +16 -16
- package/dist/chunks/{bus-c1j5nedx.js → file-b6c82h3f.js} +10 -10
- package/dist/chunks/{bus-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-b9wsbatv.js → file-b9wsbatv.js} +1 -1
- package/dist/chunks/{bus-cq7yjxs1.js → file-bbe0cwvp.js} +3 -3
- package/dist/chunks/{bus-z9av7sw1.js → file-bbmnv4wm.js} +29 -29
- package/dist/chunks/{bus-4070pg8x.js → file-bf0m6253.js} +20 -20
- package/dist/chunks/{bus-vcxn1vs0.js → file-c9ahrne1.js} +27 -27
- package/dist/chunks/{bus-g0mjj0rj.js → file-cmwz8vwc.js} +15 -15
- package/dist/chunks/{bus-2cqzd7yz.js → file-cphm8864.js} +29 -29
- package/dist/chunks/{bus-bdamf7mc.js → file-cqeq6z68.js} +6 -6
- package/dist/chunks/{bus-xw0r27ex.js → file-cxmh4q5b.js} +4 -4
- package/dist/chunks/{bus-7tfg2zmn.js → file-d1a1bt21.js} +5 -5
- package/dist/chunks/{bus-ewvsw10p.js → file-d24m0n3t.js} +10 -10
- package/dist/chunks/{bus-rcjsbsfn.js → file-df22f43k.js} +11 -11
- package/dist/chunks/{bus-52zbkqaa.js → file-dg42sq5p.js} +13 -13
- package/dist/chunks/{bus-yzmxwpmp.js → file-dmbj5zzd.js} +11 -11
- package/dist/chunks/{bus-8q7h2c8p.js → file-dn45ghjm.js} +42 -42
- package/dist/chunks/{bus-v124ymdv.js → file-dnej8pr8.js} +54 -54
- package/dist/chunks/{bus-m7nqr3y1.js → file-e1hrx4vk.js} +2 -2
- package/dist/chunks/{bus-r64qmg5x.js → file-eg4pr325.js} +10 -10
- package/dist/chunks/{bus-2h28fvw8.js → file-ejddpzjn.js} +16 -16
- package/dist/chunks/{bus-265py6yv.js → file-emse1svw.js} +153 -153
- package/dist/chunks/{bus-5jra4smz.js → file-evdm5w0f.js} +15 -15
- package/dist/chunks/{bus-cdxszh4j.js → file-ezk10e5s.js} +20 -20
- package/dist/chunks/file-f4j0pa50.js +4 -0
- package/dist/chunks/{bus-sdvg309b.js → file-f7m31s7f.js} +3 -3
- package/dist/chunks/{bus-jy6mxw71.js → file-f9tf4xby.js} +36 -36
- package/dist/chunks/{bus-htsdw4aq.js → file-fbgy7r5d.js} +2 -2
- package/dist/chunks/{bus-2frbs4n5.js → file-fhy6bqdy.js} +14 -14
- package/dist/chunks/{bus-8r8pj8zm.js → file-ftz7gb7p.js} +6 -6
- package/dist/chunks/{bus-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{bus-fxypknc8.js → file-fxypknc8.js} +1 -1
- package/dist/chunks/{bus-03vfzkzq.js → file-fy6n5twb.js} +4 -4
- package/dist/chunks/{bus-hrvm11jt.js → file-g2dy4bvs.js} +3 -3
- package/dist/chunks/{bus-d72308c8.js → file-g2gt0w0k.js} +2 -2
- package/dist/chunks/{bus-jp5mwzrf.js → file-g6mdv268.js} +13 -13
- package/dist/chunks/{bus-a3pkwgfm.js → file-gc9s900x.js} +27 -27
- package/dist/chunks/{bus-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-3fc6dm20.js → file-gdvy8fx6.js} +4 -4
- package/dist/chunks/{bus-nq27d7ck.js → file-gjgqh1yg.js} +9 -9
- package/dist/chunks/{bus-h4v2a5qn.js → file-gt0hfmdb.js} +5 -5
- package/dist/chunks/{bus-fay0kx6k.js → file-gv0d5gvs.js} +9 -9
- package/dist/chunks/{bus-5sg4xzjf.js → file-gvha7d93.js} +84 -70
- package/dist/chunks/{bus-vja40awy.js → file-gwhj86fb.js} +15 -15
- package/dist/chunks/{bus-jayphp49.js → file-gzx8e7f9.js} +6 -6
- package/dist/chunks/{bus-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-x727j1wn.js → file-h87ag7w5.js} +18 -18
- package/dist/chunks/{bus-jzrg40z5.js → file-hd1k875y.js} +13 -13
- package/dist/chunks/{bus-rq5svkab.js → file-hdw5v3sp.js} +37 -37
- package/dist/chunks/{bus-5f9czyyy.js → file-hejh15x3.js} +34 -34
- package/dist/chunks/{bus-heyhwy2w.js → file-heyhwy2w.js} +1 -1
- package/dist/chunks/{bus-9b06darc.js → file-jb94zsvm.js} +11 -11
- package/dist/chunks/{bus-h71tptf3.js → file-jfa9xx2h.js} +11 -11
- package/dist/chunks/{bus-79xc10f4.js → file-jnmmvqjs.js} +1 -1
- package/dist/chunks/{bus-x0vtmq93.js → file-k0gwvm9f.js} +11 -11
- package/dist/chunks/{bus-k4bwy1x5.js → file-k4bwy1x5.js} +1 -1
- package/dist/chunks/{bus-w9qr98xp.js → file-kdbt5zd5.js} +21 -21
- package/dist/chunks/{bus-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{bus-91cyfgge.js → file-kj9yw8wr.js} +22 -22
- package/dist/chunks/{bus-h983e39c.js → file-kvbwxexe.js} +18 -18
- package/dist/chunks/{bus-kvsjn1dr.js → file-kvsjn1dr.js} +2 -2
- package/dist/chunks/{bus-sms7kmhw.js → file-kwd9jgre.js} +7 -7
- package/dist/chunks/{bus-cvy9v8nj.js → file-m08qhmwa.js} +9 -9
- package/dist/chunks/{bus-x9bn8htz.js → file-m7swqrpa.js} +4 -4
- package/dist/chunks/{bus-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-mhkvc446.js → file-mhkvc446.js} +1 -1
- package/dist/chunks/{bus-1fgw4mms.js → file-mk2da0tx.js} +12 -12
- package/dist/chunks/{bus-2b6cd4q1.js → file-mzj39jhy.js} +13 -13
- package/dist/chunks/{bus-r5w2ssxe.js → file-n38qs1ar.js} +9 -9
- package/dist/chunks/{bus-ne88a073.js → file-n3rkh788.js} +11 -11
- package/dist/chunks/{bus-d6w6mh1h.js → file-n5pq9vwt.js} +11 -11
- package/dist/chunks/{bus-dkcyx3p2.js → file-n74wxmgj.js} +24 -24
- package/dist/chunks/{bus-c5vv46vd.js → file-n7x59t33.js} +7 -7
- package/dist/chunks/{bus-j8yzmn16.js → file-n8b48r5j.js} +28 -28
- package/dist/chunks/{bus-xy4ye41c.js → file-n8naaz60.js} +15 -15
- package/dist/chunks/{bus-hfr11a94.js → file-n8qe30xq.js} +9 -9
- package/dist/chunks/{bus-y4nzzd5t.js → file-na3y75gh.js} +5 -5
- package/dist/chunks/{bus-jn4cksvw.js → file-ndn2xkss.js} +66 -66
- package/dist/chunks/{bus-2a1acymz.js → file-pae9v2p1.js} +8 -8
- package/dist/chunks/{bus-vg7z0tv3.js → file-pcbfkwsm.js} +13 -13
- package/dist/chunks/{bus-xv5rxm99.js → file-pdgkag5b.js} +17 -17
- package/dist/chunks/{bus-nqq6exsp.js → file-ph669gs4.js} +9 -9
- package/dist/chunks/{bus-9wht8j3f.js → file-pjv4tydt.js} +39 -39
- package/dist/chunks/{bus-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-h94by419.js → file-pkb840qh.js} +14 -14
- package/dist/chunks/{bus-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{bus-42my878b.js → file-pt7wq7x0.js} +1 -1
- package/dist/chunks/{bus-bpn6w613.js → file-pyyqvd0z.js} +5 -5
- package/dist/chunks/{bus-6s6g893m.js → file-pzzt1nm5.js} +20 -20
- package/dist/chunks/{bus-n8c291r7.js → file-q6k87v8z.js} +6 -6
- package/dist/chunks/{bus-sktsn1jv.js → file-q9vpza17.js} +10 -10
- package/dist/chunks/{bus-0h456tg2.js → file-qk64c6n5.js} +14 -14
- package/dist/chunks/{bus-r0msr716.js → file-qkzfms5c.js} +4 -4
- package/dist/chunks/{bus-ty85120y.js → file-qr8ddv5p.js} +35 -35
- package/dist/chunks/{bus-fhvjqr7f.js → file-qs4avvkb.js} +1 -1
- package/dist/chunks/{bus-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-mstaf5wp.js → file-qtdtxcz9.js} +4 -4
- package/dist/chunks/file-qtk180zb.js +22 -0
- package/dist/chunks/{bus-9qm9egsn.js → file-qvbcabdc.js} +2 -2
- package/dist/chunks/{bus-68mhmgnx.js → file-qzds7pp6.js} +25 -25
- package/dist/chunks/{bus-zyhgr980.js → file-qzq296vy.js} +4 -4
- package/dist/chunks/{bus-r8dhm0tv.js → file-r8dhm0tv.js} +1 -1
- package/dist/chunks/{bus-20mqg84x.js → file-r8h0cx8x.js} +29 -29
- package/dist/chunks/file-rap9a73h.js +18 -0
- package/dist/chunks/{bus-7jrdpkxe.js → file-rc7d13hc.js} +17 -17
- package/dist/chunks/{bus-d24yjw8z.js → file-rff1kz51.js} +23 -23
- package/dist/chunks/{bus-5zf78s6r.js → file-rr09hbad.js} +20 -20
- package/dist/chunks/{bus-7qwqjxd9.js → file-rrh5j47r.js} +21 -21
- package/dist/chunks/{bus-g19vc6v7.js → file-rvb2zp0m.js} +6 -6
- package/dist/chunks/{bus-se8jsmsp.js → file-rwffmz6f.js} +6 -6
- package/dist/chunks/{bus-g75w3dx0.js → file-rykxkv61.js} +10 -10
- package/dist/chunks/{bus-d9hh4vk8.js → file-s1zptveq.js} +20 -20
- package/dist/chunks/{bus-ajnaheqp.js → file-s5h19yqx.js} +7 -7
- package/dist/chunks/{bus-e80n2ttq.js → file-sasz0x9t.js} +12 -12
- package/dist/chunks/{bus-sbnvhk9g.js → file-sb910js5.js} +4 -4
- package/dist/chunks/{bus-sba4qhjf.js → file-sba4qhjf.js} +1 -1
- package/dist/chunks/{bus-hs6cevvz.js → file-sdmzrqw0.js} +11 -11
- package/dist/chunks/{bus-0xt1haj6.js → file-ss1z5pd1.js} +39 -39
- package/dist/chunks/{bus-q2tms32v.js → file-sx5e7ymn.js} +8 -8
- package/dist/chunks/{bus-259mvakt.js → file-t0r5ggak.js} +9 -9
- package/dist/chunks/{bus-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-tcezcvh9.js → file-tcezcvh9.js} +1 -1
- package/dist/chunks/{bus-je9hks3h.js → file-thfv75je.js} +5 -5
- package/dist/chunks/{bus-tjykrgmx.js → file-tjykrgmx.js} +1 -1
- package/dist/chunks/{bus-tppvcy65.js → file-tppvcy65.js} +2 -2
- package/dist/chunks/{bus-t1zpr9sn.js → file-ttbkqz8v.js} +4 -4
- package/dist/chunks/{bus-8xt7sm9n.js → file-ttmyjys5.js} +25 -25
- package/dist/chunks/{bus-5jwc40bw.js → file-v0pnbedw.js} +11 -11
- package/dist/chunks/{bus-pwp32wtj.js → file-v1zbgaxm.js} +10 -10
- package/dist/chunks/{bus-43a3yqcx.js → file-vakn6wwq.js} +11 -11
- package/dist/chunks/{bus-h5pkretn.js → file-vkvd3v5t.js} +23 -23
- package/dist/chunks/{bus-3a0173zm.js → file-vvzp1af4.js} +23 -23
- package/dist/chunks/{bus-9bfj2s2r.js → file-w2svwm21.js} +4 -4
- package/dist/chunks/{bus-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-f1195tme.js → file-w7w8snw9.js} +14 -14
- package/dist/chunks/{bus-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{bus-rrzd4gct.js → file-wfpv7nq4.js} +5 -5
- package/dist/chunks/{bus-5bhqk8rd.js → file-wp44g4g0.js} +35 -35
- package/dist/chunks/{bus-qhr29g4e.js → file-wq13ba9c.js} +33 -33
- package/dist/chunks/{bus-762r0j46.js → file-wr7ps67x.js} +5 -5
- package/dist/chunks/{bus-09zpxraa.js → file-wvjdj7gf.js} +24 -24
- package/dist/chunks/{bus-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-y9j759kk.js → file-x5hde6ee.js} +4 -4
- package/dist/chunks/{bus-k4kachtf.js → file-x9aee12a.js} +18 -18
- package/dist/chunks/{bus-yn1kx32j.js → file-xb66abhh.js} +22 -22
- package/dist/chunks/{bus-4375bpmc.js → file-xh8y0k6f.js} +46 -46
- package/dist/chunks/{bus-xraeeqg3.js → file-xx7w2pvd.js} +10 -10
- package/dist/chunks/{bus-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-93a8yfjt.js → file-y2cqme3r.js} +5 -5
- package/dist/chunks/{bus-jmprf74n.js → file-y46gx2s1.js} +34 -34
- package/dist/chunks/{bus-jwcy2c2z.js → file-y71avatq.js} +4 -4
- package/dist/chunks/{bus-ypg1z1k5.js → file-y995w6vw.js} +9 -9
- package/dist/chunks/{bus-qmw0r92f.js → file-ybkqd1n3.js} +26 -26
- package/dist/chunks/{bus-6926ty5t.js → file-yf1j450z.js} +8 -8
- package/dist/chunks/{bus-yfbd16n1.js → file-yfbd16n1.js} +2 -2
- package/dist/chunks/{bus-ajtjthsy.js → file-yg7sb877.js} +2 -2
- package/dist/chunks/{bus-y1ybvaj4.js → file-yj3e99fm.js} +3 -3
- package/dist/chunks/{bus-4dgqkt2g.js → file-yjw1hky4.js} +12 -12
- package/dist/chunks/{bus-8vv3f8em.js → file-ys11an52.js} +32 -32
- package/dist/chunks/{bus-rw9zkh5y.js → file-yt9k9kep.js} +15 -15
- package/dist/chunks/{bus-jpg38yrs.js → file-ywabkmpb.js} +6 -6
- package/dist/chunks/{bus-p4vv2etq.js → file-ywtkarac.js} +10 -10
- package/dist/chunks/{bus-j8e2hagy.js → file-yz6aw3g1.js} +48 -48
- package/dist/chunks/{bus-z1k01bn4.js → file-z1k01bn4.js} +2 -2
- package/dist/chunks/{bus-dc9zs5sz.js → file-z24np7d0.js} +78 -78
- package/dist/chunks/{bus-3epwwbr6.js → file-z4g5hq89.js} +4 -4
- package/dist/chunks/{bus-2ady357n.js → file-zajwd6at.js} +5 -5
- package/dist/chunks/{bus-e6s7x5n1.js → file-zayyh8v9.js} +294 -294
- package/dist/chunks/{bus-axm2fcy6.js → file-zm9gec2w.js} +1 -1
- package/dist/chunks/{bus-5ws6ykpz.js → file-zn31ggdh.js} +14 -14
- package/dist/chunks/{bus-17yxvw7z.js → file-zsqrvtys.js} +11 -11
- package/dist/chunks/{bus-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- 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 +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +114 -114
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- 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 +358 -358
- 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 +72 -72
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +82 -82
- 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 +3 -3
- 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 +349 -349
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +79 -79
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +83 -83
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- 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 +82 -82
- 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 +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.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 +4 -4
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- 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 +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/system-prompt.js +2 -3
- 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 +111 -111
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- package/dist/provider.js +5 -5
- 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 +88 -88
- 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 +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +108 -108
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +124 -124
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- 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 +201 -201
- package/dist/session/system-prompt.js +5 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +3 -3
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +82 -82
- 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 +119 -119
- 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 +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +98 -98
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- 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 +11 -11
- package/dist/types/plugin/system-prompt.d.ts +1 -2
- package/dist/types/session/system-prompt.d.ts +1 -0
- 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 +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +1 -1
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +75 -75
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +336 -336
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/bus-7fj5dwt0.js +0 -18
- package/dist/chunks/bus-mf5kcrna.js +0 -4
- package/dist/chunks/bus-mp49ea6v.js +0 -22
- package/dist/chunks/bus-wehvdrgf.js +0 -247
- /package/dist/chunks/{bus-0fabt78z.js → file-0fabt78z.js} +0 -0
- /package/dist/chunks/{bus-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3t738kvx.js → file-3t738kvx.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-41nvscxy.js → file-41nvscxy.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5qd3pb7m.js → file-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-982e01ww.js → file-982e01ww.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a1tpkmh4.js → file-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mntxs535.js → file-mntxs535.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-p8qxwesx.js → file-p8qxwesx.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-se0s1eqw.js → file-se0s1eqw.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x1b8g1yb.js → file-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → file-z9919s4g.js} +0 -0
- /package/dist/chunks/{bus-zbjnn3ac.js → file-zbjnn3ac.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./file-rc7d13hc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service22
|
|
6
|
+
} from "./file-6kawr24h.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make8 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
23
|
+
const sessions = yield* Service22;
|
|
24
|
+
const jobs = yield* Service46;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-rvb2zp0m.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID15,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info28
|
|
11
|
+
} from "./file-3mrm2hwf.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models = {};
|
|
@@ -87,7 +87,7 @@ async function get2(baseURL, headers, existing) {
|
|
|
87
87
|
result.set(id, build(id, current, baseURL, model));
|
|
88
88
|
}
|
|
89
89
|
for (const [id, model] of remote) {
|
|
90
|
-
const key =
|
|
90
|
+
const key = ID15.make(id);
|
|
91
91
|
if (result.has(key))
|
|
92
92
|
continue;
|
|
93
93
|
result.set(key, build(key, model, baseURL));
|
|
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
111
111
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
112
112
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
113
113
|
const released = previous?.time.released || Date.parse(version);
|
|
114
|
-
return
|
|
115
|
-
...
|
|
114
|
+
return Info28.make({
|
|
115
|
+
...Info28.default(ID16.githubCopilot, id),
|
|
116
116
|
id,
|
|
117
|
-
modelID:
|
|
118
|
-
providerID:
|
|
117
|
+
modelID: ID15.make(remote.id),
|
|
118
|
+
providerID: ID16.githubCopilot,
|
|
119
119
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
120
120
|
name: previous?.name ?? remote.name,
|
|
121
121
|
package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./file-2epja08c.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service55,
|
|
6
|
+
Event12
|
|
7
|
+
} from "./file-f9tf4xby.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -14,8 +14,8 @@ import { Effect, Stream } from "effect";
|
|
|
14
14
|
var ModelsDevPlugin2 = define({
|
|
15
15
|
id: "opencode.models.dev",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
|
-
const modelsDev = yield*
|
|
18
|
-
const bus = yield*
|
|
17
|
+
const modelsDev = yield* Service55;
|
|
18
|
+
const bus = yield* Service79;
|
|
19
19
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
20
20
|
yield* ctx.integration.transform((integrations) => {
|
|
21
21
|
for (const provider of loaded.data) {
|
|
@@ -49,7 +49,7 @@ var ModelsDevPlugin2 = define({
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
|
-
yield* bus.subscribe(
|
|
52
|
+
yield* bus.subscribe(Event12.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
55
|
function environmentNames(provider) {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node83
|
|
7
|
+
} from "./file-eg4pr325.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service72,
|
|
16
|
+
node77
|
|
17
|
+
} from "./file-q9vpza17.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service45,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node48,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service45 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service78;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service72;
|
|
110
|
+
return Service45.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node48 = makeGlobalNode({
|
|
171
|
+
service: Service45,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node77]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service45, isError2, validateBranch2, node48, exports_repository_cache };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-bbe0cwvp.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node84
|
|
9
|
+
} from "./file-2epja08c.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-0e0xafbb.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mntxs535.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-s5h19yqx.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service43,
|
|
21
|
+
node46
|
|
22
|
+
} from "./file-fhy6bqdy.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service23,
|
|
25
|
+
node27
|
|
26
|
+
} from "./file-z24np7d0.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-tjykrgmx.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service6,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer5,
|
|
42
|
+
node: () => node9
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode-ai/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service6 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer5 = Layer.effect(Service6, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service79;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service23;
|
|
65
|
+
const store = yield* Service43;
|
|
66
66
|
const db = (yield* Service80).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service6.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node9 = makeLocationNode({
|
|
151
|
+
service: Service6,
|
|
152
|
+
layer: layer5,
|
|
153
|
+
deps: [node84, llmClient2, node27, node46, node85]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service6, isUntitled2, layer5, node9, exports_title };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-rvb2zp0m.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID15,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info28,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-3mrm2hwf.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_models2, {
|
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode-ai/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID16.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -69,8 +69,8 @@ async function get3(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID15.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID15.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info28.make({
|
|
92
|
+
...Info28.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID15.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./file-2epja08c.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID16
|
|
6
|
+
} from "./file-rvb2zp0m.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID15
|
|
9
|
+
} from "./file-3mrm2hwf.js";
|
|
10
10
|
import {
|
|
11
11
|
Event19
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-xb66abhh.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
ID9
|
|
15
|
+
} from "./file-c9ahrne1.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service52
|
|
18
|
+
} from "./file-n8b48r5j.js";
|
|
19
19
|
import {
|
|
20
20
|
get3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-505p5ry7.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/modal.ts
|
|
24
24
|
import { Effect, Semaphore, Stream } from "effect";
|
|
25
25
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID16.make("modal");
|
|
27
27
|
var ModalPlugin2 = define({
|
|
28
28
|
id: "opencode.provider.modal",
|
|
29
29
|
effect: Effect.fn(function* (ctx) {
|
|
30
|
-
const catalog = yield*
|
|
31
|
-
const bus = yield*
|
|
30
|
+
const catalog = yield* Service52;
|
|
31
|
+
const bus = yield* Service79;
|
|
32
32
|
const loading = Semaphore.makeUnsafe(1);
|
|
33
33
|
const loaded = {};
|
|
34
34
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
|
|
|
58
58
|
if (!loaded.models)
|
|
59
59
|
return;
|
|
60
60
|
for (const id of item.models.keys()) {
|
|
61
|
-
if (!loaded.models.has(
|
|
61
|
+
if (!loaded.models.has(ID15.make(id)))
|
|
62
62
|
evt.model.remove(item.provider.id, id);
|
|
63
63
|
}
|
|
64
64
|
for (const [id, model] of loaded.models) {
|
|
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
69
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
69
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
yield* refresh().pipe(Effect.forkScoped);
|
|
71
71
|
})
|
|
72
72
|
});
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
8
|
Service76
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-299sgebr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service66
|
|
12
|
+
} from "./file-kdbt5zd5.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service16
|
|
15
|
+
} from "./file-pkb840qh.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-kvbwxexe.js";
|
|
22
22
|
import {
|
|
23
23
|
externalDirectoryPermission2,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service13
|
|
25
|
+
} from "./file-xx7w2pvd.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Service41
|
|
28
|
+
} from "./file-dnej8pr8.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/tool/plugin/glob.ts
|
|
34
34
|
var exports_glob = {};
|
|
35
35
|
__export(exports_glob, {
|
|
36
36
|
GlobTool: () => exports_glob,
|
|
37
|
-
Input: () =>
|
|
38
|
-
Output: () =>
|
|
39
|
-
Plugin: () =>
|
|
40
|
-
name: () =>
|
|
41
|
-
toModelContent: () =>
|
|
37
|
+
Input: () => Input8,
|
|
38
|
+
Output: () => Output5,
|
|
39
|
+
Plugin: () => Plugin21,
|
|
40
|
+
name: () => name8,
|
|
41
|
+
toModelContent: () => toModelContent4
|
|
42
42
|
});
|
|
43
43
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
44
44
|
import { Effect, Schema } from "effect";
|
|
45
45
|
import path from "path";
|
|
46
|
-
var
|
|
47
|
-
var
|
|
46
|
+
var name8 = "glob";
|
|
47
|
+
var Input8 = Schema.Struct({
|
|
48
48
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
49
49
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
50
50
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -56,28 +56,28 @@ var Input9 = Schema.Struct({
|
|
|
56
56
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
|
-
var
|
|
60
|
-
var
|
|
59
|
+
var Output5 = Schema.Array(Entry2);
|
|
60
|
+
var toModelContent4 = (entries, truncated = false) => {
|
|
61
61
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
62
62
|
if (truncated)
|
|
63
63
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
64
64
|
return lines.join(`
|
|
65
65
|
`);
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Plugin21 = {
|
|
68
68
|
id: "opencode.tool.glob",
|
|
69
69
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
70
|
-
const environment = yield*
|
|
71
|
-
const ripgrep = yield*
|
|
70
|
+
const environment = yield* Service66;
|
|
71
|
+
const ripgrep = yield* Service16;
|
|
72
72
|
const location = yield* Service76;
|
|
73
|
-
const mutation = yield*
|
|
74
|
-
const permission = yield*
|
|
73
|
+
const mutation = yield* Service13;
|
|
74
|
+
const permission = yield* Service41;
|
|
75
75
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
76
|
-
name:
|
|
76
|
+
name: name8,
|
|
77
77
|
options: { codemode: false },
|
|
78
78
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
79
|
-
input:
|
|
80
|
-
output:
|
|
79
|
+
input: Input8,
|
|
80
|
+
output: Output5,
|
|
81
81
|
execute: (input, context) => Effect.gen(function* () {
|
|
82
82
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
83
83
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
@@ -91,7 +91,7 @@ var Plugin39 = {
|
|
|
91
91
|
source
|
|
92
92
|
});
|
|
93
93
|
yield* permission.assert({
|
|
94
|
-
action:
|
|
94
|
+
action: name8,
|
|
95
95
|
resources: [input.pattern],
|
|
96
96
|
save: ["*"],
|
|
97
97
|
metadata: {
|
|
@@ -126,11 +126,11 @@ var Plugin39 = {
|
|
|
126
126
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
127
127
|
}).pipe(Effect.map((result) => ({
|
|
128
128
|
output: result.entries,
|
|
129
|
-
content:
|
|
129
|
+
content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
130
130
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
131
131
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
132
132
|
})).pipe(Effect.orDie);
|
|
133
133
|
})
|
|
134
134
|
};
|
|
135
135
|
|
|
136
|
-
export {
|
|
136
|
+
export { name8, Input8, Output5, toModelContent4, Plugin21, exports_glob };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Service78,
|
|
10
|
-
node83
|
|
11
|
-
} from "./bus-k4cpqqjy.js";
|
|
7
|
+
} from "./file-bbe0cwvp.js";
|
|
12
8
|
import {
|
|
13
9
|
Service79,
|
|
14
10
|
node84
|
|
15
|
-
} from "./
|
|
11
|
+
} from "./file-2epja08c.js";
|
|
12
|
+
import {
|
|
13
|
+
Service78,
|
|
14
|
+
node83
|
|
15
|
+
} from "./file-eg4pr325.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-tppvcy65.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-qvbcabdc.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-yg7sb877.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -96,9 +96,9 @@ function fromRow(row) {
|
|
|
96
96
|
}
|
|
97
97
|
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service78;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
|
-
const bus = yield*
|
|
101
|
+
const bus = yield* Service79;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
103
103
|
const announcing = new Set;
|
|
104
104
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -275,7 +275,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
275
275
|
var node82 = makeGlobalNode({
|
|
276
276
|
service: Service77,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node84, node85, FSUtil.node, node83, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
281
|
export { ID17, Vcs2, Current2, Info31, UpdateInput3, NotFoundError10, root2, Service77, node82, exports_project };
|