@opencode/core 0.0.0-dev-999 → 0.0.0-dev-1000
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 +9 -9
- package/dist/artifact.js +242 -242
- package/dist/bus.js +80 -80
- package/dist/chunks/{model-w6nfnjvs.js → formatter-00tbpbtc.js} +3 -3
- package/dist/chunks/{model-z7va9jc3.js → formatter-02jh9rbm.js} +2 -2
- package/dist/chunks/{model-xnswe3qp.js → formatter-06qmw3p1.js} +12 -12
- package/dist/chunks/{model-vfs4a21s.js → formatter-0kz4dby5.js} +42 -42
- package/dist/chunks/{model-0ma9gw4f.js → formatter-0ma9gw4f.js} +2 -2
- package/dist/chunks/{model-eh1xkk5s.js → formatter-0y15sqga.js} +9 -9
- package/dist/chunks/{model-2kr977wv.js → formatter-0zf6haa4.js} +31 -31
- package/dist/chunks/{model-fv3530tt.js → formatter-13mw6316.js} +11 -11
- package/dist/chunks/{model-v5hpj9dd.js → formatter-160yv0cs.js} +8 -8
- package/dist/chunks/{model-04jyy754.js → formatter-190w6pdq.js} +4 -4
- package/dist/chunks/{model-1aqsckx4.js → formatter-1aqsckx4.js} +1 -1
- package/dist/chunks/{model-jvq1eehf.js → formatter-1e359xj3.js} +14 -14
- package/dist/chunks/{model-wvje8v9p.js → formatter-1ej7we7g.js} +3 -3
- package/dist/chunks/{model-rx88ctjy.js → formatter-1rwkd6n1.js} +17 -17
- package/dist/chunks/{model-wd5snt1e.js → formatter-1vjyth2v.js} +4 -4
- package/dist/chunks/{model-1x2knyw4.js → formatter-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-p7vhpwh8.js → formatter-1yq9hg58.js} +5 -5
- package/dist/chunks/{model-vmqe41cb.js → formatter-20pht57w.js} +4 -4
- package/dist/chunks/{model-25h84942.js → formatter-25h84942.js} +1 -1
- package/dist/chunks/{model-27w5k9zf.js → formatter-27w5k9zf.js} +2 -2
- package/dist/chunks/{model-xnns4yxp.js → formatter-29eg20zk.js} +28 -28
- package/dist/chunks/{model-xyj2kwwa.js → formatter-2av63krf.js} +9 -9
- package/dist/chunks/{model-2fc7eemy.js → formatter-2fc7eemy.js} +1 -1
- package/dist/chunks/{model-cxsbk2pg.js → formatter-2fs9qyh6.js} +4 -4
- package/dist/chunks/{model-r7r55277.js → formatter-2hc2yyeh.js} +8 -8
- package/dist/chunks/{model-hx1g6sm0.js → formatter-2jkywvm5.js} +6 -6
- package/dist/chunks/{model-4c54z4fy.js → formatter-2kcjc070.js} +12 -12
- package/dist/chunks/{model-2p60zmnr.js → formatter-2p60zmnr.js} +2 -2
- package/dist/chunks/{model-qktm7q6b.js → formatter-2pf3d9w0.js} +9 -9
- package/dist/chunks/{model-nztsd3ja.js → formatter-2w1wqytc.js} +20 -20
- package/dist/chunks/{model-n88hzhfw.js → formatter-2xz108rz.js} +33 -33
- package/dist/chunks/{model-mgrcf8eg.js → formatter-2y5jks6s.js} +10 -10
- package/dist/chunks/{model-d390zwf3.js → formatter-31avdb49.js} +8 -8
- package/dist/chunks/{model-274ws26c.js → formatter-36n3ct1y.js} +3 -3
- package/dist/chunks/{model-3cbjf1nt.js → formatter-3cbjf1nt.js} +2 -2
- package/dist/chunks/{model-90jx25jr.js → formatter-3ce8cybv.js} +30 -30
- package/dist/chunks/{model-vkyjax41.js → formatter-3ct7ma1z.js} +9 -9
- package/dist/chunks/{model-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-rq513mcc.js → formatter-3mvtj3xp.js} +4 -4
- package/dist/chunks/{model-3nnrz6f6.js → formatter-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-ezss272g.js → formatter-3ntc2dpd.js} +10 -10
- package/dist/chunks/{model-4a91fd80.js → formatter-3r7kkjbz.js} +11 -11
- package/dist/chunks/{model-cd36nz1h.js → formatter-3rapmj7b.js} +8 -8
- package/dist/chunks/{model-nx0e49rf.js → formatter-3stv24ez.js} +6 -6
- package/dist/chunks/{model-0fxg9pvt.js → formatter-3typ3c0r.js} +54 -54
- package/dist/chunks/{model-b14yber2.js → formatter-3zabr8p3.js} +1 -1
- package/dist/chunks/{model-40y6dtc2.js → formatter-40y6dtc2.js} +1 -1
- package/dist/chunks/{model-0jsqw7fy.js → formatter-42vnvh13.js} +14 -14
- package/dist/chunks/{model-44pmzq9c.js → formatter-44pmzq9c.js} +2 -2
- package/dist/chunks/{model-e0aw4qwy.js → formatter-47dp1ee1.js} +13 -13
- package/dist/chunks/{model-y1mqj5se.js → formatter-4a5wwhqd.js} +20 -20
- package/dist/chunks/{model-x3bh6t04.js → formatter-4aszvtk9.js} +6 -6
- package/dist/chunks/{model-4dx1dgte.js → formatter-4dx1dgte.js} +1 -1
- package/dist/chunks/{model-c461m01n.js → formatter-4ep1bc72.js} +31 -31
- package/dist/chunks/{model-chszet6t.js → formatter-4ey40yhv.js} +12 -12
- package/dist/chunks/{model-8ssh1wte.js → formatter-4kqnsz5j.js} +17 -17
- package/dist/chunks/{model-g8z6k6r2.js → formatter-4mvwkj15.js} +11 -11
- package/dist/chunks/{model-tqkdcr62.js → formatter-4nhqhmvh.js} +18 -18
- package/dist/chunks/{model-4pyp9zr9.js → formatter-4pyp9zr9.js} +1 -1
- package/dist/chunks/{model-xbrs5bj0.js → formatter-4q6sz825.js} +6 -6
- package/dist/chunks/{model-hq21jm9z.js → formatter-4spksd2a.js} +12 -12
- package/dist/chunks/{model-4v008n1t.js → formatter-4v008n1t.js} +1 -1
- package/dist/chunks/{model-7xcrky0a.js → formatter-4w8vg081.js} +22 -22
- package/dist/chunks/{model-hyqmt6qr.js → formatter-4ypwwgtd.js} +6 -6
- package/dist/chunks/{model-bzj6z3es.js → formatter-505zjtpt.js} +7 -7
- package/dist/chunks/{model-5xwvkjrr.js → formatter-5c5fd2mc.js} +28 -28
- package/dist/chunks/{model-xxd3q6d0.js → formatter-5gremw96.js} +89 -89
- package/dist/chunks/{model-9dzheyx2.js → formatter-5gt76wd2.js} +30 -30
- package/dist/chunks/{model-bb24a82z.js → formatter-5jn3fajq.js} +8 -8
- package/dist/chunks/{model-3zjs10z6.js → formatter-5kyed299.js} +25 -25
- package/dist/chunks/{model-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-mhpca445.js → formatter-5p1pxqys.js} +36 -36
- package/dist/chunks/{model-x9gs7zhw.js → formatter-5qdcckqr.js} +13 -13
- package/dist/chunks/{model-bfvbnjh9.js → formatter-5sdw36aq.js} +27 -27
- package/dist/chunks/{model-rtx1kdkb.js → formatter-5sy3stez.js} +10 -10
- package/dist/chunks/{model-5whx36p1.js → formatter-5whx36p1.js} +1 -1
- package/dist/chunks/{model-a480hvw3.js → formatter-5x1h6kk8.js} +18 -18
- package/dist/chunks/{model-ch8s1y8s.js → formatter-5xtdp7sy.js} +32 -32
- package/dist/chunks/{model-mgm0hmvg.js → formatter-5zksj629.js} +41 -41
- package/dist/chunks/{model-kze6nzna.js → formatter-62zd5tzk.js} +4 -4
- package/dist/chunks/{model-2g47c0ps.js → formatter-6cs11t3q.js} +11 -11
- package/dist/chunks/{model-mk91enp0.js → formatter-6yj5npp1.js} +8 -8
- package/dist/chunks/{model-zgx4rd1t.js → formatter-71rkptkz.js} +11 -11
- package/dist/chunks/{model-27h849jz.js → formatter-73z6c2kb.js} +21 -21
- package/dist/chunks/{model-wff00dc7.js → formatter-76xygsa5.js} +9 -9
- package/dist/chunks/{model-775hqbnd.js → formatter-775hqbnd.js} +3 -3
- package/dist/chunks/{model-r7ykf8xa.js → formatter-77crq9fe.js} +22 -22
- package/dist/chunks/{model-35bf8v5y.js → formatter-7952znqf.js} +39 -39
- package/dist/chunks/{model-zfzvnjsx.js → formatter-79px22ft.js} +9 -9
- package/dist/chunks/{model-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-95jvn330.js → formatter-7k2wdskw.js} +31 -31
- package/dist/chunks/{model-xvn8mnch.js → formatter-7stesae1.js} +4 -4
- package/dist/chunks/{model-7w2ypzdf.js → formatter-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-7weczvnd.js → formatter-7weczvnd.js} +1 -1
- package/dist/chunks/{model-80pdk984.js → formatter-80pdk984.js} +1 -1
- package/dist/chunks/{model-w71fm6xr.js → formatter-8255mbsd.js} +5 -5
- package/dist/chunks/{model-a3fn0gmm.js → formatter-85cp97b5.js} +2 -2
- package/dist/chunks/{model-9ph1e4xr.js → formatter-873gd18q.js} +16 -16
- package/dist/chunks/{model-01msxrc2.js → formatter-876f3pba.js} +26 -26
- package/dist/chunks/{model-nqkteeb0.js → formatter-89gjpwsq.js} +12 -12
- package/dist/chunks/{model-sx27c7qs.js → formatter-8hfctyyf.js} +4 -4
- package/dist/chunks/{model-963hk181.js → formatter-8qqg9kww.js} +9 -9
- package/dist/chunks/{model-8wtp7s3z.js → formatter-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-04rh7t8q.js → formatter-8yr6na46.js} +13 -13
- package/dist/chunks/{model-vz4x3gkp.js → formatter-8ywczf47.js} +10 -10
- package/dist/chunks/{model-8z6m94af.js → formatter-8z6m94af.js} +3 -3
- package/dist/chunks/{model-8zv0xmg5.js → formatter-8zv0xmg5.js} +1 -1
- package/dist/chunks/{model-k40v4qcg.js → formatter-90g9ssqr.js} +6 -6
- package/dist/chunks/{model-9m2gkx13.js → formatter-943p5k11.js} +15 -15
- package/dist/chunks/{model-rj7jtxy8.js → formatter-94e33dpz.js} +3 -3
- package/dist/chunks/{model-2pnhf2fv.js → formatter-96r3xk19.js} +10 -10
- package/dist/chunks/{model-g13fcfkr.js → formatter-98e4zkpa.js} +6 -6
- package/dist/chunks/{model-jh5xh74j.js → formatter-9ck5ta0b.js} +9 -9
- package/dist/chunks/{model-yxjjpj5q.js → formatter-9kykmj99.js} +7 -7
- package/dist/chunks/{model-73ff1310.js → formatter-9rqfe4ad.js} +3 -3
- package/dist/chunks/{model-41cbsehj.js → formatter-9sc6v20b.js} +2 -2
- package/dist/chunks/{model-hjyqwha2.js → formatter-a6zbtccs.js} +5 -5
- package/dist/chunks/{model-fnbs50vg.js → formatter-ad21nhqb.js} +23 -23
- package/dist/chunks/{model-c0mmx4zc.js → formatter-ags90a5x.js} +4 -4
- package/dist/chunks/{model-re2amjme.js → formatter-agyemb8f.js} +9 -9
- package/dist/chunks/{model-aj7mw0zk.js → formatter-aj7mw0zk.js} +2 -2
- package/dist/chunks/{model-e6gm93ev.js → formatter-amwpfx0t.js} +7 -7
- package/dist/chunks/{model-0hxcpwt2.js → formatter-apvytp1g.js} +3 -3
- package/dist/chunks/{model-k3yknsh6.js → formatter-avxgj5k3.js} +17 -17
- package/dist/chunks/{model-b26ddj6h.js → formatter-b26ddj6h.js} +4 -4
- package/dist/chunks/{model-vwavmtjg.js → formatter-babr3r9n.js} +10 -10
- package/dist/chunks/{model-bb3mmwvh.js → formatter-bb3mmwvh.js} +2 -2
- package/dist/chunks/{model-gbbwgw5m.js → formatter-bnq5by8f.js} +28 -28
- package/dist/chunks/{model-r15r0aq8.js → formatter-bv752wmd.js} +7 -7
- package/dist/chunks/{model-by8ty0bx.js → formatter-by8ty0bx.js} +1 -1
- package/dist/chunks/{model-t8erkws8.js → formatter-bys6f9s7.js} +5 -5
- package/dist/chunks/{model-tqym28t1.js → formatter-c0nt7yex.js} +16 -16
- package/dist/chunks/{model-wf063wdx.js → formatter-c3kv2ng3.js} +44 -44
- package/dist/chunks/{model-154zcyc9.js → formatter-c5vx1zac.js} +5 -5
- package/dist/chunks/{model-c7cw818c.js → formatter-c7cw818c.js} +2 -2
- package/dist/chunks/{model-x30t04qp.js → formatter-capaz2y0.js} +16 -16
- package/dist/chunks/{model-v0k299ff.js → formatter-cavvtjzh.js} +22 -22
- package/dist/chunks/{model-mereyghy.js → formatter-cmz2nc3h.js} +10 -10
- package/dist/chunks/{model-s26c8eb5.js → formatter-cr4rfj9z.js} +4 -4
- package/dist/chunks/{model-128ksrt2.js → formatter-csn675w3.js} +8 -8
- package/dist/chunks/{model-esrwvfp1.js → formatter-cw7tjf4k.js} +35 -35
- package/dist/chunks/{model-cwrgdav8.js → formatter-cwrgdav8.js} +2 -2
- package/dist/chunks/{model-g95xsjx3.js → formatter-cwxgb76q.js} +8 -8
- package/dist/chunks/{model-ctv9sxcf.js → formatter-cy81vs2n.js} +26 -26
- package/dist/chunks/{model-y3g0nctn.js → formatter-d15xpb57.js} +6 -6
- package/dist/chunks/{model-d4v9tmah.js → formatter-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-mjmbzz7a.js → formatter-d61dj13r.js} +14 -14
- package/dist/chunks/{model-jjktkhap.js → formatter-d68btebf.js} +11 -11
- package/dist/chunks/{model-gbzkt52z.js → formatter-d9y491gy.js} +84 -84
- package/dist/chunks/{model-fwtffrk0.js → formatter-db7peafr.js} +364 -364
- package/dist/chunks/{model-d8p3t516.js → formatter-dds9zz6p.js} +4 -4
- package/dist/chunks/{model-tg6j13r4.js → formatter-dg9w2j4f.js} +11 -11
- package/dist/chunks/{model-kq01fqtz.js → formatter-dj2xpa7h.js} +11 -11
- package/dist/chunks/{model-menzs2zj.js → formatter-djpvbk2v.js} +23 -23
- package/dist/chunks/{model-j41vtabc.js → formatter-dpg896t5.js} +13 -13
- package/dist/chunks/{model-rcanfscb.js → formatter-dqn4a6f5.js} +8 -8
- package/dist/chunks/{model-92ny0p1b.js → formatter-dr1g52tf.js} +9 -9
- package/dist/chunks/{model-dt77769w.js → formatter-dt77769w.js} +1 -1
- package/dist/chunks/{model-jrxrsea6.js → formatter-dx66f8d0.js} +17 -17
- package/dist/chunks/{model-7m5xp29h.js → formatter-dyca4k2n.js} +16 -16
- package/dist/chunks/{model-svpmxkv2.js → formatter-e3hj8wp1.js} +35 -35
- package/dist/chunks/{model-4fhxvrqa.js → formatter-e565ng7j.js} +3 -3
- package/dist/chunks/{model-2fnnq65x.js → formatter-eht02vjq.js} +3 -3
- package/dist/chunks/{model-08ywff7t.js → formatter-ej2b0mfk.js} +30 -30
- package/dist/chunks/{model-gapfq15c.js → formatter-eq0h0qwa.js} +22 -22
- package/dist/chunks/{model-eqw4pqj1.js → formatter-eqw4pqj1.js} +2 -2
- package/dist/chunks/{model-aw20hh5n.js → formatter-fb37jbgj.js} +10 -10
- package/dist/chunks/{model-c5ptde5m.js → formatter-fcrppmnh.js} +31 -31
- package/dist/chunks/{model-fffv3p7h.js → formatter-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-fg9p65nk.js → formatter-fg9p65nk.js} +2 -2
- package/dist/chunks/{model-0tm36zze.js → formatter-fh1h6pam.js} +18 -18
- package/dist/chunks/{model-b8865jrk.js → formatter-fw4jn2ny.js} +8 -8
- package/dist/chunks/{model-3v3n70sq.js → formatter-fzm3zqp3.js} +17 -17
- package/dist/chunks/{model-nbpf5s2w.js → formatter-g421yvh5.js} +18 -18
- package/dist/chunks/{model-q82pc0fv.js → formatter-g5djxpkw.js} +13 -13
- package/dist/chunks/{model-7vn2r66h.js → formatter-g8y35rry.js} +23 -23
- package/dist/chunks/{model-rsbsv3ka.js → formatter-g9n7frzr.js} +19 -19
- package/dist/chunks/{model-ama0tws7.js → formatter-g9wg3nve.js} +13 -13
- package/dist/chunks/{model-gbjdnr5j.js → formatter-gbjdnr5j.js} +2 -2
- package/dist/chunks/{model-nd63gaqc.js → formatter-geepqys7.js} +23 -23
- package/dist/chunks/{model-tma022qm.js → formatter-gqdsmv47.js} +10 -10
- package/dist/chunks/{model-yfsgecb2.js → formatter-grj1pt4p.js} +11 -11
- package/dist/chunks/formatter-grzehpz7.js +18 -0
- package/dist/chunks/{model-a34yprc9.js → formatter-gtff6ewa.js} +46 -46
- package/dist/chunks/{model-jvcygd6j.js → formatter-gy24j455.js} +9 -9
- package/dist/chunks/{model-r0yp5dgt.js → formatter-h1hqzkwe.js} +21 -21
- package/dist/chunks/{model-5efhg67f.js → formatter-h7n7yeqs.js} +15 -15
- package/dist/chunks/{model-qfxt7s7z.js → formatter-h8744wrh.js} +16 -16
- package/dist/chunks/{model-7sc8mbv4.js → formatter-hag18q8h.js} +15 -15
- package/dist/chunks/{model-v4n5y60f.js → formatter-hdbr8b2x.js} +20 -20
- package/dist/chunks/{model-hgzwgvze.js → formatter-hgzwgvze.js} +2 -2
- package/dist/chunks/{model-hj0xet7m.js → formatter-hj0xet7m.js} +2 -2
- package/dist/chunks/{model-qzaz5bwz.js → formatter-hjjbn57r.js} +16 -16
- package/dist/chunks/{model-s4a9q8qj.js → formatter-hnryc5zp.js} +1 -1
- package/dist/chunks/formatter-hy5pnb33.js +26 -0
- package/dist/chunks/{model-hvtnb39j.js → formatter-hy5qnnb4.js} +6 -6
- package/dist/chunks/{model-rzzpvj3x.js → formatter-j5679jb1.js} +24 -24
- package/dist/chunks/{model-j9nxzz3g.js → formatter-j9nxzz3g.js} +3 -3
- package/dist/chunks/{model-g3bw9zqa.js → formatter-jesp4d5t.js} +13 -13
- package/dist/chunks/{model-jm70asfg.js → formatter-jm70asfg.js} +1 -1
- package/dist/chunks/formatter-jn12jmgb.js +265 -0
- package/dist/chunks/{model-99mtj9fr.js → formatter-jp7vhfdz.js} +4 -4
- package/dist/chunks/{model-kd2jy9g4.js → formatter-jrq87v6s.js} +34 -34
- package/dist/chunks/{model-j3f8hyeg.js → formatter-k98yejja.js} +7 -7
- package/dist/chunks/{model-58jj18ay.js → formatter-kaczt1e9.js} +28 -28
- package/dist/chunks/{model-brv6mkyx.js → formatter-kbgs7tyr.js} +4 -4
- package/dist/chunks/{model-jh0y9090.js → formatter-kckqeny3.js} +5 -5
- package/dist/chunks/{model-c65nt65b.js → formatter-ke2q0jvk.js} +17 -17
- package/dist/chunks/{model-h1m88njt.js → formatter-kj8wc474.js} +2 -2
- package/dist/chunks/{model-7nqkf5r1.js → formatter-kmekj7m2.js} +4 -4
- package/dist/chunks/{model-xrx37m5e.js → formatter-kmqymfwk.js} +32 -32
- package/dist/chunks/{model-kt3bjfbg.js → formatter-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-ktck1cjp.js → formatter-ktck1cjp.js} +3 -3
- package/dist/chunks/{model-8caa54y3.js → formatter-kx88arew.js} +19 -19
- package/dist/chunks/{model-kzczzf4v.js → formatter-kzczzf4v.js} +1 -1
- package/dist/chunks/{model-7cjy8m2c.js → formatter-m03zynjd.js} +11 -11
- package/dist/chunks/{model-9jz1t4ws.js → formatter-m0j052e2.js} +19 -19
- package/dist/chunks/{model-m1714858.js → formatter-m1714858.js} +1 -1
- package/dist/chunks/{model-zsgcekb9.js → formatter-m7hdyrq0.js} +17 -17
- package/dist/chunks/{model-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-1v2g13eq.js → formatter-msd2a3qm.js} +4 -4
- package/dist/chunks/{model-xb4qmwkd.js → formatter-mwjpsrna.js} +10 -10
- package/dist/chunks/{model-2n444ktb.js → formatter-my4n5qvc.js} +3 -3
- package/dist/chunks/{model-yg8twbxp.js → formatter-n1w1hn4x.js} +15 -15
- package/dist/chunks/{model-n3j33rb6.js → formatter-n3j33rb6.js} +1 -1
- package/dist/chunks/{model-sffnbtc5.js → formatter-n73t8fdt.js} +8 -8
- package/dist/chunks/{model-2merx6cy.js → formatter-nd5mww8x.js} +11 -11
- package/dist/chunks/{model-0rp2hfqs.js → formatter-ngrebpwy.js} +43 -43
- package/dist/chunks/{model-nx4vzyjd.js → formatter-nx4vzyjd.js} +2 -2
- package/dist/chunks/{model-238b4g8n.js → formatter-nxd0ra01.js} +13 -13
- package/dist/chunks/{model-xxg1degc.js → formatter-p673p6c3.js} +11 -11
- package/dist/chunks/{model-me215f18.js → formatter-p7yrz5nk.js} +1 -1
- package/dist/chunks/formatter-pcvy2xt8.js +16 -0
- package/dist/chunks/{model-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{model-9ssh8qw1.js → formatter-ppxnxwv1.js} +5 -5
- package/dist/chunks/{model-j754fh8m.js → formatter-pswvpaeg.js} +43 -43
- package/dist/chunks/{model-q42tzrxa.js → formatter-q42tzrxa.js} +1 -1
- package/dist/chunks/{model-msb9vqyk.js → formatter-q45wjhqq.js} +5 -5
- package/dist/chunks/{model-w8fmcqe9.js → formatter-q730k220.js} +15 -15
- package/dist/chunks/{model-hfxp4j6e.js → formatter-qd4atqpz.js} +3 -3
- package/dist/chunks/{model-17ekrt3z.js → formatter-qecvj5ce.js} +21 -21
- package/dist/chunks/{model-ga03p7f2.js → formatter-qkdb34y2.js} +36 -36
- package/dist/chunks/{model-qp7r0hxv.js → formatter-qp7r0hxv.js} +1 -1
- package/dist/chunks/{model-h8jj1sd5.js → formatter-qpjtqgz5.js} +25 -25
- package/dist/chunks/{model-59mrw9ac.js → formatter-qyyweck4.js} +10 -10
- package/dist/chunks/{model-3qgwywyc.js → formatter-r17fbvme.js} +4 -4
- package/dist/chunks/{model-2a6xqsmt.js → formatter-r2637b0p.js} +19 -19
- package/dist/chunks/{model-r542h3bh.js → formatter-r542h3bh.js} +1 -1
- package/dist/chunks/{model-rb9dy4dg.js → formatter-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-wc8hnhwz.js → formatter-rbrcn4ea.js} +13 -13
- package/dist/chunks/{model-8dv3qwsd.js → formatter-rcpcm9rp.js} +5 -5
- package/dist/chunks/{model-rgc9cx3e.js → formatter-rgc9cx3e.js} +2 -2
- package/dist/chunks/{model-m1ys4f9m.js → formatter-rhjxx3yk.js} +4 -4
- package/dist/chunks/{model-vt2d6wap.js → formatter-rj7j5fvs.js} +4 -4
- package/dist/chunks/{model-wyrr125q.js → formatter-rk0vrbg7.js} +6 -6
- package/dist/chunks/{model-d61aabb0.js → formatter-rktffvav.js} +4 -4
- package/dist/chunks/{model-bc2f7s06.js → formatter-rnzv336a.js} +9 -9
- package/dist/chunks/{model-n61nyeah.js → formatter-rq4663jc.js} +26 -26
- package/dist/chunks/{model-n2rdrjat.js → formatter-rqc2g2wc.js} +38 -38
- package/dist/chunks/{model-rt5dr6hb.js → formatter-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-kvmx4gfp.js → formatter-rwcc01tt.js} +5 -5
- package/dist/chunks/{model-a7143epj.js → formatter-sbegqkxp.js} +6 -6
- package/dist/chunks/{model-sbya78hr.js → formatter-sbya78hr.js} +1 -1
- package/dist/chunks/{model-ghrv1g9c.js → formatter-sdt5j0rm.js} +4 -4
- package/dist/chunks/{model-sf9y72b7.js → formatter-sf9y72b7.js} +1 -1
- package/dist/chunks/{model-g3ajmf9g.js → formatter-sgjmhqfs.js} +2 -2
- package/dist/chunks/{model-vnmstdxq.js → formatter-skbemjzc.js} +68 -68
- package/dist/chunks/{model-d1qab26r.js → formatter-spysdwxw.js} +6 -6
- package/dist/chunks/{model-r3v0ma7a.js → formatter-sq7h0arc.js} +16 -16
- package/dist/chunks/{model-sqjzf8x2.js → formatter-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-hzxewqmk.js → formatter-ss7teg2v.js} +19 -19
- package/dist/chunks/{model-svcy3p9a.js → formatter-svcy3p9a.js} +1 -1
- package/dist/chunks/{model-df0p4xp8.js → formatter-t3exdb07.js} +47 -47
- package/dist/chunks/{model-3b84fcee.js → formatter-t5bgd45j.js} +24 -24
- package/dist/chunks/{model-tbpn7jtk.js → formatter-tbpn7jtk.js} +1 -1
- package/dist/chunks/{model-tczq8hjw.js → formatter-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-hvxar7a8.js → formatter-td89d4z5.js} +3 -3
- package/dist/chunks/{model-6h8vcvjm.js → formatter-teav1bzy.js} +9 -9
- package/dist/chunks/{model-gxs71cxp.js → formatter-tg7s7b5t.js} +4 -4
- package/dist/chunks/{model-v2qcvjth.js → formatter-tkvvf6bf.js} +9 -9
- package/dist/chunks/{model-gmsh9j6n.js → formatter-tm04z4np.js} +15 -15
- package/dist/chunks/{model-tr8x705m.js → formatter-tr8x705m.js} +1 -1
- package/dist/chunks/{model-79fr46xq.js → formatter-tt2ypw9y.js} +20 -20
- package/dist/chunks/{model-f8ysvnq5.js → formatter-tve7m8xw.js} +10 -10
- package/dist/chunks/{model-tvtps2q9.js → formatter-tvtps2q9.js} +1 -1
- package/dist/chunks/{model-twssxy5n.js → formatter-twssxy5n.js} +2 -2
- package/dist/chunks/{model-yxm8dm2e.js → formatter-tycv7n3a.js} +4 -4
- package/dist/chunks/{model-2kg89srt.js → formatter-v0t96s7a.js} +4 -4
- package/dist/chunks/{model-v2r1d0zg.js → formatter-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-vk1t66ta.js → formatter-v35kc7fz.js} +3 -3
- package/dist/chunks/{model-1925gf79.js → formatter-v3gxh6dw.js} +3 -3
- package/dist/chunks/{model-fkyqk9w0.js → formatter-v5ncnv4t.js} +5 -5
- package/dist/chunks/{model-c9n7546s.js → formatter-vg2r2j9b.js} +5 -5
- package/dist/chunks/{model-vjf35v1f.js → formatter-vjf35v1f.js} +1 -1
- package/dist/chunks/{model-5kscnyky.js → formatter-vmd0ng62.js} +7 -7
- package/dist/chunks/{model-yy0zbfpp.js → formatter-vrgsck6a.js} +21 -21
- package/dist/chunks/{model-wvr8xscb.js → formatter-vwcz1f45.js} +5 -5
- package/dist/chunks/{model-bc3qwzwc.js → formatter-vx7h5j7y.js} +24 -24
- package/dist/chunks/{model-5enarcya.js → formatter-w2eysc6j.js} +6 -6
- package/dist/chunks/{model-h3gbr1tk.js → formatter-w3fpkq90.js} +6 -6
- package/dist/chunks/{model-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-q1hxmnhx.js → formatter-w5644fpa.js} +4 -4
- package/dist/chunks/{model-wakvkjy4.js → formatter-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{model-wfdx5ztx.js → formatter-wfdx5ztx.js} +1 -1
- package/dist/chunks/{model-5p0gy5zm.js → formatter-wq0w409k.js} +18 -18
- package/dist/chunks/{model-36j0hrjm.js → formatter-wq28g6e3.js} +59 -59
- package/dist/chunks/{model-wr3re1en.js → formatter-wr3re1en.js} +1 -1
- package/dist/chunks/{model-h2j106d0.js → formatter-ww00nh8a.js} +7 -7
- package/dist/chunks/{model-cntd60w8.js → formatter-x3pt7j9x.js} +12 -12
- package/dist/chunks/{model-3p5vmtwa.js → formatter-x4khej13.js} +23 -23
- package/dist/chunks/{model-8dk7dc9k.js → formatter-xa9hbkrj.js} +12 -12
- package/dist/chunks/{model-bstexjd6.js → formatter-xd9cc171.js} +5 -5
- package/dist/chunks/{model-6nj8ec3y.js → formatter-xeq6287g.js} +1 -1
- package/dist/chunks/{model-gy1m0xn3.js → formatter-xf9v85d0.js} +12 -12
- package/dist/chunks/{model-c4zywkv9.js → formatter-xh3q0y32.js} +27 -27
- package/dist/chunks/{model-3adw4bt5.js → formatter-xjbsd7zy.js} +9 -9
- package/dist/chunks/{model-w76xjer3.js → formatter-xpve62cf.js} +4 -4
- package/dist/chunks/{model-8vxybd5m.js → formatter-xtvtqcka.js} +10 -10
- package/dist/chunks/{model-86bsmw2v.js → formatter-xx8drg6a.js} +16 -16
- package/dist/chunks/{model-xxschbft.js → formatter-xxschbft.js} +1 -1
- package/dist/chunks/{model-1dtqp2tz.js → formatter-y1sms4qy.js} +9 -9
- package/dist/chunks/{model-arya9n3p.js → formatter-y4q0dy5c.js} +10 -10
- package/dist/chunks/{model-0pk1ngcf.js → formatter-y55a85fj.js} +25 -25
- package/dist/chunks/{model-y0xvjjdd.js → formatter-yavye4vk.js} +150 -150
- package/dist/chunks/{model-yb20nhc3.js → formatter-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-fnb8mg1p.js → formatter-yft4cm74.js} +54 -54
- package/dist/chunks/{model-783rzdj3.js → formatter-yp49h7c2.js} +12 -12
- package/dist/chunks/{model-yr705xyq.js → formatter-yr705xyq.js} +1 -1
- package/dist/chunks/{model-yvtc2x31.js → formatter-yvtc2x31.js} +1 -1
- package/dist/chunks/{model-wvnqk69q.js → formatter-z040z2v2.js} +7 -7
- package/dist/chunks/{model-e7cc0erc.js → formatter-z3abgc2x.js} +40 -40
- package/dist/chunks/{model-1nj39q75.js → formatter-z3mh44a3.js} +32 -32
- package/dist/chunks/{model-scn5v30h.js → formatter-z3nw929v.js} +9 -9
- package/dist/chunks/{model-3qrc3cfx.js → formatter-z3pc18rr.js} +15 -15
- package/dist/chunks/{model-0nrxkvvc.js → formatter-z8vnk1eq.js} +22 -22
- package/dist/chunks/{model-4y1fnskp.js → formatter-zajwpna7.js} +30 -30
- package/dist/chunks/{model-br1f43xn.js → formatter-zg6x6hsj.js} +6 -6
- package/dist/chunks/{model-dk8hh697.js → formatter-zgggygp6.js} +39 -39
- package/dist/chunks/{model-cj03vqj5.js → formatter-zhq6fc6b.js} +20 -20
- package/dist/chunks/{model-n1f1g11v.js → formatter-ztgc8et9.js} +26 -26
- package/dist/chunks/{model-7tdhwmy7.js → formatter-zvn75znb.js} +6 -6
- package/dist/chunks/{model-qffk4v12.js → formatter-zybtfqav.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 +7 -7
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +96 -96
- 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 +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +441 -441
- 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 +81 -81
- 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 +247 -247
- 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 +11 -11
- 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 +110 -110
- 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 +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +432 -432
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +96 -96
- package/dist/job/list.js +5 -5
- 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 +182 -182
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +114 -114
- package/dist/mcp/instructions.js +187 -187
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +106 -106
- 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 +104 -104
- 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 +115 -115
- 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 +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 +97 -97
- 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 +5 -5
- 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 +408 -408
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +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 +3 -3
- 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 +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +161 -161
- 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 +138 -138
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +85 -85
- 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 +416 -416
- 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 +6 -6
- 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 +7 -7
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +249 -249
- 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 +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +99 -99
- 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 +255 -255
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- 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 +247 -247
- package/dist/session/execution.js +169 -169
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- 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 +2 -2
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +256 -256
- 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 +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +203 -203
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +245 -245
- 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 +13 -13
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +157 -157
- package/dist/snapshot.js +106 -106
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +188 -188
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- 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 +167 -167
- 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 +152 -152
- 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 +167 -167
- 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 +163 -163
- package/dist/usage-limits.js +98 -98
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- 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 +2 -2
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +3 -3
- 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 +9 -9
- package/dist/chunks/model-ezna1kdx.js +0 -18
- package/dist/chunks/model-jnjm1jrj.js +0 -26
- package/dist/chunks/model-x3c9tvtc.js +0 -16
- package/dist/chunks/model-y7vk4fn8.js +0 -265
- /package/dist/chunks/{model-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-108x4f4w.js → formatter-108x4f4w.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-1kah00gy.js → formatter-1kah00gy.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2bv980vf.js → formatter-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3af0jn4w.js → formatter-3af0jn4w.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4qk9sjk2.js → formatter-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-5w3e23ze.js → formatter-5w3e23ze.js} +0 -0
- /package/dist/chunks/{model-6agm2x70.js → formatter-6agm2x70.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{model-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{model-84wd9syh.js → formatter-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-beh6qq61.js → formatter-beh6qq61.js} +0 -0
- /package/dist/chunks/{model-bhmrqjy3.js → formatter-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cqv5kn06.js → formatter-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-ean2d8b5.js → formatter-ean2d8b5.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-fkpq3x5p.js → formatter-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jwr30sdr.js → formatter-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-m18g726c.js → formatter-m18g726c.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-nh4v3znn.js → formatter-nh4v3znn.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-p71gwv9c.js → formatter-p71gwv9c.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-syrav9an.js → formatter-syrav9an.js} +0 -0
- /package/dist/chunks/{model-t03h4f5z.js → formatter-t03h4f5z.js} +0 -0
- /package/dist/chunks/{model-ty7weeps.js → formatter-ty7weeps.js} +0 -0
- /package/dist/chunks/{model-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-vtarvj67.js → formatter-vtarvj67.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x4th4bpe.js → formatter-x4th4bpe.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-z0h12gs8.js → formatter-z0h12gs8.js} +0 -0
- /package/dist/chunks/{model-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → formatter-z9919s4g.js} +0 -0
- /package/dist/chunks/{model-zxpyjp51.js → formatter-zxpyjp51.js} +0 -0
- /package/dist/chunks/{model-zz5vv3aq.js → formatter-zz5vv3aq.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks2 = {};
|
|
7
7
|
__export(exports_hooks2, {
|
|
8
8
|
PluginHooks: () => exports_hooks2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service67,
|
|
10
|
+
node: () => node68
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service67 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service67.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node68 = makeLocationNode({ service: Service67, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service67, node68, exports_hooks2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID16,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-rq4663jc.js";
|
|
5
5
|
import {
|
|
6
6
|
ID15,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info21,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-5sdw36aq.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models = {};
|
|
@@ -87,8 +87,8 @@ function limit(value, fallback) {
|
|
|
87
87
|
function build(id, remote, baseURL, previous) {
|
|
88
88
|
const cost = previous?.cost[0];
|
|
89
89
|
const input = previous?.limit.input;
|
|
90
|
-
return
|
|
91
|
-
...
|
|
90
|
+
return Info21.make({
|
|
91
|
+
...Info21.default(providerID, id),
|
|
92
92
|
id,
|
|
93
93
|
modelID: ID15.make(remote.id),
|
|
94
94
|
providerID,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./formatter-h8744wrh.js";
|
|
4
4
|
import {
|
|
5
5
|
ID15,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-5sdw36aq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service70
|
|
10
|
+
} from "./formatter-3typ3c0r.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service82
|
|
13
|
+
} from "./formatter-2w1wqytc.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-wr3re1en.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-w3fpkq90.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service70;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service82);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service83);
|
|
38
38
|
const defaultOrigin = origin ?? (photonWasm === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service41
|
|
3
|
+
} from "./formatter-sbegqkxp.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-grzehpz7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./formatter-t3exdb07.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-q42tzrxa.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start4 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service41;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service54), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeFiles2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-rgc9cx3e.js";
|
|
4
4
|
import {
|
|
5
5
|
makeLocalDriver2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-cwrgdav8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service83,
|
|
9
|
+
node84
|
|
10
|
+
} from "./formatter-h8744wrh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service86,
|
|
13
|
+
node88
|
|
14
|
+
} from "./formatter-5c5fd2mc.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/environment/environment.ts
|
|
20
20
|
var exports_environment3 = {};
|
|
21
21
|
__export(exports_environment3, {
|
|
22
22
|
EnvironmentService: () => exports_environment3,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service82,
|
|
24
|
+
node: () => node83
|
|
25
25
|
});
|
|
26
26
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
27
27
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import { ChildProcessSpawner } from "effect/process/ChildProcessSpawner";
|
|
30
|
-
class
|
|
30
|
+
class Service82 extends Context.Service()("@opencode/Environment") {
|
|
31
31
|
}
|
|
32
|
-
var layer = Layer.effect(
|
|
32
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
33
33
|
const spawner = yield* ChildProcessSpawner;
|
|
34
|
-
const location = yield*
|
|
35
|
-
const workspace = yield*
|
|
34
|
+
const location = yield* Service83;
|
|
35
|
+
const workspace = yield* Service86;
|
|
36
36
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
37
|
-
return
|
|
37
|
+
return Service82.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
40
|
-
service:
|
|
39
|
+
var node83 = makeLocationNode({
|
|
40
|
+
service: Service82,
|
|
41
41
|
layer,
|
|
42
|
-
deps: [CrossSpawnSpawner.node,
|
|
42
|
+
deps: [CrossSpawnSpawner.node, node84, node88]
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
-
export {
|
|
45
|
+
export { Service82, node83, exports_environment3 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-w5644fpa.js";
|
|
5
5
|
import {
|
|
6
6
|
Service36,
|
|
7
7
|
node39
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-zgggygp6.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-4pyp9zr9.js";
|
|
12
12
|
import {
|
|
13
13
|
invocation2,
|
|
14
14
|
CorrectedError2,
|
|
15
15
|
BlockedError2,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service64,
|
|
17
|
+
node65
|
|
18
|
+
} from "./formatter-7952znqf.js";
|
|
19
19
|
import {
|
|
20
20
|
normalizedName2,
|
|
21
21
|
effectiveName2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./formatter-z0h12gs8.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service44,
|
|
25
|
+
node46
|
|
26
|
+
} from "./formatter-kaczt1e9.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service60,
|
|
29
|
+
node61
|
|
30
|
+
} from "./formatter-13mw6316.js";
|
|
31
31
|
import {
|
|
32
32
|
MEDIA_MIMES2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./formatter-ss7teg2v.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./formatter-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/tool/mcp.ts
|
|
39
39
|
var exports_mcp3 = {};
|
|
40
40
|
__export(exports_mcp3, {
|
|
41
41
|
McpTool: () => exports_mcp3,
|
|
42
|
-
Service: () =>
|
|
43
|
-
layer: () =>
|
|
44
|
-
name: () =>
|
|
42
|
+
Service: () => Service27,
|
|
43
|
+
layer: () => layer14,
|
|
44
|
+
name: () => name15,
|
|
45
45
|
namespace: () => namespace2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node31
|
|
47
47
|
});
|
|
48
48
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
49
49
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -52,16 +52,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
52
52
|
import { extension } from "mime-types";
|
|
53
53
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
54
54
|
var namespace2 = (server) => normalizedName2({ name: server });
|
|
55
|
-
var
|
|
55
|
+
var name15 = (server, tool) => effectiveName2({ name: tool, options: { namespace: namespace2(server) } });
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service27 extends Context.Service()("@opencode/McpTool") {
|
|
58
58
|
}
|
|
59
|
-
var
|
|
59
|
+
var layer14 = Layer.effect(Service27, Effect.gen(function* () {
|
|
60
60
|
const mcp = yield* Service36;
|
|
61
|
-
const tools = yield*
|
|
61
|
+
const tools = yield* Service44;
|
|
62
62
|
const bus = yield* Service91;
|
|
63
|
-
const permission = yield*
|
|
64
|
-
const toolOutput = yield*
|
|
63
|
+
const permission = yield* Service64;
|
|
64
|
+
const toolOutput = yield* Service60;
|
|
65
65
|
const lock = Semaphore.makeUnsafe(1);
|
|
66
66
|
let discovered = [];
|
|
67
67
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -76,7 +76,7 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
76
76
|
output: tool.outputSchema ?? {},
|
|
77
77
|
execute: (input, context) => Effect.gen(function* () {
|
|
78
78
|
yield* permission.assert({
|
|
79
|
-
action:
|
|
79
|
+
action: name15(tool.server, tool.name),
|
|
80
80
|
resources: ["*"],
|
|
81
81
|
save: ["*"],
|
|
82
82
|
metadata: { input: input ?? {} },
|
|
@@ -119,7 +119,7 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
119
119
|
return new ToolFailure({ message: error.message, error });
|
|
120
120
|
if (error instanceof CorrectedError2)
|
|
121
121
|
return new ToolFailure({ message: error.feedback, error });
|
|
122
|
-
return new ToolFailure({ message: `Unable to execute ${
|
|
122
|
+
return new ToolFailure({ message: `Unable to execute ${name15(tool.server, tool.name)}`, error });
|
|
123
123
|
}))
|
|
124
124
|
});
|
|
125
125
|
}
|
|
@@ -133,7 +133,7 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
133
133
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
134
134
|
const updates = yield* PubSub.subscribe(changes);
|
|
135
135
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
136
|
-
return
|
|
136
|
+
return Service27.of({
|
|
137
137
|
flush: Effect.gen(function* () {
|
|
138
138
|
yield* Fiber.await(initial);
|
|
139
139
|
yield* mcp.awaitStartup();
|
|
@@ -161,10 +161,10 @@ ${bytes.toString("utf8")}` };
|
|
|
161
161
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
162
162
|
};
|
|
163
163
|
});
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
166
|
-
layer:
|
|
167
|
-
deps: [
|
|
164
|
+
var node31 = makeLocationNode({
|
|
165
|
+
service: Service27,
|
|
166
|
+
layer: layer14,
|
|
167
|
+
deps: [node46, node39, node94, node65, node61]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { namespace2,
|
|
170
|
+
export { namespace2, name15, Service27, layer14, node31, exports_mcp3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-d68btebf.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
MAX_RESPONSE_BYTES3,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-w2eysc6j.js";
|
|
11
11
|
import {
|
|
12
12
|
register3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-xxschbft.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/websearch/tinyfish.ts
|
|
19
19
|
var exports_tinyfish = {};
|
|
20
20
|
__export(exports_tinyfish, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin45,
|
|
22
22
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
23
23
|
endpoint: () => endpoint6
|
|
24
24
|
});
|
|
@@ -54,7 +54,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
54
54
|
jsonrpc: Schema.Literal("2.0"),
|
|
55
55
|
method: Schema.Literal("notifications/initialized")
|
|
56
56
|
});
|
|
57
|
-
var
|
|
57
|
+
var Plugin45 = define({
|
|
58
58
|
id: "opencode.websearch.tinyfish",
|
|
59
59
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
60
60
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -94,7 +94,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
94
94
|
}
|
|
95
95
|
}));
|
|
96
96
|
const response = yield* client.execute(request);
|
|
97
|
-
yield* collectBoundedResponseBody2(response,
|
|
97
|
+
yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
98
98
|
const session = response.headers["mcp-session-id"];
|
|
99
99
|
if (session === undefined)
|
|
100
100
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
@@ -109,4 +109,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
109
109
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
110
110
|
}));
|
|
111
111
|
|
|
112
|
-
export { endpoint6,
|
|
112
|
+
export { endpoint6, Plugin45, exports_tinyfish };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info20
|
|
7
|
+
} from "./formatter-v0t96s7a.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
ConfigAgentV1: () => exports_agent4,
|
|
16
|
-
Info: () =>
|
|
16
|
+
Info: () => Info19
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info20)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info19 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info19, exports_agent4 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-3zabr8p3.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make36,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-00tbpbtc.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-wakvkjy4.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-aj7mw0zk.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service90,
|
|
9
9
|
node93
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-vg2r2j9b.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service83,
|
|
13
|
+
node84
|
|
14
|
+
} from "./formatter-h8744wrh.js";
|
|
15
15
|
import {
|
|
16
16
|
create4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-40y6dtc2.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID10,
|
|
27
|
+
Service: () => Service61,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node62,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID10 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service61 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service90;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service83;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create4({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
75
75
|
if (!FSUtil.contains(worktree, directory))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
97
97
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
98
98
|
});
|
|
99
99
|
yield* packWhenDue(repo.snapshotRepository);
|
|
100
|
-
return
|
|
100
|
+
return ID10.make(tree);
|
|
101
101
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
102
102
|
});
|
|
103
103
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
142
142
|
for (const [file, snapshot] of input.files) {
|
|
143
143
|
const absolute = path.resolve(worktree, file);
|
|
144
144
|
if (!FSUtil.contains(worktree, absolute))
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
146
146
|
files.set(file, TreeID2.make(snapshot));
|
|
147
147
|
}
|
|
148
148
|
return files;
|
|
149
149
|
});
|
|
150
150
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
151
151
|
if (!enabled())
|
|
152
|
-
return yield* new
|
|
152
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
153
153
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
155
155
|
});
|
|
156
|
-
return
|
|
156
|
+
return Service61.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
157
157
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
158
|
-
var
|
|
159
|
-
service:
|
|
158
|
+
var node62 = makeLocationNode({
|
|
159
|
+
service: Service61,
|
|
160
160
|
layer,
|
|
161
|
-
deps: [FSUtil.node, node93, Global.node,
|
|
161
|
+
deps: [FSUtil.node, node93, Global.node, node84]
|
|
162
162
|
});
|
|
163
|
-
var
|
|
163
|
+
var noopLayer3 = Layer.succeed(Service61, Service61.of({
|
|
164
164
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
165
165
|
reload: () => Effect.void,
|
|
166
166
|
capture: () => Effect.undefined,
|
|
@@ -169,13 +169,13 @@ var noopLayer2 = Layer.succeed(Service39, Service39.of({
|
|
|
169
169
|
restore: () => Effect.void
|
|
170
170
|
}));
|
|
171
171
|
function failure(operation, cause) {
|
|
172
|
-
if (cause instanceof
|
|
172
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
173
173
|
return cause;
|
|
174
|
-
return new
|
|
174
|
+
return new Error3({
|
|
175
175
|
operation,
|
|
176
176
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
177
177
|
cause
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
export {
|
|
181
|
+
export { ID10, Error3, Service61, node62, noopLayer3, exports_snapshot2 };
|