@opencode/core 0.0.0-dev-224 → 0.0.0-dev-225
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 +88 -87
- package/dist/aisdk-native.js +100 -99
- package/dist/aisdk.js +106 -105
- package/dist/app.js +9 -9
- package/dist/bus.js +78 -77
- package/dist/chunks/{filesystem-ffg810n4.js → repository-02q6devy.js} +21 -21
- package/dist/chunks/{filesystem-9bnd18qk.js → repository-04r1wrks.js} +17 -17
- package/dist/chunks/{filesystem-pdbtcapx.js → repository-0afpajpk.js} +23 -23
- package/dist/chunks/{filesystem-0j7gp832.js → repository-0j7gp832.js} +1 -1
- package/dist/chunks/{filesystem-twh1nspr.js → repository-0kjn3gmb.js} +9 -9
- package/dist/chunks/{filesystem-bm0v3ha5.js → repository-0m7m3myj.js} +28 -28
- package/dist/chunks/{filesystem-19gd0q7m.js → repository-0qrj5tp3.js} +11 -11
- package/dist/chunks/{filesystem-wz5tj16h.js → repository-0t098hqn.js} +5 -5
- package/dist/chunks/{filesystem-8sv07mwj.js → repository-0vqtycbn.js} +11 -11
- package/dist/chunks/{filesystem-c28jsxxt.js → repository-0yd0c7yw.js} +24 -24
- package/dist/chunks/{filesystem-8jztxfpf.js → repository-11hfp36g.js} +4 -4
- package/dist/chunks/{filesystem-q09rr5xd.js → repository-12dhx30w.js} +25 -25
- package/dist/chunks/{filesystem-4m1azjz9.js → repository-12vcxn89.js} +21 -21
- package/dist/chunks/{filesystem-ht92kc8y.js → repository-13h4821v.js} +19 -19
- package/dist/chunks/{filesystem-h68jz125.js → repository-14x2cdqd.js} +40 -40
- package/dist/chunks/{filesystem-fzbtpn6v.js → repository-17emz8v6.js} +4 -4
- package/dist/chunks/repository-1kah00gy.js +13 -0
- package/dist/chunks/{filesystem-7m14jn42.js → repository-1tzttee1.js} +12 -12
- package/dist/chunks/{filesystem-1x2knyw4.js → repository-1x2knyw4.js} +1 -1
- package/dist/chunks/{filesystem-p7vhpwh8.js → repository-1yq9hg58.js} +5 -5
- package/dist/chunks/{filesystem-204s3925.js → repository-204s3925.js} +1 -1
- package/dist/chunks/{filesystem-srb5905y.js → repository-212rqbfx.js} +17 -17
- package/dist/chunks/{filesystem-204nxwvy.js → repository-23dwhg36.js} +51 -51
- package/dist/chunks/{filesystem-26x8chrq.js → repository-26x8chrq.js} +3 -3
- package/dist/chunks/{filesystem-27w5k9zf.js → repository-27w5k9zf.js} +2 -2
- package/dist/chunks/{filesystem-snc187et.js → repository-28910prs.js} +18 -18
- package/dist/chunks/{filesystem-tz83c6yk.js → repository-2gwexerd.js} +31 -31
- package/dist/chunks/{filesystem-kkkxjsrn.js → repository-2h1rexsh.js} +12 -12
- package/dist/chunks/{filesystem-ehrt3y5n.js → repository-2mv5n5wp.js} +12 -12
- package/dist/chunks/{filesystem-vd8rwa0c.js → repository-2r7kfffr.js} +18 -18
- package/dist/chunks/{filesystem-bt2f0stj.js → repository-2vnjdqz4.js} +29 -29
- package/dist/chunks/{filesystem-4papv57p.js → repository-2wwz1bdd.js} +30 -30
- package/dist/chunks/{filesystem-vsmzqk2y.js → repository-3a1gzt4h.js} +61 -57
- package/dist/chunks/{filesystem-3cbjf1nt.js → repository-3cbjf1nt.js} +2 -2
- package/dist/chunks/{filesystem-tvp0dzzs.js → repository-3e2gc48p.js} +2 -2
- package/dist/chunks/{filesystem-e8mz2xb5.js → repository-3g2vn521.js} +39 -39
- package/dist/chunks/{filesystem-8k393grp.js → repository-3hdfjcc2.js} +11 -11
- package/dist/chunks/{filesystem-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-gfv476g8.js → repository-3k1cgzmy.js} +12 -12
- package/dist/chunks/{filesystem-3nnrz6f6.js → repository-3nnrz6f6.js} +1 -1
- package/dist/chunks/{filesystem-b4a5nyx5.js → repository-3pm16jz4.js} +196 -196
- package/dist/chunks/{filesystem-kcbmbrq1.js → repository-3x62q367.js} +15 -15
- package/dist/chunks/{filesystem-ew8c46dw.js → repository-3yrxkn0v.js} +11 -11
- package/dist/chunks/{filesystem-4pyp9zr9.js → repository-4pyp9zr9.js} +1 -1
- package/dist/chunks/{filesystem-4v008n1t.js → repository-4v008n1t.js} +1 -1
- package/dist/chunks/{filesystem-ym1e38ts.js → repository-4xv4re4f.js} +4 -4
- package/dist/chunks/{filesystem-5f4zfvgc.js → repository-512987xb.js} +4 -4
- package/dist/chunks/{filesystem-3j4skgfc.js → repository-534ps77n.js} +9 -9
- package/dist/chunks/{filesystem-4xgq8f2s.js → repository-56d0mdwc.js} +11 -11
- package/dist/chunks/{filesystem-vx54jen0.js → repository-5dfywfr4.js} +45 -45
- package/dist/chunks/{filesystem-5hsr0zt7.js → repository-5f0h22rt.js} +21 -21
- package/dist/chunks/{filesystem-zryjy72y.js → repository-5f0m5wzz.js} +27 -27
- package/dist/chunks/{filesystem-gq549b3b.js → repository-5hb3xp22.js} +4 -4
- package/dist/chunks/{filesystem-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
- package/dist/chunks/{filesystem-xfqm8zp4.js → repository-61c5qd3j.js} +23 -23
- package/dist/chunks/{filesystem-3xfh9pkc.js → repository-625d5ysm.js} +16 -16
- package/dist/chunks/{filesystem-630xfjjk.js → repository-67x0hfmk.js} +3 -3
- package/dist/chunks/{filesystem-bd6gbyhv.js → repository-697zycvk.js} +8 -8
- package/dist/chunks/{filesystem-79dcp6vm.js → repository-6bpfps1f.js} +11 -11
- package/dist/chunks/{filesystem-qy5vca9h.js → repository-6c013jja.js} +5 -5
- package/dist/chunks/{filesystem-bpqrf6t1.js → repository-6dv331nt.js} +9 -9
- package/dist/chunks/{filesystem-6esdw8yj.js → repository-6esdw8yj.js} +1 -1
- package/dist/chunks/{filesystem-enmtzxqx.js → repository-6gbw9738.js} +13 -13
- package/dist/chunks/{filesystem-wr75p8wj.js → repository-6gz1fwcb.js} +22 -22
- package/dist/chunks/{filesystem-ghs82689.js → repository-6k655h6s.js} +14 -14
- package/dist/chunks/{filesystem-1gyrxqmm.js → repository-6npr164p.js} +5 -5
- package/dist/chunks/{filesystem-mw6cyxws.js → repository-6tkn5w05.js} +33 -33
- package/dist/chunks/{filesystem-vys2hz9a.js → repository-6yqr9evj.js} +2 -2
- package/dist/chunks/{filesystem-ywhza86r.js → repository-76ek6v85.js} +18 -18
- package/dist/chunks/{filesystem-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-q9n7yxac.js → repository-7bsdd5sy.js} +12 -12
- package/dist/chunks/{filesystem-yh0hfha7.js → repository-7f52k950.js} +21 -21
- package/dist/chunks/{filesystem-zb5gs1ba.js → repository-7jdsj2a9.js} +2 -2
- package/dist/chunks/{filesystem-90kfhhe6.js → repository-7n3s3k63.js} +32 -32
- package/dist/chunks/{filesystem-98tqkwke.js → repository-7pa3t2xk.js} +11 -11
- package/dist/chunks/{filesystem-yr0nyka5.js → repository-7vvjhnrn.js} +10 -10
- package/dist/chunks/{filesystem-7w2ypzdf.js → repository-7w2ypzdf.js} +1 -1
- package/dist/chunks/repository-7yv5xa0k.js +18 -0
- package/dist/chunks/{filesystem-nsve5tx4.js → repository-80x4fa6r.js} +8 -8
- package/dist/chunks/{filesystem-8b3vzgkx.js → repository-8b3vzgkx.js} +1 -1
- package/dist/chunks/{filesystem-fs6ar2fx.js → repository-8nap1jrd.js} +34 -34
- package/dist/chunks/{filesystem-8wtp7s3z.js → repository-8wtp7s3z.js} +1 -1
- package/dist/chunks/{filesystem-rxg1n2es.js → repository-8z6m94af.js} +4 -3
- package/dist/chunks/{filesystem-90zstvax.js → repository-90zstvax.js} +1 -1
- package/dist/chunks/{filesystem-d3ckdkwn.js → repository-98757as2.js} +22 -22
- package/dist/chunks/{filesystem-9js77jy1.js → repository-9awk6jpk.js} +6 -6
- package/dist/chunks/{filesystem-hk9d81vf.js → repository-9c4fmw56.js} +21 -21
- package/dist/chunks/{filesystem-rrjvevf9.js → repository-9cqr2vkq.js} +14 -14
- package/dist/chunks/{filesystem-jphwvgs8.js → repository-9h1ss44a.js} +8 -8
- package/dist/chunks/{filesystem-2gdytpx5.js → repository-9r4pxyh7.js} +35 -35
- package/dist/chunks/{filesystem-kavymhq0.js → repository-a654hsnz.js} +5 -5
- package/dist/chunks/{filesystem-fghs85vj.js → repository-a82v2hxv.js} +16 -16
- package/dist/chunks/{filesystem-y73qp9rw.js → repository-agd3ajwq.js} +23 -23
- package/dist/chunks/{filesystem-aj7mw0zk.js → repository-aj7mw0zk.js} +2 -2
- package/dist/chunks/{filesystem-pnr9n7z9.js → repository-ampz2f9v.js} +16 -16
- package/dist/chunks/{filesystem-zcrmr4y4.js → repository-arn7cr2v.js} +47 -47
- package/dist/chunks/{filesystem-9a0z0sm4.js → repository-b06zajxa.js} +17 -17
- package/dist/chunks/{filesystem-zwftgptp.js → repository-b08ppfvn.js} +6 -6
- package/dist/chunks/{filesystem-daeazrnz.js → repository-b4sf3bff.js} +12 -12
- package/dist/chunks/{filesystem-b6vsg801.js → repository-b6vsg801.js} +2 -2
- package/dist/chunks/{filesystem-53f1f277.js → repository-b7y5rk4r.js} +8 -8
- package/dist/chunks/{filesystem-j3gxxqsz.js → repository-b9s89jmt.js} +23 -23
- package/dist/chunks/{filesystem-nazdnmrt.js → repository-bdb9z49n.js} +12 -12
- package/dist/chunks/{filesystem-8x6dz44a.js → repository-bj6adykh.js} +5 -5
- package/dist/chunks/{filesystem-bstexjd6.js → repository-bstexjd6.js} +1 -1
- package/dist/chunks/{filesystem-9exsw83t.js → repository-c7memrrh.js} +8 -8
- package/dist/chunks/{filesystem-bsrm4kv0.js → repository-ceq6pwch.js} +6 -6
- package/dist/chunks/{filesystem-xm3a73ht.js → repository-cf7x31pg.js} +10 -10
- package/dist/chunks/{filesystem-04kfhdy6.js → repository-crbrb0jj.js} +4 -4
- package/dist/chunks/{filesystem-cwrgdav8.js → repository-cwrgdav8.js} +2 -2
- package/dist/chunks/{filesystem-e4zn5652.js → repository-d1jzsn22.js} +5 -5
- package/dist/chunks/{filesystem-c9t2ty9q.js → repository-d2887f8n.js} +4 -4
- package/dist/chunks/{filesystem-pjg812bt.js → repository-d3jz2cz5.js} +21 -21
- package/dist/chunks/{filesystem-mkryjhx5.js → repository-d3yrsr4e.js} +28 -28
- package/dist/chunks/{filesystem-8txy58cb.js → repository-dfr5r696.js} +15 -15
- package/dist/chunks/{filesystem-yc4xwjk4.js → repository-dkqkergf.js} +9 -9
- package/dist/chunks/{filesystem-8fgfvr5b.js → repository-dnf86brd.js} +10 -10
- package/dist/chunks/{filesystem-2am13szv.js → repository-drev6nd3.js} +8 -8
- package/dist/chunks/{filesystem-dt77769w.js → repository-dt77769w.js} +1 -1
- package/dist/chunks/{filesystem-pkayehgb.js → repository-dw4s89a0.js} +15 -15
- package/dist/chunks/{filesystem-gyqryh5y.js → repository-dzkkvexc.js} +8 -8
- package/dist/chunks/{filesystem-36qx82yz.js → repository-e2ne77ac.js} +4 -4
- package/dist/chunks/{filesystem-v7t6jh72.js → repository-e58sv9rp.js} +16 -16
- package/dist/chunks/{filesystem-e834z07m.js → repository-e834z07m.js} +1 -1
- package/dist/chunks/{filesystem-aktfspq0.js → repository-eda6vzv8.js} +11 -11
- package/dist/chunks/{filesystem-1q8aebw4.js → repository-epq6cdz1.js} +5 -5
- package/dist/chunks/{filesystem-8x0pab5n.js → repository-eqzd7aqx.js} +10 -10
- package/dist/chunks/{filesystem-js15026g.js → repository-f1z26w0d.js} +13 -13
- package/dist/chunks/{filesystem-qcgrm8q2.js → repository-f9xffe6w.js} +36 -36
- package/dist/chunks/{filesystem-fffv3p7h.js → repository-fffv3p7h.js} +1 -1
- package/dist/chunks/{filesystem-fg9p65nk.js → repository-fg9p65nk.js} +2 -2
- package/dist/chunks/{filesystem-1e6my1g7.js → repository-fm429npj.js} +13 -13
- package/dist/chunks/{filesystem-zyc5d1d0.js → repository-fm8xskze.js} +24 -24
- package/dist/chunks/{filesystem-hb2vdfk5.js → repository-fs4b0t0k.js} +10 -10
- package/dist/chunks/{filesystem-amvexxv0.js → repository-fwsgn0kj.js} +48 -48
- package/dist/chunks/{filesystem-crx66x63.js → repository-fyk4dqjk.js} +26 -26
- package/dist/chunks/{filesystem-5k0ygmt7.js → repository-g0nw359p.js} +30 -30
- package/dist/chunks/{filesystem-9azm90ns.js → repository-g1kwxa1b.js} +20 -20
- package/dist/chunks/{filesystem-h0ppebc3.js → repository-g1xkvxp8.js} +8 -8
- package/dist/chunks/{filesystem-vmfhgzt5.js → repository-g7esga4v.js} +5 -5
- package/dist/chunks/{filesystem-9yk2b1f9.js → repository-g83h66a1.js} +7 -7
- package/dist/chunks/{filesystem-rawze43q.js → repository-gfcceyza.js} +39 -39
- package/dist/chunks/{filesystem-jz8jyxed.js → repository-gjrqrjfc.js} +34 -34
- package/dist/chunks/{filesystem-gn8tkhbf.js → repository-gn8tkhbf.js} +2 -2
- package/dist/chunks/{filesystem-bv0cpx15.js → repository-gpgd96vy.js} +11 -11
- package/dist/chunks/{filesystem-9pt42hrs.js → repository-gqdnb8y1.js} +17 -17
- package/dist/chunks/{filesystem-1fyseb9g.js → repository-gvqm1969.js} +30 -30
- package/dist/chunks/{filesystem-tg6k312r.js → repository-h7gfa9td.js} +13 -13
- package/dist/chunks/{filesystem-mv5c0h3x.js → repository-h9zvag9j.js} +6 -6
- package/dist/chunks/{filesystem-hpg1pkwy.js → repository-hpg1pkwy.js} +1 -1
- package/dist/chunks/{filesystem-ykvsfm8k.js → repository-hy8c1z76.js} +8 -8
- package/dist/chunks/{filesystem-c951tkze.js → repository-hzwmgw4t.js} +7 -7
- package/dist/chunks/{filesystem-qwzahezh.js → repository-jcx3m0pd.js} +3 -3
- package/dist/chunks/{filesystem-jfaecv01.js → repository-jfaecv01.js} +1 -1
- package/dist/chunks/{filesystem-nrefv84q.js → repository-jh36xa0j.js} +46 -46
- package/dist/chunks/{filesystem-zytxfbbq.js → repository-jm7m7qv4.js} +15 -15
- package/dist/chunks/{filesystem-bt9jv65t.js → repository-jmcy6tdz.js} +32 -32
- package/dist/chunks/{filesystem-195h2ce0.js → repository-jqt6shdc.js} +33 -33
- package/dist/chunks/{filesystem-jtnps1zs.js → repository-jtnps1zs.js} +2 -2
- package/dist/chunks/{filesystem-rx9fgwcp.js → repository-jv2xnyk0.js} +9 -9
- package/dist/chunks/{filesystem-vh2h6g1h.js → repository-jw9hwjk7.js} +18 -18
- package/dist/chunks/{filesystem-jydyt1jv.js → repository-jx6743tc.js} +21 -21
- package/dist/chunks/{filesystem-e9fqtmvn.js → repository-k4461cq5.js} +4 -4
- package/dist/chunks/{filesystem-mstrsafp.js → repository-k73cna2p.js} +1 -1
- package/dist/chunks/{filesystem-k814nvkf.js → repository-k814nvkf.js} +1 -1
- package/dist/chunks/{filesystem-snb901t2.js → repository-k9zkdd2y.js} +4 -4
- package/dist/chunks/{filesystem-yvpg4w4a.js → repository-kmj5avpj.js} +29 -29
- package/dist/chunks/{filesystem-m8pt14ww.js → repository-kpn1bhgk.js} +6 -6
- package/dist/chunks/{filesystem-kt3bjfbg.js → repository-kt3bjfbg.js} +1 -1
- package/dist/chunks/{filesystem-h5137fsx.js → repository-kw8s21va.js} +5 -5
- package/dist/chunks/{filesystem-nshrevkn.js → repository-kx71657v.js} +6 -6
- package/dist/chunks/{filesystem-3gytc1y7.js → repository-kxn25fwv.js} +45 -45
- package/dist/chunks/{filesystem-m1714858.js → repository-m1714858.js} +1 -1
- package/dist/chunks/{filesystem-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-2rhrbycz.js → repository-mbb1g1yw.js} +5 -5
- package/dist/chunks/{filesystem-gcbtwra8.js → repository-mcnyjy51.js} +8 -8
- package/dist/chunks/{filesystem-g8ffzbm5.js → repository-mna4epf6.js} +3 -3
- package/dist/chunks/{filesystem-ce6qzbvg.js → repository-mrfyq4g5.js} +16 -16
- package/dist/chunks/{filesystem-z2wtb6wa.js → repository-mz3zm30x.js} +41 -41
- package/dist/chunks/{filesystem-62brbbaq.js → repository-n4e7dz5r.js} +16 -16
- package/dist/chunks/{filesystem-gfwwbhdd.js → repository-n81rk82p.js} +25 -25
- package/dist/chunks/{filesystem-7xx3q0hc.js → repository-n8e58mf8.js} +9 -9
- package/dist/chunks/{filesystem-nah043kf.js → repository-nah043kf.js} +1 -1
- package/dist/chunks/{filesystem-7gf675tv.js → repository-nasy3zn8.js} +28 -28
- package/dist/chunks/{filesystem-n561m3b7.js → repository-ngnmw7n1.js} +19 -19
- package/dist/chunks/{filesystem-9t393xpw.js → repository-nktr62nw.js} +40 -40
- package/dist/chunks/{filesystem-vsr0eqbt.js → repository-np3f7rt0.js} +2 -2
- package/dist/chunks/{filesystem-zk53j53a.js → repository-nv205p9v.js} +5 -5
- package/dist/chunks/{filesystem-7g2g3969.js → repository-nx91d85n.js} +21 -21
- package/dist/chunks/{filesystem-p015t6z3.js → repository-p015t6z3.js} +2 -2
- package/dist/chunks/{filesystem-hd3k4wz8.js → repository-p76me67c.js} +4 -4
- package/dist/chunks/{filesystem-f7b4jqep.js → repository-p93f7rm8.js} +26 -26
- package/dist/chunks/{filesystem-x6rjmcaj.js → repository-pb5kqfgr.js} +17 -17
- package/dist/chunks/{filesystem-5khgwaht.js → repository-ph5famjc.js} +32 -32
- package/dist/chunks/{filesystem-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/repository-prsb3gy8.js +535 -0
- package/dist/chunks/{filesystem-pxtfkpje.js → repository-pxtfkpje.js} +2 -2
- package/dist/chunks/{filesystem-cx9pac8b.js → repository-q78bpt09.js} +4 -4
- package/dist/chunks/{filesystem-bafv7pw0.js → repository-qakshsr3.js} +4 -4
- package/dist/chunks/{filesystem-57ye470h.js → repository-qap93fyq.js} +5 -5
- package/dist/chunks/{filesystem-vykrxgmq.js → repository-qf4sba5t.js} +4 -4
- package/dist/chunks/{filesystem-g2d7pwec.js → repository-qg4zt266.js} +3 -3
- package/dist/chunks/{filesystem-p5j5bg0f.js → repository-qgfkghh1.js} +1 -0
- package/dist/chunks/{filesystem-3gse1gra.js → repository-qhjk5g7p.js} +15 -15
- package/dist/chunks/{filesystem-9jzp3j8d.js → repository-qp19en1v.js} +27 -27
- package/dist/chunks/{filesystem-qp7r0hxv.js → repository-qp7r0hxv.js} +1 -1
- package/dist/chunks/{filesystem-cpvd08na.js → repository-qqg9c0kv.js} +4 -4
- package/dist/chunks/{filesystem-qqvy8y24.js → repository-qqvy8y24.js} +1 -1
- package/dist/chunks/{filesystem-tge6e9e7.js → repository-qzmm5tz3.js} +15 -15
- package/dist/chunks/{filesystem-r0yr0wbs.js → repository-r0yr0wbs.js} +1 -1
- package/dist/chunks/{filesystem-r542h3bh.js → repository-r542h3bh.js} +1 -1
- package/dist/chunks/{filesystem-rb9dy4dg.js → repository-rb9dy4dg.js} +1 -1
- package/dist/chunks/{filesystem-0p5w6zwq.js → repository-rcdhpebz.js} +24 -24
- package/dist/chunks/{filesystem-dkqbcpdf.js → repository-rfy1qsv0.js} +5 -5
- package/dist/chunks/{filesystem-mjyzbzxc.js → repository-rgrwz8jc.js} +5 -5
- package/dist/chunks/{filesystem-jv7sy112.js → repository-rhhs0wkq.js} +20 -19
- package/dist/chunks/{filesystem-rt5dr6hb.js → repository-rt5dr6hb.js} +1 -1
- package/dist/chunks/{filesystem-x85yhxtw.js → repository-rt7pfvy6.js} +30 -30
- package/dist/chunks/{filesystem-wav8c0w2.js → repository-rttr2fak.js} +25 -25
- package/dist/chunks/{filesystem-s336ghke.js → repository-rvt22k2y.js} +11 -11
- package/dist/chunks/{filesystem-s7wv3tb2.js → repository-s06t763y.js} +14 -14
- package/dist/chunks/{filesystem-f76bnh21.js → repository-s1ngvbs7.js} +34 -34
- package/dist/chunks/{filesystem-5d1r9gpy.js → repository-s3dg6dk7.js} +8 -8
- package/dist/chunks/{filesystem-xk2zn0cv.js → repository-s6h2s3rz.js} +4 -4
- package/dist/chunks/{filesystem-s7gmm2q3.js → repository-s7gmm2q3.js} +3 -3
- package/dist/chunks/{filesystem-v0t96s7a.js → repository-s7kyse9r.js} +4 -4
- package/dist/chunks/{filesystem-gr5tmgzz.js → repository-s80rtvac.js} +5 -5
- package/dist/chunks/{filesystem-sa3fpqfw.js → repository-sa3fpqfw.js} +2 -2
- package/dist/chunks/repository-sagzsdcj.js +26 -0
- package/dist/chunks/{filesystem-qh51c2hm.js → repository-smhsv5n1.js} +14 -14
- package/dist/chunks/{filesystem-kg14195c.js → repository-smtd4r5d.js} +8 -8
- package/dist/chunks/{filesystem-t5ntgcha.js → repository-snxt3tr6.js} +28 -28
- package/dist/chunks/{filesystem-195qsevx.js → repository-sq3g877h.js} +73 -73
- package/dist/chunks/{filesystem-g14zw2sb.js → repository-stg46zfy.js} +44 -44
- package/dist/chunks/{filesystem-svcy3p9a.js → repository-svcy3p9a.js} +1 -1
- package/dist/chunks/{filesystem-k004b52r.js → repository-swt9j2d1.js} +20 -20
- package/dist/chunks/{filesystem-ydjecrt5.js → repository-syekz850.js} +6 -6
- package/dist/chunks/{filesystem-kbh9re52.js → repository-symxyxd2.js} +41 -41
- package/dist/chunks/{filesystem-vc2a1z4h.js → repository-takvccra.js} +9 -9
- package/dist/chunks/{filesystem-tczq8hjw.js → repository-tczq8hjw.js} +1 -1
- package/dist/chunks/{filesystem-6s4bs33q.js → repository-tea79k12.js} +6 -6
- package/dist/chunks/{filesystem-zqvff56k.js → repository-th3qszsa.js} +15 -15
- package/dist/chunks/{filesystem-gerrpf33.js → repository-tptvq6v6.js} +4 -4
- package/dist/chunks/{filesystem-tgpcajrp.js → repository-tspjt6hv.js} +27 -27
- package/dist/chunks/{filesystem-waj9pdqz.js → repository-ttt74r5g.js} +26 -26
- package/dist/chunks/{filesystem-11khfpwy.js → repository-tvpzekgj.js} +10 -10
- package/dist/chunks/{filesystem-twssxy5n.js → repository-twssxy5n.js} +2 -2
- package/dist/chunks/{filesystem-mbca2wch.js → repository-v0e44ra8.js} +7 -7
- package/dist/chunks/{filesystem-79vckntf.js → repository-v0yg2p47.js} +38 -38
- package/dist/chunks/{filesystem-v2r1d0zg.js → repository-v2r1d0zg.js} +1 -1
- package/dist/chunks/{filesystem-167dk08f.js → repository-v6y9sg65.js} +34 -34
- package/dist/chunks/{filesystem-yyx7mbnb.js → repository-v9tv2jcf.js} +17 -17
- package/dist/chunks/{filesystem-2k2r9cp7.js → repository-vavwx7s5.js} +17 -17
- package/dist/chunks/{filesystem-c6zarp28.js → repository-vbbf82hz.js} +5 -5
- package/dist/chunks/{filesystem-0w2jttgf.js → repository-vbm79bx3.js} +3 -2
- package/dist/chunks/{filesystem-k93vvdep.js → repository-vdetwb8q.js} +11 -11
- package/dist/chunks/{filesystem-0j7sp27n.js → repository-vegsf5sr.js} +5 -5
- package/dist/chunks/{filesystem-yjjyz0e3.js → repository-vg0erq9k.js} +3 -3
- package/dist/chunks/{filesystem-smjmfamq.js → repository-vk8tcr7v.js} +83 -83
- package/dist/chunks/{filesystem-k4a4wn9h.js → repository-w08h028t.js} +9 -9
- package/dist/chunks/{filesystem-5enarcya.js → repository-w2eysc6j.js} +6 -6
- package/dist/chunks/{filesystem-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-fznmdakp.js → repository-w687dnns.js} +4 -4
- package/dist/chunks/{filesystem-76cb1hcw.js → repository-w8qtt4th.js} +4 -4
- package/dist/chunks/{filesystem-wakvkjy4.js → repository-wakvkjy4.js} +1 -1
- package/dist/chunks/{filesystem-z2m3me10.js → repository-wb1032jb.js} +17 -17
- package/dist/chunks/{filesystem-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-3n9wrer5.js → repository-wfhze47m.js} +22 -22
- package/dist/chunks/{filesystem-qm7hy0s1.js → repository-wfx67pkj.js} +32 -32
- package/dist/chunks/{filesystem-r66kyd6j.js → repository-wgaw9e9b.js} +24 -24
- package/dist/chunks/{filesystem-wnhgecwx.js → repository-wnhgecwx.js} +1 -1
- package/dist/chunks/{filesystem-qvmjkfdq.js → repository-x3nmv35r.js} +11 -11
- package/dist/chunks/{filesystem-ny1sy5a3.js → repository-x5anz7b2.js} +1 -1
- package/dist/chunks/{filesystem-am4a9j2m.js → repository-xgpjap4q.js} +3 -3
- package/dist/chunks/{filesystem-jzcwvdq8.js → repository-xm3tvg1p.js} +13 -13
- package/dist/chunks/{filesystem-684rr1fc.js → repository-xmgjtvx2.js} +5 -5
- package/dist/chunks/{filesystem-xt0z8zst.js → repository-xt0z8zst.js} +1 -1
- package/dist/chunks/{filesystem-vpe8h0t6.js → repository-xv4cc4d2.js} +55 -55
- package/dist/chunks/{filesystem-fdje41h6.js → repository-xvhkpttz.js} +32 -32
- package/dist/chunks/{filesystem-4r140ydd.js → repository-y164yf7k.js} +10 -10
- package/dist/chunks/{filesystem-31s64znz.js → repository-y7skvavs.js} +18 -18
- package/dist/chunks/{filesystem-yb20nhc3.js → repository-yb20nhc3.js} +1 -1
- package/dist/chunks/{filesystem-43h1mxk5.js → repository-ym3r9j8z.js} +84 -84
- package/dist/chunks/repository-ym4fxhy7.js +257 -0
- package/dist/chunks/{filesystem-pakndkhn.js → repository-ymz7p2c9.js} +3 -3
- package/dist/chunks/{filesystem-xkkam4tz.js → repository-yqtq7xaq.js} +11 -11
- package/dist/chunks/{filesystem-0ef2mh1p.js → repository-yr49e4mv.js} +11 -11
- package/dist/chunks/{filesystem-5erf8ecf.js → repository-z0bthqbq.js} +20 -20
- package/dist/chunks/{filesystem-z38nccrw.js → repository-z38nccrw.js} +1 -1
- package/dist/chunks/{filesystem-tfzwejs7.js → repository-z5gw4pap.js} +11 -11
- package/dist/chunks/{filesystem-m337p9dc.js → repository-z9gwer7j.js} +9 -9
- package/dist/chunks/{filesystem-z8rc56ez.js → repository-zc3ayq8k.js} +30 -30
- package/dist/chunks/{filesystem-5w1mdqt7.js → repository-zdat2xwq.js} +4 -4
- package/dist/chunks/{filesystem-r4j0x99n.js → repository-zgd8t41s.js} +9 -9
- package/dist/chunks/{filesystem-8dfptpqb.js → repository-zybtfqav.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +92 -91
- package/dist/config/discovery.js +95 -94
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +110 -109
- package/dist/config/plugin/agent.js +122 -121
- package/dist/config/plugin/command.js +222 -221
- package/dist/config/plugin/compaction.js +165 -164
- package/dist/config/plugin/compatibility.js +145 -144
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +125 -124
- package/dist/config/plugin/image.js +124 -123
- package/dist/config/plugin/instruction.js +124 -123
- package/dist/config/plugin/location-watcher.js +126 -125
- package/dist/config/plugin/mcp.js +131 -130
- package/dist/config/plugin/policy.js +126 -125
- package/dist/config/plugin/provider.js +125 -124
- package/dist/config/plugin/reference.js +126 -125
- package/dist/config/plugin/shell.js +124 -123
- package/dist/config/plugin/skill-file.js +141 -140
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +146 -145
- package/dist/config/plugin/snapshot.js +124 -123
- package/dist/config/plugin/source.js +125 -124
- package/dist/config/plugin/tool-output.js +125 -124
- package/dist/config/plugin/websearch.js +123 -122
- package/dist/config/plugin/worktree.js +126 -125
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -124
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -91
- package/dist/database/database.js +75 -74
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +6 -0
- package/dist/database/migration.gen.js +58 -57
- package/dist/database/migration.js +60 -59
- 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 +103 -102
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +388 -387
- 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 +104 -103
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -105
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +79 -78
- package/dist/file-access.js +151 -150
- package/dist/file-mutation.js +105 -104
- package/dist/file-retention.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/file-watch.js +86 -85
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +237 -236
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +110 -109
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +113 -112
- package/dist/form.js +91 -90
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +98 -97
- package/dist/generate.js +118 -117
- package/dist/git.js +11 -11
- 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 +110 -109
- 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/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +379 -378
- package/dist/instruction-discovery.js +93 -92
- package/dist/instructions/builtins.js +98 -97
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -97
- package/dist/job.js +81 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +82 -81
- package/dist/location-activity.js +163 -162
- package/dist/location-lifecycle.js +145 -144
- package/dist/location-service-map.js +97 -96
- package/dist/location-services.js +376 -375
- package/dist/location.js +100 -99
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +102 -101
- package/dist/mcp/index.js +120 -119
- package/dist/mcp/instructions.js +171 -170
- package/dist/mcp/oauth.js +87 -86
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +101 -100
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +110 -109
- package/dist/model-resolver.js +110 -109
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +113 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +146 -145
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -98
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +84 -83
- package/dist/plugin/agent.js +83 -82
- package/dist/plugin/command.js +111 -110
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +230 -229
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +349 -348
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +108 -107
- package/dist/plugin/module.js +126 -125
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +141 -140
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +102 -101
- package/dist/plugin/provider/azure.js +124 -123
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +124 -123
- package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +122 -121
- package/dist/plugin/provider/configured.js +120 -119
- package/dist/plugin/provider/credential-settings.js +83 -82
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +104 -103
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +106 -105
- package/dist/plugin/provider/gitlab.js +105 -104
- package/dist/plugin/provider/google-vertex.js +121 -120
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +87 -86
- package/dist/plugin/provider/lmstudio.js +133 -132
- package/dist/plugin/provider/local.js +130 -129
- package/dist/plugin/provider/modal.js +103 -102
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +133 -132
- package/dist/plugin/provider/openai-context-caps.js +101 -100
- package/dist/plugin/provider/openai.js +124 -123
- package/dist/plugin/provider/opencode.js +127 -126
- package/dist/plugin/provider/openrouter.js +102 -101
- package/dist/plugin/provider/poe.js +88 -87
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +102 -101
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +123 -122
- package/dist/plugin/provider/vllm.js +131 -130
- package/dist/plugin/provider/xai.js +102 -101
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -174
- package/dist/plugin/sdk.js +85 -84
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +144 -143
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +365 -364
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +97 -96
- package/dist/plugin/vcs/hg.js +97 -96
- package/dist/plugin/verbosity.js +104 -103
- package/dist/plugin/warming.js +122 -121
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +239 -238
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -100
- package/dist/provider.js +110 -109
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -108
- package/dist/reference/instructions.js +99 -98
- package/dist/reference.js +99 -98
- package/dist/repository-cache.js +91 -90
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +106 -105
- package/dist/rpc.js +97 -96
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +230 -229
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +123 -122
- package/dist/session/command.js +83 -82
- package/dist/session/compaction.js +167 -166
- package/dist/session/context.js +191 -190
- package/dist/session/diff.js +99 -98
- 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 +229 -228
- package/dist/session/execution.js +157 -156
- package/dist/session/generate.js +191 -190
- package/dist/session/history.js +130 -129
- package/dist/session/inbox.js +143 -142
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -87
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +135 -134
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +158 -157
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +159 -158
- package/dist/session/projector.js +137 -136
- package/dist/session/prompt.js +143 -142
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +133 -132
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +242 -241
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +111 -110
- package/dist/session/runner/publish-llm-event.js +144 -143
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +155 -154
- package/dist/session/runner/to-llm-message.js +131 -130
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +175 -174
- package/dist/session/shell.js +138 -137
- package/dist/session/skill.js +142 -141
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +82 -81
- package/dist/session/store.js +136 -135
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +222 -221
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +193 -192
- package/dist/session/to-session-error.js +143 -142
- package/dist/session/transfer.js +229 -227
- package/dist/session/usage.js +1 -1
- package/dist/session.js +224 -223
- 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 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +146 -145
- package/dist/skill.js +149 -148
- package/dist/snapshot.js +102 -101
- 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 +168 -167
- package/dist/tool/plugin/edit.js +159 -158
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +159 -158
- package/dist/tool/plugin/grep.js +163 -162
- package/dist/tool/plugin/image-generate.js +232 -231
- package/dist/tool/plugin/mcp-resource.js +157 -156
- package/dist/tool/plugin/opencode.js +156 -155
- package/dist/tool/plugin/patch.js +161 -160
- package/dist/tool/plugin/question.js +141 -140
- package/dist/tool/plugin/read.js +164 -163
- package/dist/tool/plugin/schedule.js +222 -221
- package/dist/tool/plugin/shell.js +225 -224
- package/dist/tool/plugin/skill.js +152 -151
- package/dist/tool/plugin/subagent.js +229 -228
- package/dist/tool/plugin/todo.js +148 -147
- package/dist/tool/plugin/webfetch.js +152 -151
- package/dist/tool/plugin/websearch.js +148 -147
- package/dist/tool/plugin/write.js +161 -160
- package/dist/tool/read-filesystem.js +111 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/database/migration/20261029073502_session_time_busy.d.ts +3 -0
- package/dist/types/session/schema.d.ts +1 -0
- package/dist/types/session/sql.d.ts +16 -0
- package/dist/types/session/transfer.d.ts +1 -0
- package/dist/usage-limits.js +96 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +103 -102
- 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/variant.js +102 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -99
- package/dist/voice.js +99 -98
- package/dist/websearch.js +91 -90
- package/dist/wellknown/plugin.js +83 -82
- package/dist/wellknown.js +90 -89
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -90
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +100 -99
- package/dist/worktree.js +107 -106
- package/package.json +8 -8
- package/dist/chunks/filesystem-2dkjcnxp.js +0 -18
- package/dist/chunks/filesystem-40j8v2af.js +0 -535
- package/dist/chunks/filesystem-cn3hegtz.js +0 -26
- package/dist/chunks/filesystem-dwbakpgx.js +0 -257
- /package/dist/chunks/{filesystem-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1jakw16s.js → repository-1jakw16s.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2bv980vf.js → repository-2bv980vf.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5w3e23ze.js → repository-5w3e23ze.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-84wd9syh.js → repository-84wd9syh.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a058387c.js → repository-a058387c.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-beh6qq61.js → repository-beh6qq61.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cqv5kn06.js → repository-cqv5kn06.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fkpq3x5p.js → repository-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hcxmzztb.js → repository-hcxmzztb.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jwr30sdr.js → repository-jwr30sdr.js} +0 -0
- /package/dist/chunks/{filesystem-jze0r7bz.js → repository-jze0r7bz.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-m18g726c.js → repository-m18g726c.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-ncqqe42p.js → repository-ncqqe42p.js} +0 -0
- /package/dist/chunks/{filesystem-nh4v3znn.js → repository-nh4v3znn.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-p71gwv9c.js → repository-p71gwv9c.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-ty7weeps.js → repository-ty7weeps.js} +0 -0
- /package/dist/chunks/{filesystem-ve7vex1e.js → repository-ve7vex1e.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-512987xb.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-bstexjd6.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service43,
|
|
17
|
+
node47
|
|
18
|
+
} from "./repository-z0bthqbq.js";
|
|
19
19
|
import {
|
|
20
20
|
changes2,
|
|
21
21
|
create3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./repository-204s3925.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/reference.ts
|
|
28
28
|
var exports_reference2 = {};
|
|
29
29
|
__export(exports_reference2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event6,
|
|
31
31
|
GitSource: () => GitSource2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info9,
|
|
33
33
|
LocalSource: () => LocalSource2,
|
|
34
34
|
Reference: () => exports_reference2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service40,
|
|
36
36
|
Source: () => Source3,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node43
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
41
41
|
import { Reference } from "@opencode/schema/reference";
|
|
42
42
|
import { Global } from "@opencode/util/global";
|
|
43
|
-
import { Event as
|
|
43
|
+
import { Event as Event6 } from "@opencode/schema/reference";
|
|
44
44
|
var LocalSource2 = Reference.LocalSource;
|
|
45
45
|
var GitSource2 = Reference.GitSource;
|
|
46
46
|
var Source3 = Reference.Source;
|
|
47
|
-
var
|
|
47
|
+
var Info9 = Reference.Info;
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service40 extends Context.Service()("@opencode/Reference") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
51
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const bus = yield* Service86;
|
|
54
|
-
const cache = yield*
|
|
54
|
+
const cache = yield* Service43;
|
|
55
55
|
const scope = yield* Scope.Scope;
|
|
56
56
|
const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
|
|
57
57
|
const info = {
|
|
@@ -61,7 +61,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
61
61
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
62
62
|
};
|
|
63
63
|
if (source.type === "local")
|
|
64
|
-
return [
|
|
64
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
65
65
|
const repository = parse4(source.repository);
|
|
66
66
|
if (!repository || !isRemote2(repository))
|
|
67
67
|
return [];
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return [
|
|
76
|
-
|
|
76
|
+
Info9.make({
|
|
77
77
|
...info,
|
|
78
78
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
79
79
|
})
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
107
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
108
|
-
return
|
|
108
|
+
return Service40.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
115
|
}));
|
|
116
|
-
var
|
|
117
|
-
service:
|
|
116
|
+
var node43 = makeLocationNode({
|
|
117
|
+
service: Service40,
|
|
118
118
|
layer,
|
|
119
|
-
deps: [Global.node, node90,
|
|
119
|
+
deps: [Global.node, node90, node47]
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
export { LocalSource2, GitSource2, Source3,
|
|
122
|
+
export { LocalSource2, GitSource2, Source3, Info9, Service40, node43, exports_reference2, Event6 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./repository-stg46zfy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service34
|
|
6
|
+
} from "./repository-23dwhg36.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin15,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin15 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe({ types: ["config.updated"] }));
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service63;
|
|
28
|
+
const mcp = yield* Service34;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin15, register2, exports_mcp };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service87,
|
|
6
6
|
node91
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-mna4epf6.js";
|
|
8
8
|
import {
|
|
9
9
|
Service86,
|
|
10
10
|
node90
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-512987xb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service85,
|
|
14
|
+
node89
|
|
15
|
+
} from "./repository-1tzttee1.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID19,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info31,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-jv2xnyk0.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-aj7mw0zk.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-pxtfkpje.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-3cbjf1nt.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./repository-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
Current: () => Current2,
|
|
42
|
-
ID: () =>
|
|
43
|
-
Info: () =>
|
|
44
|
-
NotFoundError: () =>
|
|
42
|
+
ID: () => ID18,
|
|
43
|
+
Info: () => Info30,
|
|
44
|
+
NotFoundError: () => NotFoundError13,
|
|
45
45
|
Project: () => exports_project,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service84,
|
|
47
47
|
UpdateInput: () => UpdateInput3,
|
|
48
48
|
Vcs: () => Vcs2,
|
|
49
|
-
node: () =>
|
|
49
|
+
node: () => node88,
|
|
50
50
|
root: () => root2,
|
|
51
51
|
sweepNode: () => sweepNode2
|
|
52
52
|
});
|
|
@@ -59,14 +59,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
59
59
|
import { AppProcess } from "@opencode/util/process";
|
|
60
60
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Hash } from "@opencode/util/hash";
|
|
62
|
-
var
|
|
62
|
+
var ID18 = ID19;
|
|
63
63
|
var Vcs2 = Vcs3;
|
|
64
64
|
var Current2 = Current3;
|
|
65
|
-
var
|
|
65
|
+
var Info30 = Info31;
|
|
66
66
|
var UpdateInput3 = UpdateInput4;
|
|
67
67
|
|
|
68
|
-
class
|
|
69
|
-
projectID:
|
|
68
|
+
class NotFoundError13 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
69
|
+
projectID: ID18
|
|
70
70
|
}) {
|
|
71
71
|
}
|
|
72
72
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -84,7 +84,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
84
84
|
var ACTIVATE_INTERVAL = 60000;
|
|
85
85
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
86
86
|
|
|
87
|
-
class
|
|
87
|
+
class Service84 extends Context.Service()("@opencode/Project") {
|
|
88
88
|
}
|
|
89
89
|
function fromRow(row) {
|
|
90
90
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -108,9 +108,9 @@ function fromRow(row) {
|
|
|
108
108
|
sandboxes: row.sandboxes
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
-
var layer = Layer.effect(
|
|
111
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
112
112
|
const fs = yield* FSUtil.Service;
|
|
113
|
-
const git = yield*
|
|
113
|
+
const git = yield* Service85;
|
|
114
114
|
const proc = yield* AppProcess.Service;
|
|
115
115
|
const bus = yield* Service86;
|
|
116
116
|
const db = (yield* Service87).db;
|
|
@@ -123,8 +123,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
123
123
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
124
124
|
const changed = replaced ?? unarchived;
|
|
125
125
|
if (changed)
|
|
126
|
-
yield* bus.publish(
|
|
127
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
126
|
+
yield* bus.publish(Event20.Updated, fromRow(changed));
|
|
127
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event20.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
128
128
|
if (!project.vcs)
|
|
129
129
|
return project;
|
|
130
130
|
const directories = [
|
|
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
160
160
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
161
161
|
projectID: item.projectID,
|
|
162
162
|
directory: item.directory,
|
|
163
|
-
previous: project.previous ??
|
|
163
|
+
previous: project.previous ?? ID18.global,
|
|
164
164
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
165
165
|
}, {
|
|
166
166
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -183,9 +183,9 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
183
183
|
time_updated: Date.now()
|
|
184
184
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
185
185
|
if (!row)
|
|
186
|
-
return yield* new
|
|
186
|
+
return yield* new NotFoundError13({ projectID: input.projectID });
|
|
187
187
|
const project = fromRow(row);
|
|
188
|
-
yield* bus.publish(
|
|
188
|
+
yield* bus.publish(Event20.Updated, project);
|
|
189
189
|
return project;
|
|
190
190
|
});
|
|
191
191
|
const activated = new Map;
|
|
@@ -196,10 +196,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
196
196
|
activated.set(projectID, now);
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
202
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
202
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID18.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
203
203
|
return;
|
|
204
204
|
}));
|
|
205
205
|
});
|
|
@@ -210,7 +210,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
210
210
|
const normalized = url(origin);
|
|
211
211
|
if (!normalized)
|
|
212
212
|
return;
|
|
213
|
-
return
|
|
213
|
+
return ID18.make(Hash.fast(`git-remote:${normalized}`));
|
|
214
214
|
});
|
|
215
215
|
function url(input) {
|
|
216
216
|
const value = input.trim();
|
|
@@ -235,7 +235,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
235
235
|
}
|
|
236
236
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
237
237
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
238
|
-
return root ?
|
|
238
|
+
return root ? ID18.make(root) : undefined;
|
|
239
239
|
});
|
|
240
240
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
241
241
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
252
252
|
const resolved = {
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID18.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,7 +276,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
276
276
|
return;
|
|
277
277
|
const node = result.stdout.toString("utf8").split(`
|
|
278
278
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
279
|
-
return node ?
|
|
279
|
+
return node ? ID18.make(node) : undefined;
|
|
280
280
|
});
|
|
281
281
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
282
282
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
284
284
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
285
285
|
return {
|
|
286
286
|
previous,
|
|
287
|
-
id: id ??
|
|
287
|
+
id: id ?? ID18.global,
|
|
288
288
|
directory: worktree,
|
|
289
289
|
vcs: { type: "hg", store: dotHg }
|
|
290
290
|
};
|
|
@@ -311,7 +311,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
313
|
return yield* save({
|
|
314
|
-
id:
|
|
314
|
+
id: ID18.make(Hash.fast(`directory:${directory}`)),
|
|
315
315
|
directory,
|
|
316
316
|
canonical: directory,
|
|
317
317
|
vcs: undefined
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
320
320
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
321
321
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
322
322
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
323
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
323
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID18.global))).all().pipe(Effect.orDie);
|
|
324
324
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
325
325
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
326
326
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -333,23 +333,23 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
333
333
|
return;
|
|
334
334
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
335
335
|
if (row)
|
|
336
|
-
yield* bus.publish(
|
|
336
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
337
337
|
}), { concurrency: 8, discard: true });
|
|
338
338
|
});
|
|
339
|
-
return
|
|
339
|
+
return Service84.of({ list, update, activate, resolve, sweep });
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
342
|
-
service:
|
|
341
|
+
var node88 = makeGlobalNode({
|
|
342
|
+
service: Service84,
|
|
343
343
|
layer,
|
|
344
|
-
deps: [node90, node91, FSUtil.node,
|
|
344
|
+
deps: [node90, node91, FSUtil.node, node89, AppProcess.node]
|
|
345
345
|
});
|
|
346
346
|
var sweepNode2 = makeGlobalNode({
|
|
347
347
|
name: "project-archive-sweep",
|
|
348
348
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
349
|
-
const project = yield*
|
|
349
|
+
const project = yield* Service84;
|
|
350
350
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
351
351
|
})),
|
|
352
|
-
deps: [
|
|
352
|
+
deps: [node88]
|
|
353
353
|
});
|
|
354
354
|
|
|
355
|
-
export {
|
|
355
|
+
export { ID18, Vcs2, Current2, Info30, UpdateInput3, NotFoundError13, root2, Service84, node88, sweepNode2, exports_project };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./repository-61c5qd3j.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./repository-3g2vn521.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError3,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service22
|
|
14
|
+
} from "./repository-0afpajpk.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input4,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin23,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description4,
|
|
27
|
+
name: () => name4
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name4 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input4 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID5,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin23 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service55;
|
|
53
|
+
const forms = yield* Service77;
|
|
54
|
+
const websearch = yield* Service22;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name4,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description4,
|
|
59
|
+
input: Input4,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name4,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name4];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name4, NO_RESULTS2, description4, Input4, Plugin23, exports_websearch2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-512987xb.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-s6h2s3rz.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID14,
|
|
14
|
+
Service75,
|
|
15
|
+
node78,
|
|
16
|
+
Event16
|
|
17
|
+
} from "./repository-d3yrsr4e.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service83,
|
|
20
|
+
node87
|
|
21
|
+
} from "./repository-vavwx7s5.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
@@ -31,13 +31,13 @@ __export(exports_provider3, {
|
|
|
31
31
|
Compaction: () => Compaction3,
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event15,
|
|
35
|
+
ID: () => ID13,
|
|
36
|
+
Info: () => Info23,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider3,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service71,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider3, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node74,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -332,8 +332,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
332
332
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
333
333
|
|
|
334
334
|
// src/provider.ts
|
|
335
|
-
import { Event as
|
|
336
|
-
var
|
|
335
|
+
import { Event as Event15 } from "@opencode/schema/provider";
|
|
336
|
+
var ID13 = Provider.ID;
|
|
337
337
|
var AISDK_PREFIX2 = "aisdk:";
|
|
338
338
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
339
339
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -577,9 +577,9 @@ var Compaction3 = Provider.Compaction;
|
|
|
577
577
|
var Cache2 = Provider.Cache;
|
|
578
578
|
var Transport2 = Provider.Transport;
|
|
579
579
|
var Settings2 = Provider.Settings;
|
|
580
|
-
var
|
|
580
|
+
var Info23 = Provider.Info;
|
|
581
581
|
|
|
582
|
-
class
|
|
582
|
+
class Service71 extends Context.Service()("@opencode/Provider") {
|
|
583
583
|
}
|
|
584
584
|
var definitions = new WeakMap;
|
|
585
585
|
function index(providerID, models) {
|
|
@@ -592,10 +592,10 @@ function index(providerID, models) {
|
|
|
592
592
|
definitions.set(models, indexes);
|
|
593
593
|
return result;
|
|
594
594
|
}
|
|
595
|
-
var layer = Layer.effect(
|
|
595
|
+
var layer = Layer.effect(Service71, Effect2.gen(function* () {
|
|
596
596
|
const bus = yield* Service86;
|
|
597
|
-
const integrations = yield*
|
|
598
|
-
const location = yield*
|
|
597
|
+
const integrations = yield* Service75;
|
|
598
|
+
const location = yield* Service83;
|
|
599
599
|
const state = create3({
|
|
600
600
|
name: "provider",
|
|
601
601
|
initial: () => new Map,
|
|
@@ -606,7 +606,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
606
606
|
const current = records.get(id);
|
|
607
607
|
if (current)
|
|
608
608
|
return current;
|
|
609
|
-
const added = { provider:
|
|
609
|
+
const added = { provider: Info23.empty(id), models: new Map };
|
|
610
610
|
records.set(id, added);
|
|
611
611
|
maps.add(added.models);
|
|
612
612
|
return added;
|
|
@@ -687,7 +687,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
687
687
|
const available = Array.from(records.values()).filter((record) => {
|
|
688
688
|
if (record.provider.activation === "disabled")
|
|
689
689
|
return false;
|
|
690
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
690
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
691
691
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
692
692
|
return false;
|
|
693
693
|
if (record.provider.activation === "enabled")
|
|
@@ -713,8 +713,8 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
713
713
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
714
714
|
});
|
|
715
715
|
});
|
|
716
|
-
yield* bus.subscribe([
|
|
717
|
-
return
|
|
716
|
+
yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
717
|
+
return Service71.of({
|
|
718
718
|
transform: state.transform,
|
|
719
719
|
reload: state.reload,
|
|
720
720
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -723,7 +723,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
723
723
|
snapshot
|
|
724
724
|
});
|
|
725
725
|
}));
|
|
726
|
-
var
|
|
726
|
+
var node74 = makeLocationNode({ service: Service71, layer, deps: [node90, node78, node87] });
|
|
727
727
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
728
728
|
const module = yield* Effect2.tryPromise({
|
|
729
729
|
try: () => {
|
|
@@ -745,4 +745,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
745
745
|
return module;
|
|
746
746
|
});
|
|
747
747
|
|
|
748
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
748
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info23, Service71, node74, exports_provider3, Event15 };
|