@opencode/core 0.0.0-dev-21875 → 0.0.0-dev-21876
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 +89 -89
- package/dist/aisdk-native.js +96 -96
- package/dist/aisdk.js +102 -102
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{aisdk-pc1v25hk.js → agent-033a0jkt.js} +3 -3
- package/dist/chunks/{aisdk-ds2mkssm.js → agent-052306eg.js} +11 -11
- package/dist/chunks/{aisdk-0rnen5bs.js → agent-06ezgrzy.js} +4 -4
- package/dist/chunks/{aisdk-pbrfva61.js → agent-08jmxpw8.js} +9 -9
- package/dist/chunks/{aisdk-7jxwkttf.js → agent-095ywf79.js} +17 -17
- package/dist/chunks/{aisdk-45hysp4g.js → agent-0dcj0mgt.js} +7 -7
- package/dist/chunks/{aisdk-xq2ca4h8.js → agent-0ear39jp.js} +11 -11
- package/dist/chunks/{aisdk-ja2ck0d0.js → agent-0mq7r730.js} +29 -29
- package/dist/chunks/{aisdk-1qqbk0v2.js → agent-0ryzmj4j.js} +6 -6
- package/dist/chunks/{aisdk-x8nvjgx0.js → agent-11hfp36g.js} +4 -4
- package/dist/chunks/{aisdk-36nd4hq0.js → agent-164he8xt.js} +9 -9
- package/dist/chunks/{aisdk-hme2sm3y.js → agent-1vztwarw.js} +2 -2
- package/dist/chunks/{aisdk-1x2knyw4.js → agent-1x2knyw4.js} +1 -1
- package/dist/chunks/{aisdk-mmx1mfjr.js → agent-1y0wdj51.js} +9 -9
- package/dist/chunks/{aisdk-1ep2p91f.js → agent-27w5k9zf.js} +2 -2
- package/dist/chunks/{aisdk-zf9nx0ea.js → agent-28kj7fpp.js} +2 -2
- package/dist/chunks/{aisdk-rfabv0vy.js → agent-2a94dxzd.js} +15 -15
- package/dist/chunks/{aisdk-erck03gp.js → agent-2bc1d118.js} +11 -11
- package/dist/chunks/{aisdk-ae9v544p.js → agent-2c71xmrd.js} +37 -37
- package/dist/chunks/{aisdk-emq6awqh.js → agent-2mbjfaxd.js} +4 -4
- package/dist/chunks/{aisdk-k7kfnw93.js → agent-2mcwn9hz.js} +12 -12
- package/dist/chunks/{aisdk-kdspzf8n.js → agent-2y49s4ck.js} +20 -20
- package/dist/chunks/{aisdk-2z1j29yd.js → agent-2z1j29yd.js} +1 -1
- package/dist/chunks/{aisdk-wrdkdhq7.js → agent-2zwbm7z6.js} +15 -15
- package/dist/chunks/{aisdk-k09tv0xx.js → agent-32c4tavh.js} +38 -38
- package/dist/chunks/{aisdk-hr90zzyq.js → agent-35198y27.js} +3 -3
- package/dist/chunks/{aisdk-xtrts158.js → agent-3ayfnv7k.js} +26 -26
- package/dist/chunks/{aisdk-ayjs7tqn.js → agent-3cbjf1nt.js} +2 -2
- package/dist/chunks/{aisdk-ev4m2yh5.js → agent-3hekd5hc.js} +21 -21
- package/dist/chunks/{aisdk-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-3nnrz6f6.js → agent-3nnrz6f6.js} +1 -1
- package/dist/chunks/{aisdk-4sgmv6p8.js → agent-3pgqqt17.js} +23 -23
- package/dist/chunks/{aisdk-p0datkc7.js → agent-3vn4m52k.js} +29 -29
- package/dist/chunks/{aisdk-7hw7e9e6.js → agent-3xynd5jb.js} +43 -43
- package/dist/chunks/{aisdk-bjhzkqyk.js → agent-42jd4697.js} +4 -4
- package/dist/chunks/{aisdk-wwcscnjj.js → agent-43extae9.js} +11 -11
- package/dist/chunks/{aisdk-3r0df5t1.js → agent-45gaytxr.js} +18 -18
- package/dist/chunks/{aisdk-s3zvyzrn.js → agent-4c58dp62.js} +51 -51
- package/dist/chunks/{aisdk-khh47epp.js → agent-4jyhcbwp.js} +11 -11
- package/dist/chunks/{aisdk-4v008n1t.js → agent-4v008n1t.js} +1 -1
- package/dist/chunks/{aisdk-4xvmh7wp.js → agent-4xvmh7wp.js} +3 -3
- package/dist/chunks/{aisdk-wx3bw29q.js → agent-508bnh7x.js} +4 -4
- package/dist/chunks/{aisdk-t2n027wp.js → agent-52jahdhd.js} +8 -8
- package/dist/chunks/{aisdk-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
- package/dist/chunks/{aisdk-e3qxr5gk.js → agent-5qd3pb7m.js} +2 -2
- package/dist/chunks/{aisdk-msm4t21m.js → agent-630d3s4r.js} +14 -14
- package/dist/chunks/{aisdk-g6aw1pj4.js → agent-66c1tj1c.js} +8 -8
- package/dist/chunks/{aisdk-jfzqhw2z.js → agent-68s5dt7r.js} +64 -64
- package/dist/chunks/{aisdk-k97bvwzj.js → agent-6b8sf6ch.js} +9 -9
- package/dist/chunks/{aisdk-k52w713k.js → agent-6e50d9hn.js} +50 -50
- package/dist/chunks/{aisdk-6esdw8yj.js → agent-6esdw8yj.js} +1 -1
- package/dist/chunks/{aisdk-kkew1p9e.js → agent-6mrjjgaf.js} +6 -6
- package/dist/chunks/{aisdk-6pjqjmy2.js → agent-6pjqjmy2.js} +1 -1
- package/dist/chunks/{aisdk-f6bsfr58.js → agent-6qeh1vj5.js} +32 -32
- package/dist/chunks/{aisdk-nmwyy83r.js → agent-72ztq2m3.js} +12 -12
- package/dist/chunks/{aisdk-tpm1qpxt.js → agent-799ckdtf.js} +9 -9
- package/dist/chunks/{aisdk-ddwaa558.js → agent-7a2bwsmz.js} +4 -4
- package/dist/chunks/{aisdk-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-ffntqjjr.js → agent-7n1bz5n5.js} +14 -14
- package/dist/chunks/{aisdk-7w2ypzdf.js → agent-7w2ypzdf.js} +1 -1
- package/dist/chunks/{aisdk-vf21dnb8.js → agent-7xb8m1hd.js} +21 -21
- package/dist/chunks/{aisdk-2c39cwrz.js → agent-7xm5yhm8.js} +49 -49
- package/dist/chunks/{aisdk-4dz3pbgy.js → agent-808w5zy2.js} +24 -24
- package/dist/chunks/{aisdk-wmbj55q2.js → agent-82ahwy3q.js} +16 -16
- package/dist/chunks/{aisdk-jw19tmnf.js → agent-88byhbg6.js} +16 -16
- package/dist/chunks/{aisdk-yvedx3v0.js → agent-8dzbm67s.js} +14 -14
- package/dist/chunks/{aisdk-9gqmj5vj.js → agent-8er64j5e.js} +20 -20
- package/dist/chunks/{aisdk-e8kwxw5m.js → agent-8sw8s5xk.js} +22 -22
- package/dist/chunks/{aisdk-8wtp7s3z.js → agent-8wtp7s3z.js} +1 -1
- package/dist/chunks/{aisdk-rp03b2v5.js → agent-8xns6cym.js} +6 -6
- package/dist/chunks/{aisdk-m37sd98t.js → agent-8y4jps98.js} +4 -4
- package/dist/chunks/{aisdk-vxgnhsqb.js → agent-90z60219.js} +19 -19
- package/dist/chunks/{aisdk-91rj84md.js → agent-91rj84md.js} +1 -1
- package/dist/chunks/{aisdk-r7xar5ns.js → agent-92c1azvn.js} +11 -11
- package/dist/chunks/{aisdk-jf9krjpp.js → agent-97zspg27.js} +11 -11
- package/dist/chunks/{aisdk-a15k0zhp.js → agent-9872gzyf.js} +29 -29
- package/dist/chunks/{aisdk-9cx9sm2q.js → agent-9cx9sm2q.js} +1 -1
- package/dist/chunks/{aisdk-cm6nqe55.js → agent-9tqk2n2m.js} +5 -5
- package/dist/chunks/{aisdk-e5x3m6gv.js → agent-9wssh0tx.js} +33 -33
- package/dist/chunks/{aisdk-j1nh0dvn.js → agent-9ygqb4bs.js} +15 -15
- package/dist/chunks/{aisdk-s1yd5pe2.js → agent-9yr8g2ta.js} +5 -5
- package/dist/chunks/{aisdk-1xyzjhw2.js → agent-a013asta.js} +13 -13
- package/dist/chunks/{aisdk-fqqv68q1.js → agent-a2hq59ke.js} +21 -21
- package/dist/chunks/{aisdk-hdfrs5mg.js → agent-a7s1nr2m.js} +2 -2
- package/dist/chunks/{aisdk-53azc0ng.js → agent-a8b15abj.js} +22 -22
- package/dist/chunks/{aisdk-7rgcx97n.js → agent-a8g4y5z7.js} +4 -4
- package/dist/chunks/{aisdk-6kz9x0pq.js → agent-ademh8e3.js} +11 -11
- package/dist/chunks/{aisdk-034tev2y.js → agent-aj7mw0zk.js} +2 -2
- package/dist/chunks/{aisdk-7x19yq7v.js → agent-akqrtxca.js} +9 -9
- package/dist/chunks/{aisdk-4c3mt1zt.js → agent-akxzt346.js} +23 -23
- package/dist/chunks/{aisdk-9r74pek2.js → agent-aqjzr6r1.js} +21 -21
- package/dist/chunks/{aisdk-4405x3fp.js → agent-aqnwz5fn.js} +8 -8
- package/dist/chunks/{aisdk-p01scpe3.js → agent-ard2b0yg.js} +3 -3
- package/dist/chunks/{aisdk-t6d8acg2.js → agent-at22psrd.js} +42 -42
- package/dist/chunks/{aisdk-b0mv4wxm.js → agent-b0mv4wxm.js} +2 -2
- package/dist/chunks/{aisdk-b6vsg801.js → agent-b6vsg801.js} +2 -2
- package/dist/chunks/{aisdk-tb7p4ryh.js → agent-bgg6fpfq.js} +8 -8
- package/dist/chunks/{aisdk-kbdzx3mw.js → agent-bmx631f3.js} +5 -5
- package/dist/chunks/{aisdk-dkp3sj88.js → agent-bnvqjy8m.js} +17 -17
- package/dist/chunks/{aisdk-fgnzxzst.js → agent-bqabctay.js} +13 -13
- package/dist/chunks/{aisdk-ja7wwn77.js → agent-bqje3trr.js} +16 -16
- package/dist/chunks/{aisdk-bstexjd6.js → agent-bstexjd6.js} +1 -1
- package/dist/chunks/{aisdk-fqnyfen5.js → agent-bwe4w6pg.js} +24 -24
- package/dist/chunks/{aisdk-3wb3hybh.js → agent-c3zt26pz.js} +5 -5
- package/dist/chunks/{aisdk-e8hh4y82.js → agent-c8g0sqk1.js} +5 -5
- package/dist/chunks/{aisdk-j05981jc.js → agent-c8k7ww63.js} +23 -23
- package/dist/chunks/{aisdk-5jh3x4cp.js → agent-cfg1gyez.js} +1 -1
- package/dist/chunks/{aisdk-k7yrx92t.js → agent-csg411tc.js} +11 -11
- package/dist/chunks/{aisdk-yvxdremh.js → agent-csnrqqvz.js} +3 -3
- package/dist/chunks/{aisdk-8qemxr4r.js → agent-ctm212j9.js} +179 -179
- package/dist/chunks/{aisdk-5xqdh343.js → agent-d75wdvfq.js} +28 -28
- package/dist/chunks/{aisdk-qmj5cz35.js → agent-d9b58nj2.js} +38 -38
- package/dist/chunks/agent-db6xh5f5.js +26 -0
- package/dist/chunks/{aisdk-rmd5ss9w.js → agent-dekedfjb.js} +16 -16
- package/dist/chunks/{aisdk-bqwt06y2.js → agent-dkdbn7qp.js} +29 -29
- package/dist/chunks/{aisdk-ztme5hfx.js → agent-dw0tqvgd.js} +4 -4
- package/dist/chunks/{aisdk-m7bh4y9s.js → agent-e0gqtbhp.js} +8 -8
- package/dist/chunks/{aisdk-e18tqe22.js → agent-e3nyjr0f.js} +8 -8
- package/dist/chunks/{aisdk-e834z07m.js → agent-e834z07m.js} +1 -1
- package/dist/chunks/{aisdk-ttavtkp0.js → agent-e88ktd3c.js} +29 -29
- package/dist/chunks/{aisdk-9n4wjpch.js → agent-e8yvr5rn.js} +21 -21
- package/dist/chunks/{aisdk-gg8p9cgs.js → agent-ep59zg61.js} +3 -3
- package/dist/chunks/{aisdk-vzjwe277.js → agent-erh01ra6.js} +7 -7
- package/dist/chunks/{aisdk-6xhrkcv3.js → agent-es3b2gsk.js} +3 -3
- package/dist/chunks/agent-ev660z6k.js +18 -0
- package/dist/chunks/{aisdk-x9nfghf6.js → agent-eyaew5ez.js} +25 -25
- package/dist/chunks/{aisdk-gfq40tc0.js → agent-eyn6zj3x.js} +25 -25
- package/dist/chunks/{aisdk-zwqgz0dx.js → agent-f0vthqmt.js} +15 -15
- package/dist/chunks/{aisdk-mbdjsty7.js → agent-f12pq1t4.js} +33 -33
- package/dist/chunks/{aisdk-w570j3nw.js → agent-f1dzx5gz.js} +3 -3
- package/dist/chunks/{aisdk-yyf3eqby.js → agent-f8mfn80p.js} +4 -4
- package/dist/chunks/{aisdk-e345rr8x.js → agent-feq2fds5.js} +23 -23
- package/dist/chunks/{aisdk-fffv3p7h.js → agent-fffv3p7h.js} +1 -1
- package/dist/chunks/{aisdk-zf12tkd7.js → agent-fshpjc7v.js} +9 -9
- package/dist/chunks/{aisdk-4cbjx9hk.js → agent-fw7t8tww.js} +18 -18
- package/dist/chunks/{aisdk-23z95380.js → agent-fwsmq32q.js} +5 -5
- package/dist/chunks/{aisdk-bagpgcae.js → agent-fyswm6z2.js} +9 -9
- package/dist/chunks/{aisdk-vwvg46tm.js → agent-g4qbe2v9.js} +2 -2
- package/dist/chunks/{aisdk-bht5e7px.js → agent-g5h81d8x.js} +18 -18
- package/dist/chunks/{aisdk-g5h9c0rr.js → agent-g5h9c0rr.js} +2 -2
- package/dist/chunks/{aisdk-16ec66c0.js → agent-g85rjq8b.js} +21 -21
- package/dist/chunks/{aisdk-79ma1d1c.js → agent-g925vmef.js} +6 -6
- package/dist/chunks/{aisdk-37kgntdq.js → agent-gfb9vjwz.js} +14 -14
- package/dist/chunks/{aisdk-xf45rx5w.js → agent-ghsyx58e.js} +4 -4
- package/dist/chunks/{aisdk-egpk34eq.js → agent-gjk9ww24.js} +87 -87
- package/dist/chunks/{aisdk-qtd1m7g9.js → agent-gjkhks3w.js} +10 -10
- package/dist/chunks/{aisdk-d4v9tmah.js → agent-gn8tkhbf.js} +2 -2
- package/dist/chunks/{aisdk-ag6e1zzx.js → agent-gpe9115v.js} +15 -15
- package/dist/chunks/{aisdk-k5f1tpst.js → agent-gz1ychq3.js} +11 -11
- package/dist/chunks/{aisdk-3c0xbcmr.js → agent-h36b412q.js} +85 -85
- package/dist/chunks/{aisdk-5a8mvswy.js → agent-hendem5s.js} +16 -16
- package/dist/chunks/{aisdk-17sd26a8.js → agent-hezwayvj.js} +21 -21
- package/dist/chunks/{aisdk-489smnq3.js → agent-hjtcdw49.js} +11 -11
- package/dist/chunks/{aisdk-kmzgegqq.js → agent-hw621kav.js} +8 -8
- package/dist/chunks/{aisdk-bm4gstpq.js → agent-hx6gesf1.js} +8 -8
- package/dist/chunks/{aisdk-ypvzn98z.js → agent-hzyjdts2.js} +2 -2
- package/dist/chunks/{aisdk-j113cymg.js → agent-j113cymg.js} +1 -1
- package/dist/chunks/{aisdk-m73394ec.js → agent-j5qp76cc.js} +5 -5
- package/dist/chunks/{aisdk-fh44djy4.js → agent-je6j3j9f.js} +31 -31
- package/dist/chunks/{aisdk-ynrq1a8k.js → agent-jnwx2kg9.js} +6 -6
- package/dist/chunks/{aisdk-rjh04bp0.js → agent-jqjqv5mv.js} +3 -3
- package/dist/chunks/{aisdk-xgwnds1x.js → agent-jtrgaghe.js} +48 -48
- package/dist/chunks/{aisdk-4efe9t29.js → agent-jw023j4b.js} +4 -4
- package/dist/chunks/{aisdk-zqn4mre8.js → agent-jzga9m04.js} +7 -7
- package/dist/chunks/{aisdk-0w944fsp.js → agent-k1zdwj5m.js} +14 -14
- package/dist/chunks/{aisdk-evgzhjhe.js → agent-k497vvr9.js} +4 -4
- package/dist/chunks/{aisdk-95xjaa08.js → agent-k6msgc74.js} +27 -27
- package/dist/chunks/{aisdk-k814nvkf.js → agent-k814nvkf.js} +1 -1
- package/dist/chunks/{aisdk-ex2ghmgq.js → agent-kbmq0v6f.js} +5 -5
- package/dist/chunks/{aisdk-c6x7d2ts.js → agent-kd4chd64.js} +7 -7
- package/dist/chunks/{aisdk-84ce2qyx.js → agent-kknkytq1.js} +15 -15
- package/dist/chunks/{aisdk-t791s50j.js → agent-km2ven80.js} +8 -8
- package/dist/chunks/{aisdk-44rcajk3.js → agent-kmch1wfz.js} +25 -25
- package/dist/chunks/{aisdk-psgg7zsx.js → agent-ks6g0x1g.js} +7 -7
- package/dist/chunks/{aisdk-kt3bjfbg.js → agent-kt3bjfbg.js} +1 -1
- package/dist/chunks/{aisdk-m1714858.js → agent-m1714858.js} +1 -1
- package/dist/chunks/{aisdk-kqvg528a.js → agent-m8rxg9cs.js} +27 -27
- package/dist/chunks/{aisdk-s4gp803s.js → agent-m9pm89y0.js} +7 -7
- package/dist/chunks/{aisdk-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-maspj1v3.js → agent-maspj1v3.js} +1 -1
- package/dist/chunks/{aisdk-wesz8wn3.js → agent-n0f2hcr3.js} +30 -30
- package/dist/chunks/{aisdk-2s2pjsss.js → agent-n585bckd.js} +12 -12
- package/dist/chunks/{aisdk-n66c6y3m.js → agent-n66c6y3m.js} +3 -3
- package/dist/chunks/{aisdk-770pw0s1.js → agent-nah043kf.js} +4 -4
- package/dist/chunks/{aisdk-1qcv0mz7.js → agent-ncn2yap2.js} +4 -4
- package/dist/chunks/{aisdk-7fbz3xvh.js → agent-nd27gdj2.js} +23 -23
- package/dist/chunks/{aisdk-b7g39s8d.js → agent-nes0c8n7.js} +18 -18
- package/dist/chunks/{aisdk-ytap9vp6.js → agent-ng3c2vx3.js} +26 -26
- package/dist/chunks/{aisdk-zvd49sfc.js → agent-nvakqqep.js} +12 -12
- package/dist/chunks/{aisdk-n73mkgya.js → agent-nynx6wfa.js} +13 -13
- package/dist/chunks/{aisdk-p015t6z3.js → agent-p015t6z3.js} +2 -2
- package/dist/chunks/{aisdk-fk4m46k8.js → agent-p70n5a2e.js} +38 -38
- package/dist/chunks/{aisdk-p7vhpwh8.js → agent-p7vhpwh8.js} +1 -1
- package/dist/chunks/{aisdk-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-1j8yvp7z.js → agent-psjhb6h9.js} +11 -11
- package/dist/chunks/{aisdk-8whp40kv.js → agent-pt1ss6jy.js} +3 -3
- package/dist/chunks/{aisdk-5t1jrh19.js → agent-pv6sstp4.js} +12 -12
- package/dist/chunks/{aisdk-nzqgb57p.js → agent-pzzw8bte.js} +6 -6
- package/dist/chunks/{aisdk-yrmq5nfy.js → agent-qax5zjmd.js} +17 -17
- package/dist/chunks/{aisdk-pjjfw12x.js → agent-qdq46y43.js} +27 -27
- package/dist/chunks/{aisdk-12szw4sb.js → agent-qvzt83st.js} +17 -17
- package/dist/chunks/{aisdk-36qqbj5g.js → agent-qxhawqxf.js} +14 -14
- package/dist/chunks/{aisdk-3vf1n8kd.js → agent-r0sc5khv.js} +11 -11
- package/dist/chunks/{aisdk-mvh2pba3.js → agent-r0yav5tq.js} +14 -14
- package/dist/chunks/{aisdk-r0yr0wbs.js → agent-r0yr0wbs.js} +1 -1
- package/dist/chunks/{aisdk-h1mzcgnc.js → agent-r1t3cyb3.js} +10 -10
- package/dist/chunks/{aisdk-jmfbvvt7.js → agent-r476v4sd.js} +1 -1
- package/dist/chunks/{aisdk-gcjdgkn2.js → agent-r4pwrx75.js} +2 -2
- package/dist/chunks/{aisdk-r542h3bh.js → agent-r542h3bh.js} +1 -1
- package/dist/chunks/{aisdk-rb9dy4dg.js → agent-rb9dy4dg.js} +1 -1
- package/dist/chunks/{aisdk-jmwjzmmg.js → agent-reqv0nhy.js} +54 -54
- package/dist/chunks/{aisdk-rt5dr6hb.js → agent-rt5dr6hb.js} +1 -1
- package/dist/chunks/{aisdk-wksjjq84.js → agent-rxp322v2.js} +15 -15
- package/dist/chunks/{aisdk-mvd95e57.js → agent-rydtep4r.js} +11 -11
- package/dist/chunks/{aisdk-jwckswdf.js → agent-rzcykvvq.js} +155 -155
- package/dist/chunks/{aisdk-9cbnrx2n.js → agent-s2pfznc4.js} +6 -6
- package/dist/chunks/{aisdk-4zb9my6c.js → agent-s531t74k.js} +41 -41
- package/dist/chunks/{aisdk-hyv7x757.js → agent-s9ngdvzg.js} +16 -16
- package/dist/chunks/{aisdk-sa3fpqfw.js → agent-sa3fpqfw.js} +2 -2
- package/dist/chunks/{aisdk-hntapedg.js → agent-sfm9ka6b.js} +36 -36
- package/dist/chunks/{aisdk-r3cy16ca.js → agent-skxa8yqx.js} +318 -318
- package/dist/chunks/{aisdk-rp7jyzbg.js → agent-sp5f2d2e.js} +26 -26
- package/dist/chunks/{aisdk-sqjzf8x2.js → agent-sqjzf8x2.js} +1 -1
- package/dist/chunks/{aisdk-c9t2ty9q.js → agent-ssfehs1z.js} +4 -4
- package/dist/chunks/{aisdk-xzq0t6ts.js → agent-swtsh7ge.js} +32 -32
- package/dist/chunks/{aisdk-s9dtkhh9.js → agent-t0s3yhk6.js} +20 -20
- package/dist/chunks/{aisdk-4v7yfqvb.js → agent-t5kz8xvk.js} +20 -20
- package/dist/chunks/{aisdk-js3ksacx.js → agent-t5tpffef.js} +14 -14
- package/dist/chunks/{aisdk-tczq8hjw.js → agent-tczq8hjw.js} +1 -1
- package/dist/chunks/{aisdk-ymm1aw3q.js → agent-tk0xf7e5.js} +11 -11
- package/dist/chunks/{aisdk-se3xgqfz.js → agent-tm42qtpg.js} +15 -15
- package/dist/chunks/{aisdk-1f6095jg.js → agent-twhms9x5.js} +9 -9
- package/dist/chunks/{aisdk-twv2r8f4.js → agent-twv2r8f4.js} +2 -2
- package/dist/chunks/{aisdk-h5vr95z7.js → agent-tzgk7pc9.js} +11 -11
- package/dist/chunks/{aisdk-v2r1d0zg.js → agent-v2r1d0zg.js} +1 -1
- package/dist/chunks/{aisdk-vd3b3yk9.js → agent-vd3b3yk9.js} +1 -1
- package/dist/chunks/{aisdk-veqvce7d.js → agent-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-w1r09s4w.js → agent-vpy60e9y.js} +19 -19
- package/dist/chunks/{aisdk-k68y3btx.js → agent-w162aavb.js} +22 -22
- package/dist/chunks/{aisdk-40za9wsf.js → agent-w2eysc6j.js} +9 -9
- package/dist/chunks/{aisdk-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-av7e37cx.js → agent-w4g85eya.js} +21 -21
- package/dist/chunks/{aisdk-b6z35kmf.js → agent-w687dnns.js} +4 -4
- package/dist/chunks/{aisdk-76cb1hcw.js → agent-w8qtt4th.js} +4 -4
- package/dist/chunks/{aisdk-n12vap05.js → agent-w98x3qrj.js} +20 -20
- package/dist/chunks/{aisdk-wakvkjy4.js → agent-wakvkjy4.js} +1 -1
- package/dist/chunks/{aisdk-r94gekwm.js → agent-wby0kqsc.js} +4 -4
- package/dist/chunks/{aisdk-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-ehm42m9b.js → agent-wddf3ds8.js} +5 -5
- package/dist/chunks/{aisdk-cwb64wyh.js → agent-we2361r8.js} +7 -7
- package/dist/chunks/{aisdk-79z3rxv7.js → agent-wj0x0my7.js} +35 -35
- package/dist/chunks/{aisdk-hv635p6z.js → agent-wj8xy6vp.js} +11 -11
- package/dist/chunks/{aisdk-mqm9p8pm.js → agent-wqf6whd0.js} +4 -4
- package/dist/chunks/{aisdk-jsv2sbca.js → agent-wqwygejh.js} +45 -45
- package/dist/chunks/{aisdk-8wc2fpae.js → agent-wt9cess9.js} +5 -5
- package/dist/chunks/{aisdk-b7v4cx43.js → agent-wz5tj16h.js} +5 -5
- package/dist/chunks/{aisdk-w82n2b1n.js → agent-x8m11snx.js} +24 -24
- package/dist/chunks/{aisdk-85p0n2yn.js → agent-xbymdpda.js} +14 -14
- package/dist/chunks/{aisdk-57e38gcf.js → agent-xfmhx0sz.js} +35 -35
- package/dist/chunks/{aisdk-9zzvs5fy.js → agent-xgm1b0sj.js} +16 -16
- package/dist/chunks/{aisdk-tjvr03ym.js → agent-xnhfvn64.js} +27 -27
- package/dist/chunks/{aisdk-mh3kd2f6.js → agent-xpzag304.js} +17 -17
- package/dist/chunks/{aisdk-t6hx1vbh.js → agent-xsdgnd9a.js} +5 -5
- package/dist/chunks/{aisdk-n5fqgye7.js → agent-xvqc07w7.js} +13 -13
- package/dist/chunks/{aisdk-2wq0b38v.js → agent-xz8r6fbg.js} +16 -16
- package/dist/chunks/{aisdk-gxxn87ah.js → agent-y3h8fq5y.js} +31 -31
- package/dist/chunks/{aisdk-5369tq0r.js → agent-y49518kq.js} +47 -47
- package/dist/chunks/{aisdk-xvqn10fm.js → agent-y63jcvcc.js} +5 -5
- package/dist/chunks/{aisdk-ketj597n.js → agent-y7a54drw.js} +35 -35
- package/dist/chunks/{aisdk-zggvq0e7.js → agent-y7rptanb.js} +8 -8
- package/dist/chunks/{aisdk-yb20nhc3.js → agent-yb20nhc3.js} +1 -1
- package/dist/chunks/{aisdk-jsmr2n21.js → agent-ybkhfr2c.js} +6 -6
- package/dist/chunks/{aisdk-mebk6197.js → agent-yc04cj61.js} +22 -22
- package/dist/chunks/{aisdk-ekj5pvbp.js → agent-yr88cfc3.js} +17 -17
- package/dist/chunks/{aisdk-6vgnb6m6.js → agent-ys6sktyv.js} +17 -17
- package/dist/chunks/{aisdk-e5b1pt7s.js → agent-yst6f085.js} +4 -4
- package/dist/chunks/{aisdk-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-sjhnd2rf.js → agent-z2v06856.js} +5 -5
- package/dist/chunks/{aisdk-z38nccrw.js → agent-z38nccrw.js} +1 -1
- package/dist/chunks/{aisdk-a0d4mwr5.js → agent-z45ac4nf.js} +34 -34
- package/dist/chunks/{aisdk-samctgvq.js → agent-z514f9er.js} +12 -12
- package/dist/chunks/{aisdk-q3ydzbgc.js → agent-z895d3e0.js} +8 -8
- package/dist/chunks/{aisdk-p0svn4h2.js → agent-z9cf55b4.js} +13 -13
- package/dist/chunks/{aisdk-x3wsffhh.js → agent-zbyebx2k.js} +9 -9
- package/dist/chunks/{aisdk-pxpqm36s.js → agent-zegbnajt.js} +4 -4
- package/dist/chunks/{aisdk-agqd6nxz.js → agent-zgt5j0h2.js} +6 -6
- package/dist/chunks/{aisdk-zkg84ctx.js → agent-zkg84ctx.js} +1 -1
- package/dist/chunks/{aisdk-jskqb5sc.js → agent-zm3vydp0.js} +12 -12
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +91 -91
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +220 -220
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +121 -121
- package/dist/config/plugin/image.js +120 -120
- package/dist/config/plugin/instruction.js +120 -120
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +121 -121
- package/dist/config/plugin/reference.js +122 -122
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +111 -111
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +120 -120
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +121 -121
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +122 -122
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +91 -91
- package/dist/database/database.js +72 -72
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +92 -92
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +380 -380
- 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 +100 -100
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +102 -102
- 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 +76 -76
- package/dist/file-access.js +113 -113
- package/dist/file-mutation.js +101 -101
- 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 +233 -233
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +106 -106
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +111 -111
- package/dist/form.js +90 -90
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +94 -94
- package/dist/generate.js +112 -112
- 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 +106 -106
- 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 +371 -371
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +94 -94
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +162 -162
- package/dist/location-lifecycle.js +116 -116
- package/dist/location-service-map.js +93 -93
- package/dist/location-services.js +368 -368
- package/dist/location.js +88 -88
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +98 -98
- package/dist/mcp/index.js +116 -116
- package/dist/mcp/instructions.js +147 -147
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +97 -97
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +106 -106
- package/dist/model-resolver.js +106 -106
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev.js +114 -114
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +126 -126
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +109 -109
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +224 -224
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +341 -341
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +103 -103
- package/dist/plugin/module.js +122 -122
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +111 -111
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +97 -97
- package/dist/plugin/provider/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +120 -120
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -116
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +100 -100
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +102 -102
- package/dist/plugin/provider/gitlab.js +100 -100
- package/dist/plugin/provider/google-vertex.js +117 -117
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +129 -129
- package/dist/plugin/provider/local.js +126 -126
- package/dist/plugin/provider/modal.js +99 -99
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +129 -129
- package/dist/plugin/provider/openai-context-caps.js +97 -97
- package/dist/plugin/provider/openai.js +122 -122
- package/dist/plugin/provider/opencode-legacy.js +107 -107
- package/dist/plugin/provider/opencode.js +126 -126
- package/dist/plugin/provider/openrouter.js +98 -98
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +98 -98
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +119 -119
- package/dist/plugin/provider/vercel.js +97 -97
- package/dist/plugin/provider/vllm.js +129 -129
- package/dist/plugin/provider/xai.js +98 -98
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +177 -177
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +358 -358
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +93 -93
- package/dist/plugin/vcs/hg.js +93 -93
- package/dist/plugin/verbosity.js +100 -100
- package/dist/plugin/warming.js +118 -118
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +233 -233
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +104 -104
- package/dist/rpc.js +93 -93
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +8 -8
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +141 -141
- package/dist/session/context.js +171 -171
- package/dist/session/diff.js +95 -95
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +227 -227
- package/dist/session/execution.js +137 -137
- package/dist/session/generate.js +171 -171
- package/dist/session/history.js +17 -17
- package/dist/session/inbox.js +101 -101
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +106 -106
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +129 -129
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +139 -139
- package/dist/session/projector.js +97 -97
- package/dist/session/prompt.js +114 -114
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +103 -103
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +237 -237
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +107 -107
- package/dist/session/runner/publish-llm-event.js +122 -122
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +135 -135
- package/dist/session/runner/to-llm-message.js +16 -16
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +134 -134
- package/dist/session/skill.js +112 -112
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +93 -93
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -214
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +175 -175
- package/dist/session/to-session-error.js +121 -121
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +222 -222
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +136 -136
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +114 -114
- package/dist/skill.js +115 -115
- package/dist/snapshot.js +96 -96
- 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 +146 -146
- package/dist/tool/plugin/edit.js +127 -127
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +133 -133
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +133 -133
- package/dist/tool/plugin/opencode.js +118 -118
- package/dist/tool/plugin/patch.js +129 -129
- package/dist/tool/plugin/question.js +112 -112
- package/dist/tool/plugin/read.js +134 -134
- package/dist/tool/plugin/shell.js +223 -223
- package/dist/tool/plugin/skill.js +120 -120
- package/dist/tool/plugin/subagent.js +225 -225
- package/dist/tool/plugin/todo.js +140 -140
- package/dist/tool/plugin/webfetch.js +122 -122
- package/dist/tool/plugin/websearch.js +123 -123
- package/dist/tool/plugin/write.js +127 -127
- package/dist/tool/read-filesystem.js +109 -109
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +99 -99
- 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 +98 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +96 -96
- package/dist/voice.js +92 -92
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +96 -96
- package/dist/worktree.js +105 -105
- package/package.json +8 -8
- package/dist/chunks/aisdk-n3r3rt18.js +0 -18
- package/dist/chunks/aisdk-pbt48ct3.js +0 -26
- /package/dist/chunks/{aisdk-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{aisdk-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-2bv980vf.js → agent-2bv980vf.js} +0 -0
- /package/dist/chunks/{aisdk-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-4m86bj6y.js → agent-4m86bj6y.js} +0 -0
- /package/dist/chunks/{aisdk-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-5fjb7ams.js → agent-5fjb7ams.js} +0 -0
- /package/dist/chunks/{aisdk-5w3e23ze.js → agent-5w3e23ze.js} +0 -0
- /package/dist/chunks/{aisdk-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{aisdk-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-84wd9syh.js → agent-84wd9syh.js} +0 -0
- /package/dist/chunks/{aisdk-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
- /package/dist/chunks/{aisdk-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-a058387c.js → agent-a058387c.js} +0 -0
- /package/dist/chunks/{aisdk-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-cqv5kn06.js → agent-cqv5kn06.js} +0 -0
- /package/dist/chunks/{aisdk-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-fkpq3x5p.js → agent-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{aisdk-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
- /package/dist/chunks/{aisdk-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{aisdk-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-jwr30sdr.js → agent-jwr30sdr.js} +0 -0
- /package/dist/chunks/{aisdk-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
- /package/dist/chunks/{aisdk-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-m18g726c.js → agent-m18g726c.js} +0 -0
- /package/dist/chunks/{aisdk-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{aisdk-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
- /package/dist/chunks/{aisdk-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{aisdk-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
- /package/dist/chunks/{aisdk-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-ym463w8f.js → agent-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{aisdk-z9919s4g.js → agent-z9919s4g.js} +0 -0
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-11hfp36g.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86,
|
|
6
6
|
node90
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-508bnh7x.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service69,
|
|
11
|
+
node72
|
|
12
|
+
} from "./agent-n0f2hcr3.js";
|
|
13
13
|
import {
|
|
14
14
|
Service83,
|
|
15
15
|
node87
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-1vztwarw.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
node75
|
|
20
|
-
} from "./aisdk-9r74pek2.js";
|
|
21
|
-
import {
|
|
22
|
-
ID16,
|
|
23
|
-
Service80,
|
|
18
|
+
Service81,
|
|
24
19
|
node84
|
|
25
|
-
} from "./
|
|
20
|
+
} from "./agent-aqjzr6r1.js";
|
|
21
|
+
import {
|
|
22
|
+
ID10,
|
|
23
|
+
Service68,
|
|
24
|
+
node71
|
|
25
|
+
} from "./agent-kmch1wfz.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./agent-vd3b3yk9.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service67,
|
|
34
|
+
node70
|
|
35
|
+
} from "./agent-swtsh7ge.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./agent-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service35,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured4,
|
|
56
|
+
layer: () => layer17,
|
|
57
|
+
node: () => node39
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -104,21 +104,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
104
104
|
var endpointLoads = makeUnsafe2();
|
|
105
105
|
var cloneConfig = (config) => structuredClone(config);
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service35 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
|
-
var
|
|
109
|
+
var Options4 = Schema.Struct({
|
|
110
110
|
clientInfo: Schema.optional(Schema.Struct({
|
|
111
111
|
name: Schema.String,
|
|
112
112
|
version: Schema.String
|
|
113
113
|
}))
|
|
114
114
|
});
|
|
115
|
-
var
|
|
115
|
+
var layer17 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service83;
|
|
117
|
-
const environment = yield*
|
|
117
|
+
const environment = yield* Service81;
|
|
118
118
|
const bus = yield* Service86;
|
|
119
|
-
const forms = yield*
|
|
120
|
-
const integration = yield*
|
|
121
|
-
const credentials = yield*
|
|
119
|
+
const forms = yield* Service68;
|
|
120
|
+
const integration = yield* Service67;
|
|
121
|
+
const credentials = yield* Service69;
|
|
122
122
|
const root = yield* Effect.scope;
|
|
123
123
|
const fork = yield* FiberSet.makeRuntime();
|
|
124
124
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -133,7 +133,7 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
133
133
|
return;
|
|
134
134
|
const remote = entry.config;
|
|
135
135
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
136
|
-
const integrationID =
|
|
136
|
+
const integrationID = ID9.make(suffix);
|
|
137
137
|
entry.integrationID = integrationID;
|
|
138
138
|
owned.add(integrationID);
|
|
139
139
|
const methodID = MethodID2.make(suffix);
|
|
@@ -149,7 +149,7 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
149
149
|
method: { id: methodID, type: "oauth", label: name },
|
|
150
150
|
authorize: () => Effect.gen(function* () {
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service69, credentials));
|
|
153
153
|
})
|
|
154
154
|
});
|
|
155
155
|
}).pipe(Scope.provide(scope));
|
|
@@ -157,19 +157,19 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
157
157
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
158
158
|
const entry = entries.get(name);
|
|
159
159
|
if (!entry)
|
|
160
|
-
return yield* new
|
|
160
|
+
return yield* new NotFoundError4({ server: name });
|
|
161
161
|
return { name, entry };
|
|
162
162
|
});
|
|
163
163
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
164
164
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
165
165
|
return;
|
|
166
166
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
167
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
167
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service69, credentials));
|
|
168
168
|
});
|
|
169
169
|
const elicitation = {
|
|
170
170
|
create: (input) => Effect.gen(function* () {
|
|
171
171
|
if (input.params.mode === "url") {
|
|
172
|
-
const formID =
|
|
172
|
+
const formID = ID10.create();
|
|
173
173
|
const elicitationID = input.params.elicitationId;
|
|
174
174
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
175
175
|
if (key)
|
|
@@ -272,7 +272,7 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
272
272
|
entry.scope = scope;
|
|
273
273
|
const authProvider = yield* connectProvider(entry);
|
|
274
274
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
275
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
275
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service81, environment), Scope.provide(scope));
|
|
276
276
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
277
277
|
if (Exit.isSuccess(result)) {
|
|
278
278
|
entry.client = result.value.connection;
|
|
@@ -373,7 +373,7 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
373
373
|
let closed = false;
|
|
374
374
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
375
375
|
closed = true;
|
|
376
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
376
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service81, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
377
377
|
const register = Effect.gen(function* () {
|
|
378
378
|
if (closed) {
|
|
379
379
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -452,7 +452,7 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
452
452
|
yield* startServer(name, entry);
|
|
453
453
|
}).pipe(locks.withLock(name));
|
|
454
454
|
});
|
|
455
|
-
fork(bus.subscribe(
|
|
455
|
+
fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
456
456
|
const state = create3({
|
|
457
457
|
name: "mcp",
|
|
458
458
|
initial: () => ({
|
|
@@ -478,7 +478,7 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
478
478
|
}),
|
|
479
479
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
480
480
|
});
|
|
481
|
-
return
|
|
481
|
+
return Service35.of({
|
|
482
482
|
transform: state.transform,
|
|
483
483
|
reload: state.reload,
|
|
484
484
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -611,14 +611,14 @@ function mergeCatalogs(catalogs) {
|
|
|
611
611
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
612
612
|
});
|
|
613
613
|
}
|
|
614
|
-
function
|
|
614
|
+
function configured4(options) {
|
|
615
615
|
return makeLocationNode({
|
|
616
|
-
service:
|
|
617
|
-
layer:
|
|
618
|
-
deps: [node87,
|
|
616
|
+
service: Service35,
|
|
617
|
+
layer: layer17(options),
|
|
618
|
+
deps: [node87, node84, node90, node71, node70, node72]
|
|
619
619
|
});
|
|
620
620
|
}
|
|
621
|
-
var
|
|
621
|
+
var node39 = configured4();
|
|
622
622
|
function toElicitationField(key, property, required) {
|
|
623
623
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
624
624
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -669,4 +669,4 @@ function toElicitationField(key, property, required) {
|
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
|
|
672
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
672
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service35, Options4, layer17, configured4, node39, exports_mcp4 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-2z1j29yd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./agent-4c58dp62.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_MARKDOWN_BYTES2,
|
|
9
9
|
convertHTMLToMarkdown2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-4vcrnpx2.js";
|
|
11
11
|
import {
|
|
12
12
|
collectBoundedResponseBody2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-3v8g72cx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/webfetch.ts
|
|
19
19
|
var exports_webfetch = {};
|
|
20
20
|
__export(exports_webfetch, {
|
|
21
21
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
22
|
-
Input: () =>
|
|
23
|
-
MAX_RESPONSE_BYTES: () =>
|
|
22
|
+
Input: () => Input5,
|
|
23
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
24
24
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin22,
|
|
26
26
|
WebFetchTool: () => exports_webfetch,
|
|
27
27
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
28
|
-
description: () =>
|
|
28
|
+
description: () => description3,
|
|
29
29
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
30
|
-
name: () =>
|
|
30
|
+
name: () => name5
|
|
31
31
|
});
|
|
32
32
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
33
33
|
import { Duration, Effect, Schema } from "effect";
|
|
34
34
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
35
35
|
import { Parser } from "htmlparser2";
|
|
36
|
-
var
|
|
37
|
-
var
|
|
36
|
+
var name5 = "webfetch";
|
|
37
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
38
38
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
39
39
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
40
|
-
var
|
|
40
|
+
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
41
41
|
|
|
42
42
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
43
43
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
44
|
-
var
|
|
44
|
+
var Input5 = Schema.Struct({
|
|
45
45
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
46
46
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
47
47
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -51,7 +51,7 @@ var Input2 = Schema.Struct({
|
|
|
51
51
|
var Output = Schema.Struct({
|
|
52
52
|
url: Schema.String,
|
|
53
53
|
contentType: Schema.String,
|
|
54
|
-
format:
|
|
54
|
+
format: Input5.fields.format,
|
|
55
55
|
output: Schema.String
|
|
56
56
|
});
|
|
57
57
|
var acceptHeader = (format) => {
|
|
@@ -82,7 +82,7 @@ var assertHttpUrl = (url) => {
|
|
|
82
82
|
throw new Error("URL must use http:// or https://");
|
|
83
83
|
};
|
|
84
84
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
85
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
85
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
86
86
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
87
87
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
88
88
|
var convert = (content, contentType, format) => {
|
|
@@ -94,16 +94,16 @@ var convert = (content, contentType, format) => {
|
|
|
94
94
|
return extractTextFromHTML2(content);
|
|
95
95
|
return content;
|
|
96
96
|
};
|
|
97
|
-
var
|
|
97
|
+
var Plugin22 = {
|
|
98
98
|
id: "opencode.tool.webfetch",
|
|
99
99
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
100
100
|
const http = yield* HttpClient.HttpClient;
|
|
101
|
-
const permission = yield*
|
|
101
|
+
const permission = yield* Service72;
|
|
102
102
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
103
|
-
name:
|
|
103
|
+
name: name5,
|
|
104
104
|
options: { codemode: false },
|
|
105
|
-
description:
|
|
106
|
-
input:
|
|
105
|
+
description: description3,
|
|
106
|
+
input: Input5,
|
|
107
107
|
output: Output,
|
|
108
108
|
execute: (input, context) => Effect.gen(function* () {
|
|
109
109
|
yield* Effect.try({
|
|
@@ -111,7 +111,7 @@ var Plugin19 = {
|
|
|
111
111
|
catch: (error) => error
|
|
112
112
|
});
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name5,
|
|
115
115
|
resources: [input.url],
|
|
116
116
|
save: ["*"],
|
|
117
117
|
metadata: input,
|
|
@@ -169,4 +169,4 @@ function extractTextFromHTML2(html) {
|
|
|
169
169
|
parser.end();
|
|
170
170
|
return text.trim();
|
|
171
171
|
}
|
|
172
|
-
export {
|
|
172
|
+
export { name5, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input5, Plugin22, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service76,
|
|
3
|
+
node79
|
|
4
|
+
} from "./agent-8sw8s5xk.js";
|
|
1
5
|
import {
|
|
2
6
|
Service63,
|
|
3
7
|
node66
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service42,
|
|
7
|
-
node44
|
|
8
|
-
} from "./aisdk-5369tq0r.js";
|
|
8
|
+
} from "./agent-y49518kq.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-pt1ss6jy.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/session/runner/model.ts
|
|
17
17
|
var exports_model = {};
|
|
18
18
|
__export(exports_model, {
|
|
19
19
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
20
20
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service47,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node49,
|
|
24
24
|
resolved: () => resolved2
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service47 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
47
47
|
}
|
|
48
48
|
var resolved2 = (model, options) => ({
|
|
49
49
|
model,
|
|
@@ -58,10 +58,10 @@ var resolved2 = (model, options) => ({
|
|
|
58
58
|
compaction: options.compaction,
|
|
59
59
|
transport: options.transport
|
|
60
60
|
});
|
|
61
|
-
var layer = Layer.effect(
|
|
62
|
-
const resolver = yield*
|
|
63
|
-
const agents = yield*
|
|
64
|
-
return
|
|
61
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
62
|
+
const resolver = yield* Service63;
|
|
63
|
+
const agents = yield* Service76;
|
|
64
|
+
return Service47.of({
|
|
65
65
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
66
66
|
if (!session.model) {
|
|
67
67
|
const agent = (yield* agents.select(session.agent)).info?.model;
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node49 = makeLocationNode({ service: Service47, layer, deps: [node66, node79] });
|
|
85
85
|
|
|
86
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
86
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service47, resolved2, node49, exports_model };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service71,
|
|
3
|
+
node74
|
|
4
|
+
} from "./agent-gjkhks3w.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-pt1ss6jy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service55,
|
|
20
|
+
make: () => make21,
|
|
21
|
+
node: () => node58
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service55 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make21 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service71;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -343,7 +343,7 @@ var make18 = Effect.gen(function* () {
|
|
|
343
343
|
next.delete(entry[0]);
|
|
344
344
|
return next;
|
|
345
345
|
})));
|
|
346
|
-
return
|
|
346
|
+
return Service55.of({
|
|
347
347
|
get,
|
|
348
348
|
start,
|
|
349
349
|
wait,
|
|
@@ -356,7 +356,7 @@ var make18 = Effect.gen(function* () {
|
|
|
356
356
|
completeBackground
|
|
357
357
|
});
|
|
358
358
|
});
|
|
359
|
-
var layer = Layer.effect(
|
|
360
|
-
var
|
|
359
|
+
var layer = Layer.effect(Service55, make21);
|
|
360
|
+
var node58 = makeGlobalNode({ service: Service55, layer, deps: [node74] });
|
|
361
361
|
|
|
362
|
-
export {
|
|
362
|
+
export { Service55, make21, node58, exports_job };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./agent-2y49s4ck.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service58
|
|
9
|
+
} from "./agent-d9b58nj2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service23,
|
|
12
12
|
statements3,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-97zspg27.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./agent-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* Service58;
|
|
35
|
+
const managed = yield* Service23;
|
|
36
|
+
const watcher = yield* Service59;
|
|
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,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-508bnh7x.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-bstexjd6.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service53,
|
|
17
|
+
node56
|
|
18
|
+
} from "./agent-qvzt83st.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./agent-vd3b3yk9.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./agent-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
29
|
Event: () => Event7,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info9,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service43,
|
|
35
35
|
Source: () => Source3,
|
|
36
36
|
node: () => node46
|
|
37
37
|
});
|
|
@@ -43,14 +43,14 @@ import { Event as Event7 } from "@opencode/schema/reference";
|
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info9 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service43 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service86;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service53;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info9.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service43.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,9 +113,9 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
115
|
var node46 = makeLocationNode({
|
|
116
|
-
service:
|
|
116
|
+
service: Service43,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node90,
|
|
118
|
+
deps: [Global.node, node90, node56]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info9, Service43, node46, exports_reference2, Event7 };
|