@opencode/core 2.0.27 → 2.0.29
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{filesystem-2q2afj7r.js → websearch-07vcyzex.js} +23 -23
- package/dist/chunks/{filesystem-075nkgpd.js → websearch-0fz4623t.js} +1 -1
- package/dist/chunks/{filesystem-q0xm7vwc.js → websearch-0j77ygfz.js} +6 -6
- package/dist/chunks/{filesystem-0vbcp93d.js → websearch-0vbcp93d.js} +2 -2
- package/dist/chunks/{filesystem-xw91mmsj.js → websearch-0wmc8652.js} +11 -11
- package/dist/chunks/{filesystem-2r4m1mbx.js → websearch-0zmxjhgt.js} +34 -34
- package/dist/chunks/{filesystem-85yr590m.js → websearch-103sg1x0.js} +31 -31
- package/dist/chunks/{filesystem-c35597j6.js → websearch-1b4m0bzf.js} +4 -4
- package/dist/chunks/{filesystem-277mr6gh.js → websearch-1cegxmx6.js} +58 -18
- package/dist/chunks/{filesystem-3y40vn7b.js → websearch-1k6qkxqp.js} +4 -4
- package/dist/chunks/{filesystem-42nthewb.js → websearch-1p799z25.js} +2 -2
- package/dist/chunks/{filesystem-75yaxqej.js → websearch-1pekzpef.js} +21 -21
- package/dist/chunks/{filesystem-dmn46mqv.js → websearch-1tehwsrg.js} +9 -9
- package/dist/chunks/{filesystem-hh0yy80h.js → websearch-1y335d10.js} +4 -4
- package/dist/chunks/{filesystem-40hy4nm0.js → websearch-25xd1pye.js} +25 -16
- package/dist/chunks/{filesystem-4ts7tf6z.js → websearch-2ccvkpx1.js} +2 -2
- package/dist/chunks/{filesystem-q3kzbh51.js → websearch-2yb0fdev.js} +49 -49
- package/dist/chunks/{filesystem-x5s67ttw.js → websearch-30n06459.js} +12 -12
- package/dist/chunks/{filesystem-31xfzrxg.js → websearch-31xfzrxg.js} +2 -2
- package/dist/chunks/{filesystem-9zhh23v8.js → websearch-346y6mfm.js} +7 -7
- package/dist/chunks/{filesystem-6p6bhjzq.js → websearch-3c656pdg.js} +11 -11
- package/dist/chunks/{filesystem-x2t9anc7.js → websearch-3dmcmtv3.js} +17 -17
- package/dist/chunks/{filesystem-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-3hwn7j4h.js → websearch-3hwn7j4h.js} +2 -2
- package/dist/chunks/{filesystem-7qtbp6f0.js → websearch-3m7syb4v.js} +15 -15
- package/dist/chunks/{filesystem-z5eh1vkz.js → websearch-3p5nkzgw.js} +16 -16
- package/dist/chunks/{filesystem-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-qr40m89d.js → websearch-3yzh7hr7.js} +20 -20
- package/dist/chunks/{filesystem-3zsf4n22.js → websearch-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-jtpxbk3r.js → websearch-44gjh96b.js} +84 -84
- package/dist/chunks/{filesystem-x5w8kc5x.js → websearch-4ft0y05w.js} +24 -24
- package/dist/chunks/{filesystem-g18ezh2c.js → websearch-4gq7ecwc.js} +18 -18
- package/dist/chunks/{filesystem-3c7k6cm5.js → websearch-4se3h60w.js} +9 -9
- package/dist/chunks/websearch-4wb4djvq.js +253 -0
- package/dist/chunks/{filesystem-gp94me86.js → websearch-4xzdjh1a.js} +10 -10
- package/dist/chunks/{filesystem-p4njbyer.js → websearch-52xjsfcv.js} +11 -11
- package/dist/chunks/{filesystem-54ma36ye.js → websearch-54ma36ye.js} +1 -1
- package/dist/chunks/{filesystem-rhjt4rsm.js → websearch-55nka2g1.js} +4 -4
- package/dist/chunks/{filesystem-z3pazvy2.js → websearch-5aq1sray.js} +15 -15
- package/dist/chunks/{filesystem-y15vpdnr.js → websearch-5e1pzs32.js} +9 -9
- package/dist/chunks/{filesystem-h0s8229g.js → websearch-5hft8km6.js} +18 -18
- package/dist/chunks/{filesystem-5m9w47nd.js → websearch-5m9w47nd.js} +1 -1
- package/dist/chunks/{filesystem-tx4skpae.js → websearch-5pffn7jv.js} +32 -32
- package/dist/chunks/{filesystem-628cnxdp.js → websearch-5r3x27sy.js} +20 -20
- package/dist/chunks/{filesystem-sy62yj56.js → websearch-5z3y5rqa.js} +50 -50
- package/dist/chunks/{filesystem-t63kk2n9.js → websearch-6560wqgx.js} +2 -2
- package/dist/chunks/{filesystem-jex0hdh0.js → websearch-663z1agk.js} +126 -44
- package/dist/chunks/{filesystem-6hjx5zpb.js → websearch-6hjx5zpb.js} +2 -2
- package/dist/chunks/{filesystem-krjgrvpb.js → websearch-6wc34s84.js} +11 -11
- package/dist/chunks/{filesystem-6xb47vfp.js → websearch-6xb47vfp.js} +1 -1
- package/dist/chunks/{filesystem-xpk7egw8.js → websearch-6xt5eqb0.js} +6 -6
- package/dist/chunks/{filesystem-g6yfr6ja.js → websearch-6yz0wx8n.js} +5 -5
- package/dist/chunks/{filesystem-vfb4jdsz.js → websearch-71434wjh.js} +18 -18
- package/dist/chunks/{filesystem-shj64zqm.js → websearch-73ndx0kt.js} +9 -9
- package/dist/chunks/{filesystem-2vvh33eb.js → websearch-775gj3j1.js} +9 -3
- package/dist/chunks/{filesystem-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-vc6ht4b9.js → websearch-7cmmjc66.js} +8 -8
- package/dist/chunks/{filesystem-2r93mh4x.js → websearch-7gra0nqm.js} +5 -5
- package/dist/chunks/{filesystem-gjacmpd0.js → websearch-7hpzdccj.js} +8 -8
- package/dist/chunks/{filesystem-6ea2fwcg.js → websearch-7qq3ahcc.js} +6 -6
- package/dist/chunks/{filesystem-wfk26c6d.js → websearch-7xrzajz9.js} +16 -16
- package/dist/chunks/{filesystem-84txncab.js → websearch-84txncab.js} +1 -1
- package/dist/chunks/{filesystem-cmdzq1er.js → websearch-866agajq.js} +25 -25
- package/dist/chunks/{filesystem-4yh5fkek.js → websearch-88wazn9e.js} +34 -34
- package/dist/chunks/{filesystem-8m6m0r52.js → websearch-8m6m0r52.js} +1 -1
- package/dist/chunks/{filesystem-3dreg0vn.js → websearch-8p3ctfjr.js} +11 -11
- package/dist/chunks/{filesystem-6pc27hjz.js → websearch-8sze2n9a.js} +2 -2
- package/dist/chunks/{filesystem-jh2bfv56.js → websearch-8t7fzwbd.js} +13 -13
- package/dist/chunks/{filesystem-05zcap53.js → websearch-8wjeg5tw.js} +11 -11
- package/dist/chunks/{filesystem-mnav64s8.js → websearch-8wkxae25.js} +13 -13
- package/dist/chunks/{filesystem-91qna3x0.js → websearch-91qna3x0.js} +3 -3
- package/dist/chunks/{filesystem-8wps0r52.js → websearch-92m1j5rh.js} +15 -13
- package/dist/chunks/{filesystem-gbtkprqj.js → websearch-97j7w773.js} +42 -42
- package/dist/chunks/{filesystem-g8xm47b4.js → websearch-97zq4prq.js} +11 -11
- package/dist/chunks/{filesystem-rzs3gq0x.js → websearch-9c3np669.js} +8 -8
- package/dist/chunks/{filesystem-zdbbxb0y.js → websearch-9h5qj14f.js} +5 -5
- package/dist/chunks/{filesystem-5yzzbxa7.js → websearch-9hn6k4tm.js} +8 -8
- package/dist/chunks/{filesystem-zxy7mtkf.js → websearch-9vkn4ng5.js} +31 -31
- package/dist/chunks/{filesystem-d6jv500s.js → websearch-9zfhyfhf.js} +3 -3
- package/dist/chunks/{filesystem-rezt1fjs.js → websearch-a2647qfq.js} +151 -142
- package/dist/chunks/websearch-a4h58p2q.js +102 -0
- package/dist/chunks/{filesystem-yj5krche.js → websearch-a73a6c6h.js} +14 -14
- package/dist/chunks/{filesystem-gteqr3kb.js → websearch-aa567zw8.js} +11 -11
- package/dist/chunks/{filesystem-hfx4ttpe.js → websearch-ada5kfrj.js} +10 -10
- package/dist/chunks/{filesystem-addxnjmp.js → websearch-addxnjmp.js} +1 -1
- package/dist/chunks/{filesystem-kfxykwst.js → websearch-am1tmpj5.js} +11 -11
- package/dist/chunks/{filesystem-6s1gmk25.js → websearch-aq92k1t1.js} +35 -29
- package/dist/chunks/{filesystem-e77w7m4c.js → websearch-aqa98z50.js} +14 -14
- package/dist/chunks/{filesystem-45gnhb3v.js → websearch-arkfezfn.js} +14 -14
- package/dist/chunks/{filesystem-bddt2pqj.js → websearch-avae2qkj.js} +9 -9
- package/dist/chunks/{filesystem-wxetx7mh.js → websearch-ay2x71k1.js} +9 -9
- package/dist/chunks/{filesystem-avya17qh.js → websearch-ay3jh19j.js} +22 -25
- package/dist/chunks/{filesystem-1ffvrpkg.js → websearch-bjx1sjef.js} +6 -6
- package/dist/chunks/{filesystem-qf68ybps.js → websearch-br0hqn3c.js} +25 -25
- package/dist/chunks/{filesystem-tkfxpf5w.js → websearch-btgkzwpb.js} +11 -11
- package/dist/chunks/{filesystem-zqpzmbkm.js → websearch-bwd5tn72.js} +3 -3
- package/dist/chunks/{filesystem-c1fqxshp.js → websearch-c1fqxshp.js} +3 -3
- package/dist/chunks/{filesystem-qmqgtz8f.js → websearch-c765mh8b.js} +9 -9
- package/dist/chunks/{filesystem-mh1qw9wf.js → websearch-c7gbd1xe.js} +13 -13
- package/dist/chunks/{filesystem-zxe4qb9c.js → websearch-caa8k32f.js} +34 -27
- package/dist/chunks/{filesystem-52hym6es.js → websearch-crt9038w.js} +28 -28
- package/dist/chunks/{filesystem-fs4v6yja.js → websearch-cyakegjg.js} +11 -11
- package/dist/chunks/websearch-d08ezc3t.js +26 -0
- package/dist/chunks/{filesystem-jd655njr.js → websearch-d2wa1q6j.js} +22 -22
- package/dist/chunks/{filesystem-zsa8nsz8.js → websearch-d883s65k.js} +29 -29
- package/dist/chunks/{filesystem-psy0m90e.js → websearch-d8qsn68y.js} +15 -15
- package/dist/chunks/{filesystem-g6kk69s6.js → websearch-da8gdpq5.js} +9 -9
- package/dist/chunks/{filesystem-chn727mr.js → websearch-ddypr82j.js} +8 -8
- package/dist/chunks/{filesystem-9bbnj2zh.js → websearch-dhb2hta4.js} +5 -5
- package/dist/chunks/{filesystem-k76fn4kw.js → websearch-dhmh7aw6.js} +4 -4
- package/dist/chunks/{filesystem-vw56mdd2.js → websearch-dk6ncfcg.js} +6 -6
- package/dist/chunks/{filesystem-j56e64zr.js → websearch-dqxsqydv.js} +3 -1
- package/dist/chunks/{filesystem-sb9d9eyx.js → websearch-dxzfr4ve.js} +7 -7
- package/dist/chunks/{filesystem-jnzzg47p.js → websearch-dyd0ex0t.js} +19 -19
- package/dist/chunks/{filesystem-dwatz751.js → websearch-e0dbc2qq.js} +4 -4
- package/dist/chunks/{filesystem-5qd3pb7m.js → websearch-e3qxr5gk.js} +2 -2
- package/dist/chunks/{filesystem-r2z489rp.js → websearch-e80seqcp.js} +3 -3
- package/dist/chunks/{filesystem-n59f5cqe.js → websearch-e8peznf1.js} +21 -21
- package/dist/chunks/{filesystem-8r0rjxx3.js → websearch-eawvaaey.js} +48 -48
- package/dist/chunks/{filesystem-s3mqqn9k.js → websearch-ec2vep54.js} +18 -13
- package/dist/chunks/{filesystem-eej6y6fw.js → websearch-eej6y6fw.js} +2 -2
- package/dist/chunks/{filesystem-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-ae5sdhnp.js → websearch-efjjmtnj.js} +27 -27
- package/dist/chunks/{filesystem-xq0502x8.js → websearch-espep7zj.js} +3 -3
- package/dist/chunks/{filesystem-bhzg07mw.js → websearch-etc2b570.js} +15 -15
- package/dist/chunks/{filesystem-3xq304at.js → websearch-f7ayr8mx.js} +24 -24
- package/dist/chunks/{filesystem-0jwsre1p.js → websearch-fcrkznn8.js} +5 -5
- package/dist/chunks/{filesystem-6hh8tjw2.js → websearch-fm2qvscf.js} +4 -4
- package/dist/chunks/{filesystem-e6f2cxsr.js → websearch-g37mjr4e.js} +18 -18
- package/dist/chunks/{filesystem-vdfrtany.js → websearch-g5x1q65a.js} +4 -4
- package/dist/chunks/{filesystem-tjefdw4f.js → websearch-g6vmwyfr.js} +11 -11
- package/dist/chunks/{filesystem-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-6yajptbt.js → websearch-gdbb1day.js} +1 -1
- package/dist/chunks/{filesystem-nvjf5yyf.js → websearch-geq2zx23.js} +320 -320
- package/dist/chunks/{filesystem-0dfv01xh.js → websearch-gfhhve88.js} +5 -5
- package/dist/chunks/{filesystem-ma9a1mz6.js → websearch-gjk5m4qa.js} +3 -3
- package/dist/chunks/{filesystem-r69zxgc9.js → websearch-gqkzrhj2.js} +11 -11
- package/dist/chunks/{filesystem-hhj1gqex.js → websearch-gspy0ysg.js} +4 -4
- package/dist/chunks/{filesystem-nnbqx04f.js → websearch-gwj41vyz.js} +7 -7
- package/dist/chunks/{filesystem-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-xpeshqab.js → websearch-haa4cca0.js} +6 -6
- package/dist/chunks/{filesystem-cjgcse4q.js → websearch-hcxmzztb.js} +6 -11
- package/dist/chunks/{filesystem-hgz4x7wa.js → websearch-hgz4x7wa.js} +1 -1
- package/dist/chunks/{filesystem-ddg7egp8.js → websearch-hhd9bfcx.js} +14 -14
- package/dist/chunks/{filesystem-1k1hwgxp.js → websearch-hhtxcv9s.js} +32 -32
- package/dist/chunks/{filesystem-7t7k8w74.js → websearch-hhyv66vq.js} +8 -8
- package/dist/chunks/{filesystem-kqx1b4hy.js → websearch-hkffa77z.js} +4 -4
- package/dist/chunks/{filesystem-a812m1sc.js → websearch-hkkd4pm1.js} +7 -7
- package/dist/chunks/{filesystem-hq3c8me3.js → websearch-hq3c8me3.js} +1 -1
- package/dist/chunks/{filesystem-p03r7pt3.js → websearch-hrg4krg0.js} +9 -9
- package/dist/chunks/{filesystem-92hybt7t.js → websearch-hrgbrncq.js} +12 -12
- package/dist/chunks/{filesystem-y4861qag.js → websearch-hx6kv5hf.js} +42 -42
- package/dist/chunks/{filesystem-cd22zj3n.js → websearch-ja06ey8y.js} +11 -11
- package/dist/chunks/{filesystem-vk5e0qsv.js → websearch-jehjq15e.js} +14 -14
- package/dist/chunks/{filesystem-v9rcgtcn.js → websearch-jhxrt86x.js} +28 -28
- package/dist/chunks/{filesystem-x7xmxswz.js → websearch-jneafm26.js} +13 -13
- package/dist/chunks/{filesystem-v0t15ase.js → websearch-k10p7qps.js} +4 -4
- package/dist/chunks/{filesystem-zp2jr73m.js → websearch-k2grd0fw.js} +3 -3
- package/dist/chunks/{filesystem-hbmg3jd1.js → websearch-k9mnbpyw.js} +86 -69
- package/dist/chunks/{filesystem-9zg8t2tr.js → websearch-kb7wnz6t.js} +25 -25
- package/dist/chunks/{filesystem-17ahada2.js → websearch-kev8d4bj.js} +27 -27
- package/dist/chunks/{filesystem-wz02ft3p.js → websearch-kfxbay1b.js} +13 -13
- package/dist/chunks/{filesystem-w7mvh2x4.js → websearch-kjm8yh2d.js} +19 -19
- package/dist/chunks/{filesystem-zzbddhc6.js → websearch-kkkrbyg1.js} +22 -22
- package/dist/chunks/{filesystem-nmqm2vvz.js → websearch-kqn4kc20.js} +17 -17
- package/dist/chunks/{filesystem-7wwt250p.js → websearch-krdzrw7f.js} +84 -84
- package/dist/chunks/{filesystem-hdckhky9.js → websearch-m2xy2q1r.js} +10 -10
- package/dist/chunks/{filesystem-ndz7w8hx.js → websearch-m3chcn87.js} +16 -16
- package/dist/chunks/{filesystem-gty1xwv8.js → websearch-m5yraf7v.js} +24 -24
- package/dist/chunks/{filesystem-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-gk8qb678.js → websearch-maspj1v3.js} +6 -19
- package/dist/chunks/{filesystem-kc69xce9.js → websearch-mj7h6rjn.js} +19 -19
- package/dist/chunks/{filesystem-bwds47ca.js → websearch-mp6nn8em.js} +3 -3
- package/dist/chunks/{filesystem-qjke1250.js → websearch-mq0qga5n.js} +28 -28
- package/dist/chunks/{filesystem-4dd6559a.js → websearch-n33ezsnm.js} +28 -27
- package/dist/chunks/{filesystem-wn2vj619.js → websearch-n3dj4p5b.js} +8 -8
- package/dist/chunks/{filesystem-28b6phvf.js → websearch-ng1gee1q.js} +5 -5
- package/dist/chunks/{filesystem-njatc343.js → websearch-nkndh8r8.js} +11 -11
- package/dist/chunks/{filesystem-gacw69ge.js → websearch-nkt96xeg.js} +3 -3
- package/dist/chunks/{filesystem-hehj8e2f.js → websearch-nvgev6qc.js} +17 -17
- package/dist/chunks/{filesystem-cztcbjsk.js → websearch-nytcpyw5.js} +46 -46
- package/dist/chunks/{filesystem-jq5272j9.js → websearch-p08b6fdv.js} +14 -14
- package/dist/chunks/{filesystem-28mv0yws.js → websearch-p2aadfsr.js} +15 -15
- package/dist/chunks/{filesystem-nbhbhab9.js → websearch-p2w45j0v.js} +21 -16
- package/dist/chunks/{filesystem-52fe2n6x.js → websearch-p97g2b6e.js} +6 -6
- package/dist/chunks/{filesystem-8679j8d8.js → websearch-pb47hwpg.js} +13 -11
- package/dist/chunks/{filesystem-egftk3gc.js → websearch-pghxh1nh.js} +11 -11
- package/dist/chunks/{filesystem-cp3h7zv6.js → websearch-phepkm1d.js} +23 -23
- package/dist/chunks/{filesystem-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-97aeaand.js → websearch-pkj8hqbd.js} +9 -9
- package/dist/chunks/{filesystem-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-1pdq80h1.js → websearch-pqwxz2b0.js} +5 -5
- package/dist/chunks/{filesystem-v15nq2pf.js → websearch-pxwwnbaf.js} +87 -42
- package/dist/chunks/{filesystem-30hpp6bd.js → websearch-pzwg7x8a.js} +32 -32
- package/dist/chunks/{filesystem-tbqraact.js → websearch-q8fpdxtt.js} +45 -44
- package/dist/chunks/{filesystem-d9xsbmzv.js → websearch-qcs9fwqv.js} +11 -11
- package/dist/chunks/{filesystem-3fm12cj0.js → websearch-qfx9w7bq.js} +7 -7
- package/dist/chunks/{filesystem-qnc92qwc.js → websearch-qnc92qwc.js} +1 -1
- package/dist/chunks/{filesystem-mm2s9j4z.js → websearch-qp956b5j.js} +8 -8
- package/dist/chunks/{filesystem-v7q8sg4f.js → websearch-qr9hjn0s.js} +9 -9
- package/dist/chunks/{filesystem-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-4w5f3qm5.js → websearch-qwjmgwmn.js} +8 -8
- package/dist/chunks/{filesystem-wtsf8rdt.js → websearch-r2710ff6.js} +23 -23
- package/dist/chunks/{filesystem-8y0srtbm.js → websearch-r2k8chwn.js} +45 -45
- package/dist/chunks/{filesystem-h3s3f80v.js → websearch-r8x9drbh.js} +5 -5
- package/dist/chunks/{filesystem-eaednpsc.js → websearch-r9m9gn5p.js} +27 -24
- package/dist/chunks/websearch-rap9a73h.js +18 -0
- package/dist/chunks/{filesystem-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-rert0e01.js → websearch-rert0e01.js} +2 -2
- package/dist/chunks/{filesystem-jcr0a5xm.js → websearch-rgxvqbqk.js} +31 -31
- package/dist/chunks/{filesystem-zfgdk5x8.js → websearch-rh5yy33f.js} +36 -36
- package/dist/chunks/{filesystem-43fay8tn.js → websearch-rhbc2745.js} +11 -11
- package/dist/chunks/{filesystem-rj3eygr5.js → websearch-rj3eygr5.js} +2 -2
- package/dist/chunks/{filesystem-ge3tf0hw.js → websearch-rp432f9z.js} +27 -27
- package/dist/chunks/{filesystem-edp2jp4p.js → websearch-rww43xzx.js} +3 -3
- package/dist/chunks/{filesystem-x2eytdts.js → websearch-s5dq0fh7.js} +33 -33
- package/dist/chunks/{filesystem-rhjbct0v.js → websearch-s8d7rejh.js} +4 -4
- package/dist/chunks/{filesystem-sa8ekw3f.js → websearch-sa8ekw3f.js} +2 -2
- package/dist/chunks/{filesystem-b3f8fkhc.js → websearch-scgrse2b.js} +5 -5
- package/dist/chunks/{filesystem-xx66htzt.js → websearch-sjh1dprn.js} +31 -31
- package/dist/chunks/{filesystem-nr11xpps.js → websearch-stv64172.js} +24 -24
- package/dist/chunks/{filesystem-syv4x271.js → websearch-syv4x271.js} +1 -1
- package/dist/chunks/{filesystem-a7x960be.js → websearch-t3nt8dwz.js} +13 -13
- package/dist/chunks/{filesystem-yyy8m62c.js → websearch-t41sszjr.js} +24 -24
- package/dist/chunks/{filesystem-ted6dyzx.js → websearch-t8n1383z.js} +36 -36
- package/dist/chunks/{filesystem-e850ppb0.js → websearch-tax3fkaf.js} +1 -1
- package/dist/chunks/{filesystem-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-dzse07y5.js → websearch-tcay1cqt.js} +6 -6
- package/dist/chunks/{filesystem-89znhe33.js → websearch-tcezcvh9.js} +4 -4
- package/dist/chunks/{filesystem-w5j8pc94.js → websearch-tdhdpjpk.js} +8 -8
- package/dist/chunks/{filesystem-tdstcens.js → websearch-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-qmyze75f.js → websearch-tf2nhjex.js} +16 -16
- package/dist/chunks/{filesystem-0paq2nw3.js → websearch-tm0kqsz3.js} +26 -2
- package/dist/chunks/{filesystem-n61013np.js → websearch-tmfxf5e7.js} +11 -11
- package/dist/chunks/{filesystem-0jz028se.js → websearch-tt87ktex.js} +16 -16
- package/dist/chunks/{filesystem-h18kbg2g.js → websearch-tx4eqkkw.js} +25 -25
- package/dist/chunks/{filesystem-tyytaxap.js → websearch-tyytaxap.js} +1 -1
- package/dist/chunks/{filesystem-v0es1rhs.js → websearch-v0es1rhs.js} +2 -2
- package/dist/chunks/{filesystem-mqbwmym3.js → websearch-v1kmxtyj.js} +3 -3
- package/dist/chunks/{filesystem-v7p4zvkq.js → websearch-v7p4zvkq.js} +2 -2
- package/dist/chunks/{filesystem-41czef58.js → websearch-v7z2bvyd.js} +4 -4
- package/dist/chunks/{filesystem-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-cfrzcmt6.js → websearch-vrc1bnre.js} +29 -29
- package/dist/chunks/{filesystem-tn22h724.js → websearch-vywg70mg.js} +13 -13
- package/dist/chunks/{filesystem-vzs5sf6e.js → websearch-vzs5sf6e.js} +1 -1
- package/dist/chunks/{filesystem-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-58rgv5ce.js → websearch-w46jqsvm.js} +24 -24
- package/dist/chunks/{filesystem-qptcxqn9.js → websearch-w4y2mxn4.js} +20 -20
- package/dist/chunks/{filesystem-v45b1mqa.js → websearch-w4zft92x.js} +9 -9
- package/dist/chunks/{filesystem-ykhp3ymj.js → websearch-wazcrk27.js} +11 -11
- package/dist/chunks/{filesystem-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-qwwffz8c.js → websearch-we87z89c.js} +13 -13
- package/dist/chunks/{filesystem-517r2k0v.js → websearch-wgdke5pv.js} +9 -9
- package/dist/chunks/{filesystem-bw78ga2c.js → websearch-wjj7prxr.js} +9 -0
- package/dist/chunks/{filesystem-qz7nybpq.js → websearch-x0fnqmv0.js} +13 -13
- package/dist/chunks/{filesystem-8w54sq4a.js → websearch-x5h28p89.js} +20 -20
- package/dist/chunks/{filesystem-a1fpssew.js → websearch-x5wkbpg0.js} +42 -93
- package/dist/chunks/{filesystem-drwq78ky.js → websearch-xfkkasph.js} +4 -4
- package/dist/chunks/{filesystem-7nranytg.js → websearch-xg4371px.js} +30 -30
- package/dist/chunks/{filesystem-58072hz9.js → websearch-xkhfjrgz.js} +3 -3
- package/dist/chunks/{filesystem-0nqtnax1.js → websearch-xrb85mgg.js} +24 -24
- package/dist/chunks/{filesystem-a89e0tac.js → websearch-xxxym934.js} +4 -4
- package/dist/chunks/{filesystem-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-y71avatq.js → websearch-y71avatq.js} +1 -1
- package/dist/chunks/{filesystem-gdq97084.js → websearch-y7nndgyc.js} +9 -9
- package/dist/chunks/{filesystem-xtzs4z5v.js → websearch-yfy85faz.js} +5 -5
- package/dist/chunks/{filesystem-amjhxwh3.js → websearch-ynreg67e.js} +1 -1
- package/dist/chunks/{filesystem-1acjjqhc.js → websearch-yp2x3t23.js} +4 -4
- package/dist/chunks/{filesystem-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-75czp452.js → websearch-z7m47ewa.js} +11 -11
- package/dist/chunks/{filesystem-v7gjr6wa.js → websearch-z938xz10.js} +42 -42
- package/dist/chunks/{filesystem-gccjnz6h.js → websearch-zd7wpxs7.js} +2 -2
- package/dist/chunks/{filesystem-0rj8zrsn.js → websearch-zkf2w606.js} +20 -19
- package/dist/chunks/{filesystem-b674v2dg.js → websearch-zmr78fwr.js} +5 -5
- package/dist/chunks/{filesystem-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-b6pj8f6d.js → websearch-ztcw2cka.js} +16 -16
- package/dist/chunks/{filesystem-gvc0m829.js → websearch-ztvjr4k5.js} +17 -17
- package/dist/chunks/{filesystem-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +92 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +6 -6
- 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 +101 -101
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +118 -95
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +107 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/agent.d.ts +1 -0
- package/dist/types/config/discovery.d.ts +18 -0
- package/dist/types/config.d.ts +3 -1
- package/dist/types/image/photon.d.ts +2 -2
- package/dist/types/model.d.ts +7 -0
- package/dist/types/plugin/provider/azure.d.ts +2 -3
- package/dist/types/plugin/provider/chatgpt.d.ts +2 -1
- package/dist/types/plugin/provider/openai.d.ts +2 -1
- package/dist/types/provider.d.ts +30 -1
- package/dist/types/session/runner/publish-llm-event.d.ts +1 -0
- package/dist/types/session/runner/step.d.ts +32 -3
- package/dist/types/v1/config/migrate.d.ts +13 -4
- package/dist/types/v1/config/provider-options.d.ts +8 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +3 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +9 -9
- package/dist/chunks/filesystem-45th5jwr.js +0 -18
- package/dist/chunks/filesystem-8p91w73h.js +0 -59
- package/dist/chunks/filesystem-g4vk7v1j.js +0 -253
- package/dist/chunks/filesystem-zr1cpq3k.js +0 -26
- /package/dist/chunks/{filesystem-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → websearch-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2bv980vf.js → websearch-2bv980vf.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3t0ybcrp.js → websearch-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-6q2bdcd1.js → websearch-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-84wd9syh.js → websearch-84wd9syh.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jze0r7bz.js → websearch-jze0r7bz.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-m18g726c.js → websearch-m18g726c.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-pkyv6v7h.js → websearch-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{filesystem-pyv0edze.js → websearch-pyv0edze.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-ve7vex1e.js → websearch-ve7vex1e.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → websearch-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → websearch-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,131 +1,132 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node58
|
|
4
|
+
} from "./websearch-0wmc8652.js";
|
|
5
5
|
import {
|
|
6
6
|
Service84,
|
|
7
7
|
node88
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-g5x1q65a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID10,
|
|
11
|
+
Service70,
|
|
12
|
+
node74
|
|
13
|
+
} from "./websearch-f7ayr8mx.js";
|
|
14
14
|
import {
|
|
15
15
|
ID15,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./websearch-30n06459.js";
|
|
18
18
|
import {
|
|
19
19
|
ID14,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service78,
|
|
24
|
+
node82
|
|
25
|
+
} from "./websearch-5hft8km6.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./websearch-z5v4ffb3.js";
|
|
29
29
|
import {
|
|
30
30
|
Info27,
|
|
31
31
|
Ref4,
|
|
32
32
|
Service81,
|
|
33
33
|
node85
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./websearch-1p799z25.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
ID13,
|
|
37
|
+
Service77,
|
|
38
|
+
node81
|
|
39
|
+
} from "./websearch-caa8k32f.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service60,
|
|
42
|
+
node64
|
|
43
|
+
} from "./websearch-3c656pdg.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service51,
|
|
46
|
+
node53
|
|
47
|
+
} from "./websearch-1pekzpef.js";
|
|
48
48
|
import {
|
|
49
49
|
Service76,
|
|
50
50
|
node80
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./websearch-v1kmxtyj.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service66,
|
|
54
|
+
node70
|
|
55
|
+
} from "./websearch-73ndx0kt.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
57
|
+
ID12,
|
|
58
|
+
Service75,
|
|
59
|
+
node79
|
|
60
|
+
} from "./websearch-n33ezsnm.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
62
|
+
ID7
|
|
63
|
+
} from "./websearch-mq0qga5n.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service40,
|
|
66
|
+
node43
|
|
67
|
+
} from "./websearch-z938xz10.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service71,
|
|
70
|
+
node75
|
|
71
|
+
} from "./websearch-qwjmgwmn.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service67,
|
|
74
|
+
node71
|
|
75
|
+
} from "./websearch-2yb0fdev.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
Service54,
|
|
78
|
+
node56,
|
|
79
|
+
Error4
|
|
80
|
+
} from "./websearch-tx4eqkkw.js";
|
|
80
81
|
import {
|
|
81
82
|
Source4,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
83
|
+
Service56,
|
|
84
|
+
node59
|
|
85
|
+
} from "./websearch-4ft0y05w.js";
|
|
86
|
+
import {
|
|
87
|
+
Info7,
|
|
88
|
+
Service43,
|
|
89
|
+
node46
|
|
90
|
+
} from "./websearch-stv64172.js";
|
|
85
91
|
import {
|
|
86
|
-
Info4,
|
|
87
92
|
Service28,
|
|
88
93
|
node31
|
|
89
|
-
} from "./
|
|
94
|
+
} from "./websearch-44gjh96b.js";
|
|
90
95
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
96
|
+
Service26,
|
|
97
|
+
node29
|
|
98
|
+
} from "./websearch-d883s65k.js";
|
|
94
99
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
98
|
-
import {
|
|
99
|
-
Service74,
|
|
100
|
-
node78
|
|
101
|
-
} from "./filesystem-tjefdw4f.js";
|
|
100
|
+
Service65,
|
|
101
|
+
node69
|
|
102
|
+
} from "./websearch-g6vmwyfr.js";
|
|
102
103
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
104
|
+
Service24,
|
|
105
|
+
node27
|
|
106
|
+
} from "./websearch-ztvjr4k5.js";
|
|
106
107
|
import {
|
|
107
|
-
|
|
108
|
+
ID4,
|
|
108
109
|
Service27,
|
|
109
110
|
node30
|
|
110
|
-
} from "./
|
|
111
|
+
} from "./websearch-arkfezfn.js";
|
|
111
112
|
import {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
} from "./
|
|
113
|
+
Service23,
|
|
114
|
+
node26
|
|
115
|
+
} from "./websearch-7xrzajz9.js";
|
|
115
116
|
import {
|
|
116
117
|
StrategyID2,
|
|
117
|
-
|
|
118
|
+
Info4,
|
|
118
119
|
ListEntry3,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
} from "./
|
|
120
|
+
Service22,
|
|
121
|
+
node25
|
|
122
|
+
} from "./websearch-rgxvqbqk.js";
|
|
122
123
|
import {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
} from "./
|
|
124
|
+
Service25,
|
|
125
|
+
node28
|
|
126
|
+
} from "./websearch-br0hqn3c.js";
|
|
126
127
|
import {
|
|
127
128
|
__export
|
|
128
|
-
} from "./
|
|
129
|
+
} from "./websearch-9rqn6x4v.js";
|
|
129
130
|
|
|
130
131
|
// src/plugin/host.ts
|
|
131
132
|
var exports_host = {};
|
|
@@ -143,30 +144,30 @@ var mutable = (value) => value;
|
|
|
143
144
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
144
145
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
145
146
|
const app = yield* Metadata2;
|
|
146
|
-
const agents = yield*
|
|
147
|
-
const aisdk = yield*
|
|
148
|
-
const providers = yield*
|
|
149
|
-
const models = yield*
|
|
150
|
-
const commands = yield*
|
|
147
|
+
const agents = yield* Service70;
|
|
148
|
+
const aisdk = yield* Service60;
|
|
149
|
+
const providers = yield* Service77;
|
|
150
|
+
const models = yield* Service75;
|
|
151
|
+
const commands = yield* Service51;
|
|
151
152
|
const bus = yield* Service84;
|
|
152
|
-
const integration = yield*
|
|
153
|
+
const integration = yield* Service78;
|
|
153
154
|
const kv = yield* Service76;
|
|
154
|
-
const mcp = yield*
|
|
155
|
+
const mcp = yield* Service40;
|
|
155
156
|
const location = yield* Service81;
|
|
156
|
-
const reference = yield*
|
|
157
|
-
const rpc = yield*
|
|
158
|
-
const skill = yield*
|
|
159
|
-
const tools = yield*
|
|
160
|
-
const vcs = yield*
|
|
157
|
+
const reference = yield* Service56;
|
|
158
|
+
const rpc = yield* Service65;
|
|
159
|
+
const skill = yield* Service43;
|
|
160
|
+
const tools = yield* Service54;
|
|
161
|
+
const vcs = yield* Service24;
|
|
161
162
|
const websearch = yield* Service27;
|
|
162
|
-
const generate = yield*
|
|
163
|
-
const permission = yield*
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const sessions = yield*
|
|
166
|
-
const persistentPty = yield*
|
|
167
|
-
const locations = yield*
|
|
168
|
-
const worktrees = yield*
|
|
169
|
-
const worktreeStrategies = yield*
|
|
163
|
+
const generate = yield* Service25;
|
|
164
|
+
const permission = yield* Service67;
|
|
165
|
+
const hooks = yield* Service71;
|
|
166
|
+
const sessions = yield* Service28;
|
|
167
|
+
const persistentPty = yield* Service26;
|
|
168
|
+
const locations = yield* Service66;
|
|
169
|
+
const worktrees = yield* Service22;
|
|
170
|
+
const worktreeStrategies = yield* Service23;
|
|
170
171
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
171
172
|
const locationInfo = () => new Info27({
|
|
172
173
|
directory: location.directory,
|
|
@@ -175,15 +176,15 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
175
176
|
});
|
|
176
177
|
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
177
178
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
178
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
179
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID7.make(input.location.workspace)
|
|
179
180
|
});
|
|
180
181
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
181
182
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
182
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
183
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info4);
|
|
183
184
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
184
185
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
185
186
|
const location = yield* Service81;
|
|
186
|
-
const agents = yield*
|
|
187
|
+
const agents = yield* Service70;
|
|
187
188
|
return {
|
|
188
189
|
location: new Info27({
|
|
189
190
|
directory: location.directory,
|
|
@@ -217,10 +218,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
217
218
|
transform: (callback) => agents.transform((editor) => {
|
|
218
219
|
callback({
|
|
219
220
|
list: () => mutable(editor.list()),
|
|
220
|
-
get: (id) => mutable(editor.get(
|
|
221
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
222
|
-
update: (id, update) => editor.update(
|
|
223
|
-
remove: (id) => editor.remove(
|
|
221
|
+
get: (id) => mutable(editor.get(ID10.make(id))),
|
|
222
|
+
default: (id) => editor.default(id === undefined ? undefined : ID10.make(id)),
|
|
223
|
+
update: (id, update) => editor.update(ID10.make(id), update),
|
|
224
|
+
remove: (id) => editor.remove(ID10.make(id))
|
|
224
225
|
});
|
|
225
226
|
})
|
|
226
227
|
},
|
|
@@ -254,22 +255,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
254
255
|
},
|
|
255
256
|
provider: {
|
|
256
257
|
list: () => response(providers.available()),
|
|
257
|
-
get: (input) => providers.get(
|
|
258
|
+
get: (input) => providers.get(ID13.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
|
|
258
259
|
reload: providers.reload,
|
|
259
260
|
transform: (callback) => providers.transform((editor) => {
|
|
260
261
|
callback({
|
|
261
262
|
list: editor.list,
|
|
262
|
-
get: (id) => editor.get(
|
|
263
|
+
get: (id) => editor.get(ID13.make(id)),
|
|
263
264
|
add: (definition) => editor.add({
|
|
264
265
|
...definition,
|
|
265
266
|
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID15.make(definition.sourceConnection.id) } : definition.sourceConnection
|
|
266
267
|
}),
|
|
267
|
-
update: (id, update) => editor.update(
|
|
268
|
-
remove: (id) => editor.remove(
|
|
268
|
+
update: (id, update) => editor.update(ID13.make(id), update),
|
|
269
|
+
remove: (id) => editor.remove(ID13.make(id)),
|
|
269
270
|
models: {
|
|
270
|
-
set: (id, models) => editor.models.set(
|
|
271
|
-
update: (providerID, modelID, update) => editor.models.update(
|
|
272
|
-
remove: (providerID, modelID) => editor.models.remove(
|
|
271
|
+
set: (id, models) => editor.models.set(ID13.make(id), models),
|
|
272
|
+
update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID12.make(modelID), update),
|
|
273
|
+
remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID12.make(modelID))
|
|
273
274
|
}
|
|
274
275
|
});
|
|
275
276
|
})
|
|
@@ -279,17 +280,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
279
280
|
default: () => response(models.default()),
|
|
280
281
|
reload: models.reload,
|
|
281
282
|
transform: (callback) => models.transform((editor) => callback({
|
|
282
|
-
list: (providerID) => editor.list(providerID === undefined ? undefined :
|
|
283
|
-
get: (providerID, modelID) => editor.get(
|
|
284
|
-
update: (providerID, modelID, update) => editor.update(
|
|
285
|
-
remove: (providerID, modelID) => editor.remove(
|
|
283
|
+
list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
|
|
284
|
+
get: (providerID, modelID) => editor.get(ID13.make(providerID), ID12.make(modelID)),
|
|
285
|
+
update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID12.make(modelID), update),
|
|
286
|
+
remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID12.make(modelID)),
|
|
286
287
|
default: {
|
|
287
288
|
get: editor.default.get,
|
|
288
|
-
set: (providerID, modelID) => editor.default.set(
|
|
289
|
+
set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID12.make(modelID))
|
|
289
290
|
},
|
|
290
291
|
provider: {
|
|
291
292
|
list: editor.provider.list,
|
|
292
|
-
get: (id) => editor.provider.get(
|
|
293
|
+
get: (id) => editor.provider.get(ID13.make(id))
|
|
293
294
|
}
|
|
294
295
|
}))
|
|
295
296
|
},
|
|
@@ -298,6 +299,9 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
298
299
|
reload: commands.reload,
|
|
299
300
|
transform: commands.transform
|
|
300
301
|
},
|
|
302
|
+
credential: {
|
|
303
|
+
activate: (input) => integration.connection.activate(input.credentialID)
|
|
304
|
+
},
|
|
301
305
|
event: {
|
|
302
306
|
subscribe: () => bus.subscribe().pipe(Stream.filter((event) => EventManifest.isServer(event) || isRpcEvent(event)))
|
|
303
307
|
},
|
|
@@ -397,7 +401,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
397
401
|
if (ref && !isCurrentLocation(ref))
|
|
398
402
|
return Effect.gen(function* () {
|
|
399
403
|
const location = yield* Service81;
|
|
400
|
-
const mcp = yield*
|
|
404
|
+
const mcp = yield* Service40;
|
|
401
405
|
return {
|
|
402
406
|
location: new Info27({
|
|
403
407
|
directory: location.directory,
|
|
@@ -424,7 +428,12 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
424
428
|
hook: (name, callback) => hooks.register("permission", name, callback),
|
|
425
429
|
list: (input) => permission.forSession(input.sessionID),
|
|
426
430
|
get: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? Effect.succeed(request) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
|
|
427
|
-
reply: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? permission.reply({ requestID: input.requestID, reply: input.decision, message: input.message }) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`))))
|
|
431
|
+
reply: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? permission.reply({ requestID: input.requestID, reply: input.decision, message: input.message }) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
|
|
432
|
+
assert: (input) => permission.assert(input).pipe(Effect.catchTags({
|
|
433
|
+
"Permission.BlockedError": (error) => Effect.fail(new Error4({ message: error.message, error })),
|
|
434
|
+
"Permission.CorrectedError": (error) => Effect.fail(new Error4({ message: error.feedback, error })),
|
|
435
|
+
"Session.NotFoundError": (error) => Effect.fail(new Error4({ message: `Session not found: ${error.sessionID}`, error }))
|
|
436
|
+
}))
|
|
428
437
|
},
|
|
429
438
|
plugin: {
|
|
430
439
|
list: () => response(plugin.list())
|
|
@@ -448,7 +457,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
448
457
|
callback({
|
|
449
458
|
list: () => mutable(editor.list()),
|
|
450
459
|
get: editor.get,
|
|
451
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
460
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info7)(value)),
|
|
452
461
|
update: editor.update,
|
|
453
462
|
remove: editor.remove
|
|
454
463
|
});
|
|
@@ -479,19 +488,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
479
488
|
providers: () => response(websearch.providers()),
|
|
480
489
|
query: (input) => response(websearch.query({
|
|
481
490
|
query: input.query,
|
|
482
|
-
providerID: input.providerID === undefined ? undefined :
|
|
491
|
+
providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
|
|
483
492
|
})),
|
|
484
493
|
reload: websearch.reload,
|
|
485
494
|
transform: (callback) => websearch.transform((editor) => {
|
|
486
495
|
callback({
|
|
487
496
|
add: (definition) => editor.add({
|
|
488
|
-
id:
|
|
497
|
+
id: ID4.make(definition.id),
|
|
489
498
|
name: definition.name,
|
|
490
499
|
execute: definition.execute
|
|
491
500
|
}),
|
|
492
501
|
default: {
|
|
493
502
|
get: editor.default.get,
|
|
494
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
503
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
|
|
495
504
|
}
|
|
496
505
|
});
|
|
497
506
|
})
|
|
@@ -551,31 +560,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
551
560
|
return context;
|
|
552
561
|
});
|
|
553
562
|
var requirements3 = LayerNode.group([
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
node62,
|
|
563
|
+
node58,
|
|
564
|
+
node74,
|
|
557
565
|
node64,
|
|
558
|
-
node63,
|
|
559
|
-
node33,
|
|
560
|
-
node88,
|
|
561
566
|
node81,
|
|
567
|
+
node79,
|
|
568
|
+
node53,
|
|
569
|
+
node88,
|
|
570
|
+
node82,
|
|
562
571
|
node80,
|
|
563
|
-
|
|
572
|
+
node43,
|
|
564
573
|
node85,
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
574
|
+
node59,
|
|
575
|
+
node69,
|
|
576
|
+
node46,
|
|
577
|
+
node56,
|
|
578
|
+
node27,
|
|
570
579
|
node30,
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
580
|
+
node25,
|
|
581
|
+
node26,
|
|
582
|
+
node28,
|
|
583
|
+
node71,
|
|
584
|
+
node75,
|
|
585
|
+
node31,
|
|
586
|
+
node29,
|
|
587
|
+
node70
|
|
579
588
|
]);
|
|
580
589
|
function storage2(kv, pluginID) {
|
|
581
590
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AbsolutePath2
|
|
3
|
+
} from "./websearch-z5v4ffb3.js";
|
|
4
|
+
import {
|
|
5
|
+
Service81
|
|
6
|
+
} from "./websearch-1p799z25.js";
|
|
7
|
+
import {
|
|
8
|
+
__export
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
|
+
|
|
11
|
+
// src/config/discovery.ts
|
|
12
|
+
var exports_discovery2 = {};
|
|
13
|
+
__export(exports_discovery2, {
|
|
14
|
+
ConfigDiscovery: () => exports_discovery2,
|
|
15
|
+
discover: () => discover3,
|
|
16
|
+
names: () => names4,
|
|
17
|
+
preferencePaths: () => preferencePaths2,
|
|
18
|
+
stripPreferenceMetadata: () => stripPreferenceMetadata2,
|
|
19
|
+
systemDirectory: () => systemDirectory2
|
|
20
|
+
});
|
|
21
|
+
import os from "os";
|
|
22
|
+
import path from "path";
|
|
23
|
+
import { Effect } from "effect";
|
|
24
|
+
import { FSUtil } from "@opencode/util/fs-util";
|
|
25
|
+
import { Global } from "@opencode/util/global";
|
|
26
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
27
|
+
function systemDirectory2(platform = process.platform, env = process.env) {
|
|
28
|
+
if (platform === "darwin")
|
|
29
|
+
return AbsolutePath2.make("/Library/Application Support/opencode");
|
|
30
|
+
if (platform === "win32")
|
|
31
|
+
return AbsolutePath2.make(path.join(env.ProgramData || "C:\\ProgramData", "opencode"));
|
|
32
|
+
return AbsolutePath2.make("/etc/opencode");
|
|
33
|
+
}
|
|
34
|
+
function preferencePaths2(user) {
|
|
35
|
+
return [
|
|
36
|
+
AbsolutePath2.make(path.join("/Library/Managed Preferences", user, "ai.opencode.managed.plist")),
|
|
37
|
+
AbsolutePath2.make("/Library/Managed Preferences/ai.opencode.managed.plist")
|
|
38
|
+
];
|
|
39
|
+
}
|
|
40
|
+
var preferenceMetadata = new Set([
|
|
41
|
+
"PayloadDisplayName",
|
|
42
|
+
"PayloadIdentifier",
|
|
43
|
+
"PayloadType",
|
|
44
|
+
"PayloadUUID",
|
|
45
|
+
"PayloadVersion",
|
|
46
|
+
"_manualProfile"
|
|
47
|
+
]);
|
|
48
|
+
function stripPreferenceMetadata2(json) {
|
|
49
|
+
const parsed = JSON.parse(json);
|
|
50
|
+
if (!parsed || typeof parsed !== "object" || Array.isArray(parsed))
|
|
51
|
+
return json;
|
|
52
|
+
return JSON.stringify(Object.fromEntries(Object.entries(parsed).filter(([key]) => !preferenceMetadata.has(key))));
|
|
53
|
+
}
|
|
54
|
+
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
|
+
const fs = yield* FSUtil.Service;
|
|
56
|
+
const global = yield* Global.Service;
|
|
57
|
+
const location = yield* Service81;
|
|
58
|
+
const system = (() => {
|
|
59
|
+
if (options?.system === false)
|
|
60
|
+
return;
|
|
61
|
+
if (typeof options?.system === "string")
|
|
62
|
+
return AbsolutePath2.make(path.resolve(options.system));
|
|
63
|
+
return systemDirectory2();
|
|
64
|
+
})();
|
|
65
|
+
const globalDirectory = AbsolutePath2.make(global.config);
|
|
66
|
+
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
67
|
+
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
68
|
+
const configDirectories = [...system ? [system] : [], globalDirectory];
|
|
69
|
+
const globalRoots = yield* Effect.forEach([...configDirectories, globalClaudeDirectory, globalAgentsDirectory], (item) => fs.resolve(item));
|
|
70
|
+
const current = yield* fs.resolve(location.directory);
|
|
71
|
+
const directories = globalRoots.slice(0, configDirectories.length).includes(current) || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
72
|
+
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
73
|
+
const parent = yield* fs.resolve(directory);
|
|
74
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
75
|
+
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
76
|
+
const globalEnabled = options?.global !== false;
|
|
77
|
+
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names4.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
|
|
78
|
+
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
79
|
+
const preferences = globalEnabled && (options?.system ?? true) === true && process.platform === "darwin" ? (yield* Effect.filter(preferencePaths2(yield* Effect.try(() => os.userInfo().username).pipe(Effect.orElseSucceed(() => "user"))), fs.isFile)).at(0) : undefined;
|
|
80
|
+
return {
|
|
81
|
+
system: globalEnabled && system ? { path: system, present: yield* fs.isDir(system) } : undefined,
|
|
82
|
+
preferences,
|
|
83
|
+
global: globalEnabled ? globalDirectory : undefined,
|
|
84
|
+
explicit: options?.file ? AbsolutePath2.make(path.resolve(options.file)) : undefined,
|
|
85
|
+
direct: visible.filter((item) => ![".agents", ".claude", ".opencode"].includes(path.basename(item))).toReversed(),
|
|
86
|
+
project: yield* Effect.forEach(visible.filter((item) => path.basename(item) === ".opencode").toReversed(), (directory) => fs.isDir(directory).pipe(Effect.map((present) => ({ path: directory, present })))),
|
|
87
|
+
claude: [
|
|
88
|
+
...new Set([
|
|
89
|
+
...globalEnabled ? [globalClaudeDirectory] : [],
|
|
90
|
+
...visible.filter((item) => path.basename(item) === ".claude").toReversed()
|
|
91
|
+
])
|
|
92
|
+
],
|
|
93
|
+
agents: [
|
|
94
|
+
...new Set([
|
|
95
|
+
...globalEnabled ? [globalAgentsDirectory] : [],
|
|
96
|
+
...visible.filter((item) => path.basename(item) === ".agents").toReversed()
|
|
97
|
+
])
|
|
98
|
+
]
|
|
99
|
+
};
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
export { names4, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-g5x1q65a.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-addxnjmp.js";
|
|
7
7
|
import {
|
|
8
8
|
Event19
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-30n06459.js";
|
|
10
10
|
import {
|
|
11
11
|
ID14
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-5hft8km6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID13,
|
|
15
|
+
Service77
|
|
16
|
+
} from "./websearch-caa8k32f.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./websearch-phepkm1d.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service77;
|
|
30
30
|
const bus = yield* Service84;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,7 +62,7 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|