@opencode-ai/core 0.0.0-dev-19173 → 0.0.0-dev-19178
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/{pty-g3wwtpwc.js → kv-07pjb4yj.js} +8 -8
- package/dist/chunks/{pty-4cv9f4xd.js → kv-0drwrr20.js} +18 -18
- package/dist/chunks/{pty-0e0xafbb.js → kv-0e0xafbb.js} +2 -2
- package/dist/chunks/{pty-x2bc45f6.js → kv-0kj443hm.js} +5 -5
- package/dist/chunks/{pty-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-795x97jf.js → kv-0pz84dxy.js} +9 -9
- package/dist/chunks/{pty-0s9ayhjt.js → kv-0s9ayhjt.js} +1 -1
- package/dist/chunks/{pty-47k6q3bb.js → kv-12fnx30g.js} +8 -8
- package/dist/chunks/{pty-0e772669.js → kv-14hmenm3.js} +3 -3
- package/dist/chunks/{pty-ckat2zwp.js → kv-14mbnhb1.js} +6 -6
- package/dist/chunks/{pty-hy45d0wx.js → kv-16yc1m91.js} +11 -11
- package/dist/chunks/{pty-1ct4r87x.js → kv-1ct4r87x.js} +1 -1
- package/dist/chunks/{pty-twhbvx3p.js → kv-1mg2yz7f.js} +3 -3
- package/dist/chunks/{pty-mjz8v7j0.js → kv-1r3zydfx.js} +4 -4
- package/dist/chunks/{pty-21r38tys.js → kv-21r38tys.js} +1 -1
- package/dist/chunks/{pty-js4d4dxf.js → kv-238pagf0.js} +2 -2
- package/dist/chunks/{pty-6h73sxmp.js → kv-2402vzrj.js} +5 -5
- package/dist/chunks/{pty-z63w68vq.js → kv-29x78va6.js} +6 -6
- package/dist/chunks/{pty-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-5bhgc7xv.js → kv-2bac7mmh.js} +15 -15
- package/dist/chunks/{pty-2ht70gj7.js → kv-2ht70gj7.js} +1 -1
- package/dist/chunks/{pty-agqvteqs.js → kv-2stffz79.js} +21 -21
- package/dist/chunks/{pty-e9dn8ye0.js → kv-2v1h19tk.js} +6 -6
- package/dist/chunks/{pty-n5e0mvgx.js → kv-31fmz1fp.js} +23 -23
- package/dist/chunks/{pty-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-btc4hvws.js → kv-3g2y1byn.js} +5 -5
- package/dist/chunks/{pty-9srbvtnp.js → kv-3gfsa2we.js} +18 -18
- package/dist/chunks/{pty-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-3qzbfqsy.js → kv-3qzbfqsy.js} +2 -2
- package/dist/chunks/{pty-3bdhpy4d.js → kv-3rdd7m9r.js} +21 -21
- package/dist/chunks/{pty-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-j4bwgw4b.js → kv-3wfq9j39.js} +14 -14
- package/dist/chunks/{pty-j7hcs84d.js → kv-3z7ymfy8.js} +11 -11
- package/dist/chunks/{pty-454k5vzh.js → kv-454k5vzh.js} +1 -1
- package/dist/chunks/{pty-3k79xy7t.js → kv-496a646b.js} +15 -15
- package/dist/chunks/{pty-r0f40ks0.js → kv-4ga6yzkg.js} +27 -27
- package/dist/chunks/{pty-a92fabfr.js → kv-4qf6hhyh.js} +9 -9
- package/dist/chunks/{pty-4r2nyarf.js → kv-4r2nyarf.js} +1 -1
- package/dist/chunks/{pty-fa23b81s.js → kv-4rsfp5k5.js} +5 -5
- package/dist/chunks/{pty-c2s86k7e.js → kv-4z6b0fg6.js} +6 -6
- package/dist/chunks/{pty-3kv6khp1.js → kv-57w39xht.js} +5 -5
- package/dist/chunks/{pty-g75wm5bg.js → kv-599cnyq5.js} +29 -29
- package/dist/chunks/{pty-5daktx2q.js → kv-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-5fmxt4p5.js → kv-5fmxt4p5.js} +1 -1
- package/dist/chunks/{pty-j7ped6hz.js → kv-5g0p4mxq.js} +26 -26
- package/dist/chunks/{pty-vbv643qx.js → kv-5ggkvp9f.js} +9 -9
- package/dist/chunks/{pty-snc6smv8.js → kv-5gqcqfwy.js} +18 -18
- package/dist/chunks/{pty-5jvc5tg2.js → kv-5jvc5tg2.js} +1 -1
- package/dist/chunks/{pty-pgqf2fs8.js → kv-5k3f87xj.js} +1 -1
- package/dist/chunks/{pty-1f7ccf2p.js → kv-5pdq8qgg.js} +6 -6
- package/dist/chunks/{pty-jrpapbxf.js → kv-5wnbjqvg.js} +17 -17
- package/dist/chunks/{pty-m686xbyy.js → kv-5y6pdc3x.js} +9 -9
- package/dist/chunks/{pty-nnp2759g.js → kv-605y5xjw.js} +13 -13
- package/dist/chunks/{pty-42fxgygn.js → kv-65yprxq5.js} +6 -6
- package/dist/chunks/{pty-rktjfj3k.js → kv-676wedsd.js} +20 -20
- package/dist/chunks/{pty-p32d7zzt.js → kv-68dvzq1z.js} +5 -5
- package/dist/chunks/{pty-0g1jdj53.js → kv-69pzhmr6.js} +28 -28
- package/dist/chunks/{pty-6z5bwd8g.js → kv-6abnk40k.js} +9 -9
- package/dist/chunks/{pty-mtcjf44p.js → kv-6e958v7x.js} +4 -4
- package/dist/chunks/{pty-s6ymxyzv.js → kv-6enr500s.js} +6 -6
- package/dist/chunks/{pty-c7tgvdzj.js → kv-6gz15wwc.js} +36 -36
- package/dist/chunks/{pty-qm0v3jhh.js → kv-6hh8tjw2.js} +7 -7
- package/dist/chunks/{pty-t54hfqtt.js → kv-6nmsy562.js} +4 -4
- package/dist/chunks/{pty-hydvtqtc.js → kv-6xz6dfh8.js} +35 -35
- package/dist/chunks/{pty-711hfp6y.js → kv-711hfp6y.js} +2 -2
- package/dist/chunks/{pty-72nftnjy.js → kv-72nftnjy.js} +2 -2
- package/dist/chunks/{pty-27cy7znn.js → kv-7a2871xe.js} +6 -6
- package/dist/chunks/{pty-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-5jh1sprz.js → kv-7c21gvyv.js} +178 -178
- package/dist/chunks/{pty-nez52ejm.js → kv-7cnkxtbd.js} +9 -9
- package/dist/chunks/{pty-qx4mzfcc.js → kv-7hmj7g9f.js} +17 -17
- package/dist/chunks/{pty-eekp03xz.js → kv-7n2xhmm7.js} +7 -7
- package/dist/chunks/{pty-pjzvknbe.js → kv-7r35fj82.js} +46 -46
- package/dist/chunks/{pty-ghjew0fg.js → kv-868x4neb.js} +9 -9
- package/dist/chunks/{pty-v86v6hh1.js → kv-86s3977f.js} +1 -1
- package/dist/chunks/{pty-89znhe33.js → kv-89znhe33.js} +1 -1
- package/dist/chunks/{pty-q98e8ctt.js → kv-8fgv5w73.js} +14 -14
- package/dist/chunks/{pty-93a8yfjt.js → kv-93a8yfjt.js} +2 -2
- package/dist/chunks/{pty-e5w0frp6.js → kv-9epfrg2r.js} +8 -8
- package/dist/chunks/{pty-q6affv31.js → kv-9kbmc1bn.js} +10 -10
- package/dist/chunks/{pty-xv6rm4x2.js → kv-9q10gh9c.js} +11 -11
- package/dist/chunks/{pty-9qm9egsn.js → kv-9qm9egsn.js} +2 -2
- package/dist/chunks/{pty-aaet6srn.js → kv-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-nsb2bjtz.js → kv-afs1gfwh.js} +9 -9
- package/dist/chunks/{pty-3bk28qgk.js → kv-aj9ffb68.js} +10 -10
- package/dist/chunks/{pty-ajtjthsy.js → kv-ajtjthsy.js} +2 -2
- package/dist/chunks/{pty-00z3vp5f.js → kv-an7cqtb7.js} +4 -4
- package/dist/chunks/{pty-885bgk82.js → kv-ayqzvvm1.js} +8 -8
- package/dist/chunks/{pty-hc93tgr1.js → kv-b1cc60s2.js} +41 -41
- package/dist/chunks/{pty-f2vpb3bg.js → kv-b2nzchm7.js} +11 -11
- package/dist/chunks/{pty-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-b9wsbatv.js → kv-b9wsbatv.js} +1 -1
- package/dist/chunks/{pty-rhk22a8q.js → kv-baw8dctm.js} +13 -13
- package/dist/chunks/{pty-0hvb2nf8.js → kv-bv80vwep.js} +16 -16
- package/dist/chunks/{pty-95zhbw9r.js → kv-bvz5j511.js} +15 -15
- package/dist/chunks/{pty-m75mcjf9.js → kv-bw6y50md.js} +8 -8
- package/dist/chunks/{pty-mw3zcnx5.js → kv-cq9zegd4.js} +3 -3
- package/dist/chunks/{pty-g2fgb7sn.js → kv-cxmh4q5b.js} +4 -4
- package/dist/chunks/{pty-44zne82a.js → kv-d09b090m.js} +8 -8
- package/dist/chunks/{pty-920gn045.js → kv-d4cb5k3p.js} +8 -8
- package/dist/chunks/{pty-d72308c8.js → kv-d72308c8.js} +2 -2
- package/dist/chunks/{pty-adq4trrh.js → kv-db49mgn0.js} +21 -21
- package/dist/chunks/{pty-39zpmefd.js → kv-dcspmnv1.js} +32 -32
- package/dist/chunks/{pty-229n223y.js → kv-dctx0khx.js} +32 -32
- package/dist/chunks/kv-dh0q6p2e.js +247 -0
- package/dist/chunks/{pty-hv1w3vyq.js → kv-dhqg8tcb.js} +9 -9
- package/dist/chunks/{pty-qk456gnd.js → kv-djkavt39.js} +24 -24
- package/dist/chunks/{pty-9p5wwx95.js → kv-dmqmcw2r.js} +41 -41
- package/dist/chunks/{pty-6dj4wchm.js → kv-e10cy4w0.js} +29 -29
- package/dist/chunks/{pty-nbmnd9cx.js → kv-e2jdrf4x.js} +23 -23
- package/dist/chunks/{pty-0e01nj6k.js → kv-e5b0qn1c.js} +1 -1
- package/dist/chunks/{pty-yqr5arb9.js → kv-ephmsh67.js} +24 -24
- package/dist/chunks/{pty-6wv9sdr8.js → kv-erz98jwc.js} +32 -32
- package/dist/chunks/{pty-at2ecxq3.js → kv-f1kgb3zy.js} +17 -17
- package/dist/chunks/{pty-28f1y114.js → kv-ffs8r943.js} +13 -13
- package/dist/chunks/{pty-7ngn7mvv.js → kv-fhgm40mk.js} +4 -4
- package/dist/chunks/{pty-qfs8az97.js → kv-fs7t3exj.js} +11 -11
- package/dist/chunks/{pty-e38w1s41.js → kv-fv8a344a.js} +8 -8
- package/dist/chunks/{pty-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-fxypknc8.js → kv-fxypknc8.js} +1 -1
- package/dist/chunks/{pty-1n116cmy.js → kv-fz1pdqz4.js} +9 -9
- package/dist/chunks/{pty-7vtvr31n.js → kv-fzf7e7x1.js} +43 -43
- package/dist/chunks/{pty-034xe7ps.js → kv-g41n1fn3.js} +5 -5
- package/dist/chunks/{pty-ewr8avhk.js → kv-g54w6h1q.js} +15 -15
- package/dist/chunks/{pty-1kqw4rdd.js → kv-gcn4jvqh.js} +43 -43
- package/dist/chunks/{pty-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-584xbtr7.js → kv-gfvkvwrv.js} +28 -28
- package/dist/chunks/{pty-qhpqdgv6.js → kv-gj8036k9.js} +34 -34
- package/dist/chunks/{pty-j18aeme6.js → kv-h1f297k2.js} +18 -18
- package/dist/chunks/{pty-kehgt38c.js → kv-h5rg6ge7.js} +30 -30
- package/dist/chunks/{pty-n2dx2xaf.js → kv-h625df0a.js} +12 -12
- package/dist/chunks/{pty-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-60njtda4.js → kv-h73jd86c.js} +24 -24
- package/dist/chunks/{pty-heyhwy2w.js → kv-heyhwy2w.js} +1 -1
- package/dist/chunks/{pty-xahd2mgy.js → kv-hhxcwp9f.js} +29 -29
- package/dist/chunks/{pty-6pvvrh2h.js → kv-hjrjbgez.js} +5 -5
- package/dist/chunks/{pty-hrvm11jt.js → kv-hrvm11jt.js} +3 -3
- package/dist/chunks/{pty-bbpqbves.js → kv-hv4p2p21.js} +24 -24
- package/dist/chunks/{pty-kfv3m3yk.js → kv-hw73h5pz.js} +37 -37
- package/dist/chunks/{pty-dsa3zh6h.js → kv-hzecryb5.js} +18 -18
- package/dist/chunks/{pty-paphc93g.js → kv-j935v87r.js} +2 -2
- package/dist/chunks/{pty-2e5bqtpa.js → kv-jg1zcjqp.js} +35 -35
- package/dist/chunks/{pty-kxq1x6r5.js → kv-jhf9a7kk.js} +64 -64
- package/dist/chunks/{pty-tmr8q769.js → kv-jm1tdwje.js} +16 -16
- package/dist/chunks/{pty-6vbgb2w8.js → kv-jq2whtdt.js} +11 -11
- package/dist/chunks/{pty-ccfsy1h3.js → kv-js3p9a9k.js} +11 -11
- package/dist/chunks/{pty-05rkf16m.js → kv-jy629emf.js} +13 -13
- package/dist/chunks/{pty-k4bwy1x5.js → kv-k4bwy1x5.js} +1 -1
- package/dist/chunks/{pty-3gq0vy0h.js → kv-k6fnztft.js} +2 -2
- package/dist/chunks/{pty-zsky2and.js → kv-k7dwhv72.js} +18 -18
- package/dist/chunks/{pty-4gnp7s9d.js → kv-k8x9vhm8.js} +11 -11
- package/dist/chunks/{pty-anbsaymy.js → kv-kd8v050h.js} +12 -12
- package/dist/chunks/{pty-pcvxjvjj.js → kv-kf8thf07.js} +28 -28
- package/dist/chunks/{pty-kg06axw8.js → kv-kg06axw8.js} +1 -1
- package/dist/chunks/{pty-hw4pv20g.js → kv-kvsjn1dr.js} +2 -2
- package/dist/chunks/{pty-c2bqpta2.js → kv-kw3wy51s.js} +43 -43
- package/dist/chunks/{pty-rb27xt0t.js → kv-kwvtfp1b.js} +10 -10
- package/dist/chunks/{pty-5fnfwqar.js → kv-m3fm0fm8.js} +5 -5
- package/dist/chunks/{pty-9tv260m8.js → kv-m4p2ftrf.js} +13 -13
- package/dist/chunks/{pty-42tkewwq.js → kv-m60hmjpw.js} +4 -4
- package/dist/chunks/{pty-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-n2hm0s76.js → kv-mav5hcv8.js} +27 -27
- package/dist/chunks/{pty-50sdxj4q.js → kv-mcxg6pmm.js} +1 -1
- package/dist/chunks/{pty-czptf2ey.js → kv-mdnhxyz2.js} +11 -11
- package/dist/chunks/{pty-xd6am0g0.js → kv-mfe1qetb.js} +16 -16
- package/dist/chunks/{pty-jaxg81k6.js → kv-mn48t6tr.js} +17 -17
- package/dist/chunks/kv-mq1xgkyh.js +22 -0
- package/dist/chunks/{pty-2e2d6q87.js → kv-mqds9z8y.js} +28 -28
- package/dist/chunks/{pty-t15q1rjz.js → kv-mqyp5gdj.js} +20 -20
- package/dist/chunks/{pty-pa8g9c14.js → kv-mwvt73nw.js} +46 -46
- package/dist/chunks/{pty-pn7b7v58.js → kv-mxs1xwvp.js} +9 -9
- package/dist/chunks/{pty-n38qs1ar.js → kv-n38qs1ar.js} +2 -2
- package/dist/chunks/{pty-sa79eh7w.js → kv-n6a7rk8g.js} +24 -24
- package/dist/chunks/kv-n6k242f4.js +18 -0
- package/dist/chunks/{pty-xza2q296.js → kv-n7731ngr.js} +13 -13
- package/dist/chunks/{pty-k2rh24n9.js → kv-nkkerv85.js} +10 -10
- package/dist/chunks/{pty-xtm2ympe.js → kv-npzt3p1j.js} +15 -15
- package/dist/chunks/{pty-c0w37k4q.js → kv-nr9x74c1.js} +24 -24
- package/dist/chunks/{pty-jfbxega8.js → kv-p198ap2v.js} +33 -33
- package/dist/chunks/{pty-e1yeq7kc.js → kv-p425gb1k.js} +10 -10
- package/dist/chunks/{pty-d3mwe7xz.js → kv-p66fc0fz.js} +11 -11
- package/dist/chunks/{pty-j4v8sn08.js → kv-p88s56y3.js} +24 -24
- package/dist/chunks/{pty-4xah2tk6.js → kv-pa8bv90n.js} +25 -25
- package/dist/chunks/{pty-wftjy6b7.js → kv-ph38rbv1.js} +4 -4
- package/dist/chunks/{pty-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-hcj2ya9p.js → kv-pk502bdp.js} +16 -16
- package/dist/chunks/{pty-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{pty-yt5m2mw4.js → kv-pv5nzn32.js} +5 -5
- package/dist/chunks/{pty-8q711cp6.js → kv-pwb001t0.js} +32 -32
- package/dist/chunks/{pty-6k404gxp.js → kv-py42k196.js} +4 -4
- package/dist/chunks/{pty-mhk6k3g8.js → kv-q77zht3w.js} +4 -4
- package/dist/chunks/{pty-k58vdtz8.js → kv-qcz5xzee.js} +32 -32
- package/dist/chunks/{pty-x227sajd.js → kv-qfja8fnv.js} +7 -7
- package/dist/chunks/{pty-607tc6va.js → kv-qgn6gcr1.js} +5 -5
- package/dist/chunks/{pty-zpgaey8y.js → kv-qhwr7wtz.js} +13 -13
- package/dist/chunks/{pty-59fxchxt.js → kv-qnb0t8zm.js} +59 -59
- package/dist/chunks/{pty-43nyxw14.js → kv-qnbahbj0.js} +16 -16
- package/dist/chunks/{pty-9yz748bb.js → kv-qqz1053v.js} +71 -71
- package/dist/chunks/{pty-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-qba7ejvk.js → kv-qxsy5p3f.js} +13 -13
- package/dist/chunks/{pty-ak1pjm22.js → kv-r0keqwvg.js} +23 -23
- package/dist/chunks/{pty-bcezcar3.js → kv-r5s1f9ds.js} +5 -5
- package/dist/chunks/{pty-mhkvc446.js → kv-r5x6zcsm.js} +3 -3
- package/dist/chunks/{pty-r8dhm0tv.js → kv-r8dhm0tv.js} +1 -1
- package/dist/chunks/{pty-ydjwxjd3.js → kv-rfjq507z.js} +53 -53
- package/dist/chunks/{pty-0qpy8c3h.js → kv-rk9sw2av.js} +8 -8
- package/dist/chunks/{pty-n09fkg1f.js → kv-rkjw441a.js} +302 -302
- package/dist/chunks/{pty-kxpygcw9.js → kv-rp8jz6x1.js} +4 -4
- package/dist/chunks/{pty-16r38w9g.js → kv-rvhss2m2.js} +4 -4
- package/dist/chunks/{pty-w420m8em.js → kv-ry7mz5fv.js} +15 -15
- package/dist/chunks/{pty-qsbb4ejq.js → kv-rynqx63d.js} +35 -35
- package/dist/chunks/{pty-yc4s7c8p.js → kv-rz1r1rv7.js} +20 -20
- package/dist/chunks/{pty-8ewp3a8x.js → kv-s2px886z.js} +1 -1
- package/dist/chunks/{pty-v79494tb.js → kv-s3eqpch7.js} +1 -1
- package/dist/chunks/{pty-pdvxz7zn.js → kv-s4ss2bw5.js} +51 -51
- package/dist/chunks/{pty-88nptzkr.js → kv-sb910js5.js} +20 -20
- package/dist/chunks/{pty-sba4qhjf.js → kv-sba4qhjf.js} +1 -1
- package/dist/chunks/kv-sv33epe9.js +20 -0
- package/dist/chunks/{pty-6pa79em5.js → kv-syq477mx.js} +46 -46
- package/dist/chunks/{pty-0s2shbjn.js → kv-t1bhb1bg.js} +11 -11
- package/dist/chunks/{pty-q4mk538t.js → kv-t6srx486.js} +7 -7
- package/dist/chunks/{pty-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-708tkjkz.js → kv-tgaxz472.js} +28 -28
- package/dist/chunks/{pty-dx29x28q.js → kv-tj8gy5c5.js} +17 -17
- package/dist/chunks/{pty-tjykrgmx.js → kv-tjykrgmx.js} +1 -1
- package/dist/chunks/{pty-afhjd4jv.js → kv-tq1jg9v7.js} +10 -10
- package/dist/chunks/{pty-x5n4q9yc.js → kv-ts23zk9x.js} +28 -28
- package/dist/chunks/{pty-d6kfye11.js → kv-twy610cz.js} +18 -18
- package/dist/chunks/{pty-39hnsdnv.js → kv-v1ggvvtw.js} +39 -39
- package/dist/chunks/{pty-30jr7zz1.js → kv-v2aawvfd.js} +18 -18
- package/dist/chunks/{pty-csm7mmwy.js → kv-v4bdvzd3.js} +90 -90
- package/dist/chunks/{pty-djtdz80w.js → kv-vep9yay1.js} +4 -4
- package/dist/chunks/{pty-b6xrda6h.js → kv-vq25wjhh.js} +25 -25
- package/dist/chunks/{pty-h2g666ee.js → kv-vxz8nws8.js} +11 -11
- package/dist/chunks/{pty-zfyvq2j7.js → kv-vy051p0e.js} +10 -10
- package/dist/chunks/kv-w3vb4krt.js +4 -0
- package/dist/chunks/{pty-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-tstrzs8j.js → kv-w60ndp2z.js} +36 -36
- package/dist/chunks/{pty-njfgd6ze.js → kv-w75j66fn.js} +9 -9
- package/dist/chunks/{pty-rt7tws36.js → kv-wawr59mw.js} +28 -28
- package/dist/chunks/{pty-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{pty-nx46162a.js → kv-wfvjw4z7.js} +22 -22
- package/dist/chunks/{pty-v794b4ar.js → kv-wgfc0hft.js} +9 -9
- package/dist/chunks/{pty-yjk1z796.js → kv-wgxn7ww3.js} +4 -4
- package/dist/chunks/{pty-7zv350dg.js → kv-wkz0j4q5.js} +20 -20
- package/dist/chunks/{pty-sx5qmy0w.js → kv-wrvstr67.js} +15 -15
- package/dist/chunks/{pty-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-27rbv8e3.js → kv-x3stwmqx.js} +21 -21
- package/dist/chunks/{pty-vgtfkpzm.js → kv-xczcj508.js} +31 -31
- package/dist/chunks/{pty-m1q1d0y4.js → kv-xez3q0qn.js} +91 -91
- package/dist/chunks/{pty-7ec5mhmx.js → kv-xf5bdvwx.js} +23 -23
- package/dist/chunks/{pty-45rge8j9.js → kv-xn9aqqx6.js} +10 -10
- package/dist/chunks/{pty-9yc3kf06.js → kv-xqkm9ax4.js} +4 -4
- package/dist/chunks/{pty-9xvgy1m6.js → kv-xqsy6kp0.js} +1 -1
- package/dist/chunks/{pty-2xwkyk0m.js → kv-xw8eq9f1.js} +5 -5
- package/dist/chunks/{pty-sp4bteyd.js → kv-xxzj7qcx.js} +6 -6
- package/dist/chunks/{pty-vnhhhj0r.js → kv-xyvw3pp2.js} +11 -11
- package/dist/chunks/{pty-6fvx7cth.js → kv-y18qbtn0.js} +3 -3
- package/dist/chunks/{pty-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-b7d3s2yt.js → kv-y6nt3k22.js} +2 -2
- package/dist/chunks/{pty-dpkg50ah.js → kv-y71avatq.js} +4 -4
- package/dist/chunks/{pty-yfbd16n1.js → kv-yfbd16n1.js} +2 -2
- package/dist/chunks/{pty-ngxtnptd.js → kv-yhh6951v.js} +8 -8
- package/dist/chunks/{pty-v5v99x5c.js → kv-ykcesz1b.js} +4 -4
- package/dist/chunks/{pty-gw4mnhe1.js → kv-ykk6pqwd.js} +23 -23
- package/dist/chunks/{pty-br3wnqmy.js → kv-yms21qcc.js} +20 -20
- package/dist/chunks/{pty-mkyvm1mp.js → kv-yydg8tay.js} +6 -6
- package/dist/chunks/{pty-z1k01bn4.js → kv-z1k01bn4.js} +2 -2
- package/dist/chunks/{pty-b3qm0p9n.js → kv-z3qt4vrk.js} +27 -27
- package/dist/chunks/{pty-hc9rwb2s.js → kv-z89789qm.js} +22 -22
- package/dist/chunks/{pty-rt5xed8c.js → kv-zess5s1n.js} +26 -26
- package/dist/chunks/{pty-jp51vptf.js → kv-zgne66ps.js} +43 -43
- package/dist/chunks/{pty-y8ztchkp.js → kv-zjvrjqxt.js} +7 -7
- package/dist/chunks/{pty-4bszfkn1.js → kv-zn2pq4p8.js} +5 -5
- package/dist/chunks/{pty-g3m9axkp.js → kv-zqg3qsz2.js} +4 -4
- package/dist/chunks/{pty-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- 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 +114 -114
- 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 +115 -115
- 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 +112 -112
- 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 +118 -118
- 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 +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 +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 +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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +88 -88
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +7 -7
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +79 -79
- 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 +83 -83
- package/dist/job.js +75 -75
- 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 +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +120 -120
- 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 +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- 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 +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +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 +7 -7
- 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 +79 -79
- 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 +5 -5
- 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 +4 -4
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- 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 +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- 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 +125 -125
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- 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 +87 -87
- package/dist/session/message-updater.js +2 -2
- 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 +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 +73 -73
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +84 -84
- 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 +117 -117
- 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 +208 -208
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +106 -106
- 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/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 +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- 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 +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/pty-06sgeqe0.js +0 -22
- package/dist/chunks/pty-6wpcenx3.js +0 -247
- package/dist/chunks/pty-9zwhrd2p.js +0 -4
- package/dist/chunks/pty-npy4s4aj.js +0 -20
- package/dist/chunks/pty-vnkjks7b.js +0 -18
- /package/dist/chunks/{pty-0fabt78z.js → kv-0fabt78z.js} +0 -0
- /package/dist/chunks/{pty-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3t738kvx.js → kv-3t738kvx.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-41nvscxy.js → kv-41nvscxy.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-982e01ww.js → kv-982e01ww.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a1tpkmh4.js → kv-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mntxs535.js → kv-mntxs535.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-p8qxwesx.js → kv-p8qxwesx.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-se0s1eqw.js → kv-se0s1eqw.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → kv-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x1b8g1yb.js → kv-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → kv-z9919s4g.js} +0 -0
- /package/dist/chunks/{pty-zbjnn3ac.js → kv-zbjnn3ac.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./kv-syq477mx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service8
|
|
6
|
+
} from "./kv-e2jdrf4x.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin22
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin22 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service51;
|
|
26
|
+
const compaction = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin32 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin22, exports_compaction };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service76,
|
|
4
|
+
node81
|
|
5
|
+
} from "./kv-mfe1qetb.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make19,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-6e958v7x.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-p8qxwesx.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./kv-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./kv-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event7,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
29
|
+
Options: () => Options5,
|
|
30
|
+
Service: () => Service42,
|
|
31
31
|
configured: () => configured5,
|
|
32
32
|
layer: () => layer17,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node45
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event7 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options5 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service42 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var layer17 = (options) => Layer.effect(
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service76;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,9 +72,9 @@ var layer17 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make19({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service42.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -106,12 +106,12 @@ var layer17 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
106
106
|
}));
|
|
107
107
|
function configured5(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
109
|
+
service: Service42,
|
|
110
110
|
layer: layer17(options),
|
|
111
|
-
deps: [
|
|
111
|
+
deps: [node81]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node45 = configured5();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event7, Options5, Service42, layer17, configured5, node45, exports_instruction_discovery };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./kv-n6a7rk8g.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service65
|
|
9
|
+
} from "./kv-5wnbjqvg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service51
|
|
12
|
+
} from "./kv-syq477mx.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./kv-kf8thf07.js";
|
|
18
18
|
import {
|
|
19
19
|
Service9
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./kv-n38qs1ar.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-7a2871xe.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./kv-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill2 = {};
|
|
30
|
+
__export(exports_skill2, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill2,
|
|
32
|
+
Plugin: () => Plugin29
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode-ai/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin29 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
42
|
+
const config = yield* Service51;
|
|
43
43
|
const discovery = yield* Service9;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service65;
|
|
47
|
+
const watcher = yield* Service52;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin31 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -117,7 +117,7 @@ var Plugin31 = define({
|
|
|
117
117
|
};
|
|
118
118
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
119
119
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
120
|
-
source:
|
|
120
|
+
source: Source4.key(source),
|
|
121
121
|
cause
|
|
122
122
|
}).pipe(Effect.as([]))));
|
|
123
123
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -146,7 +146,7 @@ var Plugin31 = define({
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
yield* Effect.logDebug("skill source loaded", {
|
|
149
|
-
source:
|
|
149
|
+
source: Source4.key(source),
|
|
150
150
|
type: source.type,
|
|
151
151
|
directories,
|
|
152
152
|
skills: skills.map((skill) => skill.id)
|
|
@@ -165,7 +165,7 @@ var Plugin31 = define({
|
|
|
165
165
|
if (file) {
|
|
166
166
|
yield* Effect.logInfo("skills rescanned", {
|
|
167
167
|
file,
|
|
168
|
-
sources: current.map(
|
|
168
|
+
sources: current.map(Source4.key),
|
|
169
169
|
skills: loaded.skills.map((skill) => skill.id)
|
|
170
170
|
});
|
|
171
171
|
}
|
|
@@ -181,4 +181,4 @@ var Plugin31 = define({
|
|
|
181
181
|
})
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Plugin29, exports_skill2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -11,7 +11,7 @@ __export(exports_driver, {
|
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make21,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node69,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node69 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error4, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node69, exports_driver };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-mwvt73nw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service65,
|
|
9
|
+
node70
|
|
10
|
+
} from "./kv-5wnbjqvg.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/location-mutation.ts
|
|
16
16
|
var exports_location_mutation = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_location_mutation, {
|
|
|
18
18
|
Kind: () => Kind2,
|
|
19
19
|
LocationMutation: () => exports_location_mutation,
|
|
20
20
|
ResolveInput: () => ResolveInput2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service13,
|
|
22
22
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node16,
|
|
24
24
|
resolvePath: () => resolvePath2
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -43,12 +43,12 @@ var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
|
43
43
|
return path.resolve(directory, normalized === "~" ? home : normalized.startsWith("~/") || process.platform === "win32" && normalized.startsWith("~\\") ? path.join(home, normalized.slice(2)) : normalized);
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service13 extends Context.Service()("@opencode/LocationMutation") {
|
|
47
47
|
}
|
|
48
48
|
var slash = (value) => value.replaceAll("\\", "/");
|
|
49
|
-
var layer = Layer.effect(
|
|
49
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
50
50
|
const fs = yield* FSUtil.Service;
|
|
51
|
-
const location = yield*
|
|
51
|
+
const location = yield* Service65;
|
|
52
52
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
53
53
|
const absolute = resolvePath2(location.directory, input.path);
|
|
54
54
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -73,12 +73,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
75
|
});
|
|
76
|
-
return
|
|
76
|
+
return Service13.of({ resolve });
|
|
77
77
|
}));
|
|
78
|
-
var
|
|
79
|
-
service:
|
|
78
|
+
var node16 = makeLocationNode({
|
|
79
|
+
service: Service13,
|
|
80
80
|
layer,
|
|
81
|
-
deps: [FSUtil.node,
|
|
81
|
+
deps: [FSUtil.node, node70]
|
|
82
82
|
});
|
|
83
83
|
|
|
84
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2, resolvePath2,
|
|
84
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, resolvePath2, Service13, node16, exports_location_mutation };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./kv-5wnbjqvg.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -23,7 +23,7 @@ var names3 = ["opencode.json", "opencode.jsonc"];
|
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service65;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-4z6b0fg6.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID17
|
|
8
|
+
} from "./kv-3wfq9j39.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service76
|
|
11
|
+
} from "./kv-mfe1qetb.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event20
|
|
15
|
+
} from "./kv-p198ap2v.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID14,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-z3qt4vrk.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service72
|
|
22
|
+
} from "./kv-mqds9z8y.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get2
|
|
25
|
+
} from "./kv-f1kgb3zy.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./kv-vy051p0e.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID14.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,8 +155,8 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
159
|
-
const bus = yield*
|
|
158
|
+
const catalog = yield* Service72;
|
|
159
|
+
const bus = yield* Service76;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
162
162
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID18.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID18.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
|
-
try: () =>
|
|
176
|
+
try: () => get2(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
178
178
|
Authorization: `Bearer ${credential.refresh}`,
|
|
179
179
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID18.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID17.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID17.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID17.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID18.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID18.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart, ToolFailure } from "@opencode-ai/ai";
|
|
13
13
|
import { AbsolutePath } from "@opencode-ai/schema/schema";
|
|
@@ -20,7 +20,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
20
20
|
})
|
|
21
21
|
});
|
|
22
22
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
23
|
-
var
|
|
23
|
+
var Plugin2 = {
|
|
24
24
|
id: "opencode.tools",
|
|
25
25
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
26
26
|
yield* ctx.session.hook("context", (event) => Effect.sync(() => {
|
|
@@ -51,4 +51,4 @@ var Plugin20 = {
|
|
|
51
51
|
})
|
|
52
52
|
};
|
|
53
53
|
|
|
54
|
-
export { MoveInput2,
|
|
54
|
+
export { MoveInput2, Plugin2, exports_opencode };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./kv-nr9x74c1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service63;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|