@opencode/core 0.0.0-dev-627 → 0.0.0-dev-646
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +245 -244
- package/dist/bus.js +80 -80
- package/dist/chunks/{tool-t8nm1vpg.js → rpc-004neqzs.js} +26 -26
- package/dist/chunks/{tool-yf2cgb8m.js → rpc-08t0djy6.js} +21 -21
- package/dist/chunks/{tool-wdx6g3kg.js → rpc-0cfqkzpv.js} +2 -2
- package/dist/chunks/{tool-6yc1yn4a.js → rpc-0g7vc9a7.js} +16 -16
- package/dist/chunks/{tool-0ma9gw4f.js → rpc-0ma9gw4f.js} +2 -2
- package/dist/chunks/{tool-vcfdc226.js → rpc-0mgprbja.js} +4 -4
- package/dist/chunks/{tool-wmndttsw.js → rpc-0mjnmhfm.js} +29 -14
- package/dist/chunks/{tool-vy064tmw.js → rpc-15ywqg70.js} +11 -11
- package/dist/chunks/{tool-rfrmsrgv.js → rpc-19q5145g.js} +5 -5
- package/dist/chunks/{tool-1aqsckx4.js → rpc-1aqsckx4.js} +1 -1
- package/dist/chunks/{tool-zhrtystx.js → rpc-1br6214n.js} +38 -38
- package/dist/chunks/{tool-j5f9jgzm.js → rpc-1h1rxc0v.js} +9 -9
- package/dist/chunks/{tool-4dn934sm.js → rpc-1jmsee8v.js} +18 -18
- package/dist/chunks/{tool-5y3wp1ns.js → rpc-1kzmdbp3.js} +33 -33
- package/dist/chunks/{tool-9hnph9wg.js → rpc-1mb5br25.js} +27 -27
- package/dist/chunks/{tool-84483szx.js → rpc-1qcbwvx4.js} +16 -16
- package/dist/chunks/{tool-7f5g0fx5.js → rpc-1vc1qkwa.js} +20 -20
- package/dist/chunks/{tool-1x2knyw4.js → rpc-1x2knyw4.js} +1 -1
- package/dist/chunks/{tool-qm1pyt2m.js → rpc-205vkxr7.js} +3 -3
- package/dist/chunks/{tool-p7vg4ymv.js → rpc-23ssfw3z.js} +8 -8
- package/dist/chunks/{tool-8b3vzgkx.js → rpc-25h84942.js} +4 -4
- package/dist/chunks/{tool-1ep2p91f.js → rpc-27w5k9zf.js} +2 -2
- package/dist/chunks/{tool-sbz71ybr.js → rpc-2cdjxzfg.js} +3 -3
- package/dist/chunks/{tool-ppedw7jc.js → rpc-2sv9e3tq.js} +15 -15
- package/dist/chunks/{tool-p8t94sdg.js → rpc-2vn974f1.js} +7 -7
- package/dist/chunks/{tool-v9zj8gmy.js → rpc-345thhfy.js} +23 -18
- package/dist/chunks/{tool-nrp7ym1y.js → rpc-35zs13km.js} +21 -21
- package/dist/chunks/{tool-6yebzpzq.js → rpc-389hvvbh.js} +21 -21
- package/dist/chunks/{tool-xr7xm7qf.js → rpc-391merv8.js} +28 -28
- package/dist/chunks/{tool-04whjz6n.js → rpc-3adw4bt5.js} +9 -9
- package/dist/chunks/{tool-ayjs7tqn.js → rpc-3cbjf1nt.js} +2 -2
- package/dist/chunks/{tool-tfgq9ps6.js → rpc-3gka3tcj.js} +28 -28
- package/dist/chunks/{tool-zn5cq78w.js → rpc-3hawgf56.js} +7 -7
- package/dist/chunks/{tool-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-1wkggrjf.js → rpc-3k34dyx0.js} +6 -6
- package/dist/chunks/{tool-3nnrz6f6.js → rpc-3nnrz6f6.js} +1 -1
- package/dist/chunks/{tool-pebg18yw.js → rpc-3q7q45f7.js} +5 -5
- package/dist/chunks/{tool-3qevzq3v.js → rpc-3qevzq3v.js} +4 -4
- package/dist/chunks/{tool-h6k67dd7.js → rpc-3vdwfq97.js} +20 -20
- package/dist/chunks/{tool-0hknrezz.js → rpc-3wn8m4b3.js} +295 -98
- package/dist/chunks/{tool-40y6dtc2.js → rpc-40y6dtc2.js} +1 -1
- package/dist/chunks/{tool-40za9wsf.js → rpc-40za9wsf.js} +2 -2
- package/dist/chunks/{tool-2k9qpqfa.js → rpc-49wfrjfy.js} +29 -29
- package/dist/chunks/{tool-qgcn30ny.js → rpc-4awkntzg.js} +5 -5
- package/dist/chunks/{tool-pdvy17jd.js → rpc-4cmsdm13.js} +33 -33
- package/dist/chunks/{tool-2y0y3f74.js → rpc-4djszhbx.js} +13 -13
- package/dist/chunks/{tool-4dx1dgte.js → rpc-4dx1dgte.js} +1 -1
- package/dist/chunks/{tool-4f25tdd0.js → rpc-4f25tdd0.js} +1 -1
- package/dist/chunks/{tool-8x4h6gj5.js → rpc-4g73aqqa.js} +161 -161
- package/dist/chunks/{tool-8vav0wt6.js → rpc-4hex22bp.js} +32 -32
- package/dist/chunks/{tool-y67570ve.js → rpc-4kh0f0rp.js} +26 -26
- package/dist/chunks/{tool-4pyp9zr9.js → rpc-4pyp9zr9.js} +1 -1
- package/dist/chunks/{tool-4v008n1t.js → rpc-4v008n1t.js} +1 -1
- package/dist/chunks/{tool-2dq8jpdd.js → rpc-4v1pynm1.js} +9 -9
- package/dist/chunks/{tool-mzf8qq5c.js → rpc-4xj4c1yz.js} +9 -9
- package/dist/chunks/{tool-55g2q5p5.js → rpc-55g2q5p5.js} +2 -2
- package/dist/chunks/{tool-gdqab8my.js → rpc-5ffced9w.js} +5 -5
- package/dist/chunks/{tool-4bwthz3m.js → rpc-5m6a7xby.js} +6 -6
- package/dist/chunks/{tool-5m9w47nd.js → rpc-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-5whx36p1.js → rpc-5whx36p1.js} +1 -1
- package/dist/chunks/{tool-p5shtcs3.js → rpc-60qzvh1w.js} +41 -41
- package/dist/chunks/{tool-k75at1a4.js → rpc-6cwsndx3.js} +6 -6
- package/dist/chunks/{tool-rp5s57se.js → rpc-6djh8caf.js} +9 -9
- package/dist/chunks/{tool-6dqyy18z.js → rpc-6dqyy18z.js} +1 -1
- package/dist/chunks/{tool-y094zgrg.js → rpc-6g4dj9bh.js} +19 -19
- package/dist/chunks/{tool-kq17g8gv.js → rpc-6t8b10qe.js} +4 -4
- package/dist/chunks/{tool-f3h7dwma.js → rpc-6xpjzpy1.js} +1 -1
- package/dist/chunks/{tool-v7mersgb.js → rpc-6y3dm1a8.js} +10 -10
- package/dist/chunks/{tool-3w3bwa55.js → rpc-6z8ksdmh.js} +14 -14
- package/dist/chunks/{tool-775hqbnd.js → rpc-775hqbnd.js} +3 -3
- package/dist/chunks/{tool-nh09tcxv.js → rpc-79a8yqrx.js} +11 -11
- package/dist/chunks/{tool-9v4dp1sv.js → rpc-79pd0f17.js} +39 -39
- package/dist/chunks/{tool-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-vkwey47a.js → rpc-7emk30k1.js} +2 -2
- package/dist/chunks/{tool-fvypmx9y.js → rpc-7jbjy6ff.js} +17 -17
- package/dist/chunks/{tool-g70vkb7s.js → rpc-7jffzeqh.js} +22 -22
- package/dist/chunks/{tool-99b14w1w.js → rpc-7s7n8dxk.js} +12 -12
- package/dist/chunks/{tool-7w2ypzdf.js → rpc-7w2ypzdf.js} +1 -1
- package/dist/chunks/{tool-7weczvnd.js → rpc-7weczvnd.js} +1 -1
- package/dist/chunks/{tool-2s7a5cr8.js → rpc-80hgmnp3.js} +62 -48
- package/dist/chunks/{tool-8qmf4c22.js → rpc-80xaqkqc.js} +15 -15
- package/dist/chunks/{tool-twz8991w.js → rpc-86wfwst0.js} +56 -31
- package/dist/chunks/{tool-h00e2jz3.js → rpc-87dpm5qp.js} +12 -12
- package/dist/chunks/{tool-89287pr7.js → rpc-89287pr7.js} +1 -1
- package/dist/chunks/{tool-mgrbscb1.js → rpc-8a7bakbg.js} +9 -9
- package/dist/chunks/{tool-0zrc1hgf.js → rpc-8gx9mvew.js} +33 -33
- package/dist/chunks/{tool-34kmj136.js → rpc-8nxj1m7z.js} +15 -15
- package/dist/chunks/{tool-y4rkeds0.js → rpc-8p5w1nab.js} +11 -11
- package/dist/chunks/{tool-v1t7h3ys.js → rpc-8pq932d2.js} +10 -10
- package/dist/chunks/{tool-8t99kr38.js → rpc-8t99kr38.js} +1 -1
- package/dist/chunks/{tool-kf978mzt.js → rpc-8vg81nvv.js} +16 -16
- package/dist/chunks/{tool-8wtp7s3z.js → rpc-8wtp7s3z.js} +1 -1
- package/dist/chunks/{tool-mb7mbhnz.js → rpc-8z6m94af.js} +3 -3
- package/dist/chunks/{tool-kh8gdsej.js → rpc-8zv0xmg5.js} +2 -2
- package/dist/chunks/{tool-90ct6wq4.js → rpc-90ct6wq4.js} +1 -1
- package/dist/chunks/{tool-90zstvax.js → rpc-90zstvax.js} +1 -1
- package/dist/chunks/{tool-zh6krqj4.js → rpc-92fkhyx5.js} +7 -7
- package/dist/chunks/{tool-68cs06h1.js → rpc-963hk181.js} +5 -5
- package/dist/chunks/{tool-szwm4crx.js → rpc-96djdqw5.js} +4 -4
- package/dist/chunks/{tool-5eh5vnwa.js → rpc-9bx2q5q2.js} +17 -17
- package/dist/chunks/{tool-g4yftf1w.js → rpc-9es52dbn.js} +77 -77
- package/dist/chunks/{tool-jj3d0q0a.js → rpc-9sncrprz.js} +11 -11
- package/dist/chunks/{tool-db4seax3.js → rpc-9y77hjqc.js} +9 -9
- package/dist/chunks/{tool-nzgq6x82.js → rpc-a5tw60yn.js} +4 -4
- package/dist/chunks/{tool-mnq1jwzt.js → rpc-a9abzbj8.js} +10 -10
- package/dist/chunks/{tool-4z0mnfsb.js → rpc-adjxjdcr.js} +136 -136
- package/dist/chunks/{tool-034tev2y.js → rpc-aj7mw0zk.js} +2 -2
- package/dist/chunks/{tool-wr3re1en.js → rpc-b6z35kmf.js} +4 -4
- package/dist/chunks/{tool-8sxe6kv8.js → rpc-bb3mmwvh.js} +2 -2
- package/dist/chunks/{tool-1yq9hg58.js → rpc-bdhd9h6e.js} +5 -5
- package/dist/chunks/{tool-z1tj3v26.js → rpc-bemn8wq5.js} +7 -7
- package/dist/chunks/{tool-tmsyzkdq.js → rpc-bg7jb7yr.js} +11 -11
- package/dist/chunks/{tool-6cqkw5v2.js → rpc-bj78ahtb.js} +5 -5
- package/dist/chunks/{tool-2r8wnwkh.js → rpc-bm41btk3.js} +9 -5
- package/dist/chunks/{tool-60scttwb.js → rpc-bnx0c7zt.js} +6 -6
- package/dist/chunks/{tool-x5vj74a2.js → rpc-bq50kgbn.js} +25 -25
- package/dist/chunks/{tool-8ww1xt0h.js → rpc-br2faagw.js} +16 -16
- package/dist/chunks/{tool-bstexjd6.js → rpc-bstexjd6.js} +1 -1
- package/dist/chunks/{tool-hjnjc3ts.js → rpc-c0tz6aqz.js} +11 -11
- package/dist/chunks/{tool-qhgzfx65.js → rpc-c3azk0ck.js} +78 -78
- package/dist/chunks/{tool-c5zvymhv.js → rpc-c5zvymhv.js} +1 -1
- package/dist/chunks/{tool-b6vsg801.js → rpc-c7cw818c.js} +40 -63
- package/dist/chunks/{tool-q2kq49nt.js → rpc-ccmk0qyf.js} +6 -6
- package/dist/chunks/{tool-n00hnt5k.js → rpc-cpmtb5yf.js} +9 -9
- package/dist/chunks/{tool-0ahs07zn.js → rpc-cpvd08na.js} +4 -4
- package/dist/chunks/{tool-bt50pbny.js → rpc-ctw67xcp.js} +14 -14
- package/dist/chunks/{tool-zggfewvb.js → rpc-cwfrbrce.js} +19 -19
- package/dist/chunks/{tool-cwrgdav8.js → rpc-cwrgdav8.js} +2 -2
- package/dist/chunks/{tool-0mv06tb8.js → rpc-cxst5ppf.js} +26 -26
- package/dist/chunks/{tool-qv28rmvw.js → rpc-d1vc0v24.js} +9 -9
- package/dist/chunks/{tool-d4v9tmah.js → rpc-d4v9tmah.js} +2 -2
- package/dist/chunks/{tool-fxgn3893.js → rpc-d58q3k8y.js} +11 -11
- package/dist/chunks/{tool-qd895tht.js → rpc-d7prq4ns.js} +22 -22
- package/dist/chunks/{tool-faaqe93r.js → rpc-d8h0gbzk.js} +44 -44
- package/dist/chunks/{tool-enaqqywp.js → rpc-d8v9ze8s.js} +15 -15
- package/dist/chunks/{tool-5jgwgsds.js → rpc-d94pcry3.js} +23 -23
- package/dist/chunks/{tool-78j7y49x.js → rpc-dbsreg9c.js} +6 -6
- package/dist/chunks/{tool-s818qefp.js → rpc-dbwvxspc.js} +5 -5
- package/dist/chunks/{tool-3pkw540f.js → rpc-de3bkzh9.js} +30 -30
- package/dist/chunks/{tool-mh6aekfc.js → rpc-dghgsnwg.js} +25 -25
- package/dist/chunks/{tool-57a3gt61.js → rpc-dj5xwh24.js} +6 -6
- package/dist/chunks/{tool-65zzbc8y.js → rpc-dkpjsqx5.js} +6 -6
- package/dist/chunks/{tool-nezv9r4s.js → rpc-dqbm7tyk.js} +86 -86
- package/dist/chunks/{tool-6fj7drec.js → rpc-dszvf9fw.js} +9 -9
- package/dist/chunks/{tool-dt77769w.js → rpc-dt77769w.js} +1 -1
- package/dist/chunks/{tool-47xhmy8n.js → rpc-dxn5atrg.js} +5 -5
- package/dist/chunks/{tool-1qtvm13f.js → rpc-dysznzey.js} +26 -26
- package/dist/chunks/rpc-e2rg5afv.js +16 -0
- package/dist/chunks/{tool-e834z07m.js → rpc-e834z07m.js} +1 -1
- package/dist/chunks/{tool-eqkq82nh.js → rpc-ecdekyzm.js} +37 -37
- package/dist/chunks/{tool-jswra5yg.js → rpc-ef21bzxj.js} +14 -14
- package/dist/chunks/{tool-wbzmgrmw.js → rpc-eghk0yr5.js} +32 -32
- package/dist/chunks/{tool-xg73td2j.js → rpc-egr99dza.js} +11 -11
- package/dist/chunks/{tool-29vsvq2t.js → rpc-ehj0y74b.js} +2 -2
- package/dist/chunks/{tool-3669yegd.js → rpc-epqyc128.js} +28 -28
- package/dist/chunks/{tool-qwfph5fh.js → rpc-eqhya4c4.js} +10 -10
- package/dist/chunks/{tool-eqw4pqj1.js → rpc-eqw4pqj1.js} +2 -2
- package/dist/chunks/{tool-mt3yb1mx.js → rpc-estpkht0.js} +10 -10
- package/dist/chunks/{tool-s9m725b8.js → rpc-evg5gsc5.js} +24 -24
- package/dist/chunks/{tool-m76bysk3.js → rpc-eyhpm276.js} +11 -11
- package/dist/chunks/{tool-zezjv31z.js → rpc-f0bhn954.js} +50 -50
- package/dist/chunks/{tool-bm60jz01.js → rpc-f1b763aa.js} +18 -18
- package/dist/chunks/{tool-pyc3gczw.js → rpc-f32m8sjz.js} +5 -5
- package/dist/chunks/{tool-haj538yg.js → rpc-f89994sv.js} +9 -9
- package/dist/chunks/{tool-75c0yt7x.js → rpc-f8gzv9v3.js} +21 -21
- package/dist/chunks/{tool-nn6t2hk7.js → rpc-f8tskfee.js} +14 -14
- package/dist/chunks/{tool-fffv3p7h.js → rpc-fffv3p7h.js} +1 -1
- package/dist/chunks/{tool-1555t097.js → rpc-ffsh7qxh.js} +4 -4
- package/dist/chunks/{tool-prq7xxp2.js → rpc-fg9p65nk.js} +6 -6
- package/dist/chunks/{tool-6fwyg1ss.js → rpc-g3qqz681.js} +20 -20
- package/dist/chunks/{tool-1v2g13eq.js → rpc-g650r2x6.js} +4 -4
- package/dist/chunks/{tool-ym84t9db.js → rpc-g8gqp9ty.js} +18 -18
- package/dist/chunks/{tool-5r3wrmp5.js → rpc-gbapedmp.js} +4 -4
- package/dist/chunks/{tool-gbjdnr5j.js → rpc-gbjdnr5j.js} +2 -2
- package/dist/chunks/{tool-wc9tj2ev.js → rpc-gcq5ft6z.js} +21 -21
- package/dist/chunks/{tool-7ft1dw8t.js → rpc-gezd8zhf.js} +7 -7
- package/dist/chunks/{tool-5vzkvv7b.js → rpc-gg4gmg42.js} +22 -22
- package/dist/chunks/{tool-zyjx7tf0.js → rpc-gge16ymh.js} +13 -13
- package/dist/chunks/{tool-ghrv1g9c.js → rpc-ghrv1g9c.js} +1 -1
- package/dist/chunks/{tool-dqmkpjk4.js → rpc-gm3xd94b.js} +13 -13
- package/dist/chunks/{tool-gmemj5zs.js → rpc-gmemj5zs.js} +1 -1
- package/dist/chunks/{tool-t2kbrzxc.js → rpc-gndtsf5k.js} +17 -17
- package/dist/chunks/{tool-gxs71cxp.js → rpc-gxs71cxp.js} +1 -1
- package/dist/chunks/{tool-r96ere88.js → rpc-h3b857xk.js} +4 -4
- package/dist/chunks/{tool-19r7p8qd.js → rpc-h4ycvhy0.js} +11 -11
- package/dist/chunks/{tool-sgzhenxf.js → rpc-h8d3bnh6.js} +41 -41
- package/dist/chunks/{tool-th2rzzzd.js → rpc-h9nfmswk.js} +49 -49
- package/dist/chunks/{tool-ptxs8w6f.js → rpc-ha989h0w.js} +23 -23
- package/dist/chunks/{tool-aapszx4f.js → rpc-hs26cfg4.js} +4 -4
- package/dist/chunks/{tool-1hw98qrx.js → rpc-hxw1x4nh.js} +8 -8
- package/dist/chunks/{tool-kmzgegqq.js → rpc-hy8c1z76.js} +8 -8
- package/dist/chunks/{tool-rv2ck8m4.js → rpc-hyp7bs5g.js} +14 -14
- package/dist/chunks/{tool-tr8x705m.js → rpc-j376ae4e.js} +5 -5
- package/dist/chunks/{tool-rqjqz1dx.js → rpc-j37xxr5e.js} +6 -6
- package/dist/chunks/{tool-y2wreccq.js → rpc-j3ww5bef.js} +3 -3
- package/dist/chunks/{tool-spbh5ss8.js → rpc-j6zxvz6v.js} +6 -6
- package/dist/chunks/{tool-j9nxzz3g.js → rpc-j9nxzz3g.js} +3 -3
- package/dist/chunks/{tool-8yf6c4ws.js → rpc-jgwpd6tj.js} +5 -5
- package/dist/chunks/rpc-jm70asfg.js +21 -0
- package/dist/chunks/{tool-wcgjrgaf.js → rpc-jnsm9xjz.js} +48 -48
- package/dist/chunks/{tool-44pmzq9c.js → rpc-jxd6f16v.js} +2 -2
- package/dist/chunks/{tool-hkajchxt.js → rpc-k4eb1gh1.js} +13 -13
- package/dist/chunks/rpc-k62y2wy8.js +18 -0
- package/dist/chunks/{tool-2p1fyn1z.js → rpc-kde8dky8.js} +59 -59
- package/dist/chunks/{tool-6015y25q.js → rpc-kfhj5nxg.js} +19 -19
- package/dist/chunks/{tool-fmjsjtqm.js → rpc-kh0hrg97.js} +4 -4
- package/dist/chunks/{tool-qxs6496v.js → rpc-kxryvpqv.js} +34 -35
- package/dist/chunks/{tool-kzczzf4v.js → rpc-kzczzf4v.js} +1 -1
- package/dist/chunks/{tool-kzdam8c6.js → rpc-kzdam8c6.js} +2 -2
- package/dist/chunks/{tool-9xkpsvpb.js → rpc-kzttzyzf.js} +20 -20
- package/dist/chunks/{tool-m1714858.js → rpc-m1714858.js} +1 -1
- package/dist/chunks/{tool-xa23xek1.js → rpc-m6mmsm2z.js} +8 -8
- package/dist/chunks/{tool-zcnch7vt.js → rpc-m6q02gsm.js} +11 -11
- package/dist/chunks/{tool-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-w2jbjawn.js → rpc-man3dt7s.js} +29 -29
- package/dist/chunks/{tool-m9f5rdz9.js → rpc-mddkztgb.js} +14 -14
- package/dist/chunks/{tool-vv9k68sd.js → rpc-mh4g2a1n.js} +15 -15
- package/dist/chunks/{tool-mm06edep.js → rpc-mm06edep.js} +1 -1
- package/dist/chunks/{tool-bqa8ney4.js → rpc-mrpnjyvf.js} +8 -8
- package/dist/chunks/{tool-kmq4a999.js → rpc-mt5exq5c.js} +7 -7
- package/dist/chunks/{tool-w5zs3rpn.js → rpc-mzm881x7.js} +9 -5
- package/dist/chunks/{tool-mycg523h.js → rpc-mzyxd1yt.js} +23 -23
- package/dist/chunks/{tool-vmjdpmwf.js → rpc-n9892r29.js} +25 -25
- package/dist/chunks/{tool-3kc70r3e.js → rpc-nbazyz2k.js} +17 -17
- package/dist/chunks/{tool-04r04va6.js → rpc-nc3vzsdk.js} +1 -1
- package/dist/chunks/{tool-nwzg2a6d.js → rpc-nma0tn22.js} +3 -3
- package/dist/chunks/{tool-35fxc5rr.js → rpc-nmeqmgb7.js} +3 -3
- package/dist/chunks/{tool-772thxeb.js → rpc-nswyd8cz.js} +8 -8
- package/dist/chunks/{tool-nt907s04.js → rpc-nt907s04.js} +3 -3
- package/dist/chunks/{tool-nw5eecxx.js → rpc-nw5eecxx.js} +1 -1
- package/dist/chunks/{tool-wegkxhrn.js → rpc-nx4vzyjd.js} +2 -2
- package/dist/chunks/{tool-czwy3yzx.js → rpc-nyxvvj5y.js} +7 -7
- package/dist/chunks/{tool-fwqqjaak.js → rpc-p2k3qf78.js} +13 -13
- package/dist/chunks/{tool-ret0xxsr.js → rpc-p4rq7y29.js} +38 -38
- package/dist/chunks/{tool-s0x6kf2p.js → rpc-p53gjtvj.js} +1 -1
- package/dist/chunks/{tool-vh5kkfdr.js → rpc-p8cdjwmc.js} +8 -8
- package/dist/chunks/{tool-p8pjvayg.js → rpc-p8pjvayg.js} +3 -3
- package/dist/chunks/{tool-senv5r2t.js → rpc-pddx3rnb.js} +27 -27
- package/dist/chunks/{tool-c5xfa1xp.js → rpc-pjt7rav7.js} +33 -33
- package/dist/chunks/{tool-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{tool-e0d96e0q.js → rpc-pqh28dxt.js} +4 -4
- package/dist/chunks/{tool-t04y6rka.js → rpc-prwx221k.js} +30 -30
- package/dist/chunks/{tool-9n2jx8hn.js → rpc-pvhkn8ak.js} +38 -38
- package/dist/chunks/{tool-j64v0wxx.js → rpc-px5yk7rg.js} +9 -9
- package/dist/chunks/{tool-y3bjyseh.js → rpc-py386jfd.js} +14 -14
- package/dist/chunks/{tool-s2d4b5x8.js → rpc-q0jg482n.js} +7 -7
- package/dist/chunks/{tool-h78x36nt.js → rpc-q9b437eq.js} +13 -13
- package/dist/chunks/{tool-1j4h07zs.js → rpc-qaj4wxch.js} +8 -8
- package/dist/chunks/{tool-qfz6bxfd.js → rpc-qfz6bxfd.js} +1 -1
- package/dist/chunks/{tool-ctmpqb7w.js → rpc-qh5g3qaw.js} +9 -9
- package/dist/chunks/{tool-qp7r0hxv.js → rpc-qp7r0hxv.js} +1 -1
- package/dist/chunks/{tool-8ggfwbsw.js → rpc-qrt2gedc.js} +10 -10
- package/dist/chunks/{tool-77h00f9v.js → rpc-qs8hzakp.js} +26 -26
- package/dist/chunks/{tool-qsdghx1p.js → rpc-qsdghx1p.js} +1 -1
- package/dist/chunks/{tool-rmv7fhs4.js → rpc-qw2t3dzn.js} +6 -6
- package/dist/chunks/{tool-2na6qge8.js → rpc-qw3nfr4t.js} +25 -25
- package/dist/chunks/{tool-0b12brbm.js → rpc-qxkxe27f.js} +19 -19
- package/dist/chunks/{tool-fretqggx.js → rpc-r5a5ecss.js} +11 -11
- package/dist/chunks/{tool-y84y5pby.js → rpc-r8xya4dw.js} +13 -13
- package/dist/chunks/{tool-46eaz8xc.js → rpc-rae8p1jx.js} +20 -20
- package/dist/chunks/{tool-cc953ej2.js → rpc-rawg69rs.js} +9 -9
- package/dist/chunks/{tool-rb9dy4dg.js → rpc-rb9dy4dg.js} +1 -1
- package/dist/chunks/{tool-h0rg6s60.js → rpc-rcbjwvze.js} +4 -4
- package/dist/chunks/{tool-1brsnn94.js → rpc-rcgmzefb.js} +2 -2
- package/dist/chunks/{tool-rgc9cx3e.js → rpc-rgc9cx3e.js} +2 -2
- package/dist/chunks/{tool-pa056g0m.js → rpc-rgq3b32k.js} +16 -16
- package/dist/chunks/{tool-2qgmh7f2.js → rpc-rjj5aa6d.js} +30 -30
- package/dist/chunks/{tool-44fq2p83.js → rpc-rn5sdavf.js} +3 -3
- package/dist/chunks/{tool-rt5dr6hb.js → rpc-rt5dr6hb.js} +1 -1
- package/dist/chunks/{tool-qs1v69th.js → rpc-ryrybaxr.js} +16 -16
- package/dist/chunks/{tool-5kn2gf19.js → rpc-rzsrn50d.js} +2 -2
- package/dist/chunks/{tool-2p60zmnr.js → rpc-s1ba0vj0.js} +2 -2
- package/dist/chunks/{tool-4kfzmx5g.js → rpc-s8k27n21.js} +2 -2
- package/dist/chunks/{tool-1nhv4g69.js → rpc-s9tjx85e.js} +32 -32
- package/dist/chunks/{tool-sa3fpqfw.js → rpc-sa3fpqfw.js} +2 -2
- package/dist/chunks/{tool-sbya78hr.js → rpc-sbya78hr.js} +1 -1
- package/dist/chunks/{tool-a93bg3fh.js → rpc-sc63x3vv.js} +4 -4
- package/dist/chunks/{tool-9zwexsxs.js → rpc-scmk72rv.js} +5 -5
- package/dist/chunks/{tool-eqrv7k0x.js → rpc-se2efwm1.js} +22 -22
- package/dist/chunks/{tool-h1da92q3.js → rpc-sj1ckwst.js} +31 -31
- package/dist/chunks/{tool-few90dvn.js → rpc-sjk4zygs.js} +38 -38
- package/dist/chunks/{tool-debd8pf3.js → rpc-snfmt8y0.js} +3 -3
- package/dist/chunks/{tool-0j7gp832.js → rpc-sqjzf8x2.js} +4 -4
- package/dist/chunks/{tool-svcy3p9a.js → rpc-svcy3p9a.js} +1 -1
- package/dist/chunks/{tool-sd2het5a.js → rpc-sxa5kwve.js} +8 -8
- package/dist/chunks/{tool-q81kq6vk.js → rpc-sxvkt1rn.js} +7 -7
- package/dist/chunks/{tool-c7r9599d.js → rpc-t62dywgn.js} +6 -6
- package/dist/chunks/{tool-tczq8hjw.js → rpc-tczq8hjw.js} +1 -1
- package/dist/chunks/{tool-ew00rcme.js → rpc-tpj3d4qe.js} +35 -35
- package/dist/chunks/{tool-28rx08cw.js → rpc-tqvnh5vs.js} +31 -31
- package/dist/chunks/{tool-71dvczxp.js → rpc-tsf1jgs8.js} +21 -21
- package/dist/chunks/{tool-nhxnj8wq.js → rpc-tvxsch8n.js} +11 -11
- package/dist/chunks/{tool-twssxy5n.js → rpc-twssxy5n.js} +2 -2
- package/dist/chunks/{tool-c9djvm77.js → rpc-tww2n8q7.js} +22 -22
- package/dist/chunks/{tool-vre17ymf.js → rpc-tz8eqr11.js} +9 -9
- package/dist/chunks/{tool-2kg89srt.js → rpc-v0t96s7a.js} +4 -4
- package/dist/chunks/{tool-v2r1d0zg.js → rpc-v2r1d0zg.js} +1 -1
- package/dist/chunks/{tool-snkgcq6v.js → rpc-v4exvb3d.js} +6 -6
- package/dist/chunks/{tool-q8yjkgp4.js → rpc-va4swey4.js} +4 -4
- package/dist/chunks/{tool-1zc261y1.js → rpc-vb6mr57d.js} +8 -8
- package/dist/chunks/{tool-40dmbkek.js → rpc-vcgrbtr4.js} +20 -20
- package/dist/chunks/{tool-vjf35v1f.js → rpc-vjf35v1f.js} +1 -1
- package/dist/chunks/{tool-jkdcm5hg.js → rpc-vmxsyvj6.js} +4 -4
- package/dist/chunks/{tool-hqpnkr71.js → rpc-vsbx4m64.js} +1 -1
- package/dist/chunks/{tool-xdgtjw5x.js → rpc-w0eb3tse.js} +16 -16
- package/dist/chunks/{tool-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-he2d4cv0.js → rpc-w6n6rrga.js} +13 -13
- package/dist/chunks/{tool-2kkp9s70.js → rpc-w94dswrz.js} +350 -350
- package/dist/chunks/{tool-9m4t11kw.js → rpc-w9yzhvjr.js} +12 -12
- package/dist/chunks/{tool-wakvkjy4.js → rpc-wakvkjy4.js} +1 -1
- package/dist/chunks/{tool-ws4tpv13.js → rpc-wd5jsjr9.js} +3 -3
- package/dist/chunks/{tool-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{tool-2dkpp6r2.js → rpc-wj7zzdkb.js} +5 -5
- package/dist/chunks/{tool-dd57nsvn.js → rpc-wn9xj1be.js} +8 -8
- package/dist/chunks/{tool-wnhgecwx.js → rpc-wnhgecwx.js} +1 -1
- package/dist/chunks/{tool-rgejq9ef.js → rpc-wtxkw3vt.js} +18 -18
- package/dist/chunks/{tool-k6r1bs0t.js → rpc-x08mprz8.js} +11 -11
- package/dist/chunks/{tool-e53hqhbg.js → rpc-xhd922bx.js} +29 -29
- package/dist/chunks/{tool-djadtdmr.js → rpc-xj9efrc3.js} +8 -8
- package/dist/chunks/{tool-xjr6c8m4.js → rpc-xjr6c8m4.js} +1 -1
- package/dist/chunks/{tool-k3pgnzh0.js → rpc-xk84y422.js} +8 -8
- package/dist/chunks/{tool-xksw6ev0.js → rpc-xksw6ev0.js} +1 -1
- package/dist/chunks/{tool-sfnc6e8w.js → rpc-xtb2snbe.js} +28 -28
- package/dist/chunks/{tool-0bgjjgx2.js → rpc-xwwdpjgj.js} +4 -4
- package/dist/chunks/{tool-yzt4cd6e.js → rpc-y8z65g1y.js} +11 -11
- package/dist/chunks/{tool-47p5bcf3.js → rpc-y99yq2zk.js} +3 -3
- package/dist/chunks/{tool-yb20nhc3.js → rpc-yb20nhc3.js} +1 -1
- package/dist/chunks/{tool-ejt8ytt0.js → rpc-ydsg6z44.js} +10 -10
- package/dist/chunks/{tool-ssx9tcnt.js → rpc-yezfxbvq.js} +6 -6
- package/dist/chunks/{tool-zeby9t0g.js → rpc-yft8zfkr.js} +12 -12
- package/dist/chunks/{tool-yr705xyq.js → rpc-yr705xyq.js} +1 -1
- package/dist/chunks/{tool-tah62rx7.js → rpc-ysgjvfep.js} +4 -4
- package/dist/chunks/{tool-yvtc2x31.js → rpc-yvtc2x31.js} +1 -1
- package/dist/chunks/{tool-2y3daeve.js → rpc-zeq8feve.js} +15 -15
- package/dist/chunks/{tool-zpdbqgja.js → rpc-zpdbqgja.js} +1 -1
- package/dist/chunks/{tool-p4a0yr3q.js → rpc-zskzjvas.js} +10 -10
- package/dist/chunks/{tool-rxs3kqv2.js → rpc-ztf2fpvj.js} +6 -6
- package/dist/chunks/{tool-5vnxagfg.js → rpc-zvg0e66m.js} +21 -21
- package/dist/chunks/{tool-1rapdk7p.js → rpc-zweyw312.js} +32 -32
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- 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 +94 -94
- 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 +130 -130
- package/dist/config/plugin/mcp.js +139 -139
- package/dist/config/plugin/policy.js +128 -128
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +147 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +152 -151
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +130 -130
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- 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 +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +96 -96
- package/dist/database/batch.js +12 -0
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -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 +433 -432
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- 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 +84 -84
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +248 -247
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +118 -118
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +112 -112
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +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 +174 -173
- package/dist/location-lifecycle.js +151 -150
- package/dist/location-service-map.js +95 -95
- 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 +106 -106
- package/dist/mcp/index.js +118 -118
- 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 +89 -89
- 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 +91 -91
- 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 +3 -3
- 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 +4 -4
- 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 +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 +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 +1 -1
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +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 +1 -1
- 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 +1 -1
- 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 +138 -138
- 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 +135 -135
- 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 +138 -138
- 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 +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +148 -147
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +413 -412
- 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 +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +7 -7
- 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 +103 -103
- 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 +1 -1
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +248 -247
- package/dist/session/execution.js +168 -167
- package/dist/session/generate.js +203 -202
- 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 +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +142 -141
- 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 +253 -252
- 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 +1 -1
- package/dist/session/session.js +183 -182
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +148 -147
- 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 +3 -3
- package/dist/session/subagent-job.js +234 -233
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +205 -204
- package/dist/session/to-session-error.js +149 -148
- package/dist/session/transfer.js +243 -239
- package/dist/session/usage.js +1 -1
- package/dist/session.js +234 -233
- 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 +5 -5
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -151
- package/dist/skill.js +157 -156
- package/dist/snapshot.js +106 -106
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +181 -180
- package/dist/tool/plugin/artifact.js +233 -232
- package/dist/tool/plugin/edit.js +168 -167
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +170 -169
- 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 +161 -160
- 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 +238 -237
- package/dist/tool/plugin/skill.js +156 -155
- package/dist/tool/plugin/subagent.js +239 -238
- package/dist/tool/plugin/todo.js +154 -153
- package/dist/tool/plugin/webfetch.js +156 -155
- package/dist/tool/plugin/websearch.js +154 -153
- package/dist/tool/plugin/write.js +169 -168
- package/dist/tool/read-filesystem.js +114 -114
- 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 +162 -161
- 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 +7 -7
- 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 +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +101 -101
- 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 +109 -109
- package/package.json +8 -8
- package/dist/chunks/tool-6zjm2phc.js +0 -18
- package/dist/chunks/tool-tt9rk80g.js +0 -16
- /package/dist/chunks/{tool-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-108x4f4w.js → rpc-108x4f4w.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kah00gy.js → rpc-1kah00gy.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2bv980vf.js → rpc-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3af0jn4w.js → rpc-3af0jn4w.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4qk9sjk2.js → rpc-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5w3e23ze.js → rpc-5w3e23ze.js} +0 -0
- /package/dist/chunks/{tool-6agm2x70.js → rpc-6agm2x70.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-6q2bdcd1.js → rpc-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-84wd9syh.js → rpc-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-beh6qq61.js → rpc-beh6qq61.js} +0 -0
- /package/dist/chunks/{tool-bhmrqjy3.js → rpc-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cqv5kn06.js → rpc-cqv5kn06.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-ean2d8b5.js → rpc-ean2d8b5.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fkpq3x5p.js → rpc-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hcxmzztb.js → rpc-hcxmzztb.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jwr30sdr.js → rpc-jwr30sdr.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-m18g726c.js → rpc-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-nh4v3znn.js → rpc-nh4v3znn.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-p71gwv9c.js → rpc-p71gwv9c.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-syrav9an.js → rpc-syrav9an.js} +0 -0
- /package/dist/chunks/{tool-t03h4f5z.js → rpc-t03h4f5z.js} +0 -0
- /package/dist/chunks/{tool-ty7weeps.js → rpc-ty7weeps.js} +0 -0
- /package/dist/chunks/{tool-ve7vex1e.js → rpc-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-vtarvj67.js → rpc-vtarvj67.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-weqc7sb9.js → rpc-weqc7sb9.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-z0h12gs8.js → rpc-z0h12gs8.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → rpc-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → rpc-z9919s4g.js} +0 -0
- /package/dist/chunks/{tool-zxpyjp51.js → rpc-zxpyjp51.js} +0 -0
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
3
|
Service73
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-h8d3bnh6.js";
|
|
5
|
+
import {
|
|
6
|
+
batches2,
|
|
7
|
+
insertBatches2
|
|
8
|
+
} from "./rpc-jm70asfg.js";
|
|
5
9
|
import {
|
|
6
10
|
BlobTable2,
|
|
7
11
|
BlobRefTable2
|
|
8
|
-
} from "./
|
|
12
|
+
} from "./rpc-8z6m94af.js";
|
|
9
13
|
import {
|
|
10
14
|
refHash2,
|
|
11
15
|
ref2,
|
|
12
16
|
FileRef2,
|
|
13
17
|
ToolFileRef2
|
|
14
|
-
} from "./
|
|
18
|
+
} from "./rpc-fg9p65nk.js";
|
|
15
19
|
import {
|
|
16
20
|
__export
|
|
17
|
-
} from "./
|
|
21
|
+
} from "./rpc-9rqn6x4v.js";
|
|
18
22
|
|
|
19
23
|
// src/session/blob.ts
|
|
20
24
|
var exports_blob = {};
|
|
@@ -25,6 +29,7 @@ __export(exports_blob, {
|
|
|
25
29
|
enabled: () => enabled2,
|
|
26
30
|
enabledFor: () => enabledFor2,
|
|
27
31
|
externalize: () => externalize2,
|
|
32
|
+
externalizePart: () => externalizePart2,
|
|
28
33
|
externalizePayload: () => externalizePayload2,
|
|
29
34
|
externalizeRow: () => externalizeRow2,
|
|
30
35
|
hashBytes: () => hashBytes2,
|
|
@@ -43,7 +48,7 @@ __export(exports_blob, {
|
|
|
43
48
|
syncRefs: () => syncRefs2
|
|
44
49
|
});
|
|
45
50
|
import { createHash } from "node:crypto";
|
|
46
|
-
import { and, eq, exists, gte, inArray, notExists,
|
|
51
|
+
import { and, eq, exists, gte, inArray, notExists, sql } from "drizzle-orm";
|
|
47
52
|
import { Cause, Context, Effect, Option, Schema } from "effect";
|
|
48
53
|
import { map } from "effect/Array";
|
|
49
54
|
var isFileRef = Schema.is(FileRef2);
|
|
@@ -55,12 +60,17 @@ function collect(data, hashes) {
|
|
|
55
60
|
if (isFileRef(file))
|
|
56
61
|
hashes.add(refHash2(file.uri));
|
|
57
62
|
}
|
|
58
|
-
if ("content" in data) {
|
|
63
|
+
if ("content" in data && Array.isArray(data.content)) {
|
|
59
64
|
for (const part of data.content)
|
|
60
65
|
for (const item of toolItems(part))
|
|
61
66
|
if (isToolFileRef(item))
|
|
62
67
|
hashes.add(refHash2(item.uri));
|
|
63
68
|
}
|
|
69
|
+
if ("type" in data && data.type === "tool") {
|
|
70
|
+
for (const item of toolItems(data))
|
|
71
|
+
if (isToolFileRef(item))
|
|
72
|
+
hashes.add(refHash2(item.uri));
|
|
73
|
+
}
|
|
64
74
|
}
|
|
65
75
|
var unavailable = (mime, name) => `[media unavailable: ${name === undefined ? mime : `${name} (${mime})`}]`;
|
|
66
76
|
function unavailableFile(file) {
|
|
@@ -116,10 +126,9 @@ function rewriteInbox(row, file) {
|
|
|
116
126
|
return { ...row, payload: { ...payload, files: payload.files.map(file) } };
|
|
117
127
|
}
|
|
118
128
|
var load = Effect.fnUntraced(function* (db, hashes) {
|
|
119
|
-
const all = [...hashes];
|
|
120
129
|
const blobs = new Map;
|
|
121
|
-
for (
|
|
122
|
-
const found = yield* db.select({ hash: BlobTable2.hash, data: BlobTable2.data }).from(BlobTable2).where(inArray(BlobTable2.hash,
|
|
130
|
+
for (const batch of batches2([...hashes], 1)) {
|
|
131
|
+
const found = yield* db.select({ hash: BlobTable2.hash, data: BlobTable2.data }).from(BlobTable2).where(inArray(BlobTable2.hash, batch)).all().pipe(Effect.orDie);
|
|
123
132
|
for (const blob of found)
|
|
124
133
|
blobs.set(blob.hash, view(blob.data).toString("base64"));
|
|
125
134
|
}
|
|
@@ -160,9 +169,8 @@ var keepInboxRefs2 = Effect.fnUntraced(function* (db, rows) {
|
|
|
160
169
|
});
|
|
161
170
|
var loadMeta = Effect.fnUntraced(function* (db, hashes) {
|
|
162
171
|
const meta = new Map;
|
|
163
|
-
const
|
|
164
|
-
|
|
165
|
-
const found = yield* db.select({ hash: BlobTable2.hash, bytes: BlobTable2.bytes, width: BlobTable2.width, height: BlobTable2.height }).from(BlobTable2).where(and(inArray(BlobTable2.hash, all.slice(offset, offset + 500)), exists(db.select({ one: sql`1` }).from(BlobRefTable2).where(eq(BlobRefTable2.hash, BlobTable2.hash))))).all().pipe(Effect.orDie);
|
|
172
|
+
for (const batch of batches2([...hashes], 1)) {
|
|
173
|
+
const found = yield* db.select({ hash: BlobTable2.hash, bytes: BlobTable2.bytes, width: BlobTable2.width, height: BlobTable2.height }).from(BlobTable2).where(and(inArray(BlobTable2.hash, batch), exists(db.select({ one: sql`1` }).from(BlobRefTable2).where(eq(BlobRefTable2.hash, BlobTable2.hash))))).all().pipe(Effect.orDie);
|
|
166
174
|
for (const { hash, ...rest } of found)
|
|
167
175
|
meta.set(hash, rest);
|
|
168
176
|
}
|
|
@@ -226,9 +234,8 @@ function toolPartRefs(pending, part) {
|
|
|
226
234
|
return { ...part, state: { ...part.state, content: map(content, (item) => toolRef(pending, item)) } };
|
|
227
235
|
}
|
|
228
236
|
var save2 = Effect.fnUntraced(function* (db, blobs) {
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
yield* db.insert(BlobTable2).values([...blobs]).onConflictDoNothing().run().pipe(Effect.orDie);
|
|
237
|
+
for (const batch of insertBatches2(BlobTable2, blobs))
|
|
238
|
+
yield* db.insert(BlobTable2).values(batch).onConflictDoNothing().run().pipe(Effect.orDie);
|
|
232
239
|
});
|
|
233
240
|
var externalizePayload2 = Effect.fnUntraced(function* (db, input) {
|
|
234
241
|
if (input.files === undefined || !(yield* enabled2))
|
|
@@ -252,6 +259,16 @@ var externalize2 = Effect.fnUntraced(function* (db, message) {
|
|
|
252
259
|
yield* save2(db, [...pending.values()]);
|
|
253
260
|
return { ...message, content };
|
|
254
261
|
});
|
|
262
|
+
var externalizePart2 = Effect.fnUntraced(function* (db, part) {
|
|
263
|
+
if (!(yield* enabled2))
|
|
264
|
+
return part;
|
|
265
|
+
const pending = new Map;
|
|
266
|
+
const stored = toolPartRefs(pending, part);
|
|
267
|
+
if (pending.size === 0)
|
|
268
|
+
return part;
|
|
269
|
+
yield* save2(db, [...pending.values()]);
|
|
270
|
+
return stored;
|
|
271
|
+
});
|
|
255
272
|
var hashesOf = (data) => {
|
|
256
273
|
const hashes = new Set;
|
|
257
274
|
collect(data, hashes);
|
|
@@ -267,7 +284,7 @@ function storedPartRefs(pending, part) {
|
|
|
267
284
|
}
|
|
268
285
|
function split2(data) {
|
|
269
286
|
const pending = new Map;
|
|
270
|
-
const stored = "files" in data && data.files?.some((file) => !isFileRef(file)) ? { ...data, files: data.files.map((file) => fileRef(pending, file)) } : ("content" in data) ? { ...data, content: data.content.map((part) => storedPartRefs(pending, part)) } : data;
|
|
287
|
+
const stored = "files" in data && data.files?.some((file) => !isFileRef(file)) ? { ...data, files: data.files.map((file) => fileRef(pending, file)) } : ("content" in data) ? { ...data, content: data.content.map((part) => storedPartRefs(pending, part)) } : ("type" in data) && data.type === "tool" ? storedPartRefs(pending, data) : data;
|
|
271
288
|
const result = pending.size > 0 ? stored : data;
|
|
272
289
|
return { data: result, moved: pending.size > 0, blobs: [...pending.values()], hashes: hashesOf(result) };
|
|
273
290
|
}
|
|
@@ -282,30 +299,38 @@ var recordRefs2 = Effect.fnUntraced(function* (db, owner, data) {
|
|
|
282
299
|
yield* recordHashes2(db, owner, hashesOf(data));
|
|
283
300
|
});
|
|
284
301
|
var recordHashes2 = Effect.fnUntraced(function* (db, owner, hashes) {
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
})
|
|
302
|
+
const found = [];
|
|
303
|
+
for (const batch of batches2([...hashes], 1))
|
|
304
|
+
found.push(...yield* db.select({ hash: BlobTable2.hash }).from(BlobTable2).where(inArray(BlobTable2.hash, batch)).all().pipe(Effect.orDie));
|
|
305
|
+
const refs = found.map(({ hash }) => ({
|
|
306
|
+
session_id: owner.sessionID,
|
|
307
|
+
message_id: owner.messageID,
|
|
308
|
+
hash,
|
|
309
|
+
seq: owner.seq
|
|
310
|
+
}));
|
|
311
|
+
for (const batch of insertBatches2(BlobRefTable2, refs, 1))
|
|
312
|
+
yield* db.insert(BlobRefTable2).values(batch).onConflictDoUpdate({
|
|
313
|
+
target: [BlobRefTable2.session_id, BlobRefTable2.message_id, BlobRefTable2.hash],
|
|
314
|
+
set: { seq: owner.seq }
|
|
315
|
+
}).run().pipe(Effect.orDie);
|
|
294
316
|
});
|
|
295
317
|
var syncRefs2 = Effect.fnUntraced(function* (db, owner, data) {
|
|
296
318
|
yield* recordRefs2(db, owner, data);
|
|
297
|
-
const present =
|
|
319
|
+
const present = hashesOf(data);
|
|
298
320
|
const own = [eq(BlobRefTable2.session_id, owner.sessionID), eq(BlobRefTable2.message_id, owner.messageID)];
|
|
299
|
-
|
|
321
|
+
if (present.size === 0)
|
|
322
|
+
return yield* release(db, ...own);
|
|
323
|
+
const stale = (yield* db.select({ hash: BlobRefTable2.hash }).from(BlobRefTable2).where(and(...own)).all().pipe(Effect.orDie)).flatMap((ref) => present.has(ref.hash) ? [] : [ref.hash]);
|
|
324
|
+
for (const batch of batches2(stale, 1, own.length))
|
|
325
|
+
yield* release(db, ...own, inArray(BlobRefTable2.hash, batch));
|
|
300
326
|
});
|
|
301
327
|
var release = Effect.fnUntraced(function* (db, ...where) {
|
|
302
328
|
const released = yield* db.delete(BlobRefTable2).where(and(...where)).returning({ hash: BlobRefTable2.hash }).all().pipe(Effect.orDie);
|
|
303
|
-
const
|
|
304
|
-
|
|
305
|
-
yield* db.delete(BlobTable2).where(and(inArray(BlobTable2.hash, hashes.slice(offset, offset + 500)), notExists(db.select({ one: sql`1` }).from(BlobRefTable2).where(eq(BlobRefTable2.hash, BlobTable2.hash))))).run().pipe(Effect.orDie);
|
|
329
|
+
for (const batch of batches2([...new Set(released.map((ref) => ref.hash))], 1))
|
|
330
|
+
yield* db.delete(BlobTable2).where(and(inArray(BlobTable2.hash, batch), notExists(db.select({ one: sql`1` }).from(BlobRefTable2).where(eq(BlobRefTable2.hash, BlobTable2.hash))))).run().pipe(Effect.orDie);
|
|
306
331
|
});
|
|
307
332
|
var releaseMessage2 = (db, sessionID, messageID) => release(db, eq(BlobRefTable2.session_id, sessionID), eq(BlobRefTable2.message_id, messageID));
|
|
308
333
|
var releaseFrom2 = (db, sessionID, seq) => release(db, eq(BlobRefTable2.session_id, sessionID), gte(BlobRefTable2.seq, seq));
|
|
309
334
|
var releaseSession2 = (db, sessionID) => release(db, eq(BlobRefTable2.session_id, sessionID));
|
|
310
335
|
|
|
311
|
-
export { hydrate2, hydrateInbox2, keepRefs2, keepInboxRefs2, describe3, read4, hashBytes2, enabled2, enabledFor2, ForkMedia2, save2, externalizePayload2, externalize2, split2, externalizeRow2, recordRefs2, recordHashes2, syncRefs2, releaseMessage2, releaseFrom2, releaseSession2, exports_blob };
|
|
336
|
+
export { hydrate2, hydrateInbox2, keepRefs2, keepInboxRefs2, describe3, read4, hashBytes2, enabled2, enabledFor2, ForkMedia2, save2, externalizePayload2, externalize2, externalizePart2, split2, externalizeRow2, recordRefs2, recordHashes2, syncRefs2, releaseMessage2, releaseFrom2, releaseSession2, exports_blob };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-estpkht0.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service81
|
|
7
|
+
} from "./rpc-de3bkzh9.js";
|
|
8
8
|
import {
|
|
9
9
|
ID17,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-evg5gsc5.js";
|
|
12
12
|
import {
|
|
13
13
|
ID16,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-d94pcry3.js";
|
|
16
16
|
import {
|
|
17
17
|
ID15,
|
|
18
18
|
VariantID2,
|
|
19
19
|
Info23
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-d7prq4ns.js";
|
|
21
21
|
import {
|
|
22
22
|
success2,
|
|
23
23
|
error2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./rpc-yb20nhc3.js";
|
|
25
25
|
import {
|
|
26
26
|
get5
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./rpc-3nnrz6f6.js";
|
|
28
28
|
import {
|
|
29
29
|
configuredSettings2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-va4swey4.js";
|
|
31
31
|
import {
|
|
32
32
|
onSwitch2,
|
|
33
33
|
reloadIfChanged2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./rpc-92fkhyx5.js";
|
|
35
35
|
import {
|
|
36
36
|
activeCredential2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./rpc-j6zxvz6v.js";
|
|
38
38
|
|
|
39
39
|
// src/plugin/provider/chatgpt.ts
|
|
40
40
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -184,7 +184,7 @@ function listen(server) {
|
|
|
184
184
|
var ChatGPTPlugin2 = define({
|
|
185
185
|
id: "opencode.provider.chatgpt",
|
|
186
186
|
effect: Effect.fn(function* (ctx) {
|
|
187
|
-
const credentials = yield*
|
|
187
|
+
const credentials = yield* Service81;
|
|
188
188
|
const loading = Semaphore.makeUnsafe(1);
|
|
189
189
|
let chatgpt;
|
|
190
190
|
let source;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
3
|
Service73
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-h8d3bnh6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service39
|
|
7
|
+
} from "./rpc-zweyw312.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-mm06edep.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin21
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin21 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
26
|
const config = yield* Service73;
|
|
27
|
-
const snapshot = yield*
|
|
27
|
+
const snapshot = yield* Service39;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin27 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin21, exports_snapshot };
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-estpkht0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID18,
|
|
6
6
|
OAuth3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-de3bkzh9.js";
|
|
8
8
|
import {
|
|
9
9
|
AbsolutePath2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-z5v4ffb3.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-6dqyy18z.js";
|
|
14
14
|
import {
|
|
15
15
|
ID17,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-evg5gsc5.js";
|
|
19
19
|
import {
|
|
20
20
|
ID16
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./rpc-d94pcry3.js";
|
|
22
22
|
import {
|
|
23
23
|
Remote3,
|
|
24
24
|
Document3,
|
|
25
25
|
make31
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-8t99kr38.js";
|
|
27
27
|
import {
|
|
28
28
|
Service73
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./rpc-h8d3bnh6.js";
|
|
30
30
|
import {
|
|
31
31
|
integrate2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./rpc-r8xya4dw.js";
|
|
33
33
|
import {
|
|
34
34
|
uri2,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service36
|
|
36
|
+
} from "./rpc-mzyxd1yt.js";
|
|
37
37
|
import {
|
|
38
38
|
parse2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./rpc-bnx0c7zt.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
41
|
+
Options3,
|
|
42
42
|
defaultServer2,
|
|
43
43
|
server2,
|
|
44
44
|
headers2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./rpc-hxw1x4nh.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
File2,
|
|
48
|
+
Service58
|
|
49
|
+
} from "./rpc-pddx3rnb.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
51
|
+
Service45,
|
|
52
52
|
fingerprint2
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./rpc-xj9efrc3.js";
|
|
54
54
|
import {
|
|
55
55
|
isSafeSegment2,
|
|
56
56
|
isSafeRelativePath2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./rpc-3adw4bt5.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
ID10,
|
|
60
|
+
Input16,
|
|
61
61
|
Response2
|
|
62
|
-
} from "./
|
|
62
|
+
} from "./rpc-4cmsdm13.js";
|
|
63
63
|
import {
|
|
64
64
|
onSwitch2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./rpc-92fkhyx5.js";
|
|
66
66
|
|
|
67
67
|
// src/plugin/provider/opencode.ts
|
|
68
68
|
import { Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore } from "effect";
|
|
@@ -193,11 +193,11 @@ var OpencodePlugin2 = define({
|
|
|
193
193
|
const client = yield* HttpClient.HttpClient;
|
|
194
194
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
195
195
|
const config = yield* Service73;
|
|
196
|
-
const discovery = yield*
|
|
197
|
-
const skills = yield*
|
|
198
|
-
const cache = yield*
|
|
196
|
+
const discovery = yield* Service58;
|
|
197
|
+
const skills = yield* Service36;
|
|
198
|
+
const cache = yield* Service45;
|
|
199
199
|
const scope = yield* Scope.Scope;
|
|
200
|
-
const settings = yield*
|
|
200
|
+
const settings = yield* Options3;
|
|
201
201
|
const loading = Semaphore.makeUnsafe(1);
|
|
202
202
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined, access: undefined };
|
|
203
203
|
let instructions = [];
|
|
@@ -246,7 +246,7 @@ var OpencodePlugin2 = define({
|
|
|
246
246
|
const publish = Effect.fnUntraced(function* (next) {
|
|
247
247
|
const document = next.remote && next.connection && make31({
|
|
248
248
|
integrationID: ID17.make("opencode"),
|
|
249
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
249
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID18.make(next.connection.id) } : next.connection,
|
|
250
250
|
organization: next.organization,
|
|
251
251
|
info: next.remote
|
|
252
252
|
});
|
|
@@ -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) => {
|
|
@@ -297,7 +297,7 @@ var OpencodePlugin2 = define({
|
|
|
297
297
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
298
298
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
299
299
|
const server = yield* normalizeServer(server2(credential));
|
|
300
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
300
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input16)({
|
|
301
301
|
query: input.query,
|
|
302
302
|
providerID
|
|
303
303
|
}));
|
|
@@ -353,7 +353,7 @@ var OpencodePlugin2 = define({
|
|
|
353
353
|
}
|
|
354
354
|
});
|
|
355
355
|
yield* ctx.websearch.transform((editor) => {
|
|
356
|
-
const provider =
|
|
356
|
+
const provider = ID10.make("opencode");
|
|
357
357
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
358
358
|
editor.add(search(provider, snapshot.connection));
|
|
359
359
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
make32,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-t62dywgn.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-fffv3p7h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
17
|
+
var exports_instructions3 = {};
|
|
18
|
+
__export(exports_instructions3, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions3,
|
|
20
|
+
make: () => make23,
|
|
21
|
+
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Before calling a tool that is not list
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Code Mode tools (call only inside \`execute\`)`;
|
|
35
|
-
function
|
|
35
|
+
function render2(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -46,7 +46,7 @@ ${tools.join(`
|
|
|
46
46
|
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render2(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -109,20 +109,20 @@ ${render3(current)}`;
|
|
|
109
109
|
return delta;
|
|
110
110
|
return replacement;
|
|
111
111
|
}
|
|
112
|
-
var key =
|
|
112
|
+
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make23 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
116
116
|
return make32({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
121
|
+
initial: render2,
|
|
122
122
|
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render2, update3, make23, exports_instructions3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-40y6dtc2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service35,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node37
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service35 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service35.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node37 = makeLocationNode({
|
|
143
|
+
service: Service35,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service35, node37, exports_tool_output2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-bm41btk3.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service77,
|
|
17
|
+
node: () => node80
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service77 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service91).db;
|
|
26
|
-
return
|
|
26
|
+
return Service77.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node80 = makeGlobalNode({ service: Service77, layer, deps: [node95] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service77, node80, exports_kv };
|