@opencode/core 0.0.0-dev-627 → 0.0.0-dev-639
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +241 -240
- package/dist/bus.js +80 -80
- package/dist/chunks/{tool-78j7y49x.js → state-005hgbmc.js} +6 -6
- package/dist/chunks/{tool-zezjv31z.js → state-03ytfdv2.js} +52 -52
- package/dist/chunks/{tool-0hknrezz.js → state-058yze6e.js} +295 -98
- package/dist/chunks/{tool-hkajchxt.js → state-0702g9ty.js} +15 -15
- package/dist/chunks/{tool-ejt8ytt0.js → state-0afahd95.js} +10 -10
- package/dist/chunks/{tool-2qgmh7f2.js → state-0ah14zvb.js} +30 -30
- package/dist/chunks/{tool-qv28rmvw.js → state-0hknhewd.js} +9 -9
- package/dist/chunks/{tool-0j7gp832.js → state-0j7gp832.js} +1 -1
- package/dist/chunks/{tool-0ma9gw4f.js → state-0ma9gw4f.js} +2 -2
- package/dist/chunks/{tool-vcfdc226.js → state-0mgprbja.js} +4 -4
- package/dist/chunks/{tool-wdx6g3kg.js → state-0pzjnp4k.js} +5 -5
- package/dist/chunks/{tool-04whjz6n.js → state-0x9bxa2j.js} +9 -9
- package/dist/chunks/{tool-yzt4cd6e.js → state-0zawj110.js} +11 -11
- package/dist/chunks/{tool-1aqsckx4.js → state-1aqsckx4.js} +1 -1
- package/dist/chunks/{tool-y67570ve.js → state-1ey5qnnv.js} +24 -24
- package/dist/chunks/{tool-sd2het5a.js → state-1f4wmeda.js} +8 -8
- package/dist/chunks/{tool-6fj7drec.js → state-1nnzvr93.js} +11 -11
- package/dist/chunks/{tool-2na6qge8.js → state-1ns54vtm.js} +26 -26
- package/dist/chunks/{tool-9n2jx8hn.js → state-1p1x9nxz.js} +34 -34
- package/dist/chunks/{tool-c9djvm77.js → state-1pkqygy7.js} +20 -20
- package/dist/chunks/{tool-cc953ej2.js → state-1r5qzbyh.js} +9 -9
- package/dist/chunks/{tool-p7vg4ymv.js → state-1r6wypvn.js} +8 -8
- package/dist/chunks/{tool-1qtvm13f.js → state-1wzytdev.js} +32 -32
- package/dist/chunks/{tool-1x2knyw4.js → state-1x2knyw4.js} +1 -1
- package/dist/chunks/{tool-0bgjjgx2.js → state-1zb0f7xb.js} +4 -4
- package/dist/chunks/{tool-h6k67dd7.js → state-1zxzscwb.js} +20 -20
- package/dist/chunks/{tool-2k9qpqfa.js → state-200c8bwh.js} +32 -32
- package/dist/chunks/{tool-29vsvq2t.js → state-22ywckht.js} +2 -2
- package/dist/chunks/{tool-gmemj5zs.js → state-26wfx3k0.js} +4 -4
- package/dist/chunks/{tool-1ep2p91f.js → state-27w5k9zf.js} +2 -2
- package/dist/chunks/{tool-aapszx4f.js → state-28rbnsxr.js} +4 -4
- package/dist/chunks/{tool-vre17ymf.js → state-2b2r7h3k.js} +2 -2
- package/dist/chunks/{tool-sbz71ybr.js → state-2cdjxzfg.js} +3 -3
- package/dist/chunks/{tool-h78x36nt.js → state-2h02dkxy.js} +13 -13
- package/dist/chunks/{tool-e53hqhbg.js → state-2hwamttx.js} +29 -29
- package/dist/chunks/{tool-71dvczxp.js → state-2jah2drd.js} +19 -19
- package/dist/chunks/{tool-2p60zmnr.js → state-2p60zmnr.js} +2 -2
- package/dist/chunks/{tool-qxs6496v.js → state-2yg9jg90.js} +35 -35
- package/dist/chunks/{tool-qm1pyt2m.js → state-30682yka.js} +3 -3
- package/dist/chunks/{tool-99b14w1w.js → state-32x69y22.js} +12 -12
- package/dist/chunks/{tool-kmq4a999.js → state-3572fg0x.js} +14 -14
- package/dist/chunks/{tool-3w3bwa55.js → state-39fx35ej.js} +14 -14
- package/dist/chunks/{tool-ayjs7tqn.js → state-3cbjf1nt.js} +2 -2
- package/dist/chunks/{tool-sgzhenxf.js → state-3dbwnewe.js} +49 -49
- package/dist/chunks/{tool-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-ret0xxsr.js → state-3m4ecmrv.js} +43 -43
- package/dist/chunks/{tool-s9m725b8.js → state-3rhkght6.js} +24 -24
- package/dist/chunks/{tool-he2d4cv0.js → state-3rtabnqb.js} +13 -13
- package/dist/chunks/{tool-0ahs07zn.js → state-3ryz99p0.js} +4 -4
- package/dist/chunks/{tool-m76bysk3.js → state-3zc0ew3n.js} +11 -11
- package/dist/chunks/{tool-28rx08cw.js → state-40gk5z43.js} +25 -25
- package/dist/chunks/{tool-40y6dtc2.js → state-40y6dtc2.js} +1 -1
- package/dist/chunks/{tool-44pmzq9c.js → state-44pmzq9c.js} +2 -2
- package/dist/chunks/{tool-vmjdpmwf.js → state-46gvyp4n.js} +37 -37
- package/dist/chunks/{tool-47p5bcf3.js → state-47xsyjcp.js} +3 -3
- package/dist/chunks/{tool-8ggfwbsw.js → state-4bdwn29n.js} +10 -10
- package/dist/chunks/{tool-4dx1dgte.js → state-4dx1dgte.js} +1 -1
- package/dist/chunks/{tool-2p1fyn1z.js → state-4ek5prqz.js} +59 -59
- package/dist/chunks/{tool-4f25tdd0.js → state-4f25tdd0.js} +1 -1
- package/dist/chunks/{tool-ctmpqb7w.js → state-4g3sdj5g.js} +9 -9
- package/dist/chunks/{tool-q2kq49nt.js → state-4m3x3yd1.js} +6 -6
- package/dist/chunks/{tool-4pyp9zr9.js → state-4pyp9zr9.js} +1 -1
- package/dist/chunks/{tool-9v4dp1sv.js → state-4s8zsgt8.js} +47 -47
- package/dist/chunks/{tool-few90dvn.js → state-4sk3nywx.js} +41 -41
- package/dist/chunks/{tool-4v008n1t.js → state-4v008n1t.js} +1 -1
- package/dist/chunks/{tool-5vzkvv7b.js → state-52dgcxsx.js} +15 -15
- package/dist/chunks/{tool-nzgq6x82.js → state-561j2z15.js} +4 -4
- package/dist/chunks/{tool-k3pgnzh0.js → state-56js796r.js} +15 -15
- package/dist/chunks/{tool-v7mersgb.js → state-5c63qkqm.js} +8 -8
- package/dist/chunks/{tool-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-tfgq9ps6.js → state-5qm3ncyd.js} +36 -36
- package/dist/chunks/{tool-6015y25q.js → state-63vhtyqq.js} +7 -7
- package/dist/chunks/{tool-djadtdmr.js → state-64eehrrp.js} +8 -8
- package/dist/chunks/{tool-6dqyy18z.js → state-6dqyy18z.js} +1 -1
- package/dist/chunks/{tool-kzdam8c6.js → state-6edbc7zm.js} +4 -4
- package/dist/chunks/{tool-35fxc5rr.js → state-6mksr8nq.js} +6 -6
- package/dist/chunks/{tool-vy064tmw.js → state-6nnngxg4.js} +11 -11
- package/dist/chunks/{tool-kq17g8gv.js → state-6t8b10qe.js} +4 -4
- package/dist/chunks/{tool-5kn2gf19.js → state-6w8cmh26.js} +9 -9
- package/dist/chunks/{tool-0mv06tb8.js → state-6z6h3x2w.js} +27 -27
- package/dist/chunks/{tool-9m4t11kw.js → state-72pwv4xr.js} +12 -12
- package/dist/chunks/{tool-w2jbjawn.js → state-73zcwtb4.js} +31 -31
- package/dist/chunks/{tool-h00e2jz3.js → state-77e1x0tb.js} +14 -14
- package/dist/chunks/{tool-5y3wp1ns.js → state-78nzcbrg.js} +36 -36
- package/dist/chunks/{tool-mycg523h.js → state-797jepss.js} +18 -18
- package/dist/chunks/{tool-rqjqz1dx.js → state-7b6jtnth.js} +6 -6
- package/dist/chunks/{tool-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-faaqe93r.js → state-7d3s8vk4.js} +43 -43
- package/dist/chunks/{tool-f3h7dwma.js → state-7hmcdcr2.js} +1 -1
- package/dist/chunks/{tool-fwqqjaak.js → state-7m5p5bky.js} +2 -2
- package/dist/chunks/{tool-bqa8ney4.js → state-7nqkf5r1.js} +4 -4
- package/dist/chunks/{tool-2y0y3f74.js → state-7te94ftx.js} +15 -15
- package/dist/chunks/{tool-v1t7h3ys.js → state-7vqhr0z6.js} +10 -10
- package/dist/chunks/{tool-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
- package/dist/chunks/{tool-7weczvnd.js → state-7weczvnd.js} +1 -1
- package/dist/chunks/{tool-fvypmx9y.js → state-7x89mc78.js} +10 -10
- package/dist/chunks/{tool-hjnjc3ts.js → state-80m5xgxj.js} +9 -9
- package/dist/chunks/{tool-775hqbnd.js → state-80mg3ag8.js} +3 -3
- package/dist/chunks/{tool-pyc3gczw.js → state-82phgae0.js} +5 -5
- package/dist/chunks/{tool-89287pr7.js → state-89287pr7.js} +1 -1
- package/dist/chunks/{tool-hqpnkr71.js → state-89ejrav2.js} +1 -1
- package/dist/chunks/{tool-mt3yb1mx.js → state-89zbskah.js} +11 -11
- package/dist/chunks/{tool-8b3vzgkx.js → state-8b3vzgkx.js} +1 -1
- package/dist/chunks/{tool-5whx36p1.js → state-8cg7mtm3.js} +4 -4
- package/dist/chunks/{tool-46eaz8xc.js → state-8r6b1jv8.js} +20 -20
- package/dist/chunks/{tool-8t99kr38.js → state-8t99kr38.js} +1 -1
- package/dist/chunks/{tool-rp5s57se.js → state-8v66b1mn.js} +9 -9
- package/dist/chunks/{tool-fxgn3893.js → state-8w90g9rp.js} +11 -11
- package/dist/chunks/{tool-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
- package/dist/chunks/{tool-mb7mbhnz.js → state-8z6m94af.js} +3 -3
- package/dist/chunks/{tool-kh8gdsej.js → state-8zv0xmg5.js} +2 -2
- package/dist/chunks/{tool-90zstvax.js → state-90zstvax.js} +1 -1
- package/dist/chunks/{tool-qwfph5fh.js → state-921kp94s.js} +10 -10
- package/dist/chunks/{tool-senv5r2t.js → state-92jryngg.js} +27 -27
- package/dist/chunks/{tool-68cs06h1.js → state-963hk181.js} +5 -5
- package/dist/chunks/{tool-04r04va6.js → state-977r5w0v.js} +4 -4
- package/dist/chunks/{tool-1nhv4g69.js → state-993bn7g3.js} +30 -30
- package/dist/chunks/{tool-pebg18yw.js → state-9eg6gkma.js} +5 -5
- package/dist/chunks/{tool-4dn934sm.js → state-9gr1b0wk.js} +18 -18
- package/dist/chunks/{tool-dd57nsvn.js → state-9h1ss44a.js} +8 -8
- package/dist/chunks/{tool-vh5kkfdr.js → state-9kc3pfzw.js} +12 -12
- package/dist/chunks/{tool-bm60jz01.js → state-9paapht9.js} +10 -10
- package/dist/chunks/{tool-2y3daeve.js → state-9pea0zhc.js} +15 -15
- package/dist/chunks/{tool-40dmbkek.js → state-9pq98ypf.js} +24 -24
- package/dist/chunks/{tool-2kg89srt.js → state-9q8g9sv8.js} +4 -4
- package/dist/chunks/{tool-p4a0yr3q.js → state-9vvzrg4f.js} +10 -10
- package/dist/chunks/{tool-ssx9tcnt.js → state-9wjcjbgb.js} +6 -6
- package/dist/chunks/{tool-yf2cgb8m.js → state-9ytd7gcc.js} +11 -11
- package/dist/chunks/{tool-y2wreccq.js → state-aafk9y72.js} +3 -3
- package/dist/chunks/{tool-mh6aekfc.js → state-aaj9jfft.js} +25 -25
- package/dist/chunks/{tool-kmzgegqq.js → state-aedwt843.js} +8 -8
- package/dist/chunks/{tool-034tev2y.js → state-aj7mw0zk.js} +2 -2
- package/dist/chunks/{tool-spbh5ss8.js → state-aje6kyw0.js} +4 -4
- package/dist/chunks/{tool-jj3d0q0a.js → state-am22a7bw.js} +11 -11
- package/dist/chunks/{tool-90ct6wq4.js → state-anvcme1c.js} +4 -4
- package/dist/chunks/{tool-haj538yg.js → state-aphxkpa5.js} +12 -12
- package/dist/chunks/{tool-wc9tj2ev.js → state-avttgdgt.js} +21 -21
- package/dist/chunks/{tool-rfrmsrgv.js → state-ayz01erp.js} +5 -5
- package/dist/chunks/{tool-n00hnt5k.js → state-b1yjrp7m.js} +11 -11
- package/dist/chunks/{tool-y4rkeds0.js → state-b3j5jf8z.js} +11 -11
- package/dist/chunks/{tool-q8yjkgp4.js → state-b6dg22k5.js} +6 -6
- package/dist/chunks/{tool-nwzg2a6d.js → state-b8jqv5nz.js} +5 -5
- package/dist/chunks/{tool-nhxnj8wq.js → state-b9gqeys9.js} +11 -11
- package/dist/chunks/{tool-8sxe6kv8.js → state-bb3mmwvh.js} +2 -2
- package/dist/chunks/{tool-5eh5vnwa.js → state-bbqav1wc.js} +19 -19
- package/dist/chunks/{tool-1yq9hg58.js → state-bdhd9h6e.js} +5 -5
- package/dist/chunks/{tool-57a3gt61.js → state-bgg73g7v.js} +8 -8
- package/dist/chunks/{tool-3kc70r3e.js → state-bjaq03r1.js} +17 -17
- package/dist/chunks/{tool-3669yegd.js → state-bk2z9g4f.js} +27 -27
- package/dist/chunks/{tool-9hnph9wg.js → state-bn0zqt6f.js} +30 -30
- package/dist/chunks/{tool-qs1v69th.js → state-bncpbghn.js} +16 -16
- package/dist/chunks/{tool-t8nm1vpg.js → state-bppeetk9.js} +24 -24
- package/dist/chunks/{tool-bstexjd6.js → state-bstexjd6.js} +1 -1
- package/dist/chunks/{tool-rxs3kqv2.js → state-byrn1x2h.js} +3 -3
- package/dist/chunks/{tool-9zwexsxs.js → state-bys6f9s7.js} +5 -5
- package/dist/chunks/{tool-c5zvymhv.js → state-c5zvymhv.js} +1 -1
- package/dist/chunks/{tool-wbzmgrmw.js → state-c6090a4k.js} +30 -30
- package/dist/chunks/{tool-b6vsg801.js → state-c7cw818c.js} +40 -63
- package/dist/chunks/{tool-4bwthz3m.js → state-ceq6pwch.js} +6 -6
- package/dist/chunks/{tool-w5zs3rpn.js → state-cfs5ew59.js} +9 -5
- package/dist/chunks/state-cjs9h53k.js +26 -0
- package/dist/chunks/{tool-dqmkpjk4.js → state-cwaehys5.js} +16 -16
- package/dist/chunks/{tool-cwrgdav8.js → state-cwrgdav8.js} +2 -2
- package/dist/chunks/{tool-7f5g0fx5.js → state-cydqd7ep.js} +20 -20
- package/dist/chunks/{tool-zggfewvb.js → state-d3r3jjg0.js} +21 -21
- package/dist/chunks/{tool-eqrv7k0x.js → state-d4dp9kyp.js} +25 -25
- package/dist/chunks/{tool-d4v9tmah.js → state-d4v9tmah.js} +2 -2
- package/dist/chunks/{tool-j64v0wxx.js → state-d5v54jh8.js} +9 -9
- package/dist/chunks/{tool-c5xfa1xp.js → state-d6m9wv98.js} +28 -28
- package/dist/chunks/{tool-y84y5pby.js → state-dfsfebr9.js} +12 -12
- package/dist/chunks/{tool-s0x6kf2p.js → state-dnvezvpm.js} +4 -4
- package/dist/chunks/{tool-dt77769w.js → state-dt77769w.js} +1 -1
- package/dist/chunks/{tool-5r3wrmp5.js → state-dv6nbphe.js} +4 -4
- package/dist/chunks/{tool-e834z07m.js → state-e834z07m.js} +1 -1
- package/dist/chunks/{tool-55g2q5p5.js → state-eavcrtrz.js} +2 -2
- package/dist/chunks/{tool-eqw4pqj1.js → state-eqw4pqj1.js} +2 -2
- package/dist/chunks/state-ev660z6k.js +18 -0
- package/dist/chunks/{tool-ppedw7jc.js → state-f61f7jdk.js} +15 -15
- package/dist/chunks/{tool-th2rzzzd.js → state-f7bknhyh.js} +49 -49
- package/dist/chunks/{tool-2s7a5cr8.js → state-f9hnarx8.js} +65 -51
- package/dist/chunks/{tool-fffv3p7h.js → state-fffv3p7h.js} +1 -1
- package/dist/chunks/{tool-prq7xxp2.js → state-fg9p65nk.js} +6 -6
- package/dist/chunks/{tool-qhgzfx65.js → state-fm77cfpy.js} +87 -87
- package/dist/chunks/{tool-9xkpsvpb.js → state-fr628t37.js} +16 -16
- package/dist/chunks/{tool-zhrtystx.js → state-fw350tjq.js} +34 -34
- package/dist/chunks/{tool-jswra5yg.js → state-g01nwhfp.js} +14 -14
- package/dist/chunks/{tool-8yf6c4ws.js → state-g0hf1nfa.js} +5 -5
- package/dist/chunks/{tool-bt50pbny.js → state-g1wbt592.js} +10 -10
- package/dist/chunks/{tool-y094zgrg.js → state-g7gy25a0.js} +16 -16
- package/dist/chunks/{tool-p8pjvayg.js → state-g95r1ctc.js} +3 -3
- package/dist/chunks/{tool-z1tj3v26.js → state-g9xbwnwv.js} +7 -7
- package/dist/chunks/{tool-gbjdnr5j.js → state-gbjdnr5j.js} +2 -2
- package/dist/chunks/{tool-a93bg3fh.js → state-gdqzzjg1.js} +4 -4
- package/dist/chunks/{tool-g4yftf1w.js → state-gfgje09d.js} +78 -78
- package/dist/chunks/{tool-ym84t9db.js → state-ggfch722.js} +22 -22
- package/dist/chunks/{tool-6fwyg1ss.js → state-gh7fsshn.js} +24 -24
- package/dist/chunks/{tool-ghrv1g9c.js → state-ghrv1g9c.js} +1 -1
- package/dist/chunks/{tool-t04y6rka.js → state-gjs6kf30.js} +27 -27
- package/dist/chunks/{tool-p5shtcs3.js → state-gr7rgkrw.js} +43 -43
- package/dist/chunks/{tool-y3bjyseh.js → state-gtrj8c21.js} +14 -14
- package/dist/chunks/{tool-s2d4b5x8.js → state-h353fke4.js} +4 -4
- package/dist/chunks/{tool-3qevzq3v.js → state-h9xvjfqn.js} +8 -8
- package/dist/chunks/{tool-tmsyzkdq.js → state-hbh5ad0e.js} +15 -15
- package/dist/chunks/{tool-fmjsjtqm.js → state-hced1q2j.js} +4 -4
- package/dist/chunks/{tool-t2kbrzxc.js → state-hjddz07k.js} +17 -17
- package/dist/chunks/{tool-7ft1dw8t.js → state-hn0qwvdh.js} +10 -10
- package/dist/chunks/{tool-47xhmy8n.js → state-hn3egxjd.js} +5 -5
- package/dist/chunks/{tool-772thxeb.js → state-hqqnejca.js} +10 -10
- package/dist/chunks/{tool-6cqkw5v2.js → state-hrpg1pdd.js} +5 -5
- package/dist/chunks/{tool-1zc261y1.js → state-j0p3wt22.js} +8 -8
- package/dist/chunks/{tool-qd895tht.js → state-j4y0kh3f.js} +22 -22
- package/dist/chunks/{tool-s818qefp.js → state-jfjvxp5c.js} +5 -5
- package/dist/chunks/{tool-fretqggx.js → state-jh1m9pe1.js} +18 -18
- package/dist/chunks/state-jm70asfg.js +21 -0
- package/dist/chunks/{tool-8qmf4c22.js → state-jnzh5xfy.js} +15 -15
- package/dist/chunks/{tool-nezv9r4s.js → state-k1xhm3vy.js} +84 -84
- package/dist/chunks/{tool-kzczzf4v.js → state-kzczzf4v.js} +1 -1
- package/dist/chunks/{tool-m1714858.js → state-m1714858.js} +1 -1
- package/dist/chunks/{tool-vkwey47a.js → state-m5266p9d.js} +2 -2
- package/dist/chunks/{tool-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-0zrc1hgf.js → state-mdvqzrzy.js} +29 -29
- package/dist/chunks/{tool-zyjx7tf0.js → state-mg1jj979.js} +15 -15
- package/dist/chunks/{tool-snkgcq6v.js → state-mj23vw6g.js} +6 -6
- package/dist/chunks/{tool-6yebzpzq.js → state-mjc37m1k.js} +21 -21
- package/dist/chunks/{tool-mm06edep.js → state-mm06edep.js} +1 -1
- package/dist/chunks/{tool-60scttwb.js → state-mnv2jyz7.js} +4 -4
- package/dist/chunks/{tool-wmndttsw.js → state-mq99xgvr.js} +29 -14
- package/dist/chunks/{tool-1v2g13eq.js → state-msd2a3qm.js} +4 -4
- package/dist/chunks/{tool-qgcn30ny.js → state-mv6jdq2w.js} +7 -7
- package/dist/chunks/{tool-75c0yt7x.js → state-mye87mks.js} +12 -12
- package/dist/chunks/{tool-h1da92q3.js → state-nchq7fqh.js} +31 -31
- package/dist/chunks/{tool-k6r1bs0t.js → state-nppp2r4z.js} +11 -11
- package/dist/chunks/{tool-nt907s04.js → state-nt907s04.js} +3 -3
- package/dist/chunks/{tool-1rapdk7p.js → state-nvj53022.js} +28 -28
- package/dist/chunks/{tool-wegkxhrn.js → state-nx4vzyjd.js} +2 -2
- package/dist/chunks/{tool-rv2ck8m4.js → state-p1zyyx7p.js} +14 -14
- package/dist/chunks/{tool-vv9k68sd.js → state-p2g6jje1.js} +17 -17
- package/dist/chunks/{tool-ew00rcme.js → state-pagshcxp.js} +35 -35
- package/dist/chunks/{tool-mzf8qq5c.js → state-phz1cjg9.js} +11 -11
- package/dist/chunks/{tool-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{tool-4kfzmx5g.js → state-q56wpc8y.js} +2 -2
- package/dist/chunks/{tool-8ww1xt0h.js → state-q9d90wga.js} +16 -16
- package/dist/chunks/{tool-xg73td2j.js → state-qfef7h1d.js} +8 -8
- package/dist/chunks/{tool-qfz6bxfd.js → state-qfz6bxfd.js} +1 -1
- package/dist/chunks/{tool-wcgjrgaf.js → state-qke86nqk.js} +42 -42
- package/dist/chunks/{tool-enaqqywp.js → state-qm790n5p.js} +17 -17
- package/dist/chunks/{tool-qp7r0hxv.js → state-qp7r0hxv.js} +1 -1
- package/dist/chunks/{tool-qsdghx1p.js → state-qsdghx1p.js} +1 -1
- package/dist/chunks/{tool-rmv7fhs4.js → state-qw2t3dzn.js} +6 -6
- package/dist/chunks/{tool-zn5cq78w.js → state-r3bpf7pz.js} +7 -7
- package/dist/chunks/{tool-xa23xek1.js → state-r3jp95ya.js} +8 -8
- package/dist/chunks/{tool-6yc1yn4a.js → state-r3nbcy9x.js} +16 -16
- package/dist/chunks/{tool-40za9wsf.js → state-r41sfy63.js} +6 -6
- package/dist/chunks/{tool-mnq1jwzt.js → state-r6q4sfpa.js} +12 -12
- package/dist/chunks/{tool-nh09tcxv.js → state-rabw2mys.js} +13 -13
- package/dist/chunks/{tool-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
- package/dist/chunks/{tool-ptxs8w6f.js → state-rdawdz7g.js} +25 -25
- package/dist/chunks/{tool-gdqab8my.js → state-rfrdehgj.js} +5 -5
- package/dist/chunks/{tool-zeby9t0g.js → state-rg9szfbb.js} +12 -12
- package/dist/chunks/{tool-rgc9cx3e.js → state-rgc9cx3e.js} +2 -2
- package/dist/chunks/{tool-65zzbc8y.js → state-rjeg9c4a.js} +3 -3
- package/dist/chunks/{tool-rt5dr6hb.js → state-rt5dr6hb.js} +1 -1
- package/dist/chunks/{tool-sa3fpqfw.js → state-sa3fpqfw.js} +2 -2
- package/dist/chunks/{tool-sbya78hr.js → state-sbya78hr.js} +1 -1
- package/dist/chunks/{tool-34kmj136.js → state-sg44rzx3.js} +15 -15
- package/dist/chunks/{tool-pdvy17jd.js → state-sheyags7.js} +18 -18
- package/dist/chunks/{tool-sfnc6e8w.js → state-sq0c2t7p.js} +27 -27
- package/dist/chunks/{tool-2r8wnwkh.js → state-sqv6sja0.js} +9 -5
- package/dist/chunks/{tool-svcy3p9a.js → state-svcy3p9a.js} +1 -1
- package/dist/chunks/{tool-ws4tpv13.js → state-sw8sg13a.js} +3 -3
- package/dist/chunks/{tool-szwm4crx.js → state-szwm4crx.js} +4 -4
- package/dist/chunks/{tool-c7r9599d.js → state-t62dywgn.js} +6 -6
- package/dist/chunks/{tool-tczq8hjw.js → state-tczq8hjw.js} +1 -1
- package/dist/chunks/{tool-gxs71cxp.js → state-tg7s7b5t.js} +4 -4
- package/dist/chunks/{tool-3nnrz6f6.js → state-tmc7xdjs.js} +4 -4
- package/dist/chunks/{tool-q81kq6vk.js → state-tptg6stc.js} +7 -7
- package/dist/chunks/{tool-tr8x705m.js → state-tr8x705m.js} +1 -1
- package/dist/chunks/{tool-v9zj8gmy.js → state-trq16rvm.js} +20 -15
- package/dist/chunks/{tool-e0d96e0q.js → state-tsj3mfe2.js} +4 -4
- package/dist/chunks/{tool-twssxy5n.js → state-twssxy5n.js} +2 -2
- package/dist/chunks/{tool-nw5eecxx.js → state-tyr5qtmx.js} +1 -1
- package/dist/chunks/{tool-eqkq82nh.js → state-v157w7rk.js} +35 -35
- package/dist/chunks/{tool-5vnxagfg.js → state-v1gkajza.js} +23 -23
- package/dist/chunks/{tool-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
- package/dist/chunks/{tool-twz8991w.js → state-va3qjjz1.js} +58 -33
- package/dist/chunks/{tool-pa056g0m.js → state-vaty8g2w.js} +12 -12
- package/dist/chunks/{tool-zh6krqj4.js → state-vcbjdmh4.js} +7 -7
- package/dist/chunks/{tool-zcnch7vt.js → state-vgd0xb2g.js} +11 -11
- package/dist/chunks/{tool-vjf35v1f.js → state-vjf35v1f.js} +1 -1
- package/dist/chunks/{tool-jkdcm5hg.js → state-vmxsyvj6.js} +4 -4
- package/dist/chunks/{tool-5jgwgsds.js → state-vmy3bva4.js} +23 -23
- package/dist/chunks/{tool-weqc7sb9.js → state-vnjc296t.js} +3 -3
- package/dist/chunks/{tool-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-wr3re1en.js → state-w687dnns.js} +4 -4
- package/dist/chunks/{tool-8vav0wt6.js → state-w90vmn9j.js} +29 -29
- package/dist/chunks/{tool-p8t94sdg.js → state-w9dedz0k.js} +7 -7
- package/dist/chunks/{tool-0b12brbm.js → state-wag7rwyd.js} +23 -23
- package/dist/chunks/{tool-wakvkjy4.js → state-wakvkjy4.js} +1 -1
- package/dist/chunks/{tool-nn6t2hk7.js → state-wcejgkpf.js} +14 -14
- package/dist/chunks/{tool-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{tool-1555t097.js → state-wj190css.js} +4 -4
- package/dist/chunks/{tool-xdgtjw5x.js → state-wjvxg2e5.js} +24 -24
- package/dist/chunks/{tool-wnhgecwx.js → state-wnhgecwx.js} +1 -1
- package/dist/chunks/{tool-1brsnn94.js → state-wq9h8gy5.js} +2 -2
- package/dist/chunks/{tool-db4seax3.js → state-wsmen7jm.js} +14 -14
- package/dist/chunks/{tool-1j4h07zs.js → state-wsv0t92k.js} +12 -12
- package/dist/chunks/{tool-czwy3yzx.js → state-wvr8xscb.js} +7 -7
- package/dist/chunks/{tool-nrp7ym1y.js → state-wzsrndbq.js} +23 -23
- package/dist/chunks/{tool-j5f9jgzm.js → state-x261zjn4.js} +11 -11
- package/dist/chunks/{tool-debd8pf3.js → state-x2x6btqw.js} +3 -3
- package/dist/chunks/{tool-kf978mzt.js → state-x5q33sjw.js} +16 -16
- package/dist/chunks/{tool-k75at1a4.js → state-x72hckx5.js} +11 -11
- package/dist/chunks/{tool-1hw98qrx.js → state-x8r4ndq1.js} +8 -8
- package/dist/chunks/{tool-3pkw540f.js → state-xf3wmjdz.js} +22 -22
- package/dist/chunks/{tool-77h00f9v.js → state-xh3npcfc.js} +26 -26
- package/dist/chunks/{tool-xjr6c8m4.js → state-xjr6c8m4.js} +1 -1
- package/dist/chunks/{tool-xksw6ev0.js → state-xksw6ev0.js} +1 -1
- package/dist/chunks/{tool-h0rg6s60.js → state-xsact9zs.js} +4 -4
- package/dist/chunks/{tool-r96ere88.js → state-xsvq7cjt.js} +4 -4
- package/dist/chunks/{tool-mgrbscb1.js → state-xytydggh.js} +11 -11
- package/dist/chunks/{tool-2dkpp6r2.js → state-yagqa7s0.js} +11 -11
- package/dist/chunks/{tool-yb20nhc3.js → state-yb20nhc3.js} +1 -1
- package/dist/chunks/{tool-4z0mnfsb.js → state-yhdjqea2.js} +149 -149
- package/dist/chunks/{tool-m9f5rdz9.js → state-yhycmjqj.js} +26 -26
- package/dist/chunks/{tool-1wkggrjf.js → state-yjt5dh5y.js} +6 -6
- package/dist/chunks/{tool-84483szx.js → state-yntprw1s.js} +21 -21
- package/dist/chunks/{tool-yr705xyq.js → state-yr705xyq.js} +1 -1
- package/dist/chunks/{tool-x5vj74a2.js → state-yrbn0ame.js} +25 -25
- package/dist/chunks/{tool-yvtc2x31.js → state-yvtc2x31.js} +1 -1
- package/dist/chunks/{tool-xr7xm7qf.js → state-yw8h6eng.js} +28 -28
- package/dist/chunks/{tool-rgejq9ef.js → state-z90jk6wv.js} +18 -18
- package/dist/chunks/{tool-j9nxzz3g.js → state-ze75qvmd.js} +3 -3
- package/dist/chunks/{tool-2dq8jpdd.js → state-zevbv6wf.js} +9 -9
- package/dist/chunks/{tool-tah62rx7.js → state-zgq5ynfz.js} +4 -4
- package/dist/chunks/{tool-tt9rk80g.js → state-zkbhzvnx.js} +4 -4
- package/dist/chunks/{tool-2kkp9s70.js → state-zmntsdyf.js} +372 -372
- package/dist/chunks/{tool-zpdbqgja.js → state-zpdbqgja.js} +1 -1
- package/dist/chunks/{tool-44fq2p83.js → state-zwb43w27.js} +3 -3
- package/dist/chunks/state-zxk0t9p9.js +265 -0
- package/dist/chunks/{tool-g70vkb7s.js → state-zxnyrn6k.js} +22 -22
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +146 -145
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +152 -151
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- 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 +235 -234
- package/dist/config/plugin/compaction.js +172 -171
- package/dist/config/plugin/compatibility.js +151 -150
- 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 +139 -139
- 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 +147 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +154 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +132 -132
- 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 +92 -92
- package/dist/database/batch.js +12 -0
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -62
- 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 +438 -437
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +158 -157
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +162 -161
- 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 +250 -249
- 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/form.js +89 -89
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +112 -112
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +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 +429 -428
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +94 -94
- 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 +177 -176
- package/dist/location-lifecycle.js +149 -148
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +426 -425
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +156 -155
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +184 -183
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +155 -154
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +119 -119
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +87 -87
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +150 -149
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- 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 +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +241 -240
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +405 -404
- 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 +147 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +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 +4 -4
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +158 -157
- 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 +236 -235
- package/dist/plugin/sdk.js +81 -81
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +150 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +415 -414
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +246 -245
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -97
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +246 -245
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +260 -259
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +132 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +174 -173
- package/dist/session/context.js +201 -200
- 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 +244 -243
- package/dist/session/execution.js +164 -163
- package/dist/session/generate.js +201 -200
- package/dist/session/history.js +143 -136
- package/dist/session/inbox.js +148 -147
- 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 +138 -137
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +169 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +168 -167
- package/dist/session/projector.js +144 -143
- package/dist/session/prompt.js +149 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +140 -139
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +255 -254
- 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 +150 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +164 -163
- package/dist/session/runner/to-llm-message.js +138 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +185 -184
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -149
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +90 -90
- package/dist/session/store.js +143 -142
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +230 -229
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +203 -202
- package/dist/session/to-session-error.js +149 -148
- package/dist/session/transfer.js +246 -242
- package/dist/session/usage.js +1 -1
- package/dist/session.js +236 -235
- 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 +11 -11
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +150 -149
- package/dist/skill.js +155 -154
- package/dist/snapshot.js +102 -102
- 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 +179 -178
- package/dist/tool/plugin/artifact.js +233 -232
- package/dist/tool/plugin/edit.js +164 -163
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +172 -171
- package/dist/tool/plugin/grep.js +171 -170
- package/dist/tool/plugin/image-generate.js +244 -243
- package/dist/tool/plugin/mcp-resource.js +165 -164
- package/dist/tool/plugin/opencode.js +164 -163
- package/dist/tool/plugin/patch.js +169 -168
- package/dist/tool/plugin/question.js +147 -146
- package/dist/tool/plugin/read.js +173 -172
- package/dist/tool/plugin/schedule.js +252 -251
- package/dist/tool/plugin/shell.js +240 -239
- package/dist/tool/plugin/skill.js +158 -157
- package/dist/tool/plugin/subagent.js +241 -240
- package/dist/tool/plugin/todo.js +154 -153
- package/dist/tool/plugin/webfetch.js +158 -157
- package/dist/tool/plugin/websearch.js +156 -155
- package/dist/tool/plugin/write.js +161 -160
- 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 +160 -159
- package/dist/types/database/batch.d.ts +11 -0
- package/dist/types/database/migration.d.ts +5 -2
- package/dist/types/session/blob.d.ts +234 -853
- package/dist/types/session/history.d.ts +2202 -324
- package/dist/types/session/message-updater.d.ts +10 -0
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +87 -87
- 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/tool-19r7p8qd.js +0 -26
- package/dist/chunks/tool-6zjm2phc.js +0 -18
- package/dist/chunks/tool-8x4h6gj5.js +0 -265
- /package/dist/chunks/{tool-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-108x4f4w.js → state-108x4f4w.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kah00gy.js → state-1kah00gy.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2bv980vf.js → state-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3af0jn4w.js → state-3af0jn4w.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4qk9sjk2.js → state-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5w3e23ze.js → state-5w3e23ze.js} +0 -0
- /package/dist/chunks/{tool-6agm2x70.js → state-6agm2x70.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-beh6qq61.js → state-beh6qq61.js} +0 -0
- /package/dist/chunks/{tool-bhmrqjy3.js → state-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cqv5kn06.js → state-cqv5kn06.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-ean2d8b5.js → state-ean2d8b5.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fkpq3x5p.js → state-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hcxmzztb.js → state-hcxmzztb.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jwr30sdr.js → state-jwr30sdr.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-nh4v3znn.js → state-nh4v3znn.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-p71gwv9c.js → state-p71gwv9c.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-syrav9an.js → state-syrav9an.js} +0 -0
- /package/dist/chunks/{tool-t03h4f5z.js → state-t03h4f5z.js} +0 -0
- /package/dist/chunks/{tool-ty7weeps.js → state-ty7weeps.js} +0 -0
- /package/dist/chunks/{tool-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-vtarvj67.js → state-vtarvj67.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-z0h12gs8.js → state-z0h12gs8.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → state-z9919s4g.js} +0 -0
- /package/dist/chunks/{tool-zxpyjp51.js → state-zxpyjp51.js} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-89zbskah.js";
|
|
4
4
|
import {
|
|
5
5
|
ID19,
|
|
6
6
|
OAuth3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-xf3wmjdz.js";
|
|
8
8
|
import {
|
|
9
9
|
AbsolutePath2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-z5v4ffb3.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-6dqyy18z.js";
|
|
14
14
|
import {
|
|
15
15
|
ID17,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-3rhkght6.js";
|
|
19
19
|
import {
|
|
20
20
|
ID16
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./state-vmy3bva4.js";
|
|
22
22
|
import {
|
|
23
23
|
Remote3,
|
|
24
24
|
Document3,
|
|
25
25
|
make31
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./state-8t99kr38.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service75
|
|
29
|
+
} from "./state-3dbwnewe.js";
|
|
30
30
|
import {
|
|
31
31
|
integrate2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./state-dfsfebr9.js";
|
|
33
33
|
import {
|
|
34
34
|
uri2,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service44
|
|
36
|
+
} from "./state-797jepss.js";
|
|
37
37
|
import {
|
|
38
38
|
parse2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./state-mnv2jyz7.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
41
|
+
Options2,
|
|
42
42
|
defaultServer2,
|
|
43
43
|
server2,
|
|
44
44
|
headers2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./state-x8r4ndq1.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
File2,
|
|
48
|
+
Service54
|
|
49
|
+
} from "./state-92jryngg.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
51
|
+
Service16,
|
|
52
52
|
fingerprint2
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./state-64eehrrp.js";
|
|
54
54
|
import {
|
|
55
55
|
isSafeSegment2,
|
|
56
56
|
isSafeRelativePath2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./state-0x9bxa2j.js";
|
|
58
58
|
import {
|
|
59
59
|
ID7,
|
|
60
60
|
Input15,
|
|
61
61
|
Response2
|
|
62
|
-
} from "./
|
|
62
|
+
} from "./state-sheyags7.js";
|
|
63
63
|
import {
|
|
64
64
|
onSwitch2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./state-vcbjdmh4.js";
|
|
66
66
|
|
|
67
67
|
// src/plugin/provider/opencode.ts
|
|
68
68
|
import { Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore } from "effect";
|
|
@@ -192,12 +192,12 @@ var OpencodePlugin2 = define({
|
|
|
192
192
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
193
193
|
const client = yield* HttpClient.HttpClient;
|
|
194
194
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
195
|
-
const config = yield*
|
|
196
|
-
const discovery = yield*
|
|
197
|
-
const skills = yield*
|
|
198
|
-
const cache = yield*
|
|
195
|
+
const config = yield* Service75;
|
|
196
|
+
const discovery = yield* Service54;
|
|
197
|
+
const skills = yield* Service44;
|
|
198
|
+
const cache = yield* Service16;
|
|
199
199
|
const scope = yield* Scope.Scope;
|
|
200
|
-
const settings = yield*
|
|
200
|
+
const settings = yield* Options2;
|
|
201
201
|
const loading = Semaphore.makeUnsafe(1);
|
|
202
202
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined, access: undefined };
|
|
203
203
|
let instructions = [];
|
|
@@ -255,7 +255,7 @@ var OpencodePlugin2 = define({
|
|
|
255
255
|
});
|
|
256
256
|
const syncLibrary = (next, allowed) => {
|
|
257
257
|
const library = allowed ? Option.getOrUndefined(Schema.decodeUnknownOption(Library)(next.remote?.library)) : undefined;
|
|
258
|
-
instructions = (library?.instructions ?? []).map((item) => new
|
|
258
|
+
instructions = (library?.instructions ?? []).map((item) => new File2({ path: `OpenCode Console instruction ${item.id}`, content: item.content }));
|
|
259
259
|
if (!allowed)
|
|
260
260
|
librarySkills = { owner: "", items: [] };
|
|
261
261
|
return FiberHandle.run(skillDownload, loadSkills(next.connection, library?.skills ?? []).pipe(Effect.flatMap((loaded) => {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./state-3dbwnewe.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Info13,
|
|
9
9
|
ID9,
|
|
10
10
|
Name2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-797jepss.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin32,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -430,19 +430,19 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
430
|
var ReportContent2 = report_default;
|
|
431
431
|
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
432
|
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
|
|
433
|
+
var Plugin32 = define({
|
|
434
434
|
id: "opencode.skill",
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
438
|
+
editor.add(Info13.make({
|
|
439
439
|
id: ID9.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
442
|
path: AbsolutePath2.make("skill://opencode/SKILL.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
|
-
editor.add(
|
|
445
|
+
editor.add(Info13.make({
|
|
446
446
|
id: ID9.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
472
|
`);
|
|
473
473
|
});
|
|
474
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service75;
|
|
476
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
477
|
});
|
|
478
478
|
function terminal() {
|
|
@@ -486,4 +486,4 @@ function shell() {
|
|
|
486
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin32, exports_skill2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HEADER2,
|
|
3
3
|
FORK_HEADER2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-yr705xyq.js";
|
|
5
5
|
import {
|
|
6
6
|
ID3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-wj190css.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/claude-agent/session.ts
|
|
13
13
|
var exports_session2 = {};
|
|
14
14
|
__export(exports_session2, {
|
|
15
15
|
ClaudeSessionHooks: () => exports_session2,
|
|
16
|
-
register: () =>
|
|
16
|
+
register: () => register3
|
|
17
17
|
});
|
|
18
18
|
import { AssistantMessage, ToolMessage } from "@opencode/ai/effect";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
@@ -28,7 +28,7 @@ var flagToolError = (part) => {
|
|
|
28
28
|
};
|
|
29
29
|
return { ...part, providerMetadata: { ...part.providerMetadata, [ID3]: flags } };
|
|
30
30
|
};
|
|
31
|
-
var
|
|
31
|
+
var register3 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
|
|
32
32
|
yield* ctx.session.hook("model.request", (event) => Effect.gen(function* () {
|
|
33
33
|
event.headers[HEADER2] = event.kind;
|
|
34
34
|
if (event.kind !== "primary")
|
|
@@ -53,4 +53,4 @@ var register4 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
|
|
|
53
53
|
}), { providerID: ID3 });
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { register3, exports_session2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-dv6nbphe.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-2hwamttx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service87,
|
|
15
|
+
node91
|
|
16
|
+
} from "./state-gtrj8c21.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create4
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-40y6dtc2.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,19 +29,19 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info6,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service17,
|
|
36
36
|
Untracked: () => Untracked2,
|
|
37
37
|
Vcs: () => exports_vcs,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node20
|
|
39
39
|
});
|
|
40
40
|
import path from "path";
|
|
41
41
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
42
42
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
43
43
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
44
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
44
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info6, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
|
|
45
45
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -55,11 +55,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service17 extends Context.Service()("@opencode/Vcs") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
61
61
|
const fs = yield* FSUtil.Service;
|
|
62
|
-
const location = yield*
|
|
62
|
+
const location = yield* Service87;
|
|
63
63
|
const bus = yield* Service90;
|
|
64
64
|
const root = yield* Effect.scope;
|
|
65
65
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
72
72
|
canonical: location.project.canonical,
|
|
73
73
|
...vcs ? { store: vcs.store } : {}
|
|
74
74
|
};
|
|
75
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
75
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info6));
|
|
76
76
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
77
77
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
78
78
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
130
130
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
131
131
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
132
132
|
}
|
|
133
|
-
return
|
|
133
|
+
return Service17.of({
|
|
134
134
|
transform: state.transform,
|
|
135
135
|
reload: state.reload,
|
|
136
136
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}));
|
|
192
|
-
var
|
|
193
|
-
service:
|
|
192
|
+
var node20 = makeLocationNode({
|
|
193
|
+
service: Service17,
|
|
194
194
|
layer,
|
|
195
|
-
deps: [FSUtil.node,
|
|
195
|
+
deps: [FSUtil.node, node91, node94]
|
|
196
196
|
});
|
|
197
197
|
|
|
198
|
-
export { Base2, BranchList2, FileStatus2,
|
|
198
|
+
export { Base2, BranchList2, FileStatus2, Info6, Mode2, Untracked2, DiffError2, InitializeError2, Service17, node20, exports_vcs };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-e834z07m.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
ID9,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-797jepss.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -1,35 +1,38 @@
|
|
|
1
|
+
import {
|
|
2
|
+
batches2
|
|
3
|
+
} from "./state-jm70asfg.js";
|
|
1
4
|
import {
|
|
2
5
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
6
|
+
} from "./state-gftt206x.js";
|
|
4
7
|
import {
|
|
5
8
|
MessageDecodeError2
|
|
6
|
-
} from "./
|
|
9
|
+
} from "./state-rjeg9c4a.js";
|
|
7
10
|
import {
|
|
8
11
|
InitializationBlocked2,
|
|
9
12
|
read5
|
|
10
|
-
} from "./
|
|
13
|
+
} from "./state-t62dywgn.js";
|
|
11
14
|
import {
|
|
12
15
|
SessionMessageTable2,
|
|
13
16
|
SessionPartTable2
|
|
14
|
-
} from "./
|
|
17
|
+
} from "./state-8z6m94af.js";
|
|
15
18
|
import {
|
|
16
19
|
initial2,
|
|
17
20
|
preview3
|
|
18
|
-
} from "./
|
|
21
|
+
} from "./state-0mgprbja.js";
|
|
19
22
|
import {
|
|
20
23
|
User3
|
|
21
|
-
} from "./
|
|
24
|
+
} from "./state-fg9p65nk.js";
|
|
22
25
|
import {
|
|
23
26
|
hydrate2,
|
|
24
27
|
keepRefs2,
|
|
25
28
|
describe3
|
|
26
|
-
} from "./
|
|
29
|
+
} from "./state-va3qjjz1.js";
|
|
27
30
|
import {
|
|
28
31
|
messageToText2
|
|
29
|
-
} from "./
|
|
32
|
+
} from "./state-v2r1d0zg.js";
|
|
30
33
|
import {
|
|
31
34
|
__export
|
|
32
|
-
} from "./
|
|
35
|
+
} from "./state-9rqn6x4v.js";
|
|
33
36
|
|
|
34
37
|
// src/session/history.ts
|
|
35
38
|
var exports_history = {};
|
|
@@ -40,11 +43,14 @@ __export(exports_history, {
|
|
|
40
43
|
decodeMessageRowSync: () => decodeMessageRowSync2,
|
|
41
44
|
decodeMessageRows: () => decodeMessageRows2,
|
|
42
45
|
decodeMessageRowsWithRefs: () => decodeMessageRowsWithRefs2,
|
|
46
|
+
decodePartRowSync: () => decodePartRowSync2,
|
|
47
|
+
encodePart: () => encodePart2,
|
|
43
48
|
entriesForRunner: () => entriesForRunner2,
|
|
44
49
|
firstUserMessage: () => firstUserMessage2,
|
|
45
50
|
incompleteAssistants: () => incompleteAssistants2,
|
|
46
51
|
isNativeCompaction: () => isNativeCompaction2,
|
|
47
52
|
load: () => load6,
|
|
53
|
+
loadMessageRow: () => loadMessageRow2,
|
|
48
54
|
preview: () => preview2,
|
|
49
55
|
synthetics: () => synthetics2,
|
|
50
56
|
withParts: () => withParts2
|
|
@@ -57,7 +63,8 @@ var decode = Schema.decodeUnknownEffect(SessionMessage2.Info);
|
|
|
57
63
|
var decodeSync = Schema.decodeUnknownSync(SessionMessage2.Info);
|
|
58
64
|
var decodeStoredUser = Schema.decodeUnknownEffect(User3);
|
|
59
65
|
var decodeMedia = Schema.decodeUnknownEffect(SessionMessage2.MediaInfo);
|
|
60
|
-
var
|
|
66
|
+
var decodePartSync = Schema.decodeUnknownSync(SessionMessage2.AssistantContent);
|
|
67
|
+
var encodePart2 = Schema.encodeSync(SessionMessage2.AssistantContent);
|
|
61
68
|
var isNativeCompaction2 = (message) => message.type === "compaction" && message.status === "completed" && message.native?.messages !== undefined;
|
|
62
69
|
var NativeWindow2 = Schema.toCodecJson(Schema.Array(Message));
|
|
63
70
|
var decodeNativeWindow = Schema.decodeUnknownOption(NativeWindow2);
|
|
@@ -71,8 +78,8 @@ var withParts2 = Effect.fnUntraced(function* (db, rows) {
|
|
|
71
78
|
if (assistantIDs.length === 0)
|
|
72
79
|
return rows;
|
|
73
80
|
const partsByMessage = new Map;
|
|
74
|
-
for (
|
|
75
|
-
const partRows = yield* db.select().from(SessionPartTable2).where(inArray(SessionPartTable2.message_id,
|
|
81
|
+
for (const ids of batches2(assistantIDs, 1)) {
|
|
82
|
+
const partRows = yield* db.select().from(SessionPartTable2).where(inArray(SessionPartTable2.message_id, ids)).orderBy(asc(SessionPartTable2.message_id), asc(SessionPartTable2.ordinal)).all().pipe(Effect.orDie);
|
|
76
83
|
for (const part of partRows) {
|
|
77
84
|
const list = partsByMessage.get(part.message_id);
|
|
78
85
|
if (list)
|
|
@@ -85,7 +92,10 @@ var withParts2 = Effect.fnUntraced(function* (db, rows) {
|
|
|
85
92
|
return rows;
|
|
86
93
|
return rows.map((row) => {
|
|
87
94
|
const parts = partsByMessage.get(row.id);
|
|
88
|
-
|
|
95
|
+
if (!parts)
|
|
96
|
+
return row;
|
|
97
|
+
const inline = "content" in row.data ? row.data.content : undefined;
|
|
98
|
+
return { ...row, data: { ...row.data, content: Array.isArray(inline) ? [...parts, ...inline] : parts } };
|
|
89
99
|
});
|
|
90
100
|
});
|
|
91
101
|
var rowInput = (row) => ({
|
|
@@ -93,6 +103,7 @@ var rowInput = (row) => ({
|
|
|
93
103
|
id: row.id,
|
|
94
104
|
type: row.type
|
|
95
105
|
});
|
|
106
|
+
var decodePartRowSync2 = (row) => decodePartSync(SessionLegacy.part({ ...row.data, type: row.type }));
|
|
96
107
|
var decodeMessageRowSync2 = (row) => decodeSync(rowInput(row));
|
|
97
108
|
var decodeError = (row) => () => new MessageDecodeError2({
|
|
98
109
|
sessionID: row.session_id,
|
|
@@ -105,6 +116,10 @@ var decodeMessageRows2 = Effect.fnUntraced(function* (db, rows) {
|
|
|
105
116
|
concurrency: 1
|
|
106
117
|
});
|
|
107
118
|
});
|
|
119
|
+
var loadMessageRow2 = Effect.fnUntraced(function* (db, row) {
|
|
120
|
+
const [hydrated = row] = yield* hydrate2(db, yield* withParts2(db, [row]));
|
|
121
|
+
return yield* decodeMessageRow2(hydrated);
|
|
122
|
+
});
|
|
108
123
|
var decodeMessageRowsWithRefs2 = Effect.fnUntraced(function* (db, rows) {
|
|
109
124
|
const kept = yield* keepRefs2(db, yield* withParts2(db, rows));
|
|
110
125
|
return yield* Effect.forEach(kept.rows, (row) => decodeMedia(rowInput(row)).pipe(Effect.mapError(decodeError(row)), Effect.map((message) => message.type === "user" && message.files ? { ...message, files: describe3(message.files, kept.meta) } : message)), { concurrency: 1 });
|
|
@@ -182,4 +197,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
182
197
|
return row && Schema.is(Schema.String)(row.text) ? { id: row.id, text: row.text } : undefined;
|
|
183
198
|
});
|
|
184
199
|
|
|
185
|
-
export { isNativeCompaction2, NativeWindow2, withParts2, decodeMessageRowSync2, decodeMessageRow2, decodeMessageRows2, decodeMessageRowsWithRefs2, load6, entriesForRunner2, preview2, synthetics2, incompleteAssistants2, firstUserMessage2, exports_history };
|
|
200
|
+
export { encodePart2, isNativeCompaction2, NativeWindow2, withParts2, decodePartRowSync2, decodeMessageRowSync2, decodeMessageRow2, decodeMessageRows2, loadMessageRow2, decodeMessageRowsWithRefs2, load6, entriesForRunner2, preview2, synthetics2, incompleteAssistants2, firstUserMessage2, exports_history };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
original2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-tg7s7b5t.js";
|
|
4
4
|
import {
|
|
5
5
|
load3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-tr8x705m.js";
|
|
7
7
|
import {
|
|
8
8
|
versionError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-2p60zmnr.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/claude-agent/claude/session.ts
|
|
15
15
|
var exports_session = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-dv6nbphe.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-j4y0kh3f.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service26,
|
|
9
|
+
Event6
|
|
10
|
+
} from "./state-bk2z9g4f.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
41
|
+
const modelsDev = yield* Service26;
|
|
42
42
|
const bus = yield* Service90;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event6.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-dv6nbphe.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
@@ -22,18 +22,18 @@ __export(exports_form, {
|
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError13,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service83,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When3,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer27,
|
|
29
|
+
node: () => node86,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
38
|
var ID18 = Form.ID;
|
|
39
39
|
var Info27 = Form.Info;
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service83 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer27 = Layer.effect(Service83, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service90;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
@@ -162,9 +162,9 @@ var layer26 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service83.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node86 = makeLocationNode({ service: Service83, layer: layer27, deps: [node94] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export { ID18, Info27, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError13, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2,
|
|
319
|
+
export { ID18, Info27, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError13, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service83, layer27, node86, validateAnswer2, validateFields2, exports_form, Event19 };
|