@opencode-ai/core 0.0.0-dev-19233 → 0.0.0-dev-19237
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 +73 -73
- 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 +83 -83
- package/dist/chunks/{job-j83byb14.js → file-00z3vp5f.js} +4 -4
- package/dist/chunks/{job-wzmmj5c3.js → file-03ssqq1h.js} +44 -44
- package/dist/chunks/{job-0e0xafbb.js → file-0e0xafbb.js} +2 -2
- package/dist/chunks/{job-7k14zqa2.js → file-0jb3k8j6.js} +25 -25
- package/dist/chunks/{job-7dqw4kz8.js → file-0jwsre1p.js} +5 -5
- package/dist/chunks/{job-fme6xxpb.js → file-0p6bnn4j.js} +10 -10
- package/dist/chunks/{job-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{job-0s9ayhjt.js → file-0s9ayhjt.js} +1 -1
- package/dist/chunks/{job-vefskwcr.js → file-0wagesx1.js} +3 -3
- package/dist/chunks/{job-v6ryzxxv.js → file-129m3zyv.js} +9 -9
- package/dist/chunks/{job-qz0x0s1g.js → file-179n7qcx.js} +17 -17
- package/dist/chunks/{job-yp2x3t23.js → file-1acjjqhc.js} +4 -4
- package/dist/chunks/{job-1ct4r87x.js → file-1ct4r87x.js} +1 -1
- package/dist/chunks/{job-jy46tkpa.js → file-1j6fw132.js} +22 -22
- package/dist/chunks/{job-1gz0ta6j.js → file-1jpftfmz.js} +45 -45
- package/dist/chunks/{job-r6xmjf87.js → file-1nk2mnc0.js} +3 -3
- package/dist/chunks/{job-39yamgtx.js → file-1vkgnbk5.js} +11 -11
- package/dist/chunks/{job-p54pbamy.js → file-1zkb17nt.js} +6 -6
- package/dist/chunks/{job-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{job-2402vzrj.js → file-2402vzrj.js} +1 -1
- package/dist/chunks/{job-f1a3k8hk.js → file-2931d2p1.js} +10 -10
- package/dist/chunks/{job-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-v4kmtq0v.js → file-2hgwbbq1.js} +26 -26
- package/dist/chunks/{job-2ht70gj7.js → file-2ht70gj7.js} +1 -1
- package/dist/chunks/{job-nrsmc0cn.js → file-2j2akc50.js} +6 -6
- package/dist/chunks/{job-1z8rthr1.js → file-2n0rqa47.js} +43 -43
- package/dist/chunks/{job-adhsr3tz.js → file-2rx0c1se.js} +3 -3
- package/dist/chunks/{job-ynf2m8sv.js → file-32vaat9j.js} +72 -72
- package/dist/chunks/{job-a78wm4ce.js → file-339x25ws.js} +7 -7
- package/dist/chunks/{job-wj9ny62y.js → file-36srvmcg.js} +3 -3
- package/dist/chunks/{job-jjzmpkqm.js → file-3cm4x8pz.js} +5 -5
- package/dist/chunks/{job-4kpe0rr7.js → file-3dab0e5z.js} +28 -28
- package/dist/chunks/{job-0kxr4mw8.js → file-3f4r80p6.js} +44 -44
- package/dist/chunks/{job-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-vgpse2jg.js → file-3n69sb31.js} +10 -10
- package/dist/chunks/{job-3qzbfqsy.js → file-3qzbfqsy.js} +2 -2
- package/dist/chunks/{job-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-cw3cp746.js → file-3v1vnpky.js} +64 -64
- package/dist/chunks/{job-2hg40tsn.js → file-3wwk5jwz.js} +34 -34
- package/dist/chunks/{job-a88tc3ry.js → file-3y04nngn.js} +16 -16
- package/dist/chunks/{job-8k41ncbx.js → file-3zf7jj5c.js} +35 -35
- package/dist/chunks/{job-454k5vzh.js → file-454k5vzh.js} +1 -1
- package/dist/chunks/{job-9y5wqfte.js → file-46e97tr7.js} +10 -10
- package/dist/chunks/{job-nhy5jxhy.js → file-47gsdddb.js} +5 -5
- package/dist/chunks/{job-67nr6jxm.js → file-4c7fwq4e.js} +31 -31
- package/dist/chunks/{job-mewap8c7.js → file-4pgqfzd8.js} +4 -4
- package/dist/chunks/{job-4r2nyarf.js → file-4r2nyarf.js} +1 -1
- package/dist/chunks/{job-zc8xf61f.js → file-4v4ajd06.js} +13 -13
- package/dist/chunks/{job-52bfwkce.js → file-52bfwkce.js} +1 -1
- package/dist/chunks/{job-vssq7284.js → file-595kwe3a.js} +1 -1
- package/dist/chunks/{job-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{job-gdkf5h66.js → file-5dhjvcph.js} +4 -4
- package/dist/chunks/{job-kp9qc20g.js → file-5f95ff4q.js} +25 -25
- package/dist/chunks/{job-5fmxt4p5.js → file-5fmxt4p5.js} +1 -1
- package/dist/chunks/{job-be3ajq1c.js → file-5h5dsh0k.js} +25 -25
- package/dist/chunks/{job-5jvc5tg2.js → file-5jvc5tg2.js} +1 -1
- package/dist/chunks/{job-d7qhd9es.js → file-5rdj9hmq.js} +11 -11
- package/dist/chunks/{job-bdr6vkwq.js → file-5vgh9pjn.js} +24 -24
- package/dist/chunks/{job-c7vadqv7.js → file-654kmdbf.js} +5 -5
- package/dist/chunks/{job-fraw6xjy.js → file-6652nm96.js} +5 -5
- package/dist/chunks/{job-3jj6bjb6.js → file-6h414ywr.js} +5 -5
- package/dist/chunks/{job-ykzs9fww.js → file-6njxrdza.js} +15 -15
- package/dist/chunks/{job-8aaqmbct.js → file-6r2w4rfh.js} +28 -28
- package/dist/chunks/{job-711hfp6y.js → file-711hfp6y.js} +2 -2
- package/dist/chunks/{job-8j2rwc0w.js → file-71n2k0sw.js} +23 -23
- package/dist/chunks/{job-72nftnjy.js → file-72nftnjy.js} +2 -2
- package/dist/chunks/{job-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-s604mysz.js → file-7d289b1g.js} +27 -27
- package/dist/chunks/{job-6ds36eyk.js → file-7fxxes5g.js} +7 -7
- package/dist/chunks/{job-dtkd4wwk.js → file-7mcdhjjw.js} +36 -36
- package/dist/chunks/{job-vkxy9tje.js → file-7qhv6080.js} +16 -16
- package/dist/chunks/{job-f569ayv3.js → file-7vmn5jxr.js} +17 -17
- package/dist/chunks/{job-e9sa9zxz.js → file-7yr2wfkw.js} +11 -11
- package/dist/chunks/file-7zk4hah4.js +4 -0
- package/dist/chunks/{job-4f62ejdk.js → file-88nptzkr.js} +4 -4
- package/dist/chunks/{job-89cfd633.js → file-89cfd633.js} +1 -1
- package/dist/chunks/{job-rgpp5x08.js → file-8fhts7ts.js} +4 -4
- package/dist/chunks/{job-w8zd3pxg.js → file-8kpcqxj9.js} +9 -9
- package/dist/chunks/{job-8tq3sb4p.js → file-8tq3sb4p.js} +1 -1
- package/dist/chunks/{job-764nqqnc.js → file-934h7amq.js} +20 -20
- package/dist/chunks/{job-93a8yfjt.js → file-93a8yfjt.js} +2 -2
- package/dist/chunks/{job-mtcjf44p.js → file-97f5v037.js} +4 -4
- package/dist/chunks/{job-zc9338xq.js → file-9938j897.js} +8 -8
- package/dist/chunks/{job-9qm9egsn.js → file-9qm9egsn.js} +2 -2
- package/dist/chunks/{job-fkcyqnbs.js → file-9qnjdkjv.js} +10 -10
- package/dist/chunks/{job-v9mzkcae.js → file-9ss86a26.js} +11 -11
- package/dist/chunks/{job-khqnst5w.js → file-9t0ny11b.js} +11 -11
- package/dist/chunks/{job-9vw7vcdh.js → file-9vw7vcdh.js} +1 -1
- package/dist/chunks/{job-9z6xj13s.js → file-9z6xj13s.js} +1 -1
- package/dist/chunks/{job-a0pph4fy.js → file-a1cchfxj.js} +5 -5
- package/dist/chunks/{job-mgg6b1b0.js → file-a6m8wy4f.js} +16 -16
- package/dist/chunks/{job-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{job-36vsdr69.js → file-acd73yp7.js} +8 -8
- package/dist/chunks/{job-ye3yabn9.js → file-ajc7k593.js} +36 -36
- package/dist/chunks/{job-ajtjthsy.js → file-ajtjthsy.js} +2 -2
- package/dist/chunks/{job-zbyx735k.js → file-asf9wq49.js} +10 -10
- package/dist/chunks/{job-vcwpx9hw.js → file-avf2awfk.js} +9 -9
- package/dist/chunks/{job-pzk1wccs.js → file-avffydqw.js} +29 -29
- package/dist/chunks/{job-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-b9wsbatv.js → file-b9wsbatv.js} +1 -1
- package/dist/chunks/{job-zvt5dnpc.js → file-baaqp4zd.js} +4 -4
- package/dist/chunks/{job-hcpkpkrn.js → file-bffddetr.js} +24 -24
- package/dist/chunks/{job-npsv0nay.js → file-btqahyaw.js} +9 -9
- package/dist/chunks/{job-kam18kqc.js → file-bvza9xe3.js} +92 -92
- package/dist/chunks/{job-n4w7srb8.js → file-c1v5b0wv.js} +14 -14
- package/dist/chunks/{job-rw6x9wyb.js → file-c2m11pw9.js} +11 -11
- package/dist/chunks/{job-tm928733.js → file-c7jdh4x9.js} +10 -10
- package/dist/chunks/{job-enq73cty.js → file-cdbx1xhb.js} +43 -43
- package/dist/chunks/{job-18z4nfx4.js → file-cj6bar7a.js} +13 -13
- package/dist/chunks/{job-kxpygcw9.js → file-cpy6gm2a.js} +6 -6
- package/dist/chunks/{job-crtth3kn.js → file-crtth3kn.js} +1 -1
- package/dist/chunks/{job-zppqdj7p.js → file-csm9f11b.js} +15 -15
- package/dist/chunks/{job-yvg0r0vc.js → file-ctpqmbes.js} +8 -8
- package/dist/chunks/{job-nwdwhmak.js → file-d0e4f7jz.js} +9 -9
- package/dist/chunks/{job-d72308c8.js → file-d72308c8.js} +2 -2
- package/dist/chunks/{job-1q5awywt.js → file-d9wzmzc3.js} +5 -5
- package/dist/chunks/{job-krt69xys.js → file-d9ywy8qq.js} +155 -155
- package/dist/chunks/{job-pnabnhqb.js → file-dhv13n9b.js} +13 -13
- package/dist/chunks/{job-v517j8yy.js → file-dm4t3jdg.js} +22 -22
- package/dist/chunks/{job-njb9p3v3.js → file-dt1n4p4v.js} +4 -4
- package/dist/chunks/{job-5svb1j9h.js → file-e2611c6v.js} +11 -11
- package/dist/chunks/{job-7dk0wx9f.js → file-e5w0frp6.js} +8 -8
- package/dist/chunks/{job-rae5gv57.js → file-e5zee4hv.js} +8 -8
- package/dist/chunks/{job-mj4bzwnf.js → file-e9bp071a.js} +2 -2
- package/dist/chunks/{job-gfzbjyhz.js → file-en1kwsfy.js} +13 -13
- package/dist/chunks/{job-c28q5v06.js → file-ewjc977p.js} +22 -22
- package/dist/chunks/{job-0bf0f982.js → file-fhm8k5s2.js} +16 -16
- package/dist/chunks/{job-fjsjs8gs.js → file-fjsjs8gs.js} +1 -1
- package/dist/chunks/{job-sq1ke05s.js → file-fkpavqt9.js} +36 -36
- package/dist/chunks/{job-723tnx7j.js → file-fqsf7web.js} +30 -30
- package/dist/chunks/{job-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{job-fxypknc8.js → file-fxypknc8.js} +1 -1
- package/dist/chunks/{job-g0ysksx1.js → file-fz1pdqz4.js} +9 -9
- package/dist/chunks/{job-1a276tzg.js → file-g2zsh1qa.js} +23 -23
- package/dist/chunks/{job-6esbpxbg.js → file-g3fmkc14.js} +33 -33
- package/dist/chunks/{job-r1543tk3.js → file-g4j6k2pz.js} +13 -13
- package/dist/chunks/{job-b27vhd2z.js → file-g8d3gcyj.js} +7 -7
- package/dist/chunks/{job-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-3fc6dm20.js → file-gdvy8fx6.js} +4 -4
- package/dist/chunks/{job-k3fs0qt5.js → file-gmq3187j.js} +7 -7
- package/dist/chunks/{job-ahxzhcff.js → file-gpkgrk3z.js} +2 -2
- package/dist/chunks/{job-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-6sg32tdv.js → file-hadacg6q.js} +2 -2
- package/dist/chunks/{job-13y9ya0v.js → file-hc2w1ek9.js} +16 -16
- package/dist/chunks/{job-2b8b9bdq.js → file-hcmmkp4d.js} +26 -26
- package/dist/chunks/{job-heyhwy2w.js → file-heyhwy2w.js} +1 -1
- package/dist/chunks/{job-r30z0r03.js → file-hk900qzg.js} +26 -26
- package/dist/chunks/{job-bsvvsrn1.js → file-hnyf01b0.js} +5 -5
- package/dist/chunks/{job-7g4de1gz.js → file-hpgd43jv.js} +46 -46
- package/dist/chunks/{job-xg3vtz5h.js → file-hr77wr0b.js} +4 -4
- package/dist/chunks/{job-hrvm11jt.js → file-hrvm11jt.js} +3 -3
- package/dist/chunks/file-ht5y0zrb.js +18 -0
- package/dist/chunks/{job-hw4pv20g.js → file-hw4pv20g.js} +2 -2
- package/dist/chunks/{job-z6z3ddq4.js → file-hw71hpyd.js} +6 -6
- package/dist/chunks/{job-952aqqdh.js → file-j2sq7sy2.js} +3 -3
- package/dist/chunks/{job-7ngxwvqm.js → file-jb4h4dr1.js} +23 -23
- package/dist/chunks/{job-nmw60bne.js → file-jntn13wn.js} +9 -9
- package/dist/chunks/{job-ms3efxed.js → file-jwd6g0dr.js} +8 -8
- package/dist/chunks/{job-6gw5f1b0.js → file-k4b13ztk.js} +12 -12
- package/dist/chunks/{job-k4bwy1x5.js → file-k4bwy1x5.js} +1 -1
- package/dist/chunks/{job-ewrksnmv.js → file-k50qz9pg.js} +17 -17
- package/dist/chunks/{job-ymysjfkp.js → file-k7jgc7wy.js} +6 -6
- package/dist/chunks/{job-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{job-85yfw8f2.js → file-kkq1zppc.js} +4 -4
- package/dist/chunks/{job-ert66qwv.js → file-ktr5pece.js} +283 -283
- package/dist/chunks/{job-p7g4wgs5.js → file-m0m2gtc4.js} +17 -17
- package/dist/chunks/{job-1ydgq2r4.js → file-m3fm0fm8.js} +5 -5
- package/dist/chunks/{job-bntpbxe2.js → file-m3p4mq0k.js} +25 -25
- package/dist/chunks/{job-j5axe61t.js → file-m4je5jzf.js} +18 -18
- package/dist/chunks/{job-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-3p4rd3p9.js → file-mb6d61vn.js} +28 -28
- package/dist/chunks/{job-tfyecq3b.js → file-md9ad6xb.js} +34 -34
- package/dist/chunks/{job-mfqp6xfm.js → file-mfqp6xfm.js} +2 -2
- package/dist/chunks/{job-1bbkgx8g.js → file-mhkvc446.js} +3 -3
- package/dist/chunks/{job-22ra2ec6.js → file-mhq5r63x.js} +46 -46
- package/dist/chunks/{job-hnb3gsp3.js → file-mmkbhfjj.js} +16 -16
- package/dist/chunks/{job-5hbtvx61.js → file-mr1e9xzf.js} +28 -28
- package/dist/chunks/{job-2xq5ym6z.js → file-mt2hp97g.js} +41 -41
- package/dist/chunks/{job-mtqwgfqs.js → file-mtqwgfqs.js} +2 -2
- package/dist/chunks/{job-rmtx79qf.js → file-n5f8hq7m.js} +4 -4
- package/dist/chunks/{job-rhwzqy16.js → file-na3f2bx6.js} +29 -29
- package/dist/chunks/{job-6e5er5n1.js → file-p9tbkvt9.js} +11 -11
- package/dist/chunks/file-pegy9qka.js +247 -0
- package/dist/chunks/{job-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{job-y75evwn6.js → file-pmfjm0ds.js} +20 -20
- package/dist/chunks/{job-gxpjz2fr.js → file-pmtj7vd7.js} +12 -12
- package/dist/chunks/{job-aeech1x6.js → file-prt369qg.js} +32 -32
- package/dist/chunks/{job-ar2zsk5h.js → file-ptz1ztyq.js} +8 -8
- package/dist/chunks/{job-mxstmdya.js → file-q3cgsmnj.js} +22 -22
- package/dist/chunks/{job-m5rgyzja.js → file-q604e6nk.js} +11 -11
- package/dist/chunks/{job-j292zv19.js → file-qeka1wpx.js} +16 -16
- package/dist/chunks/{job-gt58j5k0.js → file-qrjx5gd0.js} +29 -29
- package/dist/chunks/{job-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{job-1vtw6nte.js → file-qya9qmjj.js} +20 -20
- package/dist/chunks/{job-29y2fmhm.js → file-r528y2ap.js} +9 -9
- package/dist/chunks/{job-r8dhm0tv.js → file-r8dhm0tv.js} +1 -1
- package/dist/chunks/{job-rhpqpny4.js → file-r911hjta.js} +22 -22
- package/dist/chunks/{job-bjs50m4b.js → file-rjqxra3c.js} +8 -8
- package/dist/chunks/{job-0far9rqk.js → file-rjrsppvq.js} +15 -15
- package/dist/chunks/{job-g2vkv3me.js → file-rmeyr0zp.js} +32 -32
- package/dist/chunks/{job-jtvvp2rb.js → file-rmftyprg.js} +34 -34
- package/dist/chunks/{job-9bfm6dbz.js → file-rmjbkvqc.js} +6 -6
- package/dist/chunks/{job-1pnbkzsb.js → file-rrp6adwx.js} +23 -23
- package/dist/chunks/{job-n99q5rq0.js → file-rtgawa8q.js} +4 -4
- package/dist/chunks/{job-gw3vps06.js → file-rtmnkjh7.js} +9 -9
- package/dist/chunks/{job-7c4j9tm2.js → file-rvvz5b9h.js} +13 -13
- package/dist/chunks/{job-s0gpr7nd.js → file-s0gpr7nd.js} +1 -1
- package/dist/chunks/{job-34akyan7.js → file-s0xr38aj.js} +9 -9
- package/dist/chunks/{job-sba4qhjf.js → file-sba4qhjf.js} +1 -1
- package/dist/chunks/{job-21h5670b.js → file-ssh3ax1h.js} +11 -11
- package/dist/chunks/{job-nraysfsj.js → file-t7xph3b4.js} +5 -5
- package/dist/chunks/{job-4dwv79pw.js → file-t9v5xvk5.js} +4 -4
- package/dist/chunks/{job-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-tcezcvh9.js → file-tcezcvh9.js} +1 -1
- package/dist/chunks/{job-54ney90v.js → file-tgta4dgx.js} +27 -27
- package/dist/chunks/{job-s91rf68f.js → file-tjjbrw7w.js} +22 -22
- package/dist/chunks/{job-tjykrgmx.js → file-tjykrgmx.js} +1 -1
- package/dist/chunks/{job-srp77x07.js → file-tmgtet36.js} +20 -20
- package/dist/chunks/{job-zb979w0w.js → file-tpqfb4gb.js} +6 -6
- package/dist/chunks/{job-099yzkay.js → file-ttmf2k06.js} +5 -5
- package/dist/chunks/{job-gta7psvz.js → file-tvqb7ptv.js} +7 -7
- package/dist/chunks/{job-c7cd984x.js → file-tvzx8eep.js} +9 -9
- package/dist/chunks/{job-k4wwzjdh.js → file-tymq08ss.js} +24 -24
- package/dist/chunks/{job-tyqynq3b.js → file-tyqynq3b.js} +2 -2
- package/dist/chunks/{job-q1983gs3.js → file-v6khqva7.js} +3 -3
- package/dist/chunks/{job-60tbqhvj.js → file-v6vne6e8.js} +83 -83
- package/dist/chunks/{job-cr1qn5av.js → file-v8sg56bb.js} +8 -8
- package/dist/chunks/{job-be82m630.js → file-v92wz3b8.js} +37 -37
- package/dist/chunks/{job-t27w4pf2.js → file-v940708v.js} +15 -15
- package/dist/chunks/{job-g4p86hxj.js → file-v961h6fn.js} +15 -15
- package/dist/chunks/{job-awaee7qt.js → file-va5qff5x.js} +6 -6
- package/dist/chunks/{job-0v8sm5cm.js → file-vgjr9pam.js} +15 -15
- package/dist/chunks/{job-k2dt1yqc.js → file-vn9j9bbf.js} +20 -20
- package/dist/chunks/{job-vnzc40bj.js → file-vnzc40bj.js} +2 -2
- package/dist/chunks/{job-tve492s9.js → file-vt4ykcc5.js} +25 -25
- package/dist/chunks/{job-ggzqw02n.js → file-vypq2r11.js} +11 -11
- package/dist/chunks/{job-bkh8009q.js → file-w07k5xss.js} +13 -13
- package/dist/chunks/{job-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-9cnpj473.js → file-w4d6nzh9.js} +8 -8
- package/dist/chunks/{job-988qcjmk.js → file-waegbgsk.js} +18 -18
- package/dist/chunks/{job-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{job-wefnnxbq.js → file-wefnnxbq.js} +1 -1
- package/dist/chunks/{job-0j000hfr.js → file-wfr7fczh.js} +15 -15
- package/dist/chunks/{job-9185jwfw.js → file-whc6z58z.js} +11 -11
- package/dist/chunks/{job-31h5rjhn.js → file-wt9rnddh.js} +18 -18
- package/dist/chunks/{job-yq5ja4q0.js → file-wzds84qh.js} +4 -4
- package/dist/chunks/{job-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-3qpta3nq.js → file-x6pvac8r.js} +49 -49
- package/dist/chunks/{job-fyy22dcy.js → file-x9efqt87.js} +22 -22
- package/dist/chunks/{job-k1kwjnae.js → file-xb70hszk.js} +14 -14
- package/dist/chunks/{job-fb135p40.js → file-xdrtxdpg.js} +17 -17
- package/dist/chunks/{job-nxrz604p.js → file-xjde6dvc.js} +9 -9
- package/dist/chunks/{job-76wr4mq2.js → file-xr5vwsd4.js} +9 -9
- package/dist/chunks/{job-yfcf1nq6.js → file-xy58tbcv.js} +24 -24
- package/dist/chunks/{job-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-ybsdre70.js → file-y37eft65.js} +36 -36
- package/dist/chunks/{job-6t6zp6fw.js → file-y3cm0t0c.js} +10 -10
- package/dist/chunks/{job-jpavn7vf.js → file-y5z1eg03.js} +8 -8
- package/dist/chunks/{job-y71avatq.js → file-y71avatq.js} +1 -1
- package/dist/chunks/{job-yfbd16n1.js → file-yfbd16n1.js} +2 -2
- package/dist/chunks/{job-sbzv84es.js → file-yq559278.js} +9 -9
- package/dist/chunks/{job-sw2z68vz.js → file-yqr8waf2.js} +35 -35
- package/dist/chunks/{job-qq6z8s6d.js → file-yt0vhsen.js} +21 -21
- package/dist/chunks/{job-z1k01bn4.js → file-z1k01bn4.js} +2 -2
- package/dist/chunks/{job-cj7mjqre.js → file-z3h7hm3n.js} +4 -4
- package/dist/chunks/{job-z63w68vq.js → file-z63w68vq.js} +2 -2
- package/dist/chunks/{job-8qhh6y2r.js → file-z7ezyskm.js} +27 -27
- package/dist/chunks/{job-6g7hnhz5.js → file-z7n23fv9.js} +20 -20
- package/dist/chunks/{job-rbztp1s7.js → file-zmy6e5rj.js} +49 -49
- package/dist/chunks/{job-5hbfwtys.js → file-zp70bgmg.js} +27 -27
- package/dist/chunks/{job-ztxeb84j.js → file-ztxeb84j.js} +1 -1
- package/dist/chunks/{job-nge3vtdb.js → file-zvrekwpq.js} +6 -6
- package/dist/chunks/{job-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/chunks/{job-smvrzaws.js → file-zy8c9jht.js} +15 -15
- package/dist/codemode/catalog.js +3 -3
- 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 +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +133 -133
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- 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 +359 -359
- 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 +88 -88
- 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 +215 -215
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +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 +82 -82
- package/dist/generate.js +91 -91
- 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 +350 -350
- 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 +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +347 -347
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +117 -117
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +97 -97
- 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 +96 -96
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +321 -321
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +130 -130
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +3 -3
- package/dist/plugin/websearch/firecrawl.js +4 -4
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +1 -1
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- 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 +128 -128
- package/dist/session/context.js +146 -146
- 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 +218 -218
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +106 -106
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +116 -116
- 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 +113 -113
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +99 -99
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +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 +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 +79 -79
- package/dist/workspace/driver.js +7 -7
- 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 +5 -5
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/job-n95b3jav.js +0 -18
- package/dist/chunks/job-w3vb4krt.js +0 -4
- package/dist/chunks/job-z7g6mnwh.js +0 -247
- /package/dist/chunks/{job-0fabt78z.js → file-0fabt78z.js} +0 -0
- /package/dist/chunks/{job-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3t738kvx.js → file-3t738kvx.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-41nvscxy.js → file-41nvscxy.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-982e01ww.js → file-982e01ww.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a1tpkmh4.js → file-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mntxs535.js → file-mntxs535.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-p8qxwesx.js → file-p8qxwesx.js} +0 -0
- /package/dist/chunks/{job-paphc93g.js → file-paphc93g.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-se0s1eqw.js → file-se0s1eqw.js} +0 -0
- /package/dist/chunks/{job-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x1b8g1yb.js → file-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → file-z9919s4g.js} +0 -0
- /package/dist/chunks/{job-zbjnn3ac.js → file-zbjnn3ac.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./file-7qhv6080.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./file-g4j6k2pz.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service28,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-ht5y0zrb.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-d9ywy8qq.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event5,
|
|
30
|
+
ID: () => ID3,
|
|
31
|
+
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service28,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node22
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode-ai/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode-ai/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode-ai/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service76;
|
|
45
|
+
const kv = yield* Service56;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service28.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node22 = Node.makeLocationNode({
|
|
226
|
+
service: Service28,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node22, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./file-zp70bgmg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./file-ajc7k593.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin45,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode-ai/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin45 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service66;
|
|
57
|
+
const permission = yield* Service57;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service73,
|
|
3
|
+
node78
|
|
4
|
+
} from "./file-03ssqq1h.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info28,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref4,
|
|
15
|
+
Service: () => Service72,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node77,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info28, Ref as Ref4, response as response2 } from "@opencode-ai/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode-ai/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service72 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node77 = LayerNode.unbound(Service72, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service73;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service72.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service72,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node78]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info28, Ref4, response2, Service72, node77, boundNode2, exports_location };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service8,
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode-ai/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service8 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service8.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node11 = makeGlobalNode({ service: Service8, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service8, node11, exports_update };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service10,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service10.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node13 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service10, node13, exports_discovery };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service39
|
|
3
|
+
} from "./file-dm4t3jdg.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service72
|
|
9
|
+
} from "./file-xdrtxdpg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service38
|
|
12
|
+
} from "./file-mhq5r63x.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./file-mb6d61vn.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service10
|
|
20
|
+
} from "./file-xr5vwsd4.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-1zkb17nt.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill = {};
|
|
30
30
|
__export(exports_skill, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin7
|
|
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 Plugin7 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service38;
|
|
43
|
+
const discovery = yield* Service10;
|
|
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* Service72;
|
|
47
|
+
const watcher = yield* Service39;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin17 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -117,7 +117,7 @@ var Plugin17 = 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: Source3.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 Plugin17 = define({
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
yield* Effect.logDebug("skill source loaded", {
|
|
149
|
-
source:
|
|
149
|
+
source: Source3.key(source),
|
|
150
150
|
type: source.type,
|
|
151
151
|
directories,
|
|
152
152
|
skills: skills.map((skill) => skill.id)
|
|
@@ -165,7 +165,7 @@ var Plugin17 = define({
|
|
|
165
165
|
if (file) {
|
|
166
166
|
yield* Effect.logInfo("skills rescanned", {
|
|
167
167
|
file,
|
|
168
|
-
sources: current.map(
|
|
168
|
+
sources: current.map(Source3.key),
|
|
169
169
|
skills: loaded.skills.map((skill) => skill.id)
|
|
170
170
|
});
|
|
171
171
|
}
|
|
@@ -181,4 +181,4 @@ var Plugin17 = define({
|
|
|
181
181
|
})
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Plugin7, exports_skill };
|
|
@@ -2,46 +2,46 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service72
|
|
8
|
+
} from "./file-xdrtxdpg.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service70
|
|
11
|
+
} from "./file-tymq08ss.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service14
|
|
14
|
+
} from "./file-rjrsppvq.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service18,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-4v4ajd06.js";
|
|
20
20
|
import {
|
|
21
21
|
externalDirectoryPermission2,
|
|
22
22
|
resolvePath2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service48
|
|
24
|
+
} from "./file-a6m8wy4f.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service57
|
|
27
|
+
} from "./file-ajc7k593.js";
|
|
28
28
|
import {
|
|
29
29
|
fileDiff2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-6prwharc.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/patch.ts
|
|
36
36
|
var exports_patch = {};
|
|
37
37
|
__export(exports_patch, {
|
|
38
38
|
Applied: () => Applied2,
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
39
|
+
Input: () => Input9,
|
|
40
|
+
Output: () => Output6,
|
|
41
41
|
PatchTool: () => exports_patch,
|
|
42
|
-
Plugin: () =>
|
|
43
|
-
name: () =>
|
|
44
|
-
toModelContent: () =>
|
|
42
|
+
Plugin: () => Plugin40,
|
|
43
|
+
name: () => name9,
|
|
44
|
+
toModelContent: () => toModelContent5
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
47
47
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
@@ -86,8 +86,8 @@ It is important to remember:
|
|
|
86
86
|
`;
|
|
87
87
|
|
|
88
88
|
// src/tool/plugin/patch.ts
|
|
89
|
-
var
|
|
90
|
-
var
|
|
89
|
+
var name9 = "patch";
|
|
90
|
+
var Input9 = Schema.Struct({
|
|
91
91
|
patchText: Schema.String.annotate({
|
|
92
92
|
description: "The full patch text describing add, update, and delete operations"
|
|
93
93
|
})
|
|
@@ -97,30 +97,30 @@ var Applied2 = Schema.Struct({
|
|
|
97
97
|
resource: Schema.String,
|
|
98
98
|
target: Schema.String
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Output6 = Schema.Struct({
|
|
101
101
|
applied: Schema.Array(Applied2),
|
|
102
102
|
files: Schema.Array(FileDiff.Info)
|
|
103
103
|
});
|
|
104
|
-
var
|
|
104
|
+
var toModelContent5 = (output) => [
|
|
105
105
|
"Success. Updated the following files:",
|
|
106
106
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
107
107
|
].join(`
|
|
108
108
|
`);
|
|
109
|
-
var
|
|
109
|
+
var Plugin40 = {
|
|
110
110
|
id: "opencode.tool.patch",
|
|
111
111
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
112
|
-
const environment = yield*
|
|
113
|
-
const mutation = yield*
|
|
114
|
-
const fileMutation = yield*
|
|
115
|
-
const formatter = yield*
|
|
116
|
-
const location = yield*
|
|
117
|
-
const permission = yield*
|
|
112
|
+
const environment = yield* Service70;
|
|
113
|
+
const mutation = yield* Service48;
|
|
114
|
+
const fileMutation = yield* Service18;
|
|
115
|
+
const formatter = yield* Service14;
|
|
116
|
+
const location = yield* Service72;
|
|
117
|
+
const permission = yield* Service57;
|
|
118
118
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
119
|
-
name:
|
|
119
|
+
name: name9,
|
|
120
120
|
options: { codemode: false, permission: "edit" },
|
|
121
121
|
description: patch_default,
|
|
122
|
-
input:
|
|
123
|
-
output:
|
|
122
|
+
input: Input9,
|
|
123
|
+
output: Output6,
|
|
124
124
|
execute: (input, context) => {
|
|
125
125
|
const applied = [];
|
|
126
126
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -273,7 +273,7 @@ var Plugin38 = {
|
|
|
273
273
|
return { applied, files };
|
|
274
274
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
275
275
|
output,
|
|
276
|
-
content:
|
|
276
|
+
content: toModelContent5(output),
|
|
277
277
|
metadata: { files: output.files }
|
|
278
278
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
279
279
|
}
|
|
@@ -330,4 +330,4 @@ function trimDiff(diff) {
|
|
|
330
330
|
`);
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
-
export {
|
|
333
|
+
export { name9, Input9, Applied2, Output6, toModelContent5, Plugin40, exports_patch };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-9qnjdkjv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service38
|
|
7
|
+
} from "./file-mhq5r63x.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-339x25ws.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service38;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
catalog.model.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID11.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make7();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make7, LMStudioPlugin2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./file-3dab0e5z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./file-tpqfb4gb.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-ht5y0zrb.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service53;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service75), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|