@opencode/core 0.0.0-dev-867 → 0.0.0-dev-868
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 +90 -90
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +252 -252
- package/dist/bus.js +84 -84
- package/dist/chunks/{websearch-034tev2y.js → snapshot-034tev2y.js} +2 -2
- package/dist/chunks/{websearch-qddj8sb8.js → snapshot-035wadpx.js} +7 -7
- package/dist/chunks/{websearch-skghsamf.js → snapshot-088br6wp.js} +93 -93
- package/dist/chunks/{websearch-sqjzf8x2.js → snapshot-0j7gp832.js} +4 -4
- package/dist/chunks/{websearch-e8pm465n.js → snapshot-0m9q59s6.js} +4 -4
- package/dist/chunks/{websearch-0ma9gw4f.js → snapshot-0ma9gw4f.js} +2 -2
- package/dist/chunks/{websearch-ad123chm.js → snapshot-0pescjbw.js} +11 -11
- package/dist/chunks/{websearch-1wq4a4kt.js → snapshot-0qet6x0b.js} +18 -18
- package/dist/chunks/{websearch-9pnbk7xt.js → snapshot-12g9ep21.js} +5 -5
- package/dist/chunks/{websearch-1aqsckx4.js → snapshot-1aqsckx4.js} +1 -1
- package/dist/chunks/{websearch-nt8wsqa6.js → snapshot-1bnkpzt2.js} +15 -15
- package/dist/chunks/{websearch-1ep2p91f.js → snapshot-1ep2p91f.js} +2 -2
- package/dist/chunks/{websearch-hsyqqqd9.js → snapshot-1hfq9fve.js} +16 -16
- package/dist/chunks/{websearch-w3z6w2qh.js → snapshot-1ks4j342.js} +19 -19
- package/dist/chunks/{websearch-44yxc22p.js → snapshot-1nscgprg.js} +17 -17
- package/dist/chunks/{websearch-za1h6cmh.js → snapshot-1p678q4d.js} +5 -5
- package/dist/chunks/snapshot-1q9t4rk2.js +265 -0
- package/dist/chunks/{websearch-j1xqyje3.js → snapshot-1sh7enc5.js} +10 -10
- package/dist/chunks/{websearch-tk5zgzqv.js → snapshot-1t74fvtg.js} +17 -17
- package/dist/chunks/{websearch-msd2a3qm.js → snapshot-1v2g13eq.js} +4 -4
- package/dist/chunks/{websearch-1x2knyw4.js → snapshot-1x2knyw4.js} +1 -1
- package/dist/chunks/{websearch-bdhd9h6e.js → snapshot-1yq9hg58.js} +5 -5
- package/dist/chunks/{websearch-jvq5pzms.js → snapshot-219b6etg.js} +7 -7
- package/dist/chunks/{websearch-gac2r1e7.js → snapshot-28wrrn1m.js} +17 -17
- package/dist/chunks/{websearch-3ge642sv.js → snapshot-295ae9x1.js} +49 -49
- package/dist/chunks/{websearch-4g9sj5dp.js → snapshot-2979vk1j.js} +9 -9
- package/dist/chunks/{websearch-8c0e3tap.js → snapshot-2bepgp7e.js} +37 -37
- package/dist/chunks/{websearch-4fabgnbe.js → snapshot-2cs2hpbg.js} +8 -8
- package/dist/chunks/{websearch-2fc7eemy.js → snapshot-2fc7eemy.js} +1 -1
- package/dist/chunks/{websearch-fhbvytxp.js → snapshot-2fh00ww0.js} +20 -20
- package/dist/chunks/{websearch-yx3ysqhh.js → snapshot-2ftfp5e7.js} +20 -20
- package/dist/chunks/{websearch-0m8qhpa6.js → snapshot-2g1mk09r.js} +28 -28
- package/dist/chunks/{websearch-fenjvtps.js → snapshot-2mknpsr3.js} +12 -12
- package/dist/chunks/{websearch-vrkapg44.js → snapshot-2mr5qzhg.js} +15 -15
- package/dist/chunks/{websearch-2p60zmnr.js → snapshot-2p60zmnr.js} +2 -2
- package/dist/chunks/{websearch-bpvtetrd.js → snapshot-2ppj5nzq.js} +10 -10
- package/dist/chunks/{websearch-f3s9bvsg.js → snapshot-2sjxvgba.js} +29 -29
- package/dist/chunks/{websearch-dftts8a9.js → snapshot-2w4yrr4a.js} +16 -16
- package/dist/chunks/{websearch-wwgfqhcn.js → snapshot-30y2gndb.js} +45 -45
- package/dist/chunks/{websearch-3j0xada2.js → snapshot-32nvcaq2.js} +59 -59
- package/dist/chunks/{websearch-2z40jm13.js → snapshot-39ac3w94.js} +59 -59
- package/dist/chunks/{websearch-efvk0mz8.js → snapshot-3a8ns0zq.js} +6 -6
- package/dist/chunks/{websearch-jkm1qy7g.js → snapshot-3af2mba5.js} +22 -22
- package/dist/chunks/{websearch-7bg5w1mh.js → snapshot-3c7qpzd7.js} +8 -8
- package/dist/chunks/{websearch-9adt8sjn.js → snapshot-3eg29w99.js} +3 -3
- package/dist/chunks/{websearch-tnqy0nf3.js → snapshot-3gp53t3k.js} +5 -5
- package/dist/chunks/{websearch-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-t3wvdg9p.js → snapshot-3jwq9gv1.js} +4 -4
- package/dist/chunks/{websearch-3nnrz6f6.js → snapshot-3nnrz6f6.js} +1 -1
- package/dist/chunks/{websearch-77ewbt6v.js → snapshot-3nq0hqd3.js} +46 -46
- package/dist/chunks/{websearch-vwtqs6dw.js → snapshot-3vs65hyy.js} +43 -43
- package/dist/chunks/{websearch-40y6dtc2.js → snapshot-40y6dtc2.js} +1 -1
- package/dist/chunks/{websearch-w2erbzfb.js → snapshot-41mpagv6.js} +25 -25
- package/dist/chunks/{websearch-44pmzq9c.js → snapshot-44pmzq9c.js} +2 -2
- package/dist/chunks/{websearch-she0f6x0.js → snapshot-4ckwpsmh.js} +9 -9
- package/dist/chunks/{websearch-9rcn29c6.js → snapshot-4cvt29bt.js} +5 -5
- package/dist/chunks/{websearch-4dx1dgte.js → snapshot-4dx1dgte.js} +1 -1
- package/dist/chunks/{websearch-1xzwnpa3.js → snapshot-4phcvk1y.js} +4 -4
- package/dist/chunks/{websearch-4pyp9zr9.js → snapshot-4pyp9zr9.js} +1 -1
- package/dist/chunks/{websearch-4v008n1t.js → snapshot-4v008n1t.js} +1 -1
- package/dist/chunks/{websearch-3hx6yfq9.js → snapshot-4y4cf8wz.js} +9 -9
- package/dist/chunks/{websearch-dde50b71.js → snapshot-514yakp4.js} +9 -9
- package/dist/chunks/{websearch-fcxhy1bg.js → snapshot-53wy7vxc.js} +59 -59
- package/dist/chunks/{websearch-x8egkcce.js → snapshot-56as7762.js} +8 -8
- package/dist/chunks/{websearch-3px6refk.js → snapshot-57wqsdrt.js} +54 -54
- package/dist/chunks/{websearch-twgzj3mc.js → snapshot-5brtgjjt.js} +19 -19
- package/dist/chunks/{websearch-w2eysc6j.js → snapshot-5enarcya.js} +6 -6
- package/dist/chunks/{websearch-dv37tvfw.js → snapshot-5fqnaw5p.js} +11 -11
- package/dist/chunks/{websearch-jwbta615.js → snapshot-5j7h9397.js} +9 -9
- package/dist/chunks/{websearch-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{websearch-bt0np746.js → snapshot-5s5vgr80.js} +31 -31
- package/dist/chunks/{websearch-xdkv9aje.js → snapshot-5yngc1wr.js} +26 -26
- package/dist/chunks/{websearch-6t1yar0t.js → snapshot-60y6nkxd.js} +17 -17
- package/dist/chunks/{websearch-0j7kd182.js → snapshot-61axe90w.js} +21 -21
- package/dist/chunks/{websearch-3r7nzc54.js → snapshot-630m7pj6.js} +37 -37
- package/dist/chunks/{websearch-arwpep58.js → snapshot-66na5r0d.js} +6 -6
- package/dist/chunks/{websearch-zwmjpgg2.js → snapshot-6ac62k7f.js} +8 -8
- package/dist/chunks/{websearch-zjkf07sg.js → snapshot-6kw57h51.js} +21 -21
- package/dist/chunks/{websearch-15vxgttf.js → snapshot-6svaq6b9.js} +6 -6
- package/dist/chunks/{websearch-hb55psfx.js → snapshot-6t094yfw.js} +20 -20
- package/dist/chunks/{websearch-s0ewr7pt.js → snapshot-6x3t4g80.js} +15 -15
- package/dist/chunks/{websearch-75y7ra4v.js → snapshot-6ynbhw2q.js} +9 -9
- package/dist/chunks/{websearch-gk5mjg6z.js → snapshot-6zqadtmn.js} +17 -17
- package/dist/chunks/{websearch-d733w3w2.js → snapshot-7365qrej.js} +35 -35
- package/dist/chunks/{websearch-8akjpyn6.js → snapshot-73ff1310.js} +3 -3
- package/dist/chunks/{websearch-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-b3w9tg5p.js → snapshot-7k59hanr.js} +9 -9
- package/dist/chunks/{websearch-7w2ypzdf.js → snapshot-7w2ypzdf.js} +1 -1
- package/dist/chunks/{websearch-7weczvnd.js → snapshot-7weczvnd.js} +1 -1
- package/dist/chunks/{websearch-qt58yypc.js → snapshot-7y45ev2d.js} +19 -19
- package/dist/chunks/{websearch-80mg3ag8.js → snapshot-80mg3ag8.js} +3 -3
- package/dist/chunks/{websearch-tmnzm2n4.js → snapshot-82f9t22n.js} +11 -11
- package/dist/chunks/{websearch-nm4e5t7d.js → snapshot-85scycxr.js} +8 -8
- package/dist/chunks/{websearch-89287pr7.js → snapshot-89287pr7.js} +1 -1
- package/dist/chunks/{websearch-25h84942.js → snapshot-8b3vzgkx.js} +4 -4
- package/dist/chunks/{websearch-4d2dtj2f.js → snapshot-8cg7mtm3.js} +4 -4
- package/dist/chunks/{websearch-t5ks9hvx.js → snapshot-8ect0trh.js} +10 -10
- package/dist/chunks/{websearch-mje7w921.js → snapshot-8fz1x9j8.js} +30 -30
- package/dist/chunks/{websearch-0rcx1m6g.js → snapshot-8k1jcam5.js} +11 -11
- package/dist/chunks/{websearch-czqb1qjr.js → snapshot-8rapdqzr.js} +6 -6
- package/dist/chunks/{websearch-x2a72f7n.js → snapshot-8rxw6a8z.js} +7 -7
- package/dist/chunks/{websearch-8y3xkaz3.js → snapshot-8se009dh.js} +11 -11
- package/dist/chunks/{websearch-8sxe6kv8.js → snapshot-8sxe6kv8.js} +2 -2
- package/dist/chunks/{websearch-gp2j5m4a.js → snapshot-8t99kr38.js} +5 -5
- package/dist/chunks/{websearch-tv9zbwk4.js → snapshot-8wb5jf1p.js} +12 -12
- package/dist/chunks/{websearch-8wtp7s3z.js → snapshot-8wtp7s3z.js} +1 -1
- package/dist/chunks/{websearch-8zv0xmg5.js → snapshot-8zv0xmg5.js} +1 -1
- package/dist/chunks/{websearch-n5a26p1g.js → snapshot-96bbnxrb.js} +8 -8
- package/dist/chunks/{websearch-ykhe3pwz.js → snapshot-9k944tgw.js} +13 -13
- package/dist/chunks/{websearch-113dxhhn.js → snapshot-9mghsk5q.js} +31 -31
- package/dist/chunks/{websearch-mmx1mfjr.js → snapshot-9q8g9sv8.js} +4 -4
- package/dist/chunks/{websearch-ty3s313s.js → snapshot-9rfz62qx.js} +371 -371
- package/dist/chunks/{websearch-t8devhzt.js → snapshot-9zgswtxa.js} +11 -11
- package/dist/chunks/{websearch-7cnht21s.js → snapshot-a0gpt8d0.js} +16 -16
- package/dist/chunks/{websearch-cen6xs7k.js → snapshot-a7z42e3s.js} +43 -43
- package/dist/chunks/{websearch-qk3j45kr.js → snapshot-aeahzzfw.js} +28 -28
- package/dist/chunks/{websearch-8174pjp9.js → snapshot-asww192w.js} +7 -7
- package/dist/chunks/{websearch-ayjs7tqn.js → snapshot-ayjs7tqn.js} +2 -2
- package/dist/chunks/{websearch-fcrd7kek.js → snapshot-azqdag7d.js} +4 -4
- package/dist/chunks/{websearch-b26ddj6h.js → snapshot-b26ddj6h.js} +4 -4
- package/dist/chunks/{websearch-rsee5bvz.js → snapshot-b8n5ynpe.js} +23 -23
- package/dist/chunks/{websearch-018ygwf8.js → snapshot-bbe1kp6g.js} +46 -46
- package/dist/chunks/{websearch-n0qqqym4.js → snapshot-bknnzf62.js} +16 -16
- package/dist/chunks/{websearch-hraj3m2r.js → snapshot-bq08wdkr.js} +7 -7
- package/dist/chunks/{websearch-cqsgvhns.js → snapshot-bx0r5t3m.js} +18 -18
- package/dist/chunks/{websearch-by8ty0bx.js → snapshot-by8ty0bx.js} +1 -1
- package/dist/chunks/{websearch-31v9pztz.js → snapshot-bymhnadt.js} +20 -20
- package/dist/chunks/{websearch-hwt63114.js → snapshot-byrm4knd.js} +10 -10
- package/dist/chunks/{websearch-dhwqy0we.js → snapshot-ckmvzp96.js} +25 -25
- package/dist/chunks/{websearch-5a9v3ghz.js → snapshot-cmnz9dfe.js} +18 -18
- package/dist/chunks/{websearch-cwrgdav8.js → snapshot-cwrgdav8.js} +2 -2
- package/dist/chunks/{websearch-17nkpt1v.js → snapshot-cxab28sr.js} +7 -7
- package/dist/chunks/{websearch-8pg9khvx.js → snapshot-d4qscnvf.js} +24 -24
- package/dist/chunks/{websearch-d3j94tzm.js → snapshot-d4ta7rkx.js} +20 -20
- package/dist/chunks/{websearch-d4v9tmah.js → snapshot-d4v9tmah.js} +2 -2
- package/dist/chunks/{websearch-d1hmjp7y.js → snapshot-dmkewg4q.js} +34 -34
- package/dist/chunks/{websearch-cqexe7mm.js → snapshot-dn0g7sew.js} +21 -21
- package/dist/chunks/{websearch-tzkvzpbh.js → snapshot-dn7mn5ny.js} +1 -1
- package/dist/chunks/{websearch-65zabbgk.js → snapshot-dnjd9zrp.js} +32 -32
- package/dist/chunks/{websearch-prmd7maf.js → snapshot-dprrv77t.js} +28 -28
- package/dist/chunks/{websearch-dt77769w.js → snapshot-dt77769w.js} +1 -1
- package/dist/chunks/{websearch-1n4r7n57.js → snapshot-dzazj0k8.js} +9 -9
- package/dist/chunks/{websearch-srjvnkn1.js → snapshot-e2gkg7vd.js} +28 -28
- package/dist/chunks/{websearch-1zp5gehg.js → snapshot-e7vv2re3.js} +12 -12
- package/dist/chunks/{websearch-e834z07m.js → snapshot-e834z07m.js} +1 -1
- package/dist/chunks/{websearch-jg8f40mm.js → snapshot-e9p425tq.js} +6 -6
- package/dist/chunks/{websearch-was0gpsp.js → snapshot-eb2pkeh6.js} +13 -13
- package/dist/chunks/{websearch-x7xvgcnz.js → snapshot-efxwzafa.js} +23 -23
- package/dist/chunks/{websearch-160yv0cs.js → snapshot-enkpkfwx.js} +8 -8
- package/dist/chunks/{websearch-6v79466p.js → snapshot-ep1p88tq.js} +43 -43
- package/dist/chunks/{websearch-eqw4pqj1.js → snapshot-eqw4pqj1.js} +2 -2
- package/dist/chunks/{websearch-xs3ghnma.js → snapshot-et6sct6b.js} +17 -17
- package/dist/chunks/{websearch-f80thpwy.js → snapshot-f80thpwy.js} +3 -3
- package/dist/chunks/{websearch-qyk7yqf5.js → snapshot-fc1k9s97.js} +4 -4
- package/dist/chunks/{websearch-fffv3p7h.js → snapshot-fffv3p7h.js} +1 -1
- package/dist/chunks/{websearch-rgxj28vr.js → snapshot-fqa0v964.js} +5 -5
- package/dist/chunks/{websearch-sbfaben9.js → snapshot-fr1mmx5p.js} +9 -9
- package/dist/chunks/{websearch-6q8jj3zs.js → snapshot-fyfzbt3s.js} +3 -3
- package/dist/chunks/{websearch-p3mwstat.js → snapshot-fyprt7ne.js} +30 -30
- package/dist/chunks/{websearch-xesjzmcz.js → snapshot-g4qkj14d.js} +30 -30
- package/dist/chunks/{websearch-1fky6823.js → snapshot-g9j01vfy.js} +27 -27
- package/dist/chunks/{websearch-gbjdnr5j.js → snapshot-gbjdnr5j.js} +2 -2
- package/dist/chunks/{websearch-sdt5j0rm.js → snapshot-ghrv1g9c.js} +4 -4
- package/dist/chunks/{websearch-xtq9xpt1.js → snapshot-gnkmn8c6.js} +1 -1
- package/dist/chunks/{websearch-h3vt1dkd.js → snapshot-gs87fjen.js} +9 -9
- package/dist/chunks/{websearch-qx1dmrf5.js → snapshot-gt8yp5s4.js} +32 -32
- package/dist/chunks/{websearch-tg7s7b5t.js → snapshot-gxs71cxp.js} +4 -4
- package/dist/chunks/{websearch-11cgg1x0.js → snapshot-h2wtet1n.js} +18 -18
- package/dist/chunks/{websearch-6d44ntx8.js → snapshot-h33mqax3.js} +24 -24
- package/dist/chunks/{websearch-j8y3vq2x.js → snapshot-h8vrv133.js} +9 -9
- package/dist/chunks/{websearch-dp6qa98y.js → snapshot-hajwptme.js} +30 -30
- package/dist/chunks/{websearch-wfq5xntj.js → snapshot-hawebzt1.js} +8 -8
- package/dist/chunks/{websearch-7xe2t2rb.js → snapshot-hcwz4r95.js} +4 -4
- package/dist/chunks/{websearch-4546nbbp.js → snapshot-hfqyadmy.js} +29 -29
- package/dist/chunks/{websearch-hgzwgvze.js → snapshot-hgzwgvze.js} +2 -2
- package/dist/chunks/{websearch-579s86j3.js → snapshot-hr8h2z9v.js} +33 -33
- package/dist/chunks/{websearch-1v2te4j6.js → snapshot-ht8v4edy.js} +12 -12
- package/dist/chunks/{websearch-xm9acgbj.js → snapshot-jd7kwnag.js} +20 -20
- package/dist/chunks/{websearch-qsdghx1p.js → snapshot-jg11hrrc.js} +4 -4
- package/dist/chunks/{websearch-q7y3b9g0.js → snapshot-jjfmry33.js} +4 -4
- package/dist/chunks/{websearch-s26c8eb5.js → snapshot-jkdcm5hg.js} +4 -4
- package/dist/chunks/{websearch-jm70asfg.js → snapshot-jm70asfg.js} +1 -1
- package/dist/chunks/{websearch-qjqr9778.js → snapshot-jpwdyfrn.js} +3 -3
- package/dist/chunks/{websearch-26q5nzkf.js → snapshot-js5wq0dg.js} +44 -44
- package/dist/chunks/snapshot-k2zk2wsm.js +26 -0
- package/dist/chunks/{websearch-15ph8jm3.js → snapshot-k3b2zed8.js} +2 -2
- package/dist/chunks/{websearch-69rarv6g.js → snapshot-k46dd5bg.js} +4 -4
- package/dist/chunks/{websearch-zhjfj844.js → snapshot-k7yqc6fx.js} +20 -20
- package/dist/chunks/{websearch-qah7t4da.js → snapshot-ka01146j.js} +6 -6
- package/dist/chunks/{websearch-0gp4h782.js → snapshot-kbtcw8xz.js} +4 -4
- package/dist/chunks/{websearch-rgmjspb1.js → snapshot-kc65v90j.js} +15 -15
- package/dist/chunks/{websearch-h0errzrk.js → snapshot-kmgpjap8.js} +9 -9
- package/dist/chunks/{websearch-34hdccd2.js → snapshot-kpar2yww.js} +5 -5
- package/dist/chunks/{websearch-9ct6d5jy.js → snapshot-kt6mnc23.js} +12 -12
- package/dist/chunks/{websearch-tf1kv2zk.js → snapshot-kvx0j822.js} +10 -10
- package/dist/chunks/{websearch-kzczzf4v.js → snapshot-kzczzf4v.js} +1 -1
- package/dist/chunks/{websearch-m1714858.js → snapshot-m1714858.js} +1 -1
- package/dist/chunks/{websearch-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-mb7mbhnz.js → snapshot-mb7mbhnz.js} +3 -3
- package/dist/chunks/{websearch-m1nhdkbz.js → snapshot-mbv6mwvq.js} +17 -17
- package/dist/chunks/snapshot-me0dhgxs.js +18 -0
- package/dist/chunks/{websearch-6jy63yp3.js → snapshot-mjwp963m.js} +5 -5
- package/dist/chunks/{websearch-mm06edep.js → snapshot-mm06edep.js} +1 -1
- package/dist/chunks/{websearch-fwc5tj9a.js → snapshot-mmzs51g0.js} +4 -4
- package/dist/chunks/{websearch-4qhm99kk.js → snapshot-mqts9s50.js} +32 -32
- package/dist/chunks/{websearch-nrzr7xre.js → snapshot-mx99e4e0.js} +3 -3
- package/dist/chunks/{websearch-9xt2t60y.js → snapshot-myhv78j0.js} +16 -16
- package/dist/chunks/{websearch-cw03yx37.js → snapshot-n0xkwhyy.js} +13 -13
- package/dist/chunks/{websearch-14c5a271.js → snapshot-n1n5z8vk.js} +12 -12
- package/dist/chunks/{websearch-303hrxsq.js → snapshot-n8dj1vhf.js} +11 -11
- package/dist/chunks/{websearch-pnk5fpje.js → snapshot-njsq8t5a.js} +13 -13
- package/dist/chunks/{websearch-4z3wr68n.js → snapshot-nn60rr9d.js} +18 -18
- package/dist/chunks/{websearch-qyw48rsr.js → snapshot-npcmzr5b.js} +5 -5
- package/dist/chunks/{websearch-43vtf5ez.js → snapshot-nt907s04.js} +3 -3
- package/dist/chunks/{websearch-zh6d0xpn.js → snapshot-nvzm05vt.js} +40 -40
- package/dist/chunks/{websearch-j2vaf1fq.js → snapshot-nykt9t0z.js} +33 -33
- package/dist/chunks/{websearch-wvr8xscb.js → snapshot-nyxvvj5y.js} +4 -4
- package/dist/chunks/{websearch-fb4qva1m.js → snapshot-p22bebpc.js} +25 -25
- package/dist/chunks/{websearch-ph2hg484.js → snapshot-p94p4v4n.js} +6 -6
- package/dist/chunks/{websearch-zqtahfwj.js → snapshot-pa2edbxf.js} +35 -35
- package/dist/chunks/{websearch-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-r7xar5ns.js → snapshot-pnwsrq7c.js} +8 -8
- package/dist/chunks/{websearch-nhgvbh90.js → snapshot-pr9p0dy2.js} +195 -195
- package/dist/chunks/{websearch-ptz3q700.js → snapshot-prkzwwvs.js} +18 -18
- package/dist/chunks/{websearch-fg9p65nk.js → snapshot-prq7xxp2.js} +6 -6
- package/dist/chunks/{websearch-5yf0dsvg.js → snapshot-q4qbsr0k.js} +6 -6
- package/dist/chunks/{websearch-d4qb2rc3.js → snapshot-qffk4v12.js} +4 -4
- package/dist/chunks/{websearch-7nqkf5r1.js → snapshot-qj27ec1j.js} +2 -2
- package/dist/chunks/{websearch-xsact9zs.js → snapshot-qkc3z5ds.js} +4 -4
- package/dist/chunks/{websearch-7fv9ch23.js → snapshot-qn0rvs2z.js} +10 -10
- package/dist/chunks/{websearch-qp7r0hxv.js → snapshot-qp7r0hxv.js} +1 -1
- package/dist/chunks/{websearch-0zzk3tmh.js → snapshot-qs2j0e81.js} +6 -6
- package/dist/chunks/{websearch-963hk181.js → snapshot-r221x7m0.js} +9 -9
- package/dist/chunks/{websearch-r542h3bh.js → snapshot-r542h3bh.js} +1 -1
- package/dist/chunks/{websearch-2tb7ya0c.js → snapshot-r5ygqrmq.js} +35 -35
- package/dist/chunks/{websearch-4fk5k54d.js → snapshot-rafapdr7.js} +41 -41
- package/dist/chunks/{websearch-rb9dy4dg.js → snapshot-rb9dy4dg.js} +1 -1
- package/dist/chunks/{websearch-rgc9cx3e.js → snapshot-rgc9cx3e.js} +2 -2
- package/dist/chunks/{websearch-2kj7f5bg.js → snapshot-rhv95hk9.js} +4 -4
- package/dist/chunks/{websearch-57zt8cgy.js → snapshot-rjkrww1f.js} +18 -18
- package/dist/chunks/{websearch-n6crcejg.js → snapshot-rmwqpay1.js} +16 -16
- package/dist/chunks/{websearch-562ra4bt.js → snapshot-rpcj538m.js} +22 -22
- package/dist/chunks/{websearch-kmx2m23h.js → snapshot-rq73nrhw.js} +19 -19
- package/dist/chunks/{websearch-rt5dr6hb.js → snapshot-rt5dr6hb.js} +1 -1
- package/dist/chunks/{websearch-k0t48ct5.js → snapshot-rtq91j57.js} +34 -34
- package/dist/chunks/{websearch-8qnbcfnb.js → snapshot-rw2sy5ke.js} +29 -29
- package/dist/chunks/{websearch-8j0p6sgs.js → snapshot-s5qhddv9.js} +41 -41
- package/dist/chunks/{websearch-xndr4f41.js → snapshot-s7961e4w.js} +5 -5
- package/dist/chunks/{websearch-sbya78hr.js → snapshot-sbya78hr.js} +1 -1
- package/dist/chunks/{websearch-t8erkws8.js → snapshot-scmk72rv.js} +5 -5
- package/dist/chunks/{websearch-01v1xc0y.js → snapshot-sfgr6aqd.js} +8 -8
- package/dist/chunks/{websearch-y369krdc.js → snapshot-sfp1bk3e.js} +24 -24
- package/dist/chunks/{websearch-1xchv32x.js → snapshot-sp7jxa2x.js} +11 -11
- package/dist/chunks/{websearch-nchw3v9s.js → snapshot-sp85y8nd.js} +5 -5
- package/dist/chunks/{websearch-ctmpqb7w.js → snapshot-spnp93qq.js} +9 -9
- package/dist/chunks/{websearch-4pkyh6s5.js → snapshot-ssvg7s5c.js} +6 -6
- package/dist/chunks/{websearch-waxs79pj.js → snapshot-stvjrq57.js} +27 -27
- package/dist/chunks/{websearch-svcy3p9a.js → snapshot-svcy3p9a.js} +1 -1
- package/dist/chunks/{websearch-7808fgwc.js → snapshot-t0608nav.js} +6 -6
- package/dist/chunks/{websearch-ywbnw3r8.js → snapshot-t2ptefk5.js} +33 -33
- package/dist/chunks/{websearch-5mve24ky.js → snapshot-t6rf1rxd.js} +11 -11
- package/dist/chunks/{websearch-6e93h5w1.js → snapshot-t8rp0v0x.js} +5 -5
- package/dist/chunks/{websearch-tbpn7jtk.js → snapshot-tbpn7jtk.js} +1 -1
- package/dist/chunks/{websearch-tczq8hjw.js → snapshot-tczq8hjw.js} +1 -1
- package/dist/chunks/{websearch-c20jg9zt.js → snapshot-tdh5v2vm.js} +37 -37
- package/dist/chunks/{websearch-mag4r77j.js → snapshot-tgxb7dd2.js} +8 -8
- package/dist/chunks/{websearch-8fvgh1b7.js → snapshot-thctk1fr.js} +7 -7
- package/dist/chunks/{websearch-p4yk01hn.js → snapshot-tpaswdtr.js} +19 -19
- package/dist/chunks/{websearch-tr8x705m.js → snapshot-tr8x705m.js} +1 -1
- package/dist/chunks/{websearch-twssxy5n.js → snapshot-twssxy5n.js} +2 -2
- package/dist/chunks/{websearch-fjayhsh1.js → snapshot-v24q14rn.js} +21 -21
- package/dist/chunks/{websearch-v2r1d0zg.js → snapshot-v2r1d0zg.js} +1 -1
- package/dist/chunks/{websearch-feej13hr.js → snapshot-v5xn4g89.js} +17 -17
- package/dist/chunks/{websearch-3htf247x.js → snapshot-v89tvs6b.js} +38 -38
- package/dist/chunks/{websearch-t06n71m2.js → snapshot-vajrtfbv.js} +9 -9
- package/dist/chunks/{websearch-6yjm8gz9.js → snapshot-vcpxbyv2.js} +12 -12
- package/dist/chunks/{websearch-6ts7d16h.js → snapshot-vcyed7dt.js} +19 -19
- package/dist/chunks/{websearch-3ybp9snj.js → snapshot-vdjyampr.js} +18 -18
- package/dist/chunks/{websearch-vjf35v1f.js → snapshot-vjf35v1f.js} +1 -1
- package/dist/chunks/{websearch-5dctr02w.js → snapshot-vkpdcgy6.js} +10 -10
- package/dist/chunks/{websearch-5q1e55tr.js → snapshot-vpbqqa2t.js} +66 -66
- package/dist/chunks/{websearch-229tvxdn.js → snapshot-vt2d6wap.js} +4 -4
- package/dist/chunks/{websearch-t9ayhqev.js → snapshot-vwr292tq.js} +15 -15
- package/dist/chunks/{websearch-txt8scf5.js → snapshot-vxyg458r.js} +5 -5
- package/dist/chunks/{websearch-4p1v9b09.js → snapshot-w0rs5v7f.js} +12 -12
- package/dist/chunks/{websearch-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-kdyfz8ya.js → snapshot-w9k68kbh.js} +32 -32
- package/dist/chunks/{websearch-wakvkjy4.js → snapshot-wakvkjy4.js} +1 -1
- package/dist/chunks/{websearch-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-wegkxhrn.js → snapshot-wegkxhrn.js} +2 -2
- package/dist/chunks/{websearch-ky6s0s89.js → snapshot-wetw6hdx.js} +4 -4
- package/dist/chunks/{websearch-gqkbdare.js → snapshot-wfagck9d.js} +31 -31
- package/dist/chunks/{websearch-5rdcyq6m.js → snapshot-wmmd2mgq.js} +11 -11
- package/dist/chunks/{websearch-sj16v79n.js → snapshot-wnmfmd7a.js} +41 -41
- package/dist/chunks/{websearch-p779q22c.js → snapshot-wnz4bhf7.js} +16 -16
- package/dist/chunks/{websearch-ae5d7kje.js → snapshot-wqxxyv8g.js} +8 -8
- package/dist/chunks/{websearch-26k9y64w.js → snapshot-wr2vpd98.js} +26 -26
- package/dist/chunks/{websearch-wr3re1en.js → snapshot-wr3re1en.js} +1 -1
- package/dist/chunks/{websearch-c7cw818c.js → snapshot-wt99tj4q.js} +5 -5
- package/dist/chunks/{websearch-3m05c0cq.js → snapshot-wxp8srpk.js} +27 -27
- package/dist/chunks/{websearch-jm6p3m1h.js → snapshot-wy9n8gw6.js} +4 -4
- package/dist/chunks/{websearch-j51gz26f.js → snapshot-x14xgwms.js} +14 -14
- package/dist/chunks/{websearch-2gk79xxr.js → snapshot-x30drkm9.js} +9 -9
- package/dist/chunks/{websearch-m00vsn5v.js → snapshot-x5cd4jne.js} +6 -6
- package/dist/chunks/{websearch-rwsvs2zv.js → snapshot-x5jrh813.js} +21 -21
- package/dist/chunks/{websearch-dcf61htd.js → snapshot-x7gqg7ek.js} +30 -30
- package/dist/chunks/{websearch-xd9cc171.js → snapshot-xd9cc171.js} +1 -1
- package/dist/chunks/{websearch-snkxv940.js → snapshot-xg63pjz7.js} +91 -91
- package/dist/chunks/{websearch-53k62gwg.js → snapshot-xgb5f7k4.js} +31 -31
- package/dist/chunks/{websearch-3adw4bt5.js → snapshot-xjbsd7zy.js} +9 -9
- package/dist/chunks/{websearch-1h55q8d4.js → snapshot-xnb7nwp3.js} +19 -19
- package/dist/chunks/{websearch-fhwn87jp.js → snapshot-xp2necrq.js} +4 -4
- package/dist/chunks/{websearch-jhxq1tat.js → snapshot-xr945fy7.js} +9 -9
- package/dist/chunks/{websearch-cm49rdpp.js → snapshot-xrse402f.js} +21 -21
- package/dist/chunks/{websearch-5s27s1jg.js → snapshot-xsjsxdt4.js} +71 -71
- package/dist/chunks/{websearch-f6j9bt41.js → snapshot-xvnz1k2w.js} +15 -15
- package/dist/chunks/{websearch-xxschbft.js → snapshot-xxschbft.js} +1 -1
- package/dist/chunks/{websearch-rc2fa2qp.js → snapshot-xys0ztgp.js} +6 -6
- package/dist/chunks/{websearch-2wm18x6z.js → snapshot-y0g3fq3q.js} +46 -46
- package/dist/chunks/{websearch-48jnvsgc.js → snapshot-y4f5tm6x.js} +11 -11
- package/dist/chunks/{websearch-9vkfd52a.js → snapshot-y5d8h2t3.js} +10 -10
- package/dist/chunks/{websearch-a6pgsjan.js → snapshot-y8ygc9hf.js} +12 -12
- package/dist/chunks/{websearch-yb20nhc3.js → snapshot-yb20nhc3.js} +1 -1
- package/dist/chunks/{websearch-g1qv1qsc.js → snapshot-ycnr8m9v.js} +20 -20
- package/dist/chunks/{websearch-0qh86b45.js → snapshot-yf7mhq0c.js} +8 -8
- package/dist/chunks/{websearch-3cng5rsk.js → snapshot-ykqxbn30.js} +2 -2
- package/dist/chunks/{websearch-yr705xyq.js → snapshot-yr705xyq.js} +1 -1
- package/dist/chunks/{websearch-yts2a8qm.js → snapshot-yts2a8qm.js} +1 -1
- package/dist/chunks/{websearch-xaace62h.js → snapshot-yvgm7584.js} +3 -3
- package/dist/chunks/{websearch-yvtc2x31.js → snapshot-yvtc2x31.js} +1 -1
- package/dist/chunks/{websearch-ty79pr9q.js → snapshot-yy4h3cdn.js} +4 -4
- package/dist/chunks/{websearch-nsa4x5fw.js → snapshot-yz9djv5n.js} +8 -8
- package/dist/chunks/{websearch-rzg6y5rp.js → snapshot-z080rjh6.js} +4 -4
- package/dist/chunks/{websearch-sdn2zcx3.js → snapshot-z0c26qk4.js} +2 -2
- package/dist/chunks/{websearch-7n9j26d1.js → snapshot-z4nf36k7.js} +6 -6
- package/dist/chunks/{websearch-5n3kkpqs.js → snapshot-zab7qwhj.js} +8 -8
- package/dist/chunks/{websearch-tded9a6w.js → snapshot-zb3ygvq6.js} +4 -4
- package/dist/chunks/{websearch-ze75qvmd.js → snapshot-ze75qvmd.js} +3 -3
- package/dist/chunks/{websearch-t6sdp3r1.js → snapshot-zn0n3tdw.js} +25 -25
- package/dist/chunks/{websearch-bxd0gs62.js → snapshot-zx1h4a3k.js} +11 -11
- package/dist/chunks/{websearch-6b3k77w9.js → snapshot-zx3jtz5g.js} +8 -8
- package/dist/chunks/{websearch-h58wv818.js → snapshot-zy3yv4tt.js} +11 -11
- 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 +92 -92
- package/dist/config/discovery.js +97 -97
- 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 +131 -131
- package/dist/config/plugin/command.js +238 -238
- 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 +141 -141
- 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 +132 -132
- 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 +128 -128
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- 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 +133 -133
- 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 +83 -83
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/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 +108 -108
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +83 -83
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- 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 +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +251 -251
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +113 -113
- 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 +129 -129
- package/dist/form.js +95 -95
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- 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 +102 -102
- 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 +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +180 -180
- package/dist/location-lifecycle.js +149 -149
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +102 -102
- 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 +189 -189
- 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 +110 -110
- 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 +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- 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 +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +407 -407
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- 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 +133 -133
- 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 +1 -1
- 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 +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- 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 +6 -6
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- 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 +4 -4
- 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 +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +415 -415
- 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 +9 -9
- 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 +1 -1
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +251 -251
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +105 -105
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +107 -107
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- 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 +263 -263
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +134 -134
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +171 -171
- 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 +5 -5
- 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 +206 -206
- 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 +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +146 -146
- 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 +3 -3
- package/dist/session/runner/step.js +164 -164
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +188 -188
- 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 +87 -87
- 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 +207 -207
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +249 -249
- package/dist/session/usage.js +1 -1
- package/dist/session.js +243 -243
- 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 +15 -15
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +159 -159
- 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 +186 -186
- 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 +172 -172
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +247 -247
- 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 +243 -243
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +116 -116
- 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 +161 -161
- package/dist/usage-limits.js +94 -94
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +8 -8
- package/dist/chunks/websearch-8x060fmy.js +0 -18
- package/dist/chunks/websearch-chf4vmba.js +0 -265
- package/dist/chunks/websearch-p9dh7etz.js +0 -26
- /package/dist/chunks/{websearch-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-108x4f4w.js → snapshot-108x4f4w.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kah00gy.js → snapshot-1kah00gy.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3af0jn4w.js → snapshot-3af0jn4w.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4qk9sjk2.js → snapshot-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-5w3e23ze.js → snapshot-5w3e23ze.js} +0 -0
- /package/dist/chunks/{websearch-6agm2x70.js → snapshot-6agm2x70.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-beh6qq61.js → snapshot-beh6qq61.js} +0 -0
- /package/dist/chunks/{websearch-bhmrqjy3.js → snapshot-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cqv5kn06.js → snapshot-cqv5kn06.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-ean2d8b5.js → snapshot-ean2d8b5.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fkpq3x5p.js → snapshot-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jwr30sdr.js → snapshot-jwr30sdr.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-nh4v3znn.js → snapshot-nh4v3znn.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-p71gwv9c.js → snapshot-p71gwv9c.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-syrav9an.js → snapshot-syrav9an.js} +0 -0
- /package/dist/chunks/{websearch-t03h4f5z.js → snapshot-t03h4f5z.js} +0 -0
- /package/dist/chunks/{websearch-ty7weeps.js → snapshot-ty7weeps.js} +0 -0
- /package/dist/chunks/{websearch-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{websearch-vtarvj67.js → snapshot-vtarvj67.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x4th4bpe.js → snapshot-x4th4bpe.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-z0h12gs8.js → snapshot-z0h12gs8.js} +0 -0
- /package/dist/chunks/{websearch-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
- /package/dist/chunks/{websearch-zxpyjp51.js → snapshot-zxpyjp51.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service90,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-1bnkpzt2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./snapshot-1nscgprg.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service63,
|
|
11
|
+
node66
|
|
12
|
+
} from "./snapshot-cmnz9dfe.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
NotFoundError10
|
|
15
|
+
} from "./snapshot-qs2j0e81.js";
|
|
16
16
|
import {
|
|
17
17
|
match3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-1aqsckx4.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service61,
|
|
21
|
+
node64
|
|
22
|
+
} from "./snapshot-x14xgwms.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service62,
|
|
25
|
+
node65
|
|
26
|
+
} from "./snapshot-v24q14rn.js";
|
|
27
27
|
import {
|
|
28
28
|
Service64,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
node67
|
|
30
|
+
} from "./snapshot-xp2necrq.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission = {};
|
|
@@ -39,30 +39,30 @@ __export(exports_permission, {
|
|
|
39
39
|
CorrectedError: () => CorrectedError2,
|
|
40
40
|
DeclinedError: () => DeclinedError2,
|
|
41
41
|
Effect: () => PermissionEffect,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
NotFoundError: () =>
|
|
42
|
+
Event: () => Event9,
|
|
43
|
+
ID: () => ID10,
|
|
44
|
+
NotFoundError: () => NotFoundError9,
|
|
45
45
|
Permission: () => exports_permission,
|
|
46
46
|
Reply: () => Reply2,
|
|
47
47
|
Request: () => Request3,
|
|
48
48
|
Rule: () => Rule2,
|
|
49
49
|
Ruleset: () => Ruleset2,
|
|
50
|
-
Service: () =>
|
|
50
|
+
Service: () => Service60,
|
|
51
51
|
Source: () => Source4,
|
|
52
52
|
Unattended: () => Unattended2,
|
|
53
53
|
evaluate: () => evaluate3,
|
|
54
54
|
invocation: () => invocation2,
|
|
55
55
|
merge: () => merge2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node63
|
|
57
57
|
});
|
|
58
58
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
59
59
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
60
60
|
import { Permission } from "@opencode/schema/permission";
|
|
61
61
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
62
|
-
import { Event as
|
|
62
|
+
import { Event as Event9 } from "@opencode/schema/permission";
|
|
63
63
|
var PermissionEffect = Permission.Effect;
|
|
64
64
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
65
|
-
var
|
|
65
|
+
var ID10 = Permission.ID;
|
|
66
66
|
var Source4 = Permission.Source;
|
|
67
67
|
var Request3 = Permission.Request;
|
|
68
68
|
var Reply2 = Permission.Reply;
|
|
@@ -99,8 +99,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
class
|
|
103
|
-
requestID:
|
|
102
|
+
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
103
|
+
requestID: ID10
|
|
104
104
|
}) {
|
|
105
105
|
}
|
|
106
106
|
function evaluate3(action, resource, ...rulesets) {
|
|
@@ -114,14 +114,14 @@ function merge2(...rulesets) {
|
|
|
114
114
|
return rulesets.flat();
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service60 extends Context.Service()("@opencode/Permission") {
|
|
118
118
|
}
|
|
119
|
-
var layer = Layer.effect(
|
|
120
|
-
const bus = yield*
|
|
121
|
-
const location = yield*
|
|
122
|
-
const agents = yield*
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const saved = yield*
|
|
119
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
120
|
+
const bus = yield* Service90;
|
|
121
|
+
const location = yield* Service82;
|
|
122
|
+
const agents = yield* Service63;
|
|
123
|
+
const sessions = yield* Service61;
|
|
124
|
+
const saved = yield* Service62;
|
|
125
125
|
const hooks = yield* Service64;
|
|
126
126
|
const pending = new Map;
|
|
127
127
|
let closed = false;
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
145
145
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
146
146
|
const session = yield* sessions.get(sessionID);
|
|
147
147
|
if (!session)
|
|
148
|
-
return yield* new
|
|
148
|
+
return yield* new NotFoundError10({ sessionID });
|
|
149
149
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
150
150
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
151
151
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID10.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID10.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -258,7 +258,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
258
258
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
259
259
|
const existing = pending.get(input.requestID);
|
|
260
260
|
if (!existing)
|
|
261
|
-
return yield* new
|
|
261
|
+
return yield* new NotFoundError9({ requestID: input.requestID });
|
|
262
262
|
yield* bus.publish(Permission.Event.Replied, {
|
|
263
263
|
sessionID: existing.request.sessionID,
|
|
264
264
|
requestID: existing.request.id,
|
|
@@ -313,12 +313,12 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
313
313
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
314
314
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
315
315
|
});
|
|
316
|
-
return
|
|
316
|
+
return Service60.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
|
|
317
317
|
}));
|
|
318
|
-
var
|
|
319
|
-
service:
|
|
318
|
+
var node63 = makeLocationNode({
|
|
319
|
+
service: Service60,
|
|
320
320
|
layer,
|
|
321
|
-
deps: [node94,
|
|
321
|
+
deps: [node94, node86, node66, node64, node65, node67]
|
|
322
322
|
});
|
|
323
323
|
|
|
324
|
-
export { PermissionEffect,
|
|
324
|
+
export { PermissionEffect, ID10, Source4, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate3, merge2, Service60, node63, exports_permission, Rule2, Ruleset2, Event9 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service91,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-2mr5qzhg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service90,
|
|
7
7
|
node94
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-1bnkpzt2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service57,
|
|
11
|
+
node60
|
|
12
|
+
} from "./snapshot-ka01146j.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service83,
|
|
19
|
+
node87
|
|
20
|
+
} from "./snapshot-57wqsdrt.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Ref4
|
|
23
|
+
} from "./snapshot-1nscgprg.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service68,
|
|
26
|
+
node72
|
|
27
|
+
} from "./snapshot-sp7jxa2x.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError10
|
|
33
|
+
} from "./snapshot-qs2j0e81.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./snapshot-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service55
|
|
39
|
+
} from "./snapshot-qkc3z5ds.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service61,
|
|
42
|
+
node64
|
|
43
|
+
} from "./snapshot-x14xgwms.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service56,
|
|
48
|
+
node59,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./snapshot-2g1mk09r.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service54,
|
|
53
|
+
node58
|
|
54
|
+
} from "./snapshot-s5qhddv9.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node30
|
|
57
|
+
} from "./snapshot-wxp8srpk.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service25,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node29
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service25 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
91
|
+
const projects = yield* Service83;
|
|
92
|
+
const locations = yield* Service68;
|
|
93
|
+
const store = yield* Service61;
|
|
94
|
+
const execution = yield* Service54;
|
|
95
|
+
const instances = yield* Service57;
|
|
96
|
+
const admission = yield* Service56;
|
|
97
|
+
const database = yield* Service91;
|
|
98
|
+
const bus = yield* Service90;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError10({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
115
115
|
return yield* new DestinationNotDirectoryError2({ directory });
|
|
116
116
|
const project = yield* projects.resolve(directory);
|
|
117
117
|
const destination = {
|
|
118
|
-
location:
|
|
118
|
+
location: Ref4.make({ directory, workspaceID: input.workspaceID }),
|
|
119
119
|
projectID: project.id,
|
|
120
120
|
subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
|
|
121
121
|
};
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service55.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service25.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node29 = makeGlobalNode({
|
|
167
|
+
service: Service25,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
node87,
|
|
173
|
+
node72,
|
|
174
|
+
node64,
|
|
175
|
+
node58,
|
|
174
176
|
node60,
|
|
175
|
-
|
|
176
|
-
node55,
|
|
177
|
-
node54,
|
|
177
|
+
node59,
|
|
178
178
|
node95,
|
|
179
179
|
node94,
|
|
180
|
-
|
|
180
|
+
node30
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service25, node29, exports_move };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
node71
|
|
3
|
+
} from "./snapshot-t6rf1rxd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service90,
|
|
6
6
|
node94
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-1bnkpzt2.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service82,
|
|
10
|
+
node86
|
|
11
|
+
} from "./snapshot-1nscgprg.js";
|
|
12
12
|
import {
|
|
13
13
|
changes2,
|
|
14
14
|
create4
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-40y6dtc2.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service89,
|
|
18
|
+
node93
|
|
19
|
+
} from "./snapshot-y8ygc9hf.js";
|
|
20
20
|
import {
|
|
21
21
|
Service65,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
node68
|
|
23
|
+
} from "./snapshot-bbe1kp6g.js";
|
|
24
24
|
import {
|
|
25
25
|
resolver2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./snapshot-bq08wdkr.js";
|
|
27
27
|
import {
|
|
28
28
|
detect2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./snapshot-4pyp9zr9.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service22,
|
|
32
|
+
node26
|
|
33
|
+
} from "./snapshot-088br6wp.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/artifact.ts
|
|
39
39
|
var exports_artifact2 = {};
|
|
@@ -41,23 +41,23 @@ __export(exports_artifact2, {
|
|
|
41
41
|
Artifact: () => exports_artifact2,
|
|
42
42
|
Capability: () => Capability2,
|
|
43
43
|
Content: () => Content2,
|
|
44
|
-
CreateInput: () =>
|
|
45
|
-
DisabledError: () =>
|
|
46
|
-
Event: () =>
|
|
44
|
+
CreateInput: () => CreateInput4,
|
|
45
|
+
DisabledError: () => DisabledError3,
|
|
46
|
+
Event: () => Event5,
|
|
47
47
|
FileMissingError: () => FileMissingError2,
|
|
48
|
-
ID: () =>
|
|
49
|
-
Info: () =>
|
|
48
|
+
ID: () => ID7,
|
|
49
|
+
Info: () => Info7,
|
|
50
50
|
InvalidError: () => InvalidError3,
|
|
51
51
|
LocalProviderID: () => LocalProviderID2,
|
|
52
|
-
NotFoundError: () =>
|
|
53
|
-
Provider: () =>
|
|
52
|
+
NotFoundError: () => NotFoundError4,
|
|
53
|
+
Provider: () => Provider2,
|
|
54
54
|
ProviderError: () => ProviderError2,
|
|
55
55
|
ProviderID: () => ProviderID2,
|
|
56
|
-
ProviderNotFoundError: () =>
|
|
57
|
-
Service: () =>
|
|
56
|
+
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
57
|
+
Service: () => Service21,
|
|
58
58
|
UpdateInput: () => UpdateInput3,
|
|
59
59
|
locate: () => locate2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node25
|
|
61
61
|
});
|
|
62
62
|
import { randomUUID } from "node:crypto";
|
|
63
63
|
import fs from "node:fs/promises";
|
|
@@ -66,11 +66,11 @@ import { lookup } from "mime-types";
|
|
|
66
66
|
import {
|
|
67
67
|
Capability as Capability2,
|
|
68
68
|
Content as Content2,
|
|
69
|
-
CreateInput as
|
|
70
|
-
Event as
|
|
71
|
-
ID as
|
|
72
|
-
Info as
|
|
73
|
-
Provider as
|
|
69
|
+
CreateInput as CreateInput4,
|
|
70
|
+
Event as Event5,
|
|
71
|
+
ID as ID7,
|
|
72
|
+
Info as Info7,
|
|
73
|
+
Provider as Provider2,
|
|
74
74
|
ProviderID as ProviderID2,
|
|
75
75
|
UpdateInput as UpdateInput3
|
|
76
76
|
} from "@opencode/schema/artifact";
|
|
@@ -80,14 +80,14 @@ import { Clock, Context, Effect, Layer, Option, Schema } from "effect";
|
|
|
80
80
|
var LocalProviderID2 = ProviderID2.make("local");
|
|
81
81
|
var ItemPrefix = "artifact:item:";
|
|
82
82
|
|
|
83
|
-
class
|
|
83
|
+
class DisabledError3 extends Schema.TaggedError()("Artifact.DisabledError", {}) {
|
|
84
84
|
get message() {
|
|
85
85
|
return "Artifacts are disabled; set experimental.artifacts in config";
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
class
|
|
90
|
-
artifactID:
|
|
89
|
+
class NotFoundError4 extends Schema.TaggedError()("Artifact.NotFoundError", {
|
|
90
|
+
artifactID: ID7
|
|
91
91
|
}) {
|
|
92
92
|
get message() {
|
|
93
93
|
return `Artifact not found: ${this.artifactID}`;
|
|
@@ -95,7 +95,7 @@ class NotFoundError5 extends Schema.TaggedError()("Artifact.NotFoundError", {
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError", {
|
|
98
|
-
artifactID:
|
|
98
|
+
artifactID: ID7,
|
|
99
99
|
path: Schema.String
|
|
100
100
|
}) {
|
|
101
101
|
get message() {
|
|
@@ -103,7 +103,7 @@ class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError"
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class ProviderNotFoundError2 extends Schema.TaggedError()("Artifact.ProviderNotFoundError", {
|
|
107
107
|
providerID: ProviderID2
|
|
108
108
|
}) {
|
|
109
109
|
get message() {
|
|
@@ -129,10 +129,10 @@ class ProviderError2 extends Schema.TaggedError()("Artifact.ProviderError", {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
class
|
|
132
|
+
class Service21 extends Context.Service()("@opencode/Artifact") {
|
|
133
133
|
}
|
|
134
134
|
var StoredRecord = Schema.Struct({
|
|
135
|
-
info:
|
|
135
|
+
info: Info7,
|
|
136
136
|
directory: Schema.String,
|
|
137
137
|
projectID: Schema.String
|
|
138
138
|
});
|
|
@@ -145,17 +145,17 @@ var locate2 = (kv, id) => kv.get(ItemPrefix + id).pipe(Effect.map((stored) => {
|
|
|
145
145
|
const decoded = decodeStoredRecord(stored);
|
|
146
146
|
return Option.isSome(decoded) ? decoded.value.directory : undefined;
|
|
147
147
|
}));
|
|
148
|
-
var layer = Layer.effect(
|
|
149
|
-
const bus = yield*
|
|
148
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
149
|
+
const bus = yield* Service90;
|
|
150
150
|
const config = yield* Service65;
|
|
151
151
|
const global = yield* Global.Service;
|
|
152
|
-
const kv = yield*
|
|
153
|
-
const location = yield*
|
|
154
|
-
const sessions = yield*
|
|
152
|
+
const kv = yield* Service89;
|
|
153
|
+
const location = yield* Service82;
|
|
154
|
+
const sessions = yield* Service22;
|
|
155
155
|
const flags = yield* resolver2;
|
|
156
156
|
const rootDir = path.join(global.data, "artifacts");
|
|
157
157
|
const itemDir = (id) => path.join(rootDir, id);
|
|
158
|
-
const requireRecord = (id) => loadProjectRecord(kv, id, location.project.id).pipe(Effect.flatMap((existing) => existing ? Effect.succeed(existing) : Effect.fail(new
|
|
158
|
+
const requireRecord = (id) => loadProjectRecord(kv, id, location.project.id).pipe(Effect.flatMap((existing) => existing ? Effect.succeed(existing) : Effect.fail(new NotFoundError4({ artifactID: id }))));
|
|
159
159
|
const localProvider = {
|
|
160
160
|
id: LocalProviderID2,
|
|
161
161
|
name: "Local",
|
|
@@ -194,13 +194,13 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
}),
|
|
197
|
-
notify: changes2(snapshotProviders, () => bus.publish(
|
|
197
|
+
notify: changes2(snapshotProviders, () => bus.publish(Event5.Updated, {}).pipe(Effect.asVoid))
|
|
198
198
|
});
|
|
199
199
|
const isEnabled = Effect.fn("Artifact.enabled")(function* () {
|
|
200
200
|
const entries = yield* config.entries();
|
|
201
201
|
return flags(entries).artifacts.enabled;
|
|
202
202
|
});
|
|
203
|
-
const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new
|
|
203
|
+
const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError3)));
|
|
204
204
|
const activeDefaultID = () => {
|
|
205
205
|
const data = state.get();
|
|
206
206
|
return data.selection && data.providers.has(data.selection) ? data.selection : LocalProviderID2;
|
|
@@ -209,17 +209,17 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
209
209
|
const data = state.get();
|
|
210
210
|
const target = requested ?? activeDefaultID();
|
|
211
211
|
const found = data.providers.get(target);
|
|
212
|
-
return found ? Effect.succeed(found) : Effect.fail(new
|
|
212
|
+
return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError2({ providerID: target }));
|
|
213
213
|
};
|
|
214
214
|
const checkSession = (sessionID) => sessionID === undefined ? Effect.void : sessions.get(sessionID).pipe(Effect.asVoid);
|
|
215
|
-
return
|
|
215
|
+
return Service21.of({
|
|
216
216
|
transform: state.transform,
|
|
217
217
|
reload: state.reload,
|
|
218
218
|
enabled: isEnabled,
|
|
219
219
|
providers: Effect.fn("Artifact.providers")(function* () {
|
|
220
220
|
yield* requireEnabled();
|
|
221
221
|
const defaultID = activeDefaultID();
|
|
222
|
-
return Array.from(state.get().providers.values(), (provider) =>
|
|
222
|
+
return Array.from(state.get().providers.values(), (provider) => Provider2.make({
|
|
223
223
|
id: provider.id,
|
|
224
224
|
name: provider.name,
|
|
225
225
|
capabilities: [...provider.capabilities],
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
256
256
|
const files = yield* normalizeFiles(encodeStringFiles(input.files));
|
|
257
257
|
const entry = yield* resolveEntry(files, input.entry);
|
|
258
258
|
const provider = yield* resolveProvider(input.provider);
|
|
259
|
-
const id =
|
|
259
|
+
const id = ID7.create();
|
|
260
260
|
const now = yield* Clock.currentTimeMillis;
|
|
261
261
|
const created = yield* provider.create({ id, title, entry, files, sessionID: input.sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
|
|
262
|
-
const info =
|
|
262
|
+
const info = Info7.make({
|
|
263
263
|
id,
|
|
264
264
|
provider: provider.id,
|
|
265
265
|
...input.sessionID === undefined ? {} : { sessionID: input.sessionID },
|
|
@@ -303,7 +303,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
303
303
|
const now = yield* Clock.currentTimeMillis;
|
|
304
304
|
const sessionID = input.sessionID ?? existing.info.sessionID;
|
|
305
305
|
const updated = yield* provider.update(id, { title, entry, files, sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
|
|
306
|
-
const info =
|
|
306
|
+
const info = Info7.make({
|
|
307
307
|
id,
|
|
308
308
|
provider: existing.info.provider,
|
|
309
309
|
...sessionID === undefined ? {} : { sessionID },
|
|
@@ -347,10 +347,10 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
347
347
|
})
|
|
348
348
|
});
|
|
349
349
|
}));
|
|
350
|
-
var
|
|
351
|
-
service:
|
|
350
|
+
var node25 = makeLocationNode({
|
|
351
|
+
service: Service21,
|
|
352
352
|
layer,
|
|
353
|
-
deps: [
|
|
353
|
+
deps: [node71, node94, node68, Global.node, node93, node86, node26]
|
|
354
354
|
});
|
|
355
355
|
function encodeStringFiles(files) {
|
|
356
356
|
return Object.fromEntries(Object.entries(files).map(([filePath, content]) => [filePath, encoder.encode(content)]));
|
|
@@ -491,4 +491,4 @@ function readDirectoryFiles(baseDir) {
|
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
493
|
|
|
494
|
-
export { Capability2, Content2,
|
|
494
|
+
export { Capability2, Content2, CreateInput4, Event5, ID7, Info7, Provider2, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError3, NotFoundError4, FileMissingError2, ProviderNotFoundError2, InvalidError3, ProviderError2, Service21, locate2, node25, exports_artifact2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-qs2j0e81.js";
|
|
5
5
|
import {
|
|
6
6
|
AuthorizationError2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-hr8h2z9v.js";
|
|
8
8
|
import {
|
|
9
9
|
CorrectedError2,
|
|
10
10
|
BlockedError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-30y2gndb.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,14 +16,14 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-3vs65hyy.js";
|
|
20
20
|
import {
|
|
21
21
|
isUnreachable2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./snapshot-2fc7eemy.js";
|
|
23
23
|
import {
|
|
24
24
|
ModelNotSelectedError2,
|
|
25
25
|
ModelUnavailableError2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./snapshot-6zqadtmn.js";
|
|
27
27
|
|
|
28
28
|
// src/session/to-session-error.ts
|
|
29
29
|
import { AIError, ToolFailure } from "@opencode/ai/effect";
|