@opencode/core 0.0.0-dev-20105 → 0.0.0-dev-20109
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{worktree-c0bsws40.js → ripgrep-05y4kr4x.js} +31 -31
- package/dist/chunks/{worktree-tcjtg44a.js → ripgrep-0dknqqks.js} +312 -312
- package/dist/chunks/{worktree-5x326c62.js → ripgrep-0gjjjd3d.js} +10 -10
- package/dist/chunks/ripgrep-0mesazry.js +4 -0
- package/dist/chunks/{worktree-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-drmc2xrn.js → ripgrep-0pk44vc5.js} +14 -14
- package/dist/chunks/{worktree-vddp9fpw.js → ripgrep-0tdg9fh7.js} +26 -26
- package/dist/chunks/{worktree-s0agc963.js → ripgrep-0xwyr5pa.js} +8 -8
- package/dist/chunks/{worktree-tdhe5xga.js → ripgrep-16cax9zb.js} +8 -8
- package/dist/chunks/{worktree-92hycem4.js → ripgrep-1btww9rc.js} +16 -16
- package/dist/chunks/{worktree-62h9g2fv.js → ripgrep-1cvk9cz7.js} +18 -18
- package/dist/chunks/{worktree-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-4angy42y.js → ripgrep-1npsdg5v.js} +1 -1
- package/dist/chunks/{worktree-09tgrvw7.js → ripgrep-1t1zy8xf.js} +33 -33
- package/dist/chunks/{worktree-g9hze54y.js → ripgrep-1z0vrz80.js} +1 -1
- package/dist/chunks/{worktree-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
- package/dist/chunks/{worktree-mdc5nwhd.js → ripgrep-2655jpvt.js} +12 -12
- package/dist/chunks/{worktree-tzcmwgv2.js → ripgrep-26ng8yap.js} +10 -10
- package/dist/chunks/{worktree-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-5bxn2d00.js → ripgrep-2chh63ks.js} +11 -11
- package/dist/chunks/{worktree-tn0aqsam.js → ripgrep-2f0bjgcj.js} +5 -5
- package/dist/chunks/{worktree-5214kcsh.js → ripgrep-2n93j33v.js} +42 -42
- package/dist/chunks/{worktree-khmcpx04.js → ripgrep-2r6y9ghf.js} +30 -30
- package/dist/chunks/{worktree-8b96hdfe.js → ripgrep-2rgdwba4.js} +10 -10
- package/dist/chunks/{worktree-4yvz2rcy.js → ripgrep-2vkv0cnq.js} +8 -8
- package/dist/chunks/{worktree-x8z8zpk0.js → ripgrep-2ydtv6st.js} +6 -6
- package/dist/chunks/{worktree-34q1q4g3.js → ripgrep-31c41nvv.js} +4 -4
- package/dist/chunks/{worktree-1ygqh575.js → ripgrep-33w4ejhs.js} +6 -6
- package/dist/chunks/{worktree-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-gv8bg5p6.js → ripgrep-3hrtkaxn.js} +14 -14
- package/dist/chunks/{worktree-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-4qw9jy8s.js → ripgrep-3sqmy3wr.js} +6 -6
- package/dist/chunks/{worktree-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{worktree-z4ygwn82.js → ripgrep-41wzkj33.js} +9 -9
- package/dist/chunks/{worktree-a71abfbd.js → ripgrep-425t0c3w.js} +18 -18
- package/dist/chunks/{worktree-r1qjztdq.js → ripgrep-42a2d12j.js} +25 -25
- package/dist/chunks/{worktree-9knhcppf.js → ripgrep-4492rknf.js} +1 -1
- package/dist/chunks/{worktree-vv8yfjwc.js → ripgrep-4mpn9kk4.js} +8 -8
- package/dist/chunks/{worktree-eyk4t588.js → ripgrep-4t7d9xcw.js} +48 -48
- package/dist/chunks/{worktree-wg821d8s.js → ripgrep-4w5p16dy.js} +6 -6
- package/dist/chunks/{worktree-2n4z0gea.js → ripgrep-4xg06f0d.js} +21 -21
- package/dist/chunks/{worktree-r7y78zcv.js → ripgrep-53gs95a7.js} +4 -4
- package/dist/chunks/{worktree-ckecvw8r.js → ripgrep-54tcyq79.js} +2 -2
- package/dist/chunks/{worktree-ba7qst6d.js → ripgrep-58dhpfm0.js} +24 -24
- package/dist/chunks/{worktree-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-5ekn9679.js → ripgrep-5ekn9679.js} +1 -1
- package/dist/chunks/{worktree-61hs1ryt.js → ripgrep-5gjwztdx.js} +26 -26
- package/dist/chunks/{worktree-an32yxdc.js → ripgrep-5hv4n65z.js} +1 -1
- package/dist/chunks/{worktree-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{worktree-s1hq0v60.js → ripgrep-6dxmk7tt.js} +13 -13
- package/dist/chunks/{worktree-1q9thhxg.js → ripgrep-6mjqy440.js} +9 -9
- package/dist/chunks/{worktree-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-ykzz1t9e.js → ripgrep-6snx8cw9.js} +35 -35
- package/dist/chunks/{worktree-6a4q1va2.js → ripgrep-6w2fwrwz.js} +4 -4
- package/dist/chunks/{worktree-qhmjmk1w.js → ripgrep-6x24maej.js} +25 -25
- package/dist/chunks/{worktree-hbyhqfhs.js → ripgrep-705e2ap1.js} +5 -5
- package/dist/chunks/{worktree-qj5cc9w6.js → ripgrep-72vmayfs.js} +5 -5
- package/dist/chunks/{worktree-rqj5z4yb.js → ripgrep-744da817.js} +6 -6
- package/dist/chunks/{worktree-z8zh437v.js → ripgrep-7bedxkg9.js} +6 -6
- package/dist/chunks/{worktree-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-7dqw4kz8.js → ripgrep-7dqw4kz8.js} +1 -1
- package/dist/chunks/{worktree-0f9afca0.js → ripgrep-7gvwkz6m.js} +5 -5
- package/dist/chunks/{worktree-zbdxx7ek.js → ripgrep-7jbh4qja.js} +11 -11
- package/dist/chunks/{worktree-3dvng5ry.js → ripgrep-7qvcttat.js} +20 -20
- package/dist/chunks/{worktree-8xr9e5ma.js → ripgrep-7s46rnhm.js} +13 -13
- package/dist/chunks/{worktree-4fa6t2zh.js → ripgrep-7zwhry2g.js} +65 -65
- package/dist/chunks/{worktree-a55n900e.js → ripgrep-804942v8.js} +11 -11
- package/dist/chunks/{worktree-kd3d1vys.js → ripgrep-819h2spw.js} +50 -50
- package/dist/chunks/{worktree-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-28rfmn1q.js → ripgrep-8dqv1p37.js} +14 -14
- package/dist/chunks/{worktree-qqhk6b98.js → ripgrep-8f0z3sdz.js} +3 -3
- package/dist/chunks/{worktree-nfpfdzzq.js → ripgrep-8pccpkv9.js} +12 -12
- package/dist/chunks/{worktree-pag0f7q6.js → ripgrep-8xx9hty4.js} +25 -25
- package/dist/chunks/{worktree-hy20qw0x.js → ripgrep-90vr5b65.js} +22 -22
- package/dist/chunks/{worktree-a4xtdcdy.js → ripgrep-95jpzte7.js} +30 -30
- package/dist/chunks/{worktree-an0ayh94.js → ripgrep-97m20h6r.js} +31 -31
- package/dist/chunks/{worktree-wchfvtxb.js → ripgrep-9855y9nb.js} +26 -26
- package/dist/chunks/{worktree-1myxn3kd.js → ripgrep-9p3mwjt3.js} +12 -12
- package/dist/chunks/{worktree-ky3seynh.js → ripgrep-a3r4dcrj.js} +2 -2
- package/dist/chunks/{worktree-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-akgm0gv0.js → ripgrep-am0je15b.js} +4 -4
- package/dist/chunks/{worktree-y0adyrm5.js → ripgrep-awvmryqd.js} +6 -6
- package/dist/chunks/{worktree-qtq40051.js → ripgrep-b2ba3pyx.js} +43 -43
- package/dist/chunks/{worktree-ystnmmhc.js → ripgrep-b53anhnf.js} +17 -17
- package/dist/chunks/{worktree-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-vsjn4aq5.js → ripgrep-b6t7v9jc.js} +9 -9
- package/dist/chunks/{worktree-z07pqspn.js → ripgrep-bjtzbw4r.js} +3 -3
- package/dist/chunks/{worktree-cb70gybk.js → ripgrep-bqwbr744.js} +20 -20
- package/dist/chunks/{worktree-gs1aapz6.js → ripgrep-btwdw4e2.js} +3 -3
- package/dist/chunks/{worktree-ak9z2h5t.js → ripgrep-bw9kwknq.js} +6 -6
- package/dist/chunks/{worktree-yf4jcbx9.js → ripgrep-bw9zjykr.js} +6 -6
- package/dist/chunks/{worktree-d16e32c3.js → ripgrep-c3cz5zdw.js} +3 -3
- package/dist/chunks/{worktree-2k8482vm.js → ripgrep-c3ya1t7r.js} +8 -8
- package/dist/chunks/{worktree-gze2a564.js → ripgrep-c8gh6ny5.js} +23 -23
- package/dist/chunks/{worktree-pa033vv9.js → ripgrep-cd5r1gbk.js} +22 -22
- package/dist/chunks/{worktree-szv3adj2.js → ripgrep-ceaa4qgf.js} +2 -2
- package/dist/chunks/{worktree-5935cfns.js → ripgrep-cf6kmm68.js} +8 -8
- package/dist/chunks/{worktree-3qhjhqs4.js → ripgrep-ch3dmysn.js} +20 -20
- package/dist/chunks/{worktree-qm63xfj9.js → ripgrep-cvpyv3es.js} +11 -11
- package/dist/chunks/{worktree-v5z7k5hc.js → ripgrep-d94x6axq.js} +7 -7
- package/dist/chunks/{worktree-ja2sysa1.js → ripgrep-dc5qshf6.js} +9 -9
- package/dist/chunks/{worktree-dc6tzc5b.js → ripgrep-dc6tzc5b.js} +2 -2
- package/dist/chunks/{worktree-n810d9f4.js → ripgrep-ddhqp0gw.js} +10 -10
- package/dist/chunks/{worktree-d858xzj7.js → ripgrep-dj68pnee.js} +4 -4
- package/dist/chunks/{worktree-bpktnpw7.js → ripgrep-dkhbpt2q.js} +16 -16
- package/dist/chunks/{worktree-dpkg50ah.js → ripgrep-dpkg50ah.js} +1 -1
- package/dist/chunks/{worktree-xfkkasph.js → ripgrep-drwq78ky.js} +4 -4
- package/dist/chunks/{worktree-vyjb9e8r.js → ripgrep-dsnt0r96.js} +24 -24
- package/dist/chunks/{worktree-z3aggnr2.js → ripgrep-dvddc9jp.js} +14 -14
- package/dist/chunks/{worktree-rjb11c09.js → ripgrep-dw287zgh.js} +24 -24
- package/dist/chunks/{worktree-qn4ba14w.js → ripgrep-e6hmchc5.js} +5 -5
- package/dist/chunks/{worktree-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-891pch5y.js → ripgrep-ejwjepw4.js} +9 -9
- package/dist/chunks/{worktree-9p4j1g8x.js → ripgrep-ekxfv3m2.js} +9 -9
- package/dist/chunks/{worktree-76g3v1wk.js → ripgrep-epzk0z51.js} +14 -14
- package/dist/chunks/{worktree-73tb2d7t.js → ripgrep-eq1pz5kg.js} +3 -3
- package/dist/chunks/{worktree-erw5rpbs.js → ripgrep-erw5rpbs.js} +2 -2
- package/dist/chunks/{worktree-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-sd1fa18v.js → ripgrep-eve8tttf.js} +9 -9
- package/dist/chunks/{worktree-qnksa3ad.js → ripgrep-ex8v1fw5.js} +18 -18
- package/dist/chunks/{worktree-m7d3ytap.js → ripgrep-exb0dkv2.js} +6 -6
- package/dist/chunks/{worktree-gs4tkc79.js → ripgrep-f5gy8qwh.js} +8 -8
- package/dist/chunks/{worktree-d8frqt36.js → ripgrep-fjryxzsp.js} +41 -41
- package/dist/chunks/{worktree-qa3qhgw8.js → ripgrep-fm2qvscf.js} +4 -4
- package/dist/chunks/{worktree-bhsdwye2.js → ripgrep-fm8vn1sm.js} +8 -8
- package/dist/chunks/{worktree-zv6910x8.js → ripgrep-fpbye8rx.js} +23 -23
- package/dist/chunks/{worktree-85hqfz1z.js → ripgrep-frfrmw9p.js} +43 -43
- package/dist/chunks/{worktree-h0v79wmk.js → ripgrep-fsm3tqf3.js} +19 -19
- package/dist/chunks/{worktree-mjymc32g.js → ripgrep-g190xswt.js} +4 -4
- package/dist/chunks/ripgrep-g7cqfbqx.js +26 -0
- package/dist/chunks/{worktree-3t84zwd8.js → ripgrep-gb2pgqaa.js} +8 -8
- package/dist/chunks/{worktree-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-4gy17at8.js → ripgrep-gffsep6t.js} +15 -15
- package/dist/chunks/{worktree-94ek1h2f.js → ripgrep-gfvb90ym.js} +2 -2
- package/dist/chunks/{worktree-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{worktree-8xtjj1tw.js → ripgrep-gx9vf93g.js} +8 -8
- package/dist/chunks/{worktree-cqkjr9eb.js → ripgrep-gyt4m246.js} +24 -24
- package/dist/chunks/{worktree-rqz00b65.js → ripgrep-h008dk5n.js} +7 -7
- package/dist/chunks/{worktree-5qsvws2p.js → ripgrep-h3ezdy3d.js} +29 -29
- package/dist/chunks/{worktree-zt0bgn8n.js → ripgrep-h4ryydv3.js} +10 -10
- package/dist/chunks/{worktree-h6r3nrb9.js → ripgrep-h6r3nrb9.js} +1 -1
- package/dist/chunks/{worktree-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-mn20a28a.js → ripgrep-h7h63fbb.js} +11 -11
- package/dist/chunks/{worktree-4md04jt5.js → ripgrep-hf511911.js} +17 -17
- package/dist/chunks/{worktree-t5jfh8kc.js → ripgrep-hhbdsb5c.js} +12 -12
- package/dist/chunks/ripgrep-ht5y0zrb.js +18 -0
- package/dist/chunks/{worktree-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-wzz0kxab.js → ripgrep-j8zzr2am.js} +8 -8
- package/dist/chunks/{worktree-xxynqx5z.js → ripgrep-jexxy024.js} +2 -2
- package/dist/chunks/{worktree-b4cpr7mt.js → ripgrep-jfw4kvwm.js} +10 -10
- package/dist/chunks/{worktree-kes845dh.js → ripgrep-jjvw6kth.js} +16 -16
- package/dist/chunks/{worktree-0bf3khfw.js → ripgrep-jpb21ef2.js} +32 -32
- package/dist/chunks/{worktree-zjp1cm63.js → ripgrep-jpga1jag.js} +13 -13
- package/dist/chunks/{worktree-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{worktree-nxhz0hz5.js → ripgrep-k3wvx6tt.js} +11 -11
- package/dist/chunks/{worktree-b9mjazqy.js → ripgrep-k9fd4x5k.js} +26 -26
- package/dist/chunks/{worktree-qsj8tpbg.js → ripgrep-kbxe83ey.js} +15 -15
- package/dist/chunks/{worktree-f9w2621f.js → ripgrep-kc6jwj4t.js} +3 -3
- package/dist/chunks/{worktree-mmgzkw4b.js → ripgrep-kdn2p3kc.js} +8 -8
- package/dist/chunks/{worktree-jwjj0ar8.js → ripgrep-kf4qws2e.js} +18 -18
- package/dist/chunks/{worktree-mcphez6e.js → ripgrep-kqcn9zd9.js} +18 -18
- package/dist/chunks/{worktree-xbsm0w8x.js → ripgrep-kwpj5q3p.js} +16 -16
- package/dist/chunks/{worktree-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-nz0453qb.js → ripgrep-m5r7sx7n.js} +13 -13
- package/dist/chunks/{worktree-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-4ev63tw3.js → ripgrep-mad6kbbw.js} +30 -30
- package/dist/chunks/{worktree-97jrthbw.js → ripgrep-mcp2v02w.js} +24 -24
- package/dist/chunks/{worktree-s31e5dqq.js → ripgrep-mfedxs8q.js} +37 -37
- package/dist/chunks/{worktree-g8sy80jx.js → ripgrep-mjz6dtq3.js} +82 -82
- package/dist/chunks/{worktree-snbrpa5g.js → ripgrep-mm0ka8b4.js} +19 -19
- package/dist/chunks/{worktree-qv9g0gyx.js → ripgrep-mr1mqs0h.js} +28 -28
- package/dist/chunks/{worktree-7463r9za.js → ripgrep-mzgx6d9a.js} +16 -16
- package/dist/chunks/{worktree-11dqjexa.js → ripgrep-n37c4crj.js} +9 -9
- package/dist/chunks/{worktree-sn5dskjm.js → ripgrep-n5v8zpx7.js} +31 -31
- package/dist/chunks/{worktree-yfpm05b7.js → ripgrep-nme88h9m.js} +12 -12
- package/dist/chunks/{worktree-92a34jea.js → ripgrep-nn8h8wz0.js} +7 -7
- package/dist/chunks/{worktree-pnv527nz.js → ripgrep-nscznvay.js} +9 -9
- package/dist/chunks/{worktree-0xc744yh.js → ripgrep-p1bbnz1k.js} +21 -21
- package/dist/chunks/{worktree-n9c5x41c.js → ripgrep-p4sbrxvf.js} +14 -14
- package/dist/chunks/{worktree-t2q8n6ss.js → ripgrep-p58qpszk.js} +36 -36
- package/dist/chunks/{worktree-cj8h12nx.js → ripgrep-p7vkjt7n.js} +2 -2
- package/dist/chunks/{worktree-9hn6k4tm.js → ripgrep-pa8pe2x7.js} +8 -8
- package/dist/chunks/{worktree-dd33gdcs.js → ripgrep-pd3dj61d.js} +21 -21
- package/dist/chunks/{worktree-cpy6gm2a.js → ripgrep-pf2hb43r.js} +6 -6
- package/dist/chunks/{worktree-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-4hk27nw6.js → ripgrep-pjx725p7.js} +8 -8
- package/dist/chunks/{worktree-6fx6kqf3.js → ripgrep-pkmnv42m.js} +20 -20
- package/dist/chunks/{worktree-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-ysav94bt.js → ripgrep-pm44nt25.js} +12 -12
- package/dist/chunks/{worktree-wd3x2cqz.js → ripgrep-psazpmmj.js} +2 -2
- package/dist/chunks/{worktree-ntzzmvrg.js → ripgrep-pw1qsvjz.js} +4 -4
- package/dist/chunks/{worktree-p31vw5zt.js → ripgrep-q0q0ghtn.js} +9 -9
- package/dist/chunks/{worktree-qc08edcd.js → ripgrep-q1rzhr09.js} +20 -20
- package/dist/chunks/{worktree-13gx36pc.js → ripgrep-q83x7ee3.js} +9 -9
- package/dist/chunks/{worktree-k3anzat6.js → ripgrep-q8yptj1b.js} +24 -24
- package/dist/chunks/{worktree-fggcrdhd.js → ripgrep-qkbj1a6c.js} +43 -43
- package/dist/chunks/{worktree-djszqvmq.js → ripgrep-qmqgtz8f.js} +9 -9
- package/dist/chunks/{worktree-z4pkgcrj.js → ripgrep-qns6abax.js} +28 -28
- package/dist/chunks/{worktree-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-4a0nv7mx.js → ripgrep-qwjmgwmn.js} +8 -8
- package/dist/chunks/{worktree-tj8p0sq8.js → ripgrep-r0azrd8m.js} +15 -15
- package/dist/chunks/{worktree-1acjjqhc.js → ripgrep-r8xr0va3.js} +4 -4
- package/dist/chunks/{worktree-knc8nek6.js → ripgrep-rbwfq5hj.js} +3 -3
- package/dist/chunks/{worktree-bwvgaq24.js → ripgrep-rc6djb1p.js} +23 -23
- package/dist/chunks/{worktree-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-fzc1rrhc.js → ripgrep-rhb8mtwr.js} +124 -124
- package/dist/chunks/{worktree-py3kkmfq.js → ripgrep-rkprpv83.js} +2 -2
- package/dist/chunks/{worktree-3654ekc1.js → ripgrep-rzqbjppq.js} +81 -81
- package/dist/chunks/{worktree-25mrtkcq.js → ripgrep-s0n8d0w6.js} +16 -16
- package/dist/chunks/{worktree-nppmj0x6.js → ripgrep-s3c47tmb.js} +9 -9
- package/dist/chunks/{worktree-4j9vtrd0.js → ripgrep-s6191d05.js} +11 -11
- package/dist/chunks/{worktree-4n0pz7ta.js → ripgrep-s6qfrhx5.js} +32 -32
- package/dist/chunks/{worktree-rhjbct0v.js → ripgrep-s8d7rejh.js} +4 -4
- package/dist/chunks/{worktree-sr8hj6d6.js → ripgrep-sdb1ycr1.js} +18 -18
- package/dist/chunks/{worktree-pcmmyvsr.js → ripgrep-sf6b9an1.js} +4 -4
- package/dist/chunks/{worktree-ma48de29.js → ripgrep-sfkj0ta1.js} +5 -5
- package/dist/chunks/{worktree-7j2qha59.js → ripgrep-sm965ndy.js} +8 -8
- package/dist/chunks/{worktree-n2fk86tq.js → ripgrep-sq8asxn4.js} +3 -3
- package/dist/chunks/{worktree-dg2cj1yd.js → ripgrep-ssdqnhy0.js} +4 -4
- package/dist/chunks/{worktree-7d83w40e.js → ripgrep-sytsd09s.js} +1 -1
- package/dist/chunks/{worktree-tt2ps04y.js → ripgrep-t35zjnp2.js} +25 -25
- package/dist/chunks/{worktree-26300t6s.js → ripgrep-t78r90eq.js} +15 -15
- package/dist/chunks/{worktree-00z3vp5f.js → ripgrep-t9zs3egg.js} +4 -4
- package/dist/chunks/{worktree-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-qfgk5m70.js → ripgrep-tce32nx9.js} +3 -3
- package/dist/chunks/{worktree-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-p6eds5cr.js → ripgrep-td76kk5s.js} +9 -9
- package/dist/chunks/{worktree-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-348pjw7k.js → ripgrep-tfdwhmtr.js} +12 -12
- package/dist/chunks/{worktree-87nphv2h.js → ripgrep-tjem4d8t.js} +5 -5
- package/dist/chunks/{worktree-gvrsjrvz.js → ripgrep-tmnzwg47.js} +11 -11
- package/dist/chunks/{worktree-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-afjydgk3.js → ripgrep-tx92n959.js} +4 -4
- package/dist/chunks/{worktree-k53npxr2.js → ripgrep-v3sgzvyr.js} +1 -1
- package/dist/chunks/{worktree-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-v7z2bvyd.js → ripgrep-vfjhn2wd.js} +4 -4
- package/dist/chunks/{worktree-m4b4b35v.js → ripgrep-vmmah2r8.js} +37 -37
- package/dist/chunks/{worktree-v5ysw9b9.js → ripgrep-vnth2392.js} +11 -11
- package/dist/chunks/{worktree-5vd11pkv.js → ripgrep-vs30p9kt.js} +26 -26
- package/dist/chunks/{worktree-904rfj5f.js → ripgrep-vseyvmg6.js} +15 -15
- package/dist/chunks/{worktree-ftxpvdc7.js → ripgrep-vshjx1fv.js} +15 -15
- package/dist/chunks/{worktree-3nyjywfs.js → ripgrep-vsvmmhnj.js} +13 -13
- package/dist/chunks/{worktree-0mr6qh9d.js → ripgrep-vyf9ssr3.js} +1 -1
- package/dist/chunks/{worktree-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-67k3ptxm.js → ripgrep-vzd7v1mf.js} +13 -13
- package/dist/chunks/{worktree-p7q1b1dk.js → ripgrep-w1drpbkf.js} +16 -16
- package/dist/chunks/{worktree-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-emv10mfg.js → ripgrep-w6vsjfye.js} +27 -27
- package/dist/chunks/{worktree-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-0wgz3kfx.js → ripgrep-wehfp4sa.js} +6 -6
- package/dist/chunks/{worktree-1zhvft14.js → ripgrep-wmq21ajw.js} +16 -16
- package/dist/chunks/{worktree-4db8mzj7.js → ripgrep-wt2d6vc9.js} +3 -3
- package/dist/chunks/{worktree-53t702sg.js → ripgrep-ww3bgsgm.js} +45 -45
- package/dist/chunks/{worktree-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-fa3800w2.js → ripgrep-x1n40ejg.js} +5 -5
- package/dist/chunks/{worktree-8q0abqdy.js → ripgrep-x2s3qw17.js} +8 -8
- package/dist/chunks/{worktree-zk5bpfgp.js → ripgrep-xbfk4ev4.js} +9 -9
- package/dist/chunks/{worktree-e28zdnr3.js → ripgrep-xf4cnfq6.js} +3 -3
- package/dist/chunks/{worktree-6zsnk1nj.js → ripgrep-xf9es9j3.js} +11 -11
- package/dist/chunks/{worktree-xkntkrq7.js → ripgrep-xkntkrq7.js} +2 -2
- package/dist/chunks/{worktree-zp8n7hk2.js → ripgrep-xqcytcp0.js} +7 -7
- package/dist/chunks/{worktree-zqm7km32.js → ripgrep-xvkfwp2k.js} +6 -6
- package/dist/chunks/{worktree-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-h5m7e0fe.js → ripgrep-y54hr7f3.js} +9 -9
- package/dist/chunks/{worktree-wxffcvth.js → ripgrep-ybhbtxjg.js} +3 -3
- package/dist/chunks/{worktree-w6dwg7gz.js → ripgrep-yecy3dnv.js} +16 -16
- package/dist/chunks/{worktree-8hbfdwcy.js → ripgrep-yemq3d8b.js} +8 -8
- package/dist/chunks/{worktree-ssb8qcd9.js → ripgrep-yr0r81nx.js} +10 -10
- package/dist/chunks/{worktree-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-yrznvahk.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-yghvc19j.js → ripgrep-z2wpthz8.js} +12 -12
- package/dist/chunks/ripgrep-z4rsfxys.js +252 -0
- package/dist/chunks/{worktree-z63w68vq.js → ripgrep-z63w68vq.js} +2 -2
- package/dist/chunks/{worktree-k76fn4kw.js → ripgrep-zee1rnkq.js} +4 -4
- package/dist/chunks/{worktree-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-mvksx64m.js → ripgrep-zph2bqh4.js} +4 -4
- package/dist/chunks/{worktree-akfg0z59.js → ripgrep-zpx469nz.js} +14 -14
- package/dist/chunks/{worktree-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-nbpn5fgr.js → ripgrep-zv6hj0t9.js} +22 -22
- package/dist/chunks/{worktree-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +77 -77
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +139 -139
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +8 -8
- 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 +99 -99
- 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/id/id.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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +78 -78
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +92 -92
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- 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 +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +91 -91
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/worktree-6kdq0pjd.js +0 -4
- package/dist/chunks/worktree-qc068m1q.js +0 -18
- package/dist/chunks/worktree-ybrqsgzm.js +0 -252
- package/dist/chunks/worktree-zw0azyx1.js +0 -26
- /package/dist/chunks/{worktree-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./ripgrep-qkbj1a6c.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service67
|
|
9
|
+
} from "./ripgrep-6snx8cw9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin4
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin4 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service32;
|
|
26
|
+
const permission = yield* Service67;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin21 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin4, exports_mcp_resource };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID10
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-r0azrd8m.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info14
|
|
9
|
+
} from "./ripgrep-16cax9zb.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-am0je15b.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service52
|
|
16
|
+
} from "./ripgrep-vmmah2r8.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent2 = {};
|
|
26
26
|
__export(exports_agent2, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin33
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info14);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin33 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service52;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin33, exports_agent2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-53gs95a7.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node83
|
|
8
|
+
} from "./ripgrep-2vkv0cnq.js";
|
|
9
9
|
import {
|
|
10
10
|
Service77,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node81
|
|
12
|
+
} from "./ripgrep-h008dk5n.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-ht5y0zrb.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service53,
|
|
18
|
+
node56
|
|
19
|
+
} from "./ripgrep-1btww9rc.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node23
|
|
22
|
+
} from "./ripgrep-bqwbr744.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service9,
|
|
25
|
+
node11
|
|
26
|
+
} from "./ripgrep-qmqgtz8f.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service77;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service53;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service79;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service9;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node2 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node56, FSUtil.node, node81, node83, node87, node23, node11]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node2, exports_location_watcher };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-33w4ejhs.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin19,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin19 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin6 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint2);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint2, Plugin19, exports_exa };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info16
|
|
6
|
+
} from "./ripgrep-g190xswt.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info14
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info16)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info14 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info14, exports_agent3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
@@ -14,15 +14,15 @@ __export(exports_watcher, {
|
|
|
14
14
|
Event: () => Event10,
|
|
15
15
|
Native: () => Native3,
|
|
16
16
|
Options: () => Options8,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service53,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
20
|
configured: () => configured8,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer19,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node56,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -57,14 +57,14 @@ var Options8 = Schema.Struct({
|
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service53 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer19 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service53.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer20 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service53.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service53).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service53, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
167
|
function configured8(options) {
|
|
168
|
-
return makeGlobalNode({ service:
|
|
168
|
+
return makeGlobalNode({ service: Service53, layer: layer19(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node56 = configured8();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export { Event10, hasNativeBinding2, Native3, Options8,
|
|
190
|
+
export { Event10, hasNativeBinding2, Native3, Options8, Service53, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured8, node56, exports_watcher };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info9,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-q8yptj1b.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service52
|
|
11
|
+
} from "./ripgrep-vmmah2r8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin29,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin29 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info9.make({
|
|
434
|
+
id: ID5.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info9.make({
|
|
441
|
+
id: ID5.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service52;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin29, exports_skill2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service77
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-h008dk5n.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service55
|
|
12
|
+
} from "./ripgrep-cd5r1gbk.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service54
|
|
15
|
+
} from "./ripgrep-kqcn9zd9.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 "./ripgrep-mm0ka8b4.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service67
|
|
24
|
+
} from "./ripgrep-6snx8cw9.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service19
|
|
27
|
+
} from "./ripgrep-yecy3dnv.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-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: () => toModelContent4
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
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 Input11 = 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 toModelContent4 = (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*
|
|
69
|
+
const environment = yield* Service55;
|
|
70
|
+
const ripgrep = yield* Service54;
|
|
71
71
|
const location = yield* Service77;
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
72
|
+
const access = yield* Service19;
|
|
73
|
+
const permission = yield* Service67;
|
|
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 Plugin29 = {
|
|
|
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: toModelContent4(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, toModelContent4, Plugin7, exports_glob };
|