@opencode/core 0.0.0-dev-20836 → 0.0.0-dev-20841
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{shell-0bg7x39n.js → instruction-discovery-048wpaqz.js} +3 -3
- package/dist/chunks/{shell-qmt3zz31.js → instruction-discovery-0bs9zzzx.js} +11 -11
- package/dist/chunks/{shell-xckyy9vp.js → instruction-discovery-0cz3jc0p.js} +8 -8
- package/dist/chunks/instruction-discovery-0ef80a9n.js +513 -0
- package/dist/chunks/{shell-q0xm7vwc.js → instruction-discovery-0j77ygfz.js} +6 -6
- package/dist/chunks/{shell-bfv9bv9k.js → instruction-discovery-0n8a0ffz.js} +6 -6
- package/dist/chunks/{shell-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-cqz0nh3j.js → instruction-discovery-0qwsa8cf.js} +23 -23
- package/dist/chunks/{shell-0vbcp93d.js → instruction-discovery-0vbcp93d.js} +2 -2
- package/dist/chunks/{shell-v6w4sc2a.js → instruction-discovery-171zjyze.js} +31 -31
- package/dist/chunks/{shell-1qdt2r1d.js → instruction-discovery-18tb8vc6.js} +11 -11
- package/dist/chunks/{shell-txm3e8qz.js → instruction-discovery-1j6m29mr.js} +9 -9
- package/dist/chunks/{shell-1gm2naxv.js → instruction-discovery-1j9vsfxy.js} +13 -13
- package/dist/chunks/{shell-rkprpv83.js → instruction-discovery-1p07q0wb.js} +4 -4
- package/dist/chunks/{shell-as35ary9.js → instruction-discovery-1qs5jxd8.js} +19 -19
- package/dist/chunks/{shell-80m9hf21.js → instruction-discovery-1sc6p60b.js} +6 -6
- package/dist/chunks/{shell-ewnry29n.js → instruction-discovery-1th27d95.js} +16 -16
- package/dist/chunks/{shell-8yy53n16.js → instruction-discovery-204e7tx6.js} +13 -13
- package/dist/chunks/{shell-sa6tgskj.js → instruction-discovery-26n2nh92.js} +3 -3
- package/dist/chunks/{shell-659sfxq9.js → instruction-discovery-2c7hjkzv.js} +17 -17
- package/dist/chunks/{shell-4ts7tf6z.js → instruction-discovery-2ccvkpx1.js} +2 -2
- package/dist/chunks/{shell-xz6xj3j7.js → instruction-discovery-2ewrd21j.js} +11 -11
- package/dist/chunks/{shell-kttxcb4k.js → instruction-discovery-2hqksm5k.js} +3 -3
- package/dist/chunks/{shell-1mdgqtkc.js → instruction-discovery-2j1vbg91.js} +36 -36
- package/dist/chunks/{shell-43q6bdaf.js → instruction-discovery-2jb6nwe1.js} +4 -4
- package/dist/chunks/{shell-q2atyr5j.js → instruction-discovery-2jtaszgg.js} +11 -11
- package/dist/chunks/{shell-2k8khapm.js → instruction-discovery-2k8khapm.js} +1 -1
- package/dist/chunks/{shell-pyg4v0b6.js → instruction-discovery-2ryng5r3.js} +4 -4
- package/dist/chunks/{shell-sc07v166.js → instruction-discovery-2san2fa0.js} +16 -16
- package/dist/chunks/{shell-35rpdesc.js → instruction-discovery-2vr7dket.js} +5 -5
- package/dist/chunks/{shell-2vvh33eb.js → instruction-discovery-2vvh33eb.js} +2 -2
- package/dist/chunks/{shell-5p0nwytn.js → instruction-discovery-350x23wf.js} +9 -9
- package/dist/chunks/{shell-t95zyfn8.js → instruction-discovery-38mem431.js} +31 -31
- package/dist/chunks/{shell-prckms5z.js → instruction-discovery-3dytr8s2.js} +17 -17
- package/dist/chunks/{shell-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
- package/dist/chunks/{shell-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-3hwn7j4h.js → instruction-discovery-3hwn7j4h.js} +2 -2
- package/dist/chunks/{shell-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-3zsf4n22.js → instruction-discovery-3zsf4n22.js} +1 -1
- package/dist/chunks/{shell-2eegacq4.js → instruction-discovery-4a0nv7mx.js} +8 -8
- package/dist/chunks/{shell-qxq6csq2.js → instruction-discovery-4r59zyn6.js} +30 -30
- package/dist/chunks/{shell-r1ndxyw5.js → instruction-discovery-4swz1dz7.js} +11 -11
- package/dist/chunks/{shell-thwx1f0b.js → instruction-discovery-4w7gm2tt.js} +20 -20
- package/dist/chunks/{shell-w39jehkq.js → instruction-discovery-4xpgt2w9.js} +5 -5
- package/dist/chunks/{shell-gbgr221m.js → instruction-discovery-548fqp7q.js} +8 -8
- package/dist/chunks/{shell-54ma36ye.js → instruction-discovery-54ma36ye.js} +1 -1
- package/dist/chunks/{shell-drwq78ky.js → instruction-discovery-57b9ws8p.js} +5 -5
- package/dist/chunks/{shell-zwet8thz.js → instruction-discovery-58ytqwj2.js} +7 -7
- package/dist/chunks/{shell-9bjv0g9x.js → instruction-discovery-5a9zf81m.js} +22 -22
- package/dist/chunks/{shell-4j4tgtq5.js → instruction-discovery-5dkn69vz.js} +4 -4
- package/dist/chunks/{shell-zzzndktg.js → instruction-discovery-5fa8zajf.js} +13 -13
- package/dist/chunks/{shell-h3k0sdzw.js → instruction-discovery-5hj7q0js.js} +9 -9
- package/dist/chunks/{shell-5m9w47nd.js → instruction-discovery-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-s35fd452.js → instruction-discovery-5pbz2dd0.js} +4 -4
- package/dist/chunks/{shell-cxpmc4b6.js → instruction-discovery-5qec7rge.js} +5 -5
- package/dist/chunks/{shell-4vvq79yt.js → instruction-discovery-5r4v0xwy.js} +11 -11
- package/dist/chunks/{shell-18nx2xr7.js → instruction-discovery-69enf89f.js} +22 -22
- package/dist/chunks/{shell-6xb47vfp.js → instruction-discovery-6xb47vfp.js} +1 -1
- package/dist/chunks/instruction-discovery-6xgwma86.js +26 -0
- package/dist/chunks/{shell-56zy6jf0.js → instruction-discovery-71dzwqxr.js} +46 -46
- package/dist/chunks/{shell-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-863cd04q.js → instruction-discovery-7dpqhkm4.js} +72 -72
- package/dist/chunks/{shell-dse4pm89.js → instruction-discovery-7nazv9sg.js} +20 -20
- package/dist/chunks/{shell-ehf2432h.js → instruction-discovery-7np5bmja.js} +44 -44
- package/dist/chunks/{shell-8nk70ng7.js → instruction-discovery-7vsab7jg.js} +4 -4
- package/dist/chunks/{shell-gck135m7.js → instruction-discovery-7yw2sx3r.js} +6 -6
- package/dist/chunks/{shell-mqe4tty6.js → instruction-discovery-81gd8ewx.js} +24 -24
- package/dist/chunks/{shell-84txncab.js → instruction-discovery-84txncab.js} +1 -1
- package/dist/chunks/{shell-rfhtn9ck.js → instruction-discovery-85z0h67f.js} +10 -10
- package/dist/chunks/{shell-1cwr7fas.js → instruction-discovery-88qvqy1e.js} +17 -17
- package/dist/chunks/{shell-hkw96q8r.js → instruction-discovery-8evda89h.js} +27 -27
- package/dist/chunks/{shell-n4r3xatb.js → instruction-discovery-8gxqpgph.js} +4 -4
- package/dist/chunks/{shell-8m6m0r52.js → instruction-discovery-8m6m0r52.js} +1 -1
- package/dist/chunks/{shell-szrp9w6e.js → instruction-discovery-8tzwp5sx.js} +16 -16
- package/dist/chunks/{shell-91qna3x0.js → instruction-discovery-91qna3x0.js} +3 -3
- package/dist/chunks/{shell-6pqc4ehe.js → instruction-discovery-97y7hxer.js} +4 -4
- package/dist/chunks/{shell-4ygpxb0s.js → instruction-discovery-988cxgr8.js} +9 -9
- package/dist/chunks/{shell-8kpn7ake.js → instruction-discovery-99rzeaw0.js} +18 -18
- package/dist/chunks/{shell-e0s1tf5g.js → instruction-discovery-9jcxats4.js} +44 -44
- package/dist/chunks/{shell-2rnn254z.js → instruction-discovery-9w9w77gc.js} +28 -28
- package/dist/chunks/{shell-7rb4b10w.js → instruction-discovery-aahhmcvt.js} +32 -32
- package/dist/chunks/{shell-gqtdsdt7.js → instruction-discovery-addxnjmp.js} +4 -4
- package/dist/chunks/{shell-2nf59dfw.js → instruction-discovery-adejxgct.js} +13 -13
- package/dist/chunks/{shell-yya25979.js → instruction-discovery-afz809yg.js} +17 -17
- package/dist/chunks/{shell-48kw51zw.js → instruction-discovery-arz7hw7x.js} +3 -3
- package/dist/chunks/{shell-x2aynqqh.js → instruction-discovery-b4s8ej7r.js} +9 -9
- package/dist/chunks/{shell-dnrdk80a.js → instruction-discovery-b6qa6035.js} +32 -32
- package/dist/chunks/{shell-00832hy7.js → instruction-discovery-b6syrwy2.js} +8 -8
- package/dist/chunks/{shell-vpq4af2z.js → instruction-discovery-b9srm8rz.js} +11 -11
- package/dist/chunks/{shell-1ffvrpkg.js → instruction-discovery-bjx1sjef.js} +6 -6
- package/dist/chunks/instruction-discovery-bmqnjeh2.js +253 -0
- package/dist/chunks/{shell-czf8b53q.js → instruction-discovery-bt2dtkh7.js} +17 -17
- package/dist/chunks/{shell-t9vv0gfe.js → instruction-discovery-byr661vw.js} +10 -10
- package/dist/chunks/{shell-c41wscbt.js → instruction-discovery-c41wscbt.js} +2 -2
- package/dist/chunks/{shell-12ghwjj1.js → instruction-discovery-c5w8pbd1.js} +11 -11
- package/dist/chunks/{shell-c8ax2afj.js → instruction-discovery-c8ax2afj.js} +2 -2
- package/dist/chunks/{shell-fgth5ewa.js → instruction-discovery-c8ses4bc.js} +13 -13
- package/dist/chunks/{shell-r5geswyf.js → instruction-discovery-ch67yd34.js} +11 -11
- package/dist/chunks/{shell-g0445xdp.js → instruction-discovery-cmwkp3r5.js} +4 -4
- package/dist/chunks/{shell-gm86421b.js → instruction-discovery-d0ak8zy9.js} +7 -7
- package/dist/chunks/{shell-781jxg51.js → instruction-discovery-d15wnv4q.js} +16 -16
- package/dist/chunks/{shell-thj98scm.js → instruction-discovery-d3sk2mbt.js} +15 -15
- package/dist/chunks/{shell-nk9gm8qh.js → instruction-discovery-d5fxhgcy.js} +14 -14
- package/dist/chunks/{shell-g9a82wyw.js → instruction-discovery-d9kdwp41.js} +8 -8
- package/dist/chunks/{shell-mep1d9dn.js → instruction-discovery-dhhqcq64.js} +11 -11
- package/dist/chunks/{shell-ft3hqk2c.js → instruction-discovery-djszqvmq.js} +9 -9
- package/dist/chunks/{shell-rmk2c50f.js → instruction-discovery-dtqg9ce1.js} +5 -5
- package/dist/chunks/{shell-8x8j3m8g.js → instruction-discovery-dx2h6xhc.js} +24 -24
- package/dist/chunks/{shell-rnwakkaz.js → instruction-discovery-dzdcg5g9.js} +11 -11
- package/dist/chunks/{shell-7xc78qe9.js → instruction-discovery-e0pxcnmw.js} +8 -8
- package/dist/chunks/{shell-5qd3pb7m.js → instruction-discovery-e3qxr5gk.js} +2 -2
- package/dist/chunks/{shell-e80seqcp.js → instruction-discovery-e80seqcp.js} +1 -1
- package/dist/chunks/{shell-cgfkqdd2.js → instruction-discovery-eefd4g5w.js} +5 -5
- package/dist/chunks/{shell-eej6y6fw.js → instruction-discovery-eej6y6fw.js} +2 -2
- package/dist/chunks/{shell-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
- package/dist/chunks/{shell-8n930zqj.js → instruction-discovery-eq08xn2q.js} +13 -13
- package/dist/chunks/{shell-d2mdrpz8.js → instruction-discovery-ereph1h9.js} +15 -15
- package/dist/chunks/{shell-es1vcfrp.js → instruction-discovery-es1vcfrp.js} +3 -3
- package/dist/chunks/{shell-8gw3c03x.js → instruction-discovery-ewk422xx.js} +14 -14
- package/dist/chunks/{shell-x38knr2x.js → instruction-discovery-ezzmrcry.js} +30 -30
- package/dist/chunks/{shell-7mzdt0w8.js → instruction-discovery-fng9jkm1.js} +9 -9
- package/dist/chunks/{shell-gzsaks7j.js → instruction-discovery-fqp3mcfq.js} +1 -1
- package/dist/chunks/{shell-y2jr2tth.js → instruction-discovery-fykx5zb5.js} +42 -42
- package/dist/chunks/{shell-7w9gykhe.js → instruction-discovery-fz79ktw5.js} +5 -5
- package/dist/chunks/{shell-pze8725k.js → instruction-discovery-g0z1em0w.js} +4 -4
- package/dist/chunks/{shell-af9trwvd.js → instruction-discovery-g6187q27.js} +28 -28
- package/dist/chunks/{shell-3g4h444j.js → instruction-discovery-g678yp76.js} +29 -29
- package/dist/chunks/{shell-9ytn1w1e.js → instruction-discovery-gcqzh3f4.js} +24 -24
- package/dist/chunks/{shell-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-t5k44akb.js → instruction-discovery-ge2q9s3y.js} +11 -11
- package/dist/chunks/{shell-6nk5k72v.js → instruction-discovery-ggsp0fny.js} +11 -11
- package/dist/chunks/{shell-rhtc0fgb.js → instruction-discovery-gjqhxvm8.js} +18 -18
- package/dist/chunks/{shell-gk8qb678.js → instruction-discovery-gk8qb678.js} +1 -1
- package/dist/chunks/{shell-jgk7vy4e.js → instruction-discovery-gq58s3m0.js} +25 -25
- package/dist/chunks/{shell-56bnbftg.js → instruction-discovery-h04zhhvt.js} +9 -9
- package/dist/chunks/{shell-v7zxpw2y.js → instruction-discovery-h11z96pq.js} +11 -11
- package/dist/chunks/{shell-6sy8vh35.js → instruction-discovery-h4ps1sgr.js} +3 -3
- package/dist/chunks/{shell-m2rp4ttb.js → instruction-discovery-h4y0jjzh.js} +22 -22
- package/dist/chunks/{shell-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-31xfzrxg.js → instruction-discovery-h7s7r6s9.js} +5 -5
- package/dist/chunks/{shell-t8a7bgyd.js → instruction-discovery-hay4m1s6.js} +50 -50
- package/dist/chunks/{shell-hgz4x7wa.js → instruction-discovery-hgz4x7wa.js} +1 -1
- package/dist/chunks/{shell-5cncgnpd.js → instruction-discovery-hw2yy5aw.js} +11 -11
- package/dist/chunks/{shell-btbmdjwj.js → instruction-discovery-j34bs4nz.js} +4 -4
- package/dist/chunks/{shell-1m40js80.js → instruction-discovery-j47qf441.js} +18 -18
- package/dist/chunks/{shell-vbr7sme9.js → instruction-discovery-j4c2xja6.js} +13 -13
- package/dist/chunks/{shell-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
- package/dist/chunks/{shell-w6dgapmz.js → instruction-discovery-j6a2evck.js} +18 -18
- package/dist/chunks/{shell-xam4bgke.js → instruction-discovery-j9ysnh0t.js} +17 -17
- package/dist/chunks/{shell-s5j05cd1.js → instruction-discovery-janq1scx.js} +1 -1
- package/dist/chunks/{shell-9h5h6fqx.js → instruction-discovery-jgbvdr9r.js} +6 -6
- package/dist/chunks/{shell-xt4njr3s.js → instruction-discovery-jhdf29st.js} +1 -1
- package/dist/chunks/{shell-ja2m0vt7.js → instruction-discovery-jpen4qdf.js} +5 -5
- package/dist/chunks/instruction-discovery-jqh9b0xq.js +18 -0
- package/dist/chunks/{shell-2qq9qpvb.js → instruction-discovery-jvx148y3.js} +9 -9
- package/dist/chunks/{shell-y71avatq.js → instruction-discovery-jwcy2c2z.js} +4 -4
- package/dist/chunks/{shell-pfvzztvg.js → instruction-discovery-k2xcv0kf.js} +12 -12
- package/dist/chunks/{shell-cdvtns70.js → instruction-discovery-ketq9gmb.js} +9 -9
- package/dist/chunks/{shell-ny8edt06.js → instruction-discovery-khmqacep.js} +4 -4
- package/dist/chunks/{shell-30cr2dha.js → instruction-discovery-kppw7hr6.js} +21 -21
- package/dist/chunks/{shell-3e359xfy.js → instruction-discovery-ksek9mqj.js} +38 -38
- package/dist/chunks/{shell-558ctygn.js → instruction-discovery-ksqr7yfe.js} +7 -7
- package/dist/chunks/{shell-84ma1j0m.js → instruction-discovery-ky9vbweg.js} +25 -25
- package/dist/chunks/{shell-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-34493raz.js → instruction-discovery-mbkrq27a.js} +8 -8
- package/dist/chunks/{shell-8qb5k9ag.js → instruction-discovery-mf2nfva2.js} +23 -23
- package/dist/chunks/{shell-5n34zx7s.js → instruction-discovery-mkkx2xvk.js} +29 -29
- package/dist/chunks/{shell-czt2hbsm.js → instruction-discovery-mnv9vkrs.js} +3 -3
- package/dist/chunks/{shell-agdpje3n.js → instruction-discovery-myrhaa8e.js} +9 -9
- package/dist/chunks/{shell-tm2bkakz.js → instruction-discovery-n3aya5hh.js} +17 -17
- package/dist/chunks/{shell-kfqqh2dm.js → instruction-discovery-n3jw88fx.js} +9 -9
- package/dist/chunks/{shell-1tbz6nf6.js → instruction-discovery-na4dcjrg.js} +28 -28
- package/dist/chunks/{shell-cns87y7k.js → instruction-discovery-nbyj5sqq.js} +89 -89
- package/dist/chunks/{shell-gdp6c8vy.js → instruction-discovery-ne89875c.js} +16 -16
- package/dist/chunks/{shell-f0kngnrj.js → instruction-discovery-njm3x30h.js} +89 -89
- package/dist/chunks/{shell-rqa1jxse.js → instruction-discovery-nqxj0yn4.js} +2 -2
- package/dist/chunks/{shell-6zrtch0f.js → instruction-discovery-nvakrpsp.js} +14 -14
- package/dist/chunks/{shell-3agx5zz8.js → instruction-discovery-nzbbc5k0.js} +7 -7
- package/dist/chunks/{shell-mmzf3z6s.js → instruction-discovery-p097c2sx.js} +14 -14
- package/dist/chunks/{shell-m0r31qfn.js → instruction-discovery-ph842b28.js} +4 -4
- package/dist/chunks/{shell-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{shell-y7jcjyya.js → instruction-discovery-prhrtzb1.js} +55 -55
- package/dist/chunks/{shell-njq21eak.js → instruction-discovery-pw6jj9n3.js} +15 -15
- package/dist/chunks/{shell-pzd2mz5f.js → instruction-discovery-pwpq1fb6.js} +20 -20
- package/dist/chunks/{shell-4verpk1x.js → instruction-discovery-pznx5chc.js} +19 -19
- package/dist/chunks/{shell-heqq3mr6.js → instruction-discovery-q17sgkmf.js} +20 -20
- package/dist/chunks/{shell-xs9jsb3j.js → instruction-discovery-q78nszrx.js} +33 -33
- package/dist/chunks/{shell-t2fc4mz5.js → instruction-discovery-qa3qhgw8.js} +4 -4
- package/dist/chunks/{shell-7ap0sxd3.js → instruction-discovery-qgezrw5d.js} +20 -20
- package/dist/chunks/{shell-0cx75btx.js → instruction-discovery-qms70dv9.js} +3 -3
- package/dist/chunks/{shell-qnc92qwc.js → instruction-discovery-qnc92qwc.js} +1 -1
- package/dist/chunks/{shell-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-r2rrbk91.js → instruction-discovery-qyjj4w9t.js} +13 -13
- package/dist/chunks/{shell-1fpbjd13.js → instruction-discovery-r2a2vjc6.js} +45 -45
- package/dist/chunks/{shell-bacj9t34.js → instruction-discovery-r70na3yp.js} +9 -9
- package/dist/chunks/{shell-stc4cdgj.js → instruction-discovery-r75v65gt.js} +5 -5
- package/dist/chunks/{shell-60prr7yn.js → instruction-discovery-rb0m5pb6.js} +33 -33
- package/dist/chunks/{shell-rdw6cm16.js → instruction-discovery-rdw6cm16.js} +1 -1
- package/dist/chunks/{shell-eaj1djv9.js → instruction-discovery-rhjbct0v.js} +8 -8
- package/dist/chunks/{shell-7saes39r.js → instruction-discovery-rtbh45rc.js} +13 -13
- package/dist/chunks/{shell-zgyqwtqb.js → instruction-discovery-rwbpmje9.js} +22 -22
- package/dist/chunks/{shell-313kwqq3.js → instruction-discovery-s9bfrye6.js} +59 -59
- package/dist/chunks/{shell-scgrse2b.js → instruction-discovery-scgrse2b.js} +2 -2
- package/dist/chunks/{shell-4m6jjpz9.js → instruction-discovery-sddgd5f8.js} +20 -20
- package/dist/chunks/{shell-048e2n3v.js → instruction-discovery-sm4j4wt5.js} +16 -16
- package/dist/chunks/{shell-y8p1cgeb.js → instruction-discovery-sp61bypy.js} +17 -17
- package/dist/chunks/{shell-095d0b2q.js → instruction-discovery-ssgq4v3h.js} +21 -21
- package/dist/chunks/{shell-4j5fa2df.js → instruction-discovery-svysebdv.js} +171 -171
- package/dist/chunks/{shell-syv4x271.js → instruction-discovery-syv4x271.js} +1 -1
- package/dist/chunks/{shell-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-tcezcvh9.js → instruction-discovery-tcezcvh9.js} +1 -1
- package/dist/chunks/{shell-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
- package/dist/chunks/{shell-ckadtnr7.js → instruction-discovery-terdh6tz.js} +46 -46
- package/dist/chunks/{shell-tkb22qbm.js → instruction-discovery-tkb22qbm.js} +2 -2
- package/dist/chunks/{shell-9vdgkp4d.js → instruction-discovery-tppqj79j.js} +13 -13
- package/dist/chunks/{shell-0fzr6jaa.js → instruction-discovery-tqenhx9q.js} +6 -6
- package/dist/chunks/{shell-m5c0yzf1.js → instruction-discovery-ts8qfj50.js} +4 -4
- package/dist/chunks/{shell-vyjt0ajn.js → instruction-discovery-tvmrjeqd.js} +9 -9
- package/dist/chunks/{shell-kaapnyca.js → instruction-discovery-tym1zfxs.js} +9 -9
- package/dist/chunks/{shell-tyytaxap.js → instruction-discovery-tyytaxap.js} +1 -1
- package/dist/chunks/{shell-v0es1rhs.js → instruction-discovery-v0es1rhs.js} +2 -2
- package/dist/chunks/{shell-v7p4zvkq.js → instruction-discovery-v7p4zvkq.js} +2 -2
- package/dist/chunks/{shell-fk8bsqye.js → instruction-discovery-v8pa3zp8.js} +18 -18
- package/dist/chunks/{shell-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-6v23mrsw.js → instruction-discovery-vezvtjyv.js} +11 -11
- package/dist/chunks/{shell-xrv3xw4y.js → instruction-discovery-vhjwdtv8.js} +45 -45
- package/dist/chunks/{shell-adqsm0r6.js → instruction-discovery-vky023fh.js} +4 -4
- package/dist/chunks/{shell-aj3rbcf1.js → instruction-discovery-vrzt526f.js} +5 -5
- package/dist/chunks/{shell-qgbr337s.js → instruction-discovery-vt28d6rb.js} +30 -30
- package/dist/chunks/{shell-gkvpypj0.js → instruction-discovery-vw6bdczd.js} +5 -5
- package/dist/chunks/{shell-sjtbvg8y.js → instruction-discovery-vz2yvhh5.js} +18 -18
- package/dist/chunks/{shell-vzs5sf6e.js → instruction-discovery-vzs5sf6e.js} +1 -1
- package/dist/chunks/{shell-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-kfpf96s6.js → instruction-discovery-w96a8yrh.js} +19 -19
- package/dist/chunks/{shell-5y3m17fh.js → instruction-discovery-wby3r2te.js} +11 -11
- package/dist/chunks/{shell-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{shell-azb66w4c.js → instruction-discovery-wf98qgyv.js} +18 -18
- package/dist/chunks/{shell-e21ryx48.js → instruction-discovery-wnk72qpq.js} +8 -8
- package/dist/chunks/{shell-m9584te0.js → instruction-discovery-wp8sj255.js} +22 -22
- package/dist/chunks/{shell-wexd9xpc.js → instruction-discovery-wpemy600.js} +7 -7
- package/dist/chunks/{shell-vj6eysyn.js → instruction-discovery-wr0v3f2s.js} +32 -32
- package/dist/chunks/{shell-0vbncn2w.js → instruction-discovery-wt4s349c.js} +22 -22
- package/dist/chunks/{shell-8e1b1gzh.js → instruction-discovery-wvej1134.js} +6 -6
- package/dist/chunks/{shell-epyzcj12.js → instruction-discovery-wwyp4jt6.js} +27 -27
- package/dist/chunks/{shell-hcv80w8f.js → instruction-discovery-x5wrmng7.js} +11 -11
- package/dist/chunks/{shell-vgb7x8w4.js → instruction-discovery-x7bx6zs0.js} +10 -10
- package/dist/chunks/{shell-svcw9x3w.js → instruction-discovery-xacpwdh9.js} +8 -8
- package/dist/chunks/{shell-bw9zjykr.js → instruction-discovery-xcd0eash.js} +6 -6
- package/dist/chunks/{shell-00zkxhvn.js → instruction-discovery-xk3qqngr.js} +11 -11
- package/dist/chunks/{shell-rt72sw9b.js → instruction-discovery-xkfm5vcm.js} +2 -2
- package/dist/chunks/{shell-3t4kfs4k.js → instruction-discovery-xqt608y9.js} +30 -30
- package/dist/chunks/{shell-rmmawkst.js → instruction-discovery-xyc3y5xg.js} +13 -13
- package/dist/chunks/{shell-8gknh66y.js → instruction-discovery-xz5716ww.js} +29 -29
- package/dist/chunks/{shell-nxmdvp48.js → instruction-discovery-xzdfrpe2.js} +26 -26
- package/dist/chunks/{shell-35yg89f7.js → instruction-discovery-y147vcw1.js} +20 -20
- package/dist/chunks/{shell-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-jp4jngxf.js → instruction-discovery-y1qj9qp6.js} +22 -22
- package/dist/chunks/{shell-j6yppb8b.js → instruction-discovery-y8ptd9jv.js} +30 -30
- package/dist/chunks/{shell-4xtcs679.js → instruction-discovery-yc7106p4.js} +20 -20
- package/dist/chunks/{shell-f0va00kd.js → instruction-discovery-yeyrdzm0.js} +23 -23
- package/dist/chunks/{shell-dt3wh0n6.js → instruction-discovery-yh9g6p3v.js} +40 -40
- package/dist/chunks/{shell-dsv7aeby.js → instruction-discovery-ykmz0d95.js} +5 -5
- package/dist/chunks/{shell-g86bj5d1.js → instruction-discovery-yng1p9nw.js} +9 -9
- package/dist/chunks/{shell-r8xr0va3.js → instruction-discovery-yp2x3t23.js} +4 -4
- package/dist/chunks/{shell-n68bzdq2.js → instruction-discovery-yztevfhp.js} +20 -20
- package/dist/chunks/{shell-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-47xsw6m2.js → instruction-discovery-z2qawcf3.js} +12 -12
- package/dist/chunks/{shell-y8ccv8ms.js → instruction-discovery-z4dcjezs.js} +11 -11
- package/dist/chunks/{shell-7r0vwa6g.js → instruction-discovery-z5hqtv59.js} +7 -7
- package/dist/chunks/{shell-0r3c1bmw.js → instruction-discovery-z6c3x22d.js} +5 -5
- package/dist/chunks/{shell-m0n4gwem.js → instruction-discovery-zamq423t.js} +1 -1
- package/dist/chunks/{shell-7cyqmm7n.js → instruction-discovery-zest4r3s.js} +28 -28
- package/dist/chunks/{shell-sn52ycrc.js → instruction-discovery-zkskjjqs.js} +23 -23
- package/dist/chunks/{shell-tnj7jt5w.js → instruction-discovery-zmbx7t07.js} +47 -47
- package/dist/chunks/{shell-a3hddkr0.js → instruction-discovery-zp551mt7.js} +32 -32
- package/dist/chunks/{shell-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +74 -74
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +102 -102
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +8 -8
- 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 +93 -93
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/shell-b6v5h50w.js +0 -513
- package/dist/chunks/shell-rap9a73h.js +0 -18
- package/dist/chunks/shell-rvqmnzzm.js +0 -253
- package/dist/chunks/shell-zs1gxd8f.js +0 -26
- /package/dist/chunks/{shell-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → instruction-discovery-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3t0ybcrp.js → instruction-discovery-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → instruction-discovery-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → instruction-discovery-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → instruction-discovery-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-bw78ga2c.js → instruction-discovery-bw78ga2c.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jze0r7bz.js → instruction-discovery-jze0r7bz.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → instruction-discovery-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-pkyv6v7h.js → instruction-discovery-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{shell-pyv0edze.js → instruction-discovery-pyv0edze.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → instruction-discovery-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → instruction-discovery-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service10,
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service10 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service10.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node12 = makeLocationNode({ service: Service10, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service10, node12, exports_location_watcher_policy };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node87
|
|
4
|
+
} from "./instruction-discovery-5r4v0xwy.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-s9bfrye6.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event10,
|
|
21
|
+
ID: () => ID6,
|
|
22
|
+
Info: () => Info9,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service54,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available3,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node56,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event10 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info9 = Skill.Info;
|
|
43
|
+
var ID6 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service54 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service84;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID6.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID6.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID6.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID6.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service54.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node56 = makeLocationNode({
|
|
112
|
+
service: Service54,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info9, ID6, Name2, available3, toModelOutput3, prepare3, Service54, node56, exports_skill5, Event10 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./instruction-discovery-yh9g6p3v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service7
|
|
6
|
+
} from "./instruction-discovery-7np5bmja.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin33
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin33 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service63;
|
|
26
|
+
const compaction = yield* Service7;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin39 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin33, exports_compaction };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-38mem431.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./instruction-discovery-mkkx2xvk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin10,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin10 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service76;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin10, exports_verbosity };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load5() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load5 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./instruction-discovery-38mem431.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instruction-discovery-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service53,
|
|
3
|
+
node55,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instruction-discovery-tym1zfxs.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service52,
|
|
8
|
+
node54
|
|
9
|
+
} from "./instruction-discovery-xcd0eash.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service14
|
|
12
|
+
} from "./instruction-discovery-y8ptd9jv.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-bmqnjeh2.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service53, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service14);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node54.replace(Layer.succeed(Service52, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node55.replace(Layer.succeed(Service53, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node88
|
|
4
|
+
} from "./instruction-discovery-z4dcjezs.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-es1vcfrp.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load4
|
|
12
|
+
} from "./instruction-discovery-4swz1dz7.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-nqxj0yn4.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput4,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service56,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node58
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service56 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service85;
|
|
59
|
-
return
|
|
59
|
+
return Service56.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
98
98
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
99
99
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
100
100
|
}),
|
|
101
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
101
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
|
|
102
102
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
103
103
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
104
104
|
return row ? {
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node58 = makeGlobalNode({ service: Service56, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export { ListInput4,
|
|
130
|
+
export { ListInput4, Service56, node58, exports_store };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-c41wscbt.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./instruction-discovery-wp8sj255.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service63
|
|
9
|
+
} from "./instruction-discovery-yh9g6p3v.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service20,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-988cxgr8.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/module.ts
|
|
20
20
|
var exports_module = {};
|
|
21
21
|
__export(exports_module, {
|
|
22
22
|
LoadError: () => LoadError2,
|
|
23
23
|
PluginModule: () => exports_module,
|
|
24
|
-
make: () =>
|
|
24
|
+
make: () => make8
|
|
25
25
|
});
|
|
26
26
|
import { Host } from "@opencode/plugin/host";
|
|
27
27
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
30
30
|
import path from "path";
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
33
|
-
var
|
|
34
|
-
const config = yield*
|
|
35
|
-
const managed = yield*
|
|
36
|
-
const watcher = yield*
|
|
33
|
+
var make8 = Effect.fn("PluginModule.make")(function* () {
|
|
34
|
+
const config = yield* Service63;
|
|
35
|
+
const managed = yield* Service20;
|
|
36
|
+
const watcher = yield* Service64;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
118
118
|
};
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { make8, LoadError2, exports_module };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node87
|
|
4
|
+
} from "./instruction-discovery-5r4v0xwy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service42,
|
|
7
|
+
node45
|
|
8
|
+
} from "./instruction-discovery-terdh6tz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service55,
|
|
11
|
+
node57
|
|
12
|
+
} from "./instruction-discovery-s9bfrye6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service45,
|
|
15
|
+
node48
|
|
16
|
+
} from "./instruction-discovery-81gd8ewx.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service41,
|
|
26
|
+
layer: () => layer17,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node44
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service41 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer17 = Layer.effect(Service41, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service42;
|
|
42
|
+
const tools = yield* Service45;
|
|
43
43
|
const bus = yield* Service84;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service55;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer14 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer14 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer14 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service41.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node44 = makeLocationNode({
|
|
124
|
+
service: Service41,
|
|
125
|
+
layer: layer17,
|
|
126
|
+
deps: [node48, node45, node87, node57]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service41, layer17, node44, exports_mcp3 };
|