@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,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID11,
|
|
3
|
-
|
|
3
|
+
Info25,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-jexxy024.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-btwdw4e2.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-53gs95a7.js";
|
|
18
18
|
import {
|
|
19
19
|
Service78,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
node82
|
|
21
|
+
} from "./ripgrep-mzgx6d9a.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service62,
|
|
24
|
+
node66
|
|
25
|
+
} from "./ripgrep-bw9zjykr.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./ripgrep-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./ripgrep-bjtzbw4r.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node65
|
|
34
|
+
} from "./ripgrep-58dhpfm0.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./ripgrep-zph2bqh4.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./ripgrep-kbxe83ey.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./ripgrep-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node27
|
|
47
|
+
} from "./ripgrep-wmq21ajw.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node63
|
|
51
|
+
} from "./ripgrep-ddhqp0gw.js";
|
|
52
52
|
import {
|
|
53
53
|
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./ripgrep-ybhbtxjg.js";
|
|
65
65
|
import {
|
|
66
66
|
ListInput5,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service69,
|
|
68
|
+
node73
|
|
69
|
+
} from "./ripgrep-tfdwhmtr.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service66,
|
|
72
|
+
node70
|
|
73
|
+
} from "./ripgrep-hf511911.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service59,
|
|
76
|
+
node64
|
|
77
|
+
} from "./ripgrep-mfedxs8q.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./ripgrep-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service34,
|
|
83
|
+
node37
|
|
84
|
+
} from "./ripgrep-h7h63fbb.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./ripgrep-kwpj5q3p.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./ripgrep-wehfp4sa.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service76,
|
|
93
|
+
node80
|
|
94
|
+
} from "./ripgrep-q0q0ghtn.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service23,
|
|
100
|
+
node26
|
|
101
|
+
} from "./ripgrep-819h2spw.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service38,
|
|
104
|
+
node41
|
|
105
|
+
} from "./ripgrep-sm965ndy.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
make12
|
|
108
|
+
} from "./ripgrep-n5v8zpx7.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./ripgrep-xf9es9j3.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -125,20 +125,20 @@ __export(exports_session, {
|
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
126
|
ID: () => ID11,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info25,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
133
|
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service22,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node25
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -149,26 +149,26 @@ import path from "path";
|
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
151
|
var ListInput3 = ListInput5;
|
|
152
|
-
class
|
|
152
|
+
class Service22 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service83;
|
|
159
159
|
const projects = yield* Service78;
|
|
160
|
-
const execution = yield*
|
|
160
|
+
const execution = yield* Service59;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
162
|
+
const transport = yield* Service34;
|
|
163
|
+
const store = yield* Service69;
|
|
164
|
+
const instances = yield* Service62;
|
|
165
|
+
const moves = yield* Service23;
|
|
166
|
+
const jobs = yield* Service66;
|
|
167
|
+
const environments = yield* Service38;
|
|
168
|
+
const locations = yield* Service76;
|
|
169
|
+
const sessions = yield* make12();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service22.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service62, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service62, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node25 = Node.makeGlobalNode({
|
|
331
|
+
service: Service22,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node70,
|
|
335
|
+
node41,
|
|
336
336
|
node88,
|
|
337
337
|
node87,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
338
|
+
node82,
|
|
339
|
+
node64,
|
|
340
|
+
node37,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
342
|
+
node73,
|
|
343
|
+
node66,
|
|
344
|
+
node65,
|
|
345
|
+
node26,
|
|
346
|
+
node27,
|
|
347
|
+
node80,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node63
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2, ListInput3,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service22, node25, exports_session };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-922hggd3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service77,
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
node81
|
|
9
|
+
} from "./ripgrep-h008dk5n.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service16,
|
|
12
|
+
node18
|
|
13
|
+
} from "./ripgrep-vs30p9kt.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_filesystem, {
|
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
Entry: () => Entry2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
@@ -31,11 +31,11 @@ __export(exports_filesystem, {
|
|
|
31
31
|
Match: () => Match2,
|
|
32
32
|
NotFoundError: () => NotFoundError2,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service15,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node17
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event2 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service15 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
94
|
const location = yield* Service77;
|
|
95
|
-
const search = yield*
|
|
95
|
+
const search = yield* Service16;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,7 +103,7 @@ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service15.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
109
|
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node17 = makeLocationNode({
|
|
144
|
+
service: Service15,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node81, node18]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service15, node17, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
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
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event18,
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info30,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service75,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node79
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event18 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service75 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info30({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service75.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info30({
|
|
80
|
+
id: ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node79 = makeGlobalNode({ service: Service75, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID15, OAuth3, Key4, Value2, Event18, Info30, Service75, node79, exports_credential };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-btwdw4e2.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-53gs95a7.js";
|
|
12
12
|
import {
|
|
13
13
|
Service79,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
node83
|
|
15
|
+
} from "./ripgrep-2vkv0cnq.js";
|
|
16
16
|
import {
|
|
17
17
|
ID17,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event19,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-dc6tzc5b.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./ripgrep-psazpmmj.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-gfvb90ym.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -38,12 +38,12 @@ __export(exports_project, {
|
|
|
38
38
|
Current: () => Current2,
|
|
39
39
|
ID: () => ID16,
|
|
40
40
|
Info: () => Info32,
|
|
41
|
-
NotFoundError: () =>
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
43
|
Service: () => Service78,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node82,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,7 +61,7 @@ var Current2 = Current3;
|
|
|
61
61
|
var Info32 = Info33;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
65
|
projectID: ID16
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
@@ -168,7 +168,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
168
168
|
time_updated: Date.now()
|
|
169
169
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
170
170
|
if (!row)
|
|
171
|
-
return yield* new
|
|
171
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
173
|
yield* bus.publish(Event19.Updated, project);
|
|
174
174
|
return project;
|
|
@@ -284,10 +284,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
284
284
|
});
|
|
285
285
|
return Service78.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
287
|
+
var node82 = makeGlobalNode({
|
|
288
288
|
service: Service78,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [node87, node88, FSUtil.node,
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node83, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export { ID16, Vcs2, Current2, Info32, UpdateInput3,
|
|
293
|
+
export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service78, node82, exports_project };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service4,
|
|
13
|
+
node: () => node6
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service4 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service4.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node6 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service4, node6, exports_update };
|