@opencode/core 0.0.0-dev-1021 → 0.0.0-dev-1024
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 +246 -246
- package/dist/bus.js +80 -80
- package/dist/chunks/{variant-j5hnx331.js → config-00jd557p.js} +39 -39
- package/dist/chunks/{variant-034tev2y.js → config-034tev2y.js} +2 -2
- package/dist/chunks/{variant-eb68pf5c.js → config-03dfyh3n.js} +30 -30
- package/dist/chunks/{variant-3adw4bt5.js → config-04whjz6n.js} +9 -9
- package/dist/chunks/{variant-xa96d35r.js → config-05xt5csa.js} +45 -45
- package/dist/chunks/{variant-er2pxdar.js → config-0eaysjgr.js} +33 -33
- package/dist/chunks/{variant-aq51bn07.js → config-0eybxfhc.js} +21 -21
- package/dist/chunks/{variant-sqjzf8x2.js → config-0j7gp832.js} +4 -4
- package/dist/chunks/{variant-0ma9gw4f.js → config-0ma9gw4f.js} +2 -2
- package/dist/chunks/{variant-bx42851a.js → config-0mj84vx8.js} +13 -13
- package/dist/chunks/{variant-963hk181.js → config-0mtp185z.js} +9 -9
- package/dist/chunks/{variant-15cn84bc.js → config-0nzb0ptv.js} +11 -11
- package/dist/chunks/{variant-ctactnja.js → config-0pmf7cq0.js} +23 -23
- package/dist/chunks/{variant-9wts7ac9.js → config-0xyxzhmc.js} +32 -32
- package/dist/chunks/{variant-7s9npmvw.js → config-0ym27x41.js} +32 -32
- package/dist/chunks/{variant-r4ww1zt6.js → config-11ntf1m5.js} +19 -19
- package/dist/chunks/{variant-52k06fgh.js → config-14vxh53t.js} +10 -10
- package/dist/chunks/{variant-xm8w5e5w.js → config-151w7dbm.js} +25 -25
- package/dist/chunks/{variant-byn2k991.js → config-16ajd9ca.js} +6 -6
- package/dist/chunks/{variant-nma2f0f2.js → config-182szc7v.js} +9 -9
- package/dist/chunks/{variant-1aqsckx4.js → config-1aqsckx4.js} +1 -1
- package/dist/chunks/{variant-pgr3qzjp.js → config-1cdq8n9n.js} +12 -12
- package/dist/chunks/{variant-1ep2p91f.js → config-1ep2p91f.js} +2 -2
- package/dist/chunks/{variant-wtxmbf3w.js → config-1p22w5xh.js} +19 -19
- package/dist/chunks/{variant-cdgnj81e.js → config-1r609w7b.js} +17 -17
- package/dist/chunks/{variant-ba524eff.js → config-1sqd7pb4.js} +15 -15
- package/dist/chunks/{variant-643xh5xb.js → config-1td9y3ta.js} +51 -51
- package/dist/chunks/{variant-7gv1pznk.js → config-1v6gqsje.js} +15 -15
- package/dist/chunks/{variant-1x2knyw4.js → config-1x2knyw4.js} +1 -1
- package/dist/chunks/{variant-kw2jghpk.js → config-1x5sc654.js} +13 -13
- package/dist/chunks/{variant-1yq9hg58.js → config-1yq9hg58.js} +1 -1
- package/dist/chunks/{variant-z02mgz09.js → config-1yt8mdp9.js} +16 -16
- package/dist/chunks/{variant-bzsj5hp1.js → config-21qxme8y.js} +9 -9
- package/dist/chunks/{variant-4c6nxctq.js → config-22p1wa9y.js} +17 -17
- package/dist/chunks/{variant-c8erkcr0.js → config-25etbvke.js} +32 -32
- package/dist/chunks/{variant-00qs8ms4.js → config-26b6hqka.js} +7 -7
- package/dist/chunks/{variant-0c0dmfvk.js → config-28cr6qk9.js} +43 -43
- package/dist/chunks/{variant-4avvagxm.js → config-2a4kn0k1.js} +17 -17
- package/dist/chunks/{variant-2fc7eemy.js → config-2fc7eemy.js} +1 -1
- package/dist/chunks/{variant-06xv1d3c.js → config-2gdzegfm.js} +3 -3
- package/dist/chunks/{variant-2kg89srt.js → config-2kg89srt.js} +1 -1
- package/dist/chunks/{variant-3dqat21d.js → config-2mfqvtvc.js} +8 -8
- package/dist/chunks/{variant-hyb6z04w.js → config-2vdx4bdq.js} +22 -22
- package/dist/chunks/{variant-bq5mnsak.js → config-2x568jyb.js} +16 -16
- package/dist/chunks/{variant-0php2d2a.js → config-2y8q1569.js} +4 -4
- package/dist/chunks/{variant-21ad2p8c.js → config-33pxh2pq.js} +15 -15
- package/dist/chunks/{variant-q8x7vnpn.js → config-33zs6g0j.js} +20 -20
- package/dist/chunks/{variant-90ct6wq4.js → config-38aws4xb.js} +4 -4
- package/dist/chunks/{variant-nvf1ct64.js → config-39yf1sgj.js} +46 -46
- package/dist/chunks/{variant-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-p5gq72qy.js → config-3mezfk14.js} +15 -15
- package/dist/chunks/{variant-3nnrz6f6.js → config-3nnrz6f6.js} +1 -1
- package/dist/chunks/{variant-aenn6vam.js → config-3qgwywyc.js} +7 -7
- package/dist/chunks/{variant-3ns607qw.js → config-3r7cxcnf.js} +80 -80
- package/dist/chunks/{variant-n0tajg5c.js → config-3r8vzw6p.js} +20 -20
- package/dist/chunks/{variant-02gada8r.js → config-3ydctz3f.js} +14 -14
- package/dist/chunks/{variant-cxab8yc4.js → config-3ydzdzrj.js} +24 -24
- package/dist/chunks/{variant-37yb2w81.js → config-3zq25qb8.js} +43 -43
- package/dist/chunks/{variant-rra48y3g.js → config-40rxdghb.js} +10 -10
- package/dist/chunks/{variant-40y6dtc2.js → config-40y6dtc2.js} +1 -1
- package/dist/chunks/{variant-44t04hen.js → config-41mhbn53.js} +45 -45
- package/dist/chunks/{variant-erzx9h8s.js → config-476ekhpd.js} +16 -16
- package/dist/chunks/{variant-ajd6ze1b.js → config-48064yzd.js} +27 -27
- package/dist/chunks/{variant-rt83ywa3.js → config-4a8zndmh.js} +15 -15
- package/dist/chunks/{variant-1am7fc68.js → config-4cjdvmfk.js} +13 -13
- package/dist/chunks/{variant-487rztgh.js → config-4dtvemx5.js} +8 -8
- package/dist/chunks/{variant-4dx1dgte.js → config-4dx1dgte.js} +1 -1
- package/dist/chunks/{variant-4f25tdd0.js → config-4f25tdd0.js} +1 -1
- package/dist/chunks/{variant-1vhtnv1t.js → config-4k0dt98q.js} +190 -190
- package/dist/chunks/{variant-11z3y5m4.js → config-4kzx9458.js} +11 -11
- package/dist/chunks/{variant-4pyp9zr9.js → config-4pyp9zr9.js} +1 -1
- package/dist/chunks/{variant-vw662ttr.js → config-4rckqyv7.js} +8 -8
- package/dist/chunks/{variant-1v2g13eq.js → config-4tnarq1t.js} +6 -6
- package/dist/chunks/{variant-mkcyn2me.js → config-4twnqy5t.js} +16 -16
- package/dist/chunks/{variant-4v008n1t.js → config-4v008n1t.js} +1 -1
- package/dist/chunks/{variant-s0zgwzsf.js → config-4wpbr5sb.js} +21 -21
- package/dist/chunks/{variant-5y684b8m.js → config-52g26v7k.js} +9 -9
- package/dist/chunks/{variant-ydqjhb56.js → config-588hckdt.js} +9 -9
- package/dist/chunks/{variant-apf9pp70.js → config-59xj2yhe.js} +5 -5
- package/dist/chunks/{variant-6kyk0q73.js → config-5a4vv2n5.js} +11 -11
- package/dist/chunks/{variant-1c4cg8g5.js → config-5e00dygy.js} +15 -15
- package/dist/chunks/{variant-srxqw4k9.js → config-5g90fmrv.js} +1 -1
- package/dist/chunks/{variant-99whw8jg.js → config-5j2csn40.js} +23 -23
- package/dist/chunks/{variant-58072hz9.js → config-5k4n6v37.js} +3 -3
- package/dist/chunks/{variant-5m9w47nd.js → config-5m9w47nd.js} +1 -1
- package/dist/chunks/{variant-cnh7rm97.js → config-5w38p697.js} +5 -5
- package/dist/chunks/{variant-ff10y0vt.js → config-61zs1fv4.js} +50 -50
- package/dist/chunks/{variant-c1mpywrn.js → config-6eckxppr.js} +15 -15
- package/dist/chunks/{variant-vyfxsvzt.js → config-6f6mx1v3.js} +39 -39
- package/dist/chunks/{variant-779kvspc.js → config-6mxtw6pn.js} +20 -20
- package/dist/chunks/{variant-8b3n411w.js → config-6nxrgdfr.js} +45 -45
- package/dist/chunks/{variant-79k544d0.js → config-6y2b864j.js} +7 -7
- package/dist/chunks/{variant-pysr0f89.js → config-73gsjbfz.js} +86 -86
- package/dist/chunks/{variant-6ktfbj0j.js → config-75c1bbhm.js} +6 -6
- package/dist/chunks/{variant-80mg3ag8.js → config-775hqbnd.js} +3 -3
- package/dist/chunks/{variant-0a9c3z02.js → config-77t3cjt6.js} +28 -28
- package/dist/chunks/{variant-dyx9m1dy.js → config-7astz362.js} +15 -15
- package/dist/chunks/{variant-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-8ej67rtx.js → config-7cz0a2x4.js} +16 -16
- package/dist/chunks/{variant-4670jfw2.js → config-7h0fkrxz.js} +2 -2
- package/dist/chunks/{variant-kbwwped5.js → config-7jrbgtn5.js} +4 -4
- package/dist/chunks/{variant-t8ng57rn.js → config-7jwjw20p.js} +6 -6
- package/dist/chunks/{variant-brhq0xss.js → config-7mavt9bg.js} +9 -9
- package/dist/chunks/{variant-ahenw0f4.js → config-7mrx0efj.js} +12 -12
- package/dist/chunks/{variant-n4vbm4w1.js → config-7p0hznqj.js} +8 -8
- package/dist/chunks/{variant-7w2ypzdf.js → config-7w2ypzdf.js} +1 -1
- package/dist/chunks/{variant-7weczvnd.js → config-7weczvnd.js} +1 -1
- package/dist/chunks/{variant-0gv8v8qp.js → config-7zsff118.js} +12 -12
- package/dist/chunks/{variant-80pdk984.js → config-80pdk984.js} +1 -1
- package/dist/chunks/{variant-85jq8dht.js → config-85jq8dht.js} +1 -1
- package/dist/chunks/{variant-cxcw0y8k.js → config-86hxmc23.js} +16 -16
- package/dist/chunks/{variant-e6mkcg3j.js → config-8975ggj1.js} +8 -8
- package/dist/chunks/{variant-wtyz4cdf.js → config-8ay4r8w3.js} +11 -11
- package/dist/chunks/{variant-25h84942.js → config-8b3vzgkx.js} +4 -4
- package/dist/chunks/{variant-vre17ymf.js → config-8bgnr0we.js} +9 -9
- package/dist/chunks/{variant-dvnqv6yn.js → config-8dfptpqb.js} +4 -4
- package/dist/chunks/{variant-t32m6fhr.js → config-8fcr2cmt.js} +23 -23
- package/dist/chunks/{variant-8sxe6kv8.js → config-8sxe6kv8.js} +2 -2
- package/dist/chunks/{variant-6brtbz4q.js → config-8vreg7gv.js} +9 -9
- package/dist/chunks/{variant-8wtp7s3z.js → config-8wtp7s3z.js} +1 -1
- package/dist/chunks/{variant-wp142abh.js → config-8x30jasg.js} +8 -8
- package/dist/chunks/{variant-qrj1hpgy.js → config-8xvgtwnb.js} +20 -20
- package/dist/chunks/{variant-67wwskyb.js → config-8xz27cp9.js} +4 -4
- package/dist/chunks/{variant-ntz62w7c.js → config-8yhym7w8.js} +90 -90
- package/dist/chunks/{variant-8zv0xmg5.js → config-8zv0xmg5.js} +1 -1
- package/dist/chunks/{variant-j6c1cnm6.js → config-93j0h87b.js} +5 -5
- package/dist/chunks/{variant-3y2xxsbq.js → config-93qe7bdb.js} +17 -17
- package/dist/chunks/{variant-5kw4vp5v.js → config-99h9ndyx.js} +9 -9
- package/dist/chunks/{variant-5dyprbjy.js → config-9edjk239.js} +35 -35
- package/dist/chunks/{variant-d8nqa1rn.js → config-9en25b6n.js} +22 -22
- package/dist/chunks/{variant-3f5hge4z.js → config-9fh9an3s.js} +11 -11
- package/dist/chunks/{variant-sm1ek3w8.js → config-9mfzn26d.js} +21 -21
- package/dist/chunks/{variant-52x6f109.js → config-9mk7xczt.js} +4 -4
- package/dist/chunks/{variant-dfnt32pr.js → config-9nkjg9qd.js} +6 -6
- package/dist/chunks/{variant-1rmm5tby.js → config-9qvd9cyy.js} +43 -43
- package/dist/chunks/{variant-t48jrnqq.js → config-9rqfe4ad.js} +3 -3
- package/dist/chunks/{variant-arvxeg2k.js → config-9s11tsw1.js} +30 -30
- package/dist/chunks/{variant-c1j8jf0s.js → config-9xqznvmy.js} +47 -47
- package/dist/chunks/{variant-8sq7ektf.js → config-9zjxts94.js} +18 -18
- package/dist/chunks/{variant-49y6ybtx.js → config-a33dthns.js} +11 -11
- package/dist/chunks/{variant-y0bd0xbt.js → config-a7gn5c5p.js} +5 -5
- package/dist/chunks/{variant-m0eanzg9.js → config-a8wggr6f.js} +45 -45
- package/dist/chunks/{variant-01hyf2gm.js → config-a9k08q5s.js} +10 -10
- package/dist/chunks/{variant-sv3x81pm.js → config-aa0c9ba4.js} +22 -22
- package/dist/chunks/{variant-2p60zmnr.js → config-ad21tgm2.js} +4 -4
- package/dist/chunks/{variant-759gfxk1.js → config-adfempj1.js} +25 -25
- package/dist/chunks/{variant-w5mn8q6d.js → config-aw9zeh98.js} +18 -18
- package/dist/chunks/{variant-ayjs7tqn.js → config-ayjs7tqn.js} +2 -2
- package/dist/chunks/{variant-hhftq43c.js → config-b2febnzv.js} +25 -25
- package/dist/chunks/{variant-spx4vaz6.js → config-b6bdzct6.js} +11 -11
- package/dist/chunks/{variant-gy0mrysv.js → config-b8yfc82f.js} +43 -43
- package/dist/chunks/{variant-tnrzrzmr.js → config-bkk47srm.js} +8 -8
- package/dist/chunks/{variant-dhg17ma1.js → config-bqjx92mt.js} +25 -25
- package/dist/chunks/{variant-k17acsj6.js → config-br2e9mxr.js} +30 -30
- package/dist/chunks/{variant-kskf6ts6.js → config-bsfpym8b.js} +12 -12
- package/dist/chunks/{variant-bstexjd6.js → config-bstexjd6.js} +1 -1
- package/dist/chunks/{variant-j1rxep1x.js → config-bsx25d1a.js} +9 -9
- package/dist/chunks/{variant-zpdbqgja.js → config-by8ty0bx.js} +4 -4
- package/dist/chunks/{variant-d1y3tfe5.js → config-c19yjnvf.js} +23 -23
- package/dist/chunks/{variant-97z795ms.js → config-c46pt8ys.js} +5 -5
- package/dist/chunks/{variant-ezbcwp3x.js → config-c6rw2561.js} +64 -64
- package/dist/chunks/{variant-c7cw818c.js → config-c7cw818c.js} +2 -2
- package/dist/chunks/{variant-r7qmt8hm.js → config-c94bs6vr.js} +3 -3
- package/dist/chunks/{variant-rzyb9n9w.js → config-cdr1zdj3.js} +19 -19
- package/dist/chunks/{variant-bhfd478d.js → config-cr4rfj9z.js} +4 -4
- package/dist/chunks/{variant-t2sc9t78.js → config-csc63t1j.js} +53 -38
- package/dist/chunks/{variant-cwrgdav8.js → config-cwrgdav8.js} +2 -2
- package/dist/chunks/{variant-7a9n7fqw.js → config-d1xjwgvj.js} +30 -30
- package/dist/chunks/{variant-nsw81j72.js → config-d2x3sx3s.js} +26 -26
- package/dist/chunks/{variant-d390zwf3.js → config-d390zwf3.js} +3 -3
- package/dist/chunks/{variant-d4v9tmah.js → config-d4v9tmah.js} +2 -2
- package/dist/chunks/{variant-kmzgegqq.js → config-ddvn7d3w.js} +8 -8
- package/dist/chunks/{variant-g2z770v4.js → config-dnfg3t6x.js} +10 -10
- package/dist/chunks/{variant-dt77769w.js → config-dt77769w.js} +1 -1
- package/dist/chunks/{variant-dqctngfx.js → config-dy1t8vkj.js} +19 -19
- package/dist/chunks/{variant-k0dmc88w.js → config-dzby9rga.js} +18 -18
- package/dist/chunks/{variant-a7d1yfqq.js → config-dzxny3rz.js} +5 -5
- package/dist/chunks/{variant-9kf7qp9k.js → config-e3gmtydp.js} +7 -7
- package/dist/chunks/{variant-8g12redv.js → config-edg33ctn.js} +43 -43
- package/dist/chunks/{variant-bw5737rp.js → config-emrrd7pm.js} +17 -17
- package/dist/chunks/{variant-eqw4pqj1.js → config-eqw4pqj1.js} +2 -2
- package/dist/chunks/{variant-n1bjqkdd.js → config-f2742k2w.js} +36 -36
- package/dist/chunks/{variant-fg9p65nk.js → config-fg9p65nk.js} +2 -2
- package/dist/chunks/{variant-fcqnpkk0.js → config-fgctq6ev.js} +31 -31
- package/dist/chunks/{variant-qb22wwfd.js → config-fgjqq3a3.js} +28 -28
- package/dist/chunks/{variant-hch6nnwn.js → config-fhw9kqtw.js} +5 -5
- package/dist/chunks/{variant-gc6rk9wr.js → config-fnf0zrns.js} +8 -8
- package/dist/chunks/{variant-mn5w4svc.js → config-fta1c4cd.js} +15 -15
- package/dist/chunks/{variant-dmhmrkhb.js → config-fxnx6rey.js} +13 -13
- package/dist/chunks/{variant-wargr65t.js → config-g9k35rh8.js} +27 -27
- package/dist/chunks/{variant-gbjdnr5j.js → config-gbjdnr5j.js} +2 -2
- package/dist/chunks/{variant-sdt5j0rm.js → config-ghrv1g9c.js} +4 -4
- package/dist/chunks/{variant-16nbjf0j.js → config-gj9k7qrk.js} +29 -29
- package/dist/chunks/{variant-pxc8jhfc.js → config-gpwzwvx2.js} +37 -37
- package/dist/chunks/{variant-2q8hd4zx.js → config-gq04pe3v.js} +16 -16
- package/dist/chunks/{variant-2s9mae96.js → config-gwyytpcj.js} +6 -6
- package/dist/chunks/{variant-hzx6xeyy.js → config-h2tg0kg0.js} +5 -5
- package/dist/chunks/{variant-dbgstt96.js → config-h3pkma9x.js} +18 -18
- package/dist/chunks/{variant-mjx8bvya.js → config-h5x0xpd7.js} +2 -2
- package/dist/chunks/{variant-hgzwgvze.js → config-hgzwgvze.js} +2 -2
- package/dist/chunks/{variant-z54qh2k9.js → config-hmgq33te.js} +4 -4
- package/dist/chunks/{variant-7tn0bx3w.js → config-hndy3n99.js} +26 -26
- package/dist/chunks/{variant-1jsbehcm.js → config-hqvhb0wh.js} +11 -11
- package/dist/chunks/{variant-m391qmzq.js → config-hsafjdkt.js} +12 -12
- package/dist/chunks/{variant-fnrfxqv9.js → config-htxw8k4w.js} +7 -7
- package/dist/chunks/config-hv4b246c.js +35 -0
- package/dist/chunks/{variant-y22zf01p.js → config-hy4sj2hd.js} +7 -7
- package/dist/chunks/{variant-k8zvk9yk.js → config-hzd8xkd2.js} +4 -4
- package/dist/chunks/{variant-3qevzq3v.js → config-j145syf3.js} +11 -11
- package/dist/chunks/{variant-3ryz99p0.js → config-j3f8hyeg.js} +4 -4
- package/dist/chunks/{variant-ar2188r0.js → config-j70bed2x.js} +5 -5
- package/dist/chunks/{variant-ze75qvmd.js → config-j9nxzz3g.js} +3 -3
- package/dist/chunks/config-jaq18jgp.js +16 -0
- package/dist/chunks/{variant-bv6ncay4.js → config-jdxj55mb.js} +6 -6
- package/dist/chunks/{variant-pvgq2xjz.js → config-je6ee64z.js} +6 -6
- package/dist/chunks/config-jeg6yzph.js +273 -0
- package/dist/chunks/{variant-qsdghx1p.js → config-jg11hrrc.js} +4 -4
- package/dist/chunks/{variant-tr8x705m.js → config-jht64jd1.js} +4 -4
- package/dist/chunks/{variant-gmemj5zs.js → config-jjvvtnfs.js} +4 -4
- package/dist/chunks/{variant-jm70asfg.js → config-jm70asfg.js} +1 -1
- package/dist/chunks/{variant-edbzgde2.js → config-jnej8mck.js} +59 -59
- package/dist/chunks/{variant-ktrxwwt4.js → config-jr3jg2tn.js} +4 -4
- package/dist/chunks/{variant-d6yg13b8.js → config-jz12c36j.js} +3 -3
- package/dist/chunks/{variant-sx38wn6p.js → config-k0cryfra.js} +17 -17
- package/dist/chunks/{variant-qfz6bxfd.js → config-k46dd5bg.js} +4 -4
- package/dist/chunks/{variant-cmw3d6cw.js → config-kfxygp1b.js} +5 -5
- package/dist/chunks/{variant-brzehw6d.js → config-kn4zqwcq.js} +3 -3
- package/dist/chunks/{variant-qkzfcznx.js → config-kpb53sk5.js} +20 -20
- package/dist/chunks/{variant-9mcq8csv.js → config-ksmedf7t.js} +18 -18
- package/dist/chunks/{variant-kt3bjfbg.js → config-kt3bjfbg.js} +1 -1
- package/dist/chunks/{variant-9b7hkytf.js → config-kvyjjppb.js} +38 -38
- package/dist/chunks/{variant-7af8vm84.js → config-kwt6vvdv.js} +3 -3
- package/dist/chunks/{variant-kzczzf4v.js → config-kzczzf4v.js} +1 -1
- package/dist/chunks/{variant-1d309avm.js → config-m0apnadw.js} +21 -21
- package/dist/chunks/{variant-h7skh1rs.js → config-m12s1t1z.js} +4 -4
- package/dist/chunks/{variant-m1714858.js → config-m1714858.js} +1 -1
- package/dist/chunks/{variant-w2xcdr2y.js → config-m4nzzcjh.js} +45 -45
- package/dist/chunks/{variant-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-mb7mbhnz.js → config-mb7mbhnz.js} +3 -3
- package/dist/chunks/{variant-sv1b27es.js → config-mcpz1nsk.js} +19 -19
- package/dist/chunks/{variant-y943wrzp.js → config-mh0t6tst.js} +17 -17
- package/dist/chunks/{variant-qtc7p051.js → config-mp8zyd3v.js} +29 -29
- package/dist/chunks/{variant-wx1c037k.js → config-mre672bb.js} +18 -18
- package/dist/chunks/{variant-3kmgnts2.js → config-mydar85b.js} +9 -9
- package/dist/chunks/{variant-04tv7frf.js → config-mz3s4az1.js} +9 -9
- package/dist/chunks/config-mzjyypj8.js +26 -0
- package/dist/chunks/{variant-xvn8mnch.js → config-n320gsn2.js} +4 -4
- package/dist/chunks/{variant-pxeahsk4.js → config-nw2expj6.js} +36 -36
- package/dist/chunks/{variant-7any9j1d.js → config-p1q0st00.js} +11 -11
- package/dist/chunks/{variant-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{variant-eswxnkqs.js → config-prmy06z0.js} +21 -21
- package/dist/chunks/{variant-56ap4002.js → config-q3jvdx5a.js} +26 -26
- package/dist/chunks/{variant-q42tzrxa.js → config-q42tzrxa.js} +1 -1
- package/dist/chunks/{variant-cdcxceaq.js → config-q5mve5j5.js} +13 -13
- package/dist/chunks/{variant-4yee01q8.js → config-qaxfcnsv.js} +11 -11
- package/dist/chunks/{variant-nn2nd58t.js → config-qk5sk9d1.js} +7 -7
- package/dist/chunks/{variant-qp7r0hxv.js → config-qp7r0hxv.js} +1 -1
- package/dist/chunks/{variant-txrqh0xa.js → config-qr1nff4t.js} +21 -21
- package/dist/chunks/{variant-7mkpy6cz.js → config-qwad5et1.js} +19 -19
- package/dist/chunks/{variant-zdzh32kn.js → config-qzfc4mjx.js} +380 -380
- package/dist/chunks/{variant-40za9wsf.js → config-r41sfy63.js} +6 -6
- package/dist/chunks/{variant-c47pgt4g.js → config-r723pa49.js} +4 -4
- package/dist/chunks/{variant-4kb2rb9z.js → config-r7z0jfb4.js} +6 -6
- package/dist/chunks/{variant-d62z5e6p.js → config-r800ky7r.js} +36 -36
- package/dist/chunks/{variant-rb9dy4dg.js → config-rb9dy4dg.js} +1 -1
- package/dist/chunks/{variant-7vmd1mc2.js → config-rbh3wwa2.js} +36 -36
- package/dist/chunks/{variant-rgc9cx3e.js → config-rgc9cx3e.js} +2 -2
- package/dist/chunks/{variant-ddwaa558.js → config-rha71f46.js} +4 -4
- package/dist/chunks/{variant-rt5dr6hb.js → config-rt5dr6hb.js} +1 -1
- package/dist/chunks/{variant-6sa2nc3c.js → config-s10t8h0b.js} +8 -8
- package/dist/chunks/{variant-5whx36p1.js → config-s47rahr7.js} +4 -4
- package/dist/chunks/{variant-vqzp10ba.js → config-s8et8n4n.js} +4 -4
- package/dist/chunks/{variant-ykpwycey.js → config-sbsmgmsv.js} +11 -11
- package/dist/chunks/{variant-sbya78hr.js → config-sbya78hr.js} +1 -1
- package/dist/chunks/{variant-995escff.js → config-sbzezcpx.js} +8 -8
- package/dist/chunks/{variant-3m120mf8.js → config-sjjpj7sc.js} +1 -1
- package/dist/chunks/{variant-svcy3p9a.js → config-svcy3p9a.js} +1 -1
- package/dist/chunks/{variant-n3j33rb6.js → config-t62dywgn.js} +4 -4
- package/dist/chunks/{variant-7q7qky4b.js → config-tb93aqdd.js} +20 -20
- package/dist/chunks/{variant-tbpn7jtk.js → config-tbpn7jtk.js} +1 -1
- package/dist/chunks/{variant-tczq8hjw.js → config-tczq8hjw.js} +1 -1
- package/dist/chunks/{variant-8gy3cmhk.js → config-tdp0f73k.js} +14 -14
- package/dist/chunks/{variant-gxs71cxp.js → config-tg7s7b5t.js} +4 -4
- package/dist/chunks/{variant-4wc7zfb5.js → config-tgcnvg30.js} +13 -13
- package/dist/chunks/{variant-5hvecwch.js → config-tmxr2s7a.js} +8 -8
- package/dist/chunks/{variant-b26ddj6h.js → config-tp1jb13k.js} +7 -7
- package/dist/chunks/{variant-kw6rtbr7.js → config-tv28p82x.js} +5 -5
- package/dist/chunks/{variant-v1m2t1vc.js → config-tvg95r53.js} +6 -6
- package/dist/chunks/{variant-ghqr7vsg.js → config-tvgx0n3v.js} +30 -30
- package/dist/chunks/{variant-tvtps2q9.js → config-tvtps2q9.js} +1 -1
- package/dist/chunks/{variant-44pmzq9c.js → config-twhtcdx9.js} +4 -4
- package/dist/chunks/{variant-twssxy5n.js → config-twssxy5n.js} +2 -2
- package/dist/chunks/{variant-v2r1d0zg.js → config-v2r1d0zg.js} +1 -1
- package/dist/chunks/{variant-x8gpwz20.js → config-v9vs06em.js} +2 -2
- package/dist/chunks/{variant-mm99kr92.js → config-vga2rxcr.js} +54 -54
- package/dist/chunks/{variant-vjf35v1f.js → config-vjf35v1f.js} +1 -1
- package/dist/chunks/{variant-x7j2mvb1.js → config-vn8kxa6n.js} +21 -21
- package/dist/chunks/{variant-p0vxt2nw.js → config-vpj8xkhb.js} +32 -32
- package/dist/chunks/{variant-t8gamzjd.js → config-vpkqe9ca.js} +10 -10
- package/dist/chunks/{variant-r0s9nwyy.js → config-vr1x0vmt.js} +10 -10
- package/dist/chunks/{variant-s79v6bct.js → config-vt2d6wap.js} +4 -4
- package/dist/chunks/{variant-6h8vcvjm.js → config-vt4r9rmy.js} +9 -9
- package/dist/chunks/{variant-crz2v0cr.js → config-vt8b6rzt.js} +14 -14
- package/dist/chunks/{variant-jzacnq6b.js → config-vvzea5qa.js} +8 -8
- package/dist/chunks/{variant-etw227xb.js → config-vxphh5vs.js} +26 -26
- package/dist/chunks/{variant-a0tdhhqr.js → config-w3c7c2s8.js} +16 -16
- package/dist/chunks/{variant-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-f4e0rj8k.js → config-w5m1pv8h.js} +18 -18
- package/dist/chunks/{variant-wr3re1en.js → config-w687dnns.js} +4 -4
- package/dist/chunks/{variant-ettw2t59.js → config-w9gj39cs.js} +11 -11
- package/dist/chunks/{variant-wakvkjy4.js → config-wakvkjy4.js} +1 -1
- package/dist/chunks/{variant-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{variant-nxptjga0.js → config-wdte7t1r.js} +7 -7
- package/dist/chunks/{variant-wegkxhrn.js → config-wegkxhrn.js} +2 -2
- package/dist/chunks/{variant-qy1ykcpg.js → config-whs5gh4p.js} +4 -4
- package/dist/chunks/{variant-3dg2f2kn.js → config-wp1ynhrf.js} +3 -3
- package/dist/chunks/{variant-5z9wyjq2.js → config-wpg7x46h.js} +16 -16
- package/dist/chunks/{variant-rpjrr4cf.js → config-wr96hwxp.js} +24 -24
- package/dist/chunks/{variant-04s3xj52.js → config-wxfcvhtp.js} +5 -5
- package/dist/chunks/{variant-jwsqwh3k.js → config-x0p7bjf4.js} +11 -11
- package/dist/chunks/{variant-n6psmdwt.js → config-x8e3b60w.js} +28 -28
- package/dist/chunks/{variant-dxms3va4.js → config-xe34dcbq.js} +10 -10
- package/dist/chunks/{variant-tqv4vvv6.js → config-xe8rtfmp.js} +32 -32
- package/dist/chunks/{variant-xjr6c8m4.js → config-xjr6c8m4.js} +1 -1
- package/dist/chunks/{variant-x4mcewfn.js → config-xz07m27x.js} +4 -4
- package/dist/chunks/{variant-v69v8cp8.js → config-y3dzwvmq.js} +7 -7
- package/dist/chunks/{variant-78p2h4ex.js → config-y3p3hzkr.js} +5 -5
- package/dist/chunks/{variant-2f6xwkke.js → config-y8f0y9qk.js} +16 -16
- package/dist/chunks/{variant-b15dw3t3.js → config-y9e1ep6q.js} +10 -10
- package/dist/chunks/{variant-yb20nhc3.js → config-yb20nhc3.js} +1 -1
- package/dist/chunks/{variant-yepd7x5v.js → config-yepd7x5v.js} +2 -2
- package/dist/chunks/{variant-7ge0yknw.js → config-yjwbekkd.js} +32 -32
- package/dist/chunks/{variant-bb3pv0r8.js → config-yqfnxatp.js} +7 -7
- package/dist/chunks/{variant-c5kjsz6q.js → config-yqveydy6.js} +4 -4
- package/dist/chunks/{variant-yr705xyq.js → config-yr705xyq.js} +1 -1
- package/dist/chunks/{variant-yvtc2x31.js → config-yvtc2x31.js} +1 -1
- package/dist/chunks/{variant-ad3pbwbn.js → config-yxn2940f.js} +10 -10
- package/dist/chunks/{variant-xmknv8zy.js → config-yzvqw4kd.js} +13 -13
- package/dist/chunks/{variant-chnshf5d.js → config-z1twpven.js} +7 -7
- package/dist/chunks/config-z7bdqmx5.js +18 -0
- package/dist/chunks/{variant-s12ty5y8.js → config-zf66fs0g.js} +6 -6
- package/dist/chunks/{variant-9payxpaq.js → config-zk1jpync.js} +5 -5
- package/dist/chunks/{variant-pfearfp1.js → config-zmb4xv8g.js} +16 -16
- 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 +92 -92
- package/dist/config/discovery.js +97 -97
- package/dist/config/integration.js +5 -5
- 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 +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +131 -131
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +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 +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- 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 +251 -251
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +131 -131
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +112 -112
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +432 -432
- package/dist/instruction-discovery.js +89 -89
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- 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 +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +82 -82
- 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 +106 -106
- package/dist/mcp/index.js +126 -126
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +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 +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 +410 -410
- 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 +3 -3
- 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 +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +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 +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode-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 +140 -140
- 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 +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +420 -420
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +253 -253
- 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 +101 -101
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +251 -251
- package/dist/session/execution.js +169 -169
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- 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 +3 -3
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +246 -246
- 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 +11 -11
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +157 -157
- package/dist/snapshot.js +104 -104
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +186 -186
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +166 -166
- 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 +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +160 -160
- 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 +158 -158
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/usage-limits.js +98 -98
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- 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 +1 -1
- package/dist/v1/config/plugin.js +1 -1
- 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 +101 -101
- package/dist/websearch.js +95 -95
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +8 -8
- package/dist/chunks/variant-1694ca0t.js +0 -273
- package/dist/chunks/variant-2jbtsx7f.js +0 -35
- package/dist/chunks/variant-3s6tjk9w.js +0 -16
- package/dist/chunks/variant-b1bdn9ww.js +0 -18
- package/dist/chunks/variant-dwwbp54y.js +0 -26
- /package/dist/chunks/{variant-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-108x4f4w.js → config-108x4f4w.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kah00gy.js → config-1kah00gy.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → config-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2bv980vf.js → config-2bv980vf.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3af0jn4w.js → config-3af0jn4w.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4qk9sjk2.js → config-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-5w3e23ze.js → config-5w3e23ze.js} +0 -0
- /package/dist/chunks/{variant-6agm2x70.js → config-6agm2x70.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-6q2bdcd1.js → config-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-84wd9syh.js → config-84wd9syh.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-8wj87zfr.js → config-8wj87zfr.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-beh6qq61.js → config-beh6qq61.js} +0 -0
- /package/dist/chunks/{variant-bhmrqjy3.js → config-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cqv5kn06.js → config-cqv5kn06.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-ean2d8b5.js → config-ean2d8b5.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fkpq3x5p.js → config-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hcxmzztb.js → config-hcxmzztb.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → config-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jwr30sdr.js → config-jwr30sdr.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-m18g726c.js → config-m18g726c.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-nh4v3znn.js → config-nh4v3znn.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-p71gwv9c.js → config-p71gwv9c.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → config-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-syrav9an.js → config-syrav9an.js} +0 -0
- /package/dist/chunks/{variant-t03h4f5z.js → config-t03h4f5z.js} +0 -0
- /package/dist/chunks/{variant-ty7weeps.js → config-ty7weeps.js} +0 -0
- /package/dist/chunks/{variant-ve7vex1e.js → config-ve7vex1e.js} +0 -0
- /package/dist/chunks/{variant-vtarvj67.js → config-vtarvj67.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x4th4bpe.js → config-x4th4bpe.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-z0h12gs8.js → config-z0h12gs8.js} +0 -0
- /package/dist/chunks/{variant-z5v4ffb3.js → config-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → config-z9919s4g.js} +0 -0
- /package/dist/chunks/{variant-zxpyjp51.js → config-zxpyjp51.js} +0 -0
- /package/dist/chunks/{variant-zz5vv3aq.js → config-zz5vv3aq.js} +0 -0
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batches2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-jm70asfg.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionMessage2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-gftt206x.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-r7z0jfb4.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read5
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-t62dywgn.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2,
|
|
16
16
|
SessionPartTable2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-mb7mbhnz.js";
|
|
18
18
|
import {
|
|
19
19
|
initial2,
|
|
20
20
|
preview3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./config-2y8q1569.js";
|
|
22
22
|
import {
|
|
23
23
|
User3
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./config-fg9p65nk.js";
|
|
25
25
|
import {
|
|
26
26
|
hydrate2,
|
|
27
27
|
keepRefs2,
|
|
28
28
|
describe3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./config-e3gmtydp.js";
|
|
30
30
|
import {
|
|
31
31
|
messageToText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./config-v2r1d0zg.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./config-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/history.ts
|
|
38
38
|
var exports_history = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-9mk7xczt.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,30 +12,30 @@ __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,
|
|
19
|
-
ID: () =>
|
|
19
|
+
ID: () => ID19,
|
|
20
20
|
Info: () => Info28,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError13,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service88,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When3,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer29,
|
|
29
|
+
node: () => node90,
|
|
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
|
-
var
|
|
38
|
+
var ID19 = Form.ID;
|
|
39
39
|
var Info28 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID19
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID19
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID19
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID19,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service88 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer29 = Layer.effect(Service88, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service93;
|
|
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")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError13({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID19.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service81, 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 Service88.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node90 = makeLocationNode({ service: Service88, layer: layer29, deps: [node95] });
|
|
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 {
|
|
319
|
+
export { ID19, Info28, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError13, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service88, layer29, node90, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
load4
|
|
3
|
+
} from "./config-jht64jd1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/claude-agent/claude/probe.ts
|
|
9
9
|
var exports_probe = {};
|
|
@@ -38,7 +38,7 @@ var run2 = Effect.fn("ClaudeProbe.run")(function* (options) {
|
|
|
38
38
|
const stop = Promise.withResolvers();
|
|
39
39
|
return yield* Effect.acquireUseRelease(Effect.tryPromise({
|
|
40
40
|
try: async () => {
|
|
41
|
-
const { query } = await
|
|
41
|
+
const { query } = await load4();
|
|
42
42
|
return query({ prompt: waitFor(stop.promise), options: { ...options, persistSession: false } });
|
|
43
43
|
},
|
|
44
44
|
catch: (cause) => new ProbeError2({ cause })
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-kt3bjfbg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
ID18,
|
|
7
|
+
Service87,
|
|
8
|
+
node89
|
|
9
|
+
} from "./config-gj9k7qrk.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
17
|
Info: () => Info3,
|
|
18
|
-
Service: () =>
|
|
19
|
-
UnavailableError: () =>
|
|
18
|
+
Service: () => Service18,
|
|
19
|
+
UnavailableError: () => UnavailableError3,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
21
|
+
layer: () => layer11,
|
|
22
|
+
node: () => node20
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -31,21 +31,21 @@ import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
var Info3 = UsageLimits.Info;
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError3 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service18 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer11 = Layer.effect(Service18, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service87;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
|
-
const connection = yield* integrations.connection.active(
|
|
45
|
+
const connection = yield* integrations.connection.active(ID18.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
|
-
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
48
|
+
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError3({ message: error.message })));
|
|
49
49
|
if (!credential || credential.type === "external")
|
|
50
50
|
return;
|
|
51
51
|
const workspaceID = credential.metadata?.orgID;
|
|
@@ -54,7 +54,7 @@ var layer9 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
54
54
|
const server = server2(credential);
|
|
55
55
|
const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
|
|
56
56
|
duration: Duration.seconds(15),
|
|
57
|
-
orElse: () => Effect.fail(new
|
|
57
|
+
orElse: () => Effect.fail(new UnavailableError3({ message: "OpenCode Console usage limits timed out" }))
|
|
58
58
|
}));
|
|
59
59
|
return {
|
|
60
60
|
workspace: {
|
|
@@ -66,12 +66,12 @@ var layer9 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service18.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
74
|
-
deps: [
|
|
71
|
+
var node20 = makeLocationNode({
|
|
72
|
+
service: Service18,
|
|
73
|
+
layer: layer11,
|
|
74
|
+
deps: [node89, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
77
77
|
ruleID: Schema.String,
|
|
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
|
|
|
117
117
|
picked: budget.picked,
|
|
118
118
|
shared: budget.shared,
|
|
119
119
|
resetsAt: budget.resetsAt.getTime()
|
|
120
|
-
}))))), Effect.scoped, Effect.mapError((error) => new
|
|
120
|
+
}))))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
|
|
121
121
|
}
|
|
122
122
|
function readGo(http, server, credential, workspaceID) {
|
|
123
123
|
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
|
|
124
124
|
rolling: meter(body.usage.rolling),
|
|
125
125
|
weekly: meter(body.usage.weekly),
|
|
126
126
|
monthly: meter(body.usage.monthly)
|
|
127
|
-
})))), Effect.scoped, Effect.mapError((error) => new
|
|
127
|
+
})))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
|
|
128
128
|
}
|
|
129
129
|
function meter(value) {
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export { Info3,
|
|
133
|
+
export { Info3, UnavailableError3, Service18, layer11, node20, exports_usage_limits };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9mk7xczt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID22,
|
|
6
|
+
Event21,
|
|
7
|
+
Service92
|
|
8
|
+
} from "./config-x8e3b60w.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID17
|
|
11
|
+
} from "./config-9s11tsw1.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-7jwjw20p.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
43
43
|
id: "opencode.provider.google.vertex",
|
|
44
44
|
effect: Effect.fn(function* (ctx) {
|
|
45
45
|
const fs = yield* FSUtil.Service;
|
|
46
|
-
const credentials = yield*
|
|
46
|
+
const credentials = yield* Service92;
|
|
47
47
|
const bus = yield* Service93;
|
|
48
48
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
49
49
|
return;
|
|
@@ -53,7 +53,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
53
53
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
54
54
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
55
55
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
56
|
-
const configured = (yield* configuredSettings2(
|
|
56
|
+
const configured = (yield* configuredSettings2(ID17.googleVertex)) ?? {};
|
|
57
57
|
const projects = Array.from(new Set([
|
|
58
58
|
resolveProject(configured),
|
|
59
59
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -67,8 +67,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
67
67
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
68
68
|
]));
|
|
69
69
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
70
|
-
const connection = yield* ctx.integration.connection.active(
|
|
71
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
70
|
+
const connection = yield* ctx.integration.connection.active(ID17.googleVertex);
|
|
71
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID22.make(connection.id)) : undefined;
|
|
72
72
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
73
73
|
return {};
|
|
74
74
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -76,15 +76,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
76
76
|
const selected = { settings: yield* load() };
|
|
77
77
|
const settingsFor = (provider) => ({
|
|
78
78
|
...provider.settings,
|
|
79
|
-
...(provider.integrationID ?? provider.id) ===
|
|
79
|
+
...(provider.integrationID ?? provider.id) === ID17.googleVertex ? selected.settings : {}
|
|
80
80
|
});
|
|
81
81
|
yield* ctx.integration.transform((editor) => {
|
|
82
82
|
editor.method.update({
|
|
83
|
-
integrationID:
|
|
83
|
+
integrationID: ID17.googleVertex,
|
|
84
84
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
85
85
|
});
|
|
86
86
|
editor.method.update({
|
|
87
|
-
integrationID:
|
|
87
|
+
integrationID: ID17.googleVertex,
|
|
88
88
|
method: {
|
|
89
89
|
id: ADC_METHOD,
|
|
90
90
|
type: "external",
|
|
@@ -122,7 +122,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
122
122
|
});
|
|
123
123
|
yield* ctx.provider.transform((evt) => {
|
|
124
124
|
for (const item of evt.list()) {
|
|
125
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
125
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID17.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
126
126
|
continue;
|
|
127
127
|
const settings = settingsFor(item.provider);
|
|
128
128
|
const project = resolveProject(settings);
|
|
@@ -141,7 +141,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
141
141
|
});
|
|
142
142
|
yield* ctx.model.transform((models) => {
|
|
143
143
|
for (const item of models.provider.list()) {
|
|
144
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
144
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID17.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
145
145
|
continue;
|
|
146
146
|
const settings = settingsFor(item.provider);
|
|
147
147
|
const project = resolveProject(settings);
|
|
@@ -159,7 +159,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
});
|
|
162
|
-
yield* bus.subscribe([
|
|
162
|
+
yield* bus.subscribe([Event21.Updated, Event21.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
163
163
|
const next = yield* load();
|
|
164
164
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
165
165
|
return;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-wakvkjy4.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service73
|
|
7
|
+
} from "./config-a8wggr6f.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_MARKDOWN_BYTES2,
|
|
10
10
|
convertHTMLToMarkdown2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-zxpyjp51.js";
|
|
12
12
|
import {
|
|
13
13
|
collectBoundedResponseBody2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-3v8g72cx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/webfetch.ts
|
|
20
20
|
var exports_webfetch = {};
|
|
21
21
|
__export(exports_webfetch, {
|
|
22
22
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
23
|
-
Input: () =>
|
|
23
|
+
Input: () => Input3,
|
|
24
24
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
25
|
-
MAX_RESPONSE_BYTES: () =>
|
|
25
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
26
26
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin3,
|
|
28
28
|
WebFetchTool: () => exports_webfetch,
|
|
29
29
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
30
|
-
description: () =>
|
|
30
|
+
description: () => description3,
|
|
31
31
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name3
|
|
33
33
|
});
|
|
34
34
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
35
35
|
import { Duration, Effect, Schema } from "effect";
|
|
36
36
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
37
37
|
import { Parser } from "htmlparser2";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name3 = "webfetch";
|
|
39
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
40
40
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
41
41
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
42
|
-
var
|
|
42
|
+
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
43
43
|
|
|
44
44
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
45
45
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
46
|
-
var
|
|
46
|
+
var Input3 = Schema.Struct({
|
|
47
47
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
48
48
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
49
49
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -53,7 +53,7 @@ var Input6 = Schema.Struct({
|
|
|
53
53
|
var Output = Schema.Struct({
|
|
54
54
|
url: Schema.String,
|
|
55
55
|
contentType: Schema.String,
|
|
56
|
-
format:
|
|
56
|
+
format: Input3.fields.format,
|
|
57
57
|
output: Schema.String
|
|
58
58
|
});
|
|
59
59
|
var acceptHeader = (format) => {
|
|
@@ -107,7 +107,7 @@ var execute = (http, check, url, format, userAgent = openCodeUserAgent, redirect
|
|
|
107
107
|
return yield* execute(http, check, next, format, userAgent, redirects + 1);
|
|
108
108
|
});
|
|
109
109
|
}));
|
|
110
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
110
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
111
111
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
112
112
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
113
113
|
var convert = (content, contentType, format) => {
|
|
@@ -119,16 +119,16 @@ var convert = (content, contentType, format) => {
|
|
|
119
119
|
return extractTextFromHTML2(content);
|
|
120
120
|
return content;
|
|
121
121
|
};
|
|
122
|
-
var
|
|
122
|
+
var Plugin3 = {
|
|
123
123
|
id: "opencode.tool.webfetch",
|
|
124
124
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
125
125
|
const http = yield* HttpClient.HttpClient;
|
|
126
|
-
const permission = yield*
|
|
126
|
+
const permission = yield* Service73;
|
|
127
127
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
128
|
-
name:
|
|
128
|
+
name: name3,
|
|
129
129
|
options: { codemode: false },
|
|
130
|
-
description:
|
|
131
|
-
input:
|
|
130
|
+
description: description3,
|
|
131
|
+
input: Input3,
|
|
132
132
|
output: Output,
|
|
133
133
|
execute: (input, context) => Effect.gen(function* () {
|
|
134
134
|
const url = input.url.split("#")[0];
|
|
@@ -137,7 +137,7 @@ var Plugin44 = {
|
|
|
137
137
|
catch: (error) => error
|
|
138
138
|
});
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name3,
|
|
141
141
|
resources: [url],
|
|
142
142
|
save: ["*"],
|
|
143
143
|
metadata: input,
|
|
@@ -145,7 +145,7 @@ var Plugin44 = {
|
|
|
145
145
|
});
|
|
146
146
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
147
147
|
const check = (next) => permission.assertNotDenied({
|
|
148
|
-
action:
|
|
148
|
+
action: name3,
|
|
149
149
|
resources: [next],
|
|
150
150
|
metadata: { ...input, url: next },
|
|
151
151
|
...invocation2(context)
|
|
@@ -199,4 +199,4 @@ function extractTextFromHTML2(html) {
|
|
|
199
199
|
parser.end();
|
|
200
200
|
return text.trim();
|
|
201
201
|
}
|
|
202
|
-
export {
|
|
202
|
+
export { name3, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input3, MAX_REDIRECTS2, Plugin3, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID15,
|
|
6
|
+
Service84
|
|
7
|
+
} from "./config-yjwbekkd.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-5k4n6v37.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-r7z0jfb4.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-mb7mbhnz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service84;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID15.make(from),
|
|
91
|
+
to: ID15.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|