@opencode/core 0.0.0-dev-750 → 0.0.0-dev-784
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +238 -238
- package/dist/bus.js +84 -84
- package/dist/chunks/{schema-034tev2y.js → shared-cache-034tev2y.js} +2 -2
- package/dist/chunks/{schema-x8qfd2m0.js → shared-cache-04yrrmn2.js} +22 -22
- package/dist/chunks/{schema-rnb8t1x2.js → shared-cache-0anbyew7.js} +6 -6
- package/dist/chunks/{schema-5d0we2jy.js → shared-cache-0bjwfa5h.js} +16 -16
- package/dist/chunks/{schema-k11hvjep.js → shared-cache-0g1raxgb.js} +7 -7
- package/dist/chunks/{schema-qdj7g5hd.js → shared-cache-0kzpd8w9.js} +18 -18
- package/dist/chunks/{schema-0ma9gw4f.js → shared-cache-0ma9gw4f.js} +2 -2
- package/dist/chunks/{schema-j96dfwvd.js → shared-cache-0n72pxsj.js} +9 -9
- package/dist/chunks/{schema-yq7353nq.js → shared-cache-0rqk4qpw.js} +40 -40
- package/dist/chunks/{schema-yg5pgxpr.js → shared-cache-15acfm9t.js} +36 -36
- package/dist/chunks/{schema-18b1hh0p.js → shared-cache-18b1hh0p.js} +4 -4
- package/dist/chunks/{schema-qyay3zga.js → shared-cache-194h76m6.js} +21 -21
- package/dist/chunks/{schema-z7fymdys.js → shared-cache-1aahdxx4.js} +29 -29
- package/dist/chunks/{schema-1aqsckx4.js → shared-cache-1aqsckx4.js} +1 -1
- package/dist/chunks/{schema-xf9pqj24.js → shared-cache-1b5wzfts.js} +19 -19
- package/dist/chunks/{schema-9we48xfp.js → shared-cache-1bp2mc9a.js} +9 -9
- package/dist/chunks/{schema-1ep2p91f.js → shared-cache-1ep2p91f.js} +2 -2
- package/dist/chunks/{schema-ks3wpg02.js → shared-cache-1g14se5m.js} +35 -35
- package/dist/chunks/{schema-zc9wx7x1.js → shared-cache-1k7rwq25.js} +19 -19
- package/dist/chunks/{schema-5rvn2vyn.js → shared-cache-1knty8bj.js} +8 -8
- package/dist/chunks/{schema-fdwj1ft9.js → shared-cache-1kz8tpz9.js} +11 -11
- package/dist/chunks/{schema-gjkjqevx.js → shared-cache-1s9c3r6e.js} +12 -12
- package/dist/chunks/{schema-tpyy0yg7.js → shared-cache-1tdq4189.js} +29 -29
- package/dist/chunks/{schema-1x2knyw4.js → shared-cache-1x2knyw4.js} +1 -1
- package/dist/chunks/{schema-edme7da6.js → shared-cache-226bftaw.js} +11 -11
- package/dist/chunks/{schema-ztm727zy.js → shared-cache-24wx0nq9.js} +33 -33
- package/dist/chunks/{schema-8b3vzgkx.js → shared-cache-25h84942.js} +4 -4
- package/dist/chunks/{schema-26wfx3k0.js → shared-cache-26wfx3k0.js} +1 -1
- package/dist/chunks/{schema-dgjjqe8c.js → shared-cache-27kpv533.js} +16 -16
- package/dist/chunks/{schema-8e7xsq9p.js → shared-cache-27wtn1f8.js} +20 -20
- package/dist/chunks/{schema-px08ft37.js → shared-cache-2bsm227b.js} +9 -9
- package/dist/chunks/{schema-4awjamkd.js → shared-cache-2c6sxtb9.js} +2 -2
- package/dist/chunks/{schema-nt68kz92.js → shared-cache-2enxj0cb.js} +15 -15
- package/dist/chunks/{schema-2fc7eemy.js → shared-cache-2fc7eemy.js} +1 -1
- package/dist/chunks/{schema-c1qr15vn.js → shared-cache-2gsv526q.js} +6 -6
- package/dist/chunks/{schema-kr0x3sn9.js → shared-cache-2k5krcs7.js} +8 -8
- package/dist/chunks/{schema-szwh3a11.js → shared-cache-2knskdva.js} +2 -2
- package/dist/chunks/{schema-x20tnzc2.js → shared-cache-2y7ba1aw.js} +11 -11
- package/dist/chunks/{schema-7wmfavcc.js → shared-cache-32xqcnen.js} +13 -13
- package/dist/chunks/{schema-7axbmn4p.js → shared-cache-33508cjn.js} +13 -13
- package/dist/chunks/{schema-4tjwtw9z.js → shared-cache-34k2es7r.js} +18 -18
- package/dist/chunks/{schema-38aws4xb.js → shared-cache-38aws4xb.js} +1 -1
- package/dist/chunks/{schema-859w1rtj.js → shared-cache-3adw4bt5.js} +9 -9
- package/dist/chunks/{schema-81hxxa3v.js → shared-cache-3beq3wdw.js} +3 -3
- package/dist/chunks/{schema-sqpm49ja.js → shared-cache-3bp92sye.js} +25 -25
- package/dist/chunks/{schema-3hepkmqq.js → shared-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-8e9j02e2.js → shared-cache-3mrvt0mp.js} +14 -14
- package/dist/chunks/{schema-431s0qhm.js → shared-cache-3nem6ecq.js} +35 -35
- package/dist/chunks/{schema-3nnrz6f6.js → shared-cache-3nnrz6f6.js} +1 -1
- package/dist/chunks/{schema-fmfcqjwc.js → shared-cache-3r819yp1.js} +27 -27
- package/dist/chunks/{schema-008dd0yn.js → shared-cache-3stnm6jc.js} +19 -19
- package/dist/chunks/{schema-ntzzxe9p.js → shared-cache-3yaf1m62.js} +5 -5
- package/dist/chunks/{schema-hv7fjhww.js → shared-cache-4034feyd.js} +11 -11
- package/dist/chunks/{schema-40y6dtc2.js → shared-cache-40y6dtc2.js} +1 -1
- package/dist/chunks/{schema-5enarcya.js → shared-cache-40za9wsf.js} +6 -6
- package/dist/chunks/{schema-esj59wkj.js → shared-cache-42snwakh.js} +5 -5
- package/dist/chunks/{schema-eqnezez4.js → shared-cache-49dndk54.js} +5 -5
- package/dist/chunks/{schema-zpxvgs8p.js → shared-cache-4br494q8.js} +16 -16
- package/dist/chunks/{schema-8cg7mtm3.js → shared-cache-4d2dtj2f.js} +4 -4
- package/dist/chunks/{schema-xdmksrxe.js → shared-cache-4d83a35b.js} +6 -6
- package/dist/chunks/{schema-6ae8rkd0.js → shared-cache-4dtrd81n.js} +3 -3
- package/dist/chunks/{schema-4dx1dgte.js → shared-cache-4dx1dgte.js} +1 -1
- package/dist/chunks/{schema-rkbp7de2.js → shared-cache-4ejc1f65.js} +23 -23
- package/dist/chunks/{schema-4f25tdd0.js → shared-cache-4f25tdd0.js} +1 -1
- package/dist/chunks/{schema-gypzy8ht.js → shared-cache-4gkhbgfx.js} +11 -11
- package/dist/chunks/{schema-pvwja8ky.js → shared-cache-4h32ezym.js} +28 -28
- package/dist/chunks/{schema-v1pmdt1y.js → shared-cache-4h8czndd.js} +12 -12
- package/dist/chunks/{schema-dcae9g6z.js → shared-cache-4hysty8h.js} +12 -12
- package/dist/chunks/{schema-j7wny5kd.js → shared-cache-4pafw51t.js} +15 -15
- package/dist/chunks/{schema-4pyp9zr9.js → shared-cache-4pyp9zr9.js} +1 -1
- package/dist/chunks/{schema-jfcfnq9b.js → shared-cache-4rd053at.js} +86 -86
- package/dist/chunks/{schema-4v008n1t.js → shared-cache-4v008n1t.js} +1 -1
- package/dist/chunks/{schema-7nzedwpg.js → shared-cache-4zapkjkg.js} +37 -37
- package/dist/chunks/{schema-px779nbm.js → shared-cache-4zs5jj5x.js} +7 -7
- package/dist/chunks/{schema-38atze3s.js → shared-cache-539dw32x.js} +4 -4
- package/dist/chunks/{schema-wxfbma9z.js → shared-cache-595djwzd.js} +28 -28
- package/dist/chunks/{schema-de17nkma.js → shared-cache-5fanxswy.js} +21 -21
- package/dist/chunks/{schema-5m9w47nd.js → shared-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{schema-mv0r2s00.js → shared-cache-5srhkeme.js} +8 -8
- package/dist/chunks/{schema-67wwskyb.js → shared-cache-67wwskyb.js} +1 -1
- package/dist/chunks/{schema-sa6jwhbr.js → shared-cache-6b4t3fjr.js} +16 -16
- package/dist/chunks/{schema-zh727d03.js → shared-cache-6bjz06db.js} +11 -11
- package/dist/chunks/{schema-6cqkw5v2.js → shared-cache-6cqkw5v2.js} +3 -3
- package/dist/chunks/{schema-35exr4fm.js → shared-cache-6dtm3460.js} +8 -8
- package/dist/chunks/{schema-5et6j8ne.js → shared-cache-6dtmjp15.js} +11 -11
- package/dist/chunks/{schema-96n2qv9r.js → shared-cache-6fvz08vg.js} +4 -4
- package/dist/chunks/{schema-b1f0ayn3.js → shared-cache-6sw7w39w.js} +23 -23
- package/dist/chunks/{schema-z827wp6x.js → shared-cache-6xcg9k02.js} +7 -7
- package/dist/chunks/{schema-6bqgb8fe.js → shared-cache-6xjpaerm.js} +6 -6
- package/dist/chunks/{schema-t1evt80m.js → shared-cache-6zdx75w9.js} +15 -15
- package/dist/chunks/{schema-80mg3ag8.js → shared-cache-775hqbnd.js} +3 -3
- package/dist/chunks/{schema-kgwe3n70.js → shared-cache-77tya21q.js} +17 -17
- package/dist/chunks/{schema-yszs8jyv.js → shared-cache-79jckm12.js} +23 -23
- package/dist/chunks/{schema-7bmhse3q.js → shared-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-0rw9w12c.js → shared-cache-7kgjq9p2.js} +33 -33
- package/dist/chunks/{schema-xz07m27x.js → shared-cache-7nqkf5r1.js} +2 -2
- package/dist/chunks/{schema-tg1vr1qt.js → shared-cache-7tpyp9vw.js} +4 -4
- package/dist/chunks/{schema-7w2ypzdf.js → shared-cache-7w2ypzdf.js} +1 -1
- package/dist/chunks/{schema-7weczvnd.js → shared-cache-7weczvnd.js} +1 -1
- package/dist/chunks/{schema-8gezhxrs.js → shared-cache-7x69dvj7.js} +7 -7
- package/dist/chunks/{schema-82phgae0.js → shared-cache-82phgae0.js} +2 -2
- package/dist/chunks/{schema-q4ybmzbb.js → shared-cache-83jh6pvp.js} +16 -16
- package/dist/chunks/{schema-89287pr7.js → shared-cache-89287pr7.js} +1 -1
- package/dist/chunks/{schema-rtpvtqd3.js → shared-cache-89pame70.js} +31 -31
- package/dist/chunks/{schema-2jf1bxtx.js → shared-cache-8bs31wsw.js} +21 -21
- package/dist/chunks/{schema-4cbnss6f.js → shared-cache-8cfwwmch.js} +33 -33
- package/dist/chunks/{schema-4wevea6f.js → shared-cache-8g0dr487.js} +8 -8
- package/dist/chunks/{schema-4tp777r8.js → shared-cache-8mxkfc7q.js} +31 -31
- package/dist/chunks/{schema-w63jrhrr.js → shared-cache-8s7t2wnx.js} +17 -17
- package/dist/chunks/{schema-8sxe6kv8.js → shared-cache-8sxe6kv8.js} +2 -2
- package/dist/chunks/{schema-r17fbvme.js → shared-cache-8t99kr38.js} +4 -4
- package/dist/chunks/{schema-c0mak6b5.js → shared-cache-8v4q7953.js} +12 -12
- package/dist/chunks/{schema-8wtp7s3z.js → shared-cache-8wtp7s3z.js} +1 -1
- package/dist/chunks/{schema-8zv0xmg5.js → shared-cache-8zv0xmg5.js} +1 -1
- package/dist/chunks/{schema-qryc5ast.js → shared-cache-92a42esp.js} +37 -37
- package/dist/chunks/{schema-2taqv2df.js → shared-cache-97vbfhw2.js} +18 -18
- package/dist/chunks/{schema-3b5y8tyf.js → shared-cache-9dgkqg1r.js} +9 -9
- package/dist/chunks/{schema-w9062rb3.js → shared-cache-9epsf2h5.js} +12 -12
- package/dist/chunks/{schema-a20pjf78.js → shared-cache-9ghyjkvz.js} +25 -25
- package/dist/chunks/{schema-wwrc0pwr.js → shared-cache-9khkvzeq.js} +40 -40
- package/dist/chunks/{schema-afbkaqtp.js → shared-cache-9mv67mme.js} +13 -13
- package/dist/chunks/{schema-81a9zpe2.js → shared-cache-9t6kz4yn.js} +8 -8
- package/dist/chunks/{schema-b326610a.js → shared-cache-9x7r0cde.js} +51 -51
- package/dist/chunks/{schema-79g5hgzb.js → shared-cache-9xae94ba.js} +5 -5
- package/dist/chunks/{schema-re84n9v2.js → shared-cache-9y6vd75w.js} +3 -3
- package/dist/chunks/{schema-fjzttgzd.js → shared-cache-9yk4egw0.js} +16 -16
- package/dist/chunks/{schema-50we0xw9.js → shared-cache-9ze9m4b2.js} +46 -46
- package/dist/chunks/{schema-qjy7g1tp.js → shared-cache-a5e3brfg.js} +15 -15
- package/dist/chunks/{schema-cjmxvy5h.js → shared-cache-a5nn3n9c.js} +15 -15
- package/dist/chunks/{schema-gwyytpcj.js → shared-cache-a6s57dw6.js} +6 -6
- package/dist/chunks/{schema-besayk4r.js → shared-cache-a9k51e6w.js} +13 -13
- package/dist/chunks/{schema-gmwea9ed.js → shared-cache-ahajcv3w.js} +38 -38
- package/dist/chunks/{schema-v5hj75bn.js → shared-cache-aps9g0y1.js} +20 -20
- package/dist/chunks/{schema-nx9dkrge.js → shared-cache-asb0cc78.js} +20 -20
- package/dist/chunks/{schema-6f5vaxy9.js → shared-cache-av9f6vqw.js} +5 -5
- package/dist/chunks/{schema-ayjs7tqn.js → shared-cache-ayjs7tqn.js} +2 -2
- package/dist/chunks/{schema-33z87vrf.js → shared-cache-ayydphw0.js} +12 -12
- package/dist/chunks/{schema-jwxbvbdm.js → shared-cache-b0yffnc5.js} +7 -7
- package/dist/chunks/{schema-xh27q041.js → shared-cache-b2je6s5v.js} +36 -36
- package/dist/chunks/{schema-djtmzfdf.js → shared-cache-b30d3r48.js} +42 -42
- package/dist/chunks/{schema-bdhd9h6e.js → shared-cache-bdhd9h6e.js} +1 -1
- package/dist/chunks/{schema-n3j33rb6.js → shared-cache-bfmm6xpm.js} +6 -6
- package/dist/chunks/{schema-bstexjd6.js → shared-cache-bstexjd6.js} +1 -1
- package/dist/chunks/{schema-xr4mxgbd.js → shared-cache-bts412q5.js} +10 -10
- package/dist/chunks/{schema-zpdbqgja.js → shared-cache-by8ty0bx.js} +4 -4
- package/dist/chunks/{schema-541fszvp.js → shared-cache-c1evsqmm.js} +20 -20
- package/dist/chunks/{schema-pt1j3znw.js → shared-cache-c3s4am0x.js} +81 -81
- package/dist/chunks/{schema-wt99tj4q.js → shared-cache-c7cw818c.js} +5 -5
- package/dist/chunks/{schema-v8hsp9y2.js → shared-cache-cce3w22e.js} +6 -6
- package/dist/chunks/{schema-3ryz99p0.js → shared-cache-cpvd08na.js} +4 -4
- package/dist/chunks/{schema-5mxfhp12.js → shared-cache-cs0sw83s.js} +10 -10
- package/dist/chunks/{schema-x5a7ardn.js → shared-cache-cs2qg22c.js} +8 -8
- package/dist/chunks/{schema-cwrgdav8.js → shared-cache-cwrgdav8.js} +2 -2
- package/dist/chunks/{schema-d4v9tmah.js → shared-cache-d4v9tmah.js} +2 -2
- package/dist/chunks/{schema-nxerm415.js → shared-cache-d7mb465w.js} +19 -19
- package/dist/chunks/{schema-sna17g63.js → shared-cache-dmbvfjw2.js} +178 -178
- package/dist/chunks/{schema-jzavpt08.js → shared-cache-dr4yw3c3.js} +18 -18
- package/dist/chunks/{schema-08kasbx3.js → shared-cache-drp5p4fw.js} +12 -12
- package/dist/chunks/{schema-kf71fkgh.js → shared-cache-dspp7mej.js} +31 -31
- package/dist/chunks/{schema-dt77769w.js → shared-cache-dt77769w.js} +1 -1
- package/dist/chunks/{schema-c1sgx0x8.js → shared-cache-dye5wmr7.js} +67 -67
- package/dist/chunks/{schema-e834z07m.js → shared-cache-e834z07m.js} +1 -1
- package/dist/chunks/{schema-mtr31n2f.js → shared-cache-ec9js1rc.js} +1 -1
- package/dist/chunks/{schema-tsjbypm3.js → shared-cache-ech2384w.js} +87 -87
- package/dist/chunks/{schema-w3r1b6dm.js → shared-cache-eqvyempq.js} +9 -9
- package/dist/chunks/{schema-eqw4pqj1.js → shared-cache-eqw4pqj1.js} +2 -2
- package/dist/chunks/{schema-afew9qwf.js → shared-cache-erjhawps.js} +6 -6
- package/dist/chunks/{schema-3x3xt33b.js → shared-cache-et1r6awj.js} +25 -25
- package/dist/chunks/{schema-a3bpf18m.js → shared-cache-etrnj9s7.js} +11 -11
- package/dist/chunks/{schema-jhjcc565.js → shared-cache-etstp61t.js} +4 -4
- package/dist/chunks/{schema-q1146cj2.js → shared-cache-ewekt513.js} +11 -11
- package/dist/chunks/{schema-94e33dpz.js → shared-cache-f341sazs.js} +3 -3
- package/dist/chunks/{schema-aqczazaa.js → shared-cache-fcmxqga5.js} +4 -4
- package/dist/chunks/{schema-31j7pzdv.js → shared-cache-ffcpbswy.js} +25 -25
- package/dist/chunks/{schema-fffv3p7h.js → shared-cache-fffv3p7h.js} +1 -1
- package/dist/chunks/{schema-qt2t0sg0.js → shared-cache-fhbtwnk5.js} +30 -30
- package/dist/chunks/{schema-8g7f48c7.js → shared-cache-fsvajjj2.js} +12 -12
- package/dist/chunks/{schema-w4v3pzqq.js → shared-cache-fyzpmjej.js} +23 -23
- package/dist/chunks/{schema-r6j14q1k.js → shared-cache-fzvwgz0z.js} +15 -15
- package/dist/chunks/{schema-b26ddj6h.js → shared-cache-g4txs7zc.js} +4 -4
- package/dist/chunks/{schema-n7q5csh4.js → shared-cache-g8vezaf1.js} +4 -4
- package/dist/chunks/{schema-gbjdnr5j.js → shared-cache-gbjdnr5j.js} +2 -2
- package/dist/chunks/{schema-e2kwjra7.js → shared-cache-gcqd3vjd.js} +12 -12
- package/dist/chunks/{schema-146wewwb.js → shared-cache-gd590t0n.js} +30 -30
- package/dist/chunks/{schema-5bh4mvn3.js → shared-cache-gdz74510.js} +21 -21
- package/dist/chunks/{schema-a944tp56.js → shared-cache-gg539td5.js} +40 -40
- package/dist/chunks/{schema-ghrv1g9c.js → shared-cache-ghrv1g9c.js} +1 -1
- package/dist/chunks/{schema-exgeppkr.js → shared-cache-gtgv86b6.js} +10 -10
- package/dist/chunks/{schema-avdk0hex.js → shared-cache-gxkc2w7d.js} +3 -3
- package/dist/chunks/{schema-gxs71cxp.js → shared-cache-gxs71cxp.js} +1 -1
- package/dist/chunks/shared-cache-gxzd5962.js +26 -0
- package/dist/chunks/{schema-5qfrk584.js → shared-cache-hehz8921.js} +29 -29
- package/dist/chunks/{schema-hgzwgvze.js → shared-cache-hgzwgvze.js} +2 -2
- package/dist/chunks/{schema-s3p4s9yn.js → shared-cache-hhxr1rnh.js} +40 -40
- package/dist/chunks/{schema-rk0ykhvq.js → shared-cache-hkr7x3e6.js} +53 -53
- package/dist/chunks/{schema-rgw1x9sk.js → shared-cache-j2fr2bgb.js} +31 -31
- package/dist/chunks/{schema-tr8x705m.js → shared-cache-j376ae4e.js} +5 -5
- package/dist/chunks/{schema-whfmbjzy.js → shared-cache-j64v0wxx.js} +9 -9
- package/dist/chunks/{schema-ze75qvmd.js → shared-cache-j9nxzz3g.js} +3 -3
- package/dist/chunks/{schema-jkdcm5hg.js → shared-cache-jkdcm5hg.js} +1 -1
- package/dist/chunks/{schema-jm70asfg.js → shared-cache-jm70asfg.js} +1 -1
- package/dist/chunks/{schema-4fstmzjv.js → shared-cache-jpsqkeqj.js} +33 -33
- package/dist/chunks/{schema-44pmzq9c.js → shared-cache-jxd6f16v.js} +2 -2
- package/dist/chunks/{schema-9csw8agq.js → shared-cache-k662kb7c.js} +5 -5
- package/dist/chunks/{schema-djyr6gem.js → shared-cache-k9bj67zj.js} +3 -3
- package/dist/chunks/{schema-nh7j1sqt.js → shared-cache-kax4jj8m.js} +11 -11
- package/dist/chunks/{schema-kj9n5bvh.js → shared-cache-kj9n5bvh.js} +1 -1
- package/dist/chunks/{schema-fq0h2asb.js → shared-cache-km07zzq6.js} +12 -12
- package/dist/chunks/{schema-xbf0xc4n.js → shared-cache-kn78gmhj.js} +35 -35
- package/dist/chunks/{schema-52s56y18.js → shared-cache-kxtd31nd.js} +32 -32
- package/dist/chunks/{schema-bfjchaaf.js → shared-cache-kxz3fswd.js} +5 -5
- package/dist/chunks/{schema-9e6wq7yz.js → shared-cache-kzad11fb.js} +20 -20
- package/dist/chunks/{schema-kzczzf4v.js → shared-cache-kzczzf4v.js} +1 -1
- package/dist/chunks/{schema-kzdam8c6.js → shared-cache-kzdam8c6.js} +2 -2
- package/dist/chunks/{schema-m1714858.js → shared-cache-m1714858.js} +1 -1
- package/dist/chunks/{schema-c190svfg.js → shared-cache-m19zatpp.js} +33 -33
- package/dist/chunks/{schema-v9rv650c.js → shared-cache-m5kjjhhw.js} +4 -4
- package/dist/chunks/{schema-mj6qgcy9.js → shared-cache-m93wfvm4.js} +32 -32
- package/dist/chunks/{schema-m11dc7wk.js → shared-cache-m9jqa78q.js} +19 -19
- package/dist/chunks/{schema-m9w0rfyh.js → shared-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-mb7mbhnz.js → shared-cache-mb7mbhnz.js} +3 -3
- package/dist/chunks/shared-cache-me8awwbv.js +265 -0
- package/dist/chunks/{schema-mkqdp8ha.js → shared-cache-mkqdp8ha.js} +4 -4
- package/dist/chunks/{schema-mm06edep.js → shared-cache-mm06edep.js} +1 -1
- package/dist/chunks/{schema-22nycdrc.js → shared-cache-msmvb520.js} +50 -50
- package/dist/chunks/{schema-d6k65kk8.js → shared-cache-mym403hh.js} +1 -1
- package/dist/chunks/{schema-r3djcgkb.js → shared-cache-n3h5h7my.js} +24 -24
- package/dist/chunks/{schema-8edphf2r.js → shared-cache-n8cnnvxa.js} +4 -4
- package/dist/chunks/{schema-9jhwcvrn.js → shared-cache-n8qp4pwc.js} +5 -5
- package/dist/chunks/{schema-nsmav92t.js → shared-cache-njm26te9.js} +14 -14
- package/dist/chunks/{schema-4qcgq6fd.js → shared-cache-ntyt9a7x.js} +5 -5
- package/dist/chunks/{schema-hb51vqhx.js → shared-cache-nxj486q1.js} +29 -29
- package/dist/chunks/{schema-hp13sznw.js → shared-cache-p31k41gx.js} +22 -22
- package/dist/chunks/{schema-ndb34zat.js → shared-cache-pdga6585.js} +11 -11
- package/dist/chunks/{schema-7v1z0t0q.js → shared-cache-pdrsmsya.js} +25 -25
- package/dist/chunks/{schema-56fetpwv.js → shared-cache-pj4z1ktm.js} +8 -8
- package/dist/chunks/{schema-pknna89w.js → shared-cache-pknna89w.js} +1 -1
- package/dist/chunks/{schema-spca3cax.js → shared-cache-pmx2awgr.js} +6 -6
- package/dist/chunks/{schema-w6pvsv11.js → shared-cache-pqgdwrn0.js} +22 -22
- package/dist/chunks/{schema-v8wxce3j.js → shared-cache-pqyke20e.js} +16 -16
- package/dist/chunks/{schema-fg9p65nk.js → shared-cache-prq7xxp2.js} +6 -6
- package/dist/chunks/{schema-pzhn5xkz.js → shared-cache-pskcan91.js} +14 -14
- package/dist/chunks/{schema-xcpav3pk.js → shared-cache-pspt1df2.js} +23 -23
- package/dist/chunks/{schema-erpzze8r.js → shared-cache-pwb9n0ke.js} +11 -11
- package/dist/chunks/{schema-rj7j5fvs.js → shared-cache-px7qpgcn.js} +4 -4
- package/dist/chunks/{schema-zj1k36ka.js → shared-cache-pxzaa117.js} +4 -4
- package/dist/chunks/{schema-fp2kss3x.js → shared-cache-q85rya1m.js} +6 -6
- package/dist/chunks/{schema-70453yne.js → shared-cache-q8b8m709.js} +39 -39
- package/dist/chunks/{schema-x7de2wha.js → shared-cache-qh5g3qaw.js} +9 -9
- package/dist/chunks/{schema-m25y5sem.js → shared-cache-qmcdxm8v.js} +12 -12
- package/dist/chunks/{schema-qmh7vbk2.js → shared-cache-qmh7vbk2.js} +1 -1
- package/dist/chunks/{schema-qp7r0hxv.js → shared-cache-qp7r0hxv.js} +1 -1
- package/dist/chunks/{schema-wfdx5ztx.js → shared-cache-qsdghx1p.js} +4 -4
- package/dist/chunks/{schema-569bxj5n.js → shared-cache-qxmz40xz.js} +3 -3
- package/dist/chunks/{schema-b1yed7re.js → shared-cache-r5twhbyy.js} +12 -12
- package/dist/chunks/{schema-6ss6ngz0.js → shared-cache-r96ere88.js} +4 -4
- package/dist/chunks/{schema-6k1xqhqr.js → shared-cache-r9jywc84.js} +21 -21
- package/dist/chunks/{schema-rb9dy4dg.js → shared-cache-rb9dy4dg.js} +1 -1
- package/dist/chunks/{schema-rgc9cx3e.js → shared-cache-rgc9cx3e.js} +2 -2
- package/dist/chunks/{schema-z8stfw7a.js → shared-cache-rnq5j2vn.js} +59 -59
- package/dist/chunks/{schema-w4x5b0gh.js → shared-cache-rp9gz9an.js} +15 -15
- package/dist/chunks/{schema-kdpv7p2s.js → shared-cache-rrjbac4v.js} +11 -11
- package/dist/chunks/{schema-rt5dr6hb.js → shared-cache-rt5dr6hb.js} +1 -1
- package/dist/chunks/{schema-241bv0br.js → shared-cache-rzw0jne5.js} +18 -18
- package/dist/chunks/{schema-7tmva3ed.js → shared-cache-rzx2v6yz.js} +19 -19
- package/dist/chunks/{schema-2p60zmnr.js → shared-cache-s1ba0vj0.js} +2 -2
- package/dist/chunks/{schema-sp50eaex.js → shared-cache-s247b4df.js} +23 -23
- package/dist/chunks/{schema-sbya78hr.js → shared-cache-sbya78hr.js} +1 -1
- package/dist/chunks/{schema-9q1vg6y7.js → shared-cache-se6b7c1f.js} +48 -48
- package/dist/chunks/{schema-m4byztg2.js → shared-cache-sjcj8p3e.js} +20 -20
- package/dist/chunks/{schema-75r08vdf.js → shared-cache-sppt6k8y.js} +12 -12
- package/dist/chunks/{schema-0j7gp832.js → shared-cache-sqjzf8x2.js} +4 -4
- package/dist/chunks/{schema-svcy3p9a.js → shared-cache-svcy3p9a.js} +1 -1
- package/dist/chunks/{schema-9741523d.js → shared-cache-t0cnmh76.js} +12 -12
- package/dist/chunks/{schema-qrmsfwxw.js → shared-cache-t381e9re.js} +22 -22
- package/dist/chunks/{schema-y1n277rb.js → shared-cache-t48jrnqq.js} +3 -3
- package/dist/chunks/{schema-t8erkws8.js → shared-cache-t8erkws8.js} +2 -2
- package/dist/chunks/{schema-tbpn7jtk.js → shared-cache-tbpn7jtk.js} +1 -1
- package/dist/chunks/{schema-tczq8hjw.js → shared-cache-tczq8hjw.js} +1 -1
- package/dist/chunks/{schema-tkj7f7y1.js → shared-cache-te5k93n1.js} +4 -4
- package/dist/chunks/{schema-51pg0qrg.js → shared-cache-tgxwxg3z.js} +2 -2
- package/dist/chunks/{schema-43xxzps8.js → shared-cache-tn7d9rmf.js} +45 -45
- package/dist/chunks/{schema-nn50aq62.js → shared-cache-trmp3bn7.js} +30 -30
- package/dist/chunks/{schema-twssxy5n.js → shared-cache-twssxy5n.js} +2 -2
- package/dist/chunks/{schema-9vrb4xt1.js → shared-cache-v1fdnzwc.js} +9 -9
- package/dist/chunks/{schema-9ncngkwd.js → shared-cache-v2n1f50q.js} +11 -11
- package/dist/chunks/{schema-v2r1d0zg.js → shared-cache-v2r1d0zg.js} +1 -1
- package/dist/chunks/{schema-p9x26950.js → shared-cache-vb6mr57d.js} +8 -8
- package/dist/chunks/{schema-vg70k9hm.js → shared-cache-vcrndpkg.js} +5 -5
- package/dist/chunks/{schema-r8n3dzt2.js → shared-cache-vgn6z14m.js} +39 -39
- package/dist/chunks/{schema-vjf35v1f.js → shared-cache-vjf35v1f.js} +1 -1
- package/dist/chunks/{schema-229zf5yd.js → shared-cache-vkds7dqv.js} +11 -11
- package/dist/chunks/{schema-v6kk2k34.js → shared-cache-vs1q8krt.js} +38 -38
- package/dist/chunks/{schema-ky596kc3.js → shared-cache-vsnnaxjq.js} +4 -4
- package/dist/chunks/{schema-ypqw1r8m.js → shared-cache-vvy5m74d.js} +12 -12
- package/dist/chunks/{schema-zx5t9xwg.js → shared-cache-vwc7kwch.js} +20 -20
- package/dist/chunks/{schema-w3wsvvr9.js → shared-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-hhw8xtvy.js → shared-cache-w5j9ypn6.js} +9 -9
- package/dist/chunks/{schema-2kg89srt.js → shared-cache-w79nt68w.js} +4 -4
- package/dist/chunks/{schema-wakvkjy4.js → shared-cache-wakvkjy4.js} +1 -1
- package/dist/chunks/{schema-tz9a6xhb.js → shared-cache-wcag4vwh.js} +5 -5
- package/dist/chunks/{schema-ksynch82.js → shared-cache-wcb0seqb.js} +5 -5
- package/dist/chunks/{schema-wd87259q.js → shared-cache-wd87259q.js} +1 -1
- package/dist/chunks/{schema-wegkxhrn.js → shared-cache-wegkxhrn.js} +2 -2
- package/dist/chunks/shared-cache-wek1pbkg.js +577 -0
- package/dist/chunks/{schema-343a2hs0.js → shared-cache-wnky02fj.js} +22 -22
- package/dist/chunks/{schema-w687dnns.js → shared-cache-wr3re1en.js} +4 -4
- package/dist/chunks/{schema-5svdkr8g.js → shared-cache-wr7fnyj9.js} +41 -41
- package/dist/chunks/{schema-s7cp4rre.js → shared-cache-wtbqwpvt.js} +7 -7
- package/dist/chunks/{schema-402qqjzj.js → shared-cache-wtvh2wj8.js} +4 -4
- package/dist/chunks/{schema-6y2b864j.js → shared-cache-wvr8xscb.js} +4 -4
- package/dist/chunks/{schema-npph2sd6.js → shared-cache-wwydwbka.js} +3 -3
- package/dist/chunks/{schema-shxesnve.js → shared-cache-wyrxm320.js} +15 -15
- package/dist/chunks/{schema-vpw2awk3.js → shared-cache-wzrm8wac.js} +21 -21
- package/dist/chunks/{schema-x0t688cp.js → shared-cache-x46ggtbs.js} +24 -24
- package/dist/chunks/{schema-w2v55yvw.js → shared-cache-x7g18r6n.js} +12 -12
- package/dist/chunks/{schema-sd9rgq0k.js → shared-cache-x7x6a94v.js} +32 -32
- package/dist/chunks/{schema-1v2g13eq.js → shared-cache-x8vg82e7.js} +4 -4
- package/dist/chunks/{schema-a8jj1346.js → shared-cache-xd5d1edb.js} +23 -23
- package/dist/chunks/{schema-963hk181.js → shared-cache-xe6pezxp.js} +7 -7
- package/dist/chunks/{schema-n5a26p1g.js → shared-cache-xfb8s8r9.js} +8 -8
- package/dist/chunks/{schema-7mf65fwb.js → shared-cache-xh3zvdw2.js} +4 -4
- package/dist/chunks/{schema-xxschbft.js → shared-cache-xjr6c8m4.js} +4 -4
- package/dist/chunks/{schema-7ng66n2b.js → shared-cache-xm0d14bs.js} +6 -6
- package/dist/chunks/{schema-zx2qk20v.js → shared-cache-xmzc5phe.js} +5 -5
- package/dist/chunks/{schema-d7zhsqem.js → shared-cache-xqwwy3a8.js} +5 -5
- package/dist/chunks/{schema-fcrd7kek.js → shared-cache-xvn8mnch.js} +4 -4
- package/dist/chunks/{schema-vgjzytm0.js → shared-cache-y3nz9g9k.js} +28 -28
- package/dist/chunks/{schema-g70vq0wg.js → shared-cache-yangap8x.js} +8 -8
- package/dist/chunks/{schema-yb20nhc3.js → shared-cache-yb20nhc3.js} +1 -1
- package/dist/chunks/{schema-n513d2gm.js → shared-cache-ybr44rvn.js} +14 -14
- package/dist/chunks/{schema-0php2d2a.js → shared-cache-yfmbdz01.js} +6 -6
- package/dist/chunks/{schema-yr705xyq.js → shared-cache-yr705xyq.js} +1 -1
- package/dist/chunks/{schema-yvtc2x31.js → shared-cache-yvtc2x31.js} +1 -1
- package/dist/chunks/{schema-3jez8t5h.js → shared-cache-yxhgvzzs.js} +26 -26
- package/dist/chunks/{schema-9pns1jhd.js → shared-cache-z62x464m.js} +23 -23
- package/dist/chunks/{schema-dpwdt4ct.js → shared-cache-zdvgrne8.js} +18 -18
- package/dist/chunks/{schema-ztmqpbva.js → shared-cache-zej528ss.js} +10 -10
- package/dist/chunks/{schema-4xcsbp6b.js → shared-cache-zqjd7nbm.js} +3 -3
- package/dist/chunks/{schema-xfxn8pym.js → shared-cache-zsr0j9xc.js} +6 -6
- package/dist/chunks/{schema-7yrmvzb4.js → shared-cache-zsr66ymz.js} +18 -18
- package/dist/chunks/{schema-c7wtkndz.js → shared-cache-zx56srdn.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +240 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +145 -145
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +131 -131
- package/dist/console-access.js +3 -3
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- 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/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +438 -438
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- 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 +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +106 -106
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +251 -251
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +127 -127
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- 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 +112 -112
- 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 +3 -3
- 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 +431 -431
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +183 -183
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +97 -97
- package/dist/location-services.js +428 -428
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +126 -126
- package/dist/mcp/instructions.js +187 -187
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +409 -409
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +127 -127
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +131 -131
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +146 -146
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +159 -159
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +419 -419
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +245 -245
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +134 -134
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +253 -253
- package/dist/session/execution.js +169 -169
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +248 -248
- package/dist/session/usage.js +1 -1
- package/dist/session.js +239 -239
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +155 -155
- package/dist/snapshot.js +106 -106
- 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 +188 -188
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +171 -171
- package/dist/tool/plugin/image-generate.js +245 -245
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +241 -241
- package/dist/tool/plugin/skill.js +156 -156
- package/dist/tool/plugin/subagent.js +242 -242
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +163 -163
- package/dist/usage-limits.js +98 -98
- 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 +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +105 -105
- 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 +2 -2
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +99 -99
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +107 -107
- package/package.json +8 -8
- package/dist/chunks/schema-3g6yk762.js +0 -577
- package/dist/chunks/schema-jb7b068s.js +0 -26
- package/dist/chunks/schema-t28bgx4b.js +0 -265
- /package/dist/chunks/{schema-0qkdqm5v.js → shared-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → shared-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-108x4f4w.js → shared-cache-108x4f4w.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → shared-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → shared-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kah00gy.js → shared-cache-1kah00gy.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → shared-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → shared-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2bv980vf.js → shared-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → shared-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → shared-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3af0jn4w.js → shared-cache-3af0jn4w.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → shared-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → shared-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → shared-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → shared-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → shared-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4qk9sjk2.js → shared-cache-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → shared-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → shared-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → shared-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-5w3e23ze.js → shared-cache-5w3e23ze.js} +0 -0
- /package/dist/chunks/{schema-6agm2x70.js → shared-cache-6agm2x70.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → shared-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-6q2bdcd1.js → shared-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → shared-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → shared-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → shared-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-84wd9syh.js → shared-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → shared-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → shared-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → shared-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → shared-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → shared-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → shared-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → shared-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → shared-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → shared-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → shared-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-beh6qq61.js → shared-cache-beh6qq61.js} +0 -0
- /package/dist/chunks/{schema-bhmrqjy3.js → shared-cache-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → shared-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → shared-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → shared-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cqv5kn06.js → shared-cache-cqv5kn06.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → shared-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → shared-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → shared-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → shared-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → shared-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → shared-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → shared-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-ean2d8b5.js → shared-cache-ean2d8b5.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → shared-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → shared-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → shared-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → shared-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → shared-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → shared-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fkpq3x5p.js → shared-cache-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → shared-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → shared-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → shared-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → shared-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hcxmzztb.js → shared-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → shared-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → shared-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → shared-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → shared-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → shared-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → shared-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jwr30sdr.js → shared-cache-jwr30sdr.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → shared-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-m18g726c.js → shared-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → shared-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → shared-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → shared-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → shared-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-nh4v3znn.js → shared-cache-nh4v3znn.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → shared-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-p71gwv9c.js → shared-cache-p71gwv9c.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → shared-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → shared-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → shared-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → shared-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → shared-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → shared-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → shared-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → shared-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → shared-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-syrav9an.js → shared-cache-syrav9an.js} +0 -0
- /package/dist/chunks/{schema-t03h4f5z.js → shared-cache-t03h4f5z.js} +0 -0
- /package/dist/chunks/{schema-ty7weeps.js → shared-cache-ty7weeps.js} +0 -0
- /package/dist/chunks/{schema-ve7vex1e.js → shared-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{schema-vtarvj67.js → shared-cache-vtarvj67.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → shared-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → shared-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → shared-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → shared-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → shared-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x4th4bpe.js → shared-cache-x4th4bpe.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → shared-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → shared-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → shared-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → shared-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-z0h12gs8.js → shared-cache-z0h12gs8.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → shared-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → shared-cache-z9919s4g.js} +0 -0
- /package/dist/chunks/{schema-zxpyjp51.js → shared-cache-zxpyjp51.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shared-cache-bts412q5.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shared-cache-8mxkfc7q.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID17,
|
|
9
9
|
MethodID2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shared-cache-1aahdxx4.js";
|
|
11
11
|
import {
|
|
12
12
|
success2,
|
|
13
13
|
error2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shared-cache-yb20nhc3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID16,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shared-cache-jpsqkeqj.js";
|
|
20
20
|
import {
|
|
21
21
|
get5
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./shared-cache-3nnrz6f6.js";
|
|
23
23
|
import {
|
|
24
24
|
configuredSettings2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./shared-cache-pmx2awgr.js";
|
|
26
26
|
import {
|
|
27
27
|
onSwitch2,
|
|
28
28
|
reloadIfChanged2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./shared-cache-eqvyempq.js";
|
|
30
30
|
import {
|
|
31
31
|
activeCredential2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./shared-cache-cce3w22e.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/openai.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -53,7 +53,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
53
53
|
}));
|
|
54
54
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
55
55
|
var browser = (app) => ({
|
|
56
|
-
integrationID:
|
|
56
|
+
integrationID: ID17.make("openai"),
|
|
57
57
|
method: {
|
|
58
58
|
id: browserMethodID,
|
|
59
59
|
type: "oauth",
|
|
@@ -126,7 +126,7 @@ function addressInUse(error) {
|
|
|
126
126
|
return "code" in error && error.code === "EADDRINUSE";
|
|
127
127
|
}
|
|
128
128
|
var headless = (app) => ({
|
|
129
|
-
integrationID:
|
|
129
|
+
integrationID: ID17.make("openai"),
|
|
130
130
|
method: {
|
|
131
131
|
id: headlessMethodID,
|
|
132
132
|
type: "oauth",
|
|
@@ -184,9 +184,9 @@ var OpenAIPlugin2 = define({
|
|
|
184
184
|
editor.method.update(headless(ctx.app));
|
|
185
185
|
});
|
|
186
186
|
yield* load();
|
|
187
|
-
const configured = yield* configuredSettings2(
|
|
187
|
+
const configured = yield* configuredSettings2(ID16.openai);
|
|
188
188
|
yield* ctx.provider.transform((providers) => {
|
|
189
|
-
const item = providers.get(
|
|
189
|
+
const item = providers.get(ID16.openai);
|
|
190
190
|
if (!item)
|
|
191
191
|
return;
|
|
192
192
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -206,7 +206,7 @@ var OpenAIPlugin2 = define({
|
|
|
206
206
|
});
|
|
207
207
|
});
|
|
208
208
|
yield* ctx.model.transform((models) => {
|
|
209
|
-
for (const model of models.list(
|
|
209
|
+
for (const model of models.list(ID16.openai)) {
|
|
210
210
|
models.update(model.providerID, model.id, (draft) => {
|
|
211
211
|
if (!chatgpt)
|
|
212
212
|
return;
|
|
@@ -243,12 +243,12 @@ var OpenAIPlugin2 = define({
|
|
|
243
243
|
}));
|
|
244
244
|
evt.headers.originator = "opencode";
|
|
245
245
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID16.openai });
|
|
247
247
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
248
248
|
delete evt.options.maxTokens;
|
|
249
249
|
});
|
|
250
250
|
for (const name of ["context", "compaction"])
|
|
251
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
251
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID16.openai });
|
|
252
252
|
yield* onSwitch2("openai", loading.withPermit(reloadIfChanged2(load(), ctx.provider.reload())));
|
|
253
253
|
})
|
|
254
254
|
});
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./shared-cache-9x7r0cde.js";
|
|
4
4
|
import {
|
|
5
5
|
resolver2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shared-cache-xqwwy3a8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service9
|
|
9
|
+
} from "./shared-cache-9ze9m4b2.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shared-cache-mm06edep.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shared-cache-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/compaction.ts
|
|
18
18
|
var exports_compaction = {};
|
|
19
19
|
__export(exports_compaction, {
|
|
20
20
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin33
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin33 = define({
|
|
26
26
|
id: "opencode.config.compaction",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const compaction = yield*
|
|
28
|
+
const config = yield* Service76;
|
|
29
|
+
const compaction = yield* Service9;
|
|
30
30
|
const flags = yield* resolver2;
|
|
31
31
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
32
32
|
yield* compaction.transform((editor) => {
|
|
@@ -44,4 +44,4 @@ var Plugin7 = define({
|
|
|
44
44
|
})
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
-
export {
|
|
47
|
+
export { Plugin33, exports_compaction };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service90,
|
|
4
|
+
node94
|
|
5
|
+
} from "./shared-cache-4h8czndd.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make30,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shared-cache-bfmm6xpm.js";
|
|
13
13
|
import {
|
|
14
14
|
create4
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shared-cache-40y6dtc2.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shared-cache-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
22
22
|
__export(exports_instruction_discovery, {
|
|
23
|
-
Event: () =>
|
|
24
|
-
File: () =>
|
|
23
|
+
Event: () => Event14,
|
|
24
|
+
File: () => File3,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
|
-
Options: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
configured: () =>
|
|
29
|
-
layer: () =>
|
|
30
|
-
node: () =>
|
|
26
|
+
Options: () => Options7,
|
|
27
|
+
Service: () => Service73,
|
|
28
|
+
configured: () => configured9,
|
|
29
|
+
layer: () => layer23,
|
|
30
|
+
node: () => node76
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
34
34
|
import { createPatch } from "diff";
|
|
35
|
-
class
|
|
35
|
+
class File3 extends Schema.Class("InstructionDiscovery.File")({
|
|
36
36
|
path: Schema.String,
|
|
37
37
|
content: Schema.String
|
|
38
38
|
}) {
|
|
39
39
|
}
|
|
40
|
-
var Files = Schema.Array(
|
|
40
|
+
var Files = Schema.Array(File3);
|
|
41
41
|
var key = Key3.make("core/instructions");
|
|
42
|
-
var
|
|
42
|
+
var Event14 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
|
-
var
|
|
45
|
+
var Options7 = Schema.Struct({
|
|
46
46
|
project: Schema.optional(Schema.Boolean),
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service73 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var layer23 = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service90;
|
|
54
54
|
const state = create4({
|
|
55
55
|
name: "instruction-discovery",
|
|
56
56
|
initial: () => ({ files: new Map, available: true }),
|
|
57
57
|
editor: (editor) => ({
|
|
58
58
|
list: () => Array.from(editor.files.values()),
|
|
59
|
-
add: (file) => editor.files.set(file.path, new
|
|
59
|
+
add: (file) => editor.files.set(file.path, new File3(file)),
|
|
60
60
|
update: (path, update) => {
|
|
61
61
|
const current = editor.files.get(path);
|
|
62
62
|
if (!current)
|
|
@@ -69,9 +69,9 @@ var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
69
69
|
editor.available = false;
|
|
70
70
|
}
|
|
71
71
|
}),
|
|
72
|
-
notify: () => bus.publish(
|
|
72
|
+
notify: () => bus.publish(Event14.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make30({
|
|
75
75
|
key,
|
|
76
76
|
codec: Schema.toCodecJson(Files),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -87,7 +87,7 @@ var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service73.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -101,14 +101,14 @@ var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
function
|
|
104
|
+
function configured9(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
107
|
-
layer:
|
|
108
|
-
deps: [
|
|
106
|
+
service: Service73,
|
|
107
|
+
layer: layer23(options),
|
|
108
|
+
deps: [node94]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node76 = configured9();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -140,4 +140,4 @@ ${render([after])}`;
|
|
|
140
140
|
`);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
export {
|
|
143
|
+
export { File3, Event14, Options7, Service73, layer23, configured9, node76, exports_instruction_discovery };
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shared-cache-4d2dtj2f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service90,
|
|
6
|
+
node94
|
|
7
|
+
} from "./shared-cache-4h8czndd.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service85,
|
|
11
|
+
node89
|
|
12
|
+
} from "./shared-cache-8mxkfc7q.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service87,
|
|
15
|
+
node91
|
|
16
|
+
} from "./shared-cache-0bjwfa5h.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service60,
|
|
19
|
+
node63
|
|
20
|
+
} from "./shared-cache-sjcj8p3e.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID19,
|
|
23
|
+
Service86,
|
|
24
|
+
node90
|
|
25
|
+
} from "./shared-cache-4ejc1f65.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create4
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./shared-cache-40y6dtc2.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID17,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service84,
|
|
34
|
+
node88
|
|
35
|
+
} from "./shared-cache-1aahdxx4.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make26
|
|
38
|
+
} from "./shared-cache-6dtm3460.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
40
|
+
Service44,
|
|
41
41
|
key2,
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
node48
|
|
43
|
+
} from "./shared-cache-m9jqa78q.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./shared-cache-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/mcp/index.ts
|
|
49
49
|
var exports_mcp4 = {};
|
|
50
50
|
__export(exports_mcp4, {
|
|
51
51
|
Mcp: () => exports_mcp4,
|
|
52
|
-
NotFoundError: () =>
|
|
53
|
-
Options: () =>
|
|
52
|
+
NotFoundError: () => NotFoundError6,
|
|
53
|
+
Options: () => Options5,
|
|
54
54
|
PromptsChanged: () => PromptsChanged2,
|
|
55
55
|
Resource: () => Resource2,
|
|
56
56
|
ResourceCatalog: () => ResourceCatalog2,
|
|
57
57
|
ResourceContent: () => ResourceContent2,
|
|
58
58
|
ResourceTemplate: () => ResourceTemplate2,
|
|
59
59
|
ServerName: () => ServerName2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service43,
|
|
61
61
|
Status: () => Status3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
|
-
configured: () =>
|
|
64
|
-
layer: () =>
|
|
65
|
-
node: () =>
|
|
63
|
+
configured: () => configured5,
|
|
64
|
+
layer: () => layer18,
|
|
65
|
+
node: () => node47
|
|
66
66
|
});
|
|
67
67
|
import { Mcp } from "@opencode/schema/mcp";
|
|
68
68
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -95,7 +95,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
95
95
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
96
96
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
97
97
|
|
|
98
|
-
class
|
|
98
|
+
class NotFoundError6 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
99
99
|
server: ServerName2
|
|
100
100
|
}) {
|
|
101
101
|
get message() {
|
|
@@ -128,23 +128,23 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
128
128
|
var changes = { tools: McpEvent.ToolsChanged, resources: McpEvent.ResourcesChanged, prompts: PromptsChanged2 };
|
|
129
129
|
var cloneConfig = (config) => structuredClone(config);
|
|
130
130
|
|
|
131
|
-
class
|
|
131
|
+
class Service43 extends Context.Service()("@opencode/MCP") {
|
|
132
132
|
}
|
|
133
|
-
var
|
|
133
|
+
var Options5 = Schema.Struct({
|
|
134
134
|
clientInfo: Schema.optional(Schema.Struct({
|
|
135
135
|
name: Schema.String,
|
|
136
136
|
version: Schema.String
|
|
137
137
|
}))
|
|
138
138
|
});
|
|
139
|
-
var
|
|
140
|
-
const location = yield*
|
|
141
|
-
const environment = yield*
|
|
142
|
-
const bus = yield*
|
|
143
|
-
const forms = yield*
|
|
144
|
-
const integration = yield*
|
|
145
|
-
const credentials = yield*
|
|
139
|
+
var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
140
|
+
const location = yield* Service87;
|
|
141
|
+
const environment = yield* Service60;
|
|
142
|
+
const bus = yield* Service90;
|
|
143
|
+
const forms = yield* Service86;
|
|
144
|
+
const integration = yield* Service84;
|
|
145
|
+
const credentials = yield* Service85;
|
|
146
146
|
const fetch = yield* FetchHttpClient.Fetch;
|
|
147
|
-
const pool = yield*
|
|
147
|
+
const pool = yield* Service44;
|
|
148
148
|
const root = yield* Effect.scope;
|
|
149
149
|
const fork = yield* FiberSet.makeRuntime();
|
|
150
150
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -160,7 +160,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
160
160
|
return;
|
|
161
161
|
const remote = entry.config;
|
|
162
162
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
163
|
-
const integrationID =
|
|
163
|
+
const integrationID = ID17.make(suffix);
|
|
164
164
|
entry.integrationID = integrationID;
|
|
165
165
|
const methodID = MethodID2.make(suffix);
|
|
166
166
|
const scope = yield* Scope.fork(root);
|
|
@@ -175,7 +175,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
175
175
|
method: { id: methodID, type: "oauth", label: name },
|
|
176
176
|
authorize: () => Effect.gen(function* () {
|
|
177
177
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
178
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
178
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service85, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
}).pipe(Scope.provide(scope));
|
|
@@ -183,7 +183,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
183
183
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
184
184
|
const entry = entries.get(name);
|
|
185
185
|
if (!entry)
|
|
186
|
-
return yield* new
|
|
186
|
+
return yield* new NotFoundError6({ server: name });
|
|
187
187
|
return entry;
|
|
188
188
|
});
|
|
189
189
|
const connected = Effect.fnUntraced(function* (name) {
|
|
@@ -196,12 +196,12 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
196
196
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
197
197
|
return;
|
|
198
198
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
199
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, credential }).pipe(Effect.provideService(
|
|
199
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, credential }).pipe(Effect.provideService(Service85, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
200
200
|
});
|
|
201
201
|
const elicitation = {
|
|
202
202
|
create: (input) => Effect.gen(function* () {
|
|
203
203
|
if (input.params.mode === "url") {
|
|
204
|
-
const formID =
|
|
204
|
+
const formID = ID19.create();
|
|
205
205
|
const elicitationID = input.params.elicitationId;
|
|
206
206
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
207
207
|
if (key)
|
|
@@ -238,7 +238,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
238
238
|
content: Object.fromEntries(Object.entries(state.answer).map(([key, value]) => typeof value === "object" ? [key, Array.from(value)] : [key, value]))
|
|
239
239
|
};
|
|
240
240
|
}));
|
|
241
|
-
}).pipe(Effect.provideService(
|
|
241
|
+
}).pipe(Effect.provideService(Service87, location)),
|
|
242
242
|
complete: (input) => Effect.gen(function* () {
|
|
243
243
|
const formID = urlElicitations.get(input.server + "\x00" + input.elicitationID);
|
|
244
244
|
if (!formID)
|
|
@@ -270,7 +270,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
270
270
|
status: { status: "pending" },
|
|
271
271
|
startup: Latch.makeUnsafe(),
|
|
272
272
|
attempt: { started, settled: Latch.makeUnsafe() },
|
|
273
|
-
connection: (pooled ? share :
|
|
273
|
+
connection: (pooled ? share : make26)({
|
|
274
274
|
name,
|
|
275
275
|
config: config.pool && config.protocol === undefined ? { ...config, protocol: "auto" } : config,
|
|
276
276
|
directory: location.directory,
|
|
@@ -412,7 +412,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
412
412
|
clientInfo: options?.clientInfo
|
|
413
413
|
}).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
414
414
|
closed = true;
|
|
415
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
415
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service60, 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 })));
|
|
416
416
|
const register = Effect.gen(function* () {
|
|
417
417
|
if (closed) {
|
|
418
418
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -485,7 +485,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
485
485
|
yield* entry.connection.start;
|
|
486
486
|
}).pipe(locks.withLock(name));
|
|
487
487
|
});
|
|
488
|
-
fork(bus.subscribe(
|
|
488
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
489
489
|
const state = create4({
|
|
490
490
|
name: "mcp",
|
|
491
491
|
initial: () => ({
|
|
@@ -511,7 +511,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
511
511
|
}),
|
|
512
512
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
513
513
|
});
|
|
514
|
-
return
|
|
514
|
+
return Service43.of({
|
|
515
515
|
transform: state.transform,
|
|
516
516
|
reload: state.reload,
|
|
517
517
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -643,23 +643,23 @@ function mergeCatalogs(catalogs) {
|
|
|
643
643
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
644
644
|
});
|
|
645
645
|
}
|
|
646
|
-
function
|
|
646
|
+
function configured5(options) {
|
|
647
647
|
return makeLocationNode({
|
|
648
|
-
service:
|
|
649
|
-
layer:
|
|
648
|
+
service: Service43,
|
|
649
|
+
layer: layer18(options),
|
|
650
650
|
deps: [
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
node87,
|
|
651
|
+
node91,
|
|
652
|
+
node63,
|
|
653
|
+
node94,
|
|
654
|
+
node90,
|
|
656
655
|
node88,
|
|
656
|
+
node89,
|
|
657
657
|
httpFetch,
|
|
658
|
-
|
|
658
|
+
node48
|
|
659
659
|
]
|
|
660
660
|
});
|
|
661
661
|
}
|
|
662
|
-
var
|
|
662
|
+
var node47 = configured5();
|
|
663
663
|
function toElicitationField(key, property, required) {
|
|
664
664
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
665
665
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -710,4 +710,4 @@ function toElicitationField(key, property, required) {
|
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
712
|
|
|
713
|
-
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
713
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2, Service43, Options5, layer18, configured5, node47, exports_mcp4 };
|