@opencode-ai/core 0.0.0-dev-19178 → 0.0.0-dev-19182
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +80 -80
- package/dist/chunks/{kv-p425gb1k.js → location-06da17n0.js} +10 -10
- package/dist/chunks/{kv-k6fnztft.js → location-06nv7jxy.js} +2 -2
- package/dist/chunks/{kv-mxs1xwvp.js → location-06qbn9zd.js} +9 -9
- package/dist/chunks/{kv-ayqzvvm1.js → location-099yzkay.js} +5 -5
- package/dist/chunks/{kv-0e0xafbb.js → location-0e0xafbb.js} +2 -2
- package/dist/chunks/{kv-sb910js5.js → location-0k2w8cze.js} +4 -4
- package/dist/chunks/{kv-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-676wedsd.js → location-0qnr3fek.js} +19 -19
- package/dist/chunks/{kv-b1cc60s2.js → location-0r82rn0f.js} +37 -37
- package/dist/chunks/{kv-0s9ayhjt.js → location-0s9ayhjt.js} +1 -1
- package/dist/chunks/{kv-rk9sw2av.js → location-0v2z2dt2.js} +8 -8
- package/dist/chunks/{kv-xn9aqqx6.js → location-0xf4rbjv.js} +10 -10
- package/dist/chunks/{kv-vxz8nws8.js → location-0y9gq4bp.js} +11 -11
- package/dist/chunks/{kv-7hmj7g9f.js → location-1358r5b6.js} +17 -17
- package/dist/chunks/{kv-qfja8fnv.js → location-16s6chgv.js} +7 -7
- package/dist/chunks/{kv-p88s56y3.js → location-1ayrcz9m.js} +28 -28
- package/dist/chunks/{kv-ykk6pqwd.js → location-1bk5txm0.js} +20 -20
- package/dist/chunks/{kv-1ct4r87x.js → location-1ct4r87x.js} +1 -1
- package/dist/chunks/{kv-kf8thf07.js → location-1dthfd4v.js} +22 -22
- package/dist/chunks/{kv-q77zht3w.js → location-1hs7c9vy.js} +4 -4
- package/dist/chunks/{kv-cq9zegd4.js → location-1nk2mnc0.js} +2 -2
- package/dist/chunks/{kv-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{kv-t6srx486.js → location-22j3pzs9.js} +7 -7
- package/dist/chunks/{kv-2402vzrj.js → location-2402vzrj.js} +1 -1
- package/dist/chunks/{kv-d4cb5k3p.js → location-24hkfxm1.js} +8 -8
- package/dist/chunks/{kv-mwvt73nw.js → location-25thvgnz.js} +44 -44
- package/dist/chunks/{kv-qhwr7wtz.js → location-26n7px8t.js} +13 -13
- package/dist/chunks/{kv-29x78va6.js → location-29x78va6.js} +2 -2
- package/dist/chunks/{kv-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-v1ggvvtw.js → location-2drkfcgp.js} +33 -33
- package/dist/chunks/{kv-2ht70gj7.js → location-2ht70gj7.js} +1 -1
- package/dist/chunks/{kv-w75j66fn.js → location-2zwygsj0.js} +6 -6
- package/dist/chunks/{kv-86s3977f.js → location-305k387t.js} +1 -1
- package/dist/chunks/{kv-jm1tdwje.js → location-38ccjcnc.js} +13 -13
- package/dist/chunks/{kv-wkz0j4q5.js → location-3dh86x81.js} +19 -19
- package/dist/chunks/{kv-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-pwb001t0.js → location-3g5pjnhh.js} +28 -28
- package/dist/chunks/{kv-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-3qzbfqsy.js → location-3qzbfqsy.js} +2 -2
- package/dist/chunks/{kv-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-fs7t3exj.js → location-40myj96f.js} +11 -11
- package/dist/chunks/{kv-hjrjbgez.js → location-41mncz27.js} +5 -5
- package/dist/chunks/{kv-0kj443hm.js → location-4222c8h2.js} +5 -5
- package/dist/chunks/{kv-454k5vzh.js → location-454k5vzh.js} +1 -1
- package/dist/chunks/{kv-p198ap2v.js → location-4dqndjrv.js} +33 -33
- package/dist/chunks/{kv-s3eqpch7.js → location-4ex15pvw.js} +1 -1
- package/dist/chunks/{kv-5ggkvp9f.js → location-4henhw4d.js} +9 -9
- package/dist/chunks/{kv-4r2nyarf.js → location-4r2nyarf.js} +1 -1
- package/dist/chunks/{kv-605y5xjw.js → location-4tppse3b.js} +13 -13
- package/dist/chunks/{kv-n38qs1ar.js → location-4x0nmcjx.js} +9 -9
- package/dist/chunks/{kv-69pzhmr6.js → location-4zwh31cg.js} +31 -31
- package/dist/chunks/{kv-57w39xht.js → location-56b1m769.js} +5 -5
- package/dist/chunks/{kv-7cnkxtbd.js → location-56s0b4tg.js} +9 -9
- package/dist/chunks/{kv-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-5fmxt4p5.js → location-5fmxt4p5.js} +1 -1
- package/dist/chunks/{kv-5jvc5tg2.js → location-5jvc5tg2.js} +1 -1
- package/dist/chunks/{kv-5wnbjqvg.js → location-5ktyes22.js} +16 -16
- package/dist/chunks/{kv-mfe1qetb.js → location-5wca7bce.js} +16 -16
- package/dist/chunks/{kv-fz1pdqz4.js → location-637qq8n2.js} +9 -9
- package/dist/chunks/{kv-dhqg8tcb.js → location-639gdf4d.js} +9 -9
- package/dist/chunks/{kv-qnb0t8zm.js → location-682nnvw5.js} +53 -53
- package/dist/chunks/{kv-zqg3qsz2.js → location-69wcn9zj.js} +4 -4
- package/dist/chunks/{kv-6abnk40k.js → location-6abnk40k.js} +2 -2
- package/dist/chunks/{kv-h625df0a.js → location-6hws6qdh.js} +10 -10
- package/dist/chunks/{kv-aj9ffb68.js → location-6mmthzyr.js} +8 -8
- package/dist/chunks/{kv-bv80vwep.js → location-6mxvj815.js} +16 -16
- package/dist/chunks/{kv-711hfp6y.js → location-711hfp6y.js} +2 -2
- package/dist/chunks/{kv-72nftnjy.js → location-72nftnjy.js} +2 -2
- package/dist/chunks/{kv-6gz15wwc.js → location-75qt4cx3.js} +30 -30
- package/dist/chunks/{kv-3rdd7m9r.js → location-77dqx344.js} +22 -22
- package/dist/chunks/{kv-tq1jg9v7.js → location-77y10504.js} +7 -7
- package/dist/chunks/{kv-hv4p2p21.js → location-79x7mafq.js} +19 -19
- package/dist/chunks/{kv-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-rvhss2m2.js → location-7grmgsg7.js} +4 -4
- package/dist/chunks/{kv-3gfsa2we.js → location-7hqpjwy9.js} +18 -18
- package/dist/chunks/{kv-mn48t6tr.js → location-7svt03y5.js} +17 -17
- package/dist/chunks/{kv-68dvzq1z.js → location-7vhmdqap.js} +8 -8
- package/dist/chunks/{kv-r5x6zcsm.js → location-7yh4e7ss.js} +3 -3
- package/dist/chunks/{kv-7a2871xe.js → location-810ayxav.js} +4 -4
- package/dist/chunks/{kv-x3stwmqx.js → location-830tx1xt.js} +25 -25
- package/dist/chunks/{kv-gfvkvwrv.js → location-8491r7tk.js} +26 -26
- package/dist/chunks/{kv-g54w6h1q.js → location-86je1vae.js} +22 -22
- package/dist/chunks/{kv-fzf7e7x1.js → location-8kfmb256.js} +43 -43
- package/dist/chunks/{kv-hzecryb5.js → location-8n4wb1gp.js} +12 -12
- package/dist/chunks/{kv-v2aawvfd.js → location-8rzkd790.js} +13 -13
- package/dist/chunks/{kv-s2px886z.js → location-8wvrh9f5.js} +1 -1
- package/dist/chunks/{kv-93a8yfjt.js → location-93a8yfjt.js} +2 -2
- package/dist/chunks/{kv-9q10gh9c.js → location-97y5dmbw.js} +11 -11
- package/dist/chunks/{kv-9qm9egsn.js → location-9qm9egsn.js} +2 -2
- package/dist/chunks/{kv-5gqcqfwy.js → location-9te76ggx.js} +20 -20
- package/dist/chunks/{kv-9kbmc1bn.js → location-9y5wqfte.js} +10 -10
- package/dist/chunks/{kv-2stffz79.js → location-a3pcjqte.js} +26 -26
- package/dist/chunks/{kv-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-cxmh4q5b.js → location-ag4rn41e.js} +4 -4
- package/dist/chunks/{kv-ajtjthsy.js → location-ajtjthsy.js} +2 -2
- package/dist/chunks/{kv-z3qt4vrk.js → location-apnx2qk7.js} +20 -20
- package/dist/chunks/{kv-qnbahbj0.js → location-av2t16y3.js} +16 -16
- package/dist/chunks/{kv-rfjq507z.js → location-b53d63he.js} +47 -47
- package/dist/chunks/location-b5q5y4vk.js +4 -0
- package/dist/chunks/{kv-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-b9wsbatv.js → location-b9wsbatv.js} +1 -1
- package/dist/chunks/{kv-2v1h19tk.js → location-bmr95yyq.js} +3 -3
- package/dist/chunks/{kv-ph38rbv1.js → location-bp916t1p.js} +8 -8
- package/dist/chunks/{kv-4z6b0fg6.js → location-bve5bdy4.js} +6 -6
- package/dist/chunks/{kv-mcxg6pmm.js → location-bwt96rmt.js} +1 -1
- package/dist/chunks/{kv-tgaxz472.js → location-c3w06mmk.js} +32 -32
- package/dist/chunks/{kv-js3p9a9k.js → location-c77qvs9x.js} +8 -8
- package/dist/chunks/{kv-mqds9z8y.js → location-c8z193w6.js} +24 -24
- package/dist/chunks/{kv-65yprxq5.js → location-cezbqba5.js} +4 -4
- package/dist/chunks/{kv-e2jdrf4x.js → location-d47nst9j.js} +19 -19
- package/dist/chunks/{kv-mdnhxyz2.js → location-d5hq6bb0.js} +14 -14
- package/dist/chunks/{kv-d72308c8.js → location-d72308c8.js} +2 -2
- package/dist/chunks/{kv-syq477mx.js → location-dftw4z4t.js} +42 -42
- package/dist/chunks/{kv-vep9yay1.js → location-djtdz80w.js} +4 -4
- package/dist/chunks/{kv-4qf6hhyh.js → location-dkj4qht8.js} +9 -9
- package/dist/chunks/{kv-k7dwhv72.js → location-dnwnzy9r.js} +16 -16
- package/dist/chunks/{kv-dcspmnv1.js → location-dqpp7xtx.js} +30 -30
- package/dist/chunks/{kv-ts23zk9x.js → location-dyg53c9h.js} +25 -25
- package/dist/chunks/{kv-e10cy4w0.js → location-eexhp90h.js} +31 -31
- package/dist/chunks/{kv-db49mgn0.js → location-ek2fqqy0.js} +16 -16
- package/dist/chunks/{kv-ephmsh67.js → location-eqtasyqd.js} +27 -27
- package/dist/chunks/{kv-1mg2yz7f.js → location-ew2tj2vj.js} +3 -3
- package/dist/chunks/{kv-d09b090m.js → location-ew6k544p.js} +8 -8
- package/dist/chunks/{kv-3wfq9j39.js → location-f9anq697.js} +10 -10
- package/dist/chunks/{kv-nkkerv85.js → location-fc48qkc5.js} +10 -10
- package/dist/chunks/{kv-h1f297k2.js → location-fd8bdhp3.js} +12 -12
- package/dist/chunks/{kv-6nmsy562.js → location-fdhdqrxd.js} +4 -4
- package/dist/chunks/{kv-599cnyq5.js → location-ftbb7tdg.js} +26 -26
- package/dist/chunks/{kv-z89789qm.js → location-fty3fzgh.js} +24 -24
- package/dist/chunks/{kv-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{kv-fxypknc8.js → location-fxypknc8.js} +1 -1
- package/dist/chunks/{kv-y18qbtn0.js → location-fy8q56jn.js} +3 -3
- package/dist/chunks/{kv-npzt3p1j.js → location-g21wvy94.js} +12 -12
- package/dist/chunks/{kv-v4bdvzd3.js → location-g376t9v5.js} +88 -88
- package/dist/chunks/{kv-k8x9vhm8.js → location-g3v2a77t.js} +11 -11
- package/dist/chunks/{kv-t1bhb1bg.js → location-g50541fs.js} +11 -11
- package/dist/chunks/{kv-zess5s1n.js → location-g6z4jyvm.js} +23 -23
- package/dist/chunks/{kv-6hh8tjw2.js → location-g8d3gcyj.js} +7 -7
- package/dist/chunks/{kv-n7731ngr.js → location-g92whbrj.js} +10 -10
- package/dist/chunks/{kv-6xz6dfh8.js → location-gd1sbhjk.js} +23 -23
- package/dist/chunks/{kv-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-dctx0khx.js → location-ghajtkjr.js} +33 -33
- package/dist/chunks/{kv-qxsy5p3f.js → location-ghsrwkmd.js} +13 -13
- package/dist/chunks/{kv-238pagf0.js → location-gpkgrk3z.js} +2 -2
- package/dist/chunks/{kv-5k3f87xj.js → location-gq0p26s4.js} +1 -1
- package/dist/chunks/{kv-xqkm9ax4.js → location-gr827txg.js} +4 -4
- package/dist/chunks/{kv-wrvstr67.js → location-h2r6zf7a.js} +13 -13
- package/dist/chunks/{kv-dmqmcw2r.js → location-h60nam6t.js} +41 -41
- package/dist/chunks/{kv-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-14hmenm3.js → location-h9gn2f9p.js} +3 -3
- package/dist/chunks/{kv-jy629emf.js → location-henbvbzz.js} +10 -10
- package/dist/chunks/{kv-heyhwy2w.js → location-heyhwy2w.js} +1 -1
- package/dist/chunks/{kv-s4ss2bw5.js → location-hfwwmt6p.js} +50 -50
- package/dist/chunks/{kv-hrvm11jt.js → location-hrvm11jt.js} +3 -3
- package/dist/chunks/{kv-p66fc0fz.js → location-hx11aksh.js} +9 -9
- package/dist/chunks/{kv-7n2xhmm7.js → location-j5208yae.js} +6 -6
- package/dist/chunks/{kv-g41n1fn3.js → location-j7a4wd22.js} +5 -5
- package/dist/chunks/{kv-6enr500s.js → location-jd00bmkr.js} +6 -6
- package/dist/chunks/{kv-r5s1f9ds.js → location-je9hks3h.js} +5 -5
- package/dist/chunks/{kv-0drwrr20.js → location-jpcaj8m5.js} +15 -15
- package/dist/chunks/{kv-868x4neb.js → location-jtxymww5.js} +9 -9
- package/dist/chunks/{kv-14mbnhb1.js → location-jz74dd58.js} +9 -9
- package/dist/chunks/{kv-k4bwy1x5.js → location-k4bwy1x5.js} +1 -1
- package/dist/chunks/{kv-0pz84dxy.js → location-k9rndcxy.js} +9 -9
- package/dist/chunks/{kv-7r35fj82.js → location-kdken766.js} +46 -46
- package/dist/chunks/{kv-kg06axw8.js → location-kg06axw8.js} +1 -1
- package/dist/chunks/{kv-fv8a344a.js → location-kg2v5vbd.js} +8 -8
- package/dist/chunks/{kv-mav5hcv8.js → location-kgyry3vk.js} +15 -15
- package/dist/chunks/{kv-yfbd16n1.js → location-kk3rr3qh.js} +5 -5
- package/dist/chunks/{kv-xyvw3pp2.js → location-kpnhzsay.js} +14 -14
- package/dist/chunks/{kv-5pdq8qgg.js → location-kt2yjrhz.js} +6 -6
- package/dist/chunks/{kv-xez3q0qn.js → location-ktkbhg1n.js} +92 -92
- package/dist/chunks/{kv-kvsjn1dr.js → location-kvsjn1dr.js} +2 -2
- package/dist/chunks/{kv-wfvjw4z7.js → location-m538xkc9.js} +24 -24
- package/dist/chunks/{kv-16yc1m91.js → location-m6zh5m6k.js} +11 -11
- package/dist/chunks/{kv-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-fhgm40mk.js → location-madcmxva.js} +4 -4
- package/dist/chunks/{kv-b2nzchm7.js → location-maje4ax4.js} +11 -11
- package/dist/chunks/{kv-kw3wy51s.js → location-me42z315.js} +35 -35
- package/dist/chunks/{kv-5g0p4mxq.js → location-mh0wjfxe.js} +21 -21
- package/dist/chunks/{kv-jg1zcjqp.js → location-mhz8fptg.js} +37 -37
- package/dist/chunks/{kv-erz98jwc.js → location-mkvjn4ta.js} +32 -32
- package/dist/chunks/{kv-mq1xgkyh.js → location-mrz6efe2.js} +8 -8
- package/dist/chunks/{kv-yydg8tay.js → location-ms52v0md.js} +51 -35
- package/dist/chunks/{kv-n6a7rk8g.js → location-mswj03b3.js} +16 -16
- package/dist/chunks/{kv-hw73h5pz.js → location-n3fvsc7x.js} +37 -37
- package/dist/chunks/{kv-3g2y1byn.js → location-na3y75gh.js} +5 -5
- package/dist/chunks/{kv-vq25wjhh.js → location-nbwyzmjh.js} +25 -25
- package/dist/chunks/{kv-pv5nzn32.js → location-neh68hxw.js} +10 -10
- package/dist/chunks/{kv-baw8dctm.js → location-nj2y53n9.js} +13 -13
- package/dist/chunks/{kv-h73jd86c.js → location-nm29mynh.js} +32 -32
- package/dist/chunks/{kv-07pjb4yj.js → location-nphz3sty.js} +11 -11
- package/dist/chunks/{kv-w60ndp2z.js → location-nrha7cz6.js} +36 -36
- package/dist/chunks/{kv-nr9x74c1.js → location-p04155vs.js} +24 -24
- package/dist/chunks/{kv-9epfrg2r.js → location-p0waw8z6.js} +9 -9
- package/dist/chunks/{kv-m60hmjpw.js → location-p6yzb5ay.js} +7 -7
- package/dist/chunks/{kv-wawr59mw.js → location-ph6d59n1.js} +28 -28
- package/dist/chunks/{kv-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{kv-an7cqtb7.js → location-pmr4s4kc.js} +4 -4
- package/dist/chunks/{kv-7c21gvyv.js → location-prjd7rz0.js} +151 -151
- package/dist/chunks/{kv-gj8036k9.js → location-q11djy6h.js} +32 -32
- package/dist/chunks/{kv-tj8gy5c5.js → location-qf24q2gc.js} +15 -15
- package/dist/chunks/{kv-qgn6gcr1.js → location-qgn6gcr1.js} +1 -1
- package/dist/chunks/{kv-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-1r3zydfx.js → location-qwnjk9y7.js} +4 -4
- package/dist/chunks/{kv-rynqx63d.js → location-qypgck77.js} +37 -37
- package/dist/chunks/{kv-zjvrjqxt.js → location-qz1nk4mn.js} +7 -7
- package/dist/chunks/{kv-rp8jz6x1.js → location-r33ff4dw.js} +6 -6
- package/dist/chunks/{kv-twy610cz.js → location-r6mjjjfn.js} +18 -18
- package/dist/chunks/{kv-r8dhm0tv.js → location-r8dhm0tv.js} +1 -1
- package/dist/chunks/{kv-m3fm0fm8.js → location-r9hy8h05.js} +5 -5
- package/dist/chunks/{kv-bw6y50md.js → location-rae26gbb.js} +8 -8
- package/dist/chunks/{kv-wgxn7ww3.js → location-re9ss62v.js} +4 -4
- package/dist/chunks/{kv-rkjw441a.js → location-rh86c5k9.js} +293 -293
- package/dist/chunks/{kv-r0keqwvg.js → location-rvfzszgw.js} +20 -20
- package/dist/chunks/{kv-3z7ymfy8.js → location-rxwhsv4j.js} +11 -11
- package/dist/chunks/{kv-vy051p0e.js → location-s97jcm3f.js} +11 -11
- package/dist/chunks/{kv-gcn4jvqh.js → location-sa86hhh4.js} +46 -46
- package/dist/chunks/{kv-sba4qhjf.js → location-sba4qhjf.js} +1 -1
- package/dist/chunks/{kv-hhxcwp9f.js → location-sjtc86f5.js} +31 -31
- package/dist/chunks/{kv-8fgv5w73.js → location-sjv0717j.js} +18 -18
- package/dist/chunks/{kv-xqsy6kp0.js → location-sms1b131.js} +1 -1
- package/dist/chunks/location-sw98rrvn.js +247 -0
- package/dist/chunks/{kv-bvz5j511.js → location-sx35gfrx.js} +15 -15
- package/dist/chunks/{kv-rz1r1rv7.js → location-t54a95zk.js} +15 -15
- package/dist/chunks/{kv-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-89znhe33.js → location-tcezcvh9.js} +4 -4
- package/dist/chunks/{kv-2bac7mmh.js → location-tenhjnm9.js} +15 -15
- package/dist/chunks/{kv-pa8bv90n.js → location-th1g352w.js} +27 -27
- package/dist/chunks/{kv-ykcesz1b.js → location-thcxaxg6.js} +4 -4
- package/dist/chunks/{kv-xxzj7qcx.js → location-thpc82ks.js} +6 -6
- package/dist/chunks/{kv-tjykrgmx.js → location-tjykrgmx.js} +1 -1
- package/dist/chunks/{kv-jhf9a7kk.js → location-tmxppmmw.js} +62 -62
- package/dist/chunks/{kv-jq2whtdt.js → location-ttxh07c1.js} +11 -11
- package/dist/chunks/{kv-pk502bdp.js → location-tv6ed4t8.js} +16 -16
- package/dist/chunks/{kv-py42k196.js → location-tvtwyg9m.js} +4 -4
- package/dist/chunks/{kv-12fnx30g.js → location-v5x978b2.js} +5 -5
- package/dist/chunks/{kv-xw8eq9f1.js → location-v6ghzfeb.js} +5 -5
- package/dist/chunks/{kv-yms21qcc.js → location-v7n4f447.js} +17 -17
- package/dist/chunks/{kv-kd8v050h.js → location-vke5y7t4.js} +12 -12
- package/dist/chunks/{kv-wgfc0hft.js → location-vqvq0533.js} +6 -6
- package/dist/chunks/{kv-qcz5xzee.js → location-vrngk91y.js} +29 -29
- package/dist/chunks/{kv-xf5bdvwx.js → location-w1bqf0dm.js} +18 -18
- package/dist/chunks/{kv-sv33epe9.js → location-w1s1ra18.js} +6 -6
- package/dist/chunks/{kv-y6nt3k22.js → location-w1s907pf.js} +2 -2
- package/dist/chunks/{kv-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-5y6pdc3x.js → location-wb29ggtc.js} +9 -9
- package/dist/chunks/{kv-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{kv-h5rg6ge7.js → location-wksq6qf1.js} +32 -32
- package/dist/chunks/{kv-yhh6951v.js → location-wvgh3gdf.js} +8 -8
- package/dist/chunks/{kv-f1kgb3zy.js → location-wzv8aag1.js} +11 -11
- package/dist/chunks/{kv-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-4ga6yzkg.js → location-xj1dwba3.js} +23 -23
- package/dist/chunks/{kv-31fmz1fp.js → location-xk03nspc.js} +20 -20
- package/dist/chunks/{kv-kwvtfp1b.js → location-xnxd0px6.js} +10 -10
- package/dist/chunks/{kv-m4p2ftrf.js → location-xwm8he1j.js} +13 -13
- package/dist/chunks/{kv-496a646b.js → location-y04krdpn.js} +15 -15
- package/dist/chunks/{kv-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-e5b0qn1c.js → location-y6apgg1j.js} +1 -1
- package/dist/chunks/{kv-y71avatq.js → location-y71avatq.js} +1 -1
- package/dist/chunks/location-ydckrtmx.js +18 -0
- package/dist/chunks/{kv-ffs8r943.js → location-yfnsbj1e.js} +13 -13
- package/dist/chunks/{kv-qqz1053v.js → location-yhe302t1.js} +66 -66
- package/dist/chunks/{kv-6e958v7x.js → location-yhr218qz.js} +4 -4
- package/dist/chunks/{kv-mqyp5gdj.js → location-yj4j1qeh.js} +18 -18
- package/dist/chunks/{kv-4rsfp5k5.js → location-yw1nvbcs.js} +3 -3
- package/dist/chunks/{kv-djkavt39.js → location-z05r840e.js} +23 -23
- package/dist/chunks/{kv-z1k01bn4.js → location-z1k01bn4.js} +2 -2
- package/dist/chunks/{kv-zn2pq4p8.js → location-z3jc06sm.js} +5 -5
- package/dist/chunks/{kv-xczcj508.js → location-zdj4gqfz.js} +29 -29
- package/dist/chunks/{kv-zgne66ps.js → location-zdyy6p88.js} +30 -30
- package/dist/chunks/{kv-afs1gfwh.js → location-ztyxqxtg.js} +9 -9
- package/dist/chunks/{kv-ry7mz5fv.js → location-zxkvh7j1.js} +17 -17
- package/dist/chunks/{kv-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- 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 +114 -114
- package/dist/config/plugin/command.js +205 -205
- 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 +114 -114
- package/dist/config/plugin/mcp.js +123 -123
- 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 +110 -110
- 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 +80 -80
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +77 -77
- 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 +1 -1
- 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 +218 -218
- 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 +9 -9
- package/dist/filesystem.js +100 -100
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +86 -86
- 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 +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +77 -77
- 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 +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +346 -346
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +100 -100
- 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 +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- 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 +96 -96
- package/dist/plugin/command.js +93 -93
- 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 +7 -7
- package/dist/plugin/optimize.js +21 -0
- 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 +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 +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +80 -80
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- 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 +84 -84
- 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 +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +123 -123
- 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 +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- 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 +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 +117 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +3 -3
- 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 +73 -73
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +216 -216
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +86 -86
- 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 +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- 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/types/plugin/{system-prompt.d.ts → optimize.d.ts} +4 -2
- 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 +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- 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 +83 -83
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +75 -75
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +7 -7
- package/dist/chunks/kv-dh0q6p2e.js +0 -247
- package/dist/chunks/kv-n6k242f4.js +0 -18
- package/dist/chunks/kv-w3vb4krt.js +0 -4
- package/dist/plugin/system-prompt.js +0 -17
- /package/dist/chunks/{kv-0fabt78z.js → location-0fabt78z.js} +0 -0
- /package/dist/chunks/{kv-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3t738kvx.js → location-3t738kvx.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-41nvscxy.js → location-41nvscxy.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-982e01ww.js → location-982e01ww.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a1tpkmh4.js → location-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-j935v87r.js → location-j935v87r.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mntxs535.js → location-mntxs535.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-p8qxwesx.js → location-p8qxwesx.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-se0s1eqw.js → location-se0s1eqw.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x1b8g1yb.js → location-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → location-z9919s4g.js} +0 -0
- /package/dist/chunks/{kv-zbjnn3ac.js → location-zbjnn3ac.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/provider.ts
|
|
6
6
|
var exports_provider3 = {};
|
|
7
7
|
__export(exports_provider3, {
|
|
8
8
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
9
|
-
ID: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ID: () => ID16,
|
|
10
|
+
Info: () => Info30,
|
|
11
11
|
LoadError: () => LoadError3,
|
|
12
12
|
Provider: () => exports_provider3,
|
|
13
13
|
Request: () => Request3,
|
|
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
|
|
|
23
23
|
import { Provider } from "@opencode-ai/schema/provider";
|
|
24
24
|
import { isRecord } from "@opencode-ai/ai/utils/record";
|
|
25
25
|
import { importModule, resolveModule } from "@opencode-ai/util/runtime-import";
|
|
26
|
-
var
|
|
26
|
+
var ID16 = Provider.ID;
|
|
27
27
|
var AISDK_PREFIX2 = "aisdk:";
|
|
28
28
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
29
29
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -137,7 +137,7 @@ function mergeHeaders2(base, overlay) {
|
|
|
137
137
|
}
|
|
138
138
|
var Request3 = Provider.Request;
|
|
139
139
|
var Settings2 = Provider.Settings;
|
|
140
|
-
var
|
|
140
|
+
var Info30 = Provider.Info;
|
|
141
141
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
142
142
|
const module = yield* Effect.tryPromise({
|
|
143
143
|
try: () => {
|
|
@@ -159,4 +159,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
159
159
|
return module;
|
|
160
160
|
});
|
|
161
161
|
|
|
162
|
-
export {
|
|
162
|
+
export { ID16, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info30, exports_provider3 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-5wca7bce.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service41,
|
|
7
|
+
node45
|
|
8
|
+
} from "./location-b53d63he.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service50,
|
|
11
|
+
node54
|
|
12
|
+
} from "./location-682nnvw5.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service47,
|
|
15
|
+
node51
|
|
16
|
+
} from "./location-m538xkc9.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service39,
|
|
26
|
+
layer: () => layer16,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node43
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
32
32
|
import { McpEvent } from "@opencode-ai/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service39 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer16 = Layer.effect(Service39, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service41;
|
|
42
|
+
const tools = yield* Service47;
|
|
43
|
+
const bus = yield* Service79;
|
|
44
|
+
const permission = yield* Service50;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -62,7 +62,7 @@ var layer13 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
62
62
|
output: tool.outputSchema ?? {},
|
|
63
63
|
execute: (input, context) => Effect.gen(function* () {
|
|
64
64
|
yield* permission.assert({
|
|
65
|
-
action:
|
|
65
|
+
action: name14(tool.server, tool.name),
|
|
66
66
|
resources: ["*"],
|
|
67
67
|
save: ["*"],
|
|
68
68
|
metadata: {},
|
|
@@ -99,7 +99,7 @@ var layer13 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
99
99
|
output: result.structured ?? (text === "" ? null : text),
|
|
100
100
|
...content.length === 0 ? {} : { content }
|
|
101
101
|
};
|
|
102
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
102
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
});
|
|
@@ -112,12 +112,12 @@ var layer13 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
112
112
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
113
113
|
const updates = yield* PubSub.subscribe(changes);
|
|
114
114
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
115
|
-
return
|
|
115
|
+
return Service39.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
116
116
|
}));
|
|
117
|
-
var
|
|
118
|
-
service:
|
|
119
|
-
layer:
|
|
120
|
-
deps: [
|
|
117
|
+
var node43 = makeLocationNode({
|
|
118
|
+
service: Service39,
|
|
119
|
+
layer: layer16,
|
|
120
|
+
deps: [node51, node45, node84, node54]
|
|
121
121
|
});
|
|
122
122
|
|
|
123
|
-
export { namespace2,
|
|
123
|
+
export { namespace2, name14, Service39, layer16, node43, exports_mcp3 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-s97jcm3f.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service77
|
|
7
|
+
} from "./location-4dqndjrv.js";
|
|
8
8
|
import {
|
|
9
9
|
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-apnx2qk7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID16
|
|
14
|
+
} from "./location-bve5bdy4.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID16.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -68,7 +68,7 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
71
|
+
const credentials = yield* Service77;
|
|
72
72
|
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
Info30
|
|
5
|
+
} from "./location-bve5bdy4.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Info29
|
|
8
|
+
} from "./location-f9anq697.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node84
|
|
12
|
+
} from "./location-5wca7bce.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
17
|
ID14,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node81
|
|
20
|
+
} from "./location-apnx2qk7.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
29
|
Event: () => Event17,
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
30
|
+
Service: () => Service75,
|
|
31
|
+
node: () => node80
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode-ai/schema/catalog";
|
|
36
36
|
import { Event as Event17 } from "@opencode-ai/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service75 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
41
|
-
const bus = yield*
|
|
42
|
-
const integrations = yield*
|
|
40
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
41
|
+
const bus = yield* Service79;
|
|
42
|
+
const integrations = yield* Service76;
|
|
43
43
|
const available = (provider, integration) => {
|
|
44
44
|
if (provider.activation === "disabled")
|
|
45
45
|
return false;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
71
71
|
let current = editor.providers.get(providerID);
|
|
72
72
|
if (!current) {
|
|
73
73
|
current = {
|
|
74
|
-
provider:
|
|
74
|
+
provider: Info30.empty(providerID),
|
|
75
75
|
models: new Map
|
|
76
76
|
};
|
|
77
77
|
editor.providers.set(providerID, current);
|
|
@@ -89,12 +89,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
89
89
|
let record = editor.providers.get(providerID);
|
|
90
90
|
if (!record) {
|
|
91
91
|
record = {
|
|
92
|
-
provider:
|
|
92
|
+
provider: Info30.empty(providerID),
|
|
93
93
|
models: new Map
|
|
94
94
|
};
|
|
95
95
|
editor.providers.set(providerID, record);
|
|
96
96
|
}
|
|
97
|
-
const model = record.models.get(modelID) ??
|
|
97
|
+
const model = record.models.get(modelID) ?? Info29.default(providerID, modelID);
|
|
98
98
|
if (!record.models.has(modelID))
|
|
99
99
|
record.models.set(modelID, model);
|
|
100
100
|
fn(model);
|
|
@@ -183,9 +183,9 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
183
183
|
})
|
|
184
184
|
}
|
|
185
185
|
};
|
|
186
|
-
return
|
|
186
|
+
return Service75.of(result);
|
|
187
187
|
}));
|
|
188
188
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
189
|
-
var
|
|
189
|
+
var node80 = makeLocationNode({ service: Service75, layer, deps: [node84, node81] });
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Service75, node80, exports_catalog2, Event17 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service76
|
|
4
|
+
} from "./location-apnx2qk7.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-bve5bdy4.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -13,7 +13,7 @@ import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
|
13
13
|
var LLMGatewayPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.llmgateway",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
16
|
-
const integrations = yield*
|
|
16
|
+
const integrations = yield* Service76;
|
|
17
17
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
18
18
|
yield* ctx.catalog.transform((evt) => {
|
|
19
19
|
for (const item of evt.provider.list()) {
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-5wca7bce.js";
|
|
5
5
|
import {
|
|
6
6
|
llmClient2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-0e0xafbb.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionEvent2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mntxs535.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-kg06axw8.js";
|
|
14
14
|
import {
|
|
15
15
|
toLLMMessages2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-zbjnn3ac.js";
|
|
17
17
|
import {
|
|
18
18
|
baseTranscript2,
|
|
19
19
|
unsupportedParts2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-sjtc86f5.js";
|
|
21
21
|
import {
|
|
22
22
|
isRetryable2,
|
|
23
23
|
policy2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-je9hks3h.js";
|
|
25
25
|
import {
|
|
26
26
|
toSessionError2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-fdhdqrxd.js";
|
|
28
28
|
import {
|
|
29
29
|
estimate2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-h6vf3j39.js";
|
|
31
31
|
import {
|
|
32
32
|
record2,
|
|
33
33
|
add2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-tjykrgmx.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./location-9rqn6x4v.js";
|
|
38
38
|
|
|
39
39
|
// src/session/compaction.ts
|
|
40
40
|
var exports_compaction2 = {};
|
|
@@ -43,7 +43,7 @@ __export(exports_compaction2, {
|
|
|
43
43
|
SessionCompaction: () => exports_compaction2,
|
|
44
44
|
buildPrompt: () => buildPrompt2,
|
|
45
45
|
estimateTokens: () => estimateTokens2,
|
|
46
|
-
layer: () =>
|
|
46
|
+
layer: () => layer7,
|
|
47
47
|
node: () => node11,
|
|
48
48
|
serializeToolContent: () => serializeToolContent2,
|
|
49
49
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -262,8 +262,8 @@ var buildPrompt2 = (update) => {
|
|
|
262
262
|
};
|
|
263
263
|
var hasSummarySection = (summary) => summary.split(`
|
|
264
264
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
265
|
-
var
|
|
266
|
-
const bus = yield*
|
|
265
|
+
var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
266
|
+
const bus = yield* Service79;
|
|
267
267
|
const llm = yield* LLMClient.Service;
|
|
268
268
|
const state = create3({
|
|
269
269
|
name: "session-compaction",
|
|
@@ -490,8 +490,8 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
490
490
|
}));
|
|
491
491
|
var node11 = makeLocationNode({
|
|
492
492
|
service: Service8,
|
|
493
|
-
layer:
|
|
494
|
-
deps: [
|
|
493
|
+
layer: layer7,
|
|
494
|
+
deps: [node84, llmClient2]
|
|
495
495
|
});
|
|
496
496
|
|
|
497
|
-
export { Service8, estimateTokens2, truncateToolOutput2, serializeToolContent2, buildPrompt2,
|
|
497
|
+
export { Service8, estimateTokens2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node11, exports_compaction2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service58
|
|
4
|
+
} from "./location-dftw4z4t.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./location-h2r6zf7a.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell = {};
|
|
17
|
+
__export(exports_shell, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell,
|
|
19
|
+
Plugin: () => Plugin18
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin18 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service58;
|
|
27
|
+
const shell = yield* Service66;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin30 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin18, exports_shell };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9qm9egsn.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-5wca7bce.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event19,
|
|
7
|
+
Service77,
|
|
8
|
+
node82
|
|
9
|
+
} from "./location-4dqndjrv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service59,
|
|
12
|
+
node63
|
|
13
|
+
} from "./location-mswj03b3.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-p8qxwesx.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service68,
|
|
19
|
+
node73
|
|
20
|
+
} from "./location-5ktyes22.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-kvsjn1dr.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-79x7mafq.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-neh68hxw.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-0s9ayhjt.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
35
|
+
Service64,
|
|
36
36
|
Event13,
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
node69
|
|
38
|
+
} from "./location-ek2fqqy0.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
47
|
Options: () => Options6,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service58,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured7,
|
|
51
51
|
latest: () => latest2,
|
|
52
52
|
layer: () => layer19,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node62,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -78,7 +78,7 @@ var Options6 = Schema.Struct({
|
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service58 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service58, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var layer19 = (options) => Layer.effect(
|
|
97
|
+
var layer19 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const location = yield*
|
|
100
|
-
const watcher = yield*
|
|
101
|
-
const bus = yield*
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
99
|
+
const location = yield* Service68;
|
|
100
|
+
const watcher = yield* Service59;
|
|
101
|
+
const bus = yield* Service79;
|
|
102
|
+
const credentials = yield* Service77;
|
|
103
|
+
const wellknown = yield* Service64;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -168,7 +168,7 @@ var layer19 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
168
168
|
});
|
|
169
169
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
170
170
|
return [
|
|
171
|
-
...yield* Effect.forEach(
|
|
171
|
+
...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
172
172
|
new Directory({ type: "directory", path: directory })
|
|
173
173
|
];
|
|
174
174
|
});
|
|
@@ -223,7 +223,7 @@ var layer19 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
223
223
|
}, (effect) => reloadLock.withPermit(effect));
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
227
227
|
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
@@ -235,20 +235,20 @@ var layer19 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service58.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
242
242
|
changes: () => Stream.fromPubSub(updates)
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
function
|
|
245
|
+
function configured7(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
247
|
+
service: Service58,
|
|
248
248
|
layer: layer19(options),
|
|
249
|
-
deps: [
|
|
249
|
+
deps: [node63, node84, FSUtil.node, Global.node, node73, node82, node69]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node62 = configured7();
|
|
253
253
|
|
|
254
|
-
export { latest2, Options6,
|
|
254
|
+
export { latest2, Options6, Service58, Test2, testLayer2, layer19, configured7, node62, exports_config };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make14
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make14 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -79,4 +79,4 @@ var make15 = (options) => Effect.gen(function* () {
|
|
|
79
79
|
return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { make14, exports_run_coordinator };
|