@opencode/core 0.0.0-dev-19762 → 0.0.0-dev-19765
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +89 -89
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{ripgrep-0k85axkz.js → model-resolver-00gg1b3e.js} +32 -32
- package/dist/chunks/{ripgrep-0mhxyvn3.js → model-resolver-0k1dfe12.js} +1 -1
- package/dist/chunks/{ripgrep-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{ripgrep-wfdrftzm.js → model-resolver-0rfppqx1.js} +17 -17
- package/dist/chunks/{ripgrep-1e66bexh.js → model-resolver-0rwgfah8.js} +27 -27
- package/dist/chunks/{ripgrep-pnaxc6j9.js → model-resolver-166kng33.js} +8 -8
- package/dist/chunks/{ripgrep-awaee7qt.js → model-resolver-17fma2k7.js} +4 -4
- package/dist/chunks/{ripgrep-5xtgfte3.js → model-resolver-1ajx6rf5.js} +8 -8
- package/dist/chunks/{ripgrep-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-68ah1618.js → model-resolver-1k45rzbh.js} +21 -21
- package/dist/chunks/{ripgrep-b7t222ja.js → model-resolver-1kdfkpz7.js} +17 -17
- package/dist/chunks/{ripgrep-t1qnan72.js → model-resolver-1pw3knqg.js} +86 -86
- package/dist/chunks/{ripgrep-b1f5cxcb.js → model-resolver-1r39s92t.js} +33 -33
- package/dist/chunks/model-resolver-1tm0r3ht.js +4 -0
- package/dist/chunks/{ripgrep-1x11rq2a.js → model-resolver-1x11rq2a.js} +1 -1
- package/dist/chunks/{ripgrep-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-rfkmytgk.js → model-resolver-224r8vkv.js} +24 -24
- package/dist/chunks/{ripgrep-9rb6bxms.js → model-resolver-22zy5p6a.js} +47 -47
- package/dist/chunks/{ripgrep-5c0f1prt.js → model-resolver-26k5bknw.js} +4 -4
- package/dist/chunks/{ripgrep-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-07s253ry.js → model-resolver-2r4wbs08.js} +11 -11
- package/dist/chunks/{ripgrep-wqyxzdgz.js → model-resolver-2sdqacf6.js} +5 -5
- package/dist/chunks/{ripgrep-qmqgtz8f.js → model-resolver-2sejkfem.js} +9 -9
- package/dist/chunks/{ripgrep-7ac170kv.js → model-resolver-2tfmgkzg.js} +4 -4
- package/dist/chunks/{ripgrep-qcc7yqp9.js → model-resolver-310t7hsf.js} +173 -173
- package/dist/chunks/{ripgrep-33w4ejhs.js → model-resolver-33w4ejhs.js} +2 -2
- package/dist/chunks/{ripgrep-z44ceg51.js → model-resolver-34326mmr.js} +4 -4
- package/dist/chunks/{ripgrep-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-ybhbtxjg.js → model-resolver-3ktbe3hf.js} +6 -6
- package/dist/chunks/{ripgrep-2tp5fycg.js → model-resolver-3m3a5rkz.js} +43 -43
- package/dist/chunks/{ripgrep-4ccz1nn3.js → model-resolver-3qgwcr55.js} +12 -12
- package/dist/chunks/{ripgrep-e4s1wc8x.js → model-resolver-3sf2s9k9.js} +34 -34
- package/dist/chunks/{ripgrep-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-h6r3nrb9.js → model-resolver-44h5tttr.js} +4 -4
- package/dist/chunks/{ripgrep-0pzddh61.js → model-resolver-484v57sd.js} +13 -13
- package/dist/chunks/{ripgrep-ksf2dvjr.js → model-resolver-4xyx6x5b.js} +28 -28
- package/dist/chunks/{ripgrep-qj8eh1ht.js → model-resolver-50mzsvk4.js} +4 -4
- package/dist/chunks/{ripgrep-dc6tzc5b.js → model-resolver-57ez7d0k.js} +9 -9
- package/dist/chunks/{ripgrep-q4bmvbzq.js → model-resolver-5bqjzhep.js} +22 -22
- package/dist/chunks/{ripgrep-5c4hm403.js → model-resolver-5c4hm403.js} +3 -3
- package/dist/chunks/{ripgrep-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-typ5r3q7.js → model-resolver-5k2jh76e.js} +42 -42
- package/dist/chunks/{ripgrep-zg418ags.js → model-resolver-5sfs7bry.js} +18 -18
- package/dist/chunks/{ripgrep-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-cpdkwg3y.js → model-resolver-5xdpz9c5.js} +2 -2
- package/dist/chunks/{ripgrep-1ky015m0.js → model-resolver-6145a6ex.js} +19 -19
- package/dist/chunks/{ripgrep-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-7fyqmwvb.js → model-resolver-6c2x2cd4.js} +8 -8
- package/dist/chunks/{ripgrep-2402vzrj.js → model-resolver-6h73sxmp.js} +5 -5
- package/dist/chunks/{ripgrep-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-h7nzbpgr.js → model-resolver-6pb16yyj.js} +9 -9
- package/dist/chunks/{ripgrep-j6bw85pj.js → model-resolver-6xwap4d1.js} +12 -12
- package/dist/chunks/{ripgrep-vhbe7qx8.js → model-resolver-721hjktc.js} +21 -21
- package/dist/chunks/{ripgrep-qwjskhjc.js → model-resolver-736bcg6q.js} +22 -22
- package/dist/chunks/{ripgrep-eq1pz5kg.js → model-resolver-73tb2d7t.js} +3 -3
- package/dist/chunks/{ripgrep-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-kd5q5zqj.js → model-resolver-7pmagftx.js} +13 -13
- package/dist/chunks/{ripgrep-aatngb1m.js → model-resolver-7y8hn1s8.js} +9 -9
- package/dist/chunks/{ripgrep-h5zcf7qm.js → model-resolver-82wf71gc.js} +10 -10
- package/dist/chunks/{ripgrep-jwe77tbn.js → model-resolver-85ebze8p.js} +19 -19
- package/dist/chunks/{ripgrep-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-2na7m2zk.js → model-resolver-8fqzhg78.js} +9 -9
- package/dist/chunks/{ripgrep-ry40rfbw.js → model-resolver-90k1qenw.js} +10 -10
- package/dist/chunks/{ripgrep-yp991fg2.js → model-resolver-90q3tcjv.js} +10 -10
- package/dist/chunks/{ripgrep-1h80sv90.js → model-resolver-91aeks9h.js} +5 -5
- package/dist/chunks/{ripgrep-m5mynsjq.js → model-resolver-91qth17q.js} +20 -20
- package/dist/chunks/{ripgrep-skn7z29k.js → model-resolver-92x003m3.js} +4 -4
- package/dist/chunks/{ripgrep-cnhjqeqt.js → model-resolver-9nsjpsnk.js} +22 -22
- package/dist/chunks/{ripgrep-gssxapj4.js → model-resolver-9xjpjsxw.js} +27 -27
- package/dist/chunks/{ripgrep-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-gf41fens.js → model-resolver-aj1am2a4.js} +16 -16
- package/dist/chunks/{ripgrep-d96wt5tg.js → model-resolver-ax2ahcq8.js} +31 -31
- package/dist/chunks/{ripgrep-gayx1gyt.js → model-resolver-b1v5zkbk.js} +13 -13
- package/dist/chunks/{ripgrep-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-zhq6vg7a.js → model-resolver-b97cbvw3.js} +1 -1
- package/dist/chunks/{ripgrep-q4wqpdp4.js → model-resolver-ba2wr92e.js} +54 -54
- package/dist/chunks/{ripgrep-5rnnm2b5.js → model-resolver-bezhzanq.js} +9 -9
- package/dist/chunks/{ripgrep-qn4ba14w.js → model-resolver-bgxcxs0p.js} +5 -5
- package/dist/chunks/{ripgrep-rq8ppe4g.js → model-resolver-bjeqesjn.js} +6 -6
- package/dist/chunks/{ripgrep-df9eyrmy.js → model-resolver-bm3m92rh.js} +12 -12
- package/dist/chunks/{ripgrep-zmamrcx1.js → model-resolver-bmygya3z.js} +16 -16
- package/dist/chunks/{ripgrep-d0bhsejh.js → model-resolver-btw9ee0c.js} +5 -5
- package/dist/chunks/{ripgrep-6er5rpyb.js → model-resolver-bwxdk6mq.js} +32 -32
- package/dist/chunks/{ripgrep-zn9ms18j.js → model-resolver-c27tsz6v.js} +6 -6
- package/dist/chunks/{ripgrep-ms8brn22.js → model-resolver-c970e3h5.js} +43 -43
- package/dist/chunks/{ripgrep-vmefg2k5.js → model-resolver-ccfveryq.js} +3 -3
- package/dist/chunks/{ripgrep-8zdqq6r5.js → model-resolver-ckvjdfyb.js} +8 -8
- package/dist/chunks/{ripgrep-36bje86w.js → model-resolver-cqjcs21s.js} +28 -28
- package/dist/chunks/{ripgrep-pg73jfsx.js → model-resolver-csj4vvs3.js} +13 -13
- package/dist/chunks/{ripgrep-tvfyrrh0.js → model-resolver-cvc17wee.js} +9 -9
- package/dist/chunks/{ripgrep-8097q003.js → model-resolver-d27f62ns.js} +2 -2
- package/dist/chunks/{ripgrep-91wmxywm.js → model-resolver-d55k6vmy.js} +29 -29
- package/dist/chunks/{ripgrep-dj2t23y0.js → model-resolver-dj2t23y0.js} +2 -2
- package/dist/chunks/{ripgrep-tn0aqsam.js → model-resolver-dj9sq318.js} +5 -5
- package/dist/chunks/{ripgrep-drwq78ky.js → model-resolver-drwq78ky.js} +1 -1
- package/dist/chunks/{ripgrep-nnsszj5x.js → model-resolver-e029vvsz.js} +11 -11
- package/dist/chunks/{ripgrep-6qr3rp4k.js → model-resolver-e0a154fg.js} +6 -6
- package/dist/chunks/{ripgrep-s8d7rejh.js → model-resolver-eaj1djv9.js} +6 -6
- package/dist/chunks/{ripgrep-1a209nz6.js → model-resolver-ebahhykd.js} +4 -4
- package/dist/chunks/{ripgrep-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-gx3mnxx2.js → model-resolver-emajncad.js} +11 -11
- package/dist/chunks/{ripgrep-erw5rpbs.js → model-resolver-erw5rpbs.js} +2 -2
- package/dist/chunks/{ripgrep-2yjkg2nb.js → model-resolver-esqycg01.js} +3 -3
- package/dist/chunks/{ripgrep-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-fs5cagg8.js → model-resolver-evrfjeev.js} +40 -40
- package/dist/chunks/{ripgrep-59jga5s0.js → model-resolver-eyx3sbbq.js} +4 -4
- package/dist/chunks/{ripgrep-k3cq2hmh.js → model-resolver-f1k0jycj.js} +16 -16
- package/dist/chunks/{ripgrep-3myh6vb2.js → model-resolver-f88gwaxn.js} +11 -11
- package/dist/chunks/{ripgrep-knb7evpn.js → model-resolver-fkjmw100.js} +6 -6
- package/dist/chunks/{ripgrep-c78yjyy8.js → model-resolver-fsrt26q4.js} +33 -33
- package/dist/chunks/{ripgrep-qqnsygxq.js → model-resolver-fv8x6qr6.js} +11 -11
- package/dist/chunks/{ripgrep-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
- package/dist/chunks/{ripgrep-6hrm80vt.js → model-resolver-fybg9cv5.js} +11 -11
- package/dist/chunks/{ripgrep-k2p8taat.js → model-resolver-g03mgfzw.js} +6 -6
- package/dist/chunks/{ripgrep-9evy366m.js → model-resolver-g100dm1t.js} +11 -11
- package/dist/chunks/{ripgrep-cfzny4h7.js → model-resolver-g3q3rgxp.js} +9 -9
- package/dist/chunks/{ripgrep-p12905fy.js → model-resolver-g444g17r.js} +20 -20
- package/dist/chunks/{ripgrep-z1k9zp2p.js → model-resolver-g4yx06gn.js} +31 -31
- package/dist/chunks/{ripgrep-1xh3h0en.js → model-resolver-g5yx0azb.js} +73 -73
- package/dist/chunks/{ripgrep-whndsrt7.js → model-resolver-g8wj080z.js} +3 -3
- package/dist/chunks/{ripgrep-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-cwh8n86t.js → model-resolver-gf0x0cm7.js} +5 -5
- package/dist/chunks/{ripgrep-nja8qp5w.js → model-resolver-gf2sqppg.js} +6 -6
- package/dist/chunks/{ripgrep-z5eyhade.js → model-resolver-gkykxjyj.js} +4 -4
- package/dist/chunks/{ripgrep-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-7b41q261.js → model-resolver-gxzntdky.js} +24 -24
- package/dist/chunks/{ripgrep-9zqcrcy9.js → model-resolver-h0w69axy.js} +15 -15
- package/dist/chunks/{ripgrep-7xh3d0wz.js → model-resolver-h5pwwdd2.js} +11 -11
- package/dist/chunks/{ripgrep-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-fwwk8vbp.js → model-resolver-h71w788e.js} +9 -9
- package/dist/chunks/{ripgrep-5wfanzws.js → model-resolver-hak66h8f.js} +12 -12
- package/dist/chunks/{ripgrep-6xwcf1a8.js → model-resolver-hc4fnx3k.js} +4 -4
- package/dist/chunks/{ripgrep-hh5hkdv8.js → model-resolver-hc62tks0.js} +26 -26
- package/dist/chunks/{ripgrep-hdnk95c8.js → model-resolver-hdnk95c8.js} +2 -2
- package/dist/chunks/{ripgrep-rgstwj96.js → model-resolver-he53wa6d.js} +15 -15
- package/dist/chunks/{ripgrep-7dddc68k.js → model-resolver-hrfgvzx7.js} +55 -55
- package/dist/chunks/{ripgrep-emkevskv.js → model-resolver-j2rec9x8.js} +19 -19
- package/dist/chunks/{ripgrep-q1hs5ta0.js → model-resolver-j3f2cck8.js} +3 -3
- package/dist/chunks/{ripgrep-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-a3r4dcrj.js → model-resolver-jca4demv.js} +2 -2
- package/dist/chunks/{ripgrep-8y31xnqm.js → model-resolver-jgttmm4a.js} +5 -5
- package/dist/chunks/{ripgrep-3f8gnqbr.js → model-resolver-jn50qt18.js} +22 -22
- package/dist/chunks/{ripgrep-65rthbqf.js → model-resolver-jqaqchn6.js} +43 -43
- package/dist/chunks/{ripgrep-2a3fjbcx.js → model-resolver-jvkfksvk.js} +33 -33
- package/dist/chunks/{ripgrep-bpg0r3hr.js → model-resolver-jy86jdgr.js} +3 -3
- package/dist/chunks/{ripgrep-5b3s0ses.js → model-resolver-k2t9brnj.js} +3 -3
- package/dist/chunks/{ripgrep-e37h8kwf.js → model-resolver-k307gc3k.js} +12 -12
- package/dist/chunks/{ripgrep-169ygb7g.js → model-resolver-k69qv5g3.js} +8 -8
- package/dist/chunks/{ripgrep-62g4d2jc.js → model-resolver-kb0crpaj.js} +15 -15
- package/dist/chunks/{ripgrep-jm6qsc65.js → model-resolver-kcggd0et.js} +24 -24
- package/dist/chunks/{ripgrep-wafw61rg.js → model-resolver-kdg3wy8r.js} +47 -47
- package/dist/chunks/{ripgrep-h6z8d5tn.js → model-resolver-keat3kjn.js} +4 -4
- package/dist/chunks/{ripgrep-tf19wwdv.js → model-resolver-kgt3w00r.js} +22 -22
- package/dist/chunks/{ripgrep-hfpmt9bd.js → model-resolver-km09h1rt.js} +9 -9
- package/dist/chunks/{ripgrep-xajhzveg.js → model-resolver-kmpyk7m7.js} +32 -32
- package/dist/chunks/{ripgrep-hgxefm76.js → model-resolver-ksn24y69.js} +5 -5
- package/dist/chunks/{ripgrep-h0f7nx0s.js → model-resolver-kyenax63.js} +7 -7
- package/dist/chunks/{ripgrep-dbb8vp5z.js → model-resolver-kzc3h1h3.js} +4 -4
- package/dist/chunks/{ripgrep-m0jqrx5p.js → model-resolver-m0jqrx5p.js} +2 -2
- package/dist/chunks/{ripgrep-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-x1jfkgfy.js → model-resolver-m7s4xjns.js} +26 -26
- package/dist/chunks/{ripgrep-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-q7q75z35.js → model-resolver-mbhsxkjz.js} +36 -36
- package/dist/chunks/{ripgrep-ms0xn50b.js → model-resolver-meja1nf7.js} +14 -14
- package/dist/chunks/{ripgrep-62drtx56.js → model-resolver-mj95satc.js} +12 -12
- package/dist/chunks/{ripgrep-zk6kxzfj.js → model-resolver-mmftq8sy.js} +11 -11
- package/dist/chunks/{ripgrep-8rem9epg.js → model-resolver-mqsw6bz5.js} +19 -19
- package/dist/chunks/{ripgrep-6xsy640g.js → model-resolver-n3shvtzh.js} +6 -6
- package/dist/chunks/{ripgrep-thaams7w.js → model-resolver-n4p75jwy.js} +7 -7
- package/dist/chunks/{ripgrep-s2rj5jmp.js → model-resolver-n8mmjvp8.js} +8 -8
- package/dist/chunks/{ripgrep-wa54e3vz.js → model-resolver-nf2b587t.js} +4 -4
- package/dist/chunks/{ripgrep-2ax3pmfy.js → model-resolver-nfya0jhb.js} +19 -19
- package/dist/chunks/{ripgrep-tqm34zts.js → model-resolver-nn1j8xnc.js} +5 -5
- package/dist/chunks/{ripgrep-qrp8ptp7.js → model-resolver-nn7cfy5h.js} +13 -13
- package/dist/chunks/{ripgrep-9zwzqb5j.js → model-resolver-nngqe6j4.js} +18 -18
- package/dist/chunks/{ripgrep-afxeqb9x.js → model-resolver-np9tbams.js} +32 -32
- package/dist/chunks/model-resolver-ns5dg0kc.js +26 -0
- package/dist/chunks/{ripgrep-d2aac7k2.js → model-resolver-nxhqveyz.js} +5 -5
- package/dist/chunks/{ripgrep-kt4fd5wv.js → model-resolver-nxhr90dq.js} +39 -39
- package/dist/chunks/{ripgrep-abzjsz63.js → model-resolver-nytdp6jx.js} +11 -11
- package/dist/chunks/{ripgrep-k3c624dm.js → model-resolver-nzks3jc8.js} +3 -3
- package/dist/chunks/{ripgrep-tbz0fdvh.js → model-resolver-p28j5sbe.js} +5 -5
- package/dist/chunks/{ripgrep-wsp6vqtj.js → model-resolver-paj0n6dn.js} +11 -11
- package/dist/chunks/{ripgrep-tq2587tb.js → model-resolver-ph04hnrj.js} +37 -37
- package/dist/chunks/{ripgrep-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-nz4t0xcn.js → model-resolver-pkttb123.js} +14 -14
- package/dist/chunks/{ripgrep-t8qhwgea.js → model-resolver-pnpak3cr.js} +21 -21
- package/dist/chunks/{ripgrep-jrszgcfs.js → model-resolver-pxf1encz.js} +45 -45
- package/dist/chunks/{ripgrep-6gnaea4r.js → model-resolver-q1t5m84m.js} +25 -25
- package/dist/chunks/{ripgrep-bct739vz.js → model-resolver-q2b1ymqp.js} +4 -4
- package/dist/chunks/{ripgrep-jexxy024.js → model-resolver-q3t37ft6.js} +3 -3
- package/dist/chunks/{ripgrep-ep1jjcpa.js → model-resolver-q4v73ct2.js} +23 -23
- package/dist/chunks/{ripgrep-e6hd9jay.js → model-resolver-q5t0te5a.js} +4 -4
- package/dist/chunks/{ripgrep-bfq4w3xg.js → model-resolver-q7jc4hc3.js} +18 -18
- package/dist/chunks/{ripgrep-ct330r3f.js → model-resolver-qd3b5f68.js} +47 -47
- package/dist/chunks/model-resolver-qdb30wdd.js +252 -0
- package/dist/chunks/{ripgrep-nscznvay.js → model-resolver-qg0jgkcp.js} +9 -9
- package/dist/chunks/{ripgrep-7dqw4kz8.js → model-resolver-qgn6gcr1.js} +5 -5
- package/dist/chunks/{ripgrep-n21vzndg.js → model-resolver-qjg70d8f.js} +69 -69
- package/dist/chunks/{ripgrep-z6p90rpz.js → model-resolver-qqr60gfs.js} +9 -9
- package/dist/chunks/{ripgrep-6v61b0qc.js → model-resolver-qs02hrtf.js} +8 -8
- package/dist/chunks/{ripgrep-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-xcrs1118.js → model-resolver-qxf9dtqj.js} +13 -13
- package/dist/chunks/{ripgrep-d6ky1srm.js → model-resolver-r27n78xb.js} +8 -8
- package/dist/chunks/{ripgrep-vt8bwbt5.js → model-resolver-r5zby1m5.js} +22 -22
- package/dist/chunks/{ripgrep-h0sftwr0.js → model-resolver-r7999wmh.js} +27 -27
- package/dist/chunks/{ripgrep-rhraev7y.js → model-resolver-r8xr0va3.js} +4 -4
- package/dist/chunks/{ripgrep-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-23txnh41.js → model-resolver-rk6ykxyv.js} +27 -27
- package/dist/chunks/{ripgrep-pemp1hys.js → model-resolver-rw9wzhmw.js} +22 -22
- package/dist/chunks/{ripgrep-k71n7exj.js → model-resolver-rwdk379s.js} +4 -4
- package/dist/chunks/{ripgrep-cwy8j6t2.js → model-resolver-s4k6rbz4.js} +5 -5
- package/dist/chunks/{ripgrep-78t29sg7.js → model-resolver-sgmbcbbb.js} +28 -28
- package/dist/chunks/{ripgrep-3rtxz4nr.js → model-resolver-sm965ndy.js} +8 -8
- package/dist/chunks/{ripgrep-dx1ajje0.js → model-resolver-sqg5arky.js} +12 -12
- package/dist/chunks/{ripgrep-0y563vg8.js → model-resolver-ssxq2qf8.js} +19 -19
- package/dist/chunks/{ripgrep-z7v7v5ag.js → model-resolver-swrhp9b1.js} +18 -18
- package/dist/chunks/{ripgrep-ratrq7cm.js → model-resolver-sxz6gkc3.js} +7 -7
- package/dist/chunks/{ripgrep-s9p8pbws.js → model-resolver-t9tj2qb4.js} +7 -7
- package/dist/chunks/{ripgrep-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{ripgrep-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-qb63a9zf.js → model-resolver-thh4zv80.js} +27 -27
- package/dist/chunks/{ripgrep-vec3xbqq.js → model-resolver-ts79a8cx.js} +11 -11
- package/dist/chunks/{ripgrep-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-nd0xc42w.js → model-resolver-v2amp0tf.js} +7 -7
- package/dist/chunks/{ripgrep-zt292cyn.js → model-resolver-v2n4cb87.js} +25 -25
- package/dist/chunks/{ripgrep-4cgj8kym.js → model-resolver-v96vwnpg.js} +34 -34
- package/dist/chunks/{ripgrep-xbb1qmqt.js → model-resolver-vafdc1fs.js} +12 -12
- package/dist/chunks/{ripgrep-m2yqpbad.js → model-resolver-vdc5ty7t.js} +23 -23
- package/dist/chunks/{ripgrep-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-s019phgc.js → model-resolver-vfpfzq36.js} +4 -4
- package/dist/chunks/{ripgrep-0dh0nq6w.js → model-resolver-vp724954.js} +24 -24
- package/dist/chunks/{ripgrep-8z9xk3d4.js → model-resolver-vr5243nf.js} +8 -8
- package/dist/chunks/{ripgrep-860pnem8.js → model-resolver-vtt78d7a.js} +40 -40
- package/dist/chunks/{ripgrep-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-jvcyv7ga.js → model-resolver-w0b273fa.js} +23 -23
- package/dist/chunks/{ripgrep-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-ycjb11n5.js → model-resolver-w9nng7hv.js} +6 -6
- package/dist/chunks/{ripgrep-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-gyae7r3z.js → model-resolver-wfde3x95.js} +12 -12
- package/dist/chunks/{ripgrep-hpsw77yp.js → model-resolver-whjc79nc.js} +9 -9
- package/dist/chunks/{ripgrep-m1zn1q1z.js → model-resolver-wr76dh16.js} +19 -19
- package/dist/chunks/{ripgrep-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-439dx3w9.js → model-resolver-x1xcpfha.js} +9 -9
- package/dist/chunks/{ripgrep-12g0wccw.js → model-resolver-x4d9s46j.js} +19 -19
- package/dist/chunks/{ripgrep-k6j8tzw3.js → model-resolver-x8mcy56q.js} +32 -32
- package/dist/chunks/{ripgrep-b84fgpga.js → model-resolver-xfjax5kj.js} +6 -6
- package/dist/chunks/{ripgrep-zk15axjh.js → model-resolver-xjtg51km.js} +5 -5
- package/dist/chunks/{ripgrep-m65jqktx.js → model-resolver-xpj1128m.js} +33 -33
- package/dist/chunks/model-resolver-xrwhq20c.js +478 -0
- package/dist/chunks/{ripgrep-hszjrct3.js → model-resolver-xvjcz7er.js} +10 -10
- package/dist/chunks/{ripgrep-s2hx2z0q.js → model-resolver-y1bnvh01.js} +5 -5
- package/dist/chunks/{ripgrep-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-t4devrhk.js → model-resolver-y3fgkbp4.js} +28 -28
- package/dist/chunks/{ripgrep-hfypw2dz.js → model-resolver-y3q03scc.js} +8 -8
- package/dist/chunks/{ripgrep-ch1v1c8p.js → model-resolver-y5k1jt8t.js} +16 -16
- package/dist/chunks/{ripgrep-dpkg50ah.js → model-resolver-y71avatq.js} +4 -4
- package/dist/chunks/{ripgrep-xgsym865.js → model-resolver-y9nxj4p3.js} +1 -1
- package/dist/chunks/{ripgrep-mvsprqws.js → model-resolver-yew810mr.js} +5 -5
- package/dist/chunks/{ripgrep-d0xhtgqt.js → model-resolver-ynnvn6b9.js} +13 -13
- package/dist/chunks/{ripgrep-7kfbshd0.js → model-resolver-yr3tpaeb.js} +11 -11
- package/dist/chunks/{ripgrep-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-ax2srgan.js → model-resolver-yrs7mjrn.js} +17 -17
- package/dist/chunks/{ripgrep-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
- package/dist/chunks/{ripgrep-t7q07nbx.js → model-resolver-za5w5jtx.js} +18 -18
- package/dist/chunks/{ripgrep-n4r3xatb.js → model-resolver-zav06jzw.js} +4 -4
- package/dist/chunks/{ripgrep-3r3y47tb.js → model-resolver-ze0b84e6.js} +12 -12
- package/dist/chunks/{ripgrep-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-m2b8ec7v.js → model-resolver-zhmbkdqz.js} +28 -28
- package/dist/chunks/{ripgrep-3pkbvm6e.js → model-resolver-zm7wj8n5.js} +5 -5
- package/dist/chunks/{ripgrep-6kpbv9kv.js → model-resolver-zpa21783.js} +8 -8
- package/dist/chunks/{ripgrep-jkrnbczm.js → model-resolver-zpgd1f5d.js} +32 -32
- package/dist/chunks/{ripgrep-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-zxq2ej10.js → model-resolver-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 +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +121 -121
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +97 -97
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- 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 +98 -98
- 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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +99 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +100 -100
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +120 -120
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +95 -95
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- 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 +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/ripgrep-0mesazry.js +0 -4
- package/dist/chunks/ripgrep-4aja65hv.js +0 -26
- package/dist/chunks/ripgrep-5jv6vad0.js +0 -478
- package/dist/chunks/ripgrep-qw5byw2n.js +0 -252
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./model-resolver-00gg1b3e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./model-resolver-jqaqchn6.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-bjeqesjn.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service39;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID8.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make6();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make6, VLLMPlugin2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./model-resolver-kmpyk7m7.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-bjeqesjn.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID9.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-j3f2cck8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./model-resolver-wfde3x95.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-26k5bknw.js";
|
|
21
21
|
import {
|
|
22
22
|
load5
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-qs02hrtf.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-resolver-b97cbvw3.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-resolver-sgmbcbbb.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./model-resolver-34326mmr.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./model-resolver-g03mgfzw.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./model-resolver-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./model-resolver-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction2 = {};
|
|
56
56
|
__export(exports_compaction2, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service9,
|
|
58
58
|
SessionCompaction: () => exports_compaction2,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
|
-
layer: () =>
|
|
62
|
-
node: () =>
|
|
61
|
+
layer: () => layer6,
|
|
62
|
+
node: () => node11,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,8 +298,8 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var
|
|
302
|
-
const bus = yield*
|
|
301
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
302
|
+
const bus = yield* Service78;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service83).db;
|
|
305
305
|
const state = create3({
|
|
@@ -607,7 +607,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
607
607
|
}
|
|
608
608
|
}));
|
|
609
609
|
});
|
|
610
|
-
return
|
|
610
|
+
return Service9.of({
|
|
611
611
|
transform: state.transform,
|
|
612
612
|
reload: state.reload,
|
|
613
613
|
enabled: () => state.get().auto,
|
|
@@ -616,10 +616,10 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
616
616
|
compactManual
|
|
617
617
|
});
|
|
618
618
|
}));
|
|
619
|
-
var
|
|
620
|
-
service:
|
|
621
|
-
layer:
|
|
622
|
-
deps: [
|
|
619
|
+
var node11 = makeLocationNode({
|
|
620
|
+
service: Service9,
|
|
621
|
+
layer: layer6,
|
|
622
|
+
deps: [node82, node87, llmClient2]
|
|
623
623
|
});
|
|
624
624
|
|
|
625
|
-
export {
|
|
625
|
+
export { Service9, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node11, exports_compaction2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info14
|
|
6
|
+
} from "./model-resolver-50mzsvk4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info12
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info14)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info12 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info12, exports_agent3 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-922hggd3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service76,
|
|
8
8
|
node80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-s4k6rbz4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service14,
|
|
12
|
+
node16
|
|
13
|
+
} from "./model-resolver-nfya0jhb.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -31,11 +31,11 @@ __export(exports_filesystem, {
|
|
|
31
31
|
Match: () => Match2,
|
|
32
32
|
NotFoundError: () => NotFoundError2,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service13,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node15
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -87,12 +87,12 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
87
87
|
}
|
|
88
88
|
var Event2 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service13 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
94
|
const location = yield* Service76;
|
|
95
|
-
const search = yield*
|
|
95
|
+
const search = yield* Service14;
|
|
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(Service14, 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 Service13.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(Service14, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node15 = makeLocationNode({
|
|
144
|
+
service: Service13,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node, node80,
|
|
146
|
+
deps: [FSUtil.node, node80, node16]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node15, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make22,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make22 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make22, exports_keyed_mutex };
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
12
|
Service76
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-s4k6rbz4.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-91qth17q.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service62,
|
|
9
|
+
node66
|
|
10
|
+
} from "./model-resolver-nxhr90dq.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-q3t37ft6.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service50,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node54,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service50 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service62;
|
|
77
|
+
return Service50.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node54 = makeLocationNode({ service: Service50, layer, deps: [node66] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service50, resolved2, node54, exports_model };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service39
|
|
3
|
+
} from "./model-resolver-jqaqchn6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service11
|
|
6
|
+
} from "./model-resolver-2sejkfem.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin33
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin33 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service39;
|
|
26
|
+
const policy = yield* Service11;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin31 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin33, exports_location_watcher2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-e029vvsz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./model-resolver-wfde3x95.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./model-resolver-1r39s92t.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-np9tbams.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID9
|
|
17
|
+
} from "./model-resolver-kmpyk7m7.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID8,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-00gg1b3e.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID9.make("digitalocean");
|
|
31
|
+
var integrationID = ID10.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service78;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID8.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|