@opencode/core 0.0.0-dev-443 → 0.0.0-dev-445
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 +90 -90
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +5 -5
- package/dist/artifact.js +236 -236
- package/dist/bus.js +80 -80
- package/dist/chunks/{reference-034tev2y.js → tool-034tev2y.js} +2 -2
- package/dist/chunks/{reference-qqr3eed0.js → tool-04hrbnke.js} +20 -20
- package/dist/chunks/{reference-8xpc3pg5.js → tool-058p9g98.js} +19 -19
- package/dist/chunks/{reference-0j7gp832.js → tool-0j7gp832.js} +1 -1
- package/dist/chunks/{reference-1e1dknnq.js → tool-0m9q59s6.js} +4 -4
- package/dist/chunks/{reference-0ma9gw4f.js → tool-0ma9gw4f.js} +2 -2
- package/dist/chunks/{reference-762r0j46.js → tool-0nde5ztd.js} +5 -5
- package/dist/chunks/{reference-s6nv5rhc.js → tool-0qzsd7h4.js} +12 -12
- package/dist/chunks/{reference-nbjzw6e5.js → tool-0r9rxd8b.js} +32 -32
- package/dist/chunks/{reference-sjk8ggqb.js → tool-0ybp4qnq.js} +7 -7
- package/dist/chunks/{reference-ydsespw1.js → tool-160yv0cs.js} +4 -4
- package/dist/chunks/{reference-1aqsckx4.js → tool-1aqsckx4.js} +1 -1
- package/dist/chunks/{reference-xszv4dxe.js → tool-1e5yc0yj.js} +8 -8
- package/dist/chunks/{reference-1ep2p91f.js → tool-1ep2p91f.js} +2 -2
- package/dist/chunks/{reference-85ns17jv.js → tool-1q4j3vt9.js} +8 -8
- package/dist/chunks/{reference-hhpdvxf0.js → tool-1scpnkam.js} +9 -9
- package/dist/chunks/{reference-e69dyrmv.js → tool-1vcr586d.js} +10 -10
- package/dist/chunks/{reference-xqwqgrp4.js → tool-1wyzen4g.js} +45 -45
- package/dist/chunks/{reference-1x2knyw4.js → tool-1x2knyw4.js} +1 -1
- package/dist/chunks/{reference-n8ad7w9m.js → tool-1yrt9mfc.js} +6 -6
- package/dist/chunks/{reference-wqv5jm8j.js → tool-1z80j9s6.js} +24 -24
- package/dist/chunks/{reference-sw2fh6qq.js → tool-290jyxrn.js} +33 -33
- package/dist/chunks/{reference-jmjrr75j.js → tool-29smdr3c.js} +21 -21
- package/dist/chunks/{reference-4et8yzd5.js → tool-2b08w8wg.js} +7 -7
- package/dist/chunks/{reference-nd6j0hzb.js → tool-2b7p4jrd.js} +3 -3
- package/dist/chunks/{reference-6j9rpd6t.js → tool-2j56ds13.js} +18 -18
- package/dist/chunks/{reference-7ffybbfj.js → tool-2kj7f5bg.js} +4 -4
- package/dist/chunks/{reference-9y33s1fr.js → tool-2m3wp1kk.js} +3 -3
- package/dist/chunks/{reference-2p60zmnr.js → tool-2p60zmnr.js} +2 -2
- package/dist/chunks/tool-2t0varmf.js +26 -0
- package/dist/chunks/{reference-appgrv18.js → tool-2y7n45nv.js} +20 -20
- package/dist/chunks/{reference-6vfywprm.js → tool-37hg9b8g.js} +59 -59
- package/dist/chunks/{reference-744s79v7.js → tool-3etgmwdh.js} +18 -18
- package/dist/chunks/{reference-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-dvgvyyb9.js → tool-3n0w1hcj.js} +8 -8
- package/dist/chunks/{reference-3nnrz6f6.js → tool-3nnrz6f6.js} +1 -1
- package/dist/chunks/{reference-q2zvgtsa.js → tool-3scsgznq.js} +23 -23
- package/dist/chunks/{reference-jvkfy8wk.js → tool-3smz2ab8.js} +28 -28
- package/dist/chunks/{reference-9q8p2g7h.js → tool-3wz7pzfc.js} +6 -6
- package/dist/chunks/{reference-40y6dtc2.js → tool-40y6dtc2.js} +1 -1
- package/dist/chunks/{reference-pq07gx7n.js → tool-447e52ps.js} +349 -349
- package/dist/chunks/{reference-44pmzq9c.js → tool-44pmzq9c.js} +2 -2
- package/dist/chunks/{reference-b1f3npmd.js → tool-4cdp6f63.js} +4 -4
- package/dist/chunks/{reference-hnn9xgjg.js → tool-4dtk0t2m.js} +13 -13
- package/dist/chunks/{reference-4dx1dgte.js → tool-4dx1dgte.js} +1 -1
- package/dist/chunks/{reference-4f25tdd0.js → tool-4f25tdd0.js} +1 -1
- package/dist/chunks/{reference-h9vcpk3m.js → tool-4jd043gh.js} +6 -6
- package/dist/chunks/{reference-4pyp9zr9.js → tool-4pyp9zr9.js} +1 -1
- package/dist/chunks/{reference-4md98zfb.js → tool-4smfr4z1.js} +23 -23
- package/dist/chunks/{reference-4v008n1t.js → tool-4v008n1t.js} +1 -1
- package/dist/chunks/{reference-jjbwns5p.js → tool-4wsaayw1.js} +7 -7
- package/dist/chunks/{reference-epvhatmm.js → tool-4z3kjcpx.js} +10 -10
- package/dist/chunks/{reference-e805zvba.js → tool-52nze26m.js} +41 -41
- package/dist/chunks/{reference-davkmrkt.js → tool-53qxhngr.js} +4 -4
- package/dist/chunks/{reference-wq2vv118.js → tool-555cqe3y.js} +6 -6
- package/dist/chunks/{reference-hgtf1k35.js → tool-57fs3qve.js} +26 -26
- package/dist/chunks/{reference-snfsmn1e.js → tool-5j89vnby.js} +5 -5
- package/dist/chunks/{reference-3xfvn2q6.js → tool-5kexb1yv.js} +52 -52
- package/dist/chunks/{reference-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
- package/dist/chunks/{reference-ymfpy3zb.js → tool-5nzp4atq.js} +12 -12
- package/dist/chunks/{reference-h56sm60v.js → tool-62b0mtf4.js} +11 -11
- package/dist/chunks/{reference-8d7r1mrg.js → tool-65531gnt.js} +18 -18
- package/dist/chunks/{reference-zvnbbcek.js → tool-67xca3db.js} +7 -7
- package/dist/chunks/{reference-g5svysbw.js → tool-68yz8wc5.js} +3 -3
- package/dist/chunks/{reference-hv9tq466.js → tool-6cda7skz.js} +1 -1
- package/dist/chunks/{reference-wtefmtt4.js → tool-6d0d1q6g.js} +4 -4
- package/dist/chunks/{reference-hv13wmdk.js → tool-6m7kkc6m.js} +6 -6
- package/dist/chunks/{reference-emxm75vg.js → tool-6sg7v011.js} +2 -2
- package/dist/chunks/{reference-rqnh3gtk.js → tool-6t99sjh8.js} +22 -22
- package/dist/chunks/{reference-jyqh8e0t.js → tool-6xvz3m61.js} +13 -13
- package/dist/chunks/{reference-47y99arh.js → tool-6ybchgnd.js} +3 -3
- package/dist/chunks/{reference-hhkmsxvd.js → tool-737qxf4j.js} +10 -10
- package/dist/chunks/{reference-ar02kkrs.js → tool-73aa81yw.js} +13 -13
- package/dist/chunks/{reference-15cysddm.js → tool-78xkbf55.js} +15 -15
- package/dist/chunks/{reference-8qxzvxym.js → tool-79sfw1xt.js} +12 -12
- package/dist/chunks/{reference-3dkv7v35.js → tool-7bfv676c.js} +84 -84
- package/dist/chunks/{reference-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-qcheb0c1.js → tool-7cs3xdpe.js} +5 -5
- package/dist/chunks/{reference-yj0bhx0g.js → tool-7gba69t1.js} +6 -6
- package/dist/chunks/{reference-w2c54y1b.js → tool-7hk62ckt.js} +13 -13
- package/dist/chunks/{reference-7kr66rt3.js → tool-7kr66rt3.js} +1 -1
- package/dist/chunks/{reference-0bq3f1dw.js → tool-7mv4edyq.js} +23 -23
- package/dist/chunks/{reference-mcp1ma5s.js → tool-7n98e5dz.js} +1 -1
- package/dist/chunks/{reference-2knv0w72.js → tool-7t3apcn0.js} +12 -12
- package/dist/chunks/{reference-7w2ypzdf.js → tool-7w2ypzdf.js} +1 -1
- package/dist/chunks/{reference-7weczvnd.js → tool-7weczvnd.js} +1 -1
- package/dist/chunks/{reference-5kmv9aa7.js → tool-7wx6r3ca.js} +10 -10
- package/dist/chunks/{reference-bq295cha.js → tool-7zev22rg.js} +4 -4
- package/dist/chunks/{reference-775hqbnd.js → tool-80mg3ag8.js} +3 -3
- package/dist/chunks/{reference-abz40b9j.js → tool-825z9ch3.js} +13 -13
- package/dist/chunks/{reference-5c65mm2p.js → tool-832bdyzy.js} +7 -7
- package/dist/chunks/{reference-qe1net9j.js → tool-83qakqap.js} +35 -35
- package/dist/chunks/{reference-89287pr7.js → tool-89287pr7.js} +1 -1
- package/dist/chunks/{reference-8b3vzgkx.js → tool-8b3vzgkx.js} +1 -1
- package/dist/chunks/{reference-4d2dtj2f.js → tool-8cg7mtm3.js} +4 -4
- package/dist/chunks/{reference-cpe35zww.js → tool-8dfptpqb.js} +4 -4
- package/dist/chunks/{reference-pfjcjygb.js → tool-8etydfns.js} +20 -20
- package/dist/chunks/{reference-c4yfg02y.js → tool-8hfqzg5m.js} +9 -9
- package/dist/chunks/{reference-tn0bswzz.js → tool-8jkte0s5.js} +26 -26
- package/dist/chunks/{reference-3c7qpzd7.js → tool-8n09hdvs.js} +8 -8
- package/dist/chunks/{reference-8wjgamp7.js → tool-8wjgamp7.js} +3 -3
- package/dist/chunks/{reference-8wtp7s3z.js → tool-8wtp7s3z.js} +1 -1
- package/dist/chunks/{reference-qkjgr7xk.js → tool-8zzaerw3.js} +11 -11
- package/dist/chunks/{reference-90zstvax.js → tool-90zstvax.js} +1 -1
- package/dist/chunks/{reference-94s5f2xb.js → tool-94s5f2xb.js} +1 -1
- package/dist/chunks/{reference-dv16mx8y.js → tool-963hk181.js} +7 -7
- package/dist/chunks/{reference-qrjv7ewp.js → tool-9e82rw41.js} +8 -8
- package/dist/chunks/{reference-k6tcbmyt.js → tool-9gf1atxf.js} +43 -43
- package/dist/chunks/{reference-qb19zs7n.js → tool-9pfjt3e4.js} +11 -11
- package/dist/chunks/{reference-sfrgz4br.js → tool-9wy3h6q7.js} +13 -13
- package/dist/chunks/{reference-zmk9j00b.js → tool-9x0zyyhc.js} +45 -45
- package/dist/chunks/{reference-0jsrzebh.js → tool-a1qh0yc6.js} +16 -16
- package/dist/chunks/{reference-wxbz31gk.js → tool-a237czk6.js} +9 -9
- package/dist/chunks/{reference-s2pfznc4.js → tool-a4ww6fpm.js} +6 -6
- package/dist/chunks/{reference-7nqkf5r1.js → tool-a5fx33f2.js} +6 -6
- package/dist/chunks/{reference-nyv79txf.js → tool-a784801j.js} +34 -34
- package/dist/chunks/{reference-sjdkvdpf.js → tool-amcjzf78.js} +17 -17
- package/dist/chunks/{reference-ayjs7tqn.js → tool-ayjs7tqn.js} +2 -2
- package/dist/chunks/{reference-056ztwq1.js → tool-ayrp2r0n.js} +22 -22
- package/dist/chunks/{reference-qftvcexj.js → tool-b1wr2abc.js} +20 -20
- package/dist/chunks/{reference-0rs9y64j.js → tool-b4st0wny.js} +47 -47
- package/dist/chunks/{reference-83ngvp4t.js → tool-b64wsfyg.js} +8 -8
- package/dist/chunks/{reference-b6vsg801.js → tool-b6vsg801.js} +2 -2
- package/dist/chunks/{reference-v5ckev1x.js → tool-b7tb94b1.js} +29 -29
- package/dist/chunks/{reference-ke0ypgcr.js → tool-bcqqg7ry.js} +6 -6
- package/dist/chunks/{reference-ngc16xap.js → tool-bgd4zz6g.js} +15 -15
- package/dist/chunks/{reference-jkdcm5hg.js → tool-bhfd478d.js} +4 -4
- package/dist/chunks/{reference-ja6fgs3m.js → tool-bs9sdagx.js} +31 -31
- package/dist/chunks/{reference-8w0nqmj1.js → tool-bsek2bbw.js} +5 -5
- package/dist/chunks/{reference-y3a5ah7e.js → tool-bsfkzme1.js} +9 -9
- package/dist/chunks/{reference-bstexjd6.js → tool-bstexjd6.js} +1 -1
- package/dist/chunks/{reference-1h4css5a.js → tool-c291rzpy.js} +15 -15
- package/dist/chunks/{reference-c32zfq3f.js → tool-c32zfq3f.js} +1 -1
- package/dist/chunks/{reference-5max24n7.js → tool-cbs4h58g.js} +27 -27
- package/dist/chunks/{reference-8cdt6zae.js → tool-ckykdpc8.js} +50 -50
- package/dist/chunks/{reference-6jr8r875.js → tool-cr2zpvyx.js} +76 -76
- package/dist/chunks/{reference-3bj795wp.js → tool-cv5az1t0.js} +23 -23
- package/dist/chunks/{reference-wrwda9bc.js → tool-cvtbhvpz.js} +28 -28
- package/dist/chunks/{reference-cwrgdav8.js → tool-cwrgdav8.js} +2 -2
- package/dist/chunks/{reference-d4v9tmah.js → tool-d4v9tmah.js} +2 -2
- package/dist/chunks/{reference-k53asr8d.js → tool-d80yaymc.js} +4 -4
- package/dist/chunks/{reference-yr5ba2wg.js → tool-db7wnpf4.js} +14 -14
- package/dist/chunks/{reference-690h68aj.js → tool-dbfaamx1.js} +12 -12
- package/dist/chunks/{reference-7stb81gk.js → tool-dbht28n9.js} +10 -13
- package/dist/chunks/{reference-pb91tgv1.js → tool-dbvhy92c.js} +28 -28
- package/dist/chunks/{reference-hfm9d8t7.js → tool-dcwp1qph.js} +26 -26
- package/dist/chunks/{reference-bpedy5vf.js → tool-dkwky0e9.js} +1 -1
- package/dist/chunks/{reference-pevmb6n5.js → tool-ds7k7p4f.js} +48 -48
- package/dist/chunks/{reference-dt77769w.js → tool-dt77769w.js} +1 -1
- package/dist/chunks/{reference-7fsbddzy.js → tool-dxsywhez.js} +8 -8
- package/dist/chunks/{reference-qvd7qgmr.js → tool-e354rcns.js} +10 -10
- package/dist/chunks/{reference-gazw5geb.js → tool-e6dhz8k8.js} +2 -2
- package/dist/chunks/{reference-e834z07m.js → tool-e834z07m.js} +1 -1
- package/dist/chunks/{reference-j7nebjx0.js → tool-eavck919.js} +6 -6
- package/dist/chunks/{reference-pc1p51sf.js → tool-ejk6sxm0.js} +13 -13
- package/dist/chunks/{reference-eqw4pqj1.js → tool-eqw4pqj1.js} +2 -2
- package/dist/chunks/{reference-6yq0h38y.js → tool-erqa4ym4.js} +17 -17
- package/dist/chunks/{reference-vy7yczpp.js → tool-eyjfkt33.js} +15 -15
- package/dist/chunks/tool-ezna1kdx.js +18 -0
- package/dist/chunks/{reference-k8vythrt.js → tool-fb609nat.js} +26 -26
- package/dist/chunks/{reference-1q0mweb2.js → tool-fbywdd3x.js} +24 -24
- package/dist/chunks/{reference-e51gjym8.js → tool-fdjq7h4v.js} +9 -9
- package/dist/chunks/{reference-gv67ntjp.js → tool-ff0yba6y.js} +4 -4
- package/dist/chunks/{reference-fffv3p7h.js → tool-fffv3p7h.js} +1 -1
- package/dist/chunks/{reference-2a7d31jd.js → tool-ffmpd7vv.js} +5 -5
- package/dist/chunks/{reference-prq7xxp2.js → tool-fg9p65nk.js} +6 -6
- package/dist/chunks/{reference-1gx3s6kq.js → tool-fmrn1hft.js} +3 -3
- package/dist/chunks/{reference-e45fk36t.js → tool-fwp9mfc9.js} +4 -4
- package/dist/chunks/{reference-5yz02wa3.js → tool-g1j6mga3.js} +26 -26
- package/dist/chunks/{reference-w60f7fcc.js → tool-g2b8th34.js} +21 -21
- package/dist/chunks/{reference-d390zwf3.js → tool-g6axq7c8.js} +8 -8
- package/dist/chunks/{reference-1e4253h0.js → tool-g8088phe.js} +11 -11
- package/dist/chunks/{reference-yc54tpkz.js → tool-g8v7jdav.js} +4 -4
- package/dist/chunks/{reference-gbjdnr5j.js → tool-gbjdnr5j.js} +2 -2
- package/dist/chunks/{reference-6mnqmw21.js → tool-gp2v4fwm.js} +37 -37
- package/dist/chunks/{reference-6v2d75bq.js → tool-gt5pd5rr.js} +6 -6
- package/dist/chunks/{reference-xaa14kzp.js → tool-h0sr4r5j.js} +9 -9
- package/dist/chunks/{reference-qhnjevdm.js → tool-h34azzt3.js} +15 -15
- package/dist/chunks/{reference-1k11dnhy.js → tool-h4ydtgpm.js} +32 -32
- package/dist/chunks/{reference-4jr01p1g.js → tool-h6p8j4j4.js} +22 -22
- package/dist/chunks/{reference-aej1ke2g.js → tool-h7ggae4k.js} +7 -7
- package/dist/chunks/{reference-vpk1fvq3.js → tool-hdssvm4n.js} +11 -11
- package/dist/chunks/{reference-c3jamc6s.js → tool-hhfn9b2w.js} +11 -11
- package/dist/chunks/{reference-hpg1pkwy.js → tool-hpg1pkwy.js} +1 -1
- package/dist/chunks/{reference-v2eyy4tw.js → tool-htk595z3.js} +22 -22
- package/dist/chunks/{reference-xnxbtbwt.js → tool-jpb17t0e.js} +17 -17
- package/dist/chunks/{reference-jtnps1zs.js → tool-jtnps1zs.js} +2 -2
- package/dist/chunks/{reference-4rgve0ee.js → tool-jzx7em37.js} +17 -17
- package/dist/chunks/{reference-9h3gvard.js → tool-k0epm85s.js} +7 -7
- package/dist/chunks/{reference-khz3fjx7.js → tool-k3mdht1r.js} +14 -14
- package/dist/chunks/{reference-q3qhbnrq.js → tool-k5027ak4.js} +8 -8
- package/dist/chunks/{reference-kp6ae2pe.js → tool-kenm8tf1.js} +7 -7
- package/dist/chunks/{reference-1ke7tmvv.js → tool-kfs9y5dj.js} +17 -17
- package/dist/chunks/{reference-kt3bjfbg.js → tool-kt3bjfbg.js} +1 -1
- package/dist/chunks/{reference-bqj2yrcm.js → tool-kynaxm5r.js} +81 -81
- package/dist/chunks/{reference-kzczzf4v.js → tool-kzczzf4v.js} +1 -1
- package/dist/chunks/{reference-m1714858.js → tool-m1714858.js} +1 -1
- package/dist/chunks/{reference-btb6x883.js → tool-m45z9njj.js} +34 -34
- package/dist/chunks/{reference-5jprqqys.js → tool-m4h69yn9.js} +6 -6
- package/dist/chunks/{reference-dq29gc8k.js → tool-m58h2mss.js} +22 -22
- package/dist/chunks/{reference-pjc9r9mm.js → tool-m5db3969.js} +8 -8
- package/dist/chunks/{reference-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-mb7mbhnz.js → tool-mb7mbhnz.js} +3 -3
- package/dist/chunks/{reference-jcb3g1m8.js → tool-mfmx1eew.js} +4 -4
- package/dist/chunks/{reference-s6f7yc92.js → tool-mn5c993e.js} +11 -11
- package/dist/chunks/{reference-msd2a3qm.js → tool-msd2a3qm.js} +4 -4
- package/dist/chunks/{reference-d1zb90rk.js → tool-mtbbaj7x.js} +6 -6
- package/dist/chunks/{reference-n0vt53f7.js → tool-mxqsamga.js} +21 -21
- package/dist/chunks/{reference-s0a6rh8z.js → tool-n0jb8c2e.js} +43 -43
- package/dist/chunks/{reference-t95ysx1g.js → tool-n6dz78md.js} +6 -6
- package/dist/chunks/{reference-dqfznqe2.js → tool-n9y93s8c.js} +9 -9
- package/dist/chunks/{reference-pyxh1jtg.js → tool-nn1wv3tr.js} +30 -30
- package/dist/chunks/{reference-kj9n5bvh.js → tool-nr915jn7.js} +4 -4
- package/dist/chunks/{reference-jf43mb4q.js → tool-p55ejza0.js} +5 -5
- package/dist/chunks/{reference-p7vhpwh8.js → tool-p7vhpwh8.js} +1 -1
- package/dist/chunks/{reference-q96vm3a1.js → tool-pdjdgfy6.js} +22 -22
- package/dist/chunks/{reference-0z5y4ft2.js → tool-pe5efk4e.js} +21 -21
- package/dist/chunks/{reference-gqtc81fs.js → tool-pehkm274.js} +17 -17
- package/dist/chunks/{reference-861wn8d2.js → tool-pgdk3wa7.js} +2 -2
- package/dist/chunks/{reference-qv63ttqj.js → tool-pjgv8mag.js} +12 -12
- package/dist/chunks/{reference-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{reference-sbwr8wkm.js → tool-pqg96c18.js} +17 -17
- package/dist/chunks/{reference-tts2jvj6.js → tool-psae579h.js} +3 -3
- package/dist/chunks/{reference-n0m3yc73.js → tool-q23ydmn6.js} +15 -15
- package/dist/chunks/{reference-fa4k8m6e.js → tool-q5kjt1w2.js} +37 -37
- package/dist/chunks/{reference-1adc86m8.js → tool-q8f5p1vv.js} +9 -9
- package/dist/chunks/{reference-9m05rbrv.js → tool-q9v326zp.js} +7 -7
- package/dist/chunks/{reference-sw1xk73j.js → tool-qbcc8k40.js} +27 -27
- package/dist/chunks/{reference-8n40800e.js → tool-qgv65c24.js} +8 -8
- package/dist/chunks/{reference-1ybhq5nm.js → tool-qhnnvwnt.js} +2 -2
- package/dist/chunks/{reference-nwje9g86.js → tool-qj97zj8m.js} +6 -6
- package/dist/chunks/{reference-6edbc7zm.js → tool-qk5sk9d1.js} +5 -5
- package/dist/chunks/{reference-b6ks1ev6.js → tool-qmre421v.js} +40 -40
- package/dist/chunks/{reference-qp7r0hxv.js → tool-qp7r0hxv.js} +1 -1
- package/dist/chunks/{reference-qqvy8y24.js → tool-qqvy8y24.js} +1 -1
- package/dist/chunks/{reference-z7g1ntke.js → tool-qrct5xj0.js} +5 -5
- package/dist/chunks/{reference-k3cx6fhe.js → tool-qsdghx1p.js} +4 -4
- package/dist/chunks/{reference-jdwv9wew.js → tool-r0dnx8s7.js} +7 -7
- package/dist/chunks/{reference-w2eysc6j.js → tool-r41sfy63.js} +6 -6
- package/dist/chunks/{reference-rb9dy4dg.js → tool-rb9dy4dg.js} +1 -1
- package/dist/chunks/{reference-y93sts95.js → tool-rbt3gx7m.js} +27 -27
- package/dist/chunks/{reference-zhpfnbp3.js → tool-rc7cmy01.js} +11 -11
- package/dist/chunks/{reference-pwchwzj6.js → tool-re139r5f.js} +19 -19
- package/dist/chunks/{reference-6yyhgwbs.js → tool-rhtjkvex.js} +6 -6
- package/dist/chunks/{reference-c5zvymhv.js → tool-rj7j5fvs.js} +4 -4
- package/dist/chunks/tool-rks6qm78.js +261 -0
- package/dist/chunks/{reference-hbyv04zf.js → tool-rn9y9nwd.js} +21 -21
- package/dist/chunks/{reference-8cw29sdh.js → tool-rsb624gb.js} +11 -11
- package/dist/chunks/{reference-rt5dr6hb.js → tool-rt5dr6hb.js} +1 -1
- package/dist/chunks/{reference-rz6n9wws.js → tool-s780xm4q.js} +11 -11
- package/dist/chunks/{reference-zs13vp9t.js → tool-s79dcpfj.js} +27 -27
- package/dist/chunks/{reference-sa3fpqfw.js → tool-sa3fpqfw.js} +2 -2
- package/dist/chunks/{reference-sbya78hr.js → tool-sbya78hr.js} +1 -1
- package/dist/chunks/{reference-sbz71ybr.js → tool-sbz71ybr.js} +1 -1
- package/dist/chunks/{reference-rd1s9py2.js → tool-sg3kcgds.js} +31 -31
- package/dist/chunks/{reference-1vbrkdbs.js → tool-sv909n4y.js} +3 -3
- package/dist/chunks/{reference-svcy3p9a.js → tool-svcy3p9a.js} +1 -1
- package/dist/chunks/{reference-qef1pbbz.js → tool-sxbmj56q.js} +9 -9
- package/dist/chunks/{reference-szwm4crx.js → tool-szwm4crx.js} +4 -4
- package/dist/chunks/{reference-p7znwjnf.js → tool-t5fyb1pe.js} +16 -16
- package/dist/chunks/{reference-jb50ydk6.js → tool-t7ymes5c.js} +26 -26
- package/dist/chunks/{reference-99k7drdz.js → tool-t885gawg.js} +3 -3
- package/dist/chunks/{reference-78p2h4ex.js → tool-t8erkws8.js} +5 -5
- package/dist/chunks/{reference-0bacybsm.js → tool-t8ndxv1j.js} +15 -15
- package/dist/chunks/{reference-26wfx3k0.js → tool-tb2mrvc9.js} +4 -4
- package/dist/chunks/{reference-fv6e3vpa.js → tool-tbw8x9kh.js} +36 -36
- package/dist/chunks/{reference-tczq8hjw.js → tool-tczq8hjw.js} +1 -1
- package/dist/chunks/{reference-2gs6tz3z.js → tool-te79g26x.js} +16 -16
- package/dist/chunks/{reference-tg7s7b5t.js → tool-tg7s7b5t.js} +1 -1
- package/dist/chunks/{reference-y4089kv6.js → tool-tkq69f88.js} +9 -9
- package/dist/chunks/{reference-v5k6a3yj.js → tool-tp9ny8ts.js} +16 -16
- package/dist/chunks/{reference-tr8x705m.js → tool-tr8x705m.js} +1 -1
- package/dist/chunks/{reference-bvrc3dy0.js → tool-tv3k6abg.js} +25 -25
- package/dist/chunks/{reference-twssxy5n.js → tool-twssxy5n.js} +2 -2
- package/dist/chunks/{reference-2kg89srt.js → tool-v0t96s7a.js} +4 -4
- package/dist/chunks/{reference-rfq7pfcf.js → tool-v15137jy.js} +19 -19
- package/dist/chunks/{reference-v2r1d0zg.js → tool-v2r1d0zg.js} +1 -1
- package/dist/chunks/{reference-613jk0tz.js → tool-v37bc009.js} +3 -3
- package/dist/chunks/{reference-xpczpa7n.js → tool-v4ecg2k6.js} +9 -9
- package/dist/chunks/{reference-m2737jxk.js → tool-v7cge4gd.js} +7 -7
- package/dist/chunks/{reference-vjf35v1f.js → tool-vjf35v1f.js} +1 -1
- package/dist/chunks/{reference-98z24gk8.js → tool-vkh42pcj.js} +28 -28
- package/dist/chunks/{reference-bgm817xr.js → tool-vrcsa8qx.js} +9 -9
- package/dist/chunks/{reference-4g3sdj5g.js → tool-vt4r9rmy.js} +9 -9
- package/dist/chunks/{reference-apmn1ywx.js → tool-vv55e3d6.js} +19 -19
- package/dist/chunks/{reference-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-fx6mby0j.js → tool-w5v2pv5a.js} +6 -6
- package/dist/chunks/{reference-76cb1hcw.js → tool-w8qtt4th.js} +4 -4
- package/dist/chunks/{reference-wakvkjy4.js → tool-wakvkjy4.js} +1 -1
- package/dist/chunks/{reference-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{reference-wegkxhrn.js → tool-wegkxhrn.js} +2 -2
- package/dist/chunks/{reference-h0f258xj.js → tool-wfd7zevv.js} +13 -13
- package/dist/chunks/{reference-wfs84ra6.js → tool-wfs84ra6.js} +1 -1
- package/dist/chunks/{reference-1ab3ncc6.js → tool-wgbdfxvd.js} +2 -2
- package/dist/chunks/{reference-v0ycc7z4.js → tool-wjet1gt7.js} +21 -21
- package/dist/chunks/{reference-04k7bb1m.js → tool-wjmtt3sa.js} +12 -12
- package/dist/chunks/{reference-wnhgecwx.js → tool-wnhgecwx.js} +1 -1
- package/dist/chunks/{reference-w687dnns.js → tool-wr3re1en.js} +4 -4
- package/dist/chunks/{reference-wvr8xscb.js → tool-wvr8xscb.js} +1 -1
- package/dist/chunks/{reference-95sp4hdf.js → tool-wws03c5r.js} +4 -4
- package/dist/chunks/{reference-xtyf3e7d.js → tool-x7z34gyb.js} +15 -15
- package/dist/chunks/{reference-b28mnwwt.js → tool-xbc6qp68.js} +6 -6
- package/dist/chunks/{reference-nftry5qd.js → tool-xct3fz6j.js} +23 -23
- package/dist/chunks/{reference-c2gfmzbs.js → tool-xhhsv7mw.js} +16 -16
- package/dist/chunks/{reference-wx32wxjt.js → tool-xkgdstsx.js} +9 -9
- package/dist/chunks/{reference-xksw6ev0.js → tool-xksw6ev0.js} +1 -1
- package/dist/chunks/{reference-0bas93te.js → tool-xy2adanr.js} +11 -11
- package/dist/chunks/{reference-ed1zzhtr.js → tool-xywpwjrw.js} +17 -17
- package/dist/chunks/{reference-q38xb3pe.js → tool-y5dj6wdq.js} +35 -35
- package/dist/chunks/{reference-6ss92qkm.js → tool-y6vvtwtt.js} +26 -26
- package/dist/chunks/{reference-yb20nhc3.js → tool-yb20nhc3.js} +1 -1
- package/dist/chunks/{reference-tcvaazz4.js → tool-yh6977xb.js} +3 -3
- package/dist/chunks/{reference-b026y7h9.js → tool-yn59mty3.js} +32 -32
- package/dist/chunks/{reference-tfafkvnn.js → tool-yp73enjn.js} +5 -5
- package/dist/chunks/{reference-e8ng32yk.js → tool-ypsgcf07.js} +46 -46
- package/dist/chunks/{reference-yr705xyq.js → tool-yr705xyq.js} +1 -1
- package/dist/chunks/{reference-yvtc2x31.js → tool-yvtc2x31.js} +1 -1
- package/dist/chunks/{reference-zw6d6ftc.js → tool-ywh3xphk.js} +4 -4
- package/dist/chunks/{reference-2xrh48d4.js → tool-yx0pjcef.js} +35 -35
- package/dist/chunks/{reference-aa0c8pw4.js → tool-z075a5s0.js} +31 -31
- package/dist/chunks/{reference-38aws4xb.js → tool-z080rjh6.js} +4 -4
- package/dist/chunks/{reference-x27095e6.js → tool-z4jb0rsa.js} +12 -12
- package/dist/chunks/{reference-5mt85ktg.js → tool-z5rxwr3j.js} +5 -5
- package/dist/chunks/{reference-7jen3kst.js → tool-z88rdk3t.js} +9 -9
- package/dist/chunks/{reference-94shd7jv.js → tool-zb6s5z6p.js} +12 -12
- package/dist/chunks/{reference-h8jkwx0d.js → tool-zc0xxg4w.js} +17 -17
- package/dist/chunks/{reference-zjzjvjzc.js → tool-zcacabc5.js} +25 -25
- package/dist/chunks/{reference-j9nxzz3g.js → tool-ze75qvmd.js} +3 -3
- package/dist/chunks/{reference-hrmp8gd9.js → tool-zf1j68yb.js} +149 -149
- package/dist/chunks/{reference-zm27gg57.js → tool-zm27gg57.js} +2 -2
- package/dist/chunks/{reference-w05gf8dg.js → tool-zp1akbf2.js} +22 -22
- package/dist/chunks/{reference-swm5scyq.js → tool-zr0ks51n.js} +36 -36
- package/dist/chunks/{reference-zf34d4p5.js → tool-zzm7r7mg.js} +14 -14
- package/dist/chunks/{reference-8ycaw6fb.js → tool-zztbgrz9.js} +7 -7
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +97 -97
- 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 +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- 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 +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -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/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.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 +430 -430
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +106 -106
- 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 +156 -156
- package/dist/file-mutation.js +107 -107
- package/dist/file-retention.js +1 -1
- 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 +245 -245
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +115 -115
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +96 -96
- package/dist/generate.js +116 -116
- 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 +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +421 -421
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +96 -96
- package/dist/job/sql.js +2 -2
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +176 -176
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +155 -155
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- 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 +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +397 -397
- 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 +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +130 -130
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +143 -143
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- 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 +110 -110
- 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 +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 +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- 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 +137 -137
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +132 -132
- package/dist/plugin/provider/opencode.js +132 -132
- 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 +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +409 -409
- 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 +128 -128
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +243 -243
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +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 +108 -108
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +198 -198
- 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 +239 -239
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +198 -198
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +147 -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 +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- 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 +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +237 -237
- package/dist/session/usage.js +1 -1
- package/dist/session.js +231 -231
- package/dist/shared-cache.js +1 -1
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +156 -156
- package/dist/snapshot.js +104 -104
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +178 -178
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +162 -162
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +237 -237
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +167 -167
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +233 -233
- package/dist/tool/plugin/skill.js +147 -147
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +160 -160
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -159
- package/dist/usage-limits.js +98 -98
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +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 +1 -1
- 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 +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- 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 +9 -9
- 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/reference-4p82ra0x.js +0 -261
- package/dist/chunks/reference-8x060fmy.js +0 -18
- package/dist/chunks/reference-fske6sts.js +0 -26
- /package/dist/chunks/{reference-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kah00gy.js → tool-1kah00gy.js} +0 -0
- /package/dist/chunks/{reference-1pevy3nx.js → tool-1pevy3nx.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2bv980vf.js → tool-2bv980vf.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4qk9sjk2.js → tool-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-5w3e23ze.js → tool-5w3e23ze.js} +0 -0
- /package/dist/chunks/{reference-6agm2x70.js → tool-6agm2x70.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-84wd9syh.js → tool-84wd9syh.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-beh6qq61.js → tool-beh6qq61.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cqv5kn06.js → tool-cqv5kn06.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ean2d8b5.js → tool-ean2d8b5.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fkpq3x5p.js → tool-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jwr30sdr.js → tool-jwr30sdr.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-m18g726c.js → tool-m18g726c.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-nh4v3znn.js → tool-nh4v3znn.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-p71gwv9c.js → tool-p71gwv9c.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-syrav9an.js → tool-syrav9an.js} +0 -0
- /package/dist/chunks/{reference-t03h4f5z.js → tool-t03h4f5z.js} +0 -0
- /package/dist/chunks/{reference-ty7weeps.js → tool-ty7weeps.js} +0 -0
- /package/dist/chunks/{reference-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
- /package/dist/chunks/{reference-vtarvj67.js → tool-vtarvj67.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-6ybchgnd.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-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: () => Service80,
|
|
17
|
+
node: () => node83
|
|
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 Service80 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service90).db;
|
|
26
|
-
return
|
|
26
|
+
return Service80.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 node83 = makeGlobalNode({ service: Service80, layer, deps: [node93] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service80, node83, exports_kv };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-pjgv8mag.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/ollama.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
|
|
|
34
34
|
model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
|
|
35
35
|
});
|
|
36
36
|
var shows = new Map;
|
|
37
|
-
var
|
|
37
|
+
var make15 = createLocalProviderPlugin2({
|
|
38
38
|
id: "opencode.provider.ollama",
|
|
39
39
|
providerID: "ollama",
|
|
40
40
|
name: "Ollama",
|
|
@@ -67,6 +67,6 @@ var make16 = createLocalProviderPlugin2({
|
|
|
67
67
|
context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var OllamaPlugin2 =
|
|
70
|
+
var OllamaPlugin2 = make15();
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { make15, OllamaPlugin2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
content3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-sbya78hr.js";
|
|
4
4
|
import {
|
|
5
5
|
groups2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-vjf35v1f.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/sync/catch-up.ts
|
|
12
12
|
var exports_catch_up = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service44,
|
|
3
|
+
node46
|
|
4
|
+
} from "./tool-a4ww6fpm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Service50,
|
|
7
|
+
node52,
|
|
8
8
|
canonical3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-n9y93s8c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service18
|
|
12
|
+
} from "./tool-290jyxrn.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-rks6qm78.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option, Scope } from "effect";
|
|
19
19
|
var HELD_WARNING_AFTER = "30 seconds";
|
|
20
20
|
function buildLocationServiceMap2(replacements = []) {
|
|
21
|
-
return Layer.effect(
|
|
21
|
+
return Layer.effect(Service50, Effect.gen(function* () {
|
|
22
22
|
const owner = yield* Effect.scope;
|
|
23
23
|
const builds = MutableHashMap.empty();
|
|
24
24
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
const finish = Effect.suspend(() => {
|
|
29
29
|
if (Exit.isSuccess(exit)) {
|
|
30
30
|
return Effect.gen(function* () {
|
|
31
|
-
const lifecycle = Context.get(exit.value,
|
|
31
|
+
const lifecycle = Context.get(exit.value, Service18);
|
|
32
32
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
33
33
|
return yield* lifecycle.shutdown;
|
|
34
34
|
build.close = lifecycle.shutdown;
|
|
@@ -65,11 +65,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
65
65
|
}).pipe(Effect.uninterruptible)
|
|
66
66
|
};
|
|
67
67
|
const bindings = [
|
|
68
|
-
|
|
68
|
+
node46.replace(Layer.succeed(Service44, {
|
|
69
69
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
70
70
|
})),
|
|
71
71
|
...replacements,
|
|
72
|
-
|
|
72
|
+
node52.replace(Layer.succeed(Service50, map))
|
|
73
73
|
];
|
|
74
74
|
return map;
|
|
75
75
|
}));
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-wws03c5r.js";
|
|
4
4
|
import {
|
|
5
5
|
ID17,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service82
|
|
7
|
+
} from "./tool-fb609nat.js";
|
|
8
8
|
import {
|
|
9
9
|
load5,
|
|
10
10
|
derive3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-gt5pd5rr.js";
|
|
12
12
|
import {
|
|
13
13
|
Service14,
|
|
14
14
|
fingerprint2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-c32zfq3f.js";
|
|
16
16
|
import {
|
|
17
17
|
start3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-zztbgrz9.js";
|
|
19
19
|
|
|
20
20
|
// src/plugin/provider/modal.ts
|
|
21
21
|
import { Effect } from "effect";
|
|
@@ -25,7 +25,7 @@ var providerID = ID17.make("modal");
|
|
|
25
25
|
var ModalPlugin2 = define({
|
|
26
26
|
id: "opencode.provider.modal",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const providers = yield*
|
|
28
|
+
const providers = yield* Service82;
|
|
29
29
|
const cache = yield* Service14;
|
|
30
30
|
const http = yield* HttpClient.HttpClient;
|
|
31
31
|
const discovered = yield* start3({
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service86
|
|
9
|
+
} from "./tool-tp9ny8ts.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service74
|
|
12
|
+
} from "./tool-1z80j9s6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service73
|
|
15
|
+
} from "./tool-db7wnpf4.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-nn1wv3tr.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service62
|
|
24
|
+
} from "./tool-1wyzen4g.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service56
|
|
27
|
+
} from "./tool-tv3k6abg.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input2,
|
|
37
|
+
Output: () => Output2,
|
|
38
|
+
Plugin: () => Plugin3,
|
|
39
|
+
name: () => name2,
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name2 = "glob";
|
|
46
|
+
var Input2 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input8 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output2 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin3 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service74;
|
|
70
|
+
const ripgrep = yield* Service73;
|
|
71
|
+
const location = yield* Service86;
|
|
72
|
+
const access = yield* Service56;
|
|
73
|
+
const permission = yield* Service62;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name2,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input2,
|
|
79
|
+
output: Output2,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name2,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin8 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name2, Input2, Output2, toModelContent2, Plugin3, exports_glob };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make34,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make34 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make34, exports_keyed_mutex };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/goal.ts
|
|
6
6
|
var exports_goal = {};
|
|
@@ -9,7 +9,7 @@ __export(exports_goal, {
|
|
|
9
9
|
MAX_OBJECTIVE: () => MAX_OBJECTIVE2,
|
|
10
10
|
MAX_ROUNDS: () => MAX_ROUNDS2,
|
|
11
11
|
MAX_STALLS: () => MAX_STALLS2,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin34,
|
|
13
13
|
WAIT_LIMIT: () => WAIT_LIMIT2
|
|
14
14
|
});
|
|
15
15
|
import { isContextOverflowFailure, Message } from "@opencode/ai/effect";
|
|
@@ -102,7 +102,7 @@ var Verdict = Schema.Struct({
|
|
|
102
102
|
});
|
|
103
103
|
var decodeVerdict = Schema.decodeUnknownOption(Schema.fromJsonString(Verdict));
|
|
104
104
|
var USAGE = "Usage: /goal <objective> | pause | resume | clear";
|
|
105
|
-
var
|
|
105
|
+
var Plugin34 = define({
|
|
106
106
|
id: "opencode.goal",
|
|
107
107
|
effect: Effect.fn(function* (ctx) {
|
|
108
108
|
const read = Effect.fn("GoalPlugin.read")(function* (sessionID) {
|
|
@@ -407,4 +407,4 @@ function escape(text) {
|
|
|
407
407
|
return text.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">");
|
|
408
408
|
}
|
|
409
409
|
|
|
410
|
-
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2,
|
|
410
|
+
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin34, exports_goal };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service89,
|
|
4
4
|
node92
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-ff0yba6y.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node83
|
|
9
|
+
} from "./tool-7wx6r3ca.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event12,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service69,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node70,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service69 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event12 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var requestTimeout = "15 seconds";
|
|
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
57
57
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
58
58
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
61
61
|
const manifest = yield* inspect2(input.origin);
|
|
62
62
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
63
63
|
});
|
|
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
|
|
|
79
79
|
var manifestKey = (origin) => `wellknown:manifest:${origin}`;
|
|
80
80
|
var configKey = (origin) => `wellknown:config:${origin}`;
|
|
81
81
|
var Configs = Schema.Array(Config2);
|
|
82
|
-
var layer = Layer.effect(
|
|
82
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
|
-
const kv = yield*
|
|
84
|
+
const kv = yield* Service80;
|
|
85
85
|
const bus = yield* Service89;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
113
113
|
if (!changed)
|
|
114
114
|
return false;
|
|
115
115
|
yield* Ref.set(cache, next);
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event12.Updated, {}, { global: true });
|
|
117
117
|
return true;
|
|
118
118
|
}, (effect) => lock.withPermit(effect));
|
|
119
|
-
return
|
|
119
|
+
return Service69.of({
|
|
120
120
|
entries: load,
|
|
121
121
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
122
122
|
refresh,
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
129
129
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
130
130
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
131
131
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
132
|
-
yield* bus.publish(
|
|
132
|
+
yield* bus.publish(Event12.Updated, {}, { global: true });
|
|
133
133
|
return entry;
|
|
134
134
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
135
135
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
144
144
|
next.delete(origin);
|
|
145
145
|
return next;
|
|
146
146
|
});
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event12.Updated, {}, { global: true });
|
|
148
148
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
149
149
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
150
150
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
157
157
|
})
|
|
158
158
|
});
|
|
159
159
|
}));
|
|
160
|
-
var
|
|
160
|
+
var node70 = makeGlobalNode({ service: Service69, layer, deps: [httpClient, node83, node92] });
|
|
161
161
|
|
|
162
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
162
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service69, Event12, inspect2, resolve3, node70, exports_wellknown };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_OPTION2,
|
|
3
3
|
INSTRUCTIONS_OPTION2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-nr915jn7.js";
|
|
5
5
|
import {
|
|
6
6
|
ID3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-q8f5p1vv.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/claude-agent/instructions.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ClaudeInstructions: () =>
|
|
16
|
-
register: () =>
|
|
13
|
+
var exports_instructions2 = {};
|
|
14
|
+
__export(exports_instructions2, {
|
|
15
|
+
ClaudeInstructions: () => exports_instructions2,
|
|
16
|
+
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { Effect, Option, Schema } from "effect";
|
|
19
19
|
var KINDS = ["context", "generate", "compaction"];
|
|
@@ -23,7 +23,7 @@ var InstructionsMetadata = Schema.Struct({
|
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
var SUPPLIED_BY_CLAUDE = new Set(["core/date", "core/environment"]);
|
|
26
|
-
var
|
|
26
|
+
var register2 = Effect.fn("ClaudeInstructions.register")(function* (ctx) {
|
|
27
27
|
yield* Effect.forEach(KINDS, (kind) => ctx.session.hook(kind, (event) => Effect.gen(function* () {
|
|
28
28
|
const agent = yield* ctx.agent.get({ agentID: event.agent }).pipe(Effect.orDie);
|
|
29
29
|
event.options[AGENT_OPTION2] = agent.data.system ?? "";
|
|
@@ -49,4 +49,4 @@ function instructions(system) {
|
|
|
49
49
|
`);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export {
|
|
52
|
+
export { register2, exports_instructions2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-6ybchgnd.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service89,
|
|
8
8
|
node92
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-ff0yba6y.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-0ma9gw4f.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-v4ecg2k6.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service63,
|
|
21
|
+
node64
|
|
22
|
+
} from "./tool-7t3apcn0.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service28,
|
|
25
|
+
node32
|
|
26
|
+
} from "./tool-kynaxm5r.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-4f25tdd0.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service2,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer3,
|
|
42
|
+
node: () => node3
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
|
|
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service2 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var messagePrompt = (text) => `Here is the first message of the conversation:
|
|
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
72
72
|
title: session.title,
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
76
76
|
const bus = yield* Service89;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
78
|
+
const context = yield* Service28;
|
|
79
|
+
const store = yield* Service63;
|
|
80
80
|
const db = (yield* Service90).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
@@ -160,12 +160,12 @@ Recent conversation:
|
|
|
160
160
|
title: truncate(title)
|
|
161
161
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
162
162
|
});
|
|
163
|
-
return
|
|
163
|
+
return Service2.of({ generate });
|
|
164
164
|
}));
|
|
165
|
-
var
|
|
166
|
-
service:
|
|
167
|
-
layer:
|
|
168
|
-
deps: [node92, llmClient2,
|
|
165
|
+
var node3 = makeLocationNode({
|
|
166
|
+
service: Service2,
|
|
167
|
+
layer: layer3,
|
|
168
|
+
deps: [node92, llmClient2, node32, node64, node93]
|
|
169
169
|
});
|
|
170
170
|
|
|
171
|
-
export {
|
|
171
|
+
export { Service2, isUntitled2, layer3, node3, exports_title };
|