@opencode/core 0.0.0-dev-19461 → 0.0.0-dev-19465
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{location-mb2t11pg.js → skill-069yxdfj.js} +3 -3
- package/dist/chunks/{location-3ncmaxct.js → skill-0cvx4fb4.js} +32 -32
- package/dist/chunks/{location-qqtwvk4z.js → skill-0gaj4617.js} +6 -6
- package/dist/chunks/{location-0gr7cw0d.js → skill-0gr7cw0d.js} +1 -1
- package/dist/chunks/{location-1fzcnh6v.js → skill-0hk96bqy.js} +17 -17
- package/dist/chunks/{location-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-0q0f95c6.js → skill-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-cabjg3g0.js → skill-0se4te34.js} +16 -16
- package/dist/chunks/{location-ejn237hk.js → skill-0snr5brg.js} +41 -41
- package/dist/chunks/{location-wmq45nfe.js → skill-0vm6v74g.js} +82 -82
- package/dist/chunks/{location-pxq7pqqx.js → skill-0x18acnr.js} +20 -20
- package/dist/chunks/{location-a3fmdkp8.js → skill-15bxkz3b.js} +1 -1
- package/dist/chunks/{location-tkgdp0re.js → skill-18xez9vh.js} +13 -13
- package/dist/chunks/{location-tgcnfkqc.js → skill-19hqt04n.js} +25 -25
- package/dist/chunks/{location-6ttajnb0.js → skill-1av7y6ck.js} +4 -4
- package/dist/chunks/{location-ra3vsbfe.js → skill-1c3k8t0n.js} +9 -9
- package/dist/chunks/{location-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-fffsb91j.js → skill-1e10pjx7.js} +4 -4
- package/dist/chunks/{location-4nkvv82w.js → skill-1jkts21f.js} +9 -9
- package/dist/chunks/{location-gwm9h4t4.js → skill-1t1mgs64.js} +18 -18
- package/dist/chunks/{location-cwjhdd4w.js → skill-1td1xm27.js} +16 -16
- package/dist/chunks/{location-7k2b160c.js → skill-1wt8hjjs.js} +2 -2
- package/dist/chunks/{location-1ygqh575.js → skill-1ygqh575.js} +2 -2
- package/dist/chunks/{location-21r38tys.js → skill-21r38tys.js} +1 -1
- package/dist/chunks/{location-2402vzrj.js → skill-2402vzrj.js} +1 -1
- package/dist/chunks/{location-29x78va6.js → skill-29x78va6.js} +2 -2
- package/dist/chunks/{location-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-vjq66stf.js → skill-2c62gqdw.js} +9 -9
- package/dist/chunks/{location-0tn02ksk.js → skill-2cskqjna.js} +52 -52
- package/dist/chunks/{location-qkh2avww.js → skill-2csnqqmz.js} +6 -6
- package/dist/chunks/{location-zxwpk2nb.js → skill-2dchnhcv.js} +1 -1
- package/dist/chunks/{location-fpmq6gma.js → skill-2f0bjgcj.js} +5 -5
- package/dist/chunks/{location-a3kgfrx0.js → skill-2jehf6nr.js} +11 -11
- package/dist/chunks/{location-hjsevywp.js → skill-2vn5f1ze.js} +11 -11
- package/dist/chunks/{location-zyyf3ne3.js → skill-2x1yjhp7.js} +18 -18
- package/dist/chunks/{location-88skwtww.js → skill-34m4bwv1.js} +20 -20
- package/dist/chunks/{location-0n9gyfew.js → skill-34xb35w3.js} +4 -4
- package/dist/chunks/{location-deq2xmw7.js → skill-38tw1je5.js} +3 -3
- package/dist/chunks/{location-5nsrms9d.js → skill-3dqftnvs.js} +1 -1
- package/dist/chunks/{location-h5z8kjx1.js → skill-3eys84td.js} +4 -4
- package/dist/chunks/{location-gdvy8fx6.js → skill-3fc6dm20.js} +4 -4
- package/dist/chunks/{location-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-4d6zvh3y.js → skill-3k3gsxc1.js} +17 -17
- package/dist/chunks/{location-gbxr56d2.js → skill-3sm8xmq4.js} +18 -18
- package/dist/chunks/{location-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-d0rxe8vc.js → skill-3t76bxvw.js} +12 -12
- package/dist/chunks/{location-e37jza6a.js → skill-3tkevmyj.js} +3 -3
- package/dist/chunks/{location-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-vzcbq1w3.js → skill-3z75at8f.js} +46 -46
- package/dist/chunks/{location-t8mcaem5.js → skill-45796egf.js} +1 -1
- package/dist/chunks/{location-awbtvej0.js → skill-45hw2ke2.js} +8 -8
- package/dist/chunks/{location-j5bzq3k2.js → skill-469x8pwq.js} +12 -12
- package/dist/chunks/{location-0q1bg550.js → skill-4g5n3egt.js} +7 -7
- package/dist/chunks/{location-1t7mpxg8.js → skill-4gt7sksm.js} +5 -5
- package/dist/chunks/{location-1ja8qtne.js → skill-4vgrg3f6.js} +24 -24
- package/dist/chunks/{location-6ry05z8r.js → skill-4wrn400e.js} +22 -22
- package/dist/chunks/{location-t41sh3fy.js → skill-4xpnnbkh.js} +18 -18
- package/dist/chunks/{location-0ajdgxne.js → skill-4y66k410.js} +5 -5
- package/dist/chunks/{location-nhnfdq9p.js → skill-4zrd4qtz.js} +13 -13
- package/dist/chunks/{location-x27ytnxh.js → skill-50c06mfy.js} +9 -9
- package/dist/chunks/{location-7tepnm88.js → skill-50cmcpy7.js} +20 -20
- package/dist/chunks/{location-p9pbejt8.js → skill-572ar5e8.js} +26 -26
- package/dist/chunks/{location-a1bz86dw.js → skill-5c4hm403.js} +3 -3
- package/dist/chunks/{location-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{location-f8jykge8.js → skill-5gkf2rhx.js} +20 -20
- package/dist/chunks/{location-9mx1cntf.js → skill-5n0a55p7.js} +16 -16
- package/dist/chunks/{location-8kvx5c4t.js → skill-5rqhfc6t.js} +12 -12
- package/dist/chunks/{location-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-9gbkhhyb.js → skill-5xtt40bq.js} +13 -13
- package/dist/chunks/{location-ymm454xd.js → skill-62bvnefr.js} +6 -6
- package/dist/chunks/{location-64kphnzf.js → skill-64kphnzf.js} +1 -1
- package/dist/chunks/{location-669tq793.js → skill-669tq793.js} +1 -1
- package/dist/chunks/{location-cncarfnr.js → skill-68nf50f2.js} +6 -6
- package/dist/chunks/{location-n46wdk6t.js → skill-69nkh73y.js} +9 -9
- package/dist/chunks/{location-ecwj8few.js → skill-6mkm26he.js} +8 -8
- package/dist/chunks/{location-6msgmcgs.js → skill-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-zghxhb3h.js → skill-6x1znnnc.js} +6 -6
- package/dist/chunks/{location-n38wpmpz.js → skill-6yd676b3.js} +22 -22
- package/dist/chunks/{location-71q4at8m.js → skill-71q4at8m.js} +1 -1
- package/dist/chunks/{location-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-qgn6gcr1.js → skill-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-sgfkh1bp.js → skill-7t3xhesx.js} +4 -4
- package/dist/chunks/{location-0zf2whzq.js → skill-80whd3p3.js} +30 -30
- package/dist/chunks/{location-0bps82y7.js → skill-81rrwt6s.js} +6 -6
- package/dist/chunks/{location-dg7qpz4p.js → skill-87ggqk1h.js} +15 -15
- package/dist/chunks/{location-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-2nfqgr27.js → skill-8dd76x14.js} +13 -13
- package/dist/chunks/{location-5emdt044.js → skill-8hphmtdy.js} +7 -7
- package/dist/chunks/{location-6p2j0xaj.js → skill-8jmjfxwe.js} +11 -11
- package/dist/chunks/{location-2s8c9txd.js → skill-8jnw4rf9.js} +18 -18
- package/dist/chunks/{location-3dn8y05b.js → skill-8n1nmt6r.js} +11 -11
- package/dist/chunks/{location-4mkcvr19.js → skill-8nv6ekx5.js} +5 -5
- package/dist/chunks/{location-s2dhjhqs.js → skill-9b4fcb9s.js} +28 -28
- package/dist/chunks/{location-e4dde0bf.js → skill-9b920320.js} +5 -5
- package/dist/chunks/{location-pjxwef55.js → skill-9h6kjrdz.js} +32 -32
- package/dist/chunks/{location-qg6emqy4.js → skill-9pv0dm11.js} +7 -7
- package/dist/chunks/{location-61gb32ev.js → skill-9qet1afg.js} +33 -33
- package/dist/chunks/{location-689rwdfb.js → skill-9se4e465.js} +20 -20
- package/dist/chunks/{location-dv250zvr.js → skill-9vs0xtad.js} +3 -3
- package/dist/chunks/{location-p05b7svp.js → skill-9x874j65.js} +19 -19
- package/dist/chunks/{location-xhmq8qgk.js → skill-9zswys26.js} +9 -9
- package/dist/chunks/{location-k2ez8jpr.js → skill-a1mw03ee.js} +19 -19
- package/dist/chunks/{location-1pqsyb9r.js → skill-a5sptd3n.js} +8 -8
- package/dist/chunks/{location-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{location-n94hfmyp.js → skill-afs7fbce.js} +4 -4
- package/dist/chunks/{location-y4424x0p.js → skill-ahhdnpew.js} +4 -4
- package/dist/chunks/{location-g0m9gjz9.js → skill-ajv9mbft.js} +52 -52
- package/dist/chunks/{location-0xv9r4rc.js → skill-ak2r15zw.js} +36 -36
- package/dist/chunks/{location-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-wj7cshxw.js → skill-b6h7cdrm.js} +40 -40
- package/dist/chunks/{location-qq11w61w.js → skill-bct739vz.js} +4 -4
- package/dist/chunks/{location-cmbqfntm.js → skill-bdqrk2vk.js} +6 -6
- package/dist/chunks/{location-2rwqw19q.js → skill-bsp2w84h.js} +22 -22
- package/dist/chunks/{location-s0tc2krz.js → skill-bzdcy8yq.js} +17 -17
- package/dist/chunks/{location-e02shwjk.js → skill-c3486t2n.js} +43 -43
- package/dist/chunks/{location-vkkzdp2q.js → skill-c3pg4f1a.js} +6 -6
- package/dist/chunks/{location-yrrczd0w.js → skill-ccyhfr0b.js} +8 -8
- package/dist/chunks/{location-2dpa94xe.js → skill-cgswjz6e.js} +10 -10
- package/dist/chunks/{location-hj81pfz7.js → skill-ckdh4t9b.js} +9 -9
- package/dist/chunks/{location-fg7rbsd2.js → skill-cxp3r8sb.js} +11 -11
- package/dist/chunks/{location-vpsgd2jw.js → skill-d1j3kr65.js} +9 -9
- package/dist/chunks/{location-8p4f9s12.js → skill-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-6711snrz.js → skill-dkgmj00c.js} +14 -14
- package/dist/chunks/{location-jm1m0h68.js → skill-dxdqcvte.js} +33 -33
- package/dist/chunks/{location-dxj72tfx.js → skill-dxj72tfx.js} +1 -1
- package/dist/chunks/{location-3vq2j3j3.js → skill-e0sp47gf.js} +38 -38
- package/dist/chunks/{location-hjt4xg1x.js → skill-e82z9tr0.js} +7 -7
- package/dist/chunks/{location-bysfyz6c.js → skill-edvearje.js} +38 -38
- package/dist/chunks/{location-4yz38106.js → skill-egs27rwx.js} +21 -21
- package/dist/chunks/{location-4vp014ph.js → skill-ena93r8b.js} +12 -12
- package/dist/chunks/{location-eq1pz5kg.js → skill-eq1pz5kg.js} +1 -1
- package/dist/chunks/{location-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-7wbnq2vq.js → skill-exykx48p.js} +8 -8
- package/dist/chunks/{location-jfk1xeys.js → skill-f0dsah6w.js} +12 -12
- package/dist/chunks/{location-1acjjqhc.js → skill-f2n192rq.js} +4 -4
- package/dist/chunks/{location-q6r6ry4n.js → skill-f41b5hh0.js} +11 -11
- package/dist/chunks/{location-hgxcmmev.js → skill-f96dtzc8.js} +25 -25
- package/dist/chunks/{location-2nqpnpx3.js → skill-fcz02341.js} +23 -23
- package/dist/chunks/{location-5kptn8c0.js → skill-fjmrr6sh.js} +9 -9
- package/dist/chunks/{location-tc7ec7w9.js → skill-fry6bjf0.js} +36 -36
- package/dist/chunks/{location-thkpvahy.js → skill-fvcmx4mc.js} +22 -22
- package/dist/chunks/{location-fxbjtjnd.js → skill-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-padgxnv1.js → skill-fycn36cb.js} +5 -5
- package/dist/chunks/{location-hkqcgn21.js → skill-fzc97bae.js} +9 -9
- package/dist/chunks/{location-rabb6kfb.js → skill-gb7vzwag.js} +7 -7
- package/dist/chunks/{location-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-gx1zhcta.js → skill-gx1zhcta.js} +1 -1
- package/dist/chunks/{location-r4tq48pt.js → skill-gzhzaa5p.js} +11 -11
- package/dist/chunks/{location-h03wrkyp.js → skill-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-fm2g78m8.js → skill-h23w9p7f.js} +11 -11
- package/dist/chunks/{location-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-gsx0ryk4.js → skill-h7ygw6q4.js} +9 -9
- package/dist/chunks/{location-qte5z7bc.js → skill-hcz3zddy.js} +5 -5
- package/dist/chunks/{location-f828m53h.js → skill-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-1e3xc6ve.js → skill-hpc1gdm0.js} +25 -25
- package/dist/chunks/{location-tqzea4nr.js → skill-j24bqw62.js} +33 -33
- package/dist/chunks/{location-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{location-f06x8t7g.js → skill-j8hnd7cg.js} +24 -24
- package/dist/chunks/{location-3gfxcggk.js → skill-j9d8easd.js} +11 -11
- package/dist/chunks/{location-19vf66h0.js → skill-jfqtm2ew.js} +4 -4
- package/dist/chunks/{location-dtqg9ce1.js → skill-jgttmm4a.js} +5 -5
- package/dist/chunks/{location-bajakh74.js → skill-jmphe03k.js} +4 -4
- package/dist/chunks/{location-q5j1bp2v.js → skill-k52252t7.js} +4 -4
- package/dist/chunks/{location-chnmz1hg.js → skill-ka2k270b.js} +8 -8
- package/dist/chunks/{location-742mfkhf.js → skill-kcct59d9.js} +21 -21
- package/dist/chunks/{location-kg06axw8.js → skill-kg06axw8.js} +1 -1
- package/dist/chunks/{location-cfpkc3c9.js → skill-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-srpeewqc.js → skill-m23k9y15.js} +9 -9
- package/dist/chunks/{location-yfhpaps7.js → skill-m8xvr7s3.js} +17 -17
- package/dist/chunks/{location-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-hpf6vjwp.js → skill-m9xxtaj4.js} +22 -22
- package/dist/chunks/{location-vccwxyms.js → skill-maqcvqg3.js} +12 -12
- package/dist/chunks/{location-2naaymgq.js → skill-mcaz09sj.js} +20 -20
- package/dist/chunks/{location-0ge7vg41.js → skill-mdzsfjay.js} +11 -11
- package/dist/chunks/{location-jhetwysa.js → skill-mgtytz9t.js} +3 -3
- package/dist/chunks/{location-g5d9kagx.js → skill-mj2pgv42.js} +163 -163
- package/dist/chunks/{location-mkcjrzeh.js → skill-mkcjrzeh.js} +1 -1
- package/dist/chunks/{location-0q77j2hf.js → skill-mw5sgvh1.js} +30 -30
- package/dist/chunks/{location-grg0ht9d.js → skill-mx527x43.js} +30 -30
- package/dist/chunks/{location-cv28m94p.js → skill-n64b6sp6.js} +30 -30
- package/dist/chunks/{location-gxx6jc0s.js → skill-n8zwenhw.js} +3 -3
- package/dist/chunks/{location-jg27de1v.js → skill-n970r1wx.js} +15 -15
- package/dist/chunks/{location-4yzhf524.js → skill-narbeh08.js} +13 -13
- package/dist/chunks/{location-rme5v0wm.js → skill-nbddwgy7.js} +10 -10
- package/dist/chunks/{location-f6pdpkc8.js → skill-p4eqt7gw.js} +56 -56
- package/dist/chunks/{location-v54nzcw9.js → skill-p9abtgfw.js} +21 -21
- package/dist/chunks/{location-fj5qtafa.js → skill-pc65svd3.js} +35 -35
- package/dist/chunks/{location-nnejmx3z.js → skill-pfpk0zf4.js} +24 -24
- package/dist/chunks/{location-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{location-bdyczj2g.js → skill-qfh0g8bm.js} +11 -11
- package/dist/chunks/{location-w34f8myg.js → skill-qg8mtbnf.js} +24 -24
- package/dist/chunks/{location-yzn2jey8.js → skill-qhtt8cq2.js} +8 -8
- package/dist/chunks/{location-szyk33kk.js → skill-qk1s35sc.js} +6 -6
- package/dist/chunks/{location-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{location-j9g8tyqb.js → skill-qtkzm0vp.js} +8 -8
- package/dist/chunks/{location-c7ecgrk6.js → skill-r2qzv5a7.js} +6 -6
- package/dist/chunks/{location-y3ex4pz8.js → skill-r2s3jpjh.js} +15 -15
- package/dist/chunks/{location-r9mregkx.js → skill-r9mregkx.js} +2 -2
- package/dist/chunks/{location-en74w496.js → skill-ras7gexc.js} +5 -5
- package/dist/chunks/{location-z24k1rmt.js → skill-rkvfcyy6.js} +20 -20
- package/dist/chunks/{location-qe9wkc6t.js → skill-rwa70r0w.js} +10 -10
- package/dist/chunks/{location-4gjq1w3h.js → skill-rzbdrxpw.js} +39 -39
- package/dist/chunks/{location-xya91wz4.js → skill-rzxn8jq1.js} +2 -2
- package/dist/chunks/{location-g2y161wv.js → skill-s0agc963.js} +6 -6
- package/dist/chunks/{location-gt0cxfk7.js → skill-s1a57xgp.js} +1 -1
- package/dist/chunks/{location-tj2vbr09.js → skill-s3q1dfb5.js} +277 -277
- package/dist/chunks/{location-s4enseaf.js → skill-s4enseaf.js} +2 -2
- package/dist/chunks/{location-b3frasm9.js → skill-s4m6ffrn.js} +10 -10
- package/dist/chunks/{location-zd6k41k9.js → skill-s8rwmjr0.js} +11 -11
- package/dist/chunks/{location-4vm55rjt.js → skill-spamftm3.js} +18 -18
- package/dist/chunks/{location-wc4t234n.js → skill-spxyers1.js} +15 -15
- package/dist/chunks/{location-3r86hrp4.js → skill-svdcpqwj.js} +16 -16
- package/dist/chunks/{location-1wxb385z.js → skill-t3w9f47z.js} +1 -1
- package/dist/chunks/{location-zepncfka.js → skill-t51qk8jz.js} +4 -4
- package/dist/chunks/{location-t550f9t1.js → skill-t550f9t1.js} +1 -1
- package/dist/chunks/{location-t78ymf7t.js → skill-t638bs47.js} +12 -12
- package/dist/chunks/{location-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-z8y5r8b4.js → skill-tb0hthqf.js} +14 -14
- package/dist/chunks/{location-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{location-gv6a8nnw.js → skill-th5km1p3.js} +5 -5
- package/dist/chunks/{location-7zezh56x.js → skill-thceg08k.js} +20 -20
- package/dist/chunks/{location-xfrbke8t.js → skill-tqj0t39a.js} +47 -47
- package/dist/chunks/{location-mset8fj1.js → skill-trm52gcm.js} +41 -41
- package/dist/chunks/{location-crg35gqk.js → skill-tsh7pk9n.js} +2 -2
- package/dist/chunks/{location-9vhx2d4h.js → skill-ttepvpk4.js} +11 -11
- package/dist/chunks/{location-yvmq8qxx.js → skill-tveepnm1.js} +12 -12
- package/dist/chunks/{location-tvtrv512.js → skill-tvtrv512.js} +1 -1
- package/dist/chunks/{location-zpd6x7fe.js → skill-v2f6dcv3.js} +2 -2
- package/dist/chunks/{location-q5nc2w3s.js → skill-v2jh4czv.js} +15 -15
- package/dist/chunks/{location-83x6p9kd.js → skill-v71xcev7.js} +1 -1
- package/dist/chunks/{location-9nyx0xzb.js → skill-v7jdwsmt.js} +29 -29
- package/dist/chunks/{location-4pdm3gpn.js → skill-v8p5j567.js} +18 -18
- package/dist/chunks/skill-vagyftv9.js +247 -0
- package/dist/chunks/{location-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{location-443jp2h5.js → skill-vmmty49e.js} +11 -11
- package/dist/chunks/{location-djamvv4a.js → skill-vnfb9jgg.js} +16 -16
- package/dist/chunks/{location-wwa04tag.js → skill-vpd9vakt.js} +22 -22
- package/dist/chunks/{location-5wxnan0q.js → skill-vwjkge68.js} +4 -4
- package/dist/chunks/{location-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-nvnjvff3.js → skill-w20nd3yt.js} +24 -24
- package/dist/chunks/{location-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-38grcwtr.js → skill-w6ax7cqs.js} +11 -11
- package/dist/chunks/{location-6arvyfpk.js → skill-w70fs397.js} +5 -5
- package/dist/chunks/{location-1an81ev3.js → skill-wbj903yc.js} +7 -7
- package/dist/chunks/{location-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{location-29cddch4.js → skill-wg3vs4kv.js} +43 -43
- package/dist/chunks/{location-p7g16bt6.js → skill-wwct6c52.js} +9 -9
- package/dist/chunks/{location-jgffvrzd.js → skill-wxd2bqfr.js} +7 -7
- package/dist/chunks/{location-e0paksqa.js → skill-wxy7rra6.js} +18 -18
- package/dist/chunks/{location-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-8z17e00v.js → skill-x3a3e1nt.js} +8 -8
- package/dist/chunks/{location-7b15y959.js → skill-x3et2xth.js} +8 -8
- package/dist/chunks/{location-7ra4c6gm.js → skill-x90pe81c.js} +13 -13
- package/dist/chunks/{location-vbk940s3.js → skill-x91q163v.js} +22 -22
- package/dist/chunks/{location-5bcts36j.js → skill-xayds21m.js} +83 -83
- package/dist/chunks/{location-3pgnpxjv.js → skill-xb86z6zr.js} +10 -10
- package/dist/chunks/{location-ctysr86j.js → skill-xt6s5a9c.js} +13 -13
- package/dist/chunks/{location-hhbxt1mp.js → skill-xw6fw6zr.js} +8 -8
- package/dist/chunks/{location-vjqy2pak.js → skill-y09x1tcz.js} +3 -3
- package/dist/chunks/{location-vtnam11j.js → skill-y0yjhn21.js} +17 -17
- package/dist/chunks/{location-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-5k5btewg.js → skill-y4pxrj14.js} +18 -18
- package/dist/chunks/{location-b4phpgjh.js → skill-y5v9wk3k.js} +7 -7
- package/dist/chunks/{location-y71avatq.js → skill-y71avatq.js} +1 -1
- package/dist/chunks/{location-k881w53b.js → skill-yh2vsnhs.js} +46 -46
- package/dist/chunks/{location-pcg8y0q6.js → skill-ymty78va.js} +10 -10
- package/dist/chunks/{location-yrhqyw5v.js → skill-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-cz5ya5dx.js → skill-yrpprw9r.js} +6 -6
- package/dist/chunks/{location-avm8jn6n.js → skill-yt0fqk68.js} +5 -5
- package/dist/chunks/{location-711d7g3x.js → skill-yv8e5dfz.js} +18 -18
- package/dist/chunks/{location-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-swegyzdq.js → skill-z0sgkz7q.js} +11 -11
- package/dist/chunks/{location-zav06jzw.js → skill-zcrspsvn.js} +4 -4
- package/dist/chunks/{location-t9kz6j3c.js → skill-zd1r38ht.js} +24 -24
- package/dist/chunks/{location-zeh9ct20.js → skill-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-gbxx1qdc.js → skill-zv8vnbs5.js} +32 -32
- package/dist/chunks/{location-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- 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 +80 -80
- package/dist/config/discovery.js +78 -78
- 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 +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- 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 +82 -82
- package/dist/database/database.js +65 -65
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +217 -217
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +97 -97
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +83 -83
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +78 -78
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- 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 +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -98
- 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 +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- 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 +118 -118
- 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 +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +1 -1
- 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 +2 -2
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +87 -87
- package/dist/reference/instructions.js +81 -81
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +86 -86
- 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 +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +109 -109
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- 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 +5 -5
- package/dist/session/title.js +146 -146
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +7 -7
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +89 -89
- 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 +122 -122
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +93 -93
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +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 +86 -86
- package/dist/websearch.js +77 -77
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/location-51teaz73.js +0 -247
- /package/dist/chunks/{location-0mesazry.js → skill-0mesazry.js} +0 -0
- /package/dist/chunks/{location-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → skill-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{location-hrnqkpcd.js → skill-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-j935v87r.js → skill-j935v87r.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → skill-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → skill-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-r2qzv5a7.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID10,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info24
|
|
11
|
+
} from "./skill-tveepnm1.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
CopilotModels: () => exports_models2,
|
|
20
|
+
get: () => get3
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
@@ -66,7 +66,7 @@ var RemoteModel = Schema.Struct({
|
|
|
66
66
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
67
67
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
68
68
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
69
|
-
async function
|
|
69
|
+
async function get3(baseURL, headers, existing) {
|
|
70
70
|
const response = await fetch(`${baseURL}/models`, {
|
|
71
71
|
headers,
|
|
72
72
|
signal: AbortSignal.timeout(5000)
|
|
@@ -87,7 +87,7 @@ async function get2(baseURL, headers, existing) {
|
|
|
87
87
|
result.set(id, build(id, current, baseURL, model));
|
|
88
88
|
}
|
|
89
89
|
for (const [id, model] of remote) {
|
|
90
|
-
const key =
|
|
90
|
+
const key = ID10.make(id);
|
|
91
91
|
if (result.has(key))
|
|
92
92
|
continue;
|
|
93
93
|
result.set(key, build(key, model, baseURL));
|
|
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
111
111
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
112
112
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
113
113
|
const released = previous?.time.released || Date.parse(version);
|
|
114
|
-
return
|
|
115
|
-
...
|
|
114
|
+
return Info24.make({
|
|
115
|
+
...Info24.default(ID13.githubCopilot, id),
|
|
116
116
|
id,
|
|
117
|
-
modelID:
|
|
118
|
-
providerID:
|
|
117
|
+
modelID: ID10.make(remote.id),
|
|
118
|
+
providerID: ID13.githubCopilot,
|
|
119
119
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
120
120
|
name: previous?.name ?? remote.name,
|
|
121
121
|
package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
|
|
@@ -190,4 +190,4 @@ function variants(remote, messages) {
|
|
|
190
190
|
];
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { get3, exports_models2 };
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-ahhdnpew.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service66,
|
|
8
|
+
node70
|
|
9
|
+
} from "./skill-xb86z6zr.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event16,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service65,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node69,
|
|
26
26
|
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service65 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event16 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service66;
|
|
81
81
|
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event16.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service65.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event16.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event16.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node69 = makeGlobalNode({ service: Service65, layer, deps: [httpClient, node70, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service65, Event16, inspect2, resolve2, node69, exports_wellknown };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-tveepnm1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./skill-trm52gcm.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-wbj903yc.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service63;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
catalog.model.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID10.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-ahhdnpew.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service68,
|
|
11
|
+
node72
|
|
12
|
+
} from "./skill-9b4fcb9s.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service75,
|
|
15
|
+
node80
|
|
16
|
+
} from "./skill-m8xvr7s3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service69,
|
|
19
|
+
node73
|
|
20
|
+
} from "./skill-w20nd3yt.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID6,
|
|
23
|
+
Service53,
|
|
24
|
+
node57
|
|
25
|
+
} from "./skill-572ar5e8.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID5,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service49,
|
|
34
|
+
node53
|
|
35
|
+
} from "./skill-qg8mtbnf.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./skill-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service36,
|
|
60
60
|
Status: () => Status2,
|
|
61
|
-
Tool: () =>
|
|
61
|
+
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
65
|
configured: () => configured4,
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
66
|
+
layer: () => layer15,
|
|
67
|
+
node: () => node40
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID5.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -91,7 +91,7 @@ class ServerInstructions2 extends Schema.Class("MCP.ServerInstructions")({
|
|
|
91
91
|
}) {
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Tool3 extends Schema.Class("MCP.Tool")({
|
|
95
95
|
server: ServerName2,
|
|
96
96
|
name: Schema.String,
|
|
97
97
|
codemode: Schema.Boolean.pipe(Schema.optional),
|
|
@@ -165,7 +165,7 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service36 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
170
|
var Options4 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -173,13 +173,13 @@ var Options4 = Schema.Struct({
|
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
176
|
+
var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service75;
|
|
178
|
+
const environment = yield* Service69;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service53;
|
|
181
|
+
const integration = yield* Service49;
|
|
182
|
+
const credentials = yield* Service68;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID5.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -315,7 +315,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID6.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -358,7 +358,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
358
358
|
yield* forms.reply({ id: formID, answer: { [URL_ELICITATION_FIELD_KEY]: true } }).pipe(Effect.ignore);
|
|
359
359
|
})
|
|
360
360
|
};
|
|
361
|
-
const toTool = (server, entry, def) => new
|
|
361
|
+
const toTool = (server, entry, def) => new Tool3({
|
|
362
362
|
server,
|
|
363
363
|
name: def.name,
|
|
364
364
|
codemode: entry.config.codemode,
|
|
@@ -433,7 +433,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service69, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service36.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -709,12 +709,12 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
709
709
|
}));
|
|
710
710
|
function configured4(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [
|
|
712
|
+
service: Service36,
|
|
713
|
+
layer: layer15(options),
|
|
714
|
+
deps: [node80, node73, node84, node57, node53, node72]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node40 = configured4();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service36, Options4, layer15, configured4, node40, exports_mcp4 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-tveepnm1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./skill-trm52gcm.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-wbj903yc.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/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 make4(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* Service63;
|
|
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 make7(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 = ID10.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 make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make4();
|
|
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 { make4, LMStudioPlugin2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID7,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-x91q163v.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
|
|
|
57
57
|
return {
|
|
58
58
|
_tag: "Parsed",
|
|
59
59
|
skill: {
|
|
60
|
-
id:
|
|
60
|
+
id: ID7.make(id),
|
|
61
61
|
name: Name2.make(frontmatter.name ?? id),
|
|
62
62
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
63
63
|
...slash === undefined ? {} : { slash },
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info17,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info17 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info17, exports_mcp5 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-ahhdnpew.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID13
|
|
6
|
+
} from "./skill-r2qzv5a7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID10
|
|
9
|
+
} from "./skill-tveepnm1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Event17
|
|
12
|
+
} from "./skill-9b4fcb9s.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
ID5
|
|
15
|
+
} from "./skill-qg8mtbnf.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service47
|
|
18
|
+
} from "./skill-19hqt04n.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
get2
|
|
21
|
+
} from "./skill-4xpnnbkh.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/modal.ts
|
|
24
24
|
import { Effect, Semaphore, Stream } from "effect";
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID13.make("modal");
|
|
27
27
|
var ModalPlugin2 = define({
|
|
28
28
|
id: "opencode.provider.modal",
|
|
29
29
|
effect: Effect.fn(function* (ctx) {
|
|
30
|
-
const catalog = yield*
|
|
30
|
+
const catalog = yield* Service47;
|
|
31
31
|
const bus = yield* Service79;
|
|
32
32
|
const loading = Semaphore.makeUnsafe(1);
|
|
33
33
|
const loaded = {};
|
|
@@ -47,7 +47,7 @@ var ModalPlugin2 = define({
|
|
|
47
47
|
loaded.baseURL = baseURL;
|
|
48
48
|
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === providerID);
|
|
49
49
|
loaded.models = yield* Effect.tryPromise({
|
|
50
|
-
try: () =>
|
|
50
|
+
try: () => get2(baseURL, apiKey, existing),
|
|
51
51
|
catch: (cause) => cause
|
|
52
52
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
53
53
|
});
|
|
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
|
|
|
58
58
|
if (!loaded.models)
|
|
59
59
|
return;
|
|
60
60
|
for (const id of item.models.keys()) {
|
|
61
|
-
if (!loaded.models.has(
|
|
61
|
+
if (!loaded.models.has(ID10.make(id)))
|
|
62
62
|
evt.model.remove(item.provider.id, id);
|
|
63
63
|
}
|
|
64
64
|
for (const [id, model] of loaded.models) {
|
|
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
yield* refresh().pipe(Effect.forkScoped);
|
|
71
71
|
})
|
|
72
72
|
});
|