@opencode/core 0.0.0-dev-19488 → 0.0.0-dev-19491
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +74 -74
- package/dist/catalog.js +84 -84
- package/dist/chunks/{model-resolver-prp52c5q.js → skill-00tet6pb.js} +11 -11
- package/dist/chunks/{model-resolver-mz60zy6e.js → skill-074w1zm6.js} +9 -9
- package/dist/chunks/{model-resolver-3nxeqbj3.js → skill-0acgwxx9.js} +15 -15
- package/dist/chunks/{model-resolver-g53r2hff.js → skill-0m4cr050.js} +27 -27
- package/dist/chunks/skill-0mesazry.js +4 -0
- package/dist/chunks/{model-resolver-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → skill-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-24e6cc3r.js → skill-0t3mp40g.js} +7 -7
- package/dist/chunks/{model-resolver-1zkr721w.js → skill-1aqyasd7.js} +13 -13
- package/dist/chunks/{model-resolver-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-t82489yp.js → skill-1kr8ppnb.js} +35 -35
- package/dist/chunks/{model-resolver-cbg8bv93.js → skill-1mgvftkm.js} +10 -10
- package/dist/chunks/{model-resolver-vnv2t9ht.js → skill-1nahrzwd.js} +4 -4
- package/dist/chunks/{model-resolver-y94qkjj7.js → skill-1t3hpfqc.js} +10 -10
- package/dist/chunks/{model-resolver-trk3y68z.js → skill-1tvywgny.js} +58 -58
- package/dist/chunks/{model-resolver-ck6gmqc6.js → skill-1ycwnpgc.js} +43 -43
- package/dist/chunks/{model-resolver-1ygqh575.js → skill-1ygqh575.js} +2 -2
- package/dist/chunks/{model-resolver-21r38tys.js → skill-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-7cwz0yjz.js → skill-22hdgqw1.js} +17 -17
- package/dist/chunks/{model-resolver-2402vzrj.js → skill-2402vzrj.js} +1 -1
- package/dist/chunks/{model-resolver-0mywzg06.js → skill-24bmmpej.js} +20 -20
- package/dist/chunks/{model-resolver-8abbabsk.js → skill-24mnhr99.js} +22 -22
- package/dist/chunks/{model-resolver-s2whfhf8.js → skill-254av4a6.js} +27 -27
- package/dist/chunks/{model-resolver-8y92rm17.js → skill-26hn7a7s.js} +6 -6
- package/dist/chunks/{model-resolver-9y7khav7.js → skill-29z9s3bq.js} +12 -12
- package/dist/chunks/{model-resolver-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-hwxt52gm.js → skill-2h5vgx9d.js} +5 -5
- package/dist/chunks/{model-resolver-vy514hgv.js → skill-2h72r71h.js} +9 -9
- package/dist/chunks/{model-resolver-z2kz5700.js → skill-2kggpb2f.js} +17 -17
- package/dist/chunks/{model-resolver-0334ef0p.js → skill-2q4wgzbd.js} +1 -1
- package/dist/chunks/{model-resolver-7fys8geh.js → skill-2vskgd28.js} +14 -14
- package/dist/chunks/{model-resolver-hwap2x7x.js → skill-2wj3k3x9.js} +19 -19
- package/dist/chunks/{model-resolver-d880b0y6.js → skill-32t3848n.js} +30 -30
- package/dist/chunks/{model-resolver-pvvs7m8f.js → skill-38y19f1h.js} +13 -13
- package/dist/chunks/{model-resolver-gkv3re89.js → skill-3b4k6mgn.js} +8 -8
- package/dist/chunks/{model-resolver-djqd3v5p.js → skill-3fa44pnr.js} +43 -43
- package/dist/chunks/{model-resolver-gdvy8fx6.js → skill-3fc6dm20.js} +4 -4
- package/dist/chunks/{model-resolver-fdc0z0c3.js → skill-3h99rnj2.js} +2 -2
- package/dist/chunks/{model-resolver-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-kx6yd4vg.js → skill-42xdtmyh.js} +32 -32
- package/dist/chunks/{model-resolver-dkck3j8g.js → skill-48atfkft.js} +8 -8
- package/dist/chunks/{model-resolver-942176fc.js → skill-4ky8t7n6.js} +8 -8
- package/dist/chunks/{model-resolver-4y66k410.js → skill-4y66k410.js} +2 -2
- package/dist/chunks/{model-resolver-rq6dswfj.js → skill-5cscdp3x.js} +10 -10
- package/dist/chunks/{model-resolver-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-djmbsxn3.js → skill-5eb1ygc3.js} +9 -9
- package/dist/chunks/{model-resolver-am89cgs6.js → skill-5jzgtb6e.js} +13 -13
- package/dist/chunks/{model-resolver-0g6mfyfr.js → skill-5qbtxqe3.js} +54 -54
- package/dist/chunks/{model-resolver-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-f8zs2stk.js → skill-5w5ra95s.js} +11 -11
- package/dist/chunks/{model-resolver-dv1qgsyq.js → skill-5xtgfte3.js} +8 -8
- package/dist/chunks/{model-resolver-6wxzvafn.js → skill-5z4f5exs.js} +11 -11
- package/dist/chunks/{model-resolver-k6556a45.js → skill-64mbz47k.js} +6 -6
- package/dist/chunks/{model-resolver-669tq793.js → skill-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-csz4k5km.js → skill-69jddtm0.js} +18 -18
- package/dist/chunks/{model-resolver-tp3xxvx5.js → skill-6b1znt97.js} +43 -43
- package/dist/chunks/{model-resolver-0vvagabw.js → skill-6gazz9vr.js} +24 -24
- package/dist/chunks/{model-resolver-s534qmrw.js → skill-6h6m7p04.js} +4 -4
- package/dist/chunks/{model-resolver-zpkbxaqd.js → skill-6kav77kw.js} +4 -4
- package/dist/chunks/{model-resolver-6msgmcgs.js → skill-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-qa6ytjmd.js → skill-6tcshp3z.js} +13 -13
- package/dist/chunks/{model-resolver-23sxaqwc.js → skill-6zz0jjar.js} +6 -6
- package/dist/chunks/{model-resolver-71q4at8m.js → skill-71q4at8m.js} +1 -1
- package/dist/chunks/{model-resolver-581kfnqp.js → skill-7b1tpp8n.js} +18 -18
- package/dist/chunks/{model-resolver-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-9rzqjwaz.js → skill-7da7ws9f.js} +1 -1
- package/dist/chunks/{model-resolver-ghej9zy6.js → skill-7m3hdjns.js} +17 -17
- package/dist/chunks/{model-resolver-98a0b00a.js → skill-7ps6gmn4.js} +4 -4
- package/dist/chunks/{model-resolver-6xt4p4wv.js → skill-7q2nyqgm.js} +9 -9
- package/dist/chunks/{model-resolver-y3fea29m.js → skill-7razwkap.js} +15 -15
- package/dist/chunks/{model-resolver-8yrnm0fa.js → skill-7rra99b0.js} +14 -14
- package/dist/chunks/{model-resolver-jwazx1ed.js → skill-7sv8prhs.js} +33 -33
- package/dist/chunks/{model-resolver-h2fnsspk.js → skill-7v41m4wd.js} +11 -11
- package/dist/chunks/{model-resolver-kvffe9p6.js → skill-7v4g7keg.js} +17 -17
- package/dist/chunks/{model-resolver-e86807kd.js → skill-7vzs0hkr.js} +89 -89
- package/dist/chunks/{model-resolver-7z7az0f5.js → skill-7z7az0f5.js} +1 -1
- package/dist/chunks/{model-resolver-2verbhpp.js → skill-86e0kwwr.js} +41 -41
- package/dist/chunks/{model-resolver-4kmhmgeg.js → skill-883n20bv.js} +159 -159
- package/dist/chunks/{model-resolver-ggj3dvvh.js → skill-8b5swp6f.js} +12 -12
- package/dist/chunks/{model-resolver-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-3tq8bdpm.js → skill-8j63s4bj.js} +13 -13
- package/dist/chunks/{model-resolver-8p4f9s12.js → skill-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-resolver-vvccsdf3.js → skill-8q9myf25.js} +6 -6
- package/dist/chunks/{model-resolver-r9ghxtsk.js → skill-8seekddy.js} +3 -3
- package/dist/chunks/{model-resolver-121k57vw.js → skill-8sghyhzw.js} +8 -8
- package/dist/chunks/{model-resolver-0jwvfzzp.js → skill-90cw7nv9.js} +17 -17
- package/dist/chunks/{model-resolver-3gjfrb28.js → skill-913ve1tm.js} +24 -24
- package/dist/chunks/{model-resolver-spr8pf2r.js → skill-919msr8d.js} +9 -9
- package/dist/chunks/{model-resolver-0hf448nj.js → skill-94txab4a.js} +8 -8
- package/dist/chunks/{model-resolver-gwnxf6ch.js → skill-97c46kt4.js} +6 -6
- package/dist/chunks/{model-resolver-x940zq77.js → skill-9edcvf27.js} +10 -10
- package/dist/chunks/{model-resolver-gwfcx2m0.js → skill-9emyn5xc.js} +21 -21
- package/dist/chunks/{model-resolver-rtkh6q4b.js → skill-9h0nm469.js} +11 -11
- package/dist/chunks/{model-resolver-t6gatd88.js → skill-9n0ce3z8.js} +51 -51
- package/dist/chunks/{model-resolver-rsym84ch.js → skill-9pv0dm11.js} +5 -5
- package/dist/chunks/{model-resolver-b22gj5xn.js → skill-9xk09gab.js} +32 -32
- package/dist/chunks/{model-resolver-a1bz86dw.js → skill-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-resolver-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-0sp60s5d.js → skill-aehqxcxq.js} +17 -17
- package/dist/chunks/{model-resolver-z2qr9twd.js → skill-amzwa14p.js} +1 -1
- package/dist/chunks/{model-resolver-0wbgnjtz.js → skill-arqxcxm1.js} +2 -2
- package/dist/chunks/{model-resolver-6jcw83n3.js → skill-axpq6a1e.js} +47 -47
- package/dist/chunks/{model-resolver-htx7jtvk.js → skill-axy1mzxr.js} +19 -19
- package/dist/chunks/{model-resolver-m4hypjkm.js → skill-b0kmrf4v.js} +7 -7
- package/dist/chunks/{model-resolver-wrjeysgp.js → skill-b1mg7fsy.js} +2 -2
- package/dist/chunks/{model-resolver-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-csz41kxq.js → skill-b88gjvr8.js} +5 -5
- package/dist/chunks/{model-resolver-r532bney.js → skill-bfxeb1xx.js} +4 -4
- package/dist/chunks/{model-resolver-me88hgte.js → skill-bg967zfn.js} +23 -23
- package/dist/chunks/{model-resolver-fxqygnfa.js → skill-bha4atvq.js} +4 -4
- package/dist/chunks/{model-resolver-dqyg47hv.js → skill-bk89yz0d.js} +1 -1
- package/dist/chunks/{model-resolver-079cv0ze.js → skill-bmw4j1xk.js} +30 -30
- package/dist/chunks/{model-resolver-1ptmpf20.js → skill-bq5fxdyt.js} +6 -6
- package/dist/chunks/{model-resolver-0wmmprtc.js → skill-bwvxp9j2.js} +32 -32
- package/dist/chunks/{model-resolver-shqnjwtb.js → skill-byvqdmd1.js} +15 -15
- package/dist/chunks/{model-resolver-g5rnekq0.js → skill-bzjkhwme.js} +5 -5
- package/dist/chunks/{model-resolver-g6fkknnq.js → skill-c197rr27.js} +26 -26
- package/dist/chunks/{model-resolver-37s12vcn.js → skill-c78bbtc9.js} +5 -5
- package/dist/chunks/{model-resolver-mz65vdgf.js → skill-ccfhzdp3.js} +20 -20
- package/dist/chunks/{model-resolver-cfpkc3c9.js → skill-cfpkc3c9.js} +2 -2
- package/dist/chunks/{model-resolver-2cshb6bs.js → skill-cqam0280.js} +23 -23
- package/dist/chunks/{model-resolver-q87s0xy8.js → skill-ct2p638d.js} +45 -45
- package/dist/chunks/{model-resolver-26jcn8kh.js → skill-cwhba9p2.js} +12 -12
- package/dist/chunks/{model-resolver-drknmmyh.js → skill-cwxby6pr.js} +9 -9
- package/dist/chunks/{model-resolver-98kgw1j6.js → skill-d4pyqmad.js} +5 -5
- package/dist/chunks/{model-resolver-wj9n5p3k.js → skill-d5m5g738.js} +5 -5
- package/dist/chunks/{model-resolver-mb5a7wwz.js → skill-dfnfv2ja.js} +10 -10
- package/dist/chunks/{model-resolver-dpkg50ah.js → skill-dpkg50ah.js} +1 -1
- package/dist/chunks/{model-resolver-vxp3kcg3.js → skill-dtqg9ce1.js} +5 -5
- package/dist/chunks/{model-resolver-s72x8wcp.js → skill-dvmk7p7f.js} +18 -18
- package/dist/chunks/{model-resolver-qn4ba14w.js → skill-e6hmchc5.js} +5 -5
- package/dist/chunks/{model-resolver-psjem9sa.js → skill-e6qsebz3.js} +11 -11
- package/dist/chunks/{model-resolver-erhkyex8.js → skill-e78h5qty.js} +4 -4
- package/dist/chunks/{model-resolver-02nrjc1r.js → skill-eaj1djv9.js} +4 -4
- package/dist/chunks/{model-resolver-818pfwc9.js → skill-ep6z9mt6.js} +8 -8
- package/dist/chunks/{model-resolver-zf0svfz5.js → skill-epqpx351.js} +18 -18
- package/dist/chunks/{model-resolver-mhkvc446.js → skill-eq1pz5kg.js} +3 -3
- package/dist/chunks/{model-resolver-774n8a20.js → skill-esbcw9x0.js} +7 -7
- package/dist/chunks/{model-resolver-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-1gqabzhy.js → skill-ewmr8yev.js} +14 -14
- package/dist/chunks/{model-resolver-qn8ypmg1.js → skill-ez35fva7.js} +18 -18
- package/dist/chunks/{model-resolver-f828m53h.js → skill-f828m53h.js} +2 -2
- package/dist/chunks/{model-resolver-rj9a996t.js → skill-fc3thhkm.js} +9 -9
- package/dist/chunks/{model-resolver-gw82nkc3.js → skill-fed859vy.js} +32 -32
- package/dist/chunks/{model-resolver-twy35tz0.js → skill-fjmrr6sh.js} +9 -9
- package/dist/chunks/{model-resolver-8p8b376s.js → skill-fwyqjcw8.js} +25 -25
- package/dist/chunks/{model-resolver-fxbjtjnd.js → skill-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-6hzp91we.js → skill-g17cqcan.js} +7 -7
- package/dist/chunks/{model-resolver-3hgg98pr.js → skill-g1p53x2d.js} +32 -32
- package/dist/chunks/{model-resolver-5v85fpgj.js → skill-g3v9gr2d.js} +25 -25
- package/dist/chunks/{model-resolver-07cx4w7f.js → skill-g8fdg9p1.js} +6 -6
- package/dist/chunks/{model-resolver-h3k867zz.js → skill-g9rdf1fa.js} +3 -3
- package/dist/chunks/{model-resolver-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-3kafhsr8.js → skill-ggkj9wzv.js} +22 -22
- package/dist/chunks/{model-resolver-z7dhx1kn.js → skill-gna7rjh2.js} +24 -24
- package/dist/chunks/{model-resolver-yjv2keaj.js → skill-grc1sz1y.js} +32 -32
- package/dist/chunks/{model-resolver-rav9e4bf.js → skill-gwydwvmj.js} +8 -8
- package/dist/chunks/{model-resolver-pm4pe4yk.js → skill-gx0k0zre.js} +29 -29
- package/dist/chunks/skill-gyce5qg1.js +18 -0
- package/dist/chunks/{model-resolver-h03wrkyp.js → skill-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-resolver-d2fv866c.js → skill-h0n6thkm.js} +7 -7
- package/dist/chunks/{model-resolver-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-k6h76ggr.js → skill-hgezhq2t.js} +25 -25
- package/dist/chunks/{model-resolver-epzffrx8.js → skill-hhpyv4p0.js} +25 -25
- package/dist/chunks/{model-resolver-aztjpt51.js → skill-hnyfn2cj.js} +18 -18
- package/dist/chunks/{model-resolver-wf4bebac.js → skill-hq3rzvmw.js} +14 -14
- package/dist/chunks/{model-resolver-fvf9sjjr.js → skill-hw8ywvk8.js} +43 -43
- package/dist/chunks/{model-resolver-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-8p2zvf0d.js → skill-j7htyv80.js} +28 -28
- package/dist/chunks/{model-resolver-021ffpa0.js → skill-jcj7vnbk.js} +13 -13
- package/dist/chunks/{model-resolver-a4vx34cq.js → skill-jcw1jwjq.js} +11 -11
- package/dist/chunks/{model-resolver-74w3tna1.js → skill-jen1yc7y.js} +18 -18
- package/dist/chunks/{model-resolver-qyxt0tsw.js → skill-jhsj1t1n.js} +4 -4
- package/dist/chunks/{model-resolver-xs8g0vg3.js → skill-jp8yda5b.js} +6 -6
- package/dist/chunks/{model-resolver-bq4vzaks.js → skill-js1rcq3a.js} +44 -44
- package/dist/chunks/{model-resolver-x1avke2d.js → skill-jwtb4t4a.js} +81 -81
- package/dist/chunks/{model-resolver-n37c4crj.js → skill-k79tzb9n.js} +9 -9
- package/dist/chunks/{model-resolver-wwmx33bt.js → skill-k9vmqmea.js} +5 -5
- package/dist/chunks/{model-resolver-70xr52zc.js → skill-kcdqxvh5.js} +33 -33
- package/dist/chunks/{model-resolver-kg06axw8.js → skill-kg06axw8.js} +1 -1
- package/dist/chunks/{model-resolver-j12k6d1r.js → skill-kj2a27ba.js} +36 -36
- package/dist/chunks/{model-resolver-bcbgj7m0.js → skill-kr6kak67.js} +18 -18
- package/dist/chunks/{model-resolver-4grgn5v0.js → skill-kvmz424q.js} +17 -17
- package/dist/chunks/{model-resolver-h7ygw6q4.js → skill-m86bnw2c.js} +9 -9
- package/dist/chunks/{model-resolver-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-g190xswt.js → skill-magykp64.js} +4 -4
- package/dist/chunks/{model-resolver-03s1nxke.js → skill-mdm24dv9.js} +6 -6
- package/dist/chunks/{model-resolver-e6fygs6z.js → skill-mv5nbet3.js} +25 -25
- package/dist/chunks/{model-resolver-mrsqtdpn.js → skill-nb3bdtzf.js} +36 -36
- package/dist/chunks/skill-ne45wkcn.js +247 -0
- package/dist/chunks/{model-resolver-e82z9tr0.js → skill-nhy5jxhy.js} +7 -7
- package/dist/chunks/{model-resolver-789bpvq4.js → skill-nmgb8pzc.js} +8 -8
- package/dist/chunks/skill-nskewhca.js +462 -0
- package/dist/chunks/{model-resolver-6kyz0a76.js → skill-nv5vn7qx.js} +4 -4
- package/dist/chunks/{model-resolver-jbe1bvhn.js → skill-p676kgcj.js} +26 -26
- package/dist/chunks/{model-resolver-wgf958fy.js → skill-p9a278h7.js} +31 -31
- package/dist/chunks/{model-resolver-1hc11dc4.js → skill-paegk39x.js} +4 -4
- package/dist/chunks/{model-resolver-aczsg4vg.js → skill-pfjd8r4w.js} +28 -28
- package/dist/chunks/{model-resolver-mwnd972w.js → skill-pgk8m4ch.js} +25 -25
- package/dist/chunks/{model-resolver-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-vncycja5.js → skill-q2b1ymqp.js} +4 -4
- package/dist/chunks/{model-resolver-f8xc4yre.js → skill-q4qw7xgb.js} +27 -27
- package/dist/chunks/{model-resolver-t7n9q6bq.js → skill-q5asdkn4.js} +4 -4
- package/dist/chunks/{model-resolver-s1vvg2cq.js → skill-qbvvtgq5.js} +7 -7
- package/dist/chunks/{model-resolver-2k8khapm.js → skill-qgn6gcr1.js} +5 -5
- package/dist/chunks/{model-resolver-87qnmf38.js → skill-qm220myb.js} +32 -32
- package/dist/chunks/{model-resolver-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-ewbqqj16.js → skill-qwg36vzy.js} +15 -15
- package/dist/chunks/{model-resolver-qwkytnft.js → skill-qwkytnft.js} +3 -3
- package/dist/chunks/{model-resolver-x6geafsy.js → skill-qy11zpxb.js} +3 -3
- package/dist/chunks/{model-resolver-r9mregkx.js → skill-r9mregkx.js} +2 -2
- package/dist/chunks/{model-resolver-ydgy0jv4.js → skill-r9th2xkr.js} +6 -6
- package/dist/chunks/{model-resolver-s5wnyv46.js → skill-rb56vfdz.js} +22 -22
- package/dist/chunks/{model-resolver-rd8pgjwx.js → skill-rc43ka8n.js} +20 -20
- package/dist/chunks/{model-resolver-h4q9s1ny.js → skill-rggqqsgv.js} +12 -12
- package/dist/chunks/{model-resolver-pqg5898n.js → skill-rjhzcsxj.js} +12 -12
- package/dist/chunks/{model-resolver-kk8h1mek.js → skill-rmdyxgmk.js} +8 -8
- package/dist/chunks/{model-resolver-t9e5d74p.js → skill-rqtkra6z.js} +9 -9
- package/dist/chunks/{model-resolver-d2aac7k2.js → skill-s8zy8myc.js} +5 -5
- package/dist/chunks/{model-resolver-vhj1rs6k.js → skill-sxcn38x5.js} +22 -22
- package/dist/chunks/{model-resolver-ryr25ayn.js → skill-t2fc4mz5.js} +4 -4
- package/dist/chunks/{model-resolver-a2cfvfg1.js → skill-t936qp6f.js} +20 -20
- package/dist/chunks/{model-resolver-p52p41ww.js → skill-t94spz24.js} +11 -11
- package/dist/chunks/{model-resolver-5v1cn1j1.js → skill-t97t2t7r.js} +15 -15
- package/dist/chunks/{model-resolver-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-nv6fkpt4.js → skill-tb969tae.js} +15 -15
- package/dist/chunks/{model-resolver-6fvs6bkh.js → skill-tbbq327f.js} +43 -43
- package/dist/chunks/{model-resolver-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-4bfepadc.js → skill-tfews2vg.js} +4 -4
- package/dist/chunks/{model-resolver-gv6a8nnw.js → skill-th5km1p3.js} +5 -5
- package/dist/chunks/{model-resolver-xdk7tsve.js → skill-thaqkx7r.js} +1 -1
- package/dist/chunks/{model-resolver-z2b5d6zb.js → skill-tq5dcq5k.js} +6 -6
- package/dist/chunks/{model-resolver-tvtrv512.js → skill-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-87mnny1s.js → skill-tya32p6w.js} +16 -16
- package/dist/chunks/{model-resolver-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-atny4vj3.js → skill-vnc5pt4r.js} +11 -11
- package/dist/chunks/{model-resolver-27596drg.js → skill-vxx2xayy.js} +17 -17
- package/dist/chunks/{model-resolver-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-532bqssk.js → skill-w1g50z32.js} +18 -18
- package/dist/chunks/{model-resolver-q91t8a1k.js → skill-w38dz18n.js} +19 -19
- package/dist/chunks/{model-resolver-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-64at0fy0.js → skill-w774r1ds.js} +8 -8
- package/dist/chunks/{model-resolver-3q1jyqhd.js → skill-w79zsp0s.js} +1 -1
- package/dist/chunks/{model-resolver-htk69tte.js → skill-wamnvq9v.js} +7 -7
- package/dist/chunks/{model-resolver-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-0k7hqrra.js → skill-wk1rtvag.js} +23 -23
- package/dist/chunks/{model-resolver-mhdwrqr0.js → skill-wy0wfk9c.js} +3 -3
- package/dist/chunks/{model-resolver-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-mg5mchpt.js → skill-x342d764.js} +23 -23
- package/dist/chunks/{model-resolver-sph8ksss.js → skill-x6ge6azq.js} +9 -9
- package/dist/chunks/{model-resolver-dktryzc1.js → skill-x8g8za75.js} +28 -28
- package/dist/chunks/{model-resolver-75evgfh8.js → skill-xfyp60zs.js} +15 -15
- package/dist/chunks/{model-resolver-xg9t41r3.js → skill-xg9t41r3.js} +2 -2
- package/dist/chunks/{model-resolver-zceb237h.js → skill-y1003ch2.js} +12 -12
- package/dist/chunks/{model-resolver-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-hya8ywrc.js → skill-y6eqv9kx.js} +63 -63
- package/dist/chunks/{model-resolver-0pm1m3w8.js → skill-yck05sv3.js} +10 -10
- package/dist/chunks/{model-resolver-1acjjqhc.js → skill-yp2x3t23.js} +4 -4
- package/dist/chunks/{model-resolver-kxpygcw9.js → skill-yr02nea7.js} +6 -6
- package/dist/chunks/{model-resolver-yrhqyw5v.js → skill-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → skill-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-sdcezsxk.js → skill-z0h2zfz4.js} +17 -17
- package/dist/chunks/{model-resolver-rctyp4y4.js → skill-z1n4a1q7.js} +15 -15
- package/dist/chunks/{model-resolver-z63w68vq.js → skill-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-xtzwr8pq.js → skill-zdbs7c1t.js} +11 -11
- package/dist/chunks/{model-resolver-zeh9ct20.js → skill-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-kbn8346a.js → skill-zf5rd7ft.js} +11 -11
- package/dist/chunks/skill-zhycqm5t.js +22 -0
- package/dist/chunks/{model-resolver-qdcfe15v.js → skill-zpc6dyj7.js} +1 -1
- package/dist/chunks/{model-resolver-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-b77arecc.js → skill-zrrcc1kw.js} +25 -25
- package/dist/chunks/{model-resolver-9stj6zpb.js → skill-zsr9rk31.js} +32 -32
- package/dist/chunks/{model-resolver-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 +82 -82
- 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 +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +84 -84
- 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 +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +69 -69
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +73 -73
- 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 +221 -221
- 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 +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +90 -90
- 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 +352 -352
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +349 -349
- package/dist/location.js +81 -81
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +117 -117
- 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 +6 -6
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +101 -101
- 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 +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- 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/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 +116 -116
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- 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 +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +73 -73
- 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 +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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +85 -85
- 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 +92 -92
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- 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 +2 -2
- 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 +3 -3
- 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 +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +168 -168
- 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 +74 -74
- 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 +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +100 -100
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +114 -114
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +213 -213
- 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 +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- 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 +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 +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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/model-resolver-fbf46f8y.js +0 -462
- package/dist/chunks/model-resolver-hjw1g3kj.js +0 -247
- package/dist/chunks/model-resolver-j2k1bkn8.js +0 -22
- package/dist/chunks/model-resolver-qapv375x.js +0 -4
- package/dist/chunks/model-resolver-qdyb70sk.js +0 -18
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → skill-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-hrnqkpcd.js → skill-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-j7wq2tw5.js → skill-j7wq2tw5.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-paphc93g.js → skill-paphc93g.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → skill-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → skill-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./skill-69jddtm0.js";
|
|
5
5
|
import {
|
|
6
6
|
Service66,
|
|
7
7
|
node70
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-h0n6thkm.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-kg06axw8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event6,
|
|
21
|
+
ID: () => ID5,
|
|
22
22
|
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service33,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node37
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event6 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID5 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID5
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,15 +58,15 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID5,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service33 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
68
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service79;
|
|
70
70
|
const kv = yield* Service66;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service33.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node37 = makeLocationNode({
|
|
188
|
+
service: Service33,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node84, node70]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service33, node37, exports_websearch3, Event6 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service37
|
|
3
|
+
} from "./skill-js1rcq3a.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin16
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin16 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service37;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
|
|
27
27
|
yield* ctx.catalog.transform((catalog) => {
|
|
28
28
|
const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
@@ -35,4 +35,4 @@ var Plugin27 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin16, exports_policy };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
Info24
|
|
5
|
+
} from "./skill-bq5fxdyt.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Info23
|
|
8
|
+
} from "./skill-1mgvftkm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node84
|
|
12
|
+
} from "./skill-69jddtm0.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
17
|
+
ID7,
|
|
18
|
+
Service63,
|
|
19
|
+
node67
|
|
20
|
+
} from "./skill-q4qw7xgb.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
|
-
Event: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
29
|
+
Event: () => Event11,
|
|
30
|
+
Service: () => Service62,
|
|
31
|
+
node: () => node66
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode/schema/catalog";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event11 } from "@opencode/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service62 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
41
|
-
const bus = yield*
|
|
42
|
-
const integrations = yield*
|
|
40
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
41
|
+
const bus = yield* Service79;
|
|
42
|
+
const integrations = yield* Service63;
|
|
43
43
|
const available = (provider, integration) => {
|
|
44
44
|
if (provider.activation === "disabled")
|
|
45
45
|
return false;
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
73
73
|
let current = editor.providers.get(providerID);
|
|
74
74
|
if (!current) {
|
|
75
75
|
current = {
|
|
76
|
-
provider:
|
|
76
|
+
provider: Info24.empty(providerID),
|
|
77
77
|
models: new Map
|
|
78
78
|
};
|
|
79
79
|
editor.providers.set(providerID, current);
|
|
@@ -91,12 +91,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
91
91
|
let record = editor.providers.get(providerID);
|
|
92
92
|
if (!record) {
|
|
93
93
|
record = {
|
|
94
|
-
provider:
|
|
94
|
+
provider: Info24.empty(providerID),
|
|
95
95
|
models: new Map
|
|
96
96
|
};
|
|
97
97
|
editor.providers.set(providerID, record);
|
|
98
98
|
}
|
|
99
|
-
const model = record.models.get(modelID) ??
|
|
99
|
+
const model = record.models.get(modelID) ?? Info23.default(providerID, modelID);
|
|
100
100
|
if (!record.models.has(modelID))
|
|
101
101
|
record.models.set(modelID, model);
|
|
102
102
|
fn(model);
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
130
130
|
}),
|
|
131
131
|
available: Effect.fn("Catalog.provider.available")(function* () {
|
|
132
132
|
const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
|
|
133
|
-
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ??
|
|
133
|
+
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID7.make(provider.id))));
|
|
134
134
|
})
|
|
135
135
|
},
|
|
136
136
|
model: {
|
|
@@ -185,9 +185,9 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
185
185
|
})
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
|
-
return
|
|
188
|
+
return Service62.of(result);
|
|
189
189
|
}));
|
|
190
190
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
191
|
-
var
|
|
191
|
+
var node66 = makeLocationNode({ service: Service62, layer, deps: [node84, node67] });
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Service62, node66, exports_catalog2, Event11 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node80
|
|
4
|
+
} from "./skill-2vskgd28.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service13,
|
|
17
|
+
node: () => node16
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service13 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service75;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service13.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node16 = makeLocationNode({
|
|
91
|
+
service: Service13,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node80, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service13, node16, exports_formatter2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-j7wq2tw5.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service79,
|
|
4
|
+
node84
|
|
5
|
+
} from "./skill-69jddtm0.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service2,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
16
|
layer: () => layer4,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node4
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service2 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var layer4 = Layer.effect(
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service79;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service2.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node4 = makeGlobalNode({ service: Service2, layer: layer4, deps: [node84] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service2, layer4, node4, exports_sdk };
|
|
@@ -1,94 +1,94 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./skill-vnc5pt4r.js";
|
|
1
5
|
import {
|
|
2
6
|
Service79,
|
|
3
7
|
node84
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service77,
|
|
7
|
-
node81
|
|
8
|
-
} from "./model-resolver-csz4k5km.js";
|
|
8
|
+
} from "./skill-69jddtm0.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionMessageTable2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-a1bz86dw.js";
|
|
15
15
|
import {
|
|
16
16
|
prepare4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-bha4atvq.js";
|
|
18
18
|
import {
|
|
19
19
|
llmClient2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./skill-5t3nmthw.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessage2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-gftt206x.js";
|
|
24
24
|
import {
|
|
25
25
|
StepFailedError2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./skill-qwkytnft.js";
|
|
27
27
|
import {
|
|
28
28
|
provenance2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-paegk39x.js";
|
|
30
30
|
import {
|
|
31
31
|
decodeMessageRow2,
|
|
32
32
|
preview2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-nmgb8pzc.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
Service72,
|
|
36
|
+
node77
|
|
37
|
+
} from "./skill-tb969tae.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
39
|
+
Service29,
|
|
40
|
+
node33
|
|
41
|
+
} from "./skill-7v41m4wd.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./skill-bwvxp9j2.js";
|
|
45
45
|
import {
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
make9
|
|
47
|
+
} from "./skill-26hn7a7s.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
49
|
+
Service8,
|
|
50
|
+
node11
|
|
51
|
+
} from "./skill-j7htyv80.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service22,
|
|
54
|
+
node26
|
|
55
|
+
} from "./skill-7vzs0hkr.js";
|
|
56
56
|
import {
|
|
57
57
|
serialized2,
|
|
58
58
|
nextPromotable2,
|
|
59
59
|
promote2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./skill-bmw4j1xk.js";
|
|
61
61
|
import {
|
|
62
62
|
Service6,
|
|
63
63
|
isUntitled2,
|
|
64
64
|
node9
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./skill-rb56vfdz.js";
|
|
66
66
|
import {
|
|
67
67
|
DrainResult2,
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
68
|
+
Service54
|
|
69
|
+
} from "./skill-q5asdkn4.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
71
|
+
node36
|
|
72
|
+
} from "./skill-kcdqxvh5.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
74
|
+
node43
|
|
75
|
+
} from "./skill-cwhba9p2.js";
|
|
76
76
|
import {
|
|
77
77
|
Outcome2,
|
|
78
78
|
make7
|
|
79
|
-
} from "./
|
|
79
|
+
} from "./skill-axy1mzxr.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./
|
|
81
|
+
Service21
|
|
82
|
+
} from "./skill-gyce5qg1.js";
|
|
83
83
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./
|
|
84
|
+
node22
|
|
85
|
+
} from "./skill-ccfhzdp3.js";
|
|
86
86
|
import {
|
|
87
87
|
MAX_STEPS_PROMPT2
|
|
88
|
-
} from "./
|
|
88
|
+
} from "./skill-y44na4kk.js";
|
|
89
89
|
import {
|
|
90
90
|
__export
|
|
91
|
-
} from "./
|
|
91
|
+
} from "./skill-9rqn6x4v.js";
|
|
92
92
|
|
|
93
93
|
// src/session/runner/llm.ts
|
|
94
94
|
var exports_llm = {};
|
|
@@ -101,14 +101,14 @@ import { and, desc, eq, sql } from "drizzle-orm";
|
|
|
101
101
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
102
102
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
103
103
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
104
|
-
var layer = Layer.effect(
|
|
105
|
-
const bus = yield*
|
|
106
|
-
const store = yield*
|
|
107
|
-
const context = yield*
|
|
108
|
-
const modelTransport = yield*
|
|
109
|
-
const db = (yield*
|
|
110
|
-
const compaction = yield*
|
|
111
|
-
const plugins = yield*
|
|
104
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
105
|
+
const bus = yield* Service79;
|
|
106
|
+
const store = yield* Service72;
|
|
107
|
+
const context = yield* Service22;
|
|
108
|
+
const modelTransport = yield* Service29;
|
|
109
|
+
const db = (yield* Service80).db;
|
|
110
|
+
const compaction = yield* Service8;
|
|
111
|
+
const plugins = yield* Service21;
|
|
112
112
|
const title = yield* Service6;
|
|
113
113
|
const steps = yield* make7;
|
|
114
114
|
const titles = yield* FiberMap.make();
|
|
@@ -231,7 +231,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
231
231
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
232
232
|
const sessionID = first.session.id;
|
|
233
233
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
234
|
-
const retry = yield*
|
|
234
|
+
const retry = yield* make9(bus, sessionID);
|
|
235
235
|
let initial = first;
|
|
236
236
|
let recoverOverflow = true;
|
|
237
237
|
let recoverContinuation = true;
|
|
@@ -351,23 +351,23 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
});
|
|
354
|
-
return
|
|
354
|
+
return Service54.of({ drain });
|
|
355
355
|
}));
|
|
356
356
|
var node8 = makeLocationNode({
|
|
357
|
-
service:
|
|
357
|
+
service: Service54,
|
|
358
358
|
layer,
|
|
359
359
|
deps: [
|
|
360
|
-
|
|
360
|
+
node84,
|
|
361
361
|
llmClient2,
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
362
|
+
node26,
|
|
363
|
+
node33,
|
|
364
|
+
node77,
|
|
365
|
+
node11,
|
|
366
|
+
node22,
|
|
367
367
|
node9,
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
368
|
+
node36,
|
|
369
|
+
node43,
|
|
370
|
+
node85
|
|
371
371
|
]
|
|
372
372
|
});
|
|
373
373
|
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service37
|
|
3
|
+
} from "./skill-js1rcq3a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service31
|
|
6
|
+
} from "./skill-5qbtxqe3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin27,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin27 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service37;
|
|
28
|
+
const mcp = yield* Service31;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin27, register2, exports_mcp2 };
|