@opencode/core 0.0.0-dev-21738 → 0.0.0-dev-21741
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +3 -3
- package/dist/bus.js +75 -75
- package/dist/chunks/{integration-aj7mw0zk.js → provider-034tev2y.js} +2 -2
- package/dist/chunks/{integration-rfevhcsr.js → provider-057k196j.js} +11 -11
- package/dist/chunks/{integration-cga9yxt0.js → provider-05yr7vd1.js} +22 -22
- package/dist/chunks/{integration-v5prxdmf.js → provider-071pdryd.js} +9 -9
- package/dist/chunks/{integration-p543a797.js → provider-0760z1bf.js} +27 -27
- package/dist/chunks/{integration-tt4900ab.js → provider-0b26th02.js} +18 -18
- package/dist/chunks/{integration-cd5xb1a8.js → provider-0egfcpbc.js} +7 -7
- package/dist/chunks/{integration-chmbez38.js → provider-0q4bjshc.js} +9 -9
- package/dist/chunks/{integration-gpbjvxjz.js → provider-0rm99xvh.js} +30 -30
- package/dist/chunks/{integration-rq6bk4rv.js → provider-0w85m5rg.js} +2 -2
- package/dist/chunks/{integration-n0h59yfy.js → provider-19mm4jkf.js} +18 -18
- package/dist/chunks/{integration-fqds4s4w.js → provider-1b7feyff.js} +4 -4
- package/dist/chunks/{integration-27w5k9zf.js → provider-1ep2p91f.js} +2 -2
- package/dist/chunks/{integration-dpf6ft19.js → provider-1hgtrac8.js} +17 -17
- package/dist/chunks/{integration-jratzyw8.js → provider-1pyzd5rz.js} +4 -4
- package/dist/chunks/{integration-1x2knyw4.js → provider-1x2knyw4.js} +1 -1
- package/dist/chunks/{integration-vsy3td36.js → provider-21paxrje.js} +6 -6
- package/dist/chunks/{integration-rhvjghy6.js → provider-258zgyd3.js} +4 -4
- package/dist/chunks/{integration-zgnw0fcf.js → provider-29328zmv.js} +10 -10
- package/dist/chunks/{integration-fpf0j6y6.js → provider-293zmzk3.js} +26 -26
- package/dist/chunks/{integration-k13n68rj.js → provider-2a13tp2z.js} +9 -9
- package/dist/chunks/{integration-wq5fe6kf.js → provider-2d7s4snt.js} +1 -1
- package/dist/chunks/{integration-hsv28x2v.js → provider-2efbfxa2.js} +12 -12
- package/dist/chunks/{integration-61g7nd3s.js → provider-2esk3rz8.js} +10 -10
- package/dist/chunks/{integration-qjtc6gq1.js → provider-2y1gb7bf.js} +37 -37
- package/dist/chunks/{integration-2z1j29yd.js → provider-2z1j29yd.js} +1 -1
- package/dist/chunks/{integration-ws76gasf.js → provider-325tyq60.js} +8 -8
- package/dist/chunks/{integration-0421tmwc.js → provider-32s59e8p.js} +9 -9
- package/dist/chunks/{integration-29qz3jtr.js → provider-35ezct5e.js} +2 -2
- package/dist/chunks/{integration-6pqbjmba.js → provider-39nsvtx9.js} +5 -5
- package/dist/chunks/{integration-nzz41ce0.js → provider-3d68epx0.js} +10 -10
- package/dist/chunks/{integration-shrtc3vg.js → provider-3ek9mykt.js} +20 -20
- package/dist/chunks/{integration-aa1vds4w.js → provider-3g4a5sj5.js} +13 -13
- package/dist/chunks/{integration-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-3nnrz6f6.js → provider-3nnrz6f6.js} +1 -1
- package/dist/chunks/{integration-40za9wsf.js → provider-40za9wsf.js} +2 -2
- package/dist/chunks/{integration-42jd4697.js → provider-42jd4697.js} +1 -1
- package/dist/chunks/{integration-qh8m93c5.js → provider-453f90m3.js} +11 -11
- package/dist/chunks/{integration-1tr9z0sp.js → provider-45401wj5.js} +30 -30
- package/dist/chunks/{integration-bxhmb8dq.js → provider-46ynt52a.js} +20 -20
- package/dist/chunks/{integration-rtgwksra.js → provider-47te7ynq.js} +47 -47
- package/dist/chunks/{integration-8x5qqy5m.js → provider-4apf49bg.js} +21 -21
- package/dist/chunks/{integration-tbt7f5gv.js → provider-4fp36y3f.js} +3 -3
- package/dist/chunks/{integration-s6app9e8.js → provider-4jdak5qx.js} +35 -35
- package/dist/chunks/provider-4my81qaj.js +18 -0
- package/dist/chunks/{integration-yas2v5eg.js → provider-4patj9gp.js} +46 -46
- package/dist/chunks/{integration-7e8kqdhy.js → provider-4tggksa0.js} +24 -24
- package/dist/chunks/{integration-4v008n1t.js → provider-4v008n1t.js} +1 -1
- package/dist/chunks/{integration-4xvmh7wp.js → provider-4xvmh7wp.js} +3 -3
- package/dist/chunks/{integration-ra34yqmw.js → provider-51d35nkj.js} +6 -6
- package/dist/chunks/{integration-aahqx239.js → provider-51ndbk3m.js} +17 -17
- package/dist/chunks/{integration-c80vpj51.js → provider-5at8t5d4.js} +6 -6
- package/dist/chunks/{integration-82ber4xz.js → provider-5bther4g.js} +4 -4
- package/dist/chunks/{integration-vsxbsjjm.js → provider-5ckzyhpz.js} +19 -19
- package/dist/chunks/{integration-bsd8gc3m.js → provider-5cvy86xw.js} +12 -12
- package/dist/chunks/{integration-b3pd7r0n.js → provider-5dcgybnw.js} +14 -14
- package/dist/chunks/{integration-jgz7zw02.js → provider-5fm86d73.js} +47 -47
- package/dist/chunks/{integration-wz7jxtqf.js → provider-5j03b1nz.js} +5 -5
- package/dist/chunks/{integration-5m9w47nd.js → provider-5m9w47nd.js} +1 -1
- package/dist/chunks/{integration-nvf4es8p.js → provider-5sb34hzm.js} +13 -13
- package/dist/chunks/{integration-weh2hetx.js → provider-5w231npz.js} +60 -60
- package/dist/chunks/{integration-p7vhpwh8.js → provider-5zrxpy3q.js} +5 -5
- package/dist/chunks/{integration-zvfj7ymd.js → provider-61k36nzc.js} +15 -15
- package/dist/chunks/{integration-54ypwbd6.js → provider-6468grjv.js} +32 -32
- package/dist/chunks/{integration-m0k8jwnz.js → provider-6a1y2vt9.js} +11 -11
- package/dist/chunks/{integration-6esdw8yj.js → provider-6esdw8yj.js} +1 -1
- package/dist/chunks/{integration-kh2p66tm.js → provider-6f5ac1z8.js} +35 -35
- package/dist/chunks/{integration-6pjqjmy2.js → provider-6pjqjmy2.js} +1 -1
- package/dist/chunks/{integration-9pyt7g1f.js → provider-6q02j29c.js} +9 -9
- package/dist/chunks/{integration-zhdepg1a.js → provider-6sjjy45b.js} +18 -18
- package/dist/chunks/{integration-th568vtq.js → provider-6t7x7vt4.js} +15 -15
- package/dist/chunks/{integration-e496zp5r.js → provider-6twykydk.js} +9 -9
- package/dist/chunks/{integration-b2ep05gz.js → provider-70xnp472.js} +9 -9
- package/dist/chunks/{integration-nah043kf.js → provider-770pw0s1.js} +4 -4
- package/dist/chunks/{integration-2p7mdgxa.js → provider-79456s4q.js} +50 -50
- package/dist/chunks/{integration-4e2nnt3c.js → provider-79etx3tg.js} +17 -17
- package/dist/chunks/{integration-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-j16byp6w.js → provider-7gpj8ndm.js} +39 -39
- package/dist/chunks/{integration-xcy076pd.js → provider-7jzx5pkr.js} +15 -15
- package/dist/chunks/{integration-b1cmxf8c.js → provider-7n1pfn98.js} +12 -12
- package/dist/chunks/{integration-hmkv1rtn.js → provider-7npwba49.js} +11 -11
- package/dist/chunks/{integration-fvk5dwhp.js → provider-7nznt803.js} +4 -4
- package/dist/chunks/{integration-7w2ypzdf.js → provider-7w2ypzdf.js} +1 -1
- package/dist/chunks/{integration-jfdrgmkm.js → provider-7yfnjvkq.js} +16 -16
- package/dist/chunks/{integration-5qb5fkqm.js → provider-8417gb1w.js} +23 -23
- package/dist/chunks/{integration-vaa2wc5c.js → provider-8fvj0qxe.js} +1 -1
- package/dist/chunks/{integration-yqveydy6.js → provider-8r9nj4s8.js} +4 -4
- package/dist/chunks/{integration-8wtp7s3z.js → provider-8wtp7s3z.js} +1 -1
- package/dist/chunks/{integration-2w2kp3m7.js → provider-8yt7yt50.js} +24 -24
- package/dist/chunks/{integration-w20m3gk4.js → provider-90mqr9hk.js} +19 -19
- package/dist/chunks/{integration-91rj84md.js → provider-91rj84md.js} +1 -1
- package/dist/chunks/{integration-kj8zjydm.js → provider-957wh7sd.js} +6 -6
- package/dist/chunks/{integration-dvj9ct8m.js → provider-998yhzzq.js} +3 -3
- package/dist/chunks/{integration-54nzsset.js → provider-9datcxrc.js} +189 -189
- package/dist/chunks/{integration-7vkhxb11.js → provider-9fjfbv8x.js} +22 -22
- package/dist/chunks/{integration-39zkb5zd.js → provider-9hrhwkwn.js} +27 -27
- package/dist/chunks/{integration-3v7bdczc.js → provider-9jjx417m.js} +23 -23
- package/dist/chunks/{integration-z781ppa7.js → provider-9kx3zt08.js} +20 -20
- package/dist/chunks/{integration-xw8eq9f1.js → provider-9pkkzrmj.js} +5 -5
- package/dist/chunks/{integration-9qeaw1f9.js → provider-a25a1x4r.js} +4 -4
- package/dist/chunks/{integration-6p1cajhz.js → provider-aa4v34y7.js} +15 -15
- package/dist/chunks/{integration-184a1rnm.js → provider-an558sqv.js} +5 -5
- package/dist/chunks/{integration-bhygp9jc.js → provider-apgvj0s5.js} +4 -4
- package/dist/chunks/{integration-3cbjf1nt.js → provider-ayjs7tqn.js} +2 -2
- package/dist/chunks/{integration-3prnzz3j.js → provider-az8gwjeh.js} +20 -20
- package/dist/chunks/{integration-b0mv4wxm.js → provider-b0mv4wxm.js} +2 -2
- package/dist/chunks/{integration-ad0x633c.js → provider-b1wgcghj.js} +18 -18
- package/dist/chunks/{integration-ae8cr5hk.js → provider-b26jwmxb.js} +28 -28
- package/dist/chunks/{integration-9tcr2b8h.js → provider-b2me7aax.js} +26 -26
- package/dist/chunks/{integration-bza52f61.js → provider-b3r2jmtt.js} +53 -53
- package/dist/chunks/{integration-b6vsg801.js → provider-b6vsg801.js} +2 -2
- package/dist/chunks/{integration-t5v9nchx.js → provider-b9ctexwj.js} +7 -7
- package/dist/chunks/{integration-4h1g4dr0.js → provider-bc9hewbq.js} +38 -38
- package/dist/chunks/{integration-bt6ghjgk.js → provider-bd45fzh3.js} +11 -11
- package/dist/chunks/{integration-dm9c6fd7.js → provider-be70t1qn.js} +17 -17
- package/dist/chunks/{integration-ggj2hmnp.js → provider-bjr1sk69.js} +16 -16
- package/dist/chunks/{integration-k9f9yrxm.js → provider-bkrx76dd.js} +22 -22
- package/dist/chunks/{integration-w4cd2w7r.js → provider-bnmdnzdy.js} +17 -17
- package/dist/chunks/{integration-9pec2xkz.js → provider-bnt6g489.js} +20 -20
- package/dist/chunks/{integration-bstexjd6.js → provider-bstexjd6.js} +1 -1
- package/dist/chunks/{integration-48kw51zw.js → provider-btfhnvjh.js} +2 -2
- package/dist/chunks/{integration-fcp6bbx8.js → provider-bw2b3f7d.js} +7 -7
- package/dist/chunks/{integration-t01hvs83.js → provider-bzc2yew2.js} +19 -19
- package/dist/chunks/{integration-2kbfk78s.js → provider-c3cfh5w6.js} +2 -2
- package/dist/chunks/{integration-y7eykgf4.js → provider-c79r94da.js} +6 -6
- package/dist/chunks/{integration-htpycp8g.js → provider-c7sk7bjx.js} +14 -14
- package/dist/chunks/{integration-c8666r4c.js → provider-c8666r4c.js} +3 -3
- package/dist/chunks/{integration-0m3negke.js → provider-c8gkay0f.js} +11 -11
- package/dist/chunks/{integration-k3j7z3te.js → provider-cgcf1fbe.js} +36 -36
- package/dist/chunks/{integration-2mmwm9bk.js → provider-d1f6cs1b.js} +28 -28
- package/dist/chunks/{integration-gn8tkhbf.js → provider-d4v9tmah.js} +2 -2
- package/dist/chunks/{integration-e834z07m.js → provider-e834z07m.js} +1 -1
- package/dist/chunks/{integration-8138q6ke.js → provider-e8hxt5xr.js} +4 -4
- package/dist/chunks/{integration-187bm1zp.js → provider-edpnj26g.js} +21 -21
- package/dist/chunks/{integration-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
- package/dist/chunks/{integration-25ap78aj.js → provider-ex2hmasg.js} +91 -91
- package/dist/chunks/{integration-nd5afmzt.js → provider-fa1zjye2.js} +28 -28
- package/dist/chunks/{integration-yg2naa2a.js → provider-fb40hhpr.js} +34 -34
- package/dist/chunks/{integration-0cbaxxbg.js → provider-fddgahsh.js} +8 -8
- package/dist/chunks/{integration-8gbbcrxg.js → provider-fes0xpg6.js} +23 -23
- package/dist/chunks/{integration-fffv3p7h.js → provider-fffv3p7h.js} +1 -1
- package/dist/chunks/{integration-kxnbmb7b.js → provider-fhtmtcx2.js} +11 -11
- package/dist/chunks/{integration-fwky6scw.js → provider-fma07qn0.js} +32 -32
- package/dist/chunks/{integration-nbwbvjy9.js → provider-fr33pd02.js} +34 -88
- package/dist/chunks/{integration-axbbh74r.js → provider-fy319ky4.js} +19 -19
- package/dist/chunks/{integration-fznmdakp.js → provider-fznmdakp.js} +1 -1
- package/dist/chunks/{integration-sf0wm1zq.js → provider-g24xrxm1.js} +12 -12
- package/dist/chunks/{integration-g5h9c0rr.js → provider-g5h9c0rr.js} +2 -2
- package/dist/chunks/{integration-w12y3ga7.js → provider-gb3g7p85.js} +3 -3
- package/dist/chunks/{integration-zpha887x.js → provider-gfmp7vh0.js} +73 -73
- package/dist/chunks/{integration-e3zpv0w5.js → provider-gr1qaqsf.js} +8 -8
- package/dist/chunks/{integration-ba2tfn9v.js → provider-h4fm09gc.js} +29 -29
- package/dist/chunks/{integration-srpx3bag.js → provider-hdwxh6w6.js} +14 -14
- package/dist/chunks/{integration-tg1vr1qt.js → provider-hy8c1z76.js} +8 -8
- package/dist/chunks/{integration-j113cymg.js → provider-j113cymg.js} +1 -1
- package/dist/chunks/{integration-92c1azvn.js → provider-jj9caqwr.js} +8 -8
- package/dist/chunks/provider-jm272r5s.js +82 -0
- package/dist/chunks/{integration-wvc911sf.js → provider-jxd4r8gh.js} +33 -33
- package/dist/chunks/{integration-9p9xqj3m.js → provider-jz5mkmtx.js} +8 -8
- package/dist/chunks/{integration-f95y2240.js → provider-k0csj38z.js} +29 -29
- package/dist/chunks/{integration-rnahtfwh.js → provider-k37f66a8.js} +5 -5
- package/dist/chunks/{integration-myg40cg5.js → provider-k5cfc06a.js} +21 -21
- package/dist/chunks/{integration-p6s7v59f.js → provider-k7f2a4x5.js} +20 -20
- package/dist/chunks/{integration-k814nvkf.js → provider-k814nvkf.js} +1 -1
- package/dist/chunks/{integration-kdj120gh.js → provider-k861cbc6.js} +16 -16
- package/dist/chunks/{integration-mp7wb3aq.js → provider-k8ydtb0c.js} +28 -28
- package/dist/chunks/{integration-e71bb87j.js → provider-kc4ez2ea.js} +8 -8
- package/dist/chunks/{integration-d9jtx293.js → provider-kcyas487.js} +6 -6
- package/dist/chunks/{integration-09234wga.js → provider-kj5kbge2.js} +11 -11
- package/dist/chunks/{integration-pd2brnaz.js → provider-kpt1bh4f.js} +4 -4
- package/dist/chunks/{integration-cfx54403.js → provider-kqwvs3nc.js} +9 -9
- package/dist/chunks/{integration-3n9r0mt5.js → provider-kvn4msk3.js} +21 -21
- package/dist/chunks/{integration-gm53ndt8.js → provider-m0emhkmq.js} +43 -43
- package/dist/chunks/{integration-m1714858.js → provider-m1714858.js} +1 -1
- package/dist/chunks/{integration-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-maspj1v3.js → provider-maspj1v3.js} +1 -1
- package/dist/chunks/{integration-wd90bgk9.js → provider-mbrvjtz5.js} +5 -5
- package/dist/chunks/{integration-xjtvv4x4.js → provider-mfpfhbf8.js} +3 -3
- package/dist/chunks/{integration-8qjax53j.js → provider-mfwfc967.js} +5 -5
- package/dist/chunks/{integration-6d00jzc0.js → provider-mhqptywc.js} +39 -39
- package/dist/chunks/{integration-9fw1kkdj.js → provider-mmk2bjs0.js} +4 -4
- package/dist/chunks/{integration-1ng22y5m.js → provider-mpme1wak.js} +15 -15
- package/dist/chunks/{integration-kb4gstwj.js → provider-mqcadzqw.js} +5 -5
- package/dist/chunks/{integration-htyrbg66.js → provider-ms6z8pm2.js} +9 -9
- package/dist/chunks/{integration-293hw9ca.js → provider-msm4fd07.js} +8 -8
- package/dist/chunks/{integration-c9t2ty9q.js → provider-mtkfycnh.js} +4 -4
- package/dist/chunks/{integration-akrvybtg.js → provider-mw5gnzr4.js} +5 -5
- package/dist/chunks/{integration-6hvsw61r.js → provider-mybr8r82.js} +24 -24
- package/dist/chunks/{integration-n0p0277s.js → provider-n0p0277s.js} +1 -1
- package/dist/chunks/{integration-sqkc98kv.js → provider-n0zcxq73.js} +41 -41
- package/dist/chunks/{integration-fek4jfsr.js → provider-n6k44f0v.js} +17 -17
- package/dist/chunks/{integration-msfw59f1.js → provider-naz61gwx.js} +6 -6
- package/dist/chunks/{integration-ca2jrm4d.js → provider-nbn2ey7n.js} +31 -31
- package/dist/chunks/{integration-hj8hfv6h.js → provider-nm0wzb90.js} +11 -11
- package/dist/chunks/{integration-berpjazy.js → provider-ny1dbsp1.js} +13 -13
- package/dist/chunks/{integration-yqsb61sr.js → provider-nzabrtva.js} +26 -26
- package/dist/chunks/{integration-p015t6z3.js → provider-p015t6z3.js} +2 -2
- package/dist/chunks/{integration-gsrk1gqh.js → provider-p9x59b0e.js} +14 -14
- package/dist/chunks/{integration-c29p7cek.js → provider-pa2pq7zw.js} +26 -26
- package/dist/chunks/{integration-ryg0x8nv.js → provider-pacbbjc0.js} +5 -5
- package/dist/chunks/{integration-pc1v25hk.js → provider-pc1v25hk.js} +1 -1
- package/dist/chunks/{integration-pxw17jbr.js → provider-pjtzsg8v.js} +28 -28
- package/dist/chunks/{integration-9vxzjcxf.js → provider-pkhmamfe.js} +9 -9
- package/dist/chunks/{integration-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{integration-s4pfgn9t.js → provider-q0r62q50.js} +24 -24
- package/dist/chunks/{integration-zt4nqk70.js → provider-q2y63fzp.js} +30 -30
- package/dist/chunks/{integration-4ytg8f8f.js → provider-q49789rj.js} +2 -2
- package/dist/chunks/{integration-72mq6egw.js → provider-q8tzggtk.js} +16 -16
- package/dist/chunks/{integration-qjgzc4b4.js → provider-qjgzc4b4.js} +1 -1
- package/dist/chunks/{integration-td1amd9e.js → provider-qkms8zfm.js} +4 -4
- package/dist/chunks/{integration-r0yr0wbs.js → provider-r0yr0wbs.js} +1 -1
- package/dist/chunks/{integration-997dsrmm.js → provider-r6wgv8c9.js} +8 -8
- package/dist/chunks/{integration-bb3yaws5.js → provider-r9jfb1cd.js} +11 -11
- package/dist/chunks/{integration-rb9dy4dg.js → provider-rb9dy4dg.js} +1 -1
- package/dist/chunks/{integration-4pw8bvyx.js → provider-rd00t4kt.js} +35 -35
- package/dist/chunks/{integration-m09rcp5x.js → provider-rf6dem1w.js} +13 -13
- package/dist/chunks/{integration-gpdde9xv.js → provider-rsemmny5.js} +15 -15
- package/dist/chunks/{integration-tg5e0hps.js → provider-rstfs7br.js} +25 -25
- package/dist/chunks/{integration-rt5dr6hb.js → provider-rt5dr6hb.js} +1 -1
- package/dist/chunks/{integration-4hxp3qtb.js → provider-s5hk0mtv.js} +5 -5
- package/dist/chunks/{integration-mz5w6vyz.js → provider-saf3hjad.js} +25 -25
- package/dist/chunks/{integration-37kfat3w.js → provider-sgn7mg05.js} +14 -14
- package/dist/chunks/{integration-tfrqqs8n.js → provider-sgvwp5dh.js} +45 -45
- package/dist/chunks/{integration-dg59c0gq.js → provider-skambewy.js} +5 -5
- package/dist/chunks/{integration-sqjzf8x2.js → provider-sqjzf8x2.js} +1 -1
- package/dist/chunks/provider-srmym4gr.js +257 -0
- package/dist/chunks/{integration-xn2qrwhy.js → provider-szcgc7h4.js} +5 -5
- package/dist/chunks/{integration-4n7467c9.js → provider-tc5xkez4.js} +50 -50
- package/dist/chunks/{integration-tczq8hjw.js → provider-tczq8hjw.js} +1 -1
- package/dist/chunks/provider-tme52cxz.js +26 -0
- package/dist/chunks/{integration-cnrv013m.js → provider-tmnyjpnt.js} +46 -46
- package/dist/chunks/{integration-f63c4fbr.js → provider-trdhprzm.js} +22 -22
- package/dist/chunks/{integration-4hb4a3h3.js → provider-trxcyxd6.js} +33 -33
- package/dist/chunks/{integration-tw8zr1ps.js → provider-tw8zr1ps.js} +1 -1
- package/dist/chunks/{integration-twv2r8f4.js → provider-twv2r8f4.js} +2 -2
- package/dist/chunks/{integration-tr7wsfwx.js → provider-v2dw9gpr.js} +11 -11
- package/dist/chunks/{integration-v2r1d0zg.js → provider-v2r1d0zg.js} +1 -1
- package/dist/chunks/{integration-vd3b3yk9.js → provider-vd3b3yk9.js} +1 -1
- package/dist/chunks/{integration-veqvce7d.js → provider-veqvce7d.js} +1 -1
- package/dist/chunks/{integration-fg8b1rp8.js → provider-vfrgx50f.js} +9 -9
- package/dist/chunks/{integration-g7esga4v.js → provider-vmfhgzt5.js} +5 -5
- package/dist/chunks/{integration-tp9zr2rq.js → provider-vp6aw561.js} +12 -12
- package/dist/chunks/{integration-a24ak4ap.js → provider-vrmynpr8.js} +11 -11
- package/dist/chunks/{integration-39kss88q.js → provider-vzmjdaw1.js} +9 -9
- package/dist/chunks/{integration-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-w8qtt4th.js → provider-w8qtt4th.js} +1 -1
- package/dist/chunks/{integration-wakvkjy4.js → provider-wakvkjy4.js} +1 -1
- package/dist/chunks/{integration-10a4ntpq.js → provider-wawda81m.js} +27 -27
- package/dist/chunks/{integration-azd99q09.js → provider-wcr2gwqf.js} +17 -17
- package/dist/chunks/{integration-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{integration-aptc9ymv.js → provider-wggbn9vm.js} +10 -10
- package/dist/chunks/{integration-5jamx2yv.js → provider-wm9hvyfa.js} +26 -26
- package/dist/chunks/{integration-1y0wdj51.js → provider-wqscedq8.js} +4 -4
- package/dist/chunks/{integration-62zxknag.js → provider-wsbmx4s9.js} +25 -25
- package/dist/chunks/{integration-89tqebfq.js → provider-wzkcfv1a.js} +35 -35
- package/dist/chunks/{integration-8ncpbgq8.js → provider-wzkzkmw6.js} +7 -7
- package/dist/chunks/{integration-fjrrbk94.js → provider-wzwsv8q3.js} +8 -8
- package/dist/chunks/{integration-2z8g5rca.js → provider-x1cnjfky.js} +14 -14
- package/dist/chunks/{integration-bbgfrd4b.js → provider-xajbcg1x.js} +4 -4
- package/dist/chunks/{integration-vtzrwtxq.js → provider-xcxdyyhc.js} +29 -29
- package/dist/chunks/{integration-yyr7v161.js → provider-xfdx5fe6.js} +16 -16
- package/dist/chunks/{integration-t1enbxjd.js → provider-xn1qvzts.js} +13 -13
- package/dist/chunks/{integration-tem3s2zd.js → provider-xnzn40zn.js} +13 -13
- package/dist/chunks/{integration-a4bg04x3.js → provider-xrrkbgsx.js} +25 -25
- package/dist/chunks/{integration-g1e2r5aa.js → provider-y00x4xpa.js} +4 -4
- package/dist/chunks/{integration-mggk5pge.js → provider-y0e44a6d.js} +14 -14
- package/dist/chunks/{integration-wpyvgsa7.js → provider-y3vq8k3g.js} +338 -344
- package/dist/chunks/{integration-jpms7qeq.js → provider-y5wnwt1s.js} +14 -14
- package/dist/chunks/{integration-yb20nhc3.js → provider-yb20nhc3.js} +1 -1
- package/dist/chunks/{integration-75jptj1z.js → provider-yd1ff7ye.js} +9 -9
- package/dist/chunks/{integration-ckcwx15s.js → provider-yjvz0ccp.js} +14 -14
- package/dist/chunks/{integration-81cr296g.js → provider-yr9cnj92.js} +4 -4
- package/dist/chunks/{integration-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
- package/dist/chunks/{integration-z38nccrw.js → provider-z38nccrw.js} +1 -1
- package/dist/chunks/{integration-ynxyfk2x.js → provider-z6y74fh4.js} +18 -18
- package/dist/chunks/{integration-w8bar7yv.js → provider-z7ndhpe4.js} +3 -3
- package/dist/chunks/{integration-231a8wys.js → provider-zavmbsdh.js} +8 -8
- package/dist/chunks/{integration-cab04p5b.js → provider-zhbremzm.js} +18 -18
- package/dist/chunks/{integration-zkg84ctx.js → provider-zkg84ctx.js} +1 -1
- package/dist/chunks/{integration-5pfy6362.js → provider-zmq402w3.js} +92 -92
- package/dist/chunks/{integration-28zrcswq.js → provider-zt6nk4e1.js} +48 -48
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +72 -72
- 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 +92 -92
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +76 -76
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- 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 +93 -93
- 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 +43 -11
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- 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 +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +98 -98
- package/dist/models-dev.js +103 -103
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- 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 +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -333
- 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 +4 -4
- 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 +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- 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 +125 -125
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -103
- 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 -1
- 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 +115 -115
- 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 +168 -171
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +114 -114
- 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 +2 -2
- 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 +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +138 -138
- package/dist/session/context.js +164 -164
- 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 +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- 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 +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -102
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +166 -166
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +139 -139
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/plugin/internal.d.ts +2 -3
- package/dist/types/plugin/provider/opencode.d.ts +1 -2
- package/dist/types/voice.d.ts +1 -30
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- 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 +100 -100
- package/package.json +8 -8
- package/dist/chunks/integration-8c90v03e.js +0 -26
- package/dist/chunks/integration-b0ped87k.js +0 -107
- package/dist/chunks/integration-b674gax0.js +0 -257
- package/dist/chunks/integration-me0dhgxs.js +0 -18
- /package/dist/chunks/{integration-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-24dcb14g.js → provider-24dcb14g.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2bv980vf.js → provider-2bv980vf.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-5fjb7ams.js → provider-5fjb7ams.js} +0 -0
- /package/dist/chunks/{integration-5qd3pb7m.js → provider-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-6q2bdcd1.js → provider-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-84wd9syh.js → provider-84wd9syh.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a058387c.js → provider-a058387c.js} +0 -0
- /package/dist/chunks/{integration-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → provider-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-ec1grn59.js → provider-ec1grn59.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-gftt206x.js → provider-gftt206x.js} +0 -0
- /package/dist/chunks/{integration-hcxmzztb.js → provider-hcxmzztb.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jze0r7bz.js → provider-jze0r7bz.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-m18g726c.js → provider-m18g726c.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-pkyv6v7h.js → provider-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-ve7vex1e.js → provider-ve7vex1e.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wjj7prxr.js → provider-wjj7prxr.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8f7s663.js → provider-y8f7s663.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-ym463w8f.js → provider-ym463w8f.js} +0 -0
- /package/dist/chunks/{integration-z5v4ffb3.js → provider-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → provider-z9919s4g.js} +0 -0
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./provider-zkg84ctx.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./provider-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-q0r62q50.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service81,
|
|
9
|
+
node85
|
|
10
|
+
} from "./provider-p9x59b0e.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service57,
|
|
13
|
+
node59
|
|
14
|
+
} from "./provider-79456s4q.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./provider-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service56,
|
|
26
|
+
node: () => node58,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service56 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service81;
|
|
55
|
+
const permission = yield* Service57;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service56.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node58 = makeLocationNode({ service: Service56, layer, deps: [FSUtil.node, node85, node59] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service56, resolvePath2, node58, exports_file_access };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./provider-q8tzggtk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service68,
|
|
9
|
+
node71
|
|
10
|
+
} from "./provider-9jjx417m.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-vd3b3yk9.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./provider-42jd4697.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-9hrhwkwn.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -37,7 +37,7 @@ __export(exports_integration, {
|
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
38
|
Event: () => Event15,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
40
|
+
ID: () => ID12,
|
|
41
41
|
Info: () => Info20,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
@@ -45,8 +45,8 @@ __export(exports_integration, {
|
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service67,
|
|
49
|
+
node: () => node70
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -69,7 +69,7 @@ import { Integration } from "@opencode/schema/integration";
|
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
71
|
import { Event as Event15 } from "@opencode/schema/integration";
|
|
72
|
-
var
|
|
72
|
+
var ID12 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID12,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service67 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service68;
|
|
117
|
+
const bus = yield* Service83;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service67.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key4.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { metadata: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node70 = makeLocationNode({
|
|
633
|
+
service: Service67,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node71, node87, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID12, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info20, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service67, node70, exports_integration, Event15 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./provider-p9x59b0e.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service74,
|
|
10
|
+
node77
|
|
11
|
+
} from "./provider-yjvz0ccp.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names4
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-w8qtt4th.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./provider-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Service: () =>
|
|
25
|
-
configured: () =>
|
|
24
|
+
Service: () => Service73,
|
|
25
|
+
configured: () => configured10,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node76
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
import path from "path";
|
|
@@ -32,7 +32,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
32
32
|
import { Fff } from "#fff";
|
|
33
33
|
import fuzzysort from "fuzzysort";
|
|
34
34
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
35
|
-
class
|
|
35
|
+
class Service73 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
36
36
|
}
|
|
37
37
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
38
38
|
function emptyIndex() {
|
|
@@ -51,9 +51,9 @@ function search(index, input) {
|
|
|
51
51
|
});
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
var ripgrepLayer = Layer.effect(
|
|
55
|
-
const location = yield*
|
|
56
|
-
const ripgrep = yield*
|
|
54
|
+
var ripgrepLayer = Layer.effect(Service73, Effect.gen(function* () {
|
|
55
|
+
const location = yield* Service81;
|
|
56
|
+
const ripgrep = yield* Service74;
|
|
57
57
|
const scope = yield* Scope.Scope;
|
|
58
58
|
const clock = yield* Clock.Clock;
|
|
59
59
|
const home = isHome2(location.directory);
|
|
@@ -98,15 +98,15 @@ var ripgrepLayer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
98
98
|
Deferred.doneUnsafe(attempt, exit);
|
|
99
99
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
100
100
|
});
|
|
101
|
-
return
|
|
101
|
+
return Service73.of({
|
|
102
102
|
find: (input) => Effect.gen(function* () {
|
|
103
103
|
yield* refresh;
|
|
104
104
|
return search(index, input);
|
|
105
105
|
})
|
|
106
106
|
});
|
|
107
107
|
}));
|
|
108
|
-
var fffLayer2 = Layer.effect(
|
|
109
|
-
const location = yield*
|
|
108
|
+
var fffLayer2 = Layer.effect(Service73, Effect.gen(function* () {
|
|
109
|
+
const location = yield* Service81;
|
|
110
110
|
const result = yield* Effect.try({
|
|
111
111
|
try: () => Fff.create({
|
|
112
112
|
basePath: location.directory,
|
|
@@ -119,12 +119,12 @@ var fffLayer2 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
119
119
|
if (!result?.ok) {
|
|
120
120
|
if (result)
|
|
121
121
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
122
|
-
return
|
|
122
|
+
return Service73.of({
|
|
123
123
|
find: () => Effect.succeed([])
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
127
|
-
return
|
|
127
|
+
return Service73.of({
|
|
128
128
|
find: (input) => Effect.sync(() => {
|
|
129
129
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
130
130
|
const items = (() => {
|
|
@@ -168,16 +168,16 @@ var fffLayer2 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
170
|
var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
171
|
-
const location = yield*
|
|
171
|
+
const location = yield* Service81;
|
|
172
172
|
if (location.workspaceID)
|
|
173
173
|
return ripgrepLayer;
|
|
174
174
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
175
175
|
return ripgrepLayer;
|
|
176
176
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
177
177
|
}));
|
|
178
|
-
function
|
|
179
|
-
return makeLocationNode({ service:
|
|
178
|
+
function configured10(options) {
|
|
179
|
+
return makeLocationNode({ service: Service73, layer: layer(options), deps: [node85, node77] });
|
|
180
180
|
}
|
|
181
|
-
var
|
|
181
|
+
var node76 = configured10();
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { Service73, fffLayer2, configured10, node76, exports_search };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node87
|
|
7
|
+
} from "./provider-q8tzggtk.js";
|
|
8
8
|
import {
|
|
9
9
|
Event16,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service68,
|
|
11
|
+
node71
|
|
12
|
+
} from "./provider-9jjx417m.js";
|
|
13
13
|
import {
|
|
14
|
-
Service82,
|
|
15
|
-
node86
|
|
16
|
-
} from "./integration-gsrk1gqh.js";
|
|
17
|
-
import {
|
|
18
|
-
Service63,
|
|
19
|
-
node66
|
|
20
|
-
} from "./integration-2w2kp3m7.js";
|
|
21
|
-
import {
|
|
22
|
-
ID16,
|
|
23
14
|
Service81,
|
|
24
15
|
node85
|
|
25
|
-
} from "./
|
|
16
|
+
} from "./provider-p9x59b0e.js";
|
|
17
|
+
import {
|
|
18
|
+
Service75,
|
|
19
|
+
node78
|
|
20
|
+
} from "./provider-8yt7yt50.js";
|
|
21
|
+
import {
|
|
22
|
+
ID14,
|
|
23
|
+
Service69,
|
|
24
|
+
node72
|
|
25
|
+
} from "./provider-9hrhwkwn.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./provider-vd3b3yk9.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID12,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service67,
|
|
34
|
+
node70
|
|
35
|
+
} from "./provider-b26jwmxb.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./provider-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service31,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
|
+
layer: () => layer14,
|
|
57
|
+
node: () => node34
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -104,21 +104,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
104
104
|
var endpointLoads = makeUnsafe2();
|
|
105
105
|
var cloneConfig = (config) => structuredClone(config);
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service31 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
|
-
var
|
|
109
|
+
var Options3 = Schema.Struct({
|
|
110
110
|
clientInfo: Schema.optional(Schema.Struct({
|
|
111
111
|
name: Schema.String,
|
|
112
112
|
version: Schema.String
|
|
113
113
|
}))
|
|
114
114
|
});
|
|
115
|
-
var
|
|
116
|
-
const location = yield*
|
|
117
|
-
const environment = yield*
|
|
118
|
-
const bus = yield*
|
|
119
|
-
const forms = yield*
|
|
120
|
-
const integration = yield*
|
|
121
|
-
const credentials = yield*
|
|
115
|
+
var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service81;
|
|
117
|
+
const environment = yield* Service75;
|
|
118
|
+
const bus = yield* Service83;
|
|
119
|
+
const forms = yield* Service69;
|
|
120
|
+
const integration = yield* Service67;
|
|
121
|
+
const credentials = yield* Service68;
|
|
122
122
|
const root = yield* Effect.scope;
|
|
123
123
|
const fork = yield* FiberSet.makeRuntime();
|
|
124
124
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -133,7 +133,7 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
133
133
|
return;
|
|
134
134
|
const remote = entry.config;
|
|
135
135
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
136
|
-
const integrationID =
|
|
136
|
+
const integrationID = ID12.make(suffix);
|
|
137
137
|
entry.integrationID = integrationID;
|
|
138
138
|
owned.add(integrationID);
|
|
139
139
|
const methodID = MethodID2.make(suffix);
|
|
@@ -149,7 +149,7 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
149
149
|
method: { id: methodID, type: "oauth", label: name },
|
|
150
150
|
authorize: () => Effect.gen(function* () {
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service68, credentials));
|
|
153
153
|
})
|
|
154
154
|
});
|
|
155
155
|
}).pipe(Scope.provide(scope));
|
|
@@ -157,19 +157,19 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
157
157
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
158
158
|
const entry = entries.get(name);
|
|
159
159
|
if (!entry)
|
|
160
|
-
return yield* new
|
|
160
|
+
return yield* new NotFoundError3({ server: name });
|
|
161
161
|
return { name, entry };
|
|
162
162
|
});
|
|
163
163
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
164
164
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
165
165
|
return;
|
|
166
166
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
167
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
167
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service68, credentials));
|
|
168
168
|
});
|
|
169
169
|
const elicitation = {
|
|
170
170
|
create: (input) => Effect.gen(function* () {
|
|
171
171
|
if (input.params.mode === "url") {
|
|
172
|
-
const formID =
|
|
172
|
+
const formID = ID14.create();
|
|
173
173
|
const elicitationID = input.params.elicitationId;
|
|
174
174
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
175
175
|
if (key)
|
|
@@ -272,7 +272,7 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
272
272
|
entry.scope = scope;
|
|
273
273
|
const authProvider = yield* connectProvider(entry);
|
|
274
274
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
275
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
275
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service75, environment), Scope.provide(scope));
|
|
276
276
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
277
277
|
if (Exit.isSuccess(result)) {
|
|
278
278
|
entry.client = result.value.connection;
|
|
@@ -373,7 +373,7 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
373
373
|
let closed = false;
|
|
374
374
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
375
375
|
closed = true;
|
|
376
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
376
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service75, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
377
377
|
const register = Effect.gen(function* () {
|
|
378
378
|
if (closed) {
|
|
379
379
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -478,7 +478,7 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
478
478
|
}),
|
|
479
479
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
480
480
|
});
|
|
481
|
-
return
|
|
481
|
+
return Service31.of({
|
|
482
482
|
transform: state.transform,
|
|
483
483
|
reload: state.reload,
|
|
484
484
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -606,14 +606,14 @@ function mergeCatalogs(catalogs) {
|
|
|
606
606
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
607
607
|
});
|
|
608
608
|
}
|
|
609
|
-
function
|
|
609
|
+
function configured3(options) {
|
|
610
610
|
return makeLocationNode({
|
|
611
|
-
service:
|
|
612
|
-
layer:
|
|
613
|
-
deps: [
|
|
611
|
+
service: Service31,
|
|
612
|
+
layer: layer14(options),
|
|
613
|
+
deps: [node85, node78, node87, node72, node70, node71]
|
|
614
614
|
});
|
|
615
615
|
}
|
|
616
|
-
var
|
|
616
|
+
var node34 = configured3();
|
|
617
617
|
function toElicitationField(key, property, required) {
|
|
618
618
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
619
619
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -664,4 +664,4 @@ function toElicitationField(key, property, required) {
|
|
|
664
664
|
}
|
|
665
665
|
}
|
|
666
666
|
|
|
667
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
667
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service31, Options3, layer14, configured3, node34, exports_mcp4 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service47
|
|
4
|
+
} from "./provider-zt6nk4e1.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin8,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin8 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service47;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin17 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin8, exports_warming };
|