@opencode/core 0.0.0-dev-19292 → 0.0.0-dev-19293
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{filesystem-wgnc4fqp.js → catalog-08gjfv79.js} +19 -19
- package/dist/chunks/{filesystem-9zswys26.js → catalog-0996nyz8.js} +9 -9
- package/dist/chunks/{filesystem-rt3ch154.js → catalog-0ey1mef3.js} +19 -19
- package/dist/chunks/{filesystem-tm7zr4pr.js → catalog-0gr7cw0d.js} +4 -4
- package/dist/chunks/{filesystem-qr27hz8v.js → catalog-0hkfnrqn.js} +4 -4
- package/dist/chunks/{filesystem-0paq2nw3.js → catalog-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-0q0f95c6.js → catalog-0q0f95c6.js} +1 -1
- package/dist/chunks/{filesystem-tdwyp4wd.js → catalog-0wrmrbzm.js} +41 -41
- package/dist/chunks/{filesystem-f9jz9apw.js → catalog-18g40992.js} +26 -26
- package/dist/chunks/{filesystem-xtskrd06.js → catalog-193cyatj.js} +32 -32
- package/dist/chunks/{filesystem-r5x6zcsm.js → catalog-1bbkgx8g.js} +3 -3
- package/dist/chunks/{filesystem-0ja9s148.js → catalog-1c4tfhyw.js} +20 -20
- package/dist/chunks/{filesystem-1j4zjt90.js → catalog-1cpcfx80.js} +19 -19
- package/dist/chunks/{filesystem-1dazxqgg.js → catalog-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-0hpxrkyb.js → catalog-1dfhrqqs.js} +5 -5
- package/dist/chunks/{filesystem-6175y1py.js → catalog-1fp9qa2y.js} +13 -13
- package/dist/chunks/{filesystem-b6vhrqz2.js → catalog-1k3f52p2.js} +13 -13
- package/dist/chunks/catalog-1tm0r3ht.js +4 -0
- package/dist/chunks/{filesystem-6v7xqtha.js → catalog-1vkx9ycq.js} +6 -6
- package/dist/chunks/{filesystem-ze5td8vt.js → catalog-1w752csm.js} +11 -11
- package/dist/chunks/{filesystem-9g4h0krc.js → catalog-1wasygzx.js} +20 -20
- package/dist/chunks/{filesystem-31dz7cp4.js → catalog-1wxb385z.js} +1 -1
- package/dist/chunks/{filesystem-56gdpj1q.js → catalog-1ygqh575.js} +9 -9
- package/dist/chunks/{filesystem-21r38tys.js → catalog-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-2402vzrj.js → catalog-2402vzrj.js} +1 -1
- package/dist/chunks/{filesystem-t4e6bmk3.js → catalog-24c1y031.js} +20 -20
- package/dist/chunks/{filesystem-2a5m3afh.js → catalog-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-cv4ngb9q.js → catalog-2ay0g0qq.js} +3 -3
- package/dist/chunks/{filesystem-68rttjrp.js → catalog-2k43fb76.js} +25 -25
- package/dist/chunks/{filesystem-hwdsezy6.js → catalog-2ksqe8bm.js} +26 -26
- package/dist/chunks/{filesystem-zbmxxgxf.js → catalog-2tkr3zpy.js} +14 -14
- package/dist/chunks/{filesystem-2mrtaxmf.js → catalog-2z08a793.js} +7 -7
- package/dist/chunks/{filesystem-ytws7ykb.js → catalog-2zekrh71.js} +2 -2
- package/dist/chunks/{filesystem-sc1v85yd.js → catalog-2zpanxbg.js} +26 -26
- package/dist/chunks/{filesystem-vfkzc9c7.js → catalog-39x7b3m8.js} +22 -22
- package/dist/chunks/{filesystem-3fc6dm20.js → catalog-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-3hepkmqq.js → catalog-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-9bey2zpa.js → catalog-3mp8pt0x.js} +12 -12
- package/dist/chunks/{filesystem-c3h4b1pf.js → catalog-3qvym81x.js} +20 -20
- package/dist/chunks/{filesystem-3smtnn6g.js → catalog-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-7yjg4qch.js → catalog-3tm95zy1.js} +36 -36
- package/dist/chunks/{filesystem-3tvqynh2.js → catalog-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-fpmq6gma.js → catalog-3w2b2yj4.js} +5 -5
- package/dist/chunks/catalog-45th5jwr.js +18 -0
- package/dist/chunks/{filesystem-mn7mvsf2.js → catalog-4adfcvf6.js} +15 -15
- package/dist/chunks/{filesystem-45pqravd.js → catalog-4bvz69k8.js} +8 -8
- package/dist/chunks/{filesystem-sv9bpgvh.js → catalog-4mkcvr19.js} +5 -5
- package/dist/chunks/{filesystem-9afe43sd.js → catalog-51e3a5p7.js} +6 -6
- package/dist/chunks/{filesystem-j86xyryf.js → catalog-51vw2z6p.js} +17 -17
- package/dist/chunks/{filesystem-5qsm3jka.js → catalog-52qz24pd.js} +16 -16
- package/dist/chunks/{filesystem-cc3f4dqb.js → catalog-54d6gwcz.js} +4 -4
- package/dist/chunks/{filesystem-csf2jhsg.js → catalog-5c0f1prt.js} +4 -4
- package/dist/chunks/{filesystem-721tb84k.js → catalog-5cmxdwv8.js} +3 -3
- package/dist/chunks/{filesystem-5daktx2q.js → catalog-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-v8ch97zc.js → catalog-5nsrms9d.js} +1 -1
- package/dist/chunks/{filesystem-5t3nmthw.js → catalog-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-669tq793.js → catalog-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-8fjdeang.js → catalog-68qnkcyy.js} +14 -14
- package/dist/chunks/{filesystem-t0x5rdq8.js → catalog-6ck2t1rv.js} +9 -9
- package/dist/chunks/{filesystem-s3ef3sn4.js → catalog-6mfzh3e7.js} +22 -22
- package/dist/chunks/{filesystem-6msgmcgs.js → catalog-6msgmcgs.js} +1 -1
- package/dist/chunks/{filesystem-y9aqre06.js → catalog-6r3a936t.js} +11 -11
- package/dist/chunks/{filesystem-4r3mqmdm.js → catalog-6rdksybb.js} +41 -41
- package/dist/chunks/{filesystem-71q4at8m.js → catalog-71q4at8m.js} +1 -1
- package/dist/chunks/{filesystem-7bmhse3q.js → catalog-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-2k8khapm.js → catalog-7dqw4kz8.js} +5 -5
- package/dist/chunks/{filesystem-3rz5xnhe.js → catalog-7hd1tkd5.js} +39 -39
- package/dist/chunks/{filesystem-jbd8s1pr.js → catalog-7p0xeqwh.js} +11 -11
- package/dist/chunks/{filesystem-77kqwf55.js → catalog-7v8r240q.js} +15 -15
- package/dist/chunks/{filesystem-jy16bfac.js → catalog-83x6p9kd.js} +1 -1
- package/dist/chunks/{filesystem-1pmr1wh0.js → catalog-86ta97sr.js} +36 -36
- package/dist/chunks/{filesystem-y4f4eb8e.js → catalog-88gw5xjn.js} +29 -29
- package/dist/chunks/{filesystem-8d7r5vzw.js → catalog-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-snfe3xn9.js → catalog-8mgt1eky.js} +7 -7
- package/dist/chunks/{filesystem-t54fdmqn.js → catalog-8p4ebb40.js} +34 -34
- package/dist/chunks/{filesystem-dj2t23y0.js → catalog-8p4f9s12.js} +2 -2
- package/dist/chunks/{filesystem-1s6e1gpa.js → catalog-8qwstm95.js} +26 -26
- package/dist/chunks/{filesystem-dfzjqex4.js → catalog-92azg307.js} +5 -5
- package/dist/chunks/{filesystem-hdxhjexh.js → catalog-939xhrtp.js} +6 -6
- package/dist/chunks/{filesystem-x553xac2.js → catalog-95tvtv7s.js} +11 -11
- package/dist/chunks/{filesystem-yt0bjwgq.js → catalog-97y0rmbn.js} +4 -4
- package/dist/chunks/{filesystem-52j78j64.js → catalog-9avakp57.js} +43 -43
- package/dist/chunks/{filesystem-2vnwx32a.js → catalog-9cg0vjy1.js} +8 -8
- package/dist/chunks/{filesystem-nb2mwgfq.js → catalog-9d6qxf9c.js} +292 -292
- package/dist/chunks/{filesystem-560shqbd.js → catalog-9gj0xced.js} +3 -3
- package/dist/chunks/{filesystem-t4z0wkpb.js → catalog-9gqphhzc.js} +13 -13
- package/dist/chunks/{filesystem-csa1wr7g.js → catalog-9grwahz1.js} +9 -9
- package/dist/chunks/{filesystem-73df9qch.js → catalog-9pxrakc7.js} +25 -25
- package/dist/chunks/{filesystem-k0k8y9a7.js → catalog-9vh5426k.js} +3 -3
- package/dist/chunks/{filesystem-5c4hm403.js → catalog-a1bz86dw.js} +3 -3
- package/dist/chunks/{filesystem-61938heb.js → catalog-a257t0jf.js} +17 -17
- package/dist/chunks/{filesystem-aaet6srn.js → catalog-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-9vf0b0kg.js → catalog-abtbdf59.js} +28 -28
- package/dist/chunks/{filesystem-qzkfvpqa.js → catalog-acqgx470.js} +24 -24
- package/dist/chunks/catalog-aeyh582h.js +22 -0
- package/dist/chunks/{filesystem-tpxc5hbb.js → catalog-ans1jj8h.js} +11 -11
- package/dist/chunks/{filesystem-xmxn88x7.js → catalog-ar9ay40j.js} +25 -25
- package/dist/chunks/{filesystem-kam6mwnv.js → catalog-b292tk0n.js} +7 -7
- package/dist/chunks/{filesystem-pahszt5y.js → catalog-b2ajcddy.js} +8 -8
- package/dist/chunks/{filesystem-3jp54z3r.js → catalog-b3t12aqp.js} +1 -1
- package/dist/chunks/{filesystem-b6gygkdw.js → catalog-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-2tfmgkzg.js → catalog-bajakh74.js} +4 -4
- package/dist/chunks/{filesystem-ny7m7jyt.js → catalog-bjmz90nh.js} +6 -6
- package/dist/chunks/{filesystem-4zskx0sx.js → catalog-bt3s1erw.js} +28 -28
- package/dist/chunks/{filesystem-w6jjpet8.js → catalog-c0sgx4c0.js} +14 -14
- package/dist/chunks/{filesystem-nv8hv94m.js → catalog-c445fhf3.js} +9 -9
- package/dist/chunks/{filesystem-2d6j2h4j.js → catalog-c7ecgrk6.js} +6 -6
- package/dist/chunks/{filesystem-77934d6b.js → catalog-c9004w5b.js} +10 -10
- package/dist/chunks/{filesystem-r1p902q3.js → catalog-c9e1ae34.js} +8 -8
- package/dist/chunks/{filesystem-7d9rgk6v.js → catalog-ca0dbqvs.js} +17 -17
- package/dist/chunks/{filesystem-9yx1vv9a.js → catalog-ccr570b8.js} +14 -14
- package/dist/chunks/{filesystem-rhm006ed.js → catalog-cfcv5f3g.js} +6 -6
- package/dist/chunks/{filesystem-m0jqrx5p.js → catalog-cfpkc3c9.js} +2 -2
- package/dist/chunks/{filesystem-knac7z16.js → catalog-cpf2fnne.js} +22 -22
- package/dist/chunks/{filesystem-2fjmmd1n.js → catalog-csdk6fpb.js} +168 -168
- package/dist/chunks/{filesystem-abzdtrwv.js → catalog-csy5xrym.js} +24 -24
- package/dist/chunks/{filesystem-9d8ap61w.js → catalog-cy61f422.js} +32 -32
- package/dist/chunks/{filesystem-mtft99cd.js → catalog-d2aac7k2.js} +5 -5
- package/dist/chunks/{filesystem-aabx2j0n.js → catalog-d596epm3.js} +27 -27
- package/dist/chunks/{filesystem-q13v07rn.js → catalog-d6xggxnc.js} +17 -17
- package/dist/chunks/{filesystem-29bacfvv.js → catalog-d7f95zz1.js} +5 -5
- package/dist/chunks/{filesystem-29k8s8e4.js → catalog-ddaqz593.js} +20 -20
- package/dist/chunks/{filesystem-xhv33s0s.js → catalog-dgyrknrt.js} +6 -6
- package/dist/chunks/{filesystem-wbs9x86t.js → catalog-dj16x7mk.js} +9 -9
- package/dist/chunks/{filesystem-eeavwd92.js → catalog-dp3p8yg5.js} +3 -3
- package/dist/chunks/{filesystem-1ypbpeza.js → catalog-dtbh1kja.js} +10 -10
- package/dist/chunks/{filesystem-844ef7ks.js → catalog-dv1qgsyq.js} +8 -8
- package/dist/chunks/{filesystem-7yqnf43w.js → catalog-dwvzh0g2.js} +6 -6
- package/dist/chunks/{filesystem-851r6173.js → catalog-dy775f0c.js} +13 -13
- package/dist/chunks/{filesystem-gepszj42.js → catalog-dzye6hzv.js} +16 -16
- package/dist/chunks/{filesystem-bsfhgqyd.js → catalog-e4c51rkk.js} +46 -46
- package/dist/chunks/{filesystem-2chnyb6y.js → catalog-eaa5pbb8.js} +32 -32
- package/dist/chunks/{filesystem-am15qhr4.js → catalog-edf3pq06.js} +26 -26
- package/dist/chunks/{filesystem-9m17q65d.js → catalog-edycvqhn.js} +44 -44
- package/dist/chunks/{filesystem-1ah30sey.js → catalog-en74w496.js} +5 -5
- package/dist/chunks/{filesystem-7xcv53jd.js → catalog-etfxbf6a.js} +8 -8
- package/dist/chunks/{filesystem-etq0c3wd.js → catalog-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-wd3khw6k.js → catalog-excxsdmh.js} +18 -18
- package/dist/chunks/{filesystem-n819r5x6.js → catalog-ey85gxkh.js} +19 -19
- package/dist/chunks/{filesystem-hdnk95c8.js → catalog-f828m53h.js} +2 -2
- package/dist/chunks/{filesystem-fffs15cf.js → catalog-faj9g8h9.js} +26 -26
- package/dist/chunks/{filesystem-tqjtzs87.js → catalog-fe35mk0j.js} +24 -24
- package/dist/chunks/{filesystem-a46v4e4v.js → catalog-fm2qvscf.js} +4 -4
- package/dist/chunks/catalog-fq87a0m5.js +247 -0
- package/dist/chunks/{filesystem-0my5tm07.js → catalog-ftzwncw9.js} +16 -16
- package/dist/chunks/{filesystem-p5eadnhw.js → catalog-fvg72gxj.js} +20 -20
- package/dist/chunks/{filesystem-fxbjtjnd.js → catalog-fxbjtjnd.js} +1 -1
- package/dist/chunks/{filesystem-jmgfrcfm.js → catalog-fz0j3gyq.js} +5 -5
- package/dist/chunks/{filesystem-jgeey3vd.js → catalog-g4j3t0tj.js} +35 -35
- package/dist/chunks/{filesystem-z412kppw.js → catalog-g5e9rtry.js} +4 -4
- package/dist/chunks/{filesystem-2g4a82s9.js → catalog-g69k0va6.js} +14 -14
- package/dist/chunks/{filesystem-gd4qta3r.js → catalog-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-zsdmrg6x.js → catalog-gea5s3cg.js} +11 -11
- package/dist/chunks/{filesystem-pzh96g4g.js → catalog-grgythxa.js} +8 -8
- package/dist/chunks/{filesystem-qmr73083.js → catalog-gt0cxfk7.js} +1 -1
- package/dist/chunks/{filesystem-r59yas2b.js → catalog-gtaebsa9.js} +9 -9
- package/dist/chunks/{filesystem-gv6a8nnw.js → catalog-gv6a8nnw.js} +2 -2
- package/dist/chunks/{filesystem-h03wrkyp.js → catalog-h03wrkyp.js} +2 -2
- package/dist/chunks/{filesystem-3nbz8wd3.js → catalog-h09vyrzm.js} +8 -8
- package/dist/chunks/{filesystem-h6vf3j39.js → catalog-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-qpcd101b.js → catalog-hht4gh2e.js} +25 -25
- package/dist/chunks/{filesystem-85g0gjbv.js → catalog-hke3s7jr.js} +25 -25
- package/dist/chunks/{filesystem-87deq66t.js → catalog-hm24pp5g.js} +6 -6
- package/dist/chunks/{filesystem-qte5z7bc.js → catalog-hnr5yq9h.js} +5 -5
- package/dist/chunks/{filesystem-j56e64zr.js → catalog-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-md8xapqn.js → catalog-j99k1z0n.js} +17 -17
- package/dist/chunks/{filesystem-7stty0k9.js → catalog-jaggdvfk.js} +13 -13
- package/dist/chunks/{filesystem-18cztcj7.js → catalog-jhetwysa.js} +3 -3
- package/dist/chunks/{filesystem-st1tj7wz.js → catalog-k4w2jens.js} +35 -35
- package/dist/chunks/{filesystem-kg06axw8.js → catalog-kg06axw8.js} +1 -1
- package/dist/chunks/{filesystem-ac9yf703.js → catalog-kh42c52q.js} +32 -32
- package/dist/chunks/{filesystem-v8wb3v9z.js → catalog-km7kbv75.js} +11 -11
- package/dist/chunks/{filesystem-36q2s365.js → catalog-kr0f3q28.js} +28 -28
- package/dist/chunks/{filesystem-g5g6qkd8.js → catalog-krkftj6y.js} +3 -3
- package/dist/chunks/{filesystem-r3x1gk33.js → catalog-ksxmc9x1.js} +19 -19
- package/dist/chunks/{filesystem-m9w0rfyh.js → catalog-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-t51qk8jz.js → catalog-magykp64.js} +21 -21
- package/dist/chunks/{filesystem-k8zgzs4j.js → catalog-may0v2nw.js} +7 -7
- package/dist/chunks/{filesystem-y81batpe.js → catalog-mhwe31bg.js} +4 -4
- package/dist/chunks/{filesystem-wzchp92g.js → catalog-mjk9qewm.js} +22 -22
- package/dist/chunks/{filesystem-mkcjrzeh.js → catalog-mkcjrzeh.js} +1 -1
- package/dist/chunks/{filesystem-afc89ev1.js → catalog-mrb4trvw.js} +9 -9
- package/dist/chunks/{filesystem-182ekf6d.js → catalog-nf0n8mk0.js} +18 -18
- package/dist/chunks/{filesystem-fyjrpq2n.js → catalog-nf7ftftm.js} +8 -8
- package/dist/chunks/{filesystem-ca4qmn19.js → catalog-ngm87703.js} +16 -16
- package/dist/chunks/{filesystem-hjt4xg1x.js → catalog-nhy5jxhy.js} +4 -4
- package/dist/chunks/{filesystem-6nvdcf2p.js → catalog-npysrchg.js} +11 -11
- package/dist/chunks/{filesystem-jrjrrhp8.js → catalog-nrbr496k.js} +20 -20
- package/dist/chunks/{filesystem-5nzkepsx.js → catalog-nvrcv9cw.js} +4 -4
- package/dist/chunks/{filesystem-cvx3h1xc.js → catalog-nzhacs1j.js} +17 -17
- package/dist/chunks/{filesystem-33yyfjes.js → catalog-p8x9x2db.js} +15 -15
- package/dist/chunks/{filesystem-j935v87r.js → catalog-paphc93g.js} +2 -2
- package/dist/chunks/{filesystem-sea28k5q.js → catalog-pb1eahw5.js} +11 -11
- package/dist/chunks/{filesystem-9z2n9fsv.js → catalog-pf2hb43r.js} +6 -6
- package/dist/chunks/{filesystem-pjvnvgmy.js → catalog-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → catalog-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-6jnybvqn.js → catalog-pnv527nz.js} +9 -9
- package/dist/chunks/{filesystem-phnksyfb.js → catalog-ppwr6x1h.js} +63 -63
- package/dist/chunks/{filesystem-fkf7rt1g.js → catalog-pqh2nv3g.js} +22 -22
- package/dist/chunks/{filesystem-vbfce96g.js → catalog-prgkbevw.js} +18 -18
- package/dist/chunks/{filesystem-7wc683m2.js → catalog-ptvnqgxn.js} +2 -2
- package/dist/chunks/{filesystem-crzr9tv5.js → catalog-pvrjs4yz.js} +11 -11
- package/dist/chunks/{filesystem-1rrwdqhg.js → catalog-q54czkb4.js} +5 -5
- package/dist/chunks/{filesystem-wwrcmqtb.js → catalog-qbj7c7cb.js} +13 -13
- package/dist/chunks/{filesystem-va2cr1hn.js → catalog-qfj9a7dr.js} +24 -24
- package/dist/chunks/{filesystem-2hybh429.js → catalog-qhbn037j.js} +4 -4
- package/dist/chunks/{filesystem-jw6vwvft.js → catalog-qj1xgd3c.js} +16 -16
- package/dist/chunks/{filesystem-wgfj0ahh.js → catalog-qj463mt0.js} +11 -11
- package/dist/chunks/{filesystem-8z6evsjd.js → catalog-qqbwtt94.js} +6 -6
- package/dist/chunks/{filesystem-qsdy395h.js → catalog-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-d6jf792w.js → catalog-qwvr7hcb.js} +18 -18
- package/dist/chunks/{filesystem-1d6xgsn1.js → catalog-qxj1ffes.js} +46 -46
- package/dist/chunks/{filesystem-610n7dfb.js → catalog-rak93kx5.js} +17 -17
- package/dist/chunks/{filesystem-jtc6bzgn.js → catalog-rmsvm9se.js} +33 -33
- package/dist/chunks/{filesystem-jefma2gq.js → catalog-rn3bb77g.js} +10 -10
- package/dist/chunks/{filesystem-zdejx0ks.js → catalog-rp3r94qx.js} +24 -24
- package/dist/chunks/{filesystem-70h0dqcv.js → catalog-s5pqthp7.js} +23 -23
- package/dist/chunks/{filesystem-ff6crjyd.js → catalog-sndgt87n.js} +32 -32
- package/dist/chunks/{filesystem-7g04y0rf.js → catalog-srb7sc6z.js} +38 -38
- package/dist/chunks/{filesystem-f2gse5fy.js → catalog-ssvfzqqs.js} +6 -6
- package/dist/chunks/{filesystem-55azg7hm.js → catalog-sy6rv79x.js} +35 -35
- package/dist/chunks/{filesystem-mqafpt2f.js → catalog-t1va49jq.js} +1 -1
- package/dist/chunks/{filesystem-kxf93db8.js → catalog-t39nz99n.js} +30 -30
- package/dist/chunks/{filesystem-eaj1djv9.js → catalog-t550f9t1.js} +8 -8
- package/dist/chunks/{filesystem-2vs2nh1n.js → catalog-t7n9q6bq.js} +4 -4
- package/dist/chunks/{filesystem-f9bavhm2.js → catalog-t8mcaem5.js} +1 -1
- package/dist/chunks/{filesystem-8eyjkgz3.js → catalog-t9eetm64.js} +37 -37
- package/dist/chunks/{filesystem-nfkr9082.js → catalog-t9zs3egg.js} +4 -4
- package/dist/chunks/{filesystem-tazgh4e4.js → catalog-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-tcezcvh9.js → catalog-tcezcvh9.js} +1 -1
- package/dist/chunks/{filesystem-tdstcens.js → catalog-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-81swgkk7.js → catalog-te1cag4t.js} +9 -9
- package/dist/chunks/{filesystem-tvtrv512.js → catalog-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-ra6n8sk1.js → catalog-txr5ac4p.js} +4 -4
- package/dist/chunks/{filesystem-j2d2x7tv.js → catalog-tzsxfahg.js} +87 -87
- package/dist/chunks/{filesystem-tn4g20bc.js → catalog-ve7drzgd.js} +9 -9
- package/dist/chunks/{filesystem-veqvce7d.js → catalog-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-bpzgnhx9.js → catalog-vmtxrkck.js} +54 -54
- package/dist/chunks/{filesystem-ve6nm2s5.js → catalog-vvccsdf3.js} +6 -6
- package/dist/chunks/{filesystem-vzcthcp8.js → catalog-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-a4exdnt3.js → catalog-w2ema4db.js} +2 -2
- package/dist/chunks/{filesystem-w3wsvvr9.js → catalog-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-cny5rd43.js → catalog-w49382pb.js} +8 -8
- package/dist/chunks/{filesystem-6wfg927e.js → catalog-w77s52q3.js} +30 -30
- package/dist/chunks/{filesystem-qywpveqw.js → catalog-wd3yn1fh.js} +15 -15
- package/dist/chunks/{filesystem-wd87259q.js → catalog-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-a79c2avy.js → catalog-wfr4g6r5.js} +27 -27
- package/dist/chunks/{filesystem-dbftckt4.js → catalog-wst1zvrx.js} +56 -56
- package/dist/chunks/{filesystem-hv2e1k7y.js → catalog-wt5gx8pc.js} +4 -4
- package/dist/chunks/{filesystem-at1f71x6.js → catalog-wz396vy4.js} +20 -20
- package/dist/chunks/{filesystem-apbzxcta.js → catalog-x0fpwzd0.js} +86 -86
- package/dist/chunks/{filesystem-x1ezjp6w.js → catalog-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-x43y2vfs.js → catalog-x43y2vfs.js} +2 -2
- package/dist/chunks/{filesystem-j8xrsd60.js → catalog-xcm121yb.js} +16 -16
- package/dist/chunks/{filesystem-9pdjfdc0.js → catalog-xt1cn49a.js} +15 -15
- package/dist/chunks/{filesystem-e0prvjnp.js → catalog-xycjtdwc.js} +2 -2
- package/dist/chunks/{filesystem-y1fvbwt7.js → catalog-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-y71avatq.js → catalog-y71avatq.js} +1 -1
- package/dist/chunks/{filesystem-qynpn6w3.js → catalog-yeqyw0z5.js} +9 -9
- package/dist/chunks/{filesystem-1acjjqhc.js → catalog-yp2x3t23.js} +4 -4
- package/dist/chunks/{filesystem-qyp1btz3.js → catalog-ypakvq1d.js} +9 -9
- package/dist/chunks/{filesystem-nb12cs01.js → catalog-yr39kfap.js} +9 -9
- package/dist/chunks/{filesystem-yrhqyw5v.js → catalog-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-s4enseaf.js → catalog-yrznvahk.js} +2 -2
- package/dist/chunks/{filesystem-ydvj4nw2.js → catalog-ysvdnr04.js} +20 -20
- package/dist/chunks/{filesystem-ddztgakg.js → catalog-ywnd43xk.js} +43 -43
- package/dist/chunks/{filesystem-z0bkrqjs.js → catalog-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-80e0yyk8.js → catalog-z2kdtaq9.js} +9 -9
- package/dist/chunks/{filesystem-q3n43qhw.js → catalog-z5p80r6k.js} +10 -10
- package/dist/chunks/{filesystem-29x78va6.js → catalog-z63w68vq.js} +6 -6
- package/dist/chunks/{filesystem-306yx9xs.js → catalog-z8msdh7f.js} +22 -22
- package/dist/chunks/{filesystem-bq07s7py.js → catalog-z9cfrxhp.js} +8 -8
- package/dist/chunks/{filesystem-4nvekdmf.js → catalog-ze5v0a14.js} +8 -8
- package/dist/chunks/{filesystem-zeh9ct20.js → catalog-zeh9ct20.js} +2 -2
- package/dist/chunks/{filesystem-mmqk02zq.js → catalog-zhg5ad22.js} +19 -19
- package/dist/chunks/{filesystem-zr2ceqn5.js → catalog-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-a2rp47zj.js → catalog-zvjefhv4.js} +9 -9
- package/dist/chunks/{filesystem-jzdnffp3.js → catalog-zx8e487a.js} +6 -6
- package/dist/chunks/{filesystem-zxq2ej10.js → catalog-zxq2ej10.js} +1 -1
- package/dist/chunks/{filesystem-5jtdmvnp.js → catalog-zxwpk2nb.js} +1 -1
- package/dist/chunks/{filesystem-dm4dnfc4.js → catalog-zy3h4kss.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +112 -112
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +84 -84
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +82 -82
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- 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 +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +86 -86
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +83 -83
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- package/dist/chunks/filesystem-0mesazry.js +0 -4
- package/dist/chunks/filesystem-de4mmwy9.js +0 -247
- package/dist/chunks/filesystem-gbeg4n2a.js +0 -22
- package/dist/chunks/filesystem-rap9a73h.js +0 -18
- /package/dist/chunks/{filesystem-0qkdqm5v.js → catalog-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → catalog-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → catalog-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → catalog-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → catalog-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → catalog-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → catalog-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → catalog-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → catalog-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → catalog-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → catalog-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → catalog-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → catalog-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → catalog-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → catalog-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → catalog-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → catalog-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → catalog-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → catalog-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → catalog-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → catalog-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → catalog-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → catalog-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → catalog-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-922hggd3.js → catalog-922hggd3.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → catalog-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → catalog-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a1tpkmh4.js → catalog-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → catalog-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → catalog-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → catalog-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → catalog-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → catalog-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → catalog-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → catalog-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → catalog-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → catalog-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → catalog-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → catalog-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → catalog-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → catalog-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → catalog-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → catalog-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → catalog-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → catalog-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → catalog-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → catalog-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → catalog-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → catalog-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → catalog-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → catalog-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → catalog-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → catalog-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → catalog-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → catalog-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → catalog-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → catalog-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → catalog-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → catalog-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-hrnqkpcd.js → catalog-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → catalog-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → catalog-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → catalog-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → catalog-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → catalog-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → catalog-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → catalog-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → catalog-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → catalog-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → catalog-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → catalog-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → catalog-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → catalog-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → catalog-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → catalog-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → catalog-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → catalog-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → catalog-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → catalog-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → catalog-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-twg0f83k.js → catalog-twg0f83k.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → catalog-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → catalog-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → catalog-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → catalog-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → catalog-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → catalog-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → catalog-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → catalog-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → catalog-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → catalog-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./catalog-e4c51rkk.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./catalog-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./catalog-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./catalog-pvrjs4yz.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./catalog-g5e9rtry.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./catalog-mjk9qewm.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./catalog-bt3s1erw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID17
|
|
17
|
+
} from "./catalog-c7ecgrk6.js";
|
|
18
18
|
import {
|
|
19
19
|
Family2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./catalog-z2kdtaq9.js";
|
|
21
21
|
import {
|
|
22
22
|
bootstrap2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./catalog-pjvnvgmy.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/digitalocean.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
28
28
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
29
|
-
var providerID =
|
|
30
|
-
var integrationID =
|
|
29
|
+
var providerID = ID17.make("digitalocean");
|
|
30
|
+
var integrationID = ID12.make("digitalocean");
|
|
31
31
|
var methodID = MethodID2.make("browser");
|
|
32
32
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
33
33
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -158,7 +158,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
160
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
161
|
-
yield* bus.subscribe(
|
|
161
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
162
162
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
163
163
|
})
|
|
164
164
|
});
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./catalog-g5e9rtry.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./catalog-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service5,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
17
|
node: () => node7
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service5 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer4 = Layer.effect(Service5, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service79;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service5.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var node7 = makeGlobalNode({ service:
|
|
36
|
+
var node7 = makeGlobalNode({ service: Service5, layer: layer4, deps: [node84] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service5, layer4, node7, exports_sdk };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
Info32
|
|
5
|
+
} from "./catalog-c7ecgrk6.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Info29
|
|
8
|
+
} from "./catalog-z2kdtaq9.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./catalog-g5e9rtry.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./catalog-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
17
|
+
ID12,
|
|
18
|
+
Service71,
|
|
19
|
+
node75
|
|
20
|
+
} from "./catalog-bt3s1erw.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./catalog-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
|
-
Event: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
29
|
+
Event: () => Event16,
|
|
30
|
+
Service: () => Service70,
|
|
31
|
+
node: () => node74
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode/schema/catalog";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event16 } from "@opencode/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service70 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
40
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
41
41
|
const bus = yield* Service79;
|
|
42
|
-
const integrations = yield*
|
|
42
|
+
const integrations = yield* Service71;
|
|
43
43
|
const available = (provider, integration) => {
|
|
44
44
|
if (provider.activation === "disabled")
|
|
45
45
|
return false;
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
72
72
|
let current = editor.providers.get(providerID);
|
|
73
73
|
if (!current) {
|
|
74
74
|
current = {
|
|
75
|
-
provider:
|
|
75
|
+
provider: Info32.empty(providerID),
|
|
76
76
|
models: new Map
|
|
77
77
|
};
|
|
78
78
|
editor.providers.set(providerID, current);
|
|
@@ -90,12 +90,12 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
90
90
|
let record = editor.providers.get(providerID);
|
|
91
91
|
if (!record) {
|
|
92
92
|
record = {
|
|
93
|
-
provider:
|
|
93
|
+
provider: Info32.empty(providerID),
|
|
94
94
|
models: new Map
|
|
95
95
|
};
|
|
96
96
|
editor.providers.set(providerID, record);
|
|
97
97
|
}
|
|
98
|
-
const model = record.models.get(modelID) ??
|
|
98
|
+
const model = record.models.get(modelID) ?? Info29.default(providerID, modelID);
|
|
99
99
|
if (!record.models.has(modelID))
|
|
100
100
|
record.models.set(modelID, model);
|
|
101
101
|
fn(model);
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
129
129
|
}),
|
|
130
130
|
available: Effect.fn("Catalog.provider.available")(function* () {
|
|
131
131
|
const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
|
|
132
|
-
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ??
|
|
132
|
+
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID12.make(provider.id))));
|
|
133
133
|
})
|
|
134
134
|
},
|
|
135
135
|
model: {
|
|
@@ -184,9 +184,9 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
184
184
|
})
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
|
-
return
|
|
187
|
+
return Service70.of(result);
|
|
188
188
|
}));
|
|
189
189
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
190
|
-
var
|
|
190
|
+
var node74 = makeLocationNode({ service: Service70, layer, deps: [node84, node75] });
|
|
191
191
|
|
|
192
|
-
export {
|
|
192
|
+
export { Service70, node74, exports_catalog2, Event16 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID17
|
|
3
|
+
} from "./catalog-c7ecgrk6.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/snowflake-cortex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -52,7 +52,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
52
52
|
id: "opencode.provider.snowflake.cortex",
|
|
53
53
|
effect: Effect.fn(function* (ctx) {
|
|
54
54
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
55
|
-
if (evt.model.providerID !==
|
|
55
|
+
if (evt.model.providerID !== ID17.make("snowflake-cortex"))
|
|
56
56
|
return;
|
|
57
57
|
const token = process.env.SNOWFLAKE_CORTEX_TOKEN ?? process.env.SNOWFLAKE_CORTEX_PAT ?? (typeof evt.options.token === "string" ? evt.options.token : undefined) ?? (typeof evt.options.apiKey === "string" ? evt.options.apiKey : undefined);
|
|
58
58
|
const upstream = typeof evt.options.fetch === "function" ? evt.options.fetch : undefined;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./catalog-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./catalog-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./catalog-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service68,
|
|
3
|
+
node72
|
|
4
|
+
} from "./catalog-6rdksybb.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./catalog-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info24,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref2,
|
|
15
|
+
Service: () => Service67,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node71,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info24, Ref as Ref2, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service67 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node71 = LayerNode.unbound(Service67, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service68;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service67.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service67,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node72]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info24, Ref2, response2, Service67, node71, boundNode2, exports_location };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./catalog-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./catalog-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID18,
|
|
3
|
+
Service78
|
|
4
|
+
} from "./catalog-qfj9a7dr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service67
|
|
7
|
+
} from "./catalog-a257t0jf.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service55
|
|
10
|
+
} from "./catalog-7hd1tkd5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service61,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./catalog-ksxmc9x1.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service18
|
|
17
|
+
} from "./catalog-x0fpwzd0.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make10
|
|
20
|
+
} from "./catalog-6r3a936t.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./catalog-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./catalog-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin40
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin40 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service55;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin24 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service67;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service61;
|
|
60
|
+
const sessions = yield* Service18;
|
|
61
|
+
const agents = yield* Service78;
|
|
62
|
+
const subagents = yield* make10;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin24 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID18.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin40, exports_command2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./catalog-g5e9rtry.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./catalog-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event18,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID13,
|
|
20
|
+
Info: () => Info28,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service72,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer24,
|
|
29
|
+
node: () => node76,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event18 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID13 = Form.ID;
|
|
39
|
+
var Info28 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID13
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID13
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID13
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID13,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service72 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer24 = Layer.effect(Service72, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service79;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID13.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer21 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service72.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node76 = makeLocationNode({ service: Service72, layer: layer24, deps: [node84] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID13, Info28, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service72, layer24, node76, validateAnswer2, validateFields2, exports_form, Event18 };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin7
|
|
3
|
+
} from "./catalog-ze5v0a14.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin5
|
|
6
|
+
} from "./catalog-zx8e487a.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin6
|
|
9
|
+
} from "./catalog-yr39kfap.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin4
|
|
12
|
+
} from "./catalog-z9cfrxhp.js";
|
|
13
|
+
|
|
14
|
+
// src/plugin/websearch/index.ts
|
|
15
|
+
var WebSearchPlugins2 = [
|
|
16
|
+
Plugin7,
|
|
17
|
+
Plugin5,
|
|
18
|
+
Plugin6,
|
|
19
|
+
Plugin4
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./catalog-g5e9rtry.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event19
|
|
7
|
+
} from "./catalog-mjk9qewm.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID12,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./catalog-bt3s1erw.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID17,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./catalog-c7ecgrk6.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/provider/opencode.ts
|
|
19
19
|
import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
43
43
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
44
44
|
function oauth(http) {
|
|
45
45
|
return {
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID12.make("opencode"),
|
|
47
47
|
method: {
|
|
48
48
|
id: methodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -111,7 +111,7 @@ var OpencodePlugin2 = define({
|
|
|
111
111
|
catalog.provider.update(providerID, (provider) => {
|
|
112
112
|
if (source && source.provider !== provider)
|
|
113
113
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
114
|
-
provider.integrationID =
|
|
114
|
+
provider.integrationID = ID12.make("opencode");
|
|
115
115
|
if (item.canonical !== undefined)
|
|
116
116
|
provider.canonical = item.canonical;
|
|
117
117
|
if (item.name !== undefined)
|
|
@@ -174,7 +174,7 @@ var OpencodePlugin2 = define({
|
|
|
174
174
|
});
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
const item = catalog.provider.get(
|
|
177
|
+
const item = catalog.provider.get(ID17.opencode);
|
|
178
178
|
if (!item)
|
|
179
179
|
return;
|
|
180
180
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || connected || item.provider.settings?.apiKey);
|
|
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
}
|
|
196
196
|
});
|
|
197
197
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
198
|
-
yield* bus.subscribe(
|
|
198
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function fetchProviders(http, value) {
|