@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./ripgrep-y54hr7f3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./ripgrep-bw9zjykr.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-ht5y0zrb.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service71
|
|
15
|
+
} from "./ripgrep-qwjmgwmn.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-ybhbtxjg.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service49
|
|
23
|
+
} from "./ripgrep-q8yptj1b.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service62;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service71;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service49;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service51;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make14,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make14(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-53gs95a7.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event21,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID18,
|
|
20
|
+
Info: () => Info34,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError11,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service82,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node86,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event21 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID18 = Form.ID;
|
|
39
|
+
var Info34 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID18
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID18
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID18
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID18,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service82 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer25 = Layer.effect(Service82, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID18.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer24 = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service82.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node86 = makeLocationNode({ service: Service82, layer: layer25, deps: [node87] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID18, Info34, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service82, layer25, node86, validateAnswer2, validateFields2, exports_form, Event21 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-53gs95a7.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service77,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node81
|
|
12
|
+
} from "./ripgrep-h008dk5n.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
15
|
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
19
|
+
Service73,
|
|
20
20
|
node77,
|
|
21
21
|
Event16
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./ripgrep-vseyvmg6.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -37,7 +37,7 @@ __export(exports_model2, {
|
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service72,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
node: () => node76,
|
|
@@ -58,10 +58,10 @@ var Cost2 = Model.Cost;
|
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
59
|
var Info26 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service72 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
63
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service73;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
66
|
const location = yield* Service77;
|
|
67
67
|
let input;
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
200
|
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
-
return
|
|
201
|
+
return Service72.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var node76 = makeLocationNode({ service:
|
|
220
|
+
var node76 = makeLocationNode({ service: Service72, layer, deps: [node77, node87, node81] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -233,4 +233,4 @@ function parse5(input) {
|
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26,
|
|
236
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service72, node76, compatibility2, parse5, exports_model2, Event15 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-g190xswt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info14
|
|
9
|
+
} from "./ripgrep-16cax9zb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info18
|
|
12
|
+
} from "./ripgrep-2f0bjgcj.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info17
|
|
15
|
+
} from "./ripgrep-fm2qvscf.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info19
|
|
18
|
+
} from "./ripgrep-7gvwkz6m.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-7dqw4kz8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info13
|
|
24
|
+
} from "./ripgrep-e6hmchc5.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info10
|
|
27
|
+
} from "./ripgrep-fjryxzsp.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./ripgrep-am0je15b.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info10.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info18, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info17, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info14, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info14, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info19, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info13, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info13,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info13 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info12 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info13, exports_provider2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./ripgrep-bw9zjykr.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-ht5y0zrb.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-ybhbtxjg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./ripgrep-q8yptj1b.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service62;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-ddhqp0gw.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin20,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin20 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin8 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin8 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint3, Plugin20, exports_tinyfish };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-btwdw4e2.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-53gs95a7.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-ssdqnhy0.js";
|
|
21
21
|
import {
|
|
22
22
|
load5
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-c3ya1t7r.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-v3sgzvyr.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./ripgrep-jpb21ef2.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./ripgrep-sf6b9an1.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./ripgrep-bw9kwknq.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./ripgrep-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./ripgrep-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction3 = {};
|