@opencode/core 0.0.0-dev-19708 → 0.0.0-dev-19709
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 +66 -66
- package/dist/aisdk-native.js +65 -65
- package/dist/aisdk.js +70 -70
- package/dist/app.js +7 -7
- package/dist/bus.js +54 -54
- package/dist/chunks/{pty-qq11w61w.js → pty-00z3vp5f.js} +3 -3
- package/dist/chunks/{pty-6p3xbzsx.js → pty-06dxphr1.js} +3 -3
- package/dist/chunks/{pty-jdbtptns.js → pty-0d61r9h4.js} +11 -11
- package/dist/chunks/{pty-809q4hne.js → pty-0f9afca0.js} +3 -3
- package/dist/chunks/{pty-3w8b8hp3.js → pty-0gq5ttfh.js} +9 -9
- package/dist/chunks/{pty-7dqw4kz8.js → pty-0jwsre1p.js} +4 -4
- package/dist/chunks/{pty-gq6z7eg4.js → pty-0kk2g04a.js} +18 -18
- package/dist/chunks/{pty-5fwvr3fa.js → pty-0kv2ctep.js} +26 -26
- package/dist/chunks/pty-0qs04gjp.js +252 -0
- package/dist/chunks/{pty-2q6kkxxq.js → pty-0rd9v16n.js} +3 -3
- package/dist/chunks/{pty-vkwcxm6e.js → pty-0rgpk1ds.js} +1 -1
- package/dist/chunks/{pty-zz4khrmb.js → pty-10f3mqse.js} +26 -26
- package/dist/chunks/{pty-0jq9fyba.js → pty-11dqjexa.js} +8 -8
- package/dist/chunks/{pty-q9k3nk2m.js → pty-12b8t429.js} +14 -14
- package/dist/chunks/{pty-cq9vh2fv.js → pty-15nepkqg.js} +7 -7
- package/dist/chunks/{pty-d7tjjqf6.js → pty-1ajp4aa7.js} +5 -5
- package/dist/chunks/{pty-t4h1a8sm.js → pty-1as7yqy8.js} +8 -8
- package/dist/chunks/{pty-e41je68c.js → pty-1f62kj91.js} +2 -2
- package/dist/chunks/{pty-00f2f7q8.js → pty-1rgevqwt.js} +22 -22
- package/dist/chunks/{pty-hkjtz3an.js → pty-1vjy2hpw.js} +32 -32
- package/dist/chunks/{pty-bxgqktpk.js → pty-2acp3zpj.js} +16 -16
- package/dist/chunks/{pty-n7b52vzq.js → pty-2c4g75ke.js} +15 -15
- package/dist/chunks/{pty-8msxkbjy.js → pty-2gw9te71.js} +3 -3
- package/dist/chunks/{pty-tk66bvfd.js → pty-2k6s2zm4.js} +14 -14
- package/dist/chunks/{pty-sasa2c77.js → pty-2kbj14yf.js} +31 -31
- package/dist/chunks/{pty-r2m716tb.js → pty-2sejkfem.js} +7 -7
- package/dist/chunks/{pty-sk1rxzc5.js → pty-39dab3jh.js} +11 -11
- package/dist/chunks/{pty-cy7q8w9z.js → pty-3ad3156b.js} +8 -8
- package/dist/chunks/{pty-qz49fwgp.js → pty-3b1q5j1v.js} +5 -5
- package/dist/chunks/{pty-8ev4rrc0.js → pty-3ddaden9.js} +2 -2
- package/dist/chunks/{pty-tvkyymax.js → pty-3fax0mp7.js} +6 -6
- package/dist/chunks/{pty-jvt9z3v3.js → pty-3g5zqvsj.js} +29 -29
- package/dist/chunks/{pty-ykjzx05e.js → pty-3j6kc4fe.js} +17 -17
- package/dist/chunks/{pty-4ztghn5t.js → pty-3z40mttx.js} +15 -15
- package/dist/chunks/{pty-fkjmw100.js → pty-44ke2mar.js} +5 -5
- package/dist/chunks/{pty-dhwr7h25.js → pty-4b8tw1g7.js} +9 -9
- package/dist/chunks/{pty-r3grxea3.js → pty-4kgnd0zh.js} +3 -3
- package/dist/chunks/{pty-w7drg28q.js → pty-4v4zcyn8.js} +9 -9
- package/dist/chunks/{pty-k1gkpfdk.js → pty-4w5f3qm5.js} +7 -7
- package/dist/chunks/{pty-2akesbjx.js → pty-5019jpyd.js} +14 -14
- package/dist/chunks/{pty-be3g221r.js → pty-50jcqkpg.js} +13 -13
- package/dist/chunks/{pty-4b3p33ns.js → pty-51rpk3dg.js} +41 -41
- package/dist/chunks/{pty-v58jy1xd.js → pty-51sk06m6.js} +4 -4
- package/dist/chunks/{pty-hyag3rfz.js → pty-54qvpy9t.js} +8 -8
- package/dist/chunks/{pty-nc9nj3v7.js → pty-56caj4g6.js} +17 -17
- package/dist/chunks/{pty-fsmc1k8s.js → pty-5ac4s34f.js} +75 -75
- package/dist/chunks/{pty-czhz2k7d.js → pty-5dkyq3w9.js} +8 -8
- package/dist/chunks/{pty-ypvakwm4.js → pty-5ge7b1s9.js} +12 -12
- package/dist/chunks/{pty-kbmk2nk1.js → pty-5hazr681.js} +1 -1
- package/dist/chunks/{pty-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{pty-kpccdapq.js → pty-5rbd4j62.js} +8 -8
- package/dist/chunks/{pty-t4gdty5t.js → pty-5sevqzg5.js} +14 -14
- package/dist/chunks/{pty-abyxqag4.js → pty-5w8sdvf2.js} +2 -2
- package/dist/chunks/{pty-3b9qt4hj.js → pty-63kpjth9.js} +7 -7
- package/dist/chunks/{pty-23amh1yx.js → pty-66rzgmh2.js} +4 -4
- package/dist/chunks/{pty-pt8pcyxe.js → pty-6bh8btd9.js} +27 -27
- package/dist/chunks/{pty-eaznszq2.js → pty-6e1261xp.js} +20 -20
- package/dist/chunks/{pty-jqe5ka82.js → pty-6ep9m4sq.js} +13 -13
- package/dist/chunks/{pty-6ejv29z8.js → pty-6j9cmr93.js} +23 -23
- package/dist/chunks/{pty-m2taxsaw.js → pty-6n9a7w7g.js} +8 -8
- package/dist/chunks/{pty-kss3k1ej.js → pty-6sz4ttcn.js} +13 -13
- package/dist/chunks/{pty-qqrhpyxk.js → pty-6y05ew1d.js} +19 -19
- package/dist/chunks/{pty-bm3m92rh.js → pty-74rrnwt7.js} +1 -1
- package/dist/chunks/{pty-vg55cczh.js → pty-75ckhbr3.js} +23 -23
- package/dist/chunks/{pty-dcsznwm0.js → pty-76mn2m8t.js} +6 -6
- package/dist/chunks/{pty-bmsmevym.js → pty-7ha090w8.js} +9 -9
- package/dist/chunks/{pty-7nrhymjj.js → pty-7t28gyx8.js} +20 -20
- package/dist/chunks/{pty-4q5rhk67.js → pty-7ywv553p.js} +14 -14
- package/dist/chunks/{pty-qw4hy4dt.js → pty-84s7s0kh.js} +22 -22
- package/dist/chunks/{pty-rrnpfv6a.js → pty-856c6xfq.js} +13 -13
- package/dist/chunks/{pty-tcezcvh9.js → pty-89znhe33.js} +3 -3
- package/dist/chunks/{pty-2rqgkrfm.js → pty-8fxgy4be.js} +27 -27
- package/dist/chunks/{pty-vk5wtspy.js → pty-8pmgwz46.js} +29 -29
- package/dist/chunks/{pty-nsm4zd3z.js → pty-8rt8k92t.js} +9 -9
- package/dist/chunks/{pty-3ythc6yv.js → pty-8s8mxddj.js} +3 -3
- package/dist/chunks/{pty-08fd96st.js → pty-92aty353.js} +4 -4
- package/dist/chunks/{pty-5yzzbxa7.js → pty-9hn6k4tm.js} +7 -7
- package/dist/chunks/{pty-mwfspft0.js → pty-9mjv2j5h.js} +5 -5
- package/dist/chunks/{pty-beyt1gb5.js → pty-9p1nr3wb.js} +6 -6
- package/dist/chunks/{pty-c9g527t4.js → pty-9zct7zr5.js} +19 -19
- package/dist/chunks/{pty-g2yz86wh.js → pty-a3r4dcrj.js} +1 -1
- package/dist/chunks/{pty-sgq4gssm.js → pty-abpc31sx.js} +25 -25
- package/dist/chunks/{pty-apzx9pwh.js → pty-afve55vv.js} +22 -22
- package/dist/chunks/{pty-hn8hcjvd.js → pty-apyk6ttn.js} +1 -1
- package/dist/chunks/{pty-7xnx6cga.js → pty-avh5jyvb.js} +27 -27
- package/dist/chunks/{pty-htekf6zf.js → pty-b594zzbj.js} +7 -7
- package/dist/chunks/{pty-tptwhs54.js → pty-b5ymaj20.js} +6 -6
- package/dist/chunks/{pty-g9q532r4.js → pty-b6j8bg70.js} +1 -1
- package/dist/chunks/{pty-mm717ve8.js → pty-bczxr085.js} +26 -26
- package/dist/chunks/{pty-gydxxgyg.js → pty-beda3f75.js} +12 -12
- package/dist/chunks/{pty-eq9606cq.js → pty-bnepd0n1.js} +21 -21
- package/dist/chunks/{pty-6pmcb683.js → pty-bxfxz0qc.js} +13 -13
- package/dist/chunks/{pty-j5786zrt.js → pty-bz85s9hh.js} +1 -1
- package/dist/chunks/{pty-v247sec1.js → pty-cmh35hj2.js} +8 -8
- package/dist/chunks/{pty-s1mn6qcj.js → pty-ctrx9nnj.js} +7 -7
- package/dist/chunks/{pty-137n2cjd.js → pty-dd95b6zp.js} +1 -1
- package/dist/chunks/{pty-y71avatq.js → pty-dpkg50ah.js} +3 -3
- package/dist/chunks/{pty-q3a5az1v.js → pty-dprzeqmr.js} +5 -5
- package/dist/chunks/{pty-74e549sx.js → pty-dqa43dhg.js} +12 -12
- package/dist/chunks/{pty-zav06jzw.js → pty-embw8kgh.js} +3 -3
- package/dist/chunks/{pty-59gkzar2.js → pty-etr222cf.js} +9 -9
- package/dist/chunks/{pty-hcs01tq7.js → pty-exfq5gv3.js} +5 -5
- package/dist/chunks/{pty-rf9y12ds.js → pty-f0v6spgv.js} +2 -2
- package/dist/chunks/{pty-cah9s9ss.js → pty-f1nmtkf4.js} +6 -6
- package/dist/chunks/{pty-sd8zp0nj.js → pty-f59eyknk.js} +1 -1
- package/dist/chunks/{pty-rjkasajw.js → pty-f6pbrr8w.js} +10 -10
- package/dist/chunks/{pty-q36t7h4b.js → pty-fanw3jjr.js} +1 -1
- package/dist/chunks/{pty-ry08j4r8.js → pty-fe1vvtkz.js} +9 -9
- package/dist/chunks/{pty-xseb90fg.js → pty-fkr83qb9.js} +8 -8
- package/dist/chunks/{pty-8npqseq9.js → pty-g7td5zdy.js} +6 -6
- package/dist/chunks/{pty-7qq3ahcc.js → pty-g8atgw3j.js} +3 -3
- package/dist/chunks/{pty-fm2qvscf.js → pty-g8d3gcyj.js} +6 -6
- package/dist/chunks/{pty-6tc74vrw.js → pty-gaf2f4t8.js} +9 -9
- package/dist/chunks/{pty-1e7y3jby.js → pty-gdfvffmy.js} +4 -4
- package/dist/chunks/{pty-x0vzmp4x.js → pty-gwydwvmj.js} +6 -6
- package/dist/chunks/{pty-m1brvmts.js → pty-h5prvwy2.js} +5 -5
- package/dist/chunks/{pty-kmrnkd77.js → pty-h64tyvph.js} +1 -1
- package/dist/chunks/{pty-m5mra8ny.js → pty-h66ycz74.js} +12 -12
- package/dist/chunks/{pty-2em355j9.js → pty-hht4hdr7.js} +35 -35
- package/dist/chunks/{pty-gjmk74th.js → pty-hq8zt1th.js} +5 -5
- package/dist/chunks/{pty-p91ndb2v.js → pty-j0d8kce8.js} +35 -35
- package/dist/chunks/{pty-2chp5681.js → pty-j5g2921s.js} +6 -6
- package/dist/chunks/{pty-8zqxjytc.js → pty-j7d1bz3z.js} +1 -1
- package/dist/chunks/{pty-xkhfjrgz.js → pty-jexxy024.js} +2 -2
- package/dist/chunks/{pty-bwbrqz0a.js → pty-jh55ed6j.js} +6 -6
- package/dist/chunks/{pty-1cr9kxrr.js → pty-jnwk8z6k.js} +3 -3
- package/dist/chunks/{pty-9mmr4cym.js → pty-jp67d8xq.js} +9 -9
- package/dist/chunks/{pty-r48hm6t1.js → pty-jpsrdk1d.js} +17 -17
- package/dist/chunks/{pty-t96c7fmv.js → pty-k5shenda.js} +18 -18
- package/dist/chunks/{pty-1c5ncfj1.js → pty-kbnfxfat.js} +18 -18
- package/dist/chunks/{pty-ch7ar4cr.js → pty-khny7pv9.js} +22 -22
- package/dist/chunks/{pty-04kxwwsn.js → pty-km08fevc.js} +7 -7
- package/dist/chunks/{pty-tgayy43x.js → pty-kmac05v5.js} +293 -293
- package/dist/chunks/{pty-t327jyvg.js → pty-m39c7hxd.js} +12 -12
- package/dist/chunks/{pty-vqwef2d8.js → pty-m5j3w5gw.js} +13 -13
- package/dist/chunks/{pty-bnt6z98e.js → pty-m77m9jq1.js} +20 -20
- package/dist/chunks/{pty-gzbkpp9m.js → pty-marnn1hp.js} +6 -6
- package/dist/chunks/{pty-3sqv75dt.js → pty-mgpyxjx6.js} +7 -7
- package/dist/chunks/{pty-1bbkgx8g.js → pty-mhkvc446.js} +2 -2
- package/dist/chunks/{pty-bky20j8j.js → pty-mjyryqn6.js} +8 -8
- package/dist/chunks/{pty-1g4qjxg5.js → pty-mrhxfjgm.js} +7 -7
- package/dist/chunks/{pty-rhafb4aa.js → pty-nq7qbqzc.js} +7 -7
- package/dist/chunks/{pty-vsp1fds9.js → pty-nrdmrqsx.js} +20 -20
- package/dist/chunks/{pty-gzfs38sx.js → pty-ntcc5ehh.js} +6 -6
- package/dist/chunks/{pty-zxacjnzd.js → pty-nvv66n76.js} +10 -10
- package/dist/chunks/{pty-p5hkqs15.js → pty-nwyqkjv9.js} +1 -1
- package/dist/chunks/{pty-02j327mk.js → pty-p2ezm693.js} +20 -20
- package/dist/chunks/{pty-byqk2fv6.js → pty-p2vgnhh6.js} +14 -14
- package/dist/chunks/{pty-nbqevg8t.js → pty-p3sqe4zf.js} +12 -12
- package/dist/chunks/{pty-p4nwj3gt.js → pty-p3wwg9fw.js} +11 -11
- package/dist/chunks/{pty-6avas0hs.js → pty-p5m64j98.js} +2 -2
- package/dist/chunks/{pty-rccz2tys.js → pty-pdg35gy8.js} +3 -3
- package/dist/chunks/{pty-d858xzj7.js → pty-ph842b28.js} +3 -3
- package/dist/chunks/{pty-qph7hyw7.js → pty-phrgc7s2.js} +2 -2
- package/dist/chunks/{pty-pf31ssb9.js → pty-phz3h32g.js} +4 -4
- package/dist/chunks/{pty-d58ea4wx.js → pty-pkgfky7d.js} +6 -6
- package/dist/chunks/pty-pysn9s93.js +26 -0
- package/dist/chunks/{pty-qtwarjwz.js → pty-q5rhn9x0.js} +6 -6
- package/dist/chunks/{pty-xftagwhq.js → pty-qc1pk71j.js} +22 -22
- package/dist/chunks/{pty-zwp73gaw.js → pty-qg5tx4hd.js} +14 -14
- package/dist/chunks/{pty-4hqncmrj.js → pty-qnk3khrz.js} +10 -10
- package/dist/chunks/{pty-8kgt14gf.js → pty-qsr74hn5.js} +22 -22
- package/dist/chunks/{pty-ynxbryrd.js → pty-qvrdgs7t.js} +14 -14
- package/dist/chunks/{pty-pyg9x9vb.js → pty-qyc8vy2s.js} +13 -13
- package/dist/chunks/{pty-7nzv51qx.js → pty-rh9ghw4z.js} +8 -8
- package/dist/chunks/{pty-waqpjwb8.js → pty-rqg791dd.js} +2 -2
- package/dist/chunks/{pty-0nw536sy.js → pty-rtvxz8am.js} +1 -1
- package/dist/chunks/{pty-cbaym82d.js → pty-s6n8ez8a.js} +24 -24
- package/dist/chunks/{pty-899tt7an.js → pty-shrcc9g3.js} +1 -1
- package/dist/chunks/{pty-wzdyyep8.js → pty-svvemcs6.js} +4 -4
- package/dist/chunks/{pty-rbs0ef4y.js → pty-t031qe01.js} +10 -10
- package/dist/chunks/{pty-z3pw5915.js → pty-t0fxg8b9.js} +3 -3
- package/dist/chunks/{pty-rsd57mk1.js → pty-t159kbzr.js} +1 -1
- package/dist/chunks/{pty-zw6ax8ke.js → pty-t8c9cnyg.js} +29 -29
- package/dist/chunks/{pty-sbbcq4qt.js → pty-th6p44mh.js} +10 -10
- package/dist/chunks/{pty-rkb5a4nr.js → pty-tja9b7zx.js} +31 -31
- package/dist/chunks/{pty-jnzdfagj.js → pty-tn5bgys5.js} +2 -2
- package/dist/chunks/{pty-9yyvrqyy.js → pty-v2sqwdfa.js} +19 -19
- package/dist/chunks/{pty-4hcrsjja.js → pty-v772zmrr.js} +43 -43
- package/dist/chunks/{pty-d6mg60jz.js → pty-vaa1zs5p.js} +29 -29
- package/dist/chunks/{pty-4kyk22vj.js → pty-vj5dzvyh.js} +39 -39
- package/dist/chunks/{pty-vydbjx2x.js → pty-vnrb3chg.js} +13 -13
- package/dist/chunks/{pty-pph8wkt5.js → pty-vx7vnxew.js} +115 -115
- package/dist/chunks/{pty-645gcfag.js → pty-w981yqz9.js} +81 -81
- package/dist/chunks/{pty-5tvckp52.js → pty-wcr3727a.js} +18 -18
- package/dist/chunks/{pty-xdw3myhw.js → pty-wfex9hf5.js} +13 -13
- package/dist/chunks/{pty-aqvz20a2.js → pty-wndtrgrh.js} +5 -5
- package/dist/chunks/{pty-nv4k505m.js → pty-wph04nnx.js} +38 -38
- package/dist/chunks/{pty-az62kead.js → pty-wv40thab.js} +8 -8
- package/dist/chunks/{pty-yqngptm3.js → pty-ww94c77x.js} +8 -8
- package/dist/chunks/{pty-6wkd5avw.js → pty-x1gfpc1p.js} +2 -2
- package/dist/chunks/{pty-wvh43mtc.js → pty-x7vb65wd.js} +13 -13
- package/dist/chunks/{pty-mg0hvqns.js → pty-xbckpkdq.js} +22 -22
- package/dist/chunks/{pty-7t8e8ps1.js → pty-xe6cmgbq.js} +9 -9
- package/dist/chunks/{pty-drwq78ky.js → pty-xfkkasph.js} +3 -3
- package/dist/chunks/{pty-s6qp1k48.js → pty-xfkknnqv.js} +1 -1
- package/dist/chunks/{pty-h3c20vca.js → pty-xp7gxvaq.js} +4 -4
- package/dist/chunks/{pty-1qkgdbp4.js → pty-xp8zvqfe.js} +30 -30
- package/dist/chunks/{pty-vhwvdgna.js → pty-xxpn3ren.js} +7 -7
- package/dist/chunks/{pty-z62c9ayt.js → pty-xzzedvdq.js} +8 -8
- package/dist/chunks/{pty-834a0b17.js → pty-ybhbtxjg.js} +5 -5
- package/dist/chunks/{pty-p1nm93x7.js → pty-yjptyezs.js} +3 -3
- package/dist/chunks/{pty-b6yzcphf.js → pty-yjq1h8wq.js} +6 -6
- package/dist/chunks/{pty-h9nzbdt3.js → pty-ykyjdacj.js} +4 -4
- package/dist/chunks/{pty-pxnzv34t.js → pty-ypnspery.js} +16 -16
- package/dist/chunks/{pty-s4enseaf.js → pty-yrznvahk.js} +1 -1
- package/dist/chunks/{pty-72qck3dr.js → pty-z440px53.js} +63 -63
- package/dist/chunks/{pty-29x78va6.js → pty-z63w68vq.js} +4 -4
- package/dist/chunks/{pty-f1cvcqqp.js → pty-za55qz67.js} +16 -16
- package/dist/chunks/{pty-4p0kgrzt.js → pty-zerzqssk.js} +1 -1
- package/dist/chunks/{pty-a7nqw1aa.js → pty-zh0ytwzz.js} +9 -9
- package/dist/chunks/{pty-tb60vd7q.js → pty-zhp5m1zz.js} +3 -3
- package/dist/chunks/{pty-0fdmw6y0.js → pty-zncxtbv1.js} +12 -12
- package/dist/chunks/{pty-tqg72d4k.js → pty-zth7qvys.js} +7 -7
- package/dist/chunks/{pty-kafkdnde.js → pty-zvcgv5cx.js} +24 -24
- package/dist/chunks/{pty-mx4hjh21.js → pty-zvp4p5jk.js} +25 -25
- package/dist/chunks/{pty-4a0vtr9b.js → pty-zwejzy2c.js} +7 -7
- package/dist/chunks/{pty-r6zmwxjt.js → pty-zwks5p0r.js} +42 -42
- package/dist/chunks/{pty-44jfm9c6.js → pty-zyyjv7w6.js} +6 -6
- package/dist/codemode/instructions.js +5 -5
- package/dist/command.js +68 -68
- package/dist/config/discovery.js +63 -63
- package/dist/config/normalize.js +80 -80
- package/dist/config/plugin/agent.js +94 -94
- package/dist/config/plugin/command.js +170 -170
- package/dist/config/plugin/compaction.js +126 -126
- package/dist/config/plugin/compatibility.js +111 -111
- package/dist/config/plugin/formatter.js +95 -95
- package/dist/config/plugin/image.js +94 -94
- package/dist/config/plugin/instruction.js +68 -68
- package/dist/config/plugin/location-watcher.js +96 -96
- package/dist/config/plugin/mcp.js +101 -101
- package/dist/config/plugin/policy.js +94 -94
- package/dist/config/plugin/provider.js +92 -92
- package/dist/config/plugin/reference.js +95 -95
- package/dist/config/plugin/shell.js +96 -96
- package/dist/config/plugin/skill-file.js +75 -75
- package/dist/config/plugin/skill.js +114 -114
- package/dist/config/plugin/snapshot.js +94 -94
- package/dist/config/plugin/source.js +97 -97
- package/dist/config/plugin/tool-output.js +96 -96
- package/dist/config/plugin/websearch.js +95 -95
- package/dist/config/plugin/worktree.js +95 -95
- package/dist/config/variable.js +2 -2
- package/dist/config.js +100 -100
- package/dist/credential.js +55 -55
- package/dist/database/database.js +52 -52
- 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 +37 -37
- package/dist/database/v1-migration.bun.js +9 -9
- package/dist/effect/app-node-builder.js +230 -230
- 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 +78 -78
- package/dist/file-mutation.js +69 -69
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +186 -186
- package/dist/filesystem/protected.js +3 -3
- 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 +80 -80
- package/dist/form.js +55 -55
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +68 -68
- package/dist/generate.js +77 -77
- package/dist/git.js +2 -2
- 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 +75 -75
- package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
- 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 +302 -302
- package/dist/instruction-discovery.js +69 -69
- package/dist/instructions/builtins.js +65 -65
- package/dist/integration.js +58 -58
- package/dist/job.js +60 -60
- package/dist/kv.js +57 -57
- package/dist/location-activity.js +49 -49
- package/dist/location-lifecycle.js +80 -80
- package/dist/location-mutation.js +28 -28
- package/dist/location-service-map.js +65 -65
- package/dist/location-services.js +299 -299
- package/dist/location.js +60 -60
- package/dist/mcp/client.js +17 -17
- package/dist/mcp/index.js +81 -81
- package/dist/mcp/instructions.js +93 -93
- package/dist/mcp/oauth.js +11 -11
- package/dist/mcp/stdio.js +65 -65
- package/dist/modal/models.js +75 -75
- package/dist/model-resolver.js +74 -74
- package/dist/model.js +70 -70
- package/dist/models-dev.js +82 -82
- package/dist/permission/saved.js +62 -62
- package/dist/permission.js +83 -83
- package/dist/persistent-pty/index.js +69 -69
- package/dist/persistent-pty.js +57 -57
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +72 -72
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +177 -177
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +275 -275
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +71 -71
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +76 -76
- package/dist/plugin/provider/amazon-bedrock.js +66 -66
- package/dist/plugin/provider/azure.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +92 -92
- package/dist/plugin/provider/cloudflare-workers-ai.js +92 -92
- package/dist/plugin/provider/configured.js +91 -91
- package/dist/plugin/provider/digitalocean.js +68 -68
- package/dist/plugin/provider/github-copilot.js +69 -69
- package/dist/plugin/provider/gitlab.js +67 -67
- package/dist/plugin/provider/google-vertex.js +66 -66
- package/dist/plugin/provider/llmgateway.js +59 -59
- package/dist/plugin/provider/lmstudio.js +94 -94
- package/dist/plugin/provider/modal.js +68 -68
- package/dist/plugin/provider/ollama.js +94 -94
- package/dist/plugin/provider/openai.js +69 -69
- package/dist/plugin/provider/opencode.js +68 -68
- package/dist/plugin/provider/openrouter.js +67 -67
- package/dist/plugin/provider/poe.js +59 -59
- package/dist/plugin/provider/prompt-cache-key.js +66 -66
- package/dist/plugin/provider/sap-ai-core.js +66 -66
- package/dist/plugin/provider/snowflake-cortex.js +93 -93
- package/dist/plugin/provider/vercel.js +66 -66
- package/dist/plugin/provider/vllm.js +94 -94
- package/dist/plugin/provider/xai.js +67 -67
- package/dist/plugin/provider.js +125 -125
- package/dist/plugin/sdk.js +55 -55
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +110 -110
- package/dist/plugin/supervisor.js +289 -289
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +65 -65
- package/dist/plugin/vcs/hg.js +65 -65
- package/dist/plugin/warming.js +93 -93
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +7 -7
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +184 -184
- package/dist/project.js +59 -59
- package/dist/provider.js +65 -65
- package/dist/pty.js +71 -71
- package/dist/reference/instructions.js +69 -69
- package/dist/reference.js +71 -71
- package/dist/repository-cache.js +58 -58
- package/dist/ripgrep.js +69 -69
- package/dist/rpc.js +65 -65
- package/dist/session/command.js +59 -59
- package/dist/session/compaction.js +100 -100
- package/dist/session/context.js +115 -115
- package/dist/session/diff.js +65 -65
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +114 -114
- package/dist/session/execution.js +95 -95
- package/dist/session/generate.js +116 -116
- package/dist/session/history.js +6 -6
- package/dist/session/inbox.js +65 -65
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +60 -60
- package/dist/session/instructions.js +71 -71
- package/dist/session/model-request.js +90 -90
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +97 -97
- package/dist/session/projector.js +61 -61
- package/dist/session/prompt.js +78 -78
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +66 -66
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +186 -186
- package/dist/session/runner/model.js +74 -74
- package/dist/session/runner/retry.js +85 -85
- package/dist/session/runner/step.js +91 -91
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +135 -135
- package/dist/session/shell.js +107 -107
- package/dist/session/skill.js +77 -77
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +65 -65
- package/dist/session/subagent-job.js +166 -166
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +118 -118
- package/dist/session/to-session-error.js +82 -82
- package/dist/session/transfer.js +106 -106
- package/dist/session.js +174 -174
- package/dist/shell/parse.js +4 -4
- package/dist/shell/select.js +12 -12
- package/dist/shell.js +110 -110
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +79 -79
- package/dist/skill.js +86 -86
- package/dist/snapshot.js +68 -68
- package/dist/tool/mcp.js +90 -90
- package/dist/tool/plugin/edit.js +85 -85
- package/dist/tool/plugin/glob.js +93 -93
- package/dist/tool/plugin/grep.js +89 -89
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +91 -91
- package/dist/tool/plugin/question.js +77 -77
- package/dist/tool/plugin/read.js +93 -93
- package/dist/tool/plugin/shell.js +176 -176
- package/dist/tool/plugin/skill.js +87 -87
- package/dist/tool/plugin/subagent.js +177 -177
- package/dist/tool/plugin/webfetch.js +83 -83
- package/dist/tool/plugin/websearch.js +88 -88
- 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 +9 -9
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +67 -67
- 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/variant.js +67 -67
- package/dist/vcs.js +68 -68
- package/dist/websearch.js +67 -67
- package/dist/wellknown/plugin.js +57 -57
- package/dist/wellknown.js +64 -64
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace.js +63 -63
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/strategies.js +67 -67
- package/dist/worktree.js +73 -73
- package/package.json +8 -8
- package/dist/chunks/pty-vs2zs2w9.js +0 -26
- package/dist/chunks/pty-ztp3jpvp.js +0 -252
- /package/dist/chunks/{pty-wr7ps67x.js → pty-207ajt2h.js} +0 -0
- /package/dist/chunks/{pty-qf8xbt1v.js → pty-935t04zr.js} +0 -0
- /package/dist/chunks/{pty-ssr8tzqd.js → pty-ar88qa8v.js} +0 -0
- /package/dist/chunks/{pty-v68hp2va.js → pty-b4h1fdev.js} +0 -0
|
@@ -11,19 +11,19 @@ import {
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options9,
|
|
15
|
+
Service: () => Service66,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured10,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node70,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options9 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service66 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve4(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve4.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service66.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured10(options) {
|
|
210
|
+
return makeLocationNode({ service: Service66, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node70 = configured10();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options9, Service66, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured10, node70, exports_select };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./pty-
|
|
4
|
+
} from "./pty-rqg791dd.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./pty-
|
|
8
|
+
} from "./pty-phrgc7s2.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
11
|
} from "./pty-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./pty-
|
|
14
|
+
} from "./pty-ybhbtxjg.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
17
|
} from "./pty-ec1grn59.js";
|
|
@@ -23,70 +23,70 @@ import {
|
|
|
23
23
|
} from "./pty-7ac170kv.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./pty-
|
|
26
|
+
} from "./pty-06dxphr1.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./pty-
|
|
30
|
+
} from "./pty-yjq1h8wq.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./pty-
|
|
32
|
+
Service69,
|
|
33
|
+
node73
|
|
34
|
+
} from "./pty-12b8t429.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./pty-
|
|
36
|
+
Service15,
|
|
37
|
+
node18
|
|
38
|
+
} from "./pty-6e1261xp.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
41
|
} from "./pty-5t3nmthw.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./pty-
|
|
43
|
+
Service32,
|
|
44
|
+
node35
|
|
45
|
+
} from "./pty-xe6cmgbq.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./pty-
|
|
48
|
+
} from "./pty-8pmgwz46.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./pty-
|
|
50
|
+
make8
|
|
51
|
+
} from "./pty-66rzgmh2.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./pty-
|
|
53
|
+
Service9,
|
|
54
|
+
node11
|
|
55
|
+
} from "./pty-m77m9jq1.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
} from "./pty-
|
|
57
|
+
Service24,
|
|
58
|
+
node27
|
|
59
|
+
} from "./pty-w981yqz9.js";
|
|
60
60
|
import {
|
|
61
61
|
serialized2,
|
|
62
62
|
nextPromotable2,
|
|
63
63
|
promote2
|
|
64
|
-
} from "./pty-
|
|
64
|
+
} from "./pty-qvrdgs7t.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
66
|
+
Service6,
|
|
67
67
|
isUntitled2,
|
|
68
|
-
|
|
69
|
-
} from "./pty-
|
|
68
|
+
node8
|
|
69
|
+
} from "./pty-84s7s0kh.js";
|
|
70
70
|
import {
|
|
71
71
|
DrainResult2,
|
|
72
|
-
|
|
73
|
-
} from "./pty-
|
|
72
|
+
Service47
|
|
73
|
+
} from "./pty-embw8kgh.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
} from "./pty-
|
|
75
|
+
node39
|
|
76
|
+
} from "./pty-p2vgnhh6.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./pty-
|
|
78
|
+
node43
|
|
79
|
+
} from "./pty-xzzedvdq.js";
|
|
80
80
|
import {
|
|
81
81
|
Outcome2,
|
|
82
|
-
|
|
83
|
-
} from "./pty-
|
|
82
|
+
make7
|
|
83
|
+
} from "./pty-7ywv553p.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
} from "./pty-
|
|
85
|
+
Service23
|
|
86
|
+
} from "./pty-phz3h32g.js";
|
|
87
87
|
import {
|
|
88
|
-
|
|
89
|
-
} from "./pty-
|
|
88
|
+
node15
|
|
89
|
+
} from "./pty-5sevqzg5.js";
|
|
90
90
|
import {
|
|
91
91
|
MAX_STEPS_PROMPT2
|
|
92
92
|
} from "./pty-y44na4kk.js";
|
|
@@ -98,24 +98,24 @@ import {
|
|
|
98
98
|
var exports_llm = {};
|
|
99
99
|
__export(exports_llm, {
|
|
100
100
|
SessionRunnerLLM: () => exports_llm,
|
|
101
|
-
node: () =>
|
|
101
|
+
node: () => node7
|
|
102
102
|
});
|
|
103
103
|
import { Message } from "@opencode/ai";
|
|
104
104
|
import { and, desc, eq, sql } from "drizzle-orm";
|
|
105
105
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
106
106
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
107
107
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
108
|
-
var layer = Layer.effect(
|
|
108
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
109
109
|
const bus = yield* Service82;
|
|
110
|
-
const lifecycle = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const context = yield*
|
|
113
|
-
const modelTransport = yield*
|
|
110
|
+
const lifecycle = yield* Service15;
|
|
111
|
+
const store = yield* Service69;
|
|
112
|
+
const context = yield* Service24;
|
|
113
|
+
const modelTransport = yield* Service32;
|
|
114
114
|
const db = (yield* Service83).db;
|
|
115
|
-
const compaction = yield*
|
|
116
|
-
const plugins = yield*
|
|
117
|
-
const title = yield*
|
|
118
|
-
const steps = yield*
|
|
115
|
+
const compaction = yield* Service9;
|
|
116
|
+
const plugins = yield* Service23;
|
|
117
|
+
const title = yield* Service6;
|
|
118
|
+
const steps = yield* make7;
|
|
119
119
|
const titles = yield* FiberMap.make();
|
|
120
120
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
121
121
|
const sessionID = input.sessionID;
|
|
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
240
240
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
241
241
|
const sessionID = first.session.id;
|
|
242
242
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
243
|
-
const retry = yield*
|
|
243
|
+
const retry = yield* make8(bus, sessionID);
|
|
244
244
|
let initial = first;
|
|
245
245
|
let recoverOverflow = true;
|
|
246
246
|
let recoverContinuation = true;
|
|
@@ -361,25 +361,25 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
});
|
|
364
|
-
return
|
|
364
|
+
return Service47.of({ drain });
|
|
365
365
|
}));
|
|
366
|
-
var
|
|
367
|
-
service:
|
|
366
|
+
var node7 = makeLocationNode({
|
|
367
|
+
service: Service47,
|
|
368
368
|
layer,
|
|
369
369
|
deps: [
|
|
370
370
|
node86,
|
|
371
|
-
|
|
371
|
+
node18,
|
|
372
372
|
llmClient2,
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
373
|
+
node27,
|
|
374
|
+
node35,
|
|
375
|
+
node73,
|
|
376
|
+
node11,
|
|
377
|
+
node15,
|
|
378
|
+
node8,
|
|
379
|
+
node39,
|
|
380
|
+
node43,
|
|
381
381
|
node87
|
|
382
382
|
]
|
|
383
383
|
});
|
|
384
384
|
|
|
385
|
-
export {
|
|
385
|
+
export { node7, exports_llm };
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error = {};
|
|
10
|
+
__export(exports_error, {
|
|
11
|
+
ConfigErrorV1: () => exports_error,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./pty-
|
|
4
|
+
} from "./pty-phrgc7s2.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
7
|
} from "./pty-rdw6cm16.js";
|
|
@@ -10,35 +10,35 @@ import {
|
|
|
10
10
|
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
17
|
+
Event: () => Event14,
|
|
18
18
|
ID: () => ID10,
|
|
19
|
-
Info: () =>
|
|
19
|
+
Info: () => Info24,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service71,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node75
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event14 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
33
|
var ID10 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
35
|
var defaultID2 = ID10.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info24 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service71 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service82;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info24.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service71.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node75 = makeLocationNode({ service: Service71, layer, deps: [node86, Global.node] });
|
|
120
120
|
|
|
121
|
-
export { ID10, Name3, defaultID2, Color2,
|
|
121
|
+
export { ID10, Name3, defaultID2, Color2, Info24, Service71, node75, exports_agent4, Event14 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./pty-
|
|
3
|
+
Service41
|
|
4
|
+
} from "./pty-j0d8kce8.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
7
|
} from "./pty-qsdy395h.js";
|
|
@@ -10,17 +10,17 @@ import {
|
|
|
10
10
|
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch2 = {};
|
|
14
|
+
__export(exports_websearch2, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
+
Plugin: () => Plugin29
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin29 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service41;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin34 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin29, exports_websearch2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./pty-
|
|
2
|
+
Service63
|
|
3
|
+
} from "./pty-2acp3zpj.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
6
|
} from "./pty-9rqn6x4v.js";
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service63;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./pty-
|
|
3
|
+
Service41
|
|
4
|
+
} from "./pty-j0d8kce8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./pty-
|
|
6
|
+
Service66
|
|
7
|
+
} from "./pty-ypnspery.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
10
|
} from "./pty-qsdy395h.js";
|
|
@@ -13,18 +13,18 @@ import {
|
|
|
13
13
|
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell2 = {};
|
|
17
|
+
__export(exports_shell2, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
+
Plugin: () => Plugin38
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin38 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service41;
|
|
27
|
+
const shell = yield* Service66;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin32 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin38, exports_shell2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./pty-
|
|
3
|
+
} from "./pty-mgpyxjx6.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./pty-
|
|
6
|
+
} from "./pty-phrgc7s2.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./pty-
|
|
10
|
+
} from "./pty-x1gfpc1p.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./pty-
|
|
14
|
+
} from "./pty-2gw9te71.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./pty-
|
|
23
|
+
} from "./pty-jnwk8z6k.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -159,7 +159,7 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin2 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
165
|
const bus = yield* Service82;
|
|
@@ -316,4 +316,4 @@ function claim(token) {
|
|
|
316
316
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { OpenAIPlugin2 };
|