@opencode/core 0.0.0-dev-21775 → 0.0.0-dev-21777
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +93 -93
- package/dist/aisdk.js +99 -99
- package/dist/app.js +9 -9
- package/dist/bus.js +76 -76
- package/dist/chunks/{file-retention-zz0wb7w6.js → wellknown-04jxknxw.js} +28 -28
- package/dist/chunks/{file-retention-c2sed5cq.js → wellknown-08rawchj.js} +3 -3
- package/dist/chunks/{file-retention-jp659ej9.js → wellknown-0e55pn21.js} +9 -9
- package/dist/chunks/wellknown-0hg0mcp7.js +133 -0
- package/dist/chunks/{file-retention-30yerwvb.js → wellknown-0tjr8cgx.js} +35 -35
- package/dist/chunks/{file-retention-1z6jjy5p.js → wellknown-0vx028ky.js} +6 -6
- package/dist/chunks/{file-retention-jy12te0b.js → wellknown-0yg5t7s5.js} +10 -10
- package/dist/chunks/{file-retention-7zkdf223.js → wellknown-0zht2ra2.js} +13 -13
- package/dist/chunks/{file-retention-w46nxhz5.js → wellknown-156eqp0k.js} +7 -7
- package/dist/chunks/{file-retention-9qp5p8zq.js → wellknown-15npty3x.js} +15 -15
- package/dist/chunks/{file-retention-kmzgegqq.js → wellknown-160yv0cs.js} +8 -8
- package/dist/chunks/{file-retention-zt6m90gj.js → wellknown-1cdsvsw3.js} +11 -11
- package/dist/chunks/{file-retention-k6rztwfs.js → wellknown-1cxgtnbf.js} +21 -21
- package/dist/chunks/wellknown-1tzh2fwz.js +26 -0
- package/dist/chunks/{file-retention-1x2knyw4.js → wellknown-1x2knyw4.js} +1 -1
- package/dist/chunks/{file-retention-xk76yr4x.js → wellknown-1yjfvzjr.js} +24 -24
- package/dist/chunks/{file-retention-ehw7gamr.js → wellknown-24hqqhtt.js} +35 -35
- package/dist/chunks/{file-retention-1ep2p91f.js → wellknown-27w5k9zf.js} +2 -2
- package/dist/chunks/{file-retention-t9bqp2qp.js → wellknown-2efa57sj.js} +7 -7
- package/dist/chunks/{file-retention-1hg0zxtx.js → wellknown-2jjbcsmh.js} +13 -13
- package/dist/chunks/{file-retention-2z1j29yd.js → wellknown-2z1j29yd.js} +1 -1
- package/dist/chunks/{file-retention-8esf06c6.js → wellknown-31avdb49.js} +8 -8
- package/dist/chunks/wellknown-3879nz5k.js +517 -0
- package/dist/chunks/{file-retention-1htg6rk5.js → wellknown-3c7qpzd7.js} +8 -8
- package/dist/chunks/{file-retention-ayjs7tqn.js → wellknown-3cbjf1nt.js} +2 -2
- package/dist/chunks/{file-retention-xk8af61m.js → wellknown-3gen3464.js} +18 -18
- package/dist/chunks/{file-retention-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-3nnrz6f6.js → wellknown-3nnrz6f6.js} +1 -1
- package/dist/chunks/{file-retention-05038jtd.js → wellknown-3q0rd7f0.js} +9 -9
- package/dist/chunks/{file-retention-a37vbyfx.js → wellknown-3vdvxvt6.js} +23 -23
- package/dist/chunks/{file-retention-d7tcj48j.js → wellknown-46p4nd0k.js} +3 -3
- package/dist/chunks/{file-retention-zjrarrrn.js → wellknown-471w593b.js} +9 -9
- package/dist/chunks/{file-retention-fhj25s52.js → wellknown-4bzv39yc.js} +35 -35
- package/dist/chunks/{file-retention-jc09y3gx.js → wellknown-4h8bx7yk.js} +5 -5
- package/dist/chunks/{file-retention-xw52kzy1.js → wellknown-4qr8kst0.js} +20 -20
- package/dist/chunks/{file-retention-6dw9a62t.js → wellknown-4tnne5r4.js} +86 -86
- package/dist/chunks/{file-retention-4v008n1t.js → wellknown-4v008n1t.js} +1 -1
- package/dist/chunks/{file-retention-4xvmh7wp.js → wellknown-4xvmh7wp.js} +3 -3
- package/dist/chunks/{file-retention-yzptcycq.js → wellknown-5248xpep.js} +1 -1
- package/dist/chunks/{file-retention-y755953d.js → wellknown-58gfgbrj.js} +21 -21
- package/dist/chunks/{file-retention-ks30mcjv.js → wellknown-59p1f3he.js} +6 -6
- package/dist/chunks/{file-retention-d6n7qg8p.js → wellknown-5btwyzmg.js} +19 -19
- package/dist/chunks/{file-retention-ffnxs1x0.js → wellknown-5cfa5pm8.js} +4 -4
- package/dist/chunks/{file-retention-ahrm6a4v.js → wellknown-5ch3p6j9.js} +24 -24
- package/dist/chunks/{file-retention-6tx8rgr5.js → wellknown-5cnbxcdc.js} +12 -12
- package/dist/chunks/{file-retention-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-retention-23nwgtns.js → wellknown-5pxxc420.js} +7 -7
- package/dist/chunks/{file-retention-q83y25yv.js → wellknown-5q6rg3ah.js} +7 -7
- package/dist/chunks/{file-retention-1a3825m9.js → wellknown-5sjqaaf3.js} +24 -24
- package/dist/chunks/{file-retention-bjhzkqyk.js → wellknown-61ennm6n.js} +4 -4
- package/dist/chunks/{file-retention-h31vq76g.js → wellknown-61g7nd3s.js} +10 -10
- package/dist/chunks/{file-retention-hz9cscar.js → wellknown-6b0wj5kz.js} +3 -3
- package/dist/chunks/{file-retention-tpm1qpxt.js → wellknown-6c5cd6ez.js} +9 -9
- package/dist/chunks/{file-retention-6esdw8yj.js → wellknown-6esdw8yj.js} +1 -1
- package/dist/chunks/{file-retention-3r7w24g9.js → wellknown-6gctnm3n.js} +16 -16
- package/dist/chunks/{file-retention-kp5tvjar.js → wellknown-6n3yb10w.js} +8 -8
- package/dist/chunks/{file-retention-6pjqjmy2.js → wellknown-6pjqjmy2.js} +1 -1
- package/dist/chunks/{file-retention-tp6pqz2g.js → wellknown-6pqc74hk.js} +12 -12
- package/dist/chunks/{file-retention-na64j5m8.js → wellknown-6r6h6sat.js} +19 -19
- package/dist/chunks/{file-retention-0c77ab74.js → wellknown-6s2cpg4s.js} +23 -23
- package/dist/chunks/{file-retention-szcgc7h4.js → wellknown-6y263vp8.js} +5 -5
- package/dist/chunks/{file-retention-wctyzwyk.js → wellknown-74jxnsy8.js} +30 -30
- package/dist/chunks/{file-retention-76cb1hcw.js → wellknown-76cb1hcw.js} +1 -1
- package/dist/chunks/{file-retention-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-kqhr5b96.js → wellknown-7bzgm6j7.js} +27 -27
- package/dist/chunks/{file-retention-6g7e0vcw.js → wellknown-7jxwkttf.js} +11 -11
- package/dist/chunks/{file-retention-9nz28cm2.js → wellknown-7p0gfk8r.js} +11 -11
- package/dist/chunks/{file-retention-7w2ypzdf.js → wellknown-7w2ypzdf.js} +1 -1
- package/dist/chunks/{file-retention-6cahmqzr.js → wellknown-7ye4ae45.js} +8 -8
- package/dist/chunks/{file-retention-m8f63jhp.js → wellknown-83txnp1n.js} +29 -29
- package/dist/chunks/{file-retention-m0ef4zea.js → wellknown-8ak2wtwm.js} +15 -15
- package/dist/chunks/{file-retention-dh62xe4r.js → wellknown-8bc2ahr8.js} +3 -3
- package/dist/chunks/{file-retention-xha7ydwr.js → wellknown-8fxn4ej1.js} +18 -18
- package/dist/chunks/{file-retention-mr15razv.js → wellknown-8jb500t8.js} +16 -16
- package/dist/chunks/{file-retention-qjgzc4b4.js → wellknown-8jztxfpf.js} +4 -4
- package/dist/chunks/{file-retention-pdf3vz88.js → wellknown-8k68n2qp.js} +14 -14
- package/dist/chunks/{file-retention-frt8zmm9.js → wellknown-8qhb45tw.js} +11 -11
- package/dist/chunks/{file-retention-8r6n0qax.js → wellknown-8r6n0qax.js} +1 -1
- package/dist/chunks/{file-retention-4y5adm9d.js → wellknown-8tzs9as6.js} +46 -46
- package/dist/chunks/{file-retention-8wtp7s3z.js → wellknown-8wtp7s3z.js} +1 -1
- package/dist/chunks/{file-retention-fg9nnp40.js → wellknown-91at89dk.js} +13 -13
- package/dist/chunks/{file-retention-91rj84md.js → wellknown-91rj84md.js} +1 -1
- package/dist/chunks/{file-retention-ztpn6ax8.js → wellknown-922cm4bg.js} +9 -9
- package/dist/chunks/{file-retention-mqcadzqw.js → wellknown-9g4cv0f3.js} +5 -5
- package/dist/chunks/{file-retention-1yq6n76y.js → wellknown-9rkgepac.js} +18 -18
- package/dist/chunks/{file-retention-p22znmy8.js → wellknown-9shqtmsr.js} +11 -11
- package/dist/chunks/{file-retention-yar054mm.js → wellknown-ac8m9jgw.js} +35 -35
- package/dist/chunks/{file-retention-0gqjs8xd.js → wellknown-acwbq7dh.js} +11 -11
- package/dist/chunks/{file-retention-s7xmnr8t.js → wellknown-agqd6nxz.js} +6 -6
- package/dist/chunks/{file-retention-034tev2y.js → wellknown-aj7mw0zk.js} +2 -2
- package/dist/chunks/{file-retention-7ta0ytq2.js → wellknown-atkrv4f1.js} +18 -18
- package/dist/chunks/{file-retention-mv7k79ef.js → wellknown-atvnxcjg.js} +48 -48
- package/dist/chunks/{file-retention-b0mv4wxm.js → wellknown-b0mv4wxm.js} +2 -2
- package/dist/chunks/{file-retention-8k7fs4yk.js → wellknown-b13wcdxr.js} +5 -5
- package/dist/chunks/{file-retention-5784b4h2.js → wellknown-b88d5nwd.js} +9 -9
- package/dist/chunks/{file-retention-wj8797dk.js → wellknown-b8fyfga2.js} +21 -21
- package/dist/chunks/{file-retention-9bz5f2aq.js → wellknown-bb8x8cdz.js} +19 -19
- package/dist/chunks/{file-retention-y8dsb888.js → wellknown-bd0tpmaf.js} +8 -8
- package/dist/chunks/{file-retention-af63jp32.js → wellknown-be9dmfer.js} +21 -21
- package/dist/chunks/{file-retention-bstexjd6.js → wellknown-bstexjd6.js} +1 -1
- package/dist/chunks/{file-retention-yz0q7a5m.js → wellknown-bw273ec6.js} +26 -26
- package/dist/chunks/{file-retention-p2mqe0hz.js → wellknown-bxwc6da6.js} +12 -12
- package/dist/chunks/{file-retention-ymh0wyfn.js → wellknown-c50m9zrv.js} +20 -20
- package/dist/chunks/{file-retention-995kf3fb.js → wellknown-c59xc1n0.js} +26 -33
- package/dist/chunks/{file-retention-kf3903q6.js → wellknown-c81fqfqt.js} +2 -2
- package/dist/chunks/{file-retention-d2887f8n.js → wellknown-c9t2ty9q.js} +4 -4
- package/dist/chunks/{file-retention-3164ts83.js → wellknown-cda3ha6j.js} +4 -4
- package/dist/chunks/{file-retention-qqg9c0kv.js → wellknown-cpvd08na.js} +4 -4
- package/dist/chunks/{file-retention-zbkhh3g1.js → wellknown-cr39h6xc.js} +32 -32
- package/dist/chunks/{file-retention-5ej6fcjw.js → wellknown-csfpqy7c.js} +6 -6
- package/dist/chunks/{file-retention-y7gf4t9q.js → wellknown-cvc23dz4.js} +14 -14
- package/dist/chunks/{file-retention-x6n10bgh.js → wellknown-cx6bpn5t.js} +18 -18
- package/dist/chunks/{file-retention-cjy4375a.js → wellknown-cxpb5f81.js} +2 -2
- package/dist/chunks/{file-retention-7zkpzyeb.js → wellknown-czf0zymf.js} +27 -27
- package/dist/chunks/{file-retention-nnsghjk2.js → wellknown-d0tmt39w.js} +34 -34
- package/dist/chunks/{file-retention-d4v9tmah.js → wellknown-d4v9tmah.js} +2 -2
- package/dist/chunks/{file-retention-pnx1meeb.js → wellknown-dcmqjbj1.js} +51 -51
- package/dist/chunks/{file-retention-r8q5fgtf.js → wellknown-dp5wfbj1.js} +35 -35
- package/dist/chunks/{file-retention-en82s9xt.js → wellknown-dsknn1hy.js} +21 -21
- package/dist/chunks/{file-retention-s6rab191.js → wellknown-dzkbqkpx.js} +24 -24
- package/dist/chunks/{file-retention-ps196dw6.js → wellknown-e35j4gt7.js} +16 -16
- package/dist/chunks/{file-retention-adgmyams.js → wellknown-e6g5g1wq.js} +43 -43
- package/dist/chunks/{file-retention-mc4sw9w4.js → wellknown-e6y915td.js} +6 -6
- package/dist/chunks/{file-retention-e834z07m.js → wellknown-e834z07m.js} +1 -1
- package/dist/chunks/{file-retention-2qvs9jak.js → wellknown-e88t32tv.js} +11 -11
- package/dist/chunks/{file-retention-dk26t417.js → wellknown-eaem389f.js} +15 -15
- package/dist/chunks/{file-retention-2vejemke.js → wellknown-egcetw1q.js} +13 -13
- package/dist/chunks/{file-retention-5yw85qpw.js → wellknown-egz7d1cs.js} +26 -26
- package/dist/chunks/{file-retention-yhen3jxk.js → wellknown-ek6vqcaq.js} +4 -4
- package/dist/chunks/{file-retention-sfp4tb26.js → wellknown-esfv9gvv.js} +4 -4
- package/dist/chunks/{file-retention-mv49vzrc.js → wellknown-etxjsby2.js} +32 -32
- package/dist/chunks/{file-retention-6z77c2r8.js → wellknown-ey89v7jw.js} +16 -16
- package/dist/chunks/{file-retention-1e1kb1f8.js → wellknown-eya7ab03.js} +15 -15
- package/dist/chunks/{file-retention-6481hcqs.js → wellknown-ez3zn048.js} +11 -11
- package/dist/chunks/{file-retention-fffv3p7h.js → wellknown-fffv3p7h.js} +1 -1
- package/dist/chunks/{file-retention-fnrac0zs.js → wellknown-fy5bjxgv.js} +3 -3
- package/dist/chunks/{file-retention-g5h9c0rr.js → wellknown-g5h9c0rr.js} +2 -2
- package/dist/chunks/{file-retention-0kpntjxf.js → wellknown-g7wmygc1.js} +3 -3
- package/dist/chunks/{file-retention-cf7x3ksa.js → wellknown-g9dq5tb6.js} +27 -27
- package/dist/chunks/{file-retention-gcjdgkn2.js → wellknown-gcjdgkn2.js} +2 -2
- package/dist/chunks/{file-retention-n0wvcyfn.js → wellknown-gh9c8abt.js} +3 -3
- package/dist/chunks/{file-retention-r09k0ff8.js → wellknown-gn2br83g.js} +16 -16
- package/dist/chunks/{file-retention-37rj4464.js → wellknown-gthfkf9z.js} +13 -13
- package/dist/chunks/{file-retention-62n5agxz.js → wellknown-h2hkdbmv.js} +2 -2
- package/dist/chunks/{file-retention-dbx6pzfq.js → wellknown-h4ja5x6t.js} +6 -6
- package/dist/chunks/{file-retention-atnbxq3j.js → wellknown-h51c97x2.js} +26 -26
- package/dist/chunks/{file-retention-x8570257.js → wellknown-h9927jyw.js} +9 -9
- package/dist/chunks/{file-retention-rkvrbxb1.js → wellknown-hbcsvp0f.js} +17 -11
- package/dist/chunks/{file-retention-c7nehh90.js → wellknown-hbstmyqp.js} +6 -6
- package/dist/chunks/{file-retention-c3cfh5w6.js → wellknown-hdfrs5mg.js} +5 -5
- package/dist/chunks/{file-retention-t8cetwdg.js → wellknown-hg41gd58.js} +1 -1
- package/dist/chunks/{file-retention-0dye9s24.js → wellknown-hs11k58z.js} +4 -4
- package/dist/chunks/{file-retention-wwyg2b72.js → wellknown-hwdyf90s.js} +24 -24
- package/dist/chunks/{file-retention-fbx1pf6w.js → wellknown-hz95n7rj.js} +28 -28
- package/dist/chunks/{file-retention-j113cymg.js → wellknown-j113cymg.js} +1 -1
- package/dist/chunks/{file-retention-8gaq3e8g.js → wellknown-j2vqej1t.js} +9 -9
- package/dist/chunks/{file-retention-0ex69mkq.js → wellknown-j3rp8z28.js} +43 -43
- package/dist/chunks/{file-retention-a0vny5h5.js → wellknown-j718j4p4.js} +17 -17
- package/dist/chunks/{file-retention-ycrb3cr5.js → wellknown-j8we4jgn.js} +15 -15
- package/dist/chunks/{file-retention-eqtjzdmt.js → wellknown-jenkz3h9.js} +15 -15
- package/dist/chunks/{file-retention-q404j35s.js → wellknown-jh1qsrkb.js} +39 -39
- package/dist/chunks/{file-retention-757kxfk5.js → wellknown-jhakfsh4.js} +1 -1
- package/dist/chunks/{file-retention-hfbj6knv.js → wellknown-jjvs5gfh.js} +17 -17
- package/dist/chunks/{file-retention-79zrs9sr.js → wellknown-jmc1s92r.js} +8 -8
- package/dist/chunks/{file-retention-5yj1svp7.js → wellknown-jns20v2e.js} +26 -26
- package/dist/chunks/{file-retention-5yvm9gq4.js → wellknown-jwec9qe4.js} +11 -11
- package/dist/chunks/{file-retention-ezw660nq.js → wellknown-jyr7n9x1.js} +3 -3
- package/dist/chunks/{file-retention-k814nvkf.js → wellknown-k814nvkf.js} +1 -1
- package/dist/chunks/{file-retention-ymzrk7b3.js → wellknown-ka7gkb12.js} +1 -1
- package/dist/chunks/{file-retention-mamyemm0.js → wellknown-kd89nm9p.js} +14 -14
- package/dist/chunks/{file-retention-8aaegyc4.js → wellknown-kqtnm4zs.js} +2 -2
- package/dist/chunks/{file-retention-pfwczevg.js → wellknown-krs5mes8.js} +18 -18
- package/dist/chunks/wellknown-kt3bjfbg.js +26 -0
- package/dist/chunks/{file-retention-d356z46s.js → wellknown-kvgv58sm.js} +24 -24
- package/dist/chunks/{file-retention-kzcwk5ky.js → wellknown-kwd8yzj2.js} +11 -11
- package/dist/chunks/{file-retention-wbmtbw5y.js → wellknown-kxfvb65t.js} +5 -5
- package/dist/chunks/{file-retention-2mbjfaxd.js → wellknown-ky596kc3.js} +4 -4
- package/dist/chunks/{file-retention-4hh7j8bj.js → wellknown-m0ry6ynm.js} +18 -18
- package/dist/chunks/{file-retention-b3zqj1fn.js → wellknown-m126rssb.js} +21 -21
- package/dist/chunks/{file-retention-xjmvvx28.js → wellknown-m151rvrq.js} +22 -22
- package/dist/chunks/{file-retention-m1714858.js → wellknown-m1714858.js} +1 -1
- package/dist/chunks/{file-retention-dqyjxj68.js → wellknown-m1ka6wme.js} +14 -14
- package/dist/chunks/{file-retention-vmfhgzt5.js → wellknown-m37sd98t.js} +4 -4
- package/dist/chunks/{file-retention-fe3ptvc8.js → wellknown-m39qkr2j.js} +17 -17
- package/dist/chunks/{file-retention-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-jchrqzf6.js → wellknown-masd7ga8.js} +4 -4
- package/dist/chunks/{file-retention-maspj1v3.js → wellknown-maspj1v3.js} +1 -1
- package/dist/chunks/{file-retention-1dt1w7eh.js → wellknown-mdgpbx00.js} +58 -58
- package/dist/chunks/{file-retention-ktrds4tk.js → wellknown-mh0df1gn.js} +4 -4
- package/dist/chunks/{file-retention-feghes5g.js → wellknown-mke939yf.js} +16 -16
- package/dist/chunks/{file-retention-d3k5k72a.js → wellknown-mqa6tqca.js} +13 -13
- package/dist/chunks/{file-retention-043edbps.js → wellknown-mqy7jcc3.js} +20 -20
- package/dist/chunks/{file-retention-ay8p2qby.js → wellknown-mx37ejap.js} +72 -72
- package/dist/chunks/{file-retention-n0p0277s.js → wellknown-n0p0277s.js} +1 -1
- package/dist/chunks/{file-retention-d4yvfdjq.js → wellknown-n3cagxyt.js} +9 -9
- package/dist/chunks/{file-retention-8rqkymsz.js → wellknown-n58cmm6s.js} +8 -8
- package/dist/chunks/{file-retention-n9p72mjb.js → wellknown-n9p72mjb.js} +2 -2
- package/dist/chunks/{file-retention-nah043kf.js → wellknown-nah043kf.js} +1 -1
- package/dist/chunks/{file-retention-p015t6z3.js → wellknown-p015t6z3.js} +2 -2
- package/dist/chunks/{file-retention-wv1byjhn.js → wellknown-p16j9thq.js} +50 -50
- package/dist/chunks/{file-retention-t39e16tb.js → wellknown-p23tmbza.js} +11 -11
- package/dist/chunks/{file-retention-p7vhpwh8.js → wellknown-p7vhpwh8.js} +1 -1
- package/dist/chunks/{file-retention-w4488581.js → wellknown-p9fn62m0.js} +4 -4
- package/dist/chunks/{file-retention-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-prazahgm.js → wellknown-prazahgm.js} +2 -2
- package/dist/chunks/{file-retention-zfyb5tr4.js → wellknown-pre1sqds.js} +4 -4
- package/dist/chunks/{file-retention-h5dyhw6p.js → wellknown-q7pkjngt.js} +30 -30
- package/dist/chunks/{file-retention-bqwdyg2t.js → wellknown-qaz4f448.js} +9 -9
- package/dist/chunks/{file-retention-234ntbqc.js → wellknown-qewdp238.js} +22 -22
- package/dist/chunks/wellknown-qmh7vbk2.js +18 -0
- package/dist/chunks/{file-retention-c9x3pgse.js → wellknown-qp9nzqh8.js} +16 -16
- package/dist/chunks/{file-retention-r0yr0wbs.js → wellknown-r0yr0wbs.js} +1 -1
- package/dist/chunks/{file-retention-kv52dac4.js → wellknown-r8cv79ss.js} +12 -12
- package/dist/chunks/{file-retention-rb9dy4dg.js → wellknown-rb9dy4dg.js} +1 -1
- package/dist/chunks/{file-retention-d5wa0b2s.js → wellknown-rf1g2xr4.js} +5 -5
- package/dist/chunks/{file-retention-1v3pmt1f.js → wellknown-rh99e6cx.js} +34 -34
- package/dist/chunks/{file-retention-pv1g07z8.js → wellknown-rqwx01wv.js} +25 -25
- package/dist/chunks/{file-retention-rt5dr6hb.js → wellknown-rt5dr6hb.js} +1 -1
- package/dist/chunks/{file-retention-3xv5yes5.js → wellknown-rwvswa9y.js} +6 -6
- package/dist/chunks/{file-retention-ndyybwqb.js → wellknown-s315sn73.js} +17 -17
- package/dist/chunks/{file-retention-kd9fhfv6.js → wellknown-s9agp0wp.js} +16 -16
- package/dist/chunks/{file-retention-sa3fpqfw.js → wellknown-sa3fpqfw.js} +2 -2
- package/dist/chunks/{file-retention-sqjzf8x2.js → wellknown-sqjzf8x2.js} +1 -1
- package/dist/chunks/{file-retention-66hxanz0.js → wellknown-t2adjgr6.js} +31 -31
- package/dist/chunks/{file-retention-802q13vp.js → wellknown-t401z26n.js} +7 -7
- package/dist/chunks/{file-retention-a1qdfkze.js → wellknown-tcp1bmnd.js} +13 -13
- package/dist/chunks/{file-retention-tczq8hjw.js → wellknown-tczq8hjw.js} +1 -1
- package/dist/chunks/{file-retention-hj1ah81s.js → wellknown-tnp0dwr6.js} +27 -27
- package/dist/chunks/{file-retention-3wb8nyxx.js → wellknown-tp3w5r6h.js} +17 -17
- package/dist/chunks/{file-retention-ys018t90.js → wellknown-tpwbr6cx.js} +41 -41
- package/dist/chunks/{file-retention-twv2r8f4.js → wellknown-twv2r8f4.js} +2 -2
- package/dist/chunks/{file-retention-n1s97216.js → wellknown-tyfyb2y4.js} +17 -17
- package/dist/chunks/{file-retention-h7d4rbrg.js → wellknown-v0t96s7a.js} +4 -4
- package/dist/chunks/{file-retention-exyf3fed.js → wellknown-v27t7dvh.js} +10 -10
- package/dist/chunks/{file-retention-v2r1d0zg.js → wellknown-v2r1d0zg.js} +1 -1
- package/dist/chunks/{file-retention-nm4377q9.js → wellknown-v5gy4fh6.js} +5 -5
- package/dist/chunks/{file-retention-jsy02eqp.js → wellknown-v7bqyd8s.js} +17 -17
- package/dist/chunks/{file-retention-vd3b3yk9.js → wellknown-vd3b3yk9.js} +1 -1
- package/dist/chunks/{file-retention-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-ja8b98rf.js → wellknown-vhbqcsjh.js} +8 -8
- package/dist/chunks/{file-retention-74by25sn.js → wellknown-vnhr9jck.js} +17 -17
- package/dist/chunks/{file-retention-d63vatx9.js → wellknown-vrpgx22b.js} +4 -4
- package/dist/chunks/{file-retention-hjznzsdn.js → wellknown-vsec61f7.js} +14 -14
- package/dist/chunks/{file-retention-vx3z2ta8.js → wellknown-vy5k7220.js} +14 -14
- package/dist/chunks/{file-retention-d0z36nkj.js → wellknown-vya0mwf0.js} +17 -17
- package/dist/chunks/{file-retention-as38c070.js → wellknown-vz4jdedr.js} +8 -8
- package/dist/chunks/{file-retention-8w0qx81v.js → wellknown-vzdp29pn.js} +25 -25
- package/dist/chunks/{file-retention-40za9wsf.js → wellknown-w2eysc6j.js} +9 -9
- package/dist/chunks/{file-retention-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-ay3eg20d.js → wellknown-w49d6sjv.js} +21 -21
- package/dist/chunks/{file-retention-re267s79.js → wellknown-wag6p64v.js} +12 -12
- package/dist/chunks/{file-retention-wakvkjy4.js → wellknown-wakvkjy4.js} +1 -1
- package/dist/chunks/{file-retention-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-njc35j2b.js → wellknown-wdb5a6sv.js} +13 -13
- package/dist/chunks/{file-retention-av5ks0e5.js → wellknown-wj6vtssy.js} +9 -9
- package/dist/chunks/{file-retention-9xhfncsk.js → wellknown-wm15htn2.js} +39 -39
- package/dist/chunks/{file-retention-fznmdakp.js → wellknown-wr3re1en.js} +4 -4
- package/dist/chunks/{file-retention-cn5vzm85.js → wellknown-x3ms6r27.js} +2 -2
- package/dist/chunks/{file-retention-6a2eq7nz.js → wellknown-xc28g6rc.js} +26 -26
- package/dist/chunks/{file-retention-w0e5cwhb.js → wellknown-xcw3pgbc.js} +34 -34
- package/dist/chunks/{file-retention-he1xcvzj.js → wellknown-xfqmb1dp.js} +6 -6
- package/dist/chunks/{file-retention-qr4bptwr.js → wellknown-xfwmjqem.js} +31 -31
- package/dist/chunks/{file-retention-s27aztda.js → wellknown-xjnmf968.js} +6 -6
- package/dist/chunks/wellknown-xk4hcb07.js +261 -0
- package/dist/chunks/{file-retention-562s2c64.js → wellknown-xm65v1c6.js} +25 -25
- package/dist/chunks/{file-retention-xjvykbh7.js → wellknown-xs8zeem2.js} +24 -24
- package/dist/chunks/{file-retention-a5dtds7w.js → wellknown-xv5h0f8t.js} +3 -3
- package/dist/chunks/{file-retention-g2cjact9.js → wellknown-xvfjp7yw.js} +141 -141
- package/dist/chunks/{file-retention-sc8prgdb.js → wellknown-yactmmgv.js} +9 -9
- package/dist/chunks/{file-retention-fpecf9xp.js → wellknown-yad47j67.js} +4 -4
- package/dist/chunks/{file-retention-yb20nhc3.js → wellknown-yb20nhc3.js} +1 -1
- package/dist/chunks/{file-retention-5tw9zmff.js → wellknown-ym8pz2ff.js} +91 -91
- package/dist/chunks/{file-retention-f0cbaec5.js → wellknown-yv7rfcpt.js} +28 -28
- package/dist/chunks/{file-retention-w29j0fga.js → wellknown-yyw72xks.js} +8 -8
- package/dist/chunks/{file-retention-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-86nyzsdp.js → wellknown-z0kx572n.js} +2 -2
- package/dist/chunks/{file-retention-wb3zghwg.js → wellknown-z1325g04.js} +45 -45
- package/dist/chunks/{file-retention-z38nccrw.js → wellknown-z38nccrw.js} +1 -1
- package/dist/chunks/{file-retention-enz9anj1.js → wellknown-z5jgj3bn.js} +7 -7
- package/dist/chunks/{file-retention-mjagy123.js → wellknown-za6yq9hg.js} +5 -5
- package/dist/chunks/{file-retention-jd8b4czr.js → wellknown-zapb4bac.js} +16 -16
- package/dist/chunks/{file-retention-zkg84ctx.js → wellknown-zkg84ctx.js} +1 -1
- package/dist/chunks/{file-retention-4vc6yp1q.js → wellknown-zshj6dbt.js} +41 -41
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +86 -86
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +103 -103
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +117 -117
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +106 -106
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/console-access.js +12 -0
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +75 -75
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +52 -52
- package/dist/database/migration.js +54 -54
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +94 -94
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +373 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +97 -97
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +99 -99
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +77 -77
- package/dist/file-access.js +108 -108
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -106
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +91 -91
- package/dist/generate.js +111 -111
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +103 -103
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +364 -362
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +91 -91
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +81 -81
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +76 -76
- package/dist/location-activity.js +160 -160
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +90 -90
- package/dist/location-services.js +361 -359
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +95 -95
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +81 -81
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +94 -94
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +103 -103
- package/dist/model-resolver.js +103 -103
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +111 -111
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +78 -78
- package/dist/plugin/agent.js +79 -79
- package/dist/plugin/command.js +106 -106
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +100 -100
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +106 -106
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +94 -94
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +117 -117
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +97 -97
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +99 -99
- package/dist/plugin/provider/gitlab.js +97 -97
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +81 -81
- package/dist/plugin/provider/lmstudio.js +126 -126
- package/dist/plugin/provider/local.js +123 -123
- package/dist/plugin/provider/modal.js +96 -96
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +126 -126
- package/dist/plugin/provider/openai-context-caps.js +94 -94
- package/dist/plugin/provider/openai.js +119 -119
- package/dist/plugin/provider/opencode.js +103 -102
- package/dist/plugin/provider/openrouter.js +95 -95
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +82 -82
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +95 -95
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +94 -94
- package/dist/plugin/provider/vllm.js +126 -126
- package/dist/plugin/provider/xai.js +95 -95
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -169
- package/dist/plugin/sdk.js +79 -79
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +90 -90
- package/dist/plugin/vcs/hg.js +90 -90
- package/dist/plugin/verbosity.js +97 -97
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +93 -93
- package/dist/reference.js +95 -95
- package/dist/repository-cache.js +85 -85
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +90 -90
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +77 -77
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +166 -166
- package/dist/session/diff.js +92 -92
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +168 -168
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +96 -96
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +101 -101
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +134 -134
- package/dist/session/projector.js +92 -92
- package/dist/session/prompt.js +109 -109
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +98 -98
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +104 -104
- package/dist/session/runner/publish-llm-event.js +117 -117
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +130 -130
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +78 -78
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +213 -213
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +170 -170
- package/dist/session/to-session-error.js +116 -116
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +139 -139
- package/dist/tool/plugin/edit.js +124 -124
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +128 -128
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +128 -128
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +126 -126
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +129 -129
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/todo.js +139 -139
- package/dist/tool/plugin/webfetch.js +117 -117
- package/dist/tool/plugin/websearch.js +118 -118
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +106 -106
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/console-access.d.ts +7 -0
- package/dist/types/instance.d.ts +2 -1
- package/dist/types/usage-limits.d.ts +103 -0
- package/dist/usage-limits.js +97 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +96 -96
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +93 -93
- package/dist/voice.js +89 -89
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +85 -85
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +93 -93
- package/dist/worktree.js +102 -102
- package/package.json +8 -8
- package/dist/chunks/file-retention-4t67gtqn.js +0 -257
- package/dist/chunks/file-retention-jztn5z23.js +0 -18
- package/dist/chunks/file-retention-q2x3hw9d.js +0 -26
- package/dist/chunks/file-retention-qegqjw48.js +0 -517
- /package/dist/chunks/{file-retention-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2bv980vf.js → wellknown-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-5fjb7ams.js → wellknown-5fjb7ams.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-84wd9syh.js → wellknown-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a058387c.js → wellknown-a058387c.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cqv5kn06.js → wellknown-cqv5kn06.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-dbztejgq.js → wellknown-dbztejgq.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e3qxr5gk.js → wellknown-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hcxmzztb.js → wellknown-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jze0r7bz.js → wellknown-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-m18g726c.js → wellknown-m18g726c.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-ve7vex1e.js → wellknown-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wjj7prxr.js → wellknown-wjj7prxr.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-5fjb7ams.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-91rj84md.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service85,
|
|
9
|
+
node89
|
|
10
|
+
} from "./wellknown-5cnbxcdc.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service83,
|
|
13
|
+
node87
|
|
14
|
+
} from "./wellknown-s9agp0wp.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-vd3b3yk9.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error2,
|
|
26
26
|
ID: () => ID4,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service41,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node44,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service41 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service85;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service83;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -152,14 +152,14 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
152
152
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
153
153
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service41.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
156
156
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
157
|
-
var
|
|
158
|
-
service:
|
|
157
|
+
var node44 = makeLocationNode({
|
|
158
|
+
service: Service41,
|
|
159
159
|
layer,
|
|
160
|
-
deps: [FSUtil.node,
|
|
160
|
+
deps: [FSUtil.node, node89, Global.node, node87]
|
|
161
161
|
});
|
|
162
|
-
var noopLayer2 = Layer.succeed(
|
|
162
|
+
var noopLayer2 = Layer.succeed(Service41, Service41.of({
|
|
163
163
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
164
164
|
reload: () => Effect.void,
|
|
165
165
|
capture: () => Effect.undefined,
|
|
@@ -177,4 +177,4 @@ function failure(operation, cause) {
|
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export { ID4, Error2,
|
|
180
|
+
export { ID4, Error2, Service41, node44, noopLayer2, exports_snapshot2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-kwd8yzj2.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service82
|
|
7
|
+
} from "./wellknown-m126rssb.js";
|
|
8
8
|
import {
|
|
9
9
|
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-5ch3p6j9.js";
|
|
12
12
|
import {
|
|
13
13
|
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-xm65v1c6.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -69,7 +69,7 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
72
|
+
const credentials = yield* Service82;
|
|
73
73
|
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./wellknown-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service66,
|
|
8
|
+
node68
|
|
9
|
+
} from "./wellknown-5sjqaaf3.js";
|
|
10
10
|
import {
|
|
11
11
|
Content3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-74jxnsy8.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-2z1j29yd.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
22
22
|
__export(exports_read_filesystem, {
|
|
23
23
|
BinaryFileError: () => BinaryFileError2,
|
|
24
24
|
FileContent: () => FileContent2,
|
|
25
|
-
ListEntry: () =>
|
|
25
|
+
ListEntry: () => ListEntry3,
|
|
26
26
|
ListPage: () => ListPage2,
|
|
27
27
|
MAX_MEDIA_INGEST_BYTES: () => MAX_MEDIA_INGEST_BYTES2,
|
|
28
28
|
MAX_READ_BYTES: () => MAX_READ_BYTES2,
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service34,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node38,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -101,20 +101,20 @@ class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
|
101
101
|
next: Schema.optionalKey(PositiveInt2)
|
|
102
102
|
}) {
|
|
103
103
|
}
|
|
104
|
-
var
|
|
104
|
+
var ListEntry3 = Schema.Struct({
|
|
105
105
|
path: RelativePath2,
|
|
106
106
|
type: Schema.Literals(["file", "directory", "symlink"])
|
|
107
107
|
}).annotate({ identifier: "ReadTool.ListEntry" });
|
|
108
108
|
|
|
109
109
|
class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
110
110
|
type: Schema.Literal("list-page"),
|
|
111
|
-
entries: Schema.Array(
|
|
111
|
+
entries: Schema.Array(ListEntry3),
|
|
112
112
|
truncated: Schema.Boolean,
|
|
113
113
|
next: Schema.optionalKey(PositiveInt2)
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service34 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -227,7 +227,7 @@ var list = (items, page) => {
|
|
|
227
227
|
const offset = page.offset || 1;
|
|
228
228
|
const limit = Math.min(page.limit || MAX_READ_LINES2, MAX_READ_LINES2);
|
|
229
229
|
const visible = items.flatMap((item) => item.type === "other" ? [] : [
|
|
230
|
-
|
|
230
|
+
ListEntry3.make({
|
|
231
231
|
path: RelativePath2.make(item.name + (item.type === "directory" ? path.sep : "")),
|
|
232
232
|
type: item.type
|
|
233
233
|
})
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service66;
|
|
335
|
+
return Service34.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node38 = makeLocationNode({ service: Service34, layer, deps: [node68] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service34, read2, node38, exports_read_filesystem };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name16,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-7jxwkttf.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-z38nccrw.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./wellknown-6gctnm3n.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./wellknown-m126rssb.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-vd3b3yk9.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-61ennm6n.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-jenkz3h9.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -38,15 +38,15 @@ __export(exports_integration, {
|
|
|
38
38
|
Event: () => Event17,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
40
|
ID: () => ID14,
|
|
41
|
-
Info: () =>
|
|
41
|
+
Info: () => Info24,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service80,
|
|
49
|
+
node: () => node84
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info24 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -107,14 +107,14 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service80 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service82;
|
|
117
|
+
const bus = yield* Service86;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info24.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service80.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node84 = makeLocationNode({
|
|
633
|
+
service: Service80,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node86, node90, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2,
|
|
638
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info24, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service80, node84, exports_integration, Event17 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-8jztxfpf.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-rb9dy4dg.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-sa3fpqfw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service85,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node89
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Cause, Context, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
|
|
@@ -100,9 +100,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
100
100
|
}) {
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service85 extends Context.Service()("@opencode/Git") {
|
|
104
104
|
}
|
|
105
|
-
var layer = Layer.effect(
|
|
105
|
+
var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
106
106
|
const fs = yield* FSUtil.Service;
|
|
107
107
|
const proc = yield* AppProcess.Service;
|
|
108
108
|
const locks = makeUnsafe2();
|
|
@@ -722,7 +722,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
722
722
|
kind: index === 0 ? "main" : "linked"
|
|
723
723
|
}));
|
|
724
724
|
});
|
|
725
|
-
return
|
|
725
|
+
return Service85.of({
|
|
726
726
|
repo: { discover, clone, create },
|
|
727
727
|
remote: { get: remote },
|
|
728
728
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -739,7 +739,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
739
739
|
objects: { pack: packObjects }
|
|
740
740
|
});
|
|
741
741
|
}));
|
|
742
|
-
var
|
|
742
|
+
var node89 = makeGlobalNode({ service: Service85, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
743
743
|
function run(cwd, proc, args) {
|
|
744
744
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
745
745
|
}
|
|
@@ -806,4 +806,4 @@ function resolvePath(cwd, value) {
|
|
|
806
806
|
return path.resolve(cwd, normalized);
|
|
807
807
|
}
|
|
808
808
|
|
|
809
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
809
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service85, node89, exports_git3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service68
|
|
4
|
+
} from "./wellknown-e6g5g1wq.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin46,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin46 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service68;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin15 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin46, exports_warming };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-8jztxfpf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service66,
|
|
6
|
+
node68
|
|
7
|
+
} from "./wellknown-5sjqaaf3.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
@@ -35,7 +35,7 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
37
|
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
38
|
-
const environment = yield*
|
|
38
|
+
const environment = yield* Service66;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -58,6 +58,6 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
58
58
|
})));
|
|
59
59
|
return Service13.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var node15 = makeLocationNode({ service: Service13, layer, deps: [
|
|
61
|
+
var node15 = makeLocationNode({ service: Service13, layer, deps: [node68] });
|
|
62
62
|
|
|
63
63
|
export { Service13, readText2, syncTextBom2, node15, exports_file_mutation };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-zkg84ctx.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-g5h9c0rr.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-b0mv4wxm.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-twv2r8f4.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service83,
|
|
18
|
+
node87
|
|
19
|
+
} from "./wellknown-s9agp0wp.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service67,
|
|
22
|
+
node69
|
|
23
|
+
} from "./wellknown-t2adjgr6.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service66,
|
|
33
|
+
node: () => node68
|
|
34
34
|
});
|
|
35
35
|
|
|
36
36
|
// src/environment/index.ts
|
|
@@ -39,13 +39,13 @@ __export(exports_environment3, {
|
|
|
39
39
|
Environment: () => exports_environment3,
|
|
40
40
|
Failed: () => Failed2,
|
|
41
41
|
NotFound: () => NotFound3,
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service66,
|
|
43
43
|
WrongKind: () => WrongKind2,
|
|
44
44
|
execDefaults: () => execDefaults2,
|
|
45
45
|
makeFiles: () => makeFiles2,
|
|
46
46
|
makeLocalDriver: () => makeLocalDriver2,
|
|
47
47
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
48
|
-
node: () =>
|
|
48
|
+
node: () => node68,
|
|
49
49
|
typeFollowing: () => typeFollowing2
|
|
50
50
|
});
|
|
51
51
|
|
|
@@ -61,19 +61,19 @@ var makeFiles2 = (driver) => ({
|
|
|
61
61
|
});
|
|
62
62
|
|
|
63
63
|
// src/environment/environment.ts
|
|
64
|
-
class
|
|
64
|
+
class Service66 extends Context.Service()("@opencode/Environment") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
66
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
67
67
|
const spawner = yield* ChildProcessSpawner;
|
|
68
|
-
const location = yield*
|
|
69
|
-
const workspace = yield*
|
|
68
|
+
const location = yield* Service83;
|
|
69
|
+
const workspace = yield* Service67;
|
|
70
70
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
71
|
-
return
|
|
71
|
+
return Service66.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
73
|
+
var node68 = makeLocationNode({
|
|
74
|
+
service: Service66,
|
|
75
75
|
layer,
|
|
76
|
-
deps: [CrossSpawnSpawner.node,
|
|
76
|
+
deps: [CrossSpawnSpawner.node, node87, node69]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export {
|
|
79
|
+
export { Service66, node68, exports_environment2, makeFiles2, exports_environment3 };
|