@opencode/core 0.0.0-dev-223 → 0.0.0-dev-224
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 +87 -87
- package/dist/aisdk-native.js +99 -99
- package/dist/aisdk.js +105 -105
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{repository-av5s4abm.js → filesystem-04kfhdy6.js} +4 -4
- package/dist/chunks/{repository-34aktkbd.js → filesystem-0ef2mh1p.js} +11 -11
- package/dist/chunks/{repository-0j7gp832.js → filesystem-0j7gp832.js} +1 -1
- package/dist/chunks/{repository-56v7dcaj.js → filesystem-0j7sp27n.js} +5 -5
- package/dist/chunks/{repository-ha3gr0r3.js → filesystem-0p5w6zwq.js} +22 -22
- package/dist/chunks/{repository-ch4a6gtw.js → filesystem-0w2jttgf.js} +2 -2
- package/dist/chunks/{repository-ry8wv614.js → filesystem-11khfpwy.js} +10 -10
- package/dist/chunks/{repository-pgz7m435.js → filesystem-167dk08f.js} +34 -34
- package/dist/chunks/{repository-kgnmyx47.js → filesystem-195h2ce0.js} +33 -33
- package/dist/chunks/{repository-653nzf8n.js → filesystem-195qsevx.js} +74 -74
- package/dist/chunks/{repository-28z6cbgf.js → filesystem-19gd0q7m.js} +20 -20
- package/dist/chunks/{repository-pach9r6p.js → filesystem-1e6my1g7.js} +17 -17
- package/dist/chunks/{repository-gv0adxtq.js → filesystem-1fyseb9g.js} +30 -30
- package/dist/chunks/{repository-c46s9eb3.js → filesystem-1gyrxqmm.js} +5 -5
- package/dist/chunks/{repository-8b5v3532.js → filesystem-1q8aebw4.js} +5 -5
- package/dist/chunks/{repository-1x2knyw4.js → filesystem-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-dyy4zt3v.js → filesystem-204nxwvy.js} +47 -47
- package/dist/chunks/{repository-204s3925.js → filesystem-204s3925.js} +1 -1
- package/dist/chunks/{repository-vaq1yek0.js → filesystem-26x8chrq.js} +6 -6
- package/dist/chunks/{repository-1ep2p91f.js → filesystem-27w5k9zf.js} +2 -2
- package/dist/chunks/{repository-8ykqf5wm.js → filesystem-2am13szv.js} +8 -8
- package/dist/chunks/filesystem-2dkjcnxp.js +18 -0
- package/dist/chunks/{repository-8mkcdndv.js → filesystem-2gdytpx5.js} +29 -29
- package/dist/chunks/{repository-vfvg8wtj.js → filesystem-2k2r9cp7.js} +17 -17
- package/dist/chunks/{repository-0qj6yjmx.js → filesystem-2rhrbycz.js} +5 -5
- package/dist/chunks/{repository-1xbe02wa.js → filesystem-31s64znz.js} +24 -24
- package/dist/chunks/{repository-e2ne77ac.js → filesystem-36qx82yz.js} +4 -4
- package/dist/chunks/{repository-ayjs7tqn.js → filesystem-3cbjf1nt.js} +2 -2
- package/dist/chunks/{repository-d7jw5fp3.js → filesystem-3gse1gra.js} +15 -15
- package/dist/chunks/{repository-ak9j0n4g.js → filesystem-3gytc1y7.js} +45 -45
- package/dist/chunks/{repository-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-p7y2ae2b.js → filesystem-3j4skgfc.js} +9 -9
- package/dist/chunks/{repository-2s8qs2ty.js → filesystem-3n9wrer5.js} +19 -19
- package/dist/chunks/{repository-3nnrz6f6.js → filesystem-3nnrz6f6.js} +1 -1
- package/dist/chunks/{repository-msv0m990.js → filesystem-3xfh9pkc.js} +16 -16
- package/dist/chunks/{repository-tm50zxtt.js → filesystem-40j8v2af.js} +348 -348
- package/dist/chunks/{repository-3vy7y2j7.js → filesystem-43h1mxk5.js} +78 -78
- package/dist/chunks/{repository-xkb2c2nh.js → filesystem-4m1azjz9.js} +21 -21
- package/dist/chunks/{repository-vsgz7a0v.js → filesystem-4papv57p.js} +30 -30
- package/dist/chunks/{repository-4pyp9zr9.js → filesystem-4pyp9zr9.js} +1 -1
- package/dist/chunks/{repository-x51cbw6r.js → filesystem-4r140ydd.js} +10 -10
- package/dist/chunks/{repository-4v008n1t.js → filesystem-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-d9k7070j.js → filesystem-4xgq8f2s.js} +14 -14
- package/dist/chunks/{repository-4pjd4h0r.js → filesystem-53f1f277.js} +8 -8
- package/dist/chunks/{repository-f57gywq5.js → filesystem-57ye470h.js} +5 -5
- package/dist/chunks/{repository-8bw97m0q.js → filesystem-5d1r9gpy.js} +16 -16
- package/dist/chunks/{repository-40za9wsf.js → filesystem-5enarcya.js} +6 -6
- package/dist/chunks/{repository-86050tb7.js → filesystem-5erf8ecf.js} +23 -23
- package/dist/chunks/{repository-p718ct0k.js → filesystem-5f4zfvgc.js} +4 -4
- package/dist/chunks/{repository-fac3sjkm.js → filesystem-5hsr0zt7.js} +27 -27
- package/dist/chunks/{repository-5eksgbhk.js → filesystem-5k0ygmt7.js} +30 -30
- package/dist/chunks/{repository-8xe30kkw.js → filesystem-5khgwaht.js} +23 -23
- package/dist/chunks/{repository-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-r96ere88.js → filesystem-5w1mdqt7.js} +4 -4
- package/dist/chunks/{repository-94k7vj63.js → filesystem-62brbbaq.js} +20 -20
- package/dist/chunks/{repository-59bskyqz.js → filesystem-630xfjjk.js} +3 -3
- package/dist/chunks/{repository-mpe4epve.js → filesystem-684rr1fc.js} +5 -5
- package/dist/chunks/{repository-6esdw8yj.js → filesystem-6esdw8yj.js} +1 -1
- package/dist/chunks/{repository-xa7zr3zm.js → filesystem-6s4bs33q.js} +6 -6
- package/dist/chunks/{repository-w8qtt4th.js → filesystem-76cb1hcw.js} +4 -4
- package/dist/chunks/{repository-3tzpckpe.js → filesystem-79dcp6vm.js} +11 -11
- package/dist/chunks/{repository-53qx6cqq.js → filesystem-79vckntf.js} +36 -36
- package/dist/chunks/{repository-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-yd5kqwzv.js → filesystem-7g2g3969.js} +21 -21
- package/dist/chunks/{repository-d41dy4jz.js → filesystem-7gf675tv.js} +25 -25
- package/dist/chunks/{repository-bw29t359.js → filesystem-7m14jn42.js} +12 -12
- package/dist/chunks/{repository-7w2ypzdf.js → filesystem-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-r2v87c26.js → filesystem-7xx3q0hc.js} +9 -9
- package/dist/chunks/{repository-8b3vzgkx.js → filesystem-8b3vzgkx.js} +1 -1
- package/dist/chunks/{repository-dvnqv6yn.js → filesystem-8dfptpqb.js} +4 -4
- package/dist/chunks/{repository-55g1gb2r.js → filesystem-8fgfvr5b.js} +14 -14
- package/dist/chunks/{repository-8jztxfpf.js → filesystem-8jztxfpf.js} +1 -1
- package/dist/chunks/{repository-d4adk9sf.js → filesystem-8k393grp.js} +6 -6
- package/dist/chunks/{repository-x4v825th.js → filesystem-8sv07mwj.js} +11 -11
- package/dist/chunks/{repository-5dgv37f6.js → filesystem-8txy58cb.js} +15 -15
- package/dist/chunks/{repository-8wtp7s3z.js → filesystem-8wtp7s3z.js} +1 -1
- package/dist/chunks/{repository-abrs8pjj.js → filesystem-8x0pab5n.js} +10 -10
- package/dist/chunks/{repository-wb47rx5c.js → filesystem-8x6dz44a.js} +5 -5
- package/dist/chunks/{repository-87e2vapc.js → filesystem-90kfhhe6.js} +35 -35
- package/dist/chunks/{repository-90zstvax.js → filesystem-90zstvax.js} +1 -1
- package/dist/chunks/{repository-m227na57.js → filesystem-98tqkwke.js} +11 -11
- package/dist/chunks/{repository-war8sgwz.js → filesystem-9a0z0sm4.js} +19 -19
- package/dist/chunks/{repository-gk3m201e.js → filesystem-9azm90ns.js} +20 -20
- package/dist/chunks/{repository-chfbpvyw.js → filesystem-9bnd18qk.js} +17 -17
- package/dist/chunks/{repository-v816cg4v.js → filesystem-9exsw83t.js} +11 -11
- package/dist/chunks/{repository-zapma743.js → filesystem-9js77jy1.js} +3 -3
- package/dist/chunks/{repository-ntref8y6.js → filesystem-9jzp3j8d.js} +24 -24
- package/dist/chunks/{repository-4jdk4m55.js → filesystem-9pt42hrs.js} +18 -18
- package/dist/chunks/{repository-2mfa6jt6.js → filesystem-9t393xpw.js} +39 -39
- package/dist/chunks/{repository-9n6p1q61.js → filesystem-9yk2b1f9.js} +7 -7
- package/dist/chunks/{repository-034tev2y.js → filesystem-aj7mw0zk.js} +2 -2
- package/dist/chunks/{repository-jkgxvka5.js → filesystem-aktfspq0.js} +11 -11
- package/dist/chunks/{repository-k48h5se1.js → filesystem-am4a9j2m.js} +3 -3
- package/dist/chunks/{repository-g0x9f173.js → filesystem-amvexxv0.js} +45 -45
- package/dist/chunks/{repository-5mprhnrj.js → filesystem-b4a5nyx5.js} +196 -196
- package/dist/chunks/{repository-b6vsg801.js → filesystem-b6vsg801.js} +2 -2
- package/dist/chunks/{repository-fvg4pwjj.js → filesystem-bafv7pw0.js} +7 -7
- package/dist/chunks/{repository-dmpan285.js → filesystem-bd6gbyhv.js} +8 -8
- package/dist/chunks/{repository-ha05q1k1.js → filesystem-bm0v3ha5.js} +26 -26
- package/dist/chunks/{repository-kv757zv6.js → filesystem-bpqrf6t1.js} +12 -12
- package/dist/chunks/{repository-4bwthz3m.js → filesystem-bsrm4kv0.js} +6 -6
- package/dist/chunks/{repository-xd9cc171.js → filesystem-bstexjd6.js} +5 -5
- package/dist/chunks/{repository-zdf3gzwx.js → filesystem-bt2f0stj.js} +33 -33
- package/dist/chunks/{repository-7hdgky85.js → filesystem-bt9jv65t.js} +32 -32
- package/dist/chunks/{repository-b8fn1a2b.js → filesystem-bv0cpx15.js} +9 -9
- package/dist/chunks/{repository-8dx40r31.js → filesystem-c28jsxxt.js} +24 -24
- package/dist/chunks/{repository-sqkqhx99.js → filesystem-c6zarp28.js} +14 -14
- package/dist/chunks/{repository-n7wq2c5f.js → filesystem-c951tkze.js} +7 -7
- package/dist/chunks/{repository-c9t2ty9q.js → filesystem-c9t2ty9q.js} +1 -1
- package/dist/chunks/{repository-meq5xayt.js → filesystem-ce6qzbvg.js} +17 -17
- package/dist/chunks/filesystem-cn3hegtz.js +26 -0
- package/dist/chunks/{repository-0ahs07zn.js → filesystem-cpvd08na.js} +4 -4
- package/dist/chunks/{repository-r1zag3k4.js → filesystem-crx66x63.js} +21 -21
- package/dist/chunks/{repository-cwrgdav8.js → filesystem-cwrgdav8.js} +2 -2
- package/dist/chunks/{repository-4127byac.js → filesystem-cx9pac8b.js} +4 -4
- package/dist/chunks/{repository-semxt4qn.js → filesystem-d3ckdkwn.js} +22 -22
- package/dist/chunks/{repository-bp73kexw.js → filesystem-daeazrnz.js} +14 -14
- package/dist/chunks/{repository-9wzjb77v.js → filesystem-dkqbcpdf.js} +5 -5
- package/dist/chunks/{repository-dt77769w.js → filesystem-dt77769w.js} +1 -1
- package/dist/chunks/filesystem-dwbakpgx.js +257 -0
- package/dist/chunks/{repository-4twczz1d.js → filesystem-e4zn5652.js} +3 -3
- package/dist/chunks/{repository-e834z07m.js → filesystem-e834z07m.js} +1 -1
- package/dist/chunks/{repository-8t5bg94k.js → filesystem-e8mz2xb5.js} +45 -45
- package/dist/chunks/{repository-zvwzcwk0.js → filesystem-e9fqtmvn.js} +6 -6
- package/dist/chunks/{repository-fmff55yr.js → filesystem-ehrt3y5n.js} +12 -12
- package/dist/chunks/{repository-nyqa861q.js → filesystem-enmtzxqx.js} +13 -13
- package/dist/chunks/{repository-6a610sb4.js → filesystem-ew8c46dw.js} +11 -11
- package/dist/chunks/{repository-ngwn9sfh.js → filesystem-f76bnh21.js} +32 -32
- package/dist/chunks/{repository-2y8z5rdx.js → filesystem-f7b4jqep.js} +19 -19
- package/dist/chunks/{repository-j2h2v56y.js → filesystem-fdje41h6.js} +32 -32
- package/dist/chunks/{repository-fffv3p7h.js → filesystem-fffv3p7h.js} +1 -1
- package/dist/chunks/{repository-w6qag2k8.js → filesystem-ffg810n4.js} +21 -21
- package/dist/chunks/{repository-prq7xxp2.js → filesystem-fg9p65nk.js} +6 -6
- package/dist/chunks/{repository-kmkjyfhv.js → filesystem-fghs85vj.js} +19 -19
- package/dist/chunks/{repository-7nc6vhv1.js → filesystem-fs6ar2fx.js} +36 -36
- package/dist/chunks/{repository-aa83a44m.js → filesystem-fzbtpn6v.js} +4 -4
- package/dist/chunks/{repository-w687dnns.js → filesystem-fznmdakp.js} +4 -4
- package/dist/chunks/{repository-vzrdr816.js → filesystem-g14zw2sb.js} +46 -46
- package/dist/chunks/{repository-99hh273v.js → filesystem-g2d7pwec.js} +6 -6
- package/dist/chunks/{repository-rkvjm6bb.js → filesystem-g8ffzbm5.js} +3 -3
- package/dist/chunks/{repository-mtf9rx2d.js → filesystem-gcbtwra8.js} +8 -8
- package/dist/chunks/{repository-0erz1dmz.js → filesystem-gerrpf33.js} +4 -4
- package/dist/chunks/{repository-3ys2qbze.js → filesystem-gfv476g8.js} +9 -9
- package/dist/chunks/{repository-t2dqqkmp.js → filesystem-gfwwbhdd.js} +22 -22
- package/dist/chunks/{repository-a2zbwxm7.js → filesystem-ghs82689.js} +11 -11
- package/dist/chunks/{repository-d4v9tmah.js → filesystem-gn8tkhbf.js} +2 -2
- package/dist/chunks/{repository-50jfwd0b.js → filesystem-gq549b3b.js} +4 -4
- package/dist/chunks/{repository-1yck77gx.js → filesystem-gr5tmgzz.js} +5 -5
- package/dist/chunks/{repository-94cvkwyc.js → filesystem-gyqryh5y.js} +8 -8
- package/dist/chunks/{repository-360yt0tf.js → filesystem-h0ppebc3.js} +8 -8
- package/dist/chunks/{repository-vzr2jnmc.js → filesystem-h5137fsx.js} +5 -5
- package/dist/chunks/{repository-2yksqsyz.js → filesystem-h68jz125.js} +41 -41
- package/dist/chunks/{repository-hds1b6c6.js → filesystem-hb2vdfk5.js} +13 -13
- package/dist/chunks/{repository-h0rg6s60.js → filesystem-hd3k4wz8.js} +4 -4
- package/dist/chunks/{repository-d9s3h93w.js → filesystem-hk9d81vf.js} +21 -21
- package/dist/chunks/{repository-hpg1pkwy.js → filesystem-hpg1pkwy.js} +1 -1
- package/dist/chunks/{repository-t9nzfb3m.js → filesystem-ht92kc8y.js} +20 -20
- package/dist/chunks/{repository-6ahrxn7h.js → filesystem-j3gxxqsz.js} +26 -26
- package/dist/chunks/{repository-jfaecv01.js → filesystem-jfaecv01.js} +1 -1
- package/dist/chunks/{repository-y6699624.js → filesystem-jphwvgs8.js} +8 -8
- package/dist/chunks/{repository-2qfs2vgm.js → filesystem-js15026g.js} +13 -13
- package/dist/chunks/{repository-jtnps1zs.js → filesystem-jtnps1zs.js} +2 -2
- package/dist/chunks/{repository-qwzfnxry.js → filesystem-jv7sy112.js} +23 -20
- package/dist/chunks/{repository-gsn0hbky.js → filesystem-jydyt1jv.js} +29 -29
- package/dist/chunks/{repository-c1gtqsga.js → filesystem-jz8jyxed.js} +27 -27
- package/dist/chunks/{repository-n6mm56gb.js → filesystem-jzcwvdq8.js} +13 -13
- package/dist/chunks/{repository-q6earb14.js → filesystem-k004b52r.js} +25 -25
- package/dist/chunks/{repository-gpcc0bgy.js → filesystem-k4a4wn9h.js} +9 -9
- package/dist/chunks/{repository-k814nvkf.js → filesystem-k814nvkf.js} +1 -1
- package/dist/chunks/{repository-2scem4zq.js → filesystem-k93vvdep.js} +11 -11
- package/dist/chunks/{repository-s27fe866.js → filesystem-kavymhq0.js} +5 -5
- package/dist/chunks/{repository-s9br1ntq.js → filesystem-kbh9re52.js} +41 -41
- package/dist/chunks/{repository-nrqpxzzq.js → filesystem-kcbmbrq1.js} +16 -16
- package/dist/chunks/{repository-fhded4xh.js → filesystem-kg14195c.js} +8 -8
- package/dist/chunks/{repository-mvfvs5vr.js → filesystem-kkkxjsrn.js} +12 -12
- package/dist/chunks/{repository-kt3bjfbg.js → filesystem-kt3bjfbg.js} +1 -1
- package/dist/chunks/{repository-m1714858.js → filesystem-m1714858.js} +1 -1
- package/dist/chunks/{repository-bsdpkvp5.js → filesystem-m337p9dc.js} +9 -9
- package/dist/chunks/{repository-tqsn5rpq.js → filesystem-m8pt14ww.js} +6 -6
- package/dist/chunks/{repository-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-9f15z1yv.js → filesystem-mbca2wch.js} +10 -10
- package/dist/chunks/{repository-yj5jfd5z.js → filesystem-mjyzbzxc.js} +5 -5
- package/dist/chunks/{repository-7x55e4f3.js → filesystem-mkryjhx5.js} +32 -32
- package/dist/chunks/{repository-e05k2b0s.js → filesystem-mstrsafp.js} +1 -1
- package/dist/chunks/{repository-4j3arzw1.js → filesystem-mv5c0h3x.js} +6 -6
- package/dist/chunks/{repository-pjbbp4st.js → filesystem-mw6cyxws.js} +29 -29
- package/dist/chunks/{repository-x78jh7xq.js → filesystem-n561m3b7.js} +19 -19
- package/dist/chunks/{repository-770pw0s1.js → filesystem-nah043kf.js} +4 -4
- package/dist/chunks/{repository-jzn0pxw0.js → filesystem-nazdnmrt.js} +15 -15
- package/dist/chunks/{repository-4zevbb2g.js → filesystem-nrefv84q.js} +48 -48
- package/dist/chunks/{repository-4qxgbnr8.js → filesystem-nshrevkn.js} +6 -6
- package/dist/chunks/{repository-626sad5p.js → filesystem-nsve5tx4.js} +11 -11
- package/dist/chunks/{repository-15wkvq9x.js → filesystem-ny1sy5a3.js} +4 -4
- package/dist/chunks/{repository-p015t6z3.js → filesystem-p015t6z3.js} +2 -2
- package/dist/chunks/{repository-p7vhpwh8.js → filesystem-p7vhpwh8.js} +1 -1
- package/dist/chunks/{repository-ymz7p2c9.js → filesystem-pakndkhn.js} +3 -3
- package/dist/chunks/{repository-anr40x3d.js → filesystem-pdbtcapx.js} +28 -28
- package/dist/chunks/{repository-30h5vszr.js → filesystem-pjg812bt.js} +21 -21
- package/dist/chunks/{repository-5h9w1760.js → filesystem-pkayehgb.js} +15 -15
- package/dist/chunks/{repository-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{repository-vaqj36aw.js → filesystem-pnr9n7z9.js} +16 -16
- package/dist/chunks/{repository-yara3q77.js → filesystem-pxtfkpje.js} +2 -2
- package/dist/chunks/{repository-24rck98s.js → filesystem-q09rr5xd.js} +27 -27
- package/dist/chunks/{repository-bzecdqed.js → filesystem-q9n7yxac.js} +10 -10
- package/dist/chunks/{repository-xrjfkxwf.js → filesystem-qcgrm8q2.js} +33 -33
- package/dist/chunks/{repository-cmdwg2dr.js → filesystem-qh51c2hm.js} +14 -14
- package/dist/chunks/{repository-1d0hekf1.js → filesystem-qm7hy0s1.js} +32 -32
- package/dist/chunks/{repository-qp7r0hxv.js → filesystem-qp7r0hxv.js} +1 -1
- package/dist/chunks/{repository-qqvy8y24.js → filesystem-qqvy8y24.js} +1 -1
- package/dist/chunks/{repository-pamhxmwe.js → filesystem-qvmjkfdq.js} +11 -11
- package/dist/chunks/{repository-hbwwzcqk.js → filesystem-qwzahezh.js} +3 -3
- package/dist/chunks/{repository-j360sx8s.js → filesystem-qy5vca9h.js} +5 -5
- package/dist/chunks/{repository-r0yr0wbs.js → filesystem-r0yr0wbs.js} +1 -1
- package/dist/chunks/{repository-9f3sjfep.js → filesystem-r4j0x99n.js} +9 -9
- package/dist/chunks/{repository-r542h3bh.js → filesystem-r542h3bh.js} +1 -1
- package/dist/chunks/{repository-t9xxwrxt.js → filesystem-r66kyd6j.js} +24 -24
- package/dist/chunks/{repository-267kfj3b.js → filesystem-rawze43q.js} +37 -37
- package/dist/chunks/{repository-rb9dy4dg.js → filesystem-rb9dy4dg.js} +1 -1
- package/dist/chunks/{repository-sg06s8x8.js → filesystem-rrjvevf9.js} +14 -14
- package/dist/chunks/{repository-rt5dr6hb.js → filesystem-rt5dr6hb.js} +1 -1
- package/dist/chunks/{repository-2jpjfffa.js → filesystem-rx9fgwcp.js} +9 -9
- package/dist/chunks/{repository-q61bmwds.js → filesystem-rxg1n2es.js} +3 -3
- package/dist/chunks/{repository-1r2kzq99.js → filesystem-s336ghke.js} +14 -14
- package/dist/chunks/{repository-s7gmm2q3.js → filesystem-s7gmm2q3.js} +3 -3
- package/dist/chunks/{repository-97c5t57a.js → filesystem-s7wv3tb2.js} +18 -18
- package/dist/chunks/{repository-sa3fpqfw.js → filesystem-sa3fpqfw.js} +2 -2
- package/dist/chunks/{repository-b5rc0sm5.js → filesystem-smjmfamq.js} +94 -92
- package/dist/chunks/{repository-k9zkdd2y.js → filesystem-snb901t2.js} +4 -4
- package/dist/chunks/{repository-v65we5h7.js → filesystem-snc187et.js} +21 -21
- package/dist/chunks/{repository-yq02jwn4.js → filesystem-srb5905y.js} +17 -17
- package/dist/chunks/{repository-svcy3p9a.js → filesystem-svcy3p9a.js} +1 -1
- package/dist/chunks/{repository-95g2r518.js → filesystem-t5ntgcha.js} +30 -30
- package/dist/chunks/{repository-tczq8hjw.js → filesystem-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-w8k3kdvv.js → filesystem-tfzwejs7.js} +11 -11
- package/dist/chunks/{repository-xgjk47c2.js → filesystem-tg6k312r.js} +19 -19
- package/dist/chunks/{repository-w4a5rcbb.js → filesystem-tge6e9e7.js} +15 -15
- package/dist/chunks/{repository-xdeca17p.js → filesystem-tgpcajrp.js} +27 -27
- package/dist/chunks/{repository-wvdwzn2w.js → filesystem-tvp0dzzs.js} +2 -2
- package/dist/chunks/{repository-z4pj4x9b.js → filesystem-twh1nspr.js} +9 -9
- package/dist/chunks/{repository-twssxy5n.js → filesystem-twssxy5n.js} +2 -2
- package/dist/chunks/{repository-cge55dh8.js → filesystem-tz83c6yk.js} +31 -31
- package/dist/chunks/{repository-s7kyse9r.js → filesystem-v0t96s7a.js} +4 -4
- package/dist/chunks/{repository-v2r1d0zg.js → filesystem-v2r1d0zg.js} +1 -1
- package/dist/chunks/{repository-hp5ggfzb.js → filesystem-v7t6jh72.js} +11 -11
- package/dist/chunks/{repository-gcjdgkn2.js → filesystem-vc2a1z4h.js} +9 -9
- package/dist/chunks/{repository-nfsrfhgk.js → filesystem-vd8rwa0c.js} +18 -18
- package/dist/chunks/{repository-a7vyxcv1.js → filesystem-vh2h6g1h.js} +18 -18
- package/dist/chunks/{repository-g7esga4v.js → filesystem-vmfhgzt5.js} +5 -5
- package/dist/chunks/{repository-5sdj5p51.js → filesystem-vpe8h0t6.js} +56 -56
- package/dist/chunks/{repository-tdzpe7ny.js → filesystem-vsmzqk2y.js} +56 -56
- package/dist/chunks/{repository-wbqjejvk.js → filesystem-vsr0eqbt.js} +2 -2
- package/dist/chunks/{repository-q2z2t1q0.js → filesystem-vx54jen0.js} +42 -42
- package/dist/chunks/{repository-91h4454q.js → filesystem-vykrxgmq.js} +1 -1
- package/dist/chunks/{repository-0f4tqvx5.js → filesystem-vys2hz9a.js} +2 -2
- package/dist/chunks/{repository-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-sfy613zk.js → filesystem-waj9pdqz.js} +28 -28
- package/dist/chunks/{repository-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
- package/dist/chunks/{repository-bkvh1vz1.js → filesystem-wav8c0w2.js} +25 -25
- package/dist/chunks/{repository-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{repository-wnhgecwx.js → filesystem-wnhgecwx.js} +1 -1
- package/dist/chunks/{repository-yekse1yq.js → filesystem-wr75p8wj.js} +21 -21
- package/dist/chunks/{repository-vykevjvn.js → filesystem-wz5tj16h.js} +5 -5
- package/dist/chunks/{repository-99q7081m.js → filesystem-x6rjmcaj.js} +17 -17
- package/dist/chunks/{repository-f44s1d53.js → filesystem-x85yhxtw.js} +23 -23
- package/dist/chunks/{repository-hax9wfhq.js → filesystem-xfqm8zp4.js} +8 -8
- package/dist/chunks/{repository-s6h2s3rz.js → filesystem-xk2zn0cv.js} +4 -4
- package/dist/chunks/{repository-j368t596.js → filesystem-xkkam4tz.js} +11 -11
- package/dist/chunks/{repository-xvjkytpn.js → filesystem-xm3a73ht.js} +7 -7
- package/dist/chunks/{repository-b0npgc9t.js → filesystem-xt0z8zst.js} +8 -8
- package/dist/chunks/{repository-kkebvfyp.js → filesystem-y73qp9rw.js} +23 -23
- package/dist/chunks/{repository-yb20nhc3.js → filesystem-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-zx29snpc.js → filesystem-yc4xwjk4.js} +9 -9
- package/dist/chunks/{repository-421f5x70.js → filesystem-ydjecrt5.js} +30 -14
- package/dist/chunks/{repository-g20aks6e.js → filesystem-yh0hfha7.js} +21 -21
- package/dist/chunks/{repository-2zp5a6yg.js → filesystem-yjjyz0e3.js} +3 -3
- package/dist/chunks/{repository-160yv0cs.js → filesystem-ykvsfm8k.js} +8 -8
- package/dist/chunks/{repository-nkr6yq9m.js → filesystem-ym1e38ts.js} +6 -6
- package/dist/chunks/{repository-7y253f34.js → filesystem-yr0nyka5.js} +10 -10
- package/dist/chunks/{repository-bz487fe5.js → filesystem-yvpg4w4a.js} +29 -29
- package/dist/chunks/{repository-n4cszq6s.js → filesystem-ywhza86r.js} +18 -18
- package/dist/chunks/{repository-g7fty37q.js → filesystem-yyx7mbnb.js} +23 -23
- package/dist/chunks/{repository-746hfkms.js → filesystem-z2m3me10.js} +17 -17
- package/dist/chunks/{repository-cncfqw11.js → filesystem-z2wtb6wa.js} +48 -48
- package/dist/chunks/{repository-z38nccrw.js → filesystem-z38nccrw.js} +1 -1
- package/dist/chunks/{repository-k7a4agay.js → filesystem-z8rc56ez.js} +19 -19
- package/dist/chunks/{repository-mzbswx4t.js → filesystem-zb5gs1ba.js} +3 -3
- package/dist/chunks/{repository-dsq3hdx8.js → filesystem-zcrmr4y4.js} +47 -47
- package/dist/chunks/{repository-6y263vp8.js → filesystem-zk53j53a.js} +5 -5
- package/dist/chunks/{repository-qx66ja59.js → filesystem-zqvff56k.js} +15 -15
- package/dist/chunks/{repository-ys7d052r.js → filesystem-zryjy72y.js} +27 -27
- package/dist/chunks/{repository-skbttzty.js → filesystem-zwftgptp.js} +9 -9
- package/dist/chunks/{repository-a2pcb318.js → filesystem-zyc5d1d0.js} +26 -26
- package/dist/chunks/{repository-5d4p0r89.js → filesystem-zytxfbbq.js} +15 -15
- 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 +91 -91
- package/dist/config/discovery.js +94 -94
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +109 -109
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +223 -223
- package/dist/config/plugin/compaction.js +164 -164
- package/dist/config/plugin/compatibility.js +144 -144
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +123 -123
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +125 -125
- package/dist/config/plugin/provider.js +124 -124
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +140 -140
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +147 -147
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +93 -93
- package/dist/database/database.js +74 -74
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/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/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration.gen.js +57 -57
- package/dist/database/migration.js +59 -59
- 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 +102 -102
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +387 -387
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +103 -103
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +105 -105
- 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 +78 -78
- package/dist/file-access.js +150 -150
- package/dist/file-mutation.js +104 -104
- 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/file-watch.js +85 -85
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +109 -109
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +97 -97
- package/dist/generate.js +117 -117
- package/dist/git.js +11 -11
- 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 +109 -109
- 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/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +378 -378
- package/dist/instruction-discovery.js +94 -94
- package/dist/instructions/builtins.js +97 -97
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +97 -97
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +81 -81
- package/dist/location-activity.js +165 -165
- package/dist/location-lifecycle.js +144 -144
- package/dist/location-service-map.js +96 -96
- package/dist/location-services.js +375 -375
- package/dist/location.js +99 -99
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +101 -101
- package/dist/mcp/index.js +119 -119
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +86 -86
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +100 -100
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +109 -109
- package/dist/model-resolver.js +109 -109
- package/dist/model-retry.js +1 -1
- package/dist/model.js +112 -112
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +112 -112
- 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 +147 -147
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +98 -98
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +83 -83
- package/dist/plugin/agent.js +84 -84
- package/dist/plugin/command.js +112 -112
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +229 -229
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +348 -348
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +107 -107
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +140 -140
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +101 -101
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +123 -123
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/credential-settings.js +82 -82
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +103 -103
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +105 -105
- package/dist/plugin/provider/gitlab.js +104 -104
- package/dist/plugin/provider/google-vertex.js +120 -120
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +86 -86
- package/dist/plugin/provider/lmstudio.js +132 -132
- package/dist/plugin/provider/local.js +129 -129
- package/dist/plugin/provider/modal.js +102 -102
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +100 -100
- package/dist/plugin/provider/openai.js +123 -123
- package/dist/plugin/provider/opencode.js +126 -126
- package/dist/plugin/provider/openrouter.js +101 -101
- package/dist/plugin/provider/poe.js +87 -87
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +101 -101
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/vllm.js +132 -132
- package/dist/plugin/provider/xai.js +101 -101
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +174 -174
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +143 -143
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +366 -366
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +96 -96
- package/dist/plugin/vcs/hg.js +96 -96
- package/dist/plugin/verbosity.js +103 -103
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +98 -98
- package/dist/provider.js +109 -109
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +104 -104
- package/dist/reference/instructions.js +98 -98
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +90 -90
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +96 -96
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +229 -229
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +132 -122
- package/dist/session/command.js +82 -82
- package/dist/session/compaction.js +166 -166
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +98 -98
- 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 +231 -231
- package/dist/session/execution.js +154 -154
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +129 -129
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +87 -87
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +134 -134
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +153 -153
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +158 -158
- package/dist/session/projector.js +136 -136
- package/dist/session/prompt.js +142 -142
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +132 -132
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +241 -241
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +110 -110
- package/dist/session/runner/publish-llm-event.js +143 -143
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +156 -156
- package/dist/session/runner/to-llm-message.js +130 -130
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +174 -174
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +141 -141
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +81 -81
- package/dist/session/store.js +135 -135
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +217 -217
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +194 -194
- package/dist/session/to-session-error.js +142 -142
- package/dist/session/transfer.js +250 -228
- package/dist/session/usage.js +1 -1
- package/dist/session.js +227 -227
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +145 -145
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +99 -99
- 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 +167 -167
- package/dist/tool/plugin/edit.js +158 -158
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +156 -156
- package/dist/tool/plugin/grep.js +158 -158
- package/dist/tool/plugin/image-generate.js +231 -231
- package/dist/tool/plugin/mcp-resource.js +156 -156
- package/dist/tool/plugin/opencode.js +155 -155
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/schedule.js +221 -221
- package/dist/tool/plugin/shell.js +226 -226
- package/dist/tool/plugin/skill.js +151 -151
- package/dist/tool/plugin/subagent.js +228 -228
- package/dist/tool/plugin/todo.js +147 -147
- package/dist/tool/plugin/webfetch.js +149 -149
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +154 -154
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/config/plugin/command.d.ts +1 -1
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/location-activity.d.ts +1 -1
- package/dist/types/mcp/index.d.ts +1 -1
- package/dist/types/plugin/command.d.ts +1 -1
- package/dist/types/plugin/host.d.ts +2 -2
- package/dist/types/plugin/internal.d.ts +1 -1
- package/dist/types/plugin/models-dev.d.ts +1 -1
- package/dist/types/session/blob.d.ts +884 -17
- package/dist/types/session/compaction.d.ts +1 -1
- package/dist/types/session/execution/restart.d.ts +1 -1
- package/dist/types/session/execution.d.ts +1 -1
- package/dist/types/session/revert.d.ts +2 -2
- package/dist/types/session/runner/step.d.ts +1 -1
- package/dist/types/session/session.d.ts +1 -1
- package/dist/types/session/title.d.ts +1 -1
- package/dist/types/tool/mcp.d.ts +1 -1
- package/dist/types/tool/plugin/subagent.d.ts +1 -1
- package/dist/usage-limits.js +97 -97
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +102 -102
- package/dist/v1/config/permission.js +3 -3
- 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 +103 -103
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +99 -99
- package/dist/voice.js +98 -98
- package/dist/websearch.js +94 -94
- package/dist/wellknown/plugin.js +84 -84
- package/dist/wellknown.js +89 -89
- package/dist/workspace/driver.js +5 -5
- 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 +99 -99
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/repository-fvnssjxv.js +0 -26
- package/dist/chunks/repository-qn96veqe.js +0 -257
- package/dist/chunks/repository-vdh3rgac.js +0 -18
- /package/dist/chunks/{repository-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1jakw16s.js → filesystem-1jakw16s.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-5w3e23ze.js → filesystem-5w3e23ze.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a058387c.js → filesystem-a058387c.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-beh6qq61.js → filesystem-beh6qq61.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cqv5kn06.js → filesystem-cqv5kn06.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fkpq3x5p.js → filesystem-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jwr30sdr.js → filesystem-jwr30sdr.js} +0 -0
- /package/dist/chunks/{repository-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-m18g726c.js → filesystem-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-ncqqe42p.js → filesystem-ncqqe42p.js} +0 -0
- /package/dist/chunks/{repository-nh4v3znn.js → filesystem-nh4v3znn.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-p5j5bg0f.js → filesystem-p5j5bg0f.js} +0 -0
- /package/dist/chunks/{repository-p71gwv9c.js → filesystem-p71gwv9c.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-ty7weeps.js → filesystem-ty7weeps.js} +0 -0
- /package/dist/chunks/{repository-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./filesystem-kcbmbrq1.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info19
|
|
9
|
+
} from "./filesystem-2am13szv.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-cx9pac8b.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service71
|
|
16
|
+
} from "./filesystem-g14zw2sb.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-e834z07m.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin3
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info19);
|
|
44
44
|
var pathActions = ["external_directory", "read", "edit"];
|
|
45
45
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
46
46
|
var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
47
|
-
var
|
|
47
|
+
var Plugin3 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service71;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin36 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID10.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID10.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -163,4 +163,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
163
163
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
164
164
|
});
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { Plugin3, exports_agent };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-g8ffzbm5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-xt0z8zst.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-rxg1n2es.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service29,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node33,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service29 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make20({
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make22({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service87;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service29.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node33 = makeGlobalNode({ service: Service29, layer, deps: [node91] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service29, node33, exports_instruction_entry };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./filesystem-2k2r9cp7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service61,
|
|
12
|
+
node64
|
|
13
|
+
} from "./filesystem-tgpcajrp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -24,17 +24,17 @@ __export(exports_filesystem, {
|
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event13,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
|
-
NotFoundError: () =>
|
|
34
|
-
Service: () =>
|
|
33
|
+
NotFoundError: () => NotFoundError9,
|
|
34
|
+
Service: () => Service60,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node63
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
44
44
|
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class NotFoundError9 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event13 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service60 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service60, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const search = yield*
|
|
101
|
+
const location = yield* Service79;
|
|
102
|
+
const search = yield* Service61;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
109
109
|
}));
|
|
110
110
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
111
111
|
if (input.includes("\x00"))
|
|
112
|
-
return yield* Effect.fail(new
|
|
112
|
+
return yield* Effect.fail(new NotFoundError9({ path: input }));
|
|
113
113
|
const absolute = path.resolve(location.directory, input);
|
|
114
114
|
if (!FSUtil.contains(location.directory, absolute))
|
|
115
|
-
return yield* Effect.fail(new
|
|
116
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
115
|
+
return yield* Effect.fail(new NotFoundError9({ path: input }));
|
|
116
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input })), (_, error) => Effect.die(error)));
|
|
117
117
|
if (!FSUtil.contains(root, real))
|
|
118
|
-
return yield* Effect.fail(new
|
|
118
|
+
return yield* Effect.fail(new NotFoundError9({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service60.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
125
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
125
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input.path })), (_, error) => Effect.die(error)));
|
|
126
126
|
if (info.type !== "File")
|
|
127
|
-
return yield* Effect.fail(new
|
|
127
|
+
return yield* Effect.fail(new NotFoundError9({ path: input.path }));
|
|
128
128
|
return {
|
|
129
129
|
mime: FSUtil.mimeType(target.real),
|
|
130
130
|
size: Number(info.size),
|
|
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
136
136
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
137
|
-
const missing = new
|
|
137
|
+
const missing = new NotFoundError9({ path: RelativePath2.make(input.path ?? ".") });
|
|
138
138
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "Directory")
|
|
140
140
|
return yield* missing;
|
|
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
158
158
|
})
|
|
159
159
|
});
|
|
160
160
|
}));
|
|
161
|
-
var
|
|
162
|
-
service:
|
|
161
|
+
var node63 = makeLocationNode({
|
|
162
|
+
service: Service60,
|
|
163
163
|
layer: baseLayer,
|
|
164
|
-
deps: [FSUtil.node,
|
|
164
|
+
deps: [FSUtil.node, node83, node64]
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
export { FindInput2, Write2,
|
|
167
|
+
export { FindInput2, Write2, NotFoundError9, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event13, Service60, node63, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info21,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote3
|
|
@@ -70,6 +70,6 @@ var Remote3 = Schema.Struct({
|
|
|
70
70
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
71
71
|
})
|
|
72
72
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
73
|
-
var
|
|
73
|
+
var Info21 = Schema.Union([Local2, Remote3]).annotate({ discriminator: "type" });
|
|
74
74
|
|
|
75
|
-
export { Local2, OAuth2, Remote3,
|
|
75
|
+
export { Local2, OAuth2, Remote3, Info21, exports_mcp5 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID14
|
|
3
|
+
} from "./filesystem-5k0ygmt7.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-m8pt14ww.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialSettings2,
|
|
9
9
|
metadataSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-53f1f277.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
13
13
|
import { Effect } from "effect";
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Form } from "@opencode/schema/form";
|
|
16
|
-
var providerID =
|
|
16
|
+
var providerID = ID14.make("cloudflare-workers-ai");
|
|
17
17
|
var CloudflareWorkersAIPlugin2 = define({
|
|
18
18
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
19
19
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-8jztxfpf.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86,
|
|
6
6
|
node90
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-5f4zfvgc.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service81,
|
|
15
|
-
node85
|
|
16
|
-
} from "./repository-vfvg8wtj.js";
|
|
9
|
+
Event19,
|
|
10
|
+
Service83,
|
|
11
|
+
node87
|
|
12
|
+
} from "./filesystem-t5ntgcha.js";
|
|
17
13
|
import {
|
|
18
14
|
Service79,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
15
|
+
node83
|
|
16
|
+
} from "./filesystem-2k2r9cp7.js";
|
|
17
|
+
import {
|
|
18
|
+
Service75,
|
|
19
|
+
node78
|
|
20
|
+
} from "./filesystem-r66kyd6j.js";
|
|
21
21
|
import {
|
|
22
22
|
ID19,
|
|
23
23
|
Service84,
|
|
24
24
|
node88
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-xfqm8zp4.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./filesystem-204s3925.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID17,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service82,
|
|
34
|
+
node86
|
|
35
|
+
} from "./filesystem-mkryjhx5.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./filesystem-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: () => NotFoundError3,
|
|
45
|
+
Options: () => Options3,
|
|
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: () => Service26,
|
|
53
53
|
Status: () => Status3,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
|
+
layer: () => layer13,
|
|
57
|
+
node: () => node30
|
|
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 NotFoundError3 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 Service26 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
|
-
var
|
|
109
|
+
var Options3 = 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
|
|
116
|
-
const location = yield*
|
|
117
|
-
const environment = yield*
|
|
115
|
+
var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service79;
|
|
117
|
+
const environment = yield* Service75;
|
|
118
118
|
const bus = yield* Service86;
|
|
119
119
|
const forms = yield* Service84;
|
|
120
|
-
const integration = yield*
|
|
121
|
-
const credentials = yield*
|
|
120
|
+
const integration = yield* Service82;
|
|
121
|
+
const credentials = yield* Service83;
|
|
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 layer14 = (options) => Layer.effect(Service30, 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 = ID17.make(suffix);
|
|
137
137
|
entry.integrationID = integrationID;
|
|
138
138
|
owned.add(integrationID);
|
|
139
139
|
const methodID = MethodID2.make(suffix);
|
|
@@ -149,7 +149,7 @@ var layer14 = (options) => Layer.effect(Service30, 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(Service83, credentials));
|
|
153
153
|
})
|
|
154
154
|
});
|
|
155
155
|
}).pipe(Scope.provide(scope));
|
|
@@ -157,14 +157,14 @@ var layer14 = (options) => Layer.effect(Service30, 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 NotFoundError3({ 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(Service83, credentials));
|
|
168
168
|
});
|
|
169
169
|
const elicitation = {
|
|
170
170
|
create: (input) => Effect.gen(function* () {
|
|
@@ -272,7 +272,7 @@ var layer14 = (options) => Layer.effect(Service30, 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(Service75, 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 layer14 = (options) => Layer.effect(Service30, 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(Service75, 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 layer14 = (options) => Layer.effect(Service30, 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(Event19.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 layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
478
478
|
}),
|
|
479
479
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
480
480
|
});
|
|
481
|
-
return
|
|
481
|
+
return Service26.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 configured3(options) {
|
|
615
615
|
return makeLocationNode({
|
|
616
|
-
service:
|
|
617
|
-
layer:
|
|
618
|
-
deps: [
|
|
616
|
+
service: Service26,
|
|
617
|
+
layer: layer13(options),
|
|
618
|
+
deps: [node83, node78, node90, node88, node86, node87]
|
|
619
619
|
});
|
|
620
620
|
}
|
|
621
|
-
var
|
|
621
|
+
var node30 = configured3();
|
|
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, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
672
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service26, Options3, layer13, configured3, node30, exports_mcp4 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
policy3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-wnhgecwx.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-ec1grn59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make10,
|
|
17
17
|
policy: () => policy2
|
|
18
18
|
});
|
|
19
19
|
import { isRetryable as isRetryable2 } from "@opencode/ai/effect";
|
|
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
39
39
|
return { retry: true, attempt: next.attempt, delay: normalized };
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
|
-
var
|
|
42
|
+
var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
43
43
|
const decide = yield* policy2(sessionID);
|
|
44
44
|
const wait = (input) => Effect.gen(function* () {
|
|
45
45
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -56,4 +56,4 @@ var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
56
56
|
return { decide, wait };
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export { isRetryable2, policy2,
|
|
59
|
+
export { isRetryable2, policy2, make10, exports_retry };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-aj7mw0zk.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|