@opencode/core 0.0.0-dev-19567 → 0.0.0-dev-19568
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/agent.js +67 -67
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +53 -53
- package/dist/catalog.js +67 -67
- package/dist/chunks/{filesystem-bccb6npm.js → filesystem-06dxphr1.js} +3 -3
- package/dist/chunks/{filesystem-ehhvb1z1.js → filesystem-0b51tgne.js} +23 -23
- package/dist/chunks/{filesystem-f8652x2w.js → filesystem-0ezsa6vy.js} +40 -40
- package/dist/chunks/{filesystem-vncd6x2p.js → filesystem-0jsm5b6f.js} +18 -18
- package/dist/chunks/{filesystem-zdzb03tf.js → filesystem-0yf7gmgh.js} +1 -1
- package/dist/chunks/{filesystem-j8yes9fb.js → filesystem-0z4swx6k.js} +13 -13
- package/dist/chunks/{filesystem-f2n192rq.js → filesystem-1acjjqhc.js} +3 -3
- package/dist/chunks/{filesystem-k5734w4a.js → filesystem-1b5k9ny0.js} +8 -8
- package/dist/chunks/{filesystem-078gytam.js → filesystem-1q26ypmg.js} +14 -14
- package/dist/chunks/{filesystem-1s6ef6er.js → filesystem-1xzg4q7f.js} +7 -7
- package/dist/chunks/{filesystem-6rx9j4b0.js → filesystem-27fbez5x.js} +6 -6
- package/dist/chunks/{filesystem-6y0dpk3y.js → filesystem-298asx42.js} +25 -25
- package/dist/chunks/{filesystem-xn99z6n2.js → filesystem-2ah6ycde.js} +24 -24
- package/dist/chunks/{filesystem-t6xgqy70.js → filesystem-2b6sywcb.js} +10 -10
- package/dist/chunks/{filesystem-ywkfy99j.js → filesystem-2bt6bea8.js} +7 -7
- package/dist/chunks/{filesystem-vkxpz7g2.js → filesystem-2tfmgkzg.js} +2 -2
- package/dist/chunks/{filesystem-56gdpj1q.js → filesystem-33w4ejhs.js} +4 -4
- package/dist/chunks/{filesystem-9m209nhj.js → filesystem-3723sw29.js} +4 -4
- package/dist/chunks/{filesystem-caw866h7.js → filesystem-3bxse654.js} +9 -9
- package/dist/chunks/{filesystem-041s7t4d.js → filesystem-3e73f7fn.js} +18 -18
- package/dist/chunks/{filesystem-jjt6g8ec.js → filesystem-3p9h8pr0.js} +10 -10
- package/dist/chunks/{filesystem-vwedqk8m.js → filesystem-4as8h3gg.js} +13 -13
- package/dist/chunks/{filesystem-ekjywdh4.js → filesystem-4f8bfcxm.js} +10 -10
- package/dist/chunks/{filesystem-nh937vtg.js → filesystem-4f92c8s9.js} +16 -16
- package/dist/chunks/{filesystem-bezn74c1.js → filesystem-4fbncvv5.js} +6 -6
- package/dist/chunks/{filesystem-175mk5tz.js → filesystem-4mwvkeyx.js} +10 -10
- package/dist/chunks/{filesystem-9ftserdy.js → filesystem-4p7x74p9.js} +9 -9
- package/dist/chunks/{filesystem-439y12vh.js → filesystem-4skj9pjn.js} +2 -2
- package/dist/chunks/{filesystem-vsp1fds9.js → filesystem-50mzsvk4.js} +20 -20
- package/dist/chunks/{filesystem-ppf6v6e1.js → filesystem-5762gc32.js} +33 -33
- package/dist/chunks/{filesystem-ayp6cqfq.js → filesystem-57v6fmny.js} +15 -15
- package/dist/chunks/{filesystem-a1bz86dw.js → filesystem-5c4hm403.js} +1 -1
- package/dist/chunks/{filesystem-abe16e6q.js → filesystem-5ctrep3m.js} +9 -9
- package/dist/chunks/{filesystem-ytapak9r.js → filesystem-5m7h1hre.js} +14 -14
- package/dist/chunks/{filesystem-pmr4s4kc.js → filesystem-5q02cxx3.js} +3 -3
- package/dist/chunks/{filesystem-mgjabrz5.js → filesystem-5rjrjdee.js} +4 -4
- package/dist/chunks/{filesystem-5c91nd8t.js → filesystem-5whwrpxa.js} +8 -8
- package/dist/chunks/{filesystem-qgn6gcr1.js → filesystem-607tc6va.js} +4 -4
- package/dist/chunks/{filesystem-eyeb23k4.js → filesystem-631045jg.js} +28 -28
- package/dist/chunks/{filesystem-gqrjg9m0.js → filesystem-64ddj6v7.js} +1 -1
- package/dist/chunks/{filesystem-7qj23typ.js → filesystem-696tvegr.js} +27 -27
- package/dist/chunks/{filesystem-khbvvr7x.js → filesystem-6gwpwpyd.js} +22 -22
- package/dist/chunks/{filesystem-r1kfjs52.js → filesystem-6gypj2re.js} +23 -23
- package/dist/chunks/{filesystem-7n5ebxvb.js → filesystem-6j4fq2cq.js} +9 -9
- package/dist/chunks/filesystem-6kdq0pjd.js +4 -0
- package/dist/chunks/{filesystem-ssnweha5.js → filesystem-6kkxyhkv.js} +3 -3
- package/dist/chunks/{filesystem-gg8vxy2p.js → filesystem-6qxnajbz.js} +23 -23
- package/dist/chunks/{filesystem-mgp1xb0f.js → filesystem-6zp4xm1r.js} +22 -22
- package/dist/chunks/{filesystem-23279rje.js → filesystem-703jyx7f.js} +7 -7
- package/dist/chunks/{filesystem-w105trey.js → filesystem-7061gxvt.js} +23 -23
- package/dist/chunks/{filesystem-ecrg2nqv.js → filesystem-72jmdy6r.js} +19 -19
- package/dist/chunks/{filesystem-q8qk0cpb.js → filesystem-75va9qk2.js} +9 -9
- package/dist/chunks/{filesystem-3c1tgrea.js → filesystem-7bnzk546.js} +5 -5
- package/dist/chunks/{filesystem-ad7xdf9r.js → filesystem-7krdaasy.js} +5 -5
- package/dist/chunks/{filesystem-yya0sae6.js → filesystem-7nwp8zja.js} +9 -9
- package/dist/chunks/{filesystem-wj45sndb.js → filesystem-7pqa36gv.js} +11 -11
- package/dist/chunks/{filesystem-dhwr7h25.js → filesystem-7rrn560x.js} +9 -9
- package/dist/chunks/{filesystem-4frkg54w.js → filesystem-81swgkk7.js} +7 -7
- package/dist/chunks/{filesystem-av1zmrck.js → filesystem-84r56gr5.js} +1 -1
- package/dist/chunks/{filesystem-5et2ke9z.js → filesystem-85c4hbm5.js} +22 -22
- package/dist/chunks/{filesystem-55yqmepc.js → filesystem-8aabwx5n.js} +17 -17
- package/dist/chunks/{filesystem-jacaeees.js → filesystem-8akv9m9x.js} +15 -15
- package/dist/chunks/{filesystem-958js9br.js → filesystem-8et7pj57.js} +12 -12
- package/dist/chunks/{filesystem-hef24fn2.js → filesystem-8m5v51r2.js} +40 -40
- package/dist/chunks/{filesystem-ptytrkeg.js → filesystem-9104srmq.js} +16 -16
- package/dist/chunks/{filesystem-krhdd13z.js → filesystem-975yhv65.js} +17 -17
- package/dist/chunks/{filesystem-cf3tj770.js → filesystem-9c1k5ss1.js} +8 -8
- package/dist/chunks/{filesystem-tmz07czs.js → filesystem-9d82za01.js} +18 -18
- package/dist/chunks/{filesystem-zxnzg6kz.js → filesystem-9j5jfgtr.js} +22 -22
- package/dist/chunks/{filesystem-x159k7tn.js → filesystem-9qpqmwv0.js} +9 -9
- package/dist/chunks/{filesystem-dywhtpsx.js → filesystem-9s312kc4.js} +7 -7
- package/dist/chunks/{filesystem-p815bw41.js → filesystem-9v1c99ce.js} +75 -75
- package/dist/chunks/{filesystem-z46ew2vq.js → filesystem-a2hw0sqp.js} +45 -45
- package/dist/chunks/{filesystem-1ndypj5r.js → filesystem-a3r4dcrj.js} +1 -1
- package/dist/chunks/{filesystem-27ekamt2.js → filesystem-akfg16cj.js} +1 -1
- package/dist/chunks/{filesystem-9fvhjrgf.js → filesystem-arpbwta6.js} +22 -22
- package/dist/chunks/{filesystem-bv2jx7pw.js → filesystem-b1tz6w3s.js} +28 -28
- package/dist/chunks/{filesystem-b8mjdg95.js → filesystem-b762qnyw.js} +30 -30
- package/dist/chunks/{filesystem-yatbfktz.js → filesystem-bjbm878y.js} +4 -4
- package/dist/chunks/{filesystem-6xgghmbk.js → filesystem-bp0xbca5.js} +39 -39
- package/dist/chunks/{filesystem-yxc59d7f.js → filesystem-bs4q3tqg.js} +5 -5
- package/dist/chunks/{filesystem-v84z85pp.js → filesystem-c8266qxr.js} +11 -11
- package/dist/chunks/{filesystem-57gxc5pf.js → filesystem-cerc8atz.js} +16 -16
- package/dist/chunks/{filesystem-79h9wc7p.js → filesystem-cpcnfgyy.js} +27 -27
- package/dist/chunks/{filesystem-w2yvy5y9.js → filesystem-d979a45b.js} +4 -4
- package/dist/chunks/{filesystem-eraanh1f.js → filesystem-da6kr1wx.js} +5 -5
- package/dist/chunks/{filesystem-dkvg49fw.js → filesystem-dn7swrv3.js} +29 -29
- package/dist/chunks/{filesystem-y71avatq.js → filesystem-dpkg50ah.js} +3 -3
- package/dist/chunks/{filesystem-41k02yvh.js → filesystem-dq26kvy6.js} +16 -16
- package/dist/chunks/{filesystem-6bckx01s.js → filesystem-dzhcmde1.js} +5 -5
- package/dist/chunks/{filesystem-77xgrpmb.js → filesystem-e0tp7zzd.js} +21 -21
- package/dist/chunks/{filesystem-12v07r08.js → filesystem-e7tx2v0e.js} +8 -8
- package/dist/chunks/{filesystem-4jjph5sa.js → filesystem-e99qm4q4.js} +7 -7
- package/dist/chunks/{filesystem-0gdmqesm.js → filesystem-eaj1djv9.js} +7 -7
- package/dist/chunks/{filesystem-ntkt8hfw.js → filesystem-eb2yma87.js} +8 -8
- package/dist/chunks/{filesystem-sgm801mv.js → filesystem-eb4y5yy0.js} +25 -25
- package/dist/chunks/{filesystem-kh4cqp9s.js → filesystem-ecd1f3mq.js} +4 -4
- package/dist/chunks/{filesystem-2qxnj2tc.js → filesystem-ecfkvkmx.js} +10 -10
- package/dist/chunks/{filesystem-eh1r3epm.js → filesystem-ee5p72rr.js} +3 -3
- package/dist/chunks/{filesystem-kk05wj6g.js → filesystem-efttx8x1.js} +5 -5
- package/dist/chunks/{filesystem-2da2wngq.js → filesystem-epn31rr5.js} +6 -6
- package/dist/chunks/{filesystem-gx8gn256.js → filesystem-erhcz2jb.js} +25 -25
- package/dist/chunks/{filesystem-h85jpfa0.js → filesystem-es5dr4fw.js} +7 -7
- package/dist/chunks/{filesystem-8z6dw92s.js → filesystem-ethbh4z7.js} +16 -16
- package/dist/chunks/{filesystem-2f0bjgcj.js → filesystem-evbgk2k8.js} +3 -3
- package/dist/chunks/{filesystem-65tvvp9r.js → filesystem-ez02qrbp.js} +1 -1
- package/dist/chunks/{filesystem-6fatt4mk.js → filesystem-f7ehr2sm.js} +8 -8
- package/dist/chunks/{filesystem-kkdq4gv9.js → filesystem-fc5gyn3k.js} +8 -8
- package/dist/chunks/{filesystem-4xwhw091.js → filesystem-fgsjaxv0.js} +2 -2
- package/dist/chunks/{filesystem-9v4y56cw.js → filesystem-fm98w790.js} +8 -8
- package/dist/chunks/{filesystem-v36j07s8.js → filesystem-fpnq3hwf.js} +12 -12
- package/dist/chunks/{filesystem-trwj2ymr.js → filesystem-fsma24dd.js} +4 -4
- package/dist/chunks/{filesystem-ysg8hvve.js → filesystem-ftyr94h4.js} +28 -28
- package/dist/chunks/{filesystem-kjc7y5he.js → filesystem-fyvhdr9h.js} +7 -7
- package/dist/chunks/{filesystem-rzj44daq.js → filesystem-ga5yzwkb.js} +15 -15
- package/dist/chunks/{filesystem-q9sh34kg.js → filesystem-gb4851xq.js} +29 -29
- package/dist/chunks/{filesystem-k394pqej.js → filesystem-gea7vc3h.js} +4 -4
- package/dist/chunks/{filesystem-qm7jrdpz.js → filesystem-gft05b0a.js} +7 -7
- package/dist/chunks/{filesystem-n8dshb08.js → filesystem-h0vwgry8.js} +11 -11
- package/dist/chunks/{filesystem-6b0jwvmt.js → filesystem-haa1g6we.js} +27 -27
- package/dist/chunks/{filesystem-f828m53h.js → filesystem-hdnk95c8.js} +1 -1
- package/dist/chunks/{filesystem-f8rh72t3.js → filesystem-hfk3zaat.js} +9 -9
- package/dist/chunks/{filesystem-nhy5jxhy.js → filesystem-hjt4xg1x.js} +3 -3
- package/dist/chunks/{filesystem-sk6yq7gh.js → filesystem-jexxy024.js} +3 -3
- package/dist/chunks/{filesystem-r7yb2281.js → filesystem-jjf0vtdq.js} +10 -10
- package/dist/chunks/{filesystem-87c2hcfn.js → filesystem-jxn345vr.js} +16 -16
- package/dist/chunks/{filesystem-4xhf45yx.js → filesystem-k1j6gk9a.js} +6 -6
- package/dist/chunks/{filesystem-0z4fxwj8.js → filesystem-k2qtg38n.js} +27 -27
- package/dist/chunks/{filesystem-se105tye.js → filesystem-k6z5z3xm.js} +4 -4
- package/dist/chunks/{filesystem-4b4yfk1e.js → filesystem-ka7bdmkm.js} +41 -41
- package/dist/chunks/{filesystem-6a2hk3n2.js → filesystem-kdsged9e.js} +8 -8
- package/dist/chunks/{filesystem-4j9ew2rr.js → filesystem-kfs8rg3h.js} +1 -1
- package/dist/chunks/{filesystem-5wvv95xm.js → filesystem-ky7as88a.js} +19 -19
- package/dist/chunks/{filesystem-cfpkc3c9.js → filesystem-m0jqrx5p.js} +1 -1
- package/dist/chunks/{filesystem-45vv7gab.js → filesystem-m87kjwf8.js} +9 -9
- package/dist/chunks/{filesystem-1bbkgx8g.js → filesystem-mhkvc446.js} +2 -2
- package/dist/chunks/{filesystem-aycy0v5g.js → filesystem-mmgf1rqt.js} +10 -10
- package/dist/chunks/{filesystem-y88ze32q.js → filesystem-mrjzwcm0.js} +9 -9
- package/dist/chunks/{filesystem-dsqq6j4y.js → filesystem-mtd6x72z.js} +5 -5
- package/dist/chunks/{filesystem-nnwnj3kt.js → filesystem-myekw2gp.js} +10 -10
- package/dist/chunks/{filesystem-v5eees2g.js → filesystem-mz2wz6jn.js} +19 -19
- package/dist/chunks/{filesystem-rv6e4z41.js → filesystem-mzhavs24.js} +35 -35
- package/dist/chunks/{filesystem-axc3cb0n.js → filesystem-n7ghmjtx.js} +7 -7
- package/dist/chunks/{filesystem-zzzpg4zy.js → filesystem-n8v6jt5n.js} +11 -11
- package/dist/chunks/{filesystem-w9s2bh3f.js → filesystem-nbvvbhgb.js} +74 -74
- package/dist/chunks/{filesystem-jaqemzyz.js → filesystem-nhj3pk2g.js} +16 -16
- package/dist/chunks/{filesystem-p6hxwm8v.js → filesystem-nm2epvtw.js} +22 -22
- package/dist/chunks/{filesystem-hwma07pt.js → filesystem-nrtb1m71.js} +13 -13
- package/dist/chunks/{filesystem-wyzh7da2.js → filesystem-p0hmzt3n.js} +7 -7
- package/dist/chunks/{filesystem-zf0cgqdy.js → filesystem-p0ydpdje.js} +1 -1
- package/dist/chunks/{filesystem-gacr8fx6.js → filesystem-p5w9prz9.js} +24 -24
- package/dist/chunks/{filesystem-4fy5a9h5.js → filesystem-p6j6tyky.js} +17 -17
- package/dist/chunks/{filesystem-j935v87r.js → filesystem-paphc93g.js} +2 -2
- package/dist/chunks/{filesystem-th2mpfrx.js → filesystem-pbky73a2.js} +3 -3
- package/dist/chunks/{filesystem-p44d8wdy.js → filesystem-pecb0brz.js} +3 -3
- package/dist/chunks/{filesystem-zjyfgt6w.js → filesystem-pge2bfmc.js} +18 -18
- package/dist/chunks/{filesystem-0300fd29.js → filesystem-px514bpm.js} +19 -19
- package/dist/chunks/{filesystem-1x11rq2a.js → filesystem-q509s3k3.js} +4 -4
- package/dist/chunks/{filesystem-4zqmmk7v.js → filesystem-qen1jmg8.js} +32 -32
- package/dist/chunks/{filesystem-wbkyxrgf.js → filesystem-qjnxxf51.js} +3 -3
- package/dist/chunks/{filesystem-bkfa2z39.js → filesystem-re9amv7g.js} +163 -163
- package/dist/chunks/{filesystem-hr4rc9dq.js → filesystem-rfp29srv.js} +23 -23
- package/dist/chunks/{filesystem-xvkeykba.js → filesystem-rgrjgzhx.js} +18 -18
- package/dist/chunks/{filesystem-jay4nmce.js → filesystem-rgyfsfc5.js} +32 -32
- package/dist/chunks/filesystem-rh7ezj45.js +26 -0
- package/dist/chunks/{filesystem-87bjq7d8.js → filesystem-rk9hj1v7.js} +47 -47
- package/dist/chunks/{filesystem-x6aajhkr.js → filesystem-rnfn6xxq.js} +21 -21
- package/dist/chunks/{filesystem-gb7ervf3.js → filesystem-rph3zd4r.js} +5 -5
- package/dist/chunks/{filesystem-ndaapn5x.js → filesystem-rr25vpab.js} +8 -8
- package/dist/chunks/{filesystem-a9pdx8gz.js → filesystem-rvzfv4w1.js} +7 -7
- package/dist/chunks/{filesystem-a4kfj0a0.js → filesystem-rxdk16p3.js} +17 -17
- package/dist/chunks/{filesystem-ahnqppdj.js → filesystem-rxjvbk8n.js} +1 -1
- package/dist/chunks/{filesystem-jhvzetwt.js → filesystem-s9q5j7ef.js} +39 -39
- package/dist/chunks/{filesystem-r8dnm4fk.js → filesystem-sf0gthgt.js} +11 -11
- package/dist/chunks/{filesystem-25jf9b0a.js → filesystem-t000jqpf.js} +17 -17
- package/dist/chunks/{filesystem-6ck2t1rv.js → filesystem-t0x5rdq8.js} +7 -7
- package/dist/chunks/{filesystem-cj0ynpdk.js → filesystem-t15xvjkv.js} +16 -16
- package/dist/chunks/{filesystem-12v7y99v.js → filesystem-t7nbeyr2.js} +12 -12
- package/dist/chunks/{filesystem-g9mjxn54.js → filesystem-tdk2wfqj.js} +8 -8
- package/dist/chunks/{filesystem-h39eyz0q.js → filesystem-thcje0ms.js} +16 -16
- package/dist/chunks/{filesystem-88bvrjqm.js → filesystem-tj8y1zy0.js} +14 -14
- package/dist/chunks/{filesystem-1g7epwpd.js → filesystem-tkmwgdpd.js} +3 -3
- package/dist/chunks/{filesystem-0c4e0yvv.js → filesystem-tm94zk3c.js} +29 -29
- package/dist/chunks/{filesystem-gthqyac3.js → filesystem-tryb73nk.js} +3 -3
- package/dist/chunks/{filesystem-ey1y6cx4.js → filesystem-tv2fxbte.js} +7 -7
- package/dist/chunks/{filesystem-tpw6cwsb.js → filesystem-v4hmzr0r.js} +7 -7
- package/dist/chunks/{filesystem-c0msvw2j.js → filesystem-v7t6t3ee.js} +20 -20
- package/dist/chunks/filesystem-v8z7968n.js +247 -0
- package/dist/chunks/{filesystem-t1waf9zt.js → filesystem-vcybtvp5.js} +7 -7
- package/dist/chunks/{filesystem-m142jtgy.js → filesystem-vd431jt0.js} +10 -10
- package/dist/chunks/{filesystem-nkvjcq56.js → filesystem-vjstzn3j.js} +12 -12
- package/dist/chunks/{filesystem-gzxx6bgm.js → filesystem-vm9edkyf.js} +14 -14
- package/dist/chunks/{filesystem-em33emqj.js → filesystem-vywwb7xw.js} +1 -1
- package/dist/chunks/{filesystem-dsyn576s.js → filesystem-vz4k8wbp.js} +2 -2
- package/dist/chunks/{filesystem-wh1jz8sn.js → filesystem-w2w9rvzr.js} +44 -44
- package/dist/chunks/{filesystem-d7swqpa7.js → filesystem-w7cks01r.js} +16 -16
- package/dist/chunks/{filesystem-cqk3ba3b.js → filesystem-wbcpzrvz.js} +4 -4
- package/dist/chunks/{filesystem-pwxjd99w.js → filesystem-wcft5t0g.js} +17 -17
- package/dist/chunks/{filesystem-9grmh3gg.js → filesystem-wcy83pfm.js} +12 -12
- package/dist/chunks/{filesystem-sqhed6c7.js → filesystem-wprd8xj9.js} +16 -16
- package/dist/chunks/{filesystem-f0q97ex4.js → filesystem-wqntmd11.js} +6 -6
- package/dist/chunks/{filesystem-qwwrayhn.js → filesystem-x1cde7tm.js} +10 -10
- package/dist/chunks/{filesystem-n2g8w3nt.js → filesystem-x6h9ntm8.js} +25 -25
- package/dist/chunks/{filesystem-0vag3j8x.js → filesystem-xb3nqwnp.js} +60 -60
- package/dist/chunks/{filesystem-kqn78m91.js → filesystem-xb7w47hd.js} +9 -9
- package/dist/chunks/{filesystem-kzs1nj2w.js → filesystem-xbv0k4ba.js} +38 -38
- package/dist/chunks/{filesystem-w28ya9nv.js → filesystem-xez80017.js} +17 -17
- package/dist/chunks/{filesystem-rdfsynn7.js → filesystem-xg954myy.js} +5 -5
- package/dist/chunks/{filesystem-37jfsww8.js → filesystem-xrr0m7w9.js} +15 -15
- package/dist/chunks/{filesystem-18e56dsp.js → filesystem-xwwz9aqf.js} +3 -3
- package/dist/chunks/{filesystem-8czw5t31.js → filesystem-xxj3pgp3.js} +1 -1
- package/dist/chunks/{filesystem-yy6wawb8.js → filesystem-y3xz725g.js} +24 -24
- package/dist/chunks/{filesystem-nmedgzjr.js → filesystem-y45wrhxb.js} +6 -6
- package/dist/chunks/{filesystem-z2erpwqc.js → filesystem-y80z5qnm.js} +16 -16
- package/dist/chunks/{filesystem-2w43xsrz.js → filesystem-y9mn02hf.js} +10 -10
- package/dist/chunks/{filesystem-2ctqm5ex.js → filesystem-yawef6kw.js} +1 -1
- package/dist/chunks/{filesystem-qxe1e9q5.js → filesystem-ypz4327q.js} +3 -3
- package/dist/chunks/{filesystem-av40d20f.js → filesystem-yqtqx2tb.js} +1 -1
- package/dist/chunks/{filesystem-ks78zxsa.js → filesystem-yrr26vyh.js} +27 -27
- package/dist/chunks/{filesystem-60qw2sva.js → filesystem-yrz8q0k0.js} +5 -5
- package/dist/chunks/{filesystem-s4enseaf.js → filesystem-yrznvahk.js} +1 -1
- package/dist/chunks/{filesystem-bm5ycmby.js → filesystem-yvrn8c55.js} +9 -9
- package/dist/chunks/{filesystem-5y27wggs.js → filesystem-yx6mkdzk.js} +48 -48
- package/dist/chunks/{filesystem-8jt463w9.js → filesystem-z2708axn.js} +27 -27
- package/dist/chunks/{filesystem-29x78va6.js → filesystem-z63w68vq.js} +4 -4
- package/dist/chunks/{filesystem-rnm8ebdw.js → filesystem-zb3fmyt6.js} +300 -300
- package/dist/chunks/{filesystem-cdt344wa.js → filesystem-zdx06d9s.js} +32 -32
- package/dist/chunks/{filesystem-f8gcejx1.js → filesystem-zqngs88h.js} +12 -12
- package/dist/chunks/{filesystem-9ewzbff8.js → filesystem-zshj55xc.js} +23 -23
- package/dist/chunks/{filesystem-hn57h045.js → filesystem-zvt5dnpc.js} +3 -3
- package/dist/codemode/instructions.js +6 -6
- package/dist/command.js +67 -67
- package/dist/config/discovery.js +61 -61
- package/dist/config/normalize.js +16 -16
- package/dist/config/plugin/agent.js +95 -95
- package/dist/config/plugin/command.js +180 -180
- package/dist/config/plugin/compaction.js +133 -133
- package/dist/config/plugin/compatibility.js +111 -111
- package/dist/config/plugin/formatter.js +94 -94
- package/dist/config/plugin/image.js +93 -93
- package/dist/config/plugin/instruction.js +68 -68
- package/dist/config/plugin/location-watcher.js +93 -93
- package/dist/config/plugin/mcp.js +101 -101
- package/dist/config/plugin/policy.js +92 -92
- package/dist/config/plugin/provider.js +91 -91
- package/dist/config/plugin/reference.js +94 -94
- package/dist/config/plugin/shell.js +95 -95
- package/dist/config/plugin/skill-file.js +77 -77
- package/dist/config/plugin/skill.js +114 -114
- package/dist/config/plugin/snapshot.js +93 -93
- package/dist/config/plugin/source.js +95 -95
- package/dist/config/plugin/tool-output.js +95 -95
- package/dist/config/plugin/websearch.js +93 -93
- package/dist/config/plugin/worktree.js +96 -96
- package/dist/config/variable.js +2 -2
- package/dist/config.js +98 -98
- package/dist/credential.js +67 -67
- package/dist/database/database.js +51 -51
- package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +11 -11
- package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
- package/dist/database/drizzle.js +11 -11
- package/dist/database/migration.gen.js +35 -35
- package/dist/database/migration.js +36 -36
- package/dist/database/v1-migration.bun.js +11 -11
- package/dist/effect/app-node-builder.js +242 -242
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +68 -68
- package/dist/environment/index.js +70 -70
- package/dist/event-logger.js +10 -10
- package/dist/file-access.js +80 -80
- package/dist/file-mutation.js +69 -69
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +190 -190
- package/dist/filesystem/search.js +77 -77
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +14 -14
- package/dist/filesystem.js +76 -76
- package/dist/form.js +68 -68
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +68 -68
- package/dist/generate.js +75 -75
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/responses/openai-responses-language-model.js +5 -5
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +313 -313
- package/dist/instruction-discovery.js +68 -68
- package/dist/instructions/builtins.js +66 -66
- package/dist/instructions/index.js +5 -5
- package/dist/integration.js +70 -70
- package/dist/job.js +61 -61
- package/dist/kv.js +56 -56
- package/dist/location-activity.js +59 -59
- package/dist/location-mutation.js +35 -35
- package/dist/location-service-map.js +65 -65
- package/dist/location-services.js +310 -310
- package/dist/location.js +68 -68
- package/dist/mcp/client.js +20 -20
- package/dist/mcp/index.js +81 -81
- package/dist/mcp/instructions.js +95 -95
- package/dist/mcp/stdio.js +65 -65
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +70 -70
- package/dist/model.js +8 -8
- package/dist/models-dev.js +70 -70
- package/dist/permission/saved.js +65 -65
- package/dist/permission/sql.js +3 -3
- package/dist/permission.js +87 -87
- package/dist/persistent-pty/index.js +68 -68
- package/dist/persistent-pty.js +56 -56
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +76 -76
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +183 -183
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +285 -285
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +59 -59
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +78 -78
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +95 -95
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +95 -95
- package/dist/plugin/provider/cloudflare-workers-ai.js +95 -95
- package/dist/plugin/provider/configured.js +93 -93
- package/dist/plugin/provider/digitalocean.js +62 -62
- package/dist/plugin/provider/github-copilot.js +64 -64
- 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 +60 -60
- package/dist/plugin/provider/lmstudio.js +96 -96
- package/dist/plugin/provider/modal.js +63 -63
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +96 -96
- package/dist/plugin/provider/openai.js +63 -63
- package/dist/plugin/provider/opencode.js +62 -62
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/poe.js +59 -59
- package/dist/plugin/provider/sap-ai-core.js +2 -2
- package/dist/plugin/provider/snowflake-cortex.js +95 -95
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +96 -96
- package/dist/plugin/provider/xai.js +61 -61
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +129 -129
- package/dist/plugin/sdk.js +58 -58
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +112 -112
- package/dist/plugin/supervisor.js +302 -302
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +65 -65
- package/dist/plugin/vcs/hg.js +65 -65
- package/dist/plugin/warming.js +91 -91
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +194 -194
- package/dist/project/schema.js +7 -7
- package/dist/project/sql.js +2 -2
- package/dist/project.js +69 -69
- package/dist/provider.js +5 -5
- package/dist/pty/schema.js +3 -3
- package/dist/pty.js +74 -74
- package/dist/reference/instructions.js +66 -66
- package/dist/reference.js +68 -68
- package/dist/repository-cache.js +61 -61
- package/dist/ripgrep.js +70 -70
- package/dist/rpc.js +65 -65
- package/dist/session/command.js +58 -58
- package/dist/session/compaction.js +105 -105
- package/dist/session/context.js +120 -120
- package/dist/session/diff.js +66 -66
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +121 -121
- package/dist/session/execution.js +103 -103
- package/dist/session/generate.js +121 -121
- package/dist/session/history.js +11 -11
- package/dist/session/inbox.js +68 -68
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +62 -62
- package/dist/session/instruction-state.js +5 -5
- package/dist/session/instructions.js +74 -74
- package/dist/session/model-request.js +92 -92
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +106 -106
- package/dist/session/projector.js +65 -65
- package/dist/session/prompt.js +81 -81
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +67 -67
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +193 -193
- package/dist/session/runner/model.js +70 -70
- package/dist/session/runner/retry.js +91 -91
- package/dist/session/runner/step.js +98 -98
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +142 -142
- package/dist/session/shell.js +105 -105
- package/dist/session/skill.js +79 -79
- package/dist/session/sql.js +3 -3
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +68 -68
- package/dist/session/subagent-job.js +176 -176
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +123 -123
- package/dist/session/to-session-error.js +88 -88
- package/dist/session/transfer.js +118 -118
- package/dist/session.js +178 -178
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +106 -106
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +79 -79
- package/dist/skill.js +88 -88
- package/dist/snapshot.js +68 -68
- package/dist/tool/mcp.js +92 -92
- package/dist/tool/plugin/edit.js +91 -91
- package/dist/tool/plugin/glob.js +91 -91
- package/dist/tool/plugin/grep.js +95 -95
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +93 -93
- package/dist/tool/plugin/question.js +79 -79
- package/dist/tool/plugin/read.js +96 -96
- package/dist/tool/plugin/shell.js +184 -184
- package/dist/tool/plugin/skill.js +89 -89
- package/dist/tool/plugin/subagent.js +179 -179
- package/dist/tool/plugin/webfetch.js +84 -84
- package/dist/tool/plugin/websearch.js +90 -90
- package/dist/tool/plugin/write.js +91 -91
- package/dist/tool/read-filesystem.js +71 -71
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +3 -3
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +3 -3
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/skills.js +3 -3
- package/dist/vcs.js +68 -68
- package/dist/websearch.js +66 -66
- package/dist/wellknown/plugin.js +58 -58
- package/dist/wellknown.js +61 -61
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +64 -64
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +301 -301
- package/dist/worktree/sql.js +3 -3
- package/dist/worktree.js +73 -73
- package/package.json +8 -8
- package/dist/chunks/filesystem-0mesazry.js +0 -4
- package/dist/chunks/filesystem-cfbhz4sy.js +0 -26
- package/dist/chunks/filesystem-kshn8saw.js +0 -247
- /package/dist/chunks/{filesystem-kay20y4r.js → filesystem-4v46yx8e.js} +0 -0
- /package/dist/chunks/{filesystem-0dfv01xh.js → filesystem-5nrew705.js} +0 -0
- /package/dist/chunks/{filesystem-8p4f9s12.js → filesystem-dj2t23y0.js} +0 -0
- /package/dist/chunks/{filesystem-rwdrjh9g.js → filesystem-nyr44rzh.js} +0 -0
- /package/dist/chunks/{filesystem-mrrn9raq.js → filesystem-yzpfgjrz.js} +0 -0
|
@@ -1,125 +1,125 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./filesystem-
|
|
3
|
+
node42
|
|
4
|
+
} from "./filesystem-2b6sywcb.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./filesystem-
|
|
8
|
+
} from "./filesystem-vz4k8wbp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./filesystem-
|
|
10
|
+
ID10,
|
|
11
|
+
Service57,
|
|
12
|
+
node61
|
|
13
|
+
} from "./filesystem-6gwpwpyd.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./filesystem-
|
|
15
|
+
ID15
|
|
16
|
+
} from "./filesystem-xg954myy.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./filesystem-
|
|
18
|
+
Service73,
|
|
19
|
+
node78
|
|
20
|
+
} from "./filesystem-mmgf1rqt.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./filesystem-
|
|
22
|
+
ID13
|
|
23
|
+
} from "./filesystem-7pqa36gv.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID7,
|
|
26
26
|
OAuth3
|
|
27
|
-
} from "./filesystem-
|
|
27
|
+
} from "./filesystem-cpcnfgyy.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
ID6,
|
|
30
30
|
MethodID2,
|
|
31
31
|
AttemptID2,
|
|
32
32
|
Method2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./filesystem-
|
|
33
|
+
Service51,
|
|
34
|
+
node55
|
|
35
|
+
} from "./filesystem-b1tz6w3s.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./filesystem-
|
|
37
|
+
Service50,
|
|
38
|
+
node54
|
|
39
|
+
} from "./filesystem-zshj55xc.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./filesystem-
|
|
41
|
+
Service64,
|
|
42
|
+
node68
|
|
43
|
+
} from "./filesystem-px514bpm.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./filesystem-
|
|
45
|
+
Service61,
|
|
46
|
+
node65
|
|
47
|
+
} from "./filesystem-rr25vpab.js";
|
|
48
48
|
import {
|
|
49
49
|
AbsolutePath2
|
|
50
50
|
} from "./filesystem-922hggd3.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
} from "./filesystem-
|
|
52
|
+
Info31,
|
|
53
|
+
Ref4,
|
|
54
|
+
Service76,
|
|
55
|
+
node81
|
|
56
|
+
} from "./filesystem-ethbh4z7.js";
|
|
57
57
|
import {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./filesystem-
|
|
58
|
+
Service53,
|
|
59
|
+
node57
|
|
60
|
+
} from "./filesystem-5ctrep3m.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./filesystem-
|
|
62
|
+
ID14
|
|
63
|
+
} from "./filesystem-2ah6ycde.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./filesystem-
|
|
65
|
+
Service28,
|
|
66
|
+
node32
|
|
67
|
+
} from "./filesystem-a2hw0sqp.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./filesystem-
|
|
69
|
+
Service58,
|
|
70
|
+
node62
|
|
71
|
+
} from "./filesystem-1xzg4q7f.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./filesystem-
|
|
73
|
+
Service54,
|
|
74
|
+
node58
|
|
75
|
+
} from "./filesystem-rk9hj1v7.js";
|
|
76
76
|
import {
|
|
77
77
|
Service36,
|
|
78
78
|
node40
|
|
79
|
-
} from "./filesystem-
|
|
79
|
+
} from "./filesystem-mrjzwcm0.js";
|
|
80
|
+
import {
|
|
81
|
+
Source3,
|
|
82
|
+
Service34,
|
|
83
|
+
node38
|
|
84
|
+
} from "./filesystem-v7t6t3ee.js";
|
|
80
85
|
import {
|
|
81
|
-
|
|
86
|
+
Info17,
|
|
82
87
|
Service35,
|
|
83
88
|
node39
|
|
84
|
-
} from "./filesystem-
|
|
85
|
-
import {
|
|
86
|
-
Info5,
|
|
87
|
-
Service30,
|
|
88
|
-
node34
|
|
89
|
-
} from "./filesystem-9fvhjrgf.js";
|
|
89
|
+
} from "./filesystem-arpbwta6.js";
|
|
90
90
|
import {
|
|
91
91
|
Service17,
|
|
92
92
|
node21
|
|
93
|
-
} from "./filesystem-
|
|
93
|
+
} from "./filesystem-nbvvbhgb.js";
|
|
94
94
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./filesystem-
|
|
95
|
+
Service65,
|
|
96
|
+
node69
|
|
97
|
+
} from "./filesystem-rfp29srv.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./filesystem-
|
|
99
|
+
Service41,
|
|
100
|
+
node46
|
|
101
|
+
} from "./filesystem-pge2bfmc.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./filesystem-
|
|
103
|
+
Service38,
|
|
104
|
+
node43
|
|
105
|
+
} from "./filesystem-xez80017.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./filesystem-
|
|
107
|
+
ID3,
|
|
108
|
+
Service15,
|
|
109
|
+
node19
|
|
110
|
+
} from "./filesystem-6gypj2re.js";
|
|
111
111
|
import {
|
|
112
112
|
StrategyID2,
|
|
113
|
-
|
|
113
|
+
Info3,
|
|
114
114
|
ListEntry3,
|
|
115
115
|
UnsupportedLocationError2,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
} from "./filesystem-
|
|
116
|
+
Service14,
|
|
117
|
+
node18
|
|
118
|
+
} from "./filesystem-rgyfsfc5.js";
|
|
119
119
|
import {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./filesystem-
|
|
120
|
+
Service13,
|
|
121
|
+
node17
|
|
122
|
+
} from "./filesystem-0b51tgne.js";
|
|
123
123
|
import {
|
|
124
124
|
__export
|
|
125
125
|
} from "./filesystem-9rqn6x4v.js";
|
|
@@ -140,36 +140,36 @@ var mutable = (value) => value;
|
|
|
140
140
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
141
141
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
142
142
|
const app = yield* Metadata2;
|
|
143
|
-
const agents = yield*
|
|
144
|
-
const aisdk = yield*
|
|
145
|
-
const catalog = yield*
|
|
146
|
-
const commands = yield*
|
|
143
|
+
const agents = yield* Service57;
|
|
144
|
+
const aisdk = yield* Service73;
|
|
145
|
+
const catalog = yield* Service50;
|
|
146
|
+
const commands = yield* Service64;
|
|
147
147
|
const bus = yield* Service79;
|
|
148
|
-
const integration = yield*
|
|
149
|
-
const kv = yield*
|
|
150
|
-
const mcp = yield*
|
|
151
|
-
const location = yield*
|
|
152
|
-
const reference = yield*
|
|
153
|
-
const rpc = yield*
|
|
154
|
-
const skill = yield*
|
|
148
|
+
const integration = yield* Service51;
|
|
149
|
+
const kv = yield* Service61;
|
|
150
|
+
const mcp = yield* Service28;
|
|
151
|
+
const location = yield* Service76;
|
|
152
|
+
const reference = yield* Service34;
|
|
153
|
+
const rpc = yield* Service41;
|
|
154
|
+
const skill = yield* Service35;
|
|
155
155
|
const tools = yield* Service36;
|
|
156
|
-
const vcs = yield*
|
|
157
|
-
const websearch = yield*
|
|
158
|
-
const generate = yield*
|
|
159
|
-
const permission = yield*
|
|
160
|
-
const hooks = yield*
|
|
156
|
+
const vcs = yield* Service38;
|
|
157
|
+
const websearch = yield* Service15;
|
|
158
|
+
const generate = yield* Service13;
|
|
159
|
+
const permission = yield* Service54;
|
|
160
|
+
const hooks = yield* Service58;
|
|
161
161
|
const sessions = yield* Service17;
|
|
162
|
-
const persistentPty = yield*
|
|
163
|
-
const locations = yield*
|
|
164
|
-
const worktrees = yield*
|
|
165
|
-
const locationInfo = () => new
|
|
162
|
+
const persistentPty = yield* Service65;
|
|
163
|
+
const locations = yield* Service53;
|
|
164
|
+
const worktrees = yield* Service14;
|
|
165
|
+
const locationInfo = () => new Info31({
|
|
166
166
|
directory: location.directory,
|
|
167
167
|
workspaceID: location.workspaceID,
|
|
168
168
|
project: location.project
|
|
169
169
|
});
|
|
170
|
-
const locationRef = (input) => input?.location === undefined ? undefined :
|
|
170
|
+
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
171
171
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
172
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
172
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID14.make(input.location.workspace)
|
|
173
173
|
});
|
|
174
174
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
175
175
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
@@ -181,18 +181,18 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
181
181
|
return Effect.gen(function* () {
|
|
182
182
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
183
183
|
const plugins = yield* Plugin.Service;
|
|
184
|
-
const target = yield*
|
|
184
|
+
const target = yield* Service14;
|
|
185
185
|
yield* plugins.awaitActivation;
|
|
186
186
|
return yield* run(target);
|
|
187
187
|
}).pipe(Effect.provide(locations.get(ref)));
|
|
188
188
|
};
|
|
189
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
189
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info3);
|
|
190
190
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
191
191
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
192
|
-
const location = yield*
|
|
193
|
-
const agents = yield*
|
|
192
|
+
const location = yield* Service76;
|
|
193
|
+
const agents = yield* Service57;
|
|
194
194
|
return {
|
|
195
|
-
location: new
|
|
195
|
+
location: new Info31({
|
|
196
196
|
directory: location.directory,
|
|
197
197
|
workspaceID: location.workspaceID,
|
|
198
198
|
project: location.project
|
|
@@ -224,10 +224,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
224
224
|
transform: (callback) => agents.transform((editor) => {
|
|
225
225
|
callback({
|
|
226
226
|
list: () => mutable(editor.list()),
|
|
227
|
-
get: (id) => mutable(editor.get(
|
|
228
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
229
|
-
update: (id, update) => editor.update(
|
|
230
|
-
remove: (id) => editor.remove(
|
|
227
|
+
get: (id) => mutable(editor.get(ID10.make(id))),
|
|
228
|
+
default: (id) => editor.default(id === undefined ? undefined : ID10.make(id)),
|
|
229
|
+
update: (id, update) => editor.update(ID10.make(id), update),
|
|
230
|
+
remove: (id) => editor.remove(ID10.make(id))
|
|
231
231
|
});
|
|
232
232
|
})
|
|
233
233
|
},
|
|
@@ -262,7 +262,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
262
262
|
catalog: {
|
|
263
263
|
provider: {
|
|
264
264
|
list: () => response(catalog.provider.available()),
|
|
265
|
-
get: (input) => catalog.provider.get(
|
|
265
|
+
get: (input) => catalog.provider.get(ID15.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider))))
|
|
266
266
|
},
|
|
267
267
|
model: {
|
|
268
268
|
list: () => response(catalog.model.available()),
|
|
@@ -273,17 +273,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
273
273
|
callback({
|
|
274
274
|
provider: {
|
|
275
275
|
list: () => mutable(editor.provider.list()),
|
|
276
|
-
get: (id) => mutable(editor.provider.get(
|
|
277
|
-
update: (id, update) => editor.provider.update(
|
|
278
|
-
remove: (id) => editor.provider.remove(
|
|
276
|
+
get: (id) => mutable(editor.provider.get(ID15.make(id))),
|
|
277
|
+
update: (id, update) => editor.provider.update(ID15.make(id), update),
|
|
278
|
+
remove: (id) => editor.provider.remove(ID15.make(id))
|
|
279
279
|
},
|
|
280
280
|
model: {
|
|
281
|
-
get: (providerID, modelID) => mutable(editor.model.get(
|
|
282
|
-
update: (providerID, modelID, update) => editor.model.update(
|
|
283
|
-
remove: (providerID, modelID) => editor.model.remove(
|
|
281
|
+
get: (providerID, modelID) => mutable(editor.model.get(ID15.make(providerID), ID13.make(modelID))),
|
|
282
|
+
update: (providerID, modelID, update) => editor.model.update(ID15.make(providerID), ID13.make(modelID), update),
|
|
283
|
+
remove: (providerID, modelID) => editor.model.remove(ID15.make(providerID), ID13.make(modelID)),
|
|
284
284
|
default: {
|
|
285
285
|
get: editor.model.default.get,
|
|
286
|
-
set: (providerID, modelID) => editor.model.default.set(
|
|
286
|
+
set: (providerID, modelID) => editor.model.default.set(ID15.make(providerID), ID13.make(modelID))
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
});
|
|
@@ -308,14 +308,14 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
308
308
|
integration: {
|
|
309
309
|
list: () => response(integration.list()),
|
|
310
310
|
get: Effect.fn(function* (input) {
|
|
311
|
-
const item = yield* integration.get(
|
|
311
|
+
const item = yield* integration.get(ID6.make(input.integrationID));
|
|
312
312
|
if (!item)
|
|
313
313
|
return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
|
|
314
314
|
return yield* response(Effect.succeed(item));
|
|
315
315
|
}),
|
|
316
316
|
connect: {
|
|
317
317
|
key: (input) => integration.connection.key({
|
|
318
|
-
integrationID:
|
|
318
|
+
integrationID: ID6.make(input.integrationID),
|
|
319
319
|
key: input.key,
|
|
320
320
|
answer: input.answer,
|
|
321
321
|
label: input.label
|
|
@@ -323,55 +323,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
323
323
|
},
|
|
324
324
|
oauth: {
|
|
325
325
|
connect: (input) => response(integration.oauth.connect({
|
|
326
|
-
integrationID:
|
|
326
|
+
integrationID: ID6.make(input.integrationID),
|
|
327
327
|
methodID: MethodID2.make(input.methodID),
|
|
328
328
|
answer: input.answer,
|
|
329
329
|
label: input.label
|
|
330
330
|
})),
|
|
331
331
|
status: (input) => response(integration.oauth.status({
|
|
332
|
-
integrationID:
|
|
332
|
+
integrationID: ID6.make(input.integrationID),
|
|
333
333
|
attemptID: AttemptID2.make(input.attemptID)
|
|
334
334
|
})),
|
|
335
335
|
complete: (input) => integration.oauth.complete({
|
|
336
|
-
integrationID:
|
|
336
|
+
integrationID: ID6.make(input.integrationID),
|
|
337
337
|
attemptID: AttemptID2.make(input.attemptID),
|
|
338
338
|
code: input.code
|
|
339
339
|
}),
|
|
340
340
|
cancel: (input) => integration.oauth.cancel({
|
|
341
|
-
integrationID:
|
|
341
|
+
integrationID: ID6.make(input.integrationID),
|
|
342
342
|
attemptID: AttemptID2.make(input.attemptID)
|
|
343
343
|
})
|
|
344
344
|
},
|
|
345
345
|
command: {
|
|
346
346
|
connect: (input) => response(integration.command.connect({
|
|
347
|
-
integrationID:
|
|
347
|
+
integrationID: ID6.make(input.integrationID),
|
|
348
348
|
methodID: MethodID2.make(input.methodID),
|
|
349
349
|
label: input.label
|
|
350
350
|
})),
|
|
351
351
|
status: (input) => response(integration.command.status({
|
|
352
|
-
integrationID:
|
|
352
|
+
integrationID: ID6.make(input.integrationID),
|
|
353
353
|
attemptID: AttemptID2.make(input.attemptID)
|
|
354
354
|
})),
|
|
355
355
|
cancel: (input) => integration.command.cancel({
|
|
356
|
-
integrationID:
|
|
356
|
+
integrationID: ID6.make(input.integrationID),
|
|
357
357
|
attemptID: AttemptID2.make(input.attemptID)
|
|
358
358
|
})
|
|
359
359
|
},
|
|
360
360
|
reload: integration.reload,
|
|
361
361
|
connection: {
|
|
362
|
-
active: (id) => integration.connection.active(
|
|
363
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
362
|
+
active: (id) => integration.connection.active(ID6.make(id)),
|
|
363
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID7.make(connection.id) } : connection)
|
|
364
364
|
},
|
|
365
365
|
transform: (callback) => integration.transform((editor) => {
|
|
366
366
|
callback({
|
|
367
367
|
list: () => mutable(editor.list()),
|
|
368
|
-
get: (id) => mutable(editor.get(
|
|
369
|
-
update: (id, update) => editor.update(
|
|
370
|
-
remove: (id) => editor.remove(
|
|
368
|
+
get: (id) => mutable(editor.get(ID6.make(id))),
|
|
369
|
+
update: (id, update) => editor.update(ID6.make(id), update),
|
|
370
|
+
remove: (id) => editor.remove(ID6.make(id)),
|
|
371
371
|
method: {
|
|
372
|
-
list: (id) => editor.method.list(
|
|
372
|
+
list: (id) => editor.method.list(ID6.make(id)),
|
|
373
373
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
374
|
-
remove: (id, method) => editor.method.remove(
|
|
374
|
+
remove: (id, method) => editor.method.remove(ID6.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
375
375
|
}
|
|
376
376
|
});
|
|
377
377
|
})
|
|
@@ -381,10 +381,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
381
381
|
const ref = locationRef(input);
|
|
382
382
|
if (ref && !isCurrentLocation(ref))
|
|
383
383
|
return Effect.gen(function* () {
|
|
384
|
-
const location = yield*
|
|
385
|
-
const mcp = yield*
|
|
384
|
+
const location = yield* Service76;
|
|
385
|
+
const mcp = yield* Service28;
|
|
386
386
|
return {
|
|
387
|
-
location: new
|
|
387
|
+
location: new Info31({
|
|
388
388
|
directory: location.directory,
|
|
389
389
|
workspaceID: location.workspaceID,
|
|
390
390
|
project: location.project
|
|
@@ -420,7 +420,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
420
420
|
reload: reference.reload,
|
|
421
421
|
transform: (callback) => reference.transform((editor) => {
|
|
422
422
|
callback({
|
|
423
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
423
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
|
|
424
424
|
remove: editor.remove,
|
|
425
425
|
list: editor.list,
|
|
426
426
|
get: editor.get
|
|
@@ -434,7 +434,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
434
434
|
callback({
|
|
435
435
|
list: () => mutable(editor.list()),
|
|
436
436
|
get: editor.get,
|
|
437
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
437
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info17)(value)),
|
|
438
438
|
update: editor.update,
|
|
439
439
|
remove: editor.remove
|
|
440
440
|
});
|
|
@@ -462,19 +462,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
462
462
|
providers: () => response(websearch.providers()),
|
|
463
463
|
query: (input) => response(websearch.query({
|
|
464
464
|
query: input.query,
|
|
465
|
-
providerID: input.providerID === undefined ? undefined :
|
|
465
|
+
providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
|
|
466
466
|
})),
|
|
467
467
|
reload: websearch.reload,
|
|
468
468
|
transform: (callback) => websearch.transform((editor) => {
|
|
469
469
|
callback({
|
|
470
470
|
add: (definition) => editor.add({
|
|
471
|
-
id:
|
|
471
|
+
id: ID3.make(definition.id),
|
|
472
472
|
name: definition.name,
|
|
473
473
|
execute: definition.execute
|
|
474
474
|
}),
|
|
475
475
|
default: {
|
|
476
476
|
get: editor.default.get,
|
|
477
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
477
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
|
|
478
478
|
}
|
|
479
479
|
});
|
|
480
480
|
})
|
|
@@ -503,7 +503,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
503
503
|
model: input?.model,
|
|
504
504
|
metadata: input?.metadata,
|
|
505
505
|
permissions: input?.permissions,
|
|
506
|
-
location: input?.location ??
|
|
506
|
+
location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
507
507
|
}),
|
|
508
508
|
get: (input) => sessions.get(input.sessionID),
|
|
509
509
|
switchAgent: sessions.switchAgent,
|
|
@@ -522,29 +522,29 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
522
522
|
return context;
|
|
523
523
|
});
|
|
524
524
|
var requirements3 = LayerNode.group([
|
|
525
|
+
node42,
|
|
525
526
|
node61,
|
|
526
|
-
node50,
|
|
527
|
-
node80,
|
|
528
|
-
node77,
|
|
529
|
-
node66,
|
|
530
|
-
node84,
|
|
531
527
|
node78,
|
|
532
|
-
node83,
|
|
533
|
-
node30,
|
|
534
|
-
node73,
|
|
535
|
-
node39,
|
|
536
|
-
node67,
|
|
537
|
-
node34,
|
|
538
|
-
node40,
|
|
539
528
|
node54,
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
529
|
+
node68,
|
|
530
|
+
node84,
|
|
531
|
+
node55,
|
|
532
|
+
node65,
|
|
533
|
+
node32,
|
|
534
|
+
node81,
|
|
535
|
+
node38,
|
|
543
536
|
node46,
|
|
544
|
-
|
|
537
|
+
node39,
|
|
538
|
+
node40,
|
|
539
|
+
node43,
|
|
540
|
+
node19,
|
|
541
|
+
node18,
|
|
542
|
+
node17,
|
|
543
|
+
node58,
|
|
544
|
+
node62,
|
|
545
545
|
node21,
|
|
546
|
-
|
|
547
|
-
|
|
546
|
+
node69,
|
|
547
|
+
node57
|
|
548
548
|
]);
|
|
549
549
|
function storage2(kv, pluginID) {
|
|
550
550
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -571,7 +571,7 @@ function methodImplementation(input) {
|
|
|
571
571
|
if ("authorize" in input) {
|
|
572
572
|
const refresh = input.refresh;
|
|
573
573
|
return {
|
|
574
|
-
integrationID:
|
|
574
|
+
integrationID: ID6.make(input.integrationID),
|
|
575
575
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
576
576
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
577
577
|
if (authorization.mode === "auto") {
|
|
@@ -591,18 +591,18 @@ function methodImplementation(input) {
|
|
|
591
591
|
}
|
|
592
592
|
if (input.method.type === "env") {
|
|
593
593
|
return {
|
|
594
|
-
integrationID:
|
|
594
|
+
integrationID: ID6.make(input.integrationID),
|
|
595
595
|
method: input.method
|
|
596
596
|
};
|
|
597
597
|
}
|
|
598
598
|
if (input.method.type === "command") {
|
|
599
599
|
return {
|
|
600
|
-
integrationID:
|
|
600
|
+
integrationID: ID6.make(input.integrationID),
|
|
601
601
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
602
602
|
};
|
|
603
603
|
}
|
|
604
604
|
return {
|
|
605
|
-
integrationID:
|
|
605
|
+
integrationID: ID6.make(input.integrationID),
|
|
606
606
|
method: input.method
|
|
607
607
|
};
|
|
608
608
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./filesystem-
|
|
4
|
+
} from "./filesystem-vz4k8wbp.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./filesystem-
|
|
7
|
+
} from "./filesystem-ecfkvkmx.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
10
|
} from "./filesystem-sk3qaz4a.js";
|
|
@@ -16,14 +16,14 @@ import {
|
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError9,
|
|
20
|
+
Options: () => Options7,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service65,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
24
|
configured: () => configured7,
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
layer: () => layer23,
|
|
26
|
+
node: () => node69
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options7 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError9 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service65 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service65, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service52, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError9({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service52, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service52, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service65.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service52, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
258
|
+
var layer23 = makeLayer();
|
|
259
259
|
var configured7 = (options) => makeGlobalNode({
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
260
|
+
service: Service65,
|
|
261
|
+
layer: options === undefined ? layer23 : makeLayer(options),
|
|
262
262
|
deps: [node84, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node69 = configured7();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options7, UnavailableError3, NotFoundError9, Service65, layer23, configured7, node69, exports_persistent_pty, Handoff2 };
|