@opencode/core 0.0.0-dev-21824 → 0.0.0-dev-21832
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 +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{model-resolver-7qnz14k0.js → worktree-00cp3g78.js} +46 -46
- package/dist/chunks/worktree-00yw50eq.js +261 -0
- package/dist/chunks/{model-resolver-z799v63j.js → worktree-06nywv30.js} +32 -32
- package/dist/chunks/{model-resolver-jctb9d8a.js → worktree-0p25w9ph.js} +6 -6
- package/dist/chunks/{model-resolver-g1bhyb56.js → worktree-0pv1adqs.js} +8 -8
- package/dist/chunks/{model-resolver-bt2mfhwt.js → worktree-0s95dftc.js} +5 -5
- package/dist/chunks/{model-resolver-bx5t9whz.js → worktree-0zpa3jfg.js} +16 -16
- package/dist/chunks/{model-resolver-8sktcs9h.js → worktree-11aje976.js} +4 -4
- package/dist/chunks/{model-resolver-x8nvjgx0.js → worktree-11hfp36g.js} +4 -4
- package/dist/chunks/{model-resolver-1x2knyw4.js → worktree-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-resolver-fvqqv4et.js → worktree-24cx9b7z.js} +26 -26
- package/dist/chunks/{model-resolver-39teg3wn.js → worktree-24kf08q0.js} +33 -33
- package/dist/chunks/{model-resolver-27w5k9zf.js → worktree-27w5k9zf.js} +2 -2
- package/dist/chunks/{model-resolver-ym4mb7j3.js → worktree-2bvfvv2f.js} +7 -7
- package/dist/chunks/{model-resolver-rcpyc0ca.js → worktree-2bzhzvzq.js} +5 -5
- package/dist/chunks/{model-resolver-7jtzgymz.js → worktree-2fjys8ky.js} +2 -2
- package/dist/chunks/{model-resolver-kmam2x31.js → worktree-2hn3edqp.js} +15 -15
- package/dist/chunks/{model-resolver-atw6zx0t.js → worktree-2nph1nr4.js} +32 -32
- package/dist/chunks/{model-resolver-2z1j29yd.js → worktree-2z1j29yd.js} +1 -1
- package/dist/chunks/{model-resolver-rejxp4z0.js → worktree-30r67fxy.js} +20 -20
- package/dist/chunks/{model-resolver-rqs3weq5.js → worktree-3647s6zq.js} +8 -8
- package/dist/chunks/{model-resolver-kf9wr7tw.js → worktree-36p3y7jg.js} +23 -23
- package/dist/chunks/{model-resolver-rckcvcrm.js → worktree-3akbsydm.js} +20 -20
- package/dist/chunks/{model-resolver-3cbjf1nt.js → worktree-3cbjf1nt.js} +2 -2
- package/dist/chunks/{model-resolver-rgj5zy3t.js → worktree-3dj841q6.js} +40 -40
- package/dist/chunks/{model-resolver-pg8q45fa.js → worktree-3e59rph2.js} +9 -9
- package/dist/chunks/{model-resolver-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-4wb8q865.js → worktree-3nnh6x8n.js} +30 -30
- package/dist/chunks/{model-resolver-3nnrz6f6.js → worktree-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-resolver-f7g3fwn3.js → worktree-42dtxe9w.js} +28 -28
- package/dist/chunks/{model-resolver-j2sak5a4.js → worktree-43dhkpfn.js} +11 -11
- package/dist/chunks/{model-resolver-me7kxg3j.js → worktree-45t4pvv9.js} +8 -8
- package/dist/chunks/{model-resolver-33fvch51.js → worktree-4f15exd5.js} +1 -1
- package/dist/chunks/{model-resolver-c7sh4d0v.js → worktree-4fkatqpa.js} +11 -11
- package/dist/chunks/{model-resolver-1bcx7d2f.js → worktree-4jj79f23.js} +8 -8
- package/dist/chunks/{model-resolver-ksez1xmc.js → worktree-4sarpyhn.js} +24 -24
- package/dist/chunks/{model-resolver-4v008n1t.js → worktree-4v008n1t.js} +1 -1
- package/dist/chunks/{model-resolver-4xvmh7wp.js → worktree-4xvmh7wp.js} +3 -3
- package/dist/chunks/{model-resolver-b45qxgvc.js → worktree-5fy5wh6g.js} +9 -9
- package/dist/chunks/{model-resolver-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-y2rsaeas.js → worktree-5nftfhq6.js} +40 -40
- package/dist/chunks/{model-resolver-bf131yvm.js → worktree-5p205wab.js} +4 -4
- package/dist/chunks/{model-resolver-qckrz8jc.js → worktree-5pq867hf.js} +1 -1
- package/dist/chunks/{model-resolver-e3qxr5gk.js → worktree-5qd3pb7m.js} +2 -2
- package/dist/chunks/{model-resolver-803gsyg1.js → worktree-5z2q9a8r.js} +26 -26
- package/dist/chunks/{model-resolver-3d1a3cpa.js → worktree-695afxk5.js} +21 -21
- package/dist/chunks/{model-resolver-k17y3afg.js → worktree-6e20mv58.js} +6 -6
- package/dist/chunks/{model-resolver-6esdw8yj.js → worktree-6esdw8yj.js} +1 -1
- package/dist/chunks/{model-resolver-0b24q0cx.js → worktree-6hasb7jx.js} +20 -20
- package/dist/chunks/{model-resolver-w362tghn.js → worktree-6hxyv8w6.js} +22 -22
- package/dist/chunks/{model-resolver-5zwkbtbg.js → worktree-6k2rkf8h.js} +7 -7
- package/dist/chunks/{model-resolver-d3774dqa.js → worktree-6k95y278.js} +18 -18
- package/dist/chunks/{model-resolver-6pjqjmy2.js → worktree-6pjqjmy2.js} +1 -1
- package/dist/chunks/{model-resolver-g6jpb364.js → worktree-6xsx1z0g.js} +30 -30
- package/dist/chunks/{model-resolver-qvw98tg0.js → worktree-7193gb3b.js} +5 -5
- package/dist/chunks/{model-resolver-76cb1hcw.js → worktree-76cb1hcw.js} +1 -1
- package/dist/chunks/{model-resolver-t2tc5r6d.js → worktree-7a4k0486.js} +6 -6
- package/dist/chunks/{model-resolver-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-ywa96x82.js → worktree-7e510nwg.js} +14 -14
- package/dist/chunks/{model-resolver-c9k0snj5.js → worktree-7e8scw2k.js} +32 -32
- package/dist/chunks/{model-resolver-7w2ypzdf.js → worktree-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-resolver-r31y8xxz.js → worktree-80yrqs2x.js} +28 -28
- package/dist/chunks/{model-resolver-228bjbav.js → worktree-86djksxe.js} +16 -16
- package/dist/chunks/{model-resolver-c4ryf7as.js → worktree-8h6r4m67.js} +29 -29
- package/dist/chunks/{model-resolver-msntj4bj.js → worktree-8kk74xj2.js} +16 -16
- package/dist/chunks/{model-resolver-3wyhrqfb.js → worktree-8n09hdvs.js} +8 -8
- package/dist/chunks/{model-resolver-7whwbhx2.js → worktree-8qa3g5sa.js} +2 -2
- package/dist/chunks/{model-resolver-5cy8hwkn.js → worktree-8wezqzag.js} +28 -28
- package/dist/chunks/{model-resolver-8wtp7s3z.js → worktree-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-resolver-q25re44e.js → worktree-8yqsymsg.js} +6 -6
- package/dist/chunks/{model-resolver-91rj84md.js → worktree-91rj84md.js} +1 -1
- package/dist/chunks/{model-resolver-s7hdmqvc.js → worktree-93wp6b6w.js} +7 -7
- package/dist/chunks/{model-resolver-10efznhb.js → worktree-95exz2bq.js} +13 -13
- package/dist/chunks/{model-resolver-qdr526kf.js → worktree-97p8nte2.js} +5 -5
- package/dist/chunks/{model-resolver-w7c0w3yt.js → worktree-9c77wjje.js} +14 -14
- package/dist/chunks/{model-resolver-9cx9sm2q.js → worktree-9cx9sm2q.js} +1 -1
- package/dist/chunks/{model-resolver-0mpqe4g5.js → worktree-9m513bsn.js} +17 -17
- package/dist/chunks/{model-resolver-p5hnaym9.js → worktree-9n98ejx3.js} +35 -35
- package/dist/chunks/{model-resolver-smcjsr17.js → worktree-9qpye6ef.js} +14 -14
- package/dist/chunks/{model-resolver-j6c6q1qg.js → worktree-a5vkyr04.js} +33 -33
- package/dist/chunks/{model-resolver-12vp2fj6.js → worktree-a74nhg91.js} +20 -20
- package/dist/chunks/{model-resolver-29twwrpw.js → worktree-a8mb2d06.js} +19 -19
- package/dist/chunks/{model-resolver-5r72z9dp.js → worktree-abr51mnh.js} +8 -8
- package/dist/chunks/{model-resolver-db579ykn.js → worktree-ad2qwzwg.js} +42 -42
- package/dist/chunks/{model-resolver-hz3jmkcm.js → worktree-adrm93f2.js} +6 -6
- package/dist/chunks/{model-resolver-afmnpta1.js → worktree-afmnpta1.js} +2 -2
- package/dist/chunks/{model-resolver-aj7mw0zk.js → worktree-aj7mw0zk.js} +2 -2
- package/dist/chunks/{model-resolver-ey1k9yry.js → worktree-arbdk1zr.js} +21 -21
- package/dist/chunks/{model-resolver-hzrfc1p4.js → worktree-arz7hw7x.js} +3 -3
- package/dist/chunks/{model-resolver-8m56m6bs.js → worktree-ax1j2da4.js} +13 -13
- package/dist/chunks/{model-resolver-pzp2gaxy.js → worktree-aykhvqdn.js} +11 -11
- package/dist/chunks/{model-resolver-b0mv4wxm.js → worktree-b0mv4wxm.js} +2 -2
- package/dist/chunks/{model-resolver-8y5hzfxe.js → worktree-b5qn2jt5.js} +11 -11
- package/dist/chunks/{model-resolver-qyq8h28g.js → worktree-b6h3agk1.js} +3 -3
- package/dist/chunks/{model-resolver-b6vsg801.js → worktree-b6vsg801.js} +2 -2
- package/dist/chunks/{model-resolver-hjg8p6dt.js → worktree-bdyzd1jt.js} +18 -18
- package/dist/chunks/{model-resolver-qvakvk9r.js → worktree-bgcmwhzg.js} +19 -19
- package/dist/chunks/{model-resolver-61ennm6n.js → worktree-bjhzkqyk.js} +4 -4
- package/dist/chunks/{model-resolver-mzkm9t0w.js → worktree-bs5a9a9v.js} +5 -5
- package/dist/chunks/{model-resolver-7nbsn3c1.js → worktree-cd50e0wg.js} +11 -11
- package/dist/chunks/{model-resolver-asn1derg.js → worktree-cf3d3h2s.js} +14 -14
- package/dist/chunks/{model-resolver-1y1rj8zc.js → worktree-cw1ztss7.js} +25 -25
- package/dist/chunks/{model-resolver-pqwj4rse.js → worktree-d2dx6a7h.js} +9 -9
- package/dist/chunks/{model-resolver-m3xvpryp.js → worktree-d30eyz0g.js} +54 -54
- package/dist/chunks/{model-resolver-d4v9tmah.js → worktree-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-resolver-hwcbxmjp.js → worktree-d6sbn13z.js} +13 -13
- package/dist/chunks/{model-resolver-x1fxt013.js → worktree-d85xqdn3.js} +22 -22
- package/dist/chunks/{model-resolver-y00x4xpa.js → worktree-dds9zz6p.js} +4 -4
- package/dist/chunks/{model-resolver-418q3ycz.js → worktree-dks4h55m.js} +58 -58
- package/dist/chunks/{model-resolver-1t4kmtd0.js → worktree-ds26jgk3.js} +8 -8
- package/dist/chunks/{model-resolver-dvj9ct8m.js → worktree-dvj9ct8m.js} +3 -3
- package/dist/chunks/{model-resolver-vgk61ywp.js → worktree-dz8hhvgv.js} +9 -9
- package/dist/chunks/{model-resolver-e2ne77ac.js → worktree-e2ne77ac.js} +2 -2
- package/dist/chunks/{model-resolver-hdfrs5mg.js → worktree-e2x7gzav.js} +7 -7
- package/dist/chunks/{model-resolver-qk22s80r.js → worktree-e50pjhb3.js} +16 -16
- package/dist/chunks/{model-resolver-e834z07m.js → worktree-e834z07m.js} +1 -1
- package/dist/chunks/{model-resolver-q8rfhkjm.js → worktree-e91b353h.js} +2 -2
- package/dist/chunks/{model-resolver-tb5m0pzj.js → worktree-e9p3jgk6.js} +25 -25
- package/dist/chunks/{model-resolver-f6tpkka6.js → worktree-edvcby6a.js} +12 -12
- package/dist/chunks/{model-resolver-6k9kp4xt.js → worktree-erswfzqj.js} +16 -16
- package/dist/chunks/{model-resolver-dat5z7dd.js → worktree-ewyr86ft.js} +25 -25
- package/dist/chunks/{model-resolver-z9cvf2rv.js → worktree-f21hf6dz.js} +15 -15
- package/dist/chunks/{model-resolver-69z9tmq3.js → worktree-f403h8b4.js} +13 -13
- package/dist/chunks/{model-resolver-w72ah3vp.js → worktree-f4bg9t37.js} +4 -4
- package/dist/chunks/worktree-f8ma18fn.js +18 -0
- package/dist/chunks/{model-resolver-vjqpxba6.js → worktree-fepbbevx.js} +79 -79
- package/dist/chunks/{model-resolver-fffv3p7h.js → worktree-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-resolver-nphq4awb.js → worktree-fp6jbq7y.js} +7 -7
- package/dist/chunks/{model-resolver-z8gatmq1.js → worktree-fsre0723.js} +36 -36
- package/dist/chunks/{model-resolver-3tt1qkhr.js → worktree-fwfdmgk0.js} +5 -5
- package/dist/chunks/{model-resolver-g5h9c0rr.js → worktree-g5h9c0rr.js} +2 -2
- package/dist/chunks/{model-resolver-g7esga4v.js → worktree-g7esga4v.js} +1 -1
- package/dist/chunks/{model-resolver-af84d9dx.js → worktree-gbbgar44.js} +19 -19
- package/dist/chunks/{model-resolver-vrcsa8qx.js → worktree-gcjdgkn2.js} +9 -9
- package/dist/chunks/{model-resolver-s8m3mb5a.js → worktree-gdr92bwx.js} +12 -12
- package/dist/chunks/{model-resolver-5nbxbk6s.js → worktree-geqny0bq.js} +12 -12
- package/dist/chunks/{model-resolver-frqrgtcd.js → worktree-gsb6mw3d.js} +149 -149
- package/dist/chunks/{model-resolver-7j9fhv60.js → worktree-gstbwwx4.js} +6 -6
- package/dist/chunks/{model-resolver-scz2dc1h.js → worktree-h2fy2dat.js} +15 -15
- package/dist/chunks/{model-resolver-xp82r058.js → worktree-h9t23wpm.js} +9 -9
- package/dist/chunks/{model-resolver-1s53h09z.js → worktree-hb5n2c5k.js} +17 -17
- package/dist/chunks/{model-resolver-f2sxmxc4.js → worktree-hem0ycea.js} +34 -34
- package/dist/chunks/{model-resolver-rxrz6b15.js → worktree-hhafapa0.js} +2 -2
- package/dist/chunks/{model-resolver-fcj36fpe.js → worktree-hjpd440b.js} +23 -23
- package/dist/chunks/{model-resolver-bqqm0g8t.js → worktree-hkemg6xf.js} +6 -6
- package/dist/chunks/{model-resolver-hdjrjngx.js → worktree-hn0qbz2m.js} +34 -34
- package/dist/chunks/{model-resolver-j7ztxdyv.js → worktree-hthy47ds.js} +16 -16
- package/dist/chunks/{model-resolver-78dab631.js → worktree-j0xszzq0.js} +24 -24
- package/dist/chunks/{model-resolver-j113cymg.js → worktree-j113cymg.js} +1 -1
- package/dist/chunks/{model-resolver-fe77ttzw.js → worktree-j1rq0xw8.js} +8 -8
- package/dist/chunks/{model-resolver-9hpb6mzf.js → worktree-j28jswtw.js} +13 -13
- package/dist/chunks/{model-resolver-vdasrjze.js → worktree-j6grf6bb.js} +22 -22
- package/dist/chunks/{model-resolver-kxkntq3g.js → worktree-j78bae2j.js} +5 -5
- package/dist/chunks/{model-resolver-m5regarp.js → worktree-j7vbh7t2.js} +3 -3
- package/dist/chunks/{model-resolver-hm3czf85.js → worktree-jg3dfvq9.js} +1 -1
- package/dist/chunks/{model-resolver-wp39e252.js → worktree-jjbrt4w4.js} +11 -11
- package/dist/chunks/{model-resolver-h2dp6rby.js → worktree-jjg5yz1h.js} +9 -9
- package/dist/chunks/{model-resolver-masd7ga8.js → worktree-jneg3k74.js} +4 -4
- package/dist/chunks/{model-resolver-k814nvkf.js → worktree-k814nvkf.js} +1 -1
- package/dist/chunks/{model-resolver-we45g5b8.js → worktree-k8f39ak3.js} +48 -48
- package/dist/chunks/{model-resolver-8kqcsjtz.js → worktree-kb4178cy.js} +14 -14
- package/dist/chunks/{model-resolver-wtgq8nqm.js → worktree-kd4chd64.js} +4 -4
- package/dist/chunks/{model-resolver-d599j5f6.js → worktree-krcgmfx1.js} +5 -5
- package/dist/chunks/{model-resolver-vcx56sb0.js → worktree-ksj36tw4.js} +6 -6
- package/dist/chunks/{model-resolver-kt3bjfbg.js → worktree-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-resolver-m1714858.js → worktree-m1714858.js} +1 -1
- package/dist/chunks/{model-resolver-83w2q382.js → worktree-m30wvgj2.js} +35 -35
- package/dist/chunks/{model-resolver-7m6e6bj4.js → worktree-m3sy78y2.js} +43 -43
- package/dist/chunks/{model-resolver-xk05dnhf.js → worktree-m6f7840m.js} +20 -20
- package/dist/chunks/{model-resolver-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-maspj1v3.js → worktree-maspj1v3.js} +1 -1
- package/dist/chunks/{model-resolver-rzgd3z9h.js → worktree-mcbcg4yq.js} +11 -11
- package/dist/chunks/{model-resolver-ffcdgexk.js → worktree-mhmzddah.js} +9 -9
- package/dist/chunks/{model-resolver-8h7ezeqv.js → worktree-mkt943y8.js} +8 -8
- package/dist/chunks/{model-resolver-mn53dk4j.js → worktree-mn53dk4j.js} +3 -3
- package/dist/chunks/{model-resolver-0jc0zze9.js → worktree-mzf7pqqe.js} +9 -9
- package/dist/chunks/{model-resolver-61fq8ets.js → worktree-n3nby4kh.js} +20 -20
- package/dist/chunks/{model-resolver-xaj9bxpr.js → worktree-n4q2bts1.js} +32 -32
- package/dist/chunks/{model-resolver-86cab14v.js → worktree-n5xdxtnj.js} +17 -17
- package/dist/chunks/{model-resolver-nah043kf.js → worktree-nah043kf.js} +1 -1
- package/dist/chunks/{model-resolver-2nasskxr.js → worktree-nbwz5qgq.js} +28 -28
- package/dist/chunks/{model-resolver-xhrj57em.js → worktree-ntp0y56p.js} +35 -35
- package/dist/chunks/{model-resolver-p015t6z3.js → worktree-p015t6z3.js} +2 -2
- package/dist/chunks/{model-resolver-7jehd3qf.js → worktree-p0wrzpeb.js} +18 -18
- package/dist/chunks/{model-resolver-5wcnt0wa.js → worktree-p58azk3d.js} +11 -11
- package/dist/chunks/{model-resolver-5zrxpy3q.js → worktree-p7vhpwh8.js} +5 -5
- package/dist/chunks/{model-resolver-tbtqmx60.js → worktree-p8rd148r.js} +2 -2
- package/dist/chunks/{model-resolver-xy47wren.js → worktree-p9g6dw9y.js} +89 -89
- package/dist/chunks/{model-resolver-xw34nzzk.js → worktree-pbjge5gp.js} +3 -3
- package/dist/chunks/{model-resolver-zskq6z57.js → worktree-pdt2ff5a.js} +12 -12
- package/dist/chunks/{model-resolver-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-chmj2sz0.js → worktree-pnqk97j3.js} +16 -16
- package/dist/chunks/{model-resolver-hvan4r9d.js → worktree-q066xmm0.js} +24 -24
- package/dist/chunks/{model-resolver-ms888k1z.js → worktree-q2d8rzza.js} +9 -9
- package/dist/chunks/{model-resolver-nkhqptws.js → worktree-qaky2rz3.js} +21 -21
- package/dist/chunks/{model-resolver-akea24pr.js → worktree-qpbq1ttd.js} +17 -17
- package/dist/chunks/{model-resolver-xrqjfmtn.js → worktree-qravd527.js} +30 -30
- package/dist/chunks/{model-resolver-fxkq0y0b.js → worktree-qyk31xf6.js} +23 -23
- package/dist/chunks/{model-resolver-s6ttgfdk.js → worktree-qyky1vbj.js} +21 -21
- package/dist/chunks/{model-resolver-6ejkr8wa.js → worktree-qyzf8248.js} +18 -18
- package/dist/chunks/{model-resolver-r0yr0wbs.js → worktree-r0yr0wbs.js} +1 -1
- package/dist/chunks/{model-resolver-r542h3bh.js → worktree-r542h3bh.js} +1 -1
- package/dist/chunks/{model-resolver-6jm5dfm3.js → worktree-r73cphfz.js} +9 -9
- package/dist/chunks/{model-resolver-rb9dy4dg.js → worktree-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-resolver-vcx0q4qn.js → worktree-rc8w65gm.js} +21 -21
- package/dist/chunks/{model-resolver-ah5t8643.js → worktree-rd5c3v22.js} +31 -31
- package/dist/chunks/{model-resolver-x3t9xer4.js → worktree-rdrpd67x.js} +7 -7
- package/dist/chunks/{model-resolver-3x2erv17.js → worktree-rh3bv7hm.js} +6 -6
- package/dist/chunks/{model-resolver-j2fby693.js → worktree-rkhtrhzc.js} +16 -16
- package/dist/chunks/{model-resolver-mb2fjdtf.js → worktree-rm75chpx.js} +33 -33
- package/dist/chunks/{model-resolver-wz387nhs.js → worktree-rn2kv32m.js} +11 -11
- package/dist/chunks/{model-resolver-fa91c1bh.js → worktree-rphf3yd4.js} +30 -30
- package/dist/chunks/{model-resolver-ec0dmxm2.js → worktree-rs5sv2a8.js} +10 -10
- package/dist/chunks/{model-resolver-rt5dr6hb.js → worktree-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-resolver-fkj6e9em.js → worktree-rtapny2j.js} +23 -23
- package/dist/chunks/{model-resolver-xgzatw4h.js → worktree-s4cnera1.js} +17 -17
- package/dist/chunks/{model-resolver-8t76f5pn.js → worktree-s602p396.js} +9 -9
- package/dist/chunks/{model-resolver-63ye1ehg.js → worktree-s6fqr474.js} +14 -14
- package/dist/chunks/{model-resolver-0z2x41ky.js → worktree-s7e49xxs.js} +17 -17
- package/dist/chunks/{model-resolver-sa3fpqfw.js → worktree-sa3fpqfw.js} +2 -2
- package/dist/chunks/{model-resolver-8eyz045r.js → worktree-setr6b4n.js} +44 -44
- package/dist/chunks/{model-resolver-mna4ccr2.js → worktree-sfzvze88.js} +6 -6
- package/dist/chunks/{model-resolver-pp4ewjef.js → worktree-skkyj46b.js} +17 -17
- package/dist/chunks/{model-resolver-8j00d0n5.js → worktree-smrfb97d.js} +12 -12
- package/dist/chunks/{model-resolver-hvvf9qw8.js → worktree-sq4s6wq1.js} +6 -6
- package/dist/chunks/{model-resolver-sqjzf8x2.js → worktree-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-resolver-c9t2ty9q.js → worktree-ssfehs1z.js} +4 -4
- package/dist/chunks/{model-resolver-tsp66mz8.js → worktree-stn0kadw.js} +27 -27
- package/dist/chunks/{model-resolver-5nb7nmf0.js → worktree-sz7p3par.js} +17 -17
- package/dist/chunks/{model-resolver-v842z5bm.js → worktree-t2n4qmf3.js} +1 -1
- package/dist/chunks/{model-resolver-nr4h8hhe.js → worktree-t65tnfxg.js} +3 -3
- package/dist/chunks/{model-resolver-tczq8hjw.js → worktree-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-resolver-rypfym0z.js → worktree-tp98z23w.js} +14 -14
- package/dist/chunks/{model-resolver-twv2r8f4.js → worktree-twv2r8f4.js} +2 -2
- package/dist/chunks/{model-resolver-v2r1d0zg.js → worktree-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-resolver-gzqxm82s.js → worktree-vcpvdpk3.js} +10 -10
- package/dist/chunks/{model-resolver-vd3b3yk9.js → worktree-vd3b3yk9.js} +1 -1
- package/dist/chunks/{model-resolver-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-pch3hz0d.js → worktree-vta5p220.js} +4 -4
- package/dist/chunks/{model-resolver-0ak2zsy7.js → worktree-vx60mxx6.js} +10 -10
- package/dist/chunks/{model-resolver-xge113x8.js → worktree-w145qvk2.js} +10 -10
- package/dist/chunks/{model-resolver-40za9wsf.js → worktree-w2eysc6j.js} +9 -9
- package/dist/chunks/{model-resolver-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-c8j7dx8q.js → worktree-w78kaheb.js} +11 -11
- package/dist/chunks/{model-resolver-f6fgqg68.js → worktree-w78vkh9t.js} +24 -24
- package/dist/chunks/{model-resolver-wakvkjy4.js → worktree-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-resolver-9bp57grk.js → worktree-wcnxy81f.js} +52 -52
- package/dist/chunks/{model-resolver-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-8qhr1qgv.js → worktree-wggsh2ew.js} +15 -15
- package/dist/chunks/worktree-wntn4vfk.js +26 -0
- package/dist/chunks/{model-resolver-wr3re1en.js → worktree-wr3re1en.js} +1 -1
- package/dist/chunks/{model-resolver-b53a2435.js → worktree-wvyfhptm.js} +17 -17
- package/dist/chunks/{model-resolver-ccftg0qn.js → worktree-wx8nkbb1.js} +27 -27
- package/dist/chunks/{model-resolver-zbs8468w.js → worktree-wzcykjgt.js} +70 -70
- package/dist/chunks/worktree-x2457qsk.js +517 -0
- package/dist/chunks/{model-resolver-gr17tpj8.js → worktree-x29n1dd5.js} +24 -24
- package/dist/chunks/{model-resolver-vkkqkfme.js → worktree-x564bgvm.js} +7 -7
- package/dist/chunks/{model-resolver-mpz4w9bp.js → worktree-x6bmqb9g.js} +15 -15
- package/dist/chunks/{model-resolver-gds3y6dw.js → worktree-x8rzfgrc.js} +14 -14
- package/dist/chunks/{model-resolver-bstexjd6.js → worktree-xd9cc171.js} +5 -5
- package/dist/chunks/{model-resolver-5znn373e.js → worktree-xxjr0q4c.js} +3 -3
- package/dist/chunks/{model-resolver-10pb4aek.js → worktree-xy4vra7r.js} +13 -13
- package/dist/chunks/{model-resolver-afwwx8by.js → worktree-y35tw0d0.js} +37 -37
- package/dist/chunks/{model-resolver-11y6r1g0.js → worktree-y82h6rr8.js} +23 -23
- package/dist/chunks/{model-resolver-yb20nhc3.js → worktree-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-resolver-160yv0cs.js → worktree-ydsespw1.js} +4 -4
- package/dist/chunks/{model-resolver-nxh2s6jf.js → worktree-yj3d1z1y.js} +29 -29
- package/dist/chunks/{model-resolver-deqbajdy.js → worktree-yrdnce5a.js} +1 -1
- package/dist/chunks/{model-resolver-esjvkzj3.js → worktree-yt6kymc0.js} +4 -4
- package/dist/chunks/{model-resolver-2t8c4xp2.js → worktree-yv6n3e4t.js} +8 -8
- package/dist/chunks/{model-resolver-65q1a8c2.js → worktree-yxhh0eg2.js} +2 -2
- package/dist/chunks/{model-resolver-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-7eq1vvbj.js → worktree-z1dp9nz5.js} +10 -10
- package/dist/chunks/{model-resolver-z38nccrw.js → worktree-z38nccrw.js} +1 -1
- package/dist/chunks/{model-resolver-x5xqqq2t.js → worktree-z3dz6gn5.js} +4 -4
- package/dist/chunks/{model-resolver-1sbnnat1.js → worktree-z4rz3s0w.js} +18 -18
- package/dist/chunks/{model-resolver-daht94gm.js → worktree-z54qrd8r.js} +4 -4
- package/dist/chunks/{model-resolver-630f2syh.js → worktree-z6b1690w.js} +43 -43
- package/dist/chunks/{model-resolver-q5bt1w9a.js → worktree-z8e9ff6b.js} +15 -15
- package/dist/chunks/{model-resolver-zkg84ctx.js → worktree-zkg84ctx.js} +1 -1
- package/dist/chunks/{model-resolver-mqawjeef.js → worktree-zm3q4tch.js} +26 -26
- package/dist/chunks/{model-resolver-nwf2p7qx.js → worktree-zqjghnyq.js} +25 -25
- package/dist/chunks/{model-resolver-emq6awqh.js → worktree-ztf6n3de.js} +4 -4
- package/dist/chunks/{model-resolver-hy3y5vxb.js → worktree-zweymgaq.js} +11 -11
- package/dist/chunks/{model-resolver-dczsttdk.js → worktree-zyeyds15.js} +9 -9
- package/dist/chunks/{model-resolver-82ja67e9.js → worktree-zyz3pmwr.js} +8 -8
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +87 -87
- package/dist/config/integration.js +5 -5
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +216 -216
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +120 -120
- package/dist/config/plugin/provider.js +119 -119
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +76 -76
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +53 -53
- package/dist/database/migration.js +55 -55
- 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 +95 -95
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +376 -376
- 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 +98 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +98 -98
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +109 -109
- package/dist/file-mutation.js +99 -99
- 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 +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +107 -107
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +92 -92
- package/dist/generate.js +112 -112
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +367 -367
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +160 -160
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +91 -91
- package/dist/location-services.js +364 -364
- package/dist/location.js +92 -92
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +141 -141
- package/dist/mcp/oauth.js +82 -82
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +105 -105
- package/dist/models-dev.js +112 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +120 -120
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -79
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +107 -107
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +222 -222
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +337 -337
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +120 -120
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- 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 +95 -95
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode-legacy.js +105 -105
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +356 -356
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -91
- package/dist/plugin/vcs/hg.js +91 -91
- package/dist/plugin/verbosity.js +98 -98
- package/dist/plugin/warming.js +116 -116
- 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 +6 -6
- 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 +225 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +92 -92
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +86 -86
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +102 -102
- package/dist/rpc.js +91 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +141 -141
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +93 -93
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +131 -131
- package/dist/session/generate.js +169 -169
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +102 -102
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +123 -123
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +135 -135
- package/dist/session/projector.js +93 -93
- package/dist/session/prompt.js +110 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -99
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +233 -233
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +105 -105
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +131 -131
- 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 +132 -132
- package/dist/session/skill.js +108 -108
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -214
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +171 -171
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +112 -112
- package/dist/skill.js +117 -117
- package/dist/snapshot.js +96 -96
- 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 +138 -138
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +129 -129
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +125 -125
- package/dist/tool/plugin/question.js +106 -106
- package/dist/tool/plugin/read.js +130 -130
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +118 -118
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +136 -136
- package/dist/tool/plugin/webfetch.js +118 -118
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +127 -127
- package/dist/tool/read-filesystem.js +103 -103
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +91 -91
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +6 -6
- package/dist/v1/config/migrate.js +97 -97
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +98 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +92 -92
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +80 -80
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +94 -94
- package/dist/worktree.js +99 -99
- package/package.json +8 -8
- package/dist/chunks/model-resolver-7ydrh6n0.js +0 -517
- package/dist/chunks/model-resolver-bnarqm09.js +0 -261
- package/dist/chunks/model-resolver-bzdg4g04.js +0 -26
- package/dist/chunks/model-resolver-jztn5z23.js +0 -18
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → worktree-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5fjb7ams.js → worktree-5fjb7ams.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → worktree-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a058387c.js → worktree-a058387c.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cqv5kn06.js → worktree-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jwr30sdr.js → worktree-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → worktree-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → worktree-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-pkyv6v7h.js → worktree-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wjj7prxr.js → worktree-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service86
|
|
3
|
+
} from "./worktree-f21hf6dz.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-yj3d1z1y.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service72,
|
|
9
|
+
Event13
|
|
10
|
+
} from "./worktree-a5vkyr04.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -39,8 +39,8 @@ var NON_CHAT_TYPES = ["realtime", "embedding", "reranking"];
|
|
|
39
39
|
var ModelsDevPlugin2 = define({
|
|
40
40
|
id: "opencode.models.dev",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const modelsDev = yield*
|
|
43
|
-
const bus = yield*
|
|
42
|
+
const modelsDev = yield* Service72;
|
|
43
|
+
const bus = yield* Service86;
|
|
44
44
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
45
45
|
yield* ctx.integration.transform((integrations) => {
|
|
46
46
|
for (const provider of loaded.data) {
|
|
@@ -73,7 +73,7 @@ var ModelsDevPlugin2 = define({
|
|
|
73
73
|
loaded.data = snapshots(data);
|
|
74
74
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
75
75
|
};
|
|
76
|
-
yield* bus.subscribe(
|
|
76
|
+
yield* bus.subscribe(Event13.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
77
77
|
const latest = yield* modelsDev.get();
|
|
78
78
|
if (snapshots(latest) !== loaded.data)
|
|
79
79
|
yield* apply(latest);
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load4
|
|
6
|
+
} from "./worktree-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Native: () => Native3,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service56,
|
|
16
16
|
Test: () => Test3,
|
|
17
17
|
Watcher: () => exports_watcher,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured8,
|
|
19
19
|
hasNativeBinding: () => hasNativeBinding2,
|
|
20
|
-
layer: () =>
|
|
20
|
+
layer: () => layer23,
|
|
21
21
|
nativeLayer: () => nativeLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node58,
|
|
23
23
|
testLayer: () => testLayer3
|
|
24
24
|
});
|
|
25
25
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -31,7 +31,7 @@ import path from "path";
|
|
|
31
31
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
32
32
|
var watcher = lazy2(() => {
|
|
33
33
|
try {
|
|
34
|
-
return createWrapper(
|
|
34
|
+
return createWrapper(load4());
|
|
35
35
|
} catch {
|
|
36
36
|
return;
|
|
37
37
|
}
|
|
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
49
49
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
class
|
|
52
|
+
class Service56 extends Context.Service()("@opencode/Watcher") {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
56
56
|
}
|
|
57
|
-
var
|
|
57
|
+
var layer23 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
58
58
|
if (options?.enabled === false) {
|
|
59
|
-
return
|
|
59
|
+
return Service56.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
60
60
|
}
|
|
61
61
|
const native = yield* Native3;
|
|
62
62
|
const watchers = yield* RcMap.make({
|
|
@@ -97,7 +97,7 @@ var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
97
97
|
return Stream.fromSubscription(subscription);
|
|
98
98
|
}));
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service56.of({ subscribe });
|
|
101
101
|
}));
|
|
102
102
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
103
103
|
const subscriptions = [];
|
|
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
121
121
|
};
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
|
-
const context = yield* Layer.build(
|
|
124
|
+
const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
125
125
|
const test = Test3.of({
|
|
126
|
-
subscribe: Context.get(context,
|
|
126
|
+
subscribe: Context.get(context, Service56).subscribe,
|
|
127
127
|
emit: (update) => Effect.sync(() => {
|
|
128
128
|
const target = path.resolve(update.path);
|
|
129
129
|
active.forEach((matches, publish) => {
|
|
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
133
133
|
}),
|
|
134
134
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
135
135
|
});
|
|
136
|
-
return Context.empty().pipe(Context.add(
|
|
136
|
+
return Context.empty().pipe(Context.add(Service56, test), Context.add(Test3, test));
|
|
137
137
|
}));
|
|
138
138
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
139
139
|
subscribe: (input) => {
|
|
@@ -156,10 +156,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
156
156
|
}
|
|
157
157
|
}));
|
|
158
158
|
var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
159
|
-
function
|
|
160
|
-
return makeGlobalNode({ service:
|
|
159
|
+
function configured8(options) {
|
|
160
|
+
return makeGlobalNode({ service: Service56, layer: layer23(options), deps: [nativeNode] });
|
|
161
161
|
}
|
|
162
|
-
var
|
|
162
|
+
var node58 = configured8();
|
|
163
163
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
164
164
|
if (!native || !backend) {
|
|
165
165
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -179,4 +179,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
179
179
|
}).pipe(Effect.as(undefined))));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { hasNativeBinding2, Native3,
|
|
182
|
+
export { hasNativeBinding2, Native3, Service56, Test3, layer23, testLayer3, nativeLayer2, configured8, node58, exports_watcher };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./worktree-x29n1dd5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service15,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-xy4vra7r.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service50
|
|
11
|
+
} from "./worktree-z8e9ff6b.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service62
|
|
14
|
+
} from "./worktree-d30eyz0g.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service61
|
|
17
|
+
} from "./worktree-p0wrzpeb.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input11,
|
|
29
|
+
Output: () => Output8,
|
|
30
|
+
Plugin: () => Plugin13,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name11,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name11 = "write";
|
|
39
|
+
var Input11 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output8 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin13 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service61;
|
|
56
|
+
const fileMutation = yield* Service15;
|
|
57
|
+
const environment = yield* Service59;
|
|
58
|
+
const formatter = yield* Service50;
|
|
59
|
+
const permission = yield* Service62;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name11,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input11,
|
|
69
|
+
output: Output8,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name11, Input11, Output8, toModelContent6, Plugin13, exports_write };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-8wezqzag.js";
|
|
5
5
|
import {
|
|
6
6
|
ID12,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info21,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-yj3d1z1y.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models = {};
|
|
17
|
+
__export(exports_models, {
|
|
18
|
+
ModalModels: () => exports_models,
|
|
19
|
+
derive: () => derive2,
|
|
20
|
+
get: () => get2,
|
|
21
|
+
load: () => load2
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get2(baseURL, apiKey, existing) {
|
|
58
|
+
return derive2(baseURL, await load2(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load2(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,7 +71,7 @@ async function load3(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive2(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
@@ -94,8 +94,8 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info21.make({
|
|
98
|
+
...Info21.default(providerID, id),
|
|
99
99
|
id,
|
|
100
100
|
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service77,
|
|
4
|
+
node80
|
|
5
|
+
} from "./worktree-zqjghnyq.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
|
-
Service78,
|
|
19
|
-
node82
|
|
20
|
-
} from "./model-resolver-5cy8hwkn.js";
|
|
21
|
-
import {
|
|
22
18
|
Service76,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
19
|
+
node79
|
|
20
|
+
} from "./worktree-8wezqzag.js";
|
|
21
|
+
import {
|
|
22
|
+
Service74,
|
|
23
|
+
node77
|
|
24
|
+
} from "./worktree-vx60mxx6.js";
|
|
25
25
|
import {
|
|
26
26
|
ID12,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service75,
|
|
30
|
+
node78,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./worktree-yj3d1z1y.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./worktree-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: () => Service73,
|
|
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: () => layer25,
|
|
52
|
+
node: () => node76,
|
|
53
53
|
resolveModel: () => resolveModel3,
|
|
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 Service73 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 resolveModel3 = (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 layer25 = Layer.effect(Service73, Effect.gen(function* () {
|
|
273
|
+
const providers = yield* Service76;
|
|
274
|
+
const models = yield* Service75;
|
|
275
|
+
const integrations = yield* Service77;
|
|
276
276
|
const npm = yield* Npm.Service;
|
|
277
|
-
const aisdk = yield*
|
|
277
|
+
const aisdk = yield* Service74;
|
|
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 layer27 = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
304
304
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
305
305
|
};
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service73.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 node76 = makeLocationNode({
|
|
325
|
+
service: Service73,
|
|
326
|
+
layer: layer25,
|
|
327
|
+
deps: [node79, node78, node80, Npm.node, node77]
|
|
328
328
|
});
|
|
329
329
|
|
|
330
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
330
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service73, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer25, node76, exports_model_resolver };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./worktree-86djksxe.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service59
|
|
12
|
+
} from "./worktree-x29n1dd5.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service58
|
|
15
|
+
} from "./worktree-6k95y278.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-3nnh6x8n.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service62
|
|
24
|
+
} from "./worktree-d30eyz0g.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service61
|
|
27
|
+
} from "./worktree-p0wrzpeb.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input6,
|
|
37
|
+
Output: () => Output5,
|
|
38
|
+
Plugin: () => Plugin7,
|
|
39
|
+
name: () => name6,
|
|
40
|
+
toModelContent: () => toModelContent3
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name6 = "glob";
|
|
46
|
+
var Input6 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input12 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output5 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent3 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin7 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service59;
|
|
70
|
+
const ripgrep = yield* Service58;
|
|
71
|
+
const location = yield* Service80;
|
|
72
|
+
const access = yield* Service61;
|
|
73
|
+
const permission = yield* Service62;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name6,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input6,
|
|
79
|
+
output: Output5,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name6,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin31 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name6, Input6, Output5, toModelContent3, Plugin7, exports_glob };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|