@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
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-53gs95a7.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-6snx8cw9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event9,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info9,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service49,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node52,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event9 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source4 = Skill.Source;
|
|
42
|
+
var Info9 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service49 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service49.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node52 = makeLocationNode({
|
|
112
|
+
service: Service49,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info9, ID5, Name2, available2, toModelOutput3, prepare3, Service49, node52, exports_skill5, Event9 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-53gs95a7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service75,
|
|
11
|
+
node79
|
|
12
|
+
} from "./ripgrep-mr1mqs0h.js";
|
|
13
13
|
import {
|
|
14
14
|
Service77,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node81
|
|
16
|
+
} from "./ripgrep-h008dk5n.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service55,
|
|
19
|
+
node58
|
|
20
|
+
} from "./ripgrep-cd5r1gbk.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID18,
|
|
23
|
+
Service82,
|
|
24
|
+
node86
|
|
25
|
+
} from "./ripgrep-dsnt0r96.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
33
|
+
Service74,
|
|
34
34
|
node78
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./ripgrep-t78r90eq.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError5,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service32,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured4,
|
|
57
|
+
layer: () => layer12,
|
|
58
|
+
node: () => node35
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service32 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options4 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
104
|
+
var layer12 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
105
105
|
const location = yield* Service77;
|
|
106
|
-
const environment = yield*
|
|
106
|
+
const environment = yield* Service55;
|
|
107
107
|
const bus = yield* Service83;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service82;
|
|
109
|
+
const integration = yield* Service74;
|
|
110
|
+
const credentials = yield* Service75;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -135,7 +135,7 @@ var layer14 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service75, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -151,12 +151,12 @@ var layer14 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service75, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID18.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -259,7 +259,7 @@ var layer14 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
259
259
|
entry.scope = scope;
|
|
260
260
|
const authProvider = yield* connectProvider(entry);
|
|
261
261
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
262
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
262
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service55, environment), Scope.provide(scope));
|
|
263
263
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
264
264
|
if (Exit.isSuccess(result)) {
|
|
265
265
|
entry.client = result.value.connection;
|
|
@@ -384,7 +384,7 @@ var layer14 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
384
384
|
yield* startServer(name, entry);
|
|
385
385
|
}).pipe(locks.withLock(name));
|
|
386
386
|
});
|
|
387
|
-
fork(bus.subscribe(
|
|
387
|
+
fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
388
388
|
const state = create3({
|
|
389
389
|
name: "mcp",
|
|
390
390
|
initial: () => ({
|
|
@@ -410,7 +410,7 @@ var layer14 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
410
410
|
}),
|
|
411
411
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
412
412
|
});
|
|
413
|
-
return
|
|
413
|
+
return Service32.of({
|
|
414
414
|
transform: state.transform,
|
|
415
415
|
reload: state.reload,
|
|
416
416
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -516,14 +516,14 @@ function mergeCatalogs(catalogs) {
|
|
|
516
516
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
517
517
|
});
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function configured4(options) {
|
|
520
520
|
return makeLocationNode({
|
|
521
|
-
service:
|
|
522
|
-
layer:
|
|
523
|
-
deps: [
|
|
521
|
+
service: Service32,
|
|
522
|
+
layer: layer12(options),
|
|
523
|
+
deps: [node81, node58, node87, node86, node78, node79]
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
var
|
|
526
|
+
var node35 = configured4();
|
|
527
527
|
function toElicitationField(key, property, required) {
|
|
528
528
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
529
529
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2,
|
|
577
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service32, Options4, layer12, configured4, node35, exports_mcp4 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service9,
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service9.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node11 = makeLocationNode({ service: Service9, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service9, node11, exports_location_watcher_policy };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service79,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
node83
|
|
10
|
+
} from "./ripgrep-2vkv0cnq.js";
|
|
11
11
|
import {
|
|
12
12
|
Service77,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node81
|
|
14
|
+
} from "./ripgrep-h008dk5n.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service35,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node38,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,18 +34,18 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service35 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service79;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID4.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service35.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node38 = makeLocationNode({
|
|
144
|
+
service: Service35,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node83, Global.node, node81]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service35, Service35.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service43, Service43.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error2({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID4, Error2, Service35, node38, noopLayer2, exports_snapshot2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service71,
|
|
10
|
+
node: () => node75
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service71 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service71.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node75 = makeLocationNode({ service: Service71, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service71, node75, exports_hooks };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-53gs95a7.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
17
|
+
Event: () => Event14,
|
|
18
18
|
ID: () => ID10,
|
|
19
|
-
Info: () =>
|
|
19
|
+
Info: () => Info24,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service70,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node74
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event14 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
33
|
var ID10 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
35
|
var defaultID2 = ID10.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info24 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service70 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service83;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info24.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service70.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node74 = makeLocationNode({ service: Service70, layer, deps: [node87, Global.node] });
|
|
120
120
|
|
|
121
|
-
export { ID10, Name3, defaultID2, Color2,
|
|
121
|
+
export { ID10, Name3, defaultID2, Color2, Info24, Service70, node74, exports_agent4, Event14 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make18
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make18 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make18, exports_run_coordinator };
|