@opencode/core 2.0.32 → 2.1.1
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{instance-be7qvw84.js → repository-cache-00x4qneg.js} +8 -8
- package/dist/chunks/{instance-s5jrf6ry.js → repository-cache-065m31h9.js} +11 -11
- package/dist/chunks/{instance-g2wa2e5b.js → repository-cache-0fztarvd.js} +13 -11
- package/dist/chunks/{instance-ydjrys25.js → repository-cache-0qb6tpgj.js} +23 -23
- package/dist/chunks/{instance-0vbcp93d.js → repository-cache-0vbcp93d.js} +2 -2
- package/dist/chunks/{instance-xjvxx86v.js → repository-cache-0vf8bfn5.js} +6 -6
- package/dist/chunks/{instance-5zbw8dq9.js → repository-cache-0vtn597b.js} +21 -21
- package/dist/chunks/{instance-v5qm4ejs.js → repository-cache-0xfcnhey.js} +27 -27
- package/dist/chunks/{instance-pbh24ypk.js → repository-cache-15e8hpnt.js} +19 -19
- package/dist/chunks/{instance-yp2x3t23.js → repository-cache-1acjjqhc.js} +4 -4
- package/dist/chunks/repository-cache-1ep4rre3.js +42 -0
- package/dist/chunks/{instance-nbm6td7p.js → repository-cache-1ngx28bn.js} +4 -4
- package/dist/chunks/{instance-q97qe3v1.js → repository-cache-1ptgpzsy.js} +24 -25
- package/dist/chunks/{instance-ypne3kk7.js → repository-cache-1q92ejr7.js} +21 -21
- package/dist/chunks/{instance-c9wbyant.js → repository-cache-1ze9gtzp.js} +9 -9
- package/dist/chunks/{instance-ngdgjn5a.js → repository-cache-21n0xhjn.js} +13 -13
- package/dist/chunks/{instance-6btvgc07.js → repository-cache-2577k5af.js} +54 -37
- package/dist/chunks/{instance-ft79q47f.js → repository-cache-2ky2kwtz.js} +4 -4
- package/dist/chunks/{instance-zdhmwdxf.js → repository-cache-2v5tj3gs.js} +21 -21
- package/dist/chunks/{instance-9k44apjz.js → repository-cache-37cqxn50.js} +11 -4
- package/dist/chunks/{instance-eb2yw134.js → repository-cache-3fcx2j2w.js} +18 -18
- package/dist/chunks/{instance-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-vqtt4fqa.js → repository-cache-3hkcw4we.js} +13 -13
- package/dist/chunks/{instance-3hwn7j4h.js → repository-cache-3hwn7j4h.js} +2 -2
- package/dist/chunks/{instance-2j1fd8ns.js → repository-cache-3ns80m0h.js} +20 -20
- package/dist/chunks/{instance-wdgmgtm0.js → repository-cache-3rq8r7zt.js} +17 -14
- package/dist/chunks/{instance-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-j3ftvw7y.js → repository-cache-3ty6jwen.js} +6 -6
- package/dist/chunks/{instance-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
- package/dist/chunks/{instance-dw46b8bx.js → repository-cache-43x4yszk.js} +20 -20
- package/dist/chunks/{instance-e5wkangg.js → repository-cache-46mephjz.js} +47 -49
- package/dist/chunks/{instance-jxa04fe5.js → repository-cache-47cwnsyn.js} +14 -14
- package/dist/chunks/{instance-s1kmd63q.js → repository-cache-4bk9s89f.js} +14 -14
- package/dist/chunks/{instance-wmhjcbrh.js → repository-cache-4prqf89h.js} +29 -29
- package/dist/chunks/{instance-echrm7fx.js → repository-cache-4tyzw6xh.js} +5 -5
- package/dist/chunks/{instance-5nrew705.js → repository-cache-4v4bfvma.js} +5 -5
- package/dist/chunks/{instance-9rd468vk.js → repository-cache-4wehpdsn.js} +24 -24
- package/dist/chunks/{instance-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
- package/dist/chunks/{instance-wh6zw745.js → repository-cache-57myy5jh.js} +5 -5
- package/dist/chunks/{instance-nnq6jpzr.js → repository-cache-5dycw2n2.js} +22 -22
- package/dist/chunks/{instance-xt4njr3s.js → repository-cache-5f5dfnyg.js} +17 -13
- package/dist/chunks/{instance-bg9pb3hs.js → repository-cache-5m84d531.js} +6 -6
- package/dist/chunks/{instance-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{instance-c01nkdt4.js → repository-cache-63t8kvdx.js} +16 -16
- package/dist/chunks/{instance-dqxsqydv.js → repository-cache-6827pfxn.js} +2 -2
- package/dist/chunks/{instance-0f5g2b67.js → repository-cache-6bq45c98.js} +46 -46
- package/dist/chunks/{instance-z8epvsg6.js → repository-cache-6e57763q.js} +5 -5
- package/dist/chunks/{instance-y56ehv6b.js → repository-cache-6hjx5zpb.js} +9 -9
- package/dist/chunks/{instance-xn7k1yjr.js → repository-cache-6kthashm.js} +27 -27
- package/dist/chunks/{instance-mee8ct06.js → repository-cache-6nq3099y.js} +2 -2
- package/dist/chunks/{instance-hzzj1pg2.js → repository-cache-6qn8gjqg.js} +18 -18
- package/dist/chunks/{instance-zy2kjt51.js → repository-cache-6s242g8e.js} +39 -39
- package/dist/chunks/{instance-6xb47vfp.js → repository-cache-6xb47vfp.js} +1 -1
- package/dist/chunks/{instance-h8wg6m6b.js → repository-cache-6xjvsea3.js} +11 -11
- package/dist/chunks/{instance-j4d2njm3.js → repository-cache-7303zb1f.js} +18 -18
- package/dist/chunks/{instance-775gj3j1.js → repository-cache-775gj3j1.js} +2 -2
- package/dist/chunks/{instance-a0r8rfmp.js → repository-cache-77a66swy.js} +7 -7
- package/dist/chunks/{instance-f4mxpp6t.js → repository-cache-77d0na5t.js} +48 -48
- package/dist/chunks/{instance-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-8mprknbj.js → repository-cache-7jwh32ts.js} +32 -31
- package/dist/chunks/{instance-9s4s5645.js → repository-cache-7p9sqgn0.js} +16 -16
- package/dist/chunks/{instance-91qna3x0.js → repository-cache-7v6vae4w.js} +39 -21
- package/dist/chunks/{instance-84caq58q.js → repository-cache-7vt9yzvg.js} +11 -11
- package/dist/chunks/{instance-x20m8gm2.js → repository-cache-7z1jx34y.js} +23 -23
- package/dist/chunks/{instance-wjsh9s1s.js → repository-cache-83whknbm.js} +31 -31
- package/dist/chunks/{instance-s4bj6v34.js → repository-cache-842mqg42.js} +11 -11
- package/dist/chunks/{instance-7q6nqg1g.js → repository-cache-86eqfcce.js} +9 -9
- package/dist/chunks/{instance-agt7xfc2.js → repository-cache-8d1pd201.js} +26 -26
- package/dist/chunks/{instance-r730fk4b.js → repository-cache-8g2mbw9h.js} +19 -19
- package/dist/chunks/{instance-8m6m0r52.js → repository-cache-8m6m0r52.js} +1 -1
- package/dist/chunks/repository-cache-8mywswrd.js +86 -0
- package/dist/chunks/{instance-c0jw7tng.js → repository-cache-8reangzk.js} +9 -7
- package/dist/chunks/{instance-h14remhy.js → repository-cache-8t50b4ww.js} +23 -23
- package/dist/chunks/{instance-spnt6386.js → repository-cache-8vy56zzm.js} +28 -28
- package/dist/chunks/{instance-v742aeg8.js → repository-cache-94p6wp9x.js} +30 -25
- package/dist/chunks/{instance-5saajy9t.js → repository-cache-95tpv30c.js} +13 -13
- package/dist/chunks/{instance-1ajx6rf5.js → repository-cache-9hn6k4tm.js} +8 -8
- package/dist/chunks/{instance-b4gsa26k.js → repository-cache-9hzyxvsk.js} +17 -14
- package/dist/chunks/{instance-2ysm8pgm.js → repository-cache-9m35c2r0.js} +29 -29
- package/dist/chunks/{instance-bcmzxatv.js → repository-cache-9v5raxs8.js} +5 -5
- package/dist/chunks/repository-cache-9wrj4pc9.js +257 -0
- package/dist/chunks/{instance-wndqf9wb.js → repository-cache-a0kr73jj.js} +10 -10
- package/dist/chunks/{instance-vfjhn2wd.js → repository-cache-a3c7ahw6.js} +4 -4
- package/dist/chunks/{instance-y7nndgyc.js → repository-cache-a4db0rvv.js} +9 -9
- package/dist/chunks/{instance-hdb1y56n.js → repository-cache-a58n7r3a.js} +43 -43
- package/dist/chunks/{instance-gvm6138t.js → repository-cache-a75ad8v4.js} +1 -1
- package/dist/chunks/{instance-gqtdsdt7.js → repository-cache-addxnjmp.js} +4 -4
- package/dist/chunks/{instance-8q7cp091.js → repository-cache-b2ckp95n.js} +12 -12
- package/dist/chunks/{instance-0fhevdjt.js → repository-cache-b4nzaj04.js} +5 -5
- package/dist/chunks/{instance-2vs2nh1n.js → repository-cache-baaqp4zd.js} +4 -4
- package/dist/chunks/{instance-9jgxs1bn.js → repository-cache-bf4bmw04.js} +11 -11
- package/dist/chunks/{instance-wjr9rjd7.js → repository-cache-bjx1sjef.js} +6 -6
- package/dist/chunks/{instance-m8qsgghe.js → repository-cache-bq3hn31g.js} +50 -50
- package/dist/chunks/{instance-enbw0gbw.js → repository-cache-brcmb8c2.js} +46 -46
- package/dist/chunks/repository-cache-by5v678g.js +18 -0
- package/dist/chunks/{instance-d4n7pc7j.js → repository-cache-c15zmvx5.js} +10 -10
- package/dist/chunks/{instance-c1fqxshp.js → repository-cache-c1fqxshp.js} +3 -3
- package/dist/chunks/{instance-mtpeagzc.js → repository-cache-c2sed5cq.js} +3 -3
- package/dist/chunks/{instance-nj7hqrdc.js → repository-cache-c5ggqzvz.js} +5 -5
- package/dist/chunks/{instance-gea60fq5.js → repository-cache-cgc2saxs.js} +26 -26
- package/dist/chunks/{instance-hz56gd46.js → repository-cache-d2qeb4wf.js} +17 -17
- package/dist/chunks/{instance-xzyvagpz.js → repository-cache-djbskq1b.js} +26 -26
- package/dist/chunks/{instance-m8p0bf8a.js → repository-cache-dmpxat65.js} +4 -4
- package/dist/chunks/{instance-sz70a389.js → repository-cache-dqjdwcmj.js} +20 -13
- package/dist/chunks/repository-cache-dv4jvz6s.js +97 -0
- package/dist/chunks/{instance-j5s48rss.js → repository-cache-dzr38x1r.js} +11 -11
- package/dist/chunks/{instance-sxzvkvgj.js → repository-cache-dzse07y5.js} +6 -6
- package/dist/chunks/{instance-ye119z04.js → repository-cache-dzxp512b.js} +48 -48
- package/dist/chunks/{instance-sxcaecc0.js → repository-cache-e80seqcp.js} +3 -3
- package/dist/chunks/{instance-eej6y6fw.js → repository-cache-eej6y6fw.js} +2 -2
- package/dist/chunks/{instance-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
- package/dist/chunks/{instance-h82zpv65.js → repository-cache-ek4c2f0v.js} +6 -6
- package/dist/chunks/{instance-m7f5ga5x.js → repository-cache-ewj35nqb.js} +8 -8
- package/dist/chunks/{instance-7c25kt5f.js → repository-cache-exgm3bba.js} +14 -14
- package/dist/chunks/{instance-6h1sgzxr.js → repository-cache-ezhy60ay.js} +27 -27
- package/dist/chunks/{instance-7kf7gnm7.js → repository-cache-f39mejfg.js} +13 -13
- package/dist/chunks/{instance-zr0n9bt7.js → repository-cache-f94wsmf1.js} +4 -4
- package/dist/chunks/{instance-50a72dh7.js → repository-cache-fbxj9tpm.js} +4 -4
- package/dist/chunks/{instance-2k8khapm.js → repository-cache-fcrkznn8.js} +5 -5
- package/dist/chunks/repository-cache-fcy631f0.js +62 -0
- package/dist/chunks/{instance-tx5jepxr.js → repository-cache-fj6qct2w.js} +79 -66
- package/dist/chunks/{instance-14q6b86s.js → repository-cache-fmnd8f8t.js} +17 -17
- package/dist/chunks/{instance-edhgwctf.js → repository-cache-fncqf4dd.js} +5 -5
- package/dist/chunks/{instance-fww2ha2b.js → repository-cache-fww2ha2b.js} +2 -2
- package/dist/chunks/{instance-1w2wqhfv.js → repository-cache-fxaymqdw.js} +4 -4
- package/dist/chunks/{instance-ckerv63d.js → repository-cache-fzdrxngq.js} +4 -4
- package/dist/chunks/{instance-ypc4xgvm.js → repository-cache-g2kfam58.js} +22 -22
- package/dist/chunks/{instance-6vzwhms5.js → repository-cache-g5g9rrdp.js} +31 -31
- package/dist/chunks/{instance-kjzbdttd.js → repository-cache-g9rqxbv3.js} +6 -6
- package/dist/chunks/{instance-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-wfmvav8k.js → repository-cache-gec8gq51.js} +8 -8
- package/dist/chunks/{instance-vd5a229f.js → repository-cache-gkge597h.js} +24 -22
- package/dist/chunks/{instance-xnn7a7ef.js → repository-cache-gnrrjsmd.js} +16 -16
- package/dist/chunks/{instance-9b8s04gb.js → repository-cache-gp5jn49f.js} +27 -24
- package/dist/chunks/{instance-6tnrngrh.js → repository-cache-gpqw730e.js} +8 -8
- package/dist/chunks/{instance-9y6nqyzn.js → repository-cache-gpz4bnby.js} +5 -5
- package/dist/chunks/{instance-pwws2hp2.js → repository-cache-gtsbe4v4.js} +10 -10
- package/dist/chunks/{instance-p6p9qpe8.js → repository-cache-h1f52gh9.js} +30 -30
- package/dist/chunks/{instance-npg16c9q.js → repository-cache-h1schjng.js} +46 -28
- package/dist/chunks/{instance-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-k3e33c9f.js → repository-cache-h74mnx9x.js} +11 -11
- package/dist/chunks/{instance-a2pz59r9.js → repository-cache-h7q4kewv.js} +36 -36
- package/dist/chunks/{instance-6pn2td3v.js → repository-cache-haz4dce7.js} +15 -15
- package/dist/chunks/repository-cache-hbb7npd7.js +59 -0
- package/dist/chunks/{instance-cqpz2z25.js → repository-cache-hfkjwy2f.js} +18 -18
- package/dist/chunks/{instance-hgz4x7wa.js → repository-cache-hgz4x7wa.js} +1 -1
- package/dist/chunks/{instance-71svxegq.js → repository-cache-hh0jpq4c.js} +71 -74
- package/dist/chunks/{instance-ec8g0tcf.js → repository-cache-hjygm116.js} +26 -26
- package/dist/chunks/{instance-1kn978n9.js → repository-cache-hs0qwjvp.js} +96 -162
- package/dist/chunks/{instance-c4f3nvjn.js → repository-cache-ht1p01b4.js} +17 -17
- package/dist/chunks/{instance-00hj6bjn.js → repository-cache-j5w7gx2k.js} +32 -32
- package/dist/chunks/{instance-qxbyfn4m.js → repository-cache-jargxt5j.js} +11 -11
- package/dist/chunks/{instance-a7p9m6vg.js → repository-cache-jaym3td0.js} +18 -18
- package/dist/chunks/{instance-fxp0jy99.js → repository-cache-jnk63p10.js} +34 -34
- package/dist/chunks/{instance-hrtybn11.js → repository-cache-jsg4jcbs.js} +3 -3
- package/dist/chunks/{instance-ba4zj86y.js → repository-cache-k1jycaz7.js} +23 -23
- package/dist/chunks/{instance-jhx7q1qc.js → repository-cache-k9gaxmgh.js} +2 -2
- package/dist/chunks/{instance-6njkejes.js → repository-cache-kf0zwkk2.js} +24 -24
- package/dist/chunks/{instance-gxvgt8t9.js → repository-cache-kh81xvt5.js} +3 -3
- package/dist/chunks/{instance-jez41mts.js → repository-cache-knhxpfbp.js} +21 -21
- package/dist/chunks/{instance-m82ef0kx.js → repository-cache-kq77jz7h.js} +5 -5
- package/dist/chunks/{instance-74syfsk2.js → repository-cache-kqe08t1d.js} +11 -11
- package/dist/chunks/{instance-kwb1v3vj.js → repository-cache-kwb1v3vj.js} +1 -1
- package/dist/chunks/{instance-tdjzh3mn.js → repository-cache-kx8xg74a.js} +13 -13
- package/dist/chunks/{instance-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-maspj1v3.js → repository-cache-maspj1v3.js} +1 -1
- package/dist/chunks/{instance-a450qmf9.js → repository-cache-mhdex35g.js} +9 -9
- package/dist/chunks/{instance-pbjcynf2.js → repository-cache-mk935gd8.js} +11 -11
- package/dist/chunks/{instance-52w29975.js → repository-cache-mmfyj663.js} +3 -3
- package/dist/chunks/{instance-prvmgnqy.js → repository-cache-mn5j6xz9.js} +5 -5
- package/dist/chunks/{instance-y0r048qb.js → repository-cache-ms89s1xg.js} +181 -180
- package/dist/chunks/{instance-94t3kz80.js → repository-cache-mx97exft.js} +25 -25
- package/dist/chunks/{instance-g6vxq4t7.js → repository-cache-n268d91j.js} +12 -12
- package/dist/chunks/{instance-k74v33jx.js → repository-cache-na3b46a7.js} +22 -22
- package/dist/chunks/{instance-bwe2bky2.js → repository-cache-nbs22qen.js} +4 -4
- package/dist/chunks/{instance-9ar4pza7.js → repository-cache-njebe5fw.js} +19 -19
- package/dist/chunks/{instance-t5d9whg0.js → repository-cache-nxhdjhjw.js} +45 -45
- package/dist/chunks/{instance-h7s7r6s9.js → repository-cache-nz56sr1f.js} +18 -19
- package/dist/chunks/{instance-s1xtywav.js → repository-cache-p7pstqch.js} +15 -15
- package/dist/chunks/{instance-8dp3pqp7.js → repository-cache-pfhhvb3w.js} +5 -5
- package/dist/chunks/{instance-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{instance-karq4mt3.js → repository-cache-pmx6p9t5.js} +34 -34
- package/dist/chunks/{instance-nfnvba5x.js → repository-cache-pmx89wj9.js} +12 -12
- package/dist/chunks/{instance-saq4k3ef.js → repository-cache-pnf7bv7v.js} +33 -33
- package/dist/chunks/{instance-snpj5a6q.js → repository-cache-ps8kb85m.js} +11 -11
- package/dist/chunks/{instance-w92k2e0p.js → repository-cache-py3kkmfq.js} +8 -8
- package/dist/chunks/{instance-127b9nq3.js → repository-cache-q0p071b0.js} +3 -3
- package/dist/chunks/{instance-4hxt5e23.js → repository-cache-qcy13bhz.js} +19 -22
- package/dist/chunks/{instance-g6q9qykm.js → repository-cache-qmqgtz8f.js} +9 -9
- package/dist/chunks/{instance-qnc92qwc.js → repository-cache-qnc92qwc.js} +1 -1
- package/dist/chunks/{instance-n886b0hh.js → repository-cache-qsbh95pa.js} +18 -18
- package/dist/chunks/{instance-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-4p9mf0mj.js → repository-cache-r38tb40c.js} +11 -11
- package/dist/chunks/{instance-4q4vnebt.js → repository-cache-r8mc9fw8.js} +7 -7
- package/dist/chunks/{instance-f60ec8ph.js → repository-cache-r8qzytx6.js} +11 -11
- package/dist/chunks/{instance-dy6575tn.js → repository-cache-r8tt5pdh.js} +21 -21
- package/dist/chunks/{instance-j99dhamb.js → repository-cache-rd8qctj1.js} +6 -6
- package/dist/chunks/{instance-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
- package/dist/chunks/{instance-rert0e01.js → repository-cache-rert0e01.js} +2 -2
- package/dist/chunks/{instance-8dc76097.js → repository-cache-rfmm8jvy.js} +28 -28
- package/dist/chunks/{instance-02nrjc1r.js → repository-cache-rhjbct0v.js} +6 -6
- package/dist/chunks/{instance-rj3eygr5.js → repository-cache-rj3eygr5.js} +2 -2
- package/dist/chunks/{instance-76an7qnj.js → repository-cache-rjf4ffg7.js} +11 -11
- package/dist/chunks/{instance-8x4cb7ds.js → repository-cache-rmtct2jg.js} +16 -16
- package/dist/chunks/{instance-4y7j986s.js → repository-cache-rpjgfq5s.js} +9 -9
- package/dist/chunks/{instance-azaahc9x.js → repository-cache-rrymd76b.js} +20 -20
- package/dist/chunks/{instance-0x6zefqk.js → repository-cache-s2b0mt3v.js} +4 -4
- package/dist/chunks/{instance-yw8t9dwe.js → repository-cache-s5met55r.js} +8 -8
- package/dist/chunks/{instance-sa8ekw3f.js → repository-cache-sa8ekw3f.js} +2 -2
- package/dist/chunks/{instance-2wamsapc.js → repository-cache-savvjd0x.js} +33 -23
- package/dist/chunks/{instance-egzk2yjk.js → repository-cache-scqf7y3w.js} +84 -87
- package/dist/chunks/{instance-fjz5gha3.js → repository-cache-sxy57xts.js} +122 -100
- package/dist/chunks/{instance-syv4x271.js → repository-cache-syv4x271.js} +1 -1
- package/dist/chunks/{instance-sz15zhhw.js → repository-cache-sz15zhhw.js} +1 -1
- package/dist/chunks/{instance-99kqc9z2.js → repository-cache-szwj80cc.js} +28 -29
- package/dist/chunks/{instance-mn1n5f3s.js → repository-cache-t4rnqcab.js} +3 -3
- package/dist/chunks/repository-cache-t5gc52ef.js +112 -0
- package/dist/chunks/{instance-r1d9yajz.js → repository-cache-t5nm1h7p.js} +48 -48
- package/dist/chunks/{instance-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-89znhe33.js → repository-cache-tcezcvh9.js} +4 -4
- package/dist/chunks/{instance-s9w6dcwz.js → repository-cache-tdbmj82j.js} +8 -8
- package/dist/chunks/{instance-tdstcens.js → repository-cache-tdstcens.js} +1 -1
- package/dist/chunks/{instance-9mg0ha5m.js → repository-cache-tfp3dpkf.js} +5 -5
- package/dist/chunks/{instance-asvc535p.js → repository-cache-tgfxvvf8.js} +13 -13
- package/dist/chunks/{instance-tm0kqsz3.js → repository-cache-tm0kqsz3.js} +1 -1
- package/dist/chunks/{instance-5408hnnb.js → repository-cache-twy8yh4t.js} +15 -15
- package/dist/chunks/{instance-jxa15a22.js → repository-cache-txwpsv2p.js} +17 -17
- package/dist/chunks/{instance-tyytaxap.js → repository-cache-tyytaxap.js} +1 -1
- package/dist/chunks/{instance-a2gdg3s5.js → repository-cache-tza759th.js} +36 -36
- package/dist/chunks/{instance-pwjs67dv.js → repository-cache-tzaz3z0t.js} +6 -6
- package/dist/chunks/repository-cache-v061a9c2.js +517 -0
- package/dist/chunks/{instance-v0es1rhs.js → repository-cache-v210v162.js} +5 -5
- package/dist/chunks/{instance-rq74kqrf.js → repository-cache-v30mg9q2.js} +8 -8
- package/dist/chunks/{instance-ryr25ayn.js → repository-cache-v5dkyp31.js} +4 -4
- package/dist/chunks/{instance-b7n2911q.js → repository-cache-v7kdkfkp.js} +25 -25
- package/dist/chunks/{instance-v7p4zvkq.js → repository-cache-v7p4zvkq.js} +2 -2
- package/dist/chunks/{instance-tfzngn12.js → repository-cache-vbfgae2j.js} +4 -4
- package/dist/chunks/{instance-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-qzfs27nc.js → repository-cache-vhj1m4b0.js} +30 -23
- package/dist/chunks/{instance-s7ecmt2f.js → repository-cache-vhwx28nx.js} +22 -17
- package/dist/chunks/{instance-9nypp77e.js → repository-cache-vnm2wjz3.js} +12 -12
- package/dist/chunks/{instance-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instance-79aanr6n.js → repository-cache-w12shgbp.js} +20 -20
- package/dist/chunks/{instance-84txncab.js → repository-cache-w1eejvng.js} +5 -5
- package/dist/chunks/repository-cache-w2nph7ph.js +26 -0
- package/dist/chunks/{instance-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{instance-hy029169.js → repository-cache-wp7khyzv.js} +15 -15
- package/dist/chunks/{instance-0aedf7nq.js → repository-cache-wqz8rkkb.js} +21 -21
- package/dist/chunks/{instance-n240m50y.js → repository-cache-x06a86kn.js} +13 -13
- package/dist/chunks/{instance-3cy08nae.js → repository-cache-x2gnjtg4.js} +7 -7
- package/dist/chunks/{instance-s3v8c45g.js → repository-cache-x4jd4xmr.js} +51 -50
- package/dist/chunks/{instance-kjpxk16h.js → repository-cache-x7wne18b.js} +18 -18
- package/dist/chunks/{instance-57b9ws8p.js → repository-cache-xfkkasph.js} +7 -7
- package/dist/chunks/{instance-yx0rmv9r.js → repository-cache-xkrbr206.js} +8 -8
- package/dist/chunks/{instance-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-3mksxvab.js → repository-cache-y50tnaxc.js} +9 -9
- package/dist/chunks/{instance-dpkg50ah.js → repository-cache-y71avatq.js} +4 -4
- package/dist/chunks/{instance-rr384mgp.js → repository-cache-y8tjtsy7.js} +9 -9
- package/dist/chunks/{instance-bcrfy1e8.js → repository-cache-yew0zm8m.js} +11 -11
- package/dist/chunks/{instance-xvr6z0ms.js → repository-cache-yfdycbsw.js} +14 -14
- package/dist/chunks/{instance-g95hkc6v.js → repository-cache-yfsa45n4.js} +29 -29
- package/dist/chunks/{instance-n86j2s3s.js → repository-cache-yjxqy5ha.js} +11 -11
- package/dist/chunks/{instance-1e477vzc.js → repository-cache-ys5mczsm.js} +8 -8
- package/dist/chunks/{instance-vz3ca5nz.js → repository-cache-yv2cmth8.js} +1 -1
- package/dist/chunks/{instance-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-3fc6dm20.js → repository-cache-z18fegx4.js} +4 -4
- package/dist/chunks/{instance-47jkzegy.js → repository-cache-z6c3x22d.js} +5 -5
- package/dist/chunks/{instance-n7jnsjte.js → repository-cache-z6dhcqsk.js} +24 -24
- package/dist/chunks/{instance-q3krtzxs.js → repository-cache-z86wre2g.js} +30 -30
- package/dist/chunks/{instance-8j7djd22.js → repository-cache-zmy0eq9j.js} +20 -20
- package/dist/chunks/{instance-nsdb0f42.js → repository-cache-znqen040.js} +11 -11
- package/dist/chunks/{instance-ksbyxnj1.js → repository-cache-zp864mkb.js} +21 -18
- package/dist/chunks/{instance-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-vcnzat6y.js → repository-cache-zs22chpb.js} +26 -26
- package/dist/chunks/repository-cache-zx24wvbj.js +130 -0
- package/dist/chunks/{instance-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
- package/dist/chunks/{instance-kp7zea7r.js → repository-cache-zz6a9he3.js} +28 -28
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -207
- package/dist/config/plugin/compaction.js +155 -154
- package/dist/config/plugin/compatibility.js +135 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +10 -0
- package/dist/config/plugin/skill.js +138 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +86 -83
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -367
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +72 -72
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +104 -103
- package/dist/git.js +6 -6
- 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 +101 -101
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -358
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -355
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +10 -0
- package/dist/model.js +104 -104
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +90 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +3 -3
- package/dist/persistent-pty/binary.node.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -220
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -154
- package/dist/session/history.js +19 -13
- package/dist/session/inbox.js +95 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +14 -0
- package/dist/session/revert.js +96 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -4
- package/dist/session/runner/step.js +128 -127
- package/dist/session/runner/to-llm-message.js +14 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -211
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +111 -111
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +209 -208
- package/dist/tool/plugin/todo.js +147 -0
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/account/sql.d.ts +3 -3
- package/dist/types/codemode/tool.d.ts +12 -12
- package/dist/types/config/discovery.d.ts +2 -2
- package/dist/types/config/plugin/entry-observer.d.ts +1 -1
- package/dist/types/config/plugin/instruction.d.ts +1 -1
- package/dist/types/config/plugin/skill-scan.d.ts +5 -0
- package/dist/types/config.d.ts +1 -1
- package/dist/types/credential/sql.d.ts +1 -4
- package/dist/types/credential.d.ts +0 -3
- package/dist/types/database/drizzle/effect-sqlite/driver.d.ts +1 -1
- package/dist/types/database/migration/20260805200742_import_legacy_credentials.d.ts +1 -1
- package/dist/types/database/path.d.ts +16 -16
- package/dist/types/database/sqlite.bun.d.ts +1 -1
- package/dist/types/database/sqlite.node.d.ts +1 -1
- package/dist/types/database/sqlite.workerd.d.ts +1 -1
- package/dist/types/effect/websocket-constructor.d.ts +2 -1
- package/dist/types/environment/files.d.ts +1 -1
- package/dist/types/event/sql.d.ts +2 -2
- package/dist/types/file-mutation.d.ts +4 -3
- package/dist/types/filesystem.d.ts +1 -1
- package/dist/types/form.d.ts +55 -55
- package/dist/types/github-copilot/chat/openai-compatible-chat-language-model.d.ts +27 -27
- package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +80 -80
- package/dist/types/github-copilot/responses/tool/file-search.d.ts +1 -1
- package/dist/types/github-copilot/responses/tool/image-generation.d.ts +5 -5
- package/dist/types/github-copilot/responses/tool/web-search-preview.d.ts +1 -1
- package/dist/types/github-copilot/responses/tool/web-search.d.ts +1 -1
- package/dist/types/image/photon-wasm.workerd.d.ts +1 -1
- package/dist/types/image/photon.d.ts +5 -5
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/integration.d.ts +257 -257
- package/dist/types/kv/sql.d.ts +1 -1
- package/dist/types/managed-policy.d.ts +2 -2
- package/dist/types/mcp/client.d.ts +74 -74
- package/dist/types/mcp/index.d.ts +1 -1
- package/dist/types/mime.d.ts +1 -1
- package/dist/types/model-resolver.d.ts +1 -1
- package/dist/types/model-retry.d.ts +14 -0
- package/dist/types/model.d.ts +76 -73
- package/dist/types/permission/saved.d.ts +26 -1
- package/dist/types/permission/sql.d.ts +1 -1
- package/dist/types/permission.d.ts +1 -1
- package/dist/types/persistent-pty/binary.bun.d.ts +1 -1
- package/dist/types/persistent-pty/binary.node.d.ts +1 -1
- package/dist/types/plugin/command.d.ts +1 -1
- package/dist/types/plugin/host.d.ts +2 -2
- package/dist/types/plugin/internal.d.ts +1 -1
- package/dist/types/plugin/module.d.ts +7 -7
- package/dist/types/plugin/provider/azure.d.ts +2 -2
- package/dist/types/plugin/provider/chatgpt.d.ts +1 -1
- package/dist/types/plugin/provider/digitalocean.d.ts +1 -1
- package/dist/types/plugin/provider/github-copilot.d.ts +2 -2
- package/dist/types/plugin/provider/gitlab.d.ts +1 -1
- package/dist/types/plugin/provider/lmstudio.d.ts +2 -2
- package/dist/types/plugin/provider/local.d.ts +2 -2
- package/dist/types/plugin/provider/ollama.d.ts +2 -2
- package/dist/types/plugin/provider/opencode.d.ts +1 -1
- package/dist/types/plugin/provider/poe.d.ts +1 -1
- package/dist/types/plugin/provider/snowflake-cortex.d.ts +1 -1
- package/dist/types/plugin/provider/vllm.d.ts +2 -2
- package/dist/types/plugin/supervisor.d.ts +2 -2
- package/dist/types/plugin/websearch/exa.d.ts +1 -1
- package/dist/types/plugin/websearch/firecrawl.d.ts +1 -1
- package/dist/types/plugin/websearch/index.d.ts +1 -1
- package/dist/types/plugin/websearch/parallel.d.ts +1 -1
- package/dist/types/plugin/websearch/tavily.d.ts +1 -1
- package/dist/types/plugin/websearch/tinyfish.d.ts +1 -1
- package/dist/types/project/sql.d.ts +75 -75
- package/dist/types/provider.d.ts +3 -1
- package/dist/types/session/command.d.ts +1 -1
- package/dist/types/session/compaction.d.ts +2 -2
- package/dist/types/session/diff.d.ts +1 -1
- package/dist/types/session/error.d.ts +4 -0
- package/dist/types/session/execution/restart.d.ts +1 -1
- package/dist/types/session/execution.d.ts +2 -2
- package/dist/types/session/generate.d.ts +1 -1
- package/dist/types/session/history.d.ts +389 -1242
- package/dist/types/session/inbox.d.ts +110 -110
- package/dist/types/session/instruction-entry.d.ts +2 -2
- package/dist/types/session/instruction-state.d.ts +7 -3
- package/dist/types/session/model-request.d.ts +1 -1
- package/dist/types/session/prompt.d.ts +7 -7
- package/dist/types/session/recent-text.d.ts +11 -0
- package/dist/types/session/revert.d.ts +1 -1
- package/dist/types/session/runner/index.d.ts +42 -46
- package/dist/types/session/runner/publish-llm-event.d.ts +1 -1
- package/dist/types/session/runner/step.d.ts +86 -96
- package/dist/types/session/session.d.ts +29 -27
- package/dist/types/session/skill.d.ts +1 -1
- package/dist/types/session/sql.d.ts +139 -139
- package/dist/types/session/stats.d.ts +1 -1
- package/dist/types/session/store.d.ts +8 -5
- package/dist/types/session/subagent-completion.d.ts +1 -1
- package/dist/types/session/title.d.ts +1 -1
- package/dist/types/session/transfer.d.ts +31 -81
- package/dist/types/session.d.ts +24 -11
- package/dist/types/shell/result.d.ts +14 -14
- package/dist/types/skill.d.ts +1 -1
- package/dist/types/state.d.ts +1 -1
- package/dist/types/tool/plugin/read.d.ts +2 -2
- package/dist/types/tool/plugin/shell.d.ts +1 -1
- package/dist/types/tool/plugin/skill.d.ts +1 -1
- package/dist/types/tool/plugin/todo.d.ts +29 -0
- package/dist/types/tool/plugin/webfetch.d.ts +1 -1
- package/dist/types/tool/read-filesystem.d.ts +4 -4
- package/dist/types/tool/runtime.d.ts +1 -1
- package/dist/types/util/error.d.ts +36 -32
- package/dist/types/v1/config/agent.d.ts +2 -2
- package/dist/types/v1/config/error.d.ts +51 -46
- package/dist/types/v1/config/migrate.d.ts +14 -14
- package/dist/types/v1/config/permission.d.ts +3 -3
- package/dist/types/wellknown.d.ts +4 -6
- package/dist/types/workspace/sql.d.ts +1 -1
- package/dist/types/worktree/git.d.ts +3 -3
- package/dist/types/worktree/sql.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +10 -10
- package/dist/chunks/instance-0e3j8fc0.js +0 -257
- package/dist/chunks/instance-3x6psag0.js +0 -73
- package/dist/chunks/instance-4j4tgtq5.js +0 -69
- package/dist/chunks/instance-6hkj46ta.js +0 -26
- package/dist/chunks/instance-em3k6scw.js +0 -95
- package/dist/chunks/instance-rap9a73h.js +0 -18
- package/dist/chunks/instance-v4640cdb.js +0 -513
- package/dist/chunks/instance-zyk1yjk8.js +0 -80
- package/dist/session/provider-context.js +0 -20
- package/dist/types/session/provider-context.d.ts +0 -46
- /package/dist/chunks/{instance-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3t0ybcrp.js → repository-cache-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-m18g726c.js → repository-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-pkyv6v7h.js → repository-cache-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{instance-pyv0edze.js → repository-cache-pyv0edze.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wjj7prxr.js → repository-cache-wjj7prxr.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./repository-cache-nxhdjhjw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service10
|
|
6
|
+
} from "./repository-cache-hs0qwjvp.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin34
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin34 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service60;
|
|
26
|
+
const compaction = yield* Service10;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin9 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin34, exports_compaction };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./repository-cache-dzse07y5.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-by5v678g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service47
|
|
9
|
+
} from "./repository-cache-fj6qct2w.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service52;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service47), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-8reangzk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-w1eejvng.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service73,
|
|
17
|
+
node77
|
|
18
|
+
} from "./repository-cache-rrymd76b.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event9,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info7,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service45,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node48
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event9 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info7 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service45 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service85;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service73;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info7.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse5(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info7.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service45.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node48 = makeLocationNode({
|
|
116
|
+
service: Service45,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node89,
|
|
118
|
+
deps: [Global.node, node89, node77]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info7, Service45, node48, exports_reference2, Event9 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-8reangzk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./repository-cache-gtsbe4v4.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service34,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-by5v678g.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-ms89s1xg.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
29
|
+
Event: () => Event2,
|
|
30
|
+
ID: () => ID2,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service34,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node17
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event2, ID as ID2, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service85;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service76;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service34.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node17 = Node.makeLocationNode({
|
|
226
|
+
service: Service34,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node17, exports_plugin2, Event2, ID2, Info3, Source2, State2 };
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/session/recent-text.ts
|
|
6
|
+
var exports_recent_text = {};
|
|
7
|
+
__export(exports_recent_text, {
|
|
8
|
+
SessionRecentText: () => exports_recent_text,
|
|
9
|
+
kept: () => kept2,
|
|
10
|
+
messageToText: () => messageToText2,
|
|
11
|
+
serializeToolContent: () => serializeToolContent2,
|
|
12
|
+
truncateToolOutput: () => truncateToolOutput2
|
|
13
|
+
});
|
|
14
|
+
var TOOL_OUTPUT_MAX_CHARS = 1250;
|
|
15
|
+
var kept2 = (message) => typeof message.metadata?.recent === "string" ? message.metadata.recent : "";
|
|
16
|
+
var messageToText2 = (message) => {
|
|
17
|
+
switch (message.type) {
|
|
18
|
+
case "compaction":
|
|
19
|
+
case "system":
|
|
20
|
+
return "";
|
|
21
|
+
case "user": {
|
|
22
|
+
const skills = message.skills?.flatMap((skill) => skill.text === undefined ? [] : [`[Skill activated: ${skill.name}]
|
|
23
|
+
${skill.text}`]) ?? [];
|
|
24
|
+
const files = message.files?.map((file) => {
|
|
25
|
+
const name = file.name ?? (file.source.type === "uri" ? file.source.uri : "inline attachment");
|
|
26
|
+
return `[Attached ${file.mime}: ${name}]`;
|
|
27
|
+
}) ?? [];
|
|
28
|
+
return [...skills, `[User]: ${message.text}`, ...files].join(`
|
|
29
|
+
`);
|
|
30
|
+
}
|
|
31
|
+
case "location-switched":
|
|
32
|
+
return `[User]: The working directory has been changed to ${message.location.directory}.`;
|
|
33
|
+
case "assistant":
|
|
34
|
+
return message.content.flatMap((part) => {
|
|
35
|
+
if (part.type === "text")
|
|
36
|
+
return [`[Assistant]: ${part.text}`];
|
|
37
|
+
if (part.type === "reasoning")
|
|
38
|
+
return part.text ? [`[Assistant reasoning]: ${part.text}`] : [];
|
|
39
|
+
const input = typeof part.state.input === "string" ? part.state.input : JSON.stringify(part.state.input);
|
|
40
|
+
const call = `[Assistant tool call]: ${part.name}(${input})`;
|
|
41
|
+
if (part.state.status === "completed") {
|
|
42
|
+
return [call, `[Tool result]: ${truncateToolOutput2(serializeToolContent2(part.state.content))}`];
|
|
43
|
+
}
|
|
44
|
+
if (part.state.status === "error")
|
|
45
|
+
return [call, `[Tool error]: ${part.state.error.message}`];
|
|
46
|
+
return [call];
|
|
47
|
+
}).join(`
|
|
48
|
+
`);
|
|
49
|
+
case "synthetic":
|
|
50
|
+
return `[Synthetic context]: ${message.text}`;
|
|
51
|
+
case "skill":
|
|
52
|
+
return `[Skill activated: ${message.name}]
|
|
53
|
+
${message.text}`;
|
|
54
|
+
case "shell":
|
|
55
|
+
if (message.metadata?.background === true)
|
|
56
|
+
return "";
|
|
57
|
+
return `[Shell]: ${message.command}
|
|
58
|
+
${truncateToolOutput2(message.output?.output ?? "")}`;
|
|
59
|
+
default:
|
|
60
|
+
return "";
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
var truncateToolOutput2 = (value) => {
|
|
64
|
+
if (value.length <= TOOL_OUTPUT_MAX_CHARS)
|
|
65
|
+
return value;
|
|
66
|
+
let end = 0;
|
|
67
|
+
let kept = 0;
|
|
68
|
+
for (const char of value) {
|
|
69
|
+
if (kept === TOOL_OUTPUT_MAX_CHARS)
|
|
70
|
+
break;
|
|
71
|
+
end += char.length;
|
|
72
|
+
kept++;
|
|
73
|
+
}
|
|
74
|
+
if (end === value.length)
|
|
75
|
+
return value;
|
|
76
|
+
return `${value.slice(0, end)}
|
|
77
|
+
[truncated]`;
|
|
78
|
+
};
|
|
79
|
+
var serializeToolContent2 = (content) => content.map((item) => {
|
|
80
|
+
if (item.type === "text")
|
|
81
|
+
return item.text;
|
|
82
|
+
return `[Attached ${item.mime}${item.name === undefined ? "" : `: ${item.name}`}]`;
|
|
83
|
+
}).join(`
|
|
84
|
+
`);
|
|
85
|
+
|
|
86
|
+
export { kept2, messageToText2, truncateToolOutput2, serializeToolContent2, exports_recent_text };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-kh81xvt5.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -35,6 +35,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
import { isDeepStrictEqual } from "node:util";
|
|
36
36
|
import { Durable } from "@opencode/schema/durable-event-manifest";
|
|
37
37
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
38
|
+
import { SessionLegacy } from "@opencode/schema/session-legacy";
|
|
38
39
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
39
40
|
var latestSequence2 = Effect.fn("Bus.latestSequence")(function* (db, aggregateID) {
|
|
40
41
|
const row = yield* db.select({ seq: EventSequenceTable2.seq }).from(EventSequenceTable2).where(eq(EventSequenceTable2.aggregate_id, aggregateID)).get().pipe(Effect.orDie);
|
|
@@ -57,6 +58,7 @@ var envelope = (aggregateID, seq, version) => ({
|
|
|
57
58
|
seq: Event.Seq.make(seq),
|
|
58
59
|
version: Event.Version.make(version)
|
|
59
60
|
});
|
|
61
|
+
var decodeStoredData = (definition, data) => Schema.decodeUnknownSync(definition.data)(SessionLegacy.event(definition.type, data));
|
|
60
62
|
var decodeSerializedEvent = (event) => {
|
|
61
63
|
const definition = Durable.get(event.type);
|
|
62
64
|
if (!definition?.durable) {
|
|
@@ -67,7 +69,7 @@ var decodeSerializedEvent = (event) => {
|
|
|
67
69
|
created: event.created ?? 0,
|
|
68
70
|
type: definition.type,
|
|
69
71
|
durable: envelope(event.aggregateID, event.seq, definition.durable.version),
|
|
70
|
-
data:
|
|
72
|
+
data: decodeStoredData(definition, event.data)
|
|
71
73
|
};
|
|
72
74
|
};
|
|
73
75
|
var versionedType2 = Event.versionedType;
|
|
@@ -191,7 +193,7 @@ function configured12(options) {
|
|
|
191
193
|
if (!persist)
|
|
192
194
|
return;
|
|
193
195
|
const stored = yield* db.select().from(EventTable2).where(and(eq(EventTable2.aggregate_id, aggregateID), eq(EventTable2.seq, input.seq))).get().pipe(Effect.orDie);
|
|
194
|
-
if (stored?.id === event.id && stored.type === versionedType2(definition.type, durable.version) && stored.created === (event.created ?? 0) && isDeepStrictEqual(stored.data, encoded)) {
|
|
196
|
+
if (stored?.id === event.id && stored.type === versionedType2(definition.type, durable.version) && stored.created === (event.created ?? 0) && isDeepStrictEqual(SessionLegacy.event(definition.type, stored.data), encoded)) {
|
|
195
197
|
if (input.ownerID && row?.ownerID == null) {
|
|
196
198
|
yield* db.update(EventSequenceTable2).set({ owner_id: input.ownerID }).where(eq(EventSequenceTable2.aggregate_id, aggregateID)).run().pipe(Effect.orDie);
|
|
197
199
|
}
|
|
@@ -410,7 +412,7 @@ function configured12(options) {
|
|
|
410
412
|
id: event.id,
|
|
411
413
|
created: event.created ?? 0,
|
|
412
414
|
type: definition.type,
|
|
413
|
-
data:
|
|
415
|
+
data: decodeStoredData(definition, event.data)
|
|
414
416
|
};
|
|
415
417
|
const committed = yield* commitDurableEvent(definition, payload, {
|
|
416
418
|
seq: event.seq,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-8reangzk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./repository-cache-gtsbe4v4.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event7,
|
|
21
|
+
ID: () => ID4,
|
|
22
22
|
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service28,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node31
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event7 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID4,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service28 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service85;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service76;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service28.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node31 = makeLocationNode({
|
|
188
|
+
service: Service28,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node89,
|
|
190
|
+
deps: [node89, node80]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service28, node31, exports_websearch3, Event7 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-k9gaxmgh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./repository-cache-0vtn597b.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service13,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-3hkcw4we.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service24
|
|
14
|
+
} from "./repository-cache-ps8kb85m.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service63
|
|
17
|
+
} from "./repository-cache-77d0na5t.js";
|
|
18
18
|
import {
|
|
19
19
|
Service17,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-rjf4ffg7.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input9,
|
|
34
|
+
Output: () => Output7,
|
|
35
|
+
Plugin: () => Plugin26,
|
|
36
|
+
name: () => name9
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name9 = "edit";
|
|
43
|
+
var Input9 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input7 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output7 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin26 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
196
|
const access = yield* Service17;
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
197
|
+
const fileMutation = yield* Service13;
|
|
198
|
+
const environment = yield* Service55;
|
|
199
|
+
const formatter = yield* Service24;
|
|
200
200
|
const location = yield* Service82;
|
|
201
|
-
const permission = yield*
|
|
201
|
+
const permission = yield* Service63;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name9,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input9,
|
|
207
|
+
output: Output7,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin44 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name9, Input9, Output7, Plugin26, exports_edit };
|