@opencode/core 0.0.0-dev-21744 → 0.0.0-dev-21745
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{persistent-pty-m56xcexf.js → snapshot-01ve1yxr.js} +23 -23
- package/dist/chunks/{persistent-pty-034tev2y.js → snapshot-034tev2y.js} +2 -2
- package/dist/chunks/{persistent-pty-7rdhxjgc.js → snapshot-06efqm8m.js} +9 -9
- package/dist/chunks/{persistent-pty-f4cj6rne.js → snapshot-07c3528d.js} +35 -35
- package/dist/chunks/{persistent-pty-phrpk49a.js → snapshot-0k1j1wdr.js} +11 -11
- package/dist/chunks/{persistent-pty-6fet8kw9.js → snapshot-0kjrd2qd.js} +22 -22
- package/dist/chunks/{persistent-pty-zkgq49d1.js → snapshot-0p88zpcm.js} +4 -4
- package/dist/chunks/{persistent-pty-dm97zhd4.js → snapshot-0pchwhq8.js} +10 -10
- package/dist/chunks/{persistent-pty-jvgjeprd.js → snapshot-0v17xkyr.js} +8 -8
- package/dist/chunks/{persistent-pty-0rm6s08x.js → snapshot-0vn2ss9c.js} +2 -2
- package/dist/chunks/{persistent-pty-5pav4dzc.js → snapshot-146q7e0b.js} +12 -12
- package/dist/chunks/{persistent-pty-1ep2p91f.js → snapshot-1ep2p91f.js} +2 -2
- package/dist/chunks/{persistent-pty-wkmdz1mb.js → snapshot-1g4xnxab.js} +6 -6
- package/dist/chunks/{persistent-pty-81cr296g.js → snapshot-1nhpz7zk.js} +4 -4
- package/dist/chunks/{persistent-pty-d068nwqk.js → snapshot-1nqgcrc1.js} +45 -45
- package/dist/chunks/{persistent-pty-faewc6h3.js → snapshot-1vdntpm3.js} +5 -5
- package/dist/chunks/{persistent-pty-1x2knyw4.js → snapshot-1x2knyw4.js} +1 -1
- package/dist/chunks/{persistent-pty-1sxr849h.js → snapshot-22whgeeb.js} +18 -18
- package/dist/chunks/{persistent-pty-b5wrmqhk.js → snapshot-2njjtkdw.js} +15 -15
- package/dist/chunks/{persistent-pty-2z1j29yd.js → snapshot-2z1j29yd.js} +1 -1
- package/dist/chunks/{persistent-pty-gshxnf6j.js → snapshot-30ee3db1.js} +2 -2
- package/dist/chunks/{persistent-pty-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-3nnrz6f6.js → snapshot-3nnrz6f6.js} +1 -1
- package/dist/chunks/{persistent-pty-rmqe3ewt.js → snapshot-3qwxnent.js} +15 -15
- package/dist/chunks/{persistent-pty-ywtfgq8q.js → snapshot-3y5jkgnv.js} +11 -11
- package/dist/chunks/{persistent-pty-z1k5tgn5.js → snapshot-41peksc2.js} +11 -11
- package/dist/chunks/{persistent-pty-8ccrat7s.js → snapshot-49waears.js} +33 -33
- package/dist/chunks/snapshot-4a4jqpwz.js +257 -0
- package/dist/chunks/{persistent-pty-41sj8m6y.js → snapshot-4kk5y41y.js} +38 -38
- package/dist/chunks/{persistent-pty-4r8h05df.js → snapshot-4t0h3ecc.js} +3 -3
- package/dist/chunks/{persistent-pty-4v008n1t.js → snapshot-4v008n1t.js} +1 -1
- package/dist/chunks/{persistent-pty-bxhrky7s.js → snapshot-4v48c47j.js} +10 -10
- package/dist/chunks/{persistent-pty-4xvmh7wp.js → snapshot-4xvmh7wp.js} +3 -3
- package/dist/chunks/{persistent-pty-28xx6mqq.js → snapshot-4xz63ymp.js} +36 -36
- package/dist/chunks/{persistent-pty-jn8j44c7.js → snapshot-58rbgd2h.js} +22 -22
- package/dist/chunks/{persistent-pty-gt2ebmdc.js → snapshot-59t3c98x.js} +4 -4
- package/dist/chunks/{persistent-pty-y0fkhhn3.js → snapshot-5bn25yvx.js} +9 -9
- package/dist/chunks/{persistent-pty-pc1v25hk.js → snapshot-5crety7g.js} +3 -3
- package/dist/chunks/{persistent-pty-rxtgqbtn.js → snapshot-5js31cy8.js} +7 -7
- package/dist/chunks/{persistent-pty-zcz73n1t.js → snapshot-5kbev7nh.js} +6 -6
- package/dist/chunks/{persistent-pty-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-5nnwax6m.js → snapshot-5nnwax6m.js} +2 -2
- package/dist/chunks/{persistent-pty-e3qxr5gk.js → snapshot-5qd3pb7m.js} +2 -2
- package/dist/chunks/{persistent-pty-xtd8sqng.js → snapshot-5tnc4nbn.js} +21 -21
- package/dist/chunks/{persistent-pty-06ye6eb3.js → snapshot-5x10bg3a.js} +22 -22
- package/dist/chunks/{persistent-pty-1yq9hg58.js → snapshot-5zrxpy3q.js} +5 -5
- package/dist/chunks/{persistent-pty-st7enesy.js → snapshot-62w55z8x.js} +8 -8
- package/dist/chunks/{persistent-pty-zfyhjv3h.js → snapshot-67pdg5mz.js} +14 -14
- package/dist/chunks/{persistent-pty-2w4r60qq.js → snapshot-6e1r9k58.js} +13 -13
- package/dist/chunks/{persistent-pty-6esdw8yj.js → snapshot-6esdw8yj.js} +1 -1
- package/dist/chunks/{persistent-pty-h8nswts1.js → snapshot-6g24mm1y.js} +6 -6
- package/dist/chunks/{persistent-pty-1s0mnecd.js → snapshot-6hzzfs8d.js} +30 -30
- package/dist/chunks/{persistent-pty-0napkvzb.js → snapshot-6n1s1dfa.js} +7 -7
- package/dist/chunks/{persistent-pty-6pjqjmy2.js → snapshot-6pjqjmy2.js} +1 -1
- package/dist/chunks/{persistent-pty-fszm4xf1.js → snapshot-6tjk5bs4.js} +15 -15
- package/dist/chunks/{persistent-pty-mp8k340y.js → snapshot-6vh6abp7.js} +2 -2
- package/dist/chunks/{persistent-pty-5t3az672.js → snapshot-6zxm3gf7.js} +9 -9
- package/dist/chunks/{persistent-pty-b3yw44ee.js → snapshot-75dns9y2.js} +16 -16
- package/dist/chunks/{persistent-pty-y1kds4da.js → snapshot-7633k18y.js} +3 -3
- package/dist/chunks/{persistent-pty-76cb1hcw.js → snapshot-76cb1hcw.js} +1 -1
- package/dist/chunks/{persistent-pty-5gk89hyb.js → snapshot-791mgs72.js} +12 -12
- package/dist/chunks/{persistent-pty-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-dx717f1h.js → snapshot-7m8hecea.js} +18 -18
- package/dist/chunks/{persistent-pty-7w2ypzdf.js → snapshot-7w2ypzdf.js} +1 -1
- package/dist/chunks/{persistent-pty-ef2tezb6.js → snapshot-7yect7x1.js} +2 -2
- package/dist/chunks/{persistent-pty-y19asze6.js → snapshot-80pwfyqn.js} +16 -16
- package/dist/chunks/{persistent-pty-pcd58cha.js → snapshot-81sa6vvk.js} +17 -17
- package/dist/chunks/{persistent-pty-7y4z3x5j.js → snapshot-8f85gbek.js} +13 -13
- package/dist/chunks/{persistent-pty-86e8kg08.js → snapshot-8ny5g7zq.js} +19 -19
- package/dist/chunks/{persistent-pty-t98ck3nv.js → snapshot-8vvxxr3d.js} +26 -26
- package/dist/chunks/{persistent-pty-8wtp7s3z.js → snapshot-8wtp7s3z.js} +1 -1
- package/dist/chunks/{persistent-pty-qcbcpq9b.js → snapshot-8xa1336w.js} +68 -68
- package/dist/chunks/{persistent-pty-2sja5ejk.js → snapshot-8xmxx3r8.js} +24 -24
- package/dist/chunks/{persistent-pty-91rj84md.js → snapshot-91rj84md.js} +1 -1
- package/dist/chunks/{persistent-pty-xw8eq9f1.js → snapshot-96te9d4b.js} +5 -5
- package/dist/chunks/{persistent-pty-998yhzzq.js → snapshot-998yhzzq.js} +3 -3
- package/dist/chunks/{persistent-pty-mvb2bgyw.js → snapshot-99e1pwyw.js} +56 -56
- package/dist/chunks/{persistent-pty-7a6h672n.js → snapshot-9bqzx224.js} +28 -28
- package/dist/chunks/{persistent-pty-xgw47nx1.js → snapshot-9ekt8wk3.js} +1 -1
- package/dist/chunks/{persistent-pty-kb4gstwj.js → snapshot-9g4cv0f3.js} +5 -5
- package/dist/chunks/{persistent-pty-g1448m63.js → snapshot-9jfbssnq.js} +13 -13
- package/dist/chunks/{persistent-pty-g3z36636.js → snapshot-9pjcyyyz.js} +42 -42
- package/dist/chunks/{persistent-pty-95e9m93s.js → snapshot-9xvj91tm.js} +32 -32
- package/dist/chunks/{persistent-pty-xyv3ye4h.js → snapshot-9ydy8fkm.js} +10 -10
- package/dist/chunks/{persistent-pty-bt0t07qj.js → snapshot-a5qg0yvf.js} +11 -11
- package/dist/chunks/snapshot-a610t88q.js +18 -0
- package/dist/chunks/{persistent-pty-jt1mpbrn.js → snapshot-a8azxzn2.js} +29 -29
- package/dist/chunks/{persistent-pty-qqg9c0kv.js → snapshot-an558sqv.js} +4 -4
- package/dist/chunks/{persistent-pty-ayjs7tqn.js → snapshot-ayjs7tqn.js} +2 -2
- package/dist/chunks/{persistent-pty-b0mv4wxm.js → snapshot-b0mv4wxm.js} +2 -2
- package/dist/chunks/{persistent-pty-p6xa5pr1.js → snapshot-b5g8zywb.js} +3 -3
- package/dist/chunks/{persistent-pty-34sg93nd.js → snapshot-bcey06z6.js} +33 -33
- package/dist/chunks/{persistent-pty-bjhzkqyk.js → snapshot-bjhzkqyk.js} +1 -1
- package/dist/chunks/{persistent-pty-22nay2w2.js → snapshot-bjk9yhz6.js} +21 -21
- package/dist/chunks/{persistent-pty-797shz3x.js → snapshot-bkh5f3ma.js} +4 -4
- package/dist/chunks/{persistent-pty-tm64snjr.js → snapshot-brpe5pm9.js} +1 -1
- package/dist/chunks/{persistent-pty-bstexjd6.js → snapshot-bstexjd6.js} +1 -1
- package/dist/chunks/{persistent-pty-vvh376nc.js → snapshot-bzhcfbtm.js} +33 -33
- package/dist/chunks/{persistent-pty-fk3tbwms.js → snapshot-c0jtyzjh.js} +20 -20
- package/dist/chunks/{persistent-pty-ft0wh87x.js → snapshot-c1ny7psb.js} +13 -13
- package/dist/chunks/{persistent-pty-c3cfh5w6.js → snapshot-c3cfh5w6.js} +2 -2
- package/dist/chunks/{persistent-pty-77wcnkh0.js → snapshot-c547q8a8.js} +3 -3
- package/dist/chunks/{persistent-pty-tdc7za5y.js → snapshot-c63yzxyg.js} +11 -11
- package/dist/chunks/{persistent-pty-n3ktk7aw.js → snapshot-c76bvptd.js} +13 -13
- package/dist/chunks/{persistent-pty-1x1aw5pg.js → snapshot-cbdaszja.js} +23 -23
- package/dist/chunks/snapshot-cyy23x7w.js +517 -0
- package/dist/chunks/{persistent-pty-ejef0twz.js → snapshot-d2121cgz.js} +12 -12
- package/dist/chunks/{persistent-pty-ssfehs1z.js → snapshot-d2887f8n.js} +4 -4
- package/dist/chunks/{persistent-pty-5fmnhnpa.js → snapshot-d4txh1kp.js} +32 -32
- package/dist/chunks/{persistent-pty-d4v9tmah.js → snapshot-d4v9tmah.js} +2 -2
- package/dist/chunks/{persistent-pty-5jdy5dqf.js → snapshot-d69d80k0.js} +11 -11
- package/dist/chunks/{persistent-pty-ywqrvznk.js → snapshot-dak4ewys.js} +35 -35
- package/dist/chunks/{persistent-pty-edkmkvd1.js → snapshot-damdxvc5.js} +30 -30
- package/dist/chunks/{persistent-pty-g9ndtp1p.js → snapshot-dds9zz6p.js} +4 -4
- package/dist/chunks/{persistent-pty-67efwznc.js → snapshot-dhn570bz.js} +2 -2
- package/dist/chunks/{persistent-pty-0421tmwc.js → snapshot-dz8hhvgv.js} +9 -9
- package/dist/chunks/{persistent-pty-jneg3k74.js → snapshot-e5dqjz6v.js} +4 -4
- package/dist/chunks/{persistent-pty-e834z07m.js → snapshot-e834z07m.js} +1 -1
- package/dist/chunks/{persistent-pty-9r7t50b7.js → snapshot-ed24c9s1.js} +28 -28
- package/dist/chunks/{persistent-pty-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-q5fas5yh.js → snapshot-epqefa0z.js} +5 -5
- package/dist/chunks/{persistent-pty-z8wtpd65.js → snapshot-erw1a2px.js} +14 -14
- package/dist/chunks/{persistent-pty-td5g3jt1.js → snapshot-ew333j68.js} +33 -33
- package/dist/chunks/{persistent-pty-b3xh8pxk.js → snapshot-f3zns29m.js} +17 -17
- package/dist/chunks/{persistent-pty-b07vwb4h.js → snapshot-f4p1w2yj.js} +14 -14
- package/dist/chunks/{persistent-pty-cp9n3ykm.js → snapshot-f5pnm9ht.js} +5 -5
- package/dist/chunks/{persistent-pty-7n4p8fby.js → snapshot-fagjz3hv.js} +9 -9
- package/dist/chunks/{persistent-pty-fffv3p7h.js → snapshot-fffv3p7h.js} +1 -1
- package/dist/chunks/{persistent-pty-ehs73kjs.js → snapshot-fjdpkb6n.js} +17 -17
- package/dist/chunks/{persistent-pty-jpk6pjf6.js → snapshot-fk87wxfh.js} +20 -20
- package/dist/chunks/{persistent-pty-pgvk0yt9.js → snapshot-fkdm3x4n.js} +15 -15
- package/dist/chunks/{persistent-pty-c4phwmq5.js → snapshot-fp2kss3x.js} +6 -6
- package/dist/chunks/{persistent-pty-h65t1svj.js → snapshot-frncqm0b.js} +24 -24
- package/dist/chunks/{persistent-pty-q5dphz2y.js → snapshot-ftzbw7kw.js} +9 -9
- package/dist/chunks/{persistent-pty-w687dnns.js → snapshot-fznmdakp.js} +4 -4
- package/dist/chunks/{persistent-pty-g5h9c0rr.js → snapshot-g5h9c0rr.js} +2 -2
- package/dist/chunks/{persistent-pty-v4aer5v9.js → snapshot-gkwb1x3r.js} +32 -32
- package/dist/chunks/{persistent-pty-nck0by46.js → snapshot-gs87y69e.js} +25 -25
- package/dist/chunks/{persistent-pty-z7nbqrf3.js → snapshot-gxj7r0cm.js} +4 -4
- package/dist/chunks/{persistent-pty-a4se2td7.js → snapshot-gxket47c.js} +18 -18
- package/dist/chunks/{persistent-pty-s4q2zy2p.js → snapshot-gxrd13cp.js} +148 -148
- package/dist/chunks/{persistent-pty-w8k0m0ac.js → snapshot-h740tfnc.js} +8 -8
- package/dist/chunks/{persistent-pty-37ebxhrk.js → snapshot-henamrq6.js} +27 -27
- package/dist/chunks/{persistent-pty-gt6rtydt.js → snapshot-hp1h3ap0.js} +11 -11
- package/dist/chunks/{persistent-pty-5pdz8c62.js → snapshot-hvbtf1fc.js} +3 -3
- package/dist/chunks/{persistent-pty-tg1vr1qt.js → snapshot-hw621kav.js} +8 -8
- package/dist/chunks/{persistent-pty-56xpzs9c.js → snapshot-hx3mz2q2.js} +8 -8
- package/dist/chunks/{persistent-pty-tqam9rzv.js → snapshot-hyg60882.js} +27 -27
- package/dist/chunks/{persistent-pty-vwdcv50m.js → snapshot-j0mfwgby.js} +24 -24
- package/dist/chunks/{persistent-pty-j113cymg.js → snapshot-j113cymg.js} +1 -1
- package/dist/chunks/{persistent-pty-4epsaaqh.js → snapshot-j368hqxn.js} +46 -46
- package/dist/chunks/{persistent-pty-v355h3zv.js → snapshot-jaqz1j5c.js} +10 -10
- package/dist/chunks/{persistent-pty-rdatjt93.js → snapshot-jcvhz0ne.js} +5 -5
- package/dist/chunks/{persistent-pty-fpsgw1gs.js → snapshot-jevs3q22.js} +6 -6
- package/dist/chunks/{persistent-pty-31avdb49.js → snapshot-jj9caqwr.js} +11 -11
- package/dist/chunks/{persistent-pty-55xtcbpn.js → snapshot-jxffhsbt.js} +21 -21
- package/dist/chunks/{persistent-pty-z6zbh2d4.js → snapshot-jy35taan.js} +24 -24
- package/dist/chunks/{persistent-pty-jaa51j8b.js → snapshot-k4a9rn7k.js} +29 -29
- package/dist/chunks/{persistent-pty-yagn4zf7.js → snapshot-k5q8ak4g.js} +15 -15
- package/dist/chunks/{persistent-pty-k814nvkf.js → snapshot-k814nvkf.js} +1 -1
- package/dist/chunks/{persistent-pty-70kc41j2.js → snapshot-k8hjh5qf.js} +15 -15
- package/dist/chunks/{persistent-pty-vw0t75j9.js → snapshot-k8repwgk.js} +34 -34
- package/dist/chunks/{persistent-pty-ddabbtyq.js → snapshot-kc3jq4k5.js} +9 -9
- package/dist/chunks/{persistent-pty-v0j7h7ag.js → snapshot-kfbj1vfn.js} +13 -13
- package/dist/chunks/{persistent-pty-664py638.js → snapshot-kk6qbz20.js} +12 -12
- package/dist/chunks/{persistent-pty-yncd7x1f.js → snapshot-ks2yvdq8.js} +19 -19
- package/dist/chunks/{persistent-pty-tk8b4vaq.js → snapshot-kv3e8w2a.js} +4 -4
- package/dist/chunks/{persistent-pty-3gv0spa2.js → snapshot-ky596kc3.js} +4 -4
- package/dist/chunks/{persistent-pty-b6rq8t5k.js → snapshot-ky5h0dy4.js} +10 -10
- package/dist/chunks/{persistent-pty-m1714858.js → snapshot-m1714858.js} +1 -1
- package/dist/chunks/{persistent-pty-s8fhqc85.js → snapshot-m8nqxsmt.js} +20 -20
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-maspj1v3.js → snapshot-maspj1v3.js} +1 -1
- package/dist/chunks/{persistent-pty-q5j3x1t5.js → snapshot-mbvkkv9q.js} +4 -4
- package/dist/chunks/{persistent-pty-n0p0277s.js → snapshot-n0p0277s.js} +1 -1
- package/dist/chunks/{persistent-pty-8je04gjc.js → snapshot-n3q07mde.js} +8 -8
- package/dist/chunks/{persistent-pty-8wc2fpae.js → snapshot-n6v2b7cw.js} +5 -5
- package/dist/chunks/{persistent-pty-vrcsa8qx.js → snapshot-n7bnkb3p.js} +9 -9
- package/dist/chunks/{persistent-pty-ce3j1brk.js → snapshot-n95zghxh.js} +1 -1
- package/dist/chunks/{persistent-pty-770pw0s1.js → snapshot-nah043kf.js} +4 -4
- package/dist/chunks/{persistent-pty-dg56bc3d.js → snapshot-nb2pkzvt.js} +9 -9
- package/dist/chunks/{persistent-pty-58hfgte4.js → snapshot-nca90r8m.js} +17 -17
- package/dist/chunks/{persistent-pty-cpnm63yh.js → snapshot-nnbr5qt6.js} +16 -16
- package/dist/chunks/{persistent-pty-p015t6z3.js → snapshot-p015t6z3.js} +2 -2
- package/dist/chunks/{persistent-pty-5859qd6n.js → snapshot-p0z6e7n7.js} +13 -13
- package/dist/chunks/{persistent-pty-8fpr5ab5.js → snapshot-p180b23n.js} +18 -18
- package/dist/chunks/{persistent-pty-4ty1vvqa.js → snapshot-p1nmqc4v.js} +34 -34
- package/dist/chunks/{persistent-pty-82jsxv0a.js → snapshot-p1qgn14a.js} +9 -9
- package/dist/chunks/{persistent-pty-46e84wtw.js → snapshot-p2y5jf41.js} +19 -19
- package/dist/chunks/{persistent-pty-hq18ybh7.js → snapshot-p9pds4nr.js} +8 -8
- package/dist/chunks/{persistent-pty-814m6n4n.js → snapshot-pbdpbsbw.js} +3 -3
- package/dist/chunks/{persistent-pty-t9bqp2qp.js → snapshot-pbnk69jw.js} +11 -11
- package/dist/chunks/{persistent-pty-w9jkftfk.js → snapshot-pcc0bmtm.js} +24 -24
- package/dist/chunks/{persistent-pty-wxpkhmem.js → snapshot-pg6c20a0.js} +14 -14
- package/dist/chunks/{persistent-pty-mwn61fym.js → snapshot-pgbwge99.js} +29 -29
- package/dist/chunks/{persistent-pty-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/snapshot-ps2yext1.js +26 -0
- package/dist/chunks/{persistent-pty-xen1jppb.js → snapshot-pyka91yh.js} +18 -18
- package/dist/chunks/{persistent-pty-5ynz4802.js → snapshot-pyr79hg3.js} +12 -12
- package/dist/chunks/{persistent-pty-3meb4hzg.js → snapshot-q110d9ad.js} +22 -22
- package/dist/chunks/{persistent-pty-v3az1vww.js → snapshot-q6swskfy.js} +46 -46
- package/dist/chunks/{persistent-pty-0632eqgh.js → snapshot-qgt613xz.js} +3 -3
- package/dist/chunks/{persistent-pty-vkgkh0jz.js → snapshot-qhacjaam.js} +2 -2
- package/dist/chunks/{persistent-pty-qjgzc4b4.js → snapshot-qjgzc4b4.js} +1 -1
- package/dist/chunks/{persistent-pty-dzx8s7jj.js → snapshot-qrnt2mf5.js} +37 -37
- package/dist/chunks/{persistent-pty-yhtma1qk.js → snapshot-qt0rakd9.js} +7 -7
- package/dist/chunks/{persistent-pty-8k8pzbp4.js → snapshot-qz087kyw.js} +8 -8
- package/dist/chunks/{persistent-pty-r0yr0wbs.js → snapshot-r0yr0wbs.js} +1 -1
- package/dist/chunks/{persistent-pty-syp495bw.js → snapshot-r1nmjmkp.js} +11 -11
- package/dist/chunks/{persistent-pty-4n958r4n.js → snapshot-r3t0nk92.js} +11 -11
- package/dist/chunks/{persistent-pty-r6wgv8c9.js → snapshot-r6wgv8c9.js} +2 -2
- package/dist/chunks/{persistent-pty-c29kbh88.js → snapshot-r83r493t.js} +16 -16
- package/dist/chunks/{persistent-pty-5r72z9dp.js → snapshot-r8f6rk3c.js} +5 -5
- package/dist/chunks/{persistent-pty-rb9dy4dg.js → snapshot-rb9dy4dg.js} +1 -1
- package/dist/chunks/{persistent-pty-2h4s3pty.js → snapshot-rfwvsy21.js} +10 -10
- package/dist/chunks/{persistent-pty-873dcxyb.js → snapshot-rh14b8v9.js} +14 -14
- package/dist/chunks/{persistent-pty-6zrn44nt.js → snapshot-rsgnsn16.js} +25 -25
- package/dist/chunks/{persistent-pty-rt5dr6hb.js → snapshot-rt5dr6hb.js} +1 -1
- package/dist/chunks/{persistent-pty-q00mhad8.js → snapshot-rtza7ceg.js} +20 -20
- package/dist/chunks/{persistent-pty-d5w3mt28.js → snapshot-rvyv8nvn.js} +47 -47
- package/dist/chunks/{persistent-pty-v1t6vrbj.js → snapshot-rwppv50t.js} +27 -27
- package/dist/chunks/{persistent-pty-2vpteqgm.js → snapshot-s4gp6xhn.js} +27 -27
- package/dist/chunks/{persistent-pty-6swdm730.js → snapshot-s7v4tzf9.js} +11 -11
- package/dist/chunks/{persistent-pty-0684c0fn.js → snapshot-skwwrjz6.js} +47 -47
- package/dist/chunks/{persistent-pty-sqjzf8x2.js → snapshot-sqjzf8x2.js} +1 -1
- package/dist/chunks/{persistent-pty-ye9estr6.js → snapshot-stzta4q0.js} +15 -15
- package/dist/chunks/{persistent-pty-h3a8j4mf.js → snapshot-sxs6dstq.js} +11 -11
- package/dist/chunks/{persistent-pty-xpsr6m59.js → snapshot-t0n1m2fz.js} +75 -75
- package/dist/chunks/{persistent-pty-hty8fpa1.js → snapshot-t4jqr6z5.js} +10 -10
- package/dist/chunks/{persistent-pty-c8666r4c.js → snapshot-tasvem1v.js} +6 -6
- package/dist/chunks/{persistent-pty-tczq8hjw.js → snapshot-tczq8hjw.js} +1 -1
- package/dist/chunks/{persistent-pty-217xj7j6.js → snapshot-teer94dd.js} +21 -21
- package/dist/chunks/{persistent-pty-czrs21h8.js → snapshot-tej0rhj5.js} +22 -22
- package/dist/chunks/{persistent-pty-qf1w2vm3.js → snapshot-tjbpd8jx.js} +17 -17
- package/dist/chunks/{persistent-pty-aa2f750d.js → snapshot-tqxvqvy9.js} +20 -20
- package/dist/chunks/{persistent-pty-1ec99x82.js → snapshot-tvw5eq5w.js} +4 -4
- package/dist/chunks/{persistent-pty-tw8zr1ps.js → snapshot-tw8zr1ps.js} +1 -1
- package/dist/chunks/{persistent-pty-twv2r8f4.js → snapshot-twv2r8f4.js} +2 -2
- package/dist/chunks/{persistent-pty-mpsk2kx1.js → snapshot-v2k3kh21.js} +14 -14
- package/dist/chunks/{persistent-pty-v2r1d0zg.js → snapshot-v2r1d0zg.js} +1 -1
- package/dist/chunks/{persistent-pty-wk5gspz5.js → snapshot-v67055n8.js} +14 -14
- package/dist/chunks/{persistent-pty-vd3b3yk9.js → snapshot-vd3b3yk9.js} +1 -1
- package/dist/chunks/{persistent-pty-nf3vvj52.js → snapshot-veg4raah.js} +50 -50
- package/dist/chunks/{persistent-pty-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-gg4d4fs9.js → snapshot-vkc62rge.js} +13 -13
- package/dist/chunks/{persistent-pty-vmfhgzt5.js → snapshot-vmfhgzt5.js} +1 -1
- package/dist/chunks/{persistent-pty-xkhfjrgz.js → snapshot-vpm8vpz0.js} +3 -3
- package/dist/chunks/{persistent-pty-bqwdyg2t.js → snapshot-vzmjdaw1.js} +9 -9
- package/dist/chunks/{persistent-pty-40za9wsf.js → snapshot-w2eysc6j.js} +9 -9
- package/dist/chunks/{persistent-pty-45sfs8sj.js → snapshot-w2frxgzv.js} +91 -91
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-rc1szs54.js → snapshot-w71sye8r.js} +6 -6
- package/dist/chunks/{persistent-pty-wakvkjy4.js → snapshot-wakvkjy4.js} +1 -1
- package/dist/chunks/{persistent-pty-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-drtz06md.js → snapshot-wfa3pkfz.js} +20 -20
- package/dist/chunks/{persistent-pty-v0t96s7a.js → snapshot-wqscedq8.js} +9 -9
- package/dist/chunks/{persistent-pty-04weq3x2.js → snapshot-wrj7qkae.js} +1 -1
- package/dist/chunks/{persistent-pty-dpj9egcy.js → snapshot-x453mv9b.js} +28 -28
- package/dist/chunks/{persistent-pty-32wt4071.js → snapshot-x9s9q40r.js} +33 -33
- package/dist/chunks/{persistent-pty-0h92kc2j.js → snapshot-xajebrz9.js} +47 -47
- package/dist/chunks/{persistent-pty-21shbp3c.js → snapshot-xfzdx1cq.js} +1 -1
- package/dist/chunks/{persistent-pty-7w9zqejt.js → snapshot-xh9mmxn9.js} +6 -6
- package/dist/chunks/{persistent-pty-vmt9aa9x.js → snapshot-xqya8bhb.js} +24 -24
- package/dist/chunks/{persistent-pty-h6ss1yxx.js → snapshot-xyjma05j.js} +9 -9
- package/dist/chunks/{persistent-pty-nfx626fp.js → snapshot-y3g4yaer.js} +21 -21
- package/dist/chunks/{persistent-pty-s463agb3.js → snapshot-y3rgpzve.js} +21 -21
- package/dist/chunks/{persistent-pty-yb20nhc3.js → snapshot-yb20nhc3.js} +1 -1
- package/dist/chunks/{persistent-pty-2gxrk7d9.js → snapshot-yc89j42n.js} +10 -10
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-rp07j1kz.js → snapshot-z0h4wvmy.js} +16 -16
- package/dist/chunks/{persistent-pty-s70gc4nz.js → snapshot-z1v7eazc.js} +24 -24
- package/dist/chunks/{persistent-pty-z38nccrw.js → snapshot-z38nccrw.js} +1 -1
- package/dist/chunks/{persistent-pty-hkex4stx.js → snapshot-z642n2d8.js} +6 -6
- package/dist/chunks/{persistent-pty-rd6jf492.js → snapshot-z6p19xhz.js} +20 -20
- package/dist/chunks/{persistent-pty-rv6cja6k.js → snapshot-zedte0ep.js} +13 -13
- package/dist/chunks/{persistent-pty-zkg84ctx.js → snapshot-zkg84ctx.js} +1 -1
- package/dist/chunks/{persistent-pty-eab1f0bk.js → snapshot-zndjfy4q.js} +4 -4
- package/dist/chunks/{persistent-pty-rhz1gb3z.js → snapshot-zng1ess9.js} +12 -12
- package/dist/chunks/{persistent-pty-w1rc0f0t.js → snapshot-znnhxh9a.js} +14 -14
- package/dist/chunks/{persistent-pty-xxgpgb2s.js → snapshot-zpn8gsta.js} +36 -36
- package/dist/chunks/{persistent-pty-z64y35xa.js → snapshot-zv5q208p.js} +3 -3
- package/dist/chunks/{persistent-pty-a2w9rrzy.js → snapshot-zy2m570x.js} +11 -11
- 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 +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +89 -89
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +157 -157
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +96 -96
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +160 -160
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -102
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +135 -135
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +109 -109
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-3n162ras.js +0 -257
- package/dist/chunks/persistent-pty-eeqys4qb.js +0 -26
- package/dist/chunks/persistent-pty-mft421xc.js +0 -517
- package/dist/chunks/persistent-pty-vdh3rgac.js +0 -18
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5fjb7ams.js → snapshot-5fjb7ams.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a058387c.js → snapshot-a058387c.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-pkyv6v7h.js → snapshot-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wjj7prxr.js → snapshot-wjj7prxr.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node83
|
|
9
|
+
} from "./snapshot-67pdg5mz.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service37,
|
|
12
|
+
node40
|
|
13
|
+
} from "./snapshot-jy35taan.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -24,17 +24,17 @@ __export(exports_filesystem, {
|
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event4,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
33
|
NotFoundError: () => NotFoundError4,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service36,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node39
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event4 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service36 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service36, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const search = yield*
|
|
101
|
+
const location = yield* Service80;
|
|
102
|
+
const search = yield* Service37;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -118,7 +118,7 @@ var baseLayer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
118
118
|
return yield* Effect.fail(new NotFoundError4({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service36.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
158
158
|
})
|
|
159
159
|
});
|
|
160
160
|
}));
|
|
161
|
-
var
|
|
162
|
-
service:
|
|
161
|
+
var node39 = makeLocationNode({
|
|
162
|
+
service: Service36,
|
|
163
163
|
layer: baseLayer,
|
|
164
|
-
deps: [FSUtil.node,
|
|
164
|
+
deps: [FSUtil.node, node83, node40]
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
export { FindInput2, Write2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2,
|
|
167
|
+
export { FindInput2, Write2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service36, node39, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node83
|
|
7
|
+
} from "./snapshot-67pdg5mz.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service43,
|
|
10
|
+
node46
|
|
11
|
+
} from "./snapshot-pyka91yh.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-76cb1hcw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service37,
|
|
25
25
|
configured: () => configured4,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node40
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
import path from "path";
|
|
@@ -32,7 +32,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
32
32
|
import { Fff } from "#fff";
|
|
33
33
|
import fuzzysort from "fuzzysort";
|
|
34
34
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
35
|
-
class
|
|
35
|
+
class Service37 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
36
36
|
}
|
|
37
37
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
38
38
|
function emptyIndex() {
|
|
@@ -51,9 +51,9 @@ function search(index, input) {
|
|
|
51
51
|
});
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
var ripgrepLayer = Layer.effect(
|
|
55
|
-
const location = yield*
|
|
56
|
-
const ripgrep = yield*
|
|
54
|
+
var ripgrepLayer = Layer.effect(Service37, Effect.gen(function* () {
|
|
55
|
+
const location = yield* Service80;
|
|
56
|
+
const ripgrep = yield* Service43;
|
|
57
57
|
const scope = yield* Scope.Scope;
|
|
58
58
|
const clock = yield* Clock.Clock;
|
|
59
59
|
const home = isHome2(location.directory);
|
|
@@ -98,15 +98,15 @@ var ripgrepLayer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
98
98
|
Deferred.doneUnsafe(attempt, exit);
|
|
99
99
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
100
100
|
});
|
|
101
|
-
return
|
|
101
|
+
return Service37.of({
|
|
102
102
|
find: (input) => Effect.gen(function* () {
|
|
103
103
|
yield* refresh;
|
|
104
104
|
return search(index, input);
|
|
105
105
|
})
|
|
106
106
|
});
|
|
107
107
|
}));
|
|
108
|
-
var fffLayer2 = Layer.effect(
|
|
109
|
-
const location = yield*
|
|
108
|
+
var fffLayer2 = Layer.effect(Service37, Effect.gen(function* () {
|
|
109
|
+
const location = yield* Service80;
|
|
110
110
|
const result = yield* Effect.try({
|
|
111
111
|
try: () => Fff.create({
|
|
112
112
|
basePath: location.directory,
|
|
@@ -119,12 +119,12 @@ var fffLayer2 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
119
119
|
if (!result?.ok) {
|
|
120
120
|
if (result)
|
|
121
121
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
122
|
-
return
|
|
122
|
+
return Service37.of({
|
|
123
123
|
find: () => Effect.succeed([])
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
127
|
-
return
|
|
127
|
+
return Service37.of({
|
|
128
128
|
find: (input) => Effect.sync(() => {
|
|
129
129
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
130
130
|
const items = (() => {
|
|
@@ -168,7 +168,7 @@ var fffLayer2 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
170
|
var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
171
|
-
const location = yield*
|
|
171
|
+
const location = yield* Service80;
|
|
172
172
|
if (location.workspaceID)
|
|
173
173
|
return ripgrepLayer;
|
|
174
174
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
@@ -176,8 +176,8 @@ var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
176
176
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
177
177
|
}));
|
|
178
178
|
function configured4(options) {
|
|
179
|
-
return makeLocationNode({ service:
|
|
179
|
+
return makeLocationNode({ service: Service37, layer: layer(options), deps: [node83, node46] });
|
|
180
180
|
}
|
|
181
|
-
var
|
|
181
|
+
var node40 = configured4();
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { Service37, fffLayer2, configured4, node40, exports_search };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./snapshot-67pdg5mz.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./snapshot-xqya8bhb.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service43
|
|
16
|
+
} from "./snapshot-pyka91yh.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-jxffhsbt.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service67
|
|
26
|
+
} from "./snapshot-skwwrjz6.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service13
|
|
29
|
+
} from "./snapshot-gxket47c.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
39
|
Output: () => Output8,
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
40
|
+
Plugin: () => Plugin33,
|
|
41
|
+
name: () => name12,
|
|
42
42
|
toModelContent: () => toModelContent6
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name12 = "grep";
|
|
48
|
+
var Input12 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin33 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service49;
|
|
90
|
+
const ripgrep = yield* Service43;
|
|
91
|
+
const location = yield* Service80;
|
|
92
|
+
const access = yield* Service13;
|
|
93
|
+
const permission = yield* Service67;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name12,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
98
|
+
input: Input12,
|
|
99
99
|
output: Output8,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name12,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -154,4 +154,4 @@ var Plugin28 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name12, Input12, Output8, toModelContent6, Plugin33, exports_grep };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Info7,
|
|
6
6
|
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-pcc0bmtm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service59
|
|
11
|
+
} from "./snapshot-xajebrz9.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin48,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -430,19 +430,19 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
430
|
var ReportContent2 = report_default;
|
|
431
431
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
432
432
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
433
|
-
var
|
|
433
|
+
var Plugin48 = define({
|
|
434
434
|
id: "opencode.skill",
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
438
|
+
editor.add(Info7.make({
|
|
439
439
|
id: ID4.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
442
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
|
-
editor.add(
|
|
445
|
+
editor.add(Info7.make({
|
|
446
446
|
id: ID4.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
472
|
`);
|
|
473
473
|
});
|
|
474
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service59;
|
|
476
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
477
|
});
|
|
478
478
|
function terminal() {
|
|
@@ -486,4 +486,4 @@ function shell() {
|
|
|
486
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin48, exports_skill3 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service49,
|
|
8
|
+
node52
|
|
9
|
+
} from "./snapshot-xqya8bhb.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-jxffhsbt.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-2z1j29yd.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -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: () => Service29,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node32,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service29 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 = {}) {
|
|
@@ -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(Service29, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service49;
|
|
335
|
+
return Service29.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 node32 = makeLocationNode({ service: Service29, layer, deps: [node52] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service29, read2, node32, exports_read_filesystem };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service85,
|
|
3
|
-
node89
|
|
4
|
-
} from "./persistent-pty-5pav4dzc.js";
|
|
5
1
|
import {
|
|
6
2
|
Service82,
|
|
7
3
|
node86
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./snapshot-146q7e0b.js";
|
|
5
|
+
import {
|
|
6
|
+
Service80,
|
|
7
|
+
node83
|
|
8
|
+
} from "./snapshot-67pdg5mz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service62,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node65
|
|
13
|
+
} from "./snapshot-rtza7ceg.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
24
|
CreateInput: () => CreateInput2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event9,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID6,
|
|
28
|
+
Info: () => Info15,
|
|
29
|
+
NotFoundError: () => NotFoundError7,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service61,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node64
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event9 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var ID6 = Pty.ID;
|
|
43
|
+
var Info15 = Pty.Info;
|
|
44
44
|
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError7 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID6
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID6
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service61 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
60
|
-
const bus = yield*
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
59
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
60
|
+
const bus = yield* Service82;
|
|
61
|
+
const location = yield* Service80;
|
|
62
|
+
const shell = yield* Service62;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError7({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID6.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service61.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node64 = makeLocationNode({
|
|
273
|
+
service: Service61,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node86, node83, node65]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID6, Info15, CreateInput2, UpdateInput2, NotFoundError7, ExitedError2, Service61, node64, exports_pty, Event9 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./snapshot-fp2kss3x.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-a610t88q.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service46
|
|
9
|
+
} from "./snapshot-1nqgcrc1.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-k814nvkf.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service54;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service46), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|