@opencode/core 0.0.0-dev-20265 → 0.0.0-dev-20271
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{instruction-discovery-4m2ax75s.js → schema-02fx2esq.js} +9 -9
- package/dist/chunks/{instruction-discovery-kjk4f8se.js → schema-03rhqhz8.js} +16 -16
- package/dist/chunks/{instruction-discovery-xj9hgx3w.js → schema-0455hjbt.js} +44 -44
- package/dist/chunks/{instruction-discovery-hbs2xy63.js → schema-04pw375h.js} +10 -10
- package/dist/chunks/{instruction-discovery-cw4qawdd.js → schema-057vntkv.js} +20 -20
- package/dist/chunks/{instruction-discovery-a9zhqkh4.js → schema-0eq7hms9.js} +3 -3
- package/dist/chunks/{instruction-discovery-473yxhcv.js → schema-0gxqnvpq.js} +47 -43
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-2syk99rx.js → schema-0pj8398s.js} +27 -27
- package/dist/chunks/{instruction-discovery-0v53mg2y.js → schema-0v53mg2y.js} +1 -1
- package/dist/chunks/{instruction-discovery-97akkmbe.js → schema-0vq4p6sw.js} +11 -11
- package/dist/chunks/{instruction-discovery-22x1keze.js → schema-1380s59h.js} +36 -36
- package/dist/chunks/{instruction-discovery-kcp0xdhb.js → schema-153vd5vc.js} +3 -3
- package/dist/chunks/{instruction-discovery-hzrqtver.js → schema-17d68tkq.js} +20 -20
- package/dist/chunks/{instruction-discovery-1cakvm3y.js → schema-1bt4s3y9.js} +26 -26
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{instruction-discovery-0s2j72ky.js → schema-1xys0ebv.js} +11 -11
- package/dist/chunks/{instruction-discovery-ynn26mj8.js → schema-20mv48v8.js} +10 -10
- package/dist/chunks/{instruction-discovery-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{instruction-discovery-z63w68vq.js → schema-29x78va6.js} +6 -6
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{instruction-discovery-1vzw8yhg.js → schema-2fjb1j7y.js} +13 -13
- package/dist/chunks/{instruction-discovery-7dqw4kz8.js → schema-2k8khapm.js} +5 -5
- package/dist/chunks/{instruction-discovery-1hcjf4ej.js → schema-2nhp9p6w.js} +20 -20
- package/dist/chunks/{instruction-discovery-6sfywj03.js → schema-2phhkb6s.js} +16 -16
- package/dist/chunks/{instruction-discovery-rcf7gz4p.js → schema-2qfec9vm.js} +15 -15
- package/dist/chunks/{instruction-discovery-jj2cz9da.js → schema-2vxy01ew.js} +9 -9
- package/dist/chunks/{instruction-discovery-h2d9aakw.js → schema-32ygzjnf.js} +10 -10
- package/dist/chunks/{instruction-discovery-vcfhc88h.js → schema-34jh91rq.js} +3 -3
- package/dist/chunks/{instruction-discovery-gg3hnhsj.js → schema-3556dn8t.js} +1 -1
- package/dist/chunks/{instruction-discovery-43sv4aqe.js → schema-37y8hjd0.js} +9 -9
- package/dist/chunks/{instruction-discovery-g96gh810.js → schema-3d5p9naq.js} +16 -16
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-fqk9fphv.js → schema-3m8k6a97.js} +39 -39
- package/dist/chunks/{instruction-discovery-dkzq4e42.js → schema-3r8mb62a.js} +22 -22
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-0kzn65ts.js → schema-4c27qttd.js} +11 -11
- package/dist/chunks/{instruction-discovery-cpj0znwe.js → schema-4dgbcxzg.js} +4 -4
- package/dist/chunks/schema-4nsycqaw.js +507 -0
- package/dist/chunks/{instruction-discovery-rask17kc.js → schema-4py3js73.js} +9 -9
- package/dist/chunks/{instruction-discovery-q3q4fawj.js → schema-4sn99hha.js} +7 -7
- package/dist/chunks/{instruction-discovery-3rpjb0m5.js → schema-4vcqcfh5.js} +3 -3
- package/dist/chunks/{instruction-discovery-895w93kx.js → schema-4y0jsvk1.js} +20 -20
- package/dist/chunks/{instruction-discovery-a81kfqvn.js → schema-4z58m4b4.js} +4 -4
- package/dist/chunks/{instruction-discovery-2xt5mgkb.js → schema-53fn2v7c.js} +21 -21
- package/dist/chunks/schema-54ma36ye.js +13 -0
- package/dist/chunks/{instruction-discovery-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{instruction-discovery-3p7veh30.js → schema-5q0dqpvd.js} +21 -21
- package/dist/chunks/{instruction-discovery-a00r67f6.js → schema-5szbf8m3.js} +22 -22
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-6cqrwtgh.js → schema-5z9p70xw.js} +23 -23
- package/dist/chunks/{instruction-discovery-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{instruction-discovery-2v08avye.js → schema-6cknckpe.js} +51 -51
- package/dist/chunks/{instruction-discovery-j17xhp8k.js → schema-6kmx0kce.js} +8 -8
- package/dist/chunks/{instruction-discovery-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
- package/dist/chunks/{instruction-discovery-djktq2qc.js → schema-6q1fpb12.js} +15 -15
- package/dist/chunks/{instruction-discovery-h6310vsd.js → schema-6t4hr8r6.js} +4 -4
- package/dist/chunks/{instruction-discovery-xbqt463g.js → schema-6xvpa3dg.js} +22 -22
- package/dist/chunks/{instruction-discovery-595j6h3z.js → schema-6yfh064v.js} +5 -5
- package/dist/chunks/{instruction-discovery-cytmn42c.js → schema-72b9nwr9.js} +12 -12
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-tmezhr7e.js → schema-7bshkk6c.js} +7 -7
- package/dist/chunks/schema-7ggrqnkf.js +252 -0
- package/dist/chunks/{instruction-discovery-6vhktk4v.js → schema-7h24643z.js} +4 -4
- package/dist/chunks/{instruction-discovery-yx62cr6m.js → schema-7kaezs2e.js} +11 -11
- package/dist/chunks/{instruction-discovery-70gtrbvz.js → schema-7mrx23rq.js} +4 -4
- package/dist/chunks/{instruction-discovery-7j2qha59.js → schema-7s2tn799.js} +8 -8
- package/dist/chunks/{instruction-discovery-z5ntc05q.js → schema-7w99qc9d.js} +3 -3
- package/dist/chunks/{instruction-discovery-v0534hbg.js → schema-7x2w03m2.js} +32 -32
- package/dist/chunks/{instruction-discovery-xnbjqws6.js → schema-7xsd729g.js} +6 -6
- package/dist/chunks/{instruction-discovery-w1eejvng.js → schema-84txncab.js} +5 -5
- package/dist/chunks/{instruction-discovery-5e10wf8f.js → schema-84zcxbc9.js} +5 -5
- package/dist/chunks/{instruction-discovery-ab9238g2.js → schema-89e39zcy.js} +6 -6
- package/dist/chunks/{instruction-discovery-je1ehb5s.js → schema-89yhyecc.js} +15 -15
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → schema-89znhe33.js} +4 -4
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instruction-discovery-dhzgzdmj.js → schema-8dt2nhtf.js} +27 -27
- package/dist/chunks/{instruction-discovery-ashvnr8e.js → schema-8p8sbe40.js} +2 -2
- package/dist/chunks/{instruction-discovery-vyfbn2ge.js → schema-8phqmggh.js} +8 -8
- package/dist/chunks/{instruction-discovery-8ppxfrtw.js → schema-8s4fd4h0.js} +20 -20
- package/dist/chunks/{instruction-discovery-6pc27hjz.js → schema-8sze2n9a.js} +2 -2
- package/dist/chunks/{instruction-discovery-xvp1j2dc.js → schema-8zh4h089.js} +5 -5
- package/dist/chunks/{instruction-discovery-46j82pgy.js → schema-92qe48v5.js} +9 -9
- package/dist/chunks/{instruction-discovery-94ek1h2f.js → schema-94ek1h2f.js} +2 -2
- package/dist/chunks/{instruction-discovery-e5jqtwc8.js → schema-9sp4j3g7.js} +11 -11
- package/dist/chunks/{instruction-discovery-s4frkg89.js → schema-9wcc5pj1.js} +22 -22
- package/dist/chunks/{instruction-discovery-nfk828h3.js → schema-9xq4rgak.js} +4 -4
- package/dist/chunks/{instruction-discovery-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{instruction-discovery-yja9z5zb.js → schema-abbdd1c6.js} +5 -5
- package/dist/chunks/{instruction-discovery-n3cgjj67.js → schema-af49n079.js} +8 -8
- package/dist/chunks/{instruction-discovery-53y6m0t7.js → schema-aqkyva7e.js} +35 -35
- package/dist/chunks/{instruction-discovery-e5x0150z.js → schema-b24dgscy.js} +12 -12
- package/dist/chunks/{instruction-discovery-v5dkyp31.js → schema-b27vhd2z.js} +4 -4
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{instruction-discovery-zzct4swk.js → schema-b7ze0h6m.js} +11 -11
- package/dist/chunks/{instruction-discovery-tzct1v5g.js → schema-b9marwrz.js} +5 -5
- package/dist/chunks/{instruction-discovery-fkg6hj3y.js → schema-bb6qd770.js} +60 -60
- package/dist/chunks/{instruction-discovery-rweyf2z5.js → schema-bbgyx2ca.js} +25 -25
- package/dist/chunks/{instruction-discovery-e5bvbpgf.js → schema-bsthxcff.js} +15 -15
- package/dist/chunks/{instruction-discovery-9ce6tkzz.js → schema-c2ystsw5.js} +11 -11
- package/dist/chunks/{instruction-discovery-pt6k735w.js → schema-c3yncfhe.js} +18 -18
- package/dist/chunks/{instruction-discovery-6rcz3ycw.js → schema-c6qrx7z0.js} +25 -26
- package/dist/chunks/{instruction-discovery-6qs14qev.js → schema-c9c9gefm.js} +93 -93
- package/dist/chunks/{instruction-discovery-vkwyc6cx.js → schema-ccqrgpfr.js} +28 -28
- package/dist/chunks/{instruction-discovery-863rh99d.js → schema-cd1ha9xt.js} +12 -12
- package/dist/chunks/{instruction-discovery-ckecvw8r.js → schema-ckecvw8r.js} +2 -2
- package/dist/chunks/{instruction-discovery-j817qy9h.js → schema-ckz290np.js} +8 -8
- package/dist/chunks/{instruction-discovery-mjtjsyjj.js → schema-cr5r5t3v.js} +5 -5
- package/dist/chunks/{instruction-discovery-mdkfxwd5.js → schema-ctf78ks7.js} +32 -29
- package/dist/chunks/{instruction-discovery-cfqj2t13.js → schema-d20e8vw1.js} +12 -12
- package/dist/chunks/{instruction-discovery-xmfjrgmy.js → schema-d81r50pr.js} +11 -11
- package/dist/chunks/{instruction-discovery-bsqx64w4.js → schema-d9sgy5v4.js} +4 -4
- package/dist/chunks/{instruction-discovery-84trvwea.js → schema-dc6xss86.js} +23 -23
- package/dist/chunks/{instruction-discovery-5n469ean.js → schema-dh89yxex.js} +25 -25
- package/dist/chunks/{instruction-discovery-dmqcgk4z.js → schema-dmqcgk4z.js} +2 -2
- package/dist/chunks/{instruction-discovery-sbpfgvw3.js → schema-dq6warjh.js} +32 -32
- package/dist/chunks/{instruction-discovery-dj9sq318.js → schema-dqmwfghx.js} +5 -5
- package/dist/chunks/{instruction-discovery-c8wg0b7m.js → schema-dya6s92k.js} +18 -18
- package/dist/chunks/{instruction-discovery-5qd3pb7m.js → schema-e3qxr5gk.js} +2 -2
- package/dist/chunks/{instruction-discovery-1wg8se0x.js → schema-e5x26qyz.js} +4 -4
- package/dist/chunks/{instruction-discovery-8mxhwd9p.js → schema-eap6v6ka.js} +37 -34
- package/dist/chunks/{instruction-discovery-ecfe7b91.js → schema-ecfe7b91.js} +2 -2
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-17razrp5.js → schema-ehpxdd9r.js} +35 -35
- package/dist/chunks/{instruction-discovery-za6yq9hg.js → schema-engkm2d6.js} +5 -5
- package/dist/chunks/{instruction-discovery-s62vt9wz.js → schema-erdgy6bb.js} +29 -29
- package/dist/chunks/{instruction-discovery-tjedn1bk.js → schema-ermxvwhp.js} +4 -4
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-av73v616.js → schema-ey8a4wge.js} +8 -8
- package/dist/chunks/{instruction-discovery-d3eanfb0.js → schema-f1dxnh8x.js} +45 -45
- package/dist/chunks/{instruction-discovery-537d2h8y.js → schema-f4ktwvph.js} +17 -17
- package/dist/chunks/{instruction-discovery-817gm3bf.js → schema-fb08v964.js} +18 -18
- package/dist/chunks/{instruction-discovery-591s59y8.js → schema-fdhjyf6e.js} +26 -20
- package/dist/chunks/{instruction-discovery-e1rt1ry9.js → schema-feegf67a.js} +32 -32
- package/dist/chunks/{instruction-discovery-2kvq420b.js → schema-fgdrjr7g.js} +37 -37
- package/dist/chunks/{instruction-discovery-hj0fmptj.js → schema-fgdzjjn8.js} +10 -10
- package/dist/chunks/{instruction-discovery-6n4dhht5.js → schema-fma9b9zx.js} +48 -48
- package/dist/chunks/{instruction-discovery-xt3nzz9d.js → schema-fn5s1xt4.js} +5 -5
- package/dist/chunks/{instruction-discovery-7sf65sz4.js → schema-fwzh61wc.js} +6 -6
- package/dist/chunks/{instruction-discovery-s2k53bmx.js → schema-fzhk56mq.js} +24 -24
- package/dist/chunks/{instruction-discovery-trjjaw7x.js → schema-fzxn0rpd.js} +15 -15
- package/dist/chunks/schema-g6zjmjz7.js +65 -0
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-9v1ppqd2.js → schema-gjyhvyzk.js} +11 -11
- package/dist/chunks/{instruction-discovery-j3vzqyes.js → schema-gr5dc40r.js} +14 -14
- package/dist/chunks/{instruction-discovery-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
- package/dist/chunks/{instruction-discovery-qz9hsrda.js → schema-gznm14y3.js} +34 -34
- package/dist/chunks/{instruction-discovery-4bt591nm.js → schema-h1nersjm.js} +31 -31
- package/dist/chunks/{instruction-discovery-w34c8dxf.js → schema-h57gm808.js} +15 -15
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-0hf9g8pg.js → schema-hdab2k61.js} +6 -6
- package/dist/chunks/{instruction-discovery-2y34zzjz.js → schema-hdzt82x2.js} +4 -4
- package/dist/chunks/{instruction-discovery-r7hsk55y.js → schema-hefng7ga.js} +9 -9
- package/dist/chunks/{instruction-discovery-83c1zak0.js → schema-hh8v5qpg.js} +28 -28
- package/dist/chunks/{instruction-discovery-2qym09dt.js → schema-hm7qa9sr.js} +41 -41
- package/dist/chunks/{instruction-discovery-6g9h627f.js → schema-hs5b19ez.js} +23 -23
- package/dist/chunks/{instruction-discovery-8kg848v7.js → schema-hspndzgs.js} +8 -8
- package/dist/chunks/{instruction-discovery-gprqxqyp.js → schema-htk8gamf.js} +13 -13
- package/dist/chunks/{instruction-discovery-apyhsggy.js → schema-hx3vx9sm.js} +1 -1
- package/dist/chunks/{instruction-discovery-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-xxf3qkd3.js → schema-j575tj3n.js} +89 -89
- package/dist/chunks/{instruction-discovery-90t6c8wy.js → schema-j6de23b5.js} +17 -17
- package/dist/chunks/{instruction-discovery-wqpxpbjy.js → schema-j7wxbxne.js} +11 -11
- package/dist/chunks/{instruction-discovery-yf10kn3d.js → schema-k1qrnqst.js} +8 -8
- package/dist/chunks/{instruction-discovery-2zx654xv.js → schema-k1xs71rw.js} +31 -31
- package/dist/chunks/{instruction-discovery-k3c624dm.js → schema-k3c624dm.js} +3 -3
- package/dist/chunks/{instruction-discovery-6yrwvege.js → schema-kadj03x1.js} +12 -12
- package/dist/chunks/{instruction-discovery-kvfg1y8a.js → schema-kaqvhan9.js} +57 -57
- package/dist/chunks/{instruction-discovery-sddzfvn4.js → schema-kg3nfyrf.js} +8 -8
- package/dist/chunks/{instruction-discovery-35edcz9a.js → schema-kwp4z5r0.js} +15 -15
- package/dist/chunks/{instruction-discovery-8x6s24qq.js → schema-kykxfaeb.js} +14 -14
- package/dist/chunks/{instruction-discovery-qg5st3y5.js → schema-m1v72ch8.js} +21 -21
- package/dist/chunks/{instruction-discovery-2fnzb52j.js → schema-m36xmz2a.js} +27 -27
- package/dist/chunks/{instruction-discovery-yx96p73j.js → schema-m3aacv1r.js} +11 -11
- package/dist/chunks/{instruction-discovery-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{instruction-discovery-05dd0hqh.js → schema-m8psntbj.js} +31 -31
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-z88c1cht.js → schema-mdhbd56y.js} +7 -7
- package/dist/chunks/{instruction-discovery-1ygqh575.js → schema-mfqp6xfm.js} +6 -6
- package/dist/chunks/{instruction-discovery-mhkvc446.js → schema-mhkvc446.js} +1 -1
- package/dist/chunks/{instruction-discovery-w4cn5rjk.js → schema-mwjz0nk2.js} +13 -13
- package/dist/chunks/{instruction-discovery-41fyejek.js → schema-mx6ypyf3.js} +13 -13
- package/dist/chunks/{instruction-discovery-kdvzk119.js → schema-n1ka8r9d.js} +4 -4
- package/dist/chunks/{instruction-discovery-xqgw658g.js → schema-n4mhh8dh.js} +27 -27
- package/dist/chunks/{instruction-discovery-rs5ja1ks.js → schema-ncfrwhmr.js} +75 -75
- package/dist/chunks/{instruction-discovery-ggwd74jc.js → schema-nng2ktcm.js} +2 -2
- package/dist/chunks/{instruction-discovery-jvf906gc.js → schema-p1xcnqpd.js} +8 -8
- package/dist/chunks/{instruction-discovery-7k0nb5a1.js → schema-p7jp4nkc.js} +5 -5
- package/dist/chunks/{instruction-discovery-s4f9hgft.js → schema-p810a5w3.js} +15 -15
- package/dist/chunks/{instruction-discovery-53qm6swg.js → schema-p97jtcyh.js} +24 -24
- package/dist/chunks/{instruction-discovery-pnvk1zxf.js → schema-phpw85vv.js} +4 -4
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-hn28mh03.js → schema-pr2shm86.js} +36 -36
- package/dist/chunks/{instruction-discovery-zpjshyj8.js → schema-pstmv2d8.js} +11 -11
- package/dist/chunks/{instruction-discovery-wym4yngj.js → schema-ptstaxe9.js} +6 -6
- package/dist/chunks/{instruction-discovery-t909565e.js → schema-ptt6m9gv.js} +3 -3
- package/dist/chunks/{instruction-discovery-2336b01z.js → schema-q6d53jre.js} +8 -8
- package/dist/chunks/{instruction-discovery-jj6m7t8m.js → schema-q7d6akyq.js} +24 -24
- package/dist/chunks/{instruction-discovery-pper4dcb.js → schema-q8wjb94d.js} +38 -38
- package/dist/chunks/{instruction-discovery-yw8t9dwe.js → schema-qby9dwvd.js} +8 -8
- package/dist/chunks/{instruction-discovery-fhs97t90.js → schema-qg0jgkcp.js} +9 -9
- package/dist/chunks/{instruction-discovery-qmqgtz8f.js → schema-qmqgtz8f.js} +2 -2
- package/dist/chunks/{instruction-discovery-5qe4ms5y.js → schema-qnyr447v.js} +33 -33
- package/dist/chunks/{instruction-discovery-h2r7bbkd.js → schema-qs001aqx.js} +11 -11
- package/dist/chunks/{instruction-discovery-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-jv01nqvq.js → schema-qte5z7bc.js} +5 -5
- package/dist/chunks/{instruction-discovery-fw1dm0ew.js → schema-qtgetkc5.js} +11 -11
- package/dist/chunks/{instruction-discovery-2ngyvhah.js → schema-qvs3yrx0.js} +29 -29
- package/dist/chunks/{instruction-discovery-cyxgkn8e.js → schema-qxs49gs0.js} +22 -22
- package/dist/chunks/{instruction-discovery-1h7vkbsh.js → schema-qze8mdqk.js} +13 -13
- package/dist/chunks/{instruction-discovery-c4tcxkt3.js → schema-r5398wsk.js} +10 -10
- package/dist/chunks/{instruction-discovery-04tp0yna.js → schema-r79r0pmw.js} +18 -18
- package/dist/chunks/schema-rap9a73h.js +18 -0
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-76ymgwed.js → schema-rpjgfq5s.js} +9 -9
- package/dist/chunks/{instruction-discovery-0p5r855a.js → schema-rz3d44tq.js} +47 -47
- package/dist/chunks/{instruction-discovery-yrznvahk.js → schema-s4enseaf.js} +2 -2
- package/dist/chunks/{instruction-discovery-vybhs2ww.js → schema-s532705d.js} +9 -9
- package/dist/chunks/{instruction-discovery-664gwng4.js → schema-s5cvb66r.js} +20 -20
- package/dist/chunks/{instruction-discovery-mq1rpz34.js → schema-scw85daj.js} +13 -13
- package/dist/chunks/{instruction-discovery-qzs5w1kq.js → schema-sgj69q70.js} +10 -10
- package/dist/chunks/{instruction-discovery-g73rfvt8.js → schema-szt33nzv.js} +26 -26
- package/dist/chunks/{instruction-discovery-dbrspz9p.js → schema-t1vq5jda.js} +178 -178
- package/dist/chunks/{instruction-discovery-0cg4n3gd.js → schema-t1zhpzyh.js} +23 -23
- package/dist/chunks/{instruction-discovery-gbt6w4kb.js → schema-t550f9t1.js} +6 -6
- package/dist/chunks/{instruction-discovery-a2knq7mb.js → schema-t89k7t2n.js} +3 -3
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/schema-tbcx5g6b.js +26 -0
- package/dist/chunks/{instruction-discovery-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-7c1hha0p.js → schema-tffeed3q.js} +12 -12
- package/dist/chunks/{instruction-discovery-p37cw4rj.js → schema-tpw6cwsb.js} +8 -8
- package/dist/chunks/{instruction-discovery-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{instruction-discovery-jazqgan2.js → schema-tvzckvfh.js} +19 -19
- package/dist/chunks/{instruction-discovery-1gnz4btn.js → schema-v1z5k6ya.js} +41 -41
- package/dist/chunks/{instruction-discovery-eqggwkkj.js → schema-v4khfddp.js} +24 -24
- package/dist/chunks/{instruction-discovery-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-rjatp68y.js → schema-vfb18kab.js} +15 -15
- package/dist/chunks/{instruction-discovery-kb3k4m85.js → schema-vhe05b2j.js} +18 -18
- package/dist/chunks/{instruction-discovery-bm55brr3.js → schema-vm9szz2v.js} +43 -43
- package/dist/chunks/{instruction-discovery-9ze7f770.js → schema-vnq9hngb.js} +31 -31
- package/dist/chunks/{instruction-discovery-p7xmn451.js → schema-vvyaap0j.js} +1 -1
- package/dist/chunks/{instruction-discovery-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{instruction-discovery-0fs6c5ns.js → schema-vzrrchan.js} +17 -17
- package/dist/chunks/{instruction-discovery-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-mfrn2wd3.js → schema-w3xe5wx0.js} +32 -32
- package/dist/chunks/{instruction-discovery-wd3x2cqz.js → schema-wd3x2cqz.js} +2 -2
- package/dist/chunks/{instruction-discovery-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-s9z9hht1.js → schema-wfnwj6ew.js} +16 -16
- package/dist/chunks/{instruction-discovery-0jq9fyba.js → schema-wk5z6jzv.js} +9 -9
- package/dist/chunks/{instruction-discovery-23354q28.js → schema-wk7amq94.js} +26 -26
- package/dist/chunks/{instruction-discovery-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instruction-discovery-gy42h51d.js → schema-x5rm1qcs.js} +9 -9
- package/dist/chunks/{instruction-discovery-c80srvkw.js → schema-x9685y9e.js} +43 -43
- package/dist/chunks/{instruction-discovery-02hh4n40.js → schema-x9cd31tj.js} +6 -6
- package/dist/chunks/{instruction-discovery-d65zzxh9.js → schema-xdjq0qq8.js} +9 -9
- package/dist/chunks/{instruction-discovery-jw80jp6b.js → schema-xdk9p2qn.js} +21 -21
- package/dist/chunks/{instruction-discovery-drwq78ky.js → schema-xfkkasph.js} +4 -4
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-x3r0xrsa.js → schema-y3hxgm3d.js} +15 -15
- package/dist/chunks/{instruction-discovery-73n7g0g0.js → schema-y6b4mn53.js} +23 -23
- package/dist/chunks/{instruction-discovery-y71avatq.js → schema-y71avatq.js} +1 -1
- package/dist/chunks/{instruction-discovery-jx4220gq.js → schema-y7dmryf8.js} +17 -17
- package/dist/chunks/{instruction-discovery-kjxkqgqq.js → schema-y99khw21.js} +3 -3
- package/dist/chunks/{instruction-discovery-r8y742f5.js → schema-yh9brxq5.js} +10 -10
- package/dist/chunks/{instruction-discovery-zdy9tpyw.js → schema-yhka94gb.js} +28 -28
- package/dist/chunks/{instruction-discovery-a46t4z4t.js → schema-ykkt2z7t.js} +19 -19
- package/dist/chunks/{instruction-discovery-0121bcaw.js → schema-ymfmgbr6.js} +10 -10
- package/dist/chunks/{instruction-discovery-ynys59px.js → schema-yntqjfz5.js} +16 -16
- package/dist/chunks/{instruction-discovery-1acjjqhc.js → schema-yp2x3t23.js} +4 -4
- package/dist/chunks/{instruction-discovery-0qmc57sd.js → schema-yr2s5jbd.js} +11 -11
- package/dist/chunks/{instruction-discovery-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instruction-discovery-7gvwkz6m.js → schema-yt0fqk68.js} +5 -5
- package/dist/chunks/{instruction-discovery-z07pqspn.js → schema-z07pqspn.js} +3 -3
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-nejch2yn.js → schema-za86s8b3.js} +9 -9
- package/dist/chunks/{instruction-discovery-baaqp4zd.js → schema-zav06jzw.js} +4 -4
- package/dist/chunks/{instruction-discovery-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
- package/dist/chunks/{instruction-discovery-sa7x69qd.js → schema-zfzv19x2.js} +35 -35
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-7pb776yk.js → schema-zrmtt4x8.js} +3 -3
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -214
- package/dist/config/plugin/compaction.js +161 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +228 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +91 -91
- 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/id/id.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 +362 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +162 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +226 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +8 -0
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -132
- package/dist/session/context.js +153 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +112 -112
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/instructions/builtins.d.ts +1 -2
- package/dist/types/session/affinity.d.ts +4 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-726w9f8r.js +0 -26
- package/dist/chunks/instruction-discovery-ce6f651r.js +0 -252
- package/dist/chunks/instruction-discovery-ezddc45f.js +0 -507
- package/dist/chunks/instruction-discovery-pf31ssb9.js +0 -18
- package/dist/chunks/instruction-discovery-tee9eybj.js +0 -63
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-922hggd3.js → schema-922hggd3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,131 +1,131 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service80,
|
|
7
|
-
node83
|
|
8
|
-
} from "./instruction-discovery-j3vzqyes.js";
|
|
3
|
+
node63
|
|
4
|
+
} from "./schema-gjyhvyzk.js";
|
|
9
5
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./instruction-discovery-xqgw658g.js";
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./schema-gr5dc40r.js";
|
|
14
9
|
import {
|
|
15
10
|
ID9,
|
|
11
|
+
Service56,
|
|
12
|
+
node58
|
|
13
|
+
} from "./schema-n4mhh8dh.js";
|
|
14
|
+
import {
|
|
15
|
+
ID15,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./schema-qnyr447v.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service69,
|
|
24
|
+
node72
|
|
25
|
+
} from "./schema-7x2w03m2.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./schema-922hggd3.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
30
|
+
Info31,
|
|
31
31
|
Ref4,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service79,
|
|
33
|
+
node82
|
|
34
|
+
} from "./schema-2phhkb6s.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
40
|
-
import {
|
|
41
|
-
Service55,
|
|
42
|
-
node58
|
|
43
|
-
} from "./instruction-discovery-fw1dm0ew.js";
|
|
36
|
+
ID12,
|
|
37
|
+
Service68,
|
|
38
|
+
node71
|
|
39
|
+
} from "./schema-ehpxdd9r.js";
|
|
44
40
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
41
|
+
Service59,
|
|
42
|
+
node61
|
|
43
|
+
} from "./schema-qtgetkc5.js";
|
|
48
44
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
45
|
+
Service44,
|
|
46
|
+
node47
|
|
47
|
+
} from "./schema-5szbf8m3.js";
|
|
52
48
|
import {
|
|
53
49
|
Service73,
|
|
54
50
|
node76
|
|
55
|
-
} from "./
|
|
51
|
+
} from "./schema-ymfmgbr6.js";
|
|
56
52
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
53
|
+
Service57,
|
|
54
|
+
node59
|
|
55
|
+
} from "./schema-za86s8b3.js";
|
|
56
|
+
import {
|
|
57
|
+
ID11,
|
|
58
|
+
Service67,
|
|
59
|
+
node70
|
|
60
|
+
} from "./schema-aqkyva7e.js";
|
|
61
61
|
import {
|
|
62
62
|
ID18
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./schema-j6de23b5.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service39,
|
|
66
|
+
node42
|
|
67
|
+
} from "./schema-f1dxnh8x.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service66,
|
|
70
|
+
node69
|
|
71
|
+
} from "./schema-qby9dwvd.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service53,
|
|
74
|
+
node55
|
|
75
|
+
} from "./schema-bb6qd770.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
77
|
+
Service45,
|
|
78
|
+
node48
|
|
79
|
+
} from "./schema-q7d6akyq.js";
|
|
80
80
|
import {
|
|
81
81
|
Source4,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service42,
|
|
83
|
+
node45
|
|
84
|
+
} from "./schema-qvs3yrx0.js";
|
|
85
85
|
import {
|
|
86
86
|
Info7,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
87
|
+
Service40,
|
|
88
|
+
node43
|
|
89
|
+
} from "./schema-3r8mb62a.js";
|
|
90
90
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
91
|
+
Service27,
|
|
92
|
+
node30
|
|
93
|
+
} from "./schema-c9c9gefm.js";
|
|
94
94
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
95
|
+
Service26,
|
|
96
|
+
node29
|
|
97
|
+
} from "./schema-szt33nzv.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service16,
|
|
100
|
+
node19
|
|
101
|
+
} from "./schema-c3yncfhe.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service25,
|
|
104
|
+
node28
|
|
105
|
+
} from "./schema-dc6xss86.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./
|
|
107
|
+
ID4,
|
|
108
|
+
Service18,
|
|
109
|
+
node21
|
|
110
|
+
} from "./schema-hh8v5qpg.js";
|
|
111
111
|
import {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
} from "./
|
|
112
|
+
Service24,
|
|
113
|
+
node27
|
|
114
|
+
} from "./schema-53fn2v7c.js";
|
|
115
115
|
import {
|
|
116
116
|
StrategyID2,
|
|
117
|
-
|
|
117
|
+
Info4,
|
|
118
118
|
ListEntry3,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
} from "./
|
|
119
|
+
Service23,
|
|
120
|
+
node26
|
|
121
|
+
} from "./schema-v1z5k6ya.js";
|
|
122
122
|
import {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
} from "./
|
|
123
|
+
Service17,
|
|
124
|
+
node20
|
|
125
|
+
} from "./schema-4y0jsvk1.js";
|
|
126
126
|
import {
|
|
127
127
|
__export
|
|
128
|
-
} from "./
|
|
128
|
+
} from "./schema-9rqn6x4v.js";
|
|
129
129
|
|
|
130
130
|
// src/plugin/host.ts
|
|
131
131
|
var exports_host = {};
|
|
@@ -143,32 +143,32 @@ var mutable = (value) => value;
|
|
|
143
143
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
144
144
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
145
145
|
const app = yield* Metadata2;
|
|
146
|
-
const agents = yield*
|
|
147
|
-
const aisdk = yield*
|
|
148
|
-
const providers = yield*
|
|
149
|
-
const models = yield*
|
|
150
|
-
const commands = yield*
|
|
151
|
-
const bus = yield*
|
|
152
|
-
const integration = yield*
|
|
153
|
-
const kv = yield*
|
|
154
|
-
const mcp = yield*
|
|
155
|
-
const location = yield*
|
|
156
|
-
const reference = yield*
|
|
157
|
-
const rpc = yield*
|
|
158
|
-
const skill = yield*
|
|
159
|
-
const tools = yield*
|
|
160
|
-
const vcs = yield*
|
|
161
|
-
const websearch = yield*
|
|
162
|
-
const generate = yield*
|
|
163
|
-
const permission = yield*
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const sessions = yield*
|
|
166
|
-
const persistentPty = yield*
|
|
167
|
-
const locations = yield*
|
|
168
|
-
const worktrees = yield*
|
|
169
|
-
const worktreeStrategies = yield*
|
|
146
|
+
const agents = yield* Service56;
|
|
147
|
+
const aisdk = yield* Service59;
|
|
148
|
+
const providers = yield* Service68;
|
|
149
|
+
const models = yield* Service67;
|
|
150
|
+
const commands = yield* Service44;
|
|
151
|
+
const bus = yield* Service83;
|
|
152
|
+
const integration = yield* Service69;
|
|
153
|
+
const kv = yield* Service73;
|
|
154
|
+
const mcp = yield* Service39;
|
|
155
|
+
const location = yield* Service79;
|
|
156
|
+
const reference = yield* Service42;
|
|
157
|
+
const rpc = yield* Service16;
|
|
158
|
+
const skill = yield* Service40;
|
|
159
|
+
const tools = yield* Service45;
|
|
160
|
+
const vcs = yield* Service25;
|
|
161
|
+
const websearch = yield* Service18;
|
|
162
|
+
const generate = yield* Service17;
|
|
163
|
+
const permission = yield* Service53;
|
|
164
|
+
const hooks = yield* Service66;
|
|
165
|
+
const sessions = yield* Service27;
|
|
166
|
+
const persistentPty = yield* Service26;
|
|
167
|
+
const locations = yield* Service57;
|
|
168
|
+
const worktrees = yield* Service23;
|
|
169
|
+
const worktreeStrategies = yield* Service24;
|
|
170
170
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
171
|
-
const locationInfo = () => new
|
|
171
|
+
const locationInfo = () => new Info31({
|
|
172
172
|
directory: location.directory,
|
|
173
173
|
workspaceID: location.workspaceID,
|
|
174
174
|
project: location.project
|
|
@@ -179,13 +179,13 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
179
179
|
});
|
|
180
180
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
181
181
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
182
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
182
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info4);
|
|
183
183
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
184
184
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
185
|
-
const location = yield*
|
|
186
|
-
const agents = yield*
|
|
185
|
+
const location = yield* Service79;
|
|
186
|
+
const agents = yield* Service56;
|
|
187
187
|
return {
|
|
188
|
-
location: new
|
|
188
|
+
location: new Info31({
|
|
189
189
|
directory: location.directory,
|
|
190
190
|
workspaceID: location.workspaceID,
|
|
191
191
|
project: location.project
|
|
@@ -217,10 +217,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
217
217
|
transform: (callback) => agents.transform((editor) => {
|
|
218
218
|
callback({
|
|
219
219
|
list: () => mutable(editor.list()),
|
|
220
|
-
get: (id) => mutable(editor.get(
|
|
221
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
222
|
-
update: (id, update) => editor.update(
|
|
223
|
-
remove: (id) => editor.remove(
|
|
220
|
+
get: (id) => mutable(editor.get(ID9.make(id))),
|
|
221
|
+
default: (id) => editor.default(id === undefined ? undefined : ID9.make(id)),
|
|
222
|
+
update: (id, update) => editor.update(ID9.make(id), update),
|
|
223
|
+
remove: (id) => editor.remove(ID9.make(id))
|
|
224
224
|
});
|
|
225
225
|
})
|
|
226
226
|
},
|
|
@@ -254,22 +254,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
254
254
|
},
|
|
255
255
|
provider: {
|
|
256
256
|
list: () => response(providers.available()),
|
|
257
|
-
get: (input) => providers.get(
|
|
257
|
+
get: (input) => providers.get(ID12.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
|
|
258
258
|
reload: providers.reload,
|
|
259
259
|
transform: (callback) => providers.transform((editor) => {
|
|
260
260
|
callback({
|
|
261
261
|
list: editor.list,
|
|
262
|
-
get: (id) => editor.get(
|
|
262
|
+
get: (id) => editor.get(ID12.make(id)),
|
|
263
263
|
add: (definition) => editor.add({
|
|
264
264
|
...definition,
|
|
265
|
-
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id:
|
|
265
|
+
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID15.make(definition.sourceConnection.id) } : definition.sourceConnection
|
|
266
266
|
}),
|
|
267
|
-
update: (id, update) => editor.update(
|
|
268
|
-
remove: (id) => editor.remove(
|
|
267
|
+
update: (id, update) => editor.update(ID12.make(id), update),
|
|
268
|
+
remove: (id) => editor.remove(ID12.make(id)),
|
|
269
269
|
models: {
|
|
270
|
-
set: (id, models) => editor.models.set(
|
|
271
|
-
update: (providerID, modelID, update) => editor.models.update(
|
|
272
|
-
remove: (providerID, modelID) => editor.models.remove(
|
|
270
|
+
set: (id, models) => editor.models.set(ID12.make(id), models),
|
|
271
|
+
update: (providerID, modelID, update) => editor.models.update(ID12.make(providerID), ID11.make(modelID), update),
|
|
272
|
+
remove: (providerID, modelID) => editor.models.remove(ID12.make(providerID), ID11.make(modelID))
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
})
|
|
@@ -279,17 +279,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
279
279
|
default: () => response(models.default()),
|
|
280
280
|
reload: models.reload,
|
|
281
281
|
transform: (callback) => models.transform((editor) => callback({
|
|
282
|
-
list: (providerID) => editor.list(providerID === undefined ? undefined :
|
|
283
|
-
get: (providerID, modelID) => editor.get(
|
|
284
|
-
update: (providerID, modelID, update) => editor.update(
|
|
285
|
-
remove: (providerID, modelID) => editor.remove(
|
|
282
|
+
list: (providerID) => editor.list(providerID === undefined ? undefined : ID12.make(providerID)),
|
|
283
|
+
get: (providerID, modelID) => editor.get(ID12.make(providerID), ID11.make(modelID)),
|
|
284
|
+
update: (providerID, modelID, update) => editor.update(ID12.make(providerID), ID11.make(modelID), update),
|
|
285
|
+
remove: (providerID, modelID) => editor.remove(ID12.make(providerID), ID11.make(modelID)),
|
|
286
286
|
default: {
|
|
287
287
|
get: editor.default.get,
|
|
288
|
-
set: (providerID, modelID) => editor.default.set(
|
|
288
|
+
set: (providerID, modelID) => editor.default.set(ID12.make(providerID), ID11.make(modelID))
|
|
289
289
|
},
|
|
290
290
|
provider: {
|
|
291
291
|
list: editor.provider.list,
|
|
292
|
-
get: (id) => editor.provider.get(
|
|
292
|
+
get: (id) => editor.provider.get(ID12.make(id))
|
|
293
293
|
}
|
|
294
294
|
}))
|
|
295
295
|
},
|
|
@@ -312,14 +312,14 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
312
312
|
integration: {
|
|
313
313
|
list: () => response(integration.list()),
|
|
314
314
|
get: Effect.fn(function* (input) {
|
|
315
|
-
const item = yield* integration.get(
|
|
315
|
+
const item = yield* integration.get(ID13.make(input.integrationID));
|
|
316
316
|
if (!item)
|
|
317
317
|
return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
|
|
318
318
|
return yield* response(Effect.succeed(item));
|
|
319
319
|
}),
|
|
320
320
|
connect: {
|
|
321
321
|
key: (input) => integration.connection.key({
|
|
322
|
-
integrationID:
|
|
322
|
+
integrationID: ID13.make(input.integrationID),
|
|
323
323
|
key: input.key,
|
|
324
324
|
answer: input.answer,
|
|
325
325
|
label: input.label
|
|
@@ -327,55 +327,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
327
327
|
},
|
|
328
328
|
oauth: {
|
|
329
329
|
connect: (input) => response(integration.oauth.connect({
|
|
330
|
-
integrationID:
|
|
330
|
+
integrationID: ID13.make(input.integrationID),
|
|
331
331
|
methodID: MethodID2.make(input.methodID),
|
|
332
332
|
answer: input.answer,
|
|
333
333
|
label: input.label
|
|
334
334
|
})),
|
|
335
335
|
status: (input) => response(integration.oauth.status({
|
|
336
|
-
integrationID:
|
|
336
|
+
integrationID: ID13.make(input.integrationID),
|
|
337
337
|
attemptID: AttemptID2.make(input.attemptID)
|
|
338
338
|
})),
|
|
339
339
|
complete: (input) => integration.oauth.complete({
|
|
340
|
-
integrationID:
|
|
340
|
+
integrationID: ID13.make(input.integrationID),
|
|
341
341
|
attemptID: AttemptID2.make(input.attemptID),
|
|
342
342
|
code: input.code
|
|
343
343
|
}),
|
|
344
344
|
cancel: (input) => integration.oauth.cancel({
|
|
345
|
-
integrationID:
|
|
345
|
+
integrationID: ID13.make(input.integrationID),
|
|
346
346
|
attemptID: AttemptID2.make(input.attemptID)
|
|
347
347
|
})
|
|
348
348
|
},
|
|
349
349
|
command: {
|
|
350
350
|
connect: (input) => response(integration.command.connect({
|
|
351
|
-
integrationID:
|
|
351
|
+
integrationID: ID13.make(input.integrationID),
|
|
352
352
|
methodID: MethodID2.make(input.methodID),
|
|
353
353
|
label: input.label
|
|
354
354
|
})),
|
|
355
355
|
status: (input) => response(integration.command.status({
|
|
356
|
-
integrationID:
|
|
356
|
+
integrationID: ID13.make(input.integrationID),
|
|
357
357
|
attemptID: AttemptID2.make(input.attemptID)
|
|
358
358
|
})),
|
|
359
359
|
cancel: (input) => integration.command.cancel({
|
|
360
|
-
integrationID:
|
|
360
|
+
integrationID: ID13.make(input.integrationID),
|
|
361
361
|
attemptID: AttemptID2.make(input.attemptID)
|
|
362
362
|
})
|
|
363
363
|
},
|
|
364
364
|
reload: integration.reload,
|
|
365
365
|
connection: {
|
|
366
|
-
active: (id) => integration.connection.active(
|
|
367
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
366
|
+
active: (id) => integration.connection.active(ID13.make(id)),
|
|
367
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.make(connection.id) } : connection)
|
|
368
368
|
},
|
|
369
369
|
transform: (callback) => integration.transform((editor) => {
|
|
370
370
|
callback({
|
|
371
371
|
list: () => mutable(editor.list()),
|
|
372
|
-
get: (id) => mutable(editor.get(
|
|
373
|
-
update: (id, update) => editor.update(
|
|
374
|
-
remove: (id) => editor.remove(
|
|
372
|
+
get: (id) => mutable(editor.get(ID13.make(id))),
|
|
373
|
+
update: (id, update) => editor.update(ID13.make(id), update),
|
|
374
|
+
remove: (id) => editor.remove(ID13.make(id)),
|
|
375
375
|
method: {
|
|
376
|
-
list: (id) => editor.method.list(
|
|
376
|
+
list: (id) => editor.method.list(ID13.make(id)),
|
|
377
377
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
378
|
-
remove: (id, method) => editor.method.remove(
|
|
378
|
+
remove: (id, method) => editor.method.remove(ID13.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
379
379
|
}
|
|
380
380
|
});
|
|
381
381
|
})
|
|
@@ -385,10 +385,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
385
385
|
const ref = locationRef(input);
|
|
386
386
|
if (ref && !isCurrentLocation(ref))
|
|
387
387
|
return Effect.gen(function* () {
|
|
388
|
-
const location = yield*
|
|
389
|
-
const mcp = yield*
|
|
388
|
+
const location = yield* Service79;
|
|
389
|
+
const mcp = yield* Service39;
|
|
390
390
|
return {
|
|
391
|
-
location: new
|
|
391
|
+
location: new Info31({
|
|
392
392
|
directory: location.directory,
|
|
393
393
|
workspaceID: location.workspaceID,
|
|
394
394
|
project: location.project
|
|
@@ -468,19 +468,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
468
468
|
providers: () => response(websearch.providers()),
|
|
469
469
|
query: (input) => response(websearch.query({
|
|
470
470
|
query: input.query,
|
|
471
|
-
providerID: input.providerID === undefined ? undefined :
|
|
471
|
+
providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
|
|
472
472
|
})),
|
|
473
473
|
reload: websearch.reload,
|
|
474
474
|
transform: (callback) => websearch.transform((editor) => {
|
|
475
475
|
callback({
|
|
476
476
|
add: (definition) => editor.add({
|
|
477
|
-
id:
|
|
477
|
+
id: ID4.make(definition.id),
|
|
478
478
|
name: definition.name,
|
|
479
479
|
execute: definition.execute
|
|
480
480
|
}),
|
|
481
481
|
default: {
|
|
482
482
|
get: editor.default.get,
|
|
483
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
483
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
|
|
484
484
|
}
|
|
485
485
|
});
|
|
486
486
|
})
|
|
@@ -534,31 +534,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
534
534
|
return context;
|
|
535
535
|
});
|
|
536
536
|
var requirements3 = LayerNode.group([
|
|
537
|
-
node52,
|
|
538
|
-
node77,
|
|
539
|
-
node58,
|
|
540
537
|
node63,
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
node83,
|
|
544
|
-
node64,
|
|
545
|
-
node85,
|
|
546
|
-
node39,
|
|
547
|
-
node80,
|
|
548
|
-
node66,
|
|
538
|
+
node58,
|
|
539
|
+
node61,
|
|
549
540
|
node71,
|
|
541
|
+
node70,
|
|
542
|
+
node47,
|
|
543
|
+
node87,
|
|
544
|
+
node72,
|
|
545
|
+
node76,
|
|
550
546
|
node42,
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
547
|
+
node82,
|
|
548
|
+
node45,
|
|
549
|
+
node19,
|
|
554
550
|
node43,
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
551
|
+
node48,
|
|
552
|
+
node28,
|
|
553
|
+
node21,
|
|
554
|
+
node26,
|
|
559
555
|
node27,
|
|
560
|
-
|
|
561
|
-
|
|
556
|
+
node20,
|
|
557
|
+
node55,
|
|
558
|
+
node69,
|
|
559
|
+
node30,
|
|
560
|
+
node29,
|
|
561
|
+
node59
|
|
562
562
|
]);
|
|
563
563
|
function storage2(kv, pluginID) {
|
|
564
564
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -585,7 +585,7 @@ function methodImplementation(input) {
|
|
|
585
585
|
if ("authorize" in input) {
|
|
586
586
|
const refresh = input.refresh;
|
|
587
587
|
return {
|
|
588
|
-
integrationID:
|
|
588
|
+
integrationID: ID13.make(input.integrationID),
|
|
589
589
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
590
590
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
591
591
|
if (authorization.mode === "auto") {
|
|
@@ -605,18 +605,18 @@ function methodImplementation(input) {
|
|
|
605
605
|
}
|
|
606
606
|
if (input.method.type === "env") {
|
|
607
607
|
return {
|
|
608
|
-
integrationID:
|
|
608
|
+
integrationID: ID13.make(input.integrationID),
|
|
609
609
|
method: input.method
|
|
610
610
|
};
|
|
611
611
|
}
|
|
612
612
|
if (input.method.type === "command") {
|
|
613
613
|
return {
|
|
614
|
-
integrationID:
|
|
614
|
+
integrationID: ID13.make(input.integrationID),
|
|
615
615
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
616
616
|
};
|
|
617
617
|
}
|
|
618
618
|
return {
|
|
619
|
-
integrationID:
|
|
619
|
+
integrationID: ID13.make(input.integrationID),
|
|
620
620
|
method: input.method
|
|
621
621
|
};
|
|
622
622
|
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-y99khw21.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./schema-gr5dc40r.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./schema-hdab2k61.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID6,
|
|
15
|
+
Service41
|
|
16
|
+
} from "./schema-m8psntbj.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./schema-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./schema-x5rm1qcs.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./schema-z07pqspn.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./schema-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service51;
|
|
46
46
|
const database = yield* Service84;
|
|
47
|
-
const bus = yield*
|
|
47
|
+
const bus = yield* Service83;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service41;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service51;
|
|
78
|
+
const bus = yield* Service83;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service41;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID6.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|