@opencode/core 0.0.0-dev-21673 → 0.0.0-dev-21677
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 +97 -97
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/chunks/{project-vgk61ywp.js → state-0421tmwc.js} +9 -9
- package/dist/chunks/{project-z928tvaj.js → state-044qwh7v.js} +15 -15
- package/dist/chunks/{project-z7tg6gqn.js → state-073kka4g.js} +19 -19
- package/dist/chunks/{project-sy1zgpba.js → state-07sd7cjb.js} +11 -11
- package/dist/chunks/{project-q6byt1vy.js → state-0gwh7h4t.js} +39 -39
- package/dist/chunks/{project-abz5va8s.js → state-0z6vy9th.js} +5 -5
- package/dist/chunks/{project-1z530119.js → state-12qba4r3.js} +12 -12
- package/dist/chunks/{project-5499276f.js → state-14k2p94z.js} +4 -4
- package/dist/chunks/{project-ywn1tvqn.js → state-14kme7tc.js} +24 -24
- package/dist/chunks/{project-5n01dcds.js → state-16cjxvjr.js} +50 -50
- package/dist/chunks/{project-avrygwsy.js → state-16tzwtzk.js} +33 -33
- package/dist/chunks/{project-xybskrbg.js → state-172kwg3m.js} +17 -17
- package/dist/chunks/{project-srg5xmqx.js → state-1915y0wf.js} +15 -15
- package/dist/chunks/{project-rnvbgrrs.js → state-1bvftq1p.js} +13 -13
- package/dist/chunks/{project-dvbbs10e.js → state-1j60aste.js} +19 -19
- package/dist/chunks/{project-mtxm79q0.js → state-1myz4yam.js} +5 -5
- package/dist/chunks/{project-0ge19jyf.js → state-1rfxem6r.js} +9 -9
- package/dist/chunks/{project-1x2knyw4.js → state-1x2knyw4.js} +1 -1
- package/dist/chunks/{project-v9ez2kgh.js → state-1yq9hg58.js} +5 -5
- package/dist/chunks/{project-3asb4mz5.js → state-1zryh94y.js} +12 -12
- package/dist/chunks/{project-9zn1tp8t.js → state-2128mz7a.js} +39 -39
- package/dist/chunks/{project-edejzvfw.js → state-26rstsyj.js} +6 -6
- package/dist/chunks/{project-1ep2p91f.js → state-27w5k9zf.js} +2 -2
- package/dist/chunks/{project-2dkjcnxp.js → state-2dkjcnxp.js} +1 -1
- package/dist/chunks/{project-6fcww07n.js → state-2jta7gtx.js} +30 -30
- package/dist/chunks/{project-2z1j29yd.js → state-2z1j29yd.js} +1 -1
- package/dist/chunks/{project-rabtnz7e.js → state-330ptwd3.js} +340 -340
- package/dist/chunks/{project-f14tnanx.js → state-35gjm3y2.js} +1 -1
- package/dist/chunks/{project-nad4mkqt.js → state-35y8wyjz.js} +8 -8
- package/dist/chunks/{project-ayjs7tqn.js → state-3cbjf1nt.js} +2 -2
- package/dist/chunks/{project-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{project-q5zq6djh.js → state-3jbgv2q6.js} +5 -5
- package/dist/chunks/{project-3nnrz6f6.js → state-3nnrz6f6.js} +1 -1
- package/dist/chunks/{project-1qc61ek6.js → state-3vfjjjh8.js} +3 -3
- package/dist/chunks/{project-svf80yc0.js → state-3y5c7d8s.js} +15 -15
- package/dist/chunks/{project-0qaw3rsr.js → state-3zwfmt1r.js} +14 -14
- package/dist/chunks/{project-40za9wsf.js → state-40za9wsf.js} +2 -2
- package/dist/chunks/{project-6dbzns9q.js → state-43znyb7f.js} +26 -26
- package/dist/chunks/{project-bt69sbx0.js → state-44m02g6g.js} +23 -23
- package/dist/chunks/{project-aay9q4a1.js → state-49cvc3c9.js} +2 -2
- package/dist/chunks/{project-ennfa1r2.js → state-49rs4jgp.js} +9 -9
- package/dist/chunks/state-4dbr8w8g.js +257 -0
- package/dist/chunks/{project-j8b1q04x.js → state-4jkzeynr.js} +20 -20
- package/dist/chunks/{project-5r72z9dp.js → state-4skqtp9p.js} +8 -8
- package/dist/chunks/{project-4v008n1t.js → state-4v008n1t.js} +1 -1
- package/dist/chunks/{project-97kra8sc.js → state-4vswmwyp.js} +22 -22
- package/dist/chunks/{project-4xvmh7wp.js → state-4xvmh7wp.js} +3 -3
- package/dist/chunks/{project-efv89yt1.js → state-4xy1pe9v.js} +18 -18
- package/dist/chunks/{project-y5s18w2x.js → state-5292rdv0.js} +13 -13
- package/dist/chunks/{project-r77dtqge.js → state-52y2wpbm.js} +7 -7
- package/dist/chunks/{project-9gmhk2dr.js → state-56n8k00e.js} +9 -9
- package/dist/chunks/{project-y7y0w8zn.js → state-5dy8ae48.js} +16 -16
- package/dist/chunks/{project-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{project-ycnyt74c.js → state-5prd5q9g.js} +7 -7
- package/dist/chunks/{project-zq38syqk.js → state-5rya34s6.js} +27 -27
- package/dist/chunks/{project-vgw2z44b.js → state-617k3a07.js} +39 -39
- package/dist/chunks/{project-ww91z9j1.js → state-67vajddp.js} +22 -22
- package/dist/chunks/{project-4d5zmrjg.js → state-697v9084.js} +10 -10
- package/dist/chunks/{project-pbck7hjv.js → state-6bt41jr7.js} +15 -15
- package/dist/chunks/{project-6esdw8yj.js → state-6esdw8yj.js} +1 -1
- package/dist/chunks/{project-35a94sfp.js → state-6g7wb8pj.js} +9 -9
- package/dist/chunks/{project-6pjqjmy2.js → state-6pjqjmy2.js} +1 -1
- package/dist/chunks/{project-fy0rchc1.js → state-6q7w75th.js} +18 -18
- package/dist/chunks/{project-dkhtsk1k.js → state-6r7v16zt.js} +34 -34
- package/dist/chunks/{project-76cb1hcw.js → state-76cb1hcw.js} +1 -1
- package/dist/chunks/{project-3j2bx2e1.js → state-77vk6v4z.js} +11 -11
- package/dist/chunks/{project-jpf3p7ma.js → state-7b2q1d31.js} +35 -35
- package/dist/chunks/{project-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{project-5wfhjcjp.js → state-7k31ezqp.js} +6 -6
- package/dist/chunks/{project-e614209m.js → state-7pbzmqpv.js} +2 -2
- package/dist/chunks/{project-dkm5gnst.js → state-7q9q1gy8.js} +7 -7
- package/dist/chunks/{project-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
- package/dist/chunks/{project-qq1647kk.js → state-85e2d6ej.js} +4 -4
- package/dist/chunks/{project-n32atgs2.js → state-8cbvmr14.js} +5 -5
- package/dist/chunks/{project-cqkh3ysm.js → state-8g0yjqch.js} +46 -46
- package/dist/chunks/{project-qjgzc4b4.js → state-8jztxfpf.js} +4 -4
- package/dist/chunks/{project-dwrjgvf7.js → state-8k817ta6.js} +3 -3
- package/dist/chunks/{project-ex2ghmgq.js → state-8k8s1td8.js} +5 -5
- package/dist/chunks/{project-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
- package/dist/chunks/{project-amz5fvp1.js → state-8x5fa4pj.js} +10 -10
- package/dist/chunks/{project-704d1ccs.js → state-8ykqf5wm.js} +6 -6
- package/dist/chunks/{project-1q3jvbda.js → state-914jfpmk.js} +3 -3
- package/dist/chunks/{project-91rj84md.js → state-91rj84md.js} +1 -1
- package/dist/chunks/{project-0zmsqe55.js → state-93xm1b5s.js} +7 -7
- package/dist/chunks/{project-mrfk2h0w.js → state-9d31p0t1.js} +33 -33
- package/dist/chunks/{project-sjbapc6a.js → state-9f8ska64.js} +15 -15
- package/dist/chunks/{project-p9jvgf3w.js → state-9nkjg9qd.js} +6 -6
- package/dist/chunks/{project-vzmjdaw1.js → state-9r0x1bva.js} +9 -9
- package/dist/chunks/{project-war36t1a.js → state-a4bn6z71.js} +85 -85
- package/dist/chunks/{project-034tev2y.js → state-aj7mw0zk.js} +2 -2
- package/dist/chunks/{project-0yqx85sf.js → state-ajd7a4ft.js} +17 -17
- package/dist/chunks/{project-qre60qsh.js → state-ancq0kt2.js} +19 -19
- package/dist/chunks/{project-r3sapc0f.js → state-aq0ejh1v.js} +32 -32
- package/dist/chunks/{project-7p97jbeh.js → state-aw3jaa69.js} +138 -138
- package/dist/chunks/{project-ftmc5s4e.js → state-axjjc5wn.js} +4 -4
- package/dist/chunks/{project-rr10qkmh.js → state-ayw644re.js} +14 -14
- package/dist/chunks/{project-b0mv4wxm.js → state-b0mv4wxm.js} +2 -2
- package/dist/chunks/{project-w9zvebzj.js → state-b5120fys.js} +6 -6
- package/dist/chunks/{project-5nnwax6m.js → state-b6vsg801.js} +5 -5
- package/dist/chunks/{project-bjhzkqyk.js → state-bjhzkqyk.js} +1 -1
- package/dist/chunks/{project-bstexjd6.js → state-bstexjd6.js} +1 -1
- package/dist/chunks/{project-8s5m2r2h.js → state-c22sd85a.js} +17 -17
- package/dist/chunks/{project-e2x7gzav.js → state-c3cfh5w6.js} +5 -5
- package/dist/chunks/{project-d2887f8n.js → state-c9t2ty9q.js} +4 -4
- package/dist/chunks/{project-bgn46r2r.js → state-cc3fa17z.js} +7 -7
- package/dist/chunks/{project-n39q19g8.js → state-cfkc8wvf.js} +4 -4
- package/dist/chunks/{project-a7p6ajz7.js → state-ct0qct1p.js} +23 -23
- package/dist/chunks/{project-jvrybeq8.js → state-d1d7qngs.js} +27 -27
- package/dist/chunks/{project-66r9f6z1.js → state-d1r5081s.js} +5 -5
- package/dist/chunks/{project-ktvnvra2.js → state-d47qntqb.js} +11 -11
- package/dist/chunks/{project-d4v9tmah.js → state-d4v9tmah.js} +2 -2
- package/dist/chunks/{project-d4d7sshf.js → state-dbdfhpvc.js} +11 -11
- package/dist/chunks/{project-6y263vp8.js → state-dbmp929s.js} +5 -5
- package/dist/chunks/{project-739vedpf.js → state-dc38nx3a.js} +17 -17
- package/dist/chunks/{project-v3bag9qh.js → state-dek4cct4.js} +24 -24
- package/dist/chunks/{project-rdyeje7b.js → state-dgmfjgtz.js} +4 -4
- package/dist/chunks/{project-cky18ayb.js → state-dj5majz4.js} +11 -11
- package/dist/chunks/{project-9w7p9nvj.js → state-dkm83r25.js} +48 -48
- package/dist/chunks/{project-dkq45v8d.js → state-dkq45v8d.js} +2 -2
- package/dist/chunks/{project-3rs19bb4.js → state-dmq3ym5w.js} +16 -16
- package/dist/chunks/{project-998yhzzq.js → state-dvj9ct8m.js} +3 -3
- package/dist/chunks/{project-tx1skdes.js → state-dwh0pt33.js} +10 -10
- package/dist/chunks/{project-9p9xqj3m.js → state-e5dqjz6v.js} +8 -8
- package/dist/chunks/{project-j43y3xqp.js → state-e71bb87j.js} +8 -8
- package/dist/chunks/{project-e834z07m.js → state-e834z07m.js} +1 -1
- package/dist/chunks/{project-pwk354ja.js → state-e8w4nwgj.js} +14 -14
- package/dist/chunks/{project-mpq7vr27.js → state-ec2dc8dw.js} +4 -4
- package/dist/chunks/{project-fwte2t7r.js → state-ee9c368m.js} +10 -10
- package/dist/chunks/{project-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{project-h4a90mfm.js → state-eh870njm.js} +32 -32
- package/dist/chunks/{project-8daav2af.js → state-en0q6wa2.js} +50 -50
- package/dist/chunks/{project-hwtw9fqj.js → state-eqmkrg1f.js} +21 -21
- package/dist/chunks/{project-z111sdr0.js → state-eqr22vcz.js} +22 -22
- package/dist/chunks/{project-83hm2hev.js → state-err1h8pn.js} +46 -46
- package/dist/chunks/{project-pacbbjc0.js → state-es3s6s73.js} +5 -5
- package/dist/chunks/{project-c618cpra.js → state-esj00h2k.js} +17 -17
- package/dist/chunks/{project-nnpg8337.js → state-ezbq2hxf.js} +5 -5
- package/dist/chunks/{project-1awzgpvc.js → state-f4ng6gb6.js} +55 -55
- package/dist/chunks/{project-7x0wbv1r.js → state-f4q3f8d1.js} +19 -19
- package/dist/chunks/{project-fffv3p7h.js → state-fffv3p7h.js} +1 -1
- package/dist/chunks/{project-hgaqcch1.js → state-fv3nkzgx.js} +19 -19
- package/dist/chunks/{project-5kvmfnk6.js → state-fwm6gfkk.js} +15 -15
- package/dist/chunks/{project-jns4gqy7.js → state-fwp9mfc9.js} +4 -4
- package/dist/chunks/{project-vpgvrtdm.js → state-fy6jsj22.js} +6 -6
- package/dist/chunks/{project-g5h9c0rr.js → state-g5h9c0rr.js} +2 -2
- package/dist/chunks/{project-prwsxbm1.js → state-gcn4eed3.js} +10 -10
- package/dist/chunks/{project-5hvygcnt.js → state-gczz9yj9.js} +10 -10
- package/dist/chunks/{project-z7r3dw85.js → state-gn44pbev.js} +18 -18
- package/dist/chunks/{project-gn0ser4y.js → state-h24qrdq3.js} +12 -12
- package/dist/chunks/{project-e17k0hsv.js → state-h5mfmrme.js} +9 -9
- package/dist/chunks/{project-me2jyc9e.js → state-haf5xzvt.js} +22 -22
- package/dist/chunks/{project-qq16f8az.js → state-hcgm01z1.js} +11 -11
- package/dist/chunks/{project-kn0rqzkh.js → state-hgk34cm5.js} +12 -12
- package/dist/chunks/{project-ce3vjht6.js → state-hvcnescj.js} +9 -9
- package/dist/chunks/{project-j113cymg.js → state-j113cymg.js} +1 -1
- package/dist/chunks/{project-hv9wbna8.js → state-jcn8ehqj.js} +8 -8
- package/dist/chunks/{project-s0kjfseb.js → state-jgdcf8mk.js} +42 -42
- package/dist/chunks/{project-csp9wjvb.js → state-k1na0zkx.js} +25 -25
- package/dist/chunks/{project-wtzytv8z.js → state-k5yr72j3.js} +36 -36
- package/dist/chunks/{project-k814nvkf.js → state-k814nvkf.js} +1 -1
- package/dist/chunks/{project-pr80rsms.js → state-k9b99h6a.js} +7 -7
- package/dist/chunks/{project-h98gx716.js → state-kgtnj03x.js} +13 -13
- package/dist/chunks/{project-x2djvzav.js → state-kk6mskxb.js} +8 -8
- package/dist/chunks/{project-bg8ynzhc.js → state-kkfb8c0y.js} +16 -16
- package/dist/chunks/{project-krhbb1d7.js → state-kr19zgz3.js} +11 -11
- package/dist/chunks/{project-hg0cvh6j.js → state-ksn4rs0j.js} +31 -31
- package/dist/chunks/{project-8tb7jz03.js → state-m0rn1g2h.js} +8 -8
- package/dist/chunks/{project-m1714858.js → state-m1714858.js} +1 -1
- package/dist/chunks/{project-m37sd98t.js → state-m37sd98t.js} +1 -1
- package/dist/chunks/{project-zgqyyky3.js → state-m3ssbqdv.js} +20 -20
- package/dist/chunks/{project-zpc2hwcg.js → state-m5bvs3x7.js} +15 -15
- package/dist/chunks/{project-8e1dptnb.js → state-m9168hv5.js} +27 -27
- package/dist/chunks/{project-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{project-maspj1v3.js → state-maspj1v3.js} +1 -1
- package/dist/chunks/{project-haqddkbz.js → state-mkh464f3.js} +18 -18
- package/dist/chunks/{project-e4hjbd03.js → state-mpcws20e.js} +22 -22
- package/dist/chunks/{project-aqxp75b5.js → state-msrrdpv7.js} +28 -28
- package/dist/chunks/{project-c8666r4c.js → state-mt3ysty9.js} +3 -3
- package/dist/chunks/{project-n0p0277s.js → state-n0p0277s.js} +1 -1
- package/dist/chunks/{project-770pw0s1.js → state-nah043kf.js} +4 -4
- package/dist/chunks/{project-brgvyzq9.js → state-nbyn5sh0.js} +3 -3
- package/dist/chunks/{project-dns528vs.js → state-ncagyvky.js} +11 -11
- package/dist/chunks/{project-756mjj2v.js → state-njsbtr8g.js} +16 -16
- package/dist/chunks/{project-4wfnas2w.js → state-nkh6rh9e.js} +10 -10
- package/dist/chunks/{project-vx3jgdek.js → state-nvxqht09.js} +3 -3
- package/dist/chunks/{project-wzr5z9r3.js → state-nz16ptw2.js} +3 -3
- package/dist/chunks/{project-p015t6z3.js → state-p015t6z3.js} +2 -2
- package/dist/chunks/{project-pc1v25hk.js → state-pc1v25hk.js} +1 -1
- package/dist/chunks/{project-84em95zf.js → state-pgz5fff2.js} +28 -28
- package/dist/chunks/{project-rva2q560.js → state-phfzhb8b.js} +22 -22
- package/dist/chunks/{project-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{project-40v8dpjy.js → state-prtgnnd9.js} +32 -32
- package/dist/chunks/{project-r7gv03kz.js → state-psdm5k4e.js} +35 -35
- package/dist/chunks/{project-b2naxwvt.js → state-q036w687.js} +7 -7
- package/dist/chunks/{project-7045vmc6.js → state-q0m6jj65.js} +12 -12
- package/dist/chunks/{project-9q84888z.js → state-q18facvz.js} +1 -1
- package/dist/chunks/{project-e3t0s7gt.js → state-q9dgbjd9.js} +7 -7
- package/dist/chunks/{project-ve21yh3e.js → state-q9gvrhhm.js} +25 -25
- package/dist/chunks/{project-n810t9ja.js → state-qcdew78b.js} +13 -13
- package/dist/chunks/{project-avt17yc9.js → state-qdz8jb55.js} +11 -11
- package/dist/chunks/{project-1zw7gc13.js → state-qek2023v.js} +28 -28
- package/dist/chunks/{project-3ryz99p0.js → state-qqg9c0kv.js} +4 -4
- package/dist/chunks/{project-k4dxaq26.js → state-qzjk3zq0.js} +6 -6
- package/dist/chunks/{project-r0yr0wbs.js → state-r0yr0wbs.js} +1 -1
- package/dist/chunks/{project-n2n972dz.js → state-r8dac9hr.js} +24 -24
- package/dist/chunks/{project-v8d3mx5z.js → state-r9x1a239.js} +10 -10
- package/dist/chunks/{project-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
- package/dist/chunks/{project-4xr8w5a9.js → state-rerepda3.js} +11 -11
- package/dist/chunks/{project-s5kv2cn0.js → state-rt3cvzdv.js} +4 -4
- package/dist/chunks/{project-rt5dr6hb.js → state-rt5dr6hb.js} +1 -1
- package/dist/chunks/{project-f607rzmc.js → state-s27kve8r.js} +9 -9
- package/dist/chunks/{project-nrf42yrn.js → state-s2x7krsf.js} +6 -6
- package/dist/chunks/{project-grtakk98.js → state-s5kcmw61.js} +2 -2
- package/dist/chunks/{project-0d7fk1v9.js → state-s7ea1dqv.js} +2 -2
- package/dist/chunks/{project-24ex7jtb.js → state-s7hry362.js} +80 -80
- package/dist/chunks/{project-s7kyse9r.js → state-s7kyse9r.js} +1 -1
- package/dist/chunks/{project-6q8sqnyr.js → state-sa0dwrka.js} +14 -14
- package/dist/chunks/{project-z0pkw490.js → state-sg11w837.js} +18 -18
- package/dist/chunks/{project-yvjpmm8d.js → state-sj5xbg4q.js} +8 -8
- package/dist/chunks/{project-aws0phmy.js → state-smz3qfre.js} +15 -15
- package/dist/chunks/{project-sqjzf8x2.js → state-sqjzf8x2.js} +1 -1
- package/dist/chunks/{project-vdpnyne0.js → state-srpk9j1a.js} +13 -13
- package/dist/chunks/{project-27bs79w9.js → state-st7p3hwb.js} +2 -2
- package/dist/chunks/{project-ryyfth3r.js → state-syh9frb4.js} +20 -20
- package/dist/chunks/{project-arr0esyr.js → state-sz2ee4nr.js} +16 -16
- package/dist/chunks/{project-ymtfe6ys.js → state-tc25ehwb.js} +13 -13
- package/dist/chunks/{project-kx3xq9yx.js → state-tc831k31.js} +19 -19
- package/dist/chunks/{project-tczq8hjw.js → state-tczq8hjw.js} +1 -1
- package/dist/chunks/{project-hy8c1z76.js → state-tg1vr1qt.js} +8 -8
- package/dist/chunks/{project-ytb85x07.js → state-thtr5m16.js} +16 -16
- package/dist/chunks/{project-tw8zr1ps.js → state-tw8zr1ps.js} +1 -1
- package/dist/chunks/{project-rhzb5sgv.js → state-twe99j6z.js} +43 -43
- package/dist/chunks/{project-twv2r8f4.js → state-twv2r8f4.js} +2 -2
- package/dist/chunks/{project-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
- package/dist/chunks/{project-pmebwkpn.js → state-v32krhk0.js} +2 -2
- package/dist/chunks/{project-g2r9we7k.js → state-v38w2q2a.js} +15 -15
- package/dist/chunks/{project-f29nb3rh.js → state-v3ntmnn8.js} +21 -21
- package/dist/chunks/{project-wheq58gc.js → state-v82fj2wn.js} +3 -3
- package/dist/chunks/{project-vd3b3yk9.js → state-vd3b3yk9.js} +1 -1
- package/dist/chunks/{project-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{project-cxk0zn9v.js → state-vm2jz6zq.js} +15 -15
- package/dist/chunks/{project-r44hbkey.js → state-vqd344gs.js} +11 -11
- package/dist/chunks/{project-gcjdgkn2.js → state-vrcsa8qx.js} +9 -9
- package/dist/chunks/{project-12t1dx64.js → state-vrd3ahjy.js} +19 -19
- package/dist/chunks/{project-avcx7cx1.js → state-vtxf8xbz.js} +4 -4
- package/dist/chunks/{project-76zwaa62.js → state-vw0xqtsc.js} +33 -33
- package/dist/chunks/{project-pdn1jn4w.js → state-vywg2bcd.js} +26 -26
- package/dist/chunks/{project-kw5jcj1m.js → state-w0dmea0f.js} +11 -11
- package/dist/chunks/{project-yd39ydqg.js → state-w3vrex7x.js} +3 -3
- package/dist/chunks/{project-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{project-yv12yyqt.js → state-w60hkx9t.js} +12 -12
- package/dist/chunks/{project-wakvkjy4.js → state-wakvkjy4.js} +1 -1
- package/dist/chunks/{project-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{project-5n9pkk4a.js → state-wr1xkt7e.js} +18 -18
- package/dist/chunks/{project-fznmdakp.js → state-wr3re1en.js} +4 -4
- package/dist/chunks/{project-qn7gt9tf.js → state-xaknme5b.js} +19 -19
- package/dist/chunks/{project-1fqeg8az.js → state-xavhsc1g.js} +11 -11
- package/dist/chunks/{project-s1hccf1w.js → state-xcq2y651.js} +4 -4
- package/dist/chunks/{project-6m3233am.js → state-xed0bk1y.js} +27 -27
- package/dist/chunks/{project-v8axt5a9.js → state-xfgh3jy3.js} +22 -22
- package/dist/chunks/{project-nfmgtk0z.js → state-xhqrarz2.js} +14 -14
- package/dist/chunks/{project-6eanynha.js → state-xrdxc1gc.js} +32 -32
- package/dist/chunks/{project-237j14t0.js → state-xrsvkqaj.js} +30 -30
- package/dist/chunks/{project-ws4j3s0e.js → state-xyygv393.js} +4 -4
- package/dist/chunks/{project-t95shdbt.js → state-y0zshknz.js} +1 -1
- package/dist/chunks/{project-3w089d6d.js → state-y5bgxahe.js} +27 -27
- package/dist/chunks/{project-yb20nhc3.js → state-yb20nhc3.js} +1 -1
- package/dist/chunks/{project-f00hk273.js → state-yfwy0123.js} +16 -16
- package/dist/chunks/{project-89jcpgd4.js → state-yh1v4sg4.js} +1 -1
- package/dist/chunks/{project-p9aq54br.js → state-yhgkr2m9.js} +28 -28
- package/dist/chunks/{project-qaxt5sce.js → state-yr9cnj92.js} +4 -4
- package/dist/chunks/{project-vecebjw1.js → state-yws5p2hn.js} +21 -21
- package/dist/chunks/{project-eapz8twa.js → state-yzq7xqav.js} +30 -30
- package/dist/chunks/{project-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{project-z38nccrw.js → state-z38nccrw.js} +1 -1
- package/dist/chunks/{project-0yrbxed6.js → state-z3zsr4pa.js} +10 -10
- package/dist/chunks/{project-tqwv9q63.js → state-z6vkvca5.js} +9 -9
- package/dist/chunks/{project-r96ere88.js → state-zfyb5tr4.js} +4 -4
- package/dist/chunks/{project-zkg84ctx.js → state-zkg84ctx.js} +1 -1
- package/dist/chunks/{project-psxnrejk.js → state-zsyhkwp4.js} +11 -11
- package/dist/chunks/{project-nrtw1kat.js → state-zztrcv6s.js} +6 -6
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- 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 +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- 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 +83 -83
- package/dist/database/database.js +70 -70
- 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 +89 -89
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +106 -106
- package/dist/file-mutation.js +94 -94
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- package/dist/git.js +10 -10
- 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 +93 -93
- 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 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +89 -83
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +98 -98
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- 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 +2 -2
- 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 +114 -114
- 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 +113 -113
- 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-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- 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 +171 -171
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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 -138
- package/dist/session/context.js +162 -162
- package/dist/session/diff.js +90 -90
- 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 +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +91 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- 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 +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +162 -162
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- 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 +114 -114
- 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 +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- 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 +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +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 +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/project-sgz1ehav.js +0 -257
- /package/dist/chunks/{project-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{project-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{project-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{project-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{project-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{project-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{project-2bv980vf.js → state-2bv980vf.js} +0 -0
- /package/dist/chunks/{project-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{project-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{project-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{project-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{project-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{project-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{project-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{project-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{project-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{project-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{project-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{project-5fjb7ams.js → state-5fjb7ams.js} +0 -0
- /package/dist/chunks/{project-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{project-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{project-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{project-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{project-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{project-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{project-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{project-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{project-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{project-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{project-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{project-a058387c.js → state-a058387c.js} +0 -0
- /package/dist/chunks/{project-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{project-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{project-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{project-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{project-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{project-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{project-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{project-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{project-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{project-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{project-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{project-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{project-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{project-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{project-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{project-e3qxr5gk.js → state-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{project-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{project-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{project-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{project-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{project-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{project-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{project-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{project-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{project-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{project-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{project-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{project-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{project-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{project-hcxmzztb.js → state-hcxmzztb.js} +0 -0
- /package/dist/chunks/{project-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{project-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{project-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{project-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{project-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{project-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{project-jze0r7bz.js → state-jze0r7bz.js} +0 -0
- /package/dist/chunks/{project-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{project-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{project-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{project-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{project-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{project-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{project-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{project-pkyv6v7h.js → state-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{project-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{project-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{project-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{project-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{project-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{project-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{project-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{project-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{project-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{project-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{project-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{project-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{project-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{project-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{project-wjj7prxr.js → state-wjj7prxr.js} +0 -0
- /package/dist/chunks/{project-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{project-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{project-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{project-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{project-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{project-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{project-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{project-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{project-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./state-dmq3ym5w.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service66,
|
|
12
|
+
node69
|
|
13
|
+
} from "./state-43znyb7f.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -24,17 +24,17 @@ __export(exports_filesystem, {
|
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event13,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
|
-
NotFoundError: () =>
|
|
34
|
-
Service: () =>
|
|
33
|
+
NotFoundError: () => NotFoundError10,
|
|
34
|
+
Service: () => Service65,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node68
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
44
44
|
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class NotFoundError10 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event13 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service65 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service65, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const search = yield*
|
|
101
|
+
const location = yield* Service82;
|
|
102
|
+
const search = yield* Service66;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
109
109
|
}));
|
|
110
110
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
111
111
|
if (input.includes("\x00"))
|
|
112
|
-
return yield* Effect.fail(new
|
|
112
|
+
return yield* Effect.fail(new NotFoundError10({ path: input }));
|
|
113
113
|
const absolute = path.resolve(location.directory, input);
|
|
114
114
|
if (!FSUtil.contains(location.directory, absolute))
|
|
115
|
-
return yield* Effect.fail(new
|
|
116
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
115
|
+
return yield* Effect.fail(new NotFoundError10({ path: input }));
|
|
116
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input })), (_, error) => Effect.die(error)));
|
|
117
117
|
if (!FSUtil.contains(root, real))
|
|
118
|
-
return yield* Effect.fail(new
|
|
118
|
+
return yield* Effect.fail(new NotFoundError10({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service65.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
125
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
125
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
|
|
126
126
|
if (info.type !== "File")
|
|
127
|
-
return yield* Effect.fail(new
|
|
127
|
+
return yield* Effect.fail(new NotFoundError10({ path: input.path }));
|
|
128
128
|
return {
|
|
129
129
|
mime: FSUtil.mimeType(target.real),
|
|
130
130
|
size: Number(info.size),
|
|
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
136
136
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
137
|
-
const missing = new
|
|
137
|
+
const missing = new NotFoundError10({ path: RelativePath2.make(input.path ?? ".") });
|
|
138
138
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "Directory")
|
|
140
140
|
return yield* missing;
|
|
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
158
158
|
})
|
|
159
159
|
});
|
|
160
160
|
}));
|
|
161
|
-
var
|
|
162
|
-
service:
|
|
161
|
+
var node68 = makeLocationNode({
|
|
162
|
+
service: Service65,
|
|
163
163
|
layer: baseLayer,
|
|
164
|
-
deps: [FSUtil.node,
|
|
164
|
+
deps: [FSUtil.node, node86, node69]
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
export { FindInput2, Write2,
|
|
167
|
+
export { FindInput2, Write2, NotFoundError10, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event13, Service65, node68, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-1zryh94y.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 make5 = createLocalProviderPlugin2({
|
|
38
38
|
id: "opencode.provider.ollama",
|
|
39
39
|
providerID: "ollama",
|
|
40
40
|
name: "Ollama",
|
|
@@ -67,6 +67,6 @@ var make6 = 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 = make5();
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { make5, OllamaPlugin2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./state-dmq3ym5w.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service17
|
|
9
|
+
} from "./state-mkh464f3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service8
|
|
12
|
+
} from "./state-f4q3f8d1.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-zkg84ctx.js";
|
|
16
16
|
import {
|
|
17
17
|
BinaryFileError2,
|
|
18
18
|
MediaIngestLimitError2,
|
|
@@ -22,26 +22,26 @@ import {
|
|
|
22
22
|
FileContent2,
|
|
23
23
|
TextPage2,
|
|
24
24
|
ListPage2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service36
|
|
26
|
+
} from "./state-v38w2q2a.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./state-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/read.ts
|
|
32
32
|
var exports_read = {};
|
|
33
33
|
__export(exports_read, {
|
|
34
|
-
Input: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Input: () => Input3,
|
|
35
|
+
Plugin: () => Plugin37,
|
|
36
36
|
ReadTool: () => exports_read,
|
|
37
|
-
name: () =>
|
|
38
|
-
toModelContent: () =>
|
|
37
|
+
name: () => name3,
|
|
38
|
+
toModelContent: () => toModelContent3
|
|
39
39
|
});
|
|
40
40
|
import { basename, dirname, join } from "path";
|
|
41
41
|
import { ToolFailure } from "@opencode/ai";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
|
-
var
|
|
44
|
+
var name3 = "read";
|
|
45
45
|
var FILENAME = "AGENTS.md";
|
|
46
46
|
var LocationInput = Schema.Struct({
|
|
47
47
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
|
|
|
52
52
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input3 = LocationInput;
|
|
56
56
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
57
|
-
var
|
|
57
|
+
var Plugin37 = {
|
|
58
58
|
id: "opencode.tool.read",
|
|
59
59
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
60
|
-
const reader = yield*
|
|
61
|
-
const access = yield*
|
|
62
|
-
const sessionInstructions = yield*
|
|
60
|
+
const reader = yield* Service36;
|
|
61
|
+
const access = yield* Service17;
|
|
62
|
+
const sessionInstructions = yield* Service8;
|
|
63
63
|
const fs = yield* FSUtil.Service;
|
|
64
|
-
const location = yield*
|
|
64
|
+
const location = yield* Service82;
|
|
65
65
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
66
|
-
name:
|
|
66
|
+
name: name3,
|
|
67
67
|
options: { codemode: false },
|
|
68
68
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
69
|
-
input:
|
|
69
|
+
input: Input3,
|
|
70
70
|
output: Output,
|
|
71
71
|
execute: (input, context) => {
|
|
72
72
|
return Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var Plugin18 = {
|
|
|
110
110
|
return { output: result.content, path: result.path };
|
|
111
111
|
}).pipe(Effect.map((result) => ({
|
|
112
112
|
output: result.output,
|
|
113
|
-
content:
|
|
113
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
114
114
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
115
115
|
})), Effect.mapError((error) => {
|
|
116
116
|
if (error instanceof ToolFailure)
|
|
@@ -143,7 +143,7 @@ ${suggestions.join(`
|
|
|
143
143
|
});
|
|
144
144
|
})
|
|
145
145
|
};
|
|
146
|
-
var
|
|
146
|
+
var toModelContent3 = (path, offset, output) => {
|
|
147
147
|
if (output.type === "file" && output.encoding === "base64")
|
|
148
148
|
return [
|
|
149
149
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -179,4 +179,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name3, Input3, Plugin37, toModelContent3, exports_read };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-q036w687.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-xcq2y651.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./state-9nkjg9qd.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service61
|
|
15
|
+
} from "./state-aq0ejh1v.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
MessageNotFoundError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./state-8k817ta6.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionMessageTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-dvj9ct8m.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeMessageRowSync2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-5prd5q9g.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/session/revert.ts
|
|
33
33
|
var exports_revert = {};
|
|
@@ -40,11 +40,11 @@ __export(exports_revert, {
|
|
|
40
40
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
41
41
|
import { Effect } from "effect";
|
|
42
42
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
43
|
-
const instances = yield*
|
|
43
|
+
const instances = yield* Service45;
|
|
44
44
|
const database = yield* Service85;
|
|
45
45
|
const bus = yield* Service84;
|
|
46
46
|
return yield* Effect.gen(function* () {
|
|
47
|
-
const snapshot = yield*
|
|
47
|
+
const snapshot = yield* Service61;
|
|
48
48
|
const original = input.session.revert?.snapshot ?? (yield* snapshot.capture());
|
|
49
49
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
50
50
|
const restore = new Map;
|
|
@@ -72,10 +72,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
72
72
|
}).pipe(instances.provide(input.session));
|
|
73
73
|
});
|
|
74
74
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
75
|
-
const instances = yield*
|
|
75
|
+
const instances = yield* Service45;
|
|
76
76
|
const bus = yield* Service84;
|
|
77
77
|
yield* Effect.gen(function* () {
|
|
78
|
-
const snapshot = yield*
|
|
78
|
+
const snapshot = yield* Service61;
|
|
79
79
|
if (!session.revert)
|
|
80
80
|
return;
|
|
81
81
|
const original = session.revert.snapshot;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service79,
|
|
4
|
+
node83
|
|
5
|
+
} from "./state-14kme7tc.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node82
|
|
20
|
+
} from "./state-44m02g6g.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service76,
|
|
23
|
+
node80
|
|
24
|
+
} from "./state-ee9c368m.js";
|
|
25
25
|
import {
|
|
26
26
|
ID12,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service77,
|
|
30
|
+
node81,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./state-mpcws20e.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./state-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service75,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer26,
|
|
52
|
+
node: () => node79,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service75 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -269,12 +269,12 @@ var causeMessage = (cause) => {
|
|
|
269
269
|
};
|
|
270
270
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
271
271
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
272
|
-
var
|
|
273
|
-
const providers = yield*
|
|
274
|
-
const models = yield*
|
|
275
|
-
const integrations = yield*
|
|
272
|
+
var layer26 = Layer.effect(Service75, Effect.gen(function* () {
|
|
273
|
+
const providers = yield* Service78;
|
|
274
|
+
const models = yield* Service77;
|
|
275
|
+
const integrations = yield* Service79;
|
|
276
276
|
const npm = yield* Npm.Service;
|
|
277
|
-
const aisdk = yield*
|
|
277
|
+
const aisdk = yield* Service76;
|
|
278
278
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
279
279
|
const provider = yield* providers.get(selected.providerID);
|
|
280
280
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
@@ -304,7 +304,7 @@ var layer21 = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
304
304
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
305
305
|
};
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service75.of({
|
|
308
308
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
309
309
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
310
310
|
if (!selected)
|
|
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
321
321
|
const name = packageName2(packageName);
|
|
322
322
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
323
323
|
}
|
|
324
|
-
var
|
|
325
|
-
service:
|
|
326
|
-
layer:
|
|
327
|
-
deps: [
|
|
324
|
+
var node79 = makeLocationNode({
|
|
325
|
+
service: Service75,
|
|
326
|
+
layer: layer26,
|
|
327
|
+
deps: [node82, node81, node83, Npm.node, node80]
|
|
328
328
|
});
|
|
329
329
|
|
|
330
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
330
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service75, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer26, node79, exports_model_resolver };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin15,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin15 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin14 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin15, exports_identity };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service70
|
|
4
|
+
} from "./state-err1h8pn.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-6pjqjmy2.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service53
|
|
10
|
+
} from "./state-jgdcf8mk.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/todo.ts
|
|
16
16
|
var exports_todo = {};
|
|
17
17
|
__export(exports_todo, {
|
|
18
18
|
Info: () => Info2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
Output: () =>
|
|
21
|
-
Plugin: () =>
|
|
19
|
+
Input: () => Input12,
|
|
20
|
+
Output: () => Output8,
|
|
21
|
+
Plugin: () => Plugin47,
|
|
22
22
|
TodoTool: () => exports_todo,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name12,
|
|
24
24
|
summarize: () => summarize2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -37,17 +37,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
|
|
|
37
37
|
`;
|
|
38
38
|
|
|
39
39
|
// src/tool/plugin/todo.ts
|
|
40
|
-
var
|
|
40
|
+
var name12 = "todowrite";
|
|
41
41
|
var Info2 = Schema.Struct({
|
|
42
42
|
content: Schema.String.annotate({ description: "Brief description of the task" }),
|
|
43
43
|
status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
|
|
44
44
|
description: "Current status of the task: pending, in_progress, completed, cancelled"
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var Input12 = Schema.Struct({
|
|
48
48
|
todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Output8 = Schema.Struct({
|
|
51
51
|
todos: Schema.Array(Info2)
|
|
52
52
|
});
|
|
53
53
|
var summarize2 = (todos) => {
|
|
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
|
|
|
61
61
|
const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
|
|
62
62
|
return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
|
|
63
63
|
};
|
|
64
|
-
var
|
|
64
|
+
var Plugin47 = {
|
|
65
65
|
id: "opencode.tool.todo",
|
|
66
66
|
effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
|
|
67
|
-
const config = yield*
|
|
68
|
-
const permission = yield*
|
|
67
|
+
const config = yield* Service70;
|
|
68
|
+
const permission = yield* Service53;
|
|
69
69
|
const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
|
|
70
70
|
const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
|
|
71
71
|
yield* ctx.tool.transform((editor) => {
|
|
72
72
|
if (!enabled())
|
|
73
73
|
return;
|
|
74
74
|
editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name12,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: todowrite_default,
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input12,
|
|
79
|
+
output: Output8,
|
|
80
80
|
execute: (input, context) => permission.assert({
|
|
81
|
-
action:
|
|
81
|
+
action: name12,
|
|
82
82
|
resources: ["*"],
|
|
83
83
|
save: ["*"],
|
|
84
84
|
sessionID: context.sessionID,
|
|
@@ -94,4 +94,4 @@ var Plugin28 = {
|
|
|
94
94
|
})
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
export {
|
|
97
|
+
export { name12, Info2, Input12, Output8, summarize2, Plugin47, exports_todo };
|