@opencode-ai/core 0.0.0-beta-18050 → 0.0.0-beta-18138
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 +2 -2
- package/dist/agent.js +74 -74
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +72 -72
- package/dist/catalog.js +82 -82
- package/dist/chunks/{repository-02dbfq60.js → file-02dbfq60.js} +1 -1
- package/dist/chunks/{repository-19nk26qg.js → file-02s4hv33.js} +6 -6
- package/dist/chunks/{repository-11xbb36n.js → file-0730y5g4.js} +8 -8
- package/dist/chunks/{repository-0b17sr9d.js → file-0b17sr9d.js} +2 -2
- package/dist/chunks/{repository-0kvmztkf.js → file-0kvmztkf.js} +1 -1
- package/dist/chunks/{repository-d11spqme.js → file-0nwp4p60.js} +3 -3
- package/dist/chunks/{repository-y42a42h0.js → file-0qjze07f.js} +8 -8
- package/dist/chunks/{repository-0vgt3zn6.js → file-0vgt3zn6.js} +2 -2
- package/dist/chunks/{repository-m06817f1.js → file-0x72qwf2.js} +13 -13
- package/dist/chunks/{repository-smnxe6n4.js → file-0z1fqjbe.js} +5 -5
- package/dist/chunks/{repository-wqyc30nm.js → file-13eba9z3.js} +7 -7
- package/dist/chunks/{repository-p5dvx6y6.js → file-15fbqbqp.js} +16 -16
- package/dist/chunks/{repository-18pv8fg3.js → file-18pv8fg3.js} +2 -2
- package/dist/chunks/{repository-1a3a2s70.js → file-1a3a2s70.js} +2 -2
- package/dist/chunks/{repository-swj2q685.js → file-1b390eyt.js} +31 -31
- package/dist/chunks/{repository-mrqw8haq.js → file-1etxj66h.js} +27 -27
- package/dist/chunks/{repository-kcsrasp9.js → file-1qe3kv1r.js} +5 -5
- package/dist/chunks/{repository-hdzee9tm.js → file-1z2x4t8z.js} +6 -6
- package/dist/chunks/{repository-ystg2gyf.js → file-24za91nq.js} +4 -4
- package/dist/chunks/{repository-s4hn1693.js → file-2dargkq0.js} +2 -2
- package/dist/chunks/{repository-d86mjvzn.js → file-2dwzgw1w.js} +6 -6
- package/dist/chunks/{repository-tzx1ffr9.js → file-2m5exym4.js} +2 -2
- package/dist/chunks/{repository-2nmyybe0.js → file-2nmyybe0.js} +1 -1
- package/dist/chunks/{repository-2ya5073c.js → file-2ya5073c.js} +1 -1
- package/dist/chunks/{repository-2zf7hxjt.js → file-2zf7hxjt.js} +2 -2
- package/dist/chunks/{repository-37e9hbzs.js → file-37e9hbzs.js} +2 -2
- package/dist/chunks/{repository-858t3z28.js → file-38t3taeq.js} +14 -14
- package/dist/chunks/{repository-3d1t6jqf.js → file-3d1t6jqf.js} +3 -3
- package/dist/chunks/{repository-3g8vftxb.js → file-3g8vftxb.js} +2 -2
- package/dist/chunks/{repository-3gsv1x0v.js → file-3gsv1x0v.js} +2 -2
- package/dist/chunks/file-3mdsecvn.js +88 -0
- package/dist/chunks/{repository-3thh6229.js → file-3thh6229.js} +2 -2
- package/dist/chunks/{repository-h12xmwx7.js → file-44smmzfj.js} +4 -4
- package/dist/chunks/{repository-mb58nrky.js → file-46a8q1c3.js} +5 -5
- package/dist/chunks/{repository-4j7te1s0.js → file-4j7te1s0.js} +2 -2
- package/dist/chunks/{repository-4s2xwh5d.js → file-4s2xwh5d.js} +3 -3
- package/dist/chunks/{repository-8j59qhj0.js → file-4twc66gs.js} +4 -4
- package/dist/chunks/{repository-4zzdwbaz.js → file-4zzdwbaz.js} +2 -2
- package/dist/chunks/{repository-50jxp3hw.js → file-50jxp3hw.js} +1 -1
- package/dist/chunks/{repository-50qcmj3d.js → file-50qcmj3d.js} +2 -2
- package/dist/chunks/{repository-947javjk.js → file-50rqman0.js} +5 -5
- package/dist/chunks/{repository-57tzwnz4.js → file-57tzwnz4.js} +1 -1
- package/dist/chunks/{repository-58xdvehb.js → file-58xdvehb.js} +1 -1
- package/dist/chunks/{repository-5fe026tx.js → file-5fe026tx.js} +3 -3
- package/dist/chunks/{repository-6yx85d7j.js → file-5h5k77cm.js} +4 -4
- package/dist/chunks/{repository-017q37t7.js → file-5qa0fscy.js} +9 -9
- package/dist/chunks/{repository-5rs65q6p.js → file-5rs65q6p.js} +1 -1
- package/dist/chunks/{repository-5vcssjzn.js → file-5vcssjzn.js} +1 -1
- package/dist/chunks/{repository-5xrsrne4.js → file-5xrsrne4.js} +3 -3
- package/dist/chunks/{repository-65re92qg.js → file-65re92qg.js} +2 -2
- package/dist/chunks/{repository-j5hrhx3x.js → file-689gj8vg.js} +5 -5
- package/dist/chunks/{repository-hyaje1vk.js → file-68x9ed4b.js} +15 -15
- package/dist/chunks/{repository-gzbvfwf2.js → file-6embh6xw.js} +13 -13
- package/dist/chunks/{repository-6ky7rqk7.js → file-6ky7rqk7.js} +1 -1
- package/dist/chunks/{repository-6q0m15b3.js → file-6q0m15b3.js} +1 -1
- package/dist/chunks/{repository-gnbga0wc.js → file-6rhax1m5.js} +17 -17
- package/dist/chunks/{repository-e1jzrz0h.js → file-6tyekgkq.js} +8 -8
- package/dist/chunks/{repository-6x98y149.js → file-6x98y149.js} +2 -2
- package/dist/chunks/{repository-epzx4wh3.js → file-7f8kqfqc.js} +84 -9
- package/dist/chunks/{repository-7gqqz1s8.js → file-7gqqz1s8.js} +1 -1
- package/dist/chunks/{repository-81gd7d42.js → file-7khw64yh.js} +5 -5
- package/dist/chunks/{repository-7mrpdsq5.js → file-7mrpdsq5.js} +1 -1
- package/dist/chunks/{repository-7wcmqxrc.js → file-7wcmqxrc.js} +1 -1
- package/dist/chunks/{repository-mg0wjpxp.js → file-80vfrdzz.js} +17 -17
- package/dist/chunks/{repository-1x9t7cer.js → file-818cdpwq.js} +40 -40
- package/dist/chunks/{repository-88jbfw8z.js → file-88jbfw8z.js} +2 -2
- package/dist/chunks/{repository-hsyk7kfz.js → file-8bkmtpp6.js} +5 -5
- package/dist/chunks/{repository-8bqpm1yy.js → file-8bqpm1yy.js} +2 -2
- package/dist/chunks/{repository-fqkd4f6m.js → file-8etkm1gw.js} +12 -12
- package/dist/chunks/{repository-8gp1tmat.js → file-8gp1tmat.js} +3 -3
- package/dist/chunks/file-8rpfd2h6.js +6 -0
- package/dist/chunks/{repository-fvqaa73j.js → file-8sjpk5tw.js} +4 -4
- package/dist/chunks/{repository-8v47shgf.js → file-8v47shgf.js} +2 -2
- package/dist/chunks/{repository-qndqqkjp.js → file-90v3h0sr.js} +3 -3
- package/dist/chunks/{repository-999qd968.js → file-999qd968.js} +1 -1
- package/dist/chunks/{repository-7fr2g77j.js → file-9b76fep3.js} +6 -6
- package/dist/chunks/{repository-6pggz8rq.js → file-9ee5n1v5.js} +3 -3
- package/dist/chunks/{repository-9f0rnpkn.js → file-9f0rnpkn.js} +1 -1
- package/dist/chunks/{repository-kt73e9zh.js → file-9m4hsa37.js} +3 -3
- package/dist/chunks/{repository-y0vpjt24.js → file-9ns1xgcj.js} +3 -3
- package/dist/chunks/{repository-9p8mhgdp.js → file-9p8mhgdp.js} +1 -1
- package/dist/chunks/{repository-dpsnt732.js → file-9s93m60e.js} +48 -17
- package/dist/chunks/{repository-3a4x8zhx.js → file-9x3tbq7j.js} +19 -17
- package/dist/chunks/{repository-rn8rvmdr.js → file-9y1a5a00.js} +3 -3
- package/dist/chunks/{repository-g5f6jqvg.js → file-a230eh9a.js} +7 -7
- package/dist/chunks/{repository-bh2zsv8s.js → file-agc8qws7.js} +3 -3
- package/dist/chunks/{repository-yznwxyzd.js → file-an4m9hpw.js} +12 -12
- package/dist/chunks/{repository-ayfwnm78.js → file-ayfwnm78.js} +2 -2
- package/dist/chunks/{repository-b7hsw5bk.js → file-b7hsw5bk.js} +3 -3
- package/dist/chunks/{repository-34cvvbhq.js → file-b8519c25.js} +90 -90
- package/dist/chunks/{repository-b9cs3r7z.js → file-be8mxdgp.js} +6 -6
- package/dist/chunks/{repository-bh1wr8rq.js → file-bh1wr8rq.js} +2 -2
- package/dist/chunks/{repository-wtgj0n4x.js → file-bh4g4m9b.js} +11 -11
- package/dist/chunks/file-bjwj8hwv.js +7 -0
- package/dist/chunks/{repository-nzmxk4x3.js → file-bspa06mt.js} +5 -5
- package/dist/chunks/{repository-0a22mhbv.js → file-bss53per.js} +10 -10
- package/dist/chunks/{repository-byab506k.js → file-byab506k.js} +1 -1
- package/dist/chunks/{repository-c4wcb9vc.js → file-c4wcb9vc.js} +2 -2
- package/dist/chunks/{repository-jvjpc9xb.js → file-c6vmycfq.js} +31 -31
- package/dist/chunks/{repository-c9tk9ghs.js → file-c9tk9ghs.js} +2 -2
- package/dist/chunks/{repository-dsv9hv0k.js → file-chjbvzpp.js} +2 -2
- package/dist/chunks/{repository-cke3skfe.js → file-cke3skfe.js} +3 -3
- package/dist/chunks/{repository-cve546b2.js → file-cve546b2.js} +2 -2
- package/dist/chunks/{repository-cz3dkvcz.js → file-cz3dkvcz.js} +1 -1
- package/dist/chunks/{repository-d2gk9vpf.js → file-d2gk9vpf.js} +2 -2
- package/dist/chunks/{repository-943c5s14.js → file-d68fvrxq.js} +3 -3
- package/dist/chunks/{repository-7r0jfg0p.js → file-ddh4578g.js} +10 -10
- package/dist/chunks/{repository-x8gepb8z.js → file-dga9pvfg.js} +10 -10
- package/dist/chunks/{repository-dhphtf1x.js → file-dhphtf1x.js} +1 -1
- package/dist/chunks/{repository-ksyd53em.js → file-dj7k5g3p.js} +4 -4
- package/dist/chunks/{repository-djkt4gex.js → file-djkt4gex.js} +1 -1
- package/dist/chunks/{repository-dyrphakh.js → file-dyrphakh.js} +2 -2
- package/dist/chunks/{repository-xk7fbn0s.js → file-dzhyjawd.js} +2 -2
- package/dist/chunks/{repository-e1z9a0ts.js → file-e1z9a0ts.js} +2 -2
- package/dist/chunks/{repository-xa15jg7e.js → file-e49vbhvs.js} +6 -6
- package/dist/chunks/{repository-ec8vrfw5.js → file-ec8vrfw5.js} +1 -1
- package/dist/chunks/{repository-hyjdhe1s.js → file-eczrazwx.js} +4 -4
- package/dist/chunks/{repository-dbj39srv.js → file-eekh0m04.js} +42 -15
- package/dist/chunks/{repository-fhgzb35b.js → file-ek082he4.js} +3 -3
- package/dist/chunks/{repository-7dx1jgde.js → file-ekbp86xr.js} +2 -2
- package/dist/chunks/{repository-epzxjdf4.js → file-epzxjdf4.js} +4 -4
- package/dist/chunks/{repository-0rz83w8e.js → file-f0jkyhbh.js} +3 -3
- package/dist/chunks/{repository-ztjk4rav.js → file-f11jbhcb.js} +6 -6
- package/dist/chunks/{repository-24ferkdr.js → file-f1yj8g4w.js} +5 -5
- package/dist/chunks/{repository-tj4mvbx6.js → file-f20jmm2a.js} +2 -2
- package/dist/chunks/{repository-f9wt0tjw.js → file-f9wt0tjw.js} +2 -2
- package/dist/chunks/{repository-p27xxkqg.js → file-fb7nfzf2.js} +10 -10
- package/dist/chunks/{repository-dq1vq3k8.js → file-fba53602.js} +3 -3
- package/dist/chunks/{repository-arstc7zy.js → file-fdbvb5rr.js} +3 -3
- package/dist/chunks/{repository-chgqh167.js → file-fsq7r0g2.js} +8 -8
- package/dist/chunks/{repository-8zc0dyns.js → file-fxf1jxfh.js} +4 -4
- package/dist/chunks/{repository-60srq7mz.js → file-g3j9vny8.js} +150 -150
- package/dist/chunks/{repository-g7t6p8r2.js → file-g7t6p8r2.js} +1 -1
- package/dist/chunks/{repository-gcay93cp.js → file-gcay93cp.js} +1 -1
- package/dist/chunks/{repository-gd2xppx8.js → file-gd2xppx8.js} +1 -1
- package/dist/chunks/{repository-2tkyg9cf.js → file-gdza155x.js} +9 -9
- package/dist/chunks/{repository-gg8gy1ab.js → file-gg8gy1ab.js} +2 -2
- package/dist/chunks/{repository-1w9ckf05.js → file-gnc2830c.js} +13 -13
- package/dist/chunks/{repository-sd2erey0.js → file-grn88jbf.js} +4 -4
- package/dist/chunks/{repository-h75w0mx4.js → file-gzqp63az.js} +4 -4
- package/dist/chunks/{repository-hhxt27np.js → file-hhxt27np.js} +2 -2
- package/dist/chunks/{repository-bpdapyyw.js → file-hkmb5v6c.js} +8 -6
- package/dist/chunks/{repository-hp6rpdnc.js → file-hp6rpdnc.js} +1 -1
- package/dist/chunks/file-hv9r99ch.js +165 -0
- package/dist/chunks/{repository-44ct9h70.js → file-hwcs0txm.js} +10 -10
- package/dist/chunks/{repository-swbxkzfg.js → file-j5q8scqt.js} +13 -13
- package/dist/chunks/{repository-yp2vd71t.js → file-j7nk5ghy.js} +6 -6
- package/dist/chunks/{repository-sxnhh4fa.js → file-j832jmcd.js} +24 -24
- package/dist/chunks/{repository-gxwcshd7.js → file-j9xw7bp8.js} +96 -114
- package/dist/chunks/{repository-s9m64ven.js → file-jdmzymbb.js} +3 -3
- package/dist/chunks/{repository-5mt7txy3.js → file-jhqfhgc9.js} +21 -21
- package/dist/chunks/{repository-k1qbhf8n.js → file-jqggfpj6.js} +6 -6
- package/dist/chunks/{repository-jssy2dr3.js → file-jssy2dr3.js} +2 -2
- package/dist/chunks/{repository-8x7rdb4e.js → file-jxrzxbza.js} +6 -6
- package/dist/chunks/{repository-k42t1tha.js → file-k42t1tha.js} +2 -2
- package/dist/chunks/{repository-z82089tt.js → file-kav4v9q9.js} +6 -6
- package/dist/chunks/{repository-kg1345f7.js → file-kg1345f7.js} +1 -1
- package/dist/chunks/{repository-kp1t5rcy.js → file-kp1t5rcy.js} +1 -1
- package/dist/chunks/{repository-yz541yvf.js → file-m2wgpszj.js} +89 -89
- package/dist/chunks/{repository-mf0hyk7z.js → file-mf0hyk7z.js} +1 -1
- package/dist/chunks/{repository-mh28new4.js → file-mh28new4.js} +2 -2
- package/dist/chunks/{repository-mnb85w6b.js → file-mnb85w6b.js} +2 -2
- package/dist/chunks/{repository-anfsarxw.js → file-mvcs28cp.js} +3 -3
- package/dist/chunks/{repository-mxvw03gv.js → file-mxvw03gv.js} +1 -1
- package/dist/chunks/{repository-abqeyaxt.js → file-n4wxsfqz.js} +1 -1
- package/dist/chunks/{repository-nesb2rcz.js → file-nesb2rcz.js} +2 -2
- package/dist/chunks/{repository-nwbnyeam.js → file-nqy1sr3e.js} +3 -3
- package/dist/chunks/{repository-nr76rjj3.js → file-nr76rjj3.js} +2 -2
- package/dist/chunks/{repository-nrkas8zm.js → file-nrkas8zm.js} +3 -3
- package/dist/chunks/{repository-8jdbkzjk.js → file-nvkf6p6q.js} +8 -8
- package/dist/chunks/{repository-nny22dkj.js → file-nzjfanc8.js} +3 -3
- package/dist/chunks/{repository-nzrjycs5.js → file-nzrjycs5.js} +1 -1
- package/dist/chunks/{repository-e52jcrg1.js → file-nzxr5g83.js} +8 -8
- package/dist/chunks/{repository-kqga9xka.js → file-p0aver5h.js} +4 -4
- package/dist/chunks/{repository-t547ysa6.js → file-p53t4frd.js} +3 -3
- package/dist/chunks/{repository-ke6py03n.js → file-pbew5wz2.js} +6 -6
- package/dist/chunks/{repository-pfqehjmy.js → file-pfqehjmy.js} +2 -2
- package/dist/chunks/{repository-aqg9wnx6.js → file-pjywn1fy.js} +17 -2
- package/dist/chunks/{repository-pq4b4pqk.js → file-pq4b4pqk.js} +2 -2
- package/dist/chunks/{repository-qk37kkpq.js → file-q07sa4nq.js} +6 -6
- package/dist/chunks/{repository-qe0d689s.js → file-qe0d689s.js} +2 -2
- package/dist/chunks/{repository-p1adn62v.js → file-qf7y470v.js} +16 -16
- package/dist/chunks/{repository-qhdqjp31.js → file-qhdqjp31.js} +1 -1
- package/dist/chunks/{repository-phz4zzmh.js → file-qvmc37x7.js} +6 -6
- package/dist/chunks/{repository-hns32vgv.js → file-qwqfjq69.js} +4 -4
- package/dist/chunks/{repository-r3k9abhd.js → file-r3k9abhd.js} +2 -2
- package/dist/chunks/{repository-5285pnbc.js → file-r6mxy2q5.js} +15 -15
- package/dist/chunks/{repository-rwn7vgmr.js → file-raes8n7n.js} +11 -11
- package/dist/chunks/{repository-rahat93a.js → file-rahat93a.js} +1 -1
- package/dist/chunks/{repository-rfbm65k8.js → file-rfbm65k8.js} +1 -1
- package/dist/chunks/{repository-rn9r0ddn.js → file-rn9r0ddn.js} +2 -2
- package/dist/chunks/{repository-mbqs7b6g.js → file-rr0y3aaw.js} +11 -11
- package/dist/chunks/{repository-21keg6t3.js → file-rrm7rp2s.js} +5 -5
- package/dist/chunks/{repository-y5tfqx3j.js → file-rtsrywk9.js} +5 -5
- package/dist/chunks/{repository-wf2jn9n2.js → file-rttr42xr.js} +8 -8
- package/dist/chunks/{repository-rvfvac9x.js → file-rvfvac9x.js} +2 -1
- package/dist/chunks/{repository-277s4me9.js → file-rxrnqndq.js} +4 -4
- package/dist/chunks/{repository-s33fw6zm.js → file-s33fw6zm.js} +1 -1
- package/dist/chunks/{repository-72jhjh3r.js → file-s5tvk6n9.js} +5 -5
- package/dist/chunks/{repository-bm59mrh0.js → file-sghkxya1.js} +4 -4
- package/dist/chunks/{repository-smpeg8c9.js → file-smpeg8c9.js} +2 -2
- package/dist/chunks/{repository-r0as8gk2.js → file-sp1xf5gz.js} +44 -44
- package/dist/chunks/{repository-3n5gm0pn.js → file-sp5dp9w1.js} +7 -7
- package/dist/chunks/{repository-sw84ckhj.js → file-sw84ckhj.js} +1 -1
- package/dist/chunks/{repository-xw6an1q3.js → file-sxa995r9.js} +7 -7
- package/dist/chunks/{repository-t14kykx1.js → file-t14kykx1.js} +1 -1
- package/dist/chunks/{repository-tb33ng7x.js → file-tb33ng7x.js} +2 -2
- package/dist/chunks/{repository-tcptxgyq.js → file-tcptxgyq.js} +1 -1
- package/dist/chunks/{repository-16w0zs7e.js → file-te878rn7.js} +10 -10
- package/dist/chunks/{repository-0y0jz5bf.js → file-tejkswdv.js} +66 -66
- package/dist/chunks/{repository-rr2e1jn9.js → file-tezq3yeg.js} +4 -4
- package/dist/chunks/{repository-thstd87d.js → file-thstd87d.js} +1 -1
- package/dist/chunks/{repository-tjjf1q77.js → file-tjjf1q77.js} +1 -1
- package/dist/chunks/{repository-p4sm5gct.js → file-trfqt5dm.js} +2 -2
- package/dist/chunks/{repository-y1exgf6k.js → file-txnbwzh0.js} +3 -3
- package/dist/chunks/{repository-v2wshkax.js → file-v2wshkax.js} +1 -1
- package/dist/chunks/{repository-v80zsxnb.js → file-v80zsxnb.js} +1 -1
- package/dist/chunks/{repository-rkk4wksm.js → file-v8tbfjf6.js} +4 -4
- package/dist/chunks/{repository-v972xay6.js → file-v972xay6.js} +1 -1
- package/dist/chunks/{repository-v9bfv94f.js → file-v9bfv94f.js} +1 -1
- package/dist/chunks/{repository-vcwr2vpf.js → file-vcwr2vpf.js} +1 -1
- package/dist/chunks/{repository-vqbmgfq1.js → file-vqbmgfq1.js} +3 -3
- package/dist/chunks/{repository-vz89hfgr.js → file-vz89hfgr.js} +1 -1
- package/dist/chunks/{repository-ftfem5qt.js → file-w0rc0xfv.js} +1 -1
- package/dist/chunks/{repository-wbkt8qpj.js → file-wbkt8qpj.js} +1 -1
- package/dist/chunks/{repository-wd268jeg.js → file-wd268jeg.js} +1 -1
- package/dist/chunks/{repository-zvp2sgsa.js → file-wg27158t.js} +5 -5
- package/dist/chunks/{repository-t3sp3k68.js → file-wgf751x2.js} +18 -17
- package/dist/chunks/{repository-wmxdh12w.js → file-wmxdh12w.js} +1 -1
- package/dist/chunks/{repository-wps8gh8n.js → file-wps8gh8n.js} +2 -2
- package/dist/chunks/{repository-wqtnns9x.js → file-wsykb36d.js} +8 -8
- package/dist/chunks/{repository-6n27mqqm.js → file-wwawtb0h.js} +3 -3
- package/dist/chunks/{repository-84g8ahdh.js → file-wybrermd.js} +6 -6
- package/dist/chunks/{repository-thqb17t0.js → file-x6amy92w.js} +3 -3
- package/dist/chunks/{repository-47dnqmwe.js → file-xa99tsrk.js} +14 -14
- package/dist/chunks/{repository-xczfw7dq.js → file-xczfw7dq.js} +1 -1
- package/dist/chunks/{repository-cb498dyj.js → file-xg2fpfcy.js} +5 -5
- package/dist/chunks/{repository-xh2svg4f.js → file-xgkf7vmy.js} +3 -3
- package/dist/chunks/{repository-xgv25zxy.js → file-xgv25zxy.js} +1 -1
- package/dist/chunks/{repository-yh6mrny0.js → file-xm2seg7a.js} +3 -3
- package/dist/chunks/{repository-b0svqw20.js → file-xpc5hpjr.js} +9 -9
- package/dist/chunks/{repository-xwftk1fd.js → file-xwftk1fd.js} +2 -2
- package/dist/chunks/{repository-xxpvz42q.js → file-xxpvz42q.js} +3 -3
- package/dist/chunks/{repository-h1jmef1e.js → file-xzt9apj6.js} +3 -3
- package/dist/chunks/{repository-y0x38cee.js → file-y0x38cee.js} +1 -1
- package/dist/chunks/{repository-y198y2ra.js → file-y198y2ra.js} +1 -1
- package/dist/chunks/{repository-cbf6nhmm.js → file-y38bn8w1.js} +9 -9
- package/dist/chunks/{repository-qgznhsmr.js → file-y3a4dyqw.js} +5 -5
- package/dist/chunks/{repository-hs9wj59g.js → file-y3zr4m7f.js} +5 -5
- package/dist/chunks/{repository-y67x6rf6.js → file-y67x6rf6.js} +1 -1
- package/dist/chunks/{repository-y980s7ka.js → file-y980s7ka.js} +3 -3
- package/dist/chunks/{repository-ybhfpy64.js → file-ybhfpy64.js} +2 -2
- package/dist/chunks/{repository-ks3wexae.js → file-yc6egy2b.js} +8 -8
- package/dist/chunks/{repository-yf0knd5z.js → file-yf0knd5z.js} +2 -2
- package/dist/chunks/{repository-ygy0xbqa.js → file-ygy0xbqa.js} +3 -3
- package/dist/chunks/{repository-700nnqs0.js → file-yqhmb5qj.js} +4 -4
- package/dist/chunks/{repository-zbqqnp0n.js → file-zbqqnp0n.js} +1 -1
- package/dist/chunks/{repository-zdkg1k91.js → file-zdkg1k91.js} +1 -1
- package/dist/chunks/{repository-ym25hnj7.js → file-zgp9b4wn.js} +30 -30
- package/dist/chunks/{repository-cpqj333v.js → file-zvvvtv47.js} +7 -7
- package/dist/chunks/{repository-zxcy6vhn.js → file-zxcy6vhn.js} +1 -1
- package/dist/chunks/{repository-zxe9jjhn.js → file-zxe9jjhn.js} +2 -2
- package/dist/codemode/catalog.js +2 -2
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +3 -3
- package/dist/command.js +78 -102
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +117 -130
- package/dist/config/plugin/compaction.js +169 -169
- package/dist/config/plugin/entry-observer.js +113 -113
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +129 -129
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +106 -106
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/variable.js +4 -4
- package/dist/config.js +112 -112
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +72 -72
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +16 -16
- package/dist/database/drizzle/effect-sqlite/index.js +16 -16
- package/dist/database/drizzle/effect-sqlite/migrator.js +15 -15
- package/dist/database/drizzle/effect-sqlite/session.js +15 -15
- package/dist/database/drizzle/index.js +20 -20
- package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/index.js +19 -19
- package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/session.js +14 -14
- package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
- package/dist/database/drizzle/up-migrations/effect-sqlite.js +4 -4
- package/dist/database/drizzle/up-migrations/sqlite.js +2 -2
- package/dist/database/drizzle/up-migrations/utils.js +2 -2
- package/dist/database/drizzle.js +21 -21
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
- package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
- package/dist/database/migration/20260225215848_workspace.js +2 -2
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
- package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
- package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
- package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
- package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
- package/dist/database/migration/20260323234822_events.js +2 -2
- package/dist/database/migration/20260410174513_workspace-name.js +2 -2
- package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
- package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
- package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
- package/dist/database/migration/20260428004200_add_session_path.js +2 -2
- package/dist/database/migration/20260501142318_next_venus.js +2 -2
- package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
- package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
- package/dist/database/migration/20260510033149_session_usage.js +2 -2
- package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
- package/dist/database/migration/20260511173437_session-metadata.js +2 -2
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
- package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
- package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
- package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
- package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
- package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
- package/dist/database/migration/20260611035744_credential.js +2 -2
- package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
- package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
- package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
- package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
- package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
- package/dist/database/migration/20260812181746_session_inbox.js +2 -2
- package/dist/database/migration/20260812213948_worktree.js +2 -2
- package/dist/database/migration/20260819222447_session_viewed_state.js +2 -2
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +3 -3
- package/dist/database/schema.gen.js +2 -2
- package/dist/database/schema.sql.js +2 -2
- package/dist/database/sqlite.bun.js +2 -2
- package/dist/database/sqlite.js +2 -2
- package/dist/database/sqlite.node.js +2 -2
- package/dist/database/sqlite.workerd.js +2 -2
- package/dist/database/v1-migration.bun.js +88 -88
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +330 -330
- package/dist/effect/app-node-platform.js +3 -3
- package/dist/effect/keyed-mutex.js +2 -2
- package/dist/effect/websocket-constructor.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +90 -90
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +3 -3
- package/dist/environment/memory.js +3 -3
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +2 -2
- package/dist/event-logger.js +72 -72
- package/dist/file-mutation.js +91 -91
- package/dist/file-retention.js +2 -2
- package/dist/file.js +2 -2
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +2 -2
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +3 -3
- package/dist/filesystem/location-watcher.js +305 -305
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +95 -95
- package/dist/form.js +73 -73
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +84 -84
- package/dist/generate.js +88 -88
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
- package/dist/github-copilot/chat/get-response-metadata.js +2 -2
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
- package/dist/github-copilot/copilot-provider.js +20 -20
- package/dist/github-copilot/models.js +4 -4
- package/dist/github-copilot/openai-compatible-error.js +2 -2
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +2 -2
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
- package/dist/github-copilot/responses/openai-error.js +2 -2
- package/dist/github-copilot/responses/openai-responses-language-model.js +11 -11
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
- package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
- package/dist/github-copilot/responses/tool/file-search.js +2 -2
- package/dist/github-copilot/responses/tool/image-generation.js +2 -2
- package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
- package/dist/github-copilot/responses/tool/web-search.js +2 -2
- package/dist/id/id.js +2 -2
- package/dist/image/photon-wasm.bun.js +1 -1
- package/dist/image/photon-wasm.node.js +1 -1
- package/dist/image/photon-wasm.workerd.js +1 -1
- package/dist/image/photon.js +97 -97
- package/dist/image.js +97 -97
- package/dist/instruction-discovery.js +76 -76
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +79 -79
- package/dist/job.js +4 -4
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +84 -84
- package/dist/location-mutation.js +83 -83
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +330 -330
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +99 -97
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +3 -3
- package/dist/models-dev.js +79 -79
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +103 -103
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +98 -83
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +166 -166
- package/dist/plugin/internal.js +299 -299
- package/dist/plugin/mcp-codemode-exclusion.js +2 -2
- package/dist/plugin/models-dev.js +80 -80
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +2 -2
- package/dist/plugin/provider/alibaba.js +3 -3
- package/dist/plugin/provider/amazon-bedrock.js +3 -3
- package/dist/plugin/provider/anthropic.js +3 -3
- package/dist/plugin/provider/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/deepinfra.js +3 -3
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +2 -2
- package/dist/plugin/provider/gateway.js +3 -3
- package/dist/plugin/provider/github-copilot.js +86 -86
- package/dist/plugin/provider/gitlab.js +4 -4
- package/dist/plugin/provider/google-vertex.js +3 -3
- package/dist/plugin/provider/groq.js +3 -3
- package/dist/plugin/provider/kilo.js +3 -3
- package/dist/plugin/provider/llmgateway.js +81 -81
- package/dist/plugin/provider/lmstudio.js +113 -113
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +113 -113
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +83 -83
- package/dist/plugin/provider/opencode.js +97 -97
- package/dist/plugin/provider/openrouter.js +4 -4
- package/dist/plugin/provider/perplexity.js +3 -3
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/snowflake-cortex.js +3 -3
- package/dist/plugin/provider/togetherai.js +3 -3
- package/dist/plugin/provider/venice.js +3 -3
- package/dist/plugin/provider/vercel.js +3 -3
- package/dist/plugin/provider/vllm.js +113 -113
- package/dist/plugin/provider/xai.js +82 -82
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/runtime.js +155 -155
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/supervisor-service.js +2 -2
- package/dist/plugin/supervisor.js +304 -304
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/tavily.js +3 -3
- package/dist/plugin.js +167 -167
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +81 -81
- package/dist/provider.js +2 -2
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/pty.bun.js +1 -1
- package/dist/pty/pty.node.js +1 -1
- package/dist/pty/pty.workerd.js +1 -1
- package/dist/pty/schema.js +2 -2
- package/dist/pty/ticket.js +74 -74
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +81 -81
- package/dist/reference.js +79 -79
- package/dist/repository-cache.js +7 -7
- package/dist/repository.js +2 -2
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +93 -93
- package/dist/schema.js +2 -2
- package/dist/session/compaction.js +141 -141
- package/dist/session/context.js +311 -311
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +4 -4
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +119 -119
- package/dist/session/execution.js +119 -119
- package/dist/session/generate-node.js +312 -312
- package/dist/session/generate.js +2 -2
- package/dist/session/history.js +81 -81
- package/dist/session/inbox.js +81 -81
- package/dist/session/info.js +91 -91
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +100 -100
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +4 -4
- package/dist/session/model-request.js +137 -137
- package/dist/session/model-transport.js +5 -5
- package/dist/session/projector.js +94 -94
- package/dist/session/prompt-cache-diagnostics.js +2 -2
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +88 -88
- package/dist/session/runner/llm.js +317 -317
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +76 -76
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +4 -4
- package/dist/session/sql.js +6 -6
- package/dist/session/stats.js +375 -0
- package/dist/session/store.js +99 -99
- package/dist/session/system-prompt.js +2 -2
- package/dist/session/title.js +139 -139
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +160 -161
- package/dist/session/usage.js +2 -2
- package/dist/session.js +155 -156
- package/dist/shell/parse.js +5 -5
- package/dist/shell/parser-wasm.bun.js +1 -1
- package/dist/shell/parser-wasm.node.js +1 -1
- package/dist/shell/parser-wasm.workerd.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +4 -4
- package/dist/shell.js +98 -98
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +84 -84
- package/dist/state.js +2 -2
- package/dist/tool/html-markdown.js +2 -2
- package/dist/tool/http-body.js +2 -2
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +115 -115
- package/dist/tool/plugin/grep.js +115 -115
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +185 -185
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +182 -182
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +113 -113
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +119 -119
- package/dist/types/command.d.ts +23 -65
- package/dist/types/config/plugin/command.d.ts +4 -1
- package/dist/types/config/plugin/mcp.d.ts +2 -2
- package/dist/types/config/plugin/shell.d.ts +1 -1
- package/dist/types/location-service-map.d.ts +2 -2
- package/dist/types/location-services.d.ts +1 -1
- package/dist/types/mcp/index.d.ts +37 -0
- package/dist/types/mime.d.ts +1 -1
- package/dist/types/plugin/command.d.ts +3 -1
- package/dist/types/plugin/host.d.ts +12 -14
- package/dist/types/plugin/internal.d.ts +3 -3
- package/dist/types/plugin/supervisor.d.ts +1 -1
- package/dist/types/session/execution.d.ts +3 -2
- package/dist/types/session/message.d.ts +1 -1
- package/dist/types/session/revert.d.ts +2 -2
- package/dist/types/session/run-coordinator.d.ts +3 -2
- package/dist/types/session/schema.d.ts +1 -1
- package/dist/types/session/sql.d.ts +2 -2
- package/dist/types/session/stats.d.ts +82 -0
- package/dist/types/session.d.ts +3 -7
- package/dist/types/tool/plugin/shell.d.ts +1 -1
- package/dist/types/v1/config/migrate.d.ts +9 -9
- package/dist/types/workspace.d.ts +16 -2
- package/dist/util/array.js +1 -1
- package/dist/util/error.js +2 -2
- package/dist/util/identifier.js +1 -1
- package/dist/util/iife.js +2 -2
- package/dist/util/lazy.js +2 -2
- package/dist/util/process-lock-ffi.bun.js +1 -1
- package/dist/util/process-lock-ffi.node.js +1 -1
- package/dist/util/process-lock-ffi.workerd.js +1 -1
- package/dist/util/process-lock.js +1 -1
- package/dist/util/slug.js +2 -2
- package/dist/util/token.js +2 -2
- package/dist/util/which.js +2 -2
- package/dist/util/wildcard.js +2 -2
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +2 -2
- package/dist/v1/config/config.js +15 -15
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +2 -2
- package/dist/v1/config/layout.js +2 -2
- package/dist/v1/config/lsp.js +2 -2
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +19 -19
- package/dist/v1/config/permission.js +2 -2
- package/dist/v1/config/plugin.js +2 -2
- package/dist/v1/config/provider-options.js +2 -2
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/server.js +3 -3
- package/dist/v1/config/skills.js +2 -2
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/git.js +3 -3
- package/dist/vcs/hg.js +3 -3
- package/dist/vcs/patch.js +2 -2
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +77 -77
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +76 -74
- package/dist/worktree/directory.js +3 -3
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +6 -6
- package/dist/worktree.js +86 -86
- package/package.json +7 -7
- package/dist/chunks/repository-25pxtba7.js +0 -13
- package/dist/chunks/repository-cgggcwed.js +0 -210
- package/dist/chunks/repository-jq8xj4c5.js +0 -93
- package/dist/chunks/repository-y8rs54ne.js +0 -16
- /package/dist/chunks/{repository-0cgt0xh2.js → file-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{repository-0f48qthw.js → file-0f48qthw.js} +0 -0
- /package/dist/chunks/{repository-0zz82cjq.js → file-0zz82cjq.js} +0 -0
- /package/dist/chunks/{repository-1fb7bmpf.js → file-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{repository-1wcz8fvj.js → file-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{repository-2qdx6zz3.js → file-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{repository-39ktntah.js → file-39ktntah.js} +0 -0
- /package/dist/chunks/{repository-3g3rpp2x.js → file-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{repository-3q6gbwmd.js → file-3q6gbwmd.js} +0 -0
- /package/dist/chunks/{repository-3w3ybtfd.js → file-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{repository-47ty4mvs.js → file-47ty4mvs.js} +0 -0
- /package/dist/chunks/{repository-4b2tz2m9.js → file-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{repository-4zg0gww9.js → file-4zg0gww9.js} +0 -0
- /package/dist/chunks/{repository-5a5ch9ts.js → file-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{repository-5va1yh78.js → file-5va1yh78.js} +0 -0
- /package/dist/chunks/{repository-61ek4hj9.js → file-61ek4hj9.js} +0 -0
- /package/dist/chunks/{repository-69qrqpw0.js → file-69qrqpw0.js} +0 -0
- /package/dist/chunks/{repository-6yt963b8.js → file-6yt963b8.js} +0 -0
- /package/dist/chunks/{repository-6zqxzw0a.js → file-6zqxzw0a.js} +0 -0
- /package/dist/chunks/{repository-7n9qwqk4.js → file-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{repository-8nn8kqcn.js → file-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{repository-8sj3ajy5.js → file-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{repository-8w9tzfz1.js → file-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{repository-906y0b6d.js → file-906y0b6d.js} +0 -0
- /package/dist/chunks/{repository-9dct5xhx.js → file-9dct5xhx.js} +0 -0
- /package/dist/chunks/{repository-9sdtsapf.js → file-9sdtsapf.js} +0 -0
- /package/dist/chunks/{repository-a02svayp.js → file-a02svayp.js} +0 -0
- /package/dist/chunks/{repository-a83yvq99.js → file-a83yvq99.js} +0 -0
- /package/dist/chunks/{repository-ayevdmef.js → file-ayevdmef.js} +0 -0
- /package/dist/chunks/{repository-b02txbh8.js → file-b02txbh8.js} +0 -0
- /package/dist/chunks/{repository-bbqs2y60.js → file-bbqs2y60.js} +0 -0
- /package/dist/chunks/{repository-brsh5f65.js → file-brsh5f65.js} +0 -0
- /package/dist/chunks/{repository-bxdhjb3y.js → file-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{repository-c77ad0vh.js → file-c77ad0vh.js} +0 -0
- /package/dist/chunks/{repository-ck5pgha0.js → file-ck5pgha0.js} +0 -0
- /package/dist/chunks/{repository-cm67rqy2.js → file-cm67rqy2.js} +0 -0
- /package/dist/chunks/{repository-df3v2q6j.js → file-df3v2q6j.js} +0 -0
- /package/dist/chunks/{repository-dhcq6c44.js → file-dhcq6c44.js} +0 -0
- /package/dist/chunks/{repository-dht5baf0.js → file-dht5baf0.js} +0 -0
- /package/dist/chunks/{repository-dkmkay92.js → file-dkmkay92.js} +0 -0
- /package/dist/chunks/{repository-ehj9csmv.js → file-ehj9csmv.js} +0 -0
- /package/dist/chunks/{repository-em6xpscd.js → file-em6xpscd.js} +0 -0
- /package/dist/chunks/{repository-emmqknsm.js → file-emmqknsm.js} +0 -0
- /package/dist/chunks/{repository-ezs3tagn.js → file-ezs3tagn.js} +0 -0
- /package/dist/chunks/{repository-f14r7hfz.js → file-f14r7hfz.js} +0 -0
- /package/dist/chunks/{repository-f4cp4g4a.js → file-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{repository-f84sxdqn.js → file-f84sxdqn.js} +0 -0
- /package/dist/chunks/{repository-faypg4r1.js → file-faypg4r1.js} +0 -0
- /package/dist/chunks/{repository-fgbfdq62.js → file-fgbfdq62.js} +0 -0
- /package/dist/chunks/{repository-gd5xeqc2.js → file-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{repository-ghm4673n.js → file-ghm4673n.js} +0 -0
- /package/dist/chunks/{repository-ghwjy7my.js → file-ghwjy7my.js} +0 -0
- /package/dist/chunks/{repository-gy500k2r.js → file-gy500k2r.js} +0 -0
- /package/dist/chunks/{repository-hzeg9cfr.js → file-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{repository-j07kk359.js → file-j07kk359.js} +0 -0
- /package/dist/chunks/{repository-jf35ek5b.js → file-jf35ek5b.js} +0 -0
- /package/dist/chunks/{repository-jve7t217.js → file-jve7t217.js} +0 -0
- /package/dist/chunks/{repository-k3e42drn.js → file-k3e42drn.js} +0 -0
- /package/dist/chunks/{repository-k8b45nas.js → file-k8b45nas.js} +0 -0
- /package/dist/chunks/{repository-kcacmy5c.js → file-kcacmy5c.js} +0 -0
- /package/dist/chunks/{repository-kpdbz7gn.js → file-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{repository-kxy11nzk.js → file-kxy11nzk.js} +0 -0
- /package/dist/chunks/{repository-kyyqvx4s.js → file-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{repository-m8cbvarh.js → file-m8cbvarh.js} +0 -0
- /package/dist/chunks/{repository-ma60vzgv.js → file-ma60vzgv.js} +0 -0
- /package/dist/chunks/{repository-n3m50c2t.js → file-n3m50c2t.js} +0 -0
- /package/dist/chunks/{repository-nkm1m8dz.js → file-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{repository-nsc0c3zb.js → file-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{repository-qaarhjrp.js → file-qaarhjrp.js} +0 -0
- /package/dist/chunks/{repository-qc167nrn.js → file-qc167nrn.js} +0 -0
- /package/dist/chunks/{repository-qp95y4jb.js → file-qp95y4jb.js} +0 -0
- /package/dist/chunks/{repository-r8f4w671.js → file-r8f4w671.js} +0 -0
- /package/dist/chunks/{repository-rdfev9jy.js → file-rdfev9jy.js} +0 -0
- /package/dist/chunks/{repository-s7whb9gt.js → file-s7whb9gt.js} +0 -0
- /package/dist/chunks/{repository-se76j685.js → file-se76j685.js} +0 -0
- /package/dist/chunks/{repository-sem2g21k.js → file-sem2g21k.js} +0 -0
- /package/dist/chunks/{repository-tmb1f636.js → file-tmb1f636.js} +0 -0
- /package/dist/chunks/{repository-ttxf0gsy.js → file-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{repository-tvmhrvfj.js → file-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{repository-v2adqbbe.js → file-v2adqbbe.js} +0 -0
- /package/dist/chunks/{repository-vkvb1sb3.js → file-vkvb1sb3.js} +0 -0
- /package/dist/chunks/{repository-wj4sxzqa.js → file-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{repository-wwntjmk1.js → file-wwntjmk1.js} +0 -0
- /package/dist/chunks/{repository-wyqjaaa5.js → file-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{repository-x4q807cx.js → file-x4q807cx.js} +0 -0
- /package/dist/chunks/{repository-xt0068v8.js → file-xt0068v8.js} +0 -0
- /package/dist/chunks/{repository-yrqrg4vp.js → file-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{repository-z47nswr2.js → file-z47nswr2.js} +0 -0
- /package/dist/chunks/{repository-zsf8rs93.js → file-zsf8rs93.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_model
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-gdza155x.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_permission
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-hwcs0txm.js";
|
|
7
7
|
import {
|
|
8
8
|
AgentNotFoundError,
|
|
9
9
|
StepFailedError,
|
|
10
10
|
UserInterruptedError
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-fb7nfzf2.js";
|
|
12
12
|
import {
|
|
13
13
|
exports_integration
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-xg2fpfcy.js";
|
|
15
15
|
|
|
16
16
|
// src/session/to-session-error.ts
|
|
17
17
|
import { AIError, ToolFailure } from "@opencode-ai/ai";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_kv
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-wwawtb0h.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_bus
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-e49vbhvs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/wellknown.ts
|
|
12
12
|
var exports_wellknown = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
exports_parallel
|
|
3
|
+
} from "./file-5fe026tx.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_tavily
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-bh1wr8rq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
exports_exa
|
|
9
|
+
} from "./file-f9wt0tjw.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_firecrawl
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-vqbmgfq1.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/websearch/index.ts
|
|
15
15
|
var WebSearchPlugins = [
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_skill
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-dj7k5g3p.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_permission
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-hwcs0txm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/skill.ts
|
|
12
12
|
var exports_skill2 = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_environment1 as exports_environment
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-sp5dp9w1.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_keyed_mutex
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-0kvmztkf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/file-mutation.ts
|
|
12
12
|
var exports_file_mutation = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
upgradeIfNeeded
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-8bkmtpp6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-bh4g4m9b.js";
|
|
7
7
|
import {
|
|
8
8
|
mapResultRow,
|
|
9
9
|
resolveNullableObjectPaths
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-k8b45nas.js";
|
|
11
11
|
|
|
12
12
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
13
13
|
import * as Cause from "effect/Cause";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
WorkspaceTable
|
|
3
|
-
} from "./repository-61ek4hj9.js";
|
|
4
1
|
import {
|
|
5
2
|
exports_driver
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./file-t14kykx1.js";
|
|
7
4
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
5
|
+
WorkspaceTable
|
|
6
|
+
} from "./file-61ek4hj9.js";
|
|
10
7
|
import {
|
|
11
8
|
exports_database
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./file-d68fvrxq.js";
|
|
10
|
+
import {
|
|
11
|
+
exports_keyed_mutex
|
|
12
|
+
} from "./file-0kvmztkf.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-rvfvac9x.js";
|
|
16
16
|
|
|
17
17
|
// src/workspace.ts
|
|
18
18
|
var exports_workspace = {};
|
|
@@ -23,7 +23,8 @@ __export(exports_workspace, {
|
|
|
23
23
|
Service: () => Service,
|
|
24
24
|
NotFound: () => NotFound,
|
|
25
25
|
Info: () => Info,
|
|
26
|
-
ID: () => ID
|
|
26
|
+
ID: () => ID,
|
|
27
|
+
CreateConflict: () => CreateConflict
|
|
27
28
|
});
|
|
28
29
|
import { Workspace } from "@opencode-ai/schema/workspace";
|
|
29
30
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -45,6 +46,13 @@ class Info extends Schema.Class("Workspace.Info")({
|
|
|
45
46
|
class NotFound extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID }) {
|
|
46
47
|
}
|
|
47
48
|
|
|
49
|
+
class CreateConflict extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
50
|
+
workspaceID: ID,
|
|
51
|
+
provider: Schema.String,
|
|
52
|
+
existingProvider: Schema.String
|
|
53
|
+
}) {
|
|
54
|
+
}
|
|
55
|
+
|
|
48
56
|
class Service extends Context.Service()("@opencode/Workspace") {
|
|
49
57
|
}
|
|
50
58
|
var configured = (options = {}) => makeGlobalNode({
|
|
@@ -61,8 +69,9 @@ var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
|
|
|
61
69
|
const locks = exports_keyed_mutex.makeUnsafe();
|
|
62
70
|
const fork = yield* FiberSet.makeRuntime();
|
|
63
71
|
const idleThreshold = Duration.toMillis(options.idleThreshold ?? Duration.minutes(20));
|
|
72
|
+
const find = (workspaceID) => db.select().from(WorkspaceTable).where(eq(WorkspaceTable.id, workspaceID)).get().pipe(Effect.orDie);
|
|
64
73
|
const load = Effect.fn("Workspace.load")(function* (workspaceID) {
|
|
65
|
-
const row = yield*
|
|
74
|
+
const row = yield* find(workspaceID);
|
|
66
75
|
if (!row)
|
|
67
76
|
return yield* new NotFound({ workspaceID });
|
|
68
77
|
return row;
|
|
@@ -143,11 +152,30 @@ var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
|
|
|
143
152
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
144
153
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
145
154
|
return Service.of({
|
|
146
|
-
create: Effect.fn("Workspace.create")(function* (
|
|
147
|
-
|
|
148
|
-
const
|
|
155
|
+
create: Effect.fn("Workspace.create")(function* (input) {
|
|
156
|
+
const workspaceID = input.id ?? ID.create();
|
|
157
|
+
const existing = yield* db.select({ provider: WorkspaceTable.provider }).from(WorkspaceTable).where(eq(WorkspaceTable.id, workspaceID)).get().pipe(Effect.orDie);
|
|
158
|
+
if (existing) {
|
|
159
|
+
if (existing.provider === input.provider)
|
|
160
|
+
return workspaceID;
|
|
161
|
+
return yield* new CreateConflict({
|
|
162
|
+
workspaceID,
|
|
163
|
+
provider: input.provider,
|
|
164
|
+
existingProvider: existing.provider
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
yield* registry.get(input.provider);
|
|
149
168
|
const now = yield* Clock.currentTimeMillis;
|
|
150
|
-
yield* db.insert(WorkspaceTable).values({ id: workspaceID, provider, binding: null, created_at: now, last_used_at: now }).
|
|
169
|
+
const inserted = yield* db.insert(WorkspaceTable).values({ id: workspaceID, provider: input.provider, binding: null, created_at: now, last_used_at: now }).onConflictDoNothing().returning({ id: WorkspaceTable.id }).get().pipe(Effect.orDie);
|
|
170
|
+
if (inserted)
|
|
171
|
+
return workspaceID;
|
|
172
|
+
const row = yield* load(workspaceID).pipe(Effect.orDie);
|
|
173
|
+
if (row.provider !== input.provider)
|
|
174
|
+
return yield* new CreateConflict({
|
|
175
|
+
workspaceID,
|
|
176
|
+
provider: input.provider,
|
|
177
|
+
existingProvider: row.provider
|
|
178
|
+
});
|
|
151
179
|
return workspaceID;
|
|
152
180
|
}),
|
|
153
181
|
provision,
|
|
@@ -175,18 +203,21 @@ var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
|
|
|
175
203
|
attempts.delete(workspaceID);
|
|
176
204
|
Deferred.doneUnsafe(attempt, Exit.fail(new NotFound({ workspaceID })));
|
|
177
205
|
}
|
|
178
|
-
yield* locks.withLock(workspaceID)(Effect.gen(function* () {
|
|
179
|
-
const row = yield*
|
|
206
|
+
return yield* locks.withLock(workspaceID)(Effect.gen(function* () {
|
|
207
|
+
const row = yield* find(workspaceID);
|
|
208
|
+
if (!row)
|
|
209
|
+
return { destroyed: false };
|
|
180
210
|
const connection = connections.get(workspaceID);
|
|
181
211
|
connections.delete(workspaceID);
|
|
182
212
|
if (connection)
|
|
183
213
|
yield* Scope.close(connection.scope, Exit.void);
|
|
184
214
|
yield* registry.get(row.provider).pipe(Effect.flatMap((driver) => driver.destroy({ workspaceID, binding: row.binding })), Effect.catchTag("WorkspaceDriver.ProviderNotFound", (error) => row.binding ? Effect.fail(error) : Effect.void));
|
|
185
215
|
yield* db.delete(WorkspaceTable).where(eq(WorkspaceTable.id, workspaceID)).run().pipe(Effect.orDie);
|
|
216
|
+
return { destroyed: true };
|
|
186
217
|
}));
|
|
187
218
|
})
|
|
188
219
|
});
|
|
189
220
|
}));
|
|
190
221
|
var node = configured();
|
|
191
222
|
|
|
192
|
-
export { ID, Info, NotFound, Service, configured, node, exports_workspace };
|
|
223
|
+
export { ID, Info, NotFound, CreateConflict, Service, configured, node, exports_workspace };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
exports_environment1 as exports_environment
|
|
3
|
-
} from "./repository-3n5gm0pn.js";
|
|
4
|
-
import {
|
|
5
|
-
exports_location
|
|
6
|
-
} from "./repository-p4sm5gct.js";
|
|
7
1
|
import {
|
|
8
2
|
exports_integration
|
|
9
|
-
} from "./
|
|
3
|
+
} from "./file-xg2fpfcy.js";
|
|
10
4
|
import {
|
|
11
5
|
exports_form
|
|
12
|
-
} from "./
|
|
6
|
+
} from "./file-2m5exym4.js";
|
|
7
|
+
import {
|
|
8
|
+
exports_environment1 as exports_environment
|
|
9
|
+
} from "./file-sp5dp9w1.js";
|
|
13
10
|
import {
|
|
14
11
|
exports_credential
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./file-ek082he4.js";
|
|
13
|
+
import {
|
|
14
|
+
exports_location
|
|
15
|
+
} from "./file-trfqt5dm.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_state
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-qhdqjp31.js";
|
|
19
19
|
import {
|
|
20
20
|
exports_bus
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-e49vbhvs.js";
|
|
22
22
|
import {
|
|
23
23
|
exports_keyed_mutex
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-0kvmztkf.js";
|
|
25
25
|
import {
|
|
26
26
|
__export,
|
|
27
27
|
__require
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-rvfvac9x.js";
|
|
29
29
|
|
|
30
30
|
// src/mcp/index.ts
|
|
31
31
|
var exports_mcp = {};
|
|
@@ -47,6 +47,7 @@ __export(exports_mcp, {
|
|
|
47
47
|
ResourceContent: () => ResourceContent,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog,
|
|
49
49
|
Resource: () => Resource,
|
|
50
|
+
PromptsChanged: () => PromptsChanged,
|
|
50
51
|
PromptResult: () => PromptResult,
|
|
51
52
|
PromptMessage: () => PromptMessage,
|
|
52
53
|
PromptArgument: () => PromptArgument,
|
|
@@ -57,13 +58,14 @@ __export(exports_mcp, {
|
|
|
57
58
|
});
|
|
58
59
|
import { Mcp } from "@opencode-ai/schema/mcp";
|
|
59
60
|
import { McpEvent } from "@opencode-ai/schema/mcp-event";
|
|
60
|
-
import {
|
|
61
|
+
import { ephemeral } from "@opencode-ai/schema/event";
|
|
61
62
|
import { createHash } from "node:crypto";
|
|
62
63
|
import { isDeepStrictEqual } from "node:util";
|
|
63
64
|
import { Cause, Context, Effect, Exit, FiberSet, Latch, Layer, Schema, Scope, Stream } from "effect";
|
|
64
65
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
65
66
|
import { waitForAbort } from "@opencode-ai/util/process";
|
|
66
67
|
var ServerName = Schema.String.pipe(Schema.brand("MCP.ServerName"));
|
|
68
|
+
var PromptsChanged = ephemeral({ type: "mcp.prompts.changed", schema: { server: Schema.String } });
|
|
67
69
|
var Status = Mcp.Status;
|
|
68
70
|
|
|
69
71
|
class ServerInfo extends Schema.Class("MCP.ServerInfo")({
|
|
@@ -355,7 +357,7 @@ var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
|
|
|
355
357
|
}));
|
|
356
358
|
const refreshPrompts = (name, entry, connection) => connection.prompts().pipe(Effect.orElseSucceed(() => []), Effect.map((defs) => {
|
|
357
359
|
entry.prompts = defs.map((def) => toPrompt(name, def));
|
|
358
|
-
}), Effect.andThen(bus.publish(
|
|
360
|
+
}), Effect.andThen(bus.publish(PromptsChanged, { server: name })));
|
|
359
361
|
const whenLive = (name, entry, connection) => (effect) => fork(Effect.suspend(() => entry.client === connection ? effect : Effect.void).pipe(locks.withLock(name), Effect.ignore));
|
|
360
362
|
const watch = (name, entry, connection) => {
|
|
361
363
|
const live = whenLive(name, entry, connection);
|
|
@@ -425,7 +427,7 @@ var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
|
|
|
425
427
|
yield* Scope.close(scope, Exit.void);
|
|
426
428
|
yield* bus.publish(McpEvent.ToolsChanged, { server: name }).pipe(Effect.ignore);
|
|
427
429
|
yield* bus.publish(McpEvent.ResourcesChanged, { server: name }).pipe(Effect.ignore);
|
|
428
|
-
yield* bus.publish(
|
|
430
|
+
yield* bus.publish(PromptsChanged, { server: name }).pipe(Effect.ignore);
|
|
429
431
|
});
|
|
430
432
|
const disposeServer = Effect.fnUntraced(function* (name, entry) {
|
|
431
433
|
yield* stopServer(name, entry);
|
|
@@ -724,4 +726,4 @@ function toElicitationField(key, property, required) {
|
|
|
724
726
|
}
|
|
725
727
|
}
|
|
726
728
|
|
|
727
|
-
export { ServerName, Status, ServerInfo, ServerInstructions, Tool, ToolResultContent, ToolResult, PromptArgument, Prompt, PromptMessage, PromptResult, Resource, ResourceTemplate, ResourceCatalog, ResourceContentPart, ResourceContent, NotFoundError, ToolCallError, Service, Options, layer, configured, node, exports_mcp };
|
|
729
|
+
export { ServerName, PromptsChanged, Status, ServerInfo, ServerInstructions, Tool, ToolResultContent, ToolResult, PromptArgument, Prompt, PromptMessage, PromptResult, Resource, ResourceTemplate, ResourceCatalog, ResourceContentPart, ResourceContent, NotFoundError, ToolCallError, Service, Options, layer, configured, node, exports_mcp };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_permission
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-hwcs0txm.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_form
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-2m5exym4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_app
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-50jxp3hw.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_model
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-1a3a2s70.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_provider
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-djkt4gex.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_kv
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-wwawtb0h.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_bus
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-e49vbhvs.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-rvfvac9x.js";
|
|
19
19
|
|
|
20
20
|
// src/models-dev.ts
|
|
21
21
|
var exports_models_dev = {};
|
|
@@ -495,7 +495,7 @@ function cacheKey(source) {
|
|
|
495
495
|
return `models-dev:catalog:${Hash.fast(source)}`;
|
|
496
496
|
}
|
|
497
497
|
function bodyDigest(text) {
|
|
498
|
-
return
|
|
498
|
+
return Hash.sha256(text);
|
|
499
499
|
}
|
|
500
500
|
var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
|
|
501
501
|
const fs = yield* FSUtil.Service;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_reference
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-1z2x4t8z.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_instructions
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-ec8vrfw5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/reference/instructions.ts
|
|
12
12
|
var exports_instructions2 = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
exports_config
|
|
3
|
-
} from "./repository-47dnqmwe.js";
|
|
4
1
|
import {
|
|
5
2
|
exports_runtime
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./file-ddh4578g.js";
|
|
4
|
+
import {
|
|
5
|
+
exports_config
|
|
6
|
+
} from "./file-xa99tsrk.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_permission
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-hwcs0txm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
SessionSchema
|
|
12
|
+
} from "./file-bjwj8hwv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
exports_agent
|
|
15
|
+
} from "./file-fdbvb5rr.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-rvfvac9x.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/plugin/subagent.ts
|
|
21
21
|
var exports_subagent = {};
|
|
@@ -45,7 +45,7 @@ var Input = Schema.Struct({
|
|
|
45
45
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
46
46
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
47
47
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
48
|
-
sessionID: Schema.optionalKey(
|
|
48
|
+
sessionID: Schema.optionalKey(SessionSchema.ID).annotate({
|
|
49
49
|
description: "Continue a specific previous subagent conversation by passing its sessionID. Calls without a sessionID start a new conversation."
|
|
50
50
|
}),
|
|
51
51
|
background: Schema.optionalKey(Schema.Boolean).annotate({
|
|
@@ -53,7 +53,7 @@ var Input = Schema.Struct({
|
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
55
|
var Output = Schema.Struct({
|
|
56
|
-
sessionID:
|
|
56
|
+
sessionID: SessionSchema.ID,
|
|
57
57
|
status: Schema.Literals(["completed", "running"]),
|
|
58
58
|
output: Schema.String
|
|
59
59
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-0zz82cjq.js";
|
|
4
4
|
import {
|
|
5
5
|
__require
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/groq.ts
|
|
9
9
|
var GroqPlugin = createProviderPlugin({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath,
|
|
3
3
|
RelativePath
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-j07kk359.js";
|
|
5
5
|
import {
|
|
6
6
|
exports_keyed_mutex
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-0kvmztkf.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-rvfvac9x.js";
|
|
11
11
|
|
|
12
12
|
// src/git.ts
|
|
13
13
|
var exports_git = {};
|