@opencode/core 0.0.0-dev-878 → 0.0.0-dev-884
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +252 -252
- package/dist/bus.js +84 -84
- package/dist/chunks/{pty-nxby5gjy.js → snapshot-00zh2tpm.js} +8 -8
- package/dist/chunks/{pty-034tev2y.js → snapshot-034tev2y.js} +2 -2
- package/dist/chunks/{pty-9rqhy0gk.js → snapshot-035wadpx.js} +7 -7
- package/dist/chunks/{pty-0pcgz03n.js → snapshot-07qpf0xg.js} +19 -19
- package/dist/chunks/{pty-cbe0rfx5.js → snapshot-08myk1q4.js} +39 -39
- package/dist/chunks/{pty-9hqnwgn2.js → snapshot-09hem2y6.js} +18 -18
- package/dist/chunks/{pty-q9n4gdzj.js → snapshot-0cvyppvf.js} +14 -14
- package/dist/chunks/{pty-fnswmh6e.js → snapshot-0fesqxmw.js} +42 -42
- package/dist/chunks/{pty-sqjzf8x2.js → snapshot-0j7gp832.js} +4 -4
- package/dist/chunks/{pty-0ma9gw4f.js → snapshot-0ma9gw4f.js} +2 -2
- package/dist/chunks/{pty-m4stcnjn.js → snapshot-0n4x7vsq.js} +37 -37
- package/dist/chunks/{pty-3bzhzpnf.js → snapshot-0w75ztav.js} +12 -12
- package/dist/chunks/{pty-0xgshe2y.js → snapshot-13q849fv.js} +10 -10
- package/dist/chunks/{pty-1aqsckx4.js → snapshot-1aqsckx4.js} +1 -1
- package/dist/chunks/{pty-jv83zg00.js → snapshot-1cjcwy47.js} +29 -29
- package/dist/chunks/{pty-1ep2p91f.js → snapshot-1ep2p91f.js} +2 -2
- package/dist/chunks/{pty-58yve0v1.js → snapshot-1gwaqmw6.js} +23 -23
- package/dist/chunks/{pty-4tc4dv8y.js → snapshot-1mrq5tdt.js} +28 -28
- package/dist/chunks/{pty-1v2g13eq.js → snapshot-1v2g13eq.js} +4 -4
- package/dist/chunks/{pty-1x2knyw4.js → snapshot-1x2knyw4.js} +1 -1
- package/dist/chunks/{pty-9yd64rvx.js → snapshot-1zc261y1.js} +8 -8
- package/dist/chunks/{pty-2fc7eemy.js → snapshot-2fc7eemy.js} +1 -1
- package/dist/chunks/{pty-gdqab8my.js → snapshot-2hmytcqx.js} +5 -5
- package/dist/chunks/{pty-2p60zmnr.js → snapshot-2p60zmnr.js} +2 -2
- package/dist/chunks/{pty-4wh9bgn2.js → snapshot-30t367nv.js} +22 -22
- package/dist/chunks/{pty-60zgrctx.js → snapshot-31a81mga.js} +28 -28
- package/dist/chunks/{pty-80m5xgxj.js → snapshot-31avdb49.js} +11 -11
- package/dist/chunks/{pty-1p738f31.js → snapshot-36b0prz5.js} +25 -25
- package/dist/chunks/{pty-96n9kpwt.js → snapshot-3787pfz0.js} +31 -31
- package/dist/chunks/{pty-dqshaehc.js → snapshot-39qd127q.js} +15 -15
- package/dist/chunks/{pty-npb1cd9b.js → snapshot-3a8zszvc.js} +13 -13
- package/dist/chunks/{pty-xm0ds19w.js → snapshot-3c0ek75q.js} +16 -16
- package/dist/chunks/{pty-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-46cyrfev.js → snapshot-3hks0vxv.js} +36 -36
- package/dist/chunks/{pty-cype4qj0.js → snapshot-3n9szx6q.js} +8 -8
- package/dist/chunks/{pty-3nnrz6f6.js → snapshot-3nnrz6f6.js} +1 -1
- package/dist/chunks/snapshot-3pmmkb0k.js +26 -0
- package/dist/chunks/{pty-ewsep2p7.js → snapshot-3q65nx2c.js} +379 -379
- package/dist/chunks/{pty-3ryz99p0.js → snapshot-3ryz99p0.js} +1 -1
- package/dist/chunks/{pty-fjqbmyx6.js → snapshot-3z0eczra.js} +29 -19
- package/dist/chunks/{pty-h3bhj36x.js → snapshot-408ec29k.js} +16 -16
- package/dist/chunks/{pty-40y6dtc2.js → snapshot-40y6dtc2.js} +1 -1
- package/dist/chunks/{pty-5enarcya.js → snapshot-40za9wsf.js} +6 -6
- package/dist/chunks/{pty-44pmzq9c.js → snapshot-44pmzq9c.js} +2 -2
- package/dist/chunks/{pty-d0aryzzk.js → snapshot-450k4kg1.js} +5 -5
- package/dist/chunks/{pty-trznscfr.js → snapshot-46471mr8.js} +22 -22
- package/dist/chunks/{pty-a88a05zy.js → snapshot-47kaxns9.js} +61 -61
- package/dist/chunks/{pty-2twxdwbq.js → snapshot-4a509k8y.js} +13 -13
- package/dist/chunks/{pty-4dx1dgte.js → snapshot-4dx1dgte.js} +1 -1
- package/dist/chunks/{pty-ge1ywzqw.js → snapshot-4eef0qtx.js} +5 -5
- package/dist/chunks/{pty-4f25tdd0.js → snapshot-4f25tdd0.js} +1 -1
- package/dist/chunks/{pty-0apqa2j6.js → snapshot-4jpkdnbq.js} +3 -3
- package/dist/chunks/{pty-4pyp9zr9.js → snapshot-4pyp9zr9.js} +1 -1
- package/dist/chunks/{pty-bkex9085.js → snapshot-4qr2pvqd.js} +15 -15
- package/dist/chunks/{pty-4v008n1t.js → snapshot-4v008n1t.js} +1 -1
- package/dist/chunks/{pty-fepdw2rr.js → snapshot-4wfmxbt4.js} +9 -9
- package/dist/chunks/{pty-4rzh7d7z.js → snapshot-573ve1sd.js} +3 -3
- package/dist/chunks/{pty-x29g231t.js → snapshot-57ddcrqj.js} +32 -32
- package/dist/chunks/{pty-0t2mkgep.js → snapshot-5dp02h02.js} +6 -6
- package/dist/chunks/{pty-54x8tjhq.js → snapshot-5famdb69.js} +20 -20
- package/dist/chunks/{pty-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{pty-8j47f66f.js → snapshot-5pxddvpe.js} +19 -19
- package/dist/chunks/{pty-9kx878ab.js → snapshot-5xvxqfdp.js} +15 -15
- package/dist/chunks/{pty-b4gxanwm.js → snapshot-5ykf0n0g.js} +8 -8
- package/dist/chunks/{pty-nx29rwgw.js → snapshot-66ekey1y.js} +43 -43
- package/dist/chunks/{pty-ktgmmb4d.js → snapshot-69x7h8mq.js} +14 -14
- package/dist/chunks/{pty-fr8k9c85.js → snapshot-6fp8sfjz.js} +88 -88
- package/dist/chunks/{pty-9kzszawf.js → snapshot-6fxgvz2x.js} +22 -22
- package/dist/chunks/{pty-eet2z5pg.js → snapshot-6h7qzf96.js} +1 -1
- package/dist/chunks/{pty-jdtdxccs.js → snapshot-6j1qeake.js} +20 -20
- package/dist/chunks/{pty-hed8x5pp.js → snapshot-6q5dgbh8.js} +12 -12
- package/dist/chunks/snapshot-6zjm2phc.js +18 -0
- package/dist/chunks/{pty-8vct2pgr.js → snapshot-72dfj4ss.js} +2 -2
- package/dist/chunks/{pty-n106aawh.js → snapshot-75bqzfff.js} +32 -32
- package/dist/chunks/{pty-775hqbnd.js → snapshot-775hqbnd.js} +3 -3
- package/dist/chunks/{pty-jjv5dbsr.js → snapshot-77m7fn8c.js} +82 -82
- package/dist/chunks/{pty-5yffcetz.js → snapshot-77mb5vex.js} +18 -18
- package/dist/chunks/{pty-jv5ccajn.js → snapshot-78p2h4ex.js} +5 -5
- package/dist/chunks/{pty-8mz64x2b.js → snapshot-78wnxje4.js} +13 -13
- package/dist/chunks/{pty-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-f4p513t7.js → snapshot-7fkzvs1a.js} +29 -29
- package/dist/chunks/{pty-ceqba5fk.js → snapshot-7gy29tx9.js} +4 -4
- package/dist/chunks/{pty-v855rb8b.js → snapshot-7jk2nv2g.js} +20 -20
- package/dist/chunks/{pty-2eh0f1sg.js → snapshot-7jntc4vd.js} +36 -36
- package/dist/chunks/{pty-pg4gvk7m.js → snapshot-7kjbfm52.js} +19 -19
- package/dist/chunks/{pty-hhhpeewf.js → snapshot-7knp8k57.js} +17 -17
- package/dist/chunks/{pty-7nqkf5r1.js → snapshot-7nqkf5r1.js} +2 -2
- package/dist/chunks/{pty-38nka762.js → snapshot-7pft5vj9.js} +9 -9
- package/dist/chunks/{pty-7w2ypzdf.js → snapshot-7w2ypzdf.js} +1 -1
- package/dist/chunks/{pty-7weczvnd.js → snapshot-7weczvnd.js} +1 -1
- package/dist/chunks/snapshot-7zfgnb90.js +265 -0
- package/dist/chunks/{pty-yz34gs5w.js → snapshot-82nh0246.js} +11 -11
- package/dist/chunks/{pty-89287pr7.js → snapshot-89287pr7.js} +1 -1
- package/dist/chunks/{pty-hksc1h4c.js → snapshot-89472aq0.js} +9 -9
- package/dist/chunks/{pty-25h84942.js → snapshot-8b3vzgkx.js} +4 -4
- package/dist/chunks/{pty-8cg7mtm3.js → snapshot-8cg7mtm3.js} +1 -1
- package/dist/chunks/{pty-18b1hh0p.js → snapshot-8es3pha2.js} +11 -11
- package/dist/chunks/{pty-g6c3fb9v.js → snapshot-8hn9zefq.js} +33 -33
- package/dist/chunks/{pty-8sxe6kv8.js → snapshot-8sxe6kv8.js} +2 -2
- package/dist/chunks/{pty-8wtp7s3z.js → snapshot-8wtp7s3z.js} +1 -1
- package/dist/chunks/{pty-x6ys3mke.js → snapshot-8y6r0x8w.js} +29 -29
- package/dist/chunks/{pty-8zv0xmg5.js → snapshot-8zv0xmg5.js} +1 -1
- package/dist/chunks/{pty-9tqcrzep.js → snapshot-90a2yw5a.js} +3 -3
- package/dist/chunks/{pty-dgr674m3.js → snapshot-913skc7f.js} +7 -7
- package/dist/chunks/{pty-963hk181.js → snapshot-963hk181.js} +2 -2
- package/dist/chunks/{pty-s7n17px4.js → snapshot-9d5rr669.js} +18 -18
- package/dist/chunks/{pty-1gpdc67x.js → snapshot-9tdrtzgx.js} +33 -33
- package/dist/chunks/{pty-809by22w.js → snapshot-a0txt7nz.js} +12 -12
- package/dist/chunks/{pty-0jk4gzvn.js → snapshot-a7rrpap6.js} +15 -15
- package/dist/chunks/{pty-1sfhq3gh.js → snapshot-ajnwb0bp.js} +20 -20
- package/dist/chunks/{pty-w9mgb9cs.js → snapshot-ak34fkrk.js} +1 -1
- package/dist/chunks/{pty-gywgbd97.js → snapshot-ame3chwq.js} +11 -11
- package/dist/chunks/{pty-m51r4pbd.js → snapshot-aqfeayxz.js} +59 -59
- package/dist/chunks/{pty-ayjs7tqn.js → snapshot-ayjs7tqn.js} +2 -2
- package/dist/chunks/{pty-pm9a3we5.js → snapshot-b1qan57e.js} +7 -7
- package/dist/chunks/{pty-b26ddj6h.js → snapshot-b26ddj6h.js} +4 -4
- package/dist/chunks/{pty-g6dqhxga.js → snapshot-b52kq2fb.js} +13 -13
- package/dist/chunks/{pty-zfst2eag.js → snapshot-b6fwgt4w.js} +18 -18
- package/dist/chunks/{pty-1yq9hg58.js → snapshot-bdhd9h6e.js} +5 -5
- package/dist/chunks/{pty-rb71q7y6.js → snapshot-bhdzb81c.js} +44 -44
- package/dist/chunks/{pty-xa8p5b4w.js → snapshot-bqe98046.js} +13 -13
- package/dist/chunks/{pty-haa2gdgc.js → snapshot-bsje94eq.js} +1 -1
- package/dist/chunks/{pty-7f6k4x6h.js → snapshot-by6hbs1e.js} +31 -31
- package/dist/chunks/{pty-3cse29s9.js → snapshot-c2c96kqq.js} +14 -14
- package/dist/chunks/{pty-h7y6kpk3.js → snapshot-c4n8yphk.js} +33 -33
- package/dist/chunks/{pty-hxe8y6dz.js → snapshot-c6zfksrk.js} +20 -20
- package/dist/chunks/{pty-wt99tj4q.js → snapshot-c7cw818c.js} +5 -5
- package/dist/chunks/{pty-w6jv0akn.js → snapshot-c9tf7z6m.js} +30 -30
- package/dist/chunks/{pty-dngp1z67.js → snapshot-cjamm0h7.js} +23 -23
- package/dist/chunks/{pty-0cs6619n.js → snapshot-ckw604z9.js} +31 -31
- package/dist/chunks/{pty-p76me67c.js → snapshot-cnj75yzs.js} +4 -4
- package/dist/chunks/{pty-6ba9x97p.js → snapshot-cqstyfw9.js} +2 -2
- package/dist/chunks/{pty-cwrgdav8.js → snapshot-cwrgdav8.js} +2 -2
- package/dist/chunks/{pty-9njvccht.js → snapshot-cwzne6d4.js} +6 -6
- package/dist/chunks/{pty-93xmyh8q.js → snapshot-cxab28sr.js} +5 -5
- package/dist/chunks/{pty-39sgvy3e.js → snapshot-czqb1qjr.js} +6 -6
- package/dist/chunks/{pty-fk8gtyjw.js → snapshot-d0rn797r.js} +8 -8
- package/dist/chunks/{pty-y2nftq3q.js → snapshot-d12b0rcp.js} +19 -19
- package/dist/chunks/{pty-bss83mh3.js → snapshot-d2awp3gt.js} +29 -29
- package/dist/chunks/{pty-y4fhefma.js → snapshot-d3e900d4.js} +32 -32
- package/dist/chunks/{pty-d4v9tmah.js → snapshot-d4v9tmah.js} +2 -2
- package/dist/chunks/{pty-0dbdcyb4.js → snapshot-d643rz4m.js} +25 -29
- package/dist/chunks/{pty-t48jrnqq.js → snapshot-dbatw319.js} +3 -3
- package/dist/chunks/{pty-hvafhk7n.js → snapshot-dbvjbd3r.js} +12 -12
- package/dist/chunks/{pty-y9jn183w.js → snapshot-dbwvxspc.js} +5 -5
- package/dist/chunks/{pty-8mz1epvh.js → snapshot-dhsebttr.js} +9 -9
- package/dist/chunks/{pty-ztbk0tnv.js → snapshot-dqtt3422.js} +4 -4
- package/dist/chunks/{pty-esg4am8y.js → snapshot-dsetyb2w.js} +6 -6
- package/dist/chunks/{pty-2n6tcy7a.js → snapshot-dt2qxtqs.js} +28 -28
- package/dist/chunks/{pty-dt77769w.js → snapshot-dt77769w.js} +1 -1
- package/dist/chunks/{pty-47t61vtt.js → snapshot-dvatt37d.js} +12 -12
- package/dist/chunks/{pty-e834z07m.js → snapshot-e834z07m.js} +1 -1
- package/dist/chunks/{pty-8b1rxbth.js → snapshot-e8719nv4.js} +12 -12
- package/dist/chunks/{pty-xw67e2bj.js → snapshot-ej8sf5xq.js} +3 -3
- package/dist/chunks/{pty-m8nksg7b.js → snapshot-ejzwn84h.js} +17 -17
- package/dist/chunks/{pty-bb3v7csw.js → snapshot-emar828g.js} +37 -37
- package/dist/chunks/{pty-eqw4pqj1.js → snapshot-eqw4pqj1.js} +2 -2
- package/dist/chunks/{pty-22wp63zj.js → snapshot-et4v4qpp.js} +2 -2
- package/dist/chunks/{pty-kg8bz2x9.js → snapshot-etw491jc.js} +8 -8
- package/dist/chunks/{pty-2cdpqtk9.js → snapshot-f2h8w54n.js} +4 -4
- package/dist/chunks/{pty-sp85y8nd.js → snapshot-f32m8sjz.js} +5 -5
- package/dist/chunks/{pty-n320gsn2.js → snapshot-fcrd7kek.js} +4 -4
- package/dist/chunks/{pty-69e6bcea.js → snapshot-fdwz45w7.js} +46 -46
- package/dist/chunks/{pty-0bm0vtwv.js → snapshot-fet53xje.js} +11 -11
- package/dist/chunks/{pty-fffv3p7h.js → snapshot-fffv3p7h.js} +1 -1
- package/dist/chunks/{pty-fg9p65nk.js → snapshot-fg9p65nk.js} +2 -2
- package/dist/chunks/{pty-ceq6pwch.js → snapshot-fkasyrab.js} +6 -6
- package/dist/chunks/{pty-a1bywv3g.js → snapshot-fq2jm6c8.js} +11 -11
- package/dist/chunks/{pty-e122xtr5.js → snapshot-fs33x32a.js} +4 -4
- package/dist/chunks/{pty-psbgffb8.js → snapshot-fznz9sv4.js} +8 -8
- package/dist/chunks/{pty-gbjdnr5j.js → snapshot-gbjdnr5j.js} +2 -2
- package/dist/chunks/{pty-q342b858.js → snapshot-gbkvskfj.js} +11 -11
- package/dist/chunks/{pty-hbkh6egr.js → snapshot-gcjrqp15.js} +18 -18
- package/dist/chunks/{pty-abdd1da8.js → snapshot-gf6pfkck.js} +1 -1
- package/dist/chunks/{pty-ghrv1g9c.js → snapshot-ghrv1g9c.js} +1 -1
- package/dist/chunks/{pty-08zs3z5t.js → snapshot-gnbydxfx.js} +43 -43
- package/dist/chunks/{pty-a6s57dw6.js → snapshot-gwyytpcj.js} +6 -6
- package/dist/chunks/{pty-gxs71cxp.js → snapshot-gxs71cxp.js} +1 -1
- package/dist/chunks/{pty-1xn430j4.js → snapshot-h0ek1bwq.js} +16 -16
- package/dist/chunks/{pty-3p62j0nb.js → snapshot-h44aqkpg.js} +26 -26
- package/dist/chunks/{pty-xxs4k7t5.js → snapshot-h4zx6409.js} +16 -16
- package/dist/chunks/{pty-nt907s04.js → snapshot-h5chy42v.js} +3 -3
- package/dist/chunks/{pty-rxb1p1s1.js → snapshot-hcragpck.js} +7 -7
- package/dist/chunks/{pty-hgzwgvze.js → snapshot-hgzwgvze.js} +2 -2
- package/dist/chunks/{pty-a8fw8dpm.js → snapshot-hpazsyxj.js} +10 -10
- package/dist/chunks/{pty-hyhbfk1d.js → snapshot-hrb22e3z.js} +5 -5
- package/dist/chunks/{pty-cejnyw8d.js → snapshot-hvch271v.js} +15 -15
- package/dist/chunks/{pty-pxzaa117.js → snapshot-hyvk50ha.js} +8 -8
- package/dist/chunks/{pty-t8jwajwe.js → snapshot-j37ng9j1.js} +6 -6
- package/dist/chunks/{pty-j9nxzz3g.js → snapshot-j9nxzz3g.js} +3 -3
- package/dist/chunks/{pty-6eqzpwgz.js → snapshot-je6qejk6.js} +17 -17
- package/dist/chunks/{pty-ygrf3vfw.js → snapshot-jft552z8.js} +6 -6
- package/dist/chunks/{pty-bhfd478d.js → snapshot-jkdcm5hg.js} +4 -4
- package/dist/chunks/{pty-jm70asfg.js → snapshot-jm70asfg.js} +1 -1
- package/dist/chunks/{pty-xwat37db.js → snapshot-jqk5n19q.js} +48 -48
- package/dist/chunks/{pty-dtcxya6b.js → snapshot-jyyf701r.js} +150 -150
- package/dist/chunks/{pty-mn8fajdh.js → snapshot-k0678490.js} +17 -17
- package/dist/chunks/{pty-99p0pbf1.js → snapshot-k3zn86gw.js} +10 -10
- package/dist/chunks/{pty-kj9n5bvh.js → snapshot-k46dd5bg.js} +4 -4
- package/dist/chunks/{pty-tww72jes.js → snapshot-kbg1k638.js} +30 -30
- package/dist/chunks/{pty-9nn8jzqe.js → snapshot-kbs8tas7.js} +10 -10
- package/dist/chunks/{pty-8dfptpqb.js → snapshot-kh0hrg97.js} +4 -4
- package/dist/chunks/{pty-8faw8f8c.js → snapshot-knzmfptj.js} +14 -14
- package/dist/chunks/{pty-04qyyzkb.js → snapshot-kxjtsbty.js} +12 -15
- package/dist/chunks/{pty-kzczzf4v.js → snapshot-kzczzf4v.js} +1 -1
- package/dist/chunks/{pty-m1714858.js → snapshot-m1714858.js} +1 -1
- package/dist/chunks/{pty-j76rc6j0.js → snapshot-m3c9svsm.js} +12 -12
- package/dist/chunks/{pty-f19t754q.js → snapshot-m3skfh7c.js} +9 -9
- package/dist/chunks/{pty-8ktfmd0n.js → snapshot-m5ycxf6r.js} +19 -19
- package/dist/chunks/{pty-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-04taggxf.js → snapshot-m9xw7dn6.js} +3 -3
- package/dist/chunks/{pty-mb7mbhnz.js → snapshot-mb7mbhnz.js} +3 -3
- package/dist/chunks/{pty-mm06edep.js → snapshot-mm06edep.js} +1 -1
- package/dist/chunks/{pty-0yg79bww.js → snapshot-mngt2jxm.js} +9 -9
- package/dist/chunks/{pty-98nhdtpx.js → snapshot-mnpvypcd.js} +18 -18
- package/dist/chunks/{pty-v7mmdcvx.js → snapshot-mp0nhefz.js} +9 -9
- package/dist/chunks/{pty-47rsk148.js → snapshot-mrmc452x.js} +4 -4
- package/dist/chunks/{pty-pbcbsg1z.js → snapshot-mw5svyy8.js} +16 -16
- package/dist/chunks/{pty-633pgj7g.js → snapshot-n0ebgend.js} +11 -11
- package/dist/chunks/{pty-xr467vmq.js → snapshot-n16q9wcr.js} +63 -63
- package/dist/chunks/{pty-zwdqw3m7.js → snapshot-n2ewxgb0.js} +8 -8
- package/dist/chunks/{pty-g3vstw99.js → snapshot-nanth87n.js} +85 -85
- package/dist/chunks/{pty-mcq5r29y.js → snapshot-ng14t4fb.js} +25 -25
- package/dist/chunks/{pty-qp0z4bg5.js → snapshot-ngcjj8e2.js} +11 -11
- package/dist/chunks/{pty-jars5984.js → snapshot-nj442n97.js} +28 -28
- package/dist/chunks/{pty-stavab1t.js → snapshot-nqna2x1c.js} +9 -9
- package/dist/chunks/{pty-skz1c840.js → snapshot-nr455nww.js} +4 -4
- package/dist/chunks/{pty-4kkdjnw8.js → snapshot-p10mzfnc.js} +5 -5
- package/dist/chunks/{pty-y3553xwh.js → snapshot-p10y9ezy.js} +14 -14
- package/dist/chunks/{pty-dztdy51g.js → snapshot-pdhwqybq.js} +5 -5
- package/dist/chunks/{pty-f3qa8j51.js → snapshot-pewxk8rv.js} +33 -33
- package/dist/chunks/{pty-frxkz94v.js → snapshot-pgm12qnv.js} +9 -9
- package/dist/chunks/{pty-r7zrbnjn.js → snapshot-ph2hg484.js} +6 -6
- package/dist/chunks/{pty-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{pty-p0e36eh4.js → snapshot-pr88qeks.js} +24 -24
- package/dist/chunks/{pty-teqb63yc.js → snapshot-pvyvb84j.js} +2 -2
- package/dist/chunks/{pty-a9t87r5b.js → snapshot-q2ws1mt0.js} +9 -9
- package/dist/chunks/{pty-eh10xta4.js → snapshot-q4aeeqk4.js} +22 -22
- package/dist/chunks/{pty-g3rnwk3w.js → snapshot-q7dza1tc.js} +21 -21
- package/dist/chunks/{pty-9w05e4yq.js → snapshot-qawse3yx.js} +15 -15
- package/dist/chunks/{pty-d0348f81.js → snapshot-qe52cmrf.js} +23 -23
- package/dist/chunks/{pty-hzd41w0g.js → snapshot-qec3s47p.js} +39 -39
- package/dist/chunks/{pty-8nbbg8x2.js → snapshot-qgz555ck.js} +30 -30
- package/dist/chunks/{pty-s6edmc55.js → snapshot-qp1yrhw2.js} +33 -33
- package/dist/chunks/{pty-qp7r0hxv.js → snapshot-qp7r0hxv.js} +1 -1
- package/dist/chunks/{pty-wfdx5ztx.js → snapshot-qsdghx1p.js} +4 -4
- package/dist/chunks/{pty-cvkznf98.js → snapshot-qvyxa1kc.js} +17 -17
- package/dist/chunks/{pty-8t99kr38.js → snapshot-r17fbvme.js} +4 -4
- package/dist/chunks/{pty-wxdqhy8h.js → snapshot-r1pe2bj8.js} +38 -38
- package/dist/chunks/{pty-rb9dy4dg.js → snapshot-rb9dy4dg.js} +1 -1
- package/dist/chunks/{pty-3txdrh00.js → snapshot-rd7xhtes.js} +28 -28
- package/dist/chunks/{pty-seytm3nm.js → snapshot-rdj6qkp4.js} +15 -15
- package/dist/chunks/snapshot-rfrmafb1.js +16 -0
- package/dist/chunks/{pty-sdphcbdy.js → snapshot-rfy91wty.js} +34 -34
- package/dist/chunks/{pty-rgc9cx3e.js → snapshot-rgc9cx3e.js} +2 -2
- package/dist/chunks/{pty-fz8d4r01.js → snapshot-rgn6m92n.js} +28 -28
- package/dist/chunks/{pty-50emzza2.js → snapshot-rgr196vp.js} +9 -9
- package/dist/chunks/{pty-q9aerynr.js → snapshot-rjnan0bx.js} +8 -8
- package/dist/chunks/{pty-921m9cvt.js → snapshot-rqj3n39p.js} +19 -19
- package/dist/chunks/{pty-rt5dr6hb.js → snapshot-rt5dr6hb.js} +1 -1
- package/dist/chunks/{pty-scjesttz.js → snapshot-s0x73czj.js} +12 -12
- package/dist/chunks/{pty-px7qpgcn.js → snapshot-s79v6bct.js} +4 -4
- package/dist/chunks/{pty-sbya78hr.js → snapshot-sbya78hr.js} +1 -1
- package/dist/chunks/{pty-vengajp4.js → snapshot-sp4fkeyn.js} +6 -6
- package/dist/chunks/{pty-27rxkcxv.js → snapshot-stvqdm49.js} +17 -17
- package/dist/chunks/{pty-svcy3p9a.js → snapshot-svcy3p9a.js} +1 -1
- package/dist/chunks/{pty-xxp4v5x7.js → snapshot-svqs76ey.js} +6 -6
- package/dist/chunks/{pty-40vsxc6j.js → snapshot-swt76a95.js} +33 -33
- package/dist/chunks/{pty-gerka9tj.js → snapshot-sx8acyer.js} +9 -9
- package/dist/chunks/{pty-ehzz4f29.js → snapshot-sxa9vs6w.js} +14 -14
- package/dist/chunks/{pty-rgz6n6rx.js → snapshot-t2m109me.js} +10 -10
- package/dist/chunks/{pty-xbvcmb25.js → snapshot-t8jzme4s.js} +9 -9
- package/dist/chunks/{pty-26wfx3k0.js → snapshot-tb2mrvc9.js} +4 -4
- package/dist/chunks/{pty-tbpn7jtk.js → snapshot-tbpn7jtk.js} +1 -1
- package/dist/chunks/{pty-tczq8hjw.js → snapshot-tczq8hjw.js} +1 -1
- package/dist/chunks/{pty-vytcc3n6.js → snapshot-tdb8rj00.js} +11 -11
- package/dist/chunks/{pty-jk53xk4x.js → snapshot-te4nf74j.js} +13 -13
- package/dist/chunks/{pty-tg1vr1qt.js → snapshot-tg1vr1qt.js} +1 -1
- package/dist/chunks/{pty-2zz3xz3r.js → snapshot-thhbjez9.js} +14 -14
- package/dist/chunks/{pty-bpby739f.js → snapshot-tpqt9x8s.js} +25 -25
- package/dist/chunks/{pty-tr8x705m.js → snapshot-tr8x705m.js} +1 -1
- package/dist/chunks/{pty-y8hmd71w.js → snapshot-tsedw9zt.js} +26 -26
- package/dist/chunks/{pty-twssxy5n.js → snapshot-twssxy5n.js} +2 -2
- package/dist/chunks/{pty-9q8g9sv8.js → snapshot-v0t96s7a.js} +4 -4
- package/dist/chunks/{pty-v2r1d0zg.js → snapshot-v2r1d0zg.js} +1 -1
- package/dist/chunks/{pty-7vr8248e.js → snapshot-ve8hem02.js} +12 -12
- package/dist/chunks/{pty-rata28ys.js → snapshot-vhha1j41.js} +4 -4
- package/dist/chunks/{pty-vjf35v1f.js → snapshot-vjf35v1f.js} +1 -1
- package/dist/chunks/{pty-59t9ct3m.js → snapshot-vk2efkt7.js} +24 -24
- package/dist/chunks/{pty-xrayn4mq.js → snapshot-vnft64my.js} +12 -12
- package/dist/chunks/{pty-4g3sdj5g.js → snapshot-vq0qa3sh.js} +9 -9
- package/dist/chunks/{pty-qte9jbze.js → snapshot-vrhw3zq5.js} +31 -31
- package/dist/chunks/{pty-m47b2bw1.js → snapshot-vvsvw583.js} +6 -6
- package/dist/chunks/{pty-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-w687dnns.js → snapshot-w687dnns.js} +1 -1
- package/dist/chunks/{pty-fs2dvzz7.js → snapshot-w6m3z1ss.js} +6 -6
- package/dist/chunks/{pty-w79yem6f.js → snapshot-w6vmf32x.js} +8 -8
- package/dist/chunks/{pty-dy9yr7n6.js → snapshot-w8thymk6.js} +2 -2
- package/dist/chunks/{pty-fym87a9z.js → snapshot-w9vrt7sa.js} +11 -11
- package/dist/chunks/{pty-wakvkjy4.js → snapshot-wakvkjy4.js} +1 -1
- package/dist/chunks/{pty-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{pty-cyba7k96.js → snapshot-wefbn46m.js} +23 -23
- package/dist/chunks/{pty-wegkxhrn.js → snapshot-wegkxhrn.js} +2 -2
- package/dist/chunks/{pty-yav2mz9j.js → snapshot-wkmc7x5w.js} +53 -53
- package/dist/chunks/{pty-wvr8xscb.js → snapshot-wvr8xscb.js} +1 -1
- package/dist/chunks/{pty-kse531ts.js → snapshot-x35fem2t.js} +3 -3
- package/dist/chunks/{pty-0p2chd15.js → snapshot-x4g42yn7.js} +17 -17
- package/dist/chunks/{pty-qkv3rem4.js → snapshot-xbh74875.js} +10 -10
- package/dist/chunks/{pty-2ss5f5ss.js → snapshot-xbwrw8zy.js} +20 -20
- package/dist/chunks/{pty-bstexjd6.js → snapshot-xd9cc171.js} +5 -5
- package/dist/chunks/{pty-0082486v.js → snapshot-xgdf4cey.js} +12 -12
- package/dist/chunks/{pty-xxschbft.js → snapshot-xjr6c8m4.js} +4 -4
- package/dist/chunks/{pty-4vtpdmjt.js → snapshot-xjydydpx.js} +17 -17
- package/dist/chunks/{pty-8xz27cp9.js → snapshot-xksw6ev0.js} +4 -4
- package/dist/chunks/{pty-adwjc2gj.js → snapshot-xq4js8g1.js} +11 -11
- package/dist/chunks/{pty-fwc2svcw.js → snapshot-xw5cs1yx.js} +20 -20
- package/dist/chunks/{pty-3zjvswjq.js → snapshot-xwyq36ag.js} +16 -16
- package/dist/chunks/{pty-3z8vx0gr.js → snapshot-xwyva30a.js} +11 -11
- package/dist/chunks/{pty-g3jbxykj.js → snapshot-xy6wb3az.js} +3 -3
- package/dist/chunks/{pty-fsks4cma.js → snapshot-xyh7v9rs.js} +55 -55
- package/dist/chunks/{pty-5w1mdqt7.js → snapshot-y00x4xpa.js} +4 -4
- package/dist/chunks/{pty-cfgfe6qy.js → snapshot-y0cp9zqc.js} +3 -3
- package/dist/chunks/{pty-fyb4e8dn.js → snapshot-y2b1w3ea.js} +3 -3
- package/dist/chunks/{pty-sp6fxa1v.js → snapshot-y5z5vmz5.js} +3 -3
- package/dist/chunks/{pty-yb20nhc3.js → snapshot-yb20nhc3.js} +1 -1
- package/dist/chunks/{pty-3txg0pd7.js → snapshot-yfm306we.js} +11 -11
- package/dist/chunks/{pty-v3bet1kp.js → snapshot-yk1hvwmh.js} +12 -12
- package/dist/chunks/{pty-yr705xyq.js → snapshot-yr705xyq.js} +1 -1
- package/dist/chunks/{pty-yvtc2x31.js → snapshot-yvtc2x31.js} +1 -1
- package/dist/chunks/{pty-38aws4xb.js → snapshot-z080rjh6.js} +4 -4
- package/dist/chunks/{pty-x6nv49v7.js → snapshot-z585aq9s.js} +12 -12
- package/dist/chunks/{pty-ppmfd51v.js → snapshot-z71kt9zt.js} +49 -49
- package/dist/chunks/{pty-jw43pf4q.js → snapshot-z77fw289.js} +2 -2
- package/dist/chunks/{pty-yqvbvejr.js → snapshot-z7e2d9bf.js} +27 -27
- package/dist/chunks/{pty-tbr06ty0.js → snapshot-z9x7gw2c.js} +3 -3
- package/dist/chunks/{pty-nf9c1y2s.js → snapshot-zayrwdfm.js} +25 -25
- package/dist/chunks/{pty-1z2ezsn0.js → snapshot-zd76dthk.js} +4 -4
- package/dist/chunks/{pty-5zdad6yg.js → snapshot-zdhpy7hh.js} +30 -30
- package/dist/chunks/{pty-w6dd7dqy.js → snapshot-zg9g3f9s.js} +25 -25
- package/dist/chunks/{pty-2kkn5h22.js → snapshot-zjfcjdhd.js} +21 -21
- package/dist/chunks/{pty-zpdbqgja.js → snapshot-zpdbqgja.js} +1 -1
- package/dist/chunks/{pty-zyqshqmw.js → snapshot-zqnbrh9j.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +90 -90
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +240 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +145 -145
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +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 +134 -134
- 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 +135 -135
- package/dist/console-access.js +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +100 -100
- 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 +1 -1
- 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 +85 -85
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +253 -253
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +129 -129
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +93 -93
- 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 +96 -96
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +185 -185
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +98 -98
- 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 +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +1 -1
- 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 +7 -7
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +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 +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +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 +138 -138
- 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 +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +249 -249
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -97
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- 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 +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +254 -254
- package/dist/session/execution.js +171 -171
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +152 -152
- 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 +144 -144
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +164 -164
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +3 -3
- 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 +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +233 -233
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +248 -248
- package/dist/session/usage.js +1 -1
- package/dist/session.js +237 -237
- 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 +154 -154
- 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 +188 -188
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +172 -172
- package/dist/tool/plugin/grep.js +171 -171
- package/dist/tool/plugin/image-generate.js +245 -245
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +173 -173
- 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 +242 -242
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +152 -152
- 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 +98 -98
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +1 -1
- 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 +99 -99
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +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/pty-00ve6mdn.js +0 -18
- package/dist/chunks/pty-b54npr3t.js +0 -265
- package/dist/chunks/pty-ckk0m6t8.js +0 -26
- package/dist/chunks/pty-y32xxt00.js +0 -16
- /package/dist/chunks/{pty-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-108x4f4w.js → snapshot-108x4f4w.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kah00gy.js → snapshot-1kah00gy.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3af0jn4w.js → snapshot-3af0jn4w.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4qk9sjk2.js → snapshot-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-5w3e23ze.js → snapshot-5w3e23ze.js} +0 -0
- /package/dist/chunks/{pty-6agm2x70.js → snapshot-6agm2x70.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-beh6qq61.js → snapshot-beh6qq61.js} +0 -0
- /package/dist/chunks/{pty-bhmrqjy3.js → snapshot-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cqv5kn06.js → snapshot-cqv5kn06.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-ean2d8b5.js → snapshot-ean2d8b5.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fkpq3x5p.js → snapshot-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jwr30sdr.js → snapshot-jwr30sdr.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-nh4v3znn.js → snapshot-nh4v3znn.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-p71gwv9c.js → snapshot-p71gwv9c.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-syrav9an.js → snapshot-syrav9an.js} +0 -0
- /package/dist/chunks/{pty-t03h4f5z.js → snapshot-t03h4f5z.js} +0 -0
- /package/dist/chunks/{pty-ty7weeps.js → snapshot-ty7weeps.js} +0 -0
- /package/dist/chunks/{pty-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{pty-vtarvj67.js → snapshot-vtarvj67.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x4th4bpe.js → snapshot-x4th4bpe.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-z0h12gs8.js → snapshot-z0h12gs8.js} +0 -0
- /package/dist/chunks/{pty-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
- /package/dist/chunks/{pty-zxpyjp51.js → snapshot-zxpyjp51.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./snapshot-wkmc7x5w.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Info10,
|
|
9
9
|
ID9,
|
|
10
10
|
Name2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-vk2efkt7.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin14,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -220,10 +220,20 @@ opencode service status
|
|
|
220
220
|
OpenCode exposes an HTTP API from its server. The API is described by an
|
|
221
221
|
OpenAPI document available from the running server at \`/openapi.json\`.
|
|
222
222
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
223
|
+
In Code Mode, use the built-in \`opencode\` tool namespace first, called inside
|
|
224
|
+
\`execute\` as \`tools.opencode.*\`. These tools skip the shell round-trip and
|
|
225
|
+
handle discovery and authentication. They cover sessions (\`session_rename\`,
|
|
226
|
+
\`session_move\`), worktrees (\`worktree_create\`, \`worktree_list\`,
|
|
227
|
+
\`worktree_remove\`), model search (\`models\`), MCP resource discovery and reading
|
|
228
|
+
(\`list_mcp_resources\`, \`read_mcp_resource\`), schedules (\`schedule_create\`,
|
|
229
|
+
\`schedule_list\`, \`schedule_pause\`, \`schedule_resume\`, \`schedule_delete\`), and
|
|
230
|
+
artifacts (\`artifact_create\`, \`artifact_read\`, \`artifact_update\`,
|
|
231
|
+
\`artifact_delete\`).
|
|
232
|
+
|
|
233
|
+
For anything those tools do not cover, use OpenCode's built-in \`api\` command.
|
|
234
|
+
It uses the same discovery and authentication flow as the TUI and may start the
|
|
235
|
+
background service when no compatible healthy service is available. It accepts
|
|
236
|
+
either an HTTP method and path or an OpenAPI operation ID.
|
|
227
237
|
|
|
228
238
|
Call an endpoint with an HTTP method and path:
|
|
229
239
|
|
|
@@ -430,19 +440,19 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
440
|
var ReportContent2 = report_default;
|
|
431
441
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
432
442
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
433
|
-
var
|
|
443
|
+
var Plugin14 = define({
|
|
434
444
|
id: "opencode.skill",
|
|
435
445
|
effect: Effect.fn(function* (ctx) {
|
|
436
446
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
447
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
448
|
+
editor.add(Info10.make({
|
|
439
449
|
id: ID9.make("opencode"),
|
|
440
450
|
name: Name2.make("OpenCode"),
|
|
441
451
|
description: OpencodeDescription2,
|
|
442
452
|
path: AbsolutePath2.make("skill://opencode/SKILL.md"),
|
|
443
453
|
content: OpencodeContent2
|
|
444
454
|
}));
|
|
445
|
-
editor.add(
|
|
455
|
+
editor.add(Info10.make({
|
|
446
456
|
id: ID9.make("report"),
|
|
447
457
|
name: Name2.make("Report"),
|
|
448
458
|
description: REPORT_DESCRIPTION,
|
|
@@ -472,7 +482,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
482
|
`);
|
|
473
483
|
});
|
|
474
484
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
485
|
+
const config = yield* Service73;
|
|
476
486
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
487
|
});
|
|
478
488
|
function terminal() {
|
|
@@ -486,4 +496,4 @@ function shell() {
|
|
|
486
496
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
497
|
}
|
|
488
498
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
499
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin14, exports_skill };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service91
|
|
3
|
-
} from "./pty-3bzhzpnf.js";
|
|
4
1
|
import {
|
|
5
2
|
Service88
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./snapshot-0w75ztav.js";
|
|
4
|
+
import {
|
|
5
|
+
Service86
|
|
6
|
+
} from "./snapshot-0cvyppvf.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service33
|
|
10
|
+
} from "./snapshot-n16q9wcr.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
|
+
Plugin: () => Plugin10
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin10 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service86;
|
|
200
|
+
const mcp = yield* Service33;
|
|
201
|
+
const bus = yield* Service88;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin10, exports_command };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
11
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
|
-
WebSearchMcp: () =>
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export { MAX_RESPONSE_BYTES2, parseResponse2, call2,
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service86
|
|
6
|
+
} from "./snapshot-0cvyppvf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
|
|
|
54
54
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service86;
|
|
58
58
|
const system = (() => {
|
|
59
59
|
if (options?.system === false)
|
|
60
60
|
return;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-40y6dtc2.js";
|
|
4
4
|
import {
|
|
5
5
|
which2,
|
|
6
6
|
isAppExecutionAlias2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-x4th4bpe.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/shell/select.ts
|
|
13
13
|
var exports_select = {};
|
|
14
14
|
__export(exports_select, {
|
|
15
|
-
Options: () =>
|
|
16
|
-
Service: () =>
|
|
15
|
+
Options: () => Options7,
|
|
16
|
+
Service: () => Service53,
|
|
17
17
|
ShellSelect: () => exports_select,
|
|
18
18
|
args: () => args2,
|
|
19
|
-
configured: () =>
|
|
19
|
+
configured: () => configured9,
|
|
20
20
|
environment: () => environment2,
|
|
21
21
|
gitbash: () => gitbash2,
|
|
22
|
-
list: () =>
|
|
22
|
+
list: () => list4,
|
|
23
23
|
login: () => login2,
|
|
24
24
|
name: () => name17,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node57,
|
|
26
26
|
ps: () => ps2,
|
|
27
|
-
resolve: () =>
|
|
27
|
+
resolve: () => resolve3
|
|
28
28
|
});
|
|
29
29
|
import path from "path";
|
|
30
30
|
import { readFile } from "fs/promises";
|
|
@@ -44,11 +44,11 @@ var META = {
|
|
|
44
44
|
sh: { login: true },
|
|
45
45
|
zsh: { login: true }
|
|
46
46
|
};
|
|
47
|
-
var
|
|
47
|
+
var Options7 = Schema.Struct({
|
|
48
48
|
gitbash: Schema.optional(Schema.String)
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service53 extends Context.Service()("@opencode/ShellSelect") {
|
|
52
52
|
}
|
|
53
53
|
function stat(file) {
|
|
54
54
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -165,7 +165,7 @@ function environment2(bin, filter) {
|
|
|
165
165
|
}
|
|
166
166
|
var defaultConfigured;
|
|
167
167
|
var defaultCompatible;
|
|
168
|
-
function
|
|
168
|
+
function resolve3(input, configShell, options, bin) {
|
|
169
169
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
170
170
|
if (configShell)
|
|
171
171
|
return select(configShell, options, filter, bin);
|
|
@@ -181,15 +181,15 @@ function resolve5(input, configShell, options, bin) {
|
|
|
181
181
|
defaultConfigured = { bin, value };
|
|
182
182
|
return value;
|
|
183
183
|
}
|
|
184
|
-
|
|
184
|
+
resolve3.reset = () => {
|
|
185
185
|
defaultConfigured = undefined;
|
|
186
186
|
defaultCompatible = undefined;
|
|
187
187
|
};
|
|
188
|
-
async function
|
|
188
|
+
async function list4(options, bin) {
|
|
189
189
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
190
190
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
191
191
|
}
|
|
192
|
-
var layer = (options) => Layer.effect(
|
|
192
|
+
var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
193
193
|
const global = yield* Global.Service;
|
|
194
194
|
const state = create4({
|
|
195
195
|
name: "shell-select",
|
|
@@ -200,16 +200,16 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
200
200
|
}
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
|
-
return
|
|
203
|
+
return Service53.of({
|
|
204
204
|
transform: state.transform,
|
|
205
205
|
reload: state.reload,
|
|
206
|
-
resolve: (input) => Effect.sync(() =>
|
|
207
|
-
list: () => Effect.promise(() =>
|
|
206
|
+
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
207
|
+
list: () => Effect.promise(() => list4(options, global.bin))
|
|
208
208
|
});
|
|
209
209
|
}));
|
|
210
|
-
function
|
|
211
|
-
return makeLocationNode({ service:
|
|
210
|
+
function configured9(options) {
|
|
211
|
+
return makeLocationNode({ service: Service53, layer: layer(options), deps: [Global.node] });
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var node57 = configured9();
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Options7, Service53, gitbash2, name17, login2, ps2, args2, environment2, resolve3, list4, configured9, node57, exports_select };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service91,
|
|
6
|
-
node95
|
|
7
|
-
} from "./pty-3bzhzpnf.js";
|
|
2
|
+
node73
|
|
3
|
+
} from "./snapshot-xbh74875.js";
|
|
8
4
|
import {
|
|
9
5
|
Service88,
|
|
10
6
|
node92
|
|
11
|
-
} from "./
|
|
7
|
+
} from "./snapshot-0w75ztav.js";
|
|
8
|
+
import {
|
|
9
|
+
Service86,
|
|
10
|
+
node90
|
|
11
|
+
} from "./snapshot-0cvyppvf.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
|
+
Service91,
|
|
18
|
+
node95
|
|
19
|
+
} from "./snapshot-13q849fv.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service73,
|
|
22
|
+
node77
|
|
23
|
+
} from "./snapshot-wkmc7x5w.js";
|
|
24
24
|
import {
|
|
25
25
|
resolver2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./snapshot-mngt2jxm.js";
|
|
27
27
|
import {
|
|
28
28
|
detect2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./snapshot-4pyp9zr9.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service23,
|
|
32
|
+
node26
|
|
33
|
+
} from "./snapshot-6fp8sfjz.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: () => Service20,
|
|
58
58
|
UpdateInput: () => UpdateInput3,
|
|
59
59
|
locate: () => locate2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node23
|
|
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 Service20 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*
|
|
150
|
-
const config = yield*
|
|
148
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
149
|
+
const bus = yield* Service88;
|
|
150
|
+
const config = yield* Service73;
|
|
151
151
|
const global = yield* Global.Service;
|
|
152
|
-
const kv = yield*
|
|
153
|
-
const location = yield*
|
|
154
|
-
const sessions = yield*
|
|
152
|
+
const kv = yield* Service91;
|
|
153
|
+
const location = yield* Service86;
|
|
154
|
+
const sessions = yield* Service23;
|
|
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(Service26, 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(Service26, 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 Service20.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(Service26, 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(Service26, 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(Service26, Effect.gen(function* () {
|
|
|
347
347
|
})
|
|
348
348
|
});
|
|
349
349
|
}));
|
|
350
|
-
var
|
|
351
|
-
service:
|
|
350
|
+
var node23 = makeLocationNode({
|
|
351
|
+
service: Service20,
|
|
352
352
|
layer,
|
|
353
|
-
deps: [
|
|
353
|
+
deps: [node73, node92, node77, Global.node, node95, node90, 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, Service20, locate2, node23, exports_artifact2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service62,
|
|
3
|
+
node65
|
|
4
|
+
} from "./snapshot-fkasyrab.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Service84,
|
|
7
|
+
node88,
|
|
8
8
|
canonical3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-89472aq0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service59
|
|
12
|
+
} from "./snapshot-3hks0vxv.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-7zfgnb90.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option, Scope } from "effect";
|
|
19
19
|
var HELD_WARNING_AFTER = "30 seconds";
|
|
20
20
|
function buildLocationServiceMap2(replacements = []) {
|
|
21
|
-
return Layer.effect(
|
|
21
|
+
return Layer.effect(Service84, Effect.gen(function* () {
|
|
22
22
|
const owner = yield* Effect.scope;
|
|
23
23
|
const builds = MutableHashMap.empty();
|
|
24
24
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
const finish = Effect.suspend(() => {
|
|
29
29
|
if (Exit.isSuccess(exit)) {
|
|
30
30
|
return Effect.gen(function* () {
|
|
31
|
-
const lifecycle = Context.get(exit.value,
|
|
31
|
+
const lifecycle = Context.get(exit.value, Service59);
|
|
32
32
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
33
33
|
return yield* lifecycle.shutdown;
|
|
34
34
|
build.close = lifecycle.shutdown;
|
|
@@ -65,11 +65,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
65
65
|
}).pipe(Effect.uninterruptible)
|
|
66
66
|
};
|
|
67
67
|
const bindings = [
|
|
68
|
-
|
|
68
|
+
node65.replace(Layer.succeed(Service62, {
|
|
69
69
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
70
70
|
})),
|
|
71
71
|
...replacements,
|
|
72
|
-
|
|
72
|
+
node88.replace(Layer.succeed(Service84, map))
|
|
73
73
|
];
|
|
74
74
|
return map;
|
|
75
75
|
}));
|