@opencode/core 0.0.0-dev-1263 → 0.0.0-dev-1266
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 +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +7 -7
- package/dist/artifact.js +260 -260
- package/dist/bus.js +80 -80
- package/dist/chunks/{bus-034tev2y.js → credential-034tev2y.js} +2 -2
- package/dist/chunks/{bus-9h7yr659.js → credential-04f94dax.js} +33 -33
- package/dist/chunks/{bus-fz3kzkqd.js → credential-05ag6pk8.js} +15 -15
- package/dist/chunks/{bus-xv3ttmt3.js → credential-05p04pxs.js} +10 -10
- package/dist/chunks/{bus-xdmhns7t.js → credential-083bb7kr.js} +1 -1
- package/dist/chunks/{bus-8sthr1tx.js → credential-0bv4xa50.js} +30 -30
- package/dist/chunks/{bus-d1c74rk0.js → credential-0d0009t3.js} +11 -11
- package/dist/chunks/{bus-6nkt8acg.js → credential-0gzv1ss9.js} +32 -32
- package/dist/chunks/{bus-0ma9gw4f.js → credential-0ma9gw4f.js} +2 -2
- package/dist/chunks/{bus-z71a25s3.js → credential-0n8hhfa1.js} +3 -3
- package/dist/chunks/{bus-fknvcfgj.js → credential-0pmkfzvq.js} +11 -11
- package/dist/chunks/{bus-3aystt2y.js → credential-16b1vswp.js} +4 -4
- package/dist/chunks/{bus-cyx3va9k.js → credential-170v4zn2.js} +9 -9
- package/dist/chunks/{bus-78yfpq2b.js → credential-19cwwhz9.js} +8 -8
- package/dist/chunks/{bus-1aqsckx4.js → credential-1aqsckx4.js} +1 -1
- package/dist/chunks/{bus-1aryjtsy.js → credential-1aryjtsy.js} +1 -1
- package/dist/chunks/{bus-cyrsjs2m.js → credential-1at1r0z7.js} +32 -32
- package/dist/chunks/{bus-xrwgxfr7.js → credential-1c1zg5kd.js} +21 -21
- package/dist/chunks/{bus-p5mfb73r.js → credential-1dr9rxn2.js} +42 -42
- package/dist/chunks/{bus-1ep2p91f.js → credential-1ep2p91f.js} +2 -2
- package/dist/chunks/{bus-ja9m900p.js → credential-1j27xach.js} +17 -17
- package/dist/chunks/{bus-k1p9bpy2.js → credential-1nvhvshq.js} +2 -2
- package/dist/chunks/{bus-s3wajrtt.js → credential-1p2mzk0s.js} +6 -6
- package/dist/chunks/{bus-84enknj2.js → credential-1qhqc27h.js} +24 -24
- package/dist/chunks/{bus-dftnbhb2.js → credential-1r670a2x.js} +18 -18
- package/dist/chunks/{bus-1x2knyw4.js → credential-1x2knyw4.js} +1 -1
- package/dist/chunks/{bus-kdbq1sa8.js → credential-284atmfe.js} +18 -18
- package/dist/chunks/credential-2868d8r5.js +26 -0
- package/dist/chunks/{bus-8c7f0ssb.js → credential-297gyf9e.js} +4 -4
- package/dist/chunks/{bus-82vskj1b.js → credential-2aq4mjey.js} +25 -25
- package/dist/chunks/{bus-3ryz99p0.js → credential-2azy8kv6.js} +4 -4
- package/dist/chunks/{bus-pfg10xr2.js → credential-2bswbpgz.js} +5 -5
- package/dist/chunks/{bus-7tfergkk.js → credential-2cn0txnp.js} +11 -11
- package/dist/chunks/{bus-hc6f5wp3.js → credential-2ejmkwxb.js} +10 -10
- package/dist/chunks/{bus-jep0ve1h.js → credential-2f5h4exa.js} +50 -50
- package/dist/chunks/{bus-2fc7eemy.js → credential-2fc7eemy.js} +1 -1
- package/dist/chunks/credential-2nnhn429.js +273 -0
- package/dist/chunks/{bus-2p60zmnr.js → credential-2p60zmnr.js} +2 -2
- package/dist/chunks/{bus-rfexj5da.js → credential-2pg7vmjx.js} +59 -59
- package/dist/chunks/{bus-2prt43t7.js → credential-2prt43t7.js} +1 -1
- package/dist/chunks/{bus-hfyfad37.js → credential-2qv5ter1.js} +7 -7
- package/dist/chunks/{bus-0n4pdj0s.js → credential-2s42xwzj.js} +8 -8
- package/dist/chunks/{bus-502gr1rn.js → credential-2swk70vv.js} +9 -9
- package/dist/chunks/{bus-b0wcg77f.js → credential-2t9xf391.js} +32 -32
- package/dist/chunks/{bus-1qefvvrn.js → credential-2v6ndzyx.js} +13 -13
- package/dist/chunks/{bus-rxvb4vha.js → credential-2vaagxfs.js} +187 -187
- package/dist/chunks/{bus-7y46bhzt.js → credential-2w9hcewk.js} +6 -6
- package/dist/chunks/{bus-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-3nnrz6f6.js → credential-3nnrz6f6.js} +1 -1
- package/dist/chunks/{bus-kns3rthx.js → credential-3rd5m6vm.js} +26 -26
- package/dist/chunks/{bus-ayf9fgvx.js → credential-3zcve5r9.js} +14 -14
- package/dist/chunks/{bus-v4j7gz04.js → credential-3ztt38fd.js} +13 -13
- package/dist/chunks/{bus-40y6dtc2.js → credential-40y6dtc2.js} +1 -1
- package/dist/chunks/{bus-44pmzq9c.js → credential-44pmzq9c.js} +2 -2
- package/dist/chunks/{bus-btkhs1yx.js → credential-44qjfwz8.js} +11 -11
- package/dist/chunks/{bus-zp7x01m0.js → credential-47pjmyws.js} +21 -21
- package/dist/chunks/{bus-mxyw4ghg.js → credential-48m9x6qm.js} +3 -3
- package/dist/chunks/{bus-3bc976rq.js → credential-4brve7m4.js} +36 -36
- package/dist/chunks/{bus-4dx1dgte.js → credential-4dx1dgte.js} +1 -1
- package/dist/chunks/{bus-4f25tdd0.js → credential-4f25tdd0.js} +1 -1
- package/dist/chunks/{bus-pp63pmhh.js → credential-4mqfjmg2.js} +3 -3
- package/dist/chunks/{bus-zdat2xwq.js → credential-4pw98qd4.js} +4 -4
- package/dist/chunks/{bus-4pyp9zr9.js → credential-4pyp9zr9.js} +1 -1
- package/dist/chunks/{bus-4v008n1t.js → credential-4v008n1t.js} +1 -1
- package/dist/chunks/{bus-ajbrb7t6.js → credential-548t6f90.js} +18 -18
- package/dist/chunks/{bus-az5k00er.js → credential-55jns0y6.js} +57 -57
- package/dist/chunks/{bus-e8z8sav5.js → credential-5cw7hx5n.js} +5 -5
- package/dist/chunks/{bus-ndqtk37h.js → credential-5e55b4vg.js} +16 -16
- package/dist/chunks/{bus-eeyhn8mk.js → credential-5k437nf0.js} +25 -25
- package/dist/chunks/{bus-5m9w47nd.js → credential-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-8k12fzdn.js → credential-5mmnhktp.js} +11 -11
- package/dist/chunks/{bus-1ybnene4.js → credential-5wfjk0m2.js} +16 -16
- package/dist/chunks/{bus-dass9azh.js → credential-6537r86n.js} +4 -4
- package/dist/chunks/{bus-vffzc4s3.js → credential-66930yf4.js} +35 -35
- package/dist/chunks/{bus-8xz27cp9.js → credential-67wwskyb.js} +4 -4
- package/dist/chunks/credential-6bshxcsx.js +18 -0
- package/dist/chunks/{bus-ncms6pw2.js → credential-6f8g2psv.js} +9 -9
- package/dist/chunks/{bus-y8trpfjq.js → credential-6ndwemk5.js} +32 -32
- package/dist/chunks/{bus-kr54fh17.js → credential-6qpf3bcy.js} +30 -30
- package/dist/chunks/{bus-7gjjw5z2.js → credential-6vwjxhgq.js} +8 -8
- package/dist/chunks/{bus-t1amr32j.js → credential-6y22pqa5.js} +32 -32
- package/dist/chunks/{bus-qvtwmp4v.js → credential-7215dbqr.js} +6 -6
- package/dist/chunks/{bus-g7ftnhb3.js → credential-755j803s.js} +20 -20
- package/dist/chunks/{bus-spm7z5z2.js → credential-75p4zwqn.js} +10 -10
- package/dist/chunks/{bus-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-xfqj7vah.js → credential-7dxs97e8.js} +4 -4
- package/dist/chunks/{bus-54wpnc3v.js → credential-7h0xs0hp.js} +5 -5
- package/dist/chunks/{bus-dhh25a9k.js → credential-7kdah1f2.js} +9 -9
- package/dist/chunks/{bus-7w9qf8t4.js → credential-7m3261e6.js} +11 -11
- package/dist/chunks/{bus-n6rdb9m5.js → credential-7mgf1y04.js} +11 -11
- package/dist/chunks/{bus-ajrqcp8t.js → credential-7n9cxsfy.js} +6 -6
- package/dist/chunks/{bus-vg7kp4jt.js → credential-7t325v9v.js} +13 -13
- package/dist/chunks/{bus-7w2ypzdf.js → credential-7w2ypzdf.js} +1 -1
- package/dist/chunks/{bus-7weczvnd.js → credential-7weczvnd.js} +1 -1
- package/dist/chunks/{bus-5692zcjm.js → credential-7yyd0evv.js} +18 -18
- package/dist/chunks/{bus-80mg3ag8.js → credential-80mg3ag8.js} +3 -3
- package/dist/chunks/{bus-80pdk984.js → credential-80pdk984.js} +1 -1
- package/dist/chunks/{bus-y0z5y3nx.js → credential-81avqzmv.js} +10 -10
- package/dist/chunks/{bus-dywjy152.js → credential-84vrmdvh.js} +23 -23
- package/dist/chunks/{bus-85jq8dht.js → credential-85jq8dht.js} +1 -1
- package/dist/chunks/{bus-1nxgbegj.js → credential-89hc1rzn.js} +8 -8
- package/dist/chunks/{bus-kkyae3de.js → credential-8a4y06xp.js} +19 -19
- package/dist/chunks/{bus-8b3vzgkx.js → credential-8b3vzgkx.js} +1 -1
- package/dist/chunks/{bus-kgsjpgx9.js → credential-8bpryfcs.js} +26 -26
- package/dist/chunks/{bus-s1qt1kqv.js → credential-8fzjn2mz.js} +11 -11
- package/dist/chunks/{bus-bmw1c1w2.js → credential-8hfmqq8w.js} +8 -8
- package/dist/chunks/{bus-8kjyvwy5.js → credential-8kjyvwy5.js} +1 -1
- package/dist/chunks/{bus-tn37g70e.js → credential-8nvb8nf8.js} +28 -28
- package/dist/chunks/{bus-v8xpr2tt.js → credential-8rgb2cvr.js} +8 -8
- package/dist/chunks/{bus-00y8gkp5.js → credential-8sgwsd6w.js} +22 -22
- package/dist/chunks/{bus-8sxe6kv8.js → credential-8sxe6kv8.js} +2 -2
- package/dist/chunks/{bus-wzz831y5.js → credential-8vmsfhyj.js} +12 -12
- package/dist/chunks/{bus-8wtp7s3z.js → credential-8wtp7s3z.js} +1 -1
- package/dist/chunks/{bus-8zv0xmg5.js → credential-8zv0xmg5.js} +1 -1
- package/dist/chunks/{bus-tmsabzbp.js → credential-8zw7n6f9.js} +25 -25
- package/dist/chunks/{bus-rzg6y5rp.js → credential-90ct6wq4.js} +4 -4
- package/dist/chunks/{bus-pdb7vdww.js → credential-92waa1rm.js} +7 -7
- package/dist/chunks/{bus-nt907s04.js → credential-94e33dpz.js} +3 -3
- package/dist/chunks/{bus-jefms0ep.js → credential-94nm4njz.js} +15 -15
- package/dist/chunks/{bus-vphbnpnp.js → credential-9ajzb2kh.js} +8 -8
- package/dist/chunks/{bus-1ban4kqf.js → credential-9be3praa.js} +7 -7
- package/dist/chunks/{bus-e2y38hrw.js → credential-9ekzv16x.js} +16 -16
- package/dist/chunks/{bus-h7d1ynq4.js → credential-9x0sbzbr.js} +10 -10
- package/dist/chunks/{bus-7z7xnvxr.js → credential-9yw73g0b.js} +33 -33
- package/dist/chunks/{bus-brmvfh58.js → credential-a0njj5td.js} +3 -3
- package/dist/chunks/{bus-x33zr93e.js → credential-a2f34hqa.js} +17 -17
- package/dist/chunks/{bus-a5wzbm37.js → credential-a2fmjrw5.js} +20 -20
- package/dist/chunks/{bus-mc66mx5n.js → credential-a5gtmh0t.js} +5 -5
- package/dist/chunks/{bus-k7rhkqnn.js → credential-ab3scrh1.js} +17 -17
- package/dist/chunks/{bus-6y2b864j.js → credential-agje4kmn.js} +4 -4
- package/dist/chunks/{bus-qk5rp7zm.js → credential-asm9vz9z.js} +35 -35
- package/dist/chunks/{bus-ayjs7tqn.js → credential-ayjs7tqn.js} +2 -2
- package/dist/chunks/{bus-n320gsn2.js → credential-azqdag7d.js} +4 -4
- package/dist/chunks/{bus-vkz3ha21.js → credential-b0fy1v2h.js} +1 -1
- package/dist/chunks/{bus-b26ddj6h.js → credential-b26ddj6h.js} +4 -4
- package/dist/chunks/{bus-3zm7kqry.js → credential-b588tj1k.js} +28 -28
- package/dist/chunks/{bus-c44cp8pc.js → credential-bctkw1y7.js} +25 -25
- package/dist/chunks/{bus-q5r4vjzy.js → credential-bj026bf1.js} +17 -17
- package/dist/chunks/{bus-ag0qg79j.js → credential-bm62pr2s.js} +10 -10
- package/dist/chunks/{bus-mh0xmn07.js → credential-bq1e659v.js} +30 -30
- package/dist/chunks/{bus-591dchvc.js → credential-bqbrpb0z.js} +25 -25
- package/dist/chunks/{bus-859w1rtj.js → credential-br85n61x.js} +9 -9
- package/dist/chunks/{bus-nrpxndk2.js → credential-c1wm9w65.js} +7 -7
- package/dist/chunks/{bus-ntnrx6ke.js → credential-ccrtc4jm.js} +6 -6
- package/dist/chunks/{bus-2frbs0db.js → credential-crvzxc72.js} +32 -32
- package/dist/chunks/{bus-6zv2xtvj.js → credential-cwmw1m7p.js} +24 -24
- package/dist/chunks/{bus-cwrgdav8.js → credential-cwrgdav8.js} +2 -2
- package/dist/chunks/{bus-d4v9tmah.js → credential-d4v9tmah.js} +2 -2
- package/dist/chunks/{bus-qvce1bab.js → credential-d5arxgh9.js} +16 -16
- package/dist/chunks/{bus-q47qkx79.js → credential-d9b35bsm.js} +23 -23
- package/dist/chunks/{bus-dt77769w.js → credential-dt77769w.js} +1 -1
- package/dist/chunks/{bus-88vr49vm.js → credential-dtrrxc61.js} +3 -3
- package/dist/chunks/{bus-ebwawem2.js → credential-dxfardcv.js} +24 -24
- package/dist/chunks/{bus-8zz9aa9v.js → credential-e8xb975w.js} +9 -9
- package/dist/chunks/{bus-empjzqv5.js → credential-ea76zaj4.js} +7 -7
- package/dist/chunks/{bus-07wkewjj.js → credential-ead5v0mw.js} +24 -24
- package/dist/chunks/{bus-71ms5473.js → credential-eegta8rz.js} +31 -31
- package/dist/chunks/{bus-w949zjts.js → credential-emh57nvb.js} +8 -8
- package/dist/chunks/{bus-04bv7e8y.js → credential-emzckfwf.js} +49 -49
- package/dist/chunks/{bus-204h1da0.js → credential-ep1m3t1v.js} +26 -26
- package/dist/chunks/{bus-9kcadssx.js → credential-epr7hfg3.js} +10 -10
- package/dist/chunks/{bus-eqw4pqj1.js → credential-eqw4pqj1.js} +2 -2
- package/dist/chunks/{bus-h79qqgx0.js → credential-erz96mch.js} +26 -26
- package/dist/chunks/{bus-6cgz4vez.js → credential-es0xdxx4.js} +11 -11
- package/dist/chunks/{bus-mpmhhmzt.js → credential-esc72zzd.js} +36 -36
- package/dist/chunks/{bus-mccq5jfg.js → credential-evg6t15x.js} +5 -5
- package/dist/chunks/{bus-x1bf84p4.js → credential-f1b4f75h.js} +14 -14
- package/dist/chunks/{bus-a4wj8b6f.js → credential-f5xy1qn8.js} +6 -6
- package/dist/chunks/{bus-kf3hndtd.js → credential-f68vxh6q.js} +8 -8
- package/dist/chunks/{bus-2wmp7sc8.js → credential-f8qcf1g3.js} +24 -24
- package/dist/chunks/{bus-pz0qcv7x.js → credential-f9t22jxr.js} +9 -9
- package/dist/chunks/credential-fcmxqga5.js +16 -0
- package/dist/chunks/{bus-12yh0qg2.js → credential-fhbz4jre.js} +30 -30
- package/dist/chunks/{bus-7h1jvfex.js → credential-fkd994t1.js} +19 -19
- package/dist/chunks/{bus-w8aaskt8.js → credential-fssek1qm.js} +18 -18
- package/dist/chunks/{bus-gfv5sn99.js → credential-fygfs8gq.js} +21 -21
- package/dist/chunks/{bus-t82bx91f.js → credential-g098wjz0.js} +28 -28
- package/dist/chunks/{bus-d05kbw21.js → credential-g3wj12x4.js} +8 -8
- package/dist/chunks/{bus-m7xh3h0x.js → credential-g42b6ca9.js} +4 -4
- package/dist/chunks/{bus-rhfsqzn9.js → credential-g7h89rq2.js} +44 -44
- package/dist/chunks/{bus-4fgsg5hz.js → credential-gbeepg6c.js} +12 -12
- package/dist/chunks/{bus-gbjdnr5j.js → credential-gbjdnr5j.js} +2 -2
- package/dist/chunks/{bus-ghrv1g9c.js → credential-ghrv1g9c.js} +1 -1
- package/dist/chunks/{bus-75w0c01q.js → credential-gw4haqx5.js} +8 -8
- package/dist/chunks/{bus-3kh5qk3y.js → credential-gx76kxxn.js} +11 -11
- package/dist/chunks/{bus-waas2dr2.js → credential-gykwdayw.js} +42 -42
- package/dist/chunks/{bus-gwb01ej5.js → credential-h26mtg3g.js} +17 -17
- package/dist/chunks/{bus-707acbjf.js → credential-h5kxrezk.js} +27 -27
- package/dist/chunks/{bus-g3agd9q1.js → credential-h6wxadm3.js} +6 -6
- package/dist/chunks/{bus-s4twqmvv.js → credential-h79y8tf0.js} +3 -3
- package/dist/chunks/{bus-vhfbr18d.js → credential-h7b3bxr7.js} +4 -4
- package/dist/chunks/{bus-93ja3pkt.js → credential-h7yfjjyr.js} +11 -11
- package/dist/chunks/{bus-h7fhnmyn.js → credential-haz0swaw.js} +19 -19
- package/dist/chunks/{bus-hgzwgvze.js → credential-hgzwgvze.js} +2 -2
- package/dist/chunks/{bus-5707rzr0.js → credential-hm3thh9r.js} +12 -12
- package/dist/chunks/{bus-9vtq7b87.js → credential-hmqmja9x.js} +24 -24
- package/dist/chunks/{bus-4c805qzj.js → credential-hw1wavdn.js} +17 -17
- package/dist/chunks/{bus-3fbr10xm.js → credential-hxyt6xjy.js} +11 -11
- package/dist/chunks/{bus-whw3h4aq.js → credential-hz0tdhxc.js} +36 -36
- package/dist/chunks/{bus-3g2qq1gq.js → credential-j0xx1eam.js} +9 -9
- package/dist/chunks/{bus-3z9jz36x.js → credential-j228j2n8.js} +2 -2
- package/dist/chunks/{bus-qmgxg96t.js → credential-j3dzraeh.js} +15 -15
- package/dist/chunks/{bus-068mjfd4.js → credential-j68k2dd2.js} +46 -46
- package/dist/chunks/{bus-znc04q0a.js → credential-j8argnn7.js} +66 -66
- package/dist/chunks/{bus-dj63vagf.js → credential-jd2k76th.js} +6 -6
- package/dist/chunks/{bus-3wg12bp2.js → credential-jd64w3eg.js} +26 -26
- package/dist/chunks/{bus-c51p6570.js → credential-jh9q4qkg.js} +2 -2
- package/dist/chunks/{bus-zyq2pv4t.js → credential-jkdcm5hg.js} +4 -4
- package/dist/chunks/{bus-jm70asfg.js → credential-jm70asfg.js} +1 -1
- package/dist/chunks/{bus-qnatgp3t.js → credential-jrn9m81j.js} +31 -31
- package/dist/chunks/{bus-g7amcep6.js → credential-jtj80tfk.js} +7 -7
- package/dist/chunks/{bus-mnk9qe00.js → credential-jxxxy27w.js} +8 -8
- package/dist/chunks/{bus-b7pv4fnx.js → credential-k2b8fd82.js} +10 -10
- package/dist/chunks/{bus-p6eqydpw.js → credential-k8atft3w.js} +10 -10
- package/dist/chunks/{bus-vrme8mhw.js → credential-kb5p7079.js} +30 -30
- package/dist/chunks/{bus-vmqe41cb.js → credential-kj9n5bvh.js} +4 -4
- package/dist/chunks/{bus-ana541dw.js → credential-ksmsp0en.js} +19 -19
- package/dist/chunks/{bus-kt3bjfbg.js → credential-kt3bjfbg.js} +1 -1
- package/dist/chunks/{bus-3bgf9gas.js → credential-ky55b5b1.js} +4 -4
- package/dist/chunks/{bus-kzczzf4v.js → credential-kzczzf4v.js} +1 -1
- package/dist/chunks/{bus-12jm629j.js → credential-kzrp6a9e.js} +5 -5
- package/dist/chunks/{bus-680x2dyv.js → credential-m11dydqq.js} +4 -4
- package/dist/chunks/{bus-m1714858.js → credential-m1714858.js} +1 -1
- package/dist/chunks/{bus-j5c1h9tb.js → credential-m6hyr5tc.js} +9 -9
- package/dist/chunks/{bus-m90tx7mw.js → credential-m90tx7mw.js} +1 -1
- package/dist/chunks/{bus-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-mb7mbhnz.js → credential-mb7mbhnz.js} +3 -3
- package/dist/chunks/{bus-zszvhx97.js → credential-mczeabwm.js} +16 -16
- package/dist/chunks/{bus-s0jjn7na.js → credential-mg9811wm.js} +11 -11
- package/dist/chunks/{bus-n46qswg6.js → credential-mj6ctt7b.js} +6 -6
- package/dist/chunks/{bus-q5bk3gvt.js → credential-mk3p57ba.js} +9 -9
- package/dist/chunks/{bus-msd2a3qm.js → credential-msd2a3qm.js} +4 -4
- package/dist/chunks/{bus-pve82aqy.js → credential-mz2z015j.js} +16 -16
- package/dist/chunks/{bus-fw732ngd.js → credential-n2a04dsk.js} +93 -93
- package/dist/chunks/{bus-4660x4d5.js → credential-nbtpjsg4.js} +12 -12
- package/dist/chunks/{bus-fpefy0ef.js → credential-nck04nh4.js} +15 -15
- package/dist/chunks/{bus-kqgn5842.js → credential-neqamc1y.js} +9 -9
- package/dist/chunks/{bus-eaj9m5k6.js → credential-nkpvg6fm.js} +23 -23
- package/dist/chunks/{bus-0fjn2gbm.js → credential-nm3ssbj1.js} +23 -23
- package/dist/chunks/{bus-ymbjwv3a.js → credential-nvx1pt8f.js} +14 -14
- package/dist/chunks/{bus-0yvpyaqy.js → credential-nwd067wd.js} +4 -4
- package/dist/chunks/{bus-tsesm9fb.js → credential-nzrnzpf0.js} +21 -21
- package/dist/chunks/{bus-ahh996hm.js → credential-p2pbjxkj.js} +5 -5
- package/dist/chunks/{bus-2t1h8wp7.js → credential-p45cj9je.js} +4 -4
- package/dist/chunks/{bus-5zrxpy3q.js → credential-p7vhpwh8.js} +5 -5
- package/dist/chunks/{bus-n7km60sz.js → credential-p9291rxh.js} +19 -19
- package/dist/chunks/{bus-qgqmchj3.js → credential-pas0ngh7.js} +10 -10
- package/dist/chunks/{bus-ysv9j9ds.js → credential-pcgy6jah.js} +6 -6
- package/dist/chunks/{bus-4dfqsw0d.js → credential-pd7cqnhq.js} +4 -4
- package/dist/chunks/{bus-19yatqsz.js → credential-pf46waa6.js} +14 -14
- package/dist/chunks/{bus-5pme8evj.js → credential-pgvvr17p.js} +1 -1
- package/dist/chunks/{bus-f1gmsd3e.js → credential-pjswj2se.js} +11 -11
- package/dist/chunks/{bus-pknna89w.js → credential-pknna89w.js} +1 -1
- package/dist/chunks/{bus-jtc2mdpz.js → credential-pnh89ay0.js} +44 -44
- package/dist/chunks/{bus-3mcv9py0.js → credential-pp6tj5nn.js} +17 -17
- package/dist/chunks/{bus-fzz9nyhr.js → credential-pq0hd913.js} +4 -4
- package/dist/chunks/{bus-j3khdeed.js → credential-pq1zgjhw.js} +7 -7
- package/dist/chunks/{bus-prq7xxp2.js → credential-prq7xxp2.js} +2 -2
- package/dist/chunks/{bus-eyfjfzn3.js → credential-pxbvf64t.js} +5 -5
- package/dist/chunks/{bus-9m0knw07.js → credential-q1xyrh11.js} +13 -13
- package/dist/chunks/{bus-a0bweqwa.js → credential-qh0sybr2.js} +27 -27
- package/dist/chunks/{bus-991rwg4k.js → credential-qk70ddp3.js} +22 -22
- package/dist/chunks/{bus-qp7r0hxv.js → credential-qp7r0hxv.js} +1 -1
- package/dist/chunks/{bus-vga3rtn5.js → credential-qq9c9g32.js} +6 -6
- package/dist/chunks/{bus-j0czaf15.js → credential-qzz1xg45.js} +34 -34
- package/dist/chunks/{bus-8t99kr38.js → credential-r17fbvme.js} +4 -4
- package/dist/chunks/{bus-trd8vmqg.js → credential-r17j3nh0.js} +18 -18
- package/dist/chunks/{bus-wpn6y1aj.js → credential-r1q9g2m1.js} +53 -53
- package/dist/chunks/{bus-83f7y8e1.js → credential-ra3z9b2f.js} +3 -3
- package/dist/chunks/{bus-rb9dy4dg.js → credential-rb9dy4dg.js} +1 -1
- package/dist/chunks/{bus-kcg0dq7d.js → credential-reebcp87.js} +19 -19
- package/dist/chunks/{bus-rgc9cx3e.js → credential-rgc9cx3e.js} +2 -2
- package/dist/chunks/{bus-px7qpgcn.js → credential-rj7j5fvs.js} +4 -4
- package/dist/chunks/{bus-1xxsk924.js → credential-rjyjacaf.js} +8 -8
- package/dist/chunks/{bus-spz5sz38.js → credential-rn6817b0.js} +9 -9
- package/dist/chunks/{bus-3n2p1an7.js → credential-rnjyc0x3.js} +17 -17
- package/dist/chunks/{bus-yv8bmzhj.js → credential-rwfczecq.js} +53 -53
- package/dist/chunks/{bus-s47rahr7.js → credential-s47rahr7.js} +1 -1
- package/dist/chunks/{bus-bffyp8bc.js → credential-s516hjqf.js} +23 -23
- package/dist/chunks/{bus-0rp80gpv.js → credential-s640psbm.js} +11 -11
- package/dist/chunks/{bus-mmx1mfjr.js → credential-s7kyse9r.js} +4 -4
- package/dist/chunks/{bus-sbya78hr.js → credential-sbya78hr.js} +1 -1
- package/dist/chunks/{bus-svcy3p9a.js → credential-svcy3p9a.js} +1 -1
- package/dist/chunks/{bus-tjtzrh3a.js → credential-t5ngt2e6.js} +37 -37
- package/dist/chunks/{bus-k3ah5hdc.js → credential-t7ns9v9m.js} +11 -11
- package/dist/chunks/{bus-7hbfr3gt.js → credential-t8erkws8.js} +5 -5
- package/dist/chunks/{bus-grscpw5f.js → credential-t8t4hh39.js} +2 -2
- package/dist/chunks/{bus-v4bj6baw.js → credential-tb2mrvc9.js} +4 -4
- package/dist/chunks/{bus-tbpn7jtk.js → credential-tbpn7jtk.js} +1 -1
- package/dist/chunks/{bus-tczq8hjw.js → credential-tczq8hjw.js} +1 -1
- package/dist/chunks/{bus-f4er0pdj.js → credential-tfwrvc1b.js} +18 -18
- package/dist/chunks/{bus-tg7s7b5t.js → credential-tg7s7b5t.js} +1 -1
- package/dist/chunks/{bus-95ca3vhd.js → credential-tmekpwey.js} +15 -15
- package/dist/chunks/{bus-tr8x705m.js → credential-tr8x705m.js} +1 -1
- package/dist/chunks/{bus-g6n39j1m.js → credential-tswdvt6j.js} +20 -20
- package/dist/chunks/{bus-0fvxehme.js → credential-ttz31trp.js} +5 -5
- package/dist/chunks/{bus-tvtps2q9.js → credential-tvtps2q9.js} +1 -1
- package/dist/chunks/{bus-z0qy6syc.js → credential-tw9f37sx.js} +33 -33
- package/dist/chunks/{bus-twssxy5n.js → credential-twssxy5n.js} +2 -2
- package/dist/chunks/{bus-xtvxmv3z.js → credential-tykbxjwp.js} +4 -4
- package/dist/chunks/{bus-ztzm4295.js → credential-v0j23fj0.js} +8 -8
- package/dist/chunks/{bus-v2r1d0zg.js → credential-v2r1d0zg.js} +1 -1
- package/dist/chunks/{bus-pnc4nd8m.js → credential-v5gjxnwy.js} +9 -9
- package/dist/chunks/{bus-896vab60.js → credential-v6062tn6.js} +31 -31
- package/dist/chunks/{bus-mmb0cmqe.js → credential-v6prs5bd.js} +1 -1
- package/dist/chunks/{bus-6d207je9.js → credential-v6z75vyy.js} +4 -4
- package/dist/chunks/{bus-ev9rbz6a.js → credential-vdmajd6q.js} +20 -20
- package/dist/chunks/{bus-vjf35v1f.js → credential-vjf35v1f.js} +1 -1
- package/dist/chunks/{bus-bp514cq9.js → credential-vjhrddsw.js} +5 -5
- package/dist/chunks/{bus-fbkb7xm9.js → credential-vstw9esd.js} +17 -17
- package/dist/chunks/{bus-w2eysc6j.js → credential-w2eysc6j.js} +2 -2
- package/dist/chunks/{bus-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-9sk33afj.js → credential-w4xw9ac5.js} +6 -6
- package/dist/chunks/{bus-w687dnns.js → credential-w687dnns.js} +1 -1
- package/dist/chunks/{bus-embckhmt.js → credential-w6nmzeby.js} +18 -18
- package/dist/chunks/{bus-w75qynz4.js → credential-w75qynz4.js} +3 -3
- package/dist/chunks/{bus-4rdas243.js → credential-w99w1ysk.js} +5 -5
- package/dist/chunks/{bus-wakvkjy4.js → credential-wakvkjy4.js} +1 -1
- package/dist/chunks/{bus-wd87259q.js → credential-wd87259q.js} +1 -1
- package/dist/chunks/{bus-wegkxhrn.js → credential-wegkxhrn.js} +2 -2
- package/dist/chunks/{bus-17mr135c.js → credential-wq2zrtad.js} +3 -3
- package/dist/chunks/{bus-bfxxc9fz.js → credential-x50jzt61.js} +51 -51
- package/dist/chunks/{bus-jftzbjxe.js → credential-x5fke988.js} +2 -2
- package/dist/chunks/{bus-bstexjd6.js → credential-xd9cc171.js} +5 -5
- package/dist/chunks/{bus-e4129qcy.js → credential-xvpaagpx.js} +10 -10
- package/dist/chunks/{bus-k3g9cdn7.js → credential-xwq0gncp.js} +75 -75
- package/dist/chunks/{bus-xxschbft.js → credential-xxschbft.js} +1 -1
- package/dist/chunks/{bus-73ff1310.js → credential-y1n277rb.js} +3 -3
- package/dist/chunks/{bus-w9c22q0h.js → credential-y9x812en.js} +86 -86
- package/dist/chunks/{bus-9f3jsh1d.js → credential-y9x9m3cp.js} +9 -9
- package/dist/chunks/{bus-yb20nhc3.js → credential-yb20nhc3.js} +1 -1
- package/dist/chunks/{bus-tg1vr1qt.js → credential-ykvsfm8k.js} +8 -8
- package/dist/chunks/{bus-yr705xyq.js → credential-yr705xyq.js} +1 -1
- package/dist/chunks/{bus-jxfwa44g.js → credential-ysbtdz6z.js} +34 -34
- package/dist/chunks/{bus-yvtc2x31.js → credential-yvtc2x31.js} +1 -1
- package/dist/chunks/{bus-ks2x2pph.js → credential-ywgtvdty.js} +380 -380
- package/dist/chunks/{bus-3ad7t7sr.js → credential-yx8xd4nc.js} +17 -17
- package/dist/chunks/{bus-pyw96d6n.js → credential-z0gmqx6j.js} +37 -37
- package/dist/chunks/{bus-z0wbgq7s.js → credential-z0wbgq7s.js} +1 -1
- package/dist/chunks/{bus-nqfs23xf.js → credential-z658waa6.js} +19 -19
- package/dist/chunks/{bus-ze75qvmd.js → credential-ze75qvmd.js} +3 -3
- package/dist/chunks/{bus-jahxfc61.js → credential-zesaewyn.js} +9 -9
- package/dist/chunks/{bus-x9sg88xm.js → credential-zg3a0ws0.js} +17 -17
- package/dist/chunks/{bus-8qxn38g0.js → credential-zh2sgnz7.js} +29 -29
- package/dist/chunks/{bus-q7n0yvy1.js → credential-zv2g9xcb.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +10 -10
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +247 -247
- package/dist/config/plugin/compaction.js +175 -175
- package/dist/config/plugin/compatibility.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +146 -146
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +158 -158
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +129 -129
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +96 -96
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +105 -105
- package/dist/effect/app-node-builder.js +450 -450
- 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 +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +162 -162
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +166 -166
- 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 +254 -254
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +136 -136
- package/dist/form.js +95 -95
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +121 -121
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +113 -113
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +441 -441
- package/dist/instruction-discovery.js +96 -96
- package/dist/instructions/builtins.js +101 -101
- package/dist/instructions/index.js +6 -6
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +187 -187
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +153 -153
- package/dist/mcp/instructions.js +192 -192
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +161 -161
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +113 -113
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +114 -114
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +122 -122
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +158 -158
- 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 +146 -146
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +418 -418
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +151 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +116 -116
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +113 -113
- package/dist/plugin/provider/claude-agent/integration.js +114 -114
- 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 +109 -109
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +142 -142
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +137 -137
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -163
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- 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 +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -242
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +426 -426
- 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 +107 -107
- package/dist/plugin/warming.js +131 -131
- 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 +7 -7
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +262 -262
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +105 -105
- package/dist/provider.js +109 -109
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- package/dist/reference/instructions.js +100 -100
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +270 -270
- 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 +135 -135
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +208 -208
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +269 -269
- package/dist/session/execution/subagent-report.js +147 -147
- package/dist/session/execution.js +176 -176
- package/dist/session/generate.js +210 -210
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +154 -154
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +91 -91
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +173 -173
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +176 -176
- package/dist/session/projector.js +148 -148
- package/dist/session/prompt.js +153 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -144
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +261 -261
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -155
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +196 -196
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +147 -147
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +167 -167
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +210 -210
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +257 -257
- package/dist/session/usage.js +1 -1
- package/dist/session.js +251 -251
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +161 -161
- 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 +189 -189
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +172 -172
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +176 -176
- package/dist/tool/plugin/grep.js +175 -175
- package/dist/tool/plugin/image-generate.js +257 -257
- package/dist/tool/plugin/mcp-events.js +168 -168
- package/dist/tool/plugin/mcp-resource.js +172 -172
- package/dist/tool/plugin/opencode.js +168 -168
- package/dist/tool/plugin/patch.js +173 -173
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +171 -171
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +247 -247
- package/dist/tool/plugin/skill.js +162 -162
- package/dist/tool/plugin/subagent.js +251 -251
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +154 -154
- 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 +167 -167
- package/dist/usage-limits.js +100 -100
- package/dist/util/canonical-json.js +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- 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 +107 -107
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +103 -103
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- 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/bus-2jjfs7g5.js +0 -16
- package/dist/chunks/bus-8x060fmy.js +0 -18
- package/dist/chunks/bus-psmxp780.js +0 -273
- package/dist/chunks/bus-q6w3jy07.js +0 -26
- /package/dist/chunks/{bus-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kah00gy.js → credential-1kah00gy.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → credential-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → credential-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → credential-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4qk9sjk2.js → credential-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → credential-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-5w3e23ze.js → credential-5w3e23ze.js} +0 -0
- /package/dist/chunks/{bus-6agm2x70.js → credential-6agm2x70.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → credential-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → credential-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → credential-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-7rvsyqjv.js → credential-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → credential-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → credential-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → credential-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → credential-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9ceax7yg.js → credential-9ceax7yg.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-ade8csyh.js → credential-ade8csyh.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-beh6qq61.js → credential-beh6qq61.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cqv5kn06.js → credential-cqv5kn06.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → credential-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → credential-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → credential-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-ean2d8b5.js → credential-ean2d8b5.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → credential-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → credential-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → credential-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fkpq3x5p.js → credential-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → credential-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → credential-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → credential-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → credential-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → credential-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jwr30sdr.js → credential-jwr30sdr.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → credential-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → credential-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-nh4v3znn.js → credential-nh4v3znn.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → credential-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-p71gwv9c.js → credential-p71gwv9c.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → credential-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → credential-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-syrav9an.js → credential-syrav9an.js} +0 -0
- /package/dist/chunks/{bus-t03h4f5z.js → credential-t03h4f5z.js} +0 -0
- /package/dist/chunks/{bus-ty7weeps.js → credential-ty7weeps.js} +0 -0
- /package/dist/chunks/{bus-v2dnd5dt.js → credential-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → credential-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-vtarvj67.js → credential-vtarvj67.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → credential-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → credential-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → credential-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x4th4bpe.js → credential-x4th4bpe.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → credential-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → credential-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → credential-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → credential-z9919s4g.js} +0 -0
- /package/dist/chunks/{bus-zxpyjp51.js → credential-zxpyjp51.js} +0 -0
- /package/dist/chunks/{bus-zz5vv3aq.js → credential-zz5vv3aq.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-6537r86n.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-8a4y06xp.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-v2dnd5dt.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
InvalidCwdError: () => InvalidCwdError2,
|
|
20
|
-
NotFoundError: () =>
|
|
21
|
-
Options: () =>
|
|
20
|
+
NotFoundError: () => NotFoundError9,
|
|
21
|
+
Options: () => Options4,
|
|
22
22
|
PersistentPty: () => exports_persistent_pty,
|
|
23
23
|
ProcessNotFoundError: () => ProcessNotFoundError2,
|
|
24
|
-
RequestError: () =>
|
|
25
|
-
Service: () =>
|
|
24
|
+
RequestError: () => RequestError3,
|
|
25
|
+
Service: () => Service53,
|
|
26
26
|
UnavailableError: () => UnavailableError4,
|
|
27
27
|
available: () => available3,
|
|
28
|
-
configured: () =>
|
|
29
|
-
layer: () =>
|
|
28
|
+
configured: () => configured5,
|
|
29
|
+
layer: () => layer20,
|
|
30
30
|
layerWith: () => layerWith2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node56
|
|
32
32
|
});
|
|
33
33
|
import { stat } from "node:fs/promises";
|
|
34
34
|
import path from "node:path";
|
|
@@ -48,7 +48,7 @@ import { Global } from "@opencode/util/global";
|
|
|
48
48
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
49
49
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
50
50
|
import { available as available3 } from "#persistent-pty-binary";
|
|
51
|
-
var
|
|
51
|
+
var Options4 = Schema.Struct({
|
|
52
52
|
handoff: Schema.optional(Handoff),
|
|
53
53
|
root: Schema.optional(Schema.String)
|
|
54
54
|
});
|
|
@@ -58,12 +58,12 @@ class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class RequestError3 extends Schema.TaggedError()("PersistentPty.RequestError", {
|
|
62
62
|
message: Schema.String
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError9 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
67
67
|
ptyID: Pty.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -77,9 +77,9 @@ class InvalidCwdError2 extends Schema.TaggedError()("PersistentPty.InvalidCwdErr
|
|
|
77
77
|
}) {
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
class
|
|
80
|
+
class Service53 extends Context.Service()("@opencode/PersistentPty") {
|
|
81
81
|
}
|
|
82
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
82
|
+
var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* () {
|
|
83
83
|
const bus = yield* Service93;
|
|
84
84
|
const global = yield* Global.Service;
|
|
85
85
|
const context = yield* Effect.context();
|
|
@@ -103,7 +103,7 @@ var makeLayer = (options = {}) => Layer.effect(Service45, Effect.gen(function* (
|
|
|
103
103
|
const parsed = parseID(id);
|
|
104
104
|
const found = parsed === undefined ? undefined : yield* lookup(daemon, parsed).pipe(Effect.mapError(unavailable));
|
|
105
105
|
if (found?.mode !== "pty")
|
|
106
|
-
return yield* new
|
|
106
|
+
return yield* new NotFoundError9({ ptyID: id });
|
|
107
107
|
return toInfo(found);
|
|
108
108
|
});
|
|
109
109
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -297,7 +297,7 @@ var makeLayer = (options = {}) => Layer.effect(Service45, Effect.gen(function* (
|
|
|
297
297
|
return yield* unexpectedPipe(response);
|
|
298
298
|
return response.processes.map(toPipeInfo);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service53.of({
|
|
301
301
|
list,
|
|
302
302
|
get,
|
|
303
303
|
create,
|
|
@@ -322,14 +322,14 @@ var makeLayer = (options = {}) => Layer.effect(Service45, Effect.gen(function* (
|
|
|
322
322
|
listPipes
|
|
323
323
|
});
|
|
324
324
|
}));
|
|
325
|
-
var
|
|
325
|
+
var layer20 = makeLayer();
|
|
326
326
|
var layerWith2 = (options) => makeLayer(options);
|
|
327
|
-
var
|
|
328
|
-
service:
|
|
329
|
-
layer: options === undefined ?
|
|
327
|
+
var configured5 = (options) => makeGlobalNode({
|
|
328
|
+
service: Service53,
|
|
329
|
+
layer: options === undefined ? layer20 : makeLayer(options),
|
|
330
330
|
deps: [node95, Global.node]
|
|
331
331
|
});
|
|
332
|
-
var
|
|
332
|
+
var node56 = configured5();
|
|
333
333
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
334
334
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
335
335
|
var lookup = (daemon, id) => daemon.requestIfRunning({ op: "get", id }).pipe(Effect.catchIf((error) => error.kind === "request", () => Effect.succeed(undefined)), Effect.flatMap((response) => {
|
|
@@ -341,8 +341,8 @@ var lookup = (daemon, id) => daemon.requestIfRunning({ op: "get", id }).pipe(Eff
|
|
|
341
341
|
}));
|
|
342
342
|
var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
343
343
|
var unavailable = (error) => new UnavailableError4({ message: error instanceof Error ? error.message : String(error) });
|
|
344
|
-
var pipeError = (error) => error.kind === "request" || error.kind === "response" ? new
|
|
345
|
-
var unexpectedPipe = (response) => Effect.fail(new
|
|
344
|
+
var pipeError = (error) => error.kind === "request" || error.kind === "response" ? new RequestError3({ message: error.message }) : new UnavailableError4({ message: error.message });
|
|
345
|
+
var unexpectedPipe = (response) => Effect.fail(new RequestError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
346
346
|
function toInfo(value) {
|
|
347
347
|
if (!value.pty)
|
|
348
348
|
throw new Error(`opencode-pty process ${value.id} is not a terminal`);
|
|
@@ -414,4 +414,4 @@ function fromID(value) {
|
|
|
414
414
|
return parsed;
|
|
415
415
|
}
|
|
416
416
|
|
|
417
|
-
export {
|
|
417
|
+
export { Options4, UnavailableError4, RequestError3, NotFoundError9, ProcessNotFoundError2, InvalidCwdError2, Service53, layer20, layerWith2, configured5, node56, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-v5gjxnwy.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-fhbz4jre.js";
|
|
7
7
|
import {
|
|
8
8
|
key3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-azqdag7d.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
ID20,
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-6y22pqa5.js";
|
|
14
14
|
import {
|
|
15
15
|
ID16
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./credential-h5kxrezk.js";
|
|
17
17
|
import {
|
|
18
18
|
ID15,
|
|
19
19
|
Family2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./credential-ep1m3t1v.js";
|
|
21
21
|
import {
|
|
22
22
|
bootstrap2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./credential-yb20nhc3.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service54
|
|
26
|
+
} from "./credential-6vwjxhgq.js";
|
|
27
27
|
import {
|
|
28
28
|
start3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./credential-ea76zaj4.js";
|
|
30
30
|
import {
|
|
31
31
|
activeCredential2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./credential-pcgy6jah.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/digitalocean.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
36
36
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
37
37
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
38
38
|
var providerID = ID16.make("digitalocean");
|
|
39
|
-
var integrationID =
|
|
39
|
+
var integrationID = ID20.make("digitalocean");
|
|
40
40
|
var methodID = MethodID2.make("browser");
|
|
41
41
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
42
42
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -124,7 +124,7 @@ var oauth = {
|
|
|
124
124
|
var DigitalOceanPlugin2 = define({
|
|
125
125
|
id: "opencode.provider.digitalocean",
|
|
126
126
|
effect: Effect.fn(function* (ctx) {
|
|
127
|
-
const cache = yield*
|
|
127
|
+
const cache = yield* Service54;
|
|
128
128
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
129
129
|
const discovered = yield* start3({
|
|
130
130
|
integrationID,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-s47rahr7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node81
|
|
7
|
+
} from "./credential-tswdvt6j.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service17,
|
|
17
|
+
node: () => node20,
|
|
18
18
|
readOptionalText: () => readOptionalText2,
|
|
19
19
|
readText: () => readText2,
|
|
20
20
|
syncTextBom: () => syncTextBom2
|
|
@@ -23,7 +23,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
23
23
|
import { Context, Effect, Layer } from "effect";
|
|
24
24
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
25
25
|
import { Bom } from "@opencode/util/bom";
|
|
26
|
-
class
|
|
26
|
+
class Service17 extends Context.Service()("@opencode/FileMutation") {
|
|
27
27
|
}
|
|
28
28
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
29
29
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -39,8 +39,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
39
39
|
return synced.text;
|
|
40
40
|
});
|
|
41
41
|
var transactionLocks = makeUnsafe2();
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const environment = yield*
|
|
42
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
43
|
+
const environment = yield* Service80;
|
|
44
44
|
const locks = makeUnsafe2();
|
|
45
45
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
46
46
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
62
62
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, bom)));
|
|
63
63
|
return { ...writeResult(input.target, current !== undefined), bom };
|
|
64
64
|
})));
|
|
65
|
-
return
|
|
65
|
+
return Service17.of({ withLock, write, writeTextPreservingBom });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node20 = makeLocationNode({ service: Service17, layer, deps: [node81] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Service17, readText2, readOptionalText2, syncTextBom2, node20, exports_file_mutation };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID9,
|
|
6
|
+
Service49
|
|
7
|
+
} from "./credential-tw9f37sx.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-dtrrxc61.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-a0njj5td.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./credential-mb7mbhnz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-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* Service49;
|
|
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: ID9.make(from),
|
|
91
|
+
to: ID9.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-6537r86n.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-2f5h4exa.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service83,
|
|
15
|
+
node84
|
|
16
|
+
} from "./credential-hw1wavdn.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create4
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./credential-40y6dtc2.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./credential-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,19 +29,19 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info5,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service15,
|
|
36
36
|
Untracked: () => Untracked2,
|
|
37
37
|
Vcs: () => exports_vcs,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node18
|
|
39
39
|
});
|
|
40
40
|
import path from "path";
|
|
41
41
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
42
42
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
43
43
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
44
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
44
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
|
|
45
45
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -55,11 +55,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service15 extends Context.Service()("@opencode/Vcs") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
61
61
|
const fs = yield* FSUtil.Service;
|
|
62
|
-
const location = yield*
|
|
62
|
+
const location = yield* Service83;
|
|
63
63
|
const bus = yield* Service93;
|
|
64
64
|
const root = yield* Effect.scope;
|
|
65
65
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
72
72
|
canonical: location.project.canonical,
|
|
73
73
|
...vcs ? { store: vcs.store } : {}
|
|
74
74
|
};
|
|
75
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
75
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
|
|
76
76
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
77
77
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
78
78
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
130
130
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
131
131
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
132
132
|
}
|
|
133
|
-
return
|
|
133
|
+
return Service15.of({
|
|
134
134
|
transform: state.transform,
|
|
135
135
|
reload: state.reload,
|
|
136
136
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}));
|
|
192
|
-
var
|
|
193
|
-
service:
|
|
192
|
+
var node18 = makeLocationNode({
|
|
193
|
+
service: Service15,
|
|
194
194
|
layer,
|
|
195
|
-
deps: [FSUtil.node,
|
|
195
|
+
deps: [FSUtil.node, node84, node95]
|
|
196
196
|
});
|
|
197
197
|
|
|
198
|
-
export { Base2, BranchList2, FileStatus2,
|
|
198
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, Untracked2, DiffError2, InitializeError2, Service15, node18, exports_vcs };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID16
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-h5kxrezk.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-9be3praa.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialSettings2,
|
|
9
9
|
metadataSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-pcgy6jah.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
13
13
|
import { Effect } from "effect";
|
|
@@ -1,74 +1,74 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-6537r86n.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node78
|
|
8
|
+
} from "./credential-k8atft3w.js";
|
|
9
9
|
import {
|
|
10
10
|
changes2,
|
|
11
11
|
create4
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-40y6dtc2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./credential-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/websearch.ts
|
|
18
18
|
var exports_websearch3 = {};
|
|
19
19
|
__export(exports_websearch3, {
|
|
20
|
-
DisabledError: () =>
|
|
21
|
-
Event: () =>
|
|
22
|
-
ID: () =>
|
|
23
|
-
Input: () =>
|
|
24
|
-
Provider: () =>
|
|
20
|
+
DisabledError: () => DisabledError3,
|
|
21
|
+
Event: () => Event3,
|
|
22
|
+
ID: () => ID6,
|
|
23
|
+
Input: () => Input15,
|
|
24
|
+
Provider: () => Provider2,
|
|
25
25
|
ProviderKey: () => ProviderKey2,
|
|
26
|
-
ProviderNotFoundError: () =>
|
|
26
|
+
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
27
27
|
ProviderRequiredError: () => ProviderRequiredError2,
|
|
28
|
-
RequestError: () =>
|
|
28
|
+
RequestError: () => RequestError2,
|
|
29
29
|
Response: () => Response2,
|
|
30
30
|
Result: () => Result2,
|
|
31
31
|
Selection: () => Selection2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service18,
|
|
33
33
|
WebSearch: () => exports_websearch3,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node21
|
|
35
35
|
});
|
|
36
36
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
37
37
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
38
38
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
39
39
|
import { HttpClientError } from "effect/http";
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
|
-
import { Event as
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
41
|
+
import { Event as Event3 } from "@opencode/schema/websearch";
|
|
42
|
+
var ID6 = WebSearch.ID;
|
|
43
|
+
var Provider2 = WebSearch.Provider;
|
|
44
|
+
var Input15 = WebSearch.Input;
|
|
45
45
|
var Result2 = WebSearch.Result;
|
|
46
46
|
var Response2 = WebSearch.Response;
|
|
47
47
|
var ProviderKey2 = "websearch:provider";
|
|
48
|
-
var Selection2 = Schema.Union([
|
|
48
|
+
var Selection2 = Schema.Union([ID6, Schema.Literal("random"), Schema.Literal(false)]);
|
|
49
49
|
|
|
50
50
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
54
|
-
providerID:
|
|
53
|
+
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
54
|
+
providerID: ID6
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class DisabledError3 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
62
|
-
providerID:
|
|
61
|
+
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
62
|
+
providerID: ID6,
|
|
63
63
|
cause: Schema.Defect()
|
|
64
64
|
}) {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class Service18 extends Context.Service()("@opencode/WebSearch") {
|
|
68
68
|
}
|
|
69
|
-
var layer = Layer.effect(
|
|
69
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
70
70
|
const bus = yield* Service93;
|
|
71
|
-
const kv = yield*
|
|
71
|
+
const kv = yield* Service77;
|
|
72
72
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
73
73
|
const cooldowns = new Map;
|
|
74
74
|
const preferred = new Map;
|
|
@@ -95,7 +95,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
|
|
|
95
95
|
});
|
|
96
96
|
const requireProvider = (providers, providerID) => {
|
|
97
97
|
const provider = providers.get(providerID);
|
|
98
|
-
return provider ? Effect.succeed(provider) : Effect.fail(new
|
|
98
|
+
return provider ? Effect.succeed(provider) : Effect.fail(new ProviderNotFoundError2({ providerID }));
|
|
99
99
|
};
|
|
100
100
|
const selection = Effect.fn("WebSearch.selection")(function* () {
|
|
101
101
|
const data = state.get();
|
|
@@ -124,14 +124,14 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
|
|
|
124
124
|
};
|
|
125
125
|
const defaultProvider = Effect.fn("WebSearch.default")(function* (choice) {
|
|
126
126
|
if (choice === false)
|
|
127
|
-
return yield* new
|
|
127
|
+
return yield* new DisabledError3;
|
|
128
128
|
if (choice === "random") {
|
|
129
129
|
const active = preferred.get(undefined)?.provider;
|
|
130
130
|
return (active === undefined ? undefined : state.get().providers.get(active)) ?? state.get().providers.values().next().value;
|
|
131
131
|
}
|
|
132
132
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service18.of({
|
|
135
135
|
transform: state.transform,
|
|
136
136
|
reload: state.reload,
|
|
137
137
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
|
|
|
165
165
|
if (result._tag === "Success")
|
|
166
166
|
return new Response2({ providerID: provider.id, results: result.success });
|
|
167
167
|
const cause = result.failure;
|
|
168
|
-
const error = new
|
|
168
|
+
const error = new RequestError2({ providerID: provider.id, cause });
|
|
169
169
|
if (choice !== "random" || !HttpClientError.isHttpClientError(cause) || cause.response?.status !== 429)
|
|
170
170
|
return yield* error;
|
|
171
171
|
const now = yield* Clock.currentTimeMillis;
|
|
@@ -188,10 +188,10 @@ function cooldownMillis(value, now) {
|
|
|
188
188
|
const date = Date.parse(value);
|
|
189
189
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
190
190
|
}
|
|
191
|
-
var
|
|
192
|
-
service:
|
|
191
|
+
var node21 = makeLocationNode({
|
|
192
|
+
service: Service18,
|
|
193
193
|
layer,
|
|
194
|
-
deps: [node95,
|
|
194
|
+
deps: [node95, node78]
|
|
195
195
|
});
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { ID6, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError3, RequestError2, Service18, node21, exports_websearch3, Event3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_SEARCH_TIMEOUT_MS2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-6ndwemk5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/search.ts
|
|
12
12
|
var exports_search = {};
|