@opencode/core 0.0.0-dev-19435 → 0.0.0-dev-19437
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{location-kg1vvjz6.js → aisdk-native-00xmw14g.js} +16 -16
- package/dist/chunks/{location-889pe7d8.js → aisdk-native-0840f9aq.js} +41 -41
- package/dist/chunks/{location-56ek0vvh.js → aisdk-native-0gybywnx.js} +13 -13
- package/dist/chunks/{location-qxqbfyt6.js → aisdk-native-0mpna936.js} +33 -33
- package/dist/chunks/{location-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-whhmk8k9.js → aisdk-native-0px0gx5m.js} +11 -11
- package/dist/chunks/{location-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-pzfzh42t.js → aisdk-native-0rzdqhx6.js} +15 -15
- package/dist/chunks/{location-mfpdf0ta.js → aisdk-native-0y4h6tbz.js} +7 -7
- package/dist/chunks/{location-pfwdjrz4.js → aisdk-native-11h1hnb3.js} +2 -2
- package/dist/chunks/{location-t072myer.js → aisdk-native-14vj0jvn.js} +4 -4
- package/dist/chunks/{location-f2n192rq.js → aisdk-native-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-g7j46mhj.js → aisdk-native-1bcw1qtd.js} +14 -14
- package/dist/chunks/{location-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-hvpzgxgs.js → aisdk-native-1dsb41mm.js} +9 -9
- package/dist/chunks/{location-wh6nx8gk.js → aisdk-native-1hb8yyvn.js} +4 -4
- package/dist/chunks/{location-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
- package/dist/chunks/{location-e61xx2n8.js → aisdk-native-230e0txc.js} +5 -5
- package/dist/chunks/{location-rmdyxgmk.js → aisdk-native-23279rje.js} +8 -8
- package/dist/chunks/{location-qvf5hp1t.js → aisdk-native-23rr3770.js} +32 -32
- package/dist/chunks/{location-2402vzrj.js → aisdk-native-2402vzrj.js} +1 -1
- package/dist/chunks/{location-z63w68vq.js → aisdk-native-29x78va6.js} +6 -6
- package/dist/chunks/{location-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-ekvngk86.js → aisdk-native-2c8836h2.js} +10 -10
- package/dist/chunks/{location-k5jcx5w1.js → aisdk-native-2cnw5e9r.js} +9 -9
- package/dist/chunks/{location-29e0nmzb.js → aisdk-native-2ewqh1jr.js} +20 -20
- package/dist/chunks/{location-gvnbva7c.js → aisdk-native-2k01gwm7.js} +14 -14
- package/dist/chunks/{location-2f0bjgcj.js → aisdk-native-2qp6y8xf.js} +5 -5
- package/dist/chunks/{location-3tbkqww7.js → aisdk-native-2rqbk1he.js} +5 -5
- package/dist/chunks/{location-bsj0k59k.js → aisdk-native-2smzk9py.js} +26 -26
- package/dist/chunks/{location-bndvft47.js → aisdk-native-33bws32g.js} +24 -24
- package/dist/chunks/{location-y506eeqx.js → aisdk-native-38e760wk.js} +17 -17
- package/dist/chunks/{location-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3af3sqg9.js → aisdk-native-3nbxrw4d.js} +15 -15
- package/dist/chunks/{location-xgpdceje.js → aisdk-native-3nekdnre.js} +21 -21
- package/dist/chunks/{location-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-5x0v6vja.js → aisdk-native-3trbxeqx.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-16tb5cjj.js → aisdk-native-41983a39.js} +16 -16
- package/dist/chunks/aisdk-native-45th5jwr.js +18 -0
- package/dist/chunks/{location-29arvqx0.js → aisdk-native-482x06dj.js} +165 -165
- package/dist/chunks/{location-2sc5vdwx.js → aisdk-native-50ap4gs0.js} +10 -10
- package/dist/chunks/{location-tm7ffpnn.js → aisdk-native-53g2xa05.js} +7 -7
- package/dist/chunks/{location-n002fnqn.js → aisdk-native-55e931th.js} +43 -43
- package/dist/chunks/{location-1ygqh575.js → aisdk-native-56gdpj1q.js} +9 -9
- package/dist/chunks/{location-v4t0dn9g.js → aisdk-native-593yh7cm.js} +2 -2
- package/dist/chunks/{location-9tbtdqpf.js → aisdk-native-5aqfxp9a.js} +4 -4
- package/dist/chunks/{location-t45hv4wr.js → aisdk-native-5d140bk6.js} +15 -15
- package/dist/chunks/{location-v7br46vm.js → aisdk-native-5d53psdr.js} +4 -4
- package/dist/chunks/{location-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{location-szfjwb31.js → aisdk-native-5kcbcnxc.js} +3 -3
- package/dist/chunks/{location-q3d655mj.js → aisdk-native-5ktjab4p.js} +79 -79
- package/dist/chunks/aisdk-native-5rk65n7t.js +22 -0
- package/dist/chunks/{location-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-xaadjf4r.js → aisdk-native-5vcmybmc.js} +24 -24
- package/dist/chunks/{location-7b15y959.js → aisdk-native-5xtgfte3.js} +8 -8
- package/dist/chunks/{location-669tq793.js → aisdk-native-669tq793.js} +1 -1
- package/dist/chunks/{location-zwsxqnjr.js → aisdk-native-6a0v8w2c.js} +18 -18
- package/dist/chunks/{location-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-paegk39x.js → aisdk-native-6p3xbzsx.js} +4 -4
- package/dist/chunks/{location-71q4at8m.js → aisdk-native-71q4at8m.js} +1 -1
- package/dist/chunks/{location-gzg98a5d.js → aisdk-native-73fvzhyf.js} +3 -3
- package/dist/chunks/{location-ratrq7cm.js → aisdk-native-73gmm198.js} +4 -4
- package/dist/chunks/{location-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-svv6qsvk.js → aisdk-native-7gd4x462.js} +8 -8
- package/dist/chunks/{location-ndmv45hp.js → aisdk-native-7jdsj2a9.js} +3 -3
- package/dist/chunks/{location-ve6nm2s5.js → aisdk-native-7syv1xgw.js} +6 -6
- package/dist/chunks/{location-cvaj0dbv.js → aisdk-native-7w3v5q6j.js} +17 -17
- package/dist/chunks/{location-qhs4rngb.js → aisdk-native-7x6hfb2y.js} +30 -30
- package/dist/chunks/{location-swabsky0.js → aisdk-native-7zdrdht4.js} +6 -6
- package/dist/chunks/{location-81swgkk7.js → aisdk-native-81swgkk7.js} +2 -2
- package/dist/chunks/{location-1as6q9f6.js → aisdk-native-84rtzrf6.js} +10 -10
- package/dist/chunks/{location-a24v126d.js → aisdk-native-84tssp1s.js} +8 -8
- package/dist/chunks/{location-8m3d2bhh.js → aisdk-native-87py6qtt.js} +8 -8
- package/dist/chunks/{location-c0xs0mpv.js → aisdk-native-88j01mk5.js} +23 -23
- package/dist/chunks/{location-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-8p4f9s12.js → aisdk-native-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-t96n3knx.js → aisdk-native-8pfv004b.js} +14 -14
- package/dist/chunks/{location-vdpzq508.js → aisdk-native-8s076s20.js} +18 -18
- package/dist/chunks/{location-3be754jd.js → aisdk-native-94vhyftb.js} +7 -7
- package/dist/chunks/{location-2qjvwhpy.js → aisdk-native-9d1w8q7a.js} +30 -30
- package/dist/chunks/{location-zxvgyezd.js → aisdk-native-9k2v62xn.js} +1 -1
- package/dist/chunks/{location-a1bz86dw.js → aisdk-native-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-gx10v58f.js → aisdk-native-a6g7ctrh.js} +18 -18
- package/dist/chunks/{location-pec4bm3r.js → aisdk-native-a6vkafpf.js} +13 -13
- package/dist/chunks/{location-gc9rycst.js → aisdk-native-aa70zscs.js} +10 -10
- package/dist/chunks/{location-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{location-f8hxd4bv.js → aisdk-native-agnm54gs.js} +15 -15
- package/dist/chunks/{location-sq0fsqh3.js → aisdk-native-amc9zrkj.js} +11 -11
- package/dist/chunks/{location-5vqd2904.js → aisdk-native-as4rxx02.js} +17 -17
- package/dist/chunks/{location-bpqahvg7.js → aisdk-native-at5vefz0.js} +8 -8
- package/dist/chunks/{location-ae99a08d.js → aisdk-native-az6thn3b.js} +6 -6
- package/dist/chunks/{location-rz6djy9m.js → aisdk-native-azgkc19j.js} +34 -34
- package/dist/chunks/{location-qdyxpk4m.js → aisdk-native-b0216jhd.js} +31 -31
- package/dist/chunks/{location-kyrbgmgz.js → aisdk-native-b1hwkhhg.js} +4 -4
- package/dist/chunks/{location-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-r8qagt8b.js → aisdk-native-b9cbw8cf.js} +20 -20
- package/dist/chunks/{location-w08q9gc9.js → aisdk-native-b9hpem2e.js} +22 -22
- package/dist/chunks/{location-2x8aavte.js → aisdk-native-bafekp6x.js} +11 -11
- package/dist/chunks/{location-j69nrb2c.js → aisdk-native-c82mgr5r.js} +17 -17
- package/dist/chunks/{location-gs13a0mc.js → aisdk-native-cbdx500h.js} +51 -51
- package/dist/chunks/{location-t268s8j2.js → aisdk-native-cckb3k5y.js} +11 -11
- package/dist/chunks/{location-f6t340ae.js → aisdk-native-cffk5scv.js} +18 -18
- package/dist/chunks/{location-cfpkc3c9.js → aisdk-native-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-96yrngjz.js → aisdk-native-cfrmvhjx.js} +11 -11
- package/dist/chunks/{location-bde8na58.js → aisdk-native-d6ez4sy0.js} +25 -25
- package/dist/chunks/{location-m1y7e9ek.js → aisdk-native-d9whb66d.js} +24 -24
- package/dist/chunks/{location-ae9ptqg3.js → aisdk-native-dhh5xd54.js} +6 -6
- package/dist/chunks/{location-h7jk4asw.js → aisdk-native-dpe2kymk.js} +42 -42
- package/dist/chunks/{location-dpkg50ah.js → aisdk-native-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-n8f3mzga.js → aisdk-native-dqq2643g.js} +4 -4
- package/dist/chunks/{location-tmbxdmay.js → aisdk-native-dxmfxnv6.js} +36 -36
- package/dist/chunks/{location-y14y9keq.js → aisdk-native-dxq14y40.js} +1 -1
- package/dist/chunks/{location-ca9c6syk.js → aisdk-native-dzcn95em.js} +28 -28
- package/dist/chunks/{location-j556b5bm.js → aisdk-native-e5fmdc7h.js} +25 -25
- package/dist/chunks/{location-nhy5jxhy.js → aisdk-native-e82z9tr0.js} +7 -7
- package/dist/chunks/{location-1q5awywt.js → aisdk-native-e89xj288.js} +5 -5
- package/dist/chunks/{location-qycwybve.js → aisdk-native-ebnnqyp8.js} +10 -10
- package/dist/chunks/{location-8s8mxddj.js → aisdk-native-ec8389mk.js} +4 -4
- package/dist/chunks/{location-hv4jntb9.js → aisdk-native-ekhdnqeg.js} +18 -18
- package/dist/chunks/{location-yz4r56ez.js → aisdk-native-eqna0yr9.js} +23 -23
- package/dist/chunks/{location-mk60nzq1.js → aisdk-native-esdnemd6.js} +1 -1
- package/dist/chunks/{location-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-4pfqqkn9.js → aisdk-native-ex6vs5n0.js} +20 -20
- package/dist/chunks/{location-s6g7bkfa.js → aisdk-native-exys1kgc.js} +8 -8
- package/dist/chunks/{location-j0fb3yen.js → aisdk-native-ey5kq0ak.js} +24 -24
- package/dist/chunks/{location-qx0n0hnh.js → aisdk-native-f705x0rq.js} +19 -19
- package/dist/chunks/{location-f828m53h.js → aisdk-native-f828m53h.js} +2 -2
- package/dist/chunks/{location-t5d3pp3j.js → aisdk-native-f8skd28d.js} +20 -20
- package/dist/chunks/{location-yt0fqk68.js → aisdk-native-f90chkmn.js} +5 -5
- package/dist/chunks/{location-2k8khapm.js → aisdk-native-fcrkznn8.js} +5 -5
- package/dist/chunks/{location-rwc534w8.js → aisdk-native-fg9tr2v4.js} +14 -14
- package/dist/chunks/{location-389stghd.js → aisdk-native-fjxda7tk.js} +11 -11
- package/dist/chunks/{location-s6xwevjp.js → aisdk-native-fq1h1v14.js} +3 -3
- package/dist/chunks/{location-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-k3zbr1bh.js → aisdk-native-g0dg6wzp.js} +7 -7
- package/dist/chunks/{location-sst0ghmm.js → aisdk-native-g51xf709.js} +22 -22
- package/dist/chunks/{location-bvr2g14r.js → aisdk-native-gaahdxmg.js} +11 -11
- package/dist/chunks/{location-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-3fc6dm20.js → aisdk-native-gdvy8fx6.js} +4 -4
- package/dist/chunks/{location-1j70cen6.js → aisdk-native-gfc4q5wv.js} +31 -31
- package/dist/chunks/{location-fjmrr6sh.js → aisdk-native-gfqzzqy5.js} +8 -8
- package/dist/chunks/{location-ep6qtvyr.js → aisdk-native-ggns5n5n.js} +32 -32
- package/dist/chunks/{location-8q61w4ba.js → aisdk-native-gh51qv6z.js} +6 -6
- package/dist/chunks/{location-q17hktv8.js → aisdk-native-gjm5s37h.js} +16 -16
- package/dist/chunks/{location-410zfba8.js → aisdk-native-gn6yk5ww.js} +2 -2
- package/dist/chunks/{location-2xsh895f.js → aisdk-native-gshgym2h.js} +11 -11
- package/dist/chunks/{location-qgqfnjyk.js → aisdk-native-gt3yqw5p.js} +86 -86
- package/dist/chunks/{location-h03wrkyp.js → aisdk-native-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-yb440psp.js → aisdk-native-h0jnz0mn.js} +5 -5
- package/dist/chunks/{location-7j0rmcxv.js → aisdk-native-h2gyv3sg.js} +1 -1
- package/dist/chunks/{location-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-m86bnw2c.js → aisdk-native-h7ygw6q4.js} +9 -9
- package/dist/chunks/{location-07g0wp3c.js → aisdk-native-hb1v72ya.js} +23 -23
- package/dist/chunks/{location-a5z4fv32.js → aisdk-native-hcryw3z6.js} +19 -19
- package/dist/chunks/{location-bha4atvq.js → aisdk-native-hfdr1yjj.js} +4 -4
- package/dist/chunks/{location-zcrspsvn.js → aisdk-native-hn57h045.js} +4 -4
- package/dist/chunks/{location-rpr7nt0p.js → aisdk-native-hqg6sb4q.js} +12 -12
- package/dist/chunks/{location-vc5bk1c0.js → aisdk-native-hvspwq6g.js} +7 -7
- package/dist/chunks/{location-eq1pz5kg.js → aisdk-native-j028xdjb.js} +3 -3
- package/dist/chunks/{location-ax870rrv.js → aisdk-native-j0famzcd.js} +9 -9
- package/dist/chunks/{location-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{location-hdmnnff5.js → aisdk-native-j80s9j4h.js} +8 -8
- package/dist/chunks/{location-paphc93g.js → aisdk-native-j935v87r.js} +2 -2
- package/dist/chunks/{location-e8ne3dpa.js → aisdk-native-jrreb4f4.js} +20 -20
- package/dist/chunks/{location-etwfhkz9.js → aisdk-native-jsymqedf.js} +9 -9
- package/dist/chunks/{location-141fpr1p.js → aisdk-native-k75rtej4.js} +27 -27
- package/dist/chunks/{location-f7ehr2sm.js → aisdk-native-k79tzb9n.js} +9 -9
- package/dist/chunks/{location-kg06axw8.js → aisdk-native-kg06axw8.js} +1 -1
- package/dist/chunks/{location-w79zsp0s.js → aisdk-native-kjcr15p7.js} +1 -1
- package/dist/chunks/{location-x7vckax8.js → aisdk-native-knxwv22d.js} +9 -9
- package/dist/chunks/{location-j26kwb45.js → aisdk-native-kt5w8vxh.js} +10 -10
- package/dist/chunks/{location-sycr0cxz.js → aisdk-native-ktab48es.js} +26 -26
- package/dist/chunks/{location-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-kjtkant2.js → aisdk-native-mbmb2rkk.js} +13 -13
- package/dist/chunks/{location-5rp8v4vz.js → aisdk-native-mdavksa3.js} +16 -16
- package/dist/chunks/{location-6bsjh9v7.js → aisdk-native-mg5afxrb.js} +286 -286
- package/dist/chunks/{location-x80tm2rf.js → aisdk-native-mj3wj180.js} +20 -20
- package/dist/chunks/{location-mkcjrzeh.js → aisdk-native-mkcjrzeh.js} +1 -1
- package/dist/chunks/{location-bh19jbb0.js → aisdk-native-mkcn2ebg.js} +6 -6
- package/dist/chunks/{location-n25jd2cw.js → aisdk-native-mmfjar12.js} +28 -28
- package/dist/chunks/{location-ayhzktfb.js → aisdk-native-mpsn8vqb.js} +30 -30
- package/dist/chunks/{location-dchs2g52.js → aisdk-native-mrw4weg4.js} +5 -5
- package/dist/chunks/{location-pw9v3g6d.js → aisdk-native-mw934p8z.js} +8 -8
- package/dist/chunks/{location-yryey8bw.js → aisdk-native-mwav9qm3.js} +20 -20
- package/dist/chunks/{location-9y8gg6zj.js → aisdk-native-n8fgk775.js} +8 -8
- package/dist/chunks/{location-7smaqcb0.js → aisdk-native-nd9sgs86.js} +14 -14
- package/dist/chunks/{location-y2r22c8c.js → aisdk-native-nk7s85f0.js} +59 -59
- package/dist/chunks/{location-wknpsqf7.js → aisdk-native-nsk4pmpc.js} +31 -31
- package/dist/chunks/{location-hnr5yq9h.js → aisdk-native-p1nm93x7.js} +5 -5
- package/dist/chunks/{location-vhbmzvty.js → aisdk-native-p2xqw2sz.js} +25 -25
- package/dist/chunks/{location-ezedb5nb.js → aisdk-native-pa98002e.js} +16 -16
- package/dist/chunks/{location-hky8et6e.js → aisdk-native-paay8gke.js} +13 -13
- package/dist/chunks/{location-tgnvbkra.js → aisdk-native-pb4vra25.js} +15 -15
- package/dist/chunks/{location-39s9xh8n.js → aisdk-native-pcpr6ykb.js} +16 -16
- package/dist/chunks/{location-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{location-p6drjj8h.js → aisdk-native-pqpm7sfx.js} +6 -6
- package/dist/chunks/{location-yjdnpxry.js → aisdk-native-pytyr678.js} +12 -12
- package/dist/chunks/{location-h8ja802q.js → aisdk-native-q6zxxt9y.js} +4 -4
- package/dist/chunks/aisdk-native-q7fypddd.js +247 -0
- package/dist/chunks/{location-dwfyc9qf.js → aisdk-native-qbs0f730.js} +9 -9
- package/dist/chunks/{location-8hg6030g.js → aisdk-native-qfkm7725.js} +28 -28
- package/dist/chunks/{location-bte2cbsy.js → aisdk-native-qjrkxhk6.js} +22 -22
- package/dist/chunks/{location-qqs4xmxe.js → aisdk-native-qqq3x3sa.js} +51 -51
- package/dist/chunks/{location-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{location-cc10ch8m.js → aisdk-native-qvfbf04p.js} +20 -20
- package/dist/chunks/{location-1jk276m1.js → aisdk-native-r1ya17we.js} +3 -3
- package/dist/chunks/{location-3j8sdtpz.js → aisdk-native-r98e92ep.js} +4 -4
- package/dist/chunks/{location-x43y2vfs.js → aisdk-native-r9mregkx.js} +3 -3
- package/dist/chunks/{location-c03trhyz.js → aisdk-native-r9yxppz2.js} +24 -24
- package/dist/chunks/{location-zzqyq7ew.js → aisdk-native-r9z6pqtf.js} +35 -35
- package/dist/chunks/{location-4hyxw530.js → aisdk-native-re9hte73.js} +9 -9
- package/dist/chunks/{location-aab08neh.js → aisdk-native-rgfb9vbw.js} +8 -8
- package/dist/chunks/{location-2wyd3ps6.js → aisdk-native-rs226bz6.js} +5 -5
- package/dist/chunks/{location-yrznvahk.js → aisdk-native-s4enseaf.js} +2 -2
- package/dist/chunks/{location-cj3c3by5.js → aisdk-native-s62msjv3.js} +18 -18
- package/dist/chunks/{location-eaj1djv9.js → aisdk-native-s8d7rejh.js} +6 -6
- package/dist/chunks/{location-srhw5zxk.js → aisdk-native-sea28k5q.js} +11 -11
- package/dist/chunks/{location-rp8jz6x1.js → aisdk-native-sf16dj5v.js} +4 -4
- package/dist/chunks/{location-k44by2q5.js → aisdk-native-sxz67tqa.js} +38 -38
- package/dist/chunks/{location-q7cq3y4p.js → aisdk-native-szvvk72w.js} +46 -46
- package/dist/chunks/{location-eewaj409.js → aisdk-native-t1wvxcjg.js} +11 -11
- package/dist/chunks/{location-b8q5k5sw.js → aisdk-native-t2jnpd7n.js} +20 -20
- package/dist/chunks/{location-3t8eac1t.js → aisdk-native-t51qk8jz.js} +21 -21
- package/dist/chunks/{location-m8nqv7st.js → aisdk-native-t6dzw5rf.js} +25 -25
- package/dist/chunks/{location-j2p38w15.js → aisdk-native-ta0qxm0m.js} +48 -48
- package/dist/chunks/{location-ppdy6qwe.js → aisdk-native-ta5jc9f4.js} +4 -4
- package/dist/chunks/{location-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-y8z56cqz.js → aisdk-native-tbajnw8q.js} +16 -16
- package/dist/chunks/{location-bfrarwjs.js → aisdk-native-tbp3kt2h.js} +5 -5
- package/dist/chunks/{location-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{location-dyysx4dq.js → aisdk-native-tey2eytt.js} +6 -6
- package/dist/chunks/{location-th5km1p3.js → aisdk-native-th5km1p3.js} +2 -2
- package/dist/chunks/{location-v542w56z.js → aisdk-native-thh98hbb.js} +26 -26
- package/dist/chunks/{location-3bvf0a01.js → aisdk-native-tnkheefm.js} +35 -35
- package/dist/chunks/{location-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
- package/dist/chunks/{location-2hgjbaq7.js → aisdk-native-tyme6x47.js} +4 -4
- package/dist/chunks/{location-ncaez7fb.js → aisdk-native-vabb23s0.js} +1 -1
- package/dist/chunks/{location-nxjhxkv3.js → aisdk-native-vcww18r2.js} +8 -8
- package/dist/chunks/{location-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{location-58gxdv9m.js → aisdk-native-vm79m67k.js} +12 -12
- package/dist/chunks/{location-829mfcx0.js → aisdk-native-vms1qh06.js} +9 -9
- package/dist/chunks/{location-s138m409.js → aisdk-native-vvbqk37b.js} +14 -14
- package/dist/chunks/{location-226tafxp.js → aisdk-native-vypqtakx.js} +1 -1
- package/dist/chunks/{location-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-gw2vvezc.js → aisdk-native-w19pd4gw.js} +6 -6
- package/dist/chunks/{location-bqs6z16n.js → aisdk-native-w1m7fpe3.js} +3 -3
- package/dist/chunks/{location-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-en58n665.js → aisdk-native-w6rzf7rr.js} +10 -10
- package/dist/chunks/{location-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{location-4sr2v72b.js → aisdk-native-wgmz4se6.js} +10 -10
- package/dist/chunks/{location-xcrbymt7.js → aisdk-native-wsgxnvbg.js} +43 -43
- package/dist/chunks/{location-m0kbr7p9.js → aisdk-native-wxmbf8jb.js} +5 -5
- package/dist/chunks/{location-wb8znxk9.js → aisdk-native-wzq4pq7r.js} +9 -9
- package/dist/chunks/{location-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-xv590yw7.js → aisdk-native-x2cstgz7.js} +26 -26
- package/dist/chunks/{location-ent09bmt.js → aisdk-native-x47scgmz.js} +4 -4
- package/dist/chunks/{location-xshrq19q.js → aisdk-native-xmqe5mjy.js} +20 -20
- package/dist/chunks/{location-rp7ht49k.js → aisdk-native-xv565bpd.js} +39 -39
- package/dist/chunks/{location-psg6js8p.js → aisdk-native-xx519kpd.js} +22 -22
- package/dist/chunks/{location-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-tgsqfs3c.js → aisdk-native-y2a57acc.js} +39 -39
- package/dist/chunks/{location-jbhgm1pg.js → aisdk-native-y9zv0tqm.js} +13 -13
- package/dist/chunks/{location-yddgxcp4.js → aisdk-native-yddgxcp4.js} +2 -2
- package/dist/chunks/{location-03b5nb02.js → aisdk-native-ygbe9h9m.js} +15 -15
- package/dist/chunks/{location-ky1ech8t.js → aisdk-native-ygtbvk0x.js} +3 -3
- package/dist/chunks/{location-b1chm04x.js → aisdk-native-yhemyvg6.js} +7 -7
- package/dist/chunks/{location-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-czkxp88d.js → aisdk-native-ysmvfpmb.js} +8 -8
- package/dist/chunks/{location-wx89x9gj.js → aisdk-native-ytdd3bbv.js} +13 -13
- package/dist/chunks/{location-kpe4e0s9.js → aisdk-native-yx7d88az.js} +17 -17
- package/dist/chunks/{location-y8f7dagd.js → aisdk-native-yy90rqk6.js} +19 -19
- package/dist/chunks/{location-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-sdtwcfar.js → aisdk-native-z6wvrrth.js} +30 -30
- package/dist/chunks/{location-b33xe3vz.js → aisdk-native-zbpnfvtq.js} +24 -24
- package/dist/chunks/{location-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-czmgezh1.js → aisdk-native-zm18a7xh.js} +24 -24
- package/dist/chunks/{location-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +85 -85
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +89 -89
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +90 -90
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +123 -123
- package/dist/session/context.js +147 -147
- 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 +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +108 -108
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/location-4v7qdvcn.js +0 -18
- package/dist/chunks/location-a0etbwks.js +0 -22
- package/dist/chunks/location-w850rf70.js +0 -247
- /package/dist/chunks/{location-0mesazry.js → aisdk-native-0mesazry.js} +0 -0
- /package/dist/chunks/{location-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{location-hrnqkpcd.js → aisdk-native-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
5
|
make21,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-s8d7rejh.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID6,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service45,
|
|
13
|
+
node50
|
|
14
|
+
} from "./aisdk-native-g51xf709.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Service: () =>
|
|
23
|
-
SkillInstructions: () =>
|
|
24
|
-
node: () =>
|
|
20
|
+
var exports_instructions4 = {};
|
|
21
|
+
__export(exports_instructions4, {
|
|
22
|
+
Service: () => Service30,
|
|
23
|
+
SkillInstructions: () => exports_instructions4,
|
|
24
|
+
node: () => node34
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID6,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -60,18 +60,18 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service30 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service45;
|
|
67
|
+
return Service30.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
71
71
|
return empty3;
|
|
72
72
|
const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
73
73
|
return make21({
|
|
74
|
-
key:
|
|
74
|
+
key: Key3.make("core/skill-guidance"),
|
|
75
75
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
76
76
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
77
77
|
render: {
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node34 = makeLocationNode({ service: Service30, layer, deps: [node50] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service30, node34, exports_instructions4 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-ebnnqyp8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID16
|
|
6
|
+
} from "./aisdk-native-84tssp1s.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-94vhyftb.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID16.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-r1ya17we.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-5d53psdr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service40
|
|
9
|
+
} from "./aisdk-native-7syv1xgw.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError8,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,38 +20,38 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./aisdk-native-53g2xa05.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./aisdk-native-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service61
|
|
29
|
+
} from "./aisdk-native-pa98002e.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service39
|
|
34
|
+
} from "./aisdk-native-yy90rqk6.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service37
|
|
37
|
+
} from "./aisdk-native-dxmfxnv6.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./aisdk-native-41983a39.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./aisdk-native-qvfbf04p.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./aisdk-native-jsymqedf.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./aisdk-native-j0famzcd.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -65,10 +65,10 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
65
65
|
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service79;
|
|
67
67
|
const database = yield* Service80;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service61;
|
|
69
|
+
const instances = yield* Service40;
|
|
70
|
+
const execution = yield* Service37;
|
|
71
|
+
const admission = yield* Service39;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -127,7 +127,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
127
127
|
});
|
|
128
128
|
if (existing)
|
|
129
129
|
return existing;
|
|
130
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
130
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service40, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
131
131
|
if (session.revert)
|
|
132
132
|
yield* commit2(bus, session);
|
|
133
133
|
return yield* admission.admit({
|
|
@@ -143,7 +143,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
143
143
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
144
144
|
const session = yield* get(sessionID);
|
|
145
145
|
const running = yield* Effect.gen(function* () {
|
|
146
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
146
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service40, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
147
147
|
text: `User shell command failed to start:
|
|
148
148
|
${input.command}
|
|
149
149
|
|
|
@@ -172,7 +172,7 @@ ${error.message}`,
|
|
|
172
172
|
});
|
|
173
173
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
174
174
|
const session = yield* get(sessionID);
|
|
175
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
175
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service40, instances));
|
|
176
176
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
177
177
|
sessionID,
|
|
178
178
|
id: skill.id,
|
|
@@ -229,13 +229,13 @@ ${error.message}`,
|
|
|
229
229
|
const session = yield* get(sessionID);
|
|
230
230
|
if (yield* execution.isActive(sessionID))
|
|
231
231
|
return yield* new BusyError2({ sessionID });
|
|
232
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
232
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
|
|
233
233
|
});
|
|
234
234
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
235
235
|
const session = yield* get(sessionID);
|
|
236
236
|
if (yield* execution.isActive(sessionID))
|
|
237
237
|
return yield* new BusyError2({ sessionID });
|
|
238
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
238
|
+
yield* clear2(session).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service79, bus));
|
|
239
239
|
return yield* execution.wake(sessionID);
|
|
240
240
|
});
|
|
241
241
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-r1ya17we.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-native-5d53psdr.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info29,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service74,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node79
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info29 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service74 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info29({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service74.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info29({
|
|
80
|
+
id: ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node79 = makeGlobalNode({ service: Service74, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID15, OAuth3, Key4, Value2, Event19, Info29, Service74, node79, exports_credential };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID16
|
|
3
|
+
} from "./aisdk-native-84tssp1s.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID16.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID16.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin34,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin34 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin8 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint3);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint3, Plugin34, exports_exa };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service47,
|
|
6
|
+
node52
|
|
7
|
+
} from "./aisdk-native-y2a57acc.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service46,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer18,
|
|
20
|
+
node: () => node51
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service46 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer18 = Layer.effect(Service46, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service47;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -61,12 +61,12 @@ var layer10 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
61
61
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
62
62
|
message: "Generation credentials are unavailable"
|
|
63
63
|
})));
|
|
64
|
-
return
|
|
64
|
+
return Service46.of({ text });
|
|
65
65
|
}));
|
|
66
|
-
var
|
|
67
|
-
service:
|
|
68
|
-
layer:
|
|
69
|
-
deps: [
|
|
66
|
+
var node51 = makeLocationNode({
|
|
67
|
+
service: Service46,
|
|
68
|
+
layer: layer18,
|
|
69
|
+
deps: [node52, llmClient2]
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
72
|
+
export { ModelSelectionError2, UnavailableError2, Service46, layer18, node51, exports_generate2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./aisdk-native-c82mgr5r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service18
|
|
6
|
+
} from "./aisdk-native-5ktjab4p.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make10 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
23
|
+
const sessions = yield* Service18;
|
|
24
|
+
const jobs = yield* Service53;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-native-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service34,
|
|
8
|
+
node38
|
|
9
|
+
} from "./aisdk-native-5vcmybmc.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service17,
|
|
24
|
+
node: () => node20
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service17 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service34;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service17.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node20 = makeLocationNode({ service: Service17, layer, deps: [node38, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error2, InvalidPatternError2,
|
|
180
|
+
export { Error2, InvalidPatternError2, Service17, node20, exports_ripgrep };
|