@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
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-7633k18y.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./snapshot-146q7e0b.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./snapshot-fp2kss3x.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-k814nvkf.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError10,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-5kbev7nh.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./snapshot-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
28
|
Service69
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./snapshot-4v48c47j.js";
|
|
30
30
|
import {
|
|
31
31
|
SyntheticPayload2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service53
|
|
33
|
+
} from "./snapshot-s4gp6xhn.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service51
|
|
36
|
+
} from "./snapshot-4kk5y41y.js";
|
|
37
37
|
import {
|
|
38
38
|
prepare2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./snapshot-75dns9y2.js";
|
|
40
40
|
import {
|
|
41
41
|
stage2,
|
|
42
42
|
clear2,
|
|
43
43
|
commit2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./snapshot-ks2yvdq8.js";
|
|
45
45
|
import {
|
|
46
46
|
start2
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./snapshot-kc3jq4k5.js";
|
|
48
48
|
import {
|
|
49
49
|
get4
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./snapshot-6zxm3gf7.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/session/session.ts
|
|
56
56
|
var exports_session2 = {};
|
|
57
57
|
__export(exports_session2, {
|
|
58
58
|
Session: () => exports_session2,
|
|
59
|
-
make: () =>
|
|
59
|
+
make: () => make13
|
|
60
60
|
});
|
|
61
61
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
62
62
|
import { Event } from "@opencode/schema/event";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
|
-
var
|
|
65
|
-
const bus = yield*
|
|
64
|
+
var make13 = Effect.fn("Session.make")(function* () {
|
|
65
|
+
const bus = yield* Service82;
|
|
66
66
|
const database = yield* Service86;
|
|
67
67
|
const store = yield* Service69;
|
|
68
|
-
const instances = yield*
|
|
69
|
-
const execution = yield*
|
|
70
|
-
const admission = yield*
|
|
68
|
+
const instances = yield* Service54;
|
|
69
|
+
const execution = yield* Service51;
|
|
70
|
+
const admission = yield* Service53;
|
|
71
71
|
const fs = yield* FSUtil.Service;
|
|
72
72
|
const scope = yield* Scope.Scope;
|
|
73
73
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
74
74
|
const session = yield* store.get(sessionID);
|
|
75
75
|
if (!session)
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new NotFoundError10({ sessionID });
|
|
77
77
|
return session;
|
|
78
78
|
});
|
|
79
79
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -146,7 +146,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
146
146
|
});
|
|
147
147
|
if (existing)
|
|
148
148
|
return existing;
|
|
149
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
149
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service54, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
150
150
|
if (session.revert)
|
|
151
151
|
yield* commit2(bus, session);
|
|
152
152
|
return yield* admission.admit({
|
|
@@ -162,7 +162,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
162
162
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
163
163
|
const session = yield* get(sessionID);
|
|
164
164
|
const running = yield* Effect.gen(function* () {
|
|
165
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
165
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service54, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
166
166
|
text: `User shell command failed to start:
|
|
167
167
|
${input.command}
|
|
168
168
|
|
|
@@ -191,7 +191,7 @@ ${error.message}`,
|
|
|
191
191
|
});
|
|
192
192
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
193
193
|
const session = yield* get(sessionID);
|
|
194
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
194
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service54, instances));
|
|
195
195
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
196
196
|
sessionID,
|
|
197
197
|
id: skill.id,
|
|
@@ -248,13 +248,13 @@ ${error.message}`,
|
|
|
248
248
|
const session = yield* get(sessionID);
|
|
249
249
|
if (yield* execution.isActive(sessionID))
|
|
250
250
|
return yield* new BusyError2({ sessionID });
|
|
251
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
251
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service54, instances), Effect.provideService(Service86, database), Effect.provideService(Service82, bus));
|
|
252
252
|
});
|
|
253
253
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
254
254
|
const session = yield* get(sessionID);
|
|
255
255
|
if (yield* execution.isActive(sessionID))
|
|
256
256
|
return yield* new BusyError2({ sessionID });
|
|
257
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
257
|
+
yield* clear2(session).pipe(Effect.provideService(Service54, instances), Effect.provideService(Service82, bus));
|
|
258
258
|
return yield* execution.wake(sessionID);
|
|
259
259
|
});
|
|
260
260
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -346,4 +346,4 @@ ${error.message}`,
|
|
|
346
346
|
return { forSession };
|
|
347
347
|
});
|
|
348
348
|
|
|
349
|
-
export {
|
|
349
|
+
export { make13, exports_session2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./snapshot-67pdg5mz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./snapshot-xajebrz9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service15
|
|
9
|
+
} from "./snapshot-6tjk5bs4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make3
|
|
12
|
+
} from "./snapshot-5crety7g.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-6pjqjmy2.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin9
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin9 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service59;
|
|
36
|
+
const formatter = yield* Service15;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service80;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -44,7 +44,7 @@ var Plugin35 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make3({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin9, exports_formatter };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./snapshot-c0jtyzjh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service59
|
|
9
|
+
} from "./snapshot-xajebrz9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service84,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-9ydy8fkm.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/module.ts
|
|
20
20
|
var exports_module = {};
|
|
21
21
|
__export(exports_module, {
|
|
22
22
|
LoadError: () => LoadError2,
|
|
23
23
|
PluginModule: () => exports_module,
|
|
24
|
-
make: () =>
|
|
24
|
+
make: () => make8
|
|
25
25
|
});
|
|
26
26
|
import { Host } from "@opencode/plugin/host";
|
|
27
27
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
30
30
|
import path from "path";
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
33
|
-
var
|
|
34
|
-
const config = yield*
|
|
35
|
-
const managed = yield*
|
|
36
|
-
const watcher = yield*
|
|
33
|
+
var make8 = Effect.fn("PluginModule.make")(function* () {
|
|
34
|
+
const config = yield* Service59;
|
|
35
|
+
const managed = yield* Service84;
|
|
36
|
+
const watcher = yield* Service60;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
118
118
|
};
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { make8, LoadError2, exports_module };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-skwwrjz6.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin47
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin47 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin47, exports_plan };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./snapshot-146q7e0b.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-y3g4yaer.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service74,
|
|
9
|
+
Event14
|
|
10
|
+
} from "./snapshot-p1nmqc4v.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -39,8 +39,8 @@ var NON_CHAT_TYPES = ["realtime", "embedding", "reranking"];
|
|
|
39
39
|
var ModelsDevPlugin2 = define({
|
|
40
40
|
id: "opencode.models.dev",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const modelsDev = yield*
|
|
43
|
-
const bus = yield*
|
|
42
|
+
const modelsDev = yield* Service74;
|
|
43
|
+
const bus = yield* Service82;
|
|
44
44
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
45
45
|
yield* ctx.integration.transform((integrations) => {
|
|
46
46
|
for (const provider of loaded.data) {
|
|
@@ -73,7 +73,7 @@ var ModelsDevPlugin2 = define({
|
|
|
73
73
|
loaded.data = snapshots(data);
|
|
74
74
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
75
75
|
};
|
|
76
|
-
yield* bus.subscribe(
|
|
76
|
+
yield* bus.subscribe(Event14.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
77
77
|
const latest = yield* modelsDev.get();
|
|
78
78
|
if (snapshots(latest) !== loaded.data)
|
|
79
79
|
yield* apply(latest);
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./snapshot-c0jtyzjh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./snapshot-67pdg5mz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service59
|
|
9
|
+
} from "./snapshot-xajebrz9.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-e5dqjz6v.js";
|
|
13
13
|
import {
|
|
14
14
|
File2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service42
|
|
16
|
+
} from "./snapshot-01ve1yxr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin15
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin15 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service42;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service59;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
|
-
const location = yield*
|
|
44
|
-
const watcher = yield*
|
|
43
|
+
const location = yield* Service80;
|
|
44
|
+
const watcher = yield* Service60;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -174,4 +174,4 @@ function isUrl(source) {
|
|
|
174
174
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
export {
|
|
177
|
+
export { Plugin15, exports_instruction };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node87
|
|
7
|
+
} from "./snapshot-791mgs72.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-bstexjd6.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service85,
|
|
16
|
+
node89
|
|
17
|
+
} from "./snapshot-rfwvsy21.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service44,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node47,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service44 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service83;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service85;
|
|
110
|
+
return Service44.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node47 = makeGlobalNode({
|
|
171
|
+
service: Service44,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node87, Global.node, node89]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service44, isError2, validateBranch2, node47, exports_repository_cache };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-7633k18y.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-e5dqjz6v.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-998yhzzq.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info4,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info4 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service32 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make20({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service86;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service32.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node36 = makeLocationNode({ service: Service32, layer, deps: [node90] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node36, exports_instruction_entry };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service54,
|
|
10
|
+
node: () => node57
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service54 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node57 = LayerNode.unbound(Service54, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service54, node57, exports_service2 };
|